UNPKG

xdesign-vue-next

Version:

XDesign Component for vue-next

88 lines (87 loc) 2.61 kB
import { TdDrawerProps } from './type'; import { PropType } from 'vue'; declare const _default: { attach: { type: PropType<import("..").AttachNode>; default: string; }; body: { type: PropType<string | ((h: typeof import("vue").h) => import("..").SlotReturnValue)>; }; cancelBtn: { type: PropType<import("./type").FooterButton>; default: import("./type").FooterButton; }; closeBtn: { type: PropType<string | boolean | ((h: typeof import("vue").h) => import("..").SlotReturnValue)>; }; closeOnEscKeydown: { type: BooleanConstructor; default: any; }; closeOnOverlayClick: { type: BooleanConstructor; default: any; }; confirmBtn: { type: PropType<import("./type").FooterButton>; default: import("./type").FooterButton; }; default: { type: PropType<string | ((h: typeof import("vue").h) => import("..").SlotReturnValue)>; }; destroyOnClose: BooleanConstructor; footer: { type: PropType<boolean | ((h: typeof import("vue").h) => import("..").SlotReturnValue)>; default: boolean; }; header: { type: PropType<string | boolean | ((h: typeof import("vue").h) => import("..").SlotReturnValue)>; default: boolean; }; mode: { type: PropType<"push" | "overlay">; default: "push" | "overlay"; validator(val: TdDrawerProps['mode']): boolean; }; placement: { type: PropType<"left" | "top" | "bottom" | "right">; default: "left" | "top" | "bottom" | "right"; validator(val: TdDrawerProps['placement']): boolean; }; preventScrollThrough: { type: BooleanConstructor; default: boolean; }; showInAttachedElement: BooleanConstructor; showOverlay: { type: BooleanConstructor; default: boolean; }; size: { type: StringConstructor; default: any; }; sizeDraggable: BooleanConstructor; visible: BooleanConstructor; zIndex: { type: NumberConstructor; }; onCancel: PropType<(context: { e: MouseEvent; }) => void>; onClose: PropType<(context: import("./type").DrawerCloseContext) => void>; onCloseBtnClick: PropType<(context: { e: MouseEvent; }) => void>; onConfirm: PropType<(context: { e: MouseEvent; }) => void>; onEscKeydown: PropType<(context: { e: KeyboardEvent; }) => void>; onOverlayClick: PropType<(context: { e: MouseEvent; }) => void>; }; export default _default;