@univerjs-pro/collaboration-client 0.25.1 → 0.25.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 +11 -11
package/lib/cjs/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x2e2447=_0x1bbb;function _0x2951(){const _0x55a563=['本機檔案','100yaSetw','加入協作失敗,請稍後重試,您的編輯將暫存於本機。','8080DdbwGk','您在另一個分頁開啟了同一個檔案。為避免資料遺失,此分頁將無法進行編輯。','986Hepenx','由於協作房間已關閉,編輯權限已被收回。','認證錯誤','已離線,編輯將儲存在本機','2126230EjNRqk','4045936FuDxGI','連線失敗,請檢查您的網路。','21514272BUTsUh','您的本機文件與伺服器文件存在衝突。請將您的本機編輯儲存至其他地方,因為重新整理頁面後將會遺失。','正在擷取伺服器資料...','7sKIywa','沒有協作權限,您的編輯將暫存於本機。','9DYRCAn','編輯衝突','連線失敗,將在稍後重試連線。','協作衝突','11528miQhzP','此文件協作人數已達上限,您的編輯將暫存於本機。','同步中...','2084TKwOIq','45537QAfxSj','您的操作與伺服器權限存在衝突。請將您的本機編輯儲存至其他地方,重新整理頁面後將會被捨棄。','5914758zitZJO','協作文件數量超過限制,您的編輯將暫存於本機。'];_0x2951=function(){return _0x55a563;};return _0x2951();}(function(_0x4e02d9,_0x4a758a){const _0x208b43=_0x1bbb,_0xcb43fc=_0x4e02d9();while(!![]){try{const _0x5e46ce=parseInt(_0x208b43(0x127))/0x1*(parseInt(_0x208b43(0x11d))/0x2)+-parseInt(_0x208b43(0x11e))/0x3*(-parseInt(_0x208b43(0x123))/0x4)+-parseInt(_0x208b43(0x12b))/0x5+parseInt(_0x208b43(0x120))/0x6*(parseInt(_0x208b43(0x131))/0x7)+-parseInt(_0x208b43(0x12c))/0x8*(parseInt(_0x208b43(0x133))/0x9)+-parseInt(_0x208b43(0x125))/0xa*(-parseInt(_0x208b43(0x137))/0xb)+-parseInt(_0x208b43(0x12e))/0xc;if(_0x5e46ce===_0x4a758a)break;else _0xcb43fc['push'](_0xcb43fc['shift']());}catch(_0x131242){_0xcb43fc['push'](_0xcb43fc['shift']());}}}(_0x2951,0x7de24));const e={'collaboration-client':{'collabClient':{'tooltip':{'reconnect':'點擊重新連線'}},'collabStatus':{'fetchMiss':_0x2e2447(0x130),'conflict':_0x2e2447(0x134),'notCollab':_0x2e2447(0x122),'synced':'已同步','syncing':_0x2e2447(0x11c),'offline':_0x2e2447(0x12a)},'session':{'connection-failed':_0x2e2447(0x12d),'will-retry':_0x2e2447(0x135),'room-full':_0x2e2447(0x11b),'join-failed':_0x2e2447(0x124),'room-not-exists':'加入協作失敗,您的編輯將暫存於本機。','room-permission-denied':_0x2e2447(0x132),'room-cnt-exceeds':_0x2e2447(0x121),'collaboration-timeout':'伺服器未回應協作請求,您的編輯將儲存在本機。'},'conflict':{'title':_0x2e2447(0x136),'content':_0x2e2447(0x12f)},'permission':{'title':_0x2e2447(0x129),'content':_0x2e2447(0x11f)},'collaboration':{'single-unit':{'warning':_0x2e2447(0x126)},'closeRoom':_0x2e2447(0x128)},'auth':{'needGotoLoginAlert':'您的登入已過期,點擊「確定」重新登入,點擊「取消」儲存您的本機編輯。'}}};function _0x1bbb(_0x276621,_0x39eee0){_0x276621=_0x276621-0x11b;const _0x2951be=_0x2951();let _0x1bbb46=_0x2951be[_0x276621];return _0x1bbb46;}module['exports']=e;
|
package/lib/es/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x296125=_0x2fc4;(function(_0x929f70,_0x310ceb){const _0xb869c8=_0x2fc4,_0x52ec40=_0x929f70();while(!![]){try{const _0x3cd490=parseInt(_0xb869c8(0x150))/0x1+-parseInt(_0xb869c8(0x127))/0x2+-parseInt(_0xb869c8(0x14a))/0x3+-parseInt(_0xb869c8(0x146))/0x4*(parseInt(_0xb869c8(0x131))/0x5)+-parseInt(_0xb869c8(0x147))/0x6+parseInt(_0xb869c8(0x151))/0x7+parseInt(_0xb869c8(0x156))/0x8;if(_0x3cd490===_0x310ceb)break;else _0x52ec40['push'](_0x52ec40['shift']());}catch(_0x55bd19){_0x52ec40['push'](_0x52ec40['shift']());}}}(_0x58c6,0xf0088));import{CollaborationController as _0x6ee18c,CollaborationStatus as _0x19e571,DataLoaderService as _0x2ffe90,MemberService as _0x558292}from'@univerjs-pro/collaboration-client';import{FBase as _0x577053,FEnum as _0x4f4675,FEventName as _0x392f29,FUniver as _0x3e222c}from'@univerjs/core/facade';import{DisposableCollection as _0x249d1c,IUniverInstanceService as _0x3ac7d6,Inject as _0x5465d4,Injector as _0x1bacae,toDisposable as _0x483f67}from'@univerjs/core';import{SnapshotService as _0x122df6}from'@univerjs-pro/collaboration';import{switchMap as _0x1ba3c3}from'rxjs';function _0x58c6(){const _0x14bff6=['status$','getCollaborationStatus','loadActiveSheetAsync','getCollaboration','decorate','createInstance','loadSheet','getOwnPropertyDescriptor','length','state','_univerInstanceService','_snapshotService','disposeWithMe','registerEventHandler','loadUnitOfRevision','CollaborationStatusChanged','object','6260zcdKuk','6446940gafBmr','loadActiveSheet','_injector','3825888RTHGpe','extend','_handler','from','loadServerUnitOfRevision','NOT_COLLAB','1714517EWJSWT','12563957vVqIaC','subscribe','subscribeCollaborators','members$','loadUnit','7608656kjyJCM','get','461486slndqU','_collaborationController','getUniverSheet','Event','getUnitId','status','add','loadSheetAsync','loadServerUnit','function','2865JIPWnK','values','getCollabEntity','waitForRoom$'];_0x58c6=function(){return _0x14bff6;};return _0x58c6();}var h=class extends _0x4f4675{get['CollaborationStatus'](){return _0x19e571;}};_0x4f4675[_0x296125(0x14b)](h);var g=class extends _0x392f29{get[_0x296125(0x144)](){const _0x1f6662=_0x296125;return _0x1f6662(0x144);}};_0x392f29[_0x296125(0x14b)](g);function _(_0x1db60d,_0x860d5){return function(_0x2fb4a4,_0x4a48e7){_0x860d5(_0x2fb4a4,_0x4a48e7,_0x1db60d);};}function v(_0x437e79,_0x446529,_0x250bf5,_0x3fc18f){const _0x54853f=_0x296125;var _0x261052=arguments[_0x54853f(0x13d)],_0x282d66=_0x261052<0x3?_0x446529:_0x3fc18f===null?_0x3fc18f=Object[_0x54853f(0x13c)](_0x446529,_0x250bf5):_0x3fc18f,_0x1485cc;if(typeof Reflect==_0x54853f(0x145)&&typeof Reflect[_0x54853f(0x139)]==_0x54853f(0x130))_0x282d66=Reflect[_0x54853f(0x139)](_0x437e79,_0x446529,_0x250bf5,_0x3fc18f);else{for(var _0x49ed15=_0x437e79[_0x54853f(0x13d)]-0x1;_0x49ed15>=0x0;_0x49ed15--)(_0x1485cc=_0x437e79[_0x49ed15])&&(_0x282d66=(_0x261052<0x3?_0x1485cc(_0x282d66):_0x261052>0x3?_0x1485cc(_0x446529,_0x250bf5,_0x282d66):_0x1485cc(_0x446529,_0x250bf5))||_0x282d66);}return _0x261052>0x3&&_0x282d66&&Object['defineProperty'](_0x446529,_0x250bf5,_0x282d66),_0x282d66;}let y=class extends _0x577053{constructor(_0x4b6a89,_0x193c92,_0x2eb620,_0x2f23d4,_0xfb800c){const _0x52ff50=_0x296125;super(),this[_0x52ff50(0x14c)]=_0x4b6a89,this[_0x52ff50(0x149)]=_0x193c92,this[_0x52ff50(0x13f)]=_0x2eb620,this['_snapshotService']=_0x2f23d4,this[_0x52ff50(0x128)]=_0xfb800c;}async[_0x296125(0x148)](){return this['loadActiveSheetAsync']();}async[_0x296125(0x137)](){throw Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async[_0x296125(0x13b)](_0x57475b){return this['loadSheetAsync'](_0x57475b);}async[_0x296125(0x12e)](_0x31ab5b,_0x3d1c70){const _0x3418ed=_0x296125;return await this[_0x3418ed(0x140)]['loadSheet'](_0x31ab5b,0x0,_0x3d1c70)?(await this[_0x3418ed(0x128)]['readyForCollab'](_0x31ab5b),this[_0x3418ed(0x14c)][_0x3418ed(0x129)](_0x31ab5b)):null;}[_0x296125(0x153)](_0x1347fb,_0x516f45){const _0x217d85=_0x296125;return _0x483f67(this['_injector']['get'](_0x558292)[_0x217d85(0x134)](_0x1347fb)['pipe'](_0x1ba3c3(_0x49fe18=>_0x49fe18[_0x217d85(0x154)]))[_0x217d85(0x152)](_0x5cb4d7=>_0x516f45(Array[_0x217d85(0x14d)](_0x5cb4d7[_0x217d85(0x132)]()))));}[_0x296125(0x136)](_0xbb1673){const _0x24bd7d=_0x296125;var _0x516a52;let _0x57d2c4;if(_0xbb1673)_0x57d2c4=_0xbb1673;else{let _0x7539d3=this[_0x24bd7d(0x13f)]['getFocusedUnit']();_0x57d2c4=_0x7539d3==null?void 0x0:_0x7539d3[_0x24bd7d(0x12b)]();}if(!_0x57d2c4)return _0x19e571[_0x24bd7d(0x14f)];let _0x2d2c26=this[_0x24bd7d(0x128)][_0x24bd7d(0x133)](_0x57d2c4);return(_0x516a52=_0x2d2c26==null?void 0x0:_0x2d2c26[_0x24bd7d(0x13e)][_0x24bd7d(0x12c)])==null?_0x19e571[_0x24bd7d(0x14f)]:_0x516a52;}};function _0x2fc4(_0x1d6bf1,_0x547261){_0x1d6bf1=_0x1d6bf1-0x127;const _0x58c66a=_0x58c6();let _0x2fc47e=_0x58c66a[_0x1d6bf1];return _0x2fc47e;}y=v([_(0x1,_0x5465d4(_0x1bacae)),_(0x2,_0x3ac7d6),_(0x3,_0x5465d4(_0x122df6)),_(0x4,_0x5465d4(_0x6ee18c))],y);var b=class extends _0x3e222c{['_initialize'](_0x394be4){const _0x188fdf=_0x296125;let _0x10024e=_0x394be4[_0x188fdf(0x157)](_0x6ee18c);this[_0x188fdf(0x141)](this[_0x188fdf(0x142)](this[_0x188fdf(0x12a)][_0x188fdf(0x144)],()=>{const _0x4639a5=_0x188fdf;let _0x417e6f=new _0x249d1c(),_0x4a2dc1=_0x10024e['entityInit$'][_0x4639a5(0x152)](_0x446a50=>{const _0xdbf76e=_0x4639a5;let _0x4a1858=_0x446a50[_0xdbf76e(0x135)][_0xdbf76e(0x152)](_0x1435c6=>{const _0x58a288=_0xdbf76e;let _0x5ec84c={'unitId':_0x446a50['unitID'],'status':_0x1435c6};this['fireEvent'](this[_0x58a288(0x12a)][_0x58a288(0x144)],_0x5ec84c);});_0x417e6f[_0xdbf76e(0x12d)](_0x483f67(_0x4a1858));});return _0x417e6f[_0x4639a5(0x12d)](_0x483f67(_0x4a2dc1)),_0x417e6f;}));}[_0x296125(0x138)](){const _0x1c5b45=_0x296125;return this[_0x1c5b45(0x149)][_0x1c5b45(0x13a)](y,{'getUniverSheet':_0x26a04d=>this['getUniverSheet'](_0x26a04d)});}[_0x296125(0x12f)](_0x5e0c5d,_0x1e765e,_0x5698be){const _0x4a3a2a=_0x296125;return this[_0x4a3a2a(0x149)][_0x4a3a2a(0x157)](_0x2ffe90)[_0x4a3a2a(0x155)](_0x5e0c5d,_0x1e765e,_0x5698be);}[_0x296125(0x14e)](_0x5d7e5c,_0x232ff2,_0x168b5c){const _0x20f157=_0x296125;return this[_0x20f157(0x149)]['get'](_0x2ffe90)[_0x20f157(0x143)](_0x5d7e5c,_0x232ff2,_0x168b5c);}};_0x3e222c['extend'](b);export{y as FCollaboration};
|