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

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 _0x539f22=_0x2f7a;(function(_0x2da160,_0x186c41){var _0x5beb9d=_0x2f7a,_0x56abaa=_0x2da160();while(!![]){try{var _0x1fa51f=-parseInt(_0x5beb9d(0x89))/0x1*(parseInt(_0x5beb9d(0x86))/0x2)+parseInt(_0x5beb9d(0x72))/0x3+parseInt(_0x5beb9d(0x74))/0x4*(-parseInt(_0x5beb9d(0x81))/0x5)+parseInt(_0x5beb9d(0x67))/0x6+parseInt(_0x5beb9d(0x75))/0x7*(-parseInt(_0x5beb9d(0x8e))/0x8)+parseInt(_0x5beb9d(0x76))/0x9*(-parseInt(_0x5beb9d(0x7e))/0xa)+parseInt(_0x5beb9d(0x6b))/0xb;if(_0x1fa51f===_0x186c41)break;else _0x56abaa['push'](_0x56abaa['shift']());}catch(_0x58a286){_0x56abaa['push'](_0x56abaa['shift']());}}}(_0xa787,0x5cd68));Object[_0x539f22(0x7f)](exports,Symbol[_0x539f22(0x73)],{'value':'Module'});function _0x2f7a(_0x1a84cb,_0x1cd2ea){var _0xa78771=_0xa787();return _0x2f7a=function(_0x2f7a2b,_0x2607c9){_0x2f7a2b=_0x2f7a2b-0x65;var _0x104162=_0xa78771[_0x2f7a2b];return _0x104162;},_0x2f7a(_0x1a84cb,_0x1cd2ea);}const o=require(_0x539f22(0x68)),h=require(_0x539f22(0x84)),c=require(_0x539f22(0x8b)),b=require(_0x539f22(0x7d));var v=Object[_0x539f22(0x7f)],u=Object['getOwnPropertyDescriptor'],S=(_0x210a50,_0x286dde,_0x299ae1,_0x2d2f83)=>{var _0x1d1eea=_0x539f22;for(var _0x46215b=_0x2d2f83>0x1?void 0x0:_0x2d2f83?u(_0x286dde,_0x299ae1):_0x286dde,_0x190911=_0x210a50[_0x1d1eea(0x77)]-0x1,_0x585e66;_0x190911>=0x0;_0x190911--)(_0x585e66=_0x210a50[_0x190911])&&(_0x46215b=(_0x2d2f83?_0x585e66(_0x286dde,_0x299ae1,_0x46215b):_0x585e66(_0x46215b))||_0x46215b);return _0x2d2f83&&_0x46215b&&v(_0x286dde,_0x299ae1,_0x46215b),_0x46215b;},s=(_0x572b3f,_0x3819f8)=>(_0x57947a,_0x24b995)=>_0x3819f8(_0x57947a,_0x24b995,_0x572b3f);exports['FCollaboration']=class extends o['FBase']{constructor(_0x4e4d37,_0x5c6300,_0x9dc371,_0x19ac3e,_0x26672a){var _0x169c81=_0x539f22;super(),this[_0x169c81(0x8c)]=_0x4e4d37,this[_0x169c81(0x6e)]=_0x5c6300,this[_0x169c81(0x94)]=_0x9dc371,this[_0x169c81(0x7a)]=_0x19ac3e,this[_0x169c81(0x79)]=_0x26672a;}async[_0x539f22(0x65)](){var _0x2b939f=_0x539f22;return this[_0x2b939f(0x80)]();}async[_0x539f22(0x80)](){var _0x39ed3d=_0x539f22;throw new Error(_0x39ed3d(0x70));}async[_0x539f22(0x6a)](_0x3acb73){return this['loadSheetAsync'](_0x3acb73);}async[_0x539f22(0x78)](_0x271d05){var _0x1e3513=_0x539f22;return this[_0x1e3513(0x94)][_0x1e3513(0x93)](_0x271d05,o[_0x1e3513(0x8a)][_0x1e3513(0x88)])||await this[_0x1e3513(0x7a)][_0x1e3513(0x6a)](_0x271d05,0x0)?(await this['_collaborationController'][_0x1e3513(0x82)](_0x271d05),this[_0x1e3513(0x8c)]['getUniverSheet'](_0x271d05)):null;}['subscribeCollaborators'](_0x45d2c4,_0x5eb370){var _0x5169ba=_0x539f22;const _0x1f3d11=this[_0x5169ba(0x6e)][_0x5169ba(0x90)](c['MemberService'])['waitForRoom$'](_0x45d2c4)[_0x5169ba(0x92)](b[_0x5169ba(0x85)](_0x475107=>_0x475107['members$']))[_0x5169ba(0x83)](_0x3cdd7e=>_0x5eb370(Array['from'](_0x3cdd7e[_0x5169ba(0x69)]())));return o[_0x5169ba(0x71)](_0x1f3d11);}},exports[_0x539f22(0x7b)]=S([s(0x1,o[_0x539f22(0x6c)](o[_0x539f22(0x8f)])),s(0x2,o[_0x539f22(0x91)]),s(0x3,o['Inject'](h[_0x539f22(0x66)])),s(0x4,o[_0x539f22(0x6c)](c[_0x539f22(0x6d)]))],exports[_0x539f22(0x7b)]);function _0xa787(){var _0x318388=['_injector','FUniver','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','toDisposable','1490457uHZaTS','toStringTag','2368580GbbanR','259pZwuwZ','9TfgEDC','length','loadSheetAsync','_collaborationController','_snapshotService','FCollaboration','getCollaboration','rxjs','3060190lSxbDk','defineProperty','loadActiveSheetAsync','5UTUNeb','readyForCollab','subscribe','@univerjs-pro/collaboration','switchMap','1076898DgCFDe','getUniverSheet','UNIVER_SHEET','1MYtvxH','UniverInstanceType','@univerjs-pro/collaboration-client','_handler','extend','23160OsZPDa','Injector','get','IUniverInstanceService','pipe','getUnit','_univerInstanceService','loadActiveSheet','SnapshotService','896394lLfgSp','@univerjs/core','values','loadSheet','14055514agcfiZ','Inject','CollaborationController'];_0xa787=function(){return _0x318388;};return _0xa787();}class _ extends o[_0x539f22(0x6f)]{[_0x539f22(0x7c)](){var _0x528c04=_0x539f22;return this[_0x528c04(0x6e)]['createInstance'](exports[_0x528c04(0x7b)],{'getUniverSheet':_0x3e86c8=>this[_0x528c04(0x87)](_0x3e86c8)});}}o[_0x539f22(0x6f)][_0x539f22(0x8d)](_);
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);