alert.d.ts 1.4 KB

123456789101112131415161718192021
  1. import type { ExtractPropTypes, ExtractPublicPropTypes } from 'vue';
  2. export declare const alertEffects: readonly ["light", "dark"];
  3. export declare const alertProps: {
  4. readonly title: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
  5. readonly description: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
  6. readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "error" | "primary" | "success" | "warning" | "info", unknown, "info", boolean>;
  7. readonly closable: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
  8. readonly closeText: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
  9. readonly showIcon: BooleanConstructor;
  10. readonly center: BooleanConstructor;
  11. readonly effect: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "dark" | "light", unknown, "light", boolean>;
  12. readonly showAfter: NumberConstructor;
  13. readonly hideAfter: NumberConstructor;
  14. readonly autoClose: NumberConstructor;
  15. };
  16. export type AlertProps = ExtractPropTypes<typeof alertProps>;
  17. export type AlertPropsPublic = ExtractPublicPropTypes<typeof alertProps>;
  18. export declare const alertEmits: {
  19. close: (evt: MouseEvent) => boolean;
  20. };
  21. export type AlertEmits = typeof alertEmits;