UNPKG

tdesign-mobile-vue

Version:
130 lines (129 loc) 4.49 kB
import { h } from 'vue'; declare const _default: import("vue").DefineComponent<{ attach: { type: import("vue").PropType<import("..").AttachNode>; default: string; }; closeBtn: { type: import("vue").PropType<boolean | ((h: typeof h) => import("..").SlotReturnValue)>; }; closeOnOverlayClick: { type: BooleanConstructor; default: boolean; }; destroyOnClose: BooleanConstructor; overlayProps: { type: import("vue").PropType<import("../overlay/type").TdOverlayProps>; default: () => {}; }; placement: { type: import("vue").PropType<"left" | "center" | "right" | "top" | "bottom">; default: "left" | "center" | "right" | "top" | "bottom"; validator(val: "left" | "center" | "right" | "top" | "bottom"): boolean; }; preventScrollThrough: { type: BooleanConstructor; default: boolean; }; showOverlay: { type: BooleanConstructor; default: boolean; }; transitionName: { type: StringConstructor; default: string; }; visible: { type: BooleanConstructor; default: any; }; modelValue: { type: BooleanConstructor; default: any; }; defaultVisible: BooleanConstructor; zIndex: { type: NumberConstructor; }; onClose: import("vue").PropType<(context: { e: MouseEvent; }) => void>; onClosed: import("vue").PropType<() => void>; onOpen: import("vue").PropType<() => void>; onOpened: import("vue").PropType<() => void>; onVisibleChange: import("vue").PropType<(visible: boolean, trigger: import("./type").PopupSource) => void>; }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "close" | "open" | "opened" | "closed" | "visible-change" | "update:visible")[], "update:modelValue" | "close" | "closed" | "open" | "opened" | "visible-change" | "update:visible", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ attach: { type: import("vue").PropType<import("..").AttachNode>; default: string; }; closeBtn: { type: import("vue").PropType<boolean | ((h: typeof h) => import("..").SlotReturnValue)>; }; closeOnOverlayClick: { type: BooleanConstructor; default: boolean; }; destroyOnClose: BooleanConstructor; overlayProps: { type: import("vue").PropType<import("../overlay/type").TdOverlayProps>; default: () => {}; }; placement: { type: import("vue").PropType<"left" | "center" | "right" | "top" | "bottom">; default: "left" | "center" | "right" | "top" | "bottom"; validator(val: "left" | "center" | "right" | "top" | "bottom"): boolean; }; preventScrollThrough: { type: BooleanConstructor; default: boolean; }; showOverlay: { type: BooleanConstructor; default: boolean; }; transitionName: { type: StringConstructor; default: string; }; visible: { type: BooleanConstructor; default: any; }; modelValue: { type: BooleanConstructor; default: any; }; defaultVisible: BooleanConstructor; zIndex: { type: NumberConstructor; }; onClose: import("vue").PropType<(context: { e: MouseEvent; }) => void>; onClosed: import("vue").PropType<() => void>; onOpen: import("vue").PropType<() => void>; onOpened: import("vue").PropType<() => void>; onVisibleChange: import("vue").PropType<(visible: boolean, trigger: import("./type").PopupSource) => void>; }>> & { "onUpdate:modelValue"?: (...args: any[]) => any; onClose?: (...args: any[]) => any; onClosed?: (...args: any[]) => any; onOpen?: (...args: any[]) => any; onOpened?: (...args: any[]) => any; "onVisible-change"?: (...args: any[]) => any; "onUpdate:visible"?: (...args: any[]) => any; }, { modelValue: boolean; visible: boolean; attach: import("..").AttachNode; preventScrollThrough: boolean; overlayProps: {}; placement: "left" | "center" | "right" | "top" | "bottom"; closeOnOverlayClick: boolean; destroyOnClose: boolean; showOverlay: boolean; transitionName: string; defaultVisible: boolean; }, {}>; export default _default;