@extscreen/es-protocal-dialog
Advanced tools
Comparing version 1.0.25 to 1.0.26
@@ -1,1 +0,1 @@ | ||
import{ESLog as e}from"@extscreen/es-log";import{ESDevelopManager as t,ESDeviceManager as a,ESManager as i,ESLaunchManager as s}from"@extscreen/es-core";import{RuntimeDeviceManager as n,ESRuntimeUserPrivacy as o}from"@extscreen/es-runtime";const r=new class{deviceParams;runtimeParams;developerParams;channelCode;init(){this.deviceParams=this.initDeviceRequestBaseParams(),this.runtimeParams=this.initRuntimeData(),this.developerParams=this.initDeveloperRequestBaseParams(),this.channelCode=t.getChannel().toUpperCase()}initDeviceRequestBaseParams(){let e=a.getDeviceEthMac(),t=a.getDeviceEthMac();e||(e=a.getDeviceWifiMac());let i=a.getDeviceWifiMac();return e=e.replace(/:/g,"").toLowerCase(),t&&(t=t.replace(/:/g,"").toLowerCase()),i&&(i=i.replace(/:/g,"").toLowerCase()),{brand:a.getBuildBrand(),clientType:n.getDeviceType(),dnum:n.getDeviceId(),mac:e,esMac:t,esWifiMac:i,manufacturer:a.getBuildManufacturer(),model:a.getBuildModel(),deviceVersion:a.getBuildVersionRelease()}}initRuntimeData(){return{sdkVersion:i.getESSDKVersionName(),sdkCID:i.getESSDKCid(),sdkVersionCode:i.getESSDKVersionCode(),runtimeID:"",hostPackageName:t.getPackageName(),hostVersion:t.getVersionName(),hostChannel:t.getChannel().toUpperCase(),snCode:""}}initDeveloperRequestBaseParams(){return{apikey:t.getAppKey(),secretkey:t.getAppSecretKey(),packagename:"",vercode:t.getVersionCode(),vername:t.getVersionName(),bcCode:""}}},h="https://api.extscreen.com/extscreenapi",c={"content-type":"application/json"};function m(t,a){let i=JSON.stringify({developer:r.developerParams,param:{packageName:a,channelCode:r.channelCode},runtime:r.runtimeParams});return e.d("ProtocolDialog","getUpdate req:"+i),fetch(t+"/api/v1/zero/user/agreementUpdate/getUpdate",{method:"POST",headers:c,body:i}).then((e=>e.json()))}function g(e,t,a,i){try{return fetch(e+"/api/v2/zero/event/track",{method:"POST",headers:c,body:JSON.stringify({developer:r.developerParams,device:r.deviceParams,action:a,data:i})}).then((e=>e.json()))}catch(e){}}var l=new class{launchNativePageIntent(e){s.launchNativePage(e)}finishActivity(){s.finishESPage()}};function d(){const e=new Date;return`${e.getFullYear()}-${String(e.getMonth()+1).padStart(2,"0")}-${String(e.getDate()).padStart(2,"0")}`}var p={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.showDialog||e.showUpdate?a("dialog",{on:{requestClose:e.onClose}},[a("div",{staticClass:"protocol_dialog_root",attrs:{gradientBackground:{colors:["#0F1619","#2C2D2D"],orientation:0,cornerRadius:0}}},[a("div",{staticClass:"confirm_btn",attrs:{duplicateParentState:!0}},e._l(e.noticeConfirm,(function(t,i){return a("div",{key:t.name,staticClass:"span_confirm",attrs:{focusable:!0,clipChildren:!1},on:{click:function(t){return e.confirm(i)}}},[a("span",{staticClass:"txt",attrs:{duplicateParentState:!0,focusable:!1}},[e._v(e._s(t.name))])])})),0),e._v(" "),a("div",{staticClass:"notice_block",attrs:{gradientBackground:{colors:["#252930","#2F3541"],orientation:0,cornerRadius:6}}},[a("span",{staticClass:"span_title",attrs:{focusable:!1}},[e._v(e._s(e.noticeTitle))]),e._v(" "),a("span",{staticClass:"span_content",style:{textAlign:e.showUpdate?"center":"left"},attrs:{focusable:!1}},[e._v(e._s(e.noticeContent))]),e._v(" "),e.showDialog?a("span",{staticClass:"span_tip",attrs:{focusable:!1}},[e._v(e._s(e.noticeTip))]):e._e(),e._v(" "),a("div",{staticClass:"notice_link"},e._l(e.noticeLink,(function(t,i){return a("div",{key:t.name,staticClass:"single_link",attrs:{focusable:!0,clipChildren:!1},on:{click:function(t){return e.read(i)}}},[a("span",{staticClass:"span_link_left"},[e._v("《")]),e._v(" "),a("span",{staticClass:"span_link",attrs:{duplicateParentState:!0}},[e._v(e._s(t.name))]),e._v(" "),a("span",{staticClass:"span_link_right"},[e._v("》")])])})),0),e._v(" "),a("span",{staticClass:"filing",attrs:{focusable:!1}},[e._v(e._s(e.filingNumber))])])])]):e._e()},staticRenderFns:[],name:"es-protocol-dialog",emits:["onAgreeClick","onNoProtocol"],props:{packageName:{type:String,default:""},hidden:{type:Boolean,default:!1},domain:{type:String,default:h},appName:{type:String,default:""},bcCode:{type:String,default:""},initFinish:{type:Boolean,default:!1},webViewRouter:{type:String,default:"load_web_view"}},data:()=>({TAG:"ProtocolDialog",agreementConfig:{title:"",message:"",payMessage:"",privacyAgreement:{name:"",url:""},userAgreement:{name:"",url:""},bcMessage:""},agreementUpdate:{title:"",content:"",version:0,updateList:[]},showDialog:!1,showUpdate:!1,noticeConfirm:[{name:"同意",value:"1"},{name:"不同意并退出",value:"2"}]}),created(){e.d(this.TAG,"协议弹窗创建")},watch:{initFinish(t){t&&(e.d(this.TAG,`initFinish:${t}`),r.init(),r.developerParams.bcCode=this.bcCode,r.developerParams.packagename=this.packageName,this.checkShowAgreement())}},computed:{keyIsShowAgreement(){return`${t.getPackageName()}_${this.packageName}_xieyi`},keyIsCheckDate(){return`${t.getPackageName()}_${this.packageName}_date`},keyIsShowUpdate(){return`${t.getPackageName()}_${this.packageName}_update`},keyIsApkFirst(){return`${t.getPackageName()}_${this.packageName}_apk`},noticeTitle(){return this.showDialog?this.agreementConfig.title||"温馨提示":this.showUpdate?this.agreementUpdate.title||"协议变更通知":""},noticeContent(){return this.showDialog?this.agreementConfig.message||`亲爱的用户, 在您使用${this.appName}前请阅读《${this.appName}隐私政策》和《${this.appName}用户协议》经过您同意后, 我们才能向您提供相关服务哦~`:this.showUpdate?this.agreementUpdate.content||"我们已更新协议,详细内容请参阅最新":""},noticeTip(){return this.showDialog?this.agreementConfig.payMessage:""},noticeLink(){if(this.showDialog){const e=`${h}/api/v1/zero/user/agreement/indexNew?name=${this.packageName}&bcCode=${this.bcCode}&default=privacy_agreement`,t=`${h}/api/v1/zero/user/agreement/indexNew?name=${this.packageName}&bcCode=${this.bcCode}&default=user_agreement`;return[{name:this.agreementConfig.privacyAgreement.name||`${this.appName}隐私政策`,link:this.agreementConfig.privacyAgreement.url||e},{name:this.agreementConfig.userAgreement.name||`${this.appName}用户协议`,link:this.agreementConfig.userAgreement.url||t}]}return this.showUpdate?this.agreementUpdate.updateList?.map((e=>({name:e.name,link:e.url}))):[]},filingNumber(){return this.agreementConfig.bcMessage||""},pageName(){return this.showUpdate?"协议更新弹窗":this.showDialog?"协议弹窗":""},realDomain(){return this.domain?this.domain:h}},methods:{checkShowAgreement(){this.packageName&&!this.hidden?(e.d(this.TAG,"checkShowAgreement"),o.isShowPolicy(this.packageName).then((t=>{t&&t.data?localStorage.getItem(this.keyIsApkFirst).then((t=>{e.d(this.TAG,"isApkFirst:"+JSON.stringify(t)),t?this.checkShowUpdate():(this.$emit("onNoProtocol"),localStorage.setItem(this.keyIsApkFirst,"1"),m(this.realDomain,this.packageName).then((e=>{0===e.code&&e.data&&(this.agreementUpdate=e.data,this.saveShowUpdate(this.agreementUpdate.version))})))})):(e.d(this.TAG,`isShowPolicy:${JSON.stringify(t)}`),localStorage.getItem(this.keyIsShowAgreement).then((t=>{var a,i;e.d(this.TAG,`isShowAgreement:${JSON.stringify(t)}`),t&&"1"===t?this.checkShowUpdate():(a=this.realDomain,i=this.packageName,fetch(a+"/api/v2/zero/user/agreement/getAppConfig",{method:"POST",headers:c,body:JSON.stringify({developer:r.developerParams,data:{pkgName:i,channelCode:r.channelCode},runtime:r.runtimeParams})}).then((e=>e.json()))).then((t=>{0===t.code&&t.data?(e.d(this.TAG,`appConfig:${JSON.stringify(t.data)}`),this.agreementConfig=t.data,this.showDialog=!0,m(this.realDomain,this.packageName).then((e=>{0===e.code&&e.data&&(this.agreementUpdate=e.data)}))):this.$emit("onNoProtocol")}))})))}))):this.$emit("onNoProtocol")},checkShowUpdate(){e.d(this.TAG,"checkShowUpdate");const t=d();localStorage.getItem(this.keyIsCheckDate).then((a=>{e.d(this.TAG,`isCheckDate:${JSON.stringify(a)}`),a&&a===t?this.$emit("onNoProtocol"):(e.d(this.TAG,"getUpdate"),m(this.realDomain,this.packageName).then((t=>{e.d(this.TAG,`realDomain:${this.realDomain}`),e.d(this.TAG,`getUpdate:${JSON.stringify(t)}`),0===t.code&&t.data?(this.agreementUpdate=t.data,e.d(this.TAG,"isShowUpdate"),localStorage.getItem(this.keyIsShowUpdate).then((t=>{e.d(this.TAG,`isShowUpdate:${t}`),!t||`${this.agreementUpdate.version}`>t?this.showUpdate=!0:this.$emit("onNoProtocol")}))):this.$emit("onNoProtocol")})))}))},saveShowUpdate(e){const t=d();localStorage.setItem(this.keyIsCheckDate,t),localStorage.setItem(this.keyIsShowUpdate,e)},removeShowUpdate(){localStorage.setItem(this.keyIsCheckDate,""),localStorage.setItem(this.keyIsShowUpdate,"")},saveShowAgreement(){localStorage.setItem(this.keyIsShowAgreement,"1")},removeShowAgreement(){localStorage.setItem(this.keyIsShowAgreement,"0")},onClose(e){e.stopPropagation()},dismiss(){this.showDialog?this.showDialog=!1:this.showUpdate&&(this.showUpdate=!1)},read(t){let a=this.noticeLink[t],i={html:a.link,isHideXieYi:1};g(this.realDomain,this.packageName,"es_common_click",{id:a.name,name:a.name,page_id:"AGREEMENT_DIALOG",page_name:this.pageName}),e.d(this.TAG,`params:${JSON.stringify(i)}`),l.launchNativePageIntent({packageName:this.packageName,url:this.webViewRouter,params:i,splash:-1})},confirm(t){switch(t){case 0:try{g(this.realDomain,this.packageName,"es_common_click",{id:"AGREE_BUTTON",name:"同意按钮",page_id:"AGREEMENT_DIALOG",page_name:this.pageName}),this.showDialog?(this.saveShowAgreement(),this.agreementUpdate.version>0&&this.saveShowUpdate(this.agreementUpdate.version)):this.showUpdate&&this.saveShowUpdate(this.agreementUpdate.version),this.$emit("onAgreeClick"),this.dismiss()}catch(t){e.e(this.TAG,t.stack)}break;case 1:try{g(this.realDomain,this.packageName,"es_common_click",{id:"DISAGREE_BUTTON",name:"不同意按钮",page_id:"AGREEMENT_DIALOG",page_name:this.pageName}),this.showDialog?this.removeShowAgreement():this.showUpdate&&this.removeShowUpdate(),this.dismiss(),setTimeout((()=>{l.finishActivity()}),100)}catch(t){e.e(this.TAG,t.stack)}}}},beforeDestroy(){},mounted(){},install:e=>{e.component(p.name,p)}};export{p as EsProtocolDialog}; | ||
import{ESLog as e}from"@extscreen/es-log";import{ESDevelopManager as t,ESDeviceManager as a,ESManager as i,ESLaunchManager as s}from"@extscreen/es-core";import{RuntimeDeviceManager as n,ESRuntimeUserPrivacy as o}from"@extscreen/es-runtime";const r=new class{deviceParams;runtimeParams;developerParams;channelCode;init(){this.deviceParams=this.initDeviceRequestBaseParams(),this.runtimeParams=this.initRuntimeData(),this.developerParams=this.initDeveloperRequestBaseParams(),this.channelCode=t.getChannel().toUpperCase()}initDeviceRequestBaseParams(){let e=a.getDeviceEthMac(),t=a.getDeviceEthMac();e||(e=a.getDeviceWifiMac());let i=a.getDeviceWifiMac();return e=e.replace(/:/g,"").toLowerCase(),t&&(t=t.replace(/:/g,"").toLowerCase()),i&&(i=i.replace(/:/g,"").toLowerCase()),{brand:a.getBuildBrand(),clientType:n.getDeviceType(),dnum:n.getDeviceId(),mac:e,esMac:t,esWifiMac:i,manufacturer:a.getBuildManufacturer(),model:a.getBuildModel(),deviceVersion:a.getBuildVersionRelease()}}initRuntimeData(){return{sdkVersion:i.getESSDKVersionName(),sdkCID:i.getESSDKCid(),sdkVersionCode:i.getESSDKVersionCode(),runtimeID:"",hostPackageName:t.getPackageName(),hostVersion:t.getVersionName(),hostChannel:t.getChannel().toUpperCase(),snCode:""}}initDeveloperRequestBaseParams(){return{apikey:t.getAppKey(),secretkey:t.getAppSecretKey(),packagename:"",vercode:t.getVersionCode(),vername:t.getVersionName(),bcCode:""}}},h="https://api.extscreen.com/extscreenapi",c={"content-type":"application/json"};function m(t,a){let i=JSON.stringify({developer:r.developerParams,param:{packageName:a,channelCode:r.channelCode},runtime:r.runtimeParams});return e.d("ProtocolDialog","getUpdate req:"+i),fetch(t+"/api/v1/zero/user/agreementUpdate/getUpdate",{method:"POST",headers:c,body:i}).then((e=>e.json()))}function g(e,t,a,i){try{return fetch(e+"/api/v2/zero/event/track",{method:"POST",headers:c,body:JSON.stringify({developer:r.developerParams,device:r.deviceParams,action:a,data:i})}).then((e=>e.json()))}catch(e){}}var l=new class{launchNativePageIntent(e){s.launchNativePage(e)}finishActivity(){s.finishESPage()}};function d(){const e=new Date;return`${e.getFullYear()}-${String(e.getMonth()+1).padStart(2,"0")}-${String(e.getDate()).padStart(2,"0")}`}var p={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.showDialog||e.showUpdate?a("dialog",{on:{requestClose:e.onClose}},[a("div",{staticClass:"protocol_dialog_root",attrs:{gradientBackground:{colors:["#0F1619","#2C2D2D"],orientation:0,cornerRadius:0}}},[a("div",{staticClass:"confirm_btn",attrs:{duplicateParentState:!0}},e._l(e.noticeConfirm,(function(t,i){return a("div",{key:t.name,staticClass:"span_confirm",attrs:{focusable:!0,clipChildren:!1},on:{click:function(t){return e.confirm(i)}}},[a("span",{staticClass:"txt",attrs:{duplicateParentState:!0,focusable:!1}},[e._v(e._s(t.name))])])})),0),e._v(" "),a("div",{staticClass:"notice_block",attrs:{gradientBackground:{colors:["#252930","#2F3541"],orientation:0,cornerRadius:6}}},[a("span",{staticClass:"span_title",attrs:{focusable:!1}},[e._v(e._s(e.noticeTitle))]),e._v(" "),a("span",{staticClass:"span_content",style:{textAlign:e.showUpdate?"center":"left"},attrs:{focusable:!1}},[e._v(e._s(e.noticeContent))]),e._v(" "),e.showDialog?a("span",{staticClass:"span_tip",attrs:{focusable:!1}},[e._v(e._s(e.noticeTip))]):e._e(),e._v(" "),a("div",{staticClass:"notice_link"},e._l(e.noticeLink,(function(t,i){return a("div",{key:t.name,staticClass:"single_link",attrs:{focusable:!0,clipChildren:!1},on:{click:function(t){return e.read(i)}}},[a("span",{staticClass:"span_link_left"},[e._v("《")]),e._v(" "),a("span",{staticClass:"span_link",attrs:{duplicateParentState:!0}},[e._v(e._s(t.name))]),e._v(" "),a("span",{staticClass:"span_link_right"},[e._v("》")])])})),0),e._v(" "),a("span",{staticClass:"filing",attrs:{focusable:!1}},[e._v(e._s(e.filingNumber))])])])]):e._e()},staticRenderFns:[],name:"es-protocol-dialog",emits:["onAgreeClick","onNoProtocol"],props:{packageName:{type:String,default:""},hidden:{type:Boolean,default:!1},domain:{type:String,default:h},appName:{type:String,default:""},bcCode:{type:String,default:""},initFinish:{type:Boolean,default:!1},webViewRouter:{type:String,default:"load_web_view"}},data:()=>({TAG:"ProtocolDialog",agreementConfig:{title:"",message:"",payMessage:"",privacyAgreement:{name:"",url:""},userAgreement:{name:"",url:""},bcMessage:""},agreementUpdate:{title:"",content:"",version:0,updateList:[]},showDialog:!1,showUpdate:!1,noticeConfirm:[{name:"同意",value:"1"},{name:"不同意并退出",value:"2"}]}),created(){e.d(this.TAG,"协议弹窗创建")},watch:{initFinish(t){t&&(e.d(this.TAG,`initFinish:${t}`),r.init(),r.developerParams.bcCode=this.bcCode,r.developerParams.packagename=this.packageName,this.checkShowAgreement())}},computed:{keyIsShowAgreement(){return`${t.getPackageName()}_${this.packageName}_xieyi`},keyIsCheckDate(){return`${t.getPackageName()}_${this.packageName}_date`},keyIsShowUpdate(){return`${t.getPackageName()}_${this.packageName}_update`},keyIsApkFirst(){return`${t.getPackageName()}_${this.packageName}_apk`},noticeTitle(){return this.showDialog?this.agreementConfig.title||"温馨提示":this.showUpdate?this.agreementUpdate.title||"协议变更通知":""},noticeContent(){return this.showDialog?this.agreementConfig.message?.replace("\n","")||`亲爱的用户, 在您使用${this.appName}前请阅读《${this.appName}隐私政策》和《${this.appName}用户协议》经过您同意后, 我们才能向您提供相关服务哦~`:this.showUpdate?this.agreementUpdate.content||"我们已更新协议,详细内容请参阅最新":""},noticeTip(){return this.showDialog?this.agreementConfig.payMessage:""},noticeLink(){if(this.showDialog){const e=`${h}/api/v1/zero/user/agreement/indexNew?name=${this.packageName}&bcCode=${this.bcCode}&default=privacy_agreement`,t=`${h}/api/v1/zero/user/agreement/indexNew?name=${this.packageName}&bcCode=${this.bcCode}&default=user_agreement`;return[{name:this.agreementConfig.privacyAgreement.name||`${this.appName}隐私政策`,link:this.agreementConfig.privacyAgreement.url||e},{name:this.agreementConfig.userAgreement.name||`${this.appName}用户协议`,link:this.agreementConfig.userAgreement.url||t}]}return this.showUpdate?this.agreementUpdate.updateList?.map((e=>({name:e.name,link:e.url}))):[]},filingNumber(){return this.agreementConfig.bcMessage||""},pageName(){return this.showUpdate?"协议更新弹窗":this.showDialog?"协议弹窗":""},realDomain(){return this.domain?this.domain:h}},methods:{checkShowAgreement(){this.packageName&&!this.hidden?(e.d(this.TAG,"checkShowAgreement"),o.isShowPolicy(this.packageName).then((t=>{t&&t.data?localStorage.getItem(this.keyIsApkFirst).then((t=>{e.d(this.TAG,"isApkFirst:"+JSON.stringify(t)),t?this.checkShowUpdate():(this.$emit("onNoProtocol"),localStorage.setItem(this.keyIsApkFirst,"1"),m(this.realDomain,this.packageName).then((e=>{0===e.code&&e.data&&(this.agreementUpdate=e.data,this.saveShowUpdate(this.agreementUpdate.version))})))})):(e.d(this.TAG,`isShowPolicy:${JSON.stringify(t)}`),localStorage.getItem(this.keyIsShowAgreement).then((t=>{var a,i;e.d(this.TAG,`isShowAgreement:${JSON.stringify(t)}`),t&&"1"===t?this.checkShowUpdate():(a=this.realDomain,i=this.packageName,fetch(a+"/api/v2/zero/user/agreement/getAppConfig",{method:"POST",headers:c,body:JSON.stringify({developer:r.developerParams,data:{pkgName:i,channelCode:r.channelCode},runtime:r.runtimeParams})}).then((e=>e.json()))).then((t=>{0===t.code&&t.data?(e.d(this.TAG,`appConfig:${JSON.stringify(t.data)}`),this.agreementConfig=t.data,this.showDialog=!0,m(this.realDomain,this.packageName).then((e=>{0===e.code&&e.data&&(this.agreementUpdate=e.data)}))):this.$emit("onNoProtocol")}))})))}))):this.$emit("onNoProtocol")},checkShowUpdate(){e.d(this.TAG,"checkShowUpdate");const t=d();localStorage.getItem(this.keyIsCheckDate).then((a=>{e.d(this.TAG,`isCheckDate:${JSON.stringify(a)}`),a&&a===t?this.$emit("onNoProtocol"):(e.d(this.TAG,"getUpdate"),m(this.realDomain,this.packageName).then((t=>{e.d(this.TAG,`realDomain:${this.realDomain}`),e.d(this.TAG,`getUpdate:${JSON.stringify(t)}`),0===t.code&&t.data?(this.agreementUpdate=t.data,e.d(this.TAG,"isShowUpdate"),localStorage.getItem(this.keyIsShowUpdate).then((t=>{e.d(this.TAG,`isShowUpdate:${t}`),!t||`${this.agreementUpdate.version}`>t?this.showUpdate=!0:this.$emit("onNoProtocol")}))):this.$emit("onNoProtocol")})))}))},saveShowUpdate(e){const t=d();localStorage.setItem(this.keyIsCheckDate,t),localStorage.setItem(this.keyIsShowUpdate,e)},removeShowUpdate(){localStorage.setItem(this.keyIsCheckDate,""),localStorage.setItem(this.keyIsShowUpdate,"")},saveShowAgreement(){localStorage.setItem(this.keyIsShowAgreement,"1")},removeShowAgreement(){localStorage.setItem(this.keyIsShowAgreement,"0")},onClose(e){e.stopPropagation()},dismiss(){this.showDialog?this.showDialog=!1:this.showUpdate&&(this.showUpdate=!1)},read(t){let a=this.noticeLink[t],i={html:a.link,isHideXieYi:1};g(this.realDomain,this.packageName,"es_common_click",{id:a.name,name:a.name,page_id:"AGREEMENT_DIALOG",page_name:this.pageName}),e.d(this.TAG,`params:${JSON.stringify(i)}`),l.launchNativePageIntent({packageName:this.packageName,url:this.webViewRouter,params:i,splash:-1})},confirm(t){switch(t){case 0:try{g(this.realDomain,this.packageName,"es_common_click",{id:"AGREE_BUTTON",name:"同意按钮",page_id:"AGREEMENT_DIALOG",page_name:this.pageName}),this.showDialog?(this.saveShowAgreement(),this.agreementUpdate.version>0&&this.saveShowUpdate(this.agreementUpdate.version)):this.showUpdate&&this.saveShowUpdate(this.agreementUpdate.version),this.$emit("onAgreeClick"),this.dismiss()}catch(t){e.e(this.TAG,t.stack)}break;case 1:try{g(this.realDomain,this.packageName,"es_common_click",{id:"DISAGREE_BUTTON",name:"不同意按钮",page_id:"AGREEMENT_DIALOG",page_name:this.pageName}),this.showDialog?this.removeShowAgreement():this.showUpdate&&this.removeShowUpdate(),this.dismiss(),setTimeout((()=>{l.finishActivity()}),100)}catch(t){e.e(this.TAG,t.stack)}}}},beforeDestroy(){},mounted(){},install:e=>{e.component(p.name,p)}};export{p as EsProtocolDialog}; |
{ | ||
"name": "@extscreen/es-protocal-dialog", | ||
"version": "1.0.25", | ||
"version": "1.0.26", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "scripts": { |
15597