@univerjs-pro/collaboration-client 0.5.2 → 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';function _0x218f(){var _0x5d9ed7=['FCollaboration','switchMap','MemberService','1519OnKOHm','FBase','loadSheet','462tnNoUm','7vsaqSE','_injector','defineProperty','1384434CmDdnO','rxjs','UNIVER_SHEET','Injector','waitForRoom$','@univerjs-pro/collaboration-client','values','1780568zKXSzV','getUniverSheet','subscribeCollaborators','subscribe','getUnit','FUniver','Module','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','16136593VMZvSU','1065258zHVmbK','@univerjs/core','pipe','_handler','6715600elVIae','_univerInstanceService','5yUilZh','SnapshotService','3qlwleM','IUniverInstanceService','members$','Inject','length','UniverInstanceType','12SzaQOb','@univerjs-pro/collaboration','extend','getCollaboration','_collaborationController','730288ubAWpm','get'];_0x218f=function(){return _0x5d9ed7;};return _0x218f();}var _0x53fc11=_0x5a37;(function(_0x61f8b6,_0x56e2fb){var _0x595ee5=_0x5a37,_0x2212a0=_0x61f8b6();while(!![]){try{var _0x25f528=parseInt(_0x595ee5(0xea))/0x1*(-parseInt(_0x595ee5(0xed))/0x2)+-parseInt(_0x595ee5(0xda))/0x3*(-parseInt(_0x595ee5(0xe5))/0x4)+-parseInt(_0x595ee5(0x107))/0x5*(parseInt(_0x595ee5(0xf1))/0x6)+-parseInt(_0x595ee5(0xee))/0x7*(-parseInt(_0x595ee5(0xf8))/0x8)+-parseInt(_0x595ee5(0x101))/0x9+-parseInt(_0x595ee5(0x105))/0xa+parseInt(_0x595ee5(0x100))/0xb*(parseInt(_0x595ee5(0xe0))/0xc);if(_0x25f528===_0x56e2fb)break;else _0x2212a0['push'](_0x2212a0['shift']());}catch(_0x5128eb){_0x2212a0['push'](_0x2212a0['shift']());}}}(_0x218f,0x7a34c));Object[_0x53fc11(0xf0)](exports,Symbol['toStringTag'],{'value':_0x53fc11(0xfe)});const t=require(_0x53fc11(0x102)),b=require(_0x53fc11(0xe1)),c=require(_0x53fc11(0xf6)),v=require(_0x53fc11(0xf2));function _0x5a37(_0x35df16,_0x2394b6){var _0x218f2d=_0x218f();return _0x5a37=function(_0x5a37b8,_0x3e12f4){_0x5a37b8=_0x5a37b8-0xd9;var _0x39a597=_0x218f2d[_0x5a37b8];return _0x39a597;},_0x5a37(_0x35df16,_0x2394b6);}var h=Object[_0x53fc11(0xf0)],u=Object['getOwnPropertyDescriptor'],_=(_0x2e9b3d,_0xf17c1f,_0x1a0f70,_0x441d8b)=>{var _0x4100d6=_0x53fc11;for(var _0xffc980=_0x441d8b>0x1?void 0x0:_0x441d8b?u(_0xf17c1f,_0x1a0f70):_0xf17c1f,_0x572f79=_0x2e9b3d[_0x4100d6(0xde)]-0x1,_0x5a7a8e;_0x572f79>=0x0;_0x572f79--)(_0x5a7a8e=_0x2e9b3d[_0x572f79])&&(_0xffc980=(_0x441d8b?_0x5a7a8e(_0xf17c1f,_0x1a0f70,_0xffc980):_0x5a7a8e(_0xffc980))||_0xffc980);return _0x441d8b&&_0xffc980&&h(_0xf17c1f,_0x1a0f70,_0xffc980),_0xffc980;},s=(_0xc7576e,_0x4e8dc8)=>(_0x4e644f,_0x286085)=>_0x4e8dc8(_0x4e644f,_0x286085,_0xc7576e);exports[_0x53fc11(0xe7)]=class extends t[_0x53fc11(0xeb)]{constructor(_0x37c287,_0x112872,_0x730564,_0x17203f,_0x129d6e){var _0x395068=_0x53fc11;super(),this[_0x395068(0x104)]=_0x37c287,this[_0x395068(0xef)]=_0x112872,this[_0x395068(0x106)]=_0x730564,this['_snapshotService']=_0x17203f,this[_0x395068(0xe4)]=_0x129d6e;}async['loadActiveSheet'](){var _0x5447c0=_0x53fc11;throw new Error(_0x5447c0(0xff));}async['loadSheet'](_0x1cf17b){var _0x5cb969=_0x53fc11;return this[_0x5cb969(0x106)][_0x5cb969(0xfc)](_0x1cf17b,t[_0x5cb969(0xdf)][_0x5cb969(0xf3)])||await this['_snapshotService'][_0x5cb969(0xec)](_0x1cf17b,0x0)?(await this[_0x5cb969(0xe4)]['readyForCollab'](_0x1cf17b),this[_0x5cb969(0x104)]['getUniverSheet'](_0x1cf17b)):null;}[_0x53fc11(0xfa)](_0x39d457,_0x3ece92){var _0x433e55=_0x53fc11;const _0x1ae99f=this[_0x433e55(0xef)][_0x433e55(0xe6)](c[_0x433e55(0xe9)])[_0x433e55(0xf5)](_0x39d457)[_0x433e55(0x103)](v[_0x433e55(0xe8)](_0x3242f0=>_0x3242f0[_0x433e55(0xdc)]))[_0x433e55(0xfb)](_0x5798da=>_0x3ece92(Array['from'](_0x5798da[_0x433e55(0xf7)]())));return t['toDisposable'](_0x1ae99f);}},exports[_0x53fc11(0xe7)]=_([s(0x1,t['Inject'](t[_0x53fc11(0xf4)])),s(0x2,t[_0x53fc11(0xdb)]),s(0x3,t[_0x53fc11(0xdd)](b[_0x53fc11(0xd9)])),s(0x4,t[_0x53fc11(0xdd)](c['CollaborationController']))],exports[_0x53fc11(0xe7)]);class S extends t['FUniver']{[_0x53fc11(0xe3)](){var _0x2c8ffc=_0x53fc11;return this['_injector']['createInstance'](exports['FCollaboration'],{'getUniverSheet':_0x45fb63=>this[_0x2c8ffc(0xf9)](_0x45fb63)});}}t[_0x53fc11(0xfd)][_0x53fc11(0xe2)](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);