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.
34 lines
811 B
34 lines
811 B
1 month ago
|
import { Close, SuccessFilled, InfoFilled, WarningFilled, CircleCloseFilled, Loading, CircleCheck, CircleClose } from '@element-plus/icons-vue';
|
||
|
import './props/index.mjs';
|
||
|
import { definePropType } from './props/runtime.mjs';
|
||
|
|
||
|
const iconPropType = definePropType([
|
||
|
String,
|
||
|
Object,
|
||
|
Function
|
||
|
]);
|
||
|
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
|