@univerjs-pro/collaboration-client 0.6.7-experimental.20250331-25f6e0e → 0.6.7-experimental.20250331-958639c

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 _0x51b04b=_0x4d5a;(function(_0xcb2a6c,_0x39028e){var _0x388079=_0x4d5a,_0x5c76c7=_0xcb2a6c();while(!![]){try{var _0x25f53b=-parseInt(_0x388079(0x17d))/0x1*(parseInt(_0x388079(0x158))/0x2)+parseInt(_0x388079(0x183))/0x3+-parseInt(_0x388079(0x166))/0x4+parseInt(_0x388079(0x167))/0x5+parseInt(_0x388079(0x168))/0x6+-parseInt(_0x388079(0x15a))/0x7*(parseInt(_0x388079(0x172))/0x8)+parseInt(_0x388079(0x160))/0x9;if(_0x25f53b===_0x39028e)break;else _0x5c76c7['push'](_0x5c76c7['shift']());}catch(_0x568e0e){_0x5c76c7['push'](_0x5c76c7['shift']());}}}(_0x3afc,0x811f0));Object[_0x51b04b(0x16f)](exports,Symbol[_0x51b04b(0x159)],{'value':_0x51b04b(0x180)});function _0x3afc(){var _0x1256a8=['Module','FCollaboration','from','501477uHWYak','loadSheet','pipe','31014ARCjqX','toStringTag','679ZHVKRe','getOwnPropertyDescriptor','_injector','@univerjs-pro/collaboration-client','loadUnit','_collaborationController','15162192TRvCWZ','getUniverSheet','Injector','SnapshotService','@univerjs-pro/collaboration','loadServerUnit','3153400NRzbDb','5009080uetxTC','43056YqtsVb','readyForCollab','waitForRoom$','members$','length','loadActiveSheet','loadSheetAsync','defineProperty','subscribeCollaborators','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','55688IyZkuG','values','IUniverInstanceService','_snapshotService','toDisposable','_handler','FUniver','loadActiveSheetAsync','createInstance','CollaborationController','Inject','56WojJOR','DataLoaderService','_univerInstanceService'];_0x3afc=function(){return _0x1256a8;};return _0x3afc();}function _0x4d5a(_0x5ebcf2,_0x3dd760){var _0x3afcd4=_0x3afc();return _0x4d5a=function(_0x4d5a61,_0x24932b){_0x4d5a61=_0x4d5a61-0x157;var _0x32f4c2=_0x3afcd4[_0x4d5a61];return _0x32f4c2;},_0x4d5a(_0x5ebcf2,_0x3dd760);}const c=require(_0x51b04b(0x15d)),l=require('@univerjs/core/facade'),v=require(_0x51b04b(0x164)),i=require('@univerjs/core'),b=require('rxjs');var S=Object[_0x51b04b(0x15b)],d=(_0x1ffbab,_0x4e652e,_0x1974d5,_0x332304)=>{var _0x3046b8=_0x51b04b;for(var _0x51b349=_0x332304>0x1?void 0x0:_0x332304?S(_0x4e652e,_0x1974d5):_0x4e652e,_0x1a984c=_0x1ffbab[_0x3046b8(0x16c)]-0x1,_0x219207;_0x1a984c>=0x0;_0x1a984c--)(_0x219207=_0x1ffbab[_0x1a984c])&&(_0x51b349=_0x219207(_0x51b349)||_0x51b349);return _0x51b349;},s=(_0x539238,_0x2e02dd)=>(_0x1fdd5e,_0x19cb3d)=>_0x2e02dd(_0x1fdd5e,_0x19cb3d,_0x539238);exports['FCollaboration']=class extends l['FBase']{constructor(_0x3d0867,_0x368b3c,_0xf19496,_0x5d09df,_0x2e8b4c){var _0x2c564e=_0x51b04b;super(),this[_0x2c564e(0x177)]=_0x3d0867,this[_0x2c564e(0x15c)]=_0x368b3c,this[_0x2c564e(0x17f)]=_0xf19496,this[_0x2c564e(0x175)]=_0x5d09df,this[_0x2c564e(0x15f)]=_0x2e8b4c;}async[_0x51b04b(0x16d)](){var _0x1d00cd=_0x51b04b;return this[_0x1d00cd(0x179)]();}async[_0x51b04b(0x179)](){var _0x54fd29=_0x51b04b;throw new Error(_0x54fd29(0x171));}async[_0x51b04b(0x184)](_0x3756e1){var _0x433e0a=_0x51b04b;return this[_0x433e0a(0x16e)](_0x3756e1);}async[_0x51b04b(0x16e)](_0x256e12,_0x545ec6){var _0x3879c2=_0x51b04b;return await this[_0x3879c2(0x175)]['loadSheet'](_0x256e12,0x0,_0x545ec6)?(await this[_0x3879c2(0x15f)][_0x3879c2(0x169)](_0x256e12),this[_0x3879c2(0x177)][_0x3879c2(0x161)](_0x256e12)):null;}[_0x51b04b(0x170)](_0x3e3f5f,_0x4141b9){var _0x555797=_0x51b04b;const _0x52e1a5=this[_0x555797(0x15c)]['get'](c['MemberService'])[_0x555797(0x16a)](_0x3e3f5f)[_0x555797(0x157)](b['switchMap'](_0x5c2096=>_0x5c2096[_0x555797(0x16b)]))['subscribe'](_0x1fc477=>_0x4141b9(Array[_0x555797(0x182)](_0x1fc477[_0x555797(0x173)]())));return i[_0x555797(0x176)](_0x52e1a5);}},exports[_0x51b04b(0x181)]=d([s(0x1,i['Inject'](i[_0x51b04b(0x162)])),s(0x2,i[_0x51b04b(0x174)]),s(0x3,i[_0x51b04b(0x17c)](v[_0x51b04b(0x163)])),s(0x4,i[_0x51b04b(0x17c)](c[_0x51b04b(0x17b)]))],exports[_0x51b04b(0x181)]);class u extends l[_0x51b04b(0x178)]{['getCollaboration'](){var _0xa9d4be=_0x51b04b;return this[_0xa9d4be(0x15c)][_0xa9d4be(0x17a)](exports[_0xa9d4be(0x181)],{'getUniverSheet':_0x502f79=>this[_0xa9d4be(0x161)](_0x502f79)});}[_0x51b04b(0x165)](_0x371a4a,_0x469b29,_0x1a4130){var _0x2d7ece=_0x51b04b;return this[_0x2d7ece(0x15c)][_0x2d7ece(0x17a)](c[_0x2d7ece(0x17e)])[_0x2d7ece(0x15e)](_0x371a4a,_0x469b29,_0x1a4130);}}l[_0x51b04b(0x178)]['extend'](u);
1
+ 'use strict';var _0x5b60dc=_0x11f0;(function(_0x3dda69,_0x175439){var _0x339417=_0x11f0,_0x1dc801=_0x3dda69();while(!![]){try{var _0x4d9c71=parseInt(_0x339417(0x175))/0x1+parseInt(_0x339417(0x181))/0x2*(parseInt(_0x339417(0x17c))/0x3)+parseInt(_0x339417(0x176))/0x4+-parseInt(_0x339417(0x157))/0x5+-parseInt(_0x339417(0x172))/0x6+parseInt(_0x339417(0x17d))/0x7*(-parseInt(_0x339417(0x177))/0x8)+-parseInt(_0x339417(0x158))/0x9*(-parseInt(_0x339417(0x15a))/0xa);if(_0x4d9c71===_0x175439)break;else _0x1dc801['push'](_0x1dc801['shift']());}catch(_0x22f9e1){_0x1dc801['push'](_0x1dc801['shift']());}}}(_0x3358,0xa8a9e));Object[_0x5b60dc(0x166)](exports,Symbol[_0x5b60dc(0x16a)],{'value':_0x5b60dc(0x179)});const c=require(_0x5b60dc(0x16d)),l=require(_0x5b60dc(0x17b)),v=require(_0x5b60dc(0x160)),i=require(_0x5b60dc(0x16c)),b=require(_0x5b60dc(0x167));function _0x11f0(_0x4c47bf,_0x312c69){var _0x3358d2=_0x3358();return _0x11f0=function(_0x11f001,_0x4cbdd0){_0x11f001=_0x11f001-0x152;var _0x1504b2=_0x3358d2[_0x11f001];return _0x1504b2;},_0x11f0(_0x4c47bf,_0x312c69);}function _0x3358(){var _0x31576c=['[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','switchMap','435711LuoPDI','1473704LFobIb','24HRERha','FCollaboration','Module','values','@univerjs/core/facade','6VvRDqf','842772kyeGFi','_injector','loadUnit','Injector','905702cLPQBn','toDisposable','getUniverSheet','loadActiveSheet','DataLoaderService','Inject','loadServerUnit','readyForCollab','3852980iQCico','27izrlHg','FBase','1434140UqoyoT','length','FUniver','loadSheetAsync','subscribeCollaborators','_collaborationController','@univerjs-pro/collaboration','MemberService','getOwnPropertyDescriptor','_snapshotService','pipe','loadSheet','defineProperty','rxjs','createInstance','loadActiveSheetAsync','toStringTag','subscribe','@univerjs/core','@univerjs-pro/collaboration-client','_univerInstanceService','extend','_handler','from','1904706QgdLvH'];_0x3358=function(){return _0x31576c;};return _0x3358();}var S=Object[_0x5b60dc(0x162)],d=(_0x574642,_0x226257,_0x4186f5,_0x5a289a)=>{var _0x462843=_0x5b60dc;for(var _0x33e991=_0x5a289a>0x1?void 0x0:_0x5a289a?S(_0x226257,_0x4186f5):_0x226257,_0x6acdfb=_0x574642[_0x462843(0x15b)]-0x1,_0x30e655;_0x6acdfb>=0x0;_0x6acdfb--)(_0x30e655=_0x574642[_0x6acdfb])&&(_0x33e991=_0x30e655(_0x33e991)||_0x33e991);return _0x33e991;},s=(_0x28f0ef,_0x2040da)=>(_0x5d9331,_0x48c830)=>_0x2040da(_0x5d9331,_0x48c830,_0x28f0ef);exports[_0x5b60dc(0x178)]=class extends l[_0x5b60dc(0x159)]{constructor(_0x2ab720,_0x25b00a,_0x121725,_0x18504b,_0x576c5a){var _0x5e0d03=_0x5b60dc;super(),this[_0x5e0d03(0x170)]=_0x2ab720,this[_0x5e0d03(0x17e)]=_0x25b00a,this[_0x5e0d03(0x16e)]=_0x121725,this[_0x5e0d03(0x163)]=_0x18504b,this[_0x5e0d03(0x15f)]=_0x576c5a;}async[_0x5b60dc(0x152)](){var _0x406364=_0x5b60dc;return this[_0x406364(0x169)]();}async[_0x5b60dc(0x169)](){var _0x221ec1=_0x5b60dc;throw new Error(_0x221ec1(0x173));}async[_0x5b60dc(0x165)](_0x11adf6){return this['loadSheetAsync'](_0x11adf6);}async[_0x5b60dc(0x15d)](_0x4ae08c,_0x30ac54){var _0x22255b=_0x5b60dc;return await this[_0x22255b(0x163)][_0x22255b(0x165)](_0x4ae08c,0x0,_0x30ac54)?(await this[_0x22255b(0x15f)][_0x22255b(0x156)](_0x4ae08c),this[_0x22255b(0x170)][_0x22255b(0x183)](_0x4ae08c)):null;}[_0x5b60dc(0x15e)](_0x31ae64,_0x5ddfc0){var _0x4ea3ed=_0x5b60dc;const _0x37a36a=this[_0x4ea3ed(0x17e)]['get'](c[_0x4ea3ed(0x161)])['waitForRoom$'](_0x31ae64)[_0x4ea3ed(0x164)](b[_0x4ea3ed(0x174)](_0x55ed89=>_0x55ed89['members$']))[_0x4ea3ed(0x16b)](_0x49e889=>_0x5ddfc0(Array[_0x4ea3ed(0x171)](_0x49e889[_0x4ea3ed(0x17a)]())));return i[_0x4ea3ed(0x182)](_0x37a36a);}},exports[_0x5b60dc(0x178)]=d([s(0x1,i['Inject'](i[_0x5b60dc(0x180)])),s(0x2,i['IUniverInstanceService']),s(0x3,i[_0x5b60dc(0x154)](v['SnapshotService'])),s(0x4,i[_0x5b60dc(0x154)](c['CollaborationController']))],exports[_0x5b60dc(0x178)]);class u extends l[_0x5b60dc(0x15c)]{['getCollaboration'](){var _0xfa272e=_0x5b60dc;return this[_0xfa272e(0x17e)][_0xfa272e(0x168)](exports[_0xfa272e(0x178)],{'getUniverSheet':_0x533a77=>this['getUniverSheet'](_0x533a77)});}[_0x5b60dc(0x155)](_0x2537f9,_0x3dc25e,_0x33c3e1){var _0x16f6fc=_0x5b60dc;return this[_0x16f6fc(0x17e)][_0x16f6fc(0x168)](c[_0x16f6fc(0x153)])[_0x16f6fc(0x17f)](_0x2537f9,_0x3dc25e,_0x33c3e1);}}l[_0x5b60dc(0x15c)][_0x5b60dc(0x16f)](u);