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

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';const _0x8049fe=_0x8429;function _0x1a0f(){const _0xa56cd0=['@univerjs/core/facade','exportXLSXBySnapshot','exportXLSXByUnitIdAsync','get','UNIVER_SLIDE','6436085AnIfqf','importXLSXToSnapshot','@univerjs-pro/exchange-client','2512052xUHlYI','importFileToUnitId','importDOCXToSnapshotAsync','importXLSXToUnitIdAsync','importXLSXToSnapshotAsync','755262EoCmzv','extend','7ZeQYbG','1153189EKkToJ','exportXLSXByUnitId','_injector','exportXLSXBySnapshotAsync','UNIVER_SHEET','IExchangeService','UNIVER_PROJECT','FUniver','UNIVER_DOC','importDOCXToUnitIdAsync','UNRECOGNIZED','UNIVER_UNKNOWN','3705189ZCcScO','The\x20exchange\x20service\x20is\x20not\x20available','564070jsewUp','184YjJexU','5189586mvsYio'];_0x1a0f=function(){return _0xa56cd0;};return _0x1a0f();}(function(_0x36eec2,_0x40ec71){const _0x3d8e26=_0x8429,_0x3ed08e=_0x36eec2();while(!![]){try{const _0x43c8f8=-parseInt(_0x3d8e26(0xc9))/0x1+-parseInt(_0x3d8e26(0xd7))/0x2+parseInt(_0x3d8e26(0xd5))/0x3+parseInt(_0x3d8e26(0xc1))/0x4+parseInt(_0x3d8e26(0xbe))/0x5+parseInt(_0x3d8e26(0xd9))/0x6*(parseInt(_0x3d8e26(0xc8))/0x7)+-parseInt(_0x3d8e26(0xd8))/0x8*(parseInt(_0x3d8e26(0xc6))/0x9);if(_0x43c8f8===_0x40ec71)break;else _0x3ed08e['push'](_0x3ed08e['shift']());}catch(_0x42edce){_0x3ed08e['push'](_0x3ed08e['shift']());}}}(_0x1a0f,0x9ea9e));const r=require(_0x8049fe(0xc0)),i=require(_0x8049fe(0xda));var o=(_0x128c8f=>(_0x128c8f[_0x128c8f[_0x8049fe(0xd4)]=0x0]=_0x8049fe(0xd4),_0x128c8f[_0x128c8f[_0x8049fe(0xd1)]=0x1]=_0x8049fe(0xd1),_0x128c8f[_0x128c8f[_0x8049fe(0xcd)]=0x2]=_0x8049fe(0xcd),_0x128c8f[_0x128c8f[_0x8049fe(0xbd)]=0x3]=_0x8049fe(0xbd),_0x128c8f[_0x128c8f[_0x8049fe(0xcf)]=0x4]=_0x8049fe(0xcf),_0x128c8f[_0x128c8f[_0x8049fe(0xd3)]=-0x1]='UNRECOGNIZED',_0x128c8f))(o||{});class c extends i[_0x8049fe(0xd0)]{async['importXLSXToUnitId'](_0x24c370){return this['importXLSXToUnitIdAsync'](_0x24c370);}async[_0x8049fe(0xc4)](_0x356897){const _0x3c7b7b=_0x8049fe,_0x66a6ce=this['_injector'][_0x3c7b7b(0xdd)](r['IExchangeService']);if(!_0x66a6ce)throw new Error(_0x3c7b7b(0xd6));return _0x66a6ce[_0x3c7b7b(0xc2)](_0x356897,o[_0x3c7b7b(0xcd)]);}async[_0x8049fe(0xbf)](_0x22fa52){const _0x5e143d=_0x8049fe;return this[_0x5e143d(0xc5)](_0x22fa52);}async[_0x8049fe(0xc5)](_0x5ba9e8){const _0x131517=_0x8049fe,_0x10bc11=this['_injector'][_0x131517(0xdd)](r['IExchangeService']);if(!_0x10bc11)throw new Error(_0x131517(0xd6));return _0x10bc11[_0x131517(0xbf)](_0x5ba9e8);}async[_0x8049fe(0xca)](_0xac1996){return this['exportXLSXByUnitIdAsync'](_0xac1996);}async[_0x8049fe(0xdc)](_0x2a8fc6){const _0x54c7e7=_0x8049fe,_0x43e1c1=this[_0x54c7e7(0xcb)]['get'](r[_0x54c7e7(0xce)]);if(!_0x43e1c1)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x43e1c1['exportXLSXByUnitId'](_0x2a8fc6);}async[_0x8049fe(0xdb)](_0x51f494){return this['exportXLSXBySnapshotAsync'](_0x51f494);}async[_0x8049fe(0xcc)](_0x4c5dc7){const _0x23be55=_0x8049fe,_0x1cb8ee=this[_0x23be55(0xcb)][_0x23be55(0xdd)](r[_0x23be55(0xce)]);if(!_0x1cb8ee)throw new Error(_0x23be55(0xd6));return _0x1cb8ee[_0x23be55(0xdb)](_0x4c5dc7);}async['importDOCXToUnitId'](_0x40242e){const _0x1b9d37=_0x8049fe;return this[_0x1b9d37(0xd2)](_0x40242e);}async[_0x8049fe(0xd2)](_0x27c9cf){const _0x3e7fa1=_0x8049fe,_0x2e8b82=this[_0x3e7fa1(0xcb)][_0x3e7fa1(0xdd)](r[_0x3e7fa1(0xce)]);if(!_0x2e8b82)throw new Error(_0x3e7fa1(0xd6));return _0x2e8b82[_0x3e7fa1(0xc2)](_0x27c9cf,o[_0x3e7fa1(0xd1)]);}async['importDOCXToSnapshot'](_0x44b6a0){return this['importDOCXToSnapshotAsync'](_0x44b6a0);}async[_0x8049fe(0xc3)](_0x1e8646){const _0x4ce2f5=_0x8049fe,_0x428119=this[_0x4ce2f5(0xcb)][_0x4ce2f5(0xdd)](r['IExchangeService']);if(!_0x428119)throw new Error(_0x4ce2f5(0xd6));return _0x428119['importDOCXToSnapshot'](_0x1e8646);}}function _0x8429(_0x5611e0,_0x93e433){const _0x1a0f5a=_0x1a0f();return _0x8429=function(_0x84292c,_0x2bc5ee){_0x84292c=_0x84292c-0xbd;let _0x23e80c=_0x1a0f5a[_0x84292c];return _0x23e80c;},_0x8429(_0x5611e0,_0x93e433);}i[_0x8049fe(0xd0)][_0x8049fe(0xc7)](c);