@univerjs-pro/collaboration-client 0.5.5-experimental.20250122-3362a4a → 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 _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';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'](_);