@univerjs-pro/exchange-client 0.10.1 → 0.10.2

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 +9 -9
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x422cab=_0x55d4;(function(_0x8a0dbb,_0x381d19){const _0x4398d3=_0x55d4,_0x6fa41=_0x8a0dbb();while(!![]){try{const _0x4acd9b=-parseInt(_0x4398d3(0x8b))/0x1*(-parseInt(_0x4398d3(0x74))/0x2)+parseInt(_0x4398d3(0x76))/0x3+-parseInt(_0x4398d3(0x7c))/0x4+-parseInt(_0x4398d3(0x7b))/0x5+-parseInt(_0x4398d3(0x89))/0x6*(parseInt(_0x4398d3(0x86))/0x7)+parseInt(_0x4398d3(0x73))/0x8*(-parseInt(_0x4398d3(0x8c))/0x9)+parseInt(_0x4398d3(0x8e))/0xa;if(_0x4acd9b===_0x381d19)break;else _0x6fa41['push'](_0x6fa41['shift']());}catch(_0x2b990b){_0x6fa41['push'](_0x6fa41['shift']());}}}(_0x2be0,0xd2d38));function _0x2be0(){const _0x1b5f26=['importFileToUnitId','21819750bjhVSq','IExchangeService','exportXLSXByUnitIdAsync','_injector','UNIVER_SHEET','UNRECOGNIZED','exportXLSXBySnapshotAsync','importDOCXToUnitIdAsync','UNIVER_PROJECT','importXLSXToSnapshot','13591768DvMdij','19046hdmuuH','importXLSXToUnitIdAsync','4103223xRwHXp','importDOCXToSnapshot','UNIVER_SLIDE','UNIVER_DOC','importDOCXToSnapshotAsync','4190895rtthCx','2878940ymqXeK','importDOCXToUnitId','importXLSXToSnapshotAsync','extend','exportXLSXByUnitId','get','exportDOCXBySnapshotAsync','exportDOCXByUnitIdAsync','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXBySnapshot','4228PbpFNp','importXLSXToUnitId','UNIVER_UNKNOWN','3696XUtqly','FUniver','99goQOzG','9SQGiZk'];_0x2be0=function(){return _0x1b5f26;};return _0x2be0();}const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x17cd47=>(_0x17cd47[_0x17cd47[_0x422cab(0x88)]=0x0]=_0x422cab(0x88),_0x17cd47[_0x17cd47[_0x422cab(0x79)]=0x1]=_0x422cab(0x79),_0x17cd47[_0x17cd47[_0x422cab(0x92)]=0x2]=_0x422cab(0x92),_0x17cd47[_0x17cd47[_0x422cab(0x78)]=0x3]='UNIVER_SLIDE',_0x17cd47[_0x17cd47[_0x422cab(0x71)]=0x4]=_0x422cab(0x71),_0x17cd47[_0x17cd47[_0x422cab(0x6e)]=-0x1]=_0x422cab(0x6e),_0x17cd47))(i||{});function _0x55d4(_0x2d42c8,_0x119460){const _0x2be0a4=_0x2be0();return _0x55d4=function(_0x55d40d,_0x521d93){_0x55d40d=_0x55d40d-0x6e;let _0x2a05ac=_0x2be0a4[_0x55d40d];return _0x2a05ac;},_0x55d4(_0x2d42c8,_0x119460);}class c extends o[_0x422cab(0x8a)]{async[_0x422cab(0x87)](_0x48d88e){const _0x2adf0f=_0x422cab;return this[_0x2adf0f(0x75)](_0x48d88e);}async['importXLSXToUnitIdAsync'](_0x4e2b73){const _0x46ad7d=_0x422cab,_0x22def3=this['_injector']['get'](r['IExchangeService']);if(!_0x22def3)throw new Error(_0x46ad7d(0x84));return _0x22def3['importFileToUnitId'](_0x4e2b73,i[_0x46ad7d(0x92)]);}async[_0x422cab(0x72)](_0x558f59){const _0x5edd76=_0x422cab;return this[_0x5edd76(0x7e)](_0x558f59);}async['importXLSXToSnapshotAsync'](_0x41ad3d){const _0x30f64e=_0x422cab,_0x2428f9=this['_injector']['get'](r['IExchangeService']);if(!_0x2428f9)throw new Error(_0x30f64e(0x84));return _0x2428f9[_0x30f64e(0x72)](_0x41ad3d);}async['exportXLSXByUnitId'](_0x354e64){const _0x1b8b13=_0x422cab;return this[_0x1b8b13(0x90)](_0x354e64);}async[_0x422cab(0x90)](_0x3472e1){const _0x23d8cc=_0x422cab,_0x4e3091=this[_0x23d8cc(0x91)]['get'](r['IExchangeService']);if(!_0x4e3091)throw new Error(_0x23d8cc(0x84));return _0x4e3091[_0x23d8cc(0x80)](_0x3472e1);}async[_0x422cab(0x85)](_0x59eb52){const _0x2b71f4=_0x422cab;return this[_0x2b71f4(0x6f)](_0x59eb52);}async[_0x422cab(0x6f)](_0x565a2f){const _0x92312c=_0x422cab,_0x189023=this[_0x92312c(0x91)][_0x92312c(0x81)](r['IExchangeService']);if(!_0x189023)throw new Error(_0x92312c(0x84));return _0x189023[_0x92312c(0x85)](_0x565a2f);}async[_0x422cab(0x7d)](_0x876745){const _0x1cdef2=_0x422cab;return this[_0x1cdef2(0x70)](_0x876745);}async[_0x422cab(0x70)](_0x324681){const _0x2363bc=_0x422cab,_0x3e4d6c=this['_injector'][_0x2363bc(0x81)](r[_0x2363bc(0x8f)]);if(!_0x3e4d6c)throw new Error(_0x2363bc(0x84));return _0x3e4d6c[_0x2363bc(0x8d)](_0x324681,i[_0x2363bc(0x79)]);}async[_0x422cab(0x77)](_0x2ed148){const _0x391f19=_0x422cab;return this[_0x391f19(0x7a)](_0x2ed148);}async['importDOCXToSnapshotAsync'](_0xfe5837){const _0x1e41da=_0x422cab,_0x967215=this[_0x1e41da(0x91)][_0x1e41da(0x81)](r[_0x1e41da(0x8f)]);if(!_0x967215)throw new Error(_0x1e41da(0x84));return _0x967215[_0x1e41da(0x77)](_0xfe5837);}async[_0x422cab(0x82)](_0x2e050d){const _0x23205e=_0x422cab,_0x255ac4=this[_0x23205e(0x91)][_0x23205e(0x81)](r[_0x23205e(0x8f)]);if(!_0x255ac4)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x255ac4['exportDOCXBySnapshot'](_0x2e050d);}async[_0x422cab(0x83)](_0x1cea2d){const _0x13bcd5=_0x422cab,_0x56dc9b=this[_0x13bcd5(0x91)][_0x13bcd5(0x81)](r[_0x13bcd5(0x8f)]);if(!_0x56dc9b)throw new Error(_0x13bcd5(0x84));return _0x56dc9b['exportDOCXByUnitId'](_0x1cea2d);}}o[_0x422cab(0x8a)][_0x422cab(0x7f)](c);
1
+ 'use strict';const _0x283cdf=_0x309a;function _0x309a(_0x1822a4,_0xe04bcb){const _0x3c186a=_0x3c18();return _0x309a=function(_0x309af1,_0x447230){_0x309af1=_0x309af1-0x1d1;let _0x4c740f=_0x3c186a[_0x309af1];return _0x4c740f;},_0x309a(_0x1822a4,_0xe04bcb);}(function(_0x5d75e0,_0x4dd126){const _0x391018=_0x309a,_0x2b99d4=_0x5d75e0();while(!![]){try{const _0x4641ba=-parseInt(_0x391018(0x1de))/0x1*(parseInt(_0x391018(0x1e6))/0x2)+parseInt(_0x391018(0x1f5))/0x3+parseInt(_0x391018(0x1d7))/0x4+parseInt(_0x391018(0x1f4))/0x5*(parseInt(_0x391018(0x1ea))/0x6)+-parseInt(_0x391018(0x1df))/0x7*(-parseInt(_0x391018(0x1d4))/0x8)+-parseInt(_0x391018(0x1d9))/0x9+parseInt(_0x391018(0x1ec))/0xa*(-parseInt(_0x391018(0x1dc))/0xb);if(_0x4641ba===_0x4dd126)break;else _0x2b99d4['push'](_0x2b99d4['shift']());}catch(_0x560935){_0x2b99d4['push'](_0x2b99d4['shift']());}}}(_0x3c18,0x6fe51));const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x2504dd=>(_0x2504dd[_0x2504dd['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x2504dd[_0x2504dd[_0x283cdf(0x1e5)]=0x1]=_0x283cdf(0x1e5),_0x2504dd[_0x2504dd[_0x283cdf(0x1e8)]=0x2]=_0x283cdf(0x1e8),_0x2504dd[_0x2504dd[_0x283cdf(0x1e9)]=0x3]=_0x283cdf(0x1e9),_0x2504dd[_0x2504dd[_0x283cdf(0x1e1)]=0x4]=_0x283cdf(0x1e1),_0x2504dd[_0x2504dd['UNRECOGNIZED']=-0x1]=_0x283cdf(0x1ee),_0x2504dd))(i||{});function _0x3c18(){const _0x4e5be0=['1511775aTYInO','_injector','importXLSXToSnapshotAsync','exportXLSXByUnitId','656KBKmaq','importDOCXToSnapshot','IExchangeService','2921788owGHnb','importDOCXToUnitId','926253uOlQrx','exportDOCXByUnitIdAsync','exportDOCXBySnapshot','11mFtJlw','FUniver','18tbYNnf','64386YVkySz','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_PROJECT','importFileToUnitId','importXLSXToSnapshot','importXLSXToUnitIdAsync','UNIVER_DOC','67238XeppRL','extend','UNIVER_SHEET','UNIVER_SLIDE','804zTRHqZ','importXLSXToUnitId','12642940ifssPS','exportXLSXByUnitIdAsync','UNRECOGNIZED','exportDOCXBySnapshotAsync','importDOCXToSnapshotAsync','exportXLSXBySnapshot','get','exportXLSXBySnapshotAsync','16495TBuzGJ'];_0x3c18=function(){return _0x4e5be0;};return _0x3c18();}class c extends o[_0x283cdf(0x1dd)]{async[_0x283cdf(0x1eb)](_0x1fc184){const _0x2000d8=_0x283cdf;return this[_0x2000d8(0x1e4)](_0x1fc184);}async[_0x283cdf(0x1e4)](_0x592d00){const _0x1c7622=_0x283cdf,_0x52e2d0=this['_injector'][_0x1c7622(0x1f2)](r['IExchangeService']);if(!_0x52e2d0)throw new Error(_0x1c7622(0x1e0));return _0x52e2d0[_0x1c7622(0x1e2)](_0x592d00,i['UNIVER_SHEET']);}async['importXLSXToSnapshot'](_0x4ce10a){const _0x26ec12=_0x283cdf;return this[_0x26ec12(0x1d2)](_0x4ce10a);}async['importXLSXToSnapshotAsync'](_0x175fc5){const _0x5d8c17=_0x283cdf,_0x299d3f=this[_0x5d8c17(0x1d1)][_0x5d8c17(0x1f2)](r['IExchangeService']);if(!_0x299d3f)throw new Error(_0x5d8c17(0x1e0));return _0x299d3f[_0x5d8c17(0x1e3)](_0x175fc5);}async[_0x283cdf(0x1d3)](_0xc1a475){const _0x57348e=_0x283cdf;return this[_0x57348e(0x1ed)](_0xc1a475);}async[_0x283cdf(0x1ed)](_0x2c37fc){const _0x473bc8=_0x283cdf,_0x2752a4=this['_injector'][_0x473bc8(0x1f2)](r['IExchangeService']);if(!_0x2752a4)throw new Error(_0x473bc8(0x1e0));return _0x2752a4[_0x473bc8(0x1d3)](_0x2c37fc);}async[_0x283cdf(0x1f1)](_0x2a6e2b){const _0x110640=_0x283cdf;return this[_0x110640(0x1f3)](_0x2a6e2b);}async[_0x283cdf(0x1f3)](_0xfc3f81){const _0x3946ec=_0x283cdf,_0x2e0059=this[_0x3946ec(0x1d1)]['get'](r[_0x3946ec(0x1d6)]);if(!_0x2e0059)throw new Error(_0x3946ec(0x1e0));return _0x2e0059[_0x3946ec(0x1f1)](_0xfc3f81);}async[_0x283cdf(0x1d8)](_0x4c9b2d){return this['importDOCXToUnitIdAsync'](_0x4c9b2d);}async['importDOCXToUnitIdAsync'](_0x3bd8b3){const _0xde9989=_0x283cdf,_0x42ef9b=this['_injector'][_0xde9989(0x1f2)](r[_0xde9989(0x1d6)]);if(!_0x42ef9b)throw new Error(_0xde9989(0x1e0));return _0x42ef9b[_0xde9989(0x1e2)](_0x3bd8b3,i[_0xde9989(0x1e5)]);}async[_0x283cdf(0x1d5)](_0x3c25bb){const _0xc44da6=_0x283cdf;return this[_0xc44da6(0x1f0)](_0x3c25bb);}async[_0x283cdf(0x1f0)](_0x28fa5d){const _0x2ea904=_0x283cdf,_0x33656d=this[_0x2ea904(0x1d1)][_0x2ea904(0x1f2)](r[_0x2ea904(0x1d6)]);if(!_0x33656d)throw new Error(_0x2ea904(0x1e0));return _0x33656d['importDOCXToSnapshot'](_0x28fa5d);}async[_0x283cdf(0x1ef)](_0x1fd5e0){const _0x30cfc6=_0x283cdf,_0x5afcce=this[_0x30cfc6(0x1d1)][_0x30cfc6(0x1f2)](r['IExchangeService']);if(!_0x5afcce)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5afcce[_0x30cfc6(0x1db)](_0x1fd5e0);}async[_0x283cdf(0x1da)](_0x9b18b){const _0x2ffee1=_0x283cdf,_0x2c6800=this[_0x2ffee1(0x1d1)][_0x2ffee1(0x1f2)](r[_0x2ffee1(0x1d6)]);if(!_0x2c6800)throw new Error(_0x2ffee1(0x1e0));return _0x2c6800['exportDOCXByUnitId'](_0x9b18b);}}o[_0x283cdf(0x1dd)][_0x283cdf(0x1e7)](c);