@univerjs-pro/collaboration-client 0.6.1-nightly.202502231605 → 0.6.1-nightly.202502251606

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 _0x55df(_0x4dbe8e,_0xe3ec3b){var _0x5b660e=_0x5b66();return _0x55df=function(_0x55dfe4,_0x48590f){_0x55dfe4=_0x55dfe4-0xca;var _0x67574c=_0x5b660e[_0x55dfe4];return _0x67574c;},_0x55df(_0x4dbe8e,_0xe3ec3b);}var _0x3a50bf=_0x55df;(function(_0x323210,_0x1b2340){var _0x485f71=_0x55df,_0x1ce56f=_0x323210();while(!![]){try{var _0x4f6854=-parseInt(_0x485f71(0xd6))/0x1*(parseInt(_0x485f71(0xe5))/0x2)+-parseInt(_0x485f71(0xd2))/0x3+parseInt(_0x485f71(0xf0))/0x4+parseInt(_0x485f71(0xe3))/0x5+-parseInt(_0x485f71(0xd8))/0x6+-parseInt(_0x485f71(0xdd))/0x7+parseInt(_0x485f71(0xec))/0x8*(parseInt(_0x485f71(0xe9))/0x9);if(_0x4f6854===_0x1b2340)break;else _0x1ce56f['push'](_0x1ce56f['shift']());}catch(_0x55415c){_0x1ce56f['push'](_0x1ce56f['shift']());}}}(_0x5b66,0x76f54));Object[_0x3a50bf(0xe0)](exports,Symbol['toStringTag'],{'value':_0x3a50bf(0xcf)});const l=require(_0x3a50bf(0xcc)),b=require(_0x3a50bf(0xce)),h=require(_0x3a50bf(0xe7)),i=require(_0x3a50bf(0xd0)),v=require('rxjs');var u=Object[_0x3a50bf(0xe2)],S=(_0x520079,_0x2e339f,_0x20f012,_0x113482)=>{var _0x32daed=_0x3a50bf;for(var _0x3b5f7c=_0x113482>0x1?void 0x0:_0x113482?u(_0x2e339f,_0x20f012):_0x2e339f,_0x188b1e=_0x520079[_0x32daed(0xca)]-0x1,_0x4b6b59;_0x188b1e>=0x0;_0x188b1e--)(_0x4b6b59=_0x520079[_0x188b1e])&&(_0x3b5f7c=_0x4b6b59(_0x3b5f7c)||_0x3b5f7c);return _0x3b5f7c;},s=(_0x5184d0,_0x3e7172)=>(_0xfe1475,_0x5aeba9)=>_0x3e7172(_0xfe1475,_0x5aeba9,_0x5184d0);exports[_0x3a50bf(0xed)]=class extends l[_0x3a50bf(0xe4)]{constructor(_0x32a1d5,_0x50751c,_0x43b65c,_0x561a6d,_0x823843){var _0x1caf18=_0x3a50bf;super(),this[_0x1caf18(0xde)]=_0x32a1d5,this[_0x1caf18(0xe1)]=_0x50751c,this['_univerInstanceService']=_0x43b65c,this[_0x1caf18(0xda)]=_0x561a6d,this[_0x1caf18(0xd9)]=_0x823843;}async[_0x3a50bf(0xdf)](){var _0x283f0d=_0x3a50bf;return this[_0x283f0d(0xee)]();}async[_0x3a50bf(0xee)](){var _0x2a6542=_0x3a50bf;throw new Error(_0x2a6542(0xe6));}async[_0x3a50bf(0xf1)](_0x1d1aa9){var _0x5b5803=_0x3a50bf;return this[_0x5b5803(0xdb)](_0x1d1aa9);}async[_0x3a50bf(0xdb)](_0x44c95c,_0x953189){var _0x453416=_0x3a50bf;return await this['_snapshotService'][_0x453416(0xf1)](_0x44c95c,0x0,_0x953189)?(await this[_0x453416(0xd9)]['readyForCollab'](_0x44c95c),this[_0x453416(0xde)][_0x453416(0xd1)](_0x44c95c)):null;}['subscribeCollaborators'](_0x9c4b1d,_0x1404de){var _0x2a2cfe=_0x3a50bf;const _0x1cec35=this[_0x2a2cfe(0xe1)]['get'](h[_0x2a2cfe(0xea)])['waitForRoom$'](_0x9c4b1d)[_0x2a2cfe(0xd7)](v[_0x2a2cfe(0xdc)](_0x462c40=>_0x462c40['members$']))[_0x2a2cfe(0xd4)](_0x8b6552=>_0x1404de(Array['from'](_0x8b6552['values']())));return i['toDisposable'](_0x1cec35);}},exports[_0x3a50bf(0xed)]=S([s(0x1,i[_0x3a50bf(0xcd)](i[_0x3a50bf(0xd5)])),s(0x2,i[_0x3a50bf(0xd3)]),s(0x3,i['Inject'](b['SnapshotService'])),s(0x4,i[_0x3a50bf(0xcd)](h[_0x3a50bf(0xcb)]))],exports[_0x3a50bf(0xed)]);class d extends l['FUniver']{[_0x3a50bf(0xef)](){var _0x59296e=_0x3a50bf;return this['_injector'][_0x59296e(0xe8)](exports['FCollaboration'],{'getUniverSheet':_0x72f799=>this[_0x59296e(0xd1)](_0x72f799)});}}l[_0x3a50bf(0xeb)]['extend'](d);function _0x5b66(){var _0x492637=['358082muUToU','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','@univerjs-pro/collaboration-client','createInstance','2174715NNOnCk','MemberService','FUniver','48AsGKJq','FCollaboration','loadActiveSheetAsync','getCollaboration','667108UzVMEC','loadSheet','length','CollaborationController','@univerjs/core/facade','Inject','@univerjs-pro/collaboration','Module','@univerjs/core','getUniverSheet','733137ApZAxa','IUniverInstanceService','subscribe','Injector','1dOzRkM','pipe','3645036ZSNsVW','_collaborationController','_snapshotService','loadSheetAsync','switchMap','5385576oFFMEQ','_handler','loadActiveSheet','defineProperty','_injector','getOwnPropertyDescriptor','3354795gEmMoT','FBase'];_0x5b66=function(){return _0x492637;};return _0x5b66();}
1
+ 'use strict';function _0x4e35(){var _0xb8663e=['length','_snapshotService','readyForCollab','_collaborationController','Inject','get','1458512MITaRS','8466738CkMSNM','@univerjs/core','toStringTag','CollaborationController','loadSheet','Module','getUniverSheet','4689665sEzSYL','pipe','members$','defineProperty','rxjs','_handler','596898GbVCcJ','subscribeCollaborators','_injector','loadSheetAsync','getOwnPropertyDescriptor','@univerjs-pro/collaboration','IUniverInstanceService','extend','waitForRoom$','loadActiveSheetAsync','@univerjs/core/facade','8ProDwf','getCollaboration','917465hlkBoV','subscribe','toDisposable','loadActiveSheet','1382679atfoPg','_univerInstanceService','FCollaboration','values','3806764klUJKA','createInstance'];_0x4e35=function(){return _0xb8663e;};return _0x4e35();}var _0x14bc28=_0x1fb2;(function(_0x3e0e29,_0x299445){var _0x567e07=_0x1fb2,_0x4bddb9=_0x3e0e29();while(!![]){try{var _0x9cd1d2=parseInt(_0x567e07(0x190))/0x1+parseInt(_0x567e07(0x1a0))/0x2+parseInt(_0x567e07(0x194))/0x3+-parseInt(_0x567e07(0x198))/0x4+parseInt(_0x567e07(0x1a8))/0x5+-parseInt(_0x567e07(0x1ae))/0x6+-parseInt(_0x567e07(0x1a1))/0x7*(parseInt(_0x567e07(0x18e))/0x8);if(_0x9cd1d2===_0x299445)break;else _0x4bddb9['push'](_0x4bddb9['shift']());}catch(_0x55d44e){_0x4bddb9['push'](_0x4bddb9['shift']());}}}(_0x4e35,0xbf9c7));Object[_0x14bc28(0x1ab)](exports,Symbol[_0x14bc28(0x1a3)],{'value':_0x14bc28(0x1a6)});const l=require(_0x14bc28(0x1b8)),b=require(_0x14bc28(0x1b3)),h=require('@univerjs-pro/collaboration-client'),i=require(_0x14bc28(0x1a2)),v=require(_0x14bc28(0x1ac));var u=Object[_0x14bc28(0x1b2)],S=(_0x1340ec,_0x4774ed,_0x23aa0f,_0x22bd98)=>{var _0x20d9e6=_0x14bc28;for(var _0x2f0806=_0x22bd98>0x1?void 0x0:_0x22bd98?u(_0x4774ed,_0x23aa0f):_0x4774ed,_0x3f5d24=_0x1340ec[_0x20d9e6(0x19a)]-0x1,_0xbda82d;_0x3f5d24>=0x0;_0x3f5d24--)(_0xbda82d=_0x1340ec[_0x3f5d24])&&(_0x2f0806=_0xbda82d(_0x2f0806)||_0x2f0806);return _0x2f0806;},s=(_0x3fb40f,_0x37e960)=>(_0x1ba219,_0x33d46c)=>_0x37e960(_0x1ba219,_0x33d46c,_0x3fb40f);exports[_0x14bc28(0x196)]=class extends l['FBase']{constructor(_0x38f768,_0x9dbeb2,_0x373e19,_0x1b63f1,_0x34e296){var _0x10acae=_0x14bc28;super(),this[_0x10acae(0x1ad)]=_0x38f768,this[_0x10acae(0x1b0)]=_0x9dbeb2,this[_0x10acae(0x195)]=_0x373e19,this[_0x10acae(0x19b)]=_0x1b63f1,this[_0x10acae(0x19d)]=_0x34e296;}async[_0x14bc28(0x193)](){return this['loadActiveSheetAsync']();}async[_0x14bc28(0x1b7)](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async[_0x14bc28(0x1a5)](_0x26e0df){var _0x535e9d=_0x14bc28;return this[_0x535e9d(0x1b1)](_0x26e0df);}async[_0x14bc28(0x1b1)](_0x255376,_0x22ca31){var _0x5dc45e=_0x14bc28;return await this[_0x5dc45e(0x19b)][_0x5dc45e(0x1a5)](_0x255376,0x0,_0x22ca31)?(await this[_0x5dc45e(0x19d)][_0x5dc45e(0x19c)](_0x255376),this['_handler'][_0x5dc45e(0x1a7)](_0x255376)):null;}[_0x14bc28(0x1af)](_0x539095,_0x7a15c2){var _0x245e6b=_0x14bc28;const _0x1cf628=this[_0x245e6b(0x1b0)][_0x245e6b(0x19f)](h['MemberService'])[_0x245e6b(0x1b6)](_0x539095)[_0x245e6b(0x1a9)](v['switchMap'](_0x2155b7=>_0x2155b7[_0x245e6b(0x1aa)]))[_0x245e6b(0x191)](_0x25f872=>_0x7a15c2(Array['from'](_0x25f872[_0x245e6b(0x197)]())));return i[_0x245e6b(0x192)](_0x1cf628);}},exports['FCollaboration']=S([s(0x1,i[_0x14bc28(0x19e)](i['Injector'])),s(0x2,i[_0x14bc28(0x1b4)]),s(0x3,i[_0x14bc28(0x19e)](b['SnapshotService'])),s(0x4,i[_0x14bc28(0x19e)](h[_0x14bc28(0x1a4)]))],exports[_0x14bc28(0x196)]);class d extends l['FUniver']{[_0x14bc28(0x18f)](){var _0x263a28=_0x14bc28;return this['_injector'][_0x263a28(0x199)](exports[_0x263a28(0x196)],{'getUniverSheet':_0xa6a83=>this['getUniverSheet'](_0xa6a83)});}}function _0x1fb2(_0xd6f7eb,_0x349b69){var _0x4e35c1=_0x4e35();return _0x1fb2=function(_0x1fb237,_0x23bf4a){_0x1fb237=_0x1fb237-0x18e;var _0x3a4133=_0x4e35c1[_0x1fb237];return _0x3a4133;},_0x1fb2(_0xd6f7eb,_0x349b69);}l['FUniver'][_0x14bc28(0x1b5)](d);