@univerjs-pro/collaboration-client 0.6.7-experimental.20250331-fa407d3 → 0.6.7-experimental.20250401-40103f6

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 _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);
1
+ 'use strict';var _0x33dadd=_0x382b;(function(_0x4cb46b,_0x509f67){var _0x26320b=_0x382b,_0x359730=_0x4cb46b();while(!![]){try{var _0x5b209b=parseInt(_0x26320b(0x175))/0x1*(-parseInt(_0x26320b(0x19b))/0x2)+parseInt(_0x26320b(0x17d))/0x3*(parseInt(_0x26320b(0x195))/0x4)+parseInt(_0x26320b(0x196))/0x5+parseInt(_0x26320b(0x181))/0x6*(parseInt(_0x26320b(0x19a))/0x7)+parseInt(_0x26320b(0x1a4))/0x8*(parseInt(_0x26320b(0x187))/0x9)+parseInt(_0x26320b(0x19e))/0xa+parseInt(_0x26320b(0x17c))/0xb*(-parseInt(_0x26320b(0x19d))/0xc);if(_0x5b209b===_0x509f67)break;else _0x359730['push'](_0x359730['shift']());}catch(_0x16109d){_0x359730['push'](_0x359730['shift']());}}}(_0x3605,0x694db));function _0x3605(){var _0x231fa2=['values','_collaborationController','536TsKJHJ','2395680xTkwfa','@univerjs/core','Injector','length','2005213WPoSmI','2lDurpU','getUniverSheet','252mOxaJj','3920140OUrGDW','@univerjs-pro/collaboration','CollaborationController','createInstance','defineProperty','SnapshotService','56dRuEyF','_handler','loadServerUnit','350326tafEwq','pipe','loadActiveSheet','loadSheet','readyForCollab','toDisposable','subscribe','587906QtvmeT','1002uQLVYq','_snapshotService','FCollaboration','getCollaboration','12NYuXNN','@univerjs/core/facade','@univerjs-pro/collaboration-client','switchMap','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','DataLoaderService','533817kZrZQT','rxjs','waitForRoom$','subscribeCollaborators','Inject','toStringTag','_injector','loadActiveSheetAsync','get','FUniver','IUniverInstanceService','MemberService'];_0x3605=function(){return _0x231fa2;};return _0x3605();}function _0x382b(_0x54a893,_0x4f6b5a){var _0x3605f3=_0x3605();return _0x382b=function(_0x382bef,_0x42db90){_0x382bef=_0x382bef-0x173;var _0x12402f=_0x3605f3[_0x382bef];return _0x12402f;},_0x382b(_0x54a893,_0x4f6b5a);}Object[_0x33dadd(0x1a2)](exports,Symbol[_0x33dadd(0x18c)],{'value':'Module'});const c=require(_0x33dadd(0x183)),l=require(_0x33dadd(0x182)),v=require(_0x33dadd(0x19f)),i=require(_0x33dadd(0x197)),b=require(_0x33dadd(0x188));var S=Object['getOwnPropertyDescriptor'],d=(_0x30a3b5,_0x27bbe4,_0x148a84,_0x52e317)=>{var _0x51480d=_0x33dadd;for(var _0x145cc3=_0x52e317>0x1?void 0x0:_0x52e317?S(_0x27bbe4,_0x148a84):_0x27bbe4,_0x106a67=_0x30a3b5[_0x51480d(0x199)]-0x1,_0x5997e4;_0x106a67>=0x0;_0x106a67--)(_0x5997e4=_0x30a3b5[_0x106a67])&&(_0x145cc3=_0x5997e4(_0x145cc3)||_0x145cc3);return _0x145cc3;},s=(_0xf3ec82,_0x521139)=>(_0x18fe29,_0x361215)=>_0x521139(_0x18fe29,_0x361215,_0xf3ec82);exports['FCollaboration']=class extends l['FBase']{constructor(_0x3ab679,_0x59eecc,_0x51343d,_0x276207,_0x14704){var _0x2fae81=_0x33dadd;super(),this[_0x2fae81(0x173)]=_0x3ab679,this[_0x2fae81(0x18d)]=_0x59eecc,this['_univerInstanceService']=_0x51343d,this[_0x2fae81(0x17e)]=_0x276207,this[_0x2fae81(0x194)]=_0x14704;}async[_0x33dadd(0x177)](){var _0x3bf48c=_0x33dadd;return this[_0x3bf48c(0x18e)]();}async[_0x33dadd(0x18e)](){var _0x26fd09=_0x33dadd;throw new Error(_0x26fd09(0x185));}async[_0x33dadd(0x178)](_0xefd51f){return this['loadSheetAsync'](_0xefd51f);}async['loadSheetAsync'](_0xc6fde3,_0x24e3bb){var _0x4f93c7=_0x33dadd;return await this[_0x4f93c7(0x17e)][_0x4f93c7(0x178)](_0xc6fde3,0x0,_0x24e3bb)?(await this[_0x4f93c7(0x194)][_0x4f93c7(0x179)](_0xc6fde3),this['_handler']['getUniverSheet'](_0xc6fde3)):null;}[_0x33dadd(0x18a)](_0x503f50,_0x1a9ccb){var _0x5b3c5f=_0x33dadd;const _0x19927a=this[_0x5b3c5f(0x18d)][_0x5b3c5f(0x18f)](c[_0x5b3c5f(0x192)])[_0x5b3c5f(0x189)](_0x503f50)[_0x5b3c5f(0x176)](b[_0x5b3c5f(0x184)](_0x3495f6=>_0x3495f6['members$']))[_0x5b3c5f(0x17b)](_0xbe582a=>_0x1a9ccb(Array['from'](_0xbe582a[_0x5b3c5f(0x193)]())));return i[_0x5b3c5f(0x17a)](_0x19927a);}},exports[_0x33dadd(0x17f)]=d([s(0x1,i[_0x33dadd(0x18b)](i[_0x33dadd(0x198)])),s(0x2,i[_0x33dadd(0x191)]),s(0x3,i[_0x33dadd(0x18b)](v[_0x33dadd(0x1a3)])),s(0x4,i['Inject'](c[_0x33dadd(0x1a0)]))],exports['FCollaboration']);class u extends l[_0x33dadd(0x190)]{[_0x33dadd(0x180)](){var _0x29e772=_0x33dadd;return this['_injector'][_0x29e772(0x1a1)](exports[_0x29e772(0x17f)],{'getUniverSheet':_0x55de53=>this[_0x29e772(0x19c)](_0x55de53)});}[_0x33dadd(0x174)](_0x3e0d26,_0x44c690,_0x41c60c){var _0xf754c2=_0x33dadd;return this[_0xf754c2(0x18d)][_0xf754c2(0x1a1)](c[_0xf754c2(0x186)])['loadUnit'](_0x3e0d26,_0x44c690,_0x41c60c);}}l['FUniver']['extend'](u);