@univerjs-pro/collaboration-client 0.5.1-nightly.202412181606 → 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 _0x12c702=_0x8b73;(function(_0x438813,_0x5f1295){var _0x16ffe8=_0x8b73,_0x33a0a3=_0x438813();while(!![]){try{var _0x17371f=-parseInt(_0x16ffe8(0x166))/0x1+-parseInt(_0x16ffe8(0x16b))/0x2*(parseInt(_0x16ffe8(0x149))/0x3)+-parseInt(_0x16ffe8(0x15e))/0x4+parseInt(_0x16ffe8(0x13e))/0x5*(parseInt(_0x16ffe8(0x169))/0x6)+parseInt(_0x16ffe8(0x160))/0x7*(parseInt(_0x16ffe8(0x15c))/0x8)+-parseInt(_0x16ffe8(0x153))/0x9*(-parseInt(_0x16ffe8(0x165))/0xa)+parseInt(_0x16ffe8(0x154))/0xb*(parseInt(_0x16ffe8(0x148))/0xc);if(_0x17371f===_0x5f1295)break;else _0x33a0a3['push'](_0x33a0a3['shift']());}catch(_0x1bd291){_0x33a0a3['push'](_0x33a0a3['shift']());}}}(_0x1ed9,0xf0ea5));Object[_0x12c702(0x156)](exports,Symbol[_0x12c702(0x16c)],{'value':'Module'});const t=require(_0x12c702(0x146)),b=require(_0x12c702(0x144)),c=require('@univerjs-pro/collaboration-client'),v=require('rxjs');var h=Object[_0x12c702(0x156)],u=Object[_0x12c702(0x14d)],_=(_0x319e92,_0x5d7d91,_0x437158,_0xa8fe45)=>{var _0x58d652=_0x12c702;for(var _0x5031e4=_0xa8fe45>0x1?void 0x0:_0xa8fe45?u(_0x5d7d91,_0x437158):_0x5d7d91,_0x4c33ea=_0x319e92[_0x58d652(0x140)]-0x1,_0x2d8377;_0x4c33ea>=0x0;_0x4c33ea--)(_0x2d8377=_0x319e92[_0x4c33ea])&&(_0x5031e4=(_0xa8fe45?_0x2d8377(_0x5d7d91,_0x437158,_0x5031e4):_0x2d8377(_0x5031e4))||_0x5031e4);return _0xa8fe45&&_0x5031e4&&h(_0x5d7d91,_0x437158,_0x5031e4),_0x5031e4;},s=(_0x1e9f7b,_0xe974f)=>(_0x17924f,_0x426752)=>_0xe974f(_0x17924f,_0x426752,_0x1e9f7b);function _0x1ed9(){var _0x3c680a=['getUnit','getUniverSheet','2032VDXLdn','_handler','6699872ixKmSQ','_injector','17129PINOXY','loadSheet','Injector','getCollaboration','createInstance','1605880ZjELuv','1452372plltIM','extend','_univerInstanceService','6skgItf','waitForRoom$','697174iokYSe','toStringTag','9613580SnNdgk','Inject','length','members$','MemberService','readyForCollab','@univerjs-pro/collaboration','subscribeCollaborators','@univerjs/core','subscribe','24Uyoihb','3YMIcJh','CollaborationController','UniverInstanceType','pipe','getOwnPropertyDescriptor','switchMap','_snapshotService','FUniver','SnapshotService','_collaborationController','81LAxKQR','2602435JSKkOy','FCollaboration','defineProperty','values','get','FBase'];_0x1ed9=function(){return _0x3c680a;};return _0x1ed9();}exports[_0x12c702(0x155)]=class extends t[_0x12c702(0x159)]{constructor(_0x35156a,_0x204b22,_0x4bf518,_0xdb852c,_0xdc98ab){var _0x2df5e1=_0x12c702;super(),this[_0x2df5e1(0x15d)]=_0x35156a,this[_0x2df5e1(0x15f)]=_0x204b22,this['_univerInstanceService']=_0x4bf518,this[_0x2df5e1(0x14f)]=_0xdb852c,this[_0x2df5e1(0x152)]=_0xdc98ab;}async['loadActiveSheet'](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async['loadSheet'](_0x14a1cb){var _0x2673f4=_0x12c702;return this[_0x2673f4(0x168)][_0x2673f4(0x15a)](_0x14a1cb,t[_0x2673f4(0x14b)]['UNIVER_SHEET'])||await this[_0x2673f4(0x14f)][_0x2673f4(0x161)](_0x14a1cb,0x0)?(await this[_0x2673f4(0x152)][_0x2673f4(0x143)](_0x14a1cb),this['_handler'][_0x2673f4(0x15b)](_0x14a1cb)):null;}[_0x12c702(0x145)](_0xa77baa,_0x228951){var _0xb8aa28=_0x12c702;const _0x437cb4=this[_0xb8aa28(0x15f)][_0xb8aa28(0x158)](c[_0xb8aa28(0x142)])[_0xb8aa28(0x16a)](_0xa77baa)[_0xb8aa28(0x14c)](v[_0xb8aa28(0x14e)](_0xefc05e=>_0xefc05e[_0xb8aa28(0x141)]))[_0xb8aa28(0x147)](_0x311ec7=>_0x228951(Array['from'](_0x311ec7[_0xb8aa28(0x157)]())));return t['toDisposable'](_0x437cb4);}},exports[_0x12c702(0x155)]=_([s(0x1,t[_0x12c702(0x13f)](t[_0x12c702(0x162)])),s(0x2,t['IUniverInstanceService']),s(0x3,t[_0x12c702(0x13f)](b[_0x12c702(0x151)])),s(0x4,t[_0x12c702(0x13f)](c[_0x12c702(0x14a)]))],exports[_0x12c702(0x155)]);function _0x8b73(_0x42e101,_0x3121b8){var _0x1ed919=_0x1ed9();return _0x8b73=function(_0x8b73ef,_0x43f4bd){_0x8b73ef=_0x8b73ef-0x13e;var _0x42944e=_0x1ed919[_0x8b73ef];return _0x42944e;},_0x8b73(_0x42e101,_0x3121b8);}class S extends t[_0x12c702(0x150)]{[_0x12c702(0x163)](){var _0x3fc603=_0x12c702;return this[_0x3fc603(0x15f)][_0x3fc603(0x164)](exports[_0x3fc603(0x155)],{'getUniverSheet':_0x36b5ce=>this[_0x3fc603(0x15b)](_0x36b5ce)});}}t[_0x12c702(0x150)][_0x12c702(0x167)](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);