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

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 _0x1ce516=_0x20e5;(function(_0x260edb,_0x369afa){var _0x570341=_0x20e5,_0x244616=_0x260edb();while(!![]){try{var _0x573f4e=parseInt(_0x570341(0x1f0))/0x1*(parseInt(_0x570341(0x1e6))/0x2)+-parseInt(_0x570341(0x1ed))/0x3+parseInt(_0x570341(0x1c5))/0x4+parseInt(_0x570341(0x1c8))/0x5*(parseInt(_0x570341(0x1d1))/0x6)+-parseInt(_0x570341(0x1d3))/0x7*(parseInt(_0x570341(0x1d2))/0x8)+-parseInt(_0x570341(0x1cb))/0x9+parseInt(_0x570341(0x1c9))/0xa*(parseInt(_0x570341(0x1eb))/0xb);if(_0x573f4e===_0x369afa)break;else _0x244616['push'](_0x244616['shift']());}catch(_0x5aacb1){_0x244616['push'](_0x244616['shift']());}}}(_0x1161,0xe34f7));Object[_0x1ce516(0x1e1)](exports,Symbol['toStringTag'],{'value':_0x1ce516(0x1f3)});const c=require(_0x1ce516(0x1d8)),l=require('@univerjs/core/facade'),v=require('@univerjs-pro/collaboration'),i=require(_0x1ce516(0x1cf)),b=require(_0x1ce516(0x1d4));function _0x1161(){var _0x392fda=['loadSheet','getOwnPropertyDescriptor','@univerjs-pro/collaboration-client','pipe','Inject','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','IUniverInstanceService','loadServerUnit','FUniver','toDisposable','_univerInstanceService','defineProperty','_injector','loadActiveSheet','get','length','716bCqMGq','getCollaboration','switchMap','subscribeCollaborators','loadActiveSheetAsync','11tnbZnI','subscribe','1503240rlYuSv','MemberService','values','4069bsqcpu','_collaborationController','loadUnit','Module','5715240Kplwle','FCollaboration','members$','103985GzbsnZ','4180510CBEnqE','getUniverSheet','10488402vFpldZ','loadSheetAsync','extend','_handler','@univerjs/core','_snapshotService','42YPSJKH','11224ZssMqN','4249RnyBrV','rxjs','DataLoaderService'];_0x1161=function(){return _0x392fda;};return _0x1161();}var S=Object[_0x1ce516(0x1d7)],d=(_0x3b65db,_0x189fbe,_0x5eb3cf,_0x46de33)=>{var _0x1bff8c=_0x1ce516;for(var _0x5bffde=_0x46de33>0x1?void 0x0:_0x46de33?S(_0x189fbe,_0x5eb3cf):_0x189fbe,_0x12ab7a=_0x3b65db[_0x1bff8c(0x1e5)]-0x1,_0x4fc33a;_0x12ab7a>=0x0;_0x12ab7a--)(_0x4fc33a=_0x3b65db[_0x12ab7a])&&(_0x5bffde=_0x4fc33a(_0x5bffde)||_0x5bffde);return _0x5bffde;},s=(_0x46b662,_0x49bb5d)=>(_0x50dd49,_0x1a5932)=>_0x49bb5d(_0x50dd49,_0x1a5932,_0x46b662);exports[_0x1ce516(0x1c6)]=class extends l['FBase']{constructor(_0x17606f,_0x11e23c,_0x51b868,_0x786702,_0x1fa521){var _0x44d23d=_0x1ce516;super(),this[_0x44d23d(0x1ce)]=_0x17606f,this[_0x44d23d(0x1e2)]=_0x11e23c,this[_0x44d23d(0x1e0)]=_0x51b868,this[_0x44d23d(0x1d0)]=_0x786702,this[_0x44d23d(0x1f1)]=_0x1fa521;}async[_0x1ce516(0x1e3)](){return this['loadActiveSheetAsync']();}async[_0x1ce516(0x1ea)](){var _0x2e5501=_0x1ce516;throw new Error(_0x2e5501(0x1db));}async[_0x1ce516(0x1d6)](_0x857aee){var _0x493d0c=_0x1ce516;return this[_0x493d0c(0x1cc)](_0x857aee);}async['loadSheetAsync'](_0x18d0e8,_0x54fe57){var _0x2bcdfe=_0x1ce516;return await this[_0x2bcdfe(0x1d0)]['loadSheet'](_0x18d0e8,0x0,_0x54fe57)?(await this[_0x2bcdfe(0x1f1)]['readyForCollab'](_0x18d0e8),this['_handler'][_0x2bcdfe(0x1ca)](_0x18d0e8)):null;}[_0x1ce516(0x1e9)](_0x36a9c2,_0x5937db){var _0x105691=_0x1ce516;const _0x3c7df2=this[_0x105691(0x1e2)][_0x105691(0x1e4)](c[_0x105691(0x1ee)])['waitForRoom$'](_0x36a9c2)[_0x105691(0x1d9)](b[_0x105691(0x1e8)](_0x52c279=>_0x52c279[_0x105691(0x1c7)]))[_0x105691(0x1ec)](_0x22efd1=>_0x5937db(Array['from'](_0x22efd1[_0x105691(0x1ef)]())));return i[_0x105691(0x1df)](_0x3c7df2);}},exports[_0x1ce516(0x1c6)]=d([s(0x1,i['Inject'](i['Injector'])),s(0x2,i[_0x1ce516(0x1dc)]),s(0x3,i[_0x1ce516(0x1da)](v['SnapshotService'])),s(0x4,i[_0x1ce516(0x1da)](c['CollaborationController']))],exports[_0x1ce516(0x1c6)]);function _0x20e5(_0xb0bcc3,_0x17323e){var _0x116100=_0x1161();return _0x20e5=function(_0x20e55a,_0x38e17f){_0x20e55a=_0x20e55a-0x1c5;var _0x3fc0f=_0x116100[_0x20e55a];return _0x3fc0f;},_0x20e5(_0xb0bcc3,_0x17323e);}class u extends l[_0x1ce516(0x1de)]{[_0x1ce516(0x1e7)](){var _0x1933c4=_0x1ce516;return this['_injector']['createInstance'](exports['FCollaboration'],{'getUniverSheet':_0x2ab279=>this[_0x1933c4(0x1ca)](_0x2ab279)});}[_0x1ce516(0x1dd)](_0x3ed017,_0x52cc80,_0x517816){var _0x48c22d=_0x1ce516;return this['_injector']['createInstance'](c[_0x48c22d(0x1d5)])[_0x48c22d(0x1f2)](_0x3ed017,_0x52cc80,_0x517816);}}l[_0x1ce516(0x1de)][_0x1ce516(0x1cd)](u);
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);