UNPKG

element-plus

Version:

A Component Library for Vue 3

44 lines (41 loc) 989 B
import '../../../constants/index2.mjs'; import '../../../utils/index2.mjs'; import { buildProps } from '../../../utils/vue/props2.mjs'; import { CHANGE_EVENT } from '../../../constants/event2.mjs'; import { isNumber } from '@vueuse/core'; const stepsProps = buildProps({ space: { type: [Number, String], default: "" }, active: { type: Number, default: 0 }, direction: { type: String, default: "horizontal", values: ["horizontal", "vertical"] }, alignCenter: { type: Boolean }, simple: { type: Boolean }, finishStatus: { type: String, default: "finish", values: ["wait", "process", "finish", "error", "success"] }, processStatus: { type: String, default: "process", values: ["wait", "process", "finish", "error", "success"] } }); const stepsEmits = { [CHANGE_EVENT]: (newVal, oldVal) => isNumber(newVal) && isNumber(oldVal) }; export { stepsEmits, stepsProps }; //# sourceMappingURL=steps3.mjs.map