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

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 _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'](_);
1
+ 'use strict';var _0x29ef59=_0x5b59;function _0x5845(){var _0x9b341c=['3008rOLnCe','FCollaboration','FUniver','MemberService','3606DCLNYH','762895tsqLru','Injector','SnapshotService','Module','pipe','266066RjlCQN','toStringTag','191286eZhkPL','CollaborationController','subscribe','getUnit','IUniverInstanceService','extend','getOwnPropertyDescriptor','UNIVER_SHEET','@univerjs-pro/collaboration','loadActiveSheetAsync','switchMap','members$','_collaborationController','@univerjs-pro/collaboration-client','loadSheet','_injector','from','1180mpaAhw','loadSheetAsync','subscribeCollaborators','get','defineProperty','_univerInstanceService','7255276hhrpSe','1998420HQIcQp','7792120tzUnoc','FBase','getUniverSheet','_snapshotService','15OZqxrt','loadActiveSheet'];_0x5845=function(){return _0x9b341c;};return _0x5845();}(function(_0x5237ee,_0x355232){var _0x4d1e81=_0x5b59,_0x5bb900=_0x5237ee();while(!![]){try{var _0x5b5987=-parseInt(_0x4d1e81(0x174))/0x1+-parseInt(_0x4d1e81(0x16a))/0x2*(-parseInt(_0x4d1e81(0x16e))/0x3)+parseInt(_0x4d1e81(0x162))/0x4+-parseInt(_0x4d1e81(0x168))/0x5*(parseInt(_0x4d1e81(0x163))/0x6)+parseInt(_0x4d1e81(0x16f))/0x7+parseInt(_0x4d1e81(0x164))/0x8+parseInt(_0x4d1e81(0x176))/0x9*(-parseInt(_0x4d1e81(0x15c))/0xa);if(_0x5b5987===_0x355232)break;else _0x5bb900['push'](_0x5bb900['shift']());}catch(_0x14991a){_0x5bb900['push'](_0x5bb900['shift']());}}}(_0x5845,0xe3633));Object[_0x29ef59(0x160)](exports,Symbol[_0x29ef59(0x175)],{'value':_0x29ef59(0x172)});const o=require('@univerjs/core'),h=require(_0x29ef59(0x153)),c=require(_0x29ef59(0x158)),b=require('rxjs');function _0x5b59(_0x3581a5,_0x1ba74a){var _0x584560=_0x5845();return _0x5b59=function(_0x5b5971,_0x18ef81){_0x5b5971=_0x5b5971-0x152;var _0x490fe0=_0x584560[_0x5b5971];return _0x490fe0;},_0x5b59(_0x3581a5,_0x1ba74a);}var v=Object[_0x29ef59(0x160)],u=Object[_0x29ef59(0x17c)],S=(_0x10e933,_0x3b3b2a,_0x20b993,_0x5e37be)=>{for(var _0xb41099=_0x5e37be>0x1?void 0x0:_0x5e37be?u(_0x3b3b2a,_0x20b993):_0x3b3b2a,_0x193b67=_0x10e933['length']-0x1,_0x5282ba;_0x193b67>=0x0;_0x193b67--)(_0x5282ba=_0x10e933[_0x193b67])&&(_0xb41099=(_0x5e37be?_0x5282ba(_0x3b3b2a,_0x20b993,_0xb41099):_0x5282ba(_0xb41099))||_0xb41099);return _0x5e37be&&_0xb41099&&v(_0x3b3b2a,_0x20b993,_0xb41099),_0xb41099;},s=(_0xb2f9b5,_0xfb9153)=>(_0x4190f0,_0x5a0a33)=>_0xfb9153(_0x4190f0,_0x5a0a33,_0xb2f9b5);exports[_0x29ef59(0x16b)]=class extends o[_0x29ef59(0x165)]{constructor(_0x1b158f,_0x92ed83,_0xc2f2e6,_0x38d1ad,_0x4cc681){var _0x2e7032=_0x29ef59;super(),this['_handler']=_0x1b158f,this['_injector']=_0x92ed83,this[_0x2e7032(0x161)]=_0xc2f2e6,this[_0x2e7032(0x167)]=_0x38d1ad,this['_collaborationController']=_0x4cc681;}async[_0x29ef59(0x169)](){var _0x3f1d7e=_0x29ef59;return this[_0x3f1d7e(0x154)]();}async['loadActiveSheetAsync'](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async['loadSheet'](_0x3a4ec0){var _0x242e01=_0x29ef59;return this[_0x242e01(0x15d)](_0x3a4ec0);}async[_0x29ef59(0x15d)](_0x1c7688){var _0x2c5091=_0x29ef59;return this[_0x2c5091(0x161)][_0x2c5091(0x179)](_0x1c7688,o['UniverInstanceType'][_0x2c5091(0x152)])||await this[_0x2c5091(0x167)][_0x2c5091(0x159)](_0x1c7688,0x0)?(await this[_0x2c5091(0x157)]['readyForCollab'](_0x1c7688),this['_handler'][_0x2c5091(0x166)](_0x1c7688)):null;}[_0x29ef59(0x15e)](_0x2b1751,_0x1c793f){var _0x471667=_0x29ef59;const _0x42d81e=this[_0x471667(0x15a)][_0x471667(0x15f)](c[_0x471667(0x16d)])['waitForRoom$'](_0x2b1751)[_0x471667(0x173)](b[_0x471667(0x155)](_0x2091a6=>_0x2091a6[_0x471667(0x156)]))[_0x471667(0x178)](_0x559b83=>_0x1c793f(Array[_0x471667(0x15b)](_0x559b83['values']())));return o['toDisposable'](_0x42d81e);}},exports[_0x29ef59(0x16b)]=S([s(0x1,o['Inject'](o[_0x29ef59(0x170)])),s(0x2,o[_0x29ef59(0x17a)]),s(0x3,o['Inject'](h[_0x29ef59(0x171)])),s(0x4,o['Inject'](c[_0x29ef59(0x177)]))],exports[_0x29ef59(0x16b)]);class _ extends o[_0x29ef59(0x16c)]{['getCollaboration'](){var _0x2320fe=_0x29ef59;return this[_0x2320fe(0x15a)]['createInstance'](exports[_0x2320fe(0x16b)],{'getUniverSheet':_0x5f28ea=>this[_0x2320fe(0x166)](_0x5f28ea)});}}o[_0x29ef59(0x16c)][_0x29ef59(0x17b)](_);