@univerjs-pro/exchange-client 0.10.4 → 0.10.5-nightly.202508290716

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 (50) 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/types/locale/en-US.d.ts +0 -1
  38. package/lib/umd/facade.js +1 -1
  39. package/lib/umd/index.js +2 -2
  40. package/lib/umd/locale/ca-ES.js +1 -1
  41. package/lib/umd/locale/en-US.js +1 -1
  42. package/lib/umd/locale/es-ES.js +1 -1
  43. package/lib/umd/locale/fa-IR.js +1 -1
  44. package/lib/umd/locale/fr-FR.js +1 -1
  45. package/lib/umd/locale/ko-KR.js +1 -1
  46. package/lib/umd/locale/ru-RU.js +1 -1
  47. package/lib/umd/locale/vi-VN.js +1 -1
  48. package/lib/umd/locale/zh-CN.js +1 -1
  49. package/lib/umd/locale/zh-TW.js +1 -1
  50. package/package.json +11 -11
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x501baa=_0x3dfd;function _0x3dfd(_0x476879,_0x21bf63){const _0x44e5a7=_0x44e5();return _0x3dfd=function(_0x3dfd13,_0x1cf734){_0x3dfd13=_0x3dfd13-0x122;let _0x24ac54=_0x44e5a7[_0x3dfd13];return _0x24ac54;},_0x3dfd(_0x476879,_0x21bf63);}(function(_0x1d1537,_0x5275de){const _0x325fe0=_0x3dfd,_0x2699e7=_0x1d1537();while(!![]){try{const _0xc10413=parseInt(_0x325fe0(0x13d))/0x1*(-parseInt(_0x325fe0(0x13f))/0x2)+parseInt(_0x325fe0(0x127))/0x3+parseInt(_0x325fe0(0x137))/0x4+parseInt(_0x325fe0(0x134))/0x5+parseInt(_0x325fe0(0x140))/0x6+-parseInt(_0x325fe0(0x144))/0x7+-parseInt(_0x325fe0(0x123))/0x8;if(_0xc10413===_0x5275de)break;else _0x2699e7['push'](_0x2699e7['shift']());}catch(_0x4b89a9){_0x2699e7['push'](_0x2699e7['shift']());}}}(_0x44e5,0xac820));const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x2fb3b5=>(_0x2fb3b5[_0x2fb3b5[_0x501baa(0x138)]=0x0]=_0x501baa(0x138),_0x2fb3b5[_0x2fb3b5[_0x501baa(0x12b)]=0x1]='UNIVER_DOC',_0x2fb3b5[_0x2fb3b5[_0x501baa(0x12c)]=0x2]=_0x501baa(0x12c),_0x2fb3b5[_0x2fb3b5[_0x501baa(0x128)]=0x3]=_0x501baa(0x128),_0x2fb3b5[_0x2fb3b5[_0x501baa(0x12f)]=0x4]='UNIVER_PROJECT',_0x2fb3b5[_0x2fb3b5[_0x501baa(0x136)]=-0x1]=_0x501baa(0x136),_0x2fb3b5))(i||{});class c extends o[_0x501baa(0x13a)]{async[_0x501baa(0x122)](_0x1e96bc){const _0xfd1d8c=_0x501baa;return this[_0xfd1d8c(0x129)](_0x1e96bc);}async[_0x501baa(0x129)](_0x2c67c7){const _0x1396bd=_0x501baa,_0x59c3be=this[_0x1396bd(0x135)][_0x1396bd(0x13e)](r[_0x1396bd(0x13b)]);if(!_0x59c3be)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x59c3be[_0x1396bd(0x126)](_0x2c67c7,i['UNIVER_SHEET']);}async[_0x501baa(0x125)](_0x5a2f81){const _0x272f7a=_0x501baa;return this[_0x272f7a(0x12a)](_0x5a2f81);}async[_0x501baa(0x12a)](_0x5296ac){const _0xb4390=_0x501baa,_0x4716bc=this[_0xb4390(0x135)][_0xb4390(0x13e)](r[_0xb4390(0x13b)]);if(!_0x4716bc)throw new Error(_0xb4390(0x142));return _0x4716bc[_0xb4390(0x125)](_0x5296ac);}async[_0x501baa(0x12d)](_0x5365ec){const _0x61fa22=_0x501baa;return this[_0x61fa22(0x124)](_0x5365ec);}async[_0x501baa(0x124)](_0x175c6d){const _0x45fa42=_0x501baa,_0x553b93=this['_injector'][_0x45fa42(0x13e)](r[_0x45fa42(0x13b)]);if(!_0x553b93)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x553b93[_0x45fa42(0x12d)](_0x175c6d);}async[_0x501baa(0x12e)](_0x1b4458){const _0xf7369b=_0x501baa;return this[_0xf7369b(0x13c)](_0x1b4458);}async[_0x501baa(0x13c)](_0xfe2137){const _0x20d7b2=_0x501baa,_0x2aba1f=this[_0x20d7b2(0x135)][_0x20d7b2(0x13e)](r[_0x20d7b2(0x13b)]);if(!_0x2aba1f)throw new Error(_0x20d7b2(0x142));return _0x2aba1f['exportXLSXBySnapshot'](_0xfe2137);}async['importDOCXToUnitId'](_0x35df06){const _0x29ca81=_0x501baa;return this[_0x29ca81(0x139)](_0x35df06);}async[_0x501baa(0x139)](_0x48268e){const _0x3a18d8=_0x501baa,_0x3a6281=this['_injector'][_0x3a18d8(0x13e)](r[_0x3a18d8(0x13b)]);if(!_0x3a6281)throw new Error(_0x3a18d8(0x142));return _0x3a6281['importFileToUnitId'](_0x48268e,i[_0x3a18d8(0x12b)]);}async[_0x501baa(0x132)](_0x476da7){return this['importDOCXToSnapshotAsync'](_0x476da7);}async[_0x501baa(0x133)](_0xbf9434){const _0xf3c16c=_0x501baa,_0x44ac4f=this['_injector'][_0xf3c16c(0x13e)](r[_0xf3c16c(0x13b)]);if(!_0x44ac4f)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x44ac4f[_0xf3c16c(0x132)](_0xbf9434);}async['exportDOCXBySnapshotAsync'](_0x295ec5){const _0x2ade99=_0x501baa,_0xa11d20=this['_injector'][_0x2ade99(0x13e)](r[_0x2ade99(0x13b)]);if(!_0xa11d20)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xa11d20[_0x2ade99(0x143)](_0x295ec5);}async[_0x501baa(0x141)](_0x28cc3e){const _0x5aac8c=_0x501baa,_0x523cc3=this[_0x5aac8c(0x135)][_0x5aac8c(0x13e)](r['IExchangeService']);if(!_0x523cc3)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x523cc3[_0x5aac8c(0x131)](_0x28cc3e);}}o[_0x501baa(0x13a)][_0x501baa(0x130)](c);function _0x44e5(){const _0x105c92=['UNIVER_SHEET','exportXLSXByUnitId','exportXLSXBySnapshot','UNIVER_PROJECT','extend','exportDOCXByUnitId','importDOCXToSnapshot','importDOCXToSnapshotAsync','4916745JOmtNB','_injector','UNRECOGNIZED','688044jRhUFA','UNIVER_UNKNOWN','importDOCXToUnitIdAsync','FUniver','IExchangeService','exportXLSXBySnapshotAsync','41ylTeKL','get','32738mCIZjc','1795938VVFGef','exportDOCXByUnitIdAsync','The\x20exchange\x20service\x20is\x20not\x20available','exportDOCXBySnapshot','3891447GnICKg','importXLSXToUnitId','3853944SmVpuF','exportXLSXByUnitIdAsync','importXLSXToSnapshot','importFileToUnitId','2882106qRZyKy','UNIVER_SLIDE','importXLSXToUnitIdAsync','importXLSXToSnapshotAsync','UNIVER_DOC'];_0x44e5=function(){return _0x105c92;};return _0x44e5();}
1
+ 'use strict';const _0x193da9=_0xf0ea;(function(_0x1e3a31,_0x386928){const _0x4cfd4b=_0xf0ea,_0xbd814c=_0x1e3a31();while(!![]){try{const _0x2de97d=-parseInt(_0x4cfd4b(0x1b1))/0x1+-parseInt(_0x4cfd4b(0x1c4))/0x2+parseInt(_0x4cfd4b(0x1c0))/0x3+-parseInt(_0x4cfd4b(0x1a7))/0x4*(parseInt(_0x4cfd4b(0x1b0))/0x5)+parseInt(_0x4cfd4b(0x1a4))/0x6*(parseInt(_0x4cfd4b(0x1a9))/0x7)+parseInt(_0x4cfd4b(0x19f))/0x8+-parseInt(_0x4cfd4b(0x1ac))/0x9*(-parseInt(_0x4cfd4b(0x1a8))/0xa);if(_0x2de97d===_0x386928)break;else _0xbd814c['push'](_0xbd814c['shift']());}catch(_0x574403){_0xbd814c['push'](_0xbd814c['shift']());}}}(_0x55b2,0x97185));function _0x55b2(){const _0x47e090=['importXLSXToSnapshotAsync','The\x20exchange\x20service\x20is\x20not\x20available','importDOCXToUnitId','UNIVER_SLIDE','importDOCXToSnapshot','FUniver','importXLSXToSnapshot','exportDOCXBySnapshot','2994234NIHzFg','extend','exportXLSXBySnapshotAsync','UNIVER_UNKNOWN','906130lRSMQD','UNIVER_SHEET','6730848kvsiSn','exportDOCXByUnitIdAsync','_injector','UNIVER_DOC','exportDOCXByUnitId','460638BMOkdb','importFileToUnitId','importDOCXToSnapshotAsync','6764ttZZVl','49160uSzESD','84cDNQDi','IExchangeService','importXLSXToUnitId','261tihtKj','get','importXLSXToUnitIdAsync','importDOCXToUnitIdAsync','2485ENjTKO','990897tVaqQH','exportDOCXBySnapshotAsync','exportXLSXBySnapshot','exportXLSXByUnitIdAsync','UNIVER_PROJECT','exportXLSXByUnitId','UNRECOGNIZED'];_0x55b2=function(){return _0x47e090;};return _0x55b2();}function _0xf0ea(_0x7a5403,_0x487fe8){const _0x55b207=_0x55b2();return _0xf0ea=function(_0xf0ea04,_0x5bbb19){_0xf0ea04=_0xf0ea04-0x19f;let _0x1624c0=_0x55b207[_0xf0ea04];return _0x1624c0;},_0xf0ea(_0x7a5403,_0x487fe8);}const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x1c22c7=>(_0x1c22c7[_0x1c22c7[_0x193da9(0x1c3)]=0x0]=_0x193da9(0x1c3),_0x1c22c7[_0x1c22c7[_0x193da9(0x1a2)]=0x1]=_0x193da9(0x1a2),_0x1c22c7[_0x1c22c7[_0x193da9(0x1c5)]=0x2]=_0x193da9(0x1c5),_0x1c22c7[_0x1c22c7[_0x193da9(0x1bb)]=0x3]=_0x193da9(0x1bb),_0x1c22c7[_0x1c22c7[_0x193da9(0x1b5)]=0x4]=_0x193da9(0x1b5),_0x1c22c7[_0x1c22c7['UNRECOGNIZED']=-0x1]=_0x193da9(0x1b7),_0x1c22c7))(i||{});class c extends o[_0x193da9(0x1bd)]{async[_0x193da9(0x1ab)](_0x15234f){const _0xb6b81d=_0x193da9;return this[_0xb6b81d(0x1ae)](_0x15234f);}async[_0x193da9(0x1ae)](_0x35ff7a){const _0x47624a=_0x193da9,_0x10919=this[_0x47624a(0x1a1)][_0x47624a(0x1ad)](r['IExchangeService']);if(!_0x10919)throw new Error(_0x47624a(0x1b9));return _0x10919[_0x47624a(0x1a5)](_0x35ff7a,i[_0x47624a(0x1c5)]);}async['importXLSXToSnapshot'](_0x2d53ea){return this['importXLSXToSnapshotAsync'](_0x2d53ea);}async[_0x193da9(0x1b8)](_0x2bfa46){const _0x450fa2=_0x193da9,_0x1ce198=this[_0x450fa2(0x1a1)][_0x450fa2(0x1ad)](r[_0x450fa2(0x1aa)]);if(!_0x1ce198)throw new Error(_0x450fa2(0x1b9));return _0x1ce198[_0x450fa2(0x1be)](_0x2bfa46);}async[_0x193da9(0x1b6)](_0x1b8179){const _0x55bd92=_0x193da9;return this[_0x55bd92(0x1b4)](_0x1b8179);}async[_0x193da9(0x1b4)](_0x14b9ec){const _0x46a00e=_0x193da9,_0x28e831=this[_0x46a00e(0x1a1)][_0x46a00e(0x1ad)](r[_0x46a00e(0x1aa)]);if(!_0x28e831)throw new Error(_0x46a00e(0x1b9));return _0x28e831['exportXLSXByUnitId'](_0x14b9ec);}async[_0x193da9(0x1b3)](_0x1ff7d9){const _0x533862=_0x193da9;return this[_0x533862(0x1c2)](_0x1ff7d9);}async[_0x193da9(0x1c2)](_0x357826){const _0x1328d3=_0x193da9,_0x3e0785=this[_0x1328d3(0x1a1)][_0x1328d3(0x1ad)](r[_0x1328d3(0x1aa)]);if(!_0x3e0785)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3e0785['exportXLSXBySnapshot'](_0x357826);}async[_0x193da9(0x1ba)](_0x3bc957){return this['importDOCXToUnitIdAsync'](_0x3bc957);}async[_0x193da9(0x1af)](_0x27495f){const _0x4e3db1=_0x193da9,_0x429b9c=this[_0x4e3db1(0x1a1)][_0x4e3db1(0x1ad)](r[_0x4e3db1(0x1aa)]);if(!_0x429b9c)throw new Error(_0x4e3db1(0x1b9));return _0x429b9c[_0x4e3db1(0x1a5)](_0x27495f,i[_0x4e3db1(0x1a2)]);}async[_0x193da9(0x1bc)](_0x581b1c){const _0x443b68=_0x193da9;return this[_0x443b68(0x1a6)](_0x581b1c);}async[_0x193da9(0x1a6)](_0x1463d8){const _0x283af0=_0x193da9,_0x4988f4=this[_0x283af0(0x1a1)][_0x283af0(0x1ad)](r[_0x283af0(0x1aa)]);if(!_0x4988f4)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4988f4[_0x283af0(0x1bc)](_0x1463d8);}async[_0x193da9(0x1b2)](_0x2ee4a9){const _0x2f99cf=_0x193da9,_0x597833=this[_0x2f99cf(0x1a1)][_0x2f99cf(0x1ad)](r['IExchangeService']);if(!_0x597833)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x597833[_0x2f99cf(0x1bf)](_0x2ee4a9);}async[_0x193da9(0x1a0)](_0xe3aa89){const _0x5d0b5b=_0x193da9,_0x206943=this[_0x5d0b5b(0x1a1)][_0x5d0b5b(0x1ad)](r[_0x5d0b5b(0x1aa)]);if(!_0x206943)throw new Error(_0x5d0b5b(0x1b9));return _0x206943[_0x5d0b5b(0x1a3)](_0xe3aa89);}}o[_0x193da9(0x1bd)][_0x193da9(0x1c1)](c);