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

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 _0x39a00b=_0x4fc8;function _0x2118(){var _0x42fc62=['getCollaboration','_univerInstanceService','subscribeCollaborators','30GXpNAY','10KQCAzV','loadSheet','_snapshotService','extend','FCollaboration','6tWouik','2077410hdsjQu','loadSheetAsync','3333108RHkTcu','members$','defineProperty','loadUnit','readyForCollab','createInstance','IUniverInstanceService','values','toStringTag','toDisposable','Injector','14907366IWmCug','switchMap','waitForRoom$','4784688aZyBgS','_handler','FBase','loadUnitOfRevision','Inject','SnapshotService','30419apBXFz','2619170nyqCSX','DataLoaderService','CollaborationController','_collaborationController','loadServerUnit','_injector','FUniver','getUniverSheet','get','loadActiveSheetAsync','1005795LeSnLA'];_0x2118=function(){return _0x42fc62;};return _0x2118();}(function(_0x43a0aa,_0x2438b8){var _0x2002f2=_0x4fc8,_0x287849=_0x43a0aa();while(!![]){try{var _0x505f57=parseInt(_0x2002f2(0x1d9))/0x1*(-parseInt(_0x2002f2(0x1bc))/0x2)+-parseInt(_0x2002f2(0x1c3))/0x3+-parseInt(_0x2002f2(0x1c5))/0x4+parseInt(_0x2002f2(0x1da))/0x5+parseInt(_0x2002f2(0x1c2))/0x6*(-parseInt(_0x2002f2(0x1b8))/0x7)+parseInt(_0x2002f2(0x1d3))/0x8+-parseInt(_0x2002f2(0x1d0))/0x9*(-parseInt(_0x2002f2(0x1bd))/0xa);if(_0x505f57===_0x2438b8)break;else _0x287849['push'](_0x287849['shift']());}catch(_0x334495){_0x287849['push'](_0x287849['shift']());}}}(_0x2118,0x9f521));function _0x4fc8(_0x283a89,_0x35921e){var _0x211875=_0x2118();return _0x4fc8=function(_0x4fc81b,_0x1079fd){_0x4fc81b=_0x4fc81b-0x1b1;var _0x399d1a=_0x211875[_0x4fc81b];return _0x399d1a;},_0x4fc8(_0x283a89,_0x35921e);}Object[_0x39a00b(0x1c7)](exports,Symbol[_0x39a00b(0x1cd)],{'value':'Module'});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['getOwnPropertyDescriptor'],S=(_0x1b430b,_0x4b3340,_0x5443ce,_0x283986)=>{for(var _0x3f0aed=_0x283986>0x1?void 0x0:_0x283986?d(_0x4b3340,_0x5443ce):_0x4b3340,_0x8d7e45=_0x1b430b['length']-0x1,_0x3ca55c;_0x8d7e45>=0x0;_0x8d7e45--)(_0x3ca55c=_0x1b430b[_0x8d7e45])&&(_0x3f0aed=_0x3ca55c(_0x3f0aed)||_0x3f0aed);return _0x3f0aed;},s=(_0x54c409,_0x2300c2)=>(_0x4809f4,_0x18920b)=>_0x2300c2(_0x4809f4,_0x18920b,_0x54c409);exports['FCollaboration']=class extends l[_0x39a00b(0x1d5)]{constructor(_0x1543e5,_0x27aee9,_0x5d0a96,_0x3c4c8e,_0x3cb7cf){var _0x38449b=_0x39a00b;super(),this[_0x38449b(0x1d4)]=_0x1543e5,this[_0x38449b(0x1b3)]=_0x27aee9,this[_0x38449b(0x1ba)]=_0x5d0a96,this[_0x38449b(0x1bf)]=_0x3c4c8e,this[_0x38449b(0x1b1)]=_0x3cb7cf;}async['loadActiveSheet'](){var _0x5dcd10=_0x39a00b;return this[_0x5dcd10(0x1b7)]();}async[_0x39a00b(0x1b7)](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async['loadSheet'](_0x51cf6e){var _0x21df62=_0x39a00b;return this[_0x21df62(0x1c4)](_0x51cf6e);}async[_0x39a00b(0x1c4)](_0x14c034,_0x3ffd0e){var _0x3e66c2=_0x39a00b;return await this[_0x3e66c2(0x1bf)][_0x3e66c2(0x1be)](_0x14c034,0x0,_0x3ffd0e)?(await this[_0x3e66c2(0x1b1)][_0x3e66c2(0x1c9)](_0x14c034),this[_0x3e66c2(0x1d4)][_0x3e66c2(0x1b5)](_0x14c034)):null;}[_0x39a00b(0x1bb)](_0x44e423,_0x21ead){var _0x34302e=_0x39a00b;const _0x29d268=this[_0x34302e(0x1b3)][_0x34302e(0x1b6)](c['MemberService'])[_0x34302e(0x1d2)](_0x44e423)['pipe'](b[_0x34302e(0x1d1)](_0x5a7176=>_0x5a7176[_0x34302e(0x1c6)]))['subscribe'](_0x419d33=>_0x21ead(Array['from'](_0x419d33[_0x34302e(0x1cc)]())));return n[_0x34302e(0x1ce)](_0x29d268);}},exports[_0x39a00b(0x1c1)]=S([s(0x1,n[_0x39a00b(0x1d7)](n[_0x39a00b(0x1cf)])),s(0x2,n[_0x39a00b(0x1cb)]),s(0x3,n[_0x39a00b(0x1d7)](h[_0x39a00b(0x1d8)])),s(0x4,n['Inject'](c[_0x39a00b(0x1dc)]))],exports[_0x39a00b(0x1c1)]);class u extends l[_0x39a00b(0x1b4)]{[_0x39a00b(0x1b9)](){var _0x562c99=_0x39a00b;return this[_0x562c99(0x1b3)][_0x562c99(0x1ca)](exports['FCollaboration'],{'getUniverSheet':_0x465cf6=>this[_0x562c99(0x1b5)](_0x465cf6)});}[_0x39a00b(0x1b2)](_0x23b2fe,_0x10a090,_0x27355e){var _0x4e40b8=_0x39a00b;return this[_0x4e40b8(0x1b3)][_0x4e40b8(0x1b6)](c[_0x4e40b8(0x1db)])[_0x4e40b8(0x1c8)](_0x23b2fe,_0x10a090,_0x27355e);}['loadServerUnitOfRevision'](_0x192fea,_0x917fda,_0x361ef3){var _0x430e8a=_0x39a00b;return this['_injector']['get'](c[_0x430e8a(0x1db)])[_0x430e8a(0x1d6)](_0x192fea,_0x917fda,_0x361ef3);}}l[_0x39a00b(0x1b4)][_0x39a00b(0x1c0)](u);
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);