Steps.d.ts 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. import type { ExtractPropTypes } from 'vue';
  2. import type { VueNode } from '../_util/type';
  3. import type { ProgressSize } from './props';
  4. export declare const stepsProps: () => {
  5. steps: NumberConstructor;
  6. strokeColor: {
  7. type: import("vue").PropType<string | string[]>;
  8. default: string | string[];
  9. };
  10. trailColor: StringConstructor;
  11. prefixCls: StringConstructor;
  12. type: {
  13. type: import("vue").PropType<"circle" | "line" | "dashboard">;
  14. default: "circle" | "line" | "dashboard";
  15. };
  16. percent: NumberConstructor;
  17. format: {
  18. type: import("vue").PropType<(percent?: number, successPercent?: number) => VueNode>;
  19. default: (percent?: number, successPercent?: number) => VueNode;
  20. };
  21. status: {
  22. type: import("vue").PropType<"normal" | "active" | "success" | "exception">;
  23. default: "normal" | "active" | "success" | "exception";
  24. };
  25. showInfo: {
  26. type: BooleanConstructor;
  27. default: boolean;
  28. };
  29. strokeWidth: NumberConstructor;
  30. strokeLinecap: {
  31. type: import("vue").PropType<"round" | "butt" | "square">;
  32. default: "round" | "butt" | "square";
  33. };
  34. width: NumberConstructor;
  35. success: {
  36. type: import("vue").PropType<import("./props").SuccessProps>;
  37. default: import("./props").SuccessProps;
  38. };
  39. gapDegree: NumberConstructor;
  40. gapPosition: {
  41. type: import("vue").PropType<"left" | "right" | "top" | "bottom">;
  42. default: "left" | "right" | "top" | "bottom";
  43. };
  44. size: {
  45. type: import("vue").PropType<ProgressSize>;
  46. default: ProgressSize;
  47. };
  48. successPercent: NumberConstructor;
  49. title: StringConstructor;
  50. progressStatus: {
  51. type: import("vue").PropType<"normal" | "active" | "success" | "exception">;
  52. default: "normal" | "active" | "success" | "exception";
  53. };
  54. };
  55. export type StepsProps = Partial<ExtractPropTypes<ReturnType<typeof stepsProps>>>;
  56. declare const _default: import("vue").DefineComponent<{
  57. steps: NumberConstructor;
  58. strokeColor: {
  59. type: import("vue").PropType<string | string[]>;
  60. default: string | string[];
  61. };
  62. trailColor: StringConstructor;
  63. prefixCls: StringConstructor;
  64. type: {
  65. type: import("vue").PropType<"circle" | "line" | "dashboard">;
  66. default: "circle" | "line" | "dashboard";
  67. };
  68. percent: NumberConstructor;
  69. format: {
  70. type: import("vue").PropType<(percent?: number, successPercent?: number) => VueNode>;
  71. default: (percent?: number, successPercent?: number) => VueNode;
  72. };
  73. status: {
  74. type: import("vue").PropType<"normal" | "active" | "success" | "exception">;
  75. default: "normal" | "active" | "success" | "exception";
  76. };
  77. showInfo: {
  78. type: BooleanConstructor;
  79. default: boolean;
  80. };
  81. strokeWidth: NumberConstructor;
  82. strokeLinecap: {
  83. type: import("vue").PropType<"round" | "butt" | "square">;
  84. default: "round" | "butt" | "square";
  85. };
  86. width: NumberConstructor;
  87. success: {
  88. type: import("vue").PropType<import("./props").SuccessProps>;
  89. default: import("./props").SuccessProps;
  90. };
  91. gapDegree: NumberConstructor;
  92. gapPosition: {
  93. type: import("vue").PropType<"left" | "right" | "top" | "bottom">;
  94. default: "left" | "right" | "top" | "bottom";
  95. };
  96. size: {
  97. type: import("vue").PropType<ProgressSize>;
  98. default: ProgressSize;
  99. };
  100. successPercent: NumberConstructor;
  101. title: StringConstructor;
  102. progressStatus: {
  103. type: import("vue").PropType<"normal" | "active" | "success" | "exception">;
  104. default: "normal" | "active" | "success" | "exception";
  105. };
  106. }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
  107. steps: NumberConstructor;
  108. strokeColor: {
  109. type: import("vue").PropType<string | string[]>;
  110. default: string | string[];
  111. };
  112. trailColor: StringConstructor;
  113. prefixCls: StringConstructor;
  114. type: {
  115. type: import("vue").PropType<"circle" | "line" | "dashboard">;
  116. default: "circle" | "line" | "dashboard";
  117. };
  118. percent: NumberConstructor;
  119. format: {
  120. type: import("vue").PropType<(percent?: number, successPercent?: number) => VueNode>;
  121. default: (percent?: number, successPercent?: number) => VueNode;
  122. };
  123. status: {
  124. type: import("vue").PropType<"normal" | "active" | "success" | "exception">;
  125. default: "normal" | "active" | "success" | "exception";
  126. };
  127. showInfo: {
  128. type: BooleanConstructor;
  129. default: boolean;
  130. };
  131. strokeWidth: NumberConstructor;
  132. strokeLinecap: {
  133. type: import("vue").PropType<"round" | "butt" | "square">;
  134. default: "round" | "butt" | "square";
  135. };
  136. width: NumberConstructor;
  137. success: {
  138. type: import("vue").PropType<import("./props").SuccessProps>;
  139. default: import("./props").SuccessProps;
  140. };
  141. gapDegree: NumberConstructor;
  142. gapPosition: {
  143. type: import("vue").PropType<"left" | "right" | "top" | "bottom">;
  144. default: "left" | "right" | "top" | "bottom";
  145. };
  146. size: {
  147. type: import("vue").PropType<ProgressSize>;
  148. default: ProgressSize;
  149. };
  150. successPercent: NumberConstructor;
  151. title: StringConstructor;
  152. progressStatus: {
  153. type: import("vue").PropType<"normal" | "active" | "success" | "exception">;
  154. default: "normal" | "active" | "success" | "exception";
  155. };
  156. }>>, {
  157. size: ProgressSize;
  158. type: "circle" | "line" | "dashboard";
  159. strokeLinecap: "round" | "butt" | "square";
  160. success: import("./props").SuccessProps;
  161. format: (percent?: number, successPercent?: number) => VueNode;
  162. status: "normal" | "active" | "success" | "exception";
  163. showInfo: boolean;
  164. strokeColor: string | string[];
  165. gapPosition: "left" | "right" | "top" | "bottom";
  166. progressStatus: "normal" | "active" | "success" | "exception";
  167. }, {}>;
  168. export default _default;