@univerjs-pro/collaboration-client 0.20.1 → 0.21.0-insiders.20260422-d7fcb4d
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/types/controllers/collaboration/collaboration-entity.d.ts +7 -8
- package/lib/types/controllers/collaboration/collaboration-state.d.ts +11 -12
- package/lib/types/controllers/collaboration/collaboration.controller.d.ts +1 -1
- package/lib/types/services/auth-server/util.d.ts +1 -0
- package/lib/types/services/data-loader/data-loader.service.d.ts +4 -5
- package/lib/types/services/local-cache/local-cache.service.d.ts +3 -4
- 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 +15 -16
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x53b555=_0x4ead;(function(_0x20b85d,_0x53efce){const _0x51a9dd=_0x4ead,_0xd3a7f8=_0x20b85d();while(!![]){try{const _0xcae864=-parseInt(_0x51a9dd(0x1e0))/0x1+parseInt(_0x51a9dd(0x1ca))/0x2+-parseInt(_0x51a9dd(0x1dd))/0x3+-parseInt(_0x51a9dd(0x1ef))/0x4+parseInt(_0x51a9dd(0x1e9))/0x5+-parseInt(_0x51a9dd(0x1bf))/0x6+parseInt(_0x51a9dd(0x1be))/0x7*(parseInt(_0x51a9dd(0x1ce))/0x8);if(_0xcae864===_0x53efce)break;else _0xd3a7f8['push'](_0xd3a7f8['shift']());}catch(_0x20ec82){_0xd3a7f8['push'](_0xd3a7f8['shift']());}}}(_0x29f0,0xef3e2),Object['defineProperty'](exports,Symbol[_0x53b555(0x1ed)],{'value':_0x53b555(0x1c6)}));let _univerjs_pro_collaboration_client=require('@univerjs-pro/collaboration-client'),_univerjs_core_facade=require('@univerjs/core/facade'),_univerjs_core=require('@univerjs/core'),_univerjs_pro_collaboration=require('@univerjs-pro/collaboration'),rxjs=require('rxjs');var FCollaborationClientEnumMixin=class extends _univerjs_core_facade[_0x53b555(0x1ec)]{get[_0x53b555(0x1f3)](){const _0x35bfa7=_0x53b555;return _univerjs_pro_collaboration_client[_0x35bfa7(0x1f3)];}};_univerjs_core_facade[_0x53b555(0x1ec)][_0x53b555(0x1c7)](FCollaborationClientEnumMixin);var FCollaborationEventNameMixin=class extends _univerjs_core_facade[_0x53b555(0x1c0)]{get[_0x53b555(0x1d6)](){return'CollaborationStatusChanged';}};function _0x4ead(_0x1827e4,_0x4482fe){_0x1827e4=_0x1827e4-0x1bb;const _0x29f01f=_0x29f0();let _0x4eada2=_0x29f01f[_0x1827e4];return _0x4eada2;}_univerjs_core_facade[_0x53b555(0x1c0)][_0x53b555(0x1c7)](FCollaborationEventNameMixin);function _0x29f0(){const _0x47707c=['1228600cfhIBd','getFocusedUnit','_univerInstanceService','FEnum','toStringTag','waitForRoom$','7719308KQyaGE','registerEventHandler','_injector','Inject','CollaborationStatus','add','decorate','loadActiveSheetAsync','defineProperty','length','_handler','DisposableCollection','loadSheet','getUniverSheet','FUniver','subscribeCollaborators','125013lZFyru','9248238ZvZoqk','FEventName','state','status','Event','DataLoaderService','NOT_COLLAB','Module','extend','from','getCollabEntity','2760130ZrxhlD','disposeWithMe','SnapshotService','entityInit$','2056VQHLJq','Injector','subscribe','values','_collaborationController','_snapshotService','loadServerUnit','FBase','CollaborationStatusChanged','loadActiveSheet','loadSheetAsync','CollaborationController','getUnitId','toDisposable','loadServerUnitOfRevision','2507724VrAIoe','getCollaborationStatus','createInstance','928502xofoNT','_initialize','FCollaboration','get','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','getOwnPropertyDescriptor','fireEvent','switchMap','function'];_0x29f0=function(){return _0x47707c;};return _0x29f0();}function __decorateParam(_0x2e0620,_0x3aa6b8){return function(_0x1e24a1,_0x2716e2){_0x3aa6b8(_0x1e24a1,_0x2716e2,_0x2e0620);};}function __decorate(_0x19ddee,_0x39a587,_0x3f0cf4,_0x45b56f){const _0x4ce03e=_0x53b555;var _0x4a930a=arguments[_0x4ce03e(0x1f8)],_0x1d3fd9=_0x4a930a<0x3?_0x39a587:_0x45b56f===null?_0x45b56f=Object[_0x4ce03e(0x1e5)](_0x39a587,_0x3f0cf4):_0x45b56f,_0x25b7dd;if(typeof Reflect==='object'&&typeof Reflect[_0x4ce03e(0x1f5)]===_0x4ce03e(0x1e8))_0x1d3fd9=Reflect[_0x4ce03e(0x1f5)](_0x19ddee,_0x39a587,_0x3f0cf4,_0x45b56f);else{for(var _0x57528d=_0x19ddee[_0x4ce03e(0x1f8)]-0x1;_0x57528d>=0x0;_0x57528d--)if(_0x25b7dd=_0x19ddee[_0x57528d])_0x1d3fd9=(_0x4a930a<0x3?_0x25b7dd(_0x1d3fd9):_0x4a930a>0x3?_0x25b7dd(_0x39a587,_0x3f0cf4,_0x1d3fd9):_0x25b7dd(_0x39a587,_0x3f0cf4))||_0x1d3fd9;}return _0x4a930a>0x3&&_0x1d3fd9&&Object[_0x4ce03e(0x1f7)](_0x39a587,_0x3f0cf4,_0x1d3fd9),_0x1d3fd9;}let FCollaboration=class FCollaboration extends _univerjs_core_facade[_0x53b555(0x1d5)]{constructor(_0xddc06a,_0x277067,_0x110d2d,_0x4a23b7,_0xcef5ee){const _0xc2ec34=_0x53b555;super(),this[_0xc2ec34(0x1f9)]=_0xddc06a,this[_0xc2ec34(0x1f1)]=_0x277067,this[_0xc2ec34(0x1eb)]=_0x110d2d,this[_0xc2ec34(0x1d3)]=_0x4a23b7,this[_0xc2ec34(0x1d2)]=_0xcef5ee;}async[_0x53b555(0x1d7)](){const _0x1c1aef=_0x53b555;return this[_0x1c1aef(0x1f6)]();}async['loadActiveSheetAsync'](){const _0x4bff57=_0x53b555;throw new Error(_0x4bff57(0x1e4));}async[_0x53b555(0x1fb)](_0x1d3826){const _0x1b3d70=_0x53b555;return this[_0x1b3d70(0x1d8)](_0x1d3826);}async['loadSheetAsync'](_0x57e1c2,_0x9a3405){const _0x19d8ad=_0x53b555;if(!await this[_0x19d8ad(0x1d3)][_0x19d8ad(0x1fb)](_0x57e1c2,0x0,_0x9a3405))return null;return await this[_0x19d8ad(0x1d2)]['readyForCollab'](_0x57e1c2),this[_0x19d8ad(0x1f9)][_0x19d8ad(0x1bb)](_0x57e1c2);}[_0x53b555(0x1bd)](_0x4908bb,_0x38e79f){const _0xf34a38=_0x53b555;return(0x0,_univerjs_core[_0xf34a38(0x1db)])(this[_0xf34a38(0x1f1)][_0xf34a38(0x1e3)](_univerjs_pro_collaboration_client['MemberService'])[_0xf34a38(0x1ee)](_0x4908bb)['pipe']((0x0,rxjs[_0xf34a38(0x1e7)])(_0x3b24f2=>_0x3b24f2['members$']))[_0xf34a38(0x1d0)](_0x1b4daa=>_0x38e79f(Array[_0xf34a38(0x1c8)](_0x1b4daa[_0xf34a38(0x1d1)]()))));}[_0x53b555(0x1de)](_0x31e75c){const _0x1e9ef9=_0x53b555;var _0x1443b4;let _0x200d64;if(_0x31e75c)_0x200d64=_0x31e75c;else{const _0x24055d=this['_univerInstanceService'][_0x1e9ef9(0x1ea)]();_0x200d64=_0x24055d===null||_0x24055d===void 0x0?void 0x0:_0x24055d[_0x1e9ef9(0x1da)]();}if(!_0x200d64)return _univerjs_pro_collaboration_client[_0x1e9ef9(0x1f3)][_0x1e9ef9(0x1c5)];const _0x8db288=this[_0x1e9ef9(0x1d2)][_0x1e9ef9(0x1c9)](_0x200d64);return(_0x1443b4=_0x8db288===null||_0x8db288===void 0x0?void 0x0:_0x8db288[_0x1e9ef9(0x1c1)][_0x1e9ef9(0x1c2)])!==null&&_0x1443b4!==void 0x0?_0x1443b4:_univerjs_pro_collaboration_client[_0x1e9ef9(0x1f3)][_0x1e9ef9(0x1c5)];}};FCollaboration=__decorate([__decorateParam(0x1,(0x0,_univerjs_core[_0x53b555(0x1f2)])(_univerjs_core[_0x53b555(0x1cf)])),__decorateParam(0x2,_univerjs_core['IUniverInstanceService']),__decorateParam(0x3,(0x0,_univerjs_core[_0x53b555(0x1f2)])(_univerjs_pro_collaboration[_0x53b555(0x1cc)])),__decorateParam(0x4,(0x0,_univerjs_core[_0x53b555(0x1f2)])(_univerjs_pro_collaboration_client[_0x53b555(0x1d9)]))],FCollaboration);var FUniverCollaborationClientMixin=class extends _univerjs_core_facade[_0x53b555(0x1bc)]{[_0x53b555(0x1e1)](_0x109ae5){const _0x5d5e24=_0x53b555,_0x1f6b6e=_0x109ae5[_0x5d5e24(0x1e3)](_univerjs_pro_collaboration_client['CollaborationController']);this[_0x5d5e24(0x1cb)](this[_0x5d5e24(0x1f0)](this[_0x5d5e24(0x1c3)]['CollaborationStatusChanged'],()=>{const _0xe5d937=_0x5d5e24,_0x2b6a8f=new _univerjs_core[(_0xe5d937(0x1fa))](),_0x2b97dd=_0x1f6b6e[_0xe5d937(0x1cd)][_0xe5d937(0x1d0)](_0x2d3ff3=>{const _0x1e131b=_0xe5d937,_0x53ee36=_0x2d3ff3['status$'][_0x1e131b(0x1d0)](_0x30ba65=>{const _0xd8bb3d=_0x1e131b,_0x514ec2={'unitId':_0x2d3ff3['unitID'],'status':_0x30ba65};this[_0xd8bb3d(0x1e6)](this['Event']['CollaborationStatusChanged'],_0x514ec2);});_0x2b6a8f[_0x1e131b(0x1f4)]((0x0,_univerjs_core['toDisposable'])(_0x53ee36));});return _0x2b6a8f['add']((0x0,_univerjs_core['toDisposable'])(_0x2b97dd)),_0x2b6a8f;}));}['getCollaboration'](){const _0x3db899=_0x53b555;return this[_0x3db899(0x1f1)][_0x3db899(0x1df)](FCollaboration,{'getUniverSheet':_0x2ab600=>this[_0x3db899(0x1bb)](_0x2ab600)});}[_0x53b555(0x1d4)](_0x1f143f,_0x2e8f94,_0x35f5b6){const _0x1de4bc=_0x53b555;return this[_0x1de4bc(0x1f1)]['get'](_univerjs_pro_collaboration_client[_0x1de4bc(0x1c4)])['loadUnit'](_0x1f143f,_0x2e8f94,_0x35f5b6);}[_0x53b555(0x1dc)](_0x48e7ee,_0x9bdda0,_0xf15fe1){const _0x1dfcf8=_0x53b555;return this['_injector'][_0x1dfcf8(0x1e3)](_univerjs_pro_collaboration_client['DataLoaderService'])['loadUnitOfRevision'](_0x48e7ee,_0x9bdda0,_0xf15fe1);}};_univerjs_core_facade[_0x53b555(0x1bc)][_0x53b555(0x1c7)](FUniverCollaborationClientMixin),Object[_0x53b555(0x1f7)](exports,_0x53b555(0x1e2),{'enumerable':!![],'get':function(){return FCollaboration;}});
|