@univerjs-pro/exchange-client 0.10.7 → 0.10.8-nightly.202509200616

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 _0x579c20=_0x4ca3;(function(_0x2ef2e8,_0x180fec){const _0x59928e=_0x4ca3,_0x587297=_0x2ef2e8();while(!![]){try{const _0x5c90b4=-parseInt(_0x59928e(0x106))/0x1*(-parseInt(_0x59928e(0xfc))/0x2)+-parseInt(_0x59928e(0x10b))/0x3+parseInt(_0x59928e(0xf8))/0x4+-parseInt(_0x59928e(0xf9))/0x5*(-parseInt(_0x59928e(0x101))/0x6)+-parseInt(_0x59928e(0x108))/0x7*(parseInt(_0x59928e(0x10f))/0x8)+-parseInt(_0x59928e(0xff))/0x9*(-parseInt(_0x59928e(0x115))/0xa)+parseInt(_0x59928e(0x117))/0xb;if(_0x5c90b4===_0x180fec)break;else _0x587297['push'](_0x587297['shift']());}catch(_0x147014){_0x587297['push'](_0x587297['shift']());}}}(_0xb1c8,0xa6ee1));function _0x4ca3(_0x5a71f9,_0x1646df){const _0xb1c84e=_0xb1c8();return _0x4ca3=function(_0x4ca3aa,_0x3849e6){_0x4ca3aa=_0x4ca3aa-0xf6;let _0x266408=_0xb1c84e[_0x4ca3aa];return _0x266408;},_0x4ca3(_0x5a71f9,_0x1646df);}const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');function _0xb1c8(){const _0x5426ec=['FUniver','importXLSXToUnitIdAsync','importXLSXToUnitId','IExchangeService','13mfdUzu','importDOCXToUnitId','21ovszQJ','importXLSXToSnapshotAsync','exportDOCXByUnitIdAsync','2368974xrGqPD','_injector','exportXLSXByUnitIdAsync','importDOCXToSnapshot','3466328XLXqpE','UNIVER_UNKNOWN','exportXLSXBySnapshotAsync','UNIVER_SHEET','importXLSXToSnapshot','exportDOCXBySnapshotAsync','20qaoXvT','importFileToUnitId','7419654BRBzKb','get','importDOCXToUnitIdAsync','2491036gwrIBp','6985UauxAs','UNIVER_PROJECT','exportDOCXBySnapshot','33344GclmPq','The\x20exchange\x20service\x20is\x20not\x20available','importDOCXToSnapshotAsync','543204qCHwdj','exportXLSXByUnitId','4890BsidoT'];_0xb1c8=function(){return _0x5426ec;};return _0xb1c8();}var i=(_0x49738=>(_0x49738[_0x49738[_0x579c20(0x110)]=0x0]=_0x579c20(0x110),_0x49738[_0x49738['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x49738[_0x49738[_0x579c20(0x112)]=0x2]=_0x579c20(0x112),_0x49738[_0x49738['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x49738[_0x49738['UNIVER_PROJECT']=0x4]=_0x579c20(0xfa),_0x49738[_0x49738['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x49738))(i||{});class c extends o[_0x579c20(0x102)]{async[_0x579c20(0x104)](_0x20d0e1){const _0x42679a=_0x579c20;return this[_0x42679a(0x103)](_0x20d0e1);}async[_0x579c20(0x103)](_0x5bf6e7){const _0x4be7f4=_0x579c20,_0x940722=this[_0x4be7f4(0x10c)][_0x4be7f4(0xf6)](r[_0x4be7f4(0x105)]);if(!_0x940722)throw new Error(_0x4be7f4(0xfd));return _0x940722[_0x4be7f4(0x116)](_0x5bf6e7,i[_0x4be7f4(0x112)]);}async[_0x579c20(0x113)](_0x2ef8c6){const _0xe4acf9=_0x579c20;return this[_0xe4acf9(0x109)](_0x2ef8c6);}async[_0x579c20(0x109)](_0x552af7){const _0x2f82b5=_0x579c20,_0x269f36=this[_0x2f82b5(0x10c)][_0x2f82b5(0xf6)](r[_0x2f82b5(0x105)]);if(!_0x269f36)throw new Error(_0x2f82b5(0xfd));return _0x269f36[_0x2f82b5(0x113)](_0x552af7);}async[_0x579c20(0x100)](_0x247987){const _0x2b890a=_0x579c20;return this[_0x2b890a(0x10d)](_0x247987);}async['exportXLSXByUnitIdAsync'](_0x5f0a08){const _0x1860de=_0x579c20,_0x323826=this[_0x1860de(0x10c)][_0x1860de(0xf6)](r[_0x1860de(0x105)]);if(!_0x323826)throw new Error(_0x1860de(0xfd));return _0x323826[_0x1860de(0x100)](_0x5f0a08);}async['exportXLSXBySnapshot'](_0xe619a2){const _0x114fe0=_0x579c20;return this[_0x114fe0(0x111)](_0xe619a2);}async[_0x579c20(0x111)](_0x53e93e){const _0x5a7088=_0x579c20,_0x22c238=this[_0x5a7088(0x10c)][_0x5a7088(0xf6)](r[_0x5a7088(0x105)]);if(!_0x22c238)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x22c238['exportXLSXBySnapshot'](_0x53e93e);}async[_0x579c20(0x107)](_0x1f3f7c){return this['importDOCXToUnitIdAsync'](_0x1f3f7c);}async[_0x579c20(0xf7)](_0x3a2ee5){const _0x2fd203=_0x579c20,_0x528bac=this[_0x2fd203(0x10c)][_0x2fd203(0xf6)](r[_0x2fd203(0x105)]);if(!_0x528bac)throw new Error(_0x2fd203(0xfd));return _0x528bac['importFileToUnitId'](_0x3a2ee5,i['UNIVER_DOC']);}async['importDOCXToSnapshot'](_0x3ab6d2){const _0x1189ea=_0x579c20;return this[_0x1189ea(0xfe)](_0x3ab6d2);}async[_0x579c20(0xfe)](_0x2a4ac6){const _0x82f0d4=_0x579c20,_0x2a46b1=this[_0x82f0d4(0x10c)]['get'](r[_0x82f0d4(0x105)]);if(!_0x2a46b1)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2a46b1[_0x82f0d4(0x10e)](_0x2a4ac6);}async[_0x579c20(0x114)](_0x42587d){const _0x3d6fea=_0x579c20,_0x30b8a2=this[_0x3d6fea(0x10c)][_0x3d6fea(0xf6)](r[_0x3d6fea(0x105)]);if(!_0x30b8a2)throw new Error(_0x3d6fea(0xfd));return _0x30b8a2[_0x3d6fea(0xfb)](_0x42587d);}async[_0x579c20(0x10a)](_0x2702ef){const _0x28b0d7=_0x579c20,_0x13e552=this['_injector']['get'](r[_0x28b0d7(0x105)]);if(!_0x13e552)throw new Error(_0x28b0d7(0xfd));return _0x13e552['exportDOCXByUnitId'](_0x2702ef);}}o['FUniver']['extend'](c);
1
+ 'use strict';const _0x55b96d=_0x3227;(function(_0x4be1ee,_0xb759e1){const _0x5c0831=_0x3227,_0x4a88be=_0x4be1ee();while(!![]){try{const _0x7d199d=parseInt(_0x5c0831(0x1cf))/0x1+-parseInt(_0x5c0831(0x1de))/0x2*(-parseInt(_0x5c0831(0x1ce))/0x3)+-parseInt(_0x5c0831(0x1cc))/0x4*(parseInt(_0x5c0831(0x1c9))/0x5)+-parseInt(_0x5c0831(0x1dc))/0x6+-parseInt(_0x5c0831(0x1cb))/0x7*(-parseInt(_0x5c0831(0x1c1))/0x8)+parseInt(_0x5c0831(0x1d3))/0x9*(-parseInt(_0x5c0831(0x1d5))/0xa)+parseInt(_0x5c0831(0x1e4))/0xb;if(_0x7d199d===_0xb759e1)break;else _0x4a88be['push'](_0x4a88be['shift']());}catch(_0x44b416){_0x4a88be['push'](_0x4a88be['shift']());}}}(_0x1f0c,0x538db));const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');function _0x3227(_0x17824d,_0x11757d){const _0x1f0ce2=_0x1f0c();return _0x3227=function(_0x322753,_0x2e4689){_0x322753=_0x322753-0x1c1;let _0xec00f9=_0x1f0ce2[_0x322753];return _0xec00f9;},_0x3227(_0x17824d,_0x11757d);}function _0x1f0c(){const _0x2bf4dc=['importXLSXToUnitId','125vEHrck','importDOCXToUnitIdAsync','21cEBOTM','81504GvJpTt','exportXLSXByUnitId','3651BTWDlH','653357roVkoH','exportXLSXBySnapshotAsync','importDOCXToSnapshot','extend','9999QWsSrW','FUniver','5990YXwOFz','exportXLSXByUnitIdAsync','importXLSXToSnapshot','get','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_SHEET','UNIVER_UNKNOWN','3070050GtnoTI','exportDOCXByUnitIdAsync','922xIxhwj','UNIVER_PROJECT','UNIVER_SLIDE','importFileToUnitId','importXLSXToSnapshotAsync','_injector','2148146fzuhoX','1650984fGCfno','UNIVER_DOC','importXLSXToUnitIdAsync','UNRECOGNIZED','exportXLSXBySnapshot','IExchangeService','importDOCXToSnapshotAsync'];_0x1f0c=function(){return _0x2bf4dc;};return _0x1f0c();}var i=(_0xa5855c=>(_0xa5855c[_0xa5855c['UNIVER_UNKNOWN']=0x0]=_0x55b96d(0x1db),_0xa5855c[_0xa5855c[_0x55b96d(0x1c2)]=0x1]=_0x55b96d(0x1c2),_0xa5855c[_0xa5855c[_0x55b96d(0x1da)]=0x2]=_0x55b96d(0x1da),_0xa5855c[_0xa5855c[_0x55b96d(0x1e0)]=0x3]=_0x55b96d(0x1e0),_0xa5855c[_0xa5855c[_0x55b96d(0x1df)]=0x4]='UNIVER_PROJECT',_0xa5855c[_0xa5855c[_0x55b96d(0x1c4)]=-0x1]='UNRECOGNIZED',_0xa5855c))(i||{});class c extends o['FUniver']{async[_0x55b96d(0x1c8)](_0x367ee1){const _0x2b3ae3=_0x55b96d;return this[_0x2b3ae3(0x1c3)](_0x367ee1);}async[_0x55b96d(0x1c3)](_0x5dfc04){const _0x2cb8fb=_0x55b96d,_0x1c08e5=this[_0x2cb8fb(0x1e3)][_0x2cb8fb(0x1d8)](r['IExchangeService']);if(!_0x1c08e5)throw new Error(_0x2cb8fb(0x1d9));return _0x1c08e5['importFileToUnitId'](_0x5dfc04,i[_0x2cb8fb(0x1da)]);}async[_0x55b96d(0x1d7)](_0x53f052){const _0x46d1eb=_0x55b96d;return this[_0x46d1eb(0x1e2)](_0x53f052);}async[_0x55b96d(0x1e2)](_0x594569){const _0x5957ef=_0x55b96d,_0x156ab2=this[_0x5957ef(0x1e3)][_0x5957ef(0x1d8)](r['IExchangeService']);if(!_0x156ab2)throw new Error(_0x5957ef(0x1d9));return _0x156ab2['importXLSXToSnapshot'](_0x594569);}async[_0x55b96d(0x1cd)](_0x5e3976){const _0x366a85=_0x55b96d;return this[_0x366a85(0x1d6)](_0x5e3976);}async[_0x55b96d(0x1d6)](_0x686c74){const _0x4a993b=_0x55b96d,_0xcdff85=this[_0x4a993b(0x1e3)][_0x4a993b(0x1d8)](r[_0x4a993b(0x1c6)]);if(!_0xcdff85)throw new Error(_0x4a993b(0x1d9));return _0xcdff85['exportXLSXByUnitId'](_0x686c74);}async[_0x55b96d(0x1c5)](_0x1553f1){const _0x573358=_0x55b96d;return this[_0x573358(0x1d0)](_0x1553f1);}async[_0x55b96d(0x1d0)](_0x25d691){const _0x59090e=_0x55b96d,_0x2bfcba=this[_0x59090e(0x1e3)][_0x59090e(0x1d8)](r[_0x59090e(0x1c6)]);if(!_0x2bfcba)throw new Error(_0x59090e(0x1d9));return _0x2bfcba[_0x59090e(0x1c5)](_0x25d691);}async['importDOCXToUnitId'](_0x28e96e){const _0x12fb6c=_0x55b96d;return this[_0x12fb6c(0x1ca)](_0x28e96e);}async['importDOCXToUnitIdAsync'](_0x349ae2){const _0x48d831=_0x55b96d,_0x14a00d=this[_0x48d831(0x1e3)]['get'](r[_0x48d831(0x1c6)]);if(!_0x14a00d)throw new Error(_0x48d831(0x1d9));return _0x14a00d[_0x48d831(0x1e1)](_0x349ae2,i['UNIVER_DOC']);}async[_0x55b96d(0x1d1)](_0x507971){return this['importDOCXToSnapshotAsync'](_0x507971);}async[_0x55b96d(0x1c7)](_0x4bdb9a){const _0x453f64=_0x55b96d,_0x1919cd=this[_0x453f64(0x1e3)][_0x453f64(0x1d8)](r[_0x453f64(0x1c6)]);if(!_0x1919cd)throw new Error(_0x453f64(0x1d9));return _0x1919cd['importDOCXToSnapshot'](_0x4bdb9a);}async['exportDOCXBySnapshotAsync'](_0xb4337f){const _0x3d0a3c=_0x55b96d,_0x158aa0=this[_0x3d0a3c(0x1e3)]['get'](r['IExchangeService']);if(!_0x158aa0)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x158aa0['exportDOCXBySnapshot'](_0xb4337f);}async[_0x55b96d(0x1dd)](_0x469865){const _0x1508ba=_0x55b96d,_0x50d7eb=this[_0x1508ba(0x1e3)][_0x1508ba(0x1d8)](r[_0x1508ba(0x1c6)]);if(!_0x50d7eb)throw new Error(_0x1508ba(0x1d9));return _0x50d7eb['exportDOCXByUnitId'](_0x469865);}}o[_0x55b96d(0x1d4)][_0x55b96d(0x1d2)](c);