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.
39 lines
883 B
39 lines
883 B
'use strict';
|
|
|
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
|
var props = require('../../../utils/props.js');
|
|
var iconsVue = require('@element-plus/icons-vue');
|
|
|
|
const IconMap = {
|
|
success: "icon-success",
|
|
warning: "icon-warning",
|
|
error: "icon-error",
|
|
info: "icon-info"
|
|
};
|
|
const IconComponentMap = {
|
|
[IconMap.success]: iconsVue.CircleCheckFilled,
|
|
[IconMap.warning]: iconsVue.WarningFilled,
|
|
[IconMap.error]: iconsVue.CircleCloseFilled,
|
|
[IconMap.info]: iconsVue.InfoFilled
|
|
};
|
|
const resultProps = props.buildProps({
|
|
title: {
|
|
type: String,
|
|
default: ""
|
|
},
|
|
subTitle: {
|
|
type: String,
|
|
default: ""
|
|
},
|
|
icon: {
|
|
values: ["success", "warning", "info", "error"],
|
|
default: "info"
|
|
}
|
|
});
|
|
|
|
exports.IconComponentMap = IconComponentMap;
|
|
exports.IconMap = IconMap;
|
|
exports.resultProps = resultProps;
|
|
//# sourceMappingURL=result2.js.map
|