@univerjs-pro/exchange-client 0.9.2-nightly.202507141607 → 0.9.2-nightly.202507161608

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 -0
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -0
  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 -0
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -0
  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 -0
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -0
  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/ca-ES.d.ts +3 -0
  38. package/lib/types/locale/es-ES.d.ts +3 -0
  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 -0
  42. package/lib/umd/locale/en-US.js +1 -1
  43. package/lib/umd/locale/es-ES.js +1 -0
  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 +7 -7
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x4d5ef0=_0x4a84;(function(_0x5ab0c0,_0x3c3bc8){const _0x44851a=_0x4a84,_0x1d3e5f=_0x5ab0c0();while(!![]){try{const _0x2fe69d=parseInt(_0x44851a(0xa7))/0x1+parseInt(_0x44851a(0xa1))/0x2*(parseInt(_0x44851a(0x9e))/0x3)+-parseInt(_0x44851a(0xa8))/0x4*(-parseInt(_0x44851a(0x9d))/0x5)+parseInt(_0x44851a(0x98))/0x6*(-parseInt(_0x44851a(0x90))/0x7)+-parseInt(_0x44851a(0x94))/0x8*(-parseInt(_0x44851a(0xa9))/0x9)+parseInt(_0x44851a(0x9f))/0xa*(parseInt(_0x44851a(0x89))/0xb)+-parseInt(_0x44851a(0x9c))/0xc*(parseInt(_0x44851a(0x87))/0xd);if(_0x2fe69d===_0x3c3bc8)break;else _0x1d3e5f['push'](_0x1d3e5f['shift']());}catch(_0x5bfd81){_0x1d3e5f['push'](_0x1d3e5f['shift']());}}}(_0x51d0,0x3e7df));const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x200443=>(_0x200443[_0x200443[_0x4d5ef0(0xa5)]=0x0]=_0x4d5ef0(0xa5),_0x200443[_0x200443[_0x4d5ef0(0xa4)]=0x1]=_0x4d5ef0(0xa4),_0x200443[_0x200443[_0x4d5ef0(0xa6)]=0x2]='UNIVER_SHEET',_0x200443[_0x200443['UNIVER_SLIDE']=0x3]=_0x4d5ef0(0x93),_0x200443[_0x200443[_0x4d5ef0(0xab)]=0x4]=_0x4d5ef0(0xab),_0x200443[_0x200443[_0x4d5ef0(0x8c)]=-0x1]='UNRECOGNIZED',_0x200443))(i||{});function _0x4a84(_0x1235c2,_0x4dba32){const _0x51d051=_0x51d0();return _0x4a84=function(_0x4a8432,_0x39ef75){_0x4a8432=_0x4a8432-0x86;let _0x25de66=_0x51d051[_0x4a8432];return _0x25de66;},_0x4a84(_0x1235c2,_0x4dba32);}class c extends o[_0x4d5ef0(0x9b)]{async['importXLSXToUnitId'](_0x2da0b1){return this['importXLSXToUnitIdAsync'](_0x2da0b1);}async[_0x4d5ef0(0x8e)](_0x47fd0b){const _0x3951fb=_0x4d5ef0,_0x342bc3=this[_0x3951fb(0x99)]['get'](r[_0x3951fb(0xaa)]);if(!_0x342bc3)throw new Error(_0x3951fb(0x95));return _0x342bc3['importFileToUnitId'](_0x47fd0b,i['UNIVER_SHEET']);}async[_0x4d5ef0(0x92)](_0x3e6cd8){const _0xfece26=_0x4d5ef0;return this[_0xfece26(0xa2)](_0x3e6cd8);}async['importXLSXToSnapshotAsync'](_0x11c7ef){const _0x367e2e=_0x4d5ef0,_0x53150e=this['_injector'][_0x367e2e(0x9a)](r[_0x367e2e(0xaa)]);if(!_0x53150e)throw new Error(_0x367e2e(0x95));return _0x53150e[_0x367e2e(0x92)](_0x11c7ef);}async[_0x4d5ef0(0x88)](_0x2087b2){return this['exportXLSXByUnitIdAsync'](_0x2087b2);}async['exportXLSXByUnitIdAsync'](_0x591dd0){const _0x3f074f=_0x4d5ef0,_0xf175ab=this[_0x3f074f(0x99)][_0x3f074f(0x9a)](r[_0x3f074f(0xaa)]);if(!_0xf175ab)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xf175ab[_0x3f074f(0x88)](_0x591dd0);}async[_0x4d5ef0(0xa3)](_0x20350f){const _0x460489=_0x4d5ef0;return this[_0x460489(0x8b)](_0x20350f);}async[_0x4d5ef0(0x8b)](_0x22b6e0){const _0x2fcc91=_0x4d5ef0,_0x5b2cb6=this[_0x2fcc91(0x99)][_0x2fcc91(0x9a)](r[_0x2fcc91(0xaa)]);if(!_0x5b2cb6)throw new Error(_0x2fcc91(0x95));return _0x5b2cb6[_0x2fcc91(0xa3)](_0x22b6e0);}async[_0x4d5ef0(0x97)](_0x1dd26b){const _0x19f296=_0x4d5ef0;return this[_0x19f296(0x8d)](_0x1dd26b);}async['importDOCXToUnitIdAsync'](_0x5729f1){const _0x18abaf=_0x4d5ef0,_0x4dcccf=this[_0x18abaf(0x99)][_0x18abaf(0x9a)](r[_0x18abaf(0xaa)]);if(!_0x4dcccf)throw new Error(_0x18abaf(0x95));return _0x4dcccf[_0x18abaf(0x8f)](_0x5729f1,i[_0x18abaf(0xa4)]);}async[_0x4d5ef0(0xa0)](_0x2c8477){const _0x2b1835=_0x4d5ef0;return this[_0x2b1835(0x86)](_0x2c8477);}async[_0x4d5ef0(0x86)](_0x4b9006){const _0x512197=_0x4d5ef0,_0x1a3197=this[_0x512197(0x99)][_0x512197(0x9a)](r[_0x512197(0xaa)]);if(!_0x1a3197)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1a3197[_0x512197(0xa0)](_0x4b9006);}async['exportDOCXBySnapshotAsync'](_0x5acc0a){const _0x4884bb=_0x4d5ef0,_0x4b92ea=this[_0x4884bb(0x99)][_0x4884bb(0x9a)](r[_0x4884bb(0xaa)]);if(!_0x4b92ea)throw new Error(_0x4884bb(0x95));return _0x4b92ea[_0x4884bb(0x96)](_0x5acc0a);}async[_0x4d5ef0(0x8a)](_0x1aa5c9){const _0x5996e0=_0x4d5ef0,_0x2a5109=this[_0x5996e0(0x99)][_0x5996e0(0x9a)](r[_0x5996e0(0xaa)]);if(!_0x2a5109)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2a5109[_0x5996e0(0x91)](_0x1aa5c9);}}o['FUniver']['extend'](c);function _0x51d0(){const _0x1b8bef=['get','FUniver','3840opwIvk','98340IUMafD','3NUzRwh','20cjHgzt','importDOCXToSnapshot','596062AUURCA','importXLSXToSnapshotAsync','exportXLSXBySnapshot','UNIVER_DOC','UNIVER_UNKNOWN','UNIVER_SHEET','375279wKNgGs','32PNnKeq','18SIPZjq','IExchangeService','UNIVER_PROJECT','importDOCXToSnapshotAsync','28457EydcYo','exportXLSXByUnitId','92983ZGHMkS','exportDOCXByUnitIdAsync','exportXLSXBySnapshotAsync','UNRECOGNIZED','importDOCXToUnitIdAsync','importXLSXToUnitIdAsync','importFileToUnitId','133tIcuKD','exportDOCXByUnitId','importXLSXToSnapshot','UNIVER_SLIDE','560872tALdkt','The\x20exchange\x20service\x20is\x20not\x20available','exportDOCXBySnapshot','importDOCXToUnitId','9894GaniWK','_injector'];_0x51d0=function(){return _0x1b8bef;};return _0x51d0();}
1
+ 'use strict';const _0x44c4c3=_0x2989;function _0x452c(){const _0x47d012=['UNRECOGNIZED','importDOCXToSnapshot','importDOCXToUnitIdAsync','The\x20exchange\x20service\x20is\x20not\x20available','539EgjQlE','exportDOCXByUnitId','importDOCXToUnitId','FUniver','exportXLSXByUnitIdAsync','1320745VcdLBC','extend','1982wVpgNe','5361cKFZip','importXLSXToUnitIdAsync','UNIVER_SHEET','4152968gKXWeo','importDOCXToSnapshotAsync','18QtcetJ','8ctTXih','exportXLSXBySnapshot','importXLSXToSnapshot','importFileToUnitId','110IyNGdZ','IExchangeService','exportXLSXByUnitId','importXLSXToSnapshotAsync','exportDOCXBySnapshotAsync','UNIVER_SLIDE','importXLSXToUnitId','exportXLSXBySnapshotAsync','UNIVER_UNKNOWN','3649887xhZKzj','874951vocbdA','exportDOCXBySnapshot','659036BqmMhP','_injector','UNIVER_DOC','get'];_0x452c=function(){return _0x47d012;};return _0x452c();}(function(_0x322aec,_0x5c40a1){const _0x468f30=_0x2989,_0x7d3bb7=_0x322aec();while(!![]){try{const _0x549219=parseInt(_0x468f30(0x150))/0x1*(-parseInt(_0x468f30(0x157))/0x2)+parseInt(_0x468f30(0x158))/0x3*(-parseInt(_0x468f30(0x15e))/0x4)+parseInt(_0x468f30(0x155))/0x5*(parseInt(_0x468f30(0x15d))/0x6)+parseInt(_0x468f30(0x148))/0x7+parseInt(_0x468f30(0x15b))/0x8+parseInt(_0x468f30(0x145))/0x9+-parseInt(_0x468f30(0x162))/0xa*(parseInt(_0x468f30(0x146))/0xb);if(_0x549219===_0x5c40a1)break;else _0x7d3bb7['push'](_0x7d3bb7['shift']());}catch(_0x19b82b){_0x7d3bb7['push'](_0x7d3bb7['shift']());}}}(_0x452c,0x614f9));function _0x2989(_0x4819af,_0x16cc68){const _0x452cd9=_0x452c();return _0x2989=function(_0x29892c,_0x2171df){_0x29892c=_0x29892c-0x142;let _0x5d6f69=_0x452cd9[_0x29892c];return _0x5d6f69;},_0x2989(_0x4819af,_0x16cc68);}const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0xcb216e=>(_0xcb216e[_0xcb216e[_0x44c4c3(0x144)]=0x0]='UNIVER_UNKNOWN',_0xcb216e[_0xcb216e[_0x44c4c3(0x14a)]=0x1]='UNIVER_DOC',_0xcb216e[_0xcb216e[_0x44c4c3(0x15a)]=0x2]='UNIVER_SHEET',_0xcb216e[_0xcb216e['UNIVER_SLIDE']=0x3]=_0x44c4c3(0x167),_0xcb216e[_0xcb216e['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0xcb216e[_0xcb216e[_0x44c4c3(0x14c)]=-0x1]='UNRECOGNIZED',_0xcb216e))(i||{});class c extends o[_0x44c4c3(0x153)]{async[_0x44c4c3(0x142)](_0xe6d16b){const _0x16bd19=_0x44c4c3;return this[_0x16bd19(0x159)](_0xe6d16b);}async[_0x44c4c3(0x159)](_0x29350d){const _0x990668=_0x44c4c3,_0x5a04bc=this[_0x990668(0x149)][_0x990668(0x14b)](r[_0x990668(0x163)]);if(!_0x5a04bc)throw new Error(_0x990668(0x14f));return _0x5a04bc[_0x990668(0x161)](_0x29350d,i['UNIVER_SHEET']);}async[_0x44c4c3(0x160)](_0x1a39f5){return this['importXLSXToSnapshotAsync'](_0x1a39f5);}async[_0x44c4c3(0x165)](_0x2fce1f){const _0x287b0f=_0x44c4c3,_0x315080=this[_0x287b0f(0x149)][_0x287b0f(0x14b)](r[_0x287b0f(0x163)]);if(!_0x315080)throw new Error(_0x287b0f(0x14f));return _0x315080[_0x287b0f(0x160)](_0x2fce1f);}async[_0x44c4c3(0x164)](_0x412956){return this['exportXLSXByUnitIdAsync'](_0x412956);}async[_0x44c4c3(0x154)](_0x238ca2){const _0x1e8a28=_0x44c4c3,_0x528083=this[_0x1e8a28(0x149)][_0x1e8a28(0x14b)](r[_0x1e8a28(0x163)]);if(!_0x528083)throw new Error(_0x1e8a28(0x14f));return _0x528083['exportXLSXByUnitId'](_0x238ca2);}async[_0x44c4c3(0x15f)](_0x2bb826){const _0x114715=_0x44c4c3;return this[_0x114715(0x143)](_0x2bb826);}async['exportXLSXBySnapshotAsync'](_0x551774){const _0x371c43=_0x44c4c3,_0x31954e=this[_0x371c43(0x149)][_0x371c43(0x14b)](r[_0x371c43(0x163)]);if(!_0x31954e)throw new Error(_0x371c43(0x14f));return _0x31954e['exportXLSXBySnapshot'](_0x551774);}async[_0x44c4c3(0x152)](_0x41e659){return this['importDOCXToUnitIdAsync'](_0x41e659);}async[_0x44c4c3(0x14e)](_0x39d8b5){const _0x5ee5c2=_0x44c4c3,_0x591b1c=this['_injector']['get'](r[_0x5ee5c2(0x163)]);if(!_0x591b1c)throw new Error(_0x5ee5c2(0x14f));return _0x591b1c[_0x5ee5c2(0x161)](_0x39d8b5,i[_0x5ee5c2(0x14a)]);}async[_0x44c4c3(0x14d)](_0x49ca0c){return this['importDOCXToSnapshotAsync'](_0x49ca0c);}async[_0x44c4c3(0x15c)](_0x3632d8){const _0x22dbba=_0x44c4c3,_0x1677ba=this[_0x22dbba(0x149)][_0x22dbba(0x14b)](r[_0x22dbba(0x163)]);if(!_0x1677ba)throw new Error(_0x22dbba(0x14f));return _0x1677ba['importDOCXToSnapshot'](_0x3632d8);}async[_0x44c4c3(0x166)](_0x318df3){const _0x4f47fb=_0x44c4c3,_0x393ee3=this['_injector'][_0x4f47fb(0x14b)](r[_0x4f47fb(0x163)]);if(!_0x393ee3)throw new Error(_0x4f47fb(0x14f));return _0x393ee3[_0x4f47fb(0x147)](_0x318df3);}async['exportDOCXByUnitIdAsync'](_0x339632){const _0x4c6206=_0x44c4c3,_0x5f1b58=this['_injector'][_0x4c6206(0x14b)](r[_0x4c6206(0x163)]);if(!_0x5f1b58)throw new Error(_0x4c6206(0x14f));return _0x5f1b58[_0x4c6206(0x151)](_0x339632);}}o[_0x44c4c3(0x153)][_0x44c4c3(0x156)](c);