1 | import { Component, ComponentType } from '@antv/f-engine';
|
2 | import Chart, { ChartChildProps, Point } from '../../chart';
|
3 | import { AnimationProps } from '@antv/f-engine';
|
4 | export interface GuideProps {
|
5 | records: any;
|
6 | onClick?: (ev: any) => void;
|
7 | animation?: ((points: Point[], chart: Chart) => AnimationProps) | AnimationProps;
|
8 | [key: string]: any;
|
9 | }
|
10 | declare const _default: (View: ComponentType) => {
|
11 | new <IProps extends GuideProps = GuideProps>(props: IProps & ChartChildProps<import("../../chart/Data").DataRecord>): {
|
12 | chart: Chart;
|
13 | getGuideBBox(): any;
|
14 | parseReplaceStr(value: any, scale: any): any;
|
15 | parsePoint(record: any): {
|
16 | x: any;
|
17 | y: any;
|
18 | };
|
19 | convertPoints(records: any): any;
|
20 | getGuideTheme(): any;
|
21 | render(): import("@antv/f-engine").JSX.Element;
|
22 | props: IProps & ChartChildProps<import("../../chart/Data").DataRecord>;
|
23 | state: import("@antv/f-engine").IState;
|
24 | context: import("@antv/f-engine").IContext;
|
25 | refs: {
|
26 | [key: string]: Component<import("@antv/f-engine").IProps, import("@antv/f-engine").IState>;
|
27 | };
|
28 | updater: import("@antv/f-engine/es/component/updater").Updater<import("@antv/f-engine").IState>;
|
29 | container: import("@antv/g-lite").Group;
|
30 | layout: import("@antv/f-engine").LayoutProps;
|
31 | children: import("@antv/f-engine/es/canvas/vnode").VNode | import("@antv/f-engine/es/canvas/vnode").VNode[];
|
32 | isMounted: boolean;
|
33 | animate: boolean;
|
34 | animator: import("@antv/f-engine/es/canvas/render/animator").default;
|
35 | destroyed: boolean;
|
36 | _vNode: import("@antv/f-engine/es/canvas/vnode").VNode;
|
37 | willMount(): void;
|
38 | didMount(): void;
|
39 | shouldUpdate(_nextProps: IProps & ChartChildProps<import("../../chart/Data").DataRecord>): boolean;
|
40 | willReceiveProps(_props: IProps & ChartChildProps<import("../../chart/Data").DataRecord>, _context?: import("@antv/f-engine").IContext): void;
|
41 | willUpdate(): void;
|
42 | didUpdate(): void;
|
43 | willUnmount(): void;
|
44 | didUnmount(): void;
|
45 | setState(partialState: import("@antv/f-engine").IState, callback?: () => void): void;
|
46 | forceUpdate(callback?: () => void): void;
|
47 | setAnimate(animate: boolean): void;
|
48 | destroy(): void;
|
49 | };
|
50 | };
|
51 | export default _default;
|