d674dd299edcbbf29ee0f7e3d7415a2241c974f404ac46bdb80b803213bf2b06c2390a58a0cd5e44c42813e09c607b9f37dea8044f67d796e75bbb4cc956f8 1.9 KB

12345678910111213141516171819202122232425
  1. import type { ExtractPropTypes, StyleValue, __ExtractPublicPropTypes } from 'vue';
  2. export declare const badgeProps: {
  3. readonly value: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
  4. readonly max: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 99, boolean>;
  5. readonly isDot: BooleanConstructor;
  6. readonly hidden: BooleanConstructor;
  7. readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "primary" | "success" | "warning" | "info" | "danger", unknown, "danger", boolean>;
  8. readonly showZero: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
  9. readonly color: StringConstructor;
  10. readonly badgeStyle: {
  11. readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | import("vue").CSSProperties | StyleValue[]) | (() => StyleValue) | ((new (...args: any[]) => string | import("vue").CSSProperties | StyleValue[]) | (() => StyleValue))[], unknown, unknown>>;
  12. readonly required: false;
  13. readonly validator: ((val: unknown) => boolean) | undefined;
  14. __epPropKey: true;
  15. };
  16. readonly offset: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => [number, number]) | (() => [number, number]) | ((new (...args: any[]) => [number, number]) | (() => [number, number]))[], unknown, unknown, readonly [0, 0], boolean>;
  17. readonly badgeClass: {
  18. readonly type: import("vue").PropType<string>;
  19. readonly required: false;
  20. readonly validator: ((val: unknown) => boolean) | undefined;
  21. __epPropKey: true;
  22. };
  23. };
  24. export type BadgeProps = ExtractPropTypes<typeof badgeProps>;
  25. export type BadgePropsPublic = __ExtractPublicPropTypes<typeof badgeProps>;