index.d.ts 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254
  1. export type { ProgressProps } from './props';
  2. declare const _default: {
  3. new (...args: any[]): import("vue").CreateComponentPublicInstance<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. }>>, () => import("../_util/type").VueNode, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
  54. prefixCls: StringConstructor;
  55. type: {
  56. type: import("vue").PropType<"circle" | "line" | "dashboard">;
  57. default: "circle" | "line" | "dashboard";
  58. };
  59. percent: NumberConstructor;
  60. format: {
  61. type: import("vue").PropType<(percent?: number, successPercent?: number) => import("../_util/type").VueNode>;
  62. default: (percent?: number, successPercent?: number) => import("../_util/type").VueNode;
  63. };
  64. status: {
  65. type: import("vue").PropType<"normal" | "active" | "success" | "exception">;
  66. default: "normal" | "active" | "success" | "exception";
  67. };
  68. showInfo: {
  69. type: BooleanConstructor;
  70. default: boolean;
  71. };
  72. strokeWidth: NumberConstructor;
  73. strokeLinecap: {
  74. type: import("vue").PropType<"round" | "butt" | "square">;
  75. default: "round" | "butt" | "square";
  76. };
  77. strokeColor: {
  78. default: string | string[] | import("./props").ProgressGradient;
  79. type: import("vue").PropType<string | string[] | import("./props").ProgressGradient>;
  80. };
  81. trailColor: StringConstructor;
  82. width: NumberConstructor;
  83. success: {
  84. type: import("vue").PropType<import("./props").SuccessProps>;
  85. default: import("./props").SuccessProps;
  86. };
  87. gapDegree: NumberConstructor;
  88. gapPosition: {
  89. type: import("vue").PropType<"left" | "right" | "top" | "bottom">;
  90. default: "left" | "right" | "top" | "bottom";
  91. };
  92. size: {
  93. type: import("vue").PropType<import("./props").ProgressSize>;
  94. default: import("./props").ProgressSize;
  95. };
  96. steps: NumberConstructor;
  97. successPercent: NumberConstructor;
  98. title: StringConstructor;
  99. progressStatus: {
  100. type: import("vue").PropType<"normal" | "active" | "success" | "exception">;
  101. default: "normal" | "active" | "success" | "exception";
  102. };
  103. }>>, {
  104. size: import("./props").ProgressSize;
  105. type: "circle" | "line" | "dashboard";
  106. strokeLinecap: "round" | "butt" | "square";
  107. success: import("./props").SuccessProps;
  108. format: (percent?: number, successPercent?: number) => import("../_util/type").VueNode;
  109. status: "normal" | "active" | "success" | "exception";
  110. showInfo: boolean;
  111. strokeColor: string | string[] | import("./props").ProgressGradient;
  112. gapPosition: "left" | "right" | "top" | "bottom";
  113. progressStatus: "normal" | "active" | "success" | "exception";
  114. }, true, {}, import("../_util/type").CustomSlotsType<{
  115. default?: any;
  116. format?: any;
  117. }>, {
  118. P: {};
  119. B: {};
  120. D: {};
  121. C: {};
  122. M: {};
  123. Defaults: {};
  124. }, Readonly<import("vue").ExtractPropTypes<{
  125. prefixCls: StringConstructor;
  126. type: {
  127. type: import("vue").PropType<"circle" | "line" | "dashboard">;
  128. default: "circle" | "line" | "dashboard";
  129. };
  130. percent: NumberConstructor;
  131. format: {
  132. type: import("vue").PropType<(percent?: number, successPercent?: number) => import("../_util/type").VueNode>;
  133. default: (percent?: number, successPercent?: number) => import("../_util/type").VueNode;
  134. };
  135. status: {
  136. type: import("vue").PropType<"normal" | "active" | "success" | "exception">;
  137. default: "normal" | "active" | "success" | "exception";
  138. };
  139. showInfo: {
  140. type: BooleanConstructor;
  141. default: boolean;
  142. };
  143. strokeWidth: NumberConstructor;
  144. strokeLinecap: {
  145. type: import("vue").PropType<"round" | "butt" | "square">;
  146. default: "round" | "butt" | "square";
  147. };
  148. strokeColor: {
  149. default: string | string[] | import("./props").ProgressGradient;
  150. type: import("vue").PropType<string | string[] | import("./props").ProgressGradient>;
  151. };
  152. trailColor: StringConstructor;
  153. width: NumberConstructor;
  154. success: {
  155. type: import("vue").PropType<import("./props").SuccessProps>;
  156. default: import("./props").SuccessProps;
  157. };
  158. gapDegree: NumberConstructor;
  159. gapPosition: {
  160. type: import("vue").PropType<"left" | "right" | "top" | "bottom">;
  161. default: "left" | "right" | "top" | "bottom";
  162. };
  163. size: {
  164. type: import("vue").PropType<import("./props").ProgressSize>;
  165. default: import("./props").ProgressSize;
  166. };
  167. steps: NumberConstructor;
  168. successPercent: NumberConstructor;
  169. title: StringConstructor;
  170. progressStatus: {
  171. type: import("vue").PropType<"normal" | "active" | "success" | "exception">;
  172. default: "normal" | "active" | "success" | "exception";
  173. };
  174. }>>, () => import("../_util/type").VueNode, {}, {}, {}, {
  175. size: import("./props").ProgressSize;
  176. type: "circle" | "line" | "dashboard";
  177. strokeLinecap: "round" | "butt" | "square";
  178. success: import("./props").SuccessProps;
  179. format: (percent?: number, successPercent?: number) => import("../_util/type").VueNode;
  180. status: "normal" | "active" | "success" | "exception";
  181. showInfo: boolean;
  182. strokeColor: string | string[] | import("./props").ProgressGradient;
  183. gapPosition: "left" | "right" | "top" | "bottom";
  184. progressStatus: "normal" | "active" | "success" | "exception";
  185. }>;
  186. __isFragment?: never;
  187. __isTeleport?: never;
  188. __isSuspense?: never;
  189. } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
  190. prefixCls: StringConstructor;
  191. type: {
  192. type: import("vue").PropType<"circle" | "line" | "dashboard">;
  193. default: "circle" | "line" | "dashboard";
  194. };
  195. percent: NumberConstructor;
  196. format: {
  197. type: import("vue").PropType<(percent?: number, successPercent?: number) => import("../_util/type").VueNode>;
  198. default: (percent?: number, successPercent?: number) => import("../_util/type").VueNode;
  199. };
  200. status: {
  201. type: import("vue").PropType<"normal" | "active" | "success" | "exception">;
  202. default: "normal" | "active" | "success" | "exception";
  203. };
  204. showInfo: {
  205. type: BooleanConstructor;
  206. default: boolean;
  207. };
  208. strokeWidth: NumberConstructor;
  209. strokeLinecap: {
  210. type: import("vue").PropType<"round" | "butt" | "square">;
  211. default: "round" | "butt" | "square";
  212. };
  213. strokeColor: {
  214. default: string | string[] | import("./props").ProgressGradient;
  215. type: import("vue").PropType<string | string[] | import("./props").ProgressGradient>;
  216. };
  217. trailColor: StringConstructor;
  218. width: NumberConstructor;
  219. success: {
  220. type: import("vue").PropType<import("./props").SuccessProps>;
  221. default: import("./props").SuccessProps;
  222. };
  223. gapDegree: NumberConstructor;
  224. gapPosition: {
  225. type: import("vue").PropType<"left" | "right" | "top" | "bottom">;
  226. default: "left" | "right" | "top" | "bottom";
  227. };
  228. size: {
  229. type: import("vue").PropType<import("./props").ProgressSize>;
  230. default: import("./props").ProgressSize;
  231. };
  232. steps: NumberConstructor;
  233. successPercent: NumberConstructor;
  234. title: StringConstructor;
  235. progressStatus: {
  236. type: import("vue").PropType<"normal" | "active" | "success" | "exception">;
  237. default: "normal" | "active" | "success" | "exception";
  238. };
  239. }>>, () => import("../_util/type").VueNode, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
  240. size: import("./props").ProgressSize;
  241. type: "circle" | "line" | "dashboard";
  242. strokeLinecap: "round" | "butt" | "square";
  243. success: import("./props").SuccessProps;
  244. format: (percent?: number, successPercent?: number) => import("../_util/type").VueNode;
  245. status: "normal" | "active" | "success" | "exception";
  246. showInfo: boolean;
  247. strokeColor: string | string[] | import("./props").ProgressGradient;
  248. gapPosition: "left" | "right" | "top" | "bottom";
  249. progressStatus: "normal" | "active" | "success" | "exception";
  250. }, {}, string, import("../_util/type").CustomSlotsType<{
  251. default?: any;
  252. format?: any;
  253. }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]>;
  254. export default _default;