PageSourceSearch

https://www.cestujlevne.com/vue3-assets/BtnDropDown-Df_06BbR.js

js cestujlevne.com collected 2026-10-01 12:17:39 UTC 2,246 bytes, 1 lines download raw bytes

1import g from"./Btn-q7wmHMxI.js";import w from"./SvgSprite-Bir-19eu.js";import{g as k,v as y,r as C,T as u,n as l,p as a,w as r,y as B,Z as p,P as c,q as m,a6 as V,s as S,t as $,a4 as N,a7 as M}from"./vendor-BK_1A8BV.js";import{u as z}from"./main-CAI2CH26.js";import{_ as D}from"./_plugin-vue_export-helper-DlAUqK2U.js";const O=k({__name:"BtnDropDown",props:{label:{},iconName:{},color:{},highlighted:{type:Boolean},underline:{type:Boolean},outlined:{type:Boolean},hideChevron:{type:Boolean},hideMenu:{type:Boolean,default:!1},closeOnContentClick:{type:Boolean,default:!1}},emits:["clear","activator-click"],setup(h){const v=z(),n=h;y(()=>v.isHeaderSimple,async e=>{t.value=!1});const t=C(!1),_=u(()=>n.color?n.color:n.highlighted?"cBlue1":"white"),f=u(()=>n.color||n.highlighted?"text":void 0);return(e,o)=>{const i=w,d=g;return l(),a(M,{modelValue:t.value,"onUpdate:modelValue":o[2]||(o[2]=s=>t.value=s),transition:"slide-y-reverse-transition",class:"c-btn-drop-down",offset:[8,0],"close-on-content-click":e.closeOnContentClick},{activator:r(({props:s})=>[m(d,V(s,{color:_.value,variant:f.value,size:"medium",class:["c-btn-drop-down__btn",{"c-btn-drop-down__btn--active":t.value,"c-btn-drop-down__btn--highlighted":e.highlighted,"c-btn-drop-down__btn--outlined":e.outlined,"c-btn-drop-down__btn--underline":e.underline,"c-btn-drop-down__btn--without-chevron":e.hideChevron}],ripple:!1,onClick:o[1]||(o[1]=b=>e.$emit("activator-click",t.value))}),{default:r(()=>[e.iconName?(l(),a(i,{key:0,"icon-name":e.iconName,size:1.25},null,8,["icon-name"])):c("",!0),p(e.$slots,"label",{},()=>[S($(e.label),1)],!0),e.highlighted?(l(),a(d,{key:1,class:"c-btn-drop-down__btn-close",color:"cBlue1",variant:"text",circle:"",onClick:o[0]||(o[0]=N(b=>e.$emit("clear"),["stop"]))},{default:r(()=>[m(i,{"icon-name":"close",size:1.1})]),_:1})):e.hideChevron?c("",!0):(l(),a(i,{key:2,class:"c-btn-drop-down__btn-chevron","icon-name":"chevron-down",size:1.25}))]),_:2},1040,["color","variant","class"])]),default:r(()=>[e.hideMenu?c("",!0):(l(),a(B,{key:0,class:"c-btn-drop-down__content"},{default:r(()=>[p(e.$slots,"default",{},void 0,!0)]),_:3}))]),_:3},8,["modelValue","close-on-content-click"])}}}),I=D(O,[["__scopeId","data-v-40662775"]]);export{I 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.