@univerjs-pro/collaboration-client 0.6.10-experimental.20250410-d40d076 → 0.6.10-experimental.20250411-055c47d

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 _0x4ef255=_0x322c;(function(_0x3c8478,_0x53ba21){var _0x5499a7=_0x322c,_0x160a31=_0x3c8478();while(!![]){try{var _0x1b01ed=parseInt(_0x5499a7(0x1ad))/0x1+-parseInt(_0x5499a7(0x1c7))/0x2*(parseInt(_0x5499a7(0x1af))/0x3)+parseInt(_0x5499a7(0x1b0))/0x4+-parseInt(_0x5499a7(0x1b5))/0x5+parseInt(_0x5499a7(0x1bb))/0x6*(-parseInt(_0x5499a7(0x1b2))/0x7)+-parseInt(_0x5499a7(0x19d))/0x8*(-parseInt(_0x5499a7(0x19e))/0x9)+parseInt(_0x5499a7(0x1c6))/0xa;if(_0x1b01ed===_0x53ba21)break;else _0x160a31['push'](_0x160a31['shift']());}catch(_0x156bed){_0x160a31['push'](_0x160a31['shift']());}}}(_0x2968,0x4bdd6));Object['defineProperty'](exports,Symbol['toStringTag'],{'value':_0x4ef255(0x1be)});const c=require(_0x4ef255(0x19b)),l=require(_0x4ef255(0x1a0)),v=require(_0x4ef255(0x1c1)),i=require('@univerjs/core'),b=require('rxjs');function _0x322c(_0x4cbe51,_0x5d61e6){var _0x296828=_0x2968();return _0x322c=function(_0x322c99,_0x3e9127){_0x322c99=_0x322c99-0x19b;var _0x8b5211=_0x296828[_0x322c99];return _0x8b5211;},_0x322c(_0x4cbe51,_0x5d61e6);}var S=Object[_0x4ef255(0x1bf)],d=(_0xb7fc0a,_0x4e210d,_0x3402cc,_0x56aba7)=>{var _0x23b60a=_0x4ef255;for(var _0x309f50=_0x56aba7>0x1?void 0x0:_0x56aba7?S(_0x4e210d,_0x3402cc):_0x4e210d,_0x1a8044=_0xb7fc0a[_0x23b60a(0x1bd)]-0x1,_0x2646ff;_0x1a8044>=0x0;_0x1a8044--)(_0x2646ff=_0xb7fc0a[_0x1a8044])&&(_0x309f50=_0x2646ff(_0x309f50)||_0x309f50);return _0x309f50;},s=(_0x17298f,_0x172e4b)=>(_0xb27d3f,_0x513d7a)=>_0x172e4b(_0xb27d3f,_0x513d7a,_0x17298f);exports[_0x4ef255(0x1a8)]=class extends l['FBase']{constructor(_0x400ef5,_0x522b13,_0x11c34c,_0x346721,_0x2545ac){var _0x18b98e=_0x4ef255;super(),this[_0x18b98e(0x1b6)]=_0x400ef5,this[_0x18b98e(0x1a2)]=_0x522b13,this['_univerInstanceService']=_0x11c34c,this['_snapshotService']=_0x346721,this[_0x18b98e(0x1aa)]=_0x2545ac;}async[_0x4ef255(0x1c0)](){var _0x329ed0=_0x4ef255;return this[_0x329ed0(0x1ae)]();}async[_0x4ef255(0x1ae)](){var _0x5ea434=_0x4ef255;throw new Error(_0x5ea434(0x1c3));}async[_0x4ef255(0x1a3)](_0x33ec01){var _0x4554be=_0x4ef255;return this[_0x4554be(0x1b9)](_0x33ec01);}async[_0x4ef255(0x1b9)](_0x6cea2c,_0x1d3615){var _0x464b53=_0x4ef255;return await this['_snapshotService'][_0x464b53(0x1a3)](_0x6cea2c,0x0,_0x1d3615)?(await this[_0x464b53(0x1aa)][_0x464b53(0x1ac)](_0x6cea2c),this[_0x464b53(0x1b6)][_0x464b53(0x1a4)](_0x6cea2c)):null;}[_0x4ef255(0x1a7)](_0x376812,_0x445930){var _0x5b69e0=_0x4ef255;const _0x2dbf20=this[_0x5b69e0(0x1a2)][_0x5b69e0(0x1a6)](c[_0x5b69e0(0x1b1)])[_0x5b69e0(0x19c)](_0x376812)[_0x5b69e0(0x1ba)](b[_0x5b69e0(0x1a9)](_0x4ad93e=>_0x4ad93e[_0x5b69e0(0x1c2)]))[_0x5b69e0(0x1bc)](_0x181a62=>_0x445930(Array[_0x5b69e0(0x1c5)](_0x181a62['values']())));return i[_0x5b69e0(0x1c8)](_0x2dbf20);}},exports[_0x4ef255(0x1a8)]=d([s(0x1,i['Inject'](i['Injector'])),s(0x2,i[_0x4ef255(0x1a1)]),s(0x3,i['Inject'](v[_0x4ef255(0x1b4)])),s(0x4,i[_0x4ef255(0x1ab)](c['CollaborationController']))],exports['FCollaboration']);function _0x2968(){var _0x355d66=['extend','get','subscribeCollaborators','FCollaboration','switchMap','_collaborationController','Inject','readyForCollab','476621yQHxJh','loadActiveSheetAsync','3WSPxOi','2099224kQiGQp','MemberService','2996KkWGHX','createInstance','SnapshotService','1047855hWnhNG','_handler','loadUnit','FUniver','loadSheetAsync','pipe','6138Vhzuew','subscribe','length','Module','getOwnPropertyDescriptor','loadActiveSheet','@univerjs-pro/collaboration','members$','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','loadServerUnit','from','2932980osqcjb','1025312lGXSZd','toDisposable','@univerjs-pro/collaboration-client','waitForRoom$','5336lKKBfW','2376rMAvCj','getCollaboration','@univerjs/core/facade','IUniverInstanceService','_injector','loadSheet','getUniverSheet'];_0x2968=function(){return _0x355d66;};return _0x2968();}class u extends l['FUniver']{[_0x4ef255(0x19f)](){var _0x5303e0=_0x4ef255;return this[_0x5303e0(0x1a2)][_0x5303e0(0x1b3)](exports[_0x5303e0(0x1a8)],{'getUniverSheet':_0x757152=>this[_0x5303e0(0x1a4)](_0x757152)});}[_0x4ef255(0x1c4)](_0x307b8c,_0x3cadaa,_0x52d8a2){var _0x301961=_0x4ef255;return this[_0x301961(0x1a2)][_0x301961(0x1b3)](c['DataLoaderService'])[_0x301961(0x1b7)](_0x307b8c,_0x3cadaa,_0x52d8a2);}}l[_0x4ef255(0x1b8)][_0x4ef255(0x1a5)](u);