@univerjs-pro/collaboration-client 0.6.10-experimental.20250411-f5b7b16 → 0.6.10-experimental.20250419-8830bd4

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 _0xf1843b=_0xd093;(function(_0x13cd63,_0x10fa63){var _0x2d6f98=_0xd093,_0x8416d8=_0x13cd63();while(!![]){try{var _0x3f3fa1=-parseInt(_0x2d6f98(0x143))/0x1+parseInt(_0x2d6f98(0x126))/0x2*(parseInt(_0x2d6f98(0x132))/0x3)+parseInt(_0x2d6f98(0x124))/0x4+-parseInt(_0x2d6f98(0x12a))/0x5+parseInt(_0x2d6f98(0x147))/0x6*(-parseInt(_0x2d6f98(0x13e))/0x7)+parseInt(_0x2d6f98(0x136))/0x8+parseInt(_0x2d6f98(0x11e))/0x9*(-parseInt(_0x2d6f98(0x141))/0xa);if(_0x3f3fa1===_0x10fa63)break;else _0x8416d8['push'](_0x8416d8['shift']());}catch(_0x267dce){_0x8416d8['push'](_0x8416d8['shift']());}}}(_0x2f9c,0x680b4));Object[_0xf1843b(0x120)](exports,Symbol[_0xf1843b(0x135)],{'value':'Module'});function _0xd093(_0x505806,_0x44fc9b){var _0x2f9c7e=_0x2f9c();return _0xd093=function(_0xd09368,_0x95c102){_0xd09368=_0xd09368-0x11b;var _0x14c3a3=_0x2f9c7e[_0xd09368];return _0x14c3a3;},_0xd093(_0x505806,_0x44fc9b);}function _0x2f9c(){var _0x119a9f=['_snapshotService','subscribe','waitForRoom$','_collaborationController','loadSheetAsync','7yQEkHF','loadServerUnit','extend','10PkZVIP','_injector','245613frHfJX','MemberService','values','_handler','2396274nwUarw','getUniverSheet','FUniver','FBase','2245356jyWjXF','FCollaboration','defineProperty','DataLoaderService','IUniverInstanceService','SnapshotService','2788496RkutNt','get','2xlrMoJ','members$','from','rxjs','1673860XJAJga','@univerjs/core/facade','createInstance','toDisposable','switchMap','_univerInstanceService','Injector','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','1495686PpxLwr','length','loadSheet','toStringTag','3677808eQZcJo','@univerjs-pro/collaboration-client','@univerjs-pro/collaboration'];_0x2f9c=function(){return _0x119a9f;};return _0x2f9c();}const c=require(_0xf1843b(0x137)),l=require(_0xf1843b(0x12b)),v=require(_0xf1843b(0x138)),i=require('@univerjs/core'),b=require(_0xf1843b(0x129));var S=Object['getOwnPropertyDescriptor'],d=(_0x5055cb,_0x735195,_0x1dd03e,_0x520a00)=>{var _0x15fcbd=_0xf1843b;for(var _0x3b6162=_0x520a00>0x1?void 0x0:_0x520a00?S(_0x735195,_0x1dd03e):_0x735195,_0x32736c=_0x5055cb[_0x15fcbd(0x133)]-0x1,_0x11bede;_0x32736c>=0x0;_0x32736c--)(_0x11bede=_0x5055cb[_0x32736c])&&(_0x3b6162=_0x11bede(_0x3b6162)||_0x3b6162);return _0x3b6162;},s=(_0x773f3d,_0x59d115)=>(_0x299057,_0x3b2005)=>_0x59d115(_0x299057,_0x3b2005,_0x773f3d);exports[_0xf1843b(0x11f)]=class extends l[_0xf1843b(0x11d)]{constructor(_0x3bdcf2,_0x465ce2,_0x5f58fe,_0x112bd7,_0x32c0e6){var _0x3ba393=_0xf1843b;super(),this['_handler']=_0x3bdcf2,this[_0x3ba393(0x142)]=_0x465ce2,this[_0x3ba393(0x12f)]=_0x5f58fe,this[_0x3ba393(0x139)]=_0x112bd7,this[_0x3ba393(0x13c)]=_0x32c0e6;}async['loadActiveSheet'](){return this['loadActiveSheetAsync']();}async['loadActiveSheetAsync'](){var _0x270f92=_0xf1843b;throw new Error(_0x270f92(0x131));}async[_0xf1843b(0x134)](_0x3eadf3){var _0x44aae7=_0xf1843b;return this[_0x44aae7(0x13d)](_0x3eadf3);}async[_0xf1843b(0x13d)](_0x21a395,_0x393f45){var _0x465979=_0xf1843b;return await this[_0x465979(0x139)][_0x465979(0x134)](_0x21a395,0x0,_0x393f45)?(await this[_0x465979(0x13c)]['readyForCollab'](_0x21a395),this[_0x465979(0x146)]['getUniverSheet'](_0x21a395)):null;}['subscribeCollaborators'](_0x951e17,_0x52f6eb){var _0x310982=_0xf1843b;const _0x2a0922=this[_0x310982(0x142)][_0x310982(0x125)](c[_0x310982(0x144)])[_0x310982(0x13b)](_0x951e17)['pipe'](b[_0x310982(0x12e)](_0x370f2a=>_0x370f2a[_0x310982(0x127)]))[_0x310982(0x13a)](_0x42ed79=>_0x52f6eb(Array[_0x310982(0x128)](_0x42ed79[_0x310982(0x145)]())));return i[_0x310982(0x12d)](_0x2a0922);}},exports[_0xf1843b(0x11f)]=d([s(0x1,i['Inject'](i[_0xf1843b(0x130)])),s(0x2,i[_0xf1843b(0x122)]),s(0x3,i['Inject'](v[_0xf1843b(0x123)])),s(0x4,i['Inject'](c['CollaborationController']))],exports[_0xf1843b(0x11f)]);class u extends l[_0xf1843b(0x11c)]{['getCollaboration'](){var _0x52c67a=_0xf1843b;return this[_0x52c67a(0x142)][_0x52c67a(0x12c)](exports[_0x52c67a(0x11f)],{'getUniverSheet':_0x3d8a33=>this[_0x52c67a(0x11b)](_0x3d8a33)});}[_0xf1843b(0x13f)](_0x483dac,_0x23455d,_0x1fb222){var _0x42fa25=_0xf1843b;return this[_0x42fa25(0x142)][_0x42fa25(0x12c)](c[_0x42fa25(0x121)])['loadUnit'](_0x483dac,_0x23455d,_0x1fb222);}}l[_0xf1843b(0x11c)][_0xf1843b(0x140)](u);
1
+ 'use strict';function _0x2299(){var _0x325dd3=['Module','1982300ZzYuwD','getUniverSheet','loadServerUnit','759552zLdEJG','loadActiveSheetAsync','loadSheet','toStringTag','getCollaboration','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','loadUnit','subscribe','@univerjs-pro/collaboration','subscribeCollaborators','@univerjs/core/facade','8612210BoJGZb','readyForCollab','_injector','MemberService','createInstance','Inject','8WXfQZC','getOwnPropertyDescriptor','defineProperty','18ZblnQx','FBase','_snapshotService','@univerjs/core','FCollaboration','rxjs','3948xbraZO','CollaborationController','1397256sYJeqT','DataLoaderService','get','34971zzYdLo','4818LcpRJy','loadSheetAsync','_handler','_collaborationController','switchMap','values','Injector','FUniver','_univerInstanceService','extend','2108532YxqgFR'];_0x2299=function(){return _0x325dd3;};return _0x2299();}var _0x4d3863=_0x5a1e;(function(_0x35ce96,_0x49f85f){var _0xfae67e=_0x5a1e,_0xea10af=_0x35ce96();while(!![]){try{var _0xcd34f4=parseInt(_0xfae67e(0x11c))/0x1+-parseInt(_0xfae67e(0x117))/0x2+parseInt(_0xfae67e(0x10c))/0x3*(-parseInt(_0xfae67e(0x12d))/0x4)+-parseInt(_0xfae67e(0x119))/0x5+parseInt(_0xfae67e(0x10d))/0x6*(-parseInt(_0xfae67e(0x136))/0x7)+parseInt(_0xfae67e(0x109))/0x8+-parseInt(_0xfae67e(0x130))/0x9*(-parseInt(_0xfae67e(0x127))/0xa);if(_0xcd34f4===_0x49f85f)break;else _0xea10af['push'](_0xea10af['shift']());}catch(_0xe6433b){_0xea10af['push'](_0xea10af['shift']());}}}(_0x2299,0xb2277));function _0x5a1e(_0x1e09a5,_0x1f564f){var _0x22990c=_0x2299();return _0x5a1e=function(_0x5a1e46,_0x108442){_0x5a1e46=_0x5a1e46-0x109;var _0x511d58=_0x22990c[_0x5a1e46];return _0x511d58;},_0x5a1e(_0x1e09a5,_0x1f564f);}Object[_0x4d3863(0x12f)](exports,Symbol[_0x4d3863(0x11f)],{'value':_0x4d3863(0x118)});const c=require('@univerjs-pro/collaboration-client'),l=require(_0x4d3863(0x126)),v=require(_0x4d3863(0x124)),i=require(_0x4d3863(0x133)),b=require(_0x4d3863(0x135));var S=Object[_0x4d3863(0x12e)],d=(_0x39f083,_0x5d6314,_0x5303dc,_0x5f273a)=>{for(var _0x3a4274=_0x5f273a>0x1?void 0x0:_0x5f273a?S(_0x5d6314,_0x5303dc):_0x5d6314,_0x5cd0c1=_0x39f083['length']-0x1,_0x50b35a;_0x5cd0c1>=0x0;_0x5cd0c1--)(_0x50b35a=_0x39f083[_0x5cd0c1])&&(_0x3a4274=_0x50b35a(_0x3a4274)||_0x3a4274);return _0x3a4274;},s=(_0x55b83f,_0x3390e2)=>(_0x31c1e0,_0x3da3c1)=>_0x3390e2(_0x31c1e0,_0x3da3c1,_0x55b83f);exports[_0x4d3863(0x134)]=class extends l[_0x4d3863(0x131)]{constructor(_0x2a6119,_0xe271e2,_0x58eb97,_0x33dc27,_0x1d97cf){var _0x287792=_0x4d3863;super(),this[_0x287792(0x10f)]=_0x2a6119,this['_injector']=_0xe271e2,this[_0x287792(0x115)]=_0x58eb97,this['_snapshotService']=_0x33dc27,this[_0x287792(0x110)]=_0x1d97cf;}async['loadActiveSheet'](){var _0x218001=_0x4d3863;return this[_0x218001(0x11d)]();}async[_0x4d3863(0x11d)](){var _0x9e2cb4=_0x4d3863;throw new Error(_0x9e2cb4(0x121));}async[_0x4d3863(0x11e)](_0x493fe0){var _0x5b2803=_0x4d3863;return this[_0x5b2803(0x10e)](_0x493fe0);}async[_0x4d3863(0x10e)](_0x1714cf,_0x42d3fc){var _0x48f08c=_0x4d3863;return await this[_0x48f08c(0x132)][_0x48f08c(0x11e)](_0x1714cf,0x0,_0x42d3fc)?(await this[_0x48f08c(0x110)][_0x48f08c(0x128)](_0x1714cf),this[_0x48f08c(0x10f)][_0x48f08c(0x11a)](_0x1714cf)):null;}[_0x4d3863(0x125)](_0x146e10,_0x6d201d){var _0x748fe5=_0x4d3863;const _0x317f90=this[_0x748fe5(0x129)][_0x748fe5(0x10b)](c[_0x748fe5(0x12a)])['waitForRoom$'](_0x146e10)['pipe'](b[_0x748fe5(0x111)](_0x15d73b=>_0x15d73b['members$']))[_0x748fe5(0x123)](_0x3dd63f=>_0x6d201d(Array['from'](_0x3dd63f[_0x748fe5(0x112)]())));return i['toDisposable'](_0x317f90);}},exports[_0x4d3863(0x134)]=d([s(0x1,i[_0x4d3863(0x12c)](i[_0x4d3863(0x113)])),s(0x2,i['IUniverInstanceService']),s(0x3,i[_0x4d3863(0x12c)](v['SnapshotService'])),s(0x4,i['Inject'](c[_0x4d3863(0x137)]))],exports[_0x4d3863(0x134)]);class u extends l[_0x4d3863(0x114)]{[_0x4d3863(0x120)](){var _0x2b01d7=_0x4d3863;return this[_0x2b01d7(0x129)]['createInstance'](exports[_0x2b01d7(0x134)],{'getUniverSheet':_0x20dcff=>this[_0x2b01d7(0x11a)](_0x20dcff)});}[_0x4d3863(0x11b)](_0x56f850,_0x154891,_0x379b3a){var _0x331785=_0x4d3863;return this[_0x331785(0x129)][_0x331785(0x12b)](c[_0x331785(0x10a)])[_0x331785(0x122)](_0x56f850,_0x154891,_0x379b3a);}}l[_0x4d3863(0x114)][_0x4d3863(0x116)](u);