@univerjs-pro/collaboration-client 0.9.1-nightly.202507101607 → 0.9.2-nightly.202507111607

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 _0x5d78a9=_0x3d1c;(function(_0x24e248,_0x28748b){var _0x51fa40=_0x3d1c,_0x3cc457=_0x24e248();while(!![]){try{var _0x4c0fe2=-parseInt(_0x51fa40(0x113))/0x1+parseInt(_0x51fa40(0x115))/0x2*(-parseInt(_0x51fa40(0x111))/0x3)+-parseInt(_0x51fa40(0xfd))/0x4+parseInt(_0x51fa40(0x116))/0x5*(parseInt(_0x51fa40(0x10b))/0x6)+-parseInt(_0x51fa40(0x10c))/0x7*(-parseInt(_0x51fa40(0x10a))/0x8)+-parseInt(_0x51fa40(0x11d))/0x9+parseInt(_0x51fa40(0xfb))/0xa;if(_0x4c0fe2===_0x28748b)break;else _0x3cc457['push'](_0x3cc457['shift']());}catch(_0xe56221){_0x3cc457['push'](_0x3cc457['shift']());}}}(_0x16e4,0x6253d));function _0x3d1c(_0x2a182a,_0x215dc6){var _0x16e402=_0x16e4();return _0x3d1c=function(_0x3d1c58,_0x2e4801){_0x3d1c58=_0x3d1c58-0xf9;var _0x44f176=_0x16e402[_0x3d1c58];return _0x44f176;},_0x3d1c(_0x2a182a,_0x215dc6);}function _0x16e4(){var _0x572fe2=['13903930tFUceB','defineProperty','1615184ftjAqG','members$','FUniver','switchMap','_handler','readyForCollab','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','MemberService','FBase','subscribe','getOwnPropertyDescriptor','from','toDisposable','569624lxBEOH','12gOOVVh','56DKGlRm','IUniverInstanceService','loadServerUnit','loadUnit','_snapshotService','6BBNWjX','loadActiveSheet','438412fGhMBa','createInstance','803792lnDknb','1417995RDNoAn','Inject','SnapshotService','loadActiveSheetAsync','_injector','extend','FCollaboration','4306194hTeJFx','Module','pipe','getUniverSheet','toStringTag','loadUnitOfRevision','get','DataLoaderService','_collaborationController','loadSheet','Injector'];_0x16e4=function(){return _0x572fe2;};return _0x16e4();}Object[_0x5d78a9(0xfc)](exports,Symbol[_0x5d78a9(0x121)],{'value':_0x5d78a9(0x11e)});const c=require('@univerjs-pro/collaboration-client'),l=require('@univerjs/core/facade'),h=require('@univerjs-pro/collaboration'),n=require('@univerjs/core'),b=require('rxjs');var d=Object[_0x5d78a9(0x107)],S=(_0x1ff2a4,_0x541223,_0x1f3d3a,_0x476ad0)=>{for(var _0x2f33ca=_0x476ad0>0x1?void 0x0:_0x476ad0?d(_0x541223,_0x1f3d3a):_0x541223,_0x3edfb5=_0x1ff2a4['length']-0x1,_0x13e3cb;_0x3edfb5>=0x0;_0x3edfb5--)(_0x13e3cb=_0x1ff2a4[_0x3edfb5])&&(_0x2f33ca=_0x13e3cb(_0x2f33ca)||_0x2f33ca);return _0x2f33ca;},s=(_0x3ca1a7,_0x183be1)=>(_0x5973a2,_0x1583f1)=>_0x183be1(_0x5973a2,_0x1583f1,_0x3ca1a7);exports[_0x5d78a9(0x11c)]=class extends l[_0x5d78a9(0x105)]{constructor(_0xbec341,_0x1df3c9,_0x777b35,_0x295c38,_0x16229f){var _0x403581=_0x5d78a9;super(),this[_0x403581(0x101)]=_0xbec341,this['_injector']=_0x1df3c9,this['_univerInstanceService']=_0x777b35,this[_0x403581(0x110)]=_0x295c38,this[_0x403581(0x125)]=_0x16229f;}async[_0x5d78a9(0x112)](){var _0x14b6f9=_0x5d78a9;return this[_0x14b6f9(0x119)]();}async[_0x5d78a9(0x119)](){var _0x4f2d5d=_0x5d78a9;throw new Error(_0x4f2d5d(0x103));}async[_0x5d78a9(0xf9)](_0x422cdd){return this['loadSheetAsync'](_0x422cdd);}async['loadSheetAsync'](_0x78b913,_0x305ec7){var _0x269563=_0x5d78a9;return await this[_0x269563(0x110)]['loadSheet'](_0x78b913,0x0,_0x305ec7)?(await this[_0x269563(0x125)][_0x269563(0x102)](_0x78b913),this[_0x269563(0x101)][_0x269563(0x120)](_0x78b913)):null;}['subscribeCollaborators'](_0x43e668,_0x220cbd){var _0x1d27fb=_0x5d78a9;const _0x54326d=this[_0x1d27fb(0x11a)]['get'](c[_0x1d27fb(0x104)])['waitForRoom$'](_0x43e668)[_0x1d27fb(0x11f)](b[_0x1d27fb(0x100)](_0x24cb8e=>_0x24cb8e[_0x1d27fb(0xfe)]))[_0x1d27fb(0x106)](_0x801f06=>_0x220cbd(Array[_0x1d27fb(0x108)](_0x801f06['values']())));return n[_0x1d27fb(0x109)](_0x54326d);}},exports[_0x5d78a9(0x11c)]=S([s(0x1,n[_0x5d78a9(0x117)](n[_0x5d78a9(0xfa)])),s(0x2,n[_0x5d78a9(0x10d)]),s(0x3,n[_0x5d78a9(0x117)](h[_0x5d78a9(0x118)])),s(0x4,n[_0x5d78a9(0x117)](c['CollaborationController']))],exports[_0x5d78a9(0x11c)]);class u extends l[_0x5d78a9(0xff)]{['getCollaboration'](){var _0x35c97b=_0x5d78a9;return this[_0x35c97b(0x11a)][_0x35c97b(0x114)](exports['FCollaboration'],{'getUniverSheet':_0x4cd795=>this[_0x35c97b(0x120)](_0x4cd795)});}[_0x5d78a9(0x10e)](_0xe62876,_0x147058,_0xa0fbed){var _0x55f70b=_0x5d78a9;return this['_injector'][_0x55f70b(0x123)](c[_0x55f70b(0x124)])[_0x55f70b(0x10f)](_0xe62876,_0x147058,_0xa0fbed);}['loadServerUnitOfRevision'](_0x20791f,_0x23a67e,_0x3b2797){var _0x2c024d=_0x5d78a9;return this[_0x2c024d(0x11a)]['get'](c[_0x2c024d(0x124)])[_0x2c024d(0x122)](_0x20791f,_0x23a67e,_0x3b2797);}}l[_0x5d78a9(0xff)][_0x5d78a9(0x11b)](u);
1
+ 'use strict';var _0x551d6f=_0x35c2;(function(_0x1eb1d2,_0x2adc79){var _0x5571fc=_0x35c2,_0x5166c8=_0x1eb1d2();while(!![]){try{var _0x42ee48=-parseInt(_0x5571fc(0x7f))/0x1*(parseInt(_0x5571fc(0x86))/0x2)+-parseInt(_0x5571fc(0x71))/0x3+parseInt(_0x5571fc(0x89))/0x4*(parseInt(_0x5571fc(0x94))/0x5)+-parseInt(_0x5571fc(0x8f))/0x6*(parseInt(_0x5571fc(0x96))/0x7)+-parseInt(_0x5571fc(0x8c))/0x8+parseInt(_0x5571fc(0x7c))/0x9*(parseInt(_0x5571fc(0x9b))/0xa)+parseInt(_0x5571fc(0x99))/0xb;if(_0x42ee48===_0x2adc79)break;else _0x5166c8['push'](_0x5166c8['shift']());}catch(_0x4e4042){_0x5166c8['push'](_0x5166c8['shift']());}}}(_0x31a1,0x4a6c1));function _0x35c2(_0x35b10c,_0x38fa88){var _0x31a1ae=_0x31a1();return _0x35c2=function(_0x35c2d6,_0x46b3f6){_0x35c2d6=_0x35c2d6-0x6f;var _0x36558e=_0x31a1ae[_0x35c2d6];return _0x36558e;},_0x35c2(_0x35b10c,_0x38fa88);}Object[_0x551d6f(0x90)](exports,Symbol[_0x551d6f(0x95)],{'value':_0x551d6f(0x80)});const c=require('@univerjs-pro/collaboration-client'),l=require('@univerjs/core/facade'),h=require('@univerjs-pro/collaboration'),n=require('@univerjs/core'),b=require('rxjs');var d=Object[_0x551d6f(0x7d)],S=(_0x3fe60b,_0x3b416b,_0x2c530c,_0x43915b)=>{var _0x2867e2=_0x551d6f;for(var _0x5ce18b=_0x43915b>0x1?void 0x0:_0x43915b?d(_0x3b416b,_0x2c530c):_0x3b416b,_0x5ea6fb=_0x3fe60b[_0x2867e2(0x73)]-0x1,_0x3c7704;_0x5ea6fb>=0x0;_0x5ea6fb--)(_0x3c7704=_0x3fe60b[_0x5ea6fb])&&(_0x5ce18b=_0x3c7704(_0x5ce18b)||_0x5ce18b);return _0x5ce18b;},s=(_0xcd63c,_0x557864)=>(_0x5645e8,_0x5a2122)=>_0x557864(_0x5645e8,_0x5a2122,_0xcd63c);exports[_0x551d6f(0x83)]=class extends l[_0x551d6f(0x97)]{constructor(_0x25331f,_0x1ae40c,_0xed971d,_0x4e65ef,_0x565594){var _0x158f59=_0x551d6f;super(),this[_0x158f59(0x8d)]=_0x25331f,this[_0x158f59(0x78)]=_0x1ae40c,this[_0x158f59(0x87)]=_0xed971d,this[_0x158f59(0x8b)]=_0x4e65ef,this['_collaborationController']=_0x565594;}async['loadActiveSheet'](){var _0x47367f=_0x551d6f;return this[_0x47367f(0x8a)]();}async[_0x551d6f(0x8a)](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async['loadSheet'](_0x33a6fc){var _0x1cf8ac=_0x551d6f;return this[_0x1cf8ac(0x9c)](_0x33a6fc);}async['loadSheetAsync'](_0x16bebe,_0x1e429b){var _0x4915ac=_0x551d6f;return await this['_snapshotService'][_0x4915ac(0x9a)](_0x16bebe,0x0,_0x1e429b)?(await this[_0x4915ac(0x74)]['readyForCollab'](_0x16bebe),this[_0x4915ac(0x8d)][_0x4915ac(0x8e)](_0x16bebe)):null;}[_0x551d6f(0x91)](_0x5da876,_0x2291d5){var _0x14a3f1=_0x551d6f;const _0x204efc=this[_0x14a3f1(0x78)][_0x14a3f1(0x70)](c[_0x14a3f1(0x75)])[_0x14a3f1(0x84)](_0x5da876)[_0x14a3f1(0x72)](b[_0x14a3f1(0x77)](_0x31b76a=>_0x31b76a['members$']))[_0x14a3f1(0x81)](_0x15a490=>_0x2291d5(Array['from'](_0x15a490[_0x14a3f1(0x7b)]())));return n[_0x14a3f1(0x98)](_0x204efc);}},exports[_0x551d6f(0x83)]=S([s(0x1,n['Inject'](n[_0x551d6f(0x79)])),s(0x2,n['IUniverInstanceService']),s(0x3,n[_0x551d6f(0x7e)](h[_0x551d6f(0x88)])),s(0x4,n[_0x551d6f(0x7e)](c['CollaborationController']))],exports[_0x551d6f(0x83)]);class u extends l['FUniver']{['getCollaboration'](){var _0x2db7ac=_0x551d6f;return this['_injector'][_0x2db7ac(0x92)](exports[_0x2db7ac(0x83)],{'getUniverSheet':_0x48088a=>this[_0x2db7ac(0x8e)](_0x48088a)});}[_0x551d6f(0x85)](_0x59e69e,_0xcfdf40,_0x262730){var _0x3de268=_0x551d6f;return this[_0x3de268(0x78)][_0x3de268(0x70)](c[_0x3de268(0x82)])[_0x3de268(0x6f)](_0x59e69e,_0xcfdf40,_0x262730);}['loadServerUnitOfRevision'](_0x48f544,_0x4262a4,_0x285342){var _0x55aca7=_0x551d6f;return this[_0x55aca7(0x78)][_0x55aca7(0x70)](c[_0x55aca7(0x82)])[_0x55aca7(0x76)](_0x48f544,_0x4262a4,_0x285342);}}function _0x31a1(){var _0x3a4c9b=['toStringTag','4697AlFtFi','FBase','toDisposable','20255829pIzuGL','loadSheet','165130bSrUAx','loadSheetAsync','loadUnit','get','1787115BgxLVz','pipe','length','_collaborationController','MemberService','loadUnitOfRevision','switchMap','_injector','Injector','FUniver','values','54eTQiiL','getOwnPropertyDescriptor','Inject','12gMqEhd','Module','subscribe','DataLoaderService','FCollaboration','waitForRoom$','loadServerUnit','87146SbDhwX','_univerInstanceService','SnapshotService','4892ZTLVDy','loadActiveSheetAsync','_snapshotService','4138632znZIvd','_handler','getUniverSheet','4602sqDEez','defineProperty','subscribeCollaborators','createInstance','extend','2105qTTDxK'];_0x31a1=function(){return _0x3a4c9b;};return _0x31a1();}l[_0x551d6f(0x7a)][_0x551d6f(0x93)](u);