@univerjs-pro/collaboration-client 0.5.1-nightly.202412180944 → 0.5.1-nightly.202412181606

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 _0x10ea08=_0x5009;(function(_0x3227b2,_0xc907a5){var _0x19c16b=_0x5009,_0x2fabb0=_0x3227b2();while(!![]){try{var _0x56eb99=-parseInt(_0x19c16b(0x1a0))/0x1*(-parseInt(_0x19c16b(0x19f))/0x2)+-parseInt(_0x19c16b(0x195))/0x3*(-parseInt(_0x19c16b(0x18d))/0x4)+parseInt(_0x19c16b(0x19a))/0x5+parseInt(_0x19c16b(0x180))/0x6+-parseInt(_0x19c16b(0x19c))/0x7*(-parseInt(_0x19c16b(0x1a8))/0x8)+-parseInt(_0x19c16b(0x1a2))/0x9+parseInt(_0x19c16b(0x193))/0xa*(-parseInt(_0x19c16b(0x18f))/0xb);if(_0x56eb99===_0xc907a5)break;else _0x2fabb0['push'](_0x2fabb0['shift']());}catch(_0x35da0e){_0x2fabb0['push'](_0x2fabb0['shift']());}}}(_0x3766,0xc03e5));Object[_0x10ea08(0x188)](exports,Symbol['toStringTag'],{'value':_0x10ea08(0x183)});const t=require(_0x10ea08(0x190)),b=require(_0x10ea08(0x199)),c=require('@univerjs-pro/collaboration-client'),v=require('rxjs');var h=Object[_0x10ea08(0x188)],u=Object['getOwnPropertyDescriptor'],_=(_0x3d846d,_0x2bd0d0,_0x11a9f1,_0x45e8f2)=>{var _0xb86391=_0x10ea08;for(var _0x436059=_0x45e8f2>0x1?void 0x0:_0x45e8f2?u(_0x2bd0d0,_0x11a9f1):_0x2bd0d0,_0x24371c=_0x3d846d[_0xb86391(0x192)]-0x1,_0x5cd80e;_0x24371c>=0x0;_0x24371c--)(_0x5cd80e=_0x3d846d[_0x24371c])&&(_0x436059=(_0x45e8f2?_0x5cd80e(_0x2bd0d0,_0x11a9f1,_0x436059):_0x5cd80e(_0x436059))||_0x436059);return _0x45e8f2&&_0x436059&&h(_0x2bd0d0,_0x11a9f1,_0x436059),_0x436059;},s=(_0x1f9504,_0x298cc7)=>(_0x31a8ec,_0x1b2b76)=>_0x298cc7(_0x31a8ec,_0x1b2b76,_0x1f9504);function _0x5009(_0x824462,_0x434409){var _0x3766fd=_0x3766();return _0x5009=function(_0x5009ed,_0x5d28f4){_0x5009ed=_0x5009ed-0x17f;var _0x50b6bf=_0x3766fd[_0x5009ed];return _0x50b6bf;},_0x5009(_0x824462,_0x434409);}exports[_0x10ea08(0x186)]=class extends t[_0x10ea08(0x18b)]{constructor(_0x4f24b7,_0x5dfa90,_0x364ab4,_0x3c4ddf,_0x127729){var _0x421985=_0x10ea08;super(),this[_0x421985(0x18a)]=_0x4f24b7,this[_0x421985(0x18e)]=_0x5dfa90,this[_0x421985(0x19b)]=_0x364ab4,this[_0x421985(0x19d)]=_0x3c4ddf,this[_0x421985(0x1a3)]=_0x127729;}async['loadActiveSheet'](){var _0x19a380=_0x10ea08;throw new Error(_0x19a380(0x19e));}async['loadSheet'](_0x172b86){var _0x28c6a6=_0x10ea08;return this[_0x28c6a6(0x19b)][_0x28c6a6(0x1a1)](_0x172b86,t[_0x28c6a6(0x196)][_0x28c6a6(0x184)])||await this[_0x28c6a6(0x19d)][_0x28c6a6(0x1a4)](_0x172b86,0x0)?(await this[_0x28c6a6(0x1a3)][_0x28c6a6(0x181)](_0x172b86),this[_0x28c6a6(0x18a)][_0x28c6a6(0x194)](_0x172b86)):null;}[_0x10ea08(0x198)](_0x5c689d,_0x4197fa){var _0x3848ed=_0x10ea08;const _0x48ed36=this[_0x3848ed(0x18e)][_0x3848ed(0x182)](c['MemberService'])[_0x3848ed(0x1a6)](_0x5c689d)[_0x3848ed(0x197)](v['switchMap'](_0x2fb53e=>_0x2fb53e['members$']))[_0x3848ed(0x1a5)](_0x553836=>_0x4197fa(Array['from'](_0x553836[_0x3848ed(0x185)]())));return t['toDisposable'](_0x48ed36);}},exports[_0x10ea08(0x186)]=_([s(0x1,t[_0x10ea08(0x191)](t[_0x10ea08(0x187)])),s(0x2,t[_0x10ea08(0x189)]),s(0x3,t[_0x10ea08(0x191)](b['SnapshotService'])),s(0x4,t[_0x10ea08(0x191)](c['CollaborationController']))],exports['FCollaboration']);class S extends t[_0x10ea08(0x1a7)]{[_0x10ea08(0x17f)](){var _0x4c4161=_0x10ea08;return this[_0x4c4161(0x18e)][_0x4c4161(0x18c)](exports['FCollaboration'],{'getUniverSheet':_0xb1c9fe=>this[_0x4c4161(0x194)](_0xb1c9fe)});}}t['FUniver']['extend'](S);function _0x3766(){var _0xb22373=['Inject','length','23046650RGsVmy','getUniverSheet','3164958ESIdto','UniverInstanceType','pipe','subscribeCollaborators','@univerjs-pro/collaboration','5036840OrfGuA','_univerInstanceService','35609GVSLKu','_snapshotService','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','118554Ddgmkb','10QYUlfn','getUnit','5387238WSqMlg','_collaborationController','loadSheet','subscribe','waitForRoom$','FUniver','1416uVBVSQ','getCollaboration','810918SUtlOm','readyForCollab','get','Module','UNIVER_SHEET','values','FCollaboration','Injector','defineProperty','IUniverInstanceService','_handler','FBase','createInstance','4ecdQyf','_injector','11YYMrur','@univerjs/core'];_0x3766=function(){return _0xb22373;};return _0x3766();}
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);