@fe6/water-pro
Version:
An enterprise-class UI design language and Vue-based implementation
282 lines (281 loc) • 11.7 kB
TypeScript
import ToolTip from './Tooltip';
export { ToolTip };
export type { TooltipProps } from './Tooltip';
declare const _default: {
new (...args: any[]): {
$: import("vue").ComponentInternalInstance;
$data: {
sVisible: boolean;
};
$props: Partial<{
children: unknown[];
prefixCls: string;
color: string;
align: {
[key: string]: any;
};
transitionName: string;
getPopupContainer: (...args: any[]) => any;
builtinPlacements: {
[key: string]: any;
};
mouseEnterDelay: number;
mouseLeaveDelay: number;
placement: "top" | "bottom" | "left" | "right" | "bottomRight" | "bottomLeft" | "topLeft" | "topRight" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom";
autoAdjustOverflow: boolean | {
[key: string]: any;
};
trigger: "click" | "contextmenu" | "focus" | "hover" | ("click" | "contextmenu" | "focus" | "hover")[];
overlayStyle: {
[key: string]: any;
};
overlayClassName: string;
openClassName: string;
arrowPointAtCenter: boolean;
destroyTooltipOnHide: boolean;
onVisibleChange: (...args: any[]) => any;
"onUpdate:visible": (...args: any[]) => any;
}> & Omit<Readonly<{
children: unknown[];
prefixCls: string;
color: string;
align: {
[key: string]: any;
};
transitionName: string;
getPopupContainer: (...args: any[]) => any;
builtinPlacements: {
[key: string]: any;
};
mouseEnterDelay: number;
mouseLeaveDelay: number;
placement: "top" | "bottom" | "left" | "right" | "bottomRight" | "bottomLeft" | "topLeft" | "topRight" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom";
autoAdjustOverflow: boolean | {
[key: string]: any;
};
trigger: "click" | "contextmenu" | "focus" | "hover" | ("click" | "contextmenu" | "focus" | "hover")[];
overlayStyle: {
[key: string]: any;
};
overlayClassName: string;
openClassName: string;
arrowPointAtCenter: boolean;
destroyTooltipOnHide: boolean;
onVisibleChange: (...args: any[]) => any;
"onUpdate:visible": (...args: any[]) => any;
} & {
title?: import("../_util/type").VueNode;
visible?: boolean;
defaultVisible?: boolean;
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "children" | "prefixCls" | "color" | "align" | "transitionName" | "getPopupContainer" | "builtinPlacements" | "mouseEnterDelay" | "mouseLeaveDelay" | "placement" | "autoAdjustOverflow" | "trigger" | "overlayStyle" | "overlayClassName" | "openClassName" | "arrowPointAtCenter" | "destroyTooltipOnHide" | "onVisibleChange" | "onUpdate:visible">;
$attrs: {
[x: string]: unknown;
};
$refs: {
[x: string]: unknown;
};
$slots: Readonly<{
[name: string]: import("vue").Slot;
}>;
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
$emit: (event: "update:visible" | "visibleChange", ...args: any[]) => void;
$el: any;
$options: import("vue").ComponentOptionsBase<Readonly<{
children: unknown[];
prefixCls: string;
color: string;
align: {
[key: string]: any;
};
transitionName: string;
getPopupContainer: (...args: any[]) => any;
builtinPlacements: {
[key: string]: any;
};
mouseEnterDelay: number;
mouseLeaveDelay: number;
placement: "top" | "bottom" | "left" | "right" | "bottomRight" | "bottomLeft" | "topLeft" | "topRight" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom";
autoAdjustOverflow: boolean | {
[key: string]: any;
};
trigger: "click" | "contextmenu" | "focus" | "hover" | ("click" | "contextmenu" | "focus" | "hover")[];
overlayStyle: {
[key: string]: any;
};
overlayClassName: string;
openClassName: string;
arrowPointAtCenter: boolean;
destroyTooltipOnHide: boolean;
onVisibleChange: (...args: any[]) => any;
"onUpdate:visible": (...args: any[]) => any;
} & {
title?: import("../_util/type").VueNode;
visible?: boolean;
defaultVisible?: boolean;
}>, {
configProvider: import("../config-provider").ConfigConsumerProps;
}, {
sVisible: boolean;
}, {}, {
handleVisibleChange(visible: boolean): void;
getPopupDomNode(): any;
getPlacements(): any;
getDisabledCompatibleChildren(ele: any): any;
isNoTitle(): boolean;
getOverlay(): any;
onPopupAlign(domNode: HTMLElement, align: any): void;
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:visible" | "visibleChange")[], string, {
children: unknown[];
prefixCls: string;
color: string;
align: {
[key: string]: any;
};
transitionName: string;
getPopupContainer: (...args: any[]) => any;
builtinPlacements: {
[key: string]: any;
};
mouseEnterDelay: number;
mouseLeaveDelay: number;
placement: "top" | "bottom" | "left" | "right" | "bottomRight" | "bottomLeft" | "topLeft" | "topRight" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom";
autoAdjustOverflow: boolean | {
[key: string]: any;
};
trigger: "click" | "contextmenu" | "focus" | "hover" | ("click" | "contextmenu" | "focus" | "hover")[];
overlayStyle: {
[key: string]: any;
};
overlayClassName: string;
openClassName: string;
arrowPointAtCenter: boolean;
destroyTooltipOnHide: boolean;
onVisibleChange: (...args: any[]) => any;
"onUpdate:visible": (...args: any[]) => any;
}>;
$forceUpdate: import("vue").ReactiveEffect<any>;
$nextTick: typeof import("vue").nextTick;
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
} & Readonly<{
children: unknown[];
prefixCls: string;
color: string;
align: {
[key: string]: any;
};
transitionName: string;
getPopupContainer: (...args: any[]) => any;
builtinPlacements: {
[key: string]: any;
};
mouseEnterDelay: number;
mouseLeaveDelay: number;
placement: "top" | "bottom" | "left" | "right" | "bottomRight" | "bottomLeft" | "topLeft" | "topRight" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom";
autoAdjustOverflow: boolean | {
[key: string]: any;
};
trigger: "click" | "contextmenu" | "focus" | "hover" | ("click" | "contextmenu" | "focus" | "hover")[];
overlayStyle: {
[key: string]: any;
};
overlayClassName: string;
openClassName: string;
arrowPointAtCenter: boolean;
destroyTooltipOnHide: boolean;
onVisibleChange: (...args: any[]) => any;
"onUpdate:visible": (...args: any[]) => any;
} & {
title?: import("../_util/type").VueNode;
visible?: boolean;
defaultVisible?: boolean;
}> & import("vue").ShallowUnwrapRef<{
configProvider: import("../config-provider").ConfigConsumerProps;
}> & {
sVisible: boolean;
} & {} & {
handleVisibleChange(visible: boolean): void;
getPopupDomNode(): any;
getPlacements(): any;
getDisabledCompatibleChildren(ele: any): any;
isNoTitle(): boolean;
getOverlay(): any;
onPopupAlign(domNode: HTMLElement, align: any): void;
} & import("vue").ComponentCustomProperties;
__isFragment?: never;
__isTeleport?: never;
__isSuspense?: never;
} & import("vue").ComponentOptionsBase<Readonly<{
children: unknown[];
prefixCls: string;
color: string;
align: {
[key: string]: any;
};
transitionName: string;
getPopupContainer: (...args: any[]) => any;
builtinPlacements: {
[key: string]: any;
};
mouseEnterDelay: number;
mouseLeaveDelay: number;
placement: "top" | "bottom" | "left" | "right" | "bottomRight" | "bottomLeft" | "topLeft" | "topRight" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom";
autoAdjustOverflow: boolean | {
[key: string]: any;
};
trigger: "click" | "contextmenu" | "focus" | "hover" | ("click" | "contextmenu" | "focus" | "hover")[];
overlayStyle: {
[key: string]: any;
};
overlayClassName: string;
openClassName: string;
arrowPointAtCenter: boolean;
destroyTooltipOnHide: boolean;
onVisibleChange: (...args: any[]) => any;
"onUpdate:visible": (...args: any[]) => any;
} & {
title?: import("../_util/type").VueNode;
visible?: boolean;
defaultVisible?: boolean;
}>, {
configProvider: import("../config-provider").ConfigConsumerProps;
}, {
sVisible: boolean;
}, {}, {
handleVisibleChange(visible: boolean): void;
getPopupDomNode(): any;
getPlacements(): any;
getDisabledCompatibleChildren(ele: any): any;
isNoTitle(): boolean;
getOverlay(): any;
onPopupAlign(domNode: HTMLElement, align: any): void;
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:visible" | "visibleChange")[], "update:visible" | "visibleChange", {
children: unknown[];
prefixCls: string;
color: string;
align: {
[key: string]: any;
};
transitionName: string;
getPopupContainer: (...args: any[]) => any;
builtinPlacements: {
[key: string]: any;
};
mouseEnterDelay: number;
mouseLeaveDelay: number;
placement: "top" | "bottom" | "left" | "right" | "bottomRight" | "bottomLeft" | "topLeft" | "topRight" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom";
autoAdjustOverflow: boolean | {
[key: string]: any;
};
trigger: "click" | "contextmenu" | "focus" | "hover" | ("click" | "contextmenu" | "focus" | "hover")[];
overlayStyle: {
[key: string]: any;
};
overlayClassName: string;
openClassName: string;
arrowPointAtCenter: boolean;
destroyTooltipOnHide: boolean;
onVisibleChange: (...args: any[]) => any;
"onUpdate:visible": (...args: any[]) => any;
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
export default _default;