icon.js 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. 'use strict';
  2. Object.defineProperty(exports, '__esModule', { value: true });
  3. var iconsVue = require('@element-plus/icons-vue');
  4. require('./props/index.js');
  5. var runtime = require('./props/runtime.js');
  6. const iconPropType = runtime.definePropType([
  7. String,
  8. Object,
  9. Function
  10. ]);
  11. const CloseComponents = {
  12. Close: iconsVue.Close
  13. };
  14. const TypeComponents = {
  15. Close: iconsVue.Close,
  16. SuccessFilled: iconsVue.SuccessFilled,
  17. InfoFilled: iconsVue.InfoFilled,
  18. WarningFilled: iconsVue.WarningFilled,
  19. CircleCloseFilled: iconsVue.CircleCloseFilled
  20. };
  21. const TypeComponentsMap = {
  22. success: iconsVue.SuccessFilled,
  23. warning: iconsVue.WarningFilled,
  24. error: iconsVue.CircleCloseFilled,
  25. info: iconsVue.InfoFilled
  26. };
  27. const ValidateComponentsMap = {
  28. validating: iconsVue.Loading,
  29. success: iconsVue.CircleCheck,
  30. error: iconsVue.CircleClose
  31. };
  32. exports.CloseComponents = CloseComponents;
  33. exports.TypeComponents = TypeComponents;
  34. exports.TypeComponentsMap = TypeComponentsMap;
  35. exports.ValidateComponentsMap = ValidateComponentsMap;
  36. exports.iconPropType = iconPropType;
  37. //# sourceMappingURL=icon.js.map