1import{_ as p}from"./BdMn5CsR.js";import{d as y,g as o,j as n,w as d,S as c,p as t,f as s,u as C,i as v,l as a,x as h,c as V}from"./CvG0wzej.js";const w={class:"slide-menu__content"},B={key:0,class:"slide-menu__close-btn-wrap"},k=y({__name:"SlideMenu",props:{hasOverlay:{type:Boolean,default:!0},hasRoundedCorners:{type:Boolean,default:!1},selectedView:{type:String,default:"top"},isVisible:{type:Boolean,default:!1},showCloseBtn:{type:Boolean,default:!1}},emits:["onClose"],setup(e,{emit:r}){const l=e,u=V(()=>l.hasRoundedCorners?`rounded__${l.selectedView}`:""),m=r;function i(){m("onClose")}return(_,b)=>{const f=p;return s(),o("div",{class:t(`positioned-parent positioned-parent__${e.selectedView}`)},[n(c,{name:e.selectedView},{default:d(()=>[e.isVisible?(s(),o("div",{key:0,class:t(`slide-menu__root ${C(u)}`)},[v("div",w,[e.showCloseBtn?(s(),o("div",B,[n(f,{onClick:i,icon:"close",iconSize:"medium",iconColor:"dark"})])):a("",!0),h(_.$slots,"default")])],2)):a("",!0)]),_:3},8,["name"]),n(c,{name:"overlay"},{default:d(()=>[e.isVisible?(s(),o("div",{key:0,class:t(`overlay ${e.hasOverlay?"opaque-overlay":"transparent-overlay"}`),onClick:i},null,2)):a("",!0)]),_:1})],2)}}}),$=Object.assign(k,{__name:"SlideMenu"});export{$ 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.