index.d.ts 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. import { ProgressProps } from './Progress';
  2. export declare const Progress: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
  3. color: StringConstructor;
  4. inactive: BooleanConstructor;
  5. pivotText: StringConstructor;
  6. textColor: StringConstructor;
  7. showPivot: {
  8. type: BooleanConstructor;
  9. default: true;
  10. };
  11. pivotColor: StringConstructor;
  12. trackColor: StringConstructor;
  13. strokeWidth: (NumberConstructor | StringConstructor)[];
  14. percentage: {
  15. type: (NumberConstructor | StringConstructor)[];
  16. default: number;
  17. validator: (value: import("../utils").Numeric) => boolean;
  18. };
  19. }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
  20. color: StringConstructor;
  21. inactive: BooleanConstructor;
  22. pivotText: StringConstructor;
  23. textColor: StringConstructor;
  24. showPivot: {
  25. type: BooleanConstructor;
  26. default: true;
  27. };
  28. pivotColor: StringConstructor;
  29. trackColor: StringConstructor;
  30. strokeWidth: (NumberConstructor | StringConstructor)[];
  31. percentage: {
  32. type: (NumberConstructor | StringConstructor)[];
  33. default: number;
  34. validator: (value: import("../utils").Numeric) => boolean;
  35. };
  36. }>> & Readonly<{}>, {
  37. inactive: boolean;
  38. showPivot: boolean;
  39. percentage: string | number;
  40. }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
  41. export default Progress;
  42. export { progressProps } from './Progress';
  43. export type { ProgressProps };
  44. export type { ProgressInstance, ProgressThemeVars } from './types';
  45. declare module 'vue' {
  46. interface GlobalComponents {
  47. VanProgress: typeof Progress;
  48. }
  49. }