Circle.d.ts 6.3 KB

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