Files
SBPanel-Backend/frontend/admin/node_modules/element-plus/es/utils/vue/icon.mjs
CN-JS-HuiBai db7f1ba82f
Some checks failed
build / build (api, amd64, linux) (push) Failing after -51s
build / build (api, arm64, linux) (push) Failing after -52s
build / build (api.exe, amd64, windows) (push) Failing after -51s
使用VUE重构项目
2026-04-20 00:19:11 +08:00

33 lines
843 B
JavaScript

import { definePropType } from "./props/runtime.mjs";
import { CircleCheck, CircleClose, CircleCloseFilled, Close, InfoFilled, Loading, SuccessFilled, WarningFilled } from "@element-plus/icons-vue";
//#region ../../packages/utils/vue/icon.ts
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
};
//#endregion
export { CloseComponents, TypeComponents, TypeComponentsMap, ValidateComponentsMap, iconPropType };
//# sourceMappingURL=icon.mjs.map