import type { ButtonProps } from 'ant-design-vue/es/button/buttonTypes'; /** * resizable 类型 */ export type ResizableType = boolean | 'horizontal' | 'vertical'; /** * getContainer 类型 */ export type GetContainerFunc = (() => HTMLElement) | string | false | HTMLElement | undefined; /** * 按钮属性 */ export type ButtonPropsType = ButtonProps | undefined; /** * 弹窗位置属性 object 类型 */ export interface PositionObjectType { top?: string; left?: string | number; } /** * 弹窗位置属性 string 类型 */ export type PositionStringType = 'top' | 'bottom' | 'left' | 'right' | 'leftTop' | 'leftBottom' | 'rightTop' | 'rightBottom' | 'center'; /** * 弹窗位置属性类型 */ export type PositionType = PositionStringType | PositionObjectType;