@univerjs-pro/collaboration-client 0.6.3 → 0.6.4-nightly.202503101606

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 _0x3e953d=_0x3a5d;(function(_0x4573fe,_0x3622ce){var _0x45eae6=_0x3a5d,_0x2dfd6e=_0x4573fe();while(!![]){try{var _0xfa5656=-parseInt(_0x45eae6(0xba))/0x1*(-parseInt(_0x45eae6(0x9b))/0x2)+-parseInt(_0x45eae6(0xbd))/0x3*(parseInt(_0x45eae6(0x9e))/0x4)+-parseInt(_0x45eae6(0xa9))/0x5*(-parseInt(_0x45eae6(0x9a))/0x6)+parseInt(_0x45eae6(0xb7))/0x7*(parseInt(_0x45eae6(0x95))/0x8)+-parseInt(_0x45eae6(0xa7))/0x9*(-parseInt(_0x45eae6(0x92))/0xa)+parseInt(_0x45eae6(0xb2))/0xb+-parseInt(_0x45eae6(0xa1))/0xc;if(_0xfa5656===_0x3622ce)break;else _0x2dfd6e['push'](_0x2dfd6e['shift']());}catch(_0x2ff74d){_0x2dfd6e['push'](_0x2dfd6e['shift']());}}}(_0x24ba,0x5adf5));Object[_0x3e953d(0xb6)](exports,Symbol['toStringTag'],{'value':_0x3e953d(0xb5)});const l=require(_0x3e953d(0x97)),b=require(_0x3e953d(0xa4)),h=require(_0x3e953d(0xa3)),i=require(_0x3e953d(0xac)),v=require(_0x3e953d(0xb1));function _0x24ba(){var _0x565127=['defineProperty','106869omhdEb','get','createInstance','1907QVIXix','FBase','length','28083hrcncB','_univerInstanceService','FUniver','pipe','extend','30QENrGf','Injector','_handler','328waFZrx','_collaborationController','@univerjs/core/facade','members$','getCollaboration','6GQCmWE','94Zlrzby','loadSheet','waitForRoom$','52ZvOlHe','loadActiveSheetAsync','getUniverSheet','18527784OtrjPb','_injector','@univerjs-pro/collaboration-client','@univerjs-pro/collaboration','subscribe','_snapshotService','859608ZZHTDe','SnapshotService','2719640FQxNQN','loadSheetAsync','toDisposable','@univerjs/core','Inject','getOwnPropertyDescriptor','values','from','rxjs','5410328zOqzrb','FCollaboration','IUniverInstanceService','Module'];_0x24ba=function(){return _0x565127;};return _0x24ba();}var u=Object[_0x3e953d(0xae)],S=(_0x234f2f,_0x58ab7b,_0x449b38,_0x473838)=>{var _0x2eb6b9=_0x3e953d;for(var _0x3cfd5e=_0x473838>0x1?void 0x0:_0x473838?u(_0x58ab7b,_0x449b38):_0x58ab7b,_0x1280c7=_0x234f2f[_0x2eb6b9(0xbc)]-0x1,_0x3d7ec0;_0x1280c7>=0x0;_0x1280c7--)(_0x3d7ec0=_0x234f2f[_0x1280c7])&&(_0x3cfd5e=_0x3d7ec0(_0x3cfd5e)||_0x3cfd5e);return _0x3cfd5e;},s=(_0x5caf3f,_0x34d29a)=>(_0x461a9a,_0x367db9)=>_0x34d29a(_0x461a9a,_0x367db9,_0x5caf3f);exports[_0x3e953d(0xb3)]=class extends l[_0x3e953d(0xbb)]{constructor(_0x205dc2,_0x1aa65a,_0x471f5c,_0x2854a4,_0x485939){var _0x50e301=_0x3e953d;super(),this[_0x50e301(0x94)]=_0x205dc2,this[_0x50e301(0xa2)]=_0x1aa65a,this[_0x50e301(0xbe)]=_0x471f5c,this[_0x50e301(0xa6)]=_0x2854a4,this[_0x50e301(0x96)]=_0x485939;}async['loadActiveSheet'](){var _0x326a37=_0x3e953d;return this[_0x326a37(0x9f)]();}async[_0x3e953d(0x9f)](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async[_0x3e953d(0x9c)](_0x589e48){var _0x255930=_0x3e953d;return this[_0x255930(0xaa)](_0x589e48);}async[_0x3e953d(0xaa)](_0x20dd6b,_0x4e37f7){var _0x3a93d6=_0x3e953d;return await this['_snapshotService'][_0x3a93d6(0x9c)](_0x20dd6b,0x0,_0x4e37f7)?(await this[_0x3a93d6(0x96)]['readyForCollab'](_0x20dd6b),this[_0x3a93d6(0x94)][_0x3a93d6(0xa0)](_0x20dd6b)):null;}['subscribeCollaborators'](_0xba6cea,_0x13c220){var _0x5956fa=_0x3e953d;const _0x4eecf8=this[_0x5956fa(0xa2)][_0x5956fa(0xb8)](h['MemberService'])[_0x5956fa(0x9d)](_0xba6cea)[_0x5956fa(0x90)](v['switchMap'](_0x2ebfe6=>_0x2ebfe6[_0x5956fa(0x98)]))[_0x5956fa(0xa5)](_0x45054f=>_0x13c220(Array[_0x5956fa(0xb0)](_0x45054f[_0x5956fa(0xaf)]())));return i[_0x5956fa(0xab)](_0x4eecf8);}},exports[_0x3e953d(0xb3)]=S([s(0x1,i[_0x3e953d(0xad)](i[_0x3e953d(0x93)])),s(0x2,i[_0x3e953d(0xb4)]),s(0x3,i[_0x3e953d(0xad)](b[_0x3e953d(0xa8)])),s(0x4,i['Inject'](h['CollaborationController']))],exports['FCollaboration']);class d extends l[_0x3e953d(0xbf)]{[_0x3e953d(0x99)](){var _0x164650=_0x3e953d;return this[_0x164650(0xa2)][_0x164650(0xb9)](exports[_0x164650(0xb3)],{'getUniverSheet':_0x86baac=>this[_0x164650(0xa0)](_0x86baac)});}}function _0x3a5d(_0x3f2105,_0xeb2ddc){var _0x24baf1=_0x24ba();return _0x3a5d=function(_0x3a5d92,_0x555b04){_0x3a5d92=_0x3a5d92-0x90;var _0x3d6b13=_0x24baf1[_0x3a5d92];return _0x3d6b13;},_0x3a5d(_0x3f2105,_0xeb2ddc);}l[_0x3e953d(0xbf)][_0x3e953d(0x91)](d);
1
+ 'use strict';var _0x1ff873=_0x514e;(function(_0x23dc7b,_0x5435af){var _0x5e970e=_0x514e,_0x33f553=_0x23dc7b();while(!![]){try{var _0x46e252=parseInt(_0x5e970e(0x1ac))/0x1*(parseInt(_0x5e970e(0x1a3))/0x2)+-parseInt(_0x5e970e(0x1b2))/0x3+parseInt(_0x5e970e(0x1be))/0x4*(-parseInt(_0x5e970e(0x1a8))/0x5)+parseInt(_0x5e970e(0x1a0))/0x6+-parseInt(_0x5e970e(0x19c))/0x7*(-parseInt(_0x5e970e(0x1a6))/0x8)+parseInt(_0x5e970e(0x1b1))/0x9+parseInt(_0x5e970e(0x193))/0xa*(-parseInt(_0x5e970e(0x1bf))/0xb);if(_0x46e252===_0x5435af)break;else _0x33f553['push'](_0x33f553['shift']());}catch(_0x440668){_0x33f553['push'](_0x33f553['shift']());}}}(_0x19fa,0x50660));Object['defineProperty'](exports,Symbol[_0x1ff873(0x19b)],{'value':_0x1ff873(0x1a4)});function _0x514e(_0x215014,_0x3bc1e8){var _0x19fa15=_0x19fa();return _0x514e=function(_0x514ec0,_0x4b6a96){_0x514ec0=_0x514ec0-0x18f;var _0x14ecb9=_0x19fa15[_0x514ec0];return _0x14ecb9;},_0x514e(_0x215014,_0x3bc1e8);}const l=require(_0x1ff873(0x1b4)),b=require(_0x1ff873(0x1bd)),h=require(_0x1ff873(0x1b7)),i=require('@univerjs/core'),v=require(_0x1ff873(0x1ba));function _0x19fa(){var _0x23a79f=['readyForCollab','waitForRoom$','toStringTag','22071fYanJR','values','_snapshotService','_injector','776364hgdhnE','CollaborationController','SnapshotService','3142WDLNdU','Module','_collaborationController','1272EPsjfC','subscribe','10FDZRQA','IUniverInstanceService','Inject','getUniverSheet','180cytBuA','subscribeCollaborators','from','extend','getCollaboration','3668895VBZKTg','687333fTNVye','loadSheetAsync','@univerjs/core/facade','loadActiveSheetAsync','length','@univerjs-pro/collaboration-client','loadActiveSheet','members$','rxjs','get','switchMap','@univerjs-pro/collaboration','673476fhhYeE','4685945rpZwNt','pipe','Injector','FCollaboration','createInstance','10sApXOE','FUniver','loadSheet','_handler','_univerInstanceService','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.'];_0x19fa=function(){return _0x23a79f;};return _0x19fa();}var u=Object['getOwnPropertyDescriptor'],S=(_0x5947f5,_0x48c1de,_0x391453,_0x2bf013)=>{var _0x45ee0b=_0x1ff873;for(var _0x43f17e=_0x2bf013>0x1?void 0x0:_0x2bf013?u(_0x48c1de,_0x391453):_0x48c1de,_0x4242f7=_0x5947f5[_0x45ee0b(0x1b6)]-0x1,_0x46a1c2;_0x4242f7>=0x0;_0x4242f7--)(_0x46a1c2=_0x5947f5[_0x4242f7])&&(_0x43f17e=_0x46a1c2(_0x43f17e)||_0x43f17e);return _0x43f17e;},s=(_0x5aab16,_0x28efeb)=>(_0x975bab,_0xa31fbf)=>_0x28efeb(_0x975bab,_0xa31fbf,_0x5aab16);exports['FCollaboration']=class extends l['FBase']{constructor(_0x85ebfb,_0x12398b,_0xdfa1d,_0x4e4da5,_0x987394){var _0x23c427=_0x1ff873;super(),this[_0x23c427(0x196)]=_0x85ebfb,this[_0x23c427(0x19f)]=_0x12398b,this[_0x23c427(0x197)]=_0xdfa1d,this[_0x23c427(0x19e)]=_0x4e4da5,this[_0x23c427(0x1a5)]=_0x987394;}async[_0x1ff873(0x1b8)](){return this['loadActiveSheetAsync']();}async[_0x1ff873(0x1b5)](){var _0x260fde=_0x1ff873;throw new Error(_0x260fde(0x198));}async[_0x1ff873(0x195)](_0x282b00){return this['loadSheetAsync'](_0x282b00);}async[_0x1ff873(0x1b3)](_0x3dee0d,_0x405314){var _0x44fc3d=_0x1ff873;return await this[_0x44fc3d(0x19e)][_0x44fc3d(0x195)](_0x3dee0d,0x0,_0x405314)?(await this[_0x44fc3d(0x1a5)][_0x44fc3d(0x199)](_0x3dee0d),this[_0x44fc3d(0x196)][_0x44fc3d(0x1ab)](_0x3dee0d)):null;}[_0x1ff873(0x1ad)](_0x878d62,_0x4f73e4){var _0x4001bd=_0x1ff873;const _0x32fc34=this[_0x4001bd(0x19f)][_0x4001bd(0x1bb)](h['MemberService'])[_0x4001bd(0x19a)](_0x878d62)[_0x4001bd(0x18f)](v[_0x4001bd(0x1bc)](_0x3f6c21=>_0x3f6c21[_0x4001bd(0x1b9)]))[_0x4001bd(0x1a7)](_0x25b682=>_0x4f73e4(Array[_0x4001bd(0x1ae)](_0x25b682[_0x4001bd(0x19d)]())));return i['toDisposable'](_0x32fc34);}},exports[_0x1ff873(0x191)]=S([s(0x1,i[_0x1ff873(0x1aa)](i[_0x1ff873(0x190)])),s(0x2,i[_0x1ff873(0x1a9)]),s(0x3,i['Inject'](b[_0x1ff873(0x1a2)])),s(0x4,i[_0x1ff873(0x1aa)](h[_0x1ff873(0x1a1)]))],exports[_0x1ff873(0x191)]);class d extends l[_0x1ff873(0x194)]{[_0x1ff873(0x1b0)](){var _0x3bdf32=_0x1ff873;return this[_0x3bdf32(0x19f)][_0x3bdf32(0x192)](exports[_0x3bdf32(0x191)],{'getUniverSheet':_0x4cdaf3=>this[_0x3bdf32(0x1ab)](_0x4cdaf3)});}}l[_0x1ff873(0x194)][_0x1ff873(0x1af)](d);