index-legacy.95cca017.js 989 B

1
  1. System.register(["./runtime-core.esm-bundler-legacy.203f7120.js","./request-legacy.93a7122e.js"],(function(s,e){"use strict";var o,l,t,n;return{setters:[function(s){o=s.d,l=s.c,t=s.F},function(s){n=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,e,o=this;return l(t,null,[null===(s=(e=this.$slots).default)||void 0===s?void 0:s.call(e),l(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:function(){var s,e,t,n;return o.opened?l("div",{class:o.rootClassName},[null===(s=(e=o.$slots).more)||void 0===s?void 0:s.call(e),null===(t=(n=o.$slots).popup)||void 0===t?void 0:t.call(n)]):null}})])}}))}}}));