@univerjs-pro/collaboration-client 0.6.10-nightly.202504141607 → 0.6.10-nightly.202504151606

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 _0xe83cc7=_0xbf39;(function(_0x42b662,_0x487f33){var _0x4279c0=_0xbf39,_0x1344d2=_0x42b662();while(!![]){try{var _0xbdd60b=-parseInt(_0x4279c0(0x180))/0x1*(-parseInt(_0x4279c0(0x17d))/0x2)+parseInt(_0x4279c0(0x198))/0x3*(parseInt(_0x4279c0(0x18b))/0x4)+parseInt(_0x4279c0(0x19f))/0x5*(parseInt(_0x4279c0(0x195))/0x6)+parseInt(_0x4279c0(0x1a1))/0x7*(parseInt(_0x4279c0(0x188))/0x8)+-parseInt(_0x4279c0(0x172))/0x9*(-parseInt(_0x4279c0(0x17c))/0xa)+-parseInt(_0x4279c0(0x176))/0xb+parseInt(_0x4279c0(0x179))/0xc*(-parseInt(_0x4279c0(0x18f))/0xd);if(_0xbdd60b===_0x487f33)break;else _0x1344d2['push'](_0x1344d2['shift']());}catch(_0x3c185f){_0x1344d2['push'](_0x1344d2['shift']());}}}(_0x669a,0x341e8));function _0x669a(){var _0x10c115=['113971IVkSeT','createInstance','get','FBase','loadActiveSheet','rxjs','1643034JYXNWN','_univerInstanceService','Injector','10359GDVdob','_collaborationController','@univerjs/core','CollaborationController','FUniver','@univerjs-pro/collaboration','members$','5yVxnYA','_injector','203714PgnSYm','switchMap','_snapshotService','@univerjs/core/facade','2196yobrKN','getUniverSheet','from','getCollaboration','3544497KfoXJJ','subscribe','loadSheet','1176viHfGA','IUniverInstanceService','loadActiveSheetAsync','11580KDdtTm','197510UKpVhC','toDisposable','values','4uUYMiC','Inject','_handler','length','loadServerUnit','subscribeCollaborators','@univerjs-pro/collaboration-client','loadSheetAsync','8gjQuDb','FCollaboration','waitForRoom$','480QSEFPt','loadUnit','readyForCollab','defineProperty'];_0x669a=function(){return _0x10c115;};return _0x669a();}Object[_0xe83cc7(0x18e)](exports,Symbol['toStringTag'],{'value':'Module'});const c=require(_0xe83cc7(0x186)),l=require(_0xe83cc7(0x171)),v=require(_0xe83cc7(0x19d)),i=require(_0xe83cc7(0x19a)),b=require(_0xe83cc7(0x194));var S=Object['getOwnPropertyDescriptor'],d=(_0x2cfc0d,_0x21b8cf,_0x467049,_0x220dbb)=>{var _0x3d442c=_0xe83cc7;for(var _0x5bf8bd=_0x220dbb>0x1?void 0x0:_0x220dbb?S(_0x21b8cf,_0x467049):_0x21b8cf,_0x253850=_0x2cfc0d[_0x3d442c(0x183)]-0x1,_0x49513e;_0x253850>=0x0;_0x253850--)(_0x49513e=_0x2cfc0d[_0x253850])&&(_0x5bf8bd=_0x49513e(_0x5bf8bd)||_0x5bf8bd);return _0x5bf8bd;},s=(_0x217980,_0x3b3c93)=>(_0x20b5c4,_0x399f5f)=>_0x3b3c93(_0x20b5c4,_0x399f5f,_0x217980);function _0xbf39(_0x41297f,_0x503317){var _0x669aff=_0x669a();return _0xbf39=function(_0xbf3980,_0x4b9260){_0xbf3980=_0xbf3980-0x171;var _0x4a2139=_0x669aff[_0xbf3980];return _0x4a2139;},_0xbf39(_0x41297f,_0x503317);}exports[_0xe83cc7(0x189)]=class extends l[_0xe83cc7(0x192)]{constructor(_0x57b7a5,_0x1ffbcd,_0xfacab5,_0x90c56a,_0x4e6d2f){var _0x2f0c92=_0xe83cc7;super(),this[_0x2f0c92(0x182)]=_0x57b7a5,this['_injector']=_0x1ffbcd,this[_0x2f0c92(0x196)]=_0xfacab5,this[_0x2f0c92(0x1a3)]=_0x90c56a,this[_0x2f0c92(0x199)]=_0x4e6d2f;}async[_0xe83cc7(0x193)](){var _0x52ad56=_0xe83cc7;return this[_0x52ad56(0x17b)]();}async['loadActiveSheetAsync'](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async[_0xe83cc7(0x178)](_0x836d48){return this['loadSheetAsync'](_0x836d48);}async[_0xe83cc7(0x187)](_0x466fb4,_0x555eba){var _0x3ad323=_0xe83cc7;return await this['_snapshotService']['loadSheet'](_0x466fb4,0x0,_0x555eba)?(await this[_0x3ad323(0x199)][_0x3ad323(0x18d)](_0x466fb4),this[_0x3ad323(0x182)][_0x3ad323(0x173)](_0x466fb4)):null;}[_0xe83cc7(0x185)](_0x2d985b,_0x239782){var _0x1cc0b7=_0xe83cc7;const _0x3baa8f=this['_injector'][_0x1cc0b7(0x191)](c['MemberService'])[_0x1cc0b7(0x18a)](_0x2d985b)['pipe'](b[_0x1cc0b7(0x1a2)](_0x579641=>_0x579641[_0x1cc0b7(0x19e)]))[_0x1cc0b7(0x177)](_0x4e3ad6=>_0x239782(Array[_0x1cc0b7(0x174)](_0x4e3ad6[_0x1cc0b7(0x17f)]())));return i[_0x1cc0b7(0x17e)](_0x3baa8f);}},exports[_0xe83cc7(0x189)]=d([s(0x1,i[_0xe83cc7(0x181)](i[_0xe83cc7(0x197)])),s(0x2,i[_0xe83cc7(0x17a)]),s(0x3,i[_0xe83cc7(0x181)](v['SnapshotService'])),s(0x4,i[_0xe83cc7(0x181)](c[_0xe83cc7(0x19b)]))],exports[_0xe83cc7(0x189)]);class u extends l[_0xe83cc7(0x19c)]{[_0xe83cc7(0x175)](){var _0x2f90df=_0xe83cc7;return this[_0x2f90df(0x1a0)][_0x2f90df(0x190)](exports[_0x2f90df(0x189)],{'getUniverSheet':_0x4d8c9f=>this[_0x2f90df(0x173)](_0x4d8c9f)});}[_0xe83cc7(0x184)](_0x11c071,_0x5ea053,_0x18895a){var _0x2ba59a=_0xe83cc7;return this[_0x2ba59a(0x1a0)][_0x2ba59a(0x190)](c['DataLoaderService'])[_0x2ba59a(0x18c)](_0x11c071,_0x5ea053,_0x18895a);}}l[_0xe83cc7(0x19c)]['extend'](u);
1
+ 'use strict';var _0x546d35=_0x25a1;(function(_0x100246,_0x31000a){var _0x4cf219=_0x25a1,_0x2e5b6c=_0x100246();while(!![]){try{var _0x318024=-parseInt(_0x4cf219(0xfd))/0x1+-parseInt(_0x4cf219(0x104))/0x2*(-parseInt(_0x4cf219(0xf4))/0x3)+-parseInt(_0x4cf219(0xfe))/0x4+parseInt(_0x4cf219(0x105))/0x5+-parseInt(_0x4cf219(0xff))/0x6+-parseInt(_0x4cf219(0x100))/0x7+parseInt(_0x4cf219(0x10e))/0x8;if(_0x318024===_0x31000a)break;else _0x2e5b6c['push'](_0x2e5b6c['shift']());}catch(_0x37dce6){_0x2e5b6c['push'](_0x2e5b6c['shift']());}}}(_0x5ec1,0xda51a));function _0x25a1(_0x409674,_0x34ad05){var _0x5ec13d=_0x5ec1();return _0x25a1=function(_0x25a128,_0x2c3fb2){_0x25a128=_0x25a128-0xe9;var _0x30d85f=_0x5ec13d[_0x25a128];return _0x30d85f;},_0x25a1(_0x409674,_0x34ad05);}Object['defineProperty'](exports,Symbol['toStringTag'],{'value':_0x546d35(0x10d)});function _0x5ec1(){var _0x2fdec1=['7108704ZTNGdH','4873386OWRlKL','3161634zqlysl','get','IUniverInstanceService','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','10FbPFhn','5659005SQgksa','loadSheet','_univerInstanceService','toDisposable','@univerjs-pro/collaboration','FUniver','subscribeCollaborators','getUniverSheet','Module','23520736ElqCmC','loadServerUnit','from','@univerjs-pro/collaboration-client','CollaborationController','SnapshotService','_injector','createInstance','_snapshotService','_handler','readyForCollab','_collaborationController','720177VkqdmY','getOwnPropertyDescriptor','extend','Inject','FBase','rxjs','loadSheetAsync','FCollaboration','@univerjs/core','1336885TgJWvM'];_0x5ec1=function(){return _0x2fdec1;};return _0x5ec1();}const c=require(_0x546d35(0xeb)),l=require('@univerjs/core/facade'),v=require(_0x546d35(0x109)),i=require(_0x546d35(0xfc)),b=require(_0x546d35(0xf9));var S=Object[_0x546d35(0xf5)],d=(_0x5e9df1,_0x429055,_0x573785,_0x448477)=>{for(var _0x1c7c5=_0x448477>0x1?void 0x0:_0x448477?S(_0x429055,_0x573785):_0x429055,_0x5015e8=_0x5e9df1['length']-0x1,_0x11a55d;_0x5015e8>=0x0;_0x5015e8--)(_0x11a55d=_0x5e9df1[_0x5015e8])&&(_0x1c7c5=_0x11a55d(_0x1c7c5)||_0x1c7c5);return _0x1c7c5;},s=(_0x292889,_0x25f90f)=>(_0x2cf924,_0x849d5e)=>_0x25f90f(_0x2cf924,_0x849d5e,_0x292889);exports['FCollaboration']=class extends l[_0x546d35(0xf8)]{constructor(_0x383d39,_0x1ab0ed,_0x34aa2d,_0x57623c,_0x248bcb){var _0x496ef0=_0x546d35;super(),this[_0x496ef0(0xf1)]=_0x383d39,this[_0x496ef0(0xee)]=_0x1ab0ed,this[_0x496ef0(0x107)]=_0x34aa2d,this[_0x496ef0(0xf0)]=_0x57623c,this['_collaborationController']=_0x248bcb;}async['loadActiveSheet'](){return this['loadActiveSheetAsync']();}async['loadActiveSheetAsync'](){var _0x3c6d25=_0x546d35;throw new Error(_0x3c6d25(0x103));}async[_0x546d35(0x106)](_0x581950){var _0x7ba047=_0x546d35;return this[_0x7ba047(0xfa)](_0x581950);}async[_0x546d35(0xfa)](_0x262bc3,_0x432f95){var _0x5df0c5=_0x546d35;return await this[_0x5df0c5(0xf0)][_0x5df0c5(0x106)](_0x262bc3,0x0,_0x432f95)?(await this[_0x5df0c5(0xf3)][_0x5df0c5(0xf2)](_0x262bc3),this['_handler'][_0x5df0c5(0x10c)](_0x262bc3)):null;}[_0x546d35(0x10b)](_0x16d232,_0x4bf94e){var _0x4d592c=_0x546d35;const _0xea79e=this['_injector'][_0x4d592c(0x101)](c['MemberService'])['waitForRoom$'](_0x16d232)['pipe'](b['switchMap'](_0x338013=>_0x338013['members$']))['subscribe'](_0x3cd3bb=>_0x4bf94e(Array[_0x4d592c(0xea)](_0x3cd3bb['values']())));return i[_0x4d592c(0x108)](_0xea79e);}},exports[_0x546d35(0xfb)]=d([s(0x1,i['Inject'](i['Injector'])),s(0x2,i[_0x546d35(0x102)]),s(0x3,i[_0x546d35(0xf7)](v[_0x546d35(0xed)])),s(0x4,i['Inject'](c[_0x546d35(0xec)]))],exports[_0x546d35(0xfb)]);class u extends l[_0x546d35(0x10a)]{['getCollaboration'](){var _0x7ad877=_0x546d35;return this[_0x7ad877(0xee)][_0x7ad877(0xef)](exports['FCollaboration'],{'getUniverSheet':_0x32322c=>this[_0x7ad877(0x10c)](_0x32322c)});}[_0x546d35(0xe9)](_0x572299,_0x49c669,_0x146711){var _0x28a18d=_0x546d35;return this[_0x28a18d(0xee)][_0x28a18d(0xef)](c['DataLoaderService'])['loadUnit'](_0x572299,_0x49c669,_0x146711);}}l[_0x546d35(0x10a)][_0x546d35(0xf6)](u);