1 |
- System.register(["./base-legacy.8baabb63.js","./index-legacy.516e3172.js"],(function(s){"use strict";var o,e,l,t;return{setters:[function(s){o=s.d,e=s.b,l=s.F},function(s){t=s.P}],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(l,null,[null===(s=(o=this.$slots).default)||void 0===s?void 0:s.call(o),e(t,{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}})])}}))}}}));
|