@univerjs-pro/collaboration-client 0.7.0-nightly.202505251606 → 0.8.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 _0x479fe6=_0x13ed;(function(_0x5a6fbd,_0x5033c4){var _0x3b723a=_0x13ed,_0x18d918=_0x5a6fbd();while(!![]){try{var _0x17d856=-parseInt(_0x3b723a(0x171))/0x1+-parseInt(_0x3b723a(0x160))/0x2*(parseInt(_0x3b723a(0x172))/0x3)+-parseInt(_0x3b723a(0x157))/0x4+-parseInt(_0x3b723a(0x153))/0x5*(parseInt(_0x3b723a(0x163))/0x6)+-parseInt(_0x3b723a(0x159))/0x7*(-parseInt(_0x3b723a(0x17e))/0x8)+parseInt(_0x3b723a(0x156))/0x9*(-parseInt(_0x3b723a(0x15b))/0xa)+parseInt(_0x3b723a(0x174))/0xb;if(_0x17d856===_0x5033c4)break;else _0x18d918['push'](_0x18d918['shift']());}catch(_0x198f69){_0x18d918['push'](_0x18d918['shift']());}}}(_0x180a,0x1ce8a));function _0x180a(){var _0x4a8180=['loadActiveSheet','18rzLaYG','363408AsGljS','from','7HtHwTs','defineProperty','696450eYkISL','get','loadActiveSheetAsync','loadSheetAsync','loadServerUnitOfRevision','74ZudosP','members$','getCollaboration','15618UXHdEq','_handler','loadSheet','pipe','@univerjs/core/facade','loadUnitOfRevision','length','createInstance','loadUnit','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','getUniverSheet','CollaborationController','subscribe','getOwnPropertyDescriptor','39145aAoJeC','939WGyLtA','toStringTag','4076908pqqXYv','_univerInstanceService','MemberService','_injector','Inject','DataLoaderService','FCollaboration','IUniverInstanceService','FUniver','loadServerUnit','1207928zLFUnP','_snapshotService','@univerjs-pro/collaboration','waitForRoom$','rxjs','toDisposable','extend','_collaborationController','235TEwvpJ','switchMap'];_0x180a=function(){return _0x4a8180;};return _0x180a();}function _0x13ed(_0x3d5c06,_0x36422b){var _0x180aae=_0x180a();return _0x13ed=function(_0x13ed11,_0x33f96d){_0x13ed11=_0x13ed11-0x14e;var _0x2242c5=_0x180aae[_0x13ed11];return _0x2242c5;},_0x13ed(_0x3d5c06,_0x36422b);}Object[_0x479fe6(0x15a)](exports,Symbol[_0x479fe6(0x173)],{'value':'Module'});const c=require('@univerjs-pro/collaboration-client'),l=require(_0x479fe6(0x167)),h=require(_0x479fe6(0x180)),n=require('@univerjs/core'),b=require(_0x479fe6(0x14f));var d=Object[_0x479fe6(0x170)],S=(_0x6f16a2,_0x2756c1,_0x2caee0,_0x206c69)=>{var _0xf77236=_0x479fe6;for(var _0x5c24a2=_0x206c69>0x1?void 0x0:_0x206c69?d(_0x2756c1,_0x2caee0):_0x2756c1,_0x3a6b3a=_0x6f16a2[_0xf77236(0x169)]-0x1,_0x5e7b6c;_0x3a6b3a>=0x0;_0x3a6b3a--)(_0x5e7b6c=_0x6f16a2[_0x3a6b3a])&&(_0x5c24a2=_0x5e7b6c(_0x5c24a2)||_0x5c24a2);return _0x5c24a2;},s=(_0x38f2a9,_0x2e022f)=>(_0x15bf23,_0x34dd53)=>_0x2e022f(_0x15bf23,_0x34dd53,_0x38f2a9);exports[_0x479fe6(0x17a)]=class extends l['FBase']{constructor(_0x37c477,_0x5db704,_0x17a8d9,_0x11f9ac,_0x9f07a2){var _0x1c0d87=_0x479fe6;super(),this['_handler']=_0x37c477,this[_0x1c0d87(0x177)]=_0x5db704,this[_0x1c0d87(0x175)]=_0x17a8d9,this['_snapshotService']=_0x11f9ac,this[_0x1c0d87(0x152)]=_0x9f07a2;}async[_0x479fe6(0x155)](){var _0x1dcdb8=_0x479fe6;return this[_0x1dcdb8(0x15d)]();}async[_0x479fe6(0x15d)](){var _0x174518=_0x479fe6;throw new Error(_0x174518(0x16c));}async[_0x479fe6(0x165)](_0x414db1){var _0x36aa19=_0x479fe6;return this[_0x36aa19(0x15e)](_0x414db1);}async[_0x479fe6(0x15e)](_0x5de70a,_0x5145ba){var _0x255d0f=_0x479fe6;return await this[_0x255d0f(0x17f)][_0x255d0f(0x165)](_0x5de70a,0x0,_0x5145ba)?(await this['_collaborationController']['readyForCollab'](_0x5de70a),this[_0x255d0f(0x164)][_0x255d0f(0x16d)](_0x5de70a)):null;}['subscribeCollaborators'](_0x3d477c,_0x17cc6f){var _0x45f909=_0x479fe6;const _0x5c4e1c=this[_0x45f909(0x177)]['get'](c[_0x45f909(0x176)])[_0x45f909(0x14e)](_0x3d477c)[_0x45f909(0x166)](b[_0x45f909(0x154)](_0xe7abca=>_0xe7abca[_0x45f909(0x161)]))[_0x45f909(0x16f)](_0x392dbf=>_0x17cc6f(Array[_0x45f909(0x158)](_0x392dbf['values']())));return n[_0x45f909(0x150)](_0x5c4e1c);}},exports[_0x479fe6(0x17a)]=S([s(0x1,n['Inject'](n['Injector'])),s(0x2,n[_0x479fe6(0x17b)]),s(0x3,n[_0x479fe6(0x178)](h['SnapshotService'])),s(0x4,n[_0x479fe6(0x178)](c[_0x479fe6(0x16e)]))],exports['FCollaboration']);class u extends l[_0x479fe6(0x17c)]{[_0x479fe6(0x162)](){var _0x69a0c9=_0x479fe6;return this[_0x69a0c9(0x177)][_0x69a0c9(0x16a)](exports[_0x69a0c9(0x17a)],{'getUniverSheet':_0x369908=>this[_0x69a0c9(0x16d)](_0x369908)});}[_0x479fe6(0x17d)](_0x3a5f11,_0x347e21,_0x41ebc3){var _0x49800f=_0x479fe6;return this[_0x49800f(0x177)]['get'](c[_0x49800f(0x179)])[_0x49800f(0x16b)](_0x3a5f11,_0x347e21,_0x41ebc3);}[_0x479fe6(0x15f)](_0x1002a2,_0x170823,_0x16727e){var _0x52ab10=_0x479fe6;return this[_0x52ab10(0x177)][_0x52ab10(0x15c)](c[_0x52ab10(0x179)])[_0x52ab10(0x168)](_0x1002a2,_0x170823,_0x16727e);}}l[_0x479fe6(0x17c)][_0x479fe6(0x151)](u);
1
+ 'use strict';function _0xf06f(){var _0x392773=['FBase','loadActiveSheet','@univerjs-pro/collaboration-client','_snapshotService','504679RNvaFn','FCollaboration','@univerjs/core','members$','loadUnit','Inject','readyForCollab','7874750MprWiw','loadActiveSheetAsync','get','switchMap','loadSheet','toStringTag','899412XOYnwr','1502170sSOsKQ','loadSheetAsync','loadServerUnit','getUniverSheet','getCollaboration','FUniver','DataLoaderService','8665DjVNwj','1944774uWOcAF','MemberService','_handler','subscribe','3snRDFE','4496920ufbNyF','toDisposable','extend','subscribeCollaborators','1074jKIgCn','24PHUfzA','_injector','pipe','@univerjs/core/facade','defineProperty','loadServerUnitOfRevision','rxjs','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','_univerInstanceService','@univerjs-pro/collaboration','createInstance','_collaborationController','Injector'];_0xf06f=function(){return _0x392773;};return _0xf06f();}var _0x348975=_0x1bab;(function(_0x53968e,_0x279005){var _0x4ee67c=_0x1bab,_0x1fc351=_0x53968e();while(!![]){try{var _0x30381a=parseInt(_0x4ee67c(0x1f1))/0x1+-parseInt(_0x4ee67c(0x1f0))/0x2*(-parseInt(_0x4ee67c(0x1fd))/0x3)+-parseInt(_0x4ee67c(0x1cd))/0x4+-parseInt(_0x4ee67c(0x1f8))/0x5*(-parseInt(_0x4ee67c(0x1d1))/0x6)+parseInt(_0x4ee67c(0x1e3))/0x7*(parseInt(_0x4ee67c(0x1d2))/0x8)+parseInt(_0x4ee67c(0x1f9))/0x9+-parseInt(_0x4ee67c(0x1ea))/0xa;if(_0x30381a===_0x279005)break;else _0x1fc351['push'](_0x1fc351['shift']());}catch(_0x333b8b){_0x1fc351['push'](_0x1fc351['shift']());}}}(_0xf06f,0xbf1a3));Object[_0x348975(0x1d6)](exports,Symbol[_0x348975(0x1ef)],{'value':'Module'});function _0x1bab(_0x5196cd,_0x497c76){var _0xf06f14=_0xf06f();return _0x1bab=function(_0x1babc4,_0x13890a){_0x1babc4=_0x1babc4-0x1cd;var _0x3c5216=_0xf06f14[_0x1babc4];return _0x3c5216;},_0x1bab(_0x5196cd,_0x497c76);}const c=require(_0x348975(0x1e1)),l=require(_0x348975(0x1d5)),h=require(_0x348975(0x1db)),n=require(_0x348975(0x1e5)),b=require(_0x348975(0x1d8));var d=Object['getOwnPropertyDescriptor'],S=(_0x5991eb,_0x277f7a,_0x2d1d84,_0x46113f)=>{for(var _0x5ba370=_0x46113f>0x1?void 0x0:_0x46113f?d(_0x277f7a,_0x2d1d84):_0x277f7a,_0x24639d=_0x5991eb['length']-0x1,_0x3eaae2;_0x24639d>=0x0;_0x24639d--)(_0x3eaae2=_0x5991eb[_0x24639d])&&(_0x5ba370=_0x3eaae2(_0x5ba370)||_0x5ba370);return _0x5ba370;},s=(_0x187ccb,_0x3c8c30)=>(_0x443664,_0x4d2a14)=>_0x3c8c30(_0x443664,_0x4d2a14,_0x187ccb);exports[_0x348975(0x1e4)]=class extends l[_0x348975(0x1df)]{constructor(_0x2f4336,_0x47321f,_0x450e75,_0x128c06,_0x4ef454){var _0x4f6a48=_0x348975;super(),this[_0x4f6a48(0x1fb)]=_0x2f4336,this[_0x4f6a48(0x1d3)]=_0x47321f,this[_0x4f6a48(0x1da)]=_0x450e75,this[_0x4f6a48(0x1e2)]=_0x128c06,this[_0x4f6a48(0x1dd)]=_0x4ef454;}async[_0x348975(0x1e0)](){var _0x5d3b79=_0x348975;return this[_0x5d3b79(0x1eb)]();}async[_0x348975(0x1eb)](){var _0x13b32c=_0x348975;throw new Error(_0x13b32c(0x1d9));}async[_0x348975(0x1ee)](_0x2c85dd){var _0x33302c=_0x348975;return this[_0x33302c(0x1f2)](_0x2c85dd);}async[_0x348975(0x1f2)](_0x2efc2a,_0xacd767){var _0x59ed68=_0x348975;return await this[_0x59ed68(0x1e2)][_0x59ed68(0x1ee)](_0x2efc2a,0x0,_0xacd767)?(await this[_0x59ed68(0x1dd)][_0x59ed68(0x1e9)](_0x2efc2a),this[_0x59ed68(0x1fb)][_0x59ed68(0x1f4)](_0x2efc2a)):null;}[_0x348975(0x1d0)](_0x2cd52a,_0x5170a8){var _0x300baf=_0x348975;const _0x244dcf=this[_0x300baf(0x1d3)]['get'](c[_0x300baf(0x1fa)])['waitForRoom$'](_0x2cd52a)[_0x300baf(0x1d4)](b[_0x300baf(0x1ed)](_0x2ed316=>_0x2ed316[_0x300baf(0x1e6)]))[_0x300baf(0x1fc)](_0x1873fe=>_0x5170a8(Array['from'](_0x1873fe['values']())));return n[_0x300baf(0x1ce)](_0x244dcf);}},exports[_0x348975(0x1e4)]=S([s(0x1,n['Inject'](n[_0x348975(0x1de)])),s(0x2,n['IUniverInstanceService']),s(0x3,n[_0x348975(0x1e8)](h['SnapshotService'])),s(0x4,n[_0x348975(0x1e8)](c['CollaborationController']))],exports['FCollaboration']);class u extends l[_0x348975(0x1f6)]{[_0x348975(0x1f5)](){var _0x12f7ce=_0x348975;return this[_0x12f7ce(0x1d3)][_0x12f7ce(0x1dc)](exports[_0x12f7ce(0x1e4)],{'getUniverSheet':_0x3eb984=>this[_0x12f7ce(0x1f4)](_0x3eb984)});}[_0x348975(0x1f3)](_0x50e66,_0x123b4a,_0x28962c){var _0x2d312e=_0x348975;return this[_0x2d312e(0x1d3)][_0x2d312e(0x1ec)](c[_0x2d312e(0x1f7)])[_0x2d312e(0x1e7)](_0x50e66,_0x123b4a,_0x28962c);}[_0x348975(0x1d7)](_0xf3fd5b,_0x473aad,_0x32fe59){var _0x524232=_0x348975;return this['_injector'][_0x524232(0x1ec)](c[_0x524232(0x1f7)])['loadUnitOfRevision'](_0xf3fd5b,_0x473aad,_0x32fe59);}}l[_0x348975(0x1f6)][_0x348975(0x1cf)](u);