ab0c32c7f2465ff5a22a5527de3edb0f32b325358715deebe19b7c3dc9d57c7b42e923eaebca85420747beddc9ebf62f59ca3e18b66f2ac35b1d3f011618dd 926 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. import { buildProps } from '../../../utils/vue/props/runtime.mjs';
  2. import { CHANGE_EVENT } from '../../../constants/event.mjs';
  3. import { isNumber } from '../../../utils/types.mjs';
  4. const stepsProps = buildProps({
  5. space: {
  6. type: [Number, String],
  7. default: ""
  8. },
  9. active: {
  10. type: Number,
  11. default: 0
  12. },
  13. direction: {
  14. type: String,
  15. default: "horizontal",
  16. values: ["horizontal", "vertical"]
  17. },
  18. alignCenter: {
  19. type: Boolean
  20. },
  21. simple: {
  22. type: Boolean
  23. },
  24. finishStatus: {
  25. type: String,
  26. values: ["wait", "process", "finish", "error", "success"],
  27. default: "finish"
  28. },
  29. processStatus: {
  30. type: String,
  31. values: ["wait", "process", "finish", "error", "success"],
  32. default: "process"
  33. }
  34. });
  35. const stepsEmits = {
  36. [CHANGE_EVENT]: (newVal, oldVal) => [newVal, oldVal].every(isNumber)
  37. };
  38. export { stepsEmits, stepsProps };
  39. //# sourceMappingURL=steps.mjs.map