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

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 _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);
1
+ 'use strict';function _0x20bb(_0x171dea,_0xdc91a4){var _0x1fdac2=_0x1fda();return _0x20bb=function(_0x20bb5f,_0x20047c){_0x20bb5f=_0x20bb5f-0x14b;var _0x43e206=_0x1fdac2[_0x20bb5f];return _0x43e206;},_0x20bb(_0x171dea,_0xdc91a4);}var _0x117bc8=_0x20bb;(function(_0x5584e8,_0x1cec36){var _0x5d27ca=_0x20bb,_0x67a0af=_0x5584e8();while(!![]){try{var _0x572555=parseInt(_0x5d27ca(0x157))/0x1*(parseInt(_0x5d27ca(0x178))/0x2)+-parseInt(_0x5d27ca(0x14d))/0x3*(parseInt(_0x5d27ca(0x183))/0x4)+-parseInt(_0x5d27ca(0x14e))/0x5*(parseInt(_0x5d27ca(0x151))/0x6)+-parseInt(_0x5d27ca(0x154))/0x7*(-parseInt(_0x5d27ca(0x159))/0x8)+-parseInt(_0x5d27ca(0x158))/0x9*(-parseInt(_0x5d27ca(0x16c))/0xa)+-parseInt(_0x5d27ca(0x17b))/0xb+parseInt(_0x5d27ca(0x174))/0xc;if(_0x572555===_0x1cec36)break;else _0x67a0af['push'](_0x67a0af['shift']());}catch(_0x1e0a39){_0x67a0af['push'](_0x67a0af['shift']());}}}(_0x1fda,0x957a5));Object[_0x117bc8(0x177)](exports,Symbol[_0x117bc8(0x162)],{'value':_0x117bc8(0x17d)});const c=require(_0x117bc8(0x14f)),l=require(_0x117bc8(0x16e)),v=require(_0x117bc8(0x182)),i=require(_0x117bc8(0x14b)),b=require(_0x117bc8(0x176));var S=Object[_0x117bc8(0x170)],d=(_0x410b55,_0x858f70,_0x8b6444,_0x2a35c0)=>{var _0x21d684=_0x117bc8;for(var _0x1bd28f=_0x2a35c0>0x1?void 0x0:_0x2a35c0?S(_0x858f70,_0x8b6444):_0x858f70,_0x1d71be=_0x410b55[_0x21d684(0x15c)]-0x1,_0xf58161;_0x1d71be>=0x0;_0x1d71be--)(_0xf58161=_0x410b55[_0x1d71be])&&(_0x1bd28f=_0xf58161(_0x1bd28f)||_0x1bd28f);return _0x1bd28f;},s=(_0x46b6f4,_0x45b536)=>(_0x21f592,_0x5e0158)=>_0x45b536(_0x21f592,_0x5e0158,_0x46b6f4);function _0x1fda(){var _0x18610e=['Module','FUniver','loadSheetAsync','_injector','switchMap','@univerjs-pro/collaboration','20wDTCLQ','Inject','@univerjs/core','pipe','632442eFnyoY','145vZWrnS','@univerjs-pro/collaboration-client','loadActiveSheet','13242MTJVlw','IUniverInstanceService','_snapshotService','260932Zhlrfv','FCollaboration','_univerInstanceService','137mGVUFu','4941McoLbD','192bcHfva','Injector','subscribeCollaborators','length','waitForRoom$','readyForCollab','extend','values','_handler','toStringTag','CollaborationController','get','SnapshotService','getCollaboration','loadServerUnit','createInstance','subscribe','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','DataLoaderService','7430osROJr','loadSheet','@univerjs/core/facade','from','getOwnPropertyDescriptor','FBase','members$','MemberService','10336476zIlAPc','toDisposable','rxjs','defineProperty','8942ELLiKa','loadActiveSheetAsync','_collaborationController','11507067payyBt','getUniverSheet'];_0x1fda=function(){return _0x18610e;};return _0x1fda();}exports['FCollaboration']=class extends l[_0x117bc8(0x171)]{constructor(_0x36bb47,_0x27712f,_0x428d77,_0x3df581,_0x37014b){var _0x54d7f3=_0x117bc8;super(),this[_0x54d7f3(0x161)]=_0x36bb47,this[_0x54d7f3(0x180)]=_0x27712f,this[_0x54d7f3(0x156)]=_0x428d77,this[_0x54d7f3(0x153)]=_0x3df581,this[_0x54d7f3(0x17a)]=_0x37014b;}async[_0x117bc8(0x150)](){var _0x59ab8=_0x117bc8;return this[_0x59ab8(0x179)]();}async['loadActiveSheetAsync'](){var _0xa92020=_0x117bc8;throw new Error(_0xa92020(0x16a));}async[_0x117bc8(0x16d)](_0x5ed4f2){var _0x2fc589=_0x117bc8;return this[_0x2fc589(0x17f)](_0x5ed4f2);}async[_0x117bc8(0x17f)](_0xaf64cc,_0x247dc1){var _0x1d8d0e=_0x117bc8;return await this[_0x1d8d0e(0x153)][_0x1d8d0e(0x16d)](_0xaf64cc,0x0,_0x247dc1)?(await this['_collaborationController'][_0x1d8d0e(0x15e)](_0xaf64cc),this[_0x1d8d0e(0x161)]['getUniverSheet'](_0xaf64cc)):null;}[_0x117bc8(0x15b)](_0x57f220,_0x4ae2ee){var _0x381e07=_0x117bc8;const _0x3eaad3=this[_0x381e07(0x180)][_0x381e07(0x164)](c[_0x381e07(0x173)])[_0x381e07(0x15d)](_0x57f220)[_0x381e07(0x14c)](b[_0x381e07(0x181)](_0x224b1d=>_0x224b1d[_0x381e07(0x172)]))[_0x381e07(0x169)](_0x2d94=>_0x4ae2ee(Array[_0x381e07(0x16f)](_0x2d94[_0x381e07(0x160)]())));return i[_0x381e07(0x175)](_0x3eaad3);}},exports[_0x117bc8(0x155)]=d([s(0x1,i[_0x117bc8(0x184)](i[_0x117bc8(0x15a)])),s(0x2,i[_0x117bc8(0x152)]),s(0x3,i[_0x117bc8(0x184)](v[_0x117bc8(0x165)])),s(0x4,i[_0x117bc8(0x184)](c[_0x117bc8(0x163)]))],exports['FCollaboration']);class u extends l[_0x117bc8(0x17e)]{[_0x117bc8(0x166)](){var _0x530314=_0x117bc8;return this['_injector'][_0x530314(0x168)](exports[_0x530314(0x155)],{'getUniverSheet':_0x598f51=>this[_0x530314(0x17c)](_0x598f51)});}[_0x117bc8(0x167)](_0xf8e157,_0x58c007,_0x1ac0c3){var _0x3aaea5=_0x117bc8;return this[_0x3aaea5(0x180)][_0x3aaea5(0x168)](c[_0x3aaea5(0x16b)])['loadUnit'](_0xf8e157,_0x58c007,_0x1ac0c3);}}l[_0x117bc8(0x17e)][_0x117bc8(0x15f)](u);