@univerjs-pro/collaboration-client 0.7.0-nightly.202505061607 → 0.7.0-nightly.202505081607

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 _0x2c0ba0=_0x5e89;(function(_0x3b4dc2,_0x21a6a4){var _0x50f413=_0x5e89,_0x224a16=_0x3b4dc2();while(!![]){try{var _0x9f2fa4=parseInt(_0x50f413(0x101))/0x1*(parseInt(_0x50f413(0xe7))/0x2)+parseInt(_0x50f413(0xf8))/0x3*(parseInt(_0x50f413(0x10b))/0x4)+parseInt(_0x50f413(0xe4))/0x5*(-parseInt(_0x50f413(0xf5))/0x6)+parseInt(_0x50f413(0x104))/0x7*(-parseInt(_0x50f413(0xf7))/0x8)+parseInt(_0x50f413(0xe8))/0x9+parseInt(_0x50f413(0x108))/0xa*(-parseInt(_0x50f413(0xed))/0xb)+parseInt(_0x50f413(0xeb))/0xc;if(_0x9f2fa4===_0x21a6a4)break;else _0x224a16['push'](_0x224a16['shift']());}catch(_0x1113b4){_0x224a16['push'](_0x224a16['shift']());}}}(_0x13bf,0xe8b52));function _0x5e89(_0x1e3a0d,_0x147e2a){var _0x13bf72=_0x13bf();return _0x5e89=function(_0x5e897f,_0x16a917){_0x5e897f=_0x5e897f-0xdf;var _0x1964fc=_0x13bf72[_0x5e897f];return _0x1964fc;},_0x5e89(_0x1e3a0d,_0x147e2a);}Object['defineProperty'](exports,Symbol[_0x2c0ba0(0xf6)],{'value':'Module'});function _0x13bf(){var _0x59630d=['values','IUniverInstanceService','445331lIIHUe','pipe','SnapshotService','10261853feXnPb','loadServerUnit','extend','Inject','170exbAPP','MemberService','DataLoaderService','553388ofpCPH','from','length','toDisposable','FCollaboration','_handler','loadSheetAsync','getUniverSheet','4070bitIPl','_univerInstanceService','createInstance','2qDnWyX','8333847gtdKaC','members$','@univerjs/core','17044584mmVdgm','_injector','107063vpxAgF','subscribe','FBase','switchMap','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','loadSheet','subscribeCollaborators','_collaborationController','11724XECzpf','toStringTag','8yNpCAp','30PStAbz','_snapshotService','loadActiveSheetAsync','@univerjs-pro/collaboration','rxjs','Injector','loadActiveSheet'];_0x13bf=function(){return _0x59630d;};return _0x13bf();}const c=require('@univerjs-pro/collaboration-client'),l=require('@univerjs/core/facade'),v=require(_0x2c0ba0(0xfb)),i=require(_0x2c0ba0(0xea)),b=require(_0x2c0ba0(0xfc));var S=Object['getOwnPropertyDescriptor'],d=(_0x1b5c82,_0x5156ca,_0x3c0fca,_0x172408)=>{var _0x292f5c=_0x2c0ba0;for(var _0x49df6c=_0x172408>0x1?void 0x0:_0x172408?S(_0x5156ca,_0x3c0fca):_0x5156ca,_0x239e59=_0x1b5c82[_0x292f5c(0x10d)]-0x1,_0x38fd3d;_0x239e59>=0x0;_0x239e59--)(_0x38fd3d=_0x1b5c82[_0x239e59])&&(_0x49df6c=_0x38fd3d(_0x49df6c)||_0x49df6c);return _0x49df6c;},s=(_0x38bd3f,_0x2dc924)=>(_0xac7369,_0xb24552)=>_0x2dc924(_0xac7369,_0xb24552,_0x38bd3f);exports[_0x2c0ba0(0xe0)]=class extends l[_0x2c0ba0(0xef)]{constructor(_0x50a4e5,_0x1252ca,_0x5e17fd,_0x4c76d8,_0x466994){var _0x129920=_0x2c0ba0;super(),this[_0x129920(0xe1)]=_0x50a4e5,this[_0x129920(0xec)]=_0x1252ca,this[_0x129920(0xe5)]=_0x5e17fd,this[_0x129920(0xf9)]=_0x4c76d8,this['_collaborationController']=_0x466994;}async[_0x2c0ba0(0xfe)](){var _0x18fcb2=_0x2c0ba0;return this[_0x18fcb2(0xfa)]();}async['loadActiveSheetAsync'](){var _0x482d56=_0x2c0ba0;throw new Error(_0x482d56(0xf1));}async['loadSheet'](_0x352a9c){return this['loadSheetAsync'](_0x352a9c);}async[_0x2c0ba0(0xe2)](_0x1036c6,_0x38231e){var _0x45b030=_0x2c0ba0;return await this['_snapshotService'][_0x45b030(0xf2)](_0x1036c6,0x0,_0x38231e)?(await this[_0x45b030(0xf4)]['readyForCollab'](_0x1036c6),this[_0x45b030(0xe1)][_0x45b030(0xe3)](_0x1036c6)):null;}[_0x2c0ba0(0xf3)](_0x557209,_0x5c7845){var _0x13bf6b=_0x2c0ba0;const _0x481ba5=this[_0x13bf6b(0xec)]['get'](c[_0x13bf6b(0x109)])['waitForRoom$'](_0x557209)[_0x13bf6b(0x102)](b[_0x13bf6b(0xf0)](_0x9bf0ec=>_0x9bf0ec[_0x13bf6b(0xe9)]))[_0x13bf6b(0xee)](_0x2f9552=>_0x5c7845(Array[_0x13bf6b(0x10c)](_0x2f9552[_0x13bf6b(0xff)]())));return i[_0x13bf6b(0xdf)](_0x481ba5);}},exports[_0x2c0ba0(0xe0)]=d([s(0x1,i[_0x2c0ba0(0x107)](i[_0x2c0ba0(0xfd)])),s(0x2,i[_0x2c0ba0(0x100)]),s(0x3,i[_0x2c0ba0(0x107)](v[_0x2c0ba0(0x103)])),s(0x4,i[_0x2c0ba0(0x107)](c['CollaborationController']))],exports[_0x2c0ba0(0xe0)]);class u extends l['FUniver']{['getCollaboration'](){var _0x25552e=_0x2c0ba0;return this[_0x25552e(0xec)]['createInstance'](exports[_0x25552e(0xe0)],{'getUniverSheet':_0x3d4359=>this[_0x25552e(0xe3)](_0x3d4359)});}[_0x2c0ba0(0x105)](_0xbd3f5d,_0x2d38c1,_0x59ea7f){var _0x552c70=_0x2c0ba0;return this[_0x552c70(0xec)][_0x552c70(0xe6)](c[_0x552c70(0x10a)])['loadUnit'](_0xbd3f5d,_0x2d38c1,_0x59ea7f);}}l['FUniver'][_0x2c0ba0(0x106)](u);
1
+ 'use strict';var _0x672219=_0x187e;(function(_0xc326b8,_0x1818f9){var _0xc58efb=_0x187e,_0x237ea3=_0xc326b8();while(!![]){try{var _0x3497dd=-parseInt(_0xc58efb(0x1a0))/0x1+-parseInt(_0xc58efb(0x1a6))/0x2+parseInt(_0xc58efb(0x19a))/0x3+parseInt(_0xc58efb(0x199))/0x4+parseInt(_0xc58efb(0x198))/0x5+-parseInt(_0xc58efb(0x19d))/0x6*(parseInt(_0xc58efb(0x1aa))/0x7)+parseInt(_0xc58efb(0x191))/0x8;if(_0x3497dd===_0x1818f9)break;else _0x237ea3['push'](_0x237ea3['shift']());}catch(_0x5a7c48){_0x237ea3['push'](_0x237ea3['shift']());}}}(_0x211a,0x6f509));Object[_0x672219(0x181)](exports,Symbol[_0x672219(0x1a4)],{'value':_0x672219(0x190)});function _0x187e(_0x42950a,_0x4d3494){var _0x211aac=_0x211a();return _0x187e=function(_0x187eab,_0x2195cd){_0x187eab=_0x187eab-0x180;var _0x19132f=_0x211aac[_0x187eab];return _0x19132f;},_0x187e(_0x42950a,_0x4d3494);}const c=require(_0x672219(0x18f)),l=require(_0x672219(0x182)),v=require(_0x672219(0x184)),i=require(_0x672219(0x188)),b=require(_0x672219(0x19e));var S=Object[_0x672219(0x192)],d=(_0x5a6069,_0x449dbc,_0x2cdd5a,_0x46db0a)=>{var _0x9e873a=_0x672219;for(var _0x38a278=_0x46db0a>0x1?void 0x0:_0x46db0a?S(_0x449dbc,_0x2cdd5a):_0x449dbc,_0x2623ef=_0x5a6069[_0x9e873a(0x195)]-0x1,_0x3fdada;_0x2623ef>=0x0;_0x2623ef--)(_0x3fdada=_0x5a6069[_0x2623ef])&&(_0x38a278=_0x3fdada(_0x38a278)||_0x38a278);return _0x38a278;},s=(_0x3416f1,_0x5783e9)=>(_0x359217,_0x25087d)=>_0x5783e9(_0x359217,_0x25087d,_0x3416f1);exports[_0x672219(0x1a5)]=class extends l[_0x672219(0x193)]{constructor(_0x3e9ed1,_0x52c337,_0x2644f0,_0x518f43,_0x5f060c){var _0x5df65e=_0x672219;super(),this['_handler']=_0x3e9ed1,this[_0x5df65e(0x1a7)]=_0x52c337,this[_0x5df65e(0x197)]=_0x2644f0,this['_snapshotService']=_0x518f43,this[_0x5df65e(0x19b)]=_0x5f060c;}async[_0x672219(0x19c)](){var _0x10b710=_0x672219;return this[_0x10b710(0x18b)]();}async[_0x672219(0x18b)](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async[_0x672219(0x18d)](_0xe9fb0f){var _0x1d0258=_0x672219;return this[_0x1d0258(0x1ad)](_0xe9fb0f);}async['loadSheetAsync'](_0x434c26,_0x28827f){var _0x20be3a=_0x672219;return await this[_0x20be3a(0x18c)][_0x20be3a(0x18d)](_0x434c26,0x0,_0x28827f)?(await this[_0x20be3a(0x19b)][_0x20be3a(0x185)](_0x434c26),this[_0x20be3a(0x18e)][_0x20be3a(0x187)](_0x434c26)):null;}[_0x672219(0x1a9)](_0x51c40d,_0x59ef92){var _0xe0cd82=_0x672219;const _0x20a091=this['_injector'][_0xe0cd82(0x18a)](c['MemberService'])[_0xe0cd82(0x180)](_0x51c40d)[_0xe0cd82(0x1a3)](b[_0xe0cd82(0x19f)](_0x6b0847=>_0x6b0847['members$']))['subscribe'](_0x37f914=>_0x59ef92(Array[_0xe0cd82(0x196)](_0x37f914['values']())));return i['toDisposable'](_0x20a091);}},exports[_0x672219(0x1a5)]=d([s(0x1,i[_0x672219(0x189)](i['Injector'])),s(0x2,i['IUniverInstanceService']),s(0x3,i[_0x672219(0x189)](v[_0x672219(0x1ac)])),s(0x4,i[_0x672219(0x189)](c[_0x672219(0x1a2)]))],exports[_0x672219(0x1a5)]);class u extends l[_0x672219(0x1a8)]{[_0x672219(0x186)](){var _0x42e165=_0x672219;return this[_0x42e165(0x1a7)][_0x42e165(0x1a1)](exports[_0x42e165(0x1a5)],{'getUniverSheet':_0x1eb691=>this[_0x42e165(0x187)](_0x1eb691)});}[_0x672219(0x1ab)](_0x10deb5,_0x27cdcb,_0x3453e2){var _0x331558=_0x672219;return this[_0x331558(0x1a7)]['createInstance'](c[_0x331558(0x194)])['loadUnit'](_0x10deb5,_0x27cdcb,_0x3453e2);}}function _0x211a(){var _0x17bca7=['_collaborationController','loadActiveSheet','2514dPGyjd','rxjs','switchMap','100099oWbqbW','createInstance','CollaborationController','pipe','toStringTag','FCollaboration','879692OMtbuZ','_injector','FUniver','subscribeCollaborators','8981CWuNMn','loadServerUnit','SnapshotService','loadSheetAsync','waitForRoom$','defineProperty','@univerjs/core/facade','extend','@univerjs-pro/collaboration','readyForCollab','getCollaboration','getUniverSheet','@univerjs/core','Inject','get','loadActiveSheetAsync','_snapshotService','loadSheet','_handler','@univerjs-pro/collaboration-client','Module','3447800IZXWvy','getOwnPropertyDescriptor','FBase','DataLoaderService','length','from','_univerInstanceService','2741060xkScDy','1758924Tumyot','343647dRohRP'];_0x211a=function(){return _0x17bca7;};return _0x211a();}l['FUniver'][_0x672219(0x183)](u);