@univerjs-pro/collaboration-client 0.5.5-nightly.202501231606 → 0.5.5-nightly.202501241606

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 _0x1f40(_0x2c8e00,_0x6d365e){var _0x1b2556=_0x1b25();return _0x1f40=function(_0x1f406d,_0x341361){_0x1f406d=_0x1f406d-0x65;var _0xbfe21e=_0x1b2556[_0x1f406d];return _0xbfe21e;},_0x1f40(_0x2c8e00,_0x6d365e);}var _0x4daa14=_0x1f40;(function(_0x24b92b,_0x29798e){var _0x2406e9=_0x1f40,_0x36dac2=_0x24b92b();while(!![]){try{var _0x188968=-parseInt(_0x2406e9(0x75))/0x1+-parseInt(_0x2406e9(0x94))/0x2+parseInt(_0x2406e9(0x86))/0x3*(parseInt(_0x2406e9(0x6a))/0x4)+parseInt(_0x2406e9(0x8d))/0x5+parseInt(_0x2406e9(0x7a))/0x6*(parseInt(_0x2406e9(0x96))/0x7)+-parseInt(_0x2406e9(0x65))/0x8*(parseInt(_0x2406e9(0x92))/0x9)+parseInt(_0x2406e9(0x87))/0xa;if(_0x188968===_0x29798e)break;else _0x36dac2['push'](_0x36dac2['shift']());}catch(_0x4be372){_0x36dac2['push'](_0x36dac2['shift']());}}}(_0x1b25,0x49077));var __defProp=Object[_0x4daa14(0x8f)],__name=(_0x282739,_0x34a099)=>__defProp(_0x282739,_0x4daa14(0x8b),{'value':_0x34a099,'configurable':!0x0});function _0x1b25(){var _0x537b9a=['defineProperty','subscribe','from','1170jXbHvt','CollaborationController','701974MvpyTd','createInstance','165774GNmrAU','getUniverSheet','pipe','readyForCollab','16424hgdFVR','FBase','values','__decorateParam','loadSheet','2045228YSCfNC','Inject','rxjs','_collaborationController','members$','loadSheetAsync','FCollaboration','getOwnPropertyDescriptor','Module','@univerjs-pro/collaboration','switchMap','352678TKQRCS','extend','SnapshotService','_univerInstanceService','UniverInstanceType','6fTkGmy','_snapshotService','getUnit','FUniverCollaborationClientMixin','@univerjs-pro/collaboration-client','@univerjs/core','_handler','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','length','_injector','toStringTag','FUniver','3DFMHVR','6382030ktszsp','loadActiveSheetAsync','waitForRoom$','IUniverInstanceService','name','subscribeCollaborators','482450vsYswc','toDisposable'];_0x1b25=function(){return _0x537b9a;};return _0x1b25();}Object['defineProperty'](exports,Symbol[_0x4daa14(0x84)],{'value':_0x4daa14(0x72)});const core=require(_0x4daa14(0x7f)),collaboration=require(_0x4daa14(0x73)),collaborationClient=require(_0x4daa14(0x7e)),rxjs=require(_0x4daa14(0x6c));var __defProp2=Object['defineProperty'],__getOwnPropDesc=Object[_0x4daa14(0x71)],__decorateClass=__name((_0x348771,_0x1ef879,_0x187759,_0x758798)=>{var _0x325e25=_0x4daa14;for(var _0x546043=_0x758798>0x1?void 0x0:_0x758798?__getOwnPropDesc(_0x1ef879,_0x187759):_0x1ef879,_0x4a9270=_0x348771[_0x325e25(0x82)]-0x1,_0x3c39bd;_0x4a9270>=0x0;_0x4a9270--)(_0x3c39bd=_0x348771[_0x4a9270])&&(_0x546043=(_0x758798?_0x3c39bd(_0x1ef879,_0x187759,_0x546043):_0x3c39bd(_0x546043))||_0x546043);return _0x758798&&_0x546043&&__defProp2(_0x1ef879,_0x187759,_0x546043),_0x546043;},'__decorateClass'),__decorateParam=__name((_0x347aeb,_0x4b8b1d)=>(_0x4403ee,_0x3a4f2c)=>_0x4b8b1d(_0x4403ee,_0x3a4f2c,_0x347aeb),_0x4daa14(0x68)),_a;exports[_0x4daa14(0x70)]=(_a=class extends core[_0x4daa14(0x66)]{constructor(_0x3a0339,_0x1fc98e,_0x42f78d,_0x2223ff,_0x21955e){var _0x1c31df=_0x4daa14;super(),this[_0x1c31df(0x80)]=_0x3a0339,this['_injector']=_0x1fc98e,this[_0x1c31df(0x78)]=_0x42f78d,this[_0x1c31df(0x7b)]=_0x2223ff,this[_0x1c31df(0x6d)]=_0x21955e;}async['loadActiveSheet'](){var _0x5a771e=_0x4daa14;return this[_0x5a771e(0x88)]();}async[_0x4daa14(0x88)](){var _0xd862f7=_0x4daa14;throw new Error(_0xd862f7(0x81));}async[_0x4daa14(0x69)](_0x36a39d){var _0x5c7a73=_0x4daa14;return this[_0x5c7a73(0x6f)](_0x36a39d);}async[_0x4daa14(0x6f)](_0x1ad803){var _0x2ef280=_0x4daa14;return this['_univerInstanceService'][_0x2ef280(0x7c)](_0x1ad803,core[_0x2ef280(0x79)]['UNIVER_SHEET'])||await this[_0x2ef280(0x7b)][_0x2ef280(0x69)](_0x1ad803,0x0)?(await this[_0x2ef280(0x6d)][_0x2ef280(0x99)](_0x1ad803),this[_0x2ef280(0x80)]['getUniverSheet'](_0x1ad803)):null;}[_0x4daa14(0x8c)](_0x37019d,_0x34f5a4){var _0x2de8ba=_0x4daa14;const _0x2d87e6=this[_0x2de8ba(0x83)]['get'](collaborationClient['MemberService'])[_0x2de8ba(0x89)](_0x37019d)[_0x2de8ba(0x98)](rxjs[_0x2de8ba(0x74)](_0x5a4021=>_0x5a4021[_0x2de8ba(0x6e)]))[_0x2de8ba(0x90)](_0xf48e6b=>_0x34f5a4(Array[_0x2de8ba(0x91)](_0xf48e6b[_0x2de8ba(0x67)]())));return core[_0x2de8ba(0x8e)](_0x2d87e6);}},__name(_a,_0x4daa14(0x70)),_a),exports['FCollaboration']=__decorateClass([__decorateParam(0x1,core[_0x4daa14(0x6b)](core['Injector'])),__decorateParam(0x2,core[_0x4daa14(0x8a)]),__decorateParam(0x3,core['Inject'](collaboration[_0x4daa14(0x77)])),__decorateParam(0x4,core[_0x4daa14(0x6b)](collaborationClient[_0x4daa14(0x93)]))],exports['FCollaboration']);const _FUniverCollaborationClientMixin=class _FUniverCollaborationClientMixin extends core[_0x4daa14(0x85)]{['getCollaboration'](){var _0x45dfa6=_0x4daa14;return this['_injector'][_0x45dfa6(0x95)](exports['FCollaboration'],{'getUniverSheet':__name(_0x2aa3cc=>this[_0x45dfa6(0x97)](_0x2aa3cc),_0x45dfa6(0x97))});}};__name(_FUniverCollaborationClientMixin,_0x4daa14(0x7d));let FUniverCollaborationClientMixin=_FUniverCollaborationClientMixin;core[_0x4daa14(0x85)][_0x4daa14(0x76)](FUniverCollaborationClientMixin);
1
+ 'use strict';var _0x3bf08a=_0x1170;function _0x3f1f(){var _0x12ad11=['IUniverInstanceService','3791013LfiJtd','pipe','9196986OCWNkP','Module','MemberService','_univerInstanceService','__decorateClass','UniverInstanceType','Injector','name','4jIwKRD','subscribe','loadActiveSheetAsync','get','waitForRoom$','944Xggnbk','2853098EcANva','Inject','99430068cesXvM','FCollaboration','values','toStringTag','getUniverSheet','11hQtJtG','defineProperty','1768335hpZuYO','FUniverCollaborationClientMixin','1VEfmtd','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','@univerjs/core','length','__decorateParam','@univerjs-pro/collaboration','14570jHvyFy','88648PDmJKl','loadSheet','extend','_snapshotService','loadSheetAsync','createInstance','@univerjs-pro/collaboration-client','SnapshotService','getOwnPropertyDescriptor','from','FUniver','_handler','_injector','FBase','UNIVER_SHEET','getUnit','readyForCollab','8217dmKLbh','_collaborationController','getCollaboration'];_0x3f1f=function(){return _0x12ad11;};return _0x3f1f();}function _0x1170(_0x3b6b2f,_0x114419){var _0x3f1f5e=_0x3f1f();return _0x1170=function(_0x117091,_0x2d4145){_0x117091=_0x117091-0x174;var _0x53002a=_0x3f1f5e[_0x117091];return _0x53002a;},_0x1170(_0x3b6b2f,_0x114419);}(function(_0x1f0772,_0x5bb66d){var _0x4b9f2f=_0x1170,_0x326007=_0x1f0772();while(!![]){try{var _0x38033d=parseInt(_0x4b9f2f(0x19d))/0x1*(-parseInt(_0x4b9f2f(0x192))/0x2)+-parseInt(_0x4b9f2f(0x182))/0x3+parseInt(_0x4b9f2f(0x18c))/0x4*(-parseInt(_0x4b9f2f(0x19b))/0x5)+-parseInt(_0x4b9f2f(0x184))/0x6+parseInt(_0x4b9f2f(0x1a4))/0x7*(-parseInt(_0x4b9f2f(0x191))/0x8)+parseInt(_0x4b9f2f(0x17e))/0x9*(-parseInt(_0x4b9f2f(0x1a3))/0xa)+parseInt(_0x4b9f2f(0x199))/0xb*(parseInt(_0x4b9f2f(0x194))/0xc);if(_0x38033d===_0x5bb66d)break;else _0x326007['push'](_0x326007['shift']());}catch(_0x5dc81d){_0x326007['push'](_0x326007['shift']());}}}(_0x3f1f,0xd7f30));var __defProp=Object[_0x3bf08a(0x19a)],__name=(_0xa7621a,_0x1898c2)=>__defProp(_0xa7621a,_0x3bf08a(0x18b),{'value':_0x1898c2,'configurable':!0x0});Object[_0x3bf08a(0x19a)](exports,Symbol[_0x3bf08a(0x197)],{'value':_0x3bf08a(0x185)});const core=require(_0x3bf08a(0x19f)),collaboration=require(_0x3bf08a(0x1a2)),collaborationClient=require(_0x3bf08a(0x1aa)),rxjs=require('rxjs');var __defProp2=Object[_0x3bf08a(0x19a)],__getOwnPropDesc=Object[_0x3bf08a(0x175)],__decorateClass=__name((_0x38191f,_0x4b35eb,_0x33b509,_0x2153a5)=>{var _0xdd1a2b=_0x3bf08a;for(var _0x5044f8=_0x2153a5>0x1?void 0x0:_0x2153a5?__getOwnPropDesc(_0x4b35eb,_0x33b509):_0x4b35eb,_0x2ec14f=_0x38191f[_0xdd1a2b(0x1a0)]-0x1,_0x36ba15;_0x2ec14f>=0x0;_0x2ec14f--)(_0x36ba15=_0x38191f[_0x2ec14f])&&(_0x5044f8=(_0x2153a5?_0x36ba15(_0x4b35eb,_0x33b509,_0x5044f8):_0x36ba15(_0x5044f8))||_0x5044f8);return _0x2153a5&&_0x5044f8&&__defProp2(_0x4b35eb,_0x33b509,_0x5044f8),_0x5044f8;},_0x3bf08a(0x188)),__decorateParam=__name((_0x32b04a,_0x514975)=>(_0x554ba1,_0x43c648)=>_0x514975(_0x554ba1,_0x43c648,_0x32b04a),_0x3bf08a(0x1a1)),_a;exports[_0x3bf08a(0x195)]=(_a=class extends core[_0x3bf08a(0x17a)]{constructor(_0x3dc0ec,_0x53141e,_0x585c7d,_0xf1cb3a,_0x20a4fa){var _0x4995d7=_0x3bf08a;super(),this[_0x4995d7(0x178)]=_0x3dc0ec,this[_0x4995d7(0x179)]=_0x53141e,this[_0x4995d7(0x187)]=_0x585c7d,this['_snapshotService']=_0xf1cb3a,this[_0x4995d7(0x17f)]=_0x20a4fa;}async['loadActiveSheet'](){var _0x23d5d2=_0x3bf08a;return this[_0x23d5d2(0x18e)]();}async[_0x3bf08a(0x18e)](){var _0x2062ef=_0x3bf08a;throw new Error(_0x2062ef(0x19e));}async[_0x3bf08a(0x1a5)](_0x3279c3){var _0x257a86=_0x3bf08a;return this[_0x257a86(0x1a8)](_0x3279c3);}async[_0x3bf08a(0x1a8)](_0x5a75d2){var _0x22c769=_0x3bf08a;return this['_univerInstanceService'][_0x22c769(0x17c)](_0x5a75d2,core[_0x22c769(0x189)][_0x22c769(0x17b)])||await this[_0x22c769(0x1a7)][_0x22c769(0x1a5)](_0x5a75d2,0x0)?(await this[_0x22c769(0x17f)][_0x22c769(0x17d)](_0x5a75d2),this[_0x22c769(0x178)][_0x22c769(0x198)](_0x5a75d2)):null;}['subscribeCollaborators'](_0x224381,_0x38e60e){var _0x5ba00f=_0x3bf08a;const _0x159115=this['_injector'][_0x5ba00f(0x18f)](collaborationClient[_0x5ba00f(0x186)])[_0x5ba00f(0x190)](_0x224381)[_0x5ba00f(0x183)](rxjs['switchMap'](_0x38647e=>_0x38647e['members$']))[_0x5ba00f(0x18d)](_0x2141cb=>_0x38e60e(Array[_0x5ba00f(0x176)](_0x2141cb[_0x5ba00f(0x196)]())));return core['toDisposable'](_0x159115);}},__name(_a,_0x3bf08a(0x195)),_a),exports['FCollaboration']=__decorateClass([__decorateParam(0x1,core[_0x3bf08a(0x193)](core[_0x3bf08a(0x18a)])),__decorateParam(0x2,core[_0x3bf08a(0x181)]),__decorateParam(0x3,core['Inject'](collaboration[_0x3bf08a(0x174)])),__decorateParam(0x4,core[_0x3bf08a(0x193)](collaborationClient['CollaborationController']))],exports[_0x3bf08a(0x195)]);const _FUniverCollaborationClientMixin=class _FUniverCollaborationClientMixin extends core[_0x3bf08a(0x177)]{[_0x3bf08a(0x180)](){var _0x14b719=_0x3bf08a;return this[_0x14b719(0x179)][_0x14b719(0x1a9)](exports[_0x14b719(0x195)],{'getUniverSheet':__name(_0x1a3041=>this[_0x14b719(0x198)](_0x1a3041),'getUniverSheet')});}};__name(_FUniverCollaborationClientMixin,_0x3bf08a(0x19c));let FUniverCollaborationClientMixin=_FUniverCollaborationClientMixin;core[_0x3bf08a(0x177)][_0x3bf08a(0x1a6)](FUniverCollaborationClientMixin);