@univerjs-pro/collaboration-client 0.6.10 → 0.7.0-beta.0

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';function _0x29a9(){var _0x258c35=['createInstance','waitForRoom$','DataLoaderService','Module','4132293ZUCrMH','loadSheet','1032TqDhHE','members$','@univerjs/core','SnapshotService','defineProperty','pipe','@univerjs-pro/collaboration','loadActiveSheetAsync','84wWDhXe','get','loadSheetAsync','10JebkIS','switchMap','subscribe','getOwnPropertyDescriptor','loadServerUnit','FBase','length','FCollaboration','FUniver','_collaborationController','MemberService','from','_injector','toStringTag','_handler','loadActiveSheet','getCollaboration','Injector','14990rhwJTh','CollaborationController','150333OFRbRt','getUniverSheet','IUniverInstanceService','Inject','@univerjs/core/facade','1620843IYGIGP','@univerjs-pro/collaboration-client','_univerInstanceService','_snapshotService','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','rxjs','1401995DBawqr','913864vTLqfK','2342998KOSPgy','18KgiRzK'];_0x29a9=function(){return _0x258c35;};return _0x29a9();}function _0x699a(_0x45fad9,_0x341886){var _0x29a979=_0x29a9();return _0x699a=function(_0x699a2d,_0x2837ea){_0x699a2d=_0x699a2d-0x138;var _0x2ad6bf=_0x29a979[_0x699a2d];return _0x2ad6bf;},_0x699a(_0x45fad9,_0x341886);}var _0x2b0c32=_0x699a;(function(_0xd1be8c,_0x103dbb){var _0x11db46=_0x699a,_0x2f7ad5=_0xd1be8c();while(!![]){try{var _0x1e3634=parseInt(_0x11db46(0x13a))/0x1+-parseInt(_0x11db46(0x13c))/0x2+-parseInt(_0x11db46(0x163))/0x3*(-parseInt(_0x11db46(0x14c))/0x4)+parseInt(_0x11db46(0x161))/0x5*(-parseInt(_0x11db46(0x144))/0x6)+parseInt(_0x11db46(0x168))/0x7+-parseInt(_0x11db46(0x13b))/0x8*(-parseInt(_0x11db46(0x13d))/0x9)+-parseInt(_0x11db46(0x14f))/0xa*(parseInt(_0x11db46(0x142))/0xb);if(_0x1e3634===_0x103dbb)break;else _0x2f7ad5['push'](_0x2f7ad5['shift']());}catch(_0x5c1f4a){_0x2f7ad5['push'](_0x2f7ad5['shift']());}}}(_0x29a9,0xcfe43));Object[_0x2b0c32(0x148)](exports,Symbol[_0x2b0c32(0x15c)],{'value':_0x2b0c32(0x141)});const c=require(_0x2b0c32(0x169)),l=require(_0x2b0c32(0x167)),v=require(_0x2b0c32(0x14a)),i=require(_0x2b0c32(0x146)),b=require(_0x2b0c32(0x139));var S=Object[_0x2b0c32(0x152)],d=(_0x5d27dd,_0xf9fe4a,_0x4a1655,_0x27d942)=>{var _0x2b8629=_0x2b0c32;for(var _0x2a8f3e=_0x27d942>0x1?void 0x0:_0x27d942?S(_0xf9fe4a,_0x4a1655):_0xf9fe4a,_0x35fc2e=_0x5d27dd[_0x2b8629(0x155)]-0x1,_0x39013a;_0x35fc2e>=0x0;_0x35fc2e--)(_0x39013a=_0x5d27dd[_0x35fc2e])&&(_0x2a8f3e=_0x39013a(_0x2a8f3e)||_0x2a8f3e);return _0x2a8f3e;},s=(_0x552b66,_0xb633d4)=>(_0x146ddf,_0x433375)=>_0xb633d4(_0x146ddf,_0x433375,_0x552b66);exports[_0x2b0c32(0x156)]=class extends l[_0x2b0c32(0x154)]{constructor(_0x1db9db,_0x30f5fb,_0x4eef45,_0xc27a0d,_0x9dcb46){var _0x4c9371=_0x2b0c32;super(),this[_0x4c9371(0x15d)]=_0x1db9db,this[_0x4c9371(0x15b)]=_0x30f5fb,this[_0x4c9371(0x16a)]=_0x4eef45,this[_0x4c9371(0x16b)]=_0xc27a0d,this[_0x4c9371(0x158)]=_0x9dcb46;}async[_0x2b0c32(0x15e)](){var _0x2519df=_0x2b0c32;return this[_0x2519df(0x14b)]();}async['loadActiveSheetAsync'](){var _0x4c70f8=_0x2b0c32;throw new Error(_0x4c70f8(0x138));}async['loadSheet'](_0x431f47){var _0x594980=_0x2b0c32;return this[_0x594980(0x14e)](_0x431f47);}async['loadSheetAsync'](_0x1cd096,_0x28ac24){var _0x592557=_0x2b0c32;return await this[_0x592557(0x16b)][_0x592557(0x143)](_0x1cd096,0x0,_0x28ac24)?(await this[_0x592557(0x158)]['readyForCollab'](_0x1cd096),this[_0x592557(0x15d)][_0x592557(0x164)](_0x1cd096)):null;}['subscribeCollaborators'](_0x3122e1,_0x594b6b){var _0x2fa39e=_0x2b0c32;const _0x3522dd=this[_0x2fa39e(0x15b)][_0x2fa39e(0x14d)](c[_0x2fa39e(0x159)])[_0x2fa39e(0x13f)](_0x3122e1)[_0x2fa39e(0x149)](b[_0x2fa39e(0x150)](_0x3a8b1b=>_0x3a8b1b[_0x2fa39e(0x145)]))[_0x2fa39e(0x151)](_0x1f1252=>_0x594b6b(Array[_0x2fa39e(0x15a)](_0x1f1252['values']())));return i['toDisposable'](_0x3522dd);}},exports[_0x2b0c32(0x156)]=d([s(0x1,i[_0x2b0c32(0x166)](i[_0x2b0c32(0x160)])),s(0x2,i[_0x2b0c32(0x165)]),s(0x3,i[_0x2b0c32(0x166)](v[_0x2b0c32(0x147)])),s(0x4,i[_0x2b0c32(0x166)](c[_0x2b0c32(0x162)]))],exports[_0x2b0c32(0x156)]);class u extends l['FUniver']{[_0x2b0c32(0x15f)](){var _0x58d13b=_0x2b0c32;return this[_0x58d13b(0x15b)][_0x58d13b(0x13e)](exports[_0x58d13b(0x156)],{'getUniverSheet':_0xa681db=>this[_0x58d13b(0x164)](_0xa681db)});}[_0x2b0c32(0x153)](_0x47016d,_0x307334,_0x344677){var _0x46794a=_0x2b0c32;return this[_0x46794a(0x15b)][_0x46794a(0x13e)](c[_0x46794a(0x140)])['loadUnit'](_0x47016d,_0x307334,_0x344677);}}l[_0x2b0c32(0x157)]['extend'](u);
1
+ 'use strict';var _0x142e47=_0x260c;(function(_0x6ed690,_0x3220c7){var _0x284fdc=_0x260c,_0x343818=_0x6ed690();while(!![]){try{var _0x5917fd=parseInt(_0x284fdc(0x8f))/0x1+-parseInt(_0x284fdc(0x8b))/0x2+-parseInt(_0x284fdc(0x6f))/0x3+-parseInt(_0x284fdc(0x74))/0x4*(-parseInt(_0x284fdc(0x7a))/0x5)+parseInt(_0x284fdc(0x6d))/0x6*(parseInt(_0x284fdc(0x96))/0x7)+parseInt(_0x284fdc(0x85))/0x8*(-parseInt(_0x284fdc(0x7b))/0x9)+parseInt(_0x284fdc(0x6a))/0xa;if(_0x5917fd===_0x3220c7)break;else _0x343818['push'](_0x343818['shift']());}catch(_0x10a7ab){_0x343818['push'](_0x343818['shift']());}}}(_0xd8b5,0x7bcac));function _0xd8b5(){var _0xb445cf=['loadSheetAsync','531224hzLVae','_snapshotService','@univerjs-pro/collaboration','FBase','extend','rxjs','25LZURnz','174051KlWeaA','_univerInstanceService','subscribe','Inject','createInstance','members$','from','@univerjs/core/facade','getOwnPropertyDescriptor','_collaborationController','160SFibWo','CollaborationController','getCollaboration','readyForCollab','loadSheet','SnapshotService','1012498LopIPn','loadUnit','getUniverSheet','_injector','374366OOmvSC','FCollaboration','toDisposable','values','toStringTag','FUniver','switchMap','189nJGXoh','DataLoaderService','_handler','pipe','loadServerUnit','2091040rSiHKi','length','defineProperty','200598AhNkgY','get','2250330NLtnwp','loadActiveSheetAsync','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','@univerjs/core'];_0xd8b5=function(){return _0xb445cf;};return _0xd8b5();}Object[_0x142e47(0x6c)](exports,Symbol[_0x142e47(0x93)],{'value':'Module'});const c=require('@univerjs-pro/collaboration-client'),l=require(_0x142e47(0x82)),v=require(_0x142e47(0x76)),i=require(_0x142e47(0x72)),b=require(_0x142e47(0x79));var S=Object[_0x142e47(0x83)],d=(_0x426ddd,_0x4564a3,_0x5bb6f4,_0x99f428)=>{var _0x3175f4=_0x142e47;for(var _0x4d1a2b=_0x99f428>0x1?void 0x0:_0x99f428?S(_0x4564a3,_0x5bb6f4):_0x4564a3,_0x5f3887=_0x426ddd[_0x3175f4(0x6b)]-0x1,_0x3c8de1;_0x5f3887>=0x0;_0x5f3887--)(_0x3c8de1=_0x426ddd[_0x5f3887])&&(_0x4d1a2b=_0x3c8de1(_0x4d1a2b)||_0x4d1a2b);return _0x4d1a2b;},s=(_0x3e4a12,_0x1ea92b)=>(_0x443905,_0x3bddac)=>_0x1ea92b(_0x443905,_0x3bddac,_0x3e4a12);function _0x260c(_0x1914de,_0x310299){var _0xd8b5c0=_0xd8b5();return _0x260c=function(_0x260c0b,_0x4e7a98){_0x260c0b=_0x260c0b-0x6a;var _0x525282=_0xd8b5c0[_0x260c0b];return _0x525282;},_0x260c(_0x1914de,_0x310299);}exports[_0x142e47(0x90)]=class extends l[_0x142e47(0x77)]{constructor(_0x59219e,_0x38c5cd,_0xdf0a1c,_0x409248,_0x1b0806){var _0x4e0daf=_0x142e47;super(),this[_0x4e0daf(0x98)]=_0x59219e,this[_0x4e0daf(0x8e)]=_0x38c5cd,this[_0x4e0daf(0x7c)]=_0xdf0a1c,this[_0x4e0daf(0x75)]=_0x409248,this['_collaborationController']=_0x1b0806;}async['loadActiveSheet'](){return this['loadActiveSheetAsync']();}async[_0x142e47(0x70)](){var _0x5457b6=_0x142e47;throw new Error(_0x5457b6(0x71));}async[_0x142e47(0x89)](_0xf0254d){var _0x3f2a3f=_0x142e47;return this[_0x3f2a3f(0x73)](_0xf0254d);}async[_0x142e47(0x73)](_0x27069c,_0x1a4c04){var _0x3776df=_0x142e47;return await this[_0x3776df(0x75)]['loadSheet'](_0x27069c,0x0,_0x1a4c04)?(await this[_0x3776df(0x84)][_0x3776df(0x88)](_0x27069c),this['_handler']['getUniverSheet'](_0x27069c)):null;}['subscribeCollaborators'](_0x550a4c,_0x3aab4d){var _0x1b2638=_0x142e47;const _0x595d29=this[_0x1b2638(0x8e)][_0x1b2638(0x6e)](c['MemberService'])['waitForRoom$'](_0x550a4c)[_0x1b2638(0x99)](b[_0x1b2638(0x95)](_0x4697bc=>_0x4697bc[_0x1b2638(0x80)]))[_0x1b2638(0x7d)](_0x11bffa=>_0x3aab4d(Array[_0x1b2638(0x81)](_0x11bffa[_0x1b2638(0x92)]())));return i[_0x1b2638(0x91)](_0x595d29);}},exports['FCollaboration']=d([s(0x1,i['Inject'](i['Injector'])),s(0x2,i['IUniverInstanceService']),s(0x3,i[_0x142e47(0x7e)](v[_0x142e47(0x8a)])),s(0x4,i[_0x142e47(0x7e)](c[_0x142e47(0x86)]))],exports['FCollaboration']);class u extends l['FUniver']{[_0x142e47(0x87)](){var _0x4608dd=_0x142e47;return this[_0x4608dd(0x8e)]['createInstance'](exports['FCollaboration'],{'getUniverSheet':_0xf92973=>this[_0x4608dd(0x8d)](_0xf92973)});}[_0x142e47(0x9a)](_0x416de3,_0x442692,_0x574d22){var _0x102981=_0x142e47;return this['_injector'][_0x102981(0x7f)](c[_0x102981(0x97)])[_0x102981(0x8c)](_0x416de3,_0x442692,_0x574d22);}}l[_0x142e47(0x94)][_0x142e47(0x78)](u);