@univerjs-pro/exchange-client 0.15.1 → 0.15.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 (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 +8 -8
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function _0x43af(){const _0x393ce6=['exportDOCXBySnapshotAsync','importDOCXToSnapshot','exportXLSXByUnitIdAsync','exportDOCXByUnitIdAsync','exportXLSXBySnapshot','UNIVER_DOC','exportXLSXByUnitId','importXLSXToSnapshot','importFileToUnitId','UNIVER_SHEET','19488375EyJldo','importXLSXToUnitId','61233aThFzS','importDOCXToUnitIdAsync','UNIVER_SLIDE','67278Peyzhj','importDOCXToSnapshotAsync','extend','exportDOCXByUnitId','importXLSXToSnapshotAsync','92tMVnrx','446312qMeUGL','exportDOCXBySnapshot','525NjiMrR','FUniver','3026016XjHHDJ','UNRECOGNIZED','31662eAlcjp','_injector','597664PYXoLX','IExchangeService','exportXLSXBySnapshotAsync','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_PROJECT','get','importDOCXToUnitId'];_0x43af=function(){return _0x393ce6;};return _0x43af();}const _0x59756d=_0x1643;(function(_0x2335c4,_0x1caf3d){const _0x1074ec=_0x1643,_0x422b6a=_0x2335c4();while(!![]){try{const _0x367307=-parseInt(_0x1074ec(0x114))/0x1+-parseInt(_0x1074ec(0x116))/0x2+-parseInt(_0x1074ec(0x129))/0x3*(-parseInt(_0x1074ec(0x131))/0x4)+parseInt(_0x1074ec(0x110))/0x5*(-parseInt(_0x1074ec(0x12c))/0x6)+-parseInt(_0x1074ec(0x112))/0x7+-parseInt(_0x1074ec(0x132))/0x8+parseInt(_0x1074ec(0x127))/0x9;if(_0x367307===_0x1caf3d)break;else _0x422b6a['push'](_0x422b6a['shift']());}catch(_0xb63752){_0x422b6a['push'](_0x422b6a['shift']());}}}(_0x43af,0x9bfac));const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x335de5=>(_0x335de5[_0x335de5['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x335de5[_0x335de5['UNIVER_DOC']=0x1]=_0x59756d(0x122),_0x335de5[_0x335de5[_0x59756d(0x126)]=0x2]=_0x59756d(0x126),_0x335de5[_0x335de5[_0x59756d(0x12b)]=0x3]=_0x59756d(0x12b),_0x335de5[_0x335de5[_0x59756d(0x11a)]=0x4]='UNIVER_PROJECT',_0x335de5[_0x335de5['UNRECOGNIZED']=-0x1]=_0x59756d(0x113),_0x335de5))(i||{});class c extends o[_0x59756d(0x111)]{async[_0x59756d(0x128)](_0x1ff1ff){return this['importXLSXToUnitIdAsync'](_0x1ff1ff);}async['importXLSXToUnitIdAsync'](_0x2da9dd){const _0x2bcda0=_0x59756d,_0x24a7a9=this[_0x2bcda0(0x115)][_0x2bcda0(0x11b)](r[_0x2bcda0(0x117)]);if(!_0x24a7a9)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x24a7a9[_0x2bcda0(0x125)](_0x2da9dd,i[_0x2bcda0(0x126)]);}async[_0x59756d(0x124)](_0x40de4e){const _0x2409fa=_0x59756d;return this[_0x2409fa(0x130)](_0x40de4e);}async[_0x59756d(0x130)](_0x373bc9){const _0x124170=_0x59756d,_0x20f1c5=this[_0x124170(0x115)]['get'](r[_0x124170(0x117)]);if(!_0x20f1c5)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x20f1c5[_0x124170(0x124)](_0x373bc9);}async[_0x59756d(0x123)](_0xaa8e2b){const _0x32da15=_0x59756d;return this[_0x32da15(0x11f)](_0xaa8e2b);}async[_0x59756d(0x11f)](_0x29c4c6){const _0x4157a3=_0x59756d,_0xb30b2=this[_0x4157a3(0x115)]['get'](r[_0x4157a3(0x117)]);if(!_0xb30b2)throw new Error(_0x4157a3(0x119));return _0xb30b2[_0x4157a3(0x123)](_0x29c4c6);}async[_0x59756d(0x121)](_0x137e9f){return this['exportXLSXBySnapshotAsync'](_0x137e9f);}async[_0x59756d(0x118)](_0x1e6a8b){const _0x403c6f=_0x59756d,_0xeba6b9=this[_0x403c6f(0x115)][_0x403c6f(0x11b)](r[_0x403c6f(0x117)]);if(!_0xeba6b9)throw new Error(_0x403c6f(0x119));return _0xeba6b9['exportXLSXBySnapshot'](_0x1e6a8b);}async[_0x59756d(0x11c)](_0x10645d){const _0x2e56f9=_0x59756d;return this[_0x2e56f9(0x12a)](_0x10645d);}async['importDOCXToUnitIdAsync'](_0x471ce0){const _0x32a689=_0x59756d,_0x206a1a=this[_0x32a689(0x115)]['get'](r[_0x32a689(0x117)]);if(!_0x206a1a)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x206a1a[_0x32a689(0x125)](_0x471ce0,i[_0x32a689(0x122)]);}async[_0x59756d(0x11e)](_0x3f35db){const _0x11acc4=_0x59756d;return this[_0x11acc4(0x12d)](_0x3f35db);}async[_0x59756d(0x12d)](_0x31942d){const _0x3beff1=_0x59756d,_0x3f77d8=this['_injector'][_0x3beff1(0x11b)](r['IExchangeService']);if(!_0x3f77d8)throw new Error(_0x3beff1(0x119));return _0x3f77d8[_0x3beff1(0x11e)](_0x31942d);}async[_0x59756d(0x11d)](_0xc96e8c){const _0x3aefc1=_0x59756d,_0x771570=this[_0x3aefc1(0x115)][_0x3aefc1(0x11b)](r[_0x3aefc1(0x117)]);if(!_0x771570)throw new Error(_0x3aefc1(0x119));return _0x771570[_0x3aefc1(0x133)](_0xc96e8c);}async[_0x59756d(0x120)](_0x356355){const _0xea2889=_0x59756d,_0x4785b6=this[_0xea2889(0x115)]['get'](r[_0xea2889(0x117)]);if(!_0x4785b6)throw new Error(_0xea2889(0x119));return _0x4785b6[_0xea2889(0x12f)](_0x356355);}}function _0x1643(_0x6d44ab,_0x4ee02c){_0x6d44ab=_0x6d44ab-0x110;const _0x43af2a=_0x43af();let _0x16431c=_0x43af2a[_0x6d44ab];return _0x16431c;}o[_0x59756d(0x111)][_0x59756d(0x12e)](c);
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);