@univerjs-pro/collaboration-client 0.5.1-nightly.202412191606 → 0.5.1-nightly.202412211605

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 _0x203398=_0x5305;(function(_0x5ea44d,_0x525b72){var _0x5d9a39=_0x5305,_0x3357ed=_0x5ea44d();while(!![]){try{var _0x27d7a3=-parseInt(_0x5d9a39(0x150))/0x1*(parseInt(_0x5d9a39(0x157))/0x2)+-parseInt(_0x5d9a39(0x153))/0x3+parseInt(_0x5d9a39(0x13a))/0x4+-parseInt(_0x5d9a39(0x15c))/0x5+parseInt(_0x5d9a39(0x143))/0x6+-parseInt(_0x5d9a39(0x154))/0x7+parseInt(_0x5d9a39(0x13d))/0x8;if(_0x27d7a3===_0x525b72)break;else _0x3357ed['push'](_0x3357ed['shift']());}catch(_0x2650e8){_0x3357ed['push'](_0x3357ed['shift']());}}}(_0x5958,0xde0f6));function _0x5958(){var _0x34ba04=['Injector','_collaborationController','readyForCollab','FUniver','loadActiveSheet','getUniverSheet','CollaborationController','extend','319qdaepx','from','Inject','4287882KMDBPH','1545264MbkWEe','_snapshotService','pipe','878QFteOu','get','MemberService','@univerjs-pro/collaboration','FCollaboration','5308835HBmjJK','values','@univerjs-pro/collaboration-client','toDisposable','subscribe','waitForRoom$','subscribeCollaborators','members$','_handler','getCollaboration','_injector','3076128VSRFZS','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','UNIVER_SHEET','9732696jbDjkK','Module','getUnit','loadSheet','getOwnPropertyDescriptor','toStringTag','10654758nGDifT','defineProperty','@univerjs/core','IUniverInstanceService','_univerInstanceService'];_0x5958=function(){return _0x34ba04;};return _0x5958();}Object['defineProperty'](exports,Symbol[_0x203398(0x142)],{'value':_0x203398(0x13e)});const t=require(_0x203398(0x145)),b=require(_0x203398(0x15a)),c=require(_0x203398(0x15e)),v=require('rxjs');var h=Object[_0x203398(0x144)],u=Object[_0x203398(0x141)],_=(_0x470669,_0x458719,_0x1f7a60,_0xe77355)=>{for(var _0x44e0a9=_0xe77355>0x1?void 0x0:_0xe77355?u(_0x458719,_0x1f7a60):_0x458719,_0x4ad402=_0x470669['length']-0x1,_0x5eefe0;_0x4ad402>=0x0;_0x4ad402--)(_0x5eefe0=_0x470669[_0x4ad402])&&(_0x44e0a9=(_0xe77355?_0x5eefe0(_0x458719,_0x1f7a60,_0x44e0a9):_0x5eefe0(_0x44e0a9))||_0x44e0a9);return _0xe77355&&_0x44e0a9&&h(_0x458719,_0x1f7a60,_0x44e0a9),_0x44e0a9;},s=(_0x5ee059,_0x1b8838)=>(_0xaf9b9,_0x12b27a)=>_0x1b8838(_0xaf9b9,_0x12b27a,_0x5ee059);exports[_0x203398(0x15b)]=class extends t['FBase']{constructor(_0x2ec184,_0x37a143,_0x4b804f,_0x2c294a,_0x10be52){var _0x3af4fb=_0x203398;super(),this['_handler']=_0x2ec184,this[_0x3af4fb(0x139)]=_0x37a143,this[_0x3af4fb(0x147)]=_0x4b804f,this[_0x3af4fb(0x155)]=_0x2c294a,this[_0x3af4fb(0x149)]=_0x10be52;}async[_0x203398(0x14c)](){var _0x372113=_0x203398;throw new Error(_0x372113(0x13b));}async[_0x203398(0x140)](_0x2e1550){var _0xbe0b5e=_0x203398;return this[_0xbe0b5e(0x147)][_0xbe0b5e(0x13f)](_0x2e1550,t['UniverInstanceType'][_0xbe0b5e(0x13c)])||await this[_0xbe0b5e(0x155)][_0xbe0b5e(0x140)](_0x2e1550,0x0)?(await this[_0xbe0b5e(0x149)][_0xbe0b5e(0x14a)](_0x2e1550),this[_0xbe0b5e(0x137)][_0xbe0b5e(0x14d)](_0x2e1550)):null;}[_0x203398(0x162)](_0x1791ed,_0x1cb6d6){var _0xdac302=_0x203398;const _0x988adf=this[_0xdac302(0x139)][_0xdac302(0x158)](c[_0xdac302(0x159)])[_0xdac302(0x161)](_0x1791ed)[_0xdac302(0x156)](v['switchMap'](_0x12c345=>_0x12c345[_0xdac302(0x163)]))[_0xdac302(0x160)](_0x53b25e=>_0x1cb6d6(Array[_0xdac302(0x151)](_0x53b25e[_0xdac302(0x15d)]())));return t[_0xdac302(0x15f)](_0x988adf);}},exports['FCollaboration']=_([s(0x1,t[_0x203398(0x152)](t[_0x203398(0x148)])),s(0x2,t[_0x203398(0x146)]),s(0x3,t[_0x203398(0x152)](b['SnapshotService'])),s(0x4,t[_0x203398(0x152)](c[_0x203398(0x14e)]))],exports['FCollaboration']);function _0x5305(_0x2c9e3f,_0x1c8454){var _0x595886=_0x5958();return _0x5305=function(_0x5305cd,_0x2af46a){_0x5305cd=_0x5305cd-0x137;var _0xae8f3a=_0x595886[_0x5305cd];return _0xae8f3a;},_0x5305(_0x2c9e3f,_0x1c8454);}class S extends t['FUniver']{[_0x203398(0x138)](){var _0xece60b=_0x203398;return this[_0xece60b(0x139)]['createInstance'](exports['FCollaboration'],{'getUniverSheet':_0x12274e=>this[_0xece60b(0x14d)](_0x12274e)});}}t[_0x203398(0x14b)][_0x203398(0x14f)](S);
1
+ 'use strict';function _0x14fa(){var _0x5c0ab0=['@univerjs/core','createInstance','extend','_snapshotService','MemberService','getUniverSheet','getCollaboration','length','CollaborationController','toDisposable','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','values','rxjs','switchMap','9663BGoizn','Injector','getOwnPropertyDescriptor','259hbBuOp','_collaborationController','UniverInstanceType','@univerjs-pro/collaboration','FCollaboration','FBase','6lMKdNc','287905ssvaFE','FUniver','468504oqhjsm','subscribeCollaborators','_univerInstanceService','8CBPSyh','SnapshotService','264100oSiodg','from','_injector','loadSheet','get','loadActiveSheet','760770NREyXz','getUnit','UNIVER_SHEET','Module','_handler','2095749pxMuPC','41874fkLbWk','IUniverInstanceService','Inject','defineProperty','subscribe','pipe'];_0x14fa=function(){return _0x5c0ab0;};return _0x14fa();}var _0x16488e=_0x35f2;(function(_0x24552f,_0xfe269f){var _0x4d6c89=_0x35f2,_0x34413b=_0x24552f();while(!![]){try{var _0x2dcfcc=parseInt(_0x4d6c89(0x1c3))/0x1*(-parseInt(_0x4d6c89(0x1cc))/0x2)+parseInt(_0x4d6c89(0x1da))/0x3+parseInt(_0x4d6c89(0x1d2))/0x4*(-parseInt(_0x4d6c89(0x1cd))/0x5)+-parseInt(_0x4d6c89(0x1e0))/0x6*(parseInt(_0x4d6c89(0x1c6))/0x7)+parseInt(_0x4d6c89(0x1cf))/0x8+parseInt(_0x4d6c89(0x1df))/0x9+parseInt(_0x4d6c89(0x1d4))/0xa;if(_0x2dcfcc===_0xfe269f)break;else _0x34413b['push'](_0x34413b['shift']());}catch(_0x2c4f26){_0x34413b['push'](_0x34413b['shift']());}}}(_0x14fa,0x2945a));Object[_0x16488e(0x1e3)](exports,Symbol['toStringTag'],{'value':_0x16488e(0x1dd)});const t=require(_0x16488e(0x1e6)),b=require(_0x16488e(0x1c9)),c=require('@univerjs-pro/collaboration-client'),v=require(_0x16488e(0x1c1));function _0x35f2(_0xd44df,_0x1a4310){var _0x14fad9=_0x14fa();return _0x35f2=function(_0x35f2b0,_0x2326c6){_0x35f2b0=_0x35f2b0-0x1be;var _0x148595=_0x14fad9[_0x35f2b0];return _0x148595;},_0x35f2(_0xd44df,_0x1a4310);}var h=Object[_0x16488e(0x1e3)],u=Object[_0x16488e(0x1c5)],_=(_0xb58657,_0x3222fe,_0x3a01a0,_0x44cf90)=>{var _0x4f6c28=_0x16488e;for(var _0x41cd43=_0x44cf90>0x1?void 0x0:_0x44cf90?u(_0x3222fe,_0x3a01a0):_0x3222fe,_0x186419=_0xb58657[_0x4f6c28(0x1ed)]-0x1,_0x5150c7;_0x186419>=0x0;_0x186419--)(_0x5150c7=_0xb58657[_0x186419])&&(_0x41cd43=(_0x44cf90?_0x5150c7(_0x3222fe,_0x3a01a0,_0x41cd43):_0x5150c7(_0x41cd43))||_0x41cd43);return _0x44cf90&&_0x41cd43&&h(_0x3222fe,_0x3a01a0,_0x41cd43),_0x41cd43;},s=(_0x5d6ae8,_0x5d66db)=>(_0xbbb0b8,_0x298fa)=>_0x5d66db(_0xbbb0b8,_0x298fa,_0x5d6ae8);exports['FCollaboration']=class extends t[_0x16488e(0x1cb)]{constructor(_0x5c6010,_0x2b6bfe,_0x2a414f,_0x2a43ea,_0x1b5f84){var _0x41850d=_0x16488e;super(),this[_0x41850d(0x1de)]=_0x5c6010,this[_0x41850d(0x1d6)]=_0x2b6bfe,this[_0x41850d(0x1d1)]=_0x2a414f,this['_snapshotService']=_0x2a43ea,this['_collaborationController']=_0x1b5f84;}async[_0x16488e(0x1d9)](){var _0xa793e5=_0x16488e;throw new Error(_0xa793e5(0x1bf));}async[_0x16488e(0x1d7)](_0x160191){var _0xe427b4=_0x16488e;return this[_0xe427b4(0x1d1)][_0xe427b4(0x1db)](_0x160191,t[_0xe427b4(0x1c8)][_0xe427b4(0x1dc)])||await this[_0xe427b4(0x1e9)][_0xe427b4(0x1d7)](_0x160191,0x0)?(await this[_0xe427b4(0x1c7)]['readyForCollab'](_0x160191),this['_handler'][_0xe427b4(0x1eb)](_0x160191)):null;}[_0x16488e(0x1d0)](_0x4e77ff,_0x458ddd){var _0x5c8d54=_0x16488e;const _0x2dd5a8=this[_0x5c8d54(0x1d6)][_0x5c8d54(0x1d8)](c[_0x5c8d54(0x1ea)])['waitForRoom$'](_0x4e77ff)[_0x5c8d54(0x1e5)](v[_0x5c8d54(0x1c2)](_0x18dbfa=>_0x18dbfa['members$']))[_0x5c8d54(0x1e4)](_0x5bf3bb=>_0x458ddd(Array[_0x5c8d54(0x1d5)](_0x5bf3bb[_0x5c8d54(0x1c0)]())));return t[_0x5c8d54(0x1be)](_0x2dd5a8);}},exports['FCollaboration']=_([s(0x1,t[_0x16488e(0x1e2)](t[_0x16488e(0x1c4)])),s(0x2,t[_0x16488e(0x1e1)]),s(0x3,t[_0x16488e(0x1e2)](b[_0x16488e(0x1d3)])),s(0x4,t[_0x16488e(0x1e2)](c[_0x16488e(0x1ee)]))],exports[_0x16488e(0x1ca)]);class S extends t[_0x16488e(0x1ce)]{[_0x16488e(0x1ec)](){var _0x394294=_0x16488e;return this[_0x394294(0x1d6)][_0x394294(0x1e7)](exports['FCollaboration'],{'getUniverSheet':_0x9e620d=>this[_0x394294(0x1eb)](_0x9e620d)});}}t['FUniver'][_0x16488e(0x1e8)](S);