import { PropType, ExtractPropTypes, EmitsToProps } from 'vue'; import { StyleValue } from '../y-app/types'; import { ElPopconfirmProps, ElIconProps, ElButtonProps } from '../y-app/el'; import { YPopoverProps } from '../y-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: StringConstructor; bodyStyle: PropType; titleStyle: PropType; contentStyle: PropType; placement: import('element-plus/es/utils/index').EpPropFinalized<(new (...args: any[]) => "bottom-start" | "bottom" | "auto" | "auto-start" | "auto-end" | "top" | "right" | "left" | "top-start" | "top-end" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import('element-plus').Placement) | (((new (...args: any[]) => "bottom-start" | "bottom" | "auto" | "auto-start" | "auto-end" | "top" | "right" | "left" | "top-start" | "top-end" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import('element-plus').Placement)) | null)[], unknown, unknown, "bottom", boolean>; teleported: import('element-plus/es/utils/index').EpPropFinalized; appendTo: { readonly type: PropType string | HTMLElement) | (() => import('element-plus/es/utils/index').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>) | (((new (...args: any[]) => string | HTMLElement) | (() => import('element-plus/es/utils/index').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>)) | null)[], unknown, unknown>>; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; disabled: BooleanConstructor; tabindex: import('element-plus/es/utils/index').EpPropFinalized<(new (...args: any[]) => string | number) | (() => string | number) | (((new (...args: any[]) => string | number) | (() => string | number)) | null)[], unknown, unknown, 0, boolean>; effect: { readonly default: "light"; readonly type: PropType string) | (() => import('element-plus').PopperEffect) | (((new (...args: any[]) => string) | (() => import('element-plus').PopperEffect)) | null)[], unknown, unknown>>; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; readonly __epPropKey: true; }; persistent: import('element-plus/es/utils/index').EpPropFinalized; width: import('element-plus/es/utils/index').EpPropFinalized; title: StringConstructor; visible: import('element-plus/es/utils/index').EpPropFinalized<(new (...args: any[]) => boolean) | (() => boolean | null) | (((new (...args: any[]) => boolean) | (() => boolean | null)) | null)[], unknown, unknown, null, boolean>; triggerKeys: import('element-plus/es/utils/index').EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | (((new (...args: any[]) => string[]) | (() => string[])) | null)[], unknown, unknown, () => string[], boolean>; popperOptions: import('element-plus/es/utils/index').EpPropFinalized<(new (...args: any[]) => Partial) | (() => Partial) | (((new (...args: any[]) => Partial) | (() => Partial)) | null)[], unknown, unknown, () => {}, boolean>; showArrow: import('element-plus/es/utils/index').EpPropFinalized; offset: import('element-plus/es/utils/index').EpPropFinalized; content: import('element-plus/es/utils/index').EpPropFinalized; enterable: { readonly default: true; readonly type: PropType>; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; readonly __epPropKey: true; }; showAfter: import('element-plus/es/utils/index').EpPropFinalized; hideAfter: import('element-plus/es/utils/index').EpPropFinalized; autoClose: import('element-plus/es/utils/index').EpPropFinalized; popperStyle: PropType; popperClass: StringConstructor; ariaLabel: StringConstructor; zIndex: NumberConstructor; virtualTriggering: BooleanConstructor; virtualRef: { readonly type: PropType; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; loop: BooleanConstructor; bg: StringConstructor; className: StringConstructor; gpuAcceleration: import('element-plus/es/utils/index').EpPropFinalized; arrowOffset: import('element-plus/es/utils/index').EpPropFinalized; focusOnTarget: BooleanConstructor; 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;