PageSourceSearch

https://villalummelahti.fi/_nuxt/2j-OiEzL.js

js villalummelahti.fi collected 2026-10-08 02:25:55 UTC 1,726 bytes, 1 lines download raw bytes

1import{G as q,z as N,aI as B,$ as L,aJ as O,as as n,ak as o,aG as $,aC as j,ar as u,I as t,al as d,aF as c,am as b,aE as z,ax as x,ao as E,aM as F,r as G,e as C}from"./BA2cZanY.js";const H=["innerHTML"],I=["onClick"],R=q({__name:"DropDown",props:F({options:{type:Object,required:!0},optionSuffix:{type:String,required:!1},buttonClass:{type:String,required:!1},direction:{type:String,default:"down",required:!1}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(p){const{$translate:f}=N(),r=B(p,"modelValue"),w=p,{options:l,optionSuffix:i,buttonClass:m,direction:y}=L(w),a=G(!1),_=()=>{a.value=!0},k=()=>{a.value=!1},S=e=>{const s=l.value[e];typeof s!="string"&&s.disabled||(r.value=e,a.value=!1)},M=e=>typeof e!="string"&&e.disabled?"list-item disabled":"list-item",v=e=>typeof e=="string"?e:e.title,V=C(()=>y.value==="up"?"dropup":"dropdown"),D=C(()=>r.value!==void 0&&l.value[r.value]?v(l.value[r.value])+(i?.value?" "+i.value:""):f("Select"));return(e,s)=>{const T=O("on-click-outside");return n(),o("div",{class:u("btn-group"+(t(a)?" open":"")+" "+t(V))},[$((n(),o("button",{type:"button",class:u("btn btn-default dropdown-toggle"+(t(m)?" "+t(m):"")),"data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false",onClick:j(_,["stop","prevent"]),tabindex:"0"},[d("span",{innerHTML:t(D)},null,8,H),s[0]||(s[0]=c()),s[1]||(s[1]=d("span",{class:"caret"},null,-1))],2)),[[T,k]]),d("ul",{class:u("dropdown-menu"+(t(a)?" show":""))},[(n(!0),o(b,null,z(t(l),(g,h)=>(n(),o("li",{class:u(M(g))},[d("a",{class:"dropdown-item",href:"javascript:;",onClick:A=>S(h),tabindex:"0"},[c(x(v(g)),1),t(i)?(n(),o(b,{key:0},[c(" "+x(t(i)),1)],64)):E("",!0)],8,I)],2))),256))],2)],2)}}});export{R as default};

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.