@univerjs-pro/collaboration-client 0.5.5-experimental.20250122-3362a4a → 0.5.5-nightly.202501201336

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 _0x2f3f27=_0x2944;(function(_0x2eee4b,_0xf08d03){var _0x17157f=_0x2944,_0x5bf27a=_0x2eee4b();while(!![]){try{var _0x1a4238=parseInt(_0x17157f(0x194))/0x1*(parseInt(_0x17157f(0x195))/0x2)+parseInt(_0x17157f(0x196))/0x3*(parseInt(_0x17157f(0x1a9))/0x4)+-parseInt(_0x17157f(0x187))/0x5*(-parseInt(_0x17157f(0x1b0))/0x6)+parseInt(_0x17157f(0x19b))/0x7*(parseInt(_0x17157f(0x180))/0x8)+-parseInt(_0x17157f(0x1a5))/0x9*(-parseInt(_0x17157f(0x190))/0xa)+-parseInt(_0x17157f(0x182))/0xb+-parseInt(_0x17157f(0x1a0))/0xc;if(_0x1a4238===_0xf08d03)break;else _0x5bf27a['push'](_0x5bf27a['shift']());}catch(_0x3579d0){_0x5bf27a['push'](_0x5bf27a['shift']());}}}(_0x1625,0x54d41));var __defProp=Object[_0x2f3f27(0x183)],__name=(_0x2d01ae,_0x574111)=>__defProp(_0x2d01ae,'name',{'value':_0x574111,'configurable':!0x0});Object[_0x2f3f27(0x183)](exports,Symbol[_0x2f3f27(0x1a4)],{'value':'Module'});const core=require(_0x2f3f27(0x18e)),collaboration=require(_0x2f3f27(0x1a3)),collaborationClient=require(_0x2f3f27(0x1a7)),rxjs=require(_0x2f3f27(0x1ab));var __defProp2=Object[_0x2f3f27(0x183)],__getOwnPropDesc=Object['getOwnPropertyDescriptor'],__decorateClass=__name((_0x1c87ca,_0x591f66,_0x21d0e9,_0x15412c)=>{var _0x81efc3=_0x2f3f27;for(var _0x568136=_0x15412c>0x1?void 0x0:_0x15412c?__getOwnPropDesc(_0x591f66,_0x21d0e9):_0x591f66,_0x43efa8=_0x1c87ca[_0x81efc3(0x199)]-0x1,_0x86a145;_0x43efa8>=0x0;_0x43efa8--)(_0x86a145=_0x1c87ca[_0x43efa8])&&(_0x568136=(_0x15412c?_0x86a145(_0x591f66,_0x21d0e9,_0x568136):_0x86a145(_0x568136))||_0x568136);return _0x15412c&&_0x568136&&__defProp2(_0x591f66,_0x21d0e9,_0x568136),_0x568136;},_0x2f3f27(0x1a8)),__decorateParam=__name((_0x4dfc89,_0x23b236)=>(_0x372953,_0x590a1e)=>_0x23b236(_0x372953,_0x590a1e,_0x4dfc89),'__decorateParam'),_a;exports['FCollaboration']=(_a=class extends core['FBase']{constructor(_0x5058f1,_0x5e7b70,_0x328c9a,_0x403497,_0x392adc){var _0x42d53d=_0x2f3f27;super(),this[_0x42d53d(0x18b)]=_0x5058f1,this[_0x42d53d(0x1ae)]=_0x5e7b70,this['_univerInstanceService']=_0x328c9a,this[_0x42d53d(0x188)]=_0x403497,this[_0x42d53d(0x185)]=_0x392adc;}async[_0x2f3f27(0x197)](){var _0x2a1da9=_0x2f3f27;return this[_0x2a1da9(0x19f)]();}async['loadActiveSheetAsync'](){var _0x121fdc=_0x2f3f27;throw new Error(_0x121fdc(0x192));}async[_0x2f3f27(0x186)](_0x40679b){return this['loadSheetAsync'](_0x40679b);}async['loadSheetAsync'](_0x41a125){var _0x4eacf2=_0x2f3f27;return this[_0x4eacf2(0x18c)][_0x4eacf2(0x181)](_0x41a125,core[_0x4eacf2(0x17f)][_0x4eacf2(0x18f)])||await this[_0x4eacf2(0x188)]['loadSheet'](_0x41a125,0x0)?(await this[_0x4eacf2(0x185)][_0x4eacf2(0x1a2)](_0x41a125),this[_0x4eacf2(0x18b)]['getUniverSheet'](_0x41a125)):null;}[_0x2f3f27(0x191)](_0x40b326,_0x415e32){var _0x1f3dce=_0x2f3f27;const _0x272f75=this['_injector'][_0x1f3dce(0x19a)](collaborationClient[_0x1f3dce(0x18a)])[_0x1f3dce(0x1b1)](_0x40b326)[_0x1f3dce(0x18d)](rxjs[_0x1f3dce(0x198)](_0x4ace58=>_0x4ace58['members$']))[_0x1f3dce(0x19e)](_0x1a68ed=>_0x415e32(Array[_0x1f3dce(0x1aa)](_0x1a68ed[_0x1f3dce(0x1ac)]())));return core['toDisposable'](_0x272f75);}},__name(_a,_0x2f3f27(0x1af)),_a),exports[_0x2f3f27(0x1af)]=__decorateClass([__decorateParam(0x1,core[_0x2f3f27(0x193)](core[_0x2f3f27(0x184)])),__decorateParam(0x2,core[_0x2f3f27(0x1ad)]),__decorateParam(0x3,core[_0x2f3f27(0x193)](collaboration[_0x2f3f27(0x189)])),__decorateParam(0x4,core['Inject'](collaborationClient['CollaborationController']))],exports[_0x2f3f27(0x1af)]);const _FUniverCollaborationClientMixin=class _FUniverCollaborationClientMixin extends core[_0x2f3f27(0x19d)]{[_0x2f3f27(0x1a6)](){var _0x52014e=_0x2f3f27;return this[_0x52014e(0x1ae)][_0x52014e(0x19c)](exports[_0x52014e(0x1af)],{'getUniverSheet':__name(_0x37088e=>this[_0x52014e(0x1a1)](_0x37088e),_0x52014e(0x1a1))});}};function _0x1625(){var _0x4e5312=['2316572TCYbdM','from','rxjs','values','IUniverInstanceService','_injector','FCollaboration','6xHCkrT','waitForRoom$','UniverInstanceType','304QfYOuX','getUnit','4093342VvkVQa','defineProperty','Injector','_collaborationController','loadSheet','2636330xtgWRp','_snapshotService','SnapshotService','MemberService','_handler','_univerInstanceService','pipe','@univerjs/core','UNIVER_SHEET','740YFjiFa','subscribeCollaborators','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','Inject','28537poJlbl','38YiZPkt','3DaTUMM','loadActiveSheet','switchMap','length','get','120869zqncUg','createInstance','FUniver','subscribe','loadActiveSheetAsync','22620324StXbgL','getUniverSheet','readyForCollab','@univerjs-pro/collaboration','toStringTag','36468xppKno','getCollaboration','@univerjs-pro/collaboration-client','__decorateClass'];_0x1625=function(){return _0x4e5312;};return _0x1625();}__name(_FUniverCollaborationClientMixin,'FUniverCollaborationClientMixin');let FUniverCollaborationClientMixin=_FUniverCollaborationClientMixin;function _0x2944(_0x467b29,_0x3c0264){var _0x162559=_0x1625();return _0x2944=function(_0x29446c,_0x5eba88){_0x29446c=_0x29446c-0x17f;var _0x514629=_0x162559[_0x29446c];return _0x514629;},_0x2944(_0x467b29,_0x3c0264);}core[_0x2f3f27(0x19d)]['extend'](FUniverCollaborationClientMixin);
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'](_);