@univerjs-pro/exchange-client 0.10.8 → 0.10.9

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 (52) 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 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  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 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  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 -1
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -1
  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/controllers/config.schema.d.ts +7 -0
  38. package/lib/types/services/exchange.service.d.ts +1 -0
  39. package/lib/types/services/request.service.d.ts +4 -2
  40. package/lib/umd/facade.js +1 -1
  41. package/lib/umd/index.js +2 -2
  42. package/lib/umd/locale/ca-ES.js +1 -1
  43. package/lib/umd/locale/en-US.js +1 -1
  44. package/lib/umd/locale/es-ES.js +1 -1
  45. package/lib/umd/locale/fa-IR.js +1 -1
  46. package/lib/umd/locale/fr-FR.js +1 -1
  47. package/lib/umd/locale/ko-KR.js +1 -1
  48. package/lib/umd/locale/ru-RU.js +1 -1
  49. package/lib/umd/locale/vi-VN.js +1 -1
  50. package/lib/umd/locale/zh-CN.js +1 -1
  51. package/lib/umd/locale/zh-TW.js +1 -1
  52. package/package.json +9 -9
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x478050=_0x312f;function _0xb304(){const _0x2734bf=['772572KJpmig','14ZsVxuh','IExchangeService','UNIVER_DOC','exportXLSXByUnitId','532449QcauHN','798470kOKfAD','get','UNIVER_SHEET','importXLSXToSnapshot','FUniver','importDOCXToSnapshotAsync','exportXLSXBySnapshot','exportDOCXBySnapshot','UNIVER_SLIDE','UNIVER_UNKNOWN','importXLSXToSnapshotAsync','1500kUdBRs','572931QskTCs','exportDOCXByUnitIdAsync','12183010RnljMz','UNIVER_PROJECT','64sMXcvK','exportXLSXByUnitIdAsync','exportXLSXBySnapshotAsync','importFileToUnitId','1290FWbJKf','importXLSXToUnitId','importXLSXToUnitIdAsync','UNRECOGNIZED','_injector','11BoaYdE','importDOCXToSnapshot','The\x20exchange\x20service\x20is\x20not\x20available','exportDOCXBySnapshotAsync','1321770ZDuUnM'];_0xb304=function(){return _0x2734bf;};return _0xb304();}(function(_0x3bb479,_0x4745e1){const _0x4ed1c2=_0x312f,_0x6db0ac=_0x3bb479();while(!![]){try{const _0x25dc46=-parseInt(_0x4ed1c2(0xc0))/0x1+parseInt(_0x4ed1c2(0xc8))/0x2*(-parseInt(_0x4ed1c2(0xbf))/0x3)+-parseInt(_0x4ed1c2(0xae))/0x4+parseInt(_0x4ed1c2(0xb4))/0x5+parseInt(_0x4ed1c2(0xad))/0x6*(-parseInt(_0x4ed1c2(0xaf))/0x7)+-parseInt(_0x4ed1c2(0xc4))/0x8*(-parseInt(_0x4ed1c2(0xb3))/0x9)+-parseInt(_0x4ed1c2(0xc2))/0xa*(-parseInt(_0x4ed1c2(0xcd))/0xb);if(_0x25dc46===_0x4745e1)break;else _0x6db0ac['push'](_0x6db0ac['shift']());}catch(_0xac858e){_0x6db0ac['push'](_0x6db0ac['shift']());}}}(_0xb304,0x4ea47));function _0x312f(_0x2cd44a,_0x121362){const _0xb3043b=_0xb304();return _0x312f=function(_0x312ff,_0x1970f5){_0x312ff=_0x312ff-0xac;let _0x2fb1a4=_0xb3043b[_0x312ff];return _0x2fb1a4;},_0x312f(_0x2cd44a,_0x121362);}const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x121626=>(_0x121626[_0x121626[_0x478050(0xbd)]=0x0]='UNIVER_UNKNOWN',_0x121626[_0x121626[_0x478050(0xb1)]=0x1]=_0x478050(0xb1),_0x121626[_0x121626[_0x478050(0xb6)]=0x2]=_0x478050(0xb6),_0x121626[_0x121626[_0x478050(0xbc)]=0x3]=_0x478050(0xbc),_0x121626[_0x121626['UNIVER_PROJECT']=0x4]=_0x478050(0xc3),_0x121626[_0x121626[_0x478050(0xcb)]=-0x1]=_0x478050(0xcb),_0x121626))(i||{});class c extends o[_0x478050(0xb8)]{async[_0x478050(0xc9)](_0x544ff3){const _0x24c510=_0x478050;return this[_0x24c510(0xca)](_0x544ff3);}async[_0x478050(0xca)](_0x4ade74){const _0x124031=_0x478050,_0x1ec956=this[_0x124031(0xcc)]['get'](r[_0x124031(0xb0)]);if(!_0x1ec956)throw new Error(_0x124031(0xcf));return _0x1ec956[_0x124031(0xc7)](_0x4ade74,i[_0x124031(0xb6)]);}async[_0x478050(0xb7)](_0x2f1402){const _0x19d2ec=_0x478050;return this[_0x19d2ec(0xbe)](_0x2f1402);}async[_0x478050(0xbe)](_0x325a58){const _0x1c6536=_0x478050,_0x24c419=this[_0x1c6536(0xcc)][_0x1c6536(0xb5)](r[_0x1c6536(0xb0)]);if(!_0x24c419)throw new Error(_0x1c6536(0xcf));return _0x24c419['importXLSXToSnapshot'](_0x325a58);}async[_0x478050(0xb2)](_0x5090e1){return this['exportXLSXByUnitIdAsync'](_0x5090e1);}async[_0x478050(0xc5)](_0x49edbc){const _0x42878f=_0x478050,_0x23e19e=this[_0x42878f(0xcc)][_0x42878f(0xb5)](r[_0x42878f(0xb0)]);if(!_0x23e19e)throw new Error(_0x42878f(0xcf));return _0x23e19e[_0x42878f(0xb2)](_0x49edbc);}async['exportXLSXBySnapshot'](_0x512450){const _0x241706=_0x478050;return this[_0x241706(0xc6)](_0x512450);}async[_0x478050(0xc6)](_0x298ccb){const _0x5d2733=_0x478050,_0x44378e=this['_injector'][_0x5d2733(0xb5)](r['IExchangeService']);if(!_0x44378e)throw new Error(_0x5d2733(0xcf));return _0x44378e[_0x5d2733(0xba)](_0x298ccb);}async['importDOCXToUnitId'](_0x3765ba){return this['importDOCXToUnitIdAsync'](_0x3765ba);}async['importDOCXToUnitIdAsync'](_0x50c56e){const _0x12d20b=_0x478050,_0x20f702=this[_0x12d20b(0xcc)][_0x12d20b(0xb5)](r['IExchangeService']);if(!_0x20f702)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x20f702[_0x12d20b(0xc7)](_0x50c56e,i['UNIVER_DOC']);}async[_0x478050(0xce)](_0x553e82){const _0x48ab84=_0x478050;return this[_0x48ab84(0xb9)](_0x553e82);}async[_0x478050(0xb9)](_0x2cc48c){const _0x4ec1f=_0x478050,_0x9f9f07=this[_0x4ec1f(0xcc)][_0x4ec1f(0xb5)](r[_0x4ec1f(0xb0)]);if(!_0x9f9f07)throw new Error(_0x4ec1f(0xcf));return _0x9f9f07[_0x4ec1f(0xce)](_0x2cc48c);}async[_0x478050(0xac)](_0x5a6218){const _0xfcaaeb=_0x478050,_0x271c78=this[_0xfcaaeb(0xcc)]['get'](r[_0xfcaaeb(0xb0)]);if(!_0x271c78)throw new Error(_0xfcaaeb(0xcf));return _0x271c78[_0xfcaaeb(0xbb)](_0x5a6218);}async[_0x478050(0xc1)](_0x959c0f){const _0x76e82=_0x478050,_0x303813=this[_0x76e82(0xcc)][_0x76e82(0xb5)](r[_0x76e82(0xb0)]);if(!_0x303813)throw new Error(_0x76e82(0xcf));return _0x303813['exportDOCXByUnitId'](_0x959c0f);}}o[_0x478050(0xb8)]['extend'](c);
1
+ 'use strict';const _0x2eb1b7=_0x3d0e;(function(_0x983d80,_0x344c8a){const _0x22c61f=_0x3d0e,_0x200251=_0x983d80();while(!![]){try{const _0x66f9df=-parseInt(_0x22c61f(0xc9))/0x1*(parseInt(_0x22c61f(0xc4))/0x2)+-parseInt(_0x22c61f(0xd3))/0x3+parseInt(_0x22c61f(0xc1))/0x4*(-parseInt(_0x22c61f(0xd7))/0x5)+parseInt(_0x22c61f(0xc8))/0x6+parseInt(_0x22c61f(0xd0))/0x7+parseInt(_0x22c61f(0xc6))/0x8+-parseInt(_0x22c61f(0xc0))/0x9;if(_0x66f9df===_0x344c8a)break;else _0x200251['push'](_0x200251['shift']());}catch(_0x57233e){_0x200251['push'](_0x200251['shift']());}}}(_0x1acc,0x5fad9));function _0x3d0e(_0x1d11d6,_0x4bcb29){const _0x1accf0=_0x1acc();return _0x3d0e=function(_0x3d0e15,_0x3e8cc1){_0x3d0e15=_0x3d0e15-0xbf;let _0x3f72ed=_0x1accf0[_0x3d0e15];return _0x3f72ed;},_0x3d0e(_0x1d11d6,_0x4bcb29);}const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x1d0e46=>(_0x1d0e46[_0x1d0e46[_0x2eb1b7(0xd2)]=0x0]=_0x2eb1b7(0xd2),_0x1d0e46[_0x1d0e46[_0x2eb1b7(0xdd)]=0x1]=_0x2eb1b7(0xdd),_0x1d0e46[_0x1d0e46['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x1d0e46[_0x1d0e46[_0x2eb1b7(0xd5)]=0x3]=_0x2eb1b7(0xd5),_0x1d0e46[_0x1d0e46[_0x2eb1b7(0xc3)]=0x4]=_0x2eb1b7(0xc3),_0x1d0e46[_0x1d0e46[_0x2eb1b7(0xcf)]=-0x1]='UNRECOGNIZED',_0x1d0e46))(i||{});class c extends o[_0x2eb1b7(0xe0)]{async['importXLSXToUnitId'](_0x100afe){const _0x57569c=_0x2eb1b7;return this[_0x57569c(0xdb)](_0x100afe);}async[_0x2eb1b7(0xdb)](_0x257988){const _0x3f173e=_0x2eb1b7,_0x3105a9=this[_0x3f173e(0xce)][_0x3f173e(0xdc)](r['IExchangeService']);if(!_0x3105a9)throw new Error(_0x3f173e(0xd1));return _0x3105a9[_0x3f173e(0xca)](_0x257988,i['UNIVER_SHEET']);}async['importXLSXToSnapshot'](_0x449fa5){const _0x551e09=_0x2eb1b7;return this[_0x551e09(0xcc)](_0x449fa5);}async[_0x2eb1b7(0xcc)](_0x37ebee){const _0x33602a=_0x2eb1b7,_0x571784=this[_0x33602a(0xce)][_0x33602a(0xdc)](r['IExchangeService']);if(!_0x571784)throw new Error(_0x33602a(0xd1));return _0x571784[_0x33602a(0xcb)](_0x37ebee);}async[_0x2eb1b7(0xd8)](_0x4bf0f1){return this['exportXLSXByUnitIdAsync'](_0x4bf0f1);}async[_0x2eb1b7(0xc5)](_0x476f4b){const _0x415e7a=_0x2eb1b7,_0x332e75=this[_0x415e7a(0xce)][_0x415e7a(0xdc)](r[_0x415e7a(0xde)]);if(!_0x332e75)throw new Error(_0x415e7a(0xd1));return _0x332e75[_0x415e7a(0xd8)](_0x476f4b);}async[_0x2eb1b7(0xc2)](_0x5d64da){const _0x182761=_0x2eb1b7;return this[_0x182761(0xda)](_0x5d64da);}async[_0x2eb1b7(0xda)](_0x508fb6){const _0x40b1da=_0x2eb1b7,_0x4a9955=this[_0x40b1da(0xce)][_0x40b1da(0xdc)](r[_0x40b1da(0xde)]);if(!_0x4a9955)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4a9955['exportXLSXBySnapshot'](_0x508fb6);}async['importDOCXToUnitId'](_0x17d482){return this['importDOCXToUnitIdAsync'](_0x17d482);}async[_0x2eb1b7(0xcd)](_0x3d68ad){const _0x47d5bb=_0x2eb1b7,_0x2f7eda=this[_0x47d5bb(0xce)][_0x47d5bb(0xdc)](r[_0x47d5bb(0xde)]);if(!_0x2f7eda)throw new Error(_0x47d5bb(0xd1));return _0x2f7eda[_0x47d5bb(0xca)](_0x3d68ad,i[_0x47d5bb(0xdd)]);}async[_0x2eb1b7(0xdf)](_0x58d073){return this['importDOCXToSnapshotAsync'](_0x58d073);}async['importDOCXToSnapshotAsync'](_0x437d6c){const _0x1cc0c0=_0x2eb1b7,_0x2eb104=this[_0x1cc0c0(0xce)][_0x1cc0c0(0xdc)](r[_0x1cc0c0(0xde)]);if(!_0x2eb104)throw new Error(_0x1cc0c0(0xd1));return _0x2eb104['importDOCXToSnapshot'](_0x437d6c);}async[_0x2eb1b7(0xc7)](_0x2f9256){const _0x23e2d6=_0x2eb1b7,_0x2a62f1=this[_0x23e2d6(0xce)]['get'](r[_0x23e2d6(0xde)]);if(!_0x2a62f1)throw new Error(_0x23e2d6(0xd1));return _0x2a62f1[_0x23e2d6(0xd9)](_0x2f9256);}async[_0x2eb1b7(0xbf)](_0x854ad7){const _0x3c8b5a=_0x2eb1b7,_0x30182d=this[_0x3c8b5a(0xce)][_0x3c8b5a(0xdc)](r[_0x3c8b5a(0xde)]);if(!_0x30182d)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x30182d[_0x3c8b5a(0xd6)](_0x854ad7);}}o[_0x2eb1b7(0xe0)][_0x2eb1b7(0xd4)](c);function _0x1acc(){const _0x4d32b6=['importXLSXToUnitIdAsync','get','UNIVER_DOC','IExchangeService','importDOCXToSnapshot','FUniver','exportDOCXByUnitIdAsync','1361043wJFVxx','92PtqZSQ','exportXLSXBySnapshot','UNIVER_PROJECT','42ftGNet','exportXLSXByUnitIdAsync','4658024FzYHvI','exportDOCXBySnapshotAsync','3520686QcTxhB','9575xqPTWu','importFileToUnitId','importXLSXToSnapshot','importXLSXToSnapshotAsync','importDOCXToUnitIdAsync','_injector','UNRECOGNIZED','4271771UfhKCJ','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_UNKNOWN','1865403eqmmRu','extend','UNIVER_SLIDE','exportDOCXByUnitId','89845LqYKNr','exportXLSXByUnitId','exportDOCXBySnapshot','exportXLSXBySnapshotAsync'];_0x1acc=function(){return _0x4d32b6;};return _0x1acc();}