tdesign-mobile-vue
Version:
tdesign-mobile-vue
91 lines (90 loc) • 4.57 kB
TypeScript
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
closeOnClickOutside: {
type: BooleanConstructor;
default: boolean;
};
content: {
type: import("vue").PropType<string | ((h: typeof import("vue").h) => import("@/common").SlotReturnValue)>;
};
default: {
type: import("vue").PropType<string | ((h: typeof import("vue").h) => import("@/common").SlotReturnValue)>;
};
placement: {
type: import("vue").PropType<"bottom" | "bottom-left" | "bottom-right" | "left" | "left-bottom" | "left-top" | "right" | "right-bottom" | "right-top" | "top" | "top-left" | "top-right">;
default: "bottom" | "bottom-left" | "bottom-right" | "left" | "left-bottom" | "left-top" | "right" | "right-bottom" | "right-top" | "top" | "top-left" | "top-right";
validator(val: "bottom" | "bottom-left" | "bottom-right" | "left" | "left-bottom" | "left-top" | "right" | "right-bottom" | "right-top" | "top" | "top-left" | "top-right"): boolean;
};
showArrow: {
type: BooleanConstructor;
default: boolean;
};
theme: {
type: import("vue").PropType<"brand" | "dark" | "error" | "light" | "success" | "warning">;
default: "brand" | "dark" | "error" | "light" | "success" | "warning";
validator(val: "brand" | "dark" | "error" | "light" | "success" | "warning"): boolean;
};
triggerElement: {
type: import("vue").PropType<string | ((h: typeof import("vue").h) => import("@/common").SlotReturnValue)>;
};
visible: {
type: BooleanConstructor;
default: any;
};
modelValue: {
type: BooleanConstructor;
default: any;
};
defaultVisible: BooleanConstructor;
onVisibleChange: import("vue").PropType<(visible: boolean) => void>;
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:visible" | "visible-change")[], "update:modelValue" | "update:visible" | "visible-change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
closeOnClickOutside: {
type: BooleanConstructor;
default: boolean;
};
content: {
type: import("vue").PropType<string | ((h: typeof import("vue").h) => import("@/common").SlotReturnValue)>;
};
default: {
type: import("vue").PropType<string | ((h: typeof import("vue").h) => import("@/common").SlotReturnValue)>;
};
placement: {
type: import("vue").PropType<"bottom" | "bottom-left" | "bottom-right" | "left" | "left-bottom" | "left-top" | "right" | "right-bottom" | "right-top" | "top" | "top-left" | "top-right">;
default: "bottom" | "bottom-left" | "bottom-right" | "left" | "left-bottom" | "left-top" | "right" | "right-bottom" | "right-top" | "top" | "top-left" | "top-right";
validator(val: "bottom" | "bottom-left" | "bottom-right" | "left" | "left-bottom" | "left-top" | "right" | "right-bottom" | "right-top" | "top" | "top-left" | "top-right"): boolean;
};
showArrow: {
type: BooleanConstructor;
default: boolean;
};
theme: {
type: import("vue").PropType<"brand" | "dark" | "error" | "light" | "success" | "warning">;
default: "brand" | "dark" | "error" | "light" | "success" | "warning";
validator(val: "brand" | "dark" | "error" | "light" | "success" | "warning"): boolean;
};
triggerElement: {
type: import("vue").PropType<string | ((h: typeof import("vue").h) => import("@/common").SlotReturnValue)>;
};
visible: {
type: BooleanConstructor;
default: any;
};
modelValue: {
type: BooleanConstructor;
default: any;
};
defaultVisible: BooleanConstructor;
onVisibleChange: import("vue").PropType<(visible: boolean) => void>;
}>> & Readonly<{
"onUpdate:modelValue"?: (...args: any[]) => any;
"onUpdate:visible"?: (...args: any[]) => any;
"onVisible-change"?: (...args: any[]) => any;
}>, {
closeOnClickOutside: boolean;
placement: "bottom" | "bottom-left" | "bottom-right" | "left" | "left-bottom" | "left-top" | "right" | "right-bottom" | "right-top" | "top" | "top-left" | "top-right";
showArrow: boolean;
theme: "brand" | "dark" | "error" | "light" | "success" | "warning";
visible: boolean;
modelValue: boolean;
defaultVisible: boolean;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
export default _default;