"use strict";const e=require("../../../../common/vendor.js");require("../../../adapter-vue.js");const o=e.defineComponent({__name:"index",props:{visible:{type:Boolean,default:!0},zIndex:{default:9999},useMask:{type:Boolean,default:!0},maskColor:{default:"rgba(0, 0, 0, 0.6)"},isFullScreen:{type:Boolean,default:!0},width:{default:"auto"},height:{default:"auto"}},emits:["onOverlayClick"],setup(o,{expose:t,emit:a}){const l=a,s=o,i=e.ref(),u=e.ref(s.visible);function n(){l("onOverlayClick")}return e.watch((()=>s.visible),(e=>{e?u.value=!0:setTimeout((()=>{u.value=!1}),150)}),{immediate:!0}),t({overlayDomRef:i}),(o,t)=>e.e({a:e.unref(u)},e.unref(u)?e.e({b:s.useMask},s.useMask?{c:s.visible?1:"",d:s.maskColor,e:e.o$1(n),f:e.o$1(n)}:{},{g:s.isFullScreen?1:"",h:s.isFullScreen?"fixed":"absolute",i:s.zIndex}):{})}}),t=e._export_sfc(o,[["__scopeId","data-v-879d32df"]]);wx.createComponent(t);
