"use strict";const s=require("../../../../common/vendor.js"),i=s.defineComponent({emits:["close","clickMask"],data:()=>({isShow:!1,isOpen:!1}),props:{maskClick:{type:Boolean,default:!0}},watch:{isShow:{handler(s=null){s&&0==this.isOpen&&(this.isOpen=!0)},immediate:!0},isOpen:{handler(s=null){s&&0==this.isShow&&(this.isShow=!0)},immediate:!0}},methods:{open(){this.isOpen=!0},clickMask(){1==this.maskClick&&(this.$emit("clickMask"),this.close())},close(){this.isOpen=!1,this.$emit("close")},hiden(){this.isShow=!1},show(){this.isShow=!0}}});const e=s._export_sfc(i,[["render",function(i,e,t,o,n,c){return s.e({a:n.isOpen},n.isOpen?{b:s.o((()=>{})),c:s.sei(i.virtualHostId,"view"),d:n.isShow,e:s.o(((...s)=>c.clickMask&&c.clickMask(...s)))}:{})}]]);wx.createComponent(e);
