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

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 _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);
1
+ 'use strict';function _0x5b37(){var _0x559db7=['SnapshotService','@univerjs/core','_snapshotService','Inject','MemberService','getCollaboration','getUniverSheet','@univerjs-pro/collaboration','5148520TpcVcK','FCollaboration','@univerjs-pro/collaboration-client','_injector','length','get','loadSheetAsync','2191VeqliY','3430NgMAeO','8574pHtJBn','IUniverInstanceService','FBase','toDisposable','loadActiveSheetAsync','from','switchMap','subscribe','pipe','createInstance','FUniver','387108BjJnDc','@univerjs/core/facade','17820BjDIhl','182SBiMeI','4YvlKRv','loadServerUnit','members$','737cCKaVH','2798515prqWok','subscribeCollaborators','5102DOsCUX','waitForRoom$','212388kmKQmc','getOwnPropertyDescriptor','loadSheet'];_0x5b37=function(){return _0x559db7;};return _0x5b37();}var _0x350acc=_0xeb4c;(function(_0x404aa1,_0x5b7854){var _0x161e4f=_0xeb4c,_0x46f0f1=_0x404aa1();while(!![]){try{var _0x585757=parseInt(_0x161e4f(0x13b))/0x1*(parseInt(_0x161e4f(0x142))/0x2)+parseInt(_0x161e4f(0x138))/0x3+-parseInt(_0x161e4f(0x13c))/0x4*(parseInt(_0x161e4f(0x140))/0x5)+-parseInt(_0x161e4f(0x158))/0x6*(-parseInt(_0x161e4f(0x156))/0x7)+-parseInt(_0x161e4f(0x14f))/0x8+-parseInt(_0x161e4f(0x13a))/0x9*(parseInt(_0x161e4f(0x157))/0xa)+parseInt(_0x161e4f(0x13f))/0xb*(parseInt(_0x161e4f(0x144))/0xc);if(_0x585757===_0x5b7854)break;else _0x46f0f1['push'](_0x46f0f1['shift']());}catch(_0x3e5dd2){_0x46f0f1['push'](_0x46f0f1['shift']());}}}(_0x5b37,0x53fd4));Object['defineProperty'](exports,Symbol['toStringTag'],{'value':'Module'});const c=require(_0x350acc(0x151)),l=require(_0x350acc(0x139)),v=require(_0x350acc(0x14e)),i=require(_0x350acc(0x148)),b=require('rxjs');var S=Object[_0x350acc(0x145)],d=(_0x33478f,_0x4de6a1,_0x49f32b,_0x24aada)=>{var _0x1d20e5=_0x350acc;for(var _0x1ab286=_0x24aada>0x1?void 0x0:_0x24aada?S(_0x4de6a1,_0x49f32b):_0x4de6a1,_0x51aebb=_0x33478f[_0x1d20e5(0x153)]-0x1,_0x385624;_0x51aebb>=0x0;_0x51aebb--)(_0x385624=_0x33478f[_0x51aebb])&&(_0x1ab286=_0x385624(_0x1ab286)||_0x1ab286);return _0x1ab286;},s=(_0x3563fb,_0x3dcdd2)=>(_0x202f15,_0x7bed7)=>_0x3dcdd2(_0x202f15,_0x7bed7,_0x3563fb);exports['FCollaboration']=class extends l[_0x350acc(0x15a)]{constructor(_0x494c1e,_0xd780d7,_0x2d7431,_0x4adb35,_0xfd51ee){var _0x2590e5=_0x350acc;super(),this['_handler']=_0x494c1e,this[_0x2590e5(0x152)]=_0xd780d7,this['_univerInstanceService']=_0x2d7431,this['_snapshotService']=_0x4adb35,this['_collaborationController']=_0xfd51ee;}async['loadActiveSheet'](){var _0x2d905=_0x350acc;return this[_0x2d905(0x131)]();}async['loadActiveSheetAsync'](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async[_0x350acc(0x146)](_0x2e35d4){var _0x54630d=_0x350acc;return this[_0x54630d(0x155)](_0x2e35d4);}async['loadSheetAsync'](_0x2cc4f6,_0x8c0b8a){var _0x5a6720=_0x350acc;return await this[_0x5a6720(0x149)][_0x5a6720(0x146)](_0x2cc4f6,0x0,_0x8c0b8a)?(await this['_collaborationController']['readyForCollab'](_0x2cc4f6),this['_handler'][_0x5a6720(0x14d)](_0x2cc4f6)):null;}[_0x350acc(0x141)](_0x23973f,_0x10e4d3){var _0xb8262e=_0x350acc;const _0x52fea6=this[_0xb8262e(0x152)][_0xb8262e(0x154)](c[_0xb8262e(0x14b)])[_0xb8262e(0x143)](_0x23973f)[_0xb8262e(0x135)](b[_0xb8262e(0x133)](_0x3cb87e=>_0x3cb87e[_0xb8262e(0x13e)]))[_0xb8262e(0x134)](_0x3982dd=>_0x10e4d3(Array[_0xb8262e(0x132)](_0x3982dd['values']())));return i[_0xb8262e(0x130)](_0x52fea6);}},exports[_0x350acc(0x150)]=d([s(0x1,i[_0x350acc(0x14a)](i['Injector'])),s(0x2,i[_0x350acc(0x159)]),s(0x3,i[_0x350acc(0x14a)](v[_0x350acc(0x147)])),s(0x4,i[_0x350acc(0x14a)](c['CollaborationController']))],exports['FCollaboration']);class u extends l[_0x350acc(0x137)]{[_0x350acc(0x14c)](){var _0xf01ef8=_0x350acc;return this[_0xf01ef8(0x152)][_0xf01ef8(0x136)](exports['FCollaboration'],{'getUniverSheet':_0x29cf7c=>this[_0xf01ef8(0x14d)](_0x29cf7c)});}[_0x350acc(0x13d)](_0x4695a0,_0x4dff53,_0x1889b5){var _0x5f588c=_0x350acc;return this[_0x5f588c(0x152)]['createInstance'](c['DataLoaderService'])['loadUnit'](_0x4695a0,_0x4dff53,_0x1889b5);}}function _0xeb4c(_0x5f3565,_0x5a06dd){var _0x5b3710=_0x5b37();return _0xeb4c=function(_0xeb4c4,_0x494158){_0xeb4c4=_0xeb4c4-0x130;var _0x2f6730=_0x5b3710[_0xeb4c4];return _0x2f6730;},_0xeb4c(_0x5f3565,_0x5a06dd);}l[_0x350acc(0x137)]['extend'](u);