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

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 _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);
1
+ 'use strict';var _0x3aaee1=_0x3ede;(function(_0xc41fd2,_0x37f0df){var _0x4b25ca=_0x3ede,_0xf34d8d=_0xc41fd2();while(!![]){try{var _0x2141b9=-parseInt(_0x4b25ca(0x1dd))/0x1*(parseInt(_0x4b25ca(0x1cf))/0x2)+parseInt(_0x4b25ca(0x1bd))/0x3*(parseInt(_0x4b25ca(0x1df))/0x4)+-parseInt(_0x4b25ca(0x1bf))/0x5+-parseInt(_0x4b25ca(0x1b4))/0x6+-parseInt(_0x4b25ca(0x1c5))/0x7*(parseInt(_0x4b25ca(0x1da))/0x8)+-parseInt(_0x4b25ca(0x1d2))/0x9+-parseInt(_0x4b25ca(0x1ca))/0xa*(-parseInt(_0x4b25ca(0x1c3))/0xb);if(_0x2141b9===_0x37f0df)break;else _0xf34d8d['push'](_0xf34d8d['shift']());}catch(_0x517a79){_0xf34d8d['push'](_0xf34d8d['shift']());}}}(_0x5608,0x74b8e));function _0x3ede(_0x41f782,_0x321174){var _0x5608c8=_0x5608();return _0x3ede=function(_0x3ede1c,_0x32624b){_0x3ede1c=_0x3ede1c-0x1b3;var _0x8caffa=_0x5608c8[_0x3ede1c];return _0x8caffa;},_0x3ede(_0x41f782,_0x321174);}function _0x5608(){var _0x365a3d=['1688855lStqxh','_snapshotService','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','SnapshotService','2319053MuaAHg','loadSheet','9828GBmgOo','Module','getUniverSheet','FCollaboration','_collaborationController','130pWiPCr','defineProperty','_handler','_univerInstanceService','switchMap','2jWAbJo','loadActiveSheetAsync','IUniverInstanceService','6377643UDlyMc','loadSheetAsync','createInstance','@univerjs-pro/collaboration','pipe','FUniver','@univerjs/core','_injector','2488wnHUdq','extend','getCollaboration','765778gltsZQ','toStringTag','1256HAicPv','toDisposable','1378902OtMveG','subscribe','from','FBase','Inject','rxjs','members$','loadActiveSheet','subscribeCollaborators','2064NmmzYA','getOwnPropertyDescriptor'];_0x5608=function(){return _0x365a3d;};return _0x5608();}Object[_0x3aaee1(0x1cb)](exports,Symbol[_0x3aaee1(0x1de)],{'value':_0x3aaee1(0x1c6)});const l=require('@univerjs/core/facade'),b=require(_0x3aaee1(0x1d5)),h=require('@univerjs-pro/collaboration-client'),i=require(_0x3aaee1(0x1d8)),v=require(_0x3aaee1(0x1b9));var u=Object[_0x3aaee1(0x1be)],S=(_0x308621,_0x13b801,_0x3d753b,_0x3c4652)=>{for(var _0xa8c4bf=_0x3c4652>0x1?void 0x0:_0x3c4652?u(_0x13b801,_0x3d753b):_0x13b801,_0x2e25a3=_0x308621['length']-0x1,_0x1668a9;_0x2e25a3>=0x0;_0x2e25a3--)(_0x1668a9=_0x308621[_0x2e25a3])&&(_0xa8c4bf=_0x1668a9(_0xa8c4bf)||_0xa8c4bf);return _0xa8c4bf;},s=(_0x543200,_0x53322e)=>(_0xcef339,_0xaca021)=>_0x53322e(_0xcef339,_0xaca021,_0x543200);exports[_0x3aaee1(0x1c8)]=class extends l[_0x3aaee1(0x1b7)]{constructor(_0x87896e,_0x22473e,_0x14a85a,_0x32f0a9,_0x1c92da){var _0x5a6edb=_0x3aaee1;super(),this['_handler']=_0x87896e,this[_0x5a6edb(0x1d9)]=_0x22473e,this[_0x5a6edb(0x1cd)]=_0x14a85a,this[_0x5a6edb(0x1c0)]=_0x32f0a9,this[_0x5a6edb(0x1c9)]=_0x1c92da;}async[_0x3aaee1(0x1bb)](){var _0x159219=_0x3aaee1;return this[_0x159219(0x1d0)]();}async[_0x3aaee1(0x1d0)](){var _0x376a67=_0x3aaee1;throw new Error(_0x376a67(0x1c1));}async['loadSheet'](_0x5127f3){var _0x562fc0=_0x3aaee1;return this[_0x562fc0(0x1d3)](_0x5127f3);}async[_0x3aaee1(0x1d3)](_0xe2484e,_0x324207){var _0x442c48=_0x3aaee1;return await this[_0x442c48(0x1c0)][_0x442c48(0x1c4)](_0xe2484e,0x0,_0x324207)?(await this[_0x442c48(0x1c9)]['readyForCollab'](_0xe2484e),this[_0x442c48(0x1cc)][_0x442c48(0x1c7)](_0xe2484e)):null;}[_0x3aaee1(0x1bc)](_0x3e9083,_0x51b045){var _0x2a108a=_0x3aaee1;const _0x49829d=this[_0x2a108a(0x1d9)]['get'](h['MemberService'])['waitForRoom$'](_0x3e9083)[_0x2a108a(0x1d6)](v[_0x2a108a(0x1ce)](_0xa05d1=>_0xa05d1[_0x2a108a(0x1ba)]))[_0x2a108a(0x1b5)](_0x2070b3=>_0x51b045(Array[_0x2a108a(0x1b6)](_0x2070b3['values']())));return i[_0x2a108a(0x1b3)](_0x49829d);}},exports[_0x3aaee1(0x1c8)]=S([s(0x1,i[_0x3aaee1(0x1b8)](i['Injector'])),s(0x2,i[_0x3aaee1(0x1d1)]),s(0x3,i[_0x3aaee1(0x1b8)](b[_0x3aaee1(0x1c2)])),s(0x4,i['Inject'](h['CollaborationController']))],exports[_0x3aaee1(0x1c8)]);class d extends l[_0x3aaee1(0x1d7)]{[_0x3aaee1(0x1dc)](){var _0x2f6989=_0x3aaee1;return this[_0x2f6989(0x1d9)][_0x2f6989(0x1d4)](exports[_0x2f6989(0x1c8)],{'getUniverSheet':_0x2e7143=>this['getUniverSheet'](_0x2e7143)});}}l[_0x3aaee1(0x1d7)][_0x3aaee1(0x1db)](d);