@univerjs-pro/collaboration-client 0.5.2-nightly.202501031606 → 0.5.3-experimental.20250106-e3b7a39

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 _0x446ee6=_0x369d;(function(_0x28c9d2,_0x30846e){var _0x5cd397=_0x369d,_0xeadf47=_0x28c9d2();while(!![]){try{var _0x4374ea=parseInt(_0x5cd397(0x187))/0x1*(-parseInt(_0x5cd397(0x192))/0x2)+parseInt(_0x5cd397(0x17b))/0x3*(-parseInt(_0x5cd397(0x174))/0x4)+parseInt(_0x5cd397(0x17c))/0x5*(parseInt(_0x5cd397(0x181))/0x6)+parseInt(_0x5cd397(0x16e))/0x7*(-parseInt(_0x5cd397(0x186))/0x8)+-parseInt(_0x5cd397(0x18e))/0x9+-parseInt(_0x5cd397(0x195))/0xa*(parseInt(_0x5cd397(0x171))/0xb)+-parseInt(_0x5cd397(0x197))/0xc*(-parseInt(_0x5cd397(0x17a))/0xd);if(_0x4374ea===_0x30846e)break;else _0xeadf47['push'](_0xeadf47['shift']());}catch(_0x47b40b){_0xeadf47['push'](_0xeadf47['shift']());}}}(_0x265d,0x84b2c));function _0x265d(){var _0x2bcfe6=['CollaborationController','FBase','13ZREnyC','45TeGBby','1086700OTcoil','@univerjs-pro/collaboration','_snapshotService','length','loadSheet','12PxeLuM','extend','toDisposable','waitForRoom$','getUnit','681232ntVAhO','22778dravha','subscribe','FUniver','defineProperty','getUniverSheet','FCollaboration','toStringTag','1073007xfCvly','members$','values','@univerjs/core','56ObKCaf','from','IUniverInstanceService','70yUaDxV','createInstance','22485084mVorAJ','getOwnPropertyDescriptor','rxjs','switchMap','SnapshotService','Inject','subscribeCollaborators','Injector','readyForCollab','_handler','7okXmtT','get','Module','812867fAwKdD','MemberService','_univerInstanceService','108124eLTkxy','_collaborationController','_injector','pipe'];_0x265d=function(){return _0x2bcfe6;};return _0x265d();}Object['defineProperty'](exports,Symbol[_0x446ee6(0x18d)],{'value':_0x446ee6(0x170)});const t=require(_0x446ee6(0x191)),b=require(_0x446ee6(0x17d)),c=require('@univerjs-pro/collaboration-client'),v=require(_0x446ee6(0x166));function _0x369d(_0x2d4518,_0x37bdb2){var _0x265d97=_0x265d();return _0x369d=function(_0x369d5b,_0x38fe59){_0x369d5b=_0x369d5b-0x166;var _0x52d457=_0x265d97[_0x369d5b];return _0x52d457;},_0x369d(_0x2d4518,_0x37bdb2);}var h=Object[_0x446ee6(0x18a)],u=Object[_0x446ee6(0x198)],_=(_0x76597d,_0x31020b,_0x45b934,_0x3b9ef4)=>{var _0x2ea68e=_0x446ee6;for(var _0x425321=_0x3b9ef4>0x1?void 0x0:_0x3b9ef4?u(_0x31020b,_0x45b934):_0x31020b,_0x17eac3=_0x76597d[_0x2ea68e(0x17f)]-0x1,_0x38d1c8;_0x17eac3>=0x0;_0x17eac3--)(_0x38d1c8=_0x76597d[_0x17eac3])&&(_0x425321=(_0x3b9ef4?_0x38d1c8(_0x31020b,_0x45b934,_0x425321):_0x38d1c8(_0x425321))||_0x425321);return _0x3b9ef4&&_0x425321&&h(_0x31020b,_0x45b934,_0x425321),_0x425321;},s=(_0x1731ac,_0x464ef8)=>(_0x47d0d2,_0x277e7a)=>_0x464ef8(_0x47d0d2,_0x277e7a,_0x1731ac);exports['FCollaboration']=class extends t[_0x446ee6(0x179)]{constructor(_0x3e18b2,_0x30645f,_0xc0c105,_0x261feb,_0xa9e2b9){var _0x33ab05=_0x446ee6;super(),this[_0x33ab05(0x16d)]=_0x3e18b2,this[_0x33ab05(0x176)]=_0x30645f,this[_0x33ab05(0x173)]=_0xc0c105,this['_snapshotService']=_0x261feb,this[_0x33ab05(0x175)]=_0xa9e2b9;}async['loadActiveSheet'](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async[_0x446ee6(0x180)](_0x516a69){var _0x108cf4=_0x446ee6;return this[_0x108cf4(0x173)][_0x108cf4(0x185)](_0x516a69,t['UniverInstanceType']['UNIVER_SHEET'])||await this[_0x108cf4(0x17e)][_0x108cf4(0x180)](_0x516a69,0x0)?(await this[_0x108cf4(0x175)][_0x108cf4(0x16c)](_0x516a69),this['_handler']['getUniverSheet'](_0x516a69)):null;}[_0x446ee6(0x16a)](_0x2f6924,_0x5a60eb){var _0x1047d0=_0x446ee6;const _0x18dd12=this['_injector'][_0x1047d0(0x16f)](c[_0x1047d0(0x172)])[_0x1047d0(0x184)](_0x2f6924)[_0x1047d0(0x177)](v[_0x1047d0(0x167)](_0x608a85=>_0x608a85[_0x1047d0(0x18f)]))[_0x1047d0(0x188)](_0x1f98df=>_0x5a60eb(Array[_0x1047d0(0x193)](_0x1f98df[_0x1047d0(0x190)]())));return t[_0x1047d0(0x183)](_0x18dd12);}},exports[_0x446ee6(0x18c)]=_([s(0x1,t[_0x446ee6(0x169)](t[_0x446ee6(0x16b)])),s(0x2,t[_0x446ee6(0x194)]),s(0x3,t[_0x446ee6(0x169)](b[_0x446ee6(0x168)])),s(0x4,t[_0x446ee6(0x169)](c[_0x446ee6(0x178)]))],exports[_0x446ee6(0x18c)]);class S extends t[_0x446ee6(0x189)]{['getCollaboration'](){var _0x55f378=_0x446ee6;return this[_0x55f378(0x176)][_0x55f378(0x196)](exports['FCollaboration'],{'getUniverSheet':_0x5bc35b=>this[_0x55f378(0x18b)](_0x5bc35b)});}}t[_0x446ee6(0x189)][_0x446ee6(0x182)](S);
1
+ 'use strict';function _0x29e6(_0x5cb682,_0x341f8d){var _0x3762cd=_0x3762();return _0x29e6=function(_0x29e6ae,_0x314f54){_0x29e6ae=_0x29e6ae-0x1b8;var _0x1526bd=_0x3762cd[_0x29e6ae];return _0x1526bd;},_0x29e6(_0x5cb682,_0x341f8d);}var _0x15c4ab=_0x29e6;(function(_0x29ad2e,_0x2d3108){var _0x22fe3d=_0x29e6,_0x5e9d55=_0x29ad2e();while(!![]){try{var _0x43976f=parseInt(_0x22fe3d(0x1d7))/0x1+-parseInt(_0x22fe3d(0x1bb))/0x2+parseInt(_0x22fe3d(0x1da))/0x3+-parseInt(_0x22fe3d(0x1c9))/0x4*(parseInt(_0x22fe3d(0x1b8))/0x5)+-parseInt(_0x22fe3d(0x1d9))/0x6*(parseInt(_0x22fe3d(0x1cb))/0x7)+-parseInt(_0x22fe3d(0x1bf))/0x8+parseInt(_0x22fe3d(0x1df))/0x9;if(_0x43976f===_0x2d3108)break;else _0x5e9d55['push'](_0x5e9d55['shift']());}catch(_0x33b4f6){_0x5e9d55['push'](_0x5e9d55['shift']());}}}(_0x3762,0x2f95e));Object['defineProperty'](exports,Symbol[_0x15c4ab(0x1c3)],{'value':_0x15c4ab(0x1c5)});const t=require(_0x15c4ab(0x1c8)),b=require(_0x15c4ab(0x1c1)),c=require(_0x15c4ab(0x1c7)),v=require(_0x15c4ab(0x1e1));function _0x3762(){var _0x52319d=['283921BuDMNV','_univerInstanceService','3522ZzcYFR','73647FbaUJj','get','FUniver','extend','getCollaboration','6259833gUTZtz','subscribe','rxjs','FCollaboration','getOwnPropertyDescriptor','5fqczTI','readyForCollab','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','351142IthYJS','UNIVER_SHEET','_handler','pipe','2508320VTCipP','toDisposable','@univerjs-pro/collaboration','Injector','toStringTag','loadActiveSheet','Module','createInstance','@univerjs-pro/collaboration-client','@univerjs/core','488668ADoJgR','_injector','2359YZtstK','from','getUnit','CollaborationController','defineProperty','SnapshotService','MemberService','_collaborationController','FBase','getUniverSheet','loadSheet','members$'];_0x3762=function(){return _0x52319d;};return _0x3762();}var h=Object[_0x15c4ab(0x1cf)],u=Object[_0x15c4ab(0x1e3)],_=(_0x161ed8,_0x5d7aa8,_0x3e875a,_0x2cb141)=>{for(var _0xd8b1cb=_0x2cb141>0x1?void 0x0:_0x2cb141?u(_0x5d7aa8,_0x3e875a):_0x5d7aa8,_0x500f18=_0x161ed8['length']-0x1,_0x2e6d1f;_0x500f18>=0x0;_0x500f18--)(_0x2e6d1f=_0x161ed8[_0x500f18])&&(_0xd8b1cb=(_0x2cb141?_0x2e6d1f(_0x5d7aa8,_0x3e875a,_0xd8b1cb):_0x2e6d1f(_0xd8b1cb))||_0xd8b1cb);return _0x2cb141&&_0xd8b1cb&&h(_0x5d7aa8,_0x3e875a,_0xd8b1cb),_0xd8b1cb;},s=(_0x585899,_0x18b9b2)=>(_0x1cea6e,_0x18e0ff)=>_0x18b9b2(_0x1cea6e,_0x18e0ff,_0x585899);exports[_0x15c4ab(0x1e2)]=class extends t[_0x15c4ab(0x1d3)]{constructor(_0x4ff016,_0x22ffde,_0x55e157,_0xb6172c,_0x2600b8){var _0x159ebb=_0x15c4ab;super(),this[_0x159ebb(0x1bd)]=_0x4ff016,this[_0x159ebb(0x1ca)]=_0x22ffde,this[_0x159ebb(0x1d8)]=_0x55e157,this['_snapshotService']=_0xb6172c,this['_collaborationController']=_0x2600b8;}async[_0x15c4ab(0x1c4)](){var _0x1f4ada=_0x15c4ab;throw new Error(_0x1f4ada(0x1ba));}async[_0x15c4ab(0x1d5)](_0x33baf0){var _0x41c9c9=_0x15c4ab;return this[_0x41c9c9(0x1d8)][_0x41c9c9(0x1cd)](_0x33baf0,t['UniverInstanceType'][_0x41c9c9(0x1bc)])||await this['_snapshotService'][_0x41c9c9(0x1d5)](_0x33baf0,0x0)?(await this[_0x41c9c9(0x1d2)][_0x41c9c9(0x1b9)](_0x33baf0),this[_0x41c9c9(0x1bd)][_0x41c9c9(0x1d4)](_0x33baf0)):null;}['subscribeCollaborators'](_0x18051b,_0x541bff){var _0x4cbb42=_0x15c4ab;const _0x440d9b=this[_0x4cbb42(0x1ca)][_0x4cbb42(0x1db)](c[_0x4cbb42(0x1d1)])['waitForRoom$'](_0x18051b)[_0x4cbb42(0x1be)](v['switchMap'](_0x5b44bf=>_0x5b44bf[_0x4cbb42(0x1d6)]))[_0x4cbb42(0x1e0)](_0x3753d3=>_0x541bff(Array[_0x4cbb42(0x1cc)](_0x3753d3['values']())));return t[_0x4cbb42(0x1c0)](_0x440d9b);}},exports[_0x15c4ab(0x1e2)]=_([s(0x1,t['Inject'](t[_0x15c4ab(0x1c2)])),s(0x2,t['IUniverInstanceService']),s(0x3,t['Inject'](b[_0x15c4ab(0x1d0)])),s(0x4,t['Inject'](c[_0x15c4ab(0x1ce)]))],exports['FCollaboration']);class S extends t[_0x15c4ab(0x1dc)]{[_0x15c4ab(0x1de)](){var _0xeeb087=_0x15c4ab;return this[_0xeeb087(0x1ca)][_0xeeb087(0x1c6)](exports[_0xeeb087(0x1e2)],{'getUniverSheet':_0x25c3b0=>this['getUniverSheet'](_0x25c3b0)});}}t[_0x15c4ab(0x1dc)][_0x15c4ab(0x1dd)](S);