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

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 _0x3c78f6=_0x437d;(function(_0x4967d5,_0x545f3d){var _0x381f8b=_0x437d,_0x2043fd=_0x4967d5();while(!![]){try{var _0x5e3355=-parseInt(_0x381f8b(0x8e))/0x1+-parseInt(_0x381f8b(0x8f))/0x2*(parseInt(_0x381f8b(0x96))/0x3)+parseInt(_0x381f8b(0x76))/0x4*(parseInt(_0x381f8b(0x78))/0x5)+parseInt(_0x381f8b(0x72))/0x6+parseInt(_0x381f8b(0x86))/0x7+-parseInt(_0x381f8b(0x82))/0x8*(-parseInt(_0x381f8b(0x97))/0x9)+-parseInt(_0x381f8b(0x6c))/0xa;if(_0x5e3355===_0x545f3d)break;else _0x2043fd['push'](_0x2043fd['shift']());}catch(_0x1354e9){_0x2043fd['push'](_0x2043fd['shift']());}}}(_0x44b3,0x89963));function _0x44b3(){var _0x448b2e=['toDisposable','members$','toStringTag','getCollaboration','from','2362792IXMbjT','switchMap','pipe','loadSheetAsync','549990JbyPgH','loadSheet','getOwnPropertyDescriptor','_collaborationController','getUniverSheet','SnapshotService','CollaborationController','readyForCollab','324346dVmlWx','703418vuatne','loadServerUnit','loadUnit','_univerInstanceService','loadUnitOfRevision','waitForRoom$','_snapshotService','3rDnGYr','18SBfNPO','MemberService','get','FCollaboration','7962160SqqTWM','values','_handler','DataLoaderService','loadActiveSheetAsync','subscribe','4923246OFVCky','Module','Inject','_injector','2184068mpoAlk','Injector','5uqfSMD','length','FBase','FUniver','loadActiveSheet'];_0x44b3=function(){return _0x448b2e;};return _0x44b3();}function _0x437d(_0x50a5de,_0x453ddd){var _0x44b35f=_0x44b3();return _0x437d=function(_0x437de0,_0x2b9fec){_0x437de0=_0x437de0-0x6b;var _0x31653f=_0x44b35f[_0x437de0];return _0x31653f;},_0x437d(_0x50a5de,_0x453ddd);}Object['defineProperty'](exports,Symbol[_0x3c78f6(0x7f)],{'value':_0x3c78f6(0x73)});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[_0x3c78f6(0x88)],S=(_0x2428ef,_0x565485,_0x24bb33,_0x548207)=>{var _0x1bdfd9=_0x3c78f6;for(var _0x5dae19=_0x548207>0x1?void 0x0:_0x548207?d(_0x565485,_0x24bb33):_0x565485,_0x2a8174=_0x2428ef[_0x1bdfd9(0x79)]-0x1,_0x1f177d;_0x2a8174>=0x0;_0x2a8174--)(_0x1f177d=_0x2428ef[_0x2a8174])&&(_0x5dae19=_0x1f177d(_0x5dae19)||_0x5dae19);return _0x5dae19;},s=(_0x1144cc,_0x827be5)=>(_0x2960a4,_0x516789)=>_0x827be5(_0x2960a4,_0x516789,_0x1144cc);exports[_0x3c78f6(0x6b)]=class extends l[_0x3c78f6(0x7a)]{constructor(_0x31c44e,_0x175bb2,_0x2c260b,_0x39dcf8,_0x407800){var _0x5b96a0=_0x3c78f6;super(),this[_0x5b96a0(0x6e)]=_0x31c44e,this['_injector']=_0x175bb2,this[_0x5b96a0(0x92)]=_0x2c260b,this[_0x5b96a0(0x95)]=_0x39dcf8,this['_collaborationController']=_0x407800;}async[_0x3c78f6(0x7c)](){var _0x2cc698=_0x3c78f6;return this[_0x2cc698(0x70)]();}async[_0x3c78f6(0x70)](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async['loadSheet'](_0x35fa5e){var _0x151fd3=_0x3c78f6;return this[_0x151fd3(0x85)](_0x35fa5e);}async[_0x3c78f6(0x85)](_0xc5aad6,_0x486539){var _0x273543=_0x3c78f6;return await this[_0x273543(0x95)][_0x273543(0x87)](_0xc5aad6,0x0,_0x486539)?(await this[_0x273543(0x89)][_0x273543(0x8d)](_0xc5aad6),this[_0x273543(0x6e)]['getUniverSheet'](_0xc5aad6)):null;}['subscribeCollaborators'](_0x3fa1c2,_0x50dcc4){var _0x531dff=_0x3c78f6;const _0x4af511=this[_0x531dff(0x75)][_0x531dff(0x99)](c[_0x531dff(0x98)])[_0x531dff(0x94)](_0x3fa1c2)[_0x531dff(0x84)](b[_0x531dff(0x83)](_0x2a9837=>_0x2a9837[_0x531dff(0x7e)]))[_0x531dff(0x71)](_0x30d7c4=>_0x50dcc4(Array[_0x531dff(0x81)](_0x30d7c4[_0x531dff(0x6d)]())));return n[_0x531dff(0x7d)](_0x4af511);}},exports['FCollaboration']=S([s(0x1,n[_0x3c78f6(0x74)](n[_0x3c78f6(0x77)])),s(0x2,n['IUniverInstanceService']),s(0x3,n[_0x3c78f6(0x74)](h[_0x3c78f6(0x8b)])),s(0x4,n[_0x3c78f6(0x74)](c[_0x3c78f6(0x8c)]))],exports[_0x3c78f6(0x6b)]);class u extends l[_0x3c78f6(0x7b)]{[_0x3c78f6(0x80)](){var _0x290451=_0x3c78f6;return this[_0x290451(0x75)]['createInstance'](exports[_0x290451(0x6b)],{'getUniverSheet':_0x473c68=>this[_0x290451(0x8a)](_0x473c68)});}[_0x3c78f6(0x90)](_0x3de354,_0x34ddf9,_0x14954f){var _0x3637b2=_0x3c78f6;return this[_0x3637b2(0x75)]['get'](c[_0x3637b2(0x6f)])[_0x3637b2(0x91)](_0x3de354,_0x34ddf9,_0x14954f);}['loadServerUnitOfRevision'](_0x309bcb,_0x42ba5d,_0x4d4893){var _0x3e0476=_0x3c78f6;return this[_0x3e0476(0x75)][_0x3e0476(0x99)](c[_0x3e0476(0x6f)])[_0x3e0476(0x93)](_0x309bcb,_0x42ba5d,_0x4d4893);}}l[_0x3c78f6(0x7b)]['extend'](u);