完全跑通1.0版本
This commit is contained in:
32
frontend/node_modules/element-plus/es/utils/vue/icon.mjs
generated
vendored
Normal file
32
frontend/node_modules/element-plus/es/utils/vue/icon.mjs
generated
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
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
|
||||
Reference in New Issue
Block a user