
管理员
站长
- UID
- 1
- 积分
- 224400
- 余额
- 13 R
- Moe币
- 84881
- 在线时间
- 279 小时
- 注册时间
- 2025-12-28
- 最后登录
- 2026-11-9
|
|
callback:function(t){e.isFileAutoSync=t},expression:"isFileAutoSync"}})],1),s("div",{staticClass:"sec-desc"},[s("p",[e._v(" "+e._s(e.$t("c3a0307a55"))+e._s(e.isCompanyAccount?e.$t("0e8d670b96"):e.$t("a42e3e1d92"))+e._s(e.$t("289f8a0f55"))+" ")]),s("p",[s("span",[e._v(e._s(e.$t("6c98a8ec93")))]),s("span",{staticClass:"link",on:{click:e.onMyEquipmentClick}},[e._v(e._s(e.fileSavePathText))])])])]),s("div",{staticClass:"sec-img"},[s("div",{staticClass:"sec-img-item"},[s("img",{attrs:{src:n("710b")}}),s("div",[e._v(e._s(e.$t("27d32ce884")))])]),s("div",{staticClass:"sec-img-item"},[s("img",{attrs:{src:n("956e")}}),s("div",[e._v(e._s(e.$t("bcaea10025")))])])]),e.fileImmediateSyncEnable?s("div",{staticClass:"sec-check"},[s("Checkbox",{attrs:{disabled:!e.isLogined},on:{change:e.onChangeImmediateSync},model:{value:e.isImmediateSync,callback:function(t){e.isImmediateSync=t},expression:"isImmediateSync"}},[e._v(e._s(e.$t("d0b57ec203")))]),s("span",{staticClass:"beta-tip"},[e._v("Beta")])],1):e._e()]),e.folderSyncEnable?s("section",{ref:"syncFolder",staticClass:"folder-sync"},[s("div",{staticClass:"sec-item"},[s("div",{staticClass:"item-head"},[s("h3",[e._v(e._s(e.$t("0dd6ac5006")))]),e.isCompanyAccount?e._e():s("div",{staticClass:"tip",on:{click:e.onUpgrade2Svip}},[s("Icon",{attrs:{type:"member svip active"}}),s("span",[e._v(e._s(e.$t("27f8c19704")))])],1),e.companyPermissions&&e.isCompanyFolderSwitchOn?s("div",{staticClass:"tip",on:{click:e.onBuyCompanyPackage}},[s("Icon",{attrs:{type:"company svip active"}}),s("span",[e._v(e._s(e.$t("0b714455b4")))])],1):e._e()]),s("Button",{attrs:{type:"text primary"},on:{click:e.onShowAddSyncFolderDlg}},[e._v(e._s(e.$t("5dbf4ba07e")))])],1),s("div",{staticClass:"sec-desc"},[s("span",[e._v(e._s(e.$t("f935b81b7a")))]),s("span",{staticClass:"link",on:{click:e.onFolderSyncMore}},[e._v(e._s(e.$t("42dbf50284")))])]),e.desktopFileSyncEnable&&!e.isCompanyAccount?s("div",{staticClass:"sub-sec"},[s("div",{staticClass:"sec-item"},[s("h3",[e._v(e._s(e.$t("f3625a7233")))]),s("Button",{attrs:{type:"text primary"},on:{click:e.onShowDesktopFileSyncDlg}},[e._v(e._s(e.$t("c112ce5dee")))])],1),s("div",{staticClass:"sec-desc"},[e._v(e._s(e.$t("06233ebe03")))])]):e._e(),e.needRepairSyncStatus?s("div",{staticClass:"sec-desc folder-sync__repair"},[s("img",{staticClass:"icon",attrs:{src:n("1424")}}),e._v(e._s(e.$t("50b9e0c462"))),s("span",{staticClass:"link",on:{click:e.toRepairSyncStatus}},[e._v(e._s(e.$t("f7558696de")))])]):e._e()]):e._e(),e.receiveFileBackupEnable?s("section",{ref:"backup"},[s("div",{staticClass:"sec-item"},[s("h3",[e._v(e._s(e.$t("16801d7c3c")))]),s("Button",{attrs:{type:"text primary"},on:{click:e.onShowReceiveFileBackupDlg}},[e._v(e._s(e.$t("c112ce5dee")))])],1),s("div",{staticClass:"sec-desc"},[e._v(e._s(e.$t("6665ece67b")))])]):e._e(),e.isLogined&&!e.deleteFileSyncLowVersion&&e.supportToDeleteFileWidget?s("section",{ref:"todeletefiletip"},[s("div",{staticClass:"sec-item relative"},[s("h3",[e._v(e._s(e.$t("d6d4397254")))]),s("WpsSwitch",{on:{change:e.onChangeToDeleteRemoteFileStatus},model:{value:e.deleteFileSyncEnable,callback:function(t){e.deleteFileSyncEnable=t},expression:"deleteFileSyncEnable"}}),s("transition",{attrs:{name:"fade"}},[e.showDeleteFileAsyncTip?s("div",{staticClass:"sec-action-tip"},[s("span",[e._v(e._s(e.$t("f3f2a2d6b1")))]),s("Button",{attrs:{type:"close"},on:{click:e.onCloseDeleteFilePop}})],1):e._e()])],1),s("div",{staticClass:"sec-desc"},[e._v(e._s(e.$t("8a166951c2")))])]):e._e(),e.isLogined&&e.supportDelFilesRemindEnable?s("section",[s("div",{staticClass:"sec-item relative"},[s("h3",[e._v(e._s(e.$t("dceac7c6d6")))]),s("WpsSwitch",{on:{change:e.onChangeToDeleteLocalFileStatus},model:{value:e.deleteLocalFileSyncEnable,callback:function(t){e.deleteLocalFileSyncEnable=t},expression:"deleteLocalFileSyncEnable"}})],1),s("div",{staticClass:"sec-desc"},[e._v(e._s(e.$t("6211115501")))])]):e._e()])},H=[],$=(n("99af"),n("4160"),n("25f0"),n("159b"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["wps-switch",{"is-on":e.isOn,disabled:e.disabled}],on:{click:e.onSwitch}},[n("div",{class:["switch-bar",{"bar-is-on":e.isOn}]})])}),Z=[],J={name:"WpsSwitch",props:{status:{String:Boolean,default:!1},disabled:{String:Boolean,default:!1}},model:{prop:"status",event:"change"},data:function(){return{isOn:this.status}},watch:{status:function(e){this.isOn=e}},methods:{onSwitch:function(){this.isOn=this.disabled?this.isOn:!this.isOn,this.$emit("change",this.isOn)}}},X=J,q=(n("33f2"),Object(m["a"])(X,$,Z,!1,null,null,null)),K=q.exports,ee=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("label",{class:["wps-checkbox",{disabled:e.isDisabled}]},[n("span",{class:["check-input",{"is-checked":e.isChecked}]},[n("span",{staticClass:"check-icon"}),n("input",{directives:[{name:"model",rawName:"v-model",value:e.model,expression:"model"}],staticClass:"original-checkbox",attrs:{type:"checkbox",disabled:e.isDisabled},domProps:{value:e.label,checked:Array.isArray(e.model)?e._i(e.model,e.label)>-1:e.model},on:{change:[function(t){var n=e.model,s=t.target,i=!!s.checked;if(Array.isArray(n)){var r=e.label,a=e._i(n,r);s.checked?a<0&&(e.model=n.concat([r])):a>-1&&(e.model=n.slice(0,a).concat(n.slice(a+1)))}else e.model=i},e.onChangeCheck]}})]),n("span",{staticClass:"check-label"},[e._t("default"),e.$slots.default?e._e():[e._v(e._s(e.label))]],2)])},te=[],ne={name:"Checkbox",props:{value:{},label:{},disabled:{type:Boolean,default:!1}},data:function(){return{}},mounted:function(){},computed:{model:{get:function(){return this.isGroup?this.store:void 0!==this.value?this.value:this.selfModel},set:function(e){this.isGroup?this._checkboxGroup.setCurrentCheckbox(e):this.$emit("input",e)}},_checkboxGroup:function(){var e=this.$parent;while(e){if("WpsCheckboxGroup"===e.$options.componentName)return e;e=e.$parent}return null},isGroup:function(){return!!this._checkboxGroup},isChecked:function(){return"[object Boolean]"==={}.toString.call(this.model)?this.model:!!Array.isArray(this.model)&&this.model.indexOf(this.label)>-1},isDisabled:function(){return this.isGroup?this.disabled||this._checkboxGroup.disabled:this.disabled},store:function(){return this._checkboxGroup?this._checkboxGroup.value:this.value}},methods:{onChangeCheck:function(e){var t=this;if(!this.isDisabled){var n=e.target.checked;this.$emit("change",n,e),this.$nextTick((function(){t.isGroup&&(t._checkboxGroup.setCurrentCheckbox(t._checkboxGroup.value),t._checkboxGroup.$emit("change",e,t._checkboxGroup.value,n))}))}}}},se=ne,ie=(n("33ad"),Object(m["a"])(se,ee,te,!1,null,null,null)),re=ie.exports,ae=(n("ac1f"),n("d4ec")),oe=n("bee2"),ce=n("9e95"),ue=n("3641"),le=n("1fac"),de=n("cab5"),he=n("ed9a"),pe=n("8a28"),fe=n("2910"),we=n("7a4e"),ge=n("9346");function Me(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return"ok"===e.callstatus?e:null}var ve=function(){function e(){Object(ae["a"])(this,e),we["a"].isDebug=!1,this.myWinPrefix="cloudsettings.mywindow.",this.cloudDiskPrefix="cloudsettings.wpsclouddisk.",this.otherPrefix="cloudsettings.othersettings.",this.apis={openPrometheusBrowser:"openPrometheusBrowser",openUserCenter:"openUserCenter",webLoadFinish:"webLoadFinish",upgradeVip:"upgradeVip",logout:"logout",closeWin:"common.webview.close",getAutoSaveRemindVisible:"getAutoSaveRemindVisible",getAutoSaveRemindState:"getAutoSaveRemindState",setAutoSaveRemindState:"setAutoSaveRemindState",getCloudFileSyncStatus:"".concat(this.myWinPrefix,"getCloudFileSyncStatus"),setCloudFileSyncStatus:"".concat(this.myWinPrefix,"setCloudFileSyncStatus"),getCloudFileSyncTitle:"".concat(this.myWinPrefix,"getCloudFileSyncTitle"),getRealTimeUploadFuncEnable:"".concat(this.myWinPrefix,"getRealTimeUploadFuncEnable"),getRealTimeUploadStatus:"".concat(this.myWinPrefix,"getRealTimeUploadStatus"),setRealTimeUploadStatus:"".concat(this.myWinPrefix,"setRealTimeUploadStatus"),showAddSyncFolderDlg:"".concat(this.myWinPrefix,"showAddSyncFolderDlg"),getAddSyncFolderDlgEnable:"".concat(this.myWinPrefix,"getAddSyncFolderDlgEnable"),getDesktopFileSyncEnable:"".concat(this.myWinPrefix,"getDesktopFileSyncEnable"),showDesktopFileSyncDlg:"".concat(this.myWinPrefix,"showDesktopFileSyncDlg"),getReceiveFileBackupEnable:"".concat(this.myWinPrefix,"getReceiveFileBackupEnable"),showReceiveFileBackupDlg:"".concat(this.myWinPrefix,"showReceiveFileBackupDlg"),openVirtualCloudDiskMyDevice:"".concat(this.myWinPrefix,"openVirtualCloudDiskMyDevice"),getIsNeedRepairOverlayIcon:"".concat(this.myWinPrefix,"getIsNeedRepairOverlayIcon"),doRepairOverlayIcon:"".concat(this.myWinPrefix,"doRepairOverlayIcon"),getCloudDiskPageVisible:"".concat(this.cloudDiskPrefix,"getCloudDiskPageVisible"),getCloudDiskEntryVisible:"".concat(this.cloudDiskPrefix,"getCloudDiskEntryVisible"),setCloudDiskEntryVisible:"".concat(this.cloudDiskPrefix,"setCloudDiskEntryVisible"),getCloudFoldersAutoSyncType:"".concat(this.cloudDiskPrefix,"getCloudFoldersAutoSyncType"),changedAutoSyncCloudFolderList:"".concat(this.cloudDiskPrefix,"changedAutoSyncCloudFolderList"),getTransBubbleFrequncy:"".concat(this.otherPrefix,"getTransBubbleFrequncy"),setTransBubbleFrequncy:"".concat(this.otherPrefix,"setTransBubbleFrequncy"),getRightMenuItemVisible:"".concat(this.otherPrefix,"getRightMenuItemVisible"),setRightMenuItemVisible:"".concat(this.otherPrefix,"setRightMenuItemVisible"),getOfficeAssistantAutoRunStatus:"".concat(this.otherPrefix,"getOfficeAssistantAutoRunStatus"),setOfficeAssistantAutoRunStatus:"".concat(this.otherPrefix,"setOfficeAssistantAutoRunStatus"),getOfficeAssistantStartWithWpsStatus:"".concat(this.otherPrefix,"getOfficeAssistantStartWithWpsStatus"),setOfficeAssistantStartWithWpsStatus:"".concat(this.otherPrefix,"setOfficeAssistantStartWithWpsStatus"),getOfficeAssistantMiniAutoRunStatus:"".concat(this.otherPrefix,"getOfficeAssistantMiniAutoRunStatus"),setOfficeAssistantMiniAutoRunStatus:"".concat(this.otherPrefix,"setOfficeAssistantMiniAutoRunStatus"),getOfficeAssistantShortcutExist:"".concat(this.otherPrefix,"getOfficeAssistantShortcutExist"),addOfficeAssistantShortcut:"".concat(this.otherPrefix,"addOfficeAssistantShortcut"),getFileRadarSettingsEnable:"".concat(this.otherPrefix,"getFileRadarSettingsEnable"),getFileRadarItemEnable:"".concat(this.otherPrefix,"getFileRadarItemEnable"),setFileRadarItemEnable:"".concat(this.otherPrefix,"setFileRadarItemEnable"),getCloudFileCacheSize:"".concat(this.otherPrefix,"getCloudFileCacheSize"),getCloudFileCachePath:"".concat(this.otherPrefix,"getCloudFileCachePath"),clearCloudFileCache:"".concat(this.otherPrefix,"clearCloudFileCache"),changeCacheFolderPath:"".concat(this.otherPrefix,"changeCacheFolderPath"),getTransBubbleFrequncySettingsEnable:"".concat(this.otherPrefix,"getTransBubbleFrequncySettingsEnable"),getOfficeAssistantMiniAutoRunEntryVisible:"".concat(this.otherPrefix,"getOfficeAssistantMiniAutoRunEntryVisible"),getToDeleteFileSwitchStatus:"".concat(this.myWinPrefix,"getToDeleteFileSwitchStatus"),setToDeleteFileSwitchStatus:"".concat(this.myWinPrefix,"setToDeleteFileSwitchStatus"),getToDeleteFileGuidePopStatus:"".concat(this.myWinPrefix,"getToDeleteFileGuidePopStatus"),setToDeleteFileGuidePopStatus:"".concat(this.myWinPrefix,"setToDeleteFileGuidePopStatus"),supportToDeleteFileWidget:"".concat(this.myWinPrefix,"supportToDeleteFileWidget"),getShareAndSendInfo:"".concat(this.otherPrefix,"getShareAndSendInfo"),setShareAndSendInfo:"".concat(this.otherPrefix,"setShareAndSendInfo"),getCompanySyncFolderEnable:"".concat(this.myWinPrefix,"getCompanySyncFolderEnable"),getDeleteRemindSwitchStaus:"".concat(this.myWinPrefix,"getLocalBatchDeleteWidgetSwitchStatus"),setDeleteRemindSwitchStaus:"".concat(this.myWinPrefix,"setLocalBatchDeleteWidgetSwitchStatus"),supportSyncFolderLocalBatchDeleteWidget:"cloudsettings.mywindow.supportSyncFolderLocalBatchDeleteWidget",isWin10WpsDriveModeOn:"common.util.isWin10WpsDriveModeOn",getWPSDriveDisplayName:"common.util.getWPSDriveDisplayName",getPrivilegeIcon:"common.util.getPrivilegeIcon",getPrivilegeInfo:"common.account.getPrivilegeInfo",getPrivilegePayInfo:"common.util.getPrivilegePayInfo",getUserVipInfo:"common.account.getUserVipInfo",getUserInfo:"common.account.getUserInfo",getCloudGroupInfo:"getCloudGroupInfo",getCloudFileInfo:"getCloudFileInfo",getSelectedAutoUpdateFolders:"getSelectedAutoUpdateFolders",getOemString:"getOemString"},this.events={scrollToModule:"event.cloudsettings.scrollToModule",userInfoChanged:"event.cloudsettings.userInfoChanged",userAvatarChanged:"event.cloudsettings.userAvatarChanged",cloudFileSyncStatusChanged:"event.cloudsettings.cloudFileSyncStatusChanged",realTimeUploadStatusChanged:"event.cloudsettings.realTimeUploadStatusChanged",cacheFileClear:"event.cloudsettings.cacheFileClear",shareAndSendChanged:"event.cloudsettings.shareAndSendChanged",dialogShow:"event.cloudsettings.dialogShow",radarStatusChanged:"event.cloudsettings.radarStatusChanged",vipInfoChanged:"event.cloudsettings.vipInfoChanged",autoUpdateFoldersChanged:"event.cloudsettings.autoUpdateFoldersChanged",rightMenuChanged:"event.cloudsettings.rightMenuChanged",privilegeChanged:"event.account.privilegechanged",vipInfoFinished:"event.account.vipinfofinished"}}return Object(oe["a"])(e,[{key:"addDragArea",value:function(e,t,n,s){ue["a"].addDragArea(e,t,n,s)}},{key:"close",value:function(){ue["a"].close()}},{key:"getAppInfo",value:function(){return le["a"].getAppInfo()}},{key:"getUserInfo",value:function(){return de["a"].getUserInfo()}},{key:"closeWin",value:function(){ce["a"].exec(this.apis.closeWin)}},{key:"login",value:function(){de["a"].login({extraParams:{qrcode:"vip",from:"dl_wpsbox"}})}},{key:"logout",value:function(){ce["a"].exec(this.apis.logout)}},{key:"openPayment",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.csource||"",n=e.position||"",s=e.payconfig||"";ce["a"].exec(this.apis.upgradeVip,{csource:t,position:n,payconfig:s})}},{key:"addLogoutListener",value:function(e){fe["a"].removeLogoutListener(),fe["a"].addLogoutListener(e)}},{key:"removeLogoutListener",value:function(){fe["a"].removeLogoutListener()}},{key:"addLoginListener",value:function(e){fe["a"].removeLoginListener(),fe["a"].addLoginListener(e)}},{key:"openUrl",value:function(e){he["a"].openUrl(e)}},{key:"openVirtualCloudDiskMyDevice",value:function(){ce["a"].exec(this.apis.openVirtualCloudDiskMyDevice)}},{key:"getIsNeedRepairOverlayIcon",value:function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t={},e.prev=1,e.next=4,ce["a"].execPromise(this.apis.getIsNeedRepairOverlayIcon);case 4:t=e.sent,e.next=10;break;case 7:e.prev=7,e.t0=e["catch"](1),t=e.t0.response;case 10:return e.abrupt("return",Me(t));case 11:case"end":return e.stop()}}),e,this,[[1,7]])})));function t(){return e.apply(this,arguments)}return t}()},{key:"doRepairOverlayIcon",value:function(){ce["a"].exec(this.apis.doRepairOverlayIcon)}},{key:"openPrometheusBrowser",value:function(e){ce["a"].exec(this.apis.openPrometheusBrowser,{url:e,toolbar:!1})}},{key:"openCloudDisk",value:function(){this.openUrl("ksoqing:////type=openCloudDisk/")}},{key:"openUserCenter",value:function(){ce["a"].exec(this.apis.openUserCenter)}},{key:"webLoadFinish",value:function(){ce["a"].exec(this.apis.webLoadFinish)}},{key:"getCloudFileSyncStatus",value:function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t={},e.prev=1,e.next=4,ce["a"].execPromise(this.apis.getCloudFileSyncStatus);case 4:t=e.sent,e.next=10;break;case 7:e.prev=7,e.t0=e["catch"](1),t=e.t0.response;case 10:return e.abrupt("return",Me(t));case 11:case"end":return e.stop()}}),e,this,[[1,7]])})));function t(){return e.apply(this,arguments)}return t}()},{key:"setCloudFileSyncStatus",value:function(e){ce["a"].exec(this.apis.setCloudFileSyncStatus,{autoSync:e})}},{key:"getCloudFileSyncTitle",value:function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t={},e.prev=1,e.next=4,ce["a"].execPromise(this.apis.getCloudFileSyncTitle);case 4:t=e.sent,e.next=10;break;case 7:e.prev=7,e.t0=e["catch"](1),t=e.t0.response;case 10:return e.abrupt("return",Me(t));case 11:case"end":return e.stop()}}),e,this,[[1,7]])})));function t(){return e.apply(this,arguments)}return t}()},{key:"addSwitchTabListener",value:function(e){pe["a"].removeEventListener(this.events.scrollToModule),pe["a"].addEventListener(this.events.scrollToModule,e)}},{key:"onPrivilegeChanges",value:function(e){pe["a"].addEventListener(this.events.privilegeChanged,e)}},{key:"addFileSyncStatusEventListener",value:function(e){pe["a"].removeEventListener(this.events.cloudFileSyncStatusChanged),pe["a"].addEventListener(this.events.cloudFileSyncStatusChanged,e)}},{key:"getRealTimeUploadFuncEnable",value:function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,ce["a"].execPromise(this.apis.getRealTimeUploadFuncEnable);case 2:return t=e.sent,e.abrupt("return",Me(t));case 4:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"getRealTimeUploadStatus",value:function(){ce["a"].exec(this.apis.getRealTimeUploadStatus)}},{key:"setRealTimeUploadStatus",value:function(e){ce["a"].exec(this.apis.setRealTimeUploadStatus,{realTimeUpload:e})}},{key:"addRealTimeUploadStatusEventListener",value:function(e){pe["a"].removeEventListener(this.events.realTimeUploadStatusChanged),pe["a"].addEventListener(this.events.realTimeUploadStatusChanged,e)}},{key:"showAddSyncFolderDlg",value:function(e){ce["a"].exec(this.apis.showAddSyncFolderDlg,{folderPath:e})}},{key:"getAddSyncFolderDlgEnable",value:function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,ce["a"].execPromise(this.apis.getAddSyncFolderDlgEnable);case 2:return t=e.sent,e.abrupt("return",Me(t));case 4:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"getDesktopFileSyncEnable",value:function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,ce["a"].execPromise(this.apis.getDesktopFileSyncEnable);case 2:return t=e.sent,e.abrupt("return",Me(t));case 4:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"showDesktopFileSyncDlg",value:function(){ce["a"].exec(this.apis.showDesktopFileSyncDlg)}},{key:"getReceiveFileBackupEnable",value:function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,ce["a"].execPromise(this.apis.getReceiveFileBackupEnable);case 2:return t=e.sent,e.abrupt("return",Me(t));case 4:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"showReceiveFileBackupDlg",value:function(){ce["a"].exec(this.apis.showDesktopFileSyncDlg)}},{key:"getCloudDiskPageVisible",value:function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,ce["a"].execPromise(this.apis.getCloudDiskPageVisible);case 2:return t=e.sent,e.abrupt("return",Me(t));case 4:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"getCloudDiskEntryVisible",value:function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,ce["a"].execPromise(this.apis.getCloudDiskEntryVisible);case 2:return t=e.sent,e.abrupt("return",Me(t));case 4:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"setCloudDiskEntryVisible",value:function(e){ce["a"].exec(this.apis.setCloudDiskEntryVisible,{visible:e})}},{key:"getCloudFoldersAutoSyncType",value:function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(){var t,n,s=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=s.length>0&&void 0!==s[0]?s[0]:[],e.next=3,ce["a"].execPromise(this.apis.getCloudFoldersAutoSyncType,{folderList:t});case 3:return n=e.sent,e.abrupt("return",Me(n));case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"getSelectedAutoUpdateFolders",value:function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(t){var n,s,i=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){c |
|