@univerjs-pro/collaboration-client 0.6.1-nightly.202502211606 → 0.6.1-nightly.202502221605

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 _0x40bc29=_0x53de;function _0x1b70(){var _0x9993d0=['toDisposable','@univerjs-pro/collaboration-client','Module','Inject','_univerInstanceService','get','getUniverSheet','getCollaboration','pipe','531594aVbvvm','from','56835JsBarr','IUniverInstanceService','706470hCwyCR','FUniver','loadSheet','55onEkWv','subscribe','_snapshotService','createInstance','MemberService','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','2uztxlz','defineProperty','57250qRKvVZ','rxjs','@univerjs/core','loadActiveSheetAsync','getOwnPropertyDescriptor','@univerjs-pro/collaboration','80ITdmAo','loadSheetAsync','FCollaboration','_collaborationController','SnapshotService','26IhrtdX','subscribeCollaborators','@univerjs/core/facade','4757196kcMZTK','88vCeMLL','112389lBIRmz','length','_injector','_handler','extend','492191wXFZSF','CollaborationController','12mdCgMF'];_0x1b70=function(){return _0x9993d0;};return _0x1b70();}(function(_0x2bd524,_0x1dcc3e){var _0x5e1ba4=_0x53de,_0x1c1f48=_0x2bd524();while(!![]){try{var _0x5c6a05=parseInt(_0x5e1ba4(0x18c))/0x1*(-parseInt(_0x5e1ba4(0x1aa))/0x2)+parseInt(_0x5e1ba4(0x19d))/0x3+parseInt(_0x5e1ba4(0x1b2))/0x4*(-parseInt(_0x5e1ba4(0x1ac))/0x5)+parseInt(_0x5e1ba4(0x193))/0x6*(-parseInt(_0x5e1ba4(0x191))/0x7)+parseInt(_0x5e1ba4(0x18b))/0x8*(parseInt(_0x5e1ba4(0x19f))/0x9)+parseInt(_0x5e1ba4(0x1a1))/0xa*(-parseInt(_0x5e1ba4(0x1a4))/0xb)+parseInt(_0x5e1ba4(0x18a))/0xc*(parseInt(_0x5e1ba4(0x187))/0xd);if(_0x5c6a05===_0x1dcc3e)break;else _0x1c1f48['push'](_0x1c1f48['shift']());}catch(_0x6d0b4d){_0x1c1f48['push'](_0x1c1f48['shift']());}}}(_0x1b70,0x31df7));Object[_0x40bc29(0x1ab)](exports,Symbol['toStringTag'],{'value':_0x40bc29(0x196)});function _0x53de(_0x9a29a7,_0xbe6ead){var _0x1b7023=_0x1b70();return _0x53de=function(_0x53de3b,_0x3ddf1e){_0x53de3b=_0x53de3b-0x184;var _0x924c52=_0x1b7023[_0x53de3b];return _0x924c52;},_0x53de(_0x9a29a7,_0xbe6ead);}const l=require(_0x40bc29(0x189)),b=require(_0x40bc29(0x1b1)),h=require(_0x40bc29(0x195)),i=require(_0x40bc29(0x1ae)),v=require(_0x40bc29(0x1ad));var u=Object[_0x40bc29(0x1b0)],S=(_0x18f28c,_0x2c3f71,_0xb49796,_0x32189a)=>{var _0x1e8cb5=_0x40bc29;for(var _0xa65a37=_0x32189a>0x1?void 0x0:_0x32189a?u(_0x2c3f71,_0xb49796):_0x2c3f71,_0x3db33e=_0x18f28c[_0x1e8cb5(0x18d)]-0x1,_0x9489ea;_0x3db33e>=0x0;_0x3db33e--)(_0x9489ea=_0x18f28c[_0x3db33e])&&(_0xa65a37=_0x9489ea(_0xa65a37)||_0xa65a37);return _0xa65a37;},s=(_0xe3cdab,_0x463f15)=>(_0x5afd0d,_0x17be5b)=>_0x463f15(_0x5afd0d,_0x17be5b,_0xe3cdab);exports[_0x40bc29(0x184)]=class extends l['FBase']{constructor(_0x212318,_0x8694bb,_0x2cd0df,_0xc0ca35,_0x4bb040){var _0x3a2e3e=_0x40bc29;super(),this[_0x3a2e3e(0x18f)]=_0x212318,this[_0x3a2e3e(0x18e)]=_0x8694bb,this[_0x3a2e3e(0x198)]=_0x2cd0df,this[_0x3a2e3e(0x1a6)]=_0xc0ca35,this[_0x3a2e3e(0x185)]=_0x4bb040;}async['loadActiveSheet'](){return this['loadActiveSheetAsync']();}async[_0x40bc29(0x1af)](){var _0x31a55b=_0x40bc29;throw new Error(_0x31a55b(0x1a9));}async[_0x40bc29(0x1a3)](_0x170d1a){var _0x28dd77=_0x40bc29;return this[_0x28dd77(0x1b3)](_0x170d1a);}async[_0x40bc29(0x1b3)](_0x186323,_0x340514){var _0x34031e=_0x40bc29;return await this['_snapshotService'][_0x34031e(0x1a3)](_0x186323,0x0,_0x340514)?(await this[_0x34031e(0x185)]['readyForCollab'](_0x186323),this[_0x34031e(0x18f)][_0x34031e(0x19a)](_0x186323)):null;}[_0x40bc29(0x188)](_0x56500e,_0x3c724a){var _0x2f182a=_0x40bc29;const _0x3a47ab=this[_0x2f182a(0x18e)][_0x2f182a(0x199)](h[_0x2f182a(0x1a8)])['waitForRoom$'](_0x56500e)[_0x2f182a(0x19c)](v['switchMap'](_0x1fb0e0=>_0x1fb0e0['members$']))[_0x2f182a(0x1a5)](_0x203035=>_0x3c724a(Array[_0x2f182a(0x19e)](_0x203035['values']())));return i[_0x2f182a(0x194)](_0x3a47ab);}},exports[_0x40bc29(0x184)]=S([s(0x1,i[_0x40bc29(0x197)](i['Injector'])),s(0x2,i[_0x40bc29(0x1a0)]),s(0x3,i[_0x40bc29(0x197)](b[_0x40bc29(0x186)])),s(0x4,i[_0x40bc29(0x197)](h[_0x40bc29(0x192)]))],exports[_0x40bc29(0x184)]);class d extends l[_0x40bc29(0x1a2)]{[_0x40bc29(0x19b)](){var _0x400a74=_0x40bc29;return this[_0x400a74(0x18e)][_0x400a74(0x1a7)](exports[_0x400a74(0x184)],{'getUniverSheet':_0x3f2834=>this['getUniverSheet'](_0x3f2834)});}}l[_0x40bc29(0x1a2)][_0x40bc29(0x190)](d);
1
+ 'use strict';var _0x2da87b=_0x327f;(function(_0x58dd52,_0x14dbec){var _0x1ec0f7=_0x327f,_0x5720ce=_0x58dd52();while(!![]){try{var _0x4c497f=-parseInt(_0x1ec0f7(0x140))/0x1*(parseInt(_0x1ec0f7(0x13d))/0x2)+-parseInt(_0x1ec0f7(0x123))/0x3+parseInt(_0x1ec0f7(0x12c))/0x4+-parseInt(_0x1ec0f7(0x11e))/0x5*(parseInt(_0x1ec0f7(0x124))/0x6)+-parseInt(_0x1ec0f7(0x120))/0x7+-parseInt(_0x1ec0f7(0x130))/0x8*(-parseInt(_0x1ec0f7(0x115))/0x9)+parseInt(_0x1ec0f7(0x11c))/0xa*(parseInt(_0x1ec0f7(0x11f))/0xb);if(_0x4c497f===_0x14dbec)break;else _0x5720ce['push'](_0x5720ce['shift']());}catch(_0xf6d95e){_0x5720ce['push'](_0x5720ce['shift']());}}}(_0x33dc,0x63b1d));function _0x33dc(){var _0x4009d8=['rxjs','MemberService','pipe','loadActiveSheet','defineProperty','get','FUniver','getUniverSheet','getOwnPropertyDescriptor','waitForRoom$','50xfVzeV','readyForCollab','_injector','20464agxjaO','FCollaboration','360YYnfiH','getCollaboration','length','_univerInstanceService','loadActiveSheetAsync','createInstance','_collaborationController','7767800Zsdvyv','toDisposable','85azvgwR','11rvOGdd','804146aENJct','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','toStringTag','951777VgpISg','18462gVGsAr','Inject','extend','switchMap','@univerjs-pro/collaboration-client','SnapshotService','@univerjs/core/facade','CollaborationController','1703740vDdzmJ','_handler','_snapshotService','loadSheet','40336OEfqMR','@univerjs/core','from'];_0x33dc=function(){return _0x4009d8;};return _0x33dc();}Object[_0x2da87b(0x137)](exports,Symbol[_0x2da87b(0x122)],{'value':'Module'});const l=require(_0x2da87b(0x12a)),b=require('@univerjs-pro/collaboration'),h=require(_0x2da87b(0x128)),i=require(_0x2da87b(0x131)),v=require(_0x2da87b(0x133));var u=Object[_0x2da87b(0x13b)],S=(_0x454c50,_0x101b39,_0x81ccc5,_0x1f8722)=>{var _0x338b9b=_0x2da87b;for(var _0x115307=_0x1f8722>0x1?void 0x0:_0x1f8722?u(_0x101b39,_0x81ccc5):_0x101b39,_0x59105b=_0x454c50[_0x338b9b(0x117)]-0x1,_0x5bcea2;_0x59105b>=0x0;_0x59105b--)(_0x5bcea2=_0x454c50[_0x59105b])&&(_0x115307=_0x5bcea2(_0x115307)||_0x115307);return _0x115307;},s=(_0x4e5c25,_0x1d7ed7)=>(_0x56c5ad,_0x2e1bc2)=>_0x1d7ed7(_0x56c5ad,_0x2e1bc2,_0x4e5c25);exports[_0x2da87b(0x141)]=class extends l['FBase']{constructor(_0x531a90,_0xba688d,_0x5c71be,_0x523d92,_0x21f259){var _0x3d650b=_0x2da87b;super(),this[_0x3d650b(0x12d)]=_0x531a90,this[_0x3d650b(0x13f)]=_0xba688d,this[_0x3d650b(0x118)]=_0x5c71be,this[_0x3d650b(0x12e)]=_0x523d92,this[_0x3d650b(0x11b)]=_0x21f259;}async[_0x2da87b(0x136)](){var _0x47a537=_0x2da87b;return this[_0x47a537(0x119)]();}async['loadActiveSheetAsync'](){var _0x4817fd=_0x2da87b;throw new Error(_0x4817fd(0x121));}async['loadSheet'](_0x24b94f){return this['loadSheetAsync'](_0x24b94f);}async['loadSheetAsync'](_0x2139ff,_0x35e25d){var _0x2e2c73=_0x2da87b;return await this[_0x2e2c73(0x12e)][_0x2e2c73(0x12f)](_0x2139ff,0x0,_0x35e25d)?(await this['_collaborationController'][_0x2e2c73(0x13e)](_0x2139ff),this[_0x2e2c73(0x12d)][_0x2e2c73(0x13a)](_0x2139ff)):null;}['subscribeCollaborators'](_0x4f2a5a,_0x1563e1){var _0x58a3a9=_0x2da87b;const _0x2e43ba=this['_injector'][_0x58a3a9(0x138)](h[_0x58a3a9(0x134)])[_0x58a3a9(0x13c)](_0x4f2a5a)[_0x58a3a9(0x135)](v[_0x58a3a9(0x127)](_0xc261cf=>_0xc261cf['members$']))['subscribe'](_0x43be41=>_0x1563e1(Array[_0x58a3a9(0x132)](_0x43be41['values']())));return i[_0x58a3a9(0x11d)](_0x2e43ba);}},exports[_0x2da87b(0x141)]=S([s(0x1,i[_0x2da87b(0x125)](i['Injector'])),s(0x2,i['IUniverInstanceService']),s(0x3,i[_0x2da87b(0x125)](b[_0x2da87b(0x129)])),s(0x4,i[_0x2da87b(0x125)](h[_0x2da87b(0x12b)]))],exports[_0x2da87b(0x141)]);class d extends l['FUniver']{[_0x2da87b(0x116)](){var _0x586292=_0x2da87b;return this['_injector'][_0x586292(0x11a)](exports[_0x586292(0x141)],{'getUniverSheet':_0x264f0c=>this['getUniverSheet'](_0x264f0c)});}}function _0x327f(_0x4b6a92,_0x150533){var _0x33dca9=_0x33dc();return _0x327f=function(_0x327f7c,_0x17785b){_0x327f7c=_0x327f7c-0x115;var _0x246521=_0x33dca9[_0x327f7c];return _0x246521;},_0x327f(_0x4b6a92,_0x150533);}l[_0x2da87b(0x139)][_0x2da87b(0x126)](d);