campus-errand/admin/node_modules/element-plus/es/utils/vue/icon.mjs
2026-03-01 05:01:47 +08:00

34 lines
806 B
JavaScript

import { InfoFilled, CircleCloseFilled, WarningFilled, SuccessFilled, Close, CircleClose, CircleCheck, Loading } from '@element-plus/icons-vue';
import { definePropType } from './props/runtime.mjs';
const iconPropType = definePropType([
String,
Object,
Function
]);
const CloseComponents = {
Close
};
const TypeComponents = {
Close,
SuccessFilled,
InfoFilled,
WarningFilled,
CircleCloseFilled
};
const TypeComponentsMap = {
primary: InfoFilled,
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