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

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 +8 -8
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';const _0x54da9d=_0x3771;(function(_0x109816,_0x159178){const _0x52c3ce=_0x3771,_0x4394fa=_0x109816();while(!![]){try{const _0x4f891a=-parseInt(_0x52c3ce(0x106))/0x1*(parseInt(_0x52c3ce(0xe3))/0x2)+-parseInt(_0x52c3ce(0x105))/0x3*(-parseInt(_0x52c3ce(0x101))/0x4)+-parseInt(_0x52c3ce(0xfd))/0x5*(parseInt(_0x52c3ce(0xf0))/0x6)+parseInt(_0x52c3ce(0xe5))/0x7*(-parseInt(_0x52c3ce(0xf4))/0x8)+-parseInt(_0x52c3ce(0xf2))/0x9*(-parseInt(_0x52c3ce(0xde))/0xa)+-parseInt(_0x52c3ce(0xfe))/0xb*(-parseInt(_0x52c3ce(0xf8))/0xc)+-parseInt(_0x52c3ce(0xfa))/0xd;if(_0x4f891a===_0x159178)break;else _0x4394fa['push'](_0x4394fa['shift']());}catch(_0xf53554){_0x4394fa['push'](_0x4394fa['shift']());}}}(_0x178f,0x958e1));function _0x3771(_0x4e46a3,_0x4d3203){const _0x178fef=_0x178f();return _0x3771=function(_0x377137,_0x49bead){_0x377137=_0x377137-0xde;let _0x3d8f99=_0x178fef[_0x377137];return _0x3d8f99;},_0x3771(_0x4e46a3,_0x4d3203);}const r=require(_0x54da9d(0x100)),o=require(_0x54da9d(0xef));var i=(_0x3d06d9=>(_0x3d06d9[_0x3d06d9[_0x54da9d(0xed)]=0x0]=_0x54da9d(0xed),_0x3d06d9[_0x3d06d9['UNIVER_DOC']=0x1]=_0x54da9d(0xf7),_0x3d06d9[_0x3d06d9['UNIVER_SHEET']=0x2]=_0x54da9d(0xeb),_0x3d06d9[_0x3d06d9[_0x54da9d(0x103)]=0x3]=_0x54da9d(0x103),_0x3d06d9[_0x3d06d9[_0x54da9d(0xe1)]=0x4]=_0x54da9d(0xe1),_0x3d06d9[_0x3d06d9[_0x54da9d(0xf6)]=-0x1]='UNRECOGNIZED',_0x3d06d9))(i||{});class c extends o[_0x54da9d(0xf9)]{async['importXLSXToUnitId'](_0x2584eb){return this['importXLSXToUnitIdAsync'](_0x2584eb);}async[_0x54da9d(0xee)](_0x1b7ca8){const _0x39b7eb=_0x54da9d,_0x45d7a0=this['_injector']['get'](r['IExchangeService']);if(!_0x45d7a0)throw new Error(_0x39b7eb(0xfc));return _0x45d7a0['importFileToUnitId'](_0x1b7ca8,i[_0x39b7eb(0xeb)]);}async[_0x54da9d(0xe7)](_0x4bcce7){return this['importXLSXToSnapshotAsync'](_0x4bcce7);}async[_0x54da9d(0xff)](_0x509cb9){const _0x3fd1dc=_0x54da9d,_0x1c3a47=this[_0x3fd1dc(0x104)]['get'](r[_0x3fd1dc(0xdf)]);if(!_0x1c3a47)throw new Error(_0x3fd1dc(0xfc));return _0x1c3a47['importXLSXToSnapshot'](_0x509cb9);}async[_0x54da9d(0xec)](_0x25170d){const _0x2f78a7=_0x54da9d;return this[_0x2f78a7(0xfb)](_0x25170d);}async['exportXLSXByUnitIdAsync'](_0x2a46b9){const _0x5423e8=_0x54da9d,_0x5562a7=this[_0x5423e8(0x104)][_0x5423e8(0x102)](r[_0x5423e8(0xdf)]);if(!_0x5562a7)throw new Error(_0x5423e8(0xfc));return _0x5562a7['exportXLSXByUnitId'](_0x2a46b9);}async[_0x54da9d(0xea)](_0x6464cb){const _0x1e848c=_0x54da9d;return this[_0x1e848c(0xe2)](_0x6464cb);}async['exportXLSXBySnapshotAsync'](_0x622e38){const _0x3a11a2=_0x54da9d,_0xd5bdfd=this[_0x3a11a2(0x104)][_0x3a11a2(0x102)](r[_0x3a11a2(0xdf)]);if(!_0xd5bdfd)throw new Error(_0x3a11a2(0xfc));return _0xd5bdfd[_0x3a11a2(0xea)](_0x622e38);}async[_0x54da9d(0xe8)](_0x3ac5dd){return this['importDOCXToUnitIdAsync'](_0x3ac5dd);}async[_0x54da9d(0xe0)](_0x34f446){const _0x3cd94=_0x54da9d,_0x4626d3=this[_0x3cd94(0x104)]['get'](r[_0x3cd94(0xdf)]);if(!_0x4626d3)throw new Error(_0x3cd94(0xfc));return _0x4626d3[_0x3cd94(0xf1)](_0x34f446,i[_0x3cd94(0xf7)]);}async['importDOCXToSnapshot'](_0x13a997){const _0x1df4f7=_0x54da9d;return this[_0x1df4f7(0xf5)](_0x13a997);}async['importDOCXToSnapshotAsync'](_0x1cc7c9){const _0x52a8ef=_0x54da9d,_0x19401b=this[_0x52a8ef(0x104)][_0x52a8ef(0x102)](r['IExchangeService']);if(!_0x19401b)throw new Error(_0x52a8ef(0xfc));return _0x19401b[_0x52a8ef(0xf3)](_0x1cc7c9);}async[_0x54da9d(0xe6)](_0x53a548){const _0x1b97d6=_0x54da9d,_0x32885b=this['_injector'][_0x1b97d6(0x102)](r[_0x1b97d6(0xdf)]);if(!_0x32885b)throw new Error(_0x1b97d6(0xfc));return _0x32885b[_0x1b97d6(0xe9)](_0x53a548);}async[_0x54da9d(0xe4)](_0x990d8f){const _0x52843a=_0x54da9d,_0x4303a7=this[_0x52843a(0x104)][_0x52843a(0x102)](r['IExchangeService']);if(!_0x4303a7)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4303a7['exportDOCXByUnitId'](_0x990d8f);}}function _0x178f(){const _0x240118=['UNIVER_SHEET','exportXLSXByUnitId','UNIVER_UNKNOWN','importXLSXToUnitIdAsync','@univerjs/core/facade','18726grSvoW','importFileToUnitId','10161LdXJfx','importDOCXToSnapshot','16hmEWyD','importDOCXToSnapshotAsync','UNRECOGNIZED','UNIVER_DOC','3201372OiuNAV','FUniver','8422856zldkON','exportXLSXByUnitIdAsync','The\x20exchange\x20service\x20is\x20not\x20available','140GSZnUR','33zbcZYU','importXLSXToSnapshotAsync','@univerjs-pro/exchange-client','56QeQnfS','get','UNIVER_SLIDE','_injector','208167kvARov','413SCMmIH','9530urrfjy','IExchangeService','importDOCXToUnitIdAsync','UNIVER_PROJECT','exportXLSXBySnapshotAsync','1738SvMOIl','exportDOCXByUnitIdAsync','3993332lMwPtY','exportDOCXBySnapshotAsync','importXLSXToSnapshot','importDOCXToUnitId','exportDOCXBySnapshot','exportXLSXBySnapshot'];_0x178f=function(){return _0x240118;};return _0x178f();}o[_0x54da9d(0xf9)]['extend'](c);