1 |
- System.register(["./App-legacy.e9a3d8ec.js"],(function(s){"use strict";var o,e,l,t;return{setters:[function(s){o=s.d,e=s.a,l=s.P,t=s.F}],execute:function(){s("P",o({name:"PopupWraper",props:["className","overlayClass","rootClassName"],data:function(){return{show:!1,opened:!1}},methods:{open:function(){this.show=!0,this.opened=!0},close:function(){this.show=!1},closed:function(){this.opened=!1}},render:function(){var s,o,n=this;return e(t,null,[null===(s=(o=this.$slots).default)||void 0===s?void 0:s.call(o),e(l,{class:this.className,overlayClass:this.overlayClass,show:this.show,closeable:!0,style:"background-color: transparent;",onClosed:this.closed,teleport:"body",onClickCloseIcon:this.close},{default:function(){var s,o,l,t;return n.opened?e("div",{class:n.rootClassName},[null===(s=(o=n.$slots).more)||void 0===s?void 0:s.call(o),null===(l=(t=n.$slots).popup)||void 0===l?void 0:l.call(t)]):null}})])}}))}}}));
|