00a80bbeb68b821efe8e5e27ef0d9e32570d94644cd6f0ba5633e76bfc754215c22b865460f91202c48423434300d1eb898f916a8820e3643aeb1a31b2a808 3.8 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. import type { Component, ExtractPropTypes, __ExtractPublicPropTypes } from 'vue';
  2. import type Rate from './rate.vue';
  3. export declare const rateProps: {
  4. readonly ariaLabel: StringConstructor;
  5. readonly modelValue: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
  6. readonly id: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
  7. readonly lowThreshold: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 2, boolean>;
  8. readonly highThreshold: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 4, boolean>;
  9. readonly max: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 5, boolean>;
  10. readonly colors: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string[] | Record<number, string>) | (() => string[] | Record<number, string>) | ((new (...args: any[]) => string[] | Record<number, string>) | (() => string[] | Record<number, string>))[], unknown, unknown, () => ["", "", ""], boolean>;
  11. readonly voidColor: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
  12. readonly disabledVoidColor: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
  13. readonly icons: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | Component)[] | Record<number, string | Component>) | (() => (string | Component)[] | Record<number, string | Component>) | ((new (...args: any[]) => (string | Component)[] | Record<number, string | Component>) | (() => (string | Component)[] | Record<number, string | Component>))[], unknown, unknown, () => [Component, Component, Component], boolean>;
  14. readonly voidIcon: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | ((new (...args: any[]) => (string | Component) & {}) | (() => string | Component))[], unknown, unknown, () => Component, boolean>;
  15. readonly disabledVoidIcon: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | ((new (...args: any[]) => (string | Component) & {}) | (() => string | Component))[], unknown, unknown, () => Component, boolean>;
  16. readonly disabled: BooleanConstructor;
  17. readonly allowHalf: BooleanConstructor;
  18. readonly showText: BooleanConstructor;
  19. readonly showScore: BooleanConstructor;
  20. readonly textColor: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
  21. readonly texts: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => ["Extremely bad", "Disappointed", "Fair", "Satisfied", "Surprise"], boolean>;
  22. readonly scoreTemplate: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "{value}", boolean>;
  23. readonly size: {
  24. readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
  25. readonly required: false;
  26. readonly validator: ((val: unknown) => boolean) | undefined;
  27. __epPropKey: true;
  28. };
  29. readonly clearable: BooleanConstructor;
  30. };
  31. export type RateProps = ExtractPropTypes<typeof rateProps>;
  32. export type RatePropsPublic = __ExtractPublicPropTypes<typeof rateProps>;
  33. export declare const rateEmits: {
  34. change: (value: number) => boolean;
  35. "update:modelValue": (value: number) => boolean;
  36. };
  37. export type RateEmits = typeof rateEmits;
  38. export type RateInstance = InstanceType<typeof Rate> & unknown;