@univerjs-pro/collaboration-client 0.6.9-experimental.20250408-bc98dfc → 0.6.9-experimental.20250408-786b00e

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 _0x5baf04=_0x29d9;(function(_0x331480,_0x5d2d4b){var _0x18770f=_0x29d9,_0x3adcd1=_0x331480();while(!![]){try{var _0x1292d3=parseInt(_0x18770f(0x125))/0x1*(parseInt(_0x18770f(0x106))/0x2)+parseInt(_0x18770f(0x107))/0x3+-parseInt(_0x18770f(0xfd))/0x4+-parseInt(_0x18770f(0x118))/0x5*(parseInt(_0x18770f(0x127))/0x6)+-parseInt(_0x18770f(0xff))/0x7+parseInt(_0x18770f(0x128))/0x8*(parseInt(_0x18770f(0x101))/0x9)+parseInt(_0x18770f(0x114))/0xa;if(_0x1292d3===_0x5d2d4b)break;else _0x3adcd1['push'](_0x3adcd1['shift']());}catch(_0x40fd8f){_0x3adcd1['push'](_0x3adcd1['shift']());}}}(_0x4caf,0xb25c5));Object[_0x5baf04(0x100)](exports,Symbol[_0x5baf04(0xfe)],{'value':'Module'});function _0x29d9(_0x4ff939,_0x1f8b75){var _0x4caf49=_0x4caf();return _0x29d9=function(_0x29d91b,_0x4a256f){_0x29d91b=_0x29d91b-0xfa;var _0x19fdff=_0x4caf49[_0x29d91b];return _0x19fdff;},_0x29d9(_0x4ff939,_0x1f8b75);}function _0x4caf(){var _0x2a6027=['1822970vyrNdi','_snapshotService','extend','loadSheet','5uQBYib','MemberService','loadActiveSheet','Injector','readyForCollab','pipe','@univerjs-pro/collaboration-client','@univerjs/core','Inject','FBase','_injector','getUniverSheet','waitForRoom$','829223TpOUOq','DataLoaderService','6742074fzeODt','1288eYHDij','FUniver','getCollaboration','loadSheetAsync','3018736LZmNwi','toStringTag','4482814aLFZMB','defineProperty','50706xSpouJ','values','createInstance','loadUnit','@univerjs-pro/collaboration','2lfiwtB','3992208jlFNMW','loadActiveSheetAsync','subscribeCollaborators','loadServerUnit','members$','FCollaboration','length','rxjs','get','switchMap','from','_handler','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.'];_0x4caf=function(){return _0x2a6027;};return _0x4caf();}const c=require(_0x5baf04(0x11e)),l=require('@univerjs/core/facade'),v=require(_0x5baf04(0x105)),i=require(_0x5baf04(0x11f)),b=require(_0x5baf04(0x10e));var S=Object['getOwnPropertyDescriptor'],d=(_0x42bcb6,_0x3f4c58,_0x437b20,_0x515927)=>{var _0x4df837=_0x5baf04;for(var _0x3def9c=_0x515927>0x1?void 0x0:_0x515927?S(_0x3f4c58,_0x437b20):_0x3f4c58,_0xa62570=_0x42bcb6[_0x4df837(0x10d)]-0x1,_0x30347d;_0xa62570>=0x0;_0xa62570--)(_0x30347d=_0x42bcb6[_0xa62570])&&(_0x3def9c=_0x30347d(_0x3def9c)||_0x3def9c);return _0x3def9c;},s=(_0x13b800,_0x15ebca)=>(_0x44b91a,_0x466e08)=>_0x15ebca(_0x44b91a,_0x466e08,_0x13b800);exports[_0x5baf04(0x10c)]=class extends l[_0x5baf04(0x121)]{constructor(_0x41adc5,_0x2c5fda,_0x503ecc,_0xa0e18c,_0x25e899){var _0x367f92=_0x5baf04;super(),this[_0x367f92(0x112)]=_0x41adc5,this['_injector']=_0x2c5fda,this['_univerInstanceService']=_0x503ecc,this[_0x367f92(0x115)]=_0xa0e18c,this['_collaborationController']=_0x25e899;}async[_0x5baf04(0x11a)](){var _0x4b2880=_0x5baf04;return this[_0x4b2880(0x108)]();}async[_0x5baf04(0x108)](){var _0x45cf85=_0x5baf04;throw new Error(_0x45cf85(0x113));}async[_0x5baf04(0x117)](_0x7a2677){var _0x51b26b=_0x5baf04;return this[_0x51b26b(0xfc)](_0x7a2677);}async[_0x5baf04(0xfc)](_0xd5819b,_0x2c937a){var _0x2b0523=_0x5baf04;return await this[_0x2b0523(0x115)][_0x2b0523(0x117)](_0xd5819b,0x0,_0x2c937a)?(await this['_collaborationController'][_0x2b0523(0x11c)](_0xd5819b),this[_0x2b0523(0x112)][_0x2b0523(0x123)](_0xd5819b)):null;}[_0x5baf04(0x109)](_0x1b6fa1,_0x8ebab4){var _0x4be2a1=_0x5baf04;const _0x55dda7=this[_0x4be2a1(0x122)][_0x4be2a1(0x10f)](c[_0x4be2a1(0x119)])[_0x4be2a1(0x124)](_0x1b6fa1)[_0x4be2a1(0x11d)](b[_0x4be2a1(0x110)](_0x2a7174=>_0x2a7174[_0x4be2a1(0x10b)]))['subscribe'](_0x510974=>_0x8ebab4(Array[_0x4be2a1(0x111)](_0x510974[_0x4be2a1(0x102)]())));return i['toDisposable'](_0x55dda7);}},exports[_0x5baf04(0x10c)]=d([s(0x1,i['Inject'](i[_0x5baf04(0x11b)])),s(0x2,i['IUniverInstanceService']),s(0x3,i[_0x5baf04(0x120)](v['SnapshotService'])),s(0x4,i[_0x5baf04(0x120)](c['CollaborationController']))],exports[_0x5baf04(0x10c)]);class u extends l[_0x5baf04(0xfa)]{[_0x5baf04(0xfb)](){var _0x3e4ad0=_0x5baf04;return this[_0x3e4ad0(0x122)][_0x3e4ad0(0x103)](exports[_0x3e4ad0(0x10c)],{'getUniverSheet':_0x1604b9=>this['getUniverSheet'](_0x1604b9)});}[_0x5baf04(0x10a)](_0x551f09,_0x19cf6b,_0x18574b){var _0x173d45=_0x5baf04;return this[_0x173d45(0x122)][_0x173d45(0x103)](c[_0x173d45(0x126)])[_0x173d45(0x104)](_0x551f09,_0x19cf6b,_0x18574b);}}l[_0x5baf04(0xfa)][_0x5baf04(0x116)](u);
1
+ 'use strict';var _0x5d7e39=_0x20ec;function _0x1a09(){var _0x29ec65=['_univerInstanceService','7jLWyOl','extend','pipe','readyForCollab','354724YPoSXI','subscribeCollaborators','4714040Cafydc','8790NaraLK','@univerjs-pro/collaboration','_handler','createInstance','Injector','4637259TEIYwX','loadActiveSheet','8531094OIqvpw','FBase','26235SlXZGN','get','toDisposable','loadActiveSheetAsync','2hbzknY','Inject','defineProperty','84hTXToX','68358bLbeLp','SnapshotService','@univerjs/core','IUniverInstanceService','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','getOwnPropertyDescriptor','5088544IJQJXt','_collaborationController','values','loadSheet','CollaborationController','DataLoaderService','loadUnit','waitForRoom$','FCollaboration','length','getUniverSheet','_injector','loadSheetAsync','_snapshotService','FUniver','rxjs','@univerjs-pro/collaboration-client','subscribe','switchMap'];_0x1a09=function(){return _0x29ec65;};return _0x1a09();}(function(_0x3b6b70,_0x21ad7c){var _0x15bc42=_0x20ec,_0x43b2be=_0x3b6b70();while(!![]){try{var _0x2a3417=parseInt(_0x15bc42(0x183))/0x1*(parseInt(_0x15bc42(0x161))/0x2)+parseInt(_0x15bc42(0x165))/0x3*(-parseInt(_0x15bc42(0x164))/0x4)+-parseInt(_0x15bc42(0x185))/0x5+-parseInt(_0x15bc42(0x15b))/0x6+parseInt(_0x15bc42(0x17f))/0x7*(parseInt(_0x15bc42(0x16b))/0x8)+parseInt(_0x15bc42(0x159))/0x9+-parseInt(_0x15bc42(0x186))/0xa*(-parseInt(_0x15bc42(0x15d))/0xb);if(_0x2a3417===_0x21ad7c)break;else _0x43b2be['push'](_0x43b2be['shift']());}catch(_0x286f96){_0x43b2be['push'](_0x43b2be['shift']());}}}(_0x1a09,0xb95ff));Object[_0x5d7e39(0x163)](exports,Symbol['toStringTag'],{'value':'Module'});const c=require(_0x5d7e39(0x17b)),l=require('@univerjs/core/facade'),v=require(_0x5d7e39(0x187)),i=require(_0x5d7e39(0x167)),b=require(_0x5d7e39(0x17a));var S=Object[_0x5d7e39(0x16a)],d=(_0x2965dd,_0x1bd434,_0xe6fcf6,_0x55e4f7)=>{var _0x46fb08=_0x5d7e39;for(var _0x851621=_0x55e4f7>0x1?void 0x0:_0x55e4f7?S(_0x1bd434,_0xe6fcf6):_0x1bd434,_0x45a54e=_0x2965dd[_0x46fb08(0x174)]-0x1,_0x3fd61d;_0x45a54e>=0x0;_0x45a54e--)(_0x3fd61d=_0x2965dd[_0x45a54e])&&(_0x851621=_0x3fd61d(_0x851621)||_0x851621);return _0x851621;},s=(_0x3fe46d,_0x40b530)=>(_0xb38ba6,_0x53a795)=>_0x40b530(_0xb38ba6,_0x53a795,_0x3fe46d);exports['FCollaboration']=class extends l[_0x5d7e39(0x15c)]{constructor(_0x23943e,_0x125b69,_0x2a0d2c,_0x5101e1,_0x54d3c6){var _0x38a063=_0x5d7e39;super(),this[_0x38a063(0x156)]=_0x23943e,this[_0x38a063(0x176)]=_0x125b69,this[_0x38a063(0x17e)]=_0x2a0d2c,this[_0x38a063(0x178)]=_0x5101e1,this[_0x38a063(0x16c)]=_0x54d3c6;}async[_0x5d7e39(0x15a)](){var _0x475d6d=_0x5d7e39;return this[_0x475d6d(0x160)]();}async[_0x5d7e39(0x160)](){var _0x227d29=_0x5d7e39;throw new Error(_0x227d29(0x169));}async[_0x5d7e39(0x16e)](_0xb89ae5){return this['loadSheetAsync'](_0xb89ae5);}async[_0x5d7e39(0x177)](_0x52162c,_0x3056b5){var _0x5cc4ca=_0x5d7e39;return await this['_snapshotService'][_0x5cc4ca(0x16e)](_0x52162c,0x0,_0x3056b5)?(await this[_0x5cc4ca(0x16c)][_0x5cc4ca(0x182)](_0x52162c),this['_handler'][_0x5cc4ca(0x175)](_0x52162c)):null;}[_0x5d7e39(0x184)](_0x55a045,_0x9e322e){var _0x4f287c=_0x5d7e39;const _0x944dfc=this[_0x4f287c(0x176)][_0x4f287c(0x15e)](c['MemberService'])[_0x4f287c(0x172)](_0x55a045)[_0x4f287c(0x181)](b[_0x4f287c(0x17d)](_0xe50281=>_0xe50281['members$']))[_0x4f287c(0x17c)](_0x58aa71=>_0x9e322e(Array['from'](_0x58aa71[_0x4f287c(0x16d)]())));return i[_0x4f287c(0x15f)](_0x944dfc);}},exports[_0x5d7e39(0x173)]=d([s(0x1,i[_0x5d7e39(0x162)](i[_0x5d7e39(0x158)])),s(0x2,i[_0x5d7e39(0x168)]),s(0x3,i[_0x5d7e39(0x162)](v[_0x5d7e39(0x166)])),s(0x4,i['Inject'](c[_0x5d7e39(0x16f)]))],exports[_0x5d7e39(0x173)]);class u extends l[_0x5d7e39(0x179)]{['getCollaboration'](){var _0x3f8f0c=_0x5d7e39;return this[_0x3f8f0c(0x176)][_0x3f8f0c(0x157)](exports[_0x3f8f0c(0x173)],{'getUniverSheet':_0x525537=>this[_0x3f8f0c(0x175)](_0x525537)});}['loadServerUnit'](_0x385e77,_0x4c45e7,_0x43afae){var _0x42c1ba=_0x5d7e39;return this[_0x42c1ba(0x176)][_0x42c1ba(0x157)](c[_0x42c1ba(0x170)])[_0x42c1ba(0x171)](_0x385e77,_0x4c45e7,_0x43afae);}}function _0x20ec(_0x5cfaec,_0x35aa4d){var _0x1a09fe=_0x1a09();return _0x20ec=function(_0x20ecbe,_0x33d327){_0x20ecbe=_0x20ecbe-0x156;var _0x196910=_0x1a09fe[_0x20ecbe];return _0x196910;},_0x20ec(_0x5cfaec,_0x35aa4d);}l[_0x5d7e39(0x179)][_0x5d7e39(0x180)](u);