@univerjs-pro/exchange-client 0.10.2 → 0.10.3-experimental.20250812-b4b6f1a

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/index.d.ts +4 -4
  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 +9 -9
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
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);
1
+ 'use strict';const _0x1ce027=_0x11a2;(function(_0x428f2c,_0x557165){const _0xff5999=_0x11a2,_0x90d7d4=_0x428f2c();while(!![]){try{const _0xf8870a=parseInt(_0xff5999(0xd8))/0x1+-parseInt(_0xff5999(0xc9))/0x2+-parseInt(_0xff5999(0xcd))/0x3*(parseInt(_0xff5999(0xd1))/0x4)+parseInt(_0xff5999(0xd2))/0x5*(parseInt(_0xff5999(0xe2))/0x6)+parseInt(_0xff5999(0xd3))/0x7*(-parseInt(_0xff5999(0xd9))/0x8)+parseInt(_0xff5999(0xd7))/0x9*(-parseInt(_0xff5999(0xe3))/0xa)+parseInt(_0xff5999(0xe5))/0xb;if(_0xf8870a===_0x557165)break;else _0x90d7d4['push'](_0x90d7d4['shift']());}catch(_0x13e305){_0x90d7d4['push'](_0x90d7d4['shift']());}}}(_0x84f7,0x90314));const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');function _0x84f7(){const _0x36a1d9=['exportDOCXByUnitIdAsync','exportXLSXBySnapshot','importFileToUnitId','UNIVER_SHEET','exportXLSXBySnapshotAsync','901770wycOOM','UNIVER_UNKNOWN','importXLSXToUnitId','_injector','3teSbpp','importDOCXToUnitId','UNIVER_DOC','importDOCXToUnitIdAsync','2730652bbpYJW','50ofXMag','7eJbDBw','importXLSXToSnapshotAsync','get','importDOCXToSnapshot','9EwlRYw','1140294uvkUnn','1064080iwNHay','importDOCXToSnapshotAsync','UNIVER_SLIDE','UNIVER_PROJECT','UNRECOGNIZED','importXLSXToSnapshot','FUniver','importXLSXToUnitIdAsync','exportXLSXByUnitId','313614iDBkiH','10273190OPslSG','The\x20exchange\x20service\x20is\x20not\x20available','13436555VLHxco','exportXLSXByUnitIdAsync','exportDOCXBySnapshot','IExchangeService'];_0x84f7=function(){return _0x36a1d9;};return _0x84f7();}var i=(_0x4c9482=>(_0x4c9482[_0x4c9482[_0x1ce027(0xca)]=0x0]=_0x1ce027(0xca),_0x4c9482[_0x4c9482[_0x1ce027(0xcf)]=0x1]=_0x1ce027(0xcf),_0x4c9482[_0x4c9482[_0x1ce027(0xec)]=0x2]=_0x1ce027(0xec),_0x4c9482[_0x4c9482['UNIVER_SLIDE']=0x3]=_0x1ce027(0xdb),_0x4c9482[_0x4c9482[_0x1ce027(0xdc)]=0x4]='UNIVER_PROJECT',_0x4c9482[_0x4c9482[_0x1ce027(0xdd)]=-0x1]='UNRECOGNIZED',_0x4c9482))(i||{});class c extends o[_0x1ce027(0xdf)]{async[_0x1ce027(0xcb)](_0x2b9775){const _0x1dd4b3=_0x1ce027;return this[_0x1dd4b3(0xe0)](_0x2b9775);}async['importXLSXToUnitIdAsync'](_0x3828e9){const _0x1569ff=_0x1ce027,_0xa61f0a=this['_injector'][_0x1569ff(0xd5)](r[_0x1569ff(0xe8)]);if(!_0xa61f0a)throw new Error(_0x1569ff(0xe4));return _0xa61f0a[_0x1569ff(0xeb)](_0x3828e9,i[_0x1569ff(0xec)]);}async[_0x1ce027(0xde)](_0x38b580){const _0x51f38b=_0x1ce027;return this[_0x51f38b(0xd4)](_0x38b580);}async[_0x1ce027(0xd4)](_0x4c001a){const _0xf59960=_0x1ce027,_0x3e28b3=this[_0xf59960(0xcc)][_0xf59960(0xd5)](r['IExchangeService']);if(!_0x3e28b3)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3e28b3[_0xf59960(0xde)](_0x4c001a);}async['exportXLSXByUnitId'](_0x2a876d){const _0x634cfa=_0x1ce027;return this[_0x634cfa(0xe6)](_0x2a876d);}async[_0x1ce027(0xe6)](_0x49e18a){const _0x4aa22b=_0x1ce027,_0x5bc528=this[_0x4aa22b(0xcc)][_0x4aa22b(0xd5)](r[_0x4aa22b(0xe8)]);if(!_0x5bc528)throw new Error(_0x4aa22b(0xe4));return _0x5bc528[_0x4aa22b(0xe1)](_0x49e18a);}async[_0x1ce027(0xea)](_0x251e2c){return this['exportXLSXBySnapshotAsync'](_0x251e2c);}async[_0x1ce027(0xed)](_0x53b7f6){const _0x94bd2f=_0x1ce027,_0x1d21ab=this[_0x94bd2f(0xcc)][_0x94bd2f(0xd5)](r[_0x94bd2f(0xe8)]);if(!_0x1d21ab)throw new Error(_0x94bd2f(0xe4));return _0x1d21ab[_0x94bd2f(0xea)](_0x53b7f6);}async[_0x1ce027(0xce)](_0x302968){const _0x3532ed=_0x1ce027;return this[_0x3532ed(0xd0)](_0x302968);}async[_0x1ce027(0xd0)](_0x2cd8c4){const _0x329e60=_0x1ce027,_0x172447=this[_0x329e60(0xcc)][_0x329e60(0xd5)](r[_0x329e60(0xe8)]);if(!_0x172447)throw new Error(_0x329e60(0xe4));return _0x172447[_0x329e60(0xeb)](_0x2cd8c4,i[_0x329e60(0xcf)]);}async[_0x1ce027(0xd6)](_0xb9d5a7){const _0x23e190=_0x1ce027;return this[_0x23e190(0xda)](_0xb9d5a7);}async['importDOCXToSnapshotAsync'](_0x279b5f){const _0x52c282=_0x1ce027,_0x1a71f5=this[_0x52c282(0xcc)][_0x52c282(0xd5)](r[_0x52c282(0xe8)]);if(!_0x1a71f5)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1a71f5[_0x52c282(0xd6)](_0x279b5f);}async['exportDOCXBySnapshotAsync'](_0x532a0a){const _0x4d9f31=_0x1ce027,_0x861cf4=this[_0x4d9f31(0xcc)][_0x4d9f31(0xd5)](r[_0x4d9f31(0xe8)]);if(!_0x861cf4)throw new Error(_0x4d9f31(0xe4));return _0x861cf4[_0x4d9f31(0xe7)](_0x532a0a);}async[_0x1ce027(0xe9)](_0x1bec9f){const _0x597552=_0x1ce027,_0x51233a=this[_0x597552(0xcc)][_0x597552(0xd5)](r[_0x597552(0xe8)]);if(!_0x51233a)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x51233a['exportDOCXByUnitId'](_0x1bec9f);}}function _0x11a2(_0xccd4cb,_0x31450f){const _0x84f78f=_0x84f7();return _0x11a2=function(_0x11a2ac,_0x5f22ee){_0x11a2ac=_0x11a2ac-0xc9;let _0x431d3a=_0x84f78f[_0x11a2ac];return _0x431d3a;},_0x11a2(_0xccd4cb,_0x31450f);}o[_0x1ce027(0xdf)]['extend'](c);