index.d.ts 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  1. export type { ProgressProps } from './props';
  2. declare const _default: {
  3. new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
  4. prefixCls: StringConstructor;
  5. type: {
  6. type: import("vue").PropType<"circle" | "line" | "dashboard">;
  7. default: "circle" | "line" | "dashboard";
  8. };
  9. percent: NumberConstructor;
  10. format: {
  11. type: import("vue").PropType<(percent?: number, successPercent?: number) => import("../_util/type").VueNode>;
  12. default: (percent?: number, successPercent?: number) => import("../_util/type").VueNode;
  13. };
  14. status: {
  15. type: import("vue").PropType<"normal" | "active" | "success" | "exception">;
  16. default: "normal" | "active" | "success" | "exception";
  17. };
  18. showInfo: {
  19. type: BooleanConstructor;
  20. default: boolean;
  21. };
  22. strokeWidth: NumberConstructor;
  23. strokeLinecap: {
  24. type: import("vue").PropType<"round" | "butt" | "square">;
  25. default: "round" | "butt" | "square";
  26. };
  27. strokeColor: {
  28. default: string | string[] | import("./props").ProgressGradient;
  29. type: import("vue").PropType<string | string[] | import("./props").ProgressGradient>;
  30. };
  31. trailColor: StringConstructor;
  32. width: NumberConstructor;
  33. success: {
  34. type: import("vue").PropType<import("./props").SuccessProps>;
  35. default: import("./props").SuccessProps;
  36. };
  37. gapDegree: NumberConstructor;
  38. gapPosition: {
  39. type: import("vue").PropType<"left" | "right" | "top" | "bottom">;
  40. default: "left" | "right" | "top" | "bottom";
  41. };
  42. size: {
  43. type: import("vue").PropType<import("./props").ProgressSize>;
  44. default: import("./props").ProgressSize;
  45. };
  46. steps: NumberConstructor;
  47. successPercent: NumberConstructor;
  48. title: StringConstructor;
  49. progressStatus: {
  50. type: import("vue").PropType<"normal" | "active" | "success" | "exception">;
  51. default: "normal" | "active" | "success" | "exception";
  52. };
  53. }>> & Readonly<{}>, () => import("../_util/type").VueNode, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
  54. size: import("./props").ProgressSize;
  55. type: "circle" | "line" | "dashboard";
  56. strokeLinecap: "round" | "butt" | "square";
  57. success: import("./props").SuccessProps;
  58. format: (percent?: number, successPercent?: number) => import("../_util/type").VueNode;
  59. status: "normal" | "active" | "success" | "exception";
  60. showInfo: boolean;
  61. strokeColor: string | string[] | import("./props").ProgressGradient;
  62. gapPosition: "left" | "right" | "top" | "bottom";
  63. progressStatus: "normal" | "active" | "success" | "exception";
  64. }, true, {}, import("../_util/type").CustomSlotsType<{
  65. default?: any;
  66. format?: any;
  67. }>, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
  68. P: {};
  69. B: {};
  70. D: {};
  71. C: {};
  72. M: {};
  73. Defaults: {};
  74. }, Readonly<import("vue").ExtractPropTypes<{
  75. prefixCls: StringConstructor;
  76. type: {
  77. type: import("vue").PropType<"circle" | "line" | "dashboard">;
  78. default: "circle" | "line" | "dashboard";
  79. };
  80. percent: NumberConstructor;
  81. format: {
  82. type: import("vue").PropType<(percent?: number, successPercent?: number) => import("../_util/type").VueNode>;
  83. default: (percent?: number, successPercent?: number) => import("../_util/type").VueNode;
  84. };
  85. status: {
  86. type: import("vue").PropType<"normal" | "active" | "success" | "exception">;
  87. default: "normal" | "active" | "success" | "exception";
  88. };
  89. showInfo: {
  90. type: BooleanConstructor;
  91. default: boolean;
  92. };
  93. strokeWidth: NumberConstructor;
  94. strokeLinecap: {
  95. type: import("vue").PropType<"round" | "butt" | "square">;
  96. default: "round" | "butt" | "square";
  97. };
  98. strokeColor: {
  99. default: string | string[] | import("./props").ProgressGradient;
  100. type: import("vue").PropType<string | string[] | import("./props").ProgressGradient>;
  101. };
  102. trailColor: StringConstructor;
  103. width: NumberConstructor;
  104. success: {
  105. type: import("vue").PropType<import("./props").SuccessProps>;
  106. default: import("./props").SuccessProps;
  107. };
  108. gapDegree: NumberConstructor;
  109. gapPosition: {
  110. type: import("vue").PropType<"left" | "right" | "top" | "bottom">;
  111. default: "left" | "right" | "top" | "bottom";
  112. };
  113. size: {
  114. type: import("vue").PropType<import("./props").ProgressSize>;
  115. default: import("./props").ProgressSize;
  116. };
  117. steps: NumberConstructor;
  118. successPercent: NumberConstructor;
  119. title: StringConstructor;
  120. progressStatus: {
  121. type: import("vue").PropType<"normal" | "active" | "success" | "exception">;
  122. default: "normal" | "active" | "success" | "exception";
  123. };
  124. }>> & Readonly<{}>, () => import("../_util/type").VueNode, {}, {}, {}, {
  125. size: import("./props").ProgressSize;
  126. type: "circle" | "line" | "dashboard";
  127. strokeLinecap: "round" | "butt" | "square";
  128. success: import("./props").SuccessProps;
  129. format: (percent?: number, successPercent?: number) => import("../_util/type").VueNode;
  130. status: "normal" | "active" | "success" | "exception";
  131. showInfo: boolean;
  132. strokeColor: string | string[] | import("./props").ProgressGradient;
  133. gapPosition: "left" | "right" | "top" | "bottom";
  134. progressStatus: "normal" | "active" | "success" | "exception";
  135. }>;
  136. __isFragment?: never;
  137. __isTeleport?: never;
  138. __isSuspense?: never;
  139. } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
  140. prefixCls: StringConstructor;
  141. type: {
  142. type: import("vue").PropType<"circle" | "line" | "dashboard">;
  143. default: "circle" | "line" | "dashboard";
  144. };
  145. percent: NumberConstructor;
  146. format: {
  147. type: import("vue").PropType<(percent?: number, successPercent?: number) => import("../_util/type").VueNode>;
  148. default: (percent?: number, successPercent?: number) => import("../_util/type").VueNode;
  149. };
  150. status: {
  151. type: import("vue").PropType<"normal" | "active" | "success" | "exception">;
  152. default: "normal" | "active" | "success" | "exception";
  153. };
  154. showInfo: {
  155. type: BooleanConstructor;
  156. default: boolean;
  157. };
  158. strokeWidth: NumberConstructor;
  159. strokeLinecap: {
  160. type: import("vue").PropType<"round" | "butt" | "square">;
  161. default: "round" | "butt" | "square";
  162. };
  163. strokeColor: {
  164. default: string | string[] | import("./props").ProgressGradient;
  165. type: import("vue").PropType<string | string[] | import("./props").ProgressGradient>;
  166. };
  167. trailColor: StringConstructor;
  168. width: NumberConstructor;
  169. success: {
  170. type: import("vue").PropType<import("./props").SuccessProps>;
  171. default: import("./props").SuccessProps;
  172. };
  173. gapDegree: NumberConstructor;
  174. gapPosition: {
  175. type: import("vue").PropType<"left" | "right" | "top" | "bottom">;
  176. default: "left" | "right" | "top" | "bottom";
  177. };
  178. size: {
  179. type: import("vue").PropType<import("./props").ProgressSize>;
  180. default: import("./props").ProgressSize;
  181. };
  182. steps: NumberConstructor;
  183. successPercent: NumberConstructor;
  184. title: StringConstructor;
  185. progressStatus: {
  186. type: import("vue").PropType<"normal" | "active" | "success" | "exception">;
  187. default: "normal" | "active" | "success" | "exception";
  188. };
  189. }>> & Readonly<{}>, () => import("../_util/type").VueNode, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
  190. size: import("./props").ProgressSize;
  191. type: "circle" | "line" | "dashboard";
  192. strokeLinecap: "round" | "butt" | "square";
  193. success: import("./props").SuccessProps;
  194. format: (percent?: number, successPercent?: number) => import("../_util/type").VueNode;
  195. status: "normal" | "active" | "success" | "exception";
  196. showInfo: boolean;
  197. strokeColor: string | string[] | import("./props").ProgressGradient;
  198. gapPosition: "left" | "right" | "top" | "bottom";
  199. progressStatus: "normal" | "active" | "success" | "exception";
  200. }, {}, string, import("../_util/type").CustomSlotsType<{
  201. default?: any;
  202. format?: any;
  203. }>, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]>;
  204. export default _default;