icon.mjs 806 B

123456789101112131415161718192021222324252627282930313233
  1. import { Close, SuccessFilled, InfoFilled, WarningFilled, CircleCloseFilled, Loading, CircleCheck, CircleClose } from '@element-plus/icons-vue';
  2. import { definePropType } from './props/runtime.mjs';
  3. const iconPropType = definePropType([
  4. String,
  5. Object,
  6. Function
  7. ]);
  8. const CloseComponents = {
  9. Close
  10. };
  11. const TypeComponents = {
  12. Close,
  13. SuccessFilled,
  14. InfoFilled,
  15. WarningFilled,
  16. CircleCloseFilled
  17. };
  18. const TypeComponentsMap = {
  19. primary: InfoFilled,
  20. success: SuccessFilled,
  21. warning: WarningFilled,
  22. error: CircleCloseFilled,
  23. info: InfoFilled
  24. };
  25. const ValidateComponentsMap = {
  26. validating: Loading,
  27. success: CircleCheck,
  28. error: CircleClose
  29. };
  30. export { CloseComponents, TypeComponents, TypeComponentsMap, ValidateComponentsMap, iconPropType };
  31. //# sourceMappingURL=icon.mjs.map