alert.d.ts 1.2 KB

1234567891011121314151617
  1. import type { ExtractPropTypes } 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" | "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. };
  13. export type AlertProps = ExtractPropTypes<typeof alertProps>;
  14. export declare const alertEmits: {
  15. close: (evt: MouseEvent) => boolean;
  16. };
  17. export type AlertEmits = typeof alertEmits;