@univerjs-pro/collaboration-client 0.6.10-nightly.202504281607 → 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';var _0x46c21f=_0xf788;(function(_0xe4c450,_0x5c3b43){var _0x2d95b6=_0xf788,_0x17a39f=_0xe4c450();while(!![]){try{var _0x232212=parseInt(_0x2d95b6(0x10d))/0x1*(-parseInt(_0x2d95b6(0x10a))/0x2)+parseInt(_0x2d95b6(0x120))/0x3*(-parseInt(_0x2d95b6(0x10e))/0x4)+-parseInt(_0x2d95b6(0x126))/0x5*(-parseInt(_0x2d95b6(0x12c))/0x6)+parseInt(_0x2d95b6(0x108))/0x7*(-parseInt(_0x2d95b6(0x11e))/0x8)+-parseInt(_0x2d95b6(0x119))/0x9+parseInt(_0x2d95b6(0x103))/0xa*(parseInt(_0x2d95b6(0x10c))/0xb)+-parseInt(_0x2d95b6(0x123))/0xc*(-parseInt(_0x2d95b6(0x11b))/0xd);if(_0x232212===_0x5c3b43)break;else _0x17a39f['push'](_0x17a39f['shift']());}catch(_0x356be6){_0x17a39f['push'](_0x17a39f['shift']());}}}(_0x163e,0xab6dc));Object[_0x46c21f(0x116)](exports,Symbol['toStringTag'],{'value':_0x46c21f(0x128)});const c=require(_0x46c21f(0x12e)),l=require(_0x46c21f(0x110)),v=require('@univerjs-pro/collaboration'),i=require(_0x46c21f(0x129)),b=require('rxjs');function _0x163e(){var _0x1e66ad=['loadServerUnit','FBase','48MpHtEb','Inject','@univerjs-pro/collaboration-client','length','pipe','IUniverInstanceService','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','subscribeCollaborators','FUniver','from','CollaborationController','get','SnapshotService','10GLagBk','subscribe','values','getCollaboration','loadActiveSheet','7LZIuQA','Injector','1529722tVNiJF','DataLoaderService','11043835GsNBGm','1TGHpJw','796QSAwFR','_handler','@univerjs/core/facade','FCollaboration','loadUnit','loadSheet','MemberService','waitForRoom$','defineProperty','_collaborationController','extend','5797251rprOEi','toDisposable','76596KMYQip','readyForCollab','loadSheetAsync','10612352Sstkfz','_snapshotService','9861baQJlH','_injector','getUniverSheet','4116fMOetz','createInstance','getOwnPropertyDescriptor','666805RsPLrt','loadActiveSheetAsync','Module','@univerjs/core'];_0x163e=function(){return _0x1e66ad;};return _0x163e();}var S=Object[_0x46c21f(0x125)],d=(_0x3d5018,_0x2b5a22,_0x256c83,_0x259adf)=>{var _0x54fb3a=_0x46c21f;for(var _0x3ce47b=_0x259adf>0x1?void 0x0:_0x259adf?S(_0x2b5a22,_0x256c83):_0x2b5a22,_0x104f4e=_0x3d5018[_0x54fb3a(0x12f)]-0x1,_0x4d7c61;_0x104f4e>=0x0;_0x104f4e--)(_0x4d7c61=_0x3d5018[_0x104f4e])&&(_0x3ce47b=_0x4d7c61(_0x3ce47b)||_0x3ce47b);return _0x3ce47b;},s=(_0x2a3125,_0x255d31)=>(_0x46c784,_0x164453)=>_0x255d31(_0x46c784,_0x164453,_0x2a3125);function _0xf788(_0x2a6c47,_0xcd19ea){var _0x163e73=_0x163e();return _0xf788=function(_0xf78872,_0x1cbfd0){_0xf78872=_0xf78872-0xfe;var _0x13d9af=_0x163e73[_0xf78872];return _0x13d9af;},_0xf788(_0x2a6c47,_0xcd19ea);}exports[_0x46c21f(0x111)]=class extends l[_0x46c21f(0x12b)]{constructor(_0xb852e0,_0xa6814d,_0x2d1e2d,_0x5761ff,_0x1805d9){var _0x52a17a=_0x46c21f;super(),this[_0x52a17a(0x10f)]=_0xb852e0,this['_injector']=_0xa6814d,this['_univerInstanceService']=_0x2d1e2d,this[_0x52a17a(0x11f)]=_0x5761ff,this[_0x52a17a(0x117)]=_0x1805d9;}async[_0x46c21f(0x107)](){var _0x6aa104=_0x46c21f;return this[_0x6aa104(0x127)]();}async[_0x46c21f(0x127)](){var _0x425ff9=_0x46c21f;throw new Error(_0x425ff9(0x132));}async['loadSheet'](_0x4e9d17){return this['loadSheetAsync'](_0x4e9d17);}async[_0x46c21f(0x11d)](_0x21f3a6,_0x52c8da){var _0x3967af=_0x46c21f;return await this[_0x3967af(0x11f)][_0x3967af(0x113)](_0x21f3a6,0x0,_0x52c8da)?(await this[_0x3967af(0x117)][_0x3967af(0x11c)](_0x21f3a6),this[_0x3967af(0x10f)]['getUniverSheet'](_0x21f3a6)):null;}[_0x46c21f(0x133)](_0x13f22d,_0x5a2d75){var _0xde20e=_0x46c21f;const _0x34a36d=this['_injector'][_0xde20e(0x101)](c[_0xde20e(0x114)])[_0xde20e(0x115)](_0x13f22d)[_0xde20e(0x130)](b['switchMap'](_0x336aeb=>_0x336aeb['members$']))[_0xde20e(0x104)](_0x11b190=>_0x5a2d75(Array[_0xde20e(0xff)](_0x11b190[_0xde20e(0x105)]())));return i[_0xde20e(0x11a)](_0x34a36d);}},exports[_0x46c21f(0x111)]=d([s(0x1,i[_0x46c21f(0x12d)](i[_0x46c21f(0x109)])),s(0x2,i[_0x46c21f(0x131)]),s(0x3,i[_0x46c21f(0x12d)](v[_0x46c21f(0x102)])),s(0x4,i[_0x46c21f(0x12d)](c[_0x46c21f(0x100)]))],exports['FCollaboration']);class u extends l[_0x46c21f(0xfe)]{[_0x46c21f(0x106)](){var _0x32c408=_0x46c21f;return this[_0x32c408(0x121)][_0x32c408(0x124)](exports[_0x32c408(0x111)],{'getUniverSheet':_0x214e7e=>this[_0x32c408(0x122)](_0x214e7e)});}[_0x46c21f(0x12a)](_0x3ab832,_0x5609ae,_0x996b6c){var _0x53ee99=_0x46c21f;return this[_0x53ee99(0x121)][_0x53ee99(0x124)](c[_0x53ee99(0x10b)])[_0x53ee99(0x112)](_0x3ab832,_0x5609ae,_0x996b6c);}}l[_0x46c21f(0xfe)][_0x46c21f(0x118)](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);