import { PropType, ExtractPropTypes, EmitsToProps } from 'vue'; import { drawerProps as elDrawerProps } from 'element-plus'; import { YLoadingProps } from '../y-app/plus'; import { StyleValue } from '../y-app/types'; /** * 属性 */ export declare const drawerProps: { appendToBody: { type: BooleanConstructor; default: boolean; }; /** 是否限制在主体内部 */ inner: BooleanConstructor; /** 自定义标题样式 */ headerStyle: PropType; /** 标题样式 */ titleStyle: PropType; /** 自定义主体样式 */ bodyStyle: PropType; /** 自定义底部样式 */ footerStyle: PropType; /** 自定义关闭按钮样式 */ closeBtnStyle: PropType; /** 主体类名 */ drawerBodyClass: StringConstructor; /** 是否是失活状态 */ isDeactivated: BooleanConstructor; /** 异步内容组件时加载状态 */ compLoading: BooleanConstructor; /** 加载状态 */ loading: BooleanConstructor; /** 加载组件属性 */ loadingProps: PropType; /** 是否开启响应式 */ responsive: { type: BooleanConstructor; default: null; }; /** 内部表格弹性布局 */ flexTable: PropType; /** 是否是在内容区添加自定义底栏 */ customFooter: BooleanConstructor; /** 是否是表单抽屉 */ form: BooleanConstructor; direction: import('element-plus/es/utils/index').EpPropFinalized; resizable: BooleanConstructor; size: import('element-plus/es/utils/index').EpPropFinalized; withHeader: import('element-plus/es/utils/index').EpPropFinalized; modalFade: import('element-plus/es/utils/index').EpPropFinalized; headerAriaLevel: import('element-plus/es/utils/index').EpPropFinalized; appendTo: import('element-plus/es/utils/index').EpPropFinalized<(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>) | (((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, "body", boolean>; beforeClose: { readonly type: PropType; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; destroyOnClose: BooleanConstructor; closeOnClickModal: import('element-plus/es/utils/index').EpPropFinalized; closeOnPressEscape: import('element-plus/es/utils/index').EpPropFinalized; lockScroll: import('element-plus/es/utils/index').EpPropFinalized; modal: import('element-plus/es/utils/index').EpPropFinalized; modalPenetrable: BooleanConstructor; openDelay: import('element-plus/es/utils/index').EpPropFinalized; closeDelay: import('element-plus/es/utils/index').EpPropFinalized; top: { readonly type: PropType; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; modelValue: BooleanConstructor; modalClass: StringConstructor; headerClass: StringConstructor; bodyClass: StringConstructor; footerClass: StringConstructor; width: { readonly type: PropType>; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; zIndex: { readonly type: PropType; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; trapFocus: BooleanConstructor; transition: import('element-plus/es/utils/index').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; alignCenter: import('element-plus/es/utils/index').EpPropFinalized; closeIcon: { readonly type: 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; }; draggable: import('element-plus/es/utils/index').EpPropFinalized; overflow: import('element-plus/es/utils/index').EpPropFinalized; fullscreen: BooleanConstructor; showClose: import('element-plus/es/utils/index').EpPropFinalized; title: import('element-plus/es/utils/index').EpPropFinalized; ariaLevel: import('element-plus/es/utils/index').EpPropFinalized; }; export type DrawerProps = ExtractPropTypes; /** * 事件 */ export declare const drawerEmits: { 'resize-start': (evt: MouseEvent, size: number) => boolean; resize: (evt: MouseEvent, size: number) => boolean; 'resize-end': (evt: MouseEvent, size: number) => boolean; open: () => boolean; opened: () => boolean; close: () => boolean; closed: () => boolean; "update:modelValue": (value: boolean) => boolean; openAutoFocus: () => boolean; closeAutoFocus: () => boolean; }; export type DrawerEmitsProps = EmitsToProps; export type DrawerPropsAndEmits = DrawerProps & DrawerEmitsProps; /** * 抽屉组件属性名 */ export type ElDrawerPropKeys = Array; export declare const elDrawerPropKeys: ElDrawerPropKeys;