@univerjs-pro/exchange-client 0.9.2 → 0.9.3-nightly.202507250750

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 -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/index.d.ts +1 -3
  38. package/lib/types/locale/ca-ES.d.ts +3 -0
  39. package/lib/types/locale/es-ES.d.ts +3 -0
  40. package/lib/types/services/request.service.d.ts +0 -10
  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 -0
  44. package/lib/umd/locale/en-US.js +1 -1
  45. package/lib/umd/locale/es-ES.js +1 -0
  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 +18 -10
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x265365=_0x2863;(function(_0x43c854,_0x43f45a){const _0x1aa0bf=_0x2863,_0x57bfde=_0x43c854();while(!![]){try{const _0x29bfa6=-parseInt(_0x1aa0bf(0xce))/0x1+-parseInt(_0x1aa0bf(0xcf))/0x2*(-parseInt(_0x1aa0bf(0xe4))/0x3)+parseInt(_0x1aa0bf(0xde))/0x4+parseInt(_0x1aa0bf(0xc4))/0x5+-parseInt(_0x1aa0bf(0xe5))/0x6*(-parseInt(_0x1aa0bf(0xc9))/0x7)+-parseInt(_0x1aa0bf(0xc5))/0x8*(-parseInt(_0x1aa0bf(0xdb))/0x9)+parseInt(_0x1aa0bf(0xe2))/0xa*(-parseInt(_0x1aa0bf(0xd7))/0xb);if(_0x29bfa6===_0x43f45a)break;else _0x57bfde['push'](_0x57bfde['shift']());}catch(_0x9aa2a6){_0x57bfde['push'](_0x57bfde['shift']());}}}(_0x3b34,0x3ec57));const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x5c3da3=>(_0x5c3da3[_0x5c3da3[_0x265365(0xd2)]=0x0]=_0x265365(0xd2),_0x5c3da3[_0x5c3da3['UNIVER_DOC']=0x1]=_0x265365(0xc6),_0x5c3da3[_0x5c3da3[_0x265365(0xd8)]=0x2]=_0x265365(0xd8),_0x5c3da3[_0x5c3da3[_0x265365(0xd0)]=0x3]=_0x265365(0xd0),_0x5c3da3[_0x5c3da3[_0x265365(0xe3)]=0x4]=_0x265365(0xe3),_0x5c3da3[_0x5c3da3[_0x265365(0xd9)]=-0x1]='UNRECOGNIZED',_0x5c3da3))(i||{});class c extends o[_0x265365(0xda)]{async[_0x265365(0xe1)](_0x459127){return this['importXLSXToUnitIdAsync'](_0x459127);}async[_0x265365(0xca)](_0x17bf10){const _0x4481c5=_0x265365,_0x31320d=this['_injector'][_0x4481c5(0xd3)](r[_0x4481c5(0xc7)]);if(!_0x31320d)throw new Error(_0x4481c5(0xc3));return _0x31320d[_0x4481c5(0xe0)](_0x17bf10,i[_0x4481c5(0xd8)]);}async[_0x265365(0xd5)](_0x1e4b7e){const _0x319e6c=_0x265365;return this[_0x319e6c(0xd6)](_0x1e4b7e);}async[_0x265365(0xd6)](_0x27c861){const _0x416049=_0x265365,_0xa21cb8=this['_injector'][_0x416049(0xd3)](r['IExchangeService']);if(!_0xa21cb8)throw new Error(_0x416049(0xc3));return _0xa21cb8['importXLSXToSnapshot'](_0x27c861);}async[_0x265365(0xcd)](_0x59458a){const _0x51e28c=_0x265365;return this[_0x51e28c(0xd4)](_0x59458a);}async['exportXLSXByUnitIdAsync'](_0x3908de){const _0x115b11=_0x265365,_0x403b64=this[_0x115b11(0xdd)][_0x115b11(0xd3)](r[_0x115b11(0xc7)]);if(!_0x403b64)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x403b64[_0x115b11(0xcd)](_0x3908de);}async[_0x265365(0xcb)](_0x22b8bd){const _0x473495=_0x265365;return this[_0x473495(0xdc)](_0x22b8bd);}async['exportXLSXBySnapshotAsync'](_0x198d3e){const _0x5276ae=_0x265365,_0x41668e=this['_injector']['get'](r['IExchangeService']);if(!_0x41668e)throw new Error(_0x5276ae(0xc3));return _0x41668e['exportXLSXBySnapshot'](_0x198d3e);}async[_0x265365(0xdf)](_0x4b678d){return this['importDOCXToUnitIdAsync'](_0x4b678d);}async['importDOCXToUnitIdAsync'](_0x13e351){const _0xa4f3b1=_0x265365,_0x5eaf1a=this[_0xa4f3b1(0xdd)][_0xa4f3b1(0xd3)](r[_0xa4f3b1(0xc7)]);if(!_0x5eaf1a)throw new Error(_0xa4f3b1(0xc3));return _0x5eaf1a[_0xa4f3b1(0xe0)](_0x13e351,i[_0xa4f3b1(0xc6)]);}async[_0x265365(0xc8)](_0x5bfa2b){const _0x3749cb=_0x265365;return this[_0x3749cb(0xcc)](_0x5bfa2b);}async[_0x265365(0xcc)](_0x2148d0){const _0x5cc6d7=_0x265365,_0x167483=this[_0x5cc6d7(0xdd)][_0x5cc6d7(0xd3)](r['IExchangeService']);if(!_0x167483)throw new Error(_0x5cc6d7(0xc3));return _0x167483[_0x5cc6d7(0xc8)](_0x2148d0);}async['exportDOCXBySnapshotAsync'](_0x4374d9){const _0x1c84e6=_0x265365,_0x2fa110=this[_0x1c84e6(0xdd)][_0x1c84e6(0xd3)](r[_0x1c84e6(0xc7)]);if(!_0x2fa110)throw new Error(_0x1c84e6(0xc3));return _0x2fa110['exportDOCXBySnapshot'](_0x4374d9);}async['exportDOCXByUnitIdAsync'](_0x53da84){const _0x5d2c26=_0x265365,_0x428f3c=this[_0x5d2c26(0xdd)][_0x5d2c26(0xd3)](r[_0x5d2c26(0xc7)]);if(!_0x428f3c)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x428f3c[_0x5d2c26(0xd1)](_0x53da84);}}function _0x2863(_0x3f1cdb,_0x38768e){const _0x3b343e=_0x3b34();return _0x2863=function(_0x2863a5,_0x314ed7){_0x2863a5=_0x2863a5-0xc3;let _0x22811a=_0x3b343e[_0x2863a5];return _0x22811a;},_0x2863(_0x3f1cdb,_0x38768e);}function _0x3b34(){const _0xdd467c=['importXLSXToUnitIdAsync','exportXLSXBySnapshot','importDOCXToSnapshotAsync','exportXLSXByUnitId','228310Wozqzx','118436apZFac','UNIVER_SLIDE','exportDOCXByUnitId','UNIVER_UNKNOWN','get','exportXLSXByUnitIdAsync','importXLSXToSnapshot','importXLSXToSnapshotAsync','22NWmFIy','UNIVER_SHEET','UNRECOGNIZED','FUniver','18uTkDWo','exportXLSXBySnapshotAsync','_injector','1266480XdEpWC','importDOCXToUnitId','importFileToUnitId','importXLSXToUnitId','1913420tAHapS','UNIVER_PROJECT','24dnYBEI','6ryogIQ','The\x20exchange\x20service\x20is\x20not\x20available','78640NxAtaL','81080bznFum','UNIVER_DOC','IExchangeService','importDOCXToSnapshot','292201eNzNyv'];_0x3b34=function(){return _0xdd467c;};return _0x3b34();}o[_0x265365(0xda)]['extend'](c);
1
+ 'use strict';const _0x11f5ba=_0x2a4e;(function(_0x3b83dd,_0x58de1f){const _0x35d115=_0x2a4e,_0x628a1=_0x3b83dd();while(!![]){try{const _0x3aa16e=parseInt(_0x35d115(0x1e3))/0x1+-parseInt(_0x35d115(0x1f6))/0x2*(-parseInt(_0x35d115(0x1e7))/0x3)+parseInt(_0x35d115(0x1dc))/0x4+-parseInt(_0x35d115(0x1f2))/0x5*(-parseInt(_0x35d115(0x1f4))/0x6)+parseInt(_0x35d115(0x1ee))/0x7*(-parseInt(_0x35d115(0x1eb))/0x8)+parseInt(_0x35d115(0x1d3))/0x9*(-parseInt(_0x35d115(0x1d2))/0xa)+-parseInt(_0x35d115(0x1ef))/0xb*(-parseInt(_0x35d115(0x1f1))/0xc);if(_0x3aa16e===_0x58de1f)break;else _0x628a1['push'](_0x628a1['shift']());}catch(_0x5eb6d8){_0x628a1['push'](_0x628a1['shift']());}}}(_0x2e6e,0x57c62));function _0x2e6e(){const _0x2c1f67=['354504GWYPks','IExchangeService','739958wMjBCk','get','UNIVER_PROJECT','981290RDsRNr','45CLHlsy','exportDOCXBySnapshot','importXLSXToSnapshotAsync','exportDOCXByUnitIdAsync','exportXLSXByUnitId','importDOCXToSnapshot','importFileToUnitId','UNIVER_SLIDE','exportXLSXBySnapshotAsync','1235384qZBHFs','UNRECOGNIZED','UNIVER_SHEET','exportXLSXBySnapshot','importDOCXToUnitIdAsync','UNIVER_UNKNOWN','UNIVER_DOC','212256OvaUTK','importDOCXToSnapshotAsync','FUniver','importDOCXToUnitId','3qBLENp','exportDOCXByUnitId','_injector','extend','6824uqZEXq','exportDOCXBySnapshotAsync','importXLSXToSnapshot','2114tYvrEd','44GjObdH','The\x20exchange\x20service\x20is\x20not\x20available','295572IwSURG','10tFLdLC','exportXLSXByUnitIdAsync'];_0x2e6e=function(){return _0x2c1f67;};return _0x2e6e();}const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x425fda=>(_0x425fda[_0x425fda['UNIVER_UNKNOWN']=0x0]=_0x11f5ba(0x1e1),_0x425fda[_0x425fda['UNIVER_DOC']=0x1]=_0x11f5ba(0x1e2),_0x425fda[_0x425fda[_0x11f5ba(0x1de)]=0x2]=_0x11f5ba(0x1de),_0x425fda[_0x425fda[_0x11f5ba(0x1da)]=0x3]='UNIVER_SLIDE',_0x425fda[_0x425fda[_0x11f5ba(0x1f8)]=0x4]=_0x11f5ba(0x1f8),_0x425fda[_0x425fda[_0x11f5ba(0x1dd)]=-0x1]=_0x11f5ba(0x1dd),_0x425fda))(i||{});function _0x2a4e(_0x458d2e,_0x54280d){const _0x2e6e73=_0x2e6e();return _0x2a4e=function(_0x2a4e1c,_0x51d464){_0x2a4e1c=_0x2a4e1c-0x1d2;let _0x531537=_0x2e6e73[_0x2a4e1c];return _0x531537;},_0x2a4e(_0x458d2e,_0x54280d);}class c extends o[_0x11f5ba(0x1e5)]{async['importXLSXToUnitId'](_0x186cf7){return this['importXLSXToUnitIdAsync'](_0x186cf7);}async['importXLSXToUnitIdAsync'](_0x217300){const _0x161168=_0x11f5ba,_0x1dfcb5=this[_0x161168(0x1e9)][_0x161168(0x1f7)](r['IExchangeService']);if(!_0x1dfcb5)throw new Error(_0x161168(0x1f0));return _0x1dfcb5[_0x161168(0x1d9)](_0x217300,i['UNIVER_SHEET']);}async[_0x11f5ba(0x1ed)](_0x4b132b){const _0x5d1850=_0x11f5ba;return this[_0x5d1850(0x1d5)](_0x4b132b);}async[_0x11f5ba(0x1d5)](_0xfa9112){const _0x3313b7=_0x11f5ba,_0x154551=this[_0x3313b7(0x1e9)][_0x3313b7(0x1f7)](r[_0x3313b7(0x1f5)]);if(!_0x154551)throw new Error(_0x3313b7(0x1f0));return _0x154551[_0x3313b7(0x1ed)](_0xfa9112);}async[_0x11f5ba(0x1d7)](_0x5ea3c0){const _0xaec39a=_0x11f5ba;return this[_0xaec39a(0x1f3)](_0x5ea3c0);}async[_0x11f5ba(0x1f3)](_0x8821a1){const _0x41df30=_0x11f5ba,_0x78e46a=this[_0x41df30(0x1e9)][_0x41df30(0x1f7)](r[_0x41df30(0x1f5)]);if(!_0x78e46a)throw new Error(_0x41df30(0x1f0));return _0x78e46a[_0x41df30(0x1d7)](_0x8821a1);}async[_0x11f5ba(0x1df)](_0x40b9f6){return this['exportXLSXBySnapshotAsync'](_0x40b9f6);}async[_0x11f5ba(0x1db)](_0x46d43f){const _0x272a4a=_0x11f5ba,_0x1b9525=this['_injector']['get'](r['IExchangeService']);if(!_0x1b9525)throw new Error(_0x272a4a(0x1f0));return _0x1b9525[_0x272a4a(0x1df)](_0x46d43f);}async[_0x11f5ba(0x1e6)](_0x3d9e9e){return this['importDOCXToUnitIdAsync'](_0x3d9e9e);}async[_0x11f5ba(0x1e0)](_0x4e060a){const _0x54c4fb=_0x11f5ba,_0x5455af=this[_0x54c4fb(0x1e9)][_0x54c4fb(0x1f7)](r[_0x54c4fb(0x1f5)]);if(!_0x5455af)throw new Error(_0x54c4fb(0x1f0));return _0x5455af[_0x54c4fb(0x1d9)](_0x4e060a,i[_0x54c4fb(0x1e2)]);}async[_0x11f5ba(0x1d8)](_0x454305){const _0x4b1a78=_0x11f5ba;return this[_0x4b1a78(0x1e4)](_0x454305);}async[_0x11f5ba(0x1e4)](_0x57e96e){const _0x367587=_0x11f5ba,_0xf88f44=this[_0x367587(0x1e9)]['get'](r[_0x367587(0x1f5)]);if(!_0xf88f44)throw new Error(_0x367587(0x1f0));return _0xf88f44[_0x367587(0x1d8)](_0x57e96e);}async[_0x11f5ba(0x1ec)](_0x2d03e5){const _0x14cec8=_0x11f5ba,_0xa76fb0=this[_0x14cec8(0x1e9)]['get'](r[_0x14cec8(0x1f5)]);if(!_0xa76fb0)throw new Error(_0x14cec8(0x1f0));return _0xa76fb0[_0x14cec8(0x1d4)](_0x2d03e5);}async[_0x11f5ba(0x1d6)](_0x43633e){const _0x1f41b1=_0x11f5ba,_0xb571c=this['_injector'][_0x1f41b1(0x1f7)](r[_0x1f41b1(0x1f5)]);if(!_0xb571c)throw new Error(_0x1f41b1(0x1f0));return _0xb571c[_0x1f41b1(0x1e8)](_0x43633e);}}o['FUniver'][_0x11f5ba(0x1ea)](c);