/** FaDialog 的运行时 Props 定义 */ export declare const faDialogProps: { /** whether to align the dialog both horizontally and vertically */ alignCenter: { type: BooleanConstructor; default: boolean; }; /** whether to append Dialog itself to body. A nested Dialog should have this attribute set to `true` */ appendToBody: { type: BooleanConstructor; default: boolean; }; /** enable dragging feature for Dialog */ draggable: { type: BooleanConstructor; default: boolean; }; /** destroy elements in Dialog when closed */ destroyOnClose: { type: BooleanConstructor; default: boolean; }; /** draggable Dialog can overflow the viewport */ overflow: { type: BooleanConstructor; default: boolean; }; /** value for `margin-top` of Dialog CSS, default is 15vh */ top: { type: StringConstructor; default: string; }; /** width of Dialog, default is 50% */ width: { type: (NumberConstructor | StringConstructor)[]; default: string; }; /** 显示刷新按钮 */ showRefresh: { type: BooleanConstructor; default: boolean; }; /** 显示全屏图标 */ showFullscreen: { type: BooleanConstructor; default: boolean; }; /** 显示关闭按钮 */ showCloseButton: { type: BooleanConstructor; default: boolean; }; /** 显示确认按钮 */ showConfirmButton: { type: BooleanConstructor; default: boolean; }; /** 禁用确认按钮 */ disabledConfirmButton: BooleanConstructor; /** 关闭按钮文字,默认取消 */ closeButtonText: { type: StringConstructor; default: string; }; /** 确认按钮文字,默认确认 */ confirmButtonText: { type: StringConstructor; default: string; }; /** 隐藏底部操作 */ hideFooter: BooleanConstructor; /** 撑满高度 */ fullHeight: BooleanConstructor; /** 显示关闭回调 */ showBeforeClose: BooleanConstructor; /** 打开之后 */ afterOpen: { type: import("vue").PropType<() => void | Promise>; }; appendTo: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown, "body", boolean>; beforeClose: { readonly type: import("vue").PropType; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; closeOnClickModal: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized; closeOnPressEscape: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized; lockScroll: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized; modal: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized; modalPenetrable: BooleanConstructor; openDelay: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized; closeDelay: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized; modelValue: BooleanConstructor; modalClass: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<(new (...args: any[]) => string | false | Record | import("element-plus/es/utils/typescript.mjs").ClassValue[]) | (() => import("element-plus/es/utils/typescript.mjs").ClassValue) | (((new (...args: any[]) => string | false | Record | import("element-plus/es/utils/typescript.mjs").ClassValue[]) | (() => import("element-plus/es/utils/typescript.mjs").ClassValue)) | null)[], unknown, unknown, undefined, boolean>; zIndex: { readonly type: import("vue").PropType; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; trapFocus: BooleanConstructor; headerAriaLevel: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized; transition: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<(new (...args: any[]) => string | import("vue").TransitionProps) | (() => import("element-plus").DialogTransition) | (((new (...args: any[]) => string | import("vue").TransitionProps) | (() => import("element-plus").DialogTransition)) | null)[], unknown, unknown, undefined, boolean>; center: BooleanConstructor; closeIcon: { readonly type: import("vue").PropType (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | (((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component)) | null)[], unknown, unknown>>; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; fullscreen: BooleanConstructor; headerClass: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<(new (...args: any[]) => string | false | Record | import("element-plus/es/utils/typescript.mjs").ClassValue[]) | (() => import("element-plus/es/utils/typescript.mjs").ClassValue) | (((new (...args: any[]) => string | false | Record | import("element-plus/es/utils/typescript.mjs").ClassValue[]) | (() => import("element-plus/es/utils/typescript.mjs").ClassValue)) | null)[], unknown, unknown, undefined, boolean>; bodyClass: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<(new (...args: any[]) => string | false | Record | import("element-plus/es/utils/typescript.mjs").ClassValue[]) | (() => import("element-plus/es/utils/typescript.mjs").ClassValue) | (((new (...args: any[]) => string | false | Record | import("element-plus/es/utils/typescript.mjs").ClassValue[]) | (() => import("element-plus/es/utils/typescript.mjs").ClassValue)) | null)[], unknown, unknown, undefined, boolean>; footerClass: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<(new (...args: any[]) => string | false | Record | import("element-plus/es/utils/typescript.mjs").ClassValue[]) | (() => import("element-plus/es/utils/typescript.mjs").ClassValue) | (((new (...args: any[]) => string | false | Record | import("element-plus/es/utils/typescript.mjs").ClassValue[]) | (() => import("element-plus/es/utils/typescript.mjs").ClassValue)) | null)[], unknown, unknown, undefined, boolean>; showClose: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized; title: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized; ariaLevel: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized; }; /** FaDialog 的运行时 Emits 定义 */ export declare const faDialogEmits: { /** v-model 回调 */ "update:modelValue": (value: boolean) => boolean; /** 确认按钮点击事件 */ confirmClick: () => boolean; open: () => boolean; opened: () => boolean; close: () => boolean; closed: () => boolean; openAutoFocus: () => boolean; closeAutoFocus: () => boolean; }; /** FaDialog 的插槽参数 */ export interface FaDialogSlots extends Record { /** 默认内容插槽 */ default: { loading: boolean; }; /** 头部插槽 */ header: { loading: boolean; close: () => void; titleId: string; titleClass: string; }; /** 标题插槽 */ title: { loading: boolean; close: () => void; titleId: string; titleClass: string; }; /** 底部插槽 */ footer: { loading: boolean; close: () => void; }; } declare const _default: import("vue").DefineComponent void | Promise>; }; appendTo: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown, "body", boolean>; beforeClose: { readonly type: import("vue").PropType; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; closeOnClickModal: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized; closeOnPressEscape: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized; lockScroll: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized; modal: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized; modalPenetrable: BooleanConstructor; openDelay: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized; closeDelay: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized; modelValue: BooleanConstructor; modalClass: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<(new (...args: any[]) => string | false | Record | import("element-plus/es/utils/typescript.mjs").ClassValue[]) | (() => import("element-plus/es/utils/typescript.mjs").ClassValue) | (((new (...args: any[]) => string | false | Record | import("element-plus/es/utils/typescript.mjs").ClassValue[]) | (() => import("element-plus/es/utils/typescript.mjs").ClassValue)) | null)[], unknown, unknown, undefined, boolean>; zIndex: { readonly type: import("vue").PropType; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; trapFocus: BooleanConstructor; headerAriaLevel: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized; transition: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<(new (...args: any[]) => string | import("vue").TransitionProps) | (() => import("element-plus").DialogTransition) | (((new (...args: any[]) => string | import("vue").TransitionProps) | (() => import("element-plus").DialogTransition)) | null)[], unknown, unknown, undefined, boolean>; center: BooleanConstructor; closeIcon: { readonly type: import("vue").PropType (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | (((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component)) | null)[], unknown, unknown>>; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; fullscreen: BooleanConstructor; headerClass: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<(new (...args: any[]) => string | false | Record | import("element-plus/es/utils/typescript.mjs").ClassValue[]) | (() => import("element-plus/es/utils/typescript.mjs").ClassValue) | (((new (...args: any[]) => string | false | Record | import("element-plus/es/utils/typescript.mjs").ClassValue[]) | (() => import("element-plus/es/utils/typescript.mjs").ClassValue)) | null)[], unknown, unknown, undefined, boolean>; bodyClass: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<(new (...args: any[]) => string | false | Record | import("element-plus/es/utils/typescript.mjs").ClassValue[]) | (() => import("element-plus/es/utils/typescript.mjs").ClassValue) | (((new (...args: any[]) => string | false | Record | import("element-plus/es/utils/typescript.mjs").ClassValue[]) | (() => import("element-plus/es/utils/typescript.mjs").ClassValue)) | null)[], unknown, unknown, undefined, boolean>; footerClass: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<(new (...args: any[]) => string | false | Record | import("element-plus/es/utils/typescript.mjs").ClassValue[]) | (() => import("element-plus/es/utils/typescript.mjs").ClassValue) | (((new (...args: any[]) => string | false | Record | import("element-plus/es/utils/typescript.mjs").ClassValue[]) | (() => import("element-plus/es/utils/typescript.mjs").ClassValue)) | null)[], unknown, unknown, undefined, boolean>; showClose: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized; title: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized; ariaLevel: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized; }>, { /** 调用原生关闭流程,并执行 beforeClose。 */ handleClose: import("vue").ComputedRef<(() => void) | undefined>; /** 弹窗内容引用 */ dialogContentRef: import("vue").ComputedRef<{ resetPosition: () => void; updatePosition: () => void; } | undefined>; /** 重置位置 */ resetPosition: import("vue").ComputedRef<(() => void) | undefined>; /** 加载状态 */ loading: import("vue").Ref; /** 是否显示 */ visible: import("vue").Ref; /** 打开弹窗 */ open: (openFunction?: () => void | Promise) => Promise; /** 关闭弹窗 */ close: (closeFunction?: () => void | Promise) => Promise; /** 刷新弹窗 */ refresh: () => Promise; /** 弹窗加载 */ doLoading: (loadingFunction: () => void | Promise) => Promise; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { /** v-model 回调 */ "update:modelValue": (value: boolean) => boolean; /** 确认按钮点击事件 */ confirmClick: () => boolean; open: () => boolean; opened: () => boolean; close: () => boolean; closed: () => boolean; openAutoFocus: () => boolean; closeAutoFocus: () => boolean; }, string, import("vue").PublicProps, Readonly void | Promise>; }; appendTo: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown, "body", boolean>; beforeClose: { readonly type: import("vue").PropType; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; closeOnClickModal: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized; closeOnPressEscape: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized; lockScroll: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized; modal: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized; modalPenetrable: BooleanConstructor; openDelay: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized; closeDelay: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized; modelValue: BooleanConstructor; modalClass: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<(new (...args: any[]) => string | false | Record | import("element-plus/es/utils/typescript.mjs").ClassValue[]) | (() => import("element-plus/es/utils/typescript.mjs").ClassValue) | (((new (...args: any[]) => string | false | Record | import("element-plus/es/utils/typescript.mjs").ClassValue[]) | (() => import("element-plus/es/utils/typescript.mjs").ClassValue)) | null)[], unknown, unknown, undefined, boolean>; zIndex: { readonly type: import("vue").PropType; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; trapFocus: BooleanConstructor; headerAriaLevel: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized; transition: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<(new (...args: any[]) => string | import("vue").TransitionProps) | (() => import("element-plus").DialogTransition) | (((new (...args: any[]) => string | import("vue").TransitionProps) | (() => import("element-plus").DialogTransition)) | null)[], unknown, unknown, undefined, boolean>; center: BooleanConstructor; closeIcon: { readonly type: import("vue").PropType (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | (((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component)) | null)[], unknown, unknown>>; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; fullscreen: BooleanConstructor; headerClass: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<(new (...args: any[]) => string | false | Record | import("element-plus/es/utils/typescript.mjs").ClassValue[]) | (() => import("element-plus/es/utils/typescript.mjs").ClassValue) | (((new (...args: any[]) => string | false | Record | import("element-plus/es/utils/typescript.mjs").ClassValue[]) | (() => import("element-plus/es/utils/typescript.mjs").ClassValue)) | null)[], unknown, unknown, undefined, boolean>; bodyClass: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<(new (...args: any[]) => string | false | Record | import("element-plus/es/utils/typescript.mjs").ClassValue[]) | (() => import("element-plus/es/utils/typescript.mjs").ClassValue) | (((new (...args: any[]) => string | false | Record | import("element-plus/es/utils/typescript.mjs").ClassValue[]) | (() => import("element-plus/es/utils/typescript.mjs").ClassValue)) | null)[], unknown, unknown, undefined, boolean>; footerClass: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<(new (...args: any[]) => string | false | Record | import("element-plus/es/utils/typescript.mjs").ClassValue[]) | (() => import("element-plus/es/utils/typescript.mjs").ClassValue) | (((new (...args: any[]) => string | false | Record | import("element-plus/es/utils/typescript.mjs").ClassValue[]) | (() => import("element-plus/es/utils/typescript.mjs").ClassValue)) | null)[], unknown, unknown, undefined, boolean>; showClose: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized; title: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized; ariaLevel: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized; }>> & Readonly<{ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined; onOpen?: (() => any) | undefined; onClose?: (() => any) | undefined; onConfirmClick?: (() => any) | undefined; onOpened?: (() => any) | undefined; onClosed?: (() => any) | undefined; onOpenAutoFocus?: (() => any) | undefined; onCloseAutoFocus?: (() => any) | undefined; }>, { title: string; center: boolean; showClose: import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType; appendTo: import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | null)[], unknown, unknown>; modelValue: boolean; transition: import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<(new (...args: any[]) => string | import("vue").TransitionProps) | (() => import("element-plus").DialogTransition) | ((new (...args: any[]) => string | import("vue").TransitionProps) | (() => import("element-plus").DialogTransition) | null)[], unknown, unknown>; width: string | number; top: string; alignCenter: boolean; appendToBody: boolean; draggable: boolean; destroyOnClose: boolean; overflow: boolean; showRefresh: boolean; showFullscreen: boolean; showCloseButton: boolean; showConfirmButton: boolean; disabledConfirmButton: boolean; closeButtonText: string; confirmButtonText: string; hideFooter: boolean; fullHeight: boolean; showBeforeClose: boolean; closeOnClickModal: import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType; closeOnPressEscape: import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType; lockScroll: import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType; modal: import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType; modalPenetrable: boolean; openDelay: number; closeDelay: number; modalClass: import("element-plus/es/utils/typescript.mjs").ClassValue; trapFocus: boolean; headerAriaLevel: string; fullscreen: boolean; headerClass: import("element-plus/es/utils/typescript.mjs").ClassValue; bodyClass: import("element-plus/es/utils/typescript.mjs").ClassValue; footerClass: import("element-plus/es/utils/typescript.mjs").ClassValue; ariaLevel: string; }, import("../../../utils").TypedSlotsDeclaration, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; export default _default;