@univerjs-pro/collaboration-client 0.5.5-nightly.202501221606 → 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';var _0x24f93a=_0x33c5;(function(_0x4f331c,_0x1216e7){var _0x2dfd40=_0x33c5,_0x1d5f91=_0x4f331c();while(!![]){try{var _0x11ad2c=parseInt(_0x2dfd40(0xac))/0x1*(parseInt(_0x2dfd40(0xad))/0x2)+-parseInt(_0x2dfd40(0xb9))/0x3+parseInt(_0x2dfd40(0xb5))/0x4+parseInt(_0x2dfd40(0xbb))/0x5+parseInt(_0x2dfd40(0xab))/0x6*(-parseInt(_0x2dfd40(0xa7))/0x7)+-parseInt(_0x2dfd40(0xbc))/0x8+-parseInt(_0x2dfd40(0xb4))/0x9*(-parseInt(_0x2dfd40(0xc4))/0xa);if(_0x11ad2c===_0x1216e7)break;else _0x1d5f91['push'](_0x1d5f91['shift']());}catch(_0x5bfad1){_0x1d5f91['push'](_0x1d5f91['shift']());}}}(_0x1da8,0xa06e7));var __defProp=Object[_0x24f93a(0xb3)],__name=(_0x1ba30a,_0x359616)=>__defProp(_0x1ba30a,_0x24f93a(0xb2),{'value':_0x359616,'configurable':!0x0});Object[_0x24f93a(0xb3)](exports,Symbol[_0x24f93a(0xb8)],{'value':'Module'});const core=require(_0x24f93a(0xd1)),collaboration=require(_0x24f93a(0xce)),collaborationClient=require(_0x24f93a(0xd5)),rxjs=require('rxjs');var __defProp2=Object[_0x24f93a(0xb3)],__getOwnPropDesc=Object['getOwnPropertyDescriptor'],__decorateClass=__name((_0x518172,_0x3899f7,_0x358c5a,_0x5ac8f9)=>{for(var _0x107b55=_0x5ac8f9>0x1?void 0x0:_0x5ac8f9?__getOwnPropDesc(_0x3899f7,_0x358c5a):_0x3899f7,_0x1b8689=_0x518172['length']-0x1,_0x15a676;_0x1b8689>=0x0;_0x1b8689--)(_0x15a676=_0x518172[_0x1b8689])&&(_0x107b55=(_0x5ac8f9?_0x15a676(_0x3899f7,_0x358c5a,_0x107b55):_0x15a676(_0x107b55))||_0x107b55);return _0x5ac8f9&&_0x107b55&&__defProp2(_0x3899f7,_0x358c5a,_0x107b55),_0x107b55;},_0x24f93a(0xc9)),__decorateParam=__name((_0x320dd5,_0x3e3a8f)=>(_0x5192f0,_0x43de3f)=>_0x3e3a8f(_0x5192f0,_0x43de3f,_0x320dd5),_0x24f93a(0xc5)),_a;exports[_0x24f93a(0xc6)]=(_a=class extends core[_0x24f93a(0xc2)]{constructor(_0x2504d6,_0x39e3c6,_0x4fad15,_0x57efac,_0x5b3636){var _0x358533=_0x24f93a;super(),this[_0x358533(0xc1)]=_0x2504d6,this[_0x358533(0xcb)]=_0x39e3c6,this[_0x358533(0xc8)]=_0x4fad15,this[_0x358533(0xa9)]=_0x57efac,this[_0x358533(0xd0)]=_0x5b3636;}async['loadActiveSheet'](){var _0x30299a=_0x24f93a;return this[_0x30299a(0xca)]();}async[_0x24f93a(0xca)](){var _0x28ab80=_0x24f93a;throw new Error(_0x28ab80(0xb7));}async[_0x24f93a(0xc0)](_0x19f7de){var _0x45066c=_0x24f93a;return this[_0x45066c(0xbf)](_0x19f7de);}async[_0x24f93a(0xbf)](_0x222f5a){var _0x229b69=_0x24f93a;return this['_univerInstanceService'][_0x229b69(0xba)](_0x222f5a,core[_0x229b69(0xd2)][_0x229b69(0xb1)])||await this[_0x229b69(0xa9)][_0x229b69(0xc0)](_0x222f5a,0x0)?(await this[_0x229b69(0xd0)][_0x229b69(0xcd)](_0x222f5a),this[_0x229b69(0xc1)][_0x229b69(0xae)](_0x222f5a)):null;}['subscribeCollaborators'](_0x1c9fae,_0x3dfc22){var _0x5af35d=_0x24f93a;const _0x142bd6=this['_injector'][_0x5af35d(0xd4)](collaborationClient[_0x5af35d(0xd3)])['waitForRoom$'](_0x1c9fae)[_0x5af35d(0xc3)](rxjs[_0x5af35d(0xa6)](_0x163305=>_0x163305['members$']))[_0x5af35d(0xa8)](_0x185579=>_0x3dfc22(Array['from'](_0x185579[_0x5af35d(0xcc)]())));return core[_0x5af35d(0xaa)](_0x142bd6);}},__name(_a,_0x24f93a(0xc6)),_a),exports['FCollaboration']=__decorateClass([__decorateParam(0x1,core[_0x24f93a(0xb6)](core[_0x24f93a(0xbd)])),__decorateParam(0x2,core[_0x24f93a(0xb0)]),__decorateParam(0x3,core['Inject'](collaboration['SnapshotService'])),__decorateParam(0x4,core[_0x24f93a(0xb6)](collaborationClient[_0x24f93a(0xaf)]))],exports['FCollaboration']);const _FUniverCollaborationClientMixin=class _FUniverCollaborationClientMixin extends core['FUniver']{[_0x24f93a(0xc7)](){var _0x2f2359=_0x24f93a;return this[_0x2f2359(0xcb)][_0x2f2359(0xcf)](exports[_0x2f2359(0xc6)],{'getUniverSheet':__name(_0x495b25=>this[_0x2f2359(0xae)](_0x495b25),_0x2f2359(0xae))});}};function _0x33c5(_0x425fe0,_0xba49c6){var _0x1da847=_0x1da8();return _0x33c5=function(_0x33c5e0,_0xc05590){_0x33c5e0=_0x33c5e0-0xa6;var _0x29144a=_0x1da847[_0x33c5e0];return _0x29144a;},_0x33c5(_0x425fe0,_0xba49c6);}__name(_FUniverCollaborationClientMixin,'FUniverCollaborationClientMixin');let FUniverCollaborationClientMixin=_FUniverCollaborationClientMixin;function _0x1da8(){var _0xe91bdd=['@univerjs-pro/collaboration','createInstance','_collaborationController','@univerjs/core','UniverInstanceType','MemberService','get','@univerjs-pro/collaboration-client','switchMap','907865LDsZFj','subscribe','_snapshotService','toDisposable','48BVzSxa','57899VjhHaA','2hkxleQ','getUniverSheet','CollaborationController','IUniverInstanceService','UNIVER_SHEET','name','defineProperty','9AmJnVd','1169572jirGJU','Inject','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','toStringTag','872106xSlKwE','getUnit','2321010DQiIuY','2080424gLgmgf','Injector','extend','loadSheetAsync','loadSheet','_handler','FBase','pipe','14309480zVSkEu','__decorateParam','FCollaboration','getCollaboration','_univerInstanceService','__decorateClass','loadActiveSheetAsync','_injector','values','readyForCollab'];_0x1da8=function(){return _0xe91bdd;};return _0x1da8();}core['FUniver'][_0x24f93a(0xbe)](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);