import { Mutable, IntrinsicAttributes } from 'plus-pro-components/es/types'; import { DialogProps } from 'element-plus'; export interface PlusDialogSelfProps { modelValue?: boolean; confirmText?: string; cancelText?: string; confirmLoading?: boolean; hasFooter?: boolean; footerAlign?: 'left' | 'right' | 'center'; top?: string; width?: string | number; title?: string; } export type PlusDialogProps = PlusDialogSelfProps & Partial & IntrinsicAttributes>; export interface PlusDialogEmits { (e: 'update:modelValue', visible: boolean): void; (e: 'cancel'): void; (e: 'confirm'): void; }