UNPKG

tdesign-mobile-vue

Version:
169 lines (168 loc) 8.85 kB
import { TdPopoverProps } from './type'; import './style'; export * from './type'; export type PopoverProps = TdPopoverProps; export declare const Popover: { new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<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; }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:visible" | "visible-change")[], import("vue").PublicProps, { 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; }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, { P: {}; B: {}; D: {}; C: {}; M: {}; Defaults: {}; }, 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; }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, { 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; }>; __isFragment?: never; __isTeleport?: never; __isSuspense?: never; } & import("vue").ComponentOptionsBase<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; }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:visible" | "visible-change")[], "update:modelValue" | "update:visible" | "visible-change", { 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").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin; export default Popover;