@univerjs-pro/collaboration-client 0.5.2-nightly.202412281605 → 0.5.2-nightly.202412291605

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 _0x32b327=_0x1b17;function _0x322e(){var _0x475879=['3334752yJtkoD','FBase','loadSheet','rxjs','loadActiveSheet','@univerjs/core','createInstance','1706916NcLoFA','IUniverInstanceService','pipe','372245rNUwKX','@univerjs-pro/collaboration-client','getOwnPropertyDescriptor','1243GcDiju','getUniverSheet','20sAOnAz','readyForCollab','Injector','_collaborationController','Inject','subscribe','extend','SnapshotService','_snapshotService','from','_handler','defineProperty','8715YDmacw','MemberService','CollaborationController','values','getCollaboration','UniverInstanceType','FCollaboration','_injector','FUniver','1848KHjreI','UNIVER_SHEET','9qPaWPI','getUnit','7148370NliRsF','_univerInstanceService','241884IGjPYB','subscribeCollaborators','length','waitForRoom$','18534xBMWau','96bdaJLs'];_0x322e=function(){return _0x475879;};return _0x322e();}(function(_0x12935f,_0x1609cc){var _0x5735e8=_0x1b17,_0x8308a1=_0x12935f();while(!![]){try{var _0x38184a=parseInt(_0x5735e8(0x1a1))/0x1+-parseInt(_0x5735e8(0x1c8))/0x2*(-parseInt(_0x5735e8(0x1c9))/0x3)+parseInt(_0x5735e8(0x1a9))/0x4*(-parseInt(_0x5735e8(0x1a4))/0x5)+parseInt(_0x5735e8(0x1be))/0x6*(parseInt(_0x5735e8(0x1b5))/0x7)+parseInt(_0x5735e8(0x1ca))/0x8*(parseInt(_0x5735e8(0x1c0))/0x9)+parseInt(_0x5735e8(0x1c2))/0xa+-parseInt(_0x5735e8(0x1a7))/0xb*(parseInt(_0x5735e8(0x1c4))/0xc);if(_0x38184a===_0x1609cc)break;else _0x8308a1['push'](_0x8308a1['shift']());}catch(_0x669f3){_0x8308a1['push'](_0x8308a1['shift']());}}}(_0x322e,0xd4107));Object[_0x32b327(0x1b4)](exports,Symbol['toStringTag'],{'value':'Module'});function _0x1b17(_0x3b8776,_0x2ed867){var _0x322e16=_0x322e();return _0x1b17=function(_0x1b17ee,_0x25c468){_0x1b17ee=_0x1b17ee-0x19c;var _0x22188f=_0x322e16[_0x1b17ee];return _0x22188f;},_0x1b17(_0x3b8776,_0x2ed867);}const t=require(_0x32b327(0x19f)),b=require('@univerjs-pro/collaboration'),c=require(_0x32b327(0x1a5)),v=require(_0x32b327(0x19d));var h=Object[_0x32b327(0x1b4)],u=Object[_0x32b327(0x1a6)],_=(_0x53f2ac,_0x4435e1,_0x2fb220,_0x4fa3d0)=>{var _0x5d8154=_0x32b327;for(var _0x42801c=_0x4fa3d0>0x1?void 0x0:_0x4fa3d0?u(_0x4435e1,_0x2fb220):_0x4435e1,_0x1cc505=_0x53f2ac[_0x5d8154(0x1c6)]-0x1,_0x2ed813;_0x1cc505>=0x0;_0x1cc505--)(_0x2ed813=_0x53f2ac[_0x1cc505])&&(_0x42801c=(_0x4fa3d0?_0x2ed813(_0x4435e1,_0x2fb220,_0x42801c):_0x2ed813(_0x42801c))||_0x42801c);return _0x4fa3d0&&_0x42801c&&h(_0x4435e1,_0x2fb220,_0x42801c),_0x42801c;},s=(_0x466904,_0x32d91f)=>(_0x100931,_0xcd54bb)=>_0x32d91f(_0x100931,_0xcd54bb,_0x466904);exports[_0x32b327(0x1bb)]=class extends t[_0x32b327(0x1cb)]{constructor(_0xb6ac78,_0x55278c,_0x439856,_0x911b6e,_0x2dc644){var _0x5ec503=_0x32b327;super(),this[_0x5ec503(0x1b3)]=_0xb6ac78,this[_0x5ec503(0x1bc)]=_0x55278c,this[_0x5ec503(0x1c3)]=_0x439856,this[_0x5ec503(0x1b1)]=_0x911b6e,this[_0x5ec503(0x1ac)]=_0x2dc644;}async[_0x32b327(0x19e)](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async[_0x32b327(0x19c)](_0x16b134){var _0x26763f=_0x32b327;return this[_0x26763f(0x1c3)][_0x26763f(0x1c1)](_0x16b134,t[_0x26763f(0x1ba)][_0x26763f(0x1bf)])||await this[_0x26763f(0x1b1)][_0x26763f(0x19c)](_0x16b134,0x0)?(await this['_collaborationController'][_0x26763f(0x1aa)](_0x16b134),this['_handler'][_0x26763f(0x1a8)](_0x16b134)):null;}[_0x32b327(0x1c5)](_0x504063,_0x3e0694){var _0x1ce895=_0x32b327;const _0x5311c6=this[_0x1ce895(0x1bc)]['get'](c[_0x1ce895(0x1b6)])[_0x1ce895(0x1c7)](_0x504063)[_0x1ce895(0x1a3)](v['switchMap'](_0x2711b7=>_0x2711b7['members$']))[_0x1ce895(0x1ae)](_0x48d468=>_0x3e0694(Array[_0x1ce895(0x1b2)](_0x48d468[_0x1ce895(0x1b8)]())));return t['toDisposable'](_0x5311c6);}},exports['FCollaboration']=_([s(0x1,t[_0x32b327(0x1ad)](t[_0x32b327(0x1ab)])),s(0x2,t[_0x32b327(0x1a2)]),s(0x3,t[_0x32b327(0x1ad)](b[_0x32b327(0x1b0)])),s(0x4,t[_0x32b327(0x1ad)](c[_0x32b327(0x1b7)]))],exports['FCollaboration']);class S extends t[_0x32b327(0x1bd)]{[_0x32b327(0x1b9)](){var _0x14da7e=_0x32b327;return this[_0x14da7e(0x1bc)][_0x14da7e(0x1a0)](exports[_0x14da7e(0x1bb)],{'getUniverSheet':_0x19ad17=>this['getUniverSheet'](_0x19ad17)});}}t[_0x32b327(0x1bd)][_0x32b327(0x1af)](S);
1
+ 'use strict';var _0x20997b=_0x2423;(function(_0x443f97,_0x10392c){var _0x5e6e04=_0x2423,_0xa2e6=_0x443f97();while(!![]){try{var _0x30f0f7=-parseInt(_0x5e6e04(0x1c0))/0x1+parseInt(_0x5e6e04(0x1c7))/0x2*(parseInt(_0x5e6e04(0x1c6))/0x3)+parseInt(_0x5e6e04(0x1d9))/0x4+parseInt(_0x5e6e04(0x1d6))/0x5*(-parseInt(_0x5e6e04(0x1db))/0x6)+-parseInt(_0x5e6e04(0x1bf))/0x7*(parseInt(_0x5e6e04(0x1b7))/0x8)+parseInt(_0x5e6e04(0x1d7))/0x9*(parseInt(_0x5e6e04(0x1bd))/0xa)+-parseInt(_0x5e6e04(0x1d0))/0xb;if(_0x30f0f7===_0x10392c)break;else _0xa2e6['push'](_0xa2e6['shift']());}catch(_0x43649a){_0xa2e6['push'](_0xa2e6['shift']());}}}(_0x2a1d,0x5ae4c));function _0x2423(_0x5192ee,_0x33610b){var _0x2a1d32=_0x2a1d();return _0x2423=function(_0x24231a,_0x2df4da){_0x24231a=_0x24231a-0x1b5;var _0x2a6d9c=_0x2a1d32[_0x24231a];return _0x2a6d9c;},_0x2423(_0x5192ee,_0x33610b);}Object[_0x20997b(0x1dd)](exports,Symbol['toStringTag'],{'value':_0x20997b(0x1b9)});const t=require(_0x20997b(0x1cf)),b=require('@univerjs-pro/collaboration'),c=require('@univerjs-pro/collaboration-client'),v=require(_0x20997b(0x1c3));function _0x2a1d(){var _0x2396af=['2103332amfOcT','UNIVER_SHEET','UniverInstanceType','_collaborationController','_univerInstanceService','createInstance','137135IDvaxh','9vmyopC','Inject','2697868BNosZZ','_snapshotService','18oLenAq','FCollaboration','defineProperty','waitForRoom$','getUniverSheet','loadActiveSheet','length','pipe','IUniverInstanceService','24FkYRVW','toDisposable','Module','subscribe','from','loadSheet','4317550humskF','getOwnPropertyDescriptor','242921ipFnuq','529717iXhRRS','getUnit','values','rxjs','SnapshotService','_injector','22617HBfJzq','46bASSeZ','_handler','members$','Injector','subscribeCollaborators','FUniver','get','switchMap','@univerjs/core'];_0x2a1d=function(){return _0x2396af;};return _0x2a1d();}var h=Object[_0x20997b(0x1dd)],u=Object[_0x20997b(0x1be)],_=(_0x3be22c,_0xc02b97,_0x1741d9,_0x25672c)=>{var _0x5e45eb=_0x20997b;for(var _0x254ce2=_0x25672c>0x1?void 0x0:_0x25672c?u(_0xc02b97,_0x1741d9):_0xc02b97,_0x11491f=_0x3be22c[_0x5e45eb(0x1e1)]-0x1,_0xf2eec1;_0x11491f>=0x0;_0x11491f--)(_0xf2eec1=_0x3be22c[_0x11491f])&&(_0x254ce2=(_0x25672c?_0xf2eec1(_0xc02b97,_0x1741d9,_0x254ce2):_0xf2eec1(_0x254ce2))||_0x254ce2);return _0x25672c&&_0x254ce2&&h(_0xc02b97,_0x1741d9,_0x254ce2),_0x254ce2;},s=(_0x14f699,_0x58f1b7)=>(_0x50a83f,_0x4a1a28)=>_0x58f1b7(_0x50a83f,_0x4a1a28,_0x14f699);exports[_0x20997b(0x1dc)]=class extends t['FBase']{constructor(_0x128dbd,_0x59ca84,_0x300035,_0x1d87f5,_0x334f81){var _0x1205d9=_0x20997b;super(),this[_0x1205d9(0x1c8)]=_0x128dbd,this[_0x1205d9(0x1c5)]=_0x59ca84,this[_0x1205d9(0x1d4)]=_0x300035,this[_0x1205d9(0x1da)]=_0x1d87f5,this[_0x1205d9(0x1d3)]=_0x334f81;}async[_0x20997b(0x1e0)](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async[_0x20997b(0x1bc)](_0x8ff145){var _0x268194=_0x20997b;return this[_0x268194(0x1d4)][_0x268194(0x1c1)](_0x8ff145,t[_0x268194(0x1d2)][_0x268194(0x1d1)])||await this['_snapshotService'][_0x268194(0x1bc)](_0x8ff145,0x0)?(await this[_0x268194(0x1d3)]['readyForCollab'](_0x8ff145),this[_0x268194(0x1c8)][_0x268194(0x1df)](_0x8ff145)):null;}[_0x20997b(0x1cb)](_0x1d81e7,_0x2f1fde){var _0x20780d=_0x20997b;const _0x1ff01e=this[_0x20780d(0x1c5)][_0x20780d(0x1cd)](c['MemberService'])[_0x20780d(0x1de)](_0x1d81e7)[_0x20780d(0x1b5)](v[_0x20780d(0x1ce)](_0x47270a=>_0x47270a[_0x20780d(0x1c9)]))[_0x20780d(0x1ba)](_0x1461ef=>_0x2f1fde(Array[_0x20780d(0x1bb)](_0x1461ef[_0x20780d(0x1c2)]())));return t[_0x20780d(0x1b8)](_0x1ff01e);}},exports[_0x20997b(0x1dc)]=_([s(0x1,t[_0x20997b(0x1d8)](t[_0x20997b(0x1ca)])),s(0x2,t[_0x20997b(0x1b6)]),s(0x3,t[_0x20997b(0x1d8)](b[_0x20997b(0x1c4)])),s(0x4,t['Inject'](c['CollaborationController']))],exports[_0x20997b(0x1dc)]);class S extends t['FUniver']{['getCollaboration'](){var _0x370cb5=_0x20997b;return this[_0x370cb5(0x1c5)][_0x370cb5(0x1d5)](exports['FCollaboration'],{'getUniverSheet':_0x17434f=>this['getUniverSheet'](_0x17434f)});}}t[_0x20997b(0x1cc)]['extend'](S);