UNPKG

xdesign-vue-next

Version:

XDesign Component for vue-next

100 lines (99 loc) 3.36 kB
import { TdDialogProps } 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)>; default: string; }; cancelBtn: { type: PropType<string | ((h: typeof import("vue").h) => import("..").SlotReturnValue) | import("..").TdButtonProps>; default: string | ((h: typeof import("vue").h) => import("..").SlotReturnValue) | import("..").TdButtonProps; }; closeBtn: { type: PropType<string | boolean | ((h: typeof import("vue").h) => import("..").SlotReturnValue)>; default: boolean; }; closeOnEscKeydown: { type: BooleanConstructor; default: any; }; closeOnOverlayClick: { type: BooleanConstructor; default: any; }; confirmBtn: { type: PropType<string | ((h: typeof import("vue").h) => import("..").SlotReturnValue) | import("..").TdButtonProps>; default: string | ((h: typeof import("vue").h) => import("..").SlotReturnValue) | import("..").TdButtonProps; }; confirmOnEnter: BooleanConstructor; default: { type: PropType<string | ((h: typeof import("vue").h) => import("..").SlotReturnValue)>; }; destroyOnClose: BooleanConstructor; draggable: 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<"normal" | "modal" | "modeless" | "full-screen">; default: "normal" | "modal" | "modeless" | "full-screen"; validator(val: TdDialogProps['mode']): boolean; }; placement: { type: PropType<"center" | "top">; default: "center" | "top"; validator(val: TdDialogProps['placement']): boolean; }; preventScrollThrough: { type: BooleanConstructor; default: boolean; }; showInAttachedElement: BooleanConstructor; showOverlay: { type: BooleanConstructor; default: boolean; }; theme: { type: PropType<"default" | "success" | "warning" | "danger" | "info">; default: "default" | "success" | "warning" | "danger" | "info"; validator(val: TdDialogProps['theme']): boolean; }; top: { type: PropType<string | number>; }; visible: BooleanConstructor; width: { type: PropType<string | number>; }; zIndex: { type: NumberConstructor; }; onCancel: PropType<(context: { e: MouseEvent; }) => void>; onClose: PropType<(context: import("./type").DialogCloseContext) => void>; onCloseBtnClick: PropType<(context: { e: MouseEvent; }) => void>; onClosed: PropType<() => void>; onConfirm: PropType<(context: { e: MouseEvent | KeyboardEvent; }) => void>; onEscKeydown: PropType<(context: { e: KeyboardEvent; }) => void>; onOpened: PropType<() => void>; onOverlayClick: PropType<(context: { e: MouseEvent; }) => void>; }; export default _default;