import{d as r,J as i,o as u,b as f,w as d,p,s as c,H as m,b8 as b}from"./index-2e57ee69.js";const B=r({__name:"Modal",props:{visible:{type:Boolean,default:!1},isPersistent:{type:Boolean,default:!0},isScrollable:{type:Boolean,default:!1},width:{default:"600px"},fullscreen:{type:Boolean,default:!1}},emits:["close"],setup(o,{emit:a}){const e=o,l=i({get(){return e.visible},set(s){s||a("close")}});return(s,t)=>(u(),f(b,{modelValue:c(l),"onUpdate:modelValue":t[0]||(t[0]=n=>m(l)?l.value=n:null),persistent:e.isPersistent,width:e.fullscreen?"":e.width,scrollable:e.isScrollable,fullscreen:e.fullscreen},{default:d(()=>[p(s.$slots,"default")]),_:3},8,["modelValue","persistent","width","scrollable","fullscreen"]))}});export{B as _};
