progress.vue.d.ts 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. import type { ProgressColor } from './progress';
  2. declare var __VLS_1: {
  3. percentage: number;
  4. }, __VLS_3: {
  5. percentage: number;
  6. };
  7. type __VLS_Slots = {} & {
  8. default?: (props: typeof __VLS_1) => any;
  9. } & {
  10. default?: (props: typeof __VLS_3) => any;
  11. };
  12. declare const __VLS_base: import("vue").DefineComponent<{
  13. readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "circle" | "line" | "dashboard", unknown, "line", boolean>;
  14. readonly percentage: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
  15. readonly status: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "success" | "warning" | "exception", unknown, "", boolean>;
  16. readonly indeterminate: BooleanConstructor;
  17. readonly duration: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 3, boolean>;
  18. readonly strokeWidth: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 6, boolean>;
  19. readonly strokeLinecap: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => "inherit" | "round" | "butt" | "square") | (() => NonNullable<"inherit" | "round" | "butt" | "square" | undefined>) | ((new (...args: any[]) => "inherit" | "round" | "butt" | "square") | (() => NonNullable<"inherit" | "round" | "butt" | "square" | undefined>))[], unknown, unknown, "round", boolean>;
  20. readonly textInside: BooleanConstructor;
  21. readonly width: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 126, boolean>;
  22. readonly showText: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
  23. readonly color: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string | import("./progress").ProgressFn | ProgressColor[]) | (() => string | import("./progress").ProgressFn | ProgressColor[]) | ((new (...args: any[]) => string | import("./progress").ProgressFn | ProgressColor[]) | (() => string | import("./progress").ProgressFn | ProgressColor[]))[], unknown, unknown, "", boolean>;
  24. readonly striped: BooleanConstructor;
  25. readonly stripedFlow: BooleanConstructor;
  26. readonly format: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("./progress").ProgressFn) | (() => import("./progress").ProgressFn) | {
  27. (): import("./progress").ProgressFn;
  28. new (): any;
  29. readonly prototype: any;
  30. } | ((new (...args: any[]) => import("./progress").ProgressFn) | (() => import("./progress").ProgressFn) | {
  31. (): import("./progress").ProgressFn;
  32. new (): any;
  33. readonly prototype: any;
  34. })[], unknown, unknown, (percentage: number) => string, boolean>;
  35. }, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
  36. readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "circle" | "line" | "dashboard", unknown, "line", boolean>;
  37. readonly percentage: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
  38. readonly status: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "success" | "warning" | "exception", unknown, "", boolean>;
  39. readonly indeterminate: BooleanConstructor;
  40. readonly duration: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 3, boolean>;
  41. readonly strokeWidth: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 6, boolean>;
  42. readonly strokeLinecap: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => "inherit" | "round" | "butt" | "square") | (() => NonNullable<"inherit" | "round" | "butt" | "square" | undefined>) | ((new (...args: any[]) => "inherit" | "round" | "butt" | "square") | (() => NonNullable<"inherit" | "round" | "butt" | "square" | undefined>))[], unknown, unknown, "round", boolean>;
  43. readonly textInside: BooleanConstructor;
  44. readonly width: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 126, boolean>;
  45. readonly showText: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
  46. readonly color: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string | import("./progress").ProgressFn | ProgressColor[]) | (() => string | import("./progress").ProgressFn | ProgressColor[]) | ((new (...args: any[]) => string | import("./progress").ProgressFn | ProgressColor[]) | (() => string | import("./progress").ProgressFn | ProgressColor[]))[], unknown, unknown, "", boolean>;
  47. readonly striped: BooleanConstructor;
  48. readonly stripedFlow: BooleanConstructor;
  49. readonly format: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("./progress").ProgressFn) | (() => import("./progress").ProgressFn) | {
  50. (): import("./progress").ProgressFn;
  51. new (): any;
  52. readonly prototype: any;
  53. } | ((new (...args: any[]) => import("./progress").ProgressFn) | (() => import("./progress").ProgressFn) | {
  54. (): import("./progress").ProgressFn;
  55. new (): any;
  56. readonly prototype: any;
  57. })[], unknown, unknown, (percentage: number) => string, boolean>;
  58. }>>, {
  59. readonly width: number;
  60. readonly color: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | import("./progress").ProgressFn | ProgressColor[]) | (() => string | import("./progress").ProgressFn | ProgressColor[]) | ((new (...args: any[]) => string | import("./progress").ProgressFn | ProgressColor[]) | (() => string | import("./progress").ProgressFn | ProgressColor[]))[], unknown, unknown>;
  61. readonly strokeLinecap: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => "inherit" | "round" | "butt" | "square") | (() => NonNullable<"inherit" | "round" | "butt" | "square" | undefined>) | ((new (...args: any[]) => "inherit" | "round" | "butt" | "square") | (() => NonNullable<"inherit" | "round" | "butt" | "square" | undefined>))[], unknown, unknown>;
  62. readonly strokeWidth: number;
  63. readonly type: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "circle" | "line" | "dashboard", unknown>;
  64. readonly format: import("./progress").ProgressFn;
  65. readonly duration: number;
  66. readonly indeterminate: boolean;
  67. readonly percentage: number;
  68. readonly status: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "success" | "warning" | "exception", unknown>;
  69. readonly showText: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
  70. readonly textInside: boolean;
  71. readonly striped: boolean;
  72. readonly stripedFlow: boolean;
  73. }, {}>;
  74. declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
  75. declare const _default: typeof __VLS_export;
  76. export default _default;
  77. type __VLS_WithSlots<T, S> = T & {
  78. new (): {
  79. $slots: S;
  80. };
  81. };