item.mjs 870 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. import { buildProps } from "../../../utils/vue/props/runtime.mjs";
  2. import { iconPropType } from "../../../utils/vue/icon.mjs";
  3. //#region ../../packages/components/steps/src/item.ts
  4. /**
  5. * @deprecated Removed after 3.0.0, Use `StepProps` instead.
  6. */
  7. const stepProps = buildProps({
  8. /**
  9. * @description step title
  10. */
  11. title: {
  12. type: String,
  13. default: ""
  14. },
  15. /**
  16. * @description step custom icon. Icons can be passed via named slot as well
  17. */
  18. icon: { type: iconPropType },
  19. /**
  20. * @description step description
  21. */
  22. description: {
  23. type: String,
  24. default: ""
  25. },
  26. /**
  27. * @description current status. It will be automatically set by Steps if not configured.
  28. */
  29. status: {
  30. type: String,
  31. values: [
  32. "",
  33. "wait",
  34. "process",
  35. "finish",
  36. "error",
  37. "success"
  38. ],
  39. default: ""
  40. }
  41. });
  42. //#endregion
  43. export { stepProps };
  44. //# sourceMappingURL=item.mjs.map