ad2635951d2d94bfa45b798d77e70b0ee85479ef3e411dc045abcc08f6df708ab9998317bfcbf3efd105137ed4f86e0980fcacf00f011abd1829e01edf2740 996 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. 'use strict';
  2. Object.defineProperty(exports, '__esModule', { value: true });
  3. var iconsVue = require('@element-plus/icons-vue');
  4. var runtime = require('../../../utils/vue/props/runtime.js');
  5. const IconMap = {
  6. primary: "icon-primary",
  7. success: "icon-success",
  8. warning: "icon-warning",
  9. error: "icon-error",
  10. info: "icon-info"
  11. };
  12. const IconComponentMap = {
  13. [IconMap.primary]: iconsVue.InfoFilled,
  14. [IconMap.success]: iconsVue.CircleCheckFilled,
  15. [IconMap.warning]: iconsVue.WarningFilled,
  16. [IconMap.error]: iconsVue.CircleCloseFilled,
  17. [IconMap.info]: iconsVue.InfoFilled
  18. };
  19. const resultProps = runtime.buildProps({
  20. title: {
  21. type: String,
  22. default: ""
  23. },
  24. subTitle: {
  25. type: String,
  26. default: ""
  27. },
  28. icon: {
  29. type: String,
  30. values: ["primary", "success", "warning", "info", "error"],
  31. default: "info"
  32. }
  33. });
  34. exports.IconComponentMap = IconComponentMap;
  35. exports.IconMap = IconMap;
  36. exports.resultProps = resultProps;
  37. //# sourceMappingURL=result.js.map