@univerjs-pro/collaboration-client 0.6.0-nightly.202502061605 → 0.6.0-nightly.202502081605

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 _0x124b38=_0x5884;function _0x1e5a(){var _0x51308b=['_collaborationController','getUnit','22850894iAasjh','from','474580HbVIhu','FCollaboration','getUniverSheet','@univerjs-pro/collaboration','369mXEMOq','toStringTag','Injector','readyForCollab','UNIVER_SHEET','loadSheetAsync','187003WHxRax','getOwnPropertyDescriptor','length','subscribeCollaborators','defineProperty','8yCXAid','6hhhdxV','CollaborationController','_snapshotService','88XOyGLa','getCollaboration','107241SlmfbB','_handler','@univerjs-pro/collaboration-client','createInstance','FBase','IUniverInstanceService','MemberService','toDisposable','Inject','UniverInstanceType','67450xcYZKK','FUniver','_univerInstanceService','extend','5158872iWaKEs','loadActiveSheet','rxjs','243509kgcGTm','_injector','loadActiveSheetAsync','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','@univerjs/core','loadSheet'];_0x1e5a=function(){return _0x51308b;};return _0x1e5a();}(function(_0x30925e,_0x2ec601){var _0xc57f8=_0x5884,_0x5e1022=_0x30925e();while(!![]){try{var _0x3b4864=-parseInt(_0xc57f8(0x183))/0x1*(parseInt(_0xc57f8(0x188))/0x2)+parseInt(_0xc57f8(0x18e))/0x3*(-parseInt(_0xc57f8(0x18c))/0x4)+parseInt(_0xc57f8(0x179))/0x5+parseInt(_0xc57f8(0x189))/0x6*(-parseInt(_0xc57f8(0x19f))/0x7)+parseInt(_0xc57f8(0x19c))/0x8+parseInt(_0xc57f8(0x17d))/0x9*(-parseInt(_0xc57f8(0x198))/0xa)+parseInt(_0xc57f8(0x177))/0xb;if(_0x3b4864===_0x2ec601)break;else _0x5e1022['push'](_0x5e1022['shift']());}catch(_0x1ce38d){_0x5e1022['push'](_0x5e1022['shift']());}}}(_0x1e5a,0xed257));Object[_0x124b38(0x187)](exports,Symbol[_0x124b38(0x17e)],{'value':'Module'});const o=require(_0x124b38(0x173)),h=require(_0x124b38(0x17c)),c=require(_0x124b38(0x190)),b=require(_0x124b38(0x19e));var v=Object[_0x124b38(0x187)],u=Object[_0x124b38(0x184)],S=(_0x34be1d,_0x277851,_0x4a2d41,_0x591d40)=>{var _0x2a8fb8=_0x124b38;for(var _0x12ad51=_0x591d40>0x1?void 0x0:_0x591d40?u(_0x277851,_0x4a2d41):_0x277851,_0x33c5ec=_0x34be1d[_0x2a8fb8(0x185)]-0x1,_0x1b5686;_0x33c5ec>=0x0;_0x33c5ec--)(_0x1b5686=_0x34be1d[_0x33c5ec])&&(_0x12ad51=(_0x591d40?_0x1b5686(_0x277851,_0x4a2d41,_0x12ad51):_0x1b5686(_0x12ad51))||_0x12ad51);return _0x591d40&&_0x12ad51&&v(_0x277851,_0x4a2d41,_0x12ad51),_0x12ad51;},s=(_0x21a0dc,_0x8c2327)=>(_0x454816,_0x1b1091)=>_0x8c2327(_0x454816,_0x1b1091,_0x21a0dc);function _0x5884(_0x979091,_0x454261){var _0x1e5a30=_0x1e5a();return _0x5884=function(_0x588489,_0x4620fa){_0x588489=_0x588489-0x173;var _0x5c044e=_0x1e5a30[_0x588489];return _0x5c044e;},_0x5884(_0x979091,_0x454261);}exports[_0x124b38(0x17a)]=class extends o[_0x124b38(0x192)]{constructor(_0x272a67,_0x428f81,_0x56c176,_0x42d5c2,_0xb6ee1d){var _0x196670=_0x124b38;super(),this[_0x196670(0x18f)]=_0x272a67,this[_0x196670(0x1a0)]=_0x428f81,this['_univerInstanceService']=_0x56c176,this[_0x196670(0x18b)]=_0x42d5c2,this['_collaborationController']=_0xb6ee1d;}async[_0x124b38(0x19d)](){var _0x2581c6=_0x124b38;return this[_0x2581c6(0x1a1)]();}async[_0x124b38(0x1a1)](){var _0x17a668=_0x124b38;throw new Error(_0x17a668(0x1a2));}async['loadSheet'](_0x498615){var _0x2b76c7=_0x124b38;return this[_0x2b76c7(0x182)](_0x498615);}async[_0x124b38(0x182)](_0x5b93e4){var _0x592d07=_0x124b38;return this[_0x592d07(0x19a)][_0x592d07(0x176)](_0x5b93e4,o[_0x592d07(0x197)][_0x592d07(0x181)])||await this[_0x592d07(0x18b)][_0x592d07(0x174)](_0x5b93e4,0x0)?(await this[_0x592d07(0x175)][_0x592d07(0x180)](_0x5b93e4),this[_0x592d07(0x18f)][_0x592d07(0x17b)](_0x5b93e4)):null;}[_0x124b38(0x186)](_0x34f6fc,_0x14c3b7){var _0x511cbd=_0x124b38;const _0x270aac=this[_0x511cbd(0x1a0)]['get'](c[_0x511cbd(0x194)])['waitForRoom$'](_0x34f6fc)['pipe'](b['switchMap'](_0x563adc=>_0x563adc['members$']))['subscribe'](_0x52e925=>_0x14c3b7(Array[_0x511cbd(0x178)](_0x52e925['values']())));return o[_0x511cbd(0x195)](_0x270aac);}},exports[_0x124b38(0x17a)]=S([s(0x1,o[_0x124b38(0x196)](o[_0x124b38(0x17f)])),s(0x2,o[_0x124b38(0x193)]),s(0x3,o['Inject'](h['SnapshotService'])),s(0x4,o[_0x124b38(0x196)](c[_0x124b38(0x18a)]))],exports[_0x124b38(0x17a)]);class _ extends o[_0x124b38(0x199)]{[_0x124b38(0x18d)](){var _0x57d2a8=_0x124b38;return this['_injector'][_0x57d2a8(0x191)](exports['FCollaboration'],{'getUniverSheet':_0x46cee3=>this[_0x57d2a8(0x17b)](_0x46cee3)});}}o[_0x124b38(0x199)][_0x124b38(0x19b)](_);
1
+ 'use strict';var _0x518edd=_0x374c;(function(_0x53a46e,_0x238187){var _0x82e66c=_0x374c,_0x2facec=_0x53a46e();while(!![]){try{var _0x56c443=parseInt(_0x82e66c(0x149))/0x1+-parseInt(_0x82e66c(0x145))/0x2*(parseInt(_0x82e66c(0x159))/0x3)+parseInt(_0x82e66c(0x15f))/0x4*(parseInt(_0x82e66c(0x142))/0x5)+parseInt(_0x82e66c(0x160))/0x6+parseInt(_0x82e66c(0x155))/0x7*(-parseInt(_0x82e66c(0x164))/0x8)+-parseInt(_0x82e66c(0x153))/0x9+-parseInt(_0x82e66c(0x16e))/0xa*(-parseInt(_0x82e66c(0x15a))/0xb);if(_0x56c443===_0x238187)break;else _0x2facec['push'](_0x2facec['shift']());}catch(_0x174ffc){_0x2facec['push'](_0x2facec['shift']());}}}(_0x5055,0x923ae));function _0x374c(_0x285539,_0x566a33){var _0x50555c=_0x5055();return _0x374c=function(_0x374c3a,_0x3bd373){_0x374c3a=_0x374c3a-0x142;var _0xf7c36c=_0x50555c[_0x374c3a];return _0xf7c36c;},_0x374c(_0x285539,_0x566a33);}function _0x5055(){var _0x42daaf=['getOwnPropertyDescriptor','rxjs','@univerjs-pro/collaboration-client','subscribeCollaborators','2207350cGuCqG','subscribe','1795940IoKvBs','defineProperty','_univerInstanceService','295276tAyWhf','Module','_handler','CollaborationController','203735mMjBzJ','loadSheet','IUniverInstanceService','_injector','from','loadActiveSheet','_snapshotService','length','_collaborationController','loadActiveSheetAsync','9302022sPYDcW','toDisposable','4718eyxVba','Injector','FUniver','FCollaboration','3cLUQvr','55pVWsxw','UNIVER_SHEET','toStringTag','pipe','createInstance','8dySWAI','1672440zQlIBw','getUnit','loadSheetAsync','waitForRoom$','6224Jsoxbp','getUniverSheet','Inject','switchMap','getCollaboration','@univerjs/core'];_0x5055=function(){return _0x42daaf;};return _0x5055();}Object[_0x518edd(0x143)](exports,Symbol[_0x518edd(0x15c)],{'value':_0x518edd(0x146)});const o=require(_0x518edd(0x169)),h=require('@univerjs-pro/collaboration'),c=require(_0x518edd(0x16c)),b=require(_0x518edd(0x16b));var v=Object[_0x518edd(0x143)],u=Object[_0x518edd(0x16a)],S=(_0x2137ed,_0x15404e,_0x7f5172,_0x12583b)=>{var _0x63ddb1=_0x518edd;for(var _0x47a5d4=_0x12583b>0x1?void 0x0:_0x12583b?u(_0x15404e,_0x7f5172):_0x15404e,_0x1cddc0=_0x2137ed[_0x63ddb1(0x150)]-0x1,_0x4919dd;_0x1cddc0>=0x0;_0x1cddc0--)(_0x4919dd=_0x2137ed[_0x1cddc0])&&(_0x47a5d4=(_0x12583b?_0x4919dd(_0x15404e,_0x7f5172,_0x47a5d4):_0x4919dd(_0x47a5d4))||_0x47a5d4);return _0x12583b&&_0x47a5d4&&v(_0x15404e,_0x7f5172,_0x47a5d4),_0x47a5d4;},s=(_0x13bebd,_0x3b4687)=>(_0x38b41e,_0x28321c)=>_0x3b4687(_0x38b41e,_0x28321c,_0x13bebd);exports[_0x518edd(0x158)]=class extends o['FBase']{constructor(_0x27a980,_0x1688a1,_0x54973b,_0x498f65,_0x33fe25){var _0x1f6442=_0x518edd;super(),this[_0x1f6442(0x147)]=_0x27a980,this[_0x1f6442(0x14c)]=_0x1688a1,this[_0x1f6442(0x144)]=_0x54973b,this['_snapshotService']=_0x498f65,this[_0x1f6442(0x151)]=_0x33fe25;}async[_0x518edd(0x14e)](){var _0x92870d=_0x518edd;return this[_0x92870d(0x152)]();}async['loadActiveSheetAsync'](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async['loadSheet'](_0x11bcc0){var _0x516baf=_0x518edd;return this[_0x516baf(0x162)](_0x11bcc0);}async[_0x518edd(0x162)](_0x25c3b7){var _0x35d14f=_0x518edd;return this[_0x35d14f(0x144)][_0x35d14f(0x161)](_0x25c3b7,o['UniverInstanceType'][_0x35d14f(0x15b)])||await this[_0x35d14f(0x14f)][_0x35d14f(0x14a)](_0x25c3b7,0x0)?(await this[_0x35d14f(0x151)]['readyForCollab'](_0x25c3b7),this[_0x35d14f(0x147)][_0x35d14f(0x165)](_0x25c3b7)):null;}[_0x518edd(0x16d)](_0x1af792,_0x436872){var _0x236051=_0x518edd;const _0x3c45c3=this[_0x236051(0x14c)]['get'](c['MemberService'])[_0x236051(0x163)](_0x1af792)[_0x236051(0x15d)](b[_0x236051(0x167)](_0x11a0fb=>_0x11a0fb['members$']))[_0x236051(0x16f)](_0x13c92e=>_0x436872(Array[_0x236051(0x14d)](_0x13c92e['values']())));return o[_0x236051(0x154)](_0x3c45c3);}},exports[_0x518edd(0x158)]=S([s(0x1,o[_0x518edd(0x166)](o[_0x518edd(0x156)])),s(0x2,o[_0x518edd(0x14b)]),s(0x3,o['Inject'](h['SnapshotService'])),s(0x4,o[_0x518edd(0x166)](c[_0x518edd(0x148)]))],exports[_0x518edd(0x158)]);class _ extends o[_0x518edd(0x157)]{[_0x518edd(0x168)](){var _0x16eb77=_0x518edd;return this['_injector'][_0x16eb77(0x15e)](exports[_0x16eb77(0x158)],{'getUniverSheet':_0x2901ab=>this[_0x16eb77(0x165)](_0x2901ab)});}}o[_0x518edd(0x157)]['extend'](_);