| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- import { CHANGE_EVENT } from "../../../constants/event.mjs";
- import { isNumber } from "../../../utils/types.mjs";
- import { buildProps } from "../../../utils/vue/props/runtime.mjs";
- //#region ../../packages/components/steps/src/steps.ts
- /**
- * @deprecated Removed after 3.0.0, Use `StepsProps` instead.
- */
- const stepsProps = buildProps({
- /**
- * @description the spacing of each step, will be responsive if omitted. Supports percentage.
- */
- space: {
- type: [Number, String],
- default: ""
- },
- /**
- * @description current activation step
- */
- active: {
- type: Number,
- default: 0
- },
- /**
- * @description display direction
- */
- direction: {
- type: String,
- default: "horizontal",
- values: ["horizontal", "vertical"]
- },
- /**
- * @description center title and description
- */
- alignCenter: { type: Boolean },
- /**
- * @description whether to apply simple theme
- */
- simple: { type: Boolean },
- /**
- * @description status of end step
- */
- finishStatus: {
- type: String,
- values: [
- "wait",
- "process",
- "finish",
- "error",
- "success"
- ],
- default: "finish"
- },
- /**
- * @description status of current step
- */
- processStatus: {
- type: String,
- values: [
- "wait",
- "process",
- "finish",
- "error",
- "success"
- ],
- default: "process"
- }
- });
- const stepsEmits = { [CHANGE_EVENT]: (newVal, oldVal) => [newVal, oldVal].every(isNumber) };
- //#endregion
- export { stepsEmits, stepsProps };
- //# sourceMappingURL=steps.mjs.map
|