import{d as p,a as s,P as n,F as h}from"./App.32e8e50f.js";var i=p({name:"PopupWraper",props:["className","overlayClass","rootClassName"],data(){return{show:!1,opened:!1}},methods:{open(){this.show=!0,this.opened=!0},close(){this.show=!1},closed(){this.opened=!1}},render(){var e,o;return s(h,null,[(o=(e=this.$slots).default)==null?void 0:o.call(e),s(n,{class:this.className,overlayClass:this.overlayClass,show:this.show,closeable:!0,style:"background-color: transparent;",onClosed:this.closed,teleport:"body",onClickCloseIcon:this.close},{default:()=>{var a,t,l,r;return this.opened?s("div",{class:this.rootClassName},[(t=(a=this.$slots).more)==null?void 0:t.call(a),(r=(l=this.$slots).popup)==null?void 0:r.call(l)]):null}})])}});export{i as P};
