9fd3d950b9cf076ce207eda464c31b881118ef7a4cbb16cea81dcdbb37edfb3bbc652172429968200b17c44818842ae1db5c787bdb51840bb080f0ace5b8e6 870 B

1234567891011121314151617181920212223242526272829303132333435
  1. import { InfoFilled, CircleCheckFilled, WarningFilled, CircleCloseFilled } from '@element-plus/icons-vue';
  2. import { buildProps } from '../../../utils/vue/props/runtime.mjs';
  3. const IconMap = {
  4. primary: "icon-primary",
  5. success: "icon-success",
  6. warning: "icon-warning",
  7. error: "icon-error",
  8. info: "icon-info"
  9. };
  10. const IconComponentMap = {
  11. [IconMap.primary]: InfoFilled,
  12. [IconMap.success]: CircleCheckFilled,
  13. [IconMap.warning]: WarningFilled,
  14. [IconMap.error]: CircleCloseFilled,
  15. [IconMap.info]: InfoFilled
  16. };
  17. const resultProps = buildProps({
  18. title: {
  19. type: String,
  20. default: ""
  21. },
  22. subTitle: {
  23. type: String,
  24. default: ""
  25. },
  26. icon: {
  27. type: String,
  28. values: ["primary", "success", "warning", "info", "error"],
  29. default: "info"
  30. }
  31. });
  32. export { IconComponentMap, IconMap, resultProps };
  33. //# sourceMappingURL=result.mjs.map