@univerjs-pro/exchange-client 0.9.3 → 0.9.4-nightly.202507290713

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 (51) 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 +1 -3
  38. package/lib/types/services/request.service.d.ts +0 -10
  39. package/lib/umd/facade.js +1 -1
  40. package/lib/umd/index.js +2 -2
  41. package/lib/umd/locale/ca-ES.js +1 -1
  42. package/lib/umd/locale/en-US.js +1 -1
  43. package/lib/umd/locale/es-ES.js +1 -1
  44. package/lib/umd/locale/fa-IR.js +1 -1
  45. package/lib/umd/locale/fr-FR.js +1 -1
  46. package/lib/umd/locale/ko-KR.js +1 -1
  47. package/lib/umd/locale/ru-RU.js +1 -1
  48. package/lib/umd/locale/vi-VN.js +1 -1
  49. package/lib/umd/locale/zh-CN.js +1 -1
  50. package/lib/umd/locale/zh-TW.js +1 -1
  51. package/package.json +9 -9
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x505c43=_0x3cfa;(function(_0x341c80,_0x596020){const _0x24177a=_0x3cfa,_0x1c01d9=_0x341c80();while(!![]){try{const _0x402d7b=-parseInt(_0x24177a(0x1d0))/0x1+parseInt(_0x24177a(0x1b9))/0x2+-parseInt(_0x24177a(0x1d9))/0x3*(parseInt(_0x24177a(0x1ce))/0x4)+parseInt(_0x24177a(0x1c8))/0x5*(parseInt(_0x24177a(0x1b7))/0x6)+-parseInt(_0x24177a(0x1da))/0x7+parseInt(_0x24177a(0x1d5))/0x8*(parseInt(_0x24177a(0x1d2))/0x9)+parseInt(_0x24177a(0x1d3))/0xa;if(_0x402d7b===_0x596020)break;else _0x1c01d9['push'](_0x1c01d9['shift']());}catch(_0x248d94){_0x1c01d9['push'](_0x1c01d9['shift']());}}}(_0x2adb,0xf39bd));function _0x2adb(){const _0x360707=['4ZQOyCx','The\x20exchange\x20service\x20is\x20not\x20available','578778OoiJxK','UNIVER_SLIDE','2919438DWqbie','3213430yYYYjg','exportXLSXByUnitId','8Usypqu','importDOCXToSnapshot','FUniver','importXLSXToSnapshot','2880357vKpYxk','7584710hhLBgZ','UNIVER_PROJECT','exportXLSXBySnapshotAsync','7034586fEeHeF','importXLSXToUnitIdAsync','3604184IAZkjc','exportDOCXBySnapshot','exportDOCXByUnitId','UNIVER_SHEET','importXLSXToUnitId','importFileToUnitId','importDOCXToSnapshotAsync','UNIVER_DOC','importDOCXToUnitIdAsync','UNRECOGNIZED','importDOCXToUnitId','UNIVER_UNKNOWN','importXLSXToSnapshotAsync','_injector','exportXLSXBySnapshot','5tEAAKH','exportDOCXByUnitIdAsync','exportXLSXByUnitIdAsync','exportDOCXBySnapshotAsync','IExchangeService','get'];_0x2adb=function(){return _0x360707;};return _0x2adb();}const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x23479a=>(_0x23479a[_0x23479a[_0x505c43(0x1c4)]=0x0]='UNIVER_UNKNOWN',_0x23479a[_0x23479a[_0x505c43(0x1c0)]=0x1]=_0x505c43(0x1c0),_0x23479a[_0x23479a[_0x505c43(0x1bc)]=0x2]=_0x505c43(0x1bc),_0x23479a[_0x23479a[_0x505c43(0x1d1)]=0x3]=_0x505c43(0x1d1),_0x23479a[_0x23479a[_0x505c43(0x1db)]=0x4]=_0x505c43(0x1db),_0x23479a[_0x23479a[_0x505c43(0x1c2)]=-0x1]=_0x505c43(0x1c2),_0x23479a))(i||{});class c extends o[_0x505c43(0x1d7)]{async[_0x505c43(0x1bd)](_0x3abd98){const _0x3bf9c0=_0x505c43;return this[_0x3bf9c0(0x1b8)](_0x3abd98);}async[_0x505c43(0x1b8)](_0x1c16d5){const _0x5b7dc1=_0x505c43,_0x2ec2e1=this[_0x5b7dc1(0x1c6)][_0x5b7dc1(0x1cd)](r[_0x5b7dc1(0x1cc)]);if(!_0x2ec2e1)throw new Error(_0x5b7dc1(0x1cf));return _0x2ec2e1[_0x5b7dc1(0x1be)](_0x1c16d5,i['UNIVER_SHEET']);}async[_0x505c43(0x1d8)](_0x5c0f9f){const _0x1e14f3=_0x505c43;return this[_0x1e14f3(0x1c5)](_0x5c0f9f);}async[_0x505c43(0x1c5)](_0x33f833){const _0x27f9b3=_0x505c43,_0x359968=this[_0x27f9b3(0x1c6)]['get'](r[_0x27f9b3(0x1cc)]);if(!_0x359968)throw new Error(_0x27f9b3(0x1cf));return _0x359968[_0x27f9b3(0x1d8)](_0x33f833);}async['exportXLSXByUnitId'](_0x9c4d6b){return this['exportXLSXByUnitIdAsync'](_0x9c4d6b);}async[_0x505c43(0x1ca)](_0x5e100b){const _0x507922=_0x505c43,_0x19ec33=this[_0x507922(0x1c6)]['get'](r[_0x507922(0x1cc)]);if(!_0x19ec33)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x19ec33[_0x507922(0x1d4)](_0x5e100b);}async[_0x505c43(0x1c7)](_0x4be3fe){const _0x3b2c13=_0x505c43;return this[_0x3b2c13(0x1dc)](_0x4be3fe);}async[_0x505c43(0x1dc)](_0x45b895){const _0xe483a3=_0x505c43,_0x17b199=this[_0xe483a3(0x1c6)][_0xe483a3(0x1cd)](r[_0xe483a3(0x1cc)]);if(!_0x17b199)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x17b199['exportXLSXBySnapshot'](_0x45b895);}async[_0x505c43(0x1c3)](_0x5cab8a){const _0x2570e4=_0x505c43;return this[_0x2570e4(0x1c1)](_0x5cab8a);}async[_0x505c43(0x1c1)](_0x58b045){const _0x1582bd=_0x505c43,_0x24e22c=this[_0x1582bd(0x1c6)][_0x1582bd(0x1cd)](r['IExchangeService']);if(!_0x24e22c)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x24e22c['importFileToUnitId'](_0x58b045,i['UNIVER_DOC']);}async[_0x505c43(0x1d6)](_0x3ea54a){return this['importDOCXToSnapshotAsync'](_0x3ea54a);}async[_0x505c43(0x1bf)](_0x598df7){const _0x4330ef=_0x505c43,_0x1c2065=this['_injector'][_0x4330ef(0x1cd)](r[_0x4330ef(0x1cc)]);if(!_0x1c2065)throw new Error(_0x4330ef(0x1cf));return _0x1c2065['importDOCXToSnapshot'](_0x598df7);}async[_0x505c43(0x1cb)](_0x32a5d2){const _0x50d26e=_0x505c43,_0x277dbe=this[_0x50d26e(0x1c6)][_0x50d26e(0x1cd)](r[_0x50d26e(0x1cc)]);if(!_0x277dbe)throw new Error(_0x50d26e(0x1cf));return _0x277dbe[_0x50d26e(0x1ba)](_0x32a5d2);}async[_0x505c43(0x1c9)](_0x380860){const _0x205985=_0x505c43,_0x3e8e09=this['_injector'][_0x205985(0x1cd)](r['IExchangeService']);if(!_0x3e8e09)throw new Error(_0x205985(0x1cf));return _0x3e8e09[_0x205985(0x1bb)](_0x380860);}}function _0x3cfa(_0x528397,_0x3698ff){const _0x2adb86=_0x2adb();return _0x3cfa=function(_0x3cfa4e,_0x190f54){_0x3cfa4e=_0x3cfa4e-0x1b7;let _0x1a4b93=_0x2adb86[_0x3cfa4e];return _0x1a4b93;},_0x3cfa(_0x528397,_0x3698ff);}o[_0x505c43(0x1d7)]['extend'](c);
1
+ 'use strict';function _0x39fe(_0x58034d,_0x3944a2){const _0x52bcda=_0x52bc();return _0x39fe=function(_0x39fe13,_0x3365ce){_0x39fe13=_0x39fe13-0x17f;let _0x257df7=_0x52bcda[_0x39fe13];return _0x257df7;},_0x39fe(_0x58034d,_0x3944a2);}const _0x1a0479=_0x39fe;function _0x52bc(){const _0x5481ac=['1978221lcdglB','extend','UNIVER_UNKNOWN','exportXLSXBySnapshot','5735160CAtgIX','importDOCXToUnitIdAsync','exportDOCXByUnitIdAsync','1843944tWqnSA','importDOCXToSnapshotAsync','7237265ZpxTSs','UNIVER_DOC','exportDOCXByUnitId','importXLSXToUnitIdAsync','432yIyYPa','5340196qcBArE','importXLSXToSnapshotAsync','exportXLSXByUnitIdAsync','UNIVER_SLIDE','importDOCXToSnapshot','514927WzKFhf','get','FUniver','_injector','UNRECOGNIZED','IExchangeService','exportDOCXBySnapshotAsync','importDOCXToUnitId','UNIVER_SHEET','1531516RtkUwL','exportXLSXBySnapshotAsync','The\x20exchange\x20service\x20is\x20not\x20available','importXLSXToSnapshot','exportXLSXByUnitId'];_0x52bc=function(){return _0x5481ac;};return _0x52bc();}(function(_0x2025e8,_0x1fa7b2){const _0x30f4fc=_0x39fe,_0x120288=_0x2025e8();while(!![]){try{const _0x28eb46=-parseInt(_0x30f4fc(0x189))/0x1+-parseInt(_0x30f4fc(0x19e))/0x2+parseInt(_0x30f4fc(0x182))/0x3+parseInt(_0x30f4fc(0x190))/0x4+-parseInt(_0x30f4fc(0x18b))/0x5+-parseInt(_0x30f4fc(0x186))/0x6+parseInt(_0x30f4fc(0x195))/0x7*(parseInt(_0x30f4fc(0x18f))/0x8);if(_0x28eb46===_0x1fa7b2)break;else _0x120288['push'](_0x120288['shift']());}catch(_0x3700f9){_0x120288['push'](_0x120288['shift']());}}}(_0x52bc,0xe8d87));const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x1850fb=>(_0x1850fb[_0x1850fb['UNIVER_UNKNOWN']=0x0]=_0x1a0479(0x184),_0x1850fb[_0x1850fb[_0x1a0479(0x18c)]=0x1]=_0x1a0479(0x18c),_0x1850fb[_0x1850fb[_0x1a0479(0x19d)]=0x2]=_0x1a0479(0x19d),_0x1850fb[_0x1850fb[_0x1a0479(0x193)]=0x3]=_0x1a0479(0x193),_0x1850fb[_0x1850fb['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0x1850fb[_0x1850fb[_0x1a0479(0x199)]=-0x1]='UNRECOGNIZED',_0x1850fb))(i||{});class c extends o[_0x1a0479(0x197)]{async['importXLSXToUnitId'](_0x4dbf52){const _0x304a8e=_0x1a0479;return this[_0x304a8e(0x18e)](_0x4dbf52);}async['importXLSXToUnitIdAsync'](_0x398a92){const _0x52cd0b=_0x1a0479,_0x1acde1=this[_0x52cd0b(0x198)][_0x52cd0b(0x196)](r[_0x52cd0b(0x19a)]);if(!_0x1acde1)throw new Error(_0x52cd0b(0x17f));return _0x1acde1['importFileToUnitId'](_0x398a92,i[_0x52cd0b(0x19d)]);}async[_0x1a0479(0x180)](_0x394a35){return this['importXLSXToSnapshotAsync'](_0x394a35);}async[_0x1a0479(0x191)](_0x50b15d){const _0x3ef9be=_0x1a0479,_0x951bc2=this['_injector'][_0x3ef9be(0x196)](r['IExchangeService']);if(!_0x951bc2)throw new Error(_0x3ef9be(0x17f));return _0x951bc2[_0x3ef9be(0x180)](_0x50b15d);}async['exportXLSXByUnitId'](_0x2ec992){const _0x1c0711=_0x1a0479;return this[_0x1c0711(0x192)](_0x2ec992);}async[_0x1a0479(0x192)](_0x4bb81f){const _0x1808bf=_0x1a0479,_0x288215=this[_0x1808bf(0x198)][_0x1808bf(0x196)](r[_0x1808bf(0x19a)]);if(!_0x288215)throw new Error(_0x1808bf(0x17f));return _0x288215[_0x1808bf(0x181)](_0x4bb81f);}async[_0x1a0479(0x185)](_0x2d2c27){const _0x53ed99=_0x1a0479;return this[_0x53ed99(0x19f)](_0x2d2c27);}async[_0x1a0479(0x19f)](_0x164177){const _0x48c319=_0x1a0479,_0x20a653=this['_injector'][_0x48c319(0x196)](r[_0x48c319(0x19a)]);if(!_0x20a653)throw new Error(_0x48c319(0x17f));return _0x20a653[_0x48c319(0x185)](_0x164177);}async[_0x1a0479(0x19c)](_0x4b22da){const _0x15ac6c=_0x1a0479;return this[_0x15ac6c(0x187)](_0x4b22da);}async[_0x1a0479(0x187)](_0x440c68){const _0x285610=_0x1a0479,_0x34e8cd=this[_0x285610(0x198)]['get'](r[_0x285610(0x19a)]);if(!_0x34e8cd)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x34e8cd['importFileToUnitId'](_0x440c68,i['UNIVER_DOC']);}async[_0x1a0479(0x194)](_0xd8b244){const _0x432d77=_0x1a0479;return this[_0x432d77(0x18a)](_0xd8b244);}async[_0x1a0479(0x18a)](_0x5cf594){const _0x340e3f=_0x1a0479,_0x10b480=this[_0x340e3f(0x198)][_0x340e3f(0x196)](r[_0x340e3f(0x19a)]);if(!_0x10b480)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x10b480[_0x340e3f(0x194)](_0x5cf594);}async[_0x1a0479(0x19b)](_0x4b3c5a){const _0x4449da=_0x1a0479,_0x2f1bfc=this[_0x4449da(0x198)][_0x4449da(0x196)](r[_0x4449da(0x19a)]);if(!_0x2f1bfc)throw new Error(_0x4449da(0x17f));return _0x2f1bfc['exportDOCXBySnapshot'](_0x4b3c5a);}async[_0x1a0479(0x188)](_0x326e29){const _0x29aee6=_0x1a0479,_0x44885f=this['_injector']['get'](r[_0x29aee6(0x19a)]);if(!_0x44885f)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x44885f[_0x29aee6(0x18d)](_0x326e29);}}o['FUniver'][_0x1a0479(0x183)](c);