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

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 _0x469211=_0x26ef;(function(_0x48fc9d,_0x44ce29){var _0xa6c2e3=_0x26ef,_0x448b73=_0x48fc9d();while(!![]){try{var _0x1b8ec4=parseInt(_0xa6c2e3(0xa8))/0x1+parseInt(_0xa6c2e3(0xbb))/0x2+-parseInt(_0xa6c2e3(0x9f))/0x3*(-parseInt(_0xa6c2e3(0xc8))/0x4)+-parseInt(_0xa6c2e3(0xbf))/0x5*(parseInt(_0xa6c2e3(0xb3))/0x6)+-parseInt(_0xa6c2e3(0xa3))/0x7*(parseInt(_0xa6c2e3(0xb0))/0x8)+-parseInt(_0xa6c2e3(0xc6))/0x9+-parseInt(_0xa6c2e3(0x9d))/0xa*(-parseInt(_0xa6c2e3(0xa7))/0xb);if(_0x1b8ec4===_0x44ce29)break;else _0x448b73['push'](_0x448b73['shift']());}catch(_0x36f7a5){_0x448b73['push'](_0x448b73['shift']());}}}(_0x5f02,0xdf62c));Object[_0x469211(0xc2)](exports,Symbol[_0x469211(0xa2)],{'value':_0x469211(0xc0)});const t=require(_0x469211(0xc1)),b=require(_0x469211(0xa1)),c=require(_0x469211(0xae)),v=require(_0x469211(0xc9));var h=Object[_0x469211(0xc2)],u=Object[_0x469211(0xa9)],_=(_0x4b64ba,_0x332b02,_0x216ab3,_0x3f7c66)=>{var _0x1f4405=_0x469211;for(var _0x3a521d=_0x3f7c66>0x1?void 0x0:_0x3f7c66?u(_0x332b02,_0x216ab3):_0x332b02,_0x3b67d1=_0x4b64ba[_0x1f4405(0xa6)]-0x1,_0x5dad98;_0x3b67d1>=0x0;_0x3b67d1--)(_0x5dad98=_0x4b64ba[_0x3b67d1])&&(_0x3a521d=(_0x3f7c66?_0x5dad98(_0x332b02,_0x216ab3,_0x3a521d):_0x5dad98(_0x3a521d))||_0x3a521d);return _0x3f7c66&&_0x3a521d&&h(_0x332b02,_0x216ab3,_0x3a521d),_0x3a521d;},s=(_0x19afee,_0x590d1c)=>(_0x3b0ea9,_0x165aa5)=>_0x590d1c(_0x3b0ea9,_0x165aa5,_0x19afee);function _0x5f02(){var _0x38f41b=['7271502hxDXvp','UniverInstanceType','waitForRoom$','length','121wvHrdz','389930kJhhST','getOwnPropertyDescriptor','FCollaboration','Injector','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','_injector','@univerjs-pro/collaboration-client','_collaborationController','8NBHPZg','FBase','readyForCollab','9889962mPoexO','getCollaboration','FUniver','values','CollaborationController','subscribeCollaborators','SnapshotService','members$','2033802tySacK','extend','switchMap','IUniverInstanceService','5Iyqbvh','Module','@univerjs/core','defineProperty','MemberService','_handler','_univerInstanceService','3983220cELCmA','_snapshotService','6404532esuMZb','rxjs','get','Inject','942470FkuwCg','getUniverSheet','3gdootn','from','@univerjs-pro/collaboration','toStringTag'];_0x5f02=function(){return _0x38f41b;};return _0x5f02();}exports[_0x469211(0xaa)]=class extends t[_0x469211(0xb1)]{constructor(_0x16eef4,_0x178964,_0x25f467,_0x22b859,_0x4ad268){var _0x2f4f9e=_0x469211;super(),this[_0x2f4f9e(0xc4)]=_0x16eef4,this[_0x2f4f9e(0xad)]=_0x178964,this[_0x2f4f9e(0xc5)]=_0x25f467,this['_snapshotService']=_0x22b859,this[_0x2f4f9e(0xaf)]=_0x4ad268;}async['loadActiveSheet'](){var _0x2c1e8a=_0x469211;throw new Error(_0x2c1e8a(0xac));}async['loadSheet'](_0x7a6fd0){var _0x116570=_0x469211;return this[_0x116570(0xc5)]['getUnit'](_0x7a6fd0,t[_0x116570(0xa4)]['UNIVER_SHEET'])||await this[_0x116570(0xc7)]['loadSheet'](_0x7a6fd0,0x0)?(await this[_0x116570(0xaf)][_0x116570(0xb2)](_0x7a6fd0),this[_0x116570(0xc4)]['getUniverSheet'](_0x7a6fd0)):null;}[_0x469211(0xb8)](_0x6635ba,_0x3e8992){var _0x55eb96=_0x469211;const _0x226651=this[_0x55eb96(0xad)][_0x55eb96(0x9b)](c[_0x55eb96(0xc3)])[_0x55eb96(0xa5)](_0x6635ba)['pipe'](v[_0x55eb96(0xbd)](_0x1aa339=>_0x1aa339[_0x55eb96(0xba)]))['subscribe'](_0x154b5f=>_0x3e8992(Array[_0x55eb96(0xa0)](_0x154b5f[_0x55eb96(0xb6)]())));return t['toDisposable'](_0x226651);}},exports[_0x469211(0xaa)]=_([s(0x1,t['Inject'](t[_0x469211(0xab)])),s(0x2,t[_0x469211(0xbe)]),s(0x3,t['Inject'](b[_0x469211(0xb9)])),s(0x4,t[_0x469211(0x9c)](c[_0x469211(0xb7)]))],exports['FCollaboration']);class S extends t[_0x469211(0xb5)]{[_0x469211(0xb4)](){var _0x1017de=_0x469211;return this[_0x1017de(0xad)]['createInstance'](exports[_0x1017de(0xaa)],{'getUniverSheet':_0x5c8b95=>this[_0x1017de(0x9e)](_0x5c8b95)});}}function _0x26ef(_0x289450,_0x549466){var _0x5f0295=_0x5f02();return _0x26ef=function(_0x26ef63,_0x200278){_0x26ef63=_0x26ef63-0x9b;var _0x469581=_0x5f0295[_0x26ef63];return _0x469581;},_0x26ef(_0x289450,_0x549466);}t[_0x469211(0xb5)][_0x469211(0xbc)](S);