steps.vue.d.ts 6.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. import type { Ref } from 'vue';
  2. import type { StepItemState } from './item.vue';
  3. declare const _default: import("vue").DefineComponent<{
  4. readonly space: import("../../../utils").EpPropFinalized<readonly [NumberConstructor, StringConstructor], unknown, unknown, "", boolean>;
  5. readonly active: import("../../../utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
  6. readonly direction: import("../../../utils").EpPropFinalized<StringConstructor, "vertical" | "horizontal", unknown, "horizontal", boolean>;
  7. readonly alignCenter: {
  8. readonly type: import("vue").PropType<import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>>;
  9. readonly required: false;
  10. readonly validator: ((val: unknown) => boolean) | undefined;
  11. __epPropKey: true;
  12. };
  13. readonly simple: {
  14. readonly type: import("vue").PropType<import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>>;
  15. readonly required: false;
  16. readonly validator: ((val: unknown) => boolean) | undefined;
  17. __epPropKey: true;
  18. };
  19. readonly finishStatus: import("../../../utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "finish" | "process", unknown, "finish", boolean>;
  20. readonly processStatus: import("../../../utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "finish" | "process", unknown, "process", boolean>;
  21. }, {
  22. props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
  23. readonly space: import("../../../utils").EpPropFinalized<readonly [NumberConstructor, StringConstructor], unknown, unknown, "", boolean>;
  24. readonly active: import("../../../utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
  25. readonly direction: import("../../../utils").EpPropFinalized<StringConstructor, "vertical" | "horizontal", unknown, "horizontal", boolean>;
  26. readonly alignCenter: {
  27. readonly type: import("vue").PropType<import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>>;
  28. readonly required: false;
  29. readonly validator: ((val: unknown) => boolean) | undefined;
  30. __epPropKey: true;
  31. };
  32. readonly simple: {
  33. readonly type: import("vue").PropType<import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>>;
  34. readonly required: false;
  35. readonly validator: ((val: unknown) => boolean) | undefined;
  36. __epPropKey: true;
  37. };
  38. readonly finishStatus: import("../../../utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "finish" | "process", unknown, "finish", boolean>;
  39. readonly processStatus: import("../../../utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "finish" | "process", unknown, "process", boolean>;
  40. }>> & {
  41. onChange?: ((newVal: number, oldVal: number) => any) | undefined;
  42. }>>;
  43. emit: (event: "change", newVal: number, oldVal: number) => void;
  44. ns: {
  45. namespace: Ref<string>;
  46. b: (blockSuffix?: string) => string;
  47. e: (element?: string | undefined) => string;
  48. m: (modifier?: string | undefined) => string;
  49. be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
  50. em: (element?: string | undefined, modifier?: string | undefined) => string;
  51. bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
  52. bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
  53. is: {
  54. (name: string, state: boolean | undefined): string;
  55. (name: string): string;
  56. };
  57. cssVar: (object: Record<string, string>) => Record<string, string>;
  58. cssVarName: (name: string) => string;
  59. cssVarBlock: (object: Record<string, string>) => Record<string, string>;
  60. cssVarBlockName: (name: string) => string;
  61. };
  62. steps: Ref<StepItemState[]>;
  63. }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
  64. change: (newVal: number, oldVal: number) => boolean;
  65. }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
  66. readonly space: import("../../../utils").EpPropFinalized<readonly [NumberConstructor, StringConstructor], unknown, unknown, "", boolean>;
  67. readonly active: import("../../../utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
  68. readonly direction: import("../../../utils").EpPropFinalized<StringConstructor, "vertical" | "horizontal", unknown, "horizontal", boolean>;
  69. readonly alignCenter: {
  70. readonly type: import("vue").PropType<import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>>;
  71. readonly required: false;
  72. readonly validator: ((val: unknown) => boolean) | undefined;
  73. __epPropKey: true;
  74. };
  75. readonly simple: {
  76. readonly type: import("vue").PropType<import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>>;
  77. readonly required: false;
  78. readonly validator: ((val: unknown) => boolean) | undefined;
  79. __epPropKey: true;
  80. };
  81. readonly finishStatus: import("../../../utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "finish" | "process", unknown, "finish", boolean>;
  82. readonly processStatus: import("../../../utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "finish" | "process", unknown, "process", boolean>;
  83. }>> & {
  84. onChange?: ((newVal: number, oldVal: number) => any) | undefined;
  85. }, {
  86. readonly active: number;
  87. readonly space: import("../../../utils").EpPropMergeType<readonly [NumberConstructor, StringConstructor], unknown, unknown>;
  88. readonly direction: import("../../../utils").EpPropMergeType<StringConstructor, "vertical" | "horizontal", unknown>;
  89. readonly finishStatus: import("../../../utils").EpPropMergeType<StringConstructor, "success" | "error" | "wait" | "finish" | "process", unknown>;
  90. readonly processStatus: import("../../../utils").EpPropMergeType<StringConstructor, "success" | "error" | "wait" | "finish" | "process", unknown>;
  91. }>;
  92. export default _default;