@univerjs-pro/collaboration-client 0.6.6 → 0.6.7-nightly.202503261607

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 _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);
1
+ 'use strict';var _0x5d73f5=_0x430f;(function(_0x59f287,_0x53be2d){var _0x532547=_0x430f,_0x21532f=_0x59f287();while(!![]){try{var _0x3933c5=parseInt(_0x532547(0x104))/0x1+parseInt(_0x532547(0xf9))/0x2*(parseInt(_0x532547(0x100))/0x3)+-parseInt(_0x532547(0x102))/0x4+-parseInt(_0x532547(0xe0))/0x5+parseInt(_0x532547(0xf6))/0x6+-parseInt(_0x532547(0xf0))/0x7+-parseInt(_0x532547(0x106))/0x8*(-parseInt(_0x532547(0xf2))/0x9);if(_0x3933c5===_0x53be2d)break;else _0x21532f['push'](_0x21532f['shift']());}catch(_0x3fb781){_0x21532f['push'](_0x21532f['shift']());}}}(_0x477c,0x5f039));Object[_0x5d73f5(0xde)](exports,Symbol[_0x5d73f5(0xed)],{'value':_0x5d73f5(0xe7)});const c=require('@univerjs-pro/collaboration-client'),l=require(_0x5d73f5(0xfe)),v=require('@univerjs-pro/collaboration'),i=require(_0x5d73f5(0x107)),b=require(_0x5d73f5(0xeb));function _0x477c(){var _0xe6184e=['FCollaboration','getOwnPropertyDescriptor','34428TTJqKw','switchMap','Inject','createInstance','get','@univerjs/core/facade','subscribeCollaborators','81BWlRNB','loadSheetAsync','539608PyCPPX','SnapshotService','355917MnqRfF','IUniverInstanceService','157064kPzkDY','@univerjs/core','getUniverSheet','defineProperty','loadActiveSheet','1450935XTgbNy','_collaborationController','CollaborationController','_injector','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','readyForCollab','FBase','Module','loadUnit','pipe','_snapshotService','rxjs','DataLoaderService','toStringTag','waitForRoom$','values','2159297SKXVYZ','loadSheet','27YtFMkr','FUniver','_handler','Injector','1458858vqaBkd'];_0x477c=function(){return _0xe6184e;};return _0x477c();}var S=Object[_0x5d73f5(0xf8)],d=(_0x3e385c,_0x31d30f,_0x2e5272,_0x502da0)=>{for(var _0x1df316=_0x502da0>0x1?void 0x0:_0x502da0?S(_0x31d30f,_0x2e5272):_0x31d30f,_0x4b5f0a=_0x3e385c['length']-0x1,_0x17e83c;_0x4b5f0a>=0x0;_0x4b5f0a--)(_0x17e83c=_0x3e385c[_0x4b5f0a])&&(_0x1df316=_0x17e83c(_0x1df316)||_0x1df316);return _0x1df316;},s=(_0x51f6b4,_0x16551)=>(_0x500b98,_0x51442a)=>_0x16551(_0x500b98,_0x51442a,_0x51f6b4);exports['FCollaboration']=class extends l[_0x5d73f5(0xe6)]{constructor(_0xb9864e,_0x5047e7,_0x5bc24c,_0x156d7f,_0x52fbcb){var _0xd5e517=_0x5d73f5;super(),this[_0xd5e517(0xf4)]=_0xb9864e,this[_0xd5e517(0xe3)]=_0x5047e7,this['_univerInstanceService']=_0x5bc24c,this['_snapshotService']=_0x156d7f,this[_0xd5e517(0xe1)]=_0x52fbcb;}async[_0x5d73f5(0xdf)](){return this['loadActiveSheetAsync']();}async['loadActiveSheetAsync'](){var _0x4ce815=_0x5d73f5;throw new Error(_0x4ce815(0xe4));}async[_0x5d73f5(0xf1)](_0x4a13ab){var _0x3bc985=_0x5d73f5;return this[_0x3bc985(0x101)](_0x4a13ab);}async[_0x5d73f5(0x101)](_0x3e8d1b,_0x4e8fd1){var _0x247c1c=_0x5d73f5;return await this[_0x247c1c(0xea)]['loadSheet'](_0x3e8d1b,0x0,_0x4e8fd1)?(await this[_0x247c1c(0xe1)][_0x247c1c(0xe5)](_0x3e8d1b),this[_0x247c1c(0xf4)][_0x247c1c(0xdd)](_0x3e8d1b)):null;}[_0x5d73f5(0xff)](_0x181567,_0x1713a){var _0x56e477=_0x5d73f5;const _0x53c380=this[_0x56e477(0xe3)][_0x56e477(0xfd)](c['MemberService'])[_0x56e477(0xee)](_0x181567)[_0x56e477(0xe9)](b[_0x56e477(0xfa)](_0x38325e=>_0x38325e['members$']))['subscribe'](_0x4044a7=>_0x1713a(Array['from'](_0x4044a7[_0x56e477(0xef)]())));return i['toDisposable'](_0x53c380);}},exports[_0x5d73f5(0xf7)]=d([s(0x1,i['Inject'](i[_0x5d73f5(0xf5)])),s(0x2,i[_0x5d73f5(0x105)]),s(0x3,i[_0x5d73f5(0xfb)](v[_0x5d73f5(0x103)])),s(0x4,i[_0x5d73f5(0xfb)](c[_0x5d73f5(0xe2)]))],exports[_0x5d73f5(0xf7)]);class u extends l['FUniver']{['getCollaboration'](){var _0x5efc5f=_0x5d73f5;return this[_0x5efc5f(0xe3)][_0x5efc5f(0xfc)](exports[_0x5efc5f(0xf7)],{'getUniverSheet':_0x3e5239=>this[_0x5efc5f(0xdd)](_0x3e5239)});}['loadServerUnit'](_0x423247,_0x1c7d4d,_0x5de216){var _0x498428=_0x5d73f5;return this[_0x498428(0xe3)][_0x498428(0xfc)](c[_0x498428(0xec)])[_0x498428(0xe8)](_0x423247,_0x1c7d4d,_0x5de216);}}function _0x430f(_0x244642,_0x1dcb66){var _0x477c93=_0x477c();return _0x430f=function(_0x430f75,_0x4c315e){_0x430f75=_0x430f75-0xdd;var _0x5b4ca=_0x477c93[_0x430f75];return _0x5b4ca;},_0x430f(_0x244642,_0x1dcb66);}l[_0x5d73f5(0xf3)]['extend'](u);