@univerjs-pro/collaboration-client 0.5.5-nightly.202501201336 → 0.5.5-nightly.202501201606

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 _0x280f6e=_0x21db;(function(_0x327643,_0xeaedeb){var _0x26c783=_0x21db,_0x52e8f1=_0x327643();while(!![]){try{var _0x15b8eb=-parseInt(_0x26c783(0x1f8))/0x1*(-parseInt(_0x26c783(0x1df))/0x2)+-parseInt(_0x26c783(0x1eb))/0x3+parseInt(_0x26c783(0x20b))/0x4*(-parseInt(_0x26c783(0x1fa))/0x5)+-parseInt(_0x26c783(0x1ec))/0x6*(-parseInt(_0x26c783(0x200))/0x7)+-parseInt(_0x26c783(0x1f9))/0x8+-parseInt(_0x26c783(0x1e8))/0x9+parseInt(_0x26c783(0x1e6))/0xa;if(_0x15b8eb===_0xeaedeb)break;else _0x52e8f1['push'](_0x52e8f1['shift']());}catch(_0x5d8cd4){_0x52e8f1['push'](_0x52e8f1['shift']());}}}(_0x4656,0x6e58e));function _0x21db(_0x597e52,_0x146dbd){var _0x465672=_0x4656();return _0x21db=function(_0x21db83,_0x3e2ff4){_0x21db83=_0x21db83-0x1df;var _0x810ca0=_0x465672[_0x21db83];return _0x810ca0;},_0x21db(_0x597e52,_0x146dbd);}Object[_0x280f6e(0x201)](exports,Symbol[_0x280f6e(0x1f4)],{'value':'Module'});function _0x4656(){var _0x253feb=['switchMap','getUniverSheet','_snapshotService','length','values','toStringTag','UNIVER_SHEET','waitForRoom$','loadSheetAsync','43AhGyXJ','2330952zCrdbi','139025duEcrZ','_handler','getCollaboration','Inject','getUnit','FCollaboration','1190ZTvNlU','defineProperty','IUniverInstanceService','CollaborationController','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','loadSheet','createInstance','pipe','_univerInstanceService','_collaborationController','FUniver','76hduass','@univerjs-pro/collaboration','24982QMzUVw','rxjs','get','MemberService','subscribeCollaborators','loadActiveSheetAsync','@univerjs-pro/collaboration-client','13522980QGQDQe','@univerjs/core','7272639DWmOZj','getOwnPropertyDescriptor','toDisposable','759672TYpdFW','15654EpAfHB','SnapshotService','_injector'];_0x4656=function(){return _0x253feb;};return _0x4656();}const o=require(_0x280f6e(0x1e7)),h=require(_0x280f6e(0x20c)),c=require(_0x280f6e(0x1e5)),b=require(_0x280f6e(0x1e0));var v=Object[_0x280f6e(0x201)],u=Object[_0x280f6e(0x1e9)],S=(_0x5a95d9,_0x10a585,_0x6c8922,_0x45810f)=>{var _0x5dee99=_0x280f6e;for(var _0x1f1358=_0x45810f>0x1?void 0x0:_0x45810f?u(_0x10a585,_0x6c8922):_0x10a585,_0x24acae=_0x5a95d9[_0x5dee99(0x1f2)]-0x1,_0x13d83d;_0x24acae>=0x0;_0x24acae--)(_0x13d83d=_0x5a95d9[_0x24acae])&&(_0x1f1358=(_0x45810f?_0x13d83d(_0x10a585,_0x6c8922,_0x1f1358):_0x13d83d(_0x1f1358))||_0x1f1358);return _0x45810f&&_0x1f1358&&v(_0x10a585,_0x6c8922,_0x1f1358),_0x1f1358;},s=(_0xd4834c,_0x2f461a)=>(_0x10b26c,_0x4b2cd2)=>_0x2f461a(_0x10b26c,_0x4b2cd2,_0xd4834c);exports[_0x280f6e(0x1ff)]=class extends o['FBase']{constructor(_0x252181,_0x5a1c83,_0x45bbd9,_0x60a074,_0x457d8e){var _0x3c96b8=_0x280f6e;super(),this[_0x3c96b8(0x1fb)]=_0x252181,this[_0x3c96b8(0x1ee)]=_0x5a1c83,this[_0x3c96b8(0x208)]=_0x45bbd9,this[_0x3c96b8(0x1f1)]=_0x60a074,this[_0x3c96b8(0x209)]=_0x457d8e;}async['loadActiveSheet'](){return this['loadActiveSheetAsync']();}async[_0x280f6e(0x1e4)](){var _0x180b0f=_0x280f6e;throw new Error(_0x180b0f(0x204));}async[_0x280f6e(0x205)](_0x1c27ad){var _0x36d970=_0x280f6e;return this[_0x36d970(0x1f7)](_0x1c27ad);}async[_0x280f6e(0x1f7)](_0x36f613){var _0xd05849=_0x280f6e;return this[_0xd05849(0x208)][_0xd05849(0x1fe)](_0x36f613,o['UniverInstanceType'][_0xd05849(0x1f5)])||await this['_snapshotService'][_0xd05849(0x205)](_0x36f613,0x0)?(await this['_collaborationController']['readyForCollab'](_0x36f613),this[_0xd05849(0x1fb)][_0xd05849(0x1f0)](_0x36f613)):null;}[_0x280f6e(0x1e3)](_0x3cabb5,_0x508dc8){var _0x130675=_0x280f6e;const _0x50e482=this[_0x130675(0x1ee)][_0x130675(0x1e1)](c[_0x130675(0x1e2)])[_0x130675(0x1f6)](_0x3cabb5)[_0x130675(0x207)](b[_0x130675(0x1ef)](_0x4e0588=>_0x4e0588['members$']))['subscribe'](_0x56982d=>_0x508dc8(Array['from'](_0x56982d[_0x130675(0x1f3)]())));return o[_0x130675(0x1ea)](_0x50e482);}},exports[_0x280f6e(0x1ff)]=S([s(0x1,o['Inject'](o['Injector'])),s(0x2,o[_0x280f6e(0x202)]),s(0x3,o['Inject'](h[_0x280f6e(0x1ed)])),s(0x4,o[_0x280f6e(0x1fd)](c[_0x280f6e(0x203)]))],exports[_0x280f6e(0x1ff)]);class _ extends o['FUniver']{[_0x280f6e(0x1fc)](){var _0x292450=_0x280f6e;return this[_0x292450(0x1ee)][_0x292450(0x206)](exports[_0x292450(0x1ff)],{'getUniverSheet':_0x284a90=>this[_0x292450(0x1f0)](_0x284a90)});}}o[_0x280f6e(0x20a)]['extend'](_);
1
+ 'use strict';function _0x1df7(){var _0x13d3b8=['14617ItDitK','subscribe','loadActiveSheetAsync','CollaborationController','Inject','7840756NZyKsq','IUniverInstanceService','1214570ovSVAZ','FUniver','from','36FjKcrv','694800sLWuJd','_snapshotService','2fAdODP','@univerjs/core','defineProperty','24JPANng','@univerjs-pro/collaboration-client','577521PrBXVr','4IAJAgl','readyForCollab','_univerInstanceService','FBase','UniverInstanceType','getOwnPropertyDescriptor','FCollaboration','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','540564PuQCbn','waitForRoom$','toDisposable','6185sGxOTP','length','get','loadSheetAsync','@univerjs-pro/collaboration','members$','SnapshotService','loadActiveSheet','switchMap','_injector','_collaborationController','UNIVER_SHEET','_handler','createInstance','getUniverSheet','loadSheet','Module'];_0x1df7=function(){return _0x13d3b8;};return _0x1df7();}function _0xd84a(_0x4dba76,_0x245844){var _0x1df7dc=_0x1df7();return _0xd84a=function(_0xd84a6c,_0x5b33c8){_0xd84a6c=_0xd84a6c-0xf8;var _0x2c2fc9=_0x1df7dc[_0xd84a6c];return _0x2c2fc9;},_0xd84a(_0x4dba76,_0x245844);}var _0x2e46f9=_0xd84a;(function(_0x4dc29b,_0x5086ab){var _0x5616ac=_0xd84a,_0x49819b=_0x4dc29b();while(!![]){try{var _0x501112=parseInt(_0x5616ac(0x106))/0x1*(parseInt(_0x5616ac(0x113))/0x2)+-parseInt(_0x5616ac(0x121))/0x3*(parseInt(_0x5616ac(0x119))/0x4)+parseInt(_0x5616ac(0x124))/0x5*(-parseInt(_0x5616ac(0x110))/0x6)+-parseInt(_0x5616ac(0x10d))/0x7+-parseInt(_0x5616ac(0x116))/0x8*(parseInt(_0x5616ac(0x118))/0x9)+-parseInt(_0x5616ac(0x111))/0xa+parseInt(_0x5616ac(0x10b))/0xb;if(_0x501112===_0x5086ab)break;else _0x49819b['push'](_0x49819b['shift']());}catch(_0x20a5f6){_0x49819b['push'](_0x49819b['shift']());}}}(_0x1df7,0x19772));Object[_0x2e46f9(0x115)](exports,Symbol['toStringTag'],{'value':_0x2e46f9(0x105)});const o=require(_0x2e46f9(0x114)),h=require(_0x2e46f9(0xf9)),c=require(_0x2e46f9(0x117)),b=require('rxjs');var v=Object['defineProperty'],u=Object[_0x2e46f9(0x11e)],S=(_0x3053f0,_0x15f51e,_0x5df3b8,_0x548e5b)=>{var _0x45658d=_0x2e46f9;for(var _0x33ee85=_0x548e5b>0x1?void 0x0:_0x548e5b?u(_0x15f51e,_0x5df3b8):_0x15f51e,_0x5cc526=_0x3053f0[_0x45658d(0x125)]-0x1,_0x53b3fc;_0x5cc526>=0x0;_0x5cc526--)(_0x53b3fc=_0x3053f0[_0x5cc526])&&(_0x33ee85=(_0x548e5b?_0x53b3fc(_0x15f51e,_0x5df3b8,_0x33ee85):_0x53b3fc(_0x33ee85))||_0x33ee85);return _0x548e5b&&_0x33ee85&&v(_0x15f51e,_0x5df3b8,_0x33ee85),_0x33ee85;},s=(_0x28ad38,_0xdb528b)=>(_0x3fb8f4,_0x2ac425)=>_0xdb528b(_0x3fb8f4,_0x2ac425,_0x28ad38);exports['FCollaboration']=class extends o[_0x2e46f9(0x11c)]{constructor(_0x12e068,_0x5cd72e,_0x4f9945,_0x4daf9f,_0x54e3d3){var _0x41b809=_0x2e46f9;super(),this[_0x41b809(0x101)]=_0x12e068,this[_0x41b809(0xfe)]=_0x5cd72e,this[_0x41b809(0x11b)]=_0x4f9945,this[_0x41b809(0x112)]=_0x4daf9f,this[_0x41b809(0xff)]=_0x54e3d3;}async[_0x2e46f9(0xfc)](){var _0x2fcc80=_0x2e46f9;return this[_0x2fcc80(0x108)]();}async[_0x2e46f9(0x108)](){var _0x35b9b2=_0x2e46f9;throw new Error(_0x35b9b2(0x120));}async[_0x2e46f9(0x104)](_0x2bdcac){var _0x4f81ff=_0x2e46f9;return this[_0x4f81ff(0xf8)](_0x2bdcac);}async[_0x2e46f9(0xf8)](_0x21c7ee){var _0x56eca3=_0x2e46f9;return this['_univerInstanceService']['getUnit'](_0x21c7ee,o[_0x56eca3(0x11d)][_0x56eca3(0x100)])||await this['_snapshotService']['loadSheet'](_0x21c7ee,0x0)?(await this[_0x56eca3(0xff)][_0x56eca3(0x11a)](_0x21c7ee),this[_0x56eca3(0x101)][_0x56eca3(0x103)](_0x21c7ee)):null;}['subscribeCollaborators'](_0x1a78eb,_0x512422){var _0x324ab4=_0x2e46f9;const _0x5c1b8e=this['_injector'][_0x324ab4(0x126)](c['MemberService'])[_0x324ab4(0x122)](_0x1a78eb)['pipe'](b[_0x324ab4(0xfd)](_0x43ca59=>_0x43ca59[_0x324ab4(0xfa)]))[_0x324ab4(0x107)](_0x14e960=>_0x512422(Array[_0x324ab4(0x10f)](_0x14e960['values']())));return o[_0x324ab4(0x123)](_0x5c1b8e);}},exports[_0x2e46f9(0x11f)]=S([s(0x1,o[_0x2e46f9(0x10a)](o['Injector'])),s(0x2,o[_0x2e46f9(0x10c)]),s(0x3,o[_0x2e46f9(0x10a)](h[_0x2e46f9(0xfb)])),s(0x4,o['Inject'](c[_0x2e46f9(0x109)]))],exports[_0x2e46f9(0x11f)]);class _ extends o[_0x2e46f9(0x10e)]{['getCollaboration'](){var _0x1f8eb7=_0x2e46f9;return this[_0x1f8eb7(0xfe)][_0x1f8eb7(0x102)](exports[_0x1f8eb7(0x11f)],{'getUniverSheet':_0x188156=>this[_0x1f8eb7(0x103)](_0x188156)});}}o[_0x2e46f9(0x10e)]['extend'](_);