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

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 _0x32cbe7=_0x14c8;(function(_0x118d42,_0x1ebf25){var _0x5b4fd0=_0x14c8,_0xc59269=_0x118d42();while(!![]){try{var _0x4fea6f=parseInt(_0x5b4fd0(0x1ba))/0x1+parseInt(_0x5b4fd0(0x1b7))/0x2+-parseInt(_0x5b4fd0(0x1bf))/0x3+-parseInt(_0x5b4fd0(0x1a2))/0x4+parseInt(_0x5b4fd0(0x19f))/0x5+parseInt(_0x5b4fd0(0x19c))/0x6*(parseInt(_0x5b4fd0(0x197))/0x7)+-parseInt(_0x5b4fd0(0x1ad))/0x8;if(_0x4fea6f===_0x1ebf25)break;else _0xc59269['push'](_0xc59269['shift']());}catch(_0x471d83){_0xc59269['push'](_0xc59269['shift']());}}}(_0x43b2,0xb741e));Object[_0x32cbe7(0x1ab)](exports,Symbol['toStringTag'],{'value':'Module'});function _0x14c8(_0x3c2e28,_0x4e4066){var _0x43b26e=_0x43b2();return _0x14c8=function(_0x14c8f8,_0x243bea){_0x14c8f8=_0x14c8f8-0x197;var _0x4c4438=_0x43b26e[_0x14c8f8];return _0x4c4438;},_0x14c8(_0x3c2e28,_0x4e4066);}const t=require(_0x32cbe7(0x1b0)),b=require(_0x32cbe7(0x1a1)),c=require(_0x32cbe7(0x1bb)),v=require(_0x32cbe7(0x1af));var h=Object[_0x32cbe7(0x1ab)],u=Object['getOwnPropertyDescriptor'],_=(_0x4348ca,_0x135e01,_0x32ab11,_0x2b3d7a)=>{var _0x523261=_0x32cbe7;for(var _0xd93b7f=_0x2b3d7a>0x1?void 0x0:_0x2b3d7a?u(_0x135e01,_0x32ab11):_0x135e01,_0xe89cfc=_0x4348ca[_0x523261(0x1b9)]-0x1,_0x292d06;_0xe89cfc>=0x0;_0xe89cfc--)(_0x292d06=_0x4348ca[_0xe89cfc])&&(_0xd93b7f=(_0x2b3d7a?_0x292d06(_0x135e01,_0x32ab11,_0xd93b7f):_0x292d06(_0xd93b7f))||_0xd93b7f);return _0x2b3d7a&&_0xd93b7f&&h(_0x135e01,_0x32ab11,_0xd93b7f),_0xd93b7f;},s=(_0x530575,_0x1ef598)=>(_0x188d37,_0x508c1a)=>_0x1ef598(_0x188d37,_0x508c1a,_0x530575);exports[_0x32cbe7(0x19a)]=class extends t[_0x32cbe7(0x1b2)]{constructor(_0x925382,_0x33f106,_0x591026,_0x12e843,_0x49195c){var _0xb931a3=_0x32cbe7;super(),this['_handler']=_0x925382,this['_injector']=_0x33f106,this['_univerInstanceService']=_0x591026,this[_0xb931a3(0x198)]=_0x12e843,this['_collaborationController']=_0x49195c;}async['loadActiveSheet'](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async[_0x32cbe7(0x1a9)](_0x281e02){var _0xeefcc2=_0x32cbe7;return this[_0xeefcc2(0x1be)][_0xeefcc2(0x1b1)](_0x281e02,t[_0xeefcc2(0x1a5)]['UNIVER_SHEET'])||await this[_0xeefcc2(0x198)][_0xeefcc2(0x1a9)](_0x281e02,0x0)?(await this['_collaborationController'][_0xeefcc2(0x1aa)](_0x281e02),this[_0xeefcc2(0x1c1)][_0xeefcc2(0x1bd)](_0x281e02)):null;}[_0x32cbe7(0x1c0)](_0x293d73,_0x35ffdc){var _0xab686c=_0x32cbe7;const _0x3d6e67=this['_injector'][_0xab686c(0x1a8)](c[_0xab686c(0x1a3)])[_0xab686c(0x19d)](_0x293d73)[_0xab686c(0x19b)](v[_0xab686c(0x1bc)](_0x510b71=>_0x510b71[_0xab686c(0x1a4)]))[_0xab686c(0x1ac)](_0x4f4759=>_0x35ffdc(Array[_0xab686c(0x1a0)](_0x4f4759[_0xab686c(0x1b8)]())));return t[_0xab686c(0x199)](_0x3d6e67);}},exports[_0x32cbe7(0x19a)]=_([s(0x1,t[_0x32cbe7(0x1a6)](t[_0x32cbe7(0x1b3)])),s(0x2,t[_0x32cbe7(0x19e)]),s(0x3,t[_0x32cbe7(0x1a6)](b[_0x32cbe7(0x1b4)])),s(0x4,t[_0x32cbe7(0x1a6)](c['CollaborationController']))],exports[_0x32cbe7(0x19a)]);function _0x43b2(){var _0x1b1835=['FBase','Injector','SnapshotService','createInstance','_injector','1471262YUUDiu','values','length','802493qpAPBq','@univerjs-pro/collaboration-client','switchMap','getUniverSheet','_univerInstanceService','1122717kZBFsg','subscribeCollaborators','_handler','7gwQTnW','_snapshotService','toDisposable','FCollaboration','pipe','1514706WYWbad','waitForRoom$','IUniverInstanceService','2138010Vecgja','from','@univerjs-pro/collaboration','3780628Ihmich','MemberService','members$','UniverInstanceType','Inject','FUniver','get','loadSheet','readyForCollab','defineProperty','subscribe','1185272XnksTK','getCollaboration','rxjs','@univerjs/core','getUnit'];_0x43b2=function(){return _0x1b1835;};return _0x43b2();}class S extends t[_0x32cbe7(0x1a7)]{[_0x32cbe7(0x1ae)](){var _0x5a6b2c=_0x32cbe7;return this[_0x5a6b2c(0x1b6)][_0x5a6b2c(0x1b5)](exports[_0x5a6b2c(0x19a)],{'getUniverSheet':_0x3f9e60=>this[_0x5a6b2c(0x1bd)](_0x3f9e60)});}}t['FUniver']['extend'](S);
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);