@univerjs-pro/exchange-client 0.10.11 → 0.10.12-nightly.202510251119

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 +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.css +1 -1
  27. package/lib/index.js +2 -2
  28. package/lib/locale/ca-ES.js +1 -1
  29. package/lib/locale/en-US.js +1 -1
  30. package/lib/locale/es-ES.js +1 -1
  31. package/lib/locale/fa-IR.js +1 -1
  32. package/lib/locale/fr-FR.js +1 -1
  33. package/lib/locale/ko-KR.js +1 -1
  34. package/lib/locale/ru-RU.js +1 -1
  35. package/lib/locale/vi-VN.js +1 -1
  36. package/lib/locale/zh-CN.js +1 -1
  37. package/lib/locale/zh-TW.js +1 -1
  38. package/lib/types/services/exchange.service.d.ts +3 -0
  39. package/lib/types/services/operate.service.d.ts +1 -1
  40. package/lib/types/services/request.service.d.ts +5 -0
  41. package/lib/umd/facade.js +1 -1
  42. package/lib/umd/index.js +2 -2
  43. package/lib/umd/locale/ca-ES.js +1 -1
  44. package/lib/umd/locale/en-US.js +1 -1
  45. package/lib/umd/locale/es-ES.js +1 -1
  46. package/lib/umd/locale/fa-IR.js +1 -1
  47. package/lib/umd/locale/fr-FR.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 _0x4819(_0x411e43,_0xbdad0){const _0x522701=_0x5227();return _0x4819=function(_0x4819fe,_0x9e0879){_0x4819fe=_0x4819fe-0x126;let _0x4498ca=_0x522701[_0x4819fe];return _0x4498ca;},_0x4819(_0x411e43,_0xbdad0);}const _0x39920d=_0x4819;(function(_0x597c62,_0x351b35){const _0x5dbf0b=_0x4819,_0x36a82e=_0x597c62();while(!![]){try{const _0x248969=parseInt(_0x5dbf0b(0x136))/0x1*(-parseInt(_0x5dbf0b(0x138))/0x2)+-parseInt(_0x5dbf0b(0x143))/0x3+-parseInt(_0x5dbf0b(0x130))/0x4+parseInt(_0x5dbf0b(0x133))/0x5+parseInt(_0x5dbf0b(0x134))/0x6+-parseInt(_0x5dbf0b(0x142))/0x7*(parseInt(_0x5dbf0b(0x13c))/0x8)+parseInt(_0x5dbf0b(0x132))/0x9;if(_0x248969===_0x351b35)break;else _0x36a82e['push'](_0x36a82e['shift']());}catch(_0x100bbe){_0x36a82e['push'](_0x36a82e['shift']());}}}(_0x5227,0xf154d));function _0x5227(){const _0x2d6e68=['importXLSXToUnitIdAsync','exportDOCXByUnitIdAsync','_injector','importXLSXToSnapshotAsync','UNIVER_DOC','importDOCXToUnitIdAsync','1582684KdhKkg','importXLSXToSnapshot','6183999XuWZQk','9531350SPOvzG','10643208vvzpAE','importFileToUnitId','269OPQWDZ','get','1854jxKBOp','FUniver','exportXLSXBySnapshotAsync','exportXLSXBySnapshot','6967432KRtqMd','UNRECOGNIZED','importDOCXToSnapshotAsync','exportXLSXByUnitIdAsync','exportDOCXBySnapshotAsync','UNIVER_SHEET','7zmBbrx','5588379NaHSMG','importDOCXToSnapshot','UNIVER_SLIDE','UNIVER_PROJECT','exportDOCXByUnitId','exportXLSXByUnitId','IExchangeService','importDOCXToUnitId','The\x20exchange\x20service\x20is\x20not\x20available'];_0x5227=function(){return _0x2d6e68;};return _0x5227();}const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x10e9df=>(_0x10e9df[_0x10e9df['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x10e9df[_0x10e9df['UNIVER_DOC']=0x1]=_0x39920d(0x12e),_0x10e9df[_0x10e9df[_0x39920d(0x141)]=0x2]=_0x39920d(0x141),_0x10e9df[_0x10e9df['UNIVER_SLIDE']=0x3]=_0x39920d(0x145),_0x10e9df[_0x10e9df[_0x39920d(0x146)]=0x4]=_0x39920d(0x146),_0x10e9df[_0x10e9df[_0x39920d(0x13d)]=-0x1]=_0x39920d(0x13d),_0x10e9df))(i||{});class c extends o[_0x39920d(0x139)]{async['importXLSXToUnitId'](_0x482f9b){const _0x11f2eb=_0x39920d;return this[_0x11f2eb(0x12a)](_0x482f9b);}async['importXLSXToUnitIdAsync'](_0x320dc3){const _0x6628bf=_0x39920d,_0x376fe2=this[_0x6628bf(0x12c)]['get'](r[_0x6628bf(0x127)]);if(!_0x376fe2)throw new Error(_0x6628bf(0x129));return _0x376fe2[_0x6628bf(0x135)](_0x320dc3,i[_0x6628bf(0x141)]);}async[_0x39920d(0x131)](_0x195317){return this['importXLSXToSnapshotAsync'](_0x195317);}async[_0x39920d(0x12d)](_0x450ebd){const _0x1b7d21=_0x39920d,_0x4a444f=this[_0x1b7d21(0x12c)][_0x1b7d21(0x137)](r[_0x1b7d21(0x127)]);if(!_0x4a444f)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4a444f[_0x1b7d21(0x131)](_0x450ebd);}async[_0x39920d(0x126)](_0x4b9b8c){const _0x39257f=_0x39920d;return this[_0x39257f(0x13f)](_0x4b9b8c);}async[_0x39920d(0x13f)](_0x13b23a){const _0x10f078=_0x39920d,_0x3ce255=this[_0x10f078(0x12c)][_0x10f078(0x137)](r[_0x10f078(0x127)]);if(!_0x3ce255)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3ce255[_0x10f078(0x126)](_0x13b23a);}async[_0x39920d(0x13b)](_0x444028){return this['exportXLSXBySnapshotAsync'](_0x444028);}async[_0x39920d(0x13a)](_0x29bc9c){const _0x1c6771=_0x39920d,_0x28347e=this[_0x1c6771(0x12c)]['get'](r[_0x1c6771(0x127)]);if(!_0x28347e)throw new Error(_0x1c6771(0x129));return _0x28347e[_0x1c6771(0x13b)](_0x29bc9c);}async[_0x39920d(0x128)](_0x21a6eb){const _0x3420ce=_0x39920d;return this[_0x3420ce(0x12f)](_0x21a6eb);}async['importDOCXToUnitIdAsync'](_0x2011f2){const _0x802afc=_0x39920d,_0x228f69=this[_0x802afc(0x12c)][_0x802afc(0x137)](r['IExchangeService']);if(!_0x228f69)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x228f69[_0x802afc(0x135)](_0x2011f2,i[_0x802afc(0x12e)]);}async[_0x39920d(0x144)](_0xb0adb1){const _0x11e49f=_0x39920d;return this[_0x11e49f(0x13e)](_0xb0adb1);}async[_0x39920d(0x13e)](_0x4df37c){const _0x26a72c=_0x39920d,_0x258ae1=this[_0x26a72c(0x12c)][_0x26a72c(0x137)](r['IExchangeService']);if(!_0x258ae1)throw new Error(_0x26a72c(0x129));return _0x258ae1[_0x26a72c(0x144)](_0x4df37c);}async[_0x39920d(0x140)](_0x2313cb){const _0x453889=_0x39920d,_0x3d1c0c=this[_0x453889(0x12c)][_0x453889(0x137)](r[_0x453889(0x127)]);if(!_0x3d1c0c)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3d1c0c['exportDOCXBySnapshot'](_0x2313cb);}async[_0x39920d(0x12b)](_0x21f235){const _0x248f88=_0x39920d,_0x381e82=this[_0x248f88(0x12c)][_0x248f88(0x137)](r['IExchangeService']);if(!_0x381e82)throw new Error(_0x248f88(0x129));return _0x381e82[_0x248f88(0x147)](_0x21f235);}}o[_0x39920d(0x139)]['extend'](c);
1
+ 'use strict';const _0x45d88c=_0x2203;(function(_0x5120e6,_0x534ac9){const _0x3298ac=_0x2203,_0xa933b7=_0x5120e6();while(!![]){try{const _0x438140=-parseInt(_0x3298ac(0x181))/0x1+-parseInt(_0x3298ac(0x176))/0x2*(parseInt(_0x3298ac(0x17d))/0x3)+parseInt(_0x3298ac(0x17c))/0x4+-parseInt(_0x3298ac(0x18f))/0x5*(parseInt(_0x3298ac(0x16e))/0x6)+parseInt(_0x3298ac(0x189))/0x7*(-parseInt(_0x3298ac(0x18b))/0x8)+parseInt(_0x3298ac(0x16c))/0x9+parseInt(_0x3298ac(0x17a))/0xa;if(_0x438140===_0x534ac9)break;else _0xa933b7['push'](_0xa933b7['shift']());}catch(_0x288393){_0xa933b7['push'](_0xa933b7['shift']());}}}(_0x3663,0xcdf21));function _0x2203(_0x561e6a,_0x28963d){const _0x3663c3=_0x3663();return _0x2203=function(_0x22038c,_0x1d9f4f){_0x22038c=_0x22038c-0x16c;let _0x40c27f=_0x3663c3[_0x22038c];return _0x40c27f;},_0x2203(_0x561e6a,_0x28963d);}const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x4afad6=>(_0x4afad6[_0x4afad6[_0x45d88c(0x182)]=0x0]=_0x45d88c(0x182),_0x4afad6[_0x4afad6[_0x45d88c(0x184)]=0x1]=_0x45d88c(0x184),_0x4afad6[_0x4afad6[_0x45d88c(0x18c)]=0x2]='UNIVER_SHEET',_0x4afad6[_0x4afad6[_0x45d88c(0x171)]=0x3]=_0x45d88c(0x171),_0x4afad6[_0x4afad6[_0x45d88c(0x185)]=0x4]=_0x45d88c(0x185),_0x4afad6[_0x4afad6['UNRECOGNIZED']=-0x1]=_0x45d88c(0x180),_0x4afad6))(i||{});class c extends o[_0x45d88c(0x16f)]{async[_0x45d88c(0x18d)](_0x1fc0c3){const _0x599628=_0x45d88c;return this[_0x599628(0x190)](_0x1fc0c3);}async['importXLSXToUnitIdAsync'](_0x16817f){const _0x26d1a6=_0x45d88c,_0x26bbde=this[_0x26d1a6(0x177)]['get'](r[_0x26d1a6(0x174)]);if(!_0x26bbde)throw new Error(_0x26d1a6(0x17f));return _0x26bbde[_0x26d1a6(0x178)](_0x16817f,i[_0x26d1a6(0x18c)]);}async['importXLSXToSnapshot'](_0x178c0a){return this['importXLSXToSnapshotAsync'](_0x178c0a);}async[_0x45d88c(0x183)](_0x4089e5){const _0x1f244b=_0x45d88c,_0x9c4fbf=this[_0x1f244b(0x177)][_0x1f244b(0x18e)](r[_0x1f244b(0x174)]);if(!_0x9c4fbf)throw new Error(_0x1f244b(0x17f));return _0x9c4fbf[_0x1f244b(0x186)](_0x4089e5);}async['exportXLSXByUnitId'](_0x59f1a2){const _0x238a07=_0x45d88c;return this[_0x238a07(0x170)](_0x59f1a2);}async['exportXLSXByUnitIdAsync'](_0x2b295c){const _0x98c5f6=_0x45d88c,_0x5e6706=this[_0x98c5f6(0x177)][_0x98c5f6(0x18e)](r[_0x98c5f6(0x174)]);if(!_0x5e6706)throw new Error(_0x98c5f6(0x17f));return _0x5e6706[_0x98c5f6(0x17b)](_0x2b295c);}async['exportXLSXBySnapshot'](_0x4d9f97){const _0x484708=_0x45d88c;return this[_0x484708(0x179)](_0x4d9f97);}async['exportXLSXBySnapshotAsync'](_0x38b426){const _0x2b1577=_0x45d88c,_0x184b55=this[_0x2b1577(0x177)]['get'](r['IExchangeService']);if(!_0x184b55)throw new Error(_0x2b1577(0x17f));return _0x184b55[_0x2b1577(0x187)](_0x38b426);}async[_0x45d88c(0x175)](_0x4874ed){return this['importDOCXToUnitIdAsync'](_0x4874ed);}async['importDOCXToUnitIdAsync'](_0x108e59){const _0x37ba9c=_0x45d88c,_0x4783cb=this[_0x37ba9c(0x177)][_0x37ba9c(0x18e)](r['IExchangeService']);if(!_0x4783cb)throw new Error(_0x37ba9c(0x17f));return _0x4783cb[_0x37ba9c(0x178)](_0x108e59,i['UNIVER_DOC']);}async[_0x45d88c(0x188)](_0x270f06){const _0x44b56a=_0x45d88c;return this[_0x44b56a(0x172)](_0x270f06);}async[_0x45d88c(0x172)](_0x122786){const _0x5dae88=_0x45d88c,_0x25e2cb=this[_0x5dae88(0x177)][_0x5dae88(0x18e)](r['IExchangeService']);if(!_0x25e2cb)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x25e2cb[_0x5dae88(0x188)](_0x122786);}async[_0x45d88c(0x18a)](_0x681b91){const _0x32edc4=_0x45d88c,_0x2af6ed=this[_0x32edc4(0x177)][_0x32edc4(0x18e)](r['IExchangeService']);if(!_0x2af6ed)throw new Error(_0x32edc4(0x17f));return _0x2af6ed[_0x32edc4(0x17e)](_0x681b91);}async[_0x45d88c(0x173)](_0x3352fe){const _0x48da51=_0x45d88c,_0x9cf1d4=this[_0x48da51(0x177)]['get'](r['IExchangeService']);if(!_0x9cf1d4)throw new Error(_0x48da51(0x17f));return _0x9cf1d4[_0x48da51(0x16d)](_0x3352fe);}}function _0x3663(){const _0x4471ee=['importDOCXToUnitId','1158770LTxXhm','_injector','importFileToUnitId','exportXLSXBySnapshotAsync','16246470tvTitu','exportXLSXByUnitId','6334020hrsige','3Magahu','exportDOCXBySnapshot','The\x20exchange\x20service\x20is\x20not\x20available','UNRECOGNIZED','552176tNAMdn','UNIVER_UNKNOWN','importXLSXToSnapshotAsync','UNIVER_DOC','UNIVER_PROJECT','importXLSXToSnapshot','exportXLSXBySnapshot','importDOCXToSnapshot','259sUCYlN','exportDOCXBySnapshotAsync','196048EfbxDa','UNIVER_SHEET','importXLSXToUnitId','get','2474665SOkmFN','importXLSXToUnitIdAsync','1517553EJvSvR','exportDOCXByUnitId','6CBcXHM','FUniver','exportXLSXByUnitIdAsync','UNIVER_SLIDE','importDOCXToSnapshotAsync','exportDOCXByUnitIdAsync','IExchangeService'];_0x3663=function(){return _0x4471ee;};return _0x3663();}o[_0x45d88c(0x16f)]['extend'](c);