import type { PropType, ExtractPropTypes, EmitsToProps } from 'vue'; import type { StyleValue } from '../ele-app/types'; import type { ElPopconfirmProps, ElIconProps, ElButtonProps } from '../ele-app/el'; import type { ElePopoverProps } from '../ele-app/plus'; /** * 属性 */ export declare const popconfirmProps: { trigger: { type: PropType; default: string; }; /** 确认按钮文字 */ confirmButtonText: StringConstructor; /** 取消按钮文字 */ cancelButtonText: StringConstructor; /** 确认按钮类型 */ confirmButtonType: { type: PropType; default: string; }; /** 取消按钮类型 */ cancelButtonType: { type: PropType; default: string; }; /** 自定义图标 */ icon: PropType; /** 图标颜色 */ iconColor: { type: StringConstructor; default: string; }; /** 是否隐藏图标 */ hideIcon: BooleanConstructor; /** 是否隐藏确认按钮 */ hideConfirmButton: BooleanConstructor; /** 是否隐藏取消按钮 */ hideCancelButton: BooleanConstructor; /** 图标样式 */ iconStyle: PropType; /** 图标组件属性 */ iconProps: PropType; /** 确认按钮组件属性 */ confirmButtonProps: PropType; /** 取消按钮组件属性 */ cancelButtonProps: PropType; /** 底栏样式 */ footerStyle: PropType; transition: { type: StringConstructor; default: string; }; bodyClass: PropType; titleStyle: PropType; contentStyle: PropType; title: StringConstructor; onFocus: { readonly type: PropType<(e: FocusEvent) => void>; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; onBlur: { readonly type: PropType<(e: FocusEvent) => void>; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; onKeydown: { readonly type: PropType<(e: KeyboardEvent) => void>; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; onMouseenter: { readonly type: PropType<(e: MouseEvent) => void>; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; onMouseleave: { readonly type: PropType<(e: MouseEvent) => void>; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; onClick: { readonly type: PropType<(e: PointerEvent) => void>; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; onContextmenu: { readonly type: PropType<(e: PointerEvent) => void>; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; id: StringConstructor; zIndex: NumberConstructor; tabindex: import("element-plus/es/utils/vue/props/types").EpPropFinalized<(new (...args: any[]) => string | number) | (() => string | number) | (((new (...args: any[]) => string | number) | (() => string | number)) | null)[], unknown, unknown, 0, boolean>; pure: BooleanConstructor; focusOnShow: BooleanConstructor; trapping: BooleanConstructor; referenceEl: { readonly type: PropType; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; triggerTargetEl: { readonly type: PropType; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; stopPopperMouseEvent: import("element-plus/es/utils/vue/props/types").EpPropFinalized; virtualTriggering: BooleanConstructor; loop: BooleanConstructor; boundariesPadding: import("element-plus/es/utils/vue/props/types").EpPropFinalized; fallbackPlacements: import("element-plus/es/utils/vue/props/types").EpPropFinalized<(new (...args: any[]) => import("element-plus").Placement[]) | (() => import("element-plus").Placement[]) | (((new (...args: any[]) => import("element-plus").Placement[]) | (() => import("element-plus").Placement[])) | null)[], unknown, unknown, undefined, boolean>; strategy: import("element-plus/es/utils/vue/props/types").EpPropFinalized; arrowOffset: import("element-plus/es/utils/vue/props/types").EpPropFinalized; role: import("element-plus/es/utils/vue/props/types").EpPropFinalized; focusOnTarget: BooleanConstructor; virtualRef: { readonly type: PropType; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; open: BooleanConstructor; width: (NumberConstructor | StringConstructor)[]; content: import("element-plus/es/utils/vue/props/types").EpPropFinalized; offset: import("element-plus/es/utils/vue/props/types").EpPropFinalized; disabled: BooleanConstructor; ariaLabel: StringConstructor; visible: import("element-plus/es/utils/vue/props/types").EpPropFinalized<(new (...args: any[]) => boolean) | (() => boolean | null) | (((new (...args: any[]) => boolean) | (() => boolean | null)) | null)[], unknown, unknown, null, boolean>; className: StringConstructor; effect: import("element-plus/es/utils/vue/props/types").EpPropFinalized<(new (...args: any[]) => string) | (() => import("element-plus").PopperEffect) | (((new (...args: any[]) => string) | (() => import("element-plus").PopperEffect)) | null)[], unknown, unknown, "dark", boolean>; enterable: import("element-plus/es/utils/vue/props/types").EpPropFinalized; popperClass: PropType; popperStyle: PropType; gpuAcceleration: import("element-plus/es/utils/vue/props/types").EpPropFinalized; placement: import("element-plus/es/utils/vue/props/types").EpPropFinalized; popperOptions: import("element-plus/es/utils/vue/props/types").EpPropFinalized<(new (...args: any[]) => Partial) | (() => Partial) | (((new (...args: any[]) => Partial) | (() => Partial)) | null)[], unknown, unknown, () => {}, boolean>; showArrow: import("element-plus/es/utils/vue/props/types").EpPropFinalized; appendTo: { readonly type: PropType string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>>; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; persistent: BooleanConstructor; teleported: import("element-plus/es/utils/vue/props/types").EpPropFinalized; showAfter: import("element-plus/es/utils/vue/props/types").EpPropFinalized; hideAfter: import("element-plus/es/utils/vue/props/types").EpPropFinalized; autoClose: import("element-plus/es/utils/vue/props/types").EpPropFinalized; triggerKeys: import("element-plus/es/utils/vue/props/types").EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | (((new (...args: any[]) => string[]) | (() => string[])) | null)[], unknown, unknown, () => string[], boolean>; bg: StringConstructor; bodyStyle: PropType; arrowBg: StringConstructor; }; export type PopconfirmProps = ExtractPropTypes; /** * 事件 */ export declare const popconfirmEmits: { confirm: (_e: MouseEvent) => boolean; cancel: (_e: MouseEvent) => boolean; 'update:visible': (value: boolean) => boolean; 'before-enter': () => boolean; 'before-leave': () => boolean; 'after-enter': () => boolean; 'after-leave': () => boolean; }; export type PopconfirmEmitsProps = EmitsToProps; export type PopconfirmPropsAndEmits = PopconfirmProps & PopconfirmEmitsProps;