@univerjs-pro/exchange-client 0.15.2 → 0.15.3

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 (53) 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/vi-VN.js +1 -1
  12. package/lib/cjs/locale/zh-CN.js +1 -1
  13. package/lib/cjs/locale/zh-TW.js +1 -1
  14. package/lib/es/facade.js +1 -1
  15. package/lib/es/index.js +1 -1
  16. package/lib/es/locale/ca-ES.js +1 -1
  17. package/lib/es/locale/en-US.js +1 -1
  18. package/lib/es/locale/es-ES.js +1 -1
  19. package/lib/es/locale/fa-IR.js +1 -1
  20. package/lib/es/locale/fr-FR.js +1 -1
  21. package/lib/es/locale/ja-JP.js +1 -1
  22. package/lib/es/locale/ko-KR.js +1 -1
  23. package/lib/es/locale/ru-RU.js +1 -1
  24. package/lib/es/locale/vi-VN.js +1 -1
  25. package/lib/es/locale/zh-CN.js +1 -1
  26. package/lib/es/locale/zh-TW.js +1 -1
  27. package/lib/facade.js +1 -1
  28. package/lib/index.js +1 -1
  29. package/lib/locale/ca-ES.js +1 -1
  30. package/lib/locale/en-US.js +1 -1
  31. package/lib/locale/es-ES.js +1 -1
  32. package/lib/locale/fa-IR.js +1 -1
  33. package/lib/locale/fr-FR.js +1 -1
  34. package/lib/locale/ja-JP.js +1 -1
  35. package/lib/locale/ko-KR.js +1 -1
  36. package/lib/locale/ru-RU.js +1 -1
  37. package/lib/locale/vi-VN.js +1 -1
  38. package/lib/locale/zh-CN.js +1 -1
  39. package/lib/locale/zh-TW.js +1 -1
  40. package/lib/umd/facade.js +1 -1
  41. package/lib/umd/index.js +1 -1
  42. package/lib/umd/locale/ca-ES.js +1 -1
  43. package/lib/umd/locale/en-US.js +1 -1
  44. package/lib/umd/locale/es-ES.js +1 -1
  45. package/lib/umd/locale/fa-IR.js +1 -1
  46. package/lib/umd/locale/fr-FR.js +1 -1
  47. package/lib/umd/locale/ja-JP.js +1 -1
  48. package/lib/umd/locale/ko-KR.js +1 -1
  49. package/lib/umd/locale/ru-RU.js +1 -1
  50. package/lib/umd/locale/vi-VN.js +1 -1
  51. package/lib/umd/locale/zh-CN.js +1 -1
  52. package/lib/umd/locale/zh-TW.js +1 -1
  53. package/package.json +9 -9
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function _0x21b8(_0xd32d8d,_0x1426cd){_0xd32d8d=_0xd32d8d-0xf3;const _0x5cc3ba=_0x5cc3();let _0x21b8ca=_0x5cc3ba[_0xd32d8d];return _0x21b8ca;}const _0x283cd4=_0x21b8;(function(_0x1ca806,_0x21a6dc){const _0x49f28d=_0x21b8,_0x3166cd=_0x1ca806();while(!![]){try{const _0x45fe0c=parseInt(_0x49f28d(0xf8))/0x1+parseInt(_0x49f28d(0x103))/0x2+-parseInt(_0x49f28d(0x10e))/0x3*(parseInt(_0x49f28d(0xf4))/0x4)+-parseInt(_0x49f28d(0x112))/0x5+parseInt(_0x49f28d(0xf9))/0x6*(parseInt(_0x49f28d(0xfe))/0x7)+parseInt(_0x49f28d(0x101))/0x8*(-parseInt(_0x49f28d(0x109))/0x9)+parseInt(_0x49f28d(0x113))/0xa;if(_0x45fe0c===_0x21a6dc)break;else _0x3166cd['push'](_0x3166cd['shift']());}catch(_0x4bd4dd){_0x3166cd['push'](_0x3166cd['shift']());}}}(_0x5cc3,0x316a8));function _0x5cc3(){const _0x135c74=['importXLSXToUnitIdAsync','48968KrHqHx','importXLSXToSnapshot','FUniver','exportDOCXByUnitIdAsync','UNIVER_UNKNOWN','UNIVER_SLIDE','2133pNCxqG','exportXLSXBySnapshot','UNIVER_SHEET','UNRECOGNIZED','_injector','9gNtYfz','The\x20exchange\x20service\x20is\x20not\x20available','importDOCXToSnapshot','UNIVER_DOC','1721735alwBnf','5580140tAYBVJ','exportXLSXByUnitId','302768CSpwNV','get','importDOCXToUnitIdAsync','importDOCXToUnitId','275642ImhYRS','86418QVLjQu','IExchangeService','exportDOCXBySnapshot','importXLSXToSnapshotAsync','importFileToUnitId','84BTslbe','exportDOCXByUnitId','exportXLSXByUnitIdAsync','8680xqTgvX'];_0x5cc3=function(){return _0x135c74;};return _0x5cc3();}const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x20646d=>(_0x20646d[_0x20646d['UNIVER_UNKNOWN']=0x0]=_0x283cd4(0x107),_0x20646d[_0x20646d[_0x283cd4(0x111)]=0x1]=_0x283cd4(0x111),_0x20646d[_0x20646d[_0x283cd4(0x10b)]=0x2]=_0x283cd4(0x10b),_0x20646d[_0x20646d[_0x283cd4(0x108)]=0x3]='UNIVER_SLIDE',_0x20646d[_0x20646d['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0x20646d[_0x20646d[_0x283cd4(0x10c)]=-0x1]=_0x283cd4(0x10c),_0x20646d))(i||{});class c extends o[_0x283cd4(0x105)]{async['importXLSXToUnitId'](_0x1c056f){const _0xb0aac7=_0x283cd4;return this[_0xb0aac7(0x102)](_0x1c056f);}async[_0x283cd4(0x102)](_0x46f57f){const _0x234a5b=_0x283cd4,_0x59487d=this[_0x234a5b(0x10d)][_0x234a5b(0xf5)](r[_0x234a5b(0xfa)]);if(!_0x59487d)throw new Error(_0x234a5b(0x10f));return _0x59487d[_0x234a5b(0xfd)](_0x46f57f,i[_0x234a5b(0x10b)]);}async['importXLSXToSnapshot'](_0x1ea248){const _0x32ba0e=_0x283cd4;return this[_0x32ba0e(0xfc)](_0x1ea248);}async['importXLSXToSnapshotAsync'](_0x297099){const _0x303a75=_0x283cd4,_0x105a72=this[_0x303a75(0x10d)]['get'](r[_0x303a75(0xfa)]);if(!_0x105a72)throw new Error(_0x303a75(0x10f));return _0x105a72[_0x303a75(0x104)](_0x297099);}async[_0x283cd4(0xf3)](_0x2a41b9){const _0x42f3ec=_0x283cd4;return this[_0x42f3ec(0x100)](_0x2a41b9);}async[_0x283cd4(0x100)](_0x483bcb){const _0x2bcb58=_0x283cd4,_0x404d77=this[_0x2bcb58(0x10d)][_0x2bcb58(0xf5)](r[_0x2bcb58(0xfa)]);if(!_0x404d77)throw new Error(_0x2bcb58(0x10f));return _0x404d77[_0x2bcb58(0xf3)](_0x483bcb);}async[_0x283cd4(0x10a)](_0x55f099){return this['exportXLSXBySnapshotAsync'](_0x55f099);}async['exportXLSXBySnapshotAsync'](_0x50eb85){const _0x212903=_0x283cd4,_0x26a009=this[_0x212903(0x10d)][_0x212903(0xf5)](r[_0x212903(0xfa)]);if(!_0x26a009)throw new Error(_0x212903(0x10f));return _0x26a009['exportXLSXBySnapshot'](_0x50eb85);}async[_0x283cd4(0xf7)](_0x51d783){return this['importDOCXToUnitIdAsync'](_0x51d783);}async[_0x283cd4(0xf6)](_0x3bc186){const _0x4005e1=_0x283cd4,_0x2f330e=this[_0x4005e1(0x10d)][_0x4005e1(0xf5)](r['IExchangeService']);if(!_0x2f330e)throw new Error(_0x4005e1(0x10f));return _0x2f330e[_0x4005e1(0xfd)](_0x3bc186,i[_0x4005e1(0x111)]);}async[_0x283cd4(0x110)](_0x4d8d26){return this['importDOCXToSnapshotAsync'](_0x4d8d26);}async['importDOCXToSnapshotAsync'](_0x38c1cf){const _0x2665dc=_0x283cd4,_0x3799a9=this[_0x2665dc(0x10d)][_0x2665dc(0xf5)](r[_0x2665dc(0xfa)]);if(!_0x3799a9)throw new Error(_0x2665dc(0x10f));return _0x3799a9[_0x2665dc(0x110)](_0x38c1cf);}async['exportDOCXBySnapshotAsync'](_0x172373){const _0x247f8c=_0x283cd4,_0x5390ca=this[_0x247f8c(0x10d)][_0x247f8c(0xf5)](r['IExchangeService']);if(!_0x5390ca)throw new Error(_0x247f8c(0x10f));return _0x5390ca[_0x247f8c(0xfb)](_0x172373);}async[_0x283cd4(0x106)](_0x2f22d4){const _0x36acf5=_0x283cd4,_0x2d361a=this[_0x36acf5(0x10d)]['get'](r[_0x36acf5(0xfa)]);if(!_0x2d361a)throw new Error(_0x36acf5(0x10f));return _0x2d361a[_0x36acf5(0xff)](_0x2f22d4);}}o[_0x283cd4(0x105)]['extend'](c);
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);