You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
757 B
29 lines
757 B
11 months ago
|
import { Close, SuccessFilled, InfoFilled, WarningFilled, CircleCloseFilled, Loading, CircleCheck, CircleClose } from '@element-plus/icons-vue';
|
||
|
import { definePropType } from './props.mjs';
|
||
|
|
||
|
const iconPropType = definePropType([String, Object]);
|
||
|
const CloseComponents = {
|
||
|
Close
|
||
|
};
|
||
|
const TypeComponents = {
|
||
|
Close,
|
||
|
SuccessFilled,
|
||
|
InfoFilled,
|
||
|
WarningFilled,
|
||
|
CircleCloseFilled
|
||
|
};
|
||
|
const TypeComponentsMap = {
|
||
|
success: SuccessFilled,
|
||
|
warning: WarningFilled,
|
||
|
error: CircleCloseFilled,
|
||
|
info: InfoFilled
|
||
|
};
|
||
|
const ValidateComponentsMap = {
|
||
|
validating: Loading,
|
||
|
success: CircleCheck,
|
||
|
error: CircleClose
|
||
|
};
|
||
|
|
||
|
export { CloseComponents, TypeComponents, TypeComponentsMap, ValidateComponentsMap, iconPropType };
|
||
|
//# sourceMappingURL=icon.mjs.map
|