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