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

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';function _0xe014(_0x440c52,_0x5a2ce6){var _0x6321ec=_0x6321();return _0xe014=function(_0xe01488,_0x2d27dd){_0xe01488=_0xe01488-0xaa;var _0x4676de=_0x6321ec[_0xe01488];return _0x4676de;},_0xe014(_0x440c52,_0x5a2ce6);}var _0x300f5b=_0xe014;(function(_0x189e42,_0x3d46b4){var _0x5e3fe9=_0xe014,_0x112dd9=_0x189e42();while(!![]){try{var _0x420447=-parseInt(_0x5e3fe9(0xc7))/0x1+parseInt(_0x5e3fe9(0xd6))/0x2*(parseInt(_0x5e3fe9(0xb7))/0x3)+parseInt(_0x5e3fe9(0xab))/0x4+-parseInt(_0x5e3fe9(0xb6))/0x5*(parseInt(_0x5e3fe9(0xad))/0x6)+-parseInt(_0x5e3fe9(0xca))/0x7*(-parseInt(_0x5e3fe9(0xd1))/0x8)+-parseInt(_0x5e3fe9(0xce))/0x9+-parseInt(_0x5e3fe9(0xcc))/0xa*(-parseInt(_0x5e3fe9(0xbc))/0xb);if(_0x420447===_0x3d46b4)break;else _0x112dd9['push'](_0x112dd9['shift']());}catch(_0x12182a){_0x112dd9['push'](_0x112dd9['shift']());}}}(_0x6321,0x2db07));Object[_0x300f5b(0xb3)](exports,Symbol[_0x300f5b(0xb5)],{'value':'Module'});const c=require('@univerjs-pro/collaboration-client'),l=require('@univerjs/core/facade'),v=require(_0x300f5b(0xb8)),i=require(_0x300f5b(0xae)),b=require('rxjs');function _0x6321(){var _0x329122=['toStringTag','1692055jqbytO','30579TRIKiC','@univerjs-pro/collaboration','loadSheetAsync','createInstance','loadUnit','21142YTvCxX','_univerInstanceService','toDisposable','MemberService','CollaborationController','_snapshotService','_injector','FUniver','SnapshotService','pipe','getUniverSheet','106164DnLHwD','_handler','length','254149wZkLAJ','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','3260PNCTRP','getOwnPropertyDescriptor','1312263pXUuZg','values','Inject','8nHlbho','loadActiveSheetAsync','from','subscribe','_collaborationController','2OgQmUh','DataLoaderService','get','Injector','417812JVlzBt','members$','6FhSQIg','@univerjs/core','waitForRoom$','loadSheet','FCollaboration','subscribeCollaborators','defineProperty','FBase'];_0x6321=function(){return _0x329122;};return _0x6321();}var S=Object[_0x300f5b(0xcd)],d=(_0x543e72,_0x5b7187,_0x137f6c,_0x56efc3)=>{var _0x31af7c=_0x300f5b;for(var _0x3e373e=_0x56efc3>0x1?void 0x0:_0x56efc3?S(_0x5b7187,_0x137f6c):_0x5b7187,_0x456d3c=_0x543e72[_0x31af7c(0xc9)]-0x1,_0x4b1231;_0x456d3c>=0x0;_0x456d3c--)(_0x4b1231=_0x543e72[_0x456d3c])&&(_0x3e373e=_0x4b1231(_0x3e373e)||_0x3e373e);return _0x3e373e;},s=(_0x1ed343,_0xa112f4)=>(_0x3c90aa,_0x336cc8)=>_0xa112f4(_0x3c90aa,_0x336cc8,_0x1ed343);exports[_0x300f5b(0xb1)]=class extends l[_0x300f5b(0xb4)]{constructor(_0x359717,_0xf3f5a3,_0x597198,_0x24c6a3,_0x3c68c2){var _0x3fee79=_0x300f5b;super(),this[_0x3fee79(0xc8)]=_0x359717,this[_0x3fee79(0xc2)]=_0xf3f5a3,this[_0x3fee79(0xbd)]=_0x597198,this['_snapshotService']=_0x24c6a3,this['_collaborationController']=_0x3c68c2;}async['loadActiveSheet'](){var _0x4e28fd=_0x300f5b;return this[_0x4e28fd(0xd2)]();}async[_0x300f5b(0xd2)](){var _0x53ba1c=_0x300f5b;throw new Error(_0x53ba1c(0xcb));}async['loadSheet'](_0x52ba0f){var _0xb72af0=_0x300f5b;return this[_0xb72af0(0xb9)](_0x52ba0f);}async[_0x300f5b(0xb9)](_0x4fbed1,_0x58caa5){var _0x16d069=_0x300f5b;return await this[_0x16d069(0xc1)][_0x16d069(0xb0)](_0x4fbed1,0x0,_0x58caa5)?(await this[_0x16d069(0xd5)]['readyForCollab'](_0x4fbed1),this['_handler'][_0x16d069(0xc6)](_0x4fbed1)):null;}[_0x300f5b(0xb2)](_0x533a51,_0x49bd2e){var _0x1eb5de=_0x300f5b;const _0x546e65=this[_0x1eb5de(0xc2)][_0x1eb5de(0xd8)](c[_0x1eb5de(0xbf)])[_0x1eb5de(0xaf)](_0x533a51)[_0x1eb5de(0xc5)](b['switchMap'](_0x1294b0=>_0x1294b0[_0x1eb5de(0xac)]))[_0x1eb5de(0xd4)](_0x50aedc=>_0x49bd2e(Array[_0x1eb5de(0xd3)](_0x50aedc[_0x1eb5de(0xcf)]())));return i[_0x1eb5de(0xbe)](_0x546e65);}},exports[_0x300f5b(0xb1)]=d([s(0x1,i[_0x300f5b(0xd0)](i[_0x300f5b(0xaa)])),s(0x2,i['IUniverInstanceService']),s(0x3,i[_0x300f5b(0xd0)](v[_0x300f5b(0xc4)])),s(0x4,i['Inject'](c[_0x300f5b(0xc0)]))],exports[_0x300f5b(0xb1)]);class u extends l['FUniver']{['getCollaboration'](){var _0x2612d9=_0x300f5b;return this[_0x2612d9(0xc2)][_0x2612d9(0xba)](exports['FCollaboration'],{'getUniverSheet':_0x205d3f=>this[_0x2612d9(0xc6)](_0x205d3f)});}['loadServerUnit'](_0x4344e8,_0x45a045,_0x53a86f){var _0x8a58d=_0x300f5b;return this['_injector']['createInstance'](c[_0x8a58d(0xd7)])[_0x8a58d(0xbb)](_0x4344e8,_0x45a045,_0x53a86f);}}l[_0x300f5b(0xc3)]['extend'](u);