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

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 _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);
1
+ 'use strict';var _0x74fff5=_0x3587;function _0x3587(_0x5853ba,_0x4c171a){var _0x991a83=_0x991a();return _0x3587=function(_0x35872f,_0x52279b){_0x35872f=_0x35872f-0x1e4;var _0x3580b5=_0x991a83[_0x35872f];return _0x3580b5;},_0x3587(_0x5853ba,_0x4c171a);}(function(_0x510c81,_0x5837f2){var _0x4e6cb3=_0x3587,_0x4a1cc7=_0x510c81();while(!![]){try{var _0x748ea2=parseInt(_0x4e6cb3(0x1eb))/0x1*(-parseInt(_0x4e6cb3(0x205))/0x2)+parseInt(_0x4e6cb3(0x214))/0x3+-parseInt(_0x4e6cb3(0x20f))/0x4+-parseInt(_0x4e6cb3(0x213))/0x5+parseInt(_0x4e6cb3(0x200))/0x6*(-parseInt(_0x4e6cb3(0x203))/0x7)+parseInt(_0x4e6cb3(0x1ed))/0x8*(-parseInt(_0x4e6cb3(0x1ee))/0x9)+parseInt(_0x4e6cb3(0x1f1))/0xa*(parseInt(_0x4e6cb3(0x1f3))/0xb);if(_0x748ea2===_0x5837f2)break;else _0x4a1cc7['push'](_0x4a1cc7['shift']());}catch(_0x4c1e9c){_0x4a1cc7['push'](_0x4a1cc7['shift']());}}}(_0x991a,0x2c5d2));Object[_0x74fff5(0x1f2)](exports,Symbol[_0x74fff5(0x215)],{'value':'Module'});const c=require(_0x74fff5(0x209)),l=require(_0x74fff5(0x20e)),v=require(_0x74fff5(0x20b)),i=require(_0x74fff5(0x20a)),b=require(_0x74fff5(0x1f6));var S=Object[_0x74fff5(0x212)],d=(_0x2eb531,_0x5ef2c3,_0x13cdb7,_0x4b2113)=>{var _0x133701=_0x74fff5;for(var _0x38183e=_0x4b2113>0x1?void 0x0:_0x4b2113?S(_0x5ef2c3,_0x13cdb7):_0x5ef2c3,_0x101a9a=_0x2eb531[_0x133701(0x1f7)]-0x1,_0x50bb48;_0x101a9a>=0x0;_0x101a9a--)(_0x50bb48=_0x2eb531[_0x101a9a])&&(_0x38183e=_0x50bb48(_0x38183e)||_0x38183e);return _0x38183e;},s=(_0x51e1d4,_0x4355a8)=>(_0x3a28e7,_0x2bee2a)=>_0x4355a8(_0x3a28e7,_0x2bee2a,_0x51e1d4);exports[_0x74fff5(0x211)]=class extends l['FBase']{constructor(_0x29124c,_0x268df4,_0x56fd66,_0x3ba4b0,_0x22b609){var _0x131207=_0x74fff5;super(),this[_0x131207(0x217)]=_0x29124c,this[_0x131207(0x201)]=_0x268df4,this[_0x131207(0x1e7)]=_0x56fd66,this[_0x131207(0x1e4)]=_0x3ba4b0,this[_0x131207(0x1f9)]=_0x22b609;}async[_0x74fff5(0x1ea)](){var _0x7a9a18=_0x74fff5;return this[_0x7a9a18(0x1f0)]();}async[_0x74fff5(0x1f0)](){var _0x5c9f6f=_0x74fff5;throw new Error(_0x5c9f6f(0x208));}async['loadSheet'](_0x101717){return this['loadSheetAsync'](_0x101717);}async[_0x74fff5(0x1ec)](_0x4a7396,_0x2921c8){var _0x1a54e1=_0x74fff5;return await this[_0x1a54e1(0x1e4)][_0x1a54e1(0x1ff)](_0x4a7396,0x0,_0x2921c8)?(await this[_0x1a54e1(0x1f9)][_0x1a54e1(0x204)](_0x4a7396),this[_0x1a54e1(0x217)][_0x1a54e1(0x1f5)](_0x4a7396)):null;}[_0x74fff5(0x1f8)](_0x46733f,_0x56837e){var _0x1eeb7f=_0x74fff5;const _0x3b523e=this['_injector'][_0x1eeb7f(0x207)](c[_0x1eeb7f(0x1e9)])[_0x1eeb7f(0x1f4)](_0x46733f)[_0x1eeb7f(0x1e6)](b[_0x1eeb7f(0x1fc)](_0x41e6e3=>_0x41e6e3[_0x1eeb7f(0x216)]))['subscribe'](_0x59b3ed=>_0x56837e(Array[_0x1eeb7f(0x206)](_0x59b3ed[_0x1eeb7f(0x1fa)]())));return i[_0x1eeb7f(0x20d)](_0x3b523e);}},exports['FCollaboration']=d([s(0x1,i[_0x74fff5(0x1fd)](i['Injector'])),s(0x2,i['IUniverInstanceService']),s(0x3,i[_0x74fff5(0x1fd)](v['SnapshotService'])),s(0x4,i[_0x74fff5(0x1fd)](c[_0x74fff5(0x1fb)]))],exports[_0x74fff5(0x211)]);function _0x991a(){var _0x38e8bb=['loadActiveSheet','1vjZTCW','loadSheetAsync','8IruFzo','2286999nvWtqt','getCollaboration','loadActiveSheetAsync','634190pNfjqO','defineProperty','88VPhGgc','waitForRoom$','getUniverSheet','rxjs','length','subscribeCollaborators','_collaborationController','values','CollaborationController','switchMap','Inject','FUniver','loadSheet','102MxbpMy','_injector','extend','27195rbpzmq','readyForCollab','69698aenncA','from','get','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','@univerjs-pro/collaboration-client','@univerjs/core','@univerjs-pro/collaboration','createInstance','toDisposable','@univerjs/core/facade','145888ifhdOD','loadUnit','FCollaboration','getOwnPropertyDescriptor','205655iSRmjs','320910QLLsIY','toStringTag','members$','_handler','_snapshotService','DataLoaderService','pipe','_univerInstanceService','loadServerUnit','MemberService'];_0x991a=function(){return _0x38e8bb;};return _0x991a();}class u extends l[_0x74fff5(0x1fe)]{[_0x74fff5(0x1ef)](){var _0x29d012=_0x74fff5;return this[_0x29d012(0x201)]['createInstance'](exports[_0x29d012(0x211)],{'getUniverSheet':_0x11dd8f=>this[_0x29d012(0x1f5)](_0x11dd8f)});}[_0x74fff5(0x1e8)](_0x240145,_0x1e2deb,_0x2c823d){var _0x25f7c9=_0x74fff5;return this[_0x25f7c9(0x201)][_0x25f7c9(0x20c)](c[_0x25f7c9(0x1e5)])[_0x25f7c9(0x210)](_0x240145,_0x1e2deb,_0x2c823d);}}l['FUniver'][_0x74fff5(0x202)](u);