@univerjs-pro/collaboration-client 0.22.1 → 0.23.0
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/ca-ES.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/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.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-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.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/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.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-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.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/ja-JP.js +1 -1
- package/lib/locale/ko-KR.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-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.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/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.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-TW.js +1 -1
- package/package.json +11 -11
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x554db2=_0x41cf;(function(_0x13e8a8,_0x16bfe2){const _0x341736=_0x41cf,_0x439c3b=_0x13e8a8();while(!![]){try{const _0x190073=-parseInt(_0x341736(0x1c8))/0x1*(-parseInt(_0x341736(0x203))/0x2)+parseInt(_0x341736(0x1d1))/0x3+parseInt(_0x341736(0x1d2))/0x4*(parseInt(_0x341736(0x1f1))/0x5)+parseInt(_0x341736(0x1e7))/0x6*(parseInt(_0x341736(0x1fb))/0x7)+parseInt(_0x341736(0x1f0))/0x8*(-parseInt(_0x341736(0x1db))/0x9)+-parseInt(_0x341736(0x1d5))/0xa+-parseInt(_0x341736(0x1f7))/0xb;if(_0x190073===_0x16bfe2)break;else _0x439c3b['push'](_0x439c3b['shift']());}catch(_0xc7cdce){_0x439c3b['push'](_0x439c3b['shift']());}}}(_0x4856,0xa101e),Object['defineProperty'](exports,Symbol[_0x554db2(0x1e0)],{'value':'Module'}));let e=require(`@univerjs-pro/collaboration-client`),t=require(`@univerjs/core/facade`),n=require(`@univerjs/core`),r=require(`@univerjs-pro/collaboration`),i=require(`rxjs`);var a=class extends t[_0x554db2(0x1fe)]{get[_0x554db2(0x1ca)](){return e['CollaborationStatus'];}};function _0x4856(){const _0x3c4514=['add','7454270GVcuJD','state','getCollaboration','CollaborationController','values','DisposableCollection','207vIpBxh','IUniverInstanceService','FUniver','NOT_COLLAB','_injector','toStringTag','length','registerEventHandler','entityInit$','loadActiveSheet','Inject','getCollabEntity','12bLjSuj','FEventName','CollaborationStatusChanged','toDisposable','extend','DataLoaderService','from','loadSheetAsync','_snapshotService','422512sgTBOS','5pIsXdw','loadSheet','getFocusedUnit','FBase','fireEvent','Event','2337874RZXVGs','object','Injector','loadServerUnitOfRevision','2574775zngAbu','MemberService','_univerInstanceService','FEnum','subscribe','_handler','loadActiveSheetAsync','waitForRoom$','78996UVBoFA','getOwnPropertyDescriptor','19vdGXuM','decorate','CollaborationStatus','get','switchMap','createInstance','getUniverSheet','_collaborationController','readyForCollab','2301453PKrPjv','2315624JzcfMO','_initialize'];_0x4856=function(){return _0x3c4514;};return _0x4856();}t[_0x554db2(0x1fe)][_0x554db2(0x1eb)](a);var o=class extends t['FEventName']{get[_0x554db2(0x1e9)](){return'CollaborationStatusChanged';}};t[_0x554db2(0x1e8)][_0x554db2(0x1eb)](o);function s(_0x17e3d9,_0x4098d4){return function(_0x124cbe,_0x135b79){_0x4098d4(_0x124cbe,_0x135b79,_0x17e3d9);};}function c(_0x22eebe,_0x1c1427,_0x1855b0,_0x68322e){const _0x48fddd=_0x554db2;var _0xebf505=arguments[_0x48fddd(0x1e1)],_0x12bb1f=_0xebf505<0x3?_0x1c1427:_0x68322e===null?_0x68322e=Object[_0x48fddd(0x1c7)](_0x1c1427,_0x1855b0):_0x68322e,_0x1bfea4;if(typeof Reflect==_0x48fddd(0x1f8)&&typeof Reflect[_0x48fddd(0x1c9)]=='function')_0x12bb1f=Reflect[_0x48fddd(0x1c9)](_0x22eebe,_0x1c1427,_0x1855b0,_0x68322e);else{for(var _0x522c11=_0x22eebe['length']-0x1;_0x522c11>=0x0;_0x522c11--)(_0x1bfea4=_0x22eebe[_0x522c11])&&(_0x12bb1f=(_0xebf505<0x3?_0x1bfea4(_0x12bb1f):_0xebf505>0x3?_0x1bfea4(_0x1c1427,_0x1855b0,_0x12bb1f):_0x1bfea4(_0x1c1427,_0x1855b0))||_0x12bb1f);}return _0xebf505>0x3&&_0x12bb1f&&Object['defineProperty'](_0x1c1427,_0x1855b0,_0x12bb1f),_0x12bb1f;}let l=class extends t[_0x554db2(0x1f4)]{constructor(_0x3b88f8,_0x330ff1,_0xd7380e,_0x1c983d,_0x52dcdd){const _0x3e2b51=_0x554db2;super(),this[_0x3e2b51(0x200)]=_0x3b88f8,this[_0x3e2b51(0x1df)]=_0x330ff1,this[_0x3e2b51(0x1fd)]=_0xd7380e,this['_snapshotService']=_0x1c983d,this[_0x3e2b51(0x1cf)]=_0x52dcdd;}async[_0x554db2(0x1e4)](){const _0x25732e=_0x554db2;return this[_0x25732e(0x201)]();}async[_0x554db2(0x201)](){throw Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async[_0x554db2(0x1f2)](_0x300988){const _0x2c5642=_0x554db2;return this[_0x2c5642(0x1ee)](_0x300988);}async[_0x554db2(0x1ee)](_0x5a8d27,_0x10e984){const _0x1b744c=_0x554db2;return await this[_0x1b744c(0x1ef)][_0x1b744c(0x1f2)](_0x5a8d27,0x0,_0x10e984)?(await this[_0x1b744c(0x1cf)][_0x1b744c(0x1d0)](_0x5a8d27),this[_0x1b744c(0x200)][_0x1b744c(0x1ce)](_0x5a8d27)):null;}['subscribeCollaborators'](_0x4f47ea,_0x4cac85){const _0x2a0e29=_0x554db2;return(0x0,n[_0x2a0e29(0x1ea)])(this[_0x2a0e29(0x1df)][_0x2a0e29(0x1cb)](e[_0x2a0e29(0x1fc)])[_0x2a0e29(0x202)](_0x4f47ea)['pipe']((0x0,i[_0x2a0e29(0x1cc)])(_0x514858=>_0x514858['members$']))['subscribe'](_0x458cb7=>_0x4cac85(Array[_0x2a0e29(0x1ed)](_0x458cb7[_0x2a0e29(0x1d9)]()))));}['getCollaborationStatus'](_0x5db3c1){const _0x3fd8a8=_0x554db2;var _0x4de048;let _0xef5da5;if(_0x5db3c1)_0xef5da5=_0x5db3c1;else{let _0x3438b1=this['_univerInstanceService'][_0x3fd8a8(0x1f3)]();_0xef5da5=_0x3438b1==null?void 0x0:_0x3438b1['getUnitId']();}if(!_0xef5da5)return e[_0x3fd8a8(0x1ca)][_0x3fd8a8(0x1de)];let _0x1b35dd=this[_0x3fd8a8(0x1cf)][_0x3fd8a8(0x1e6)](_0xef5da5);return(_0x4de048=_0x1b35dd==null?void 0x0:_0x1b35dd[_0x3fd8a8(0x1d6)]['status'])==null?e['CollaborationStatus']['NOT_COLLAB']:_0x4de048;}};l=c([s(0x1,(0x0,n['Inject'])(n[_0x554db2(0x1f9)])),s(0x2,n[_0x554db2(0x1dc)]),s(0x3,(0x0,n['Inject'])(r['SnapshotService'])),s(0x4,(0x0,n[_0x554db2(0x1e5)])(e[_0x554db2(0x1d8)]))],l);function _0x41cf(_0x4d3c65,_0x15658a){_0x4d3c65=_0x4d3c65-0x1c7;const _0x48563e=_0x4856();let _0x41cf9a=_0x48563e[_0x4d3c65];return _0x41cf9a;}var u=class extends t[_0x554db2(0x1dd)]{[_0x554db2(0x1d3)](_0x3f52cf){const _0x10e5e4=_0x554db2;let _0x2453be=_0x3f52cf[_0x10e5e4(0x1cb)](e[_0x10e5e4(0x1d8)]);this['disposeWithMe'](this[_0x10e5e4(0x1e2)](this[_0x10e5e4(0x1f6)][_0x10e5e4(0x1e9)],()=>{const _0x357057=_0x10e5e4;let _0x372d0e=new n[(_0x357057(0x1da))](),_0x1547ac=_0x2453be[_0x357057(0x1e3)][_0x357057(0x1ff)](_0x220db9=>{const _0x2da6e1=_0x357057;let _0x5d0369=_0x220db9['status$']['subscribe'](_0x318693=>{const _0xdf3d41=_0x41cf;let _0x38e21e={'unitId':_0x220db9['unitID'],'status':_0x318693};this[_0xdf3d41(0x1f5)](this[_0xdf3d41(0x1f6)]['CollaborationStatusChanged'],_0x38e21e);});_0x372d0e[_0x2da6e1(0x1d4)]((0x0,n[_0x2da6e1(0x1ea)])(_0x5d0369));});return _0x372d0e['add']((0x0,n[_0x357057(0x1ea)])(_0x1547ac)),_0x372d0e;}));}[_0x554db2(0x1d7)](){const _0x3d6b25=_0x554db2;return this[_0x3d6b25(0x1df)][_0x3d6b25(0x1cd)](l,{'getUniverSheet':_0x47d55b=>this[_0x3d6b25(0x1ce)](_0x47d55b)});}['loadServerUnit'](_0x584acc,_0x57bc4d,_0x5bb76c){const _0x770208=_0x554db2;return this[_0x770208(0x1df)][_0x770208(0x1cb)](e[_0x770208(0x1ec)])['loadUnit'](_0x584acc,_0x57bc4d,_0x5bb76c);}[_0x554db2(0x1fa)](_0x8e335d,_0x4f3324,_0x4551ac){const _0x43b59b=_0x554db2;return this['_injector']['get'](e[_0x43b59b(0x1ec)])['loadUnitOfRevision'](_0x8e335d,_0x4f3324,_0x4551ac);}};t[_0x554db2(0x1dd)][_0x554db2(0x1eb)](u),Object['defineProperty'](exports,'FCollaboration',{'enumerable':!0x0,'get':function(){return l;}});
|