@univerjs-pro/exchange-client 0.6.10-nightly.202504161609 → 0.6.10

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 (41) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +2 -2
  3. package/lib/cjs/locale/en-US.js +1 -1
  4. package/lib/cjs/locale/fa-IR.js +1 -1
  5. package/lib/cjs/locale/fr-FR.js +1 -1
  6. package/lib/cjs/locale/ru-RU.js +1 -1
  7. package/lib/cjs/locale/vi-VN.js +1 -1
  8. package/lib/cjs/locale/zh-CN.js +1 -1
  9. package/lib/cjs/locale/zh-TW.js +1 -1
  10. package/lib/es/facade.js +1 -1
  11. package/lib/es/index.js +2 -2
  12. package/lib/es/locale/en-US.js +1 -1
  13. package/lib/es/locale/fa-IR.js +1 -1
  14. package/lib/es/locale/fr-FR.js +1 -1
  15. package/lib/es/locale/ru-RU.js +1 -1
  16. package/lib/es/locale/vi-VN.js +1 -1
  17. package/lib/es/locale/zh-CN.js +1 -1
  18. package/lib/es/locale/zh-TW.js +1 -1
  19. package/lib/facade.js +1 -1
  20. package/lib/index.js +2 -2
  21. package/lib/locale/en-US.js +1 -1
  22. package/lib/locale/fa-IR.js +1 -1
  23. package/lib/locale/fr-FR.js +1 -1
  24. package/lib/locale/ru-RU.js +1 -1
  25. package/lib/locale/vi-VN.js +1 -1
  26. package/lib/locale/zh-CN.js +1 -1
  27. package/lib/locale/zh-TW.js +1 -1
  28. package/lib/types/controllers/config.schema.d.ts +5 -0
  29. package/lib/types/index.d.ts +1 -1
  30. package/lib/types/services/exchange.service.d.ts +3 -1
  31. package/lib/types/services/request.service.d.ts +4 -0
  32. package/lib/umd/facade.js +1 -1
  33. package/lib/umd/index.js +2 -2
  34. package/lib/umd/locale/en-US.js +1 -1
  35. package/lib/umd/locale/fa-IR.js +1 -1
  36. package/lib/umd/locale/fr-FR.js +1 -1
  37. package/lib/umd/locale/ru-RU.js +1 -1
  38. package/lib/umd/locale/vi-VN.js +1 -1
  39. package/lib/umd/locale/zh-CN.js +1 -1
  40. package/lib/umd/locale/zh-TW.js +1 -1
  41. package/package.json +8 -8
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function _0x4e53(_0xada163,_0x3ff7c3){const _0x4e6d72=_0x4e6d();return _0x4e53=function(_0x4e537e,_0x5eee9e){_0x4e537e=_0x4e537e-0x150;let _0x9e27d3=_0x4e6d72[_0x4e537e];return _0x9e27d3;},_0x4e53(_0xada163,_0x3ff7c3);}const _0x1bf716=_0x4e53;(function(_0x69c815,_0x27fc79){const _0x12fa9d=_0x4e53,_0x5cefa5=_0x69c815();while(!![]){try{const _0xa60422=parseInt(_0x12fa9d(0x150))/0x1+parseInt(_0x12fa9d(0x151))/0x2+parseInt(_0x12fa9d(0x15d))/0x3+parseInt(_0x12fa9d(0x16b))/0x4+parseInt(_0x12fa9d(0x159))/0x5+-parseInt(_0x12fa9d(0x169))/0x6*(-parseInt(_0x12fa9d(0x15b))/0x7)+parseInt(_0x12fa9d(0x16f))/0x8*(-parseInt(_0x12fa9d(0x170))/0x9);if(_0xa60422===_0x27fc79)break;else _0x5cefa5['push'](_0x5cefa5['shift']());}catch(_0x273c02){_0x5cefa5['push'](_0x5cefa5['shift']());}}}(_0x4e6d,0x50bad));const r=require(_0x1bf716(0x16e)),i=require(_0x1bf716(0x167));var o=(_0x2bb1df=>(_0x2bb1df[_0x2bb1df[_0x1bf716(0x161)]=0x0]='UNIVER_UNKNOWN',_0x2bb1df[_0x2bb1df[_0x1bf716(0x164)]=0x1]='UNIVER_DOC',_0x2bb1df[_0x2bb1df[_0x1bf716(0x157)]=0x2]=_0x1bf716(0x157),_0x2bb1df[_0x2bb1df[_0x1bf716(0x162)]=0x3]=_0x1bf716(0x162),_0x2bb1df[_0x2bb1df[_0x1bf716(0x156)]=0x4]=_0x1bf716(0x156),_0x2bb1df[_0x2bb1df[_0x1bf716(0x153)]=-0x1]=_0x1bf716(0x153),_0x2bb1df))(o||{});function _0x4e6d(){const _0x2857b4=['18Wgacyq','importXLSXToSnapshot','707652UhGAet','FUniver','exportXLSXBySnapshotAsync','@univerjs-pro/exchange-client','1157128EXtsPv','117ccWSMM','The\x20exchange\x20service\x20is\x20not\x20available','521627TiZhmN','143312qBwpVj','_injector','UNRECOGNIZED','importXLSXToUnitIdAsync','exportXLSXBySnapshot','UNIVER_PROJECT','UNIVER_SHEET','importDOCXToSnapshot','2510240jvSlbg','exportXLSXByUnitId','844011CbZydh','importFileToUnitId','1731117XfQKaQ','exportXLSXByUnitIdAsync','importDOCXToUnitIdAsync','IExchangeService','UNIVER_UNKNOWN','UNIVER_SLIDE','importDOCXToSnapshotAsync','UNIVER_DOC','importXLSXToSnapshotAsync','extend','@univerjs/core/facade','get'];_0x4e6d=function(){return _0x2857b4;};return _0x4e6d();}class c extends i[_0x1bf716(0x16c)]{async['importXLSXToUnitId'](_0x2f46ea){const _0x1c803a=_0x1bf716;return this[_0x1c803a(0x154)](_0x2f46ea);}async[_0x1bf716(0x154)](_0x16e8b5){const _0x32d6a4=_0x1bf716,_0x2348de=this[_0x32d6a4(0x152)][_0x32d6a4(0x168)](r[_0x32d6a4(0x160)]);if(!_0x2348de)throw new Error(_0x32d6a4(0x171));return _0x2348de['importFileToUnitId'](_0x16e8b5,o[_0x32d6a4(0x157)]);}async[_0x1bf716(0x16a)](_0x496f31){const _0x23fb38=_0x1bf716;return this[_0x23fb38(0x165)](_0x496f31);}async['importXLSXToSnapshotAsync'](_0xcc3f05){const _0x5e5670=_0x1bf716,_0x10ddab=this[_0x5e5670(0x152)][_0x5e5670(0x168)](r[_0x5e5670(0x160)]);if(!_0x10ddab)throw new Error(_0x5e5670(0x171));return _0x10ddab[_0x5e5670(0x16a)](_0xcc3f05);}async[_0x1bf716(0x15a)](_0x16e524){const _0x3aea6e=_0x1bf716;return this[_0x3aea6e(0x15e)](_0x16e524);}async[_0x1bf716(0x15e)](_0x44b3d1){const _0x37dbbf=_0x1bf716,_0x265c59=this[_0x37dbbf(0x152)][_0x37dbbf(0x168)](r['IExchangeService']);if(!_0x265c59)throw new Error(_0x37dbbf(0x171));return _0x265c59['exportXLSXByUnitId'](_0x44b3d1);}async[_0x1bf716(0x155)](_0x211706){const _0x41aa8c=_0x1bf716;return this[_0x41aa8c(0x16d)](_0x211706);}async['exportXLSXBySnapshotAsync'](_0x28c125){const _0x50b839=_0x1bf716,_0xa10282=this['_injector'][_0x50b839(0x168)](r[_0x50b839(0x160)]);if(!_0xa10282)throw new Error(_0x50b839(0x171));return _0xa10282['exportXLSXBySnapshot'](_0x28c125);}async['importDOCXToUnitId'](_0x165c45){return this['importDOCXToUnitIdAsync'](_0x165c45);}async[_0x1bf716(0x15f)](_0x466953){const _0x291ff8=_0x1bf716,_0x1f54f9=this[_0x291ff8(0x152)][_0x291ff8(0x168)](r[_0x291ff8(0x160)]);if(!_0x1f54f9)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1f54f9[_0x291ff8(0x15c)](_0x466953,o[_0x291ff8(0x164)]);}async[_0x1bf716(0x158)](_0x1eb01b){const _0x555674=_0x1bf716;return this[_0x555674(0x163)](_0x1eb01b);}async[_0x1bf716(0x163)](_0xf60088){const _0x328636=_0x1bf716,_0xdde8c4=this[_0x328636(0x152)][_0x328636(0x168)](r[_0x328636(0x160)]);if(!_0xdde8c4)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xdde8c4[_0x328636(0x158)](_0xf60088);}}i[_0x1bf716(0x16c)][_0x1bf716(0x166)](c);
1
+ 'use strict';function _0x16c6(_0x56a648,_0x5003a9){const _0x10404b=_0x1040();return _0x16c6=function(_0x16c649,_0x21b61b){_0x16c649=_0x16c649-0xc6;let _0x5642ca=_0x10404b[_0x16c649];return _0x5642ca;},_0x16c6(_0x56a648,_0x5003a9);}const _0x569d5b=_0x16c6;function _0x1040(){const _0x4df0fc=['UNIVER_SLIDE','exportXLSXByUnitIdAsync','exportXLSXByUnitId','UNIVER_SHEET','extend','FUniver','importFileToUnitId','60538iGFmxQ','146790ZDNThz','41IDeBDU','@univerjs-pro/exchange-client','importXLSXToSnapshotAsync','importDOCXToSnapshot','@univerjs/core/facade','24iLlCfO','The\x20exchange\x20service\x20is\x20not\x20available','2539565bDFoDT','importDOCXToSnapshotAsync','exportXLSXBySnapshot','4476535yKIuwb','6BNjoEH','importDOCXToUnitId','exportXLSXBySnapshotAsync','630JiWfWX','152140EMNfrK','2321976UkYiNE','get','_injector','UNRECOGNIZED','importXLSXToUnitIdAsync','importDOCXToUnitIdAsync','29778441rJNJMV','UNIVER_DOC','IExchangeService'];_0x1040=function(){return _0x4df0fc;};return _0x1040();}(function(_0x46b1f5,_0x703494){const _0x4328d6=_0x16c6,_0x40520b=_0x46b1f5();while(!![]){try{const _0x177e86=parseInt(_0x4328d6(0xc8))/0x1*(parseInt(_0x4328d6(0xc6))/0x2)+parseInt(_0x4328d6(0xcd))/0x3*(parseInt(_0x4328d6(0xd7))/0x4)+parseInt(_0x4328d6(0xcf))/0x5*(parseInt(_0x4328d6(0xd3))/0x6)+parseInt(_0x4328d6(0xd2))/0x7+-parseInt(_0x4328d6(0xd8))/0x8+parseInt(_0x4328d6(0xc7))/0x9*(parseInt(_0x4328d6(0xd6))/0xa)+-parseInt(_0x4328d6(0xde))/0xb;if(_0x177e86===_0x703494)break;else _0x40520b['push'](_0x40520b['shift']());}catch(_0x23eee2){_0x40520b['push'](_0x40520b['shift']());}}}(_0x1040,0xb07bf));const r=require(_0x569d5b(0xc9)),i=require(_0x569d5b(0xcc));var o=(_0x317e6e=>(_0x317e6e[_0x317e6e['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x317e6e[_0x317e6e[_0x569d5b(0xdf)]=0x1]=_0x569d5b(0xdf),_0x317e6e[_0x317e6e[_0x569d5b(0xe4)]=0x2]=_0x569d5b(0xe4),_0x317e6e[_0x317e6e[_0x569d5b(0xe1)]=0x3]=_0x569d5b(0xe1),_0x317e6e[_0x317e6e['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0x317e6e[_0x317e6e[_0x569d5b(0xdb)]=-0x1]=_0x569d5b(0xdb),_0x317e6e))(o||{});class c extends i[_0x569d5b(0xe6)]{async['importXLSXToUnitId'](_0x71d8a6){const _0x2d1057=_0x569d5b;return this[_0x2d1057(0xdc)](_0x71d8a6);}async['importXLSXToUnitIdAsync'](_0x915c64){const _0x50d410=_0x569d5b,_0x468408=this[_0x50d410(0xda)][_0x50d410(0xd9)](r[_0x50d410(0xe0)]);if(!_0x468408)throw new Error(_0x50d410(0xce));return _0x468408[_0x50d410(0xe7)](_0x915c64,o[_0x50d410(0xe4)]);}async['importXLSXToSnapshot'](_0x5455ef){const _0x1abca9=_0x569d5b;return this[_0x1abca9(0xca)](_0x5455ef);}async[_0x569d5b(0xca)](_0x31fded){const _0x2a76bf=_0x569d5b,_0x52372e=this['_injector']['get'](r[_0x2a76bf(0xe0)]);if(!_0x52372e)throw new Error(_0x2a76bf(0xce));return _0x52372e['importXLSXToSnapshot'](_0x31fded);}async[_0x569d5b(0xe3)](_0x156eab){const _0x20d5b1=_0x569d5b;return this[_0x20d5b1(0xe2)](_0x156eab);}async[_0x569d5b(0xe2)](_0x1f1458){const _0x5dd066=_0x569d5b,_0x5fc42e=this[_0x5dd066(0xda)][_0x5dd066(0xd9)](r[_0x5dd066(0xe0)]);if(!_0x5fc42e)throw new Error(_0x5dd066(0xce));return _0x5fc42e[_0x5dd066(0xe3)](_0x1f1458);}async[_0x569d5b(0xd1)](_0x454ec6){const _0x4497eb=_0x569d5b;return this[_0x4497eb(0xd5)](_0x454ec6);}async[_0x569d5b(0xd5)](_0x11f56b){const _0x21ea48=_0x569d5b,_0x2e23f6=this['_injector'][_0x21ea48(0xd9)](r[_0x21ea48(0xe0)]);if(!_0x2e23f6)throw new Error(_0x21ea48(0xce));return _0x2e23f6[_0x21ea48(0xd1)](_0x11f56b);}async[_0x569d5b(0xd4)](_0x4a6790){const _0x18227b=_0x569d5b;return this[_0x18227b(0xdd)](_0x4a6790);}async['importDOCXToUnitIdAsync'](_0x55984c){const _0x51b86f=_0x569d5b,_0x370893=this[_0x51b86f(0xda)][_0x51b86f(0xd9)](r['IExchangeService']);if(!_0x370893)throw new Error(_0x51b86f(0xce));return _0x370893[_0x51b86f(0xe7)](_0x55984c,o[_0x51b86f(0xdf)]);}async[_0x569d5b(0xcb)](_0x526e2f){const _0x107adb=_0x569d5b;return this[_0x107adb(0xd0)](_0x526e2f);}async[_0x569d5b(0xd0)](_0x2bfb1c){const _0x208878=_0x569d5b,_0x393ba9=this[_0x208878(0xda)][_0x208878(0xd9)](r[_0x208878(0xe0)]);if(!_0x393ba9)throw new Error(_0x208878(0xce));return _0x393ba9[_0x208878(0xcb)](_0x2bfb1c);}}i[_0x569d5b(0xe6)][_0x569d5b(0xe5)](c);