UNPKG

tdesign-mobile-vue

Version:
69 lines (68 loc) 2.24 kB
import { PropType } from 'vue'; declare const _default: { actions: { type: PropType<import("@/button").TdButtonProps[]>; }; beforeClose: { type: PropType<(trigger: "cancel" | "close-btn" | "confirm" | "overlay", context: { e: MouseEvent; }) => void | Promise<void>>; }; buttonLayout: { type: PropType<"horizontal" | "vertical">; default: "horizontal" | "vertical"; validator(val: "horizontal" | "vertical"): boolean; }; cancelBtn: { type: PropType<string | import("@/button").TdButtonProps | ((h: typeof import("vue").h) => import("@/common").SlotReturnValue)>; }; closeBtn: BooleanConstructor; closeOnOverlayClick: BooleanConstructor; confirmBtn: { type: PropType<string | import("@/button").TdButtonProps | ((h: typeof import("vue").h) => import("@/common").SlotReturnValue)>; }; content: { type: PropType<string | ((h: typeof import("vue").h) => import("@/common").SlotReturnValue)>; }; destroyOnClose: BooleanConstructor; middle: { type: PropType<(h: typeof import("vue").h) => import("@/common").SlotReturnValue>; }; overlayProps: { type: PropType<import("@/overlay/type").TdOverlayProps>; default: () => {}; }; preventScrollThrough: { type: BooleanConstructor; default: boolean; }; showOverlay: { type: BooleanConstructor; default: boolean; }; title: { type: PropType<string | ((h: typeof import("vue").h) => import("@/common").SlotReturnValue)>; }; top: { type: PropType<(h: typeof import("vue").h) => import("@/common").SlotReturnValue>; }; visible: BooleanConstructor; width: { type: PropType<string | number>; }; zIndex: { type: NumberConstructor; }; onCancel: PropType<(context: { e: MouseEvent; }) => void>; onClose: PropType<(context: import("./type").DialogCloseContext) => void>; onClosed: PropType<() => void>; onConfirm: PropType<(context: { e: MouseEvent; }) => void>; onOverlayClick: PropType<(context: { e: MouseEvent; }) => void>; }; export default _default;