@univerjs-pro/collaboration-client 0.7.0-nightly.202505071607 → 0.7.0-nightly.202505081607

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 _0x31de7a=_0x1f14;(function(_0x487639,_0x3871cc){var _0x4ed237=_0x1f14,_0x57a78d=_0x487639();while(!![]){try{var _0x1cc4df=parseInt(_0x4ed237(0x1d4))/0x1*(-parseInt(_0x4ed237(0x1d1))/0x2)+-parseInt(_0x4ed237(0x1a8))/0x3+parseInt(_0x4ed237(0x1b9))/0x4*(parseInt(_0x4ed237(0x1a2))/0x5)+parseInt(_0x4ed237(0x1d3))/0x6*(-parseInt(_0x4ed237(0x1c1))/0x7)+-parseInt(_0x4ed237(0x1ad))/0x8+parseInt(_0x4ed237(0x1be))/0x9*(-parseInt(_0x4ed237(0x1c4))/0xa)+parseInt(_0x4ed237(0x1cd))/0xb*(parseInt(_0x4ed237(0x1a9))/0xc);if(_0x1cc4df===_0x3871cc)break;else _0x57a78d['push'](_0x57a78d['shift']());}catch(_0x2e3434){_0x57a78d['push'](_0x57a78d['shift']());}}}(_0x1b50,0xc52ce));Object[_0x31de7a(0x1bf)](exports,Symbol[_0x31de7a(0x1cf)],{'value':'Module'});const c=require(_0x31de7a(0x1ab)),l=require('@univerjs/core/facade'),v=require(_0x31de7a(0x1d2)),i=require(_0x31de7a(0x1c5)),b=require('rxjs');function _0x1f14(_0x43fa44,_0x3a520b){var _0x1b5081=_0x1b50();return _0x1f14=function(_0x1f14c1,_0x510826){_0x1f14c1=_0x1f14c1-0x1a2;var _0x4d73eb=_0x1b5081[_0x1f14c1];return _0x4d73eb;},_0x1f14(_0x43fa44,_0x3a520b);}var S=Object['getOwnPropertyDescriptor'],d=(_0x50a122,_0x3f2228,_0x5a2b8a,_0x81d27d)=>{var _0x28e2f5=_0x31de7a;for(var _0x9b2567=_0x81d27d>0x1?void 0x0:_0x81d27d?S(_0x3f2228,_0x5a2b8a):_0x3f2228,_0xdf1877=_0x50a122[_0x28e2f5(0x1af)]-0x1,_0x34fa0d;_0xdf1877>=0x0;_0xdf1877--)(_0x34fa0d=_0x50a122[_0xdf1877])&&(_0x9b2567=_0x34fa0d(_0x9b2567)||_0x9b2567);return _0x9b2567;},s=(_0xa065d3,_0x124ae6)=>(_0x5d06c9,_0x321f00)=>_0x124ae6(_0x5d06c9,_0x321f00,_0xa065d3);function _0x1b50(){var _0x36c938=['from','120HwjbFN','@univerjs/core','loadSheetAsync','subscribe','FUniver','_handler','loadServerUnit','CollaborationController','MemberService','5006408wFrLAr','IUniverInstanceService','toStringTag','FCollaboration','1102jUCEEz','@univerjs-pro/collaboration','204rnMCem','422rOQXLY','members$','16360TJJCIa','Inject','loadActiveSheetAsync','loadSheet','Injector','switchMap','260361YTfeiH','72eKpMvd','waitForRoom$','@univerjs-pro/collaboration-client','_collaborationController','1065752ltGNTo','loadUnit','length','extend','_snapshotService','getUniverSheet','SnapshotService','readyForCollab','values','loadActiveSheet','toDisposable','_univerInstanceService','1704vpSDsW','_injector','createInstance','get','DataLoaderService','1114668LmThMU','defineProperty','FBase','283759sAEzud','getCollaboration'];_0x1b50=function(){return _0x36c938;};return _0x1b50();}exports[_0x31de7a(0x1d0)]=class extends l[_0x31de7a(0x1c0)]{constructor(_0x40bdd1,_0x89e26a,_0x390363,_0x422382,_0x154def){var _0xc55fc0=_0x31de7a;super(),this[_0xc55fc0(0x1c9)]=_0x40bdd1,this[_0xc55fc0(0x1ba)]=_0x89e26a,this[_0xc55fc0(0x1b8)]=_0x390363,this[_0xc55fc0(0x1b1)]=_0x422382,this[_0xc55fc0(0x1ac)]=_0x154def;}async[_0x31de7a(0x1b6)](){var _0x32a9a4=_0x31de7a;return this[_0x32a9a4(0x1a4)]();}async[_0x31de7a(0x1a4)](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async[_0x31de7a(0x1a5)](_0x30bd5b){var _0x3dc1f4=_0x31de7a;return this[_0x3dc1f4(0x1c6)](_0x30bd5b);}async[_0x31de7a(0x1c6)](_0x1ac65d,_0x1d5a41){var _0x4ffe42=_0x31de7a;return await this['_snapshotService']['loadSheet'](_0x1ac65d,0x0,_0x1d5a41)?(await this['_collaborationController'][_0x4ffe42(0x1b4)](_0x1ac65d),this[_0x4ffe42(0x1c9)][_0x4ffe42(0x1b2)](_0x1ac65d)):null;}['subscribeCollaborators'](_0xdee37d,_0x199cff){var _0x45f211=_0x31de7a;const _0x49c24b=this[_0x45f211(0x1ba)][_0x45f211(0x1bc)](c[_0x45f211(0x1cc)])[_0x45f211(0x1aa)](_0xdee37d)['pipe'](b[_0x45f211(0x1a7)](_0x47f5f1=>_0x47f5f1[_0x45f211(0x1d5)]))[_0x45f211(0x1c7)](_0x2d2e4b=>_0x199cff(Array[_0x45f211(0x1c3)](_0x2d2e4b[_0x45f211(0x1b5)]())));return i[_0x45f211(0x1b7)](_0x49c24b);}},exports['FCollaboration']=d([s(0x1,i[_0x31de7a(0x1a3)](i[_0x31de7a(0x1a6)])),s(0x2,i[_0x31de7a(0x1ce)]),s(0x3,i['Inject'](v[_0x31de7a(0x1b3)])),s(0x4,i[_0x31de7a(0x1a3)](c[_0x31de7a(0x1cb)]))],exports[_0x31de7a(0x1d0)]);class u extends l[_0x31de7a(0x1c8)]{[_0x31de7a(0x1c2)](){var _0x2678ef=_0x31de7a;return this['_injector'][_0x2678ef(0x1bb)](exports[_0x2678ef(0x1d0)],{'getUniverSheet':_0xa7330a=>this[_0x2678ef(0x1b2)](_0xa7330a)});}[_0x31de7a(0x1ca)](_0x3145b6,_0x5ca374,_0x19d06d){var _0x2a38ff=_0x31de7a;return this[_0x2a38ff(0x1ba)]['createInstance'](c[_0x2a38ff(0x1bd)])[_0x2a38ff(0x1ae)](_0x3145b6,_0x5ca374,_0x19d06d);}}l['FUniver'][_0x31de7a(0x1b0)](u);
1
+ 'use strict';var _0x672219=_0x187e;(function(_0xc326b8,_0x1818f9){var _0xc58efb=_0x187e,_0x237ea3=_0xc326b8();while(!![]){try{var _0x3497dd=-parseInt(_0xc58efb(0x1a0))/0x1+-parseInt(_0xc58efb(0x1a6))/0x2+parseInt(_0xc58efb(0x19a))/0x3+parseInt(_0xc58efb(0x199))/0x4+parseInt(_0xc58efb(0x198))/0x5+-parseInt(_0xc58efb(0x19d))/0x6*(parseInt(_0xc58efb(0x1aa))/0x7)+parseInt(_0xc58efb(0x191))/0x8;if(_0x3497dd===_0x1818f9)break;else _0x237ea3['push'](_0x237ea3['shift']());}catch(_0x5a7c48){_0x237ea3['push'](_0x237ea3['shift']());}}}(_0x211a,0x6f509));Object[_0x672219(0x181)](exports,Symbol[_0x672219(0x1a4)],{'value':_0x672219(0x190)});function _0x187e(_0x42950a,_0x4d3494){var _0x211aac=_0x211a();return _0x187e=function(_0x187eab,_0x2195cd){_0x187eab=_0x187eab-0x180;var _0x19132f=_0x211aac[_0x187eab];return _0x19132f;},_0x187e(_0x42950a,_0x4d3494);}const c=require(_0x672219(0x18f)),l=require(_0x672219(0x182)),v=require(_0x672219(0x184)),i=require(_0x672219(0x188)),b=require(_0x672219(0x19e));var S=Object[_0x672219(0x192)],d=(_0x5a6069,_0x449dbc,_0x2cdd5a,_0x46db0a)=>{var _0x9e873a=_0x672219;for(var _0x38a278=_0x46db0a>0x1?void 0x0:_0x46db0a?S(_0x449dbc,_0x2cdd5a):_0x449dbc,_0x2623ef=_0x5a6069[_0x9e873a(0x195)]-0x1,_0x3fdada;_0x2623ef>=0x0;_0x2623ef--)(_0x3fdada=_0x5a6069[_0x2623ef])&&(_0x38a278=_0x3fdada(_0x38a278)||_0x38a278);return _0x38a278;},s=(_0x3416f1,_0x5783e9)=>(_0x359217,_0x25087d)=>_0x5783e9(_0x359217,_0x25087d,_0x3416f1);exports[_0x672219(0x1a5)]=class extends l[_0x672219(0x193)]{constructor(_0x3e9ed1,_0x52c337,_0x2644f0,_0x518f43,_0x5f060c){var _0x5df65e=_0x672219;super(),this['_handler']=_0x3e9ed1,this[_0x5df65e(0x1a7)]=_0x52c337,this[_0x5df65e(0x197)]=_0x2644f0,this['_snapshotService']=_0x518f43,this[_0x5df65e(0x19b)]=_0x5f060c;}async[_0x672219(0x19c)](){var _0x10b710=_0x672219;return this[_0x10b710(0x18b)]();}async[_0x672219(0x18b)](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async[_0x672219(0x18d)](_0xe9fb0f){var _0x1d0258=_0x672219;return this[_0x1d0258(0x1ad)](_0xe9fb0f);}async['loadSheetAsync'](_0x434c26,_0x28827f){var _0x20be3a=_0x672219;return await this[_0x20be3a(0x18c)][_0x20be3a(0x18d)](_0x434c26,0x0,_0x28827f)?(await this[_0x20be3a(0x19b)][_0x20be3a(0x185)](_0x434c26),this[_0x20be3a(0x18e)][_0x20be3a(0x187)](_0x434c26)):null;}[_0x672219(0x1a9)](_0x51c40d,_0x59ef92){var _0xe0cd82=_0x672219;const _0x20a091=this['_injector'][_0xe0cd82(0x18a)](c['MemberService'])[_0xe0cd82(0x180)](_0x51c40d)[_0xe0cd82(0x1a3)](b[_0xe0cd82(0x19f)](_0x6b0847=>_0x6b0847['members$']))['subscribe'](_0x37f914=>_0x59ef92(Array[_0xe0cd82(0x196)](_0x37f914['values']())));return i['toDisposable'](_0x20a091);}},exports[_0x672219(0x1a5)]=d([s(0x1,i[_0x672219(0x189)](i['Injector'])),s(0x2,i['IUniverInstanceService']),s(0x3,i[_0x672219(0x189)](v[_0x672219(0x1ac)])),s(0x4,i[_0x672219(0x189)](c[_0x672219(0x1a2)]))],exports[_0x672219(0x1a5)]);class u extends l[_0x672219(0x1a8)]{[_0x672219(0x186)](){var _0x42e165=_0x672219;return this[_0x42e165(0x1a7)][_0x42e165(0x1a1)](exports[_0x42e165(0x1a5)],{'getUniverSheet':_0x1eb691=>this[_0x42e165(0x187)](_0x1eb691)});}[_0x672219(0x1ab)](_0x10deb5,_0x27cdcb,_0x3453e2){var _0x331558=_0x672219;return this[_0x331558(0x1a7)]['createInstance'](c[_0x331558(0x194)])['loadUnit'](_0x10deb5,_0x27cdcb,_0x3453e2);}}function _0x211a(){var _0x17bca7=['_collaborationController','loadActiveSheet','2514dPGyjd','rxjs','switchMap','100099oWbqbW','createInstance','CollaborationController','pipe','toStringTag','FCollaboration','879692OMtbuZ','_injector','FUniver','subscribeCollaborators','8981CWuNMn','loadServerUnit','SnapshotService','loadSheetAsync','waitForRoom$','defineProperty','@univerjs/core/facade','extend','@univerjs-pro/collaboration','readyForCollab','getCollaboration','getUniverSheet','@univerjs/core','Inject','get','loadActiveSheetAsync','_snapshotService','loadSheet','_handler','@univerjs-pro/collaboration-client','Module','3447800IZXWvy','getOwnPropertyDescriptor','FBase','DataLoaderService','length','from','_univerInstanceService','2741060xkScDy','1758924Tumyot','343647dRohRP'];_0x211a=function(){return _0x17bca7;};return _0x211a();}l['FUniver'][_0x672219(0x183)](u);