@univerjs-pro/exchange-client 0.15.3 → 0.15.4

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 (58) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  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/ja-JP.js +1 -1
  9. package/lib/cjs/locale/ko-KR.js +1 -1
  10. package/lib/cjs/locale/ru-RU.js +1 -1
  11. package/lib/cjs/locale/sk-SK.js +1 -0
  12. package/lib/cjs/locale/vi-VN.js +1 -1
  13. package/lib/cjs/locale/zh-CN.js +1 -1
  14. package/lib/cjs/locale/zh-TW.js +1 -1
  15. package/lib/es/facade.js +1 -1
  16. package/lib/es/index.js +1 -1
  17. package/lib/es/locale/ca-ES.js +1 -1
  18. package/lib/es/locale/en-US.js +1 -1
  19. package/lib/es/locale/es-ES.js +1 -1
  20. package/lib/es/locale/fa-IR.js +1 -1
  21. package/lib/es/locale/fr-FR.js +1 -1
  22. package/lib/es/locale/ja-JP.js +1 -1
  23. package/lib/es/locale/ko-KR.js +1 -1
  24. package/lib/es/locale/ru-RU.js +1 -1
  25. package/lib/es/locale/sk-SK.js +1 -0
  26. package/lib/es/locale/vi-VN.js +1 -1
  27. package/lib/es/locale/zh-CN.js +1 -1
  28. package/lib/es/locale/zh-TW.js +1 -1
  29. package/lib/facade.js +1 -1
  30. package/lib/index.js +1 -1
  31. package/lib/locale/ca-ES.js +1 -1
  32. package/lib/locale/en-US.js +1 -1
  33. package/lib/locale/es-ES.js +1 -1
  34. package/lib/locale/fa-IR.js +1 -1
  35. package/lib/locale/fr-FR.js +1 -1
  36. package/lib/locale/ja-JP.js +1 -1
  37. package/lib/locale/ko-KR.js +1 -1
  38. package/lib/locale/ru-RU.js +1 -1
  39. package/lib/locale/sk-SK.js +1 -0
  40. package/lib/locale/vi-VN.js +1 -1
  41. package/lib/locale/zh-CN.js +1 -1
  42. package/lib/locale/zh-TW.js +1 -1
  43. package/lib/types/locale/sk-SK.d.ts +3 -0
  44. package/lib/umd/facade.js +1 -1
  45. package/lib/umd/index.js +1 -1
  46. package/lib/umd/locale/ca-ES.js +1 -1
  47. package/lib/umd/locale/en-US.js +1 -1
  48. package/lib/umd/locale/es-ES.js +1 -1
  49. package/lib/umd/locale/fa-IR.js +1 -1
  50. package/lib/umd/locale/fr-FR.js +1 -1
  51. package/lib/umd/locale/ja-JP.js +1 -1
  52. package/lib/umd/locale/ko-KR.js +1 -1
  53. package/lib/umd/locale/ru-RU.js +1 -1
  54. package/lib/umd/locale/sk-SK.js +1 -0
  55. package/lib/umd/locale/vi-VN.js +1 -1
  56. package/lib/umd/locale/zh-CN.js +1 -1
  57. package/lib/umd/locale/zh-TW.js +1 -1
  58. package/package.json +10 -10
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function _0x1b6b(_0x5197b1,_0x5cfa1b){_0x5197b1=_0x5197b1-0x157;const _0x5641ae=_0x5641();let _0x1b6bb2=_0x5641ae[_0x5197b1];return _0x1b6bb2;}const _0x37260c=_0x1b6b;(function(_0x6f6533,_0x2a041a){const _0x2a01e6=_0x1b6b,_0x23d6c8=_0x6f6533();while(!![]){try{const _0x4688d8=-parseInt(_0x2a01e6(0x175))/0x1*(parseInt(_0x2a01e6(0x16d))/0x2)+parseInt(_0x2a01e6(0x169))/0x3+-parseInt(_0x2a01e6(0x172))/0x4+-parseInt(_0x2a01e6(0x15f))/0x5+-parseInt(_0x2a01e6(0x176))/0x6+parseInt(_0x2a01e6(0x15a))/0x7+parseInt(_0x2a01e6(0x165))/0x8*(-parseInt(_0x2a01e6(0x177))/0x9);if(_0x4688d8===_0x2a041a)break;else _0x23d6c8['push'](_0x23d6c8['shift']());}catch(_0x4b1888){_0x23d6c8['push'](_0x23d6c8['shift']());}}}(_0x5641,0xd75f7));const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x504b10=>(_0x504b10[_0x504b10[_0x37260c(0x157)]=0x0]=_0x37260c(0x157),_0x504b10[_0x504b10[_0x37260c(0x178)]=0x1]=_0x37260c(0x178),_0x504b10[_0x504b10['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x504b10[_0x504b10[_0x37260c(0x158)]=0x3]=_0x37260c(0x158),_0x504b10[_0x504b10[_0x37260c(0x16c)]=0x4]=_0x37260c(0x16c),_0x504b10[_0x504b10[_0x37260c(0x164)]=-0x1]='UNRECOGNIZED',_0x504b10))(i||{});function _0x5641(){const _0x671072=['3069164vibBal','get','exportXLSXBySnapshot','46888nbGRgT','3319194hAusfi','162045uSDjUz','UNIVER_DOC','_injector','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXBySnapshotAsync','UNIVER_UNKNOWN','UNIVER_SLIDE','IExchangeService','10394685TUGhxE','UNIVER_SHEET','importFileToUnitId','importDOCXToUnitIdAsync','importXLSXToSnapshot','1470400tvdbBf','importXLSXToUnitId','importDOCXToUnitId','exportDOCXByUnitIdAsync','importDOCXToSnapshotAsync','UNRECOGNIZED','24EDLyQT','exportDOCXBySnapshot','exportXLSXByUnitIdAsync','exportDOCXBySnapshotAsync','3478719fovKSd','importDOCXToSnapshot','exportDOCXByUnitId','UNIVER_PROJECT','4PhRMAw','exportXLSXByUnitId','importXLSXToSnapshotAsync','importXLSXToUnitIdAsync','FUniver'];_0x5641=function(){return _0x671072;};return _0x5641();}class c extends o['FUniver']{async[_0x37260c(0x160)](_0x5947b5){const _0x3ff774=_0x37260c;return this[_0x3ff774(0x170)](_0x5947b5);}async['importXLSXToUnitIdAsync'](_0x17a886){const _0x5c9a10=_0x37260c,_0x1062e0=this[_0x5c9a10(0x179)]['get'](r[_0x5c9a10(0x159)]);if(!_0x1062e0)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1062e0['importFileToUnitId'](_0x17a886,i[_0x5c9a10(0x15b)]);}async['importXLSXToSnapshot'](_0x310d99){const _0xb6139f=_0x37260c;return this[_0xb6139f(0x16f)](_0x310d99);}async['importXLSXToSnapshotAsync'](_0xcfd25e){const _0x3653e4=_0x37260c,_0x347e65=this['_injector'][_0x3653e4(0x173)](r[_0x3653e4(0x159)]);if(!_0x347e65)throw new Error(_0x3653e4(0x17a));return _0x347e65[_0x3653e4(0x15e)](_0xcfd25e);}async[_0x37260c(0x16e)](_0x39b035){const _0x327a0a=_0x37260c;return this[_0x327a0a(0x167)](_0x39b035);}async[_0x37260c(0x167)](_0x5cf00e){const _0x1558ec=_0x37260c,_0x7a1faa=this[_0x1558ec(0x179)][_0x1558ec(0x173)](r['IExchangeService']);if(!_0x7a1faa)throw new Error(_0x1558ec(0x17a));return _0x7a1faa[_0x1558ec(0x16e)](_0x5cf00e);}async['exportXLSXBySnapshot'](_0x24a7b3){const _0x14f000=_0x37260c;return this[_0x14f000(0x17b)](_0x24a7b3);}async[_0x37260c(0x17b)](_0x1ba61a){const _0x458171=_0x37260c,_0x26befd=this['_injector'][_0x458171(0x173)](r['IExchangeService']);if(!_0x26befd)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x26befd[_0x458171(0x174)](_0x1ba61a);}async[_0x37260c(0x161)](_0x327fbf){const _0x72ce32=_0x37260c;return this[_0x72ce32(0x15d)](_0x327fbf);}async[_0x37260c(0x15d)](_0x503bb3){const _0x2525ba=_0x37260c,_0xfdd9aa=this[_0x2525ba(0x179)][_0x2525ba(0x173)](r[_0x2525ba(0x159)]);if(!_0xfdd9aa)throw new Error(_0x2525ba(0x17a));return _0xfdd9aa[_0x2525ba(0x15c)](_0x503bb3,i[_0x2525ba(0x178)]);}async[_0x37260c(0x16a)](_0x567018){const _0x46d830=_0x37260c;return this[_0x46d830(0x163)](_0x567018);}async[_0x37260c(0x163)](_0x4b1ff8){const _0x591d55=_0x37260c,_0x5312d2=this['_injector'][_0x591d55(0x173)](r[_0x591d55(0x159)]);if(!_0x5312d2)throw new Error(_0x591d55(0x17a));return _0x5312d2[_0x591d55(0x16a)](_0x4b1ff8);}async[_0x37260c(0x168)](_0x55562f){const _0x5c34ee=_0x37260c,_0x18d289=this[_0x5c34ee(0x179)][_0x5c34ee(0x173)](r[_0x5c34ee(0x159)]);if(!_0x18d289)throw new Error(_0x5c34ee(0x17a));return _0x18d289[_0x5c34ee(0x166)](_0x55562f);}async[_0x37260c(0x162)](_0x24cb2a){const _0x366cfc=_0x37260c,_0x1545be=this[_0x366cfc(0x179)]['get'](r[_0x366cfc(0x159)]);if(!_0x1545be)throw new Error(_0x366cfc(0x17a));return _0x1545be[_0x366cfc(0x16b)](_0x24cb2a);}}o[_0x37260c(0x171)]['extend'](c);
1
+ 'use strict';const _0xfed4ec=_0x4591;(function(_0x14c0f9,_0x7ea51c){const _0x1ab83f=_0x4591,_0x48fe03=_0x14c0f9();while(!![]){try{const _0x484289=parseInt(_0x1ab83f(0x1dd))/0x1+-parseInt(_0x1ab83f(0x1f2))/0x2*(parseInt(_0x1ab83f(0x1e8))/0x3)+-parseInt(_0x1ab83f(0x1e0))/0x4+parseInt(_0x1ab83f(0x1e3))/0x5+parseInt(_0x1ab83f(0x1f7))/0x6+-parseInt(_0x1ab83f(0x1eb))/0x7+parseInt(_0x1ab83f(0x1f8))/0x8;if(_0x484289===_0x7ea51c)break;else _0x48fe03['push'](_0x48fe03['shift']());}catch(_0x218151){_0x48fe03['push'](_0x48fe03['shift']());}}}(_0x5d4f,0x7545f));function _0x5d4f(){const _0x3b65ab=['The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_SHEET','importXLSXToUnitId','110828vgbCUD','UNIVER_PROJECT','importXLSXToUnitIdAsync','importDOCXToUnitId','exportXLSXBySnapshotAsync','2413800LdiPfm','1973960hnOudI','importFileToUnitId','exportDOCXByUnitIdAsync','UNIVER_SLIDE','get','UNIVER_UNKNOWN','UNIVER_DOC','exportDOCXByUnitId','597572XPMnEl','importXLSXToSnapshot','exportDOCXBySnapshotAsync','1439596PEPpcl','importXLSXToSnapshotAsync','exportXLSXByUnitIdAsync','3243035oMeBpc','importDOCXToSnapshot','extend','FUniver','IExchangeService','24jHdHfh','importDOCXToSnapshotAsync','_injector','4281634dBSJov','UNRECOGNIZED','exportXLSXBySnapshot','importDOCXToUnitIdAsync'];_0x5d4f=function(){return _0x3b65ab;};return _0x5d4f();}const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x5cf4ca=>(_0x5cf4ca[_0x5cf4ca[_0xfed4ec(0x1da)]=0x0]=_0xfed4ec(0x1da),_0x5cf4ca[_0x5cf4ca[_0xfed4ec(0x1db)]=0x1]=_0xfed4ec(0x1db),_0x5cf4ca[_0x5cf4ca[_0xfed4ec(0x1f0)]=0x2]=_0xfed4ec(0x1f0),_0x5cf4ca[_0x5cf4ca[_0xfed4ec(0x1fb)]=0x3]=_0xfed4ec(0x1fb),_0x5cf4ca[_0x5cf4ca['UNIVER_PROJECT']=0x4]=_0xfed4ec(0x1f3),_0x5cf4ca[_0x5cf4ca[_0xfed4ec(0x1ec)]=-0x1]=_0xfed4ec(0x1ec),_0x5cf4ca))(i||{});function _0x4591(_0xe20d36,_0x2e0e94){_0xe20d36=_0xe20d36-0x1da;const _0x5d4f44=_0x5d4f();let _0x459189=_0x5d4f44[_0xe20d36];return _0x459189;}class c extends o[_0xfed4ec(0x1e6)]{async[_0xfed4ec(0x1f1)](_0x493fe3){const _0x3677ff=_0xfed4ec;return this[_0x3677ff(0x1f4)](_0x493fe3);}async[_0xfed4ec(0x1f4)](_0x1017c4){const _0x8c1858=_0xfed4ec,_0x49708c=this[_0x8c1858(0x1ea)][_0x8c1858(0x1fc)](r[_0x8c1858(0x1e7)]);if(!_0x49708c)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x49708c[_0x8c1858(0x1f9)](_0x1017c4,i['UNIVER_SHEET']);}async[_0xfed4ec(0x1de)](_0x1d16ff){const _0xaf5348=_0xfed4ec;return this[_0xaf5348(0x1e1)](_0x1d16ff);}async[_0xfed4ec(0x1e1)](_0x581c66){const _0x3c966b=_0xfed4ec,_0x4e60e6=this['_injector'][_0x3c966b(0x1fc)](r[_0x3c966b(0x1e7)]);if(!_0x4e60e6)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4e60e6[_0x3c966b(0x1de)](_0x581c66);}async['exportXLSXByUnitId'](_0x4f7e5e){const _0x48c1fd=_0xfed4ec;return this[_0x48c1fd(0x1e2)](_0x4f7e5e);}async['exportXLSXByUnitIdAsync'](_0x42012c){const _0x21ce69=_0xfed4ec,_0x4380eb=this['_injector'][_0x21ce69(0x1fc)](r[_0x21ce69(0x1e7)]);if(!_0x4380eb)throw new Error(_0x21ce69(0x1ef));return _0x4380eb['exportXLSXByUnitId'](_0x42012c);}async[_0xfed4ec(0x1ed)](_0x59817f){const _0x4db0b5=_0xfed4ec;return this[_0x4db0b5(0x1f6)](_0x59817f);}async[_0xfed4ec(0x1f6)](_0x16f736){const _0x1f27b7=_0xfed4ec,_0x35e4c4=this[_0x1f27b7(0x1ea)][_0x1f27b7(0x1fc)](r[_0x1f27b7(0x1e7)]);if(!_0x35e4c4)throw new Error(_0x1f27b7(0x1ef));return _0x35e4c4[_0x1f27b7(0x1ed)](_0x16f736);}async[_0xfed4ec(0x1f5)](_0x27bf64){const _0x509c8f=_0xfed4ec;return this[_0x509c8f(0x1ee)](_0x27bf64);}async[_0xfed4ec(0x1ee)](_0x48b42c){const _0x278b9e=_0xfed4ec,_0x1a3841=this[_0x278b9e(0x1ea)]['get'](r[_0x278b9e(0x1e7)]);if(!_0x1a3841)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1a3841[_0x278b9e(0x1f9)](_0x48b42c,i['UNIVER_DOC']);}async['importDOCXToSnapshot'](_0x507d68){return this['importDOCXToSnapshotAsync'](_0x507d68);}async[_0xfed4ec(0x1e9)](_0x3178e2){const _0x3657ca=_0xfed4ec,_0x12b74d=this[_0x3657ca(0x1ea)]['get'](r[_0x3657ca(0x1e7)]);if(!_0x12b74d)throw new Error(_0x3657ca(0x1ef));return _0x12b74d[_0x3657ca(0x1e4)](_0x3178e2);}async[_0xfed4ec(0x1df)](_0x4c9b66){const _0x294b89=_0xfed4ec,_0x5762c6=this['_injector'][_0x294b89(0x1fc)](r[_0x294b89(0x1e7)]);if(!_0x5762c6)throw new Error(_0x294b89(0x1ef));return _0x5762c6['exportDOCXBySnapshot'](_0x4c9b66);}async[_0xfed4ec(0x1fa)](_0x552a79){const _0x260d29=_0xfed4ec,_0x43db7f=this[_0x260d29(0x1ea)]['get'](r['IExchangeService']);if(!_0x43db7f)throw new Error(_0x260d29(0x1ef));return _0x43db7f[_0x260d29(0x1dc)](_0x552a79);}}o['FUniver'][_0xfed4ec(0x1e5)](c);