@univerjs-pro/collaboration-client 0.6.3 → 0.6.4-nightly.202503111607

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 _0x3e953d=_0x3a5d;(function(_0x4573fe,_0x3622ce){var _0x45eae6=_0x3a5d,_0x2dfd6e=_0x4573fe();while(!![]){try{var _0xfa5656=-parseInt(_0x45eae6(0xba))/0x1*(-parseInt(_0x45eae6(0x9b))/0x2)+-parseInt(_0x45eae6(0xbd))/0x3*(parseInt(_0x45eae6(0x9e))/0x4)+-parseInt(_0x45eae6(0xa9))/0x5*(-parseInt(_0x45eae6(0x9a))/0x6)+parseInt(_0x45eae6(0xb7))/0x7*(parseInt(_0x45eae6(0x95))/0x8)+-parseInt(_0x45eae6(0xa7))/0x9*(-parseInt(_0x45eae6(0x92))/0xa)+parseInt(_0x45eae6(0xb2))/0xb+-parseInt(_0x45eae6(0xa1))/0xc;if(_0xfa5656===_0x3622ce)break;else _0x2dfd6e['push'](_0x2dfd6e['shift']());}catch(_0x2ff74d){_0x2dfd6e['push'](_0x2dfd6e['shift']());}}}(_0x24ba,0x5adf5));Object[_0x3e953d(0xb6)](exports,Symbol['toStringTag'],{'value':_0x3e953d(0xb5)});const l=require(_0x3e953d(0x97)),b=require(_0x3e953d(0xa4)),h=require(_0x3e953d(0xa3)),i=require(_0x3e953d(0xac)),v=require(_0x3e953d(0xb1));function _0x24ba(){var _0x565127=['defineProperty','106869omhdEb','get','createInstance','1907QVIXix','FBase','length','28083hrcncB','_univerInstanceService','FUniver','pipe','extend','30QENrGf','Injector','_handler','328waFZrx','_collaborationController','@univerjs/core/facade','members$','getCollaboration','6GQCmWE','94Zlrzby','loadSheet','waitForRoom$','52ZvOlHe','loadActiveSheetAsync','getUniverSheet','18527784OtrjPb','_injector','@univerjs-pro/collaboration-client','@univerjs-pro/collaboration','subscribe','_snapshotService','859608ZZHTDe','SnapshotService','2719640FQxNQN','loadSheetAsync','toDisposable','@univerjs/core','Inject','getOwnPropertyDescriptor','values','from','rxjs','5410328zOqzrb','FCollaboration','IUniverInstanceService','Module'];_0x24ba=function(){return _0x565127;};return _0x24ba();}var u=Object[_0x3e953d(0xae)],S=(_0x234f2f,_0x58ab7b,_0x449b38,_0x473838)=>{var _0x2eb6b9=_0x3e953d;for(var _0x3cfd5e=_0x473838>0x1?void 0x0:_0x473838?u(_0x58ab7b,_0x449b38):_0x58ab7b,_0x1280c7=_0x234f2f[_0x2eb6b9(0xbc)]-0x1,_0x3d7ec0;_0x1280c7>=0x0;_0x1280c7--)(_0x3d7ec0=_0x234f2f[_0x1280c7])&&(_0x3cfd5e=_0x3d7ec0(_0x3cfd5e)||_0x3cfd5e);return _0x3cfd5e;},s=(_0x5caf3f,_0x34d29a)=>(_0x461a9a,_0x367db9)=>_0x34d29a(_0x461a9a,_0x367db9,_0x5caf3f);exports[_0x3e953d(0xb3)]=class extends l[_0x3e953d(0xbb)]{constructor(_0x205dc2,_0x1aa65a,_0x471f5c,_0x2854a4,_0x485939){var _0x50e301=_0x3e953d;super(),this[_0x50e301(0x94)]=_0x205dc2,this[_0x50e301(0xa2)]=_0x1aa65a,this[_0x50e301(0xbe)]=_0x471f5c,this[_0x50e301(0xa6)]=_0x2854a4,this[_0x50e301(0x96)]=_0x485939;}async['loadActiveSheet'](){var _0x326a37=_0x3e953d;return this[_0x326a37(0x9f)]();}async[_0x3e953d(0x9f)](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async[_0x3e953d(0x9c)](_0x589e48){var _0x255930=_0x3e953d;return this[_0x255930(0xaa)](_0x589e48);}async[_0x3e953d(0xaa)](_0x20dd6b,_0x4e37f7){var _0x3a93d6=_0x3e953d;return await this['_snapshotService'][_0x3a93d6(0x9c)](_0x20dd6b,0x0,_0x4e37f7)?(await this[_0x3a93d6(0x96)]['readyForCollab'](_0x20dd6b),this[_0x3a93d6(0x94)][_0x3a93d6(0xa0)](_0x20dd6b)):null;}['subscribeCollaborators'](_0xba6cea,_0x13c220){var _0x5956fa=_0x3e953d;const _0x4eecf8=this[_0x5956fa(0xa2)][_0x5956fa(0xb8)](h['MemberService'])[_0x5956fa(0x9d)](_0xba6cea)[_0x5956fa(0x90)](v['switchMap'](_0x2ebfe6=>_0x2ebfe6[_0x5956fa(0x98)]))[_0x5956fa(0xa5)](_0x45054f=>_0x13c220(Array[_0x5956fa(0xb0)](_0x45054f[_0x5956fa(0xaf)]())));return i[_0x5956fa(0xab)](_0x4eecf8);}},exports[_0x3e953d(0xb3)]=S([s(0x1,i[_0x3e953d(0xad)](i[_0x3e953d(0x93)])),s(0x2,i[_0x3e953d(0xb4)]),s(0x3,i[_0x3e953d(0xad)](b[_0x3e953d(0xa8)])),s(0x4,i['Inject'](h['CollaborationController']))],exports['FCollaboration']);class d extends l[_0x3e953d(0xbf)]{[_0x3e953d(0x99)](){var _0x164650=_0x3e953d;return this[_0x164650(0xa2)][_0x164650(0xb9)](exports[_0x164650(0xb3)],{'getUniverSheet':_0x86baac=>this[_0x164650(0xa0)](_0x86baac)});}}function _0x3a5d(_0x3f2105,_0xeb2ddc){var _0x24baf1=_0x24ba();return _0x3a5d=function(_0x3a5d92,_0x555b04){_0x3a5d92=_0x3a5d92-0x90;var _0x3d6b13=_0x24baf1[_0x3a5d92];return _0x3d6b13;},_0x3a5d(_0x3f2105,_0xeb2ddc);}l[_0x3e953d(0xbf)][_0x3e953d(0x91)](d);
1
+ 'use strict';var _0x1ebe7c=_0x360f;(function(_0xbfa9ae,_0xa0c4c6){var _0x473d46=_0x360f,_0x44afd0=_0xbfa9ae();while(!![]){try{var _0x9c0939=parseInt(_0x473d46(0x1f3))/0x1*(parseInt(_0x473d46(0x1ea))/0x2)+-parseInt(_0x473d46(0x1ca))/0x3+-parseInt(_0x473d46(0x1f5))/0x4*(parseInt(_0x473d46(0x1ed))/0x5)+parseInt(_0x473d46(0x1e9))/0x6+parseInt(_0x473d46(0x1d3))/0x7+parseInt(_0x473d46(0x1f0))/0x8+-parseInt(_0x473d46(0x1d9))/0x9;if(_0x9c0939===_0xa0c4c6)break;else _0x44afd0['push'](_0x44afd0['shift']());}catch(_0x579980){_0x44afd0['push'](_0x44afd0['shift']());}}}(_0x15f9,0xa67af));Object[_0x1ebe7c(0x1d5)](exports,Symbol[_0x1ebe7c(0x1ee)],{'value':_0x1ebe7c(0x1e0)});function _0x360f(_0x32930f,_0x380752){var _0x15f96d=_0x15f9();return _0x360f=function(_0x360f95,_0x4a3bba){_0x360f95=_0x360f95-0x1c9;var _0x44c5df=_0x15f96d[_0x360f95];return _0x44c5df;},_0x360f(_0x32930f,_0x380752);}const l=require(_0x1ebe7c(0x1dc)),b=require(_0x1ebe7c(0x1e3)),h=require(_0x1ebe7c(0x1d4)),i=require(_0x1ebe7c(0x1de)),v=require(_0x1ebe7c(0x1f8));var u=Object[_0x1ebe7c(0x1e8)],S=(_0x506ae3,_0x5eae3e,_0x5f3236,_0xcd4497)=>{var _0x2bca39=_0x1ebe7c;for(var _0x281805=_0xcd4497>0x1?void 0x0:_0xcd4497?u(_0x5eae3e,_0x5f3236):_0x5eae3e,_0x2d65e9=_0x506ae3[_0x2bca39(0x1d6)]-0x1,_0x1c6dfa;_0x2d65e9>=0x0;_0x2d65e9--)(_0x1c6dfa=_0x506ae3[_0x2d65e9])&&(_0x281805=_0x1c6dfa(_0x281805)||_0x281805);return _0x281805;},s=(_0x3321b8,_0x3e4774)=>(_0x272a3b,_0x7817b2)=>_0x3e4774(_0x272a3b,_0x7817b2,_0x3321b8);exports[_0x1ebe7c(0x1db)]=class extends l[_0x1ebe7c(0x1d7)]{constructor(_0x1cb711,_0x108c52,_0x5496b5,_0x3af8a0,_0x54a4b7){var _0x2cb158=_0x1ebe7c;super(),this[_0x2cb158(0x1cc)]=_0x1cb711,this['_injector']=_0x108c52,this['_univerInstanceService']=_0x5496b5,this[_0x2cb158(0x1f6)]=_0x3af8a0,this[_0x2cb158(0x1d1)]=_0x54a4b7;}async[_0x1ebe7c(0x1e5)](){return this['loadActiveSheetAsync']();}async['loadActiveSheetAsync'](){var _0x4a2da2=_0x1ebe7c;throw new Error(_0x4a2da2(0x1f7));}async[_0x1ebe7c(0x1f1)](_0x283297){var _0x28be5d=_0x1ebe7c;return this[_0x28be5d(0x1d2)](_0x283297);}async[_0x1ebe7c(0x1d2)](_0x263c27,_0x2dc6d0){var _0x1825b6=_0x1ebe7c;return await this[_0x1825b6(0x1f6)]['loadSheet'](_0x263c27,0x0,_0x2dc6d0)?(await this[_0x1825b6(0x1d1)][_0x1825b6(0x1dd)](_0x263c27),this[_0x1825b6(0x1cc)]['getUniverSheet'](_0x263c27)):null;}[_0x1ebe7c(0x1e7)](_0x124155,_0x2348c9){var _0x183873=_0x1ebe7c;const _0x4bcc07=this[_0x183873(0x1c9)][_0x183873(0x1ef)](h[_0x183873(0x1cb)])[_0x183873(0x1d0)](_0x124155)[_0x183873(0x1ce)](v[_0x183873(0x1ec)](_0x4a3665=>_0x4a3665[_0x183873(0x1cd)]))[_0x183873(0x1e4)](_0x11eb75=>_0x2348c9(Array[_0x183873(0x1cf)](_0x11eb75[_0x183873(0x1eb)]())));return i[_0x183873(0x1d8)](_0x4bcc07);}},exports[_0x1ebe7c(0x1db)]=S([s(0x1,i[_0x1ebe7c(0x1e1)](i[_0x1ebe7c(0x1f4)])),s(0x2,i[_0x1ebe7c(0x1f2)]),s(0x3,i[_0x1ebe7c(0x1e1)](b['SnapshotService'])),s(0x4,i[_0x1ebe7c(0x1e1)](h['CollaborationController']))],exports[_0x1ebe7c(0x1db)]);class d extends l[_0x1ebe7c(0x1e2)]{[_0x1ebe7c(0x1da)](){var _0x4b5f8a=_0x1ebe7c;return this['_injector']['createInstance'](exports[_0x4b5f8a(0x1db)],{'getUniverSheet':_0x106341=>this[_0x4b5f8a(0x1df)](_0x106341)});}}l['FUniver'][_0x1ebe7c(0x1e6)](d);function _0x15f9(){var _0x1d8c2b=['[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','rxjs','_injector','3775029VzCktR','MemberService','_handler','members$','pipe','from','waitForRoom$','_collaborationController','loadSheetAsync','9424471qmSiTo','@univerjs-pro/collaboration-client','defineProperty','length','FBase','toDisposable','3649050CefGKY','getCollaboration','FCollaboration','@univerjs/core/facade','readyForCollab','@univerjs/core','getUniverSheet','Module','Inject','FUniver','@univerjs-pro/collaboration','subscribe','loadActiveSheet','extend','subscribeCollaborators','getOwnPropertyDescriptor','3935760WbRVLw','2oDtsgq','values','switchMap','803455VgQWqm','toStringTag','get','2612552GEcMRd','loadSheet','IUniverInstanceService','177505KXOrld','Injector','4YDNjqF','_snapshotService'];_0x15f9=function(){return _0x1d8c2b;};return _0x15f9();}