@univerjs-pro/exchange-client 0.8.0 → 0.8.1-nightly.202506131607

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 (44) 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 +10 -0
  29. package/lib/types/facade/f-univer.d.ts +6 -0
  30. package/lib/types/locale/en-US.d.ts +1 -0
  31. package/lib/types/services/exchange.service.d.ts +5 -2
  32. package/lib/types/services/operate.service.d.ts +1 -1
  33. package/lib/types/services/request.service.d.ts +2 -0
  34. package/lib/types/services/utils/tool.d.ts +3 -2
  35. package/lib/umd/facade.js +1 -1
  36. package/lib/umd/index.js +2 -2
  37. package/lib/umd/locale/en-US.js +1 -1
  38. package/lib/umd/locale/fa-IR.js +1 -1
  39. package/lib/umd/locale/fr-FR.js +1 -1
  40. package/lib/umd/locale/ru-RU.js +1 -1
  41. package/lib/umd/locale/vi-VN.js +1 -1
  42. package/lib/umd/locale/zh-CN.js +1 -1
  43. package/lib/umd/locale/zh-TW.js +1 -1
  44. package/package.json +10 -10
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x1709a9=_0x1cc2;(function(_0x468b5f,_0x1eee2e){const _0x374d43=_0x1cc2,_0x106426=_0x468b5f();while(!![]){try{const _0x1299b5=-parseInt(_0x374d43(0xd5))/0x1*(-parseInt(_0x374d43(0xf0))/0x2)+-parseInt(_0x374d43(0xe8))/0x3+parseInt(_0x374d43(0xcf))/0x4*(parseInt(_0x374d43(0xe9))/0x5)+parseInt(_0x374d43(0xd2))/0x6*(parseInt(_0x374d43(0xd3))/0x7)+parseInt(_0x374d43(0xe0))/0x8*(-parseInt(_0x374d43(0xe3))/0x9)+-parseInt(_0x374d43(0xd4))/0xa*(-parseInt(_0x374d43(0xd7))/0xb)+-parseInt(_0x374d43(0xed))/0xc;if(_0x1299b5===_0x1eee2e)break;else _0x106426['push'](_0x106426['shift']());}catch(_0x228ba2){_0x106426['push'](_0x106426['shift']());}}}(_0x47e4,0xd313c));function _0x1cc2(_0x586c8f,_0x1ea88b){const _0x47e409=_0x47e4();return _0x1cc2=function(_0x1cc2ba,_0x166a1c){_0x1cc2ba=_0x1cc2ba-0xcd;let _0x4b9b87=_0x47e409[_0x1cc2ba];return _0x4b9b87;},_0x1cc2(_0x586c8f,_0x1ea88b);}function _0x47e4(){const _0x142379=['3027454uqRKby','The\x20exchange\x20service\x20is\x20not\x20available','extend','UNIVER_SLIDE','exportDOCXByUnitId','UNRECOGNIZED','importDOCXToUnitIdAsync','2415932vPQtSH','exportXLSXByUnitIdAsync','importDOCXToSnapshotAsync','6037686DbsojS','7OGVUKz','650bFgKkn','1ybBhXp','exportDOCXByUnitIdAsync','141823cmPJCA','importDOCXToSnapshot','importXLSXToUnitIdAsync','importXLSXToSnapshotAsync','get','FUniver','_injector','importDOCXToUnitId','importXLSXToUnitId','109864eSTLYp','UNIVER_SHEET','exportXLSXByUnitId','909FEyFfv','UNIVER_UNKNOWN','UNIVER_DOC','IExchangeService','UNIVER_PROJECT','2730924PUVrfx','5Dmermo','importFileToUnitId','exportXLSXBySnapshotAsync','importXLSXToSnapshot','9601476AeOBEG','@univerjs/core/facade','exportDOCXBySnapshot'];_0x47e4=function(){return _0x142379;};return _0x47e4();}const r=require('@univerjs-pro/exchange-client'),o=require(_0x1709a9(0xee));var i=(_0x3e92f3=>(_0x3e92f3[_0x3e92f3['UNIVER_UNKNOWN']=0x0]=_0x1709a9(0xe4),_0x3e92f3[_0x3e92f3[_0x1709a9(0xe5)]=0x1]='UNIVER_DOC',_0x3e92f3[_0x3e92f3[_0x1709a9(0xe1)]=0x2]='UNIVER_SHEET',_0x3e92f3[_0x3e92f3[_0x1709a9(0xf3)]=0x3]=_0x1709a9(0xf3),_0x3e92f3[_0x3e92f3['UNIVER_PROJECT']=0x4]=_0x1709a9(0xe7),_0x3e92f3[_0x3e92f3['UNRECOGNIZED']=-0x1]=_0x1709a9(0xcd),_0x3e92f3))(i||{});class c extends o[_0x1709a9(0xdc)]{async[_0x1709a9(0xdf)](_0x48b238){const _0x4319f8=_0x1709a9;return this[_0x4319f8(0xd9)](_0x48b238);}async[_0x1709a9(0xd9)](_0x322cb1){const _0x32737e=_0x1709a9,_0x2a35d7=this[_0x32737e(0xdd)]['get'](r[_0x32737e(0xe6)]);if(!_0x2a35d7)throw new Error(_0x32737e(0xf1));return _0x2a35d7[_0x32737e(0xea)](_0x322cb1,i[_0x32737e(0xe1)]);}async['importXLSXToSnapshot'](_0x258970){const _0x23bfeb=_0x1709a9;return this[_0x23bfeb(0xda)](_0x258970);}async[_0x1709a9(0xda)](_0x3997b3){const _0x5566a0=_0x1709a9,_0x3c80e9=this[_0x5566a0(0xdd)][_0x5566a0(0xdb)](r[_0x5566a0(0xe6)]);if(!_0x3c80e9)throw new Error(_0x5566a0(0xf1));return _0x3c80e9[_0x5566a0(0xec)](_0x3997b3);}async['exportXLSXByUnitId'](_0x19aeb5){const _0x3a9165=_0x1709a9;return this[_0x3a9165(0xd0)](_0x19aeb5);}async['exportXLSXByUnitIdAsync'](_0xedd2fa){const _0x5e6a96=_0x1709a9,_0x1c6f27=this[_0x5e6a96(0xdd)][_0x5e6a96(0xdb)](r[_0x5e6a96(0xe6)]);if(!_0x1c6f27)throw new Error(_0x5e6a96(0xf1));return _0x1c6f27[_0x5e6a96(0xe2)](_0xedd2fa);}async['exportXLSXBySnapshot'](_0xff870a){const _0x1eb911=_0x1709a9;return this[_0x1eb911(0xeb)](_0xff870a);}async['exportXLSXBySnapshotAsync'](_0x229961){const _0x10349f=_0x1709a9,_0xe25419=this[_0x10349f(0xdd)][_0x10349f(0xdb)](r[_0x10349f(0xe6)]);if(!_0xe25419)throw new Error(_0x10349f(0xf1));return _0xe25419['exportXLSXBySnapshot'](_0x229961);}async[_0x1709a9(0xde)](_0x307533){return this['importDOCXToUnitIdAsync'](_0x307533);}async[_0x1709a9(0xce)](_0x5acf39){const _0x2b801f=_0x1709a9,_0x37b676=this[_0x2b801f(0xdd)]['get'](r[_0x2b801f(0xe6)]);if(!_0x37b676)throw new Error(_0x2b801f(0xf1));return _0x37b676[_0x2b801f(0xea)](_0x5acf39,i[_0x2b801f(0xe5)]);}async[_0x1709a9(0xd8)](_0x4aef82){const _0x233361=_0x1709a9;return this[_0x233361(0xd1)](_0x4aef82);}async[_0x1709a9(0xd1)](_0x4a2dcb){const _0xb7a0e=_0x1709a9,_0x569345=this[_0xb7a0e(0xdd)][_0xb7a0e(0xdb)](r[_0xb7a0e(0xe6)]);if(!_0x569345)throw new Error(_0xb7a0e(0xf1));return _0x569345[_0xb7a0e(0xd8)](_0x4a2dcb);}async['exportDOCXBySnapshotAsync'](_0x52f21c){const _0x2bb049=_0x1709a9,_0x1307de=this['_injector'][_0x2bb049(0xdb)](r[_0x2bb049(0xe6)]);if(!_0x1307de)throw new Error(_0x2bb049(0xf1));return _0x1307de[_0x2bb049(0xef)](_0x52f21c);}async[_0x1709a9(0xd6)](_0x220a0d){const _0x4fede3=_0x1709a9,_0x4ac4ca=this[_0x4fede3(0xdd)]['get'](r[_0x4fede3(0xe6)]);if(!_0x4ac4ca)throw new Error(_0x4fede3(0xf1));return _0x4ac4ca[_0x4fede3(0xf4)](_0x220a0d);}}o[_0x1709a9(0xdc)][_0x1709a9(0xf2)](c);
1
+ 'use strict';function _0x33bf(){const _0x588caf=['45339DXhcyO','82388VKBtuZ','UNIVER_PROJECT','importDOCXToUnitIdAsync','importXLSXToSnapshotAsync','UNRECOGNIZED','UNIVER_SLIDE','importDOCXToSnapshot','UNIVER_SHEET','importXLSXToUnitIdAsync','@univerjs/core/facade','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXByUnitId','exportDOCXByUnitIdAsync','importFileToUnitId','importDOCXToSnapshotAsync','2328845Axvxzw','2701536VUKJKN','FUniver','exportXLSXBySnapshot','240xmAUoT','21701JugNfB','exportDOCXByUnitId','importXLSXToSnapshot','UNIVER_UNKNOWN','3637712uegLnT','importDOCXToUnitId','_injector','239082lpAOcc','extend','exportXLSXBySnapshotAsync','get','UNIVER_DOC','IExchangeService'];_0x33bf=function(){return _0x588caf;};return _0x33bf();}const _0x1f2f24=_0x4e14;(function(_0x1da362,_0x3071c3){const _0x12f4bd=_0x4e14,_0x28b13c=_0x1da362();while(!![]){try{const _0x38d2e0=-parseInt(_0x12f4bd(0x86))/0x1+parseInt(_0x12f4bd(0x72))/0x2+-parseInt(_0x12f4bd(0x8d))/0x3+parseInt(_0x12f4bd(0x82))/0x4+-parseInt(_0x12f4bd(0x81))/0x5+-parseInt(_0x12f4bd(0x85))/0x6*(parseInt(_0x12f4bd(0x71))/0x7)+parseInt(_0x12f4bd(0x8a))/0x8;if(_0x38d2e0===_0x3071c3)break;else _0x28b13c['push'](_0x28b13c['shift']());}catch(_0x10cfae){_0x28b13c['push'](_0x28b13c['shift']());}}}(_0x33bf,0x543d8));function _0x4e14(_0x473248,_0x48a419){const _0x33bfd5=_0x33bf();return _0x4e14=function(_0x4e14bb,_0x32ac8f){_0x4e14bb=_0x4e14bb-0x6f;let _0x1512bb=_0x33bfd5[_0x4e14bb];return _0x1512bb;},_0x4e14(_0x473248,_0x48a419);}const r=require('@univerjs-pro/exchange-client'),o=require(_0x1f2f24(0x7b));var i=(_0x4d264b=>(_0x4d264b[_0x4d264b[_0x1f2f24(0x89)]=0x0]=_0x1f2f24(0x89),_0x4d264b[_0x4d264b[_0x1f2f24(0x6f)]=0x1]='UNIVER_DOC',_0x4d264b[_0x4d264b[_0x1f2f24(0x79)]=0x2]=_0x1f2f24(0x79),_0x4d264b[_0x4d264b['UNIVER_SLIDE']=0x3]=_0x1f2f24(0x77),_0x4d264b[_0x4d264b[_0x1f2f24(0x73)]=0x4]=_0x1f2f24(0x73),_0x4d264b[_0x4d264b[_0x1f2f24(0x76)]=-0x1]=_0x1f2f24(0x76),_0x4d264b))(i||{});class c extends o[_0x1f2f24(0x83)]{async['importXLSXToUnitId'](_0x4f5007){return this['importXLSXToUnitIdAsync'](_0x4f5007);}async[_0x1f2f24(0x7a)](_0x525486){const _0x431d57=_0x1f2f24,_0x20e350=this[_0x431d57(0x8c)][_0x431d57(0x90)](r[_0x431d57(0x70)]);if(!_0x20e350)throw new Error(_0x431d57(0x7c));return _0x20e350[_0x431d57(0x7f)](_0x525486,i[_0x431d57(0x79)]);}async[_0x1f2f24(0x88)](_0x4e4259){return this['importXLSXToSnapshotAsync'](_0x4e4259);}async[_0x1f2f24(0x75)](_0x529c32){const _0x5e6e75=_0x1f2f24,_0x11e65e=this[_0x5e6e75(0x8c)]['get'](r[_0x5e6e75(0x70)]);if(!_0x11e65e)throw new Error(_0x5e6e75(0x7c));return _0x11e65e['importXLSXToSnapshot'](_0x529c32);}async[_0x1f2f24(0x7d)](_0x47ae99){return this['exportXLSXByUnitIdAsync'](_0x47ae99);}async['exportXLSXByUnitIdAsync'](_0x49402){const _0x5ec42b=_0x1f2f24,_0x6f3fba=this[_0x5ec42b(0x8c)][_0x5ec42b(0x90)](r[_0x5ec42b(0x70)]);if(!_0x6f3fba)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x6f3fba[_0x5ec42b(0x7d)](_0x49402);}async[_0x1f2f24(0x84)](_0x40d550){const _0x568d94=_0x1f2f24;return this[_0x568d94(0x8f)](_0x40d550);}async[_0x1f2f24(0x8f)](_0x9c9a28){const _0x32830e=_0x1f2f24,_0x4e2459=this[_0x32830e(0x8c)][_0x32830e(0x90)](r[_0x32830e(0x70)]);if(!_0x4e2459)throw new Error(_0x32830e(0x7c));return _0x4e2459[_0x32830e(0x84)](_0x9c9a28);}async[_0x1f2f24(0x8b)](_0x325409){const _0x30f53e=_0x1f2f24;return this[_0x30f53e(0x74)](_0x325409);}async[_0x1f2f24(0x74)](_0x5bbc87){const _0x232292=_0x1f2f24,_0x4c7aa4=this[_0x232292(0x8c)][_0x232292(0x90)](r[_0x232292(0x70)]);if(!_0x4c7aa4)throw new Error(_0x232292(0x7c));return _0x4c7aa4[_0x232292(0x7f)](_0x5bbc87,i[_0x232292(0x6f)]);}async[_0x1f2f24(0x78)](_0x273dab){const _0x57f969=_0x1f2f24;return this[_0x57f969(0x80)](_0x273dab);}async[_0x1f2f24(0x80)](_0x15e438){const _0x5c9038=_0x1f2f24,_0x148064=this['_injector'][_0x5c9038(0x90)](r[_0x5c9038(0x70)]);if(!_0x148064)throw new Error(_0x5c9038(0x7c));return _0x148064['importDOCXToSnapshot'](_0x15e438);}async['exportDOCXBySnapshotAsync'](_0x521abd){const _0x1bc247=_0x1f2f24,_0xf0b37f=this['_injector']['get'](r[_0x1bc247(0x70)]);if(!_0xf0b37f)throw new Error(_0x1bc247(0x7c));return _0xf0b37f['exportDOCXBySnapshot'](_0x521abd);}async[_0x1f2f24(0x7e)](_0x36c2ff){const _0x2f87fd=_0x1f2f24,_0x30e604=this[_0x2f87fd(0x8c)][_0x2f87fd(0x90)](r['IExchangeService']);if(!_0x30e604)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x30e604[_0x2f87fd(0x87)](_0x36c2ff);}}o[_0x1f2f24(0x83)][_0x1f2f24(0x8e)](c);