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

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';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);
1
+ 'use strict';var _0xeb8986=_0xcae3;function _0xcae3(_0x5ebfcf,_0x1de9d7){var _0xb78b7d=_0xb78b();return _0xcae3=function(_0xcae314,_0x2db8e6){_0xcae314=_0xcae314-0xe2;var _0x26559b=_0xb78b7d[_0xcae314];return _0x26559b;},_0xcae3(_0x5ebfcf,_0x1de9d7);}(function(_0x21c7af,_0x30f6a4){var _0x237258=_0xcae3,_0xab4549=_0x21c7af();while(!![]){try{var _0x14824d=-parseInt(_0x237258(0xe2))/0x1+-parseInt(_0x237258(0xfa))/0x2*(parseInt(_0x237258(0x108))/0x3)+-parseInt(_0x237258(0xee))/0x4+parseInt(_0x237258(0x10a))/0x5*(parseInt(_0x237258(0xe6))/0x6)+-parseInt(_0x237258(0x100))/0x7+-parseInt(_0x237258(0x109))/0x8+parseInt(_0x237258(0x112))/0x9*(parseInt(_0x237258(0xf7))/0xa);if(_0x14824d===_0x30f6a4)break;else _0xab4549['push'](_0xab4549['shift']());}catch(_0x47dbde){_0xab4549['push'](_0xab4549['shift']());}}}(_0xb78b,0x37c69));Object[_0xeb8986(0x10f)](exports,Symbol['toStringTag'],{'value':_0xeb8986(0x115)});const c=require(_0xeb8986(0xf6)),l=require('@univerjs/core/facade'),h=require(_0xeb8986(0xfc)),n=require(_0xeb8986(0x105)),b=require('rxjs');var d=Object[_0xeb8986(0x104)],S=(_0x237967,_0x5e5125,_0x32ad4d,_0x35eed3)=>{for(var _0x4b691c=_0x35eed3>0x1?void 0x0:_0x35eed3?d(_0x5e5125,_0x32ad4d):_0x5e5125,_0x200b99=_0x237967['length']-0x1,_0x344957;_0x200b99>=0x0;_0x200b99--)(_0x344957=_0x237967[_0x200b99])&&(_0x4b691c=_0x344957(_0x4b691c)||_0x4b691c);return _0x4b691c;},s=(_0x679454,_0x218739)=>(_0x464c11,_0xa3504f)=>_0x218739(_0x464c11,_0xa3504f,_0x679454);exports[_0xeb8986(0xe8)]=class extends l[_0xeb8986(0x10b)]{constructor(_0x218339,_0x443525,_0x1cc389,_0x9ad727,_0x423a53){var _0x19f4fa=_0xeb8986;super(),this[_0x19f4fa(0x107)]=_0x218339,this[_0x19f4fa(0xf1)]=_0x443525,this[_0x19f4fa(0x113)]=_0x1cc389,this[_0x19f4fa(0x102)]=_0x9ad727,this[_0x19f4fa(0xfd)]=_0x423a53;}async[_0xeb8986(0xf4)](){var _0x522dc7=_0xeb8986;return this[_0x522dc7(0xf0)]();}async[_0xeb8986(0xf0)](){var _0x23f375=_0xeb8986;throw new Error(_0x23f375(0xe7));}async[_0xeb8986(0xf2)](_0x367a58){var _0x28db21=_0xeb8986;return this[_0x28db21(0xef)](_0x367a58);}async['loadSheetAsync'](_0x41b470,_0x889608){var _0x4e83e1=_0xeb8986;return await this['_snapshotService'][_0x4e83e1(0xf2)](_0x41b470,0x0,_0x889608)?(await this[_0x4e83e1(0xfd)]['readyForCollab'](_0x41b470),this[_0x4e83e1(0x107)][_0x4e83e1(0xf8)](_0x41b470)):null;}[_0xeb8986(0xfe)](_0x545ac6,_0xa332fa){var _0x130de6=_0xeb8986;const _0x32be65=this[_0x130de6(0xf1)]['get'](c[_0x130de6(0x101)])[_0x130de6(0xe5)](_0x545ac6)[_0x130de6(0x114)](b[_0x130de6(0xf5)](_0x58cc55=>_0x58cc55[_0x130de6(0xea)]))[_0x130de6(0x10d)](_0x1e704d=>_0xa332fa(Array[_0x130de6(0xfb)](_0x1e704d[_0x130de6(0xeb)]())));return n[_0x130de6(0xe9)](_0x32be65);}},exports[_0xeb8986(0xe8)]=S([s(0x1,n[_0xeb8986(0x10e)](n['Injector'])),s(0x2,n[_0xeb8986(0xf9)]),s(0x3,n[_0xeb8986(0x10e)](h[_0xeb8986(0x111)])),s(0x4,n[_0xeb8986(0x10e)](c['CollaborationController']))],exports['FCollaboration']);class u extends l[_0xeb8986(0xec)]{[_0xeb8986(0x110)](){var _0x4bea33=_0xeb8986;return this[_0x4bea33(0xf1)][_0x4bea33(0xf3)](exports[_0x4bea33(0xe8)],{'getUniverSheet':_0x6ec142=>this[_0x4bea33(0xf8)](_0x6ec142)});}[_0xeb8986(0xff)](_0x567d52,_0x22330b,_0x4a93ea){var _0x138702=_0xeb8986;return this[_0x138702(0xf1)][_0x138702(0x106)](c[_0x138702(0xed)])[_0x138702(0x10c)](_0x567d52,_0x22330b,_0x4a93ea);}[_0xeb8986(0x103)](_0x72caaa,_0x361e91,_0x42a5a5){var _0x5713cb=_0xeb8986;return this[_0x5713cb(0xf1)][_0x5713cb(0x106)](c[_0x5713cb(0xed)])[_0x5713cb(0xe4)](_0x72caaa,_0x361e91,_0x42a5a5);}}l[_0xeb8986(0xec)][_0xeb8986(0xe3)](u);function _0xb78b(){var _0x1a6e7d=['switchMap','@univerjs-pro/collaboration-client','15560INzqJl','getUniverSheet','IUniverInstanceService','2baWDyc','from','@univerjs-pro/collaboration','_collaborationController','subscribeCollaborators','loadServerUnit','2026955TQuYWj','MemberService','_snapshotService','loadServerUnitOfRevision','getOwnPropertyDescriptor','@univerjs/core','get','_handler','486573KvmQsM','325824KHkfgS','25VyesUk','FBase','loadUnit','subscribe','Inject','defineProperty','getCollaboration','SnapshotService','6957IxulOY','_univerInstanceService','pipe','Module','432773pGTHCe','extend','loadUnitOfRevision','waitForRoom$','453402LipDOl','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','FCollaboration','toDisposable','members$','values','FUniver','DataLoaderService','1707636QFPawp','loadSheetAsync','loadActiveSheetAsync','_injector','loadSheet','createInstance','loadActiveSheet'];_0xb78b=function(){return _0x1a6e7d;};return _0xb78b();}