UNPKG

2.22 kBTypeScriptView Raw
1import withTooltip, { TooltipProps } from './withTooltip';
2import TooltipView from './tooltipView';
3export { TooltipProps, withTooltip, TooltipView };
4declare const _default: {
5 new <IProps extends TooltipProps = TooltipProps>(props: IProps & import("../../chart").ChartChildProps<import("../../chart/Data").DataRecord>): {
6 updateCoord(): void;
7 willMount(): void;
8 didMount(): void;
9 _initEvent(): void;
10 willReceiveProps(nextProps: any): void;
11 _initShow(): void;
12 _showByData(dataItem: any): void;
13 _triggerOn: (ev: any) => void;
14 _triggerOff: () => void;
15 show(point: any, _ev?: any): void;
16 showSnapRecords(snapRecords: any): void;
17 hide(): void;
18 render(): import("@antv/f-engine").JSX.Element;
19 props: IProps & import("../../chart").ChartChildProps<import("../../chart/Data").DataRecord>;
20 state: import("./withTooltip").TooltipState;
21 context: import("@antv/f-engine").IContext;
22 refs: {
23 [key: string]: import("@antv/f-engine/es/component").default<import("@antv/f-engine").IProps, import("@antv/f-engine").IState>;
24 };
25 updater: import("@antv/f-engine/es/component/updater").Updater<import("./withTooltip").TooltipState>;
26 container: import("@antv/g-lite").Group;
27 layout: import("@antv/f-engine").LayoutProps;
28 children: import("@antv/f-engine/es/canvas/vnode").VNode | import("@antv/f-engine/es/canvas/vnode").VNode[];
29 isMounted: boolean;
30 animate: boolean;
31 animator: import("@antv/f-engine/es/canvas/render/animator").default;
32 destroyed: boolean;
33 _vNode: import("@antv/f-engine/es/canvas/vnode").VNode;
34 shouldUpdate(_nextProps: IProps & import("../../chart").ChartChildProps<import("../../chart/Data").DataRecord>): boolean;
35 willUpdate(): void;
36 didUpdate(): void;
37 willUnmount(): void;
38 didUnmount(): void;
39 setState(partialState: import("./withTooltip").TooltipState, callback?: () => void): void;
40 forceUpdate(callback?: () => void): void;
41 setAnimate(animate: boolean): void;
42 destroy(): void;
43 };
44};
45export default _default;