@univerjs-pro/collaboration-client 0.6.7-experimental.20250401-9542b43 → 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';var _0x56854d=_0x3149;(function(_0x2c3e6d,_0x50f88d){var _0x2c2fd5=_0x3149,_0x10e6e3=_0x2c3e6d();while(!![]){try{var _0x42afaa=-parseInt(_0x2c2fd5(0xfa))/0x1*(-parseInt(_0x2c2fd5(0xf3))/0x2)+parseInt(_0x2c2fd5(0x105))/0x3*(parseInt(_0x2c2fd5(0x100))/0x4)+-parseInt(_0x2c2fd5(0xef))/0x5+parseInt(_0x2c2fd5(0x115))/0x6*(-parseInt(_0x2c2fd5(0xfe))/0x7)+parseInt(_0x2c2fd5(0x102))/0x8+-parseInt(_0x2c2fd5(0xfc))/0x9+-parseInt(_0x2c2fd5(0x110))/0xa*(-parseInt(_0x2c2fd5(0xf8))/0xb);if(_0x42afaa===_0x50f88d)break;else _0x10e6e3['push'](_0x10e6e3['shift']());}catch(_0x1a38da){_0x10e6e3['push'](_0x10e6e3['shift']());}}}(_0x4973,0x2ebc4));function _0x3149(_0x15efdb,_0x257c80){var _0x4973f7=_0x4973();return _0x3149=function(_0x31496c,_0x505c14){_0x31496c=_0x31496c-0xeb;var _0x1cd297=_0x4973f7[_0x31496c];return _0x1cd297;},_0x3149(_0x15efdb,_0x257c80);}Object['defineProperty'](exports,Symbol[_0x56854d(0xeb)],{'value':_0x56854d(0xf4)});function _0x4973(){var _0x573357=['pipe','13408zcDPWC','FBase','2967568iaADSk','_snapshotService','rxjs','258bhFsZT','FCollaboration','getOwnPropertyDescriptor','waitForRoom$','_collaborationController','loadSheet','CollaborationController','loadSheetAsync','getCollaboration','loadActiveSheetAsync','createInstance','2688110PgSdUo','getUniverSheet','IUniverInstanceService','_handler','FUniver','42546XlqoBv','extend','@univerjs-pro/collaboration-client','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','toStringTag','_injector','DataLoaderService','@univerjs-pro/collaboration','639575imhBDf','members$','loadUnit','Inject','64434OygMdh','Module','length','_univerInstanceService','values','11UMXjYv','readyForCollab','1ikAGDB','SnapshotService','3151548tMtQBP','subscribe','287irhSod'];_0x4973=function(){return _0x573357;};return _0x4973();}const c=require(_0x56854d(0x117)),l=require('@univerjs/core/facade'),v=require(_0x56854d(0xee)),i=require('@univerjs/core'),b=require(_0x56854d(0x104));var S=Object[_0x56854d(0x107)],d=(_0x5b7d41,_0x2d23ca,_0x5b3457,_0x3dbe0e)=>{var _0xa3d600=_0x56854d;for(var _0x4b1fef=_0x3dbe0e>0x1?void 0x0:_0x3dbe0e?S(_0x2d23ca,_0x5b3457):_0x2d23ca,_0xb258d7=_0x5b7d41[_0xa3d600(0xf5)]-0x1,_0x2c7eab;_0xb258d7>=0x0;_0xb258d7--)(_0x2c7eab=_0x5b7d41[_0xb258d7])&&(_0x4b1fef=_0x2c7eab(_0x4b1fef)||_0x4b1fef);return _0x4b1fef;},s=(_0x543a5a,_0x3f1f0b)=>(_0x12e27f,_0x579911)=>_0x3f1f0b(_0x12e27f,_0x579911,_0x543a5a);exports[_0x56854d(0x106)]=class extends l[_0x56854d(0x101)]{constructor(_0x30c75d,_0x29ce02,_0x1b2f9e,_0x1bf654,_0x5961c8){var _0x382b4f=_0x56854d;super(),this['_handler']=_0x30c75d,this[_0x382b4f(0xec)]=_0x29ce02,this[_0x382b4f(0xf6)]=_0x1b2f9e,this[_0x382b4f(0x103)]=_0x1bf654,this[_0x382b4f(0x109)]=_0x5961c8;}async['loadActiveSheet'](){var _0x14ea95=_0x56854d;return this[_0x14ea95(0x10e)]();}async['loadActiveSheetAsync'](){var _0x5f3843=_0x56854d;throw new Error(_0x5f3843(0x118));}async[_0x56854d(0x10a)](_0x54a2bc){return this['loadSheetAsync'](_0x54a2bc);}async[_0x56854d(0x10c)](_0x21317b,_0x2dae4b){var _0xd49525=_0x56854d;return await this[_0xd49525(0x103)][_0xd49525(0x10a)](_0x21317b,0x0,_0x2dae4b)?(await this[_0xd49525(0x109)][_0xd49525(0xf9)](_0x21317b),this[_0xd49525(0x113)][_0xd49525(0x111)](_0x21317b)):null;}['subscribeCollaborators'](_0x3f4161,_0x3d2778){var _0x239361=_0x56854d;const _0x58c13f=this[_0x239361(0xec)]['get'](c['MemberService'])[_0x239361(0x108)](_0x3f4161)[_0x239361(0xff)](b['switchMap'](_0x4cf386=>_0x4cf386[_0x239361(0xf0)]))[_0x239361(0xfd)](_0x13f4c0=>_0x3d2778(Array['from'](_0x13f4c0[_0x239361(0xf7)]())));return i['toDisposable'](_0x58c13f);}},exports[_0x56854d(0x106)]=d([s(0x1,i[_0x56854d(0xf2)](i['Injector'])),s(0x2,i[_0x56854d(0x112)]),s(0x3,i[_0x56854d(0xf2)](v[_0x56854d(0xfb)])),s(0x4,i[_0x56854d(0xf2)](c[_0x56854d(0x10b)]))],exports['FCollaboration']);class u extends l[_0x56854d(0x114)]{[_0x56854d(0x10d)](){var _0x59e47a=_0x56854d;return this['_injector'][_0x59e47a(0x10f)](exports[_0x59e47a(0x106)],{'getUniverSheet':_0x37085e=>this[_0x59e47a(0x111)](_0x37085e)});}['loadServerUnit'](_0xf7a571,_0x52a485,_0x434dc7){var _0x5ef59b=_0x56854d;return this['_injector']['createInstance'](c[_0x5ef59b(0xed)])[_0x5ef59b(0xf1)](_0xf7a571,_0x52a485,_0x434dc7);}}l[_0x56854d(0x114)][_0x56854d(0x116)](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);