4cd801627fea703ea2fb3031ef472867462c5de19b3ff863b698f9f919822660074f21dd7f50a2af1f3738d2d4516f6251cb4b2ea797f8cee96e8fd12c4c8f 1.0 KB

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