PageSourceSearch

https://www.ellevio.se/gui-web/js/chunks/accordion.2026.09.23.js

js ellevio.se collected 2026-09-25 01:07:14 UTC 2,047 bytes, 2 lines download raw bytes

1import{c as s,o,b as e,t as d,f as r,d as x,n as l}from"../app.2026.09.23.js";import{_ as p}from"./_plugin-vue_export-helper.2026.09.23.js";const u={name:"ellevio-web-accordion",props:{name:{type:String,required:!0},tagText:{type:String,required:!1},parentText:{type:String,required:!1},hiddenFromStart:{type:Boolean,default:!0},lastItem:{type:Boolean,default:!1}},data(){return{expanded:!this.hiddenFromStart}},methods:{toggleContent(a){a.currentTarget.parentElement.querySelector(".accordion-content").classList.toggle("hidden"),this.expanded=!this.expanded}}},f=["aria-expanded"],g={class:"inline-block mr-4 text-base text-left normal-case md:text-xl md:mr-0"},h={class:"flex items-center"},w={key:0,class:"mr-5"},_={key:1,class:"mr-5 w-8"};function v(a,n,t,y,i,c){return o(),s("div",{class:l(["accordion-item category",t.lastItem?"":"mb-4"])},[e("button",{onClick:n[0]||(n[0]=m=>c.toggleContent(m)),class:"flex items-center justify-between w-full px-3 py-3 rounded-sm cursor-pointer md:px-5",type:"button","aria-expanded":i.expanded},[e("h3",g,d(t.name),1),e("div",h,[t.parentText?(o(),s("span",w,d(t.parentText),1)):r("",!0),t.tagText?(o(),s("span",_,d(t.tagText),1)):r("",!0),n[1]||(n[1]=e("div",null,[e("svg",{xmlns:"http://www.w3.org/2000/svg",class:"w-5 h-5",viewBox:"0 0 22 22",fill:"none"},[e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M9.74697 9.75166L9.74697 1.25298H12.2529V20.7449L9.74697 20.7449L9.74697 12.2568L1.25387 12.2538L1.25387 9.75166L9.74697 9.75166ZM20.746 12.2541H14.255L14.255 9.7481H20.746L20.746 12.2541Z",fill:"#2C2827"})]),e("svg",{xmlns:"http://www.w3.org/2000/svg",class:"w-5 h-5",viewBox:"0 0 22 22",fill:"none"},[e("path",{d:"M20.7449 12.253H1.25299L1.25299 9.74703H20.7449L20.7449 12.253Z",fill:"#E07300"})])],-1))])],8,f),e("div",{class:l(["px-3 pb-4 text-left md:px-5 accordion-content",t.hiddenFromStart?"hidden":""])},[x(a.$slots,"default",{},void 0,!0)],2)],2)}const S=p(u,[["render",v],["__scopeId","data-v-df39a572"]]);export{S as default};
2//# sourceMappingURL=accordion.2026.09.23.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.