index-legacy.fb4dcced.js 3.6 KB

123456
  1. <<<<<<<< HEAD:dist/assets/index-legacy.d1078003.js
  2. System.register(["./index-legacy.48c8d62c.js","./index-legacy.c75fe8a2.js"],(function(t){"use strict";var e,o,i,s;return{setters:[function(t){e=t.d,o=t.c,i=t.P},function(t){s=t.q}],execute:function(){t("O",e({name:"col-popup",props:{height:{type:String,default:"100%"},width:{type:String,default:"100%"},teleport:{type:String,default:""},destroy:{type:Boolean,default:!1},modelValue:{type:Boolean,default:!1},position:{type:String,default:"bottom"},zIndex:{type:Number,default:2018},onClose:{type:Function,default:function(){}}},data:function(){return{popupShow:!1,isDestroy:!1}},watch:{modelValue:function(){this.hashState()}},mounted:function(){this.destroy&&(this.isDestroy=!1),window.addEventListener("hashchange",this.onHash,!1)},unmounted:function(){window.removeEventListener("hashchange",this.onHash,!1)},methods:{onHash:function(){this.$emit("update:modelValue",!1),this.isDestroy=!1,this.onClose&&this.onClose()},onPopupClose:function(t){this.$emit("update:modelValue",t),this.hashState()},hashState:function(){if(this.modelValue){this.isDestroy=!1;var t=window.location.hash.slice(1).split("?"),e=s.parse(t[1]),o=0;for(var i in e)o++;var n=window.location.href,a=o>0?"&cPop="+ +new Date:"?cPop="+ +new Date;history.pushState("","","".concat(n).concat(a))}else{var h=window.location.hash.slice(1).split("?");s.parse(h[1]).cPop&&window.history.go(-1)}this.$refs.protocolPopup&&(this.$refs.protocolPopup.scrollTop=0)}},render:function(){var t=this;return o(i,{ref:"protocolPopup",show:this.modelValue,transitionAppear:!0,position:this.position,teleport:this.teleport,style:{height:this.height,width:this.width},zIndex:this.zIndex,onClosed:function(){t.destroy&&(t.isDestroy=!0)}},{default:function(){return[t.$slots.default&&!t.isDestroy&&t.$slots.default()]}})}}))}}}));
  3. ========
  4. System.register(["./index-legacy.c75fe8a2.js","./index-legacy.c1f63540.js"],(function(t){"use strict";var e,o,i,s;return{setters:[function(t){e=t.q},function(t){o=t.d,i=t.c,s=t.P}],execute:function(){t("O",o({name:"col-popup",props:{height:{type:String,default:"100%"},width:{type:String,default:"100%"},teleport:{type:String,default:""},destroy:{type:Boolean,default:!1},modelValue:{type:Boolean,default:!1},position:{type:String,default:"bottom"},zIndex:{type:Number,default:2018},onClose:{type:Function,default:function(){}}},data:function(){return{popupShow:!1,isDestroy:!1}},watch:{modelValue:function(){this.hashState()}},mounted:function(){this.destroy&&(this.isDestroy=!1),window.addEventListener("hashchange",this.onHash,!1)},unmounted:function(){window.removeEventListener("hashchange",this.onHash,!1)},methods:{onHash:function(){this.$emit("update:modelValue",!1),this.isDestroy=!1,this.onClose&&this.onClose()},onPopupClose:function(t){this.$emit("update:modelValue",t),this.hashState()},hashState:function(){if(this.modelValue){this.isDestroy=!1;var t=window.location.hash.slice(1).split("?"),o=e.parse(t[1]),i=0;for(var s in o)i++;var n=window.location.href,a=i>0?"&cPop="+ +new Date:"?cPop="+ +new Date;history.pushState("","","".concat(n).concat(a))}else{var h=window.location.hash.slice(1).split("?");e.parse(h[1]).cPop&&window.history.go(-1)}this.$refs.protocolPopup&&(this.$refs.protocolPopup.scrollTop=0)}},render:function(){var t=this;return i(s,{ref:"protocolPopup",show:this.modelValue,transitionAppear:!0,position:this.position,teleport:this.teleport,style:{height:this.height,width:this.width},zIndex:this.zIndex,onClosed:function(){t.destroy&&(t.isDestroy=!0)}},{default:function(){return[t.$slots.default&&!t.isDestroy&&t.$slots.default()]}})}}))}}}));
  5. >>>>>>>> online:dist/assets/index-legacy.fb4dcced.js