import type { Validator, BasicType } from '../../_utils'; import type { PropType, ExtractPropTypes } from 'vue'; import type { PopupDirection, PopupCallback } from './interface'; export declare const Props: { /** 绑定值,控制是否展示 */ readonly visible: { readonly required: true; readonly type: BooleanConstructor; readonly default: () => boolean; readonly validator?: Validator | undefined; }; /** 是否追加到 body */ readonly appendToBody: BasicType; /** 是否展示遮罩层 */ readonly showMask: BasicType; /** 是否点击遮罩层关闭 */ readonly maskClose: BasicType; /** 是否模糊遮罩层 */ readonly maskBlur: BasicType; /** * 层级 原生属性 * * @see z-index https://developer.mozilla.org/zh-CN/docs/Web/CSS/z-index */ readonly zIndex: BasicType; /** 自定义遮罩层背景色 */ readonly maskBackground: BasicType, string | null>; /** 遮罩层透明度 */ readonly maskOpacity: BasicType; /** * 弹出位置 * * @values left right top bottom center * @default center */ readonly direction: BasicType, PopupDirection | null>; /** 弹出窗口尺寸 */ readonly popupSize: BasicType, string | number | null>; /** 是否全屏展示 */ readonly fullscreen: BasicType; /** 自定义内边距 */ readonly padding: BasicType, string | number | null>; /** 打开动画开始的回调 */ readonly onOpen: BasicType, null>; /** 关闭动画开始的回调 */ readonly onClose: BasicType, null>; /** 打开动画结束的回调 */ readonly onOpenEnd: BasicType, null>; /** 关闭动画结束的回调 */ readonly onCloseEnd: BasicType, null>; }; /** popup 组件 props 类型 */ export type PopupProps = ExtractPropTypes;