@univerjs-pro/collaboration-client 0.8.0-nightly.202505261607 → 0.8.0-nightly.202505271607

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 CHANGED
@@ -1 +1 @@
1
- 'use strict';var _0x33a2f4=_0x53a2;(function(_0xf35b1c,_0x4d2bd0){var _0x2d5e92=_0x53a2,_0x4bc023=_0xf35b1c();while(!![]){try{var _0xac0c36=-parseInt(_0x2d5e92(0x1ca))/0x1+-parseInt(_0x2d5e92(0x1ef))/0x2*(parseInt(_0x2d5e92(0x1e4))/0x3)+-parseInt(_0x2d5e92(0x1f3))/0x4+-parseInt(_0x2d5e92(0x1d5))/0x5+-parseInt(_0x2d5e92(0x1e9))/0x6+-parseInt(_0x2d5e92(0x1de))/0x7+parseInt(_0x2d5e92(0x1ee))/0x8*(parseInt(_0x2d5e92(0x1f7))/0x9);if(_0xac0c36===_0x4d2bd0)break;else _0x4bc023['push'](_0x4bc023['shift']());}catch(_0x2df8de){_0x4bc023['push'](_0x4bc023['shift']());}}}(_0x4ac8,0xb98fb));function _0x4ac8(){var _0x534a69=['FUniver','531610LYeuSW','length','loadSheetAsync','@univerjs/core/facade','_snapshotService','subscribe','_handler','FCollaboration','_injector','8055600EcGPik','_univerInstanceService','values','@univerjs/core','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','extend','114573Thkdpb','switchMap','subscribeCollaborators','loadServerUnit','SnapshotService','3245742MvRPVn','defineProperty','members$','getCollaboration','CollaborationController','41451976cDFXaH','78UNeqNY','DataLoaderService','loadUnit','MemberService','2127856nSVOBa','loadActiveSheetAsync','loadSheet','Injector','9LBrOZP','601946iMsAZW','Module','@univerjs-pro/collaboration','Inject','getUniverSheet','loadUnitOfRevision','@univerjs-pro/collaboration-client','_collaborationController','get','getOwnPropertyDescriptor'];_0x4ac8=function(){return _0x534a69;};return _0x4ac8();}function _0x53a2(_0x3301c9,_0x222d16){var _0x4ac8a6=_0x4ac8();return _0x53a2=function(_0x53a250,_0x4a1e0d){_0x53a250=_0x53a250-0x1ca;var _0x60ecfd=_0x4ac8a6[_0x53a250];return _0x60ecfd;},_0x53a2(_0x3301c9,_0x222d16);}Object[_0x33a2f4(0x1ea)](exports,Symbol['toStringTag'],{'value':_0x33a2f4(0x1cb)});const c=require(_0x33a2f4(0x1d0)),l=require(_0x33a2f4(0x1d8)),h=require(_0x33a2f4(0x1cc)),n=require(_0x33a2f4(0x1e1)),b=require('rxjs');var d=Object[_0x33a2f4(0x1d3)],S=(_0x1fc184,_0x577c59,_0x1cddef,_0x4b874f)=>{var _0x314868=_0x33a2f4;for(var _0x51b5e6=_0x4b874f>0x1?void 0x0:_0x4b874f?d(_0x577c59,_0x1cddef):_0x577c59,_0x1b1654=_0x1fc184[_0x314868(0x1d6)]-0x1,_0x16d338;_0x1b1654>=0x0;_0x1b1654--)(_0x16d338=_0x1fc184[_0x1b1654])&&(_0x51b5e6=_0x16d338(_0x51b5e6)||_0x51b5e6);return _0x51b5e6;},s=(_0x2edb75,_0xef834b)=>(_0x2a0bc2,_0x527dac)=>_0xef834b(_0x2a0bc2,_0x527dac,_0x2edb75);exports['FCollaboration']=class extends l['FBase']{constructor(_0x55a1e0,_0x5bb355,_0x31d2c9,_0x93a2a3,_0x46b94b){var _0x545fc3=_0x33a2f4;super(),this[_0x545fc3(0x1db)]=_0x55a1e0,this[_0x545fc3(0x1dd)]=_0x5bb355,this[_0x545fc3(0x1df)]=_0x31d2c9,this[_0x545fc3(0x1d9)]=_0x93a2a3,this[_0x545fc3(0x1d1)]=_0x46b94b;}async['loadActiveSheet'](){var _0x1451be=_0x33a2f4;return this[_0x1451be(0x1f4)]();}async[_0x33a2f4(0x1f4)](){var _0x2c9771=_0x33a2f4;throw new Error(_0x2c9771(0x1e2));}async[_0x33a2f4(0x1f5)](_0x2e06ad){var _0x426c52=_0x33a2f4;return this[_0x426c52(0x1d7)](_0x2e06ad);}async['loadSheetAsync'](_0x4ea1d1,_0x4f9247){var _0x18dac7=_0x33a2f4;return await this[_0x18dac7(0x1d9)][_0x18dac7(0x1f5)](_0x4ea1d1,0x0,_0x4f9247)?(await this[_0x18dac7(0x1d1)]['readyForCollab'](_0x4ea1d1),this[_0x18dac7(0x1db)][_0x18dac7(0x1ce)](_0x4ea1d1)):null;}[_0x33a2f4(0x1e6)](_0x18026c,_0x1a4848){var _0x5e83d8=_0x33a2f4;const _0x5cf566=this[_0x5e83d8(0x1dd)]['get'](c[_0x5e83d8(0x1f2)])['waitForRoom$'](_0x18026c)['pipe'](b[_0x5e83d8(0x1e5)](_0x5a5d85=>_0x5a5d85[_0x5e83d8(0x1eb)]))[_0x5e83d8(0x1da)](_0x42ac70=>_0x1a4848(Array['from'](_0x42ac70[_0x5e83d8(0x1e0)]())));return n['toDisposable'](_0x5cf566);}},exports[_0x33a2f4(0x1dc)]=S([s(0x1,n[_0x33a2f4(0x1cd)](n[_0x33a2f4(0x1f6)])),s(0x2,n['IUniverInstanceService']),s(0x3,n[_0x33a2f4(0x1cd)](h[_0x33a2f4(0x1e8)])),s(0x4,n[_0x33a2f4(0x1cd)](c[_0x33a2f4(0x1ed)]))],exports[_0x33a2f4(0x1dc)]);class u extends l[_0x33a2f4(0x1d4)]{[_0x33a2f4(0x1ec)](){var _0x5ce19f=_0x33a2f4;return this['_injector']['createInstance'](exports[_0x5ce19f(0x1dc)],{'getUniverSheet':_0x16dcc3=>this['getUniverSheet'](_0x16dcc3)});}[_0x33a2f4(0x1e7)](_0x1cd131,_0x3f12e7,_0x41da3d){var _0x26388e=_0x33a2f4;return this[_0x26388e(0x1dd)][_0x26388e(0x1d2)](c[_0x26388e(0x1f0)])[_0x26388e(0x1f1)](_0x1cd131,_0x3f12e7,_0x41da3d);}['loadServerUnitOfRevision'](_0x90e1dc,_0x132ee1,_0xcbc91e){var _0x4fe22f=_0x33a2f4;return this[_0x4fe22f(0x1dd)]['get'](c['DataLoaderService'])[_0x4fe22f(0x1cf)](_0x90e1dc,_0x132ee1,_0xcbc91e);}}l[_0x33a2f4(0x1d4)][_0x33a2f4(0x1e3)](u);
1
+ 'use strict';function _0x31c9(_0x5436a3,_0x165c63){var _0x4466c9=_0x4466();return _0x31c9=function(_0x31c989,_0x33157f){_0x31c989=_0x31c989-0x1b3;var _0x1ed62d=_0x4466c9[_0x31c989];return _0x1ed62d;},_0x31c9(_0x5436a3,_0x165c63);}var _0x1b5589=_0x31c9;(function(_0x3b53a8,_0x1bad28){var _0x41e81d=_0x31c9,_0x1618a2=_0x3b53a8();while(!![]){try{var _0x24c900=-parseInt(_0x41e81d(0x1bb))/0x1*(-parseInt(_0x41e81d(0x1b4))/0x2)+-parseInt(_0x41e81d(0x1cb))/0x3+-parseInt(_0x41e81d(0x1b8))/0x4+-parseInt(_0x41e81d(0x1c9))/0x5+parseInt(_0x41e81d(0x1cd))/0x6+parseInt(_0x41e81d(0x1b7))/0x7*(-parseInt(_0x41e81d(0x1c7))/0x8)+parseInt(_0x41e81d(0x1db))/0x9*(parseInt(_0x41e81d(0x1c0))/0xa);if(_0x24c900===_0x1bad28)break;else _0x1618a2['push'](_0x1618a2['shift']());}catch(_0x1e2962){_0x1618a2['push'](_0x1618a2['shift']());}}}(_0x4466,0xde942));Object['defineProperty'](exports,Symbol['toStringTag'],{'value':_0x1b5589(0x1c3)});const c=require(_0x1b5589(0x1c5)),l=require(_0x1b5589(0x1d2)),h=require(_0x1b5589(0x1ca)),n=require(_0x1b5589(0x1dc)),b=require('rxjs');var d=Object[_0x1b5589(0x1b6)],S=(_0x1bc674,_0x40943e,_0x4f87f2,_0x16d3f0)=>{var _0x179e0b=_0x1b5589;for(var _0x597562=_0x16d3f0>0x1?void 0x0:_0x16d3f0?d(_0x40943e,_0x4f87f2):_0x40943e,_0x163c67=_0x1bc674[_0x179e0b(0x1d5)]-0x1,_0x56e37b;_0x163c67>=0x0;_0x163c67--)(_0x56e37b=_0x1bc674[_0x163c67])&&(_0x597562=_0x56e37b(_0x597562)||_0x597562);return _0x597562;},s=(_0x464905,_0x50f352)=>(_0x14c121,_0x319cfe)=>_0x50f352(_0x14c121,_0x319cfe,_0x464905);function _0x4466(){var _0x49a957=['readyForCollab','SnapshotService','1CpwhnD','loadServerUnit','loadSheetAsync','MemberService','toDisposable','17222490EpILwF','_univerInstanceService','subscribe','Module','members$','@univerjs-pro/collaboration-client','FUniver','952nvSuJV','get','4740975PZazwX','@univerjs-pro/collaboration','739893iFZIYp','_collaborationController','10712730jatsTJ','loadServerUnitOfRevision','loadSheet','DataLoaderService','getUniverSheet','@univerjs/core/facade','_handler','_injector','length','loadActiveSheet','FCollaboration','loadUnit','getCollaboration','CollaborationController','9upsLSM','@univerjs/core','createInstance','_snapshotService','from','subscribeCollaborators','loadActiveSheetAsync','values','1736794ezlLgZ','pipe','getOwnPropertyDescriptor','100499sxibrN','2244440wLQSMa'];_0x4466=function(){return _0x49a957;};return _0x4466();}exports[_0x1b5589(0x1d7)]=class extends l['FBase']{constructor(_0x55d50e,_0xa8e3b1,_0x23f663,_0xccb96f,_0x26db56){var _0x149d31=_0x1b5589;super(),this[_0x149d31(0x1d3)]=_0x55d50e,this[_0x149d31(0x1d4)]=_0xa8e3b1,this[_0x149d31(0x1c1)]=_0x23f663,this['_snapshotService']=_0xccb96f,this[_0x149d31(0x1cc)]=_0x26db56;}async[_0x1b5589(0x1d6)](){return this['loadActiveSheetAsync']();}async[_0x1b5589(0x1e1)](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async[_0x1b5589(0x1cf)](_0x455cc4){return this['loadSheetAsync'](_0x455cc4);}async[_0x1b5589(0x1bd)](_0x140851,_0x1c96d){var _0x1bcbdc=_0x1b5589;return await this[_0x1bcbdc(0x1de)][_0x1bcbdc(0x1cf)](_0x140851,0x0,_0x1c96d)?(await this[_0x1bcbdc(0x1cc)][_0x1bcbdc(0x1b9)](_0x140851),this[_0x1bcbdc(0x1d3)][_0x1bcbdc(0x1d1)](_0x140851)):null;}[_0x1b5589(0x1e0)](_0x55f201,_0xf4c294){var _0x21ae25=_0x1b5589;const _0x1cc39a=this['_injector'][_0x21ae25(0x1c8)](c[_0x21ae25(0x1be)])['waitForRoom$'](_0x55f201)[_0x21ae25(0x1b5)](b['switchMap'](_0x2333ac=>_0x2333ac[_0x21ae25(0x1c4)]))[_0x21ae25(0x1c2)](_0xfe6225=>_0xf4c294(Array[_0x21ae25(0x1df)](_0xfe6225[_0x21ae25(0x1b3)]())));return n[_0x21ae25(0x1bf)](_0x1cc39a);}},exports[_0x1b5589(0x1d7)]=S([s(0x1,n['Inject'](n['Injector'])),s(0x2,n['IUniverInstanceService']),s(0x3,n['Inject'](h[_0x1b5589(0x1ba)])),s(0x4,n['Inject'](c[_0x1b5589(0x1da)]))],exports[_0x1b5589(0x1d7)]);class u extends l[_0x1b5589(0x1c6)]{[_0x1b5589(0x1d9)](){var _0x8ae98b=_0x1b5589;return this[_0x8ae98b(0x1d4)][_0x8ae98b(0x1dd)](exports[_0x8ae98b(0x1d7)],{'getUniverSheet':_0x578361=>this[_0x8ae98b(0x1d1)](_0x578361)});}[_0x1b5589(0x1bc)](_0x53f172,_0x3dcfe8,_0x362415){var _0x4950ca=_0x1b5589;return this['_injector'][_0x4950ca(0x1c8)](c[_0x4950ca(0x1d0)])[_0x4950ca(0x1d8)](_0x53f172,_0x3dcfe8,_0x362415);}[_0x1b5589(0x1ce)](_0x2945a8,_0x41bf80,_0x4a0243){var _0x5e4354=_0x1b5589;return this[_0x5e4354(0x1d4)][_0x5e4354(0x1c8)](c[_0x5e4354(0x1d0)])['loadUnitOfRevision'](_0x2945a8,_0x41bf80,_0x4a0243);}}l[_0x1b5589(0x1c6)]['extend'](u);