@univerjs-pro/collaboration-client 0.6.5-nightly.202503131607 → 0.6.6

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 _0x2a4c30=_0x2f72;(function(_0x51a2b8,_0x2f6c79){var _0x387f0f=_0x2f72,_0x24e629=_0x51a2b8();while(!![]){try{var _0x5d3ae4=parseInt(_0x387f0f(0xab))/0x1*(-parseInt(_0x387f0f(0x99))/0x2)+parseInt(_0x387f0f(0x8a))/0x3*(parseInt(_0x387f0f(0xa5))/0x4)+-parseInt(_0x387f0f(0x97))/0x5+-parseInt(_0x387f0f(0xa1))/0x6*(-parseInt(_0x387f0f(0xaa))/0x7)+-parseInt(_0x387f0f(0x8f))/0x8*(-parseInt(_0x387f0f(0x89))/0x9)+-parseInt(_0x387f0f(0x8c))/0xa*(parseInt(_0x387f0f(0xb5))/0xb)+-parseInt(_0x387f0f(0x98))/0xc;if(_0x5d3ae4===_0x2f6c79)break;else _0x24e629['push'](_0x24e629['shift']());}catch(_0x3bfa84){_0x24e629['push'](_0x24e629['shift']());}}}(_0x32e5,0x9ac68));function _0x32e5(){var _0x4e9981=['createInstance','@univerjs-pro/collaboration-client','19662UePwxI','Injector','extend','CollaborationController','24CwbfTd','SnapshotService','_handler','subscribeCollaborators','Module','1183nGspvX','20MgVKUB','loadActiveSheetAsync','@univerjs/core','FBase','getCollaboration','_collaborationController','_univerInstanceService','waitForRoom$','subscribe','Inject','570097AgmqPh','loadActiveSheet','values','1767069qaPDFS','601149sLgTfx','loadSheetAsync','70wPlAjk','members$','switchMap','24kOLvFy','_snapshotService','getUniverSheet','FCollaboration','toStringTag','get','MemberService','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','326490odThxJ','14002884rqlJRX','11618uhgfYU','loadSheet','length','_injector','FUniver','toDisposable'];_0x32e5=function(){return _0x4e9981;};return _0x32e5();}Object['defineProperty'](exports,Symbol[_0x2a4c30(0x93)],{'value':_0x2a4c30(0xa9)});const l=require('@univerjs/core/facade'),b=require('@univerjs-pro/collaboration'),h=require(_0x2a4c30(0xa0)),i=require(_0x2a4c30(0xad)),v=require('rxjs');var u=Object['getOwnPropertyDescriptor'],S=(_0x4982bc,_0x551a88,_0x3af579,_0x2960a7)=>{var _0x1b16b4=_0x2a4c30;for(var _0x499d31=_0x2960a7>0x1?void 0x0:_0x2960a7?u(_0x551a88,_0x3af579):_0x551a88,_0x5f567a=_0x4982bc[_0x1b16b4(0x9b)]-0x1,_0x23a9d7;_0x5f567a>=0x0;_0x5f567a--)(_0x23a9d7=_0x4982bc[_0x5f567a])&&(_0x499d31=_0x23a9d7(_0x499d31)||_0x499d31);return _0x499d31;},s=(_0x1cc702,_0x1a68b0)=>(_0x26a7ec,_0x1490d8)=>_0x1a68b0(_0x26a7ec,_0x1490d8,_0x1cc702);exports[_0x2a4c30(0x92)]=class extends l[_0x2a4c30(0xae)]{constructor(_0x400db9,_0x553b9c,_0x1a4986,_0x4a8c91,_0x537178){var _0x4de891=_0x2a4c30;super(),this[_0x4de891(0xa7)]=_0x400db9,this[_0x4de891(0x9c)]=_0x553b9c,this[_0x4de891(0xb1)]=_0x1a4986,this[_0x4de891(0x90)]=_0x4a8c91,this[_0x4de891(0xb0)]=_0x537178;}async[_0x2a4c30(0x87)](){var _0x9d9274=_0x2a4c30;return this[_0x9d9274(0xac)]();}async[_0x2a4c30(0xac)](){var _0x22df05=_0x2a4c30;throw new Error(_0x22df05(0x96));}async[_0x2a4c30(0x9a)](_0x4923e7){var _0x359213=_0x2a4c30;return this[_0x359213(0x8b)](_0x4923e7);}async['loadSheetAsync'](_0x17e0ba,_0x56fa07){var _0x6bac1c=_0x2a4c30;return await this[_0x6bac1c(0x90)][_0x6bac1c(0x9a)](_0x17e0ba,0x0,_0x56fa07)?(await this[_0x6bac1c(0xb0)]['readyForCollab'](_0x17e0ba),this[_0x6bac1c(0xa7)][_0x6bac1c(0x91)](_0x17e0ba)):null;}[_0x2a4c30(0xa8)](_0x1f441a,_0x34102e){var _0x247821=_0x2a4c30;const _0x3493b9=this[_0x247821(0x9c)][_0x247821(0x94)](h[_0x247821(0x95)])[_0x247821(0xb2)](_0x1f441a)['pipe'](v[_0x247821(0x8e)](_0x369497=>_0x369497[_0x247821(0x8d)]))[_0x247821(0xb3)](_0x2be817=>_0x34102e(Array['from'](_0x2be817[_0x247821(0x88)]())));return i[_0x247821(0x9e)](_0x3493b9);}},exports['FCollaboration']=S([s(0x1,i[_0x2a4c30(0xb4)](i[_0x2a4c30(0xa2)])),s(0x2,i['IUniverInstanceService']),s(0x3,i[_0x2a4c30(0xb4)](b[_0x2a4c30(0xa6)])),s(0x4,i[_0x2a4c30(0xb4)](h[_0x2a4c30(0xa4)]))],exports[_0x2a4c30(0x92)]);class d extends l[_0x2a4c30(0x9d)]{[_0x2a4c30(0xaf)](){var _0x44b4a7=_0x2a4c30;return this['_injector'][_0x44b4a7(0x9f)](exports[_0x44b4a7(0x92)],{'getUniverSheet':_0x59b9bc=>this[_0x44b4a7(0x91)](_0x59b9bc)});}}function _0x2f72(_0x43cadf,_0x503075){var _0x32e52a=_0x32e5();return _0x2f72=function(_0x2f7271,_0x52cee5){_0x2f7271=_0x2f7271-0x87;var _0x153315=_0x32e52a[_0x2f7271];return _0x153315;},_0x2f72(_0x43cadf,_0x503075);}l[_0x2a4c30(0x9d)][_0x2a4c30(0xa3)](d);
1
+ 'use strict';var _0x540afc=_0xa085;(function(_0x44ba6b,_0x1712e8){var _0xf291ba=_0xa085,_0x7ed2a2=_0x44ba6b();while(!![]){try{var _0x1e61ca=-parseInt(_0xf291ba(0x157))/0x1+-parseInt(_0xf291ba(0x175))/0x2*(-parseInt(_0xf291ba(0x164))/0x3)+parseInt(_0xf291ba(0x16f))/0x4*(parseInt(_0xf291ba(0x178))/0x5)+-parseInt(_0xf291ba(0x14a))/0x6+parseInt(_0xf291ba(0x15c))/0x7*(-parseInt(_0xf291ba(0x150))/0x8)+-parseInt(_0xf291ba(0x15b))/0x9+-parseInt(_0xf291ba(0x151))/0xa*(-parseInt(_0xf291ba(0x177))/0xb);if(_0x1e61ca===_0x1712e8)break;else _0x7ed2a2['push'](_0x7ed2a2['shift']());}catch(_0xd489b6){_0x7ed2a2['push'](_0x7ed2a2['shift']());}}}(_0x300d,0x6f1a9));function _0xa085(_0x5f40a0,_0x4f95f9){var _0x300d9a=_0x300d();return _0xa085=function(_0xa08515,_0x4fd848){_0xa08515=_0xa08515-0x14a;var _0xd842e0=_0x300d9a[_0xa08515];return _0xd842e0;},_0xa085(_0x5f40a0,_0x4f95f9);}Object[_0x540afc(0x15f)](exports,Symbol[_0x540afc(0x168)],{'value':_0x540afc(0x14b)});const l=require(_0x540afc(0x16c)),b=require(_0x540afc(0x161)),h=require(_0x540afc(0x173)),i=require('@univerjs/core'),v=require(_0x540afc(0x14e));function _0x300d(){var _0x2e91b6=['get','pipe','751502ukAdLN','Inject','loadSheet','FUniver','7507503wuahtp','7EEPWKb','loadActiveSheetAsync','members$','defineProperty','subscribe','@univerjs-pro/collaboration','length','Injector','1286493WOgoXk','IUniverInstanceService','extend','FBase','toStringTag','_collaborationController','_injector','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','@univerjs/core/facade','getOwnPropertyDescriptor','switchMap','118768ZukQrA','loadSheetAsync','FCollaboration','_snapshotService','@univerjs-pro/collaboration-client','CollaborationController','2LgdXtu','MemberService','11CfTMYN','30TSfQUL','483402PyTNth','Module','getCollaboration','createInstance','rxjs','subscribeCollaborators','489944CVOmyA','15755770lgSzNF','_handler','getUniverSheet','SnapshotService'];_0x300d=function(){return _0x2e91b6;};return _0x300d();}var u=Object[_0x540afc(0x16d)],S=(_0x3c3bd9,_0x3753da,_0x3eef2c,_0xd6df02)=>{var _0x2acb38=_0x540afc;for(var _0xfd3899=_0xd6df02>0x1?void 0x0:_0xd6df02?u(_0x3753da,_0x3eef2c):_0x3753da,_0x10c485=_0x3c3bd9[_0x2acb38(0x162)]-0x1,_0x3f12cb;_0x10c485>=0x0;_0x10c485--)(_0x3f12cb=_0x3c3bd9[_0x10c485])&&(_0xfd3899=_0x3f12cb(_0xfd3899)||_0xfd3899);return _0xfd3899;},s=(_0x46b4d2,_0x306941)=>(_0x5379ae,_0x5246e6)=>_0x306941(_0x5379ae,_0x5246e6,_0x46b4d2);exports[_0x540afc(0x171)]=class extends l[_0x540afc(0x167)]{constructor(_0x1e15e3,_0x3a24a1,_0x4e0da8,_0x1b1f52,_0x2fbf1b){var _0x3a15c4=_0x540afc;super(),this[_0x3a15c4(0x152)]=_0x1e15e3,this[_0x3a15c4(0x16a)]=_0x3a24a1,this['_univerInstanceService']=_0x4e0da8,this['_snapshotService']=_0x1b1f52,this[_0x3a15c4(0x169)]=_0x2fbf1b;}async['loadActiveSheet'](){var _0x43936c=_0x540afc;return this[_0x43936c(0x15d)]();}async[_0x540afc(0x15d)](){var _0x34768b=_0x540afc;throw new Error(_0x34768b(0x16b));}async[_0x540afc(0x159)](_0x170938){var _0x324f97=_0x540afc;return this[_0x324f97(0x170)](_0x170938);}async[_0x540afc(0x170)](_0x3dddaf,_0x3ad17a){var _0x5defc6=_0x540afc;return await this[_0x5defc6(0x172)]['loadSheet'](_0x3dddaf,0x0,_0x3ad17a)?(await this[_0x5defc6(0x169)]['readyForCollab'](_0x3dddaf),this[_0x5defc6(0x152)][_0x5defc6(0x153)](_0x3dddaf)):null;}[_0x540afc(0x14f)](_0xe296c3,_0x5bdbde){var _0x11e118=_0x540afc;const _0x474d97=this[_0x11e118(0x16a)][_0x11e118(0x155)](h[_0x11e118(0x176)])['waitForRoom$'](_0xe296c3)[_0x11e118(0x156)](v[_0x11e118(0x16e)](_0x386839=>_0x386839[_0x11e118(0x15e)]))[_0x11e118(0x160)](_0x2343e9=>_0x5bdbde(Array['from'](_0x2343e9['values']())));return i['toDisposable'](_0x474d97);}},exports[_0x540afc(0x171)]=S([s(0x1,i[_0x540afc(0x158)](i[_0x540afc(0x163)])),s(0x2,i[_0x540afc(0x165)]),s(0x3,i[_0x540afc(0x158)](b[_0x540afc(0x154)])),s(0x4,i[_0x540afc(0x158)](h[_0x540afc(0x174)]))],exports['FCollaboration']);class d extends l[_0x540afc(0x15a)]{[_0x540afc(0x14c)](){var _0x1545ad=_0x540afc;return this[_0x1545ad(0x16a)][_0x1545ad(0x14d)](exports[_0x1545ad(0x171)],{'getUniverSheet':_0xdb50be=>this[_0x1545ad(0x153)](_0xdb50be)});}}l[_0x540afc(0x15a)][_0x540afc(0x166)](d);