@univerjs-pro/collaboration-client 0.5.3-nightly.202501101606 → 0.5.3-nightly.202501110940

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 _0x55e3(){var _0x335179=['loadActiveSheet','CollaborationController','FUniver','2989760SoiTpn','toStringTag','getUnit','@univerjs/core','UNIVER_SHEET','843453mPUzdI','_handler','loadActiveSheetAsync','1713150UTeLrZ','getOwnPropertyDescriptor','_injector','_collaborationController','Module','rxjs','subscribeCollaborators','Injector','FCollaboration','UniverInstanceType','extend','loadSheetAsync','length','4596792Lotcqs','SnapshotService','getCollaboration','FBase','switchMap','members$','getUniverSheet','get','@univerjs-pro/collaboration','8289hNVmQz','576564iYbuQc','MemberService','_snapshotService','1806hFLuKN','180ThjVta','Inject','subscribe','827ZaqxDQ','values','defineProperty','waitForRoom$','77YdunGj'];_0x55e3=function(){return _0x335179;};return _0x55e3();}var _0x40082a=_0x13a1;(function(_0x557348,_0x292859){var _0x2c4291=_0x13a1,_0x3561cb=_0x557348();while(!![]){try{var _0x516bb4=-parseInt(_0x2c4291(0x14c))/0x1*(parseInt(_0x2c4291(0x148))/0x2)+parseInt(_0x2c4291(0x144))/0x3+parseInt(_0x2c4291(0x126))/0x4+-parseInt(_0x2c4291(0x12e))/0x5+parseInt(_0x2c4291(0x145))/0x6*(-parseInt(_0x2c4291(0x122))/0x7)+parseInt(_0x2c4291(0x13b))/0x8+-parseInt(_0x2c4291(0x12b))/0x9*(-parseInt(_0x2c4291(0x149))/0xa);if(_0x516bb4===_0x292859)break;else _0x3561cb['push'](_0x3561cb['shift']());}catch(_0x3b95b3){_0x3561cb['push'](_0x3561cb['shift']());}}}(_0x55e3,0xd33ef));Object[_0x40082a(0x120)](exports,Symbol[_0x40082a(0x127)],{'value':_0x40082a(0x132)});const o=require(_0x40082a(0x129)),h=require(_0x40082a(0x143)),c=require('@univerjs-pro/collaboration-client'),b=require(_0x40082a(0x133));function _0x13a1(_0x5f2ec1,_0x47980c){var _0x55e304=_0x55e3();return _0x13a1=function(_0x13a193,_0x727eec){_0x13a193=_0x13a193-0x120;var _0x9cbfe2=_0x55e304[_0x13a193];return _0x9cbfe2;},_0x13a1(_0x5f2ec1,_0x47980c);}var v=Object[_0x40082a(0x120)],u=Object[_0x40082a(0x12f)],S=(_0x41d0ac,_0x164329,_0x18d7c6,_0x47dba0)=>{var _0x476d17=_0x40082a;for(var _0x2db609=_0x47dba0>0x1?void 0x0:_0x47dba0?u(_0x164329,_0x18d7c6):_0x164329,_0xce5165=_0x41d0ac[_0x476d17(0x13a)]-0x1,_0x543dad;_0xce5165>=0x0;_0xce5165--)(_0x543dad=_0x41d0ac[_0xce5165])&&(_0x2db609=(_0x47dba0?_0x543dad(_0x164329,_0x18d7c6,_0x2db609):_0x543dad(_0x2db609))||_0x2db609);return _0x47dba0&&_0x2db609&&v(_0x164329,_0x18d7c6,_0x2db609),_0x2db609;},s=(_0x5dfca9,_0x39d13a)=>(_0x3d4fa9,_0x2b652a)=>_0x39d13a(_0x3d4fa9,_0x2b652a,_0x5dfca9);exports[_0x40082a(0x136)]=class extends o[_0x40082a(0x13e)]{constructor(_0x378fa7,_0x4e00a0,_0x4c5729,_0x1de7d1,_0x301916){var _0x1f92e3=_0x40082a;super(),this[_0x1f92e3(0x12c)]=_0x378fa7,this[_0x1f92e3(0x130)]=_0x4e00a0,this['_univerInstanceService']=_0x4c5729,this[_0x1f92e3(0x147)]=_0x1de7d1,this[_0x1f92e3(0x131)]=_0x301916;}async[_0x40082a(0x123)](){var _0x3b9c53=_0x40082a;return this[_0x3b9c53(0x12d)]();}async[_0x40082a(0x12d)](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async['loadSheet'](_0x54b5e6){var _0x3d3a27=_0x40082a;return this[_0x3d3a27(0x139)](_0x54b5e6);}async[_0x40082a(0x139)](_0x39ad21){var _0x4ae462=_0x40082a;return this['_univerInstanceService'][_0x4ae462(0x128)](_0x39ad21,o[_0x4ae462(0x137)][_0x4ae462(0x12a)])||await this[_0x4ae462(0x147)]['loadSheet'](_0x39ad21,0x0)?(await this[_0x4ae462(0x131)]['readyForCollab'](_0x39ad21),this[_0x4ae462(0x12c)][_0x4ae462(0x141)](_0x39ad21)):null;}[_0x40082a(0x134)](_0x52bb20,_0x2b2571){var _0x2a63b8=_0x40082a;const _0x5b510e=this[_0x2a63b8(0x130)][_0x2a63b8(0x142)](c[_0x2a63b8(0x146)])[_0x2a63b8(0x121)](_0x52bb20)['pipe'](b[_0x2a63b8(0x13f)](_0x956da8=>_0x956da8[_0x2a63b8(0x140)]))[_0x2a63b8(0x14b)](_0x273305=>_0x2b2571(Array['from'](_0x273305[_0x2a63b8(0x14d)]())));return o['toDisposable'](_0x5b510e);}},exports[_0x40082a(0x136)]=S([s(0x1,o['Inject'](o[_0x40082a(0x135)])),s(0x2,o['IUniverInstanceService']),s(0x3,o[_0x40082a(0x14a)](h[_0x40082a(0x13c)])),s(0x4,o[_0x40082a(0x14a)](c[_0x40082a(0x124)]))],exports['FCollaboration']);class _ extends o[_0x40082a(0x125)]{[_0x40082a(0x13d)](){var _0x479872=_0x40082a;return this[_0x479872(0x130)]['createInstance'](exports[_0x479872(0x136)],{'getUniverSheet':_0x1bf8c2=>this['getUniverSheet'](_0x1bf8c2)});}}o[_0x40082a(0x125)][_0x40082a(0x138)](_);
1
+ 'use strict';var _0x5c7900=_0x3472;(function(_0xa5dbf2,_0x21dd17){var _0x548feb=_0x3472,_0x16ee8f=_0xa5dbf2();while(!![]){try{var _0x180fc5=-parseInt(_0x548feb(0x171))/0x1+-parseInt(_0x548feb(0x15f))/0x2*(parseInt(_0x548feb(0x159))/0x3)+parseInt(_0x548feb(0x152))/0x4*(parseInt(_0x548feb(0x161))/0x5)+parseInt(_0x548feb(0x153))/0x6*(parseInt(_0x548feb(0x14b))/0x7)+-parseInt(_0x548feb(0x16f))/0x8*(-parseInt(_0x548feb(0x174))/0x9)+-parseInt(_0x548feb(0x16b))/0xa+-parseInt(_0x548feb(0x148))/0xb*(-parseInt(_0x548feb(0x177))/0xc);if(_0x180fc5===_0x21dd17)break;else _0x16ee8f['push'](_0x16ee8f['shift']());}catch(_0x3d82cc){_0x16ee8f['push'](_0x16ee8f['shift']());}}}(_0x3b72,0xbb6c5));function _0x3b72(){var _0x4a05ad=['107451DqEeTX','get','_handler','loadSheetAsync','loadActiveSheetAsync','SnapshotService','22TtpJsf','UniverInstanceType','53645wzPRCl','getUnit','Inject','CollaborationController','MemberService','_univerInstanceService','length','_injector','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','getUniverSheet','12551860EIqMrl','getCollaboration','Module','createInstance','1903776DRamwZ','readyForCollab','822324YsZZpr','IUniverInstanceService','_collaborationController','27tCFllX','subscribe','pipe','12700824JvTblP','11fzzVoZ','members$','FUniver','368494ubMDDB','getOwnPropertyDescriptor','UNIVER_SHEET','from','loadActiveSheet','values','toStringTag','488TlVmSt','18ZXDRUw','rxjs','_snapshotService','FCollaboration','extend','defineProperty'];_0x3b72=function(){return _0x4a05ad;};return _0x3b72();}Object[_0x5c7900(0x158)](exports,Symbol[_0x5c7900(0x151)],{'value':_0x5c7900(0x16d)});function _0x3472(_0xfd4b6,_0x1f8063){var _0x3b724e=_0x3b72();return _0x3472=function(_0x3472f3,_0x53a4f7){_0x3472f3=_0x3472f3-0x148;var _0x1c4917=_0x3b724e[_0x3472f3];return _0x1c4917;},_0x3472(_0xfd4b6,_0x1f8063);}const o=require('@univerjs/core'),h=require('@univerjs-pro/collaboration'),c=require('@univerjs-pro/collaboration-client'),b=require(_0x5c7900(0x154));var v=Object[_0x5c7900(0x158)],u=Object[_0x5c7900(0x14c)],S=(_0x3888be,_0x1db697,_0x37afe6,_0x1c4215)=>{var _0x423f3d=_0x5c7900;for(var _0x29d4c=_0x1c4215>0x1?void 0x0:_0x1c4215?u(_0x1db697,_0x37afe6):_0x1db697,_0x15896e=_0x3888be[_0x423f3d(0x167)]-0x1,_0x19fb0f;_0x15896e>=0x0;_0x15896e--)(_0x19fb0f=_0x3888be[_0x15896e])&&(_0x29d4c=(_0x1c4215?_0x19fb0f(_0x1db697,_0x37afe6,_0x29d4c):_0x19fb0f(_0x29d4c))||_0x29d4c);return _0x1c4215&&_0x29d4c&&v(_0x1db697,_0x37afe6,_0x29d4c),_0x29d4c;},s=(_0x50ab59,_0x232cdd)=>(_0x3d9358,_0x3a2e74)=>_0x232cdd(_0x3d9358,_0x3a2e74,_0x50ab59);exports[_0x5c7900(0x156)]=class extends o['FBase']{constructor(_0x10e9fa,_0x3be73e,_0x362207,_0x3bb1f7,_0x54e5b4){var _0x1bc115=_0x5c7900;super(),this[_0x1bc115(0x15b)]=_0x10e9fa,this['_injector']=_0x3be73e,this[_0x1bc115(0x166)]=_0x362207,this[_0x1bc115(0x155)]=_0x3bb1f7,this[_0x1bc115(0x173)]=_0x54e5b4;}async[_0x5c7900(0x14f)](){var _0x1be0b3=_0x5c7900;return this[_0x1be0b3(0x15d)]();}async[_0x5c7900(0x15d)](){var _0x3fa6e6=_0x5c7900;throw new Error(_0x3fa6e6(0x169));}async['loadSheet'](_0x1c8c9b){var _0x59f04a=_0x5c7900;return this[_0x59f04a(0x15c)](_0x1c8c9b);}async[_0x5c7900(0x15c)](_0x198a8b){var _0x5d5420=_0x5c7900;return this['_univerInstanceService'][_0x5d5420(0x162)](_0x198a8b,o[_0x5d5420(0x160)][_0x5d5420(0x14d)])||await this[_0x5d5420(0x155)]['loadSheet'](_0x198a8b,0x0)?(await this[_0x5d5420(0x173)][_0x5d5420(0x170)](_0x198a8b),this[_0x5d5420(0x15b)]['getUniverSheet'](_0x198a8b)):null;}['subscribeCollaborators'](_0x486afd,_0x2e6a69){var _0x30cb41=_0x5c7900;const _0xc8cbe2=this[_0x30cb41(0x168)][_0x30cb41(0x15a)](c[_0x30cb41(0x165)])['waitForRoom$'](_0x486afd)[_0x30cb41(0x176)](b['switchMap'](_0x517cff=>_0x517cff[_0x30cb41(0x149)]))[_0x30cb41(0x175)](_0x1d954e=>_0x2e6a69(Array[_0x30cb41(0x14e)](_0x1d954e[_0x30cb41(0x150)]())));return o['toDisposable'](_0xc8cbe2);}},exports[_0x5c7900(0x156)]=S([s(0x1,o[_0x5c7900(0x163)](o['Injector'])),s(0x2,o[_0x5c7900(0x172)]),s(0x3,o[_0x5c7900(0x163)](h[_0x5c7900(0x15e)])),s(0x4,o[_0x5c7900(0x163)](c[_0x5c7900(0x164)]))],exports[_0x5c7900(0x156)]);class _ extends o[_0x5c7900(0x14a)]{[_0x5c7900(0x16c)](){var _0x1bc233=_0x5c7900;return this[_0x1bc233(0x168)][_0x1bc233(0x16e)](exports[_0x1bc233(0x156)],{'getUniverSheet':_0x2d6682=>this[_0x1bc233(0x16a)](_0x2d6682)});}}o[_0x5c7900(0x14a)][_0x5c7900(0x157)](_);