@univerjs-pro/exchange-client 0.10.14-nightly.202511070628 → 0.10.14-nightly.202511070640

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 (49) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +2 -2
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/facade.js +1 -1
  14. package/lib/es/index.js +2 -2
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/facade.js +1 -1
  26. package/lib/index.js +2 -2
  27. package/lib/locale/ca-ES.js +1 -1
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -1
  30. package/lib/locale/fa-IR.js +1 -1
  31. package/lib/locale/fr-FR.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/umd/facade.js +1 -1
  38. package/lib/umd/index.js +2 -2
  39. package/lib/umd/locale/ca-ES.js +1 -1
  40. package/lib/umd/locale/en-US.js +1 -1
  41. package/lib/umd/locale/es-ES.js +1 -1
  42. package/lib/umd/locale/fa-IR.js +1 -1
  43. package/lib/umd/locale/fr-FR.js +1 -1
  44. package/lib/umd/locale/ko-KR.js +1 -1
  45. package/lib/umd/locale/ru-RU.js +1 -1
  46. package/lib/umd/locale/vi-VN.js +1 -1
  47. package/lib/umd/locale/zh-CN.js +1 -1
  48. package/lib/umd/locale/zh-TW.js +1 -1
  49. package/package.json +7 -7
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x1b6337=_0x42f6;function _0x37d6(){const _0x2e2109=['importFileToUnitId','UNIVER_SHEET','importDOCXToUnitIdAsync','UNIVER_SLIDE','exportXLSXBySnapshotAsync','2itwtRx','exportDOCXBySnapshotAsync','10CeDRNG','UNRECOGNIZED','The\x20exchange\x20service\x20is\x20not\x20available','9714wfGozD','UNIVER_DOC','importDOCXToSnapshot','IExchangeService','exportXLSXBySnapshot','importXLSXToSnapshot','exportDOCXByUnitIdAsync','6039vWnwWA','exportDOCXByUnitId','26644673AuUdDP','_injector','UNIVER_PROJECT','UNIVER_UNKNOWN','6161808AcCHmu','3710259aFKDNY','importXLSXToSnapshotAsync','importXLSXToUnitIdAsync','get','FUniver','exportXLSXByUnitIdAsync','1436VSpVpU','2779lYeokl','1517557ISdeWP','importDOCXToSnapshotAsync','4325710dnIMGT','extend'];_0x37d6=function(){return _0x2e2109;};return _0x37d6();}function _0x42f6(_0x1f0cb2,_0x238a61){const _0x37d686=_0x37d6();return _0x42f6=function(_0x42f668,_0x57e8c9){_0x42f668=_0x42f668-0x135;let _0x78cdcf=_0x37d686[_0x42f668];return _0x78cdcf;},_0x42f6(_0x1f0cb2,_0x238a61);}(function(_0x396cc6,_0x22cdb5){const _0x373c3d=_0x42f6,_0x39edae=_0x396cc6();while(!![]){try{const _0x208528=parseInt(_0x373c3d(0x158))/0x1*(parseInt(_0x373c3d(0x13d))/0x2)+parseInt(_0x373c3d(0x149))/0x3*(parseInt(_0x373c3d(0x156))/0x4)+-parseInt(_0x373c3d(0x136))/0x5+parseInt(_0x373c3d(0x142))/0x6*(parseInt(_0x373c3d(0x157))/0x7)+parseInt(_0x373c3d(0x14f))/0x8+parseInt(_0x373c3d(0x150))/0x9+parseInt(_0x373c3d(0x13f))/0xa*(-parseInt(_0x373c3d(0x14b))/0xb);if(_0x208528===_0x22cdb5)break;else _0x39edae['push'](_0x39edae['shift']());}catch(_0x348620){_0x39edae['push'](_0x39edae['shift']());}}}(_0x37d6,0xbdf4b));const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x36ff94=>(_0x36ff94[_0x36ff94[_0x1b6337(0x14e)]=0x0]=_0x1b6337(0x14e),_0x36ff94[_0x36ff94[_0x1b6337(0x143)]=0x1]=_0x1b6337(0x143),_0x36ff94[_0x36ff94['UNIVER_SHEET']=0x2]=_0x1b6337(0x139),_0x36ff94[_0x36ff94[_0x1b6337(0x13b)]=0x3]=_0x1b6337(0x13b),_0x36ff94[_0x36ff94[_0x1b6337(0x14d)]=0x4]=_0x1b6337(0x14d),_0x36ff94[_0x36ff94[_0x1b6337(0x140)]=-0x1]=_0x1b6337(0x140),_0x36ff94))(i||{});class c extends o['FUniver']{async['importXLSXToUnitId'](_0x4c93dd){const _0x58e54c=_0x1b6337;return this[_0x58e54c(0x152)](_0x4c93dd);}async['importXLSXToUnitIdAsync'](_0x338388){const _0x1248d4=_0x1b6337,_0x28a880=this['_injector'][_0x1248d4(0x153)](r[_0x1248d4(0x145)]);if(!_0x28a880)throw new Error(_0x1248d4(0x141));return _0x28a880['importFileToUnitId'](_0x338388,i[_0x1248d4(0x139)]);}async[_0x1b6337(0x147)](_0x1d174a){const _0x2646b0=_0x1b6337;return this[_0x2646b0(0x151)](_0x1d174a);}async['importXLSXToSnapshotAsync'](_0x2b9107){const _0x45a1e8=_0x1b6337,_0x5dce08=this[_0x45a1e8(0x14c)][_0x45a1e8(0x153)](r['IExchangeService']);if(!_0x5dce08)throw new Error(_0x45a1e8(0x141));return _0x5dce08[_0x45a1e8(0x147)](_0x2b9107);}async['exportXLSXByUnitId'](_0x1b45a0){return this['exportXLSXByUnitIdAsync'](_0x1b45a0);}async[_0x1b6337(0x155)](_0x5a7c7b){const _0x17c4c5=_0x1b6337,_0x13278c=this['_injector'][_0x17c4c5(0x153)](r['IExchangeService']);if(!_0x13278c)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x13278c['exportXLSXByUnitId'](_0x5a7c7b);}async[_0x1b6337(0x146)](_0x552670){const _0x4a2211=_0x1b6337;return this[_0x4a2211(0x13c)](_0x552670);}async[_0x1b6337(0x13c)](_0x4803bd){const _0x1083f5=_0x1b6337,_0x2ccedf=this[_0x1083f5(0x14c)]['get'](r[_0x1083f5(0x145)]);if(!_0x2ccedf)throw new Error(_0x1083f5(0x141));return _0x2ccedf[_0x1083f5(0x146)](_0x4803bd);}async['importDOCXToUnitId'](_0x38e060){const _0x255414=_0x1b6337;return this[_0x255414(0x13a)](_0x38e060);}async[_0x1b6337(0x13a)](_0x2b0689){const _0x9e473=_0x1b6337,_0x4a0972=this[_0x9e473(0x14c)][_0x9e473(0x153)](r[_0x9e473(0x145)]);if(!_0x4a0972)throw new Error(_0x9e473(0x141));return _0x4a0972[_0x9e473(0x138)](_0x2b0689,i[_0x9e473(0x143)]);}async[_0x1b6337(0x144)](_0x5939bc){const _0x105167=_0x1b6337;return this[_0x105167(0x135)](_0x5939bc);}async[_0x1b6337(0x135)](_0x5c67d8){const _0xabae63=_0x1b6337,_0x4b7e9a=this['_injector'][_0xabae63(0x153)](r[_0xabae63(0x145)]);if(!_0x4b7e9a)throw new Error(_0xabae63(0x141));return _0x4b7e9a['importDOCXToSnapshot'](_0x5c67d8);}async[_0x1b6337(0x13e)](_0x296964){const _0x1908ee=_0x1b6337,_0x38189e=this[_0x1908ee(0x14c)][_0x1908ee(0x153)](r['IExchangeService']);if(!_0x38189e)throw new Error(_0x1908ee(0x141));return _0x38189e['exportDOCXBySnapshot'](_0x296964);}async[_0x1b6337(0x148)](_0x3732ab){const _0x479fb8=_0x1b6337,_0x488f4d=this[_0x479fb8(0x14c)]['get'](r[_0x479fb8(0x145)]);if(!_0x488f4d)throw new Error(_0x479fb8(0x141));return _0x488f4d[_0x479fb8(0x14a)](_0x3732ab);}}o[_0x1b6337(0x154)][_0x1b6337(0x137)](c);
1
+ 'use strict';const _0x344bf1=_0x57ea;(function(_0x3ecb43,_0x5e8fb7){const _0x725a48=_0x57ea,_0x373987=_0x3ecb43();while(!![]){try{const _0x3bfff8=parseInt(_0x725a48(0xd3))/0x1*(parseInt(_0x725a48(0xd9))/0x2)+-parseInt(_0x725a48(0xc8))/0x3+-parseInt(_0x725a48(0xd6))/0x4+parseInt(_0x725a48(0xca))/0x5+-parseInt(_0x725a48(0xd4))/0x6*(parseInt(_0x725a48(0xc6))/0x7)+parseInt(_0x725a48(0xdf))/0x8+parseInt(_0x725a48(0xcb))/0x9;if(_0x3bfff8===_0x5e8fb7)break;else _0x373987['push'](_0x373987['shift']());}catch(_0x3b4b47){_0x373987['push'](_0x373987['shift']());}}}(_0x5813,0x28a3e));function _0x5813(){const _0xe04177=['49bqcrAn','importDOCXToSnapshot','19044gyOWSG','get','720055ntVkCV','3547764ZsfPag','UNIVER_SLIDE','IExchangeService','UNIVER_PROJECT','UNIVER_SHEET','exportXLSXByUnitId','exportDOCXByUnitIdAsync','importDOCXToSnapshotAsync','2527iQqmMi','270282uJoXPm','exportXLSXByUnitIdAsync','928328vbkSmN','exportDOCXBySnapshotAsync','The\x20exchange\x20service\x20is\x20not\x20available','62eUwSom','importFileToUnitId','exportDOCXByUnitId','importXLSXToUnitIdAsync','exportXLSXBySnapshotAsync','exportXLSXBySnapshot','829416NUiHFb','importDOCXToUnitId','UNIVER_DOC','_injector','importXLSXToSnapshot','exportDOCXBySnapshot','importXLSXToSnapshotAsync'];_0x5813=function(){return _0xe04177;};return _0x5813();}const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x5197ea=>(_0x5197ea[_0x5197ea['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x5197ea[_0x5197ea[_0x344bf1(0xe1)]=0x1]='UNIVER_DOC',_0x5197ea[_0x5197ea[_0x344bf1(0xcf)]=0x2]=_0x344bf1(0xcf),_0x5197ea[_0x5197ea[_0x344bf1(0xcc)]=0x3]=_0x344bf1(0xcc),_0x5197ea[_0x5197ea[_0x344bf1(0xce)]=0x4]='UNIVER_PROJECT',_0x5197ea[_0x5197ea['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x5197ea))(i||{});class c extends o['FUniver']{async['importXLSXToUnitId'](_0x4b67fc){const _0x199dc0=_0x344bf1;return this[_0x199dc0(0xdc)](_0x4b67fc);}async[_0x344bf1(0xdc)](_0x226242){const _0x15ca32=_0x344bf1,_0x2adc79=this[_0x15ca32(0xe2)]['get'](r['IExchangeService']);if(!_0x2adc79)throw new Error(_0x15ca32(0xd8));return _0x2adc79[_0x15ca32(0xda)](_0x226242,i[_0x15ca32(0xcf)]);}async['importXLSXToSnapshot'](_0x3841d3){const _0x390757=_0x344bf1;return this[_0x390757(0xc5)](_0x3841d3);}async[_0x344bf1(0xc5)](_0x2a1f96){const _0x30fe68=_0x344bf1,_0x55f868=this[_0x30fe68(0xe2)][_0x30fe68(0xc9)](r[_0x30fe68(0xcd)]);if(!_0x55f868)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x55f868[_0x30fe68(0xe3)](_0x2a1f96);}async[_0x344bf1(0xd0)](_0xb6d1f9){const _0x2bfe8b=_0x344bf1;return this[_0x2bfe8b(0xd5)](_0xb6d1f9);}async[_0x344bf1(0xd5)](_0x4e75fa){const _0x578c88=_0x344bf1,_0x170ca4=this['_injector']['get'](r[_0x578c88(0xcd)]);if(!_0x170ca4)throw new Error(_0x578c88(0xd8));return _0x170ca4[_0x578c88(0xd0)](_0x4e75fa);}async[_0x344bf1(0xde)](_0x263139){return this['exportXLSXBySnapshotAsync'](_0x263139);}async[_0x344bf1(0xdd)](_0x349e75){const _0x38414c=_0x344bf1,_0x431240=this[_0x38414c(0xe2)][_0x38414c(0xc9)](r[_0x38414c(0xcd)]);if(!_0x431240)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x431240[_0x38414c(0xde)](_0x349e75);}async[_0x344bf1(0xe0)](_0x3dfd61){return this['importDOCXToUnitIdAsync'](_0x3dfd61);}async['importDOCXToUnitIdAsync'](_0x36606a){const _0x10e8e3=_0x344bf1,_0x109537=this[_0x10e8e3(0xe2)]['get'](r['IExchangeService']);if(!_0x109537)throw new Error(_0x10e8e3(0xd8));return _0x109537[_0x10e8e3(0xda)](_0x36606a,i['UNIVER_DOC']);}async[_0x344bf1(0xc7)](_0x18d5d2){const _0x3a4c0f=_0x344bf1;return this[_0x3a4c0f(0xd2)](_0x18d5d2);}async['importDOCXToSnapshotAsync'](_0x944ca4){const _0x53094b=_0x344bf1,_0x110bfb=this[_0x53094b(0xe2)]['get'](r['IExchangeService']);if(!_0x110bfb)throw new Error(_0x53094b(0xd8));return _0x110bfb[_0x53094b(0xc7)](_0x944ca4);}async[_0x344bf1(0xd7)](_0x2184e3){const _0x463d4b=_0x344bf1,_0x23e1a0=this[_0x463d4b(0xe2)][_0x463d4b(0xc9)](r[_0x463d4b(0xcd)]);if(!_0x23e1a0)throw new Error(_0x463d4b(0xd8));return _0x23e1a0[_0x463d4b(0xc4)](_0x2184e3);}async[_0x344bf1(0xd1)](_0x4cd861){const _0x5d5b61=_0x344bf1,_0x2291f0=this[_0x5d5b61(0xe2)][_0x5d5b61(0xc9)](r[_0x5d5b61(0xcd)]);if(!_0x2291f0)throw new Error(_0x5d5b61(0xd8));return _0x2291f0[_0x5d5b61(0xdb)](_0x4cd861);}}function _0x57ea(_0x149bf2,_0x4e1372){const _0x581352=_0x5813();return _0x57ea=function(_0x57eae3,_0x36af05){_0x57eae3=_0x57eae3-0xc4;let _0x4c74d6=_0x581352[_0x57eae3];return _0x4c74d6;},_0x57ea(_0x149bf2,_0x4e1372);}o['FUniver']['extend'](c);