@univerjs-pro/collaboration-client 0.6.10-experimental.20250410-d40d076 → 0.6.10-nightly.202504101607

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 _0xf5f11c=_0x5831;(function(_0x420a30,_0x124bac){var _0x404d2d=_0x5831,_0x36e58a=_0x420a30();while(!![]){try{var _0x36554e=parseInt(_0x404d2d(0x159))/0x1+-parseInt(_0x404d2d(0x145))/0x2*(parseInt(_0x404d2d(0x162))/0x3)+-parseInt(_0x404d2d(0x165))/0x4*(-parseInt(_0x404d2d(0x160))/0x5)+parseInt(_0x404d2d(0x14e))/0x6*(parseInt(_0x404d2d(0x146))/0x7)+parseInt(_0x404d2d(0x15e))/0x8+parseInt(_0x404d2d(0x15b))/0x9+-parseInt(_0x404d2d(0x152))/0xa;if(_0x36554e===_0x124bac)break;else _0x36e58a['push'](_0x36e58a['shift']());}catch(_0x5aaaa1){_0x36e58a['push'](_0x36e58a['shift']());}}}(_0x4a80,0xca752));function _0x5831(_0x5c521e,_0x29b3c1){var _0x4a8089=_0x4a80();return _0x5831=function(_0x583119,_0x1f3e89){_0x583119=_0x583119-0x13a;var _0x1b1aa5=_0x4a8089[_0x583119];return _0x1b1aa5;},_0x5831(_0x5c521e,_0x29b3c1);}Object[_0xf5f11c(0x166)](exports,Symbol[_0xf5f11c(0x157)],{'value':_0xf5f11c(0x141)});const c=require('@univerjs-pro/collaboration-client'),l=require(_0xf5f11c(0x142)),v=require(_0xf5f11c(0x147)),i=require('@univerjs/core'),b=require(_0xf5f11c(0x14d));var S=Object['getOwnPropertyDescriptor'],d=(_0x28b395,_0x184a09,_0x35d440,_0x549b75)=>{var _0x68b2e9=_0xf5f11c;for(var _0x641f7c=_0x549b75>0x1?void 0x0:_0x549b75?S(_0x184a09,_0x35d440):_0x184a09,_0xfc9d72=_0x28b395[_0x68b2e9(0x14b)]-0x1,_0x4eefdf;_0xfc9d72>=0x0;_0xfc9d72--)(_0x4eefdf=_0x28b395[_0xfc9d72])&&(_0x641f7c=_0x4eefdf(_0x641f7c)||_0x641f7c);return _0x641f7c;},s=(_0x6e1057,_0x505631)=>(_0x407bb7,_0x55fbf5)=>_0x505631(_0x407bb7,_0x55fbf5,_0x6e1057);exports[_0xf5f11c(0x14c)]=class extends l[_0xf5f11c(0x143)]{constructor(_0x57fbac,_0x46234e,_0x46efb0,_0x18d407,_0x44cde5){var _0x5d7ad6=_0xf5f11c;super(),this[_0x5d7ad6(0x158)]=_0x57fbac,this[_0x5d7ad6(0x144)]=_0x46234e,this['_univerInstanceService']=_0x46efb0,this['_snapshotService']=_0x18d407,this[_0x5d7ad6(0x13b)]=_0x44cde5;}async[_0xf5f11c(0x148)](){return this['loadActiveSheetAsync']();}async[_0xf5f11c(0x14f)](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async[_0xf5f11c(0x164)](_0x3ab2ea){var _0x35721d=_0xf5f11c;return this[_0x35721d(0x13d)](_0x3ab2ea);}async[_0xf5f11c(0x13d)](_0x18d4a8,_0x4276a7){var _0x2762cd=_0xf5f11c;return await this['_snapshotService'][_0x2762cd(0x164)](_0x18d4a8,0x0,_0x4276a7)?(await this[_0x2762cd(0x13b)][_0x2762cd(0x149)](_0x18d4a8),this[_0x2762cd(0x158)][_0x2762cd(0x150)](_0x18d4a8)):null;}[_0xf5f11c(0x140)](_0x291034,_0x1723aa){var _0xddbf32=_0xf5f11c;const _0x561480=this[_0xddbf32(0x144)][_0xddbf32(0x13a)](c['MemberService'])['waitForRoom$'](_0x291034)['pipe'](b[_0xddbf32(0x153)](_0x5ab476=>_0x5ab476[_0xddbf32(0x155)]))[_0xddbf32(0x167)](_0x288cd8=>_0x1723aa(Array[_0xddbf32(0x15c)](_0x288cd8[_0xddbf32(0x156)]())));return i[_0xddbf32(0x13e)](_0x561480);}},exports[_0xf5f11c(0x14c)]=d([s(0x1,i[_0xf5f11c(0x15f)](i['Injector'])),s(0x2,i[_0xf5f11c(0x163)]),s(0x3,i[_0xf5f11c(0x15f)](v[_0xf5f11c(0x15a)])),s(0x4,i[_0xf5f11c(0x15f)](c[_0xf5f11c(0x161)]))],exports['FCollaboration']);class u extends l[_0xf5f11c(0x154)]{['getCollaboration'](){var _0x40077b=_0xf5f11c;return this[_0x40077b(0x144)][_0x40077b(0x13f)](exports[_0x40077b(0x14c)],{'getUniverSheet':_0x43fd46=>this['getUniverSheet'](_0x43fd46)});}[_0xf5f11c(0x13c)](_0x5d3ae6,_0x43165c,_0x195db4){var _0x180ceb=_0xf5f11c;return this[_0x180ceb(0x144)]['createInstance'](c[_0x180ceb(0x14a)])[_0x180ceb(0x15d)](_0x5d3ae6,_0x43165c,_0x195db4);}}function _0x4a80(){var _0x3165ca=['loadUnit','9513008fbMNqo','Inject','710rUoHSl','CollaborationController','6soAHgW','IUniverInstanceService','loadSheet','14492abiBbj','defineProperty','subscribe','get','_collaborationController','loadServerUnit','loadSheetAsync','toDisposable','createInstance','subscribeCollaborators','Module','@univerjs/core/facade','FBase','_injector','166926ZxZdKy','28eWVqOF','@univerjs-pro/collaboration','loadActiveSheet','readyForCollab','DataLoaderService','length','FCollaboration','rxjs','1143096IkiOFY','loadActiveSheetAsync','getUniverSheet','extend','29159260veDBcx','switchMap','FUniver','members$','values','toStringTag','_handler','556815dSMMRN','SnapshotService','8006823DZpXRf','from'];_0x4a80=function(){return _0x3165ca;};return _0x4a80();}l[_0xf5f11c(0x154)][_0xf5f11c(0x151)](u);
1
+ 'use strict';var _0x1b16fc=_0x4ab3;(function(_0x180c3c,_0x3a56e9){var _0x501a78=_0x4ab3,_0x5c75bd=_0x180c3c();while(!![]){try{var _0x72802b=-parseInt(_0x501a78(0x8e))/0x1+parseInt(_0x501a78(0x8d))/0x2*(parseInt(_0x501a78(0x9d))/0x3)+parseInt(_0x501a78(0xa6))/0x4*(-parseInt(_0x501a78(0xa7))/0x5)+parseInt(_0x501a78(0x9e))/0x6+-parseInt(_0x501a78(0x8c))/0x7*(parseInt(_0x501a78(0x9b))/0x8)+-parseInt(_0x501a78(0xa5))/0x9+parseInt(_0x501a78(0x9f))/0xa*(parseInt(_0x501a78(0xad))/0xb);if(_0x72802b===_0x3a56e9)break;else _0x5c75bd['push'](_0x5c75bd['shift']());}catch(_0x17a077){_0x5c75bd['push'](_0x5c75bd['shift']());}}}(_0x29d0,0x50a55));Object['defineProperty'](exports,Symbol[_0x1b16fc(0x90)],{'value':_0x1b16fc(0xa9)});const c=require(_0x1b16fc(0x9c)),l=require(_0x1b16fc(0x99)),v=require('@univerjs-pro/collaboration'),i=require(_0x1b16fc(0xa8)),b=require(_0x1b16fc(0x92));function _0x4ab3(_0xb96c19,_0x584577){var _0x29d093=_0x29d0();return _0x4ab3=function(_0x4ab3f,_0x28164f){_0x4ab3f=_0x4ab3f-0x8a;var _0x291f69=_0x29d093[_0x4ab3f];return _0x291f69;},_0x4ab3(_0xb96c19,_0x584577);}var S=Object[_0x1b16fc(0xa2)],d=(_0x17470f,_0x55b312,_0x5568c7,_0x3cf366)=>{var _0x568ca6=_0x1b16fc;for(var _0xfbc030=_0x3cf366>0x1?void 0x0:_0x3cf366?S(_0x55b312,_0x5568c7):_0x55b312,_0x3de49b=_0x17470f[_0x568ca6(0xb4)]-0x1,_0x32240a;_0x3de49b>=0x0;_0x3de49b--)(_0x32240a=_0x17470f[_0x3de49b])&&(_0xfbc030=_0x32240a(_0xfbc030)||_0xfbc030);return _0xfbc030;},s=(_0x30d7bd,_0x5df522)=>(_0x443035,_0x255b02)=>_0x5df522(_0x443035,_0x255b02,_0x30d7bd);exports[_0x1b16fc(0x97)]=class extends l[_0x1b16fc(0x94)]{constructor(_0x1ff493,_0x49aec0,_0x4b9b5c,_0x23a450,_0x3e54b1){var _0xf957c8=_0x1b16fc;super(),this['_handler']=_0x1ff493,this['_injector']=_0x49aec0,this['_univerInstanceService']=_0x4b9b5c,this[_0xf957c8(0xb7)]=_0x23a450,this[_0xf957c8(0x91)]=_0x3e54b1;}async[_0x1b16fc(0x9a)](){return this['loadActiveSheetAsync']();}async['loadActiveSheetAsync'](){var _0x472f12=_0x1b16fc;throw new Error(_0x472f12(0xb1));}async[_0x1b16fc(0xb3)](_0x393eac){var _0x3a79a3=_0x1b16fc;return this[_0x3a79a3(0xac)](_0x393eac);}async[_0x1b16fc(0xac)](_0xeb86f1,_0x47c486){var _0x3d5e61=_0x1b16fc;return await this[_0x3d5e61(0xb7)]['loadSheet'](_0xeb86f1,0x0,_0x47c486)?(await this[_0x3d5e61(0x91)][_0x3d5e61(0x8f)](_0xeb86f1),this['_handler'][_0x3d5e61(0xb0)](_0xeb86f1)):null;}['subscribeCollaborators'](_0x2aec5f,_0x241ce6){var _0x2ba5c1=_0x1b16fc;const _0x181c7a=this[_0x2ba5c1(0xae)]['get'](c[_0x2ba5c1(0x98)])[_0x2ba5c1(0x96)](_0x2aec5f)['pipe'](b[_0x2ba5c1(0xb6)](_0x254358=>_0x254358[_0x2ba5c1(0xa1)]))[_0x2ba5c1(0xa4)](_0x795dff=>_0x241ce6(Array[_0x2ba5c1(0x95)](_0x795dff[_0x2ba5c1(0xa0)]())));return i['toDisposable'](_0x181c7a);}},exports[_0x1b16fc(0x97)]=d([s(0x1,i['Inject'](i[_0x1b16fc(0xa3)])),s(0x2,i['IUniverInstanceService']),s(0x3,i[_0x1b16fc(0x93)](v[_0x1b16fc(0x8b)])),s(0x4,i[_0x1b16fc(0x93)](c['CollaborationController']))],exports[_0x1b16fc(0x97)]);class u extends l[_0x1b16fc(0xaa)]{[_0x1b16fc(0xb5)](){var _0xfcdcd2=_0x1b16fc;return this[_0xfcdcd2(0xae)][_0xfcdcd2(0x8a)](exports[_0xfcdcd2(0x97)],{'getUniverSheet':_0x3486b0=>this[_0xfcdcd2(0xb0)](_0x3486b0)});}[_0x1b16fc(0xaf)](_0x348295,_0x40fd93,_0x44767a){var _0x57267c=_0x1b16fc;return this[_0x57267c(0xae)][_0x57267c(0x8a)](c[_0x57267c(0xab)])[_0x57267c(0xb2)](_0x348295,_0x40fd93,_0x44767a);}}function _0x29d0(){var _0x153284=['FUniver','DataLoaderService','loadSheetAsync','1562zvvtxD','_injector','loadServerUnit','getUniverSheet','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','loadUnit','loadSheet','length','getCollaboration','switchMap','_snapshotService','createInstance','SnapshotService','3794wvwqqn','5098KHIcTV','404594ukqjRc','readyForCollab','toStringTag','_collaborationController','rxjs','Inject','FBase','from','waitForRoom$','FCollaboration','MemberService','@univerjs/core/facade','loadActiveSheet','2168RXDqah','@univerjs-pro/collaboration-client','579fGNwfj','891834IYTAJu','36430TWueGR','values','members$','getOwnPropertyDescriptor','Injector','subscribe','2182122YwMWbc','4brxGus','168215jTYmHF','@univerjs/core','Module'];_0x29d0=function(){return _0x153284;};return _0x29d0();}l[_0x1b16fc(0xaa)]['extend'](u);