UNPKG

2.05 kBPlain TextView Raw
1/* 依赖的模块,在这里统一引入,方便打包优化 */
2
3// G
4export {
5 ICanvas,
6 IElement,
7 IGroup,
8 IShape,
9 PathCommand,
10 BBox,
11 Point,
12 ShapeAttrs,
13 Event,
14 AbstractGroup,
15 AbstractShape,
16} from '@antv/g-base';
17// 需要有 G-base 提供 g engine 类型定义
18export type IG = any;
19
20// adjust
21export { registerAdjust, getAdjust, Adjust } from '@antv/adjust';
22
23// attr
24export { getAttribute, Attribute } from '@antv/attr';
25export { Color } from '@antv/attr';
26
27// coordinate
28export { getCoordinate, registerCoordinate, Coordinate, CoordinateCfg } from '@antv/coord';
29
30// scale
31export { getScale, registerScale, Scale, ScaleConfig, Tick } from '@antv/scale';
32
33// component
34import {
35 Annotation,
36 Axis,
37 Component,
38 Crosshair,
39 Grid,
40 GroupComponent,
41 HtmlComponent,
42 Legend,
43 Slider,
44 Tooltip,
45 Scrollbar,
46} from '@antv/component';
47
48export {
49 CategoryLegendCfg,
50 CircleAxisCfg,
51 LineAxisCfg,
52 GroupComponentCfg,
53 ListItem,
54 AxisLineCfg,
55 AxisTickLineCfg,
56 AxisSubTickLineCfg,
57 AxisTitleCfg,
58 AxisLabelCfg,
59 GridLineCfg,
60 LegendMarkerCfg,
61 LegendTitleCfg,
62 LegendBackgroundCfg,
63 LegendItemNameCfg,
64 LegendItemValueCfg,
65 LegendPageNavigatorCfg,
66 ContinueLegendCfg,
67 ContinueLegendTrackCfg,
68 ContinueLegendRailCfg,
69 ContinueLegendLabelCfg,
70 ContinueLegendHandlerCfg,
71 CrosshairLineCfg,
72 CrosshairTextCfg,
73 CrosshairTextBackgroundCfg,
74 SliderCfg,
75 TrendCfg,
76 EnhancedTextCfg,
77 LineAnnotationTextCfg,
78 IComponent,
79 IList,
80} from '@antv/component';
81
82export { HtmlComponent, GroupComponent, Component, Crosshair };
83export { Annotation };
84// axis
85const { Line: LineAxis, Circle: CircleAxis } = Axis;
86export { LineAxis, CircleAxis };
87// grid
88const { Line: LineGrid, Circle: CircleGrid } = Grid;
89export { LineGrid, CircleGrid };
90// legend
91const { Category: CategoryLegend, Continuous: ContinuousLegend } = Legend;
92export { CategoryLegend, ContinuousLegend };
93// Tooltip
94const { Html: HtmlTooltip } = Tooltip;
95export { HtmlTooltip };
96// Slider
97export { Slider };
98// Scrollbar
99export { Scrollbar };