@univerjs-pro/exchange-client 0.8.0-nightly.202506101607 → 0.8.0-nightly.202506111607

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.
Files changed (42) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +2 -2
  3. package/lib/cjs/locale/en-US.js +1 -1
  4. package/lib/cjs/locale/fa-IR.js +1 -1
  5. package/lib/cjs/locale/fr-FR.js +1 -1
  6. package/lib/cjs/locale/ru-RU.js +1 -1
  7. package/lib/cjs/locale/vi-VN.js +1 -1
  8. package/lib/cjs/locale/zh-CN.js +1 -1
  9. package/lib/cjs/locale/zh-TW.js +1 -1
  10. package/lib/es/facade.js +1 -1
  11. package/lib/es/index.js +2 -2
  12. package/lib/es/locale/en-US.js +1 -1
  13. package/lib/es/locale/fa-IR.js +1 -1
  14. package/lib/es/locale/fr-FR.js +1 -1
  15. package/lib/es/locale/ru-RU.js +1 -1
  16. package/lib/es/locale/vi-VN.js +1 -1
  17. package/lib/es/locale/zh-CN.js +1 -1
  18. package/lib/es/locale/zh-TW.js +1 -1
  19. package/lib/facade.js +1 -1
  20. package/lib/index.js +2 -2
  21. package/lib/locale/en-US.js +1 -1
  22. package/lib/locale/fa-IR.js +1 -1
  23. package/lib/locale/fr-FR.js +1 -1
  24. package/lib/locale/ru-RU.js +1 -1
  25. package/lib/locale/vi-VN.js +1 -1
  26. package/lib/locale/zh-CN.js +1 -1
  27. package/lib/locale/zh-TW.js +1 -1
  28. package/lib/types/controllers/config.schema.d.ts +10 -0
  29. package/lib/types/facade/f-univer.d.ts +4 -7
  30. package/lib/types/index.d.ts +1 -1
  31. package/lib/types/services/exchange.service.d.ts +5 -7
  32. package/lib/types/services/operate.service.d.ts +5 -5
  33. package/lib/umd/facade.js +1 -1
  34. package/lib/umd/index.js +2 -2
  35. package/lib/umd/locale/en-US.js +1 -1
  36. package/lib/umd/locale/fa-IR.js +1 -1
  37. package/lib/umd/locale/fr-FR.js +1 -1
  38. package/lib/umd/locale/ru-RU.js +1 -1
  39. package/lib/umd/locale/vi-VN.js +1 -1
  40. package/lib/umd/locale/zh-CN.js +1 -1
  41. package/lib/umd/locale/zh-TW.js +1 -1
  42. package/package.json +7 -7
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x191b0b=_0x142c;(function(_0xe7be9e,_0x2f7027){const _0x3f85b1=_0x142c,_0x54c97a=_0xe7be9e();while(!![]){try{const _0x4f25f4=-parseInt(_0x3f85b1(0x129))/0x1+parseInt(_0x3f85b1(0x136))/0x2+parseInt(_0x3f85b1(0x119))/0x3*(parseInt(_0x3f85b1(0x122))/0x4)+parseInt(_0x3f85b1(0x124))/0x5*(parseInt(_0x3f85b1(0x12c))/0x6)+-parseInt(_0x3f85b1(0x116))/0x7+parseInt(_0x3f85b1(0x11f))/0x8*(-parseInt(_0x3f85b1(0x120))/0x9)+parseInt(_0x3f85b1(0x135))/0xa;if(_0x4f25f4===_0x2f7027)break;else _0x54c97a['push'](_0x54c97a['shift']());}catch(_0x296e26){_0x54c97a['push'](_0x54c97a['shift']());}}}(_0xfe97,0x981d0));function _0xfe97(){const _0x4efe2c=['get','@univerjs-pro/exchange-client','exportXLSXBySnapshot','234224uHSWJa','369FrPtWH','importDOCXToSnapshot','4vnTgkr','importXLSXToUnitId','15nmciZr','UNIVER_UNKNOWN','importDOCXToUnitIdAsync','importDOCXToSnapshotAsync','exportXLSXByUnitIdAsync','989251tjdJlh','UNIVER_SLIDE','exportXLSXByUnitId','1873038JdVjdz','UNIVER_DOC','UNIVER_SHEET','FUniver','importFileToUnitId','importXLSXToSnapshot','importXLSXToSnapshotAsync','exportXLSXBySnapshotAsync','UNIVER_PROJECT','17849880unUGjM','682420XRFemT','_injector','extend','The\x20exchange\x20service\x20is\x20not\x20available','exportDOCXByUnitId','importXLSXToUnitIdAsync','7659001gNMbKx','IExchangeService','exportDOCXBySnapshot','2532393BrOfGM','exportDOCXByUnitIdAsync','UNRECOGNIZED'];_0xfe97=function(){return _0x4efe2c;};return _0xfe97();}const r=require(_0x191b0b(0x11d)),c=require('@univerjs/core/facade');var o=(_0x4bc248=>(_0x4bc248[_0x4bc248[_0x191b0b(0x125)]=0x0]=_0x191b0b(0x125),_0x4bc248[_0x4bc248[_0x191b0b(0x12d)]=0x1]='UNIVER_DOC',_0x4bc248[_0x4bc248['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x4bc248[_0x4bc248[_0x191b0b(0x12a)]=0x3]=_0x191b0b(0x12a),_0x4bc248[_0x4bc248[_0x191b0b(0x134)]=0x4]=_0x191b0b(0x134),_0x4bc248[_0x4bc248[_0x191b0b(0x11b)]=-0x1]=_0x191b0b(0x11b),_0x4bc248))(o||{});class s extends c[_0x191b0b(0x12f)]{async[_0x191b0b(0x123)](_0x495ff3){const _0x13bc66=_0x191b0b;return this[_0x13bc66(0x115)](_0x495ff3);}async[_0x191b0b(0x115)](_0x4ad28b){const _0x13d7ca=_0x191b0b,_0x49b597=this['_injector'][_0x13d7ca(0x11c)](r[_0x13d7ca(0x117)]);if(!_0x49b597)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x49b597[_0x13d7ca(0x130)](_0x4ad28b,o[_0x13d7ca(0x12e)]);}async[_0x191b0b(0x131)](_0x3692de){return this['importXLSXToSnapshotAsync'](_0x3692de);}async[_0x191b0b(0x132)](_0x3365fe){const _0x341cf0=_0x191b0b,_0x4b73e6=this[_0x341cf0(0x111)][_0x341cf0(0x11c)](r[_0x341cf0(0x117)]);if(!_0x4b73e6)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4b73e6['importXLSXToSnapshot'](_0x3365fe);}async[_0x191b0b(0x12b)](_0x3ddb80){return this['exportXLSXByUnitIdAsync'](_0x3ddb80);}async[_0x191b0b(0x128)](_0x23061e,_0xb5b564){const _0x2a04f2=_0x191b0b,_0x4a6b43=this['_injector'][_0x2a04f2(0x11c)](r[_0x2a04f2(0x117)]);if(!_0x4a6b43)throw new Error(_0x2a04f2(0x113));return _0x4a6b43[_0x2a04f2(0x12b)](_0x23061e,_0xb5b564);}async[_0x191b0b(0x11e)](_0x1c019c){const _0x6208=_0x191b0b;return this[_0x6208(0x133)](_0x1c019c);}async[_0x191b0b(0x133)](_0x550234,_0x52db80){const _0x17fa5c=_0x191b0b,_0x3fca9c=this[_0x17fa5c(0x111)][_0x17fa5c(0x11c)](r[_0x17fa5c(0x117)]);if(!_0x3fca9c)throw new Error(_0x17fa5c(0x113));return _0x3fca9c[_0x17fa5c(0x11e)](_0x550234,_0x52db80);}async['importDOCXToUnitId'](_0x1c9bfb){const _0x7c2a56=_0x191b0b;return this[_0x7c2a56(0x126)](_0x1c9bfb);}async[_0x191b0b(0x126)](_0x156efe){const _0x3e27a8=_0x191b0b,_0x4f7dc7=this[_0x3e27a8(0x111)]['get'](r[_0x3e27a8(0x117)]);if(!_0x4f7dc7)throw new Error(_0x3e27a8(0x113));return _0x4f7dc7['importFileToUnitId'](_0x156efe,o[_0x3e27a8(0x12d)]);}async[_0x191b0b(0x121)](_0x59fc36){const _0x3b392d=_0x191b0b;return this[_0x3b392d(0x127)](_0x59fc36);}async[_0x191b0b(0x127)](_0x5a0c4a){const _0xf10556=_0x191b0b,_0x226ec9=this[_0xf10556(0x111)][_0xf10556(0x11c)](r[_0xf10556(0x117)]);if(!_0x226ec9)throw new Error(_0xf10556(0x113));return _0x226ec9['importDOCXToSnapshot'](_0x5a0c4a);}async['exportDOCXBySnapshotAsync'](_0x41cefc){const _0x52d533=_0x191b0b,_0x2f3ab4=this[_0x52d533(0x111)][_0x52d533(0x11c)](r[_0x52d533(0x117)]);if(!_0x2f3ab4)throw new Error(_0x52d533(0x113));return _0x2f3ab4[_0x52d533(0x118)](_0x41cefc);}async[_0x191b0b(0x11a)](_0x1b1192){const _0x45eef1=_0x191b0b,_0x1606d4=this[_0x45eef1(0x111)][_0x45eef1(0x11c)](r[_0x45eef1(0x117)]);if(!_0x1606d4)throw new Error(_0x45eef1(0x113));return _0x1606d4[_0x45eef1(0x114)](_0x1b1192);}}function _0x142c(_0x3ca85c,_0x1d843c){const _0xfe970=_0xfe97();return _0x142c=function(_0x142c4f,_0x43bfff){_0x142c4f=_0x142c4f-0x111;let _0x3f8ca5=_0xfe970[_0x142c4f];return _0x3f8ca5;},_0x142c(_0x3ca85c,_0x1d843c);}c[_0x191b0b(0x12f)][_0x191b0b(0x112)](s);
1
+ 'use strict';const _0x3c8e54=_0x4ed1;function _0x4ed1(_0x55c6cd,_0x585dec){const _0x525791=_0x5257();return _0x4ed1=function(_0x4ed12c,_0xdd7098){_0x4ed12c=_0x4ed12c-0x1ef;let _0x4a745c=_0x525791[_0x4ed12c];return _0x4a745c;},_0x4ed1(_0x55c6cd,_0x585dec);}function _0x5257(){const _0x293570=['importXLSXToSnapshotAsync','exportDOCXByUnitId','_injector','UNIVER_SLIDE','exportXLSXBySnapshotAsync','importFileToUnitId','get','@univerjs/core/facade','extend','@univerjs-pro/exchange-client','UNIVER_DOC','importDOCXToUnitId','exportXLSXByUnitIdAsync','exportDOCXByUnitIdAsync','UNRECOGNIZED','1252347zYezuV','IExchangeService','24uzTfYh','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXByUnitId','35270xQhPfX','importXLSXToUnitId','2cQwRAN','importXLSXToSnapshot','importDOCXToUnitIdAsync','43605HcHMuW','2536014sbOBHd','UNIVER_PROJECT','UNIVER_SHEET','6248671eimYDu','importXLSXToUnitIdAsync','752983eLeMnY','FUniver','940AlWmGB','72997wBqBSC','exportXLSXBySnapshot','UNIVER_UNKNOWN','importDOCXToSnapshotAsync','52dRLNAM'];_0x5257=function(){return _0x293570;};return _0x5257();}(function(_0x1d5f11,_0x56f4d0){const _0x21306c=_0x4ed1,_0x5a2342=_0x1d5f11();while(!![]){try{const _0x827555=parseInt(_0x21306c(0x208))/0x1*(-parseInt(_0x21306c(0x1fc))/0x2)+parseInt(_0x21306c(0x1f5))/0x3+-parseInt(_0x21306c(0x20c))/0x4*(parseInt(_0x21306c(0x1fa))/0x5)+-parseInt(_0x21306c(0x200))/0x6+-parseInt(_0x21306c(0x205))/0x7*(-parseInt(_0x21306c(0x1f7))/0x8)+-parseInt(_0x21306c(0x1ff))/0x9*(parseInt(_0x21306c(0x207))/0xa)+parseInt(_0x21306c(0x203))/0xb;if(_0x827555===_0x56f4d0)break;else _0x5a2342['push'](_0x5a2342['shift']());}catch(_0xaa9339){_0x5a2342['push'](_0x5a2342['shift']());}}}(_0x5257,0x40ccb));const r=require(_0x3c8e54(0x1ef)),o=require(_0x3c8e54(0x214));var i=(_0x8420f7=>(_0x8420f7[_0x8420f7[_0x3c8e54(0x20a)]=0x0]='UNIVER_UNKNOWN',_0x8420f7[_0x8420f7[_0x3c8e54(0x1f0)]=0x1]='UNIVER_DOC',_0x8420f7[_0x8420f7[_0x3c8e54(0x202)]=0x2]='UNIVER_SHEET',_0x8420f7[_0x8420f7[_0x3c8e54(0x210)]=0x3]=_0x3c8e54(0x210),_0x8420f7[_0x8420f7[_0x3c8e54(0x201)]=0x4]=_0x3c8e54(0x201),_0x8420f7[_0x8420f7[_0x3c8e54(0x1f4)]=-0x1]=_0x3c8e54(0x1f4),_0x8420f7))(i||{});class c extends o[_0x3c8e54(0x206)]{async[_0x3c8e54(0x1fb)](_0x4dd464){const _0x170200=_0x3c8e54;return this[_0x170200(0x204)](_0x4dd464);}async['importXLSXToUnitIdAsync'](_0x5f2a76){const _0x404ac1=_0x3c8e54,_0x424da8=this[_0x404ac1(0x20f)]['get'](r['IExchangeService']);if(!_0x424da8)throw new Error(_0x404ac1(0x1f8));return _0x424da8['importFileToUnitId'](_0x5f2a76,i[_0x404ac1(0x202)]);}async['importXLSXToSnapshot'](_0x11754d){const _0x4d4b8d=_0x3c8e54;return this[_0x4d4b8d(0x20d)](_0x11754d);}async[_0x3c8e54(0x20d)](_0x3444a3){const _0x556f89=_0x3c8e54,_0x108e54=this[_0x556f89(0x20f)][_0x556f89(0x213)](r[_0x556f89(0x1f6)]);if(!_0x108e54)throw new Error(_0x556f89(0x1f8));return _0x108e54[_0x556f89(0x1fd)](_0x3444a3);}async['exportXLSXByUnitId'](_0x16524b){const _0x2383fb=_0x3c8e54;return this[_0x2383fb(0x1f2)](_0x16524b);}async[_0x3c8e54(0x1f2)](_0x55f3e5){const _0x17c33e=_0x3c8e54,_0x3967e8=this[_0x17c33e(0x20f)][_0x17c33e(0x213)](r[_0x17c33e(0x1f6)]);if(!_0x3967e8)throw new Error(_0x17c33e(0x1f8));return _0x3967e8[_0x17c33e(0x1f9)](_0x55f3e5);}async[_0x3c8e54(0x209)](_0xfb72f0){return this['exportXLSXBySnapshotAsync'](_0xfb72f0);}async[_0x3c8e54(0x211)](_0x181560){const _0x3c2296=_0x3c8e54,_0x27987e=this[_0x3c2296(0x20f)][_0x3c2296(0x213)](r[_0x3c2296(0x1f6)]);if(!_0x27987e)throw new Error(_0x3c2296(0x1f8));return _0x27987e[_0x3c2296(0x209)](_0x181560);}async[_0x3c8e54(0x1f1)](_0xa4a14c){const _0x2e5a7d=_0x3c8e54;return this[_0x2e5a7d(0x1fe)](_0xa4a14c);}async['importDOCXToUnitIdAsync'](_0x1c4037){const _0x3caa7c=_0x3c8e54,_0xa1d933=this[_0x3caa7c(0x20f)][_0x3caa7c(0x213)](r['IExchangeService']);if(!_0xa1d933)throw new Error(_0x3caa7c(0x1f8));return _0xa1d933[_0x3caa7c(0x212)](_0x1c4037,i[_0x3caa7c(0x1f0)]);}async['importDOCXToSnapshot'](_0x341fa0){const _0x514ab3=_0x3c8e54;return this[_0x514ab3(0x20b)](_0x341fa0);}async[_0x3c8e54(0x20b)](_0x37ab17){const _0x7ccfb6=_0x3c8e54,_0x3991e7=this[_0x7ccfb6(0x20f)][_0x7ccfb6(0x213)](r[_0x7ccfb6(0x1f6)]);if(!_0x3991e7)throw new Error(_0x7ccfb6(0x1f8));return _0x3991e7['importDOCXToSnapshot'](_0x37ab17);}async['exportDOCXBySnapshotAsync'](_0x166702){const _0x460f03=_0x3c8e54,_0x2024d7=this[_0x460f03(0x20f)][_0x460f03(0x213)](r[_0x460f03(0x1f6)]);if(!_0x2024d7)throw new Error(_0x460f03(0x1f8));return _0x2024d7['exportDOCXBySnapshot'](_0x166702);}async[_0x3c8e54(0x1f3)](_0x30a0a5){const _0x133f0a=_0x3c8e54,_0x392e07=this[_0x133f0a(0x20f)][_0x133f0a(0x213)](r[_0x133f0a(0x1f6)]);if(!_0x392e07)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x392e07[_0x133f0a(0x20e)](_0x30a0a5);}}o[_0x3c8e54(0x206)][_0x3c8e54(0x215)](c);