@univerjs-pro/collaboration-client 0.6.3-nightly.202503051607 → 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 _0x3713c8=_0x53d6;(function(_0x3671fc,_0x3cf9c3){var _0x2d01b9=_0x53d6,_0x55dc15=_0x3671fc();while(!![]){try{var _0x19f2ac=-parseInt(_0x2d01b9(0x1f4))/0x1+parseInt(_0x2d01b9(0x1e6))/0x2+-parseInt(_0x2d01b9(0x1e9))/0x3+-parseInt(_0x2d01b9(0x1eb))/0x4+parseInt(_0x2d01b9(0x1f0))/0x5+parseInt(_0x2d01b9(0x1de))/0x6*(parseInt(_0x2d01b9(0x1f6))/0x7)+-parseInt(_0x2d01b9(0x1e4))/0x8*(-parseInt(_0x2d01b9(0x1ee))/0x9);if(_0x19f2ac===_0x3cf9c3)break;else _0x55dc15['push'](_0x55dc15['shift']());}catch(_0x44b936){_0x55dc15['push'](_0x55dc15['shift']());}}}(_0x1488,0x1dfef));function _0x1488(){var _0x3fc0ad=['defineProperty','extend','get','members$','40nEksoj','getOwnPropertyDescriptor','285498WyAQvK','loadActiveSheet','IUniverInstanceService','624102dcgGvc','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','874004bmiQOs','from','toDisposable','265887hMjgDZ','toStringTag','1094310xnFCSP','@univerjs/core','FCollaboration','@univerjs/core/facade','74395HLtapI','FBase','801269UAYpRD','loadActiveSheetAsync','getUniverSheet','CollaborationController','loadSheetAsync','switchMap','Injector','@univerjs-pro/collaboration-client','MemberService','@univerjs-pro/collaboration','subscribe','getCollaboration','Inject','values','FUniver','Module','_snapshotService','_univerInstanceService','_handler','rxjs','loadSheet','_injector','6ElBkoC','SnapshotService'];_0x1488=function(){return _0x3fc0ad;};return _0x1488();}function _0x53d6(_0x2c6d14,_0xc0a3bf){var _0x14884d=_0x1488();return _0x53d6=function(_0x53d611,_0x4f6975){_0x53d611=_0x53d611-0x1d7;var _0x3a6a96=_0x14884d[_0x53d611];return _0x3a6a96;},_0x53d6(_0x2c6d14,_0xc0a3bf);}Object[_0x3713c8(0x1e0)](exports,Symbol[_0x3713c8(0x1ef)],{'value':_0x3713c8(0x1d7)});const l=require(_0x3713c8(0x1f3)),b=require(_0x3713c8(0x1ff)),h=require(_0x3713c8(0x1fd)),i=require(_0x3713c8(0x1f1)),v=require(_0x3713c8(0x1db));var u=Object[_0x3713c8(0x1e5)],S=(_0x201ef3,_0x52463c,_0x1aee85,_0x36ef43)=>{for(var _0x7ab69=_0x36ef43>0x1?void 0x0:_0x36ef43?u(_0x52463c,_0x1aee85):_0x52463c,_0x4a4a83=_0x201ef3['length']-0x1,_0x355a96;_0x4a4a83>=0x0;_0x4a4a83--)(_0x355a96=_0x201ef3[_0x4a4a83])&&(_0x7ab69=_0x355a96(_0x7ab69)||_0x7ab69);return _0x7ab69;},s=(_0xdf0483,_0x50c521)=>(_0x5ef259,_0x4f5a82)=>_0x50c521(_0x5ef259,_0x4f5a82,_0xdf0483);exports[_0x3713c8(0x1f2)]=class extends l[_0x3713c8(0x1f5)]{constructor(_0x2e258a,_0x38e4b,_0x4bf46a,_0x11bae0,_0x1a62f1){var _0x1ba3f1=_0x3713c8;super(),this['_handler']=_0x2e258a,this[_0x1ba3f1(0x1dd)]=_0x38e4b,this[_0x1ba3f1(0x1d9)]=_0x4bf46a,this[_0x1ba3f1(0x1d8)]=_0x11bae0,this['_collaborationController']=_0x1a62f1;}async[_0x3713c8(0x1e7)](){var _0x284e6a=_0x3713c8;return this[_0x284e6a(0x1f7)]();}async[_0x3713c8(0x1f7)](){var _0x309a38=_0x3713c8;throw new Error(_0x309a38(0x1ea));}async['loadSheet'](_0x36a0f1){return this['loadSheetAsync'](_0x36a0f1);}async[_0x3713c8(0x1fa)](_0x33f7ac,_0x35133f){var _0x480864=_0x3713c8;return await this['_snapshotService'][_0x480864(0x1dc)](_0x33f7ac,0x0,_0x35133f)?(await this['_collaborationController']['readyForCollab'](_0x33f7ac),this[_0x480864(0x1da)][_0x480864(0x1f8)](_0x33f7ac)):null;}['subscribeCollaborators'](_0x1ab14b,_0x607a2f){var _0x3fd9a4=_0x3713c8;const _0xc6e305=this[_0x3fd9a4(0x1dd)][_0x3fd9a4(0x1e2)](h[_0x3fd9a4(0x1fe)])['waitForRoom$'](_0x1ab14b)['pipe'](v[_0x3fd9a4(0x1fb)](_0xeedce2=>_0xeedce2[_0x3fd9a4(0x1e3)]))[_0x3fd9a4(0x200)](_0xacc15e=>_0x607a2f(Array[_0x3fd9a4(0x1ec)](_0xacc15e[_0x3fd9a4(0x203)]())));return i[_0x3fd9a4(0x1ed)](_0xc6e305);}},exports[_0x3713c8(0x1f2)]=S([s(0x1,i[_0x3713c8(0x202)](i[_0x3713c8(0x1fc)])),s(0x2,i[_0x3713c8(0x1e8)]),s(0x3,i['Inject'](b[_0x3713c8(0x1df)])),s(0x4,i[_0x3713c8(0x202)](h[_0x3713c8(0x1f9)]))],exports[_0x3713c8(0x1f2)]);class d extends l[_0x3713c8(0x204)]{[_0x3713c8(0x201)](){var _0x3ab9d4=_0x3713c8;return this[_0x3ab9d4(0x1dd)]['createInstance'](exports[_0x3ab9d4(0x1f2)],{'getUniverSheet':_0x56bc99=>this[_0x3ab9d4(0x1f8)](_0x56bc99)});}}l[_0x3713c8(0x204)][_0x3713c8(0x1e1)](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);