UNPKG

@minto-ai/mt-ui

Version:

UI组件库

95 lines (94 loc) 2.49 kB
import { ExtractPropTypes, PropType } from 'vue'; import { PopoverEffect, PopoverEmits, PopoverInstance } from '../../popover'; declare const tooltipProps: { content: { type: StringConstructor; default: string; }; placement: { type: PropType<import('element-plus').Placement>; default: string; }; disabled: { type: BooleanConstructor; default: boolean; }; visible: { type: PropType<boolean | null>; default: null; }; offset: { type: NumberConstructor; default: undefined; }; 'onUpdate:visible': { type: PropType<(visible: boolean) => void>; }; 'visible-arrow': { type: BooleanConstructor; default: boolean; }; 'popper-options': { type: PropType<Partial<import('element-plus').Options>>; default: () => {}; }; 'show-after': { type: NumberConstructor; default: number; }; 'hide-after': { type: NumberConstructor; default: number; }; 'auto-close': { type: BooleanConstructor; default: boolean; }; 'popper-class': { type: PropType<string | { [x: string]: boolean; } | (string | { [x: string]: boolean; } | (string | { [x: string]: boolean; } | (string | { [x: string]: boolean; } | (string | { [x: string]: boolean; } | (string | { [x: string]: boolean; } | (string | { [x: string]: boolean; } | (string | { [x: string]: boolean; } | (string | { [x: string]: boolean; } | (string | { [x: string]: boolean; } | (string | { [x: string]: boolean; } | (string | { [x: string]: boolean; } | /*elided*/ any)[])[])[])[])[])[])[])[])[])[])[]>; default: string; }; enterable: { type: BooleanConstructor; default: boolean; }; effect: { type: PropType<PopoverEffect>; default: string; }; width: { type: PropType<string>; default: string; }; }; type TooltipProps = ExtractPropTypes<typeof tooltipProps>; interface TooltipEmits { 'update:visible': PopoverEmits['update:visible']; } type TooltipInstance = PopoverInstance; export { tooltipProps, }; export type { TooltipEmits, TooltipInstance, TooltipProps };