@univerjs-pro/collaboration-client 1.0.0-alpha.0 → 1.0.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +13 -13
package/lib/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x3d2533=_0x25c8;function _0x27b1(){const _0x37c3db=['216BuLsuT','您的操作與伺服器權限存在衝突。請將您的本機編輯儲存至其他地方,重新整理頁面後將會被捨棄。','編輯衝突','343532JhilrH','此文件協作人數已達上限,您的編輯將暫存於本機。','69915bbtlCz','伺服器未回應協作請求,您的編輯將儲存在本機。','492oBGPYn','連線失敗,請檢查您的網路。','加入協作失敗,您的編輯將暫存於本機。','已離線,編輯將儲存在本機','同步中...','您的本機文件與伺服器文件存在衝突。請將您的本機編輯儲存至其他地方,因為重新整理頁面後將會遺失。','正在擷取伺服器資料...','點擊重新連線','87965inQleH','連線失敗,將在稍後重試連線。','5612406FheadX','5444248OMNDEm','協作文件數量超過限制,您的編輯將暫存於本機。','協作衝突','您的登入已過期,點擊「確定」重新登入,點擊「取消」儲存您的本機編輯。','61602NWGCcS','46049157sIYXFm'];_0x27b1=function(){return _0x37c3db;};return _0x27b1();}(function(_0x251d85,_0x3ea4d9){const _0x149bdd=_0x25c8,_0x1f1665=_0x251d85();while(!![]){try{const _0x2463e1=parseInt(_0x149bdd(0x8b))/0x1+parseInt(_0x149bdd(0x84))/0x2+parseInt(_0x149bdd(0x7f))/0x3+parseInt(_0x149bdd(0x80))/0x4+-parseInt(_0x149bdd(0x7d))/0x5*(-parseInt(_0x149bdd(0x8d))/0x6)+parseInt(_0x149bdd(0x89))/0x7*(parseInt(_0x149bdd(0x86))/0x8)+-parseInt(_0x149bdd(0x85))/0x9;if(_0x2463e1===_0x3ea4d9)break;else _0x1f1665['push'](_0x1f1665['shift']());}catch(_0x19ddbc){_0x1f1665['push'](_0x1f1665['shift']());}}}(_0x27b1,0xf0285));const e={'collaboration-client':{'collabClient':{'tooltip':{'reconnect':_0x3d2533(0x7c)}},'collabStatus':{'fetchMiss':_0x3d2533(0x7b),'conflict':_0x3d2533(0x88),'notCollab':'本機檔案','synced':'已同步','syncing':_0x3d2533(0x91),'offline':_0x3d2533(0x90)},'session':{'connection-failed':_0x3d2533(0x8e),'will-retry':_0x3d2533(0x7e),'room-full':_0x3d2533(0x8a),'join-failed':'加入協作失敗,請稍後重試,您的編輯將暫存於本機。','room-not-exists':_0x3d2533(0x8f),'room-permission-denied':'沒有協作權限,您的編輯將暫存於本機。','room-cnt-exceeds':_0x3d2533(0x81),'collaboration-timeout':_0x3d2533(0x8c)},'conflict':{'title':_0x3d2533(0x82),'content':_0x3d2533(0x92)},'permission':{'title':'認證錯誤','content':_0x3d2533(0x87)},'collaboration':{'single-unit':{'warning':'您在另一個分頁開啟了同一個檔案。為避免資料遺失,此分頁將無法進行編輯。'},'closeRoom':'由於協作房間已關閉,編輯權限已被收回。'},'auth':{'needGotoLoginAlert':_0x3d2533(0x83)}}};function _0x25c8(_0x1141fa,_0x282a30){_0x1141fa=_0x1141fa-0x7b;const _0x27b152=_0x27b1();let _0x25c80c=_0x27b152[_0x1141fa];return _0x25c80c;}export{e as default};
|
package/lib/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x39a8(){const _0x52c00c=['pipe','Inject','unitID','1792710nVQWDS','loadSheet','FCollaboration','switchMap','_snapshotService','readyForCollab','getOwnPropertyDescriptor','loadServerUnitOfRevision','UniverProCollaborationClient','943236bcepRm','registerEventHandler','loadSlideAsync','DataLoaderService','length','UniverCoreFacade','loadDocAsync','loadServerUnit','add','1015689QzrrYU','702824dSlfXs','@univerjs/core','@univerjs/core/facade','status$','loadUnitOfRevision','extend','values','_initialize','state','getWorkbook','getCollabEntity','4xKmiNm','toDisposable','toStringTag','getFocusedUnit','1625294pFXSEb','MemberService','exports','from','UniverProCollaboration','_handler','18NNkVJV','Event','CollaborationStatus','FUniver','members$','18NQzqLg','Injector','subscribe','_injector','loadBaseAsync','getCollaborationStatus','createInstance','waitForRoom$','subscribeCollaborators','function','getDocument','get','NOT_COLLAB','decorate','object','514270jpHVuZ','loadSlide','1YKBHJp','495714mwxAkm','CollaborationController','fireEvent','getPresentation','loadBase','rxjs','loadSheetAsync','UniverProCollaborationClientFacade','loadUnit','FEventName','getBase','FEnum','UniverCore','Module','status','_collaborationController','SnapshotService','defineProperty','CollaborationStatusChanged'];_0x39a8=function(){return _0x52c00c;};return _0x39a8();}function _0x4427(_0x166e43,_0x32c7c5){_0x166e43=_0x166e43-0x171;const _0x39a819=_0x39a8();let _0x4427d8=_0x39a819[_0x166e43];return _0x4427d8;}(function(_0x16e95c,_0x6ad17e){const _0x6242e8=_0x4427,_0x4e1e6c=_0x16e95c();while(!![]){try{const _0x7a5d9d=-parseInt(_0x6242e8(0x185))/0x1*(-parseInt(_0x6242e8(0x186))/0x2)+-parseInt(_0x6242e8(0x1ae))/0x3*(parseInt(_0x6242e8(0x1ba))/0x4)+parseInt(_0x6242e8(0x183))/0x5*(parseInt(_0x6242e8(0x174))/0x6)+parseInt(_0x6242e8(0x1a5))/0x7+-parseInt(_0x6242e8(0x1af))/0x8*(-parseInt(_0x6242e8(0x1c4))/0x9)+-parseInt(_0x6242e8(0x19c))/0xa+-parseInt(_0x6242e8(0x1be))/0xb;if(_0x7a5d9d===_0x6ad17e)break;else _0x4e1e6c['push'](_0x4e1e6c['shift']());}catch(_0x5719e6){_0x4e1e6c['push'](_0x4e1e6c['shift']());}}}(_0x39a8,0x31245),function(_0x4e2c60,_0x7df73d){const _0xb78b3e=_0x4427;typeof exports==_0xb78b3e(0x182)&&typeof module<'u'?_0x7df73d(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core/facade'),require('@univerjs/core'),require('@univerjs-pro/collaboration'),require('rxjs')):typeof define=='function'&&define['amd']?define([_0xb78b3e(0x1c0),'@univerjs-pro/collaboration-client',_0xb78b3e(0x1b1),_0xb78b3e(0x1b0),'@univerjs-pro/collaboration',_0xb78b3e(0x18b)],_0x7df73d):(_0x4e2c60=typeof globalThis<'u'?globalThis:_0x4e2c60||self,_0x7df73d(_0x4e2c60[_0xb78b3e(0x18d)]={},_0x4e2c60[_0xb78b3e(0x1a4)],_0x4e2c60[_0xb78b3e(0x1aa)],_0x4e2c60[_0xb78b3e(0x192)],_0x4e2c60[_0xb78b3e(0x1c2)],_0x4e2c60[_0xb78b3e(0x18b)]));}(this,function(_0x1a6e23,_0xb89e0b,_0x2d30eb,_0x51cdf5,_0xd5626b,_0x20fd6a){const _0x3a0109=_0x4427;Object[_0x3a0109(0x197)](_0x1a6e23,Symbol[_0x3a0109(0x1bc)],{'value':_0x3a0109(0x193)});var _0x40fcf4=class extends _0x2d30eb[_0x3a0109(0x191)]{get[_0x3a0109(0x171)](){const _0x4e3e89=_0x3a0109;return _0xb89e0b[_0x4e3e89(0x171)];}};_0x2d30eb[_0x3a0109(0x191)][_0x3a0109(0x1b4)](_0x40fcf4);var _0x1cfdff=class extends _0x2d30eb[_0x3a0109(0x18f)]{get[_0x3a0109(0x198)](){const _0x14fef9=_0x3a0109;return _0x14fef9(0x198);}};_0x2d30eb[_0x3a0109(0x18f)][_0x3a0109(0x1b4)](_0x1cfdff);function _0x59df80(_0x45ef82,_0x2a9b63){return function(_0x572f9d,_0x3bb5ca){_0x2a9b63(_0x572f9d,_0x3bb5ca,_0x45ef82);};}function _0x4534ac(_0x1f6df0,_0xaa2071,_0x35ce14,_0x171ac5){const _0xe3b83a=_0x3a0109;var _0x51ed83=arguments[_0xe3b83a(0x1a9)],_0x20cc5a=_0x51ed83<0x3?_0xaa2071:_0x171ac5===null?_0x171ac5=Object[_0xe3b83a(0x1a2)](_0xaa2071,_0x35ce14):_0x171ac5,_0x4524d1;if(typeof Reflect==_0xe3b83a(0x182)&&typeof Reflect[_0xe3b83a(0x181)]==_0xe3b83a(0x17d))_0x20cc5a=Reflect[_0xe3b83a(0x181)](_0x1f6df0,_0xaa2071,_0x35ce14,_0x171ac5);else{for(var _0x249fb9=_0x1f6df0['length']-0x1;_0x249fb9>=0x0;_0x249fb9--)(_0x4524d1=_0x1f6df0[_0x249fb9])&&(_0x20cc5a=(_0x51ed83<0x3?_0x4524d1(_0x20cc5a):_0x51ed83>0x3?_0x4524d1(_0xaa2071,_0x35ce14,_0x20cc5a):_0x4524d1(_0xaa2071,_0x35ce14))||_0x20cc5a);}return _0x51ed83>0x3&&_0x20cc5a&&Object[_0xe3b83a(0x197)](_0xaa2071,_0x35ce14,_0x20cc5a),_0x20cc5a;}let _0x2f85da=class extends _0x2d30eb['FBase']{constructor(_0x534f93,_0x35c81c,_0x328b98,_0x73bea5,_0x258601){const _0x521483=_0x3a0109;super(),this[_0x521483(0x1c3)]=_0x534f93,this[_0x521483(0x177)]=_0x35c81c,this['_univerInstanceService']=_0x328b98,this[_0x521483(0x1a0)]=_0x73bea5,this[_0x521483(0x195)]=_0x258601;}async[_0x3a0109(0x18c)](_0x4c4c78,_0x45d671){const _0x4355b2=_0x3a0109;return await this[_0x4355b2(0x1a0)][_0x4355b2(0x19d)](_0x4c4c78,0x0,_0x45d671)?(await this['_collaborationController'][_0x4355b2(0x1a1)](_0x4c4c78),this['_handler'][_0x4355b2(0x1b8)](_0x4c4c78)):null;}async[_0x3a0109(0x1ab)](_0x399053,_0x2fc7a7){const _0x5ae2b5=_0x3a0109;return await this[_0x5ae2b5(0x1a0)]['loadDoc'](_0x399053,0x0,_0x2fc7a7)?(await this[_0x5ae2b5(0x195)][_0x5ae2b5(0x1a1)](_0x399053),this[_0x5ae2b5(0x1c3)][_0x5ae2b5(0x17e)](_0x399053)):null;}async[_0x3a0109(0x178)](_0x549daf,_0x362340){const _0x852f9e=_0x3a0109;return await this[_0x852f9e(0x1a0)][_0x852f9e(0x18a)](_0x549daf,0x0,_0x362340)?(await this['_collaborationController'][_0x852f9e(0x1a1)](_0x549daf),this[_0x852f9e(0x1c3)][_0x852f9e(0x190)](_0x549daf)):null;}async[_0x3a0109(0x1a7)](_0x3b081e,_0x5d2b6a){const _0x55292b=_0x3a0109;return await this[_0x55292b(0x1a0)][_0x55292b(0x184)](_0x3b081e,0x0,_0x5d2b6a)?(await this[_0x55292b(0x195)]['readyForCollab'](_0x3b081e),this[_0x55292b(0x1c3)]['getPresentation'](_0x3b081e)):null;}[_0x3a0109(0x17c)](_0x4e3104,_0x26820f){const _0x253cb5=_0x3a0109;return(0x0,_0x51cdf5[_0x253cb5(0x1bb)])(this[_0x253cb5(0x177)][_0x253cb5(0x17f)](_0xb89e0b[_0x253cb5(0x1bf)])[_0x253cb5(0x17b)](_0x4e3104)[_0x253cb5(0x199)]((0x0,_0x20fd6a[_0x253cb5(0x19f)])(_0x5cfff2=>_0x5cfff2[_0x253cb5(0x173)]))[_0x253cb5(0x176)](_0x103180=>_0x26820f(Array[_0x253cb5(0x1c1)](_0x103180[_0x253cb5(0x1b5)]()))));}[_0x3a0109(0x179)](_0x3ed15f){const _0x1dc348=_0x3a0109;var _0x2bbc89;let _0x746c8;if(_0x3ed15f)_0x746c8=_0x3ed15f;else{let _0x43ad3c=this['_univerInstanceService'][_0x1dc348(0x1bd)]();_0x746c8=_0x43ad3c==null?void 0x0:_0x43ad3c['getUnitId']();}if(!_0x746c8)return _0xb89e0b[_0x1dc348(0x171)][_0x1dc348(0x180)];let _0x40fb8c=this[_0x1dc348(0x195)][_0x1dc348(0x1b9)](_0x746c8);return(_0x2bbc89=_0x40fb8c==null?void 0x0:_0x40fb8c[_0x1dc348(0x1b7)][_0x1dc348(0x194)])==null?_0xb89e0b['CollaborationStatus'][_0x1dc348(0x180)]:_0x2bbc89;}};_0x2f85da=_0x4534ac([_0x59df80(0x1,(0x0,_0x51cdf5[_0x3a0109(0x19a)])(_0x51cdf5[_0x3a0109(0x175)])),_0x59df80(0x2,_0x51cdf5['IUniverInstanceService']),_0x59df80(0x3,(0x0,_0x51cdf5[_0x3a0109(0x19a)])(_0xd5626b[_0x3a0109(0x196)])),_0x59df80(0x4,(0x0,_0x51cdf5[_0x3a0109(0x19a)])(_0xb89e0b['CollaborationController']))],_0x2f85da);var _0x53ece8=class extends _0x2d30eb[_0x3a0109(0x172)]{[_0x3a0109(0x1b6)](_0x368de0){const _0x758abf=_0x3a0109;let _0x296fa9=_0x368de0['get'](_0xb89e0b[_0x758abf(0x187)]);this['disposeWithMe'](this[_0x758abf(0x1a6)](this['Event'][_0x758abf(0x198)],()=>{const _0xce78d2=_0x758abf;let _0x343165=new _0x51cdf5['DisposableCollection'](),_0x10750d=_0x296fa9['entityInit$'][_0xce78d2(0x176)](_0x2bc429=>{const _0x173f78=_0xce78d2;let _0x58a833=_0x2bc429[_0x173f78(0x1b2)]['subscribe'](_0x13067b=>{const _0x7769c7=_0x173f78;let _0x2b7125={'unitId':_0x2bc429[_0x7769c7(0x19b)],'status':_0x13067b};this[_0x7769c7(0x188)](this[_0x7769c7(0x1c5)][_0x7769c7(0x198)],_0x2b7125);});_0x343165[_0x173f78(0x1ad)]((0x0,_0x51cdf5[_0x173f78(0x1bb)])(_0x58a833));});return _0x343165[_0xce78d2(0x1ad)]((0x0,_0x51cdf5[_0xce78d2(0x1bb)])(_0x10750d)),_0x343165;}));}['getCollaboration'](){const _0x8df78c=_0x3a0109;return this['_injector'][_0x8df78c(0x17a)](_0x2f85da,{'getWorkbook':_0x37af1c=>this[_0x8df78c(0x1b8)](_0x37af1c),'getDocument':_0x3c850b=>this[_0x8df78c(0x17e)](_0x3c850b),'getPresentation':_0x269830=>this[_0x8df78c(0x189)](_0x269830),'getBase':_0x17b8f4=>this[_0x8df78c(0x190)](_0x17b8f4)});}[_0x3a0109(0x1ac)](_0x2a666e,_0x569cf6,_0x28f7d5){const _0x5859d2=_0x3a0109;return this[_0x5859d2(0x177)][_0x5859d2(0x17f)](_0xb89e0b[_0x5859d2(0x1a8)])[_0x5859d2(0x18e)](_0x2a666e,_0x569cf6,_0x28f7d5);}[_0x3a0109(0x1a3)](_0x49f8f2,_0x1f578b,_0x5c16a3){const _0x540acb=_0x3a0109;return this[_0x540acb(0x177)][_0x540acb(0x17f)](_0xb89e0b[_0x540acb(0x1a8)])[_0x540acb(0x1b3)](_0x49f8f2,_0x1f578b,_0x5c16a3);}};_0x2d30eb[_0x3a0109(0x172)][_0x3a0109(0x1b4)](_0x53ece8),Object[_0x3a0109(0x197)](_0x1a6e23,_0x3a0109(0x19e),{'enumerable':!0x0,'get':function(){return _0x2f85da;}});}));
|