@antv/g2 5.1.5-beta.0 → 5.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +436 -0
- package/dist/g2.full.min.js +1 -0
- package/dist/g2.lite.min.js +1 -0
- package/dist/g2.min.js +1 -1
- package/esm/api/chart.d.ts +2 -164
- package/esm/api/library.d.ts +1 -163
- package/esm/api/library.js +1 -2
- package/esm/api/library.js.map +1 -1
- package/esm/api/runtime.d.ts +1 -1
- package/esm/api/runtime.js +6 -1
- package/esm/api/runtime.js.map +1 -1
- package/esm/exports.d.ts +5 -0
- package/esm/exports.js +7 -0
- package/esm/exports.js.map +1 -0
- package/esm/index.d.ts +338 -7
- package/esm/index.js +9 -8
- package/esm/index.js.map +1 -1
- package/esm/interaction/tooltip.js +0 -1
- package/esm/interaction/tooltip.js.map +1 -1
- package/esm/lib/auto.d.ts +3 -0
- package/esm/lib/auto.js +7 -0
- package/esm/lib/auto.js.map +1 -0
- package/esm/lib/index.d.ts +1 -0
- package/esm/lib/index.js +1 -0
- package/esm/lib/index.js.map +1 -1
- package/esm/lib/std.d.ts +29 -29
- package/esm/mark/auto.d.ts +1 -0
- package/esm/mark/auto.js +26 -0
- package/esm/mark/auto.js.map +1 -0
- package/esm/mark/index.d.ts +1 -0
- package/esm/mark/index.js +1 -0
- package/esm/mark/index.js.map +1 -1
- package/esm/runtime/plot.js +2 -2
- package/esm/runtime/plot.js.map +1 -1
- package/esm/shape/index.d.ts +1 -1
- package/esm/spec/index.d.ts +3 -3
- package/esm/spec/mark.d.ts +4 -2
- package/esm/utils/event.d.ts +31 -32
- package/esm/utils/event.js +2 -12
- package/esm/utils/event.js.map +1 -1
- package/lib/api/chart.d.ts +2 -164
- package/lib/api/library.d.ts +1 -163
- package/lib/api/library.js +1 -2
- package/lib/api/library.js.map +1 -1
- package/lib/api/runtime.d.ts +1 -1
- package/lib/api/runtime.js +6 -1
- package/lib/api/runtime.js.map +1 -1
- package/lib/exports.d.ts +5 -0
- package/lib/exports.js +39 -0
- package/lib/exports.js.map +1 -0
- package/lib/index.d.ts +338 -7
- package/lib/index.js +11 -28
- package/lib/index.js.map +1 -1
- package/lib/interaction/tooltip.js +0 -1
- package/lib/interaction/tooltip.js.map +1 -1
- package/lib/lib/auto.d.ts +3 -0
- package/lib/lib/auto.js +11 -0
- package/lib/lib/auto.js.map +1 -0
- package/lib/lib/index.d.ts +1 -0
- package/lib/lib/index.js +3 -1
- package/lib/lib/index.js.map +1 -1
- package/lib/lib/std.d.ts +29 -29
- package/lib/mark/auto.d.ts +1 -0
- package/lib/mark/auto.js +30 -0
- package/lib/mark/auto.js.map +1 -0
- package/lib/mark/index.d.ts +1 -0
- package/lib/mark/index.js +3 -1
- package/lib/mark/index.js.map +1 -1
- package/lib/runtime/plot.js +2 -2
- package/lib/runtime/plot.js.map +1 -1
- package/lib/shape/index.d.ts +1 -1
- package/lib/spec/index.d.ts +3 -3
- package/lib/spec/mark.d.ts +4 -2
- package/lib/utils/event.d.ts +31 -32
- package/lib/utils/event.js +2 -12
- package/lib/utils/event.js.map +1 -1
- package/package.json +23 -8
- package/src/api/chart.ts +1 -1
- package/src/api/library.ts +1 -2
- package/src/api/runtime.ts +7 -2
- package/src/exports.ts +32 -0
- package/src/index.ts +13 -41
- package/src/interaction/tooltip.ts +0 -1
- package/src/lib/auto.ts +7 -0
- package/src/lib/index.ts +1 -0
- package/src/mark/auto.ts +22 -0
- package/src/mark/index.ts +1 -0
- package/src/runtime/plot.ts +2 -2
- package/src/shape/index.ts +1 -1
- package/src/spec/index.ts +3 -3
- package/src/spec/mark.ts +4 -0
- package/src/utils/event.ts +32 -45
- package/dist/g2-lite.min.js +0 -1
package/lib/api/chart.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { G2Spec } from '../spec';
|
|
1
|
+
import type { G2Spec } from '../spec';
|
|
2
2
|
import { API, CompositionAPI } from './extend';
|
|
3
3
|
import { library } from './library';
|
|
4
4
|
import { MarkNode as Node } from './mark';
|
|
@@ -9,167 +9,5 @@ export interface CompositionNode extends CompositionAPI<typeof library> {
|
|
|
9
9
|
}
|
|
10
10
|
export interface MarkNode extends Node {
|
|
11
11
|
}
|
|
12
|
-
export declare const Chart: new (options?: RuntimeOptions) => API<G2Spec, {
|
|
13
|
-
readonly 'data.fetch': import("../runtime").DataComponent<import("../data").FetchOptions>;
|
|
14
|
-
readonly 'data.inline': import("../runtime").DataComponent<import("../data").InlineOptions>;
|
|
15
|
-
readonly 'data.sortBy': import("../runtime").DataComponent<import("../data").SortByOptions>;
|
|
16
|
-
readonly 'data.sort': import("../runtime").DataComponent<import("../data").SortOptions>;
|
|
17
|
-
readonly 'data.filter': import("../runtime").DataComponent<import("../data").FilterDataOptions>;
|
|
18
|
-
readonly 'data.pick': import("../runtime").DataComponent<import("../data").PickOptions>;
|
|
19
|
-
readonly 'data.rename': import("../runtime").DataComponent<import("../data").RenameOptions>;
|
|
20
|
-
readonly 'data.fold': import("../runtime").DataComponent<import("../data").FoldOptions>;
|
|
21
|
-
readonly 'data.slice': import("../runtime").DataComponent<import("../data").SliceOptions>;
|
|
22
|
-
readonly 'data.custom': import("../runtime").DataComponent<import("../data").CustomOptions>;
|
|
23
|
-
readonly 'data.map': import("../runtime").DataComponent<import("../data").MapOptions>;
|
|
24
|
-
readonly 'data.join': import("../runtime").DataComponent<import("../data").JoinOptions>;
|
|
25
|
-
readonly 'data.kde': import("../runtime").DataComponent<import("../data").KDEOptions>;
|
|
26
|
-
readonly 'data.log': import("../runtime").DataComponent<import("../data").LogDataOptions>;
|
|
27
|
-
readonly 'transform.stackY': import("../runtime").TransformComponent<import("../transform").StackYOptions>;
|
|
28
|
-
readonly 'transform.binX': import("../runtime").TransformComponent<import("../transform").BinXOptions>;
|
|
29
|
-
readonly 'transform.bin': import("../runtime").TransformComponent<import("../transform").BinOptions>;
|
|
30
|
-
readonly 'transform.dodgeX': import("../runtime").TransformComponent<import("../transform").DodgeXOptions>;
|
|
31
|
-
readonly 'transform.jitter': import("../runtime").TransformComponent<import("../transform").JitterOptions>;
|
|
32
|
-
readonly 'transform.jitterX': import("../runtime").TransformComponent<import("../transform").JitterXOptions>;
|
|
33
|
-
readonly 'transform.symmetryY': import("../runtime").TransformComponent<import("../transform").SymmetryYOptions>;
|
|
34
|
-
readonly 'transform.diffY': import("../runtime").TransformComponent<import("../transform").DiffYOptions>;
|
|
35
|
-
readonly 'transform.stackEnter': import("../runtime").TransformComponent<import("../transform").StackEnterOptions>;
|
|
36
|
-
readonly 'transform.normalizeY': import("../runtime").TransformComponent<import("../transform").NormalizeYOptions>;
|
|
37
|
-
readonly 'transform.select': import("../runtime").TransformComponent<import("../transform").SelectOptions>;
|
|
38
|
-
readonly 'transform.selectX': import("../runtime").TransformComponent<import("../transform").SelectXOptions>;
|
|
39
|
-
readonly 'transform.selectY': import("../runtime").TransformComponent<import("../transform").SelectYOptions>;
|
|
40
|
-
readonly 'transform.groupX': import("../runtime").TransformComponent<import("../transform").GroupXOptions>;
|
|
41
|
-
readonly 'transform.groupY': import("../runtime").TransformComponent<import("../transform").GroupYOptions>;
|
|
42
|
-
readonly 'transform.groupColor': import("../runtime").TransformComponent<import("../transform").GroupColorOptions>;
|
|
43
|
-
readonly 'transform.group': import("../runtime").TransformComponent<import("../transform").GroupOptions>;
|
|
44
|
-
readonly 'transform.sortX': import("../runtime").TransformComponent<import("../transform").SortXOptions>;
|
|
45
|
-
readonly 'transform.sortY': import("../runtime").TransformComponent<import("../transform").SortYOptions>;
|
|
46
|
-
readonly 'transform.sortColor': import("../runtime").TransformComponent<import("../transform").SortColorOptions>;
|
|
47
|
-
readonly 'transform.flexX': import("../runtime").TransformComponent<import("../transform").FlexXOptions>;
|
|
48
|
-
readonly 'transform.pack': import("../runtime").TransformComponent<import("../transform").PackOptions>;
|
|
49
|
-
readonly 'transform.sample': import("../runtime").TransformComponent<import("../transform").SampleOptions>;
|
|
50
|
-
readonly 'transform.filter': import("../runtime").TransformComponent<import("../transform").FilterOptions>;
|
|
51
|
-
readonly 'coordinate.cartesian': import("../runtime").CoordinateComponent<import("../coordinate").CartesianOptions>;
|
|
52
|
-
readonly 'coordinate.polar': import("../runtime").CoordinateComponent<import("../coordinate").PolarOptions>;
|
|
53
|
-
readonly 'coordinate.transpose': import("../runtime").CoordinateComponent<import("../coordinate").TransposeOptions>;
|
|
54
|
-
readonly 'coordinate.theta': import("../runtime").CoordinateComponent<import("../spec").ThetaCoordinate>;
|
|
55
|
-
readonly 'coordinate.parallel': import("../runtime").CoordinateComponent<import("../coordinate").ParallelOptions>;
|
|
56
|
-
readonly 'coordinate.fisheye': import("../runtime").CoordinateComponent<import("../spec").FisheyeCoordinate>;
|
|
57
|
-
readonly 'coordinate.radial': import("../runtime").CoordinateComponent<import("../coordinate").RadialOptions>;
|
|
58
|
-
readonly 'coordinate.radar': import("../runtime").CoordinateComponent<import("../spec").RadarCoordinate>;
|
|
59
|
-
readonly 'encode.constant': import("../runtime").EncodeComponent<import("../encode").ConstantOptions>;
|
|
60
|
-
readonly 'encode.field': import("../runtime").EncodeComponent<import("../encode").FieldOptions>;
|
|
61
|
-
readonly 'encode.transform': import("../runtime").EncodeComponent<import("../encode").TransformOptions>;
|
|
62
|
-
readonly 'encode.column': import("../runtime").EncodeComponent<import("../encode").ColumnOptions>;
|
|
63
|
-
readonly 'mark.interval': import("../runtime").MarkComponent<import("..").IntervalOptions>;
|
|
64
|
-
readonly 'mark.rect': import("../runtime").MarkComponent<import("..").RectOptions>;
|
|
65
|
-
readonly 'mark.line': import("../runtime").MarkComponent<import("..").LineOptions>;
|
|
66
|
-
readonly 'mark.point': import("../runtime").MarkComponent<import("..").PointOptions>;
|
|
67
|
-
readonly 'mark.text': import("../runtime").MarkComponent<import("..").TextOptions>;
|
|
68
|
-
readonly 'mark.cell': import("../runtime").MarkComponent<import("..").CellOptions>;
|
|
69
|
-
readonly 'mark.area': import("../runtime").MarkComponent<import("..").AreaOptions>;
|
|
70
|
-
readonly 'mark.link': import("../runtime").MarkComponent<import("..").LinkOptions>;
|
|
71
|
-
readonly 'mark.image': import("../runtime").MarkComponent<import("..").ImageOptions>;
|
|
72
|
-
readonly 'mark.polygon': import("../runtime").MarkComponent<import("..").PolygonOptions>;
|
|
73
|
-
readonly 'mark.box': import("../runtime").MarkComponent<import("..").BoxOptions>;
|
|
74
|
-
readonly 'mark.vector': import("../runtime").MarkComponent<import("..").VectorOptions>;
|
|
75
|
-
readonly 'mark.lineX': import("../runtime").MarkComponent<import("..").LineXOptions>;
|
|
76
|
-
readonly 'mark.lineY': import("../runtime").MarkComponent<import("..").LineYOptions>;
|
|
77
|
-
readonly 'mark.connector': import("../runtime").MarkComponent<import("..").ConnectorOptions>;
|
|
78
|
-
readonly 'mark.range': import("../runtime").MarkComponent<import("..").RangeOptions>;
|
|
79
|
-
readonly 'mark.rangeX': import("../runtime").MarkComponent<import("..").RangeXOptions>;
|
|
80
|
-
readonly 'mark.rangeY': import("../runtime").MarkComponent<import("..").RangeYOptions>;
|
|
81
|
-
readonly 'mark.path': import("../runtime").MarkComponent<import("../mark/path").PathOptions>;
|
|
82
|
-
readonly 'mark.shape': import("../runtime").MarkComponent<import("..").ShapeOptions>;
|
|
83
|
-
readonly 'mark.density': import("../runtime").MarkComponent<import("..").DensityOptions>;
|
|
84
|
-
readonly 'mark.heatmap': import("../runtime").MarkComponent<import("..").HeatmapOptions>;
|
|
85
|
-
readonly 'palette.category10': import("../runtime").PaletteComponent<import("../palette").Category10Options>;
|
|
86
|
-
readonly 'palette.category20': import("../runtime").PaletteComponent<import("../palette").Category20Options>;
|
|
87
|
-
readonly 'scale.linear': import("../runtime").ScaleComponent<import("../scale").LinearOptions>;
|
|
88
|
-
readonly 'scale.ordinal': import("../runtime").ScaleComponent<import("../scale").OrdinalOptions>;
|
|
89
|
-
readonly 'scale.band': import("../runtime").ScaleComponent<import("../scale").BandOptions>;
|
|
90
|
-
readonly 'scale.identity': import("../runtime").ScaleComponent<import("../scale").IdentityOptions>;
|
|
91
|
-
readonly 'scale.point': import("../runtime").ScaleComponent<import("../scale").PointOptions>;
|
|
92
|
-
readonly 'scale.time': import("../runtime").ScaleComponent<import("../scale").TimeOptions>;
|
|
93
|
-
readonly 'scale.log': import("../runtime").ScaleComponent<import("../scale").LogOptions>;
|
|
94
|
-
readonly 'scale.pow': import("../runtime").ScaleComponent<import("../scale").PowOptions>;
|
|
95
|
-
readonly 'scale.sqrt': import("../runtime").ScaleComponent<import("../scale").SqrtOptions>;
|
|
96
|
-
readonly 'scale.threshold': import("../runtime").ScaleComponent<import("../scale").ThresholdOptions>;
|
|
97
|
-
readonly 'scale.quantile': import("../runtime").ScaleComponent<import("../scale").QuantileOptions>;
|
|
98
|
-
readonly 'scale.quantize': import("../runtime").ScaleComponent<import("../scale").QuantizeOptions>;
|
|
99
|
-
readonly 'scale.sequential': import("../runtime").ScaleComponent<import("../scale").SequentialOptions>;
|
|
100
|
-
readonly 'scale.constant': import("../runtime").ScaleComponent<import("../scale").ConstantOptions>;
|
|
101
|
-
readonly 'theme.classic': import("../runtime").ThemeComponent<import("../runtime").G2Theme>;
|
|
102
|
-
readonly 'theme.classicDark': import("../runtime").ThemeComponent<import("../runtime").G2Theme>;
|
|
103
|
-
readonly 'theme.academy': import("../runtime").ThemeComponent<import("../runtime").G2Theme>;
|
|
104
|
-
readonly 'theme.light': import("../runtime").ThemeComponent<import("../runtime").G2Theme>;
|
|
105
|
-
readonly 'theme.dark': import("../runtime").ThemeComponent<import("../runtime").G2Theme>;
|
|
106
|
-
readonly 'component.axisX': import("../runtime").GuideComponentComponent<import("../component/axis").AxisOptions>;
|
|
107
|
-
readonly 'component.axisY': import("../runtime").GuideComponentComponent<import("../component/axis").AxisOptions>;
|
|
108
|
-
readonly 'component.legendCategory': import("../runtime").GuideComponentComponent<import("../component").LegendCategoryOptions>;
|
|
109
|
-
readonly 'component.legendContinuous': import("../runtime").GuideComponentComponent<import("../component").LegendContinuousOptions>;
|
|
110
|
-
readonly 'component.legends': import("../runtime").GuideComponentComponent<import("../component").LegendsOptions>;
|
|
111
|
-
readonly 'component.title': import("../runtime").GuideComponentComponent<import("../runtime").G2Title>;
|
|
112
|
-
readonly 'component.sliderX': import("../runtime").GuideComponentComponent<import("../component/slider").SliderOptions>;
|
|
113
|
-
readonly 'component.sliderY': import("../runtime").GuideComponentComponent<import("../component/slider").SliderOptions>;
|
|
114
|
-
readonly 'component.scrollbarX': import("../runtime").GuideComponentComponent<import("../component/scrollbar").ScrollbarOptions>;
|
|
115
|
-
readonly 'component.scrollbarY': import("../runtime").GuideComponentComponent<import("../component/scrollbar").ScrollbarOptions>;
|
|
116
|
-
readonly 'animation.scaleInX': import("../runtime").AnimationComponent<import("../animation/types").Animation>;
|
|
117
|
-
readonly 'animation.scaleOutX': import("../runtime").AnimationComponent<import("../animation/types").Animation>;
|
|
118
|
-
readonly 'animation.scaleInY': import("../runtime").AnimationComponent<import("../animation/types").Animation>;
|
|
119
|
-
readonly 'animation.scaleOutY': import("../runtime").AnimationComponent<import("../animation/types").Animation>;
|
|
120
|
-
readonly 'animation.waveIn': import("../runtime").AnimationComponent<import("../animation/types").Animation>;
|
|
121
|
-
readonly 'animation.fadeIn': import("../runtime").AnimationComponent<import("../animation/types").Animation>;
|
|
122
|
-
readonly 'animation.fadeOut': import("../runtime").AnimationComponent<import("../animation/types").Animation>;
|
|
123
|
-
readonly 'animation.zoomIn': import("../runtime").AnimationComponent<import("../animation/types").Animation>;
|
|
124
|
-
readonly 'animation.zoomOut': import("../runtime").AnimationComponent<import("../animation/types").Animation>;
|
|
125
|
-
readonly 'animation.pathIn': import("../runtime").AnimationComponent<import("../animation/types").Animation>;
|
|
126
|
-
readonly 'animation.morphing': import("../runtime").AnimationComponent<import("../animation").MorphingOptions>;
|
|
127
|
-
readonly 'animation.growInX': import("../runtime").AnimationComponent<import("../animation/types").Animation>;
|
|
128
|
-
readonly 'animation.growInY': import("../runtime").AnimationComponent<import("../animation/types").Animation>;
|
|
129
|
-
readonly 'interaction.elementHighlight': typeof import("../interaction").ElementHighlight;
|
|
130
|
-
readonly 'interaction.elementHighlightByX': typeof import("../interaction").ElementHighlightByX;
|
|
131
|
-
readonly 'interaction.elementHighlightByColor': typeof import("../interaction").ElementHighlightByColor;
|
|
132
|
-
readonly 'interaction.elementSelect': typeof import("../interaction").ElementSelect;
|
|
133
|
-
readonly 'interaction.elementSelectByX': typeof import("../interaction").ElementSelectByX;
|
|
134
|
-
readonly 'interaction.elementSelectByColor': typeof import("../interaction").ElementSelectByColor;
|
|
135
|
-
readonly 'interaction.fisheye': typeof import("../interaction").Fisheye;
|
|
136
|
-
readonly 'interaction.chartIndex': typeof import("../interaction").ChartIndex;
|
|
137
|
-
readonly 'interaction.tooltip': typeof import("../interaction").Tooltip;
|
|
138
|
-
readonly 'interaction.legendFilter': typeof import("../interaction").LegendFilter;
|
|
139
|
-
readonly 'interaction.legendHighlight': typeof import("../interaction").LegendHighlight;
|
|
140
|
-
readonly 'interaction.brushHighlight': typeof import("../interaction").BrushHighlight;
|
|
141
|
-
readonly 'interaction.brushXHighlight': typeof import("../interaction").BrushXHighlight;
|
|
142
|
-
readonly 'interaction.brushYHighlight': typeof import("../interaction").BrushYHighlight;
|
|
143
|
-
readonly 'interaction.brushAxisHighlight': typeof import("../interaction").BrushAxisHighlight;
|
|
144
|
-
readonly 'interaction.brushFilter': typeof import("../interaction").BrushFilter;
|
|
145
|
-
readonly 'interaction.brushXFilter': typeof import("../interaction").BrushXFilter;
|
|
146
|
-
readonly 'interaction.brushYFilter': typeof import("../interaction").BrushYFilter;
|
|
147
|
-
readonly 'interaction.sliderFilter': typeof import("../interaction").SliderFilter;
|
|
148
|
-
readonly 'interaction.scrollbarFilter': typeof import("../interaction").ScrollbarFilter;
|
|
149
|
-
readonly 'interaction.poptip': typeof import("../interaction").Poptip;
|
|
150
|
-
readonly 'composition.spaceLayer': import("../runtime").CompositionComponent<import("../composition").SpaceLayerOptions>;
|
|
151
|
-
readonly 'composition.spaceFlex': import("../runtime").CompositionComponent<import("../composition").SpaceFlexOptions>;
|
|
152
|
-
readonly 'composition.facetRect': import("../runtime").CompositionComponent<import("../composition").FacetRectOptions>;
|
|
153
|
-
readonly 'composition.repeatMatrix': import("../runtime").CompositionComponent<import("../spec").RepeatMatrixComposition>;
|
|
154
|
-
readonly 'composition.facetCircle': import("../runtime").CompositionComponent<import("../spec").FacetCircleComposition>;
|
|
155
|
-
readonly 'composition.timingKeyframe': import("../runtime").CompositionComponent<import("../composition").TimingKeyframeOptions>;
|
|
156
|
-
readonly 'labelTransform.overlapHide': import("../runtime").LabelTransformComponent<import("../label-transform").OverlapHideOptions>;
|
|
157
|
-
readonly 'labelTransform.overlapDodgeY': import("../runtime").LabelTransformComponent<import("../label-transform").OverlapDodgeYOptions>;
|
|
158
|
-
readonly 'labelTransform.overflowHide': import("../runtime").LabelTransformComponent<import("../label-transform").OverflowHideOptions>;
|
|
159
|
-
readonly 'labelTransform.contrastReverse': import("../runtime").LabelTransformComponent<import("../label-transform").ContrastReverseOptions>;
|
|
160
|
-
readonly 'data.venn': import("../runtime").DataComponent<import("../data").VennOptions>;
|
|
161
|
-
readonly 'mark.boxplot': import("../runtime").CompositeMarkComponent<import("../mark/boxplot").BoxPlotOptions>;
|
|
162
|
-
readonly 'mark.gauge': import("../runtime").CompositeMarkComponent<import("..").GaugeOptions>;
|
|
163
|
-
readonly 'mark.wordCloud': import("../runtime").CompositeMarkComponent<import("..").WordCloudOptions>;
|
|
164
|
-
readonly 'mark.liquid': import("../runtime").CompositeMarkComponent<import("..").LiquidOptions>;
|
|
165
|
-
readonly 'data.arc': import("../runtime").DataComponent<import("../data").ArcOptions>;
|
|
166
|
-
readonly 'data.cluster': import("../runtime").DataComponent<import("../data").ClusterOptions>;
|
|
167
|
-
readonly 'mark.forceGraph': import("../runtime").CompositeMarkComponent<import("..").ForceGraphOptions>;
|
|
168
|
-
readonly 'mark.tree': import("../runtime").CompositeMarkComponent<import("..").TreeOptions>;
|
|
169
|
-
readonly 'mark.pack': import("../runtime").CompositionComponent<import("..").PackOptions>;
|
|
170
|
-
readonly 'mark.sankey': import("../runtime").CompositeMarkComponent<import("..").SankeyOptions>;
|
|
171
|
-
readonly 'mark.treemap': import("../runtime").CompositionComponent<import("..").TreemapOptions>;
|
|
172
|
-
readonly 'composition.geoView': import("../runtime").CompositionComponent<import("../composition/geoView").GeoViewOptions>;
|
|
173
|
-
readonly 'composition.geoPath': import("../runtime").CompositionComponent<import("../composition/geoPath").GeoPathOptions>;
|
|
174
|
-
}>;
|
|
12
|
+
export declare const Chart: new (options?: RuntimeOptions) => API<G2Spec, {}>;
|
|
175
13
|
export type ChartOptions = Omit<RuntimeOptions, 'lib'>;
|
package/lib/api/library.d.ts
CHANGED
|
@@ -1,165 +1,3 @@
|
|
|
1
1
|
import { G2ComponentNamespaces, G2Component } from '../runtime';
|
|
2
|
-
export declare const library: {
|
|
3
|
-
readonly 'data.fetch': import("../runtime").DataComponent<import("../data").FetchOptions>;
|
|
4
|
-
readonly 'data.inline': import("../runtime").DataComponent<import("../data").InlineOptions>;
|
|
5
|
-
readonly 'data.sortBy': import("../runtime").DataComponent<import("../data").SortByOptions>;
|
|
6
|
-
readonly 'data.sort': import("../runtime").DataComponent<import("../data").SortOptions>;
|
|
7
|
-
readonly 'data.filter': import("../runtime").DataComponent<import("../data").FilterDataOptions>;
|
|
8
|
-
readonly 'data.pick': import("../runtime").DataComponent<import("../data").PickOptions>;
|
|
9
|
-
readonly 'data.rename': import("../runtime").DataComponent<import("../data").RenameOptions>;
|
|
10
|
-
readonly 'data.fold': import("../runtime").DataComponent<import("../data").FoldOptions>;
|
|
11
|
-
readonly 'data.slice': import("../runtime").DataComponent<import("../data").SliceOptions>;
|
|
12
|
-
readonly 'data.custom': import("../runtime").DataComponent<import("../data").CustomOptions>;
|
|
13
|
-
readonly 'data.map': import("../runtime").DataComponent<import("../data").MapOptions>;
|
|
14
|
-
readonly 'data.join': import("../runtime").DataComponent<import("../data").JoinOptions>;
|
|
15
|
-
readonly 'data.kde': import("../runtime").DataComponent<import("../data").KDEOptions>;
|
|
16
|
-
readonly 'data.log': import("../runtime").DataComponent<import("../data").LogDataOptions>;
|
|
17
|
-
readonly 'transform.stackY': import("../runtime").TransformComponent<import("../transform").StackYOptions>;
|
|
18
|
-
readonly 'transform.binX': import("../runtime").TransformComponent<import("../transform").BinXOptions>;
|
|
19
|
-
readonly 'transform.bin': import("../runtime").TransformComponent<import("../transform").BinOptions>;
|
|
20
|
-
readonly 'transform.dodgeX': import("../runtime").TransformComponent<import("../transform").DodgeXOptions>;
|
|
21
|
-
readonly 'transform.jitter': import("../runtime").TransformComponent<import("../transform").JitterOptions>;
|
|
22
|
-
readonly 'transform.jitterX': import("../runtime").TransformComponent<import("../transform").JitterXOptions>;
|
|
23
|
-
readonly 'transform.symmetryY': import("../runtime").TransformComponent<import("../transform").SymmetryYOptions>;
|
|
24
|
-
readonly 'transform.diffY': import("../runtime").TransformComponent<import("../transform").DiffYOptions>;
|
|
25
|
-
readonly 'transform.stackEnter': import("../runtime").TransformComponent<import("../transform").StackEnterOptions>;
|
|
26
|
-
readonly 'transform.normalizeY': import("../runtime").TransformComponent<import("../transform").NormalizeYOptions>;
|
|
27
|
-
readonly 'transform.select': import("../runtime").TransformComponent<import("../transform").SelectOptions>;
|
|
28
|
-
readonly 'transform.selectX': import("../runtime").TransformComponent<import("../transform").SelectXOptions>;
|
|
29
|
-
readonly 'transform.selectY': import("../runtime").TransformComponent<import("../transform").SelectYOptions>;
|
|
30
|
-
readonly 'transform.groupX': import("../runtime").TransformComponent<import("../transform").GroupXOptions>;
|
|
31
|
-
readonly 'transform.groupY': import("../runtime").TransformComponent<import("../transform").GroupYOptions>;
|
|
32
|
-
readonly 'transform.groupColor': import("../runtime").TransformComponent<import("../transform").GroupColorOptions>;
|
|
33
|
-
readonly 'transform.group': import("../runtime").TransformComponent<import("../transform").GroupOptions>;
|
|
34
|
-
readonly 'transform.sortX': import("../runtime").TransformComponent<import("../transform").SortXOptions>;
|
|
35
|
-
readonly 'transform.sortY': import("../runtime").TransformComponent<import("../transform").SortYOptions>;
|
|
36
|
-
readonly 'transform.sortColor': import("../runtime").TransformComponent<import("../transform").SortColorOptions>;
|
|
37
|
-
readonly 'transform.flexX': import("../runtime").TransformComponent<import("../transform").FlexXOptions>;
|
|
38
|
-
readonly 'transform.pack': import("../runtime").TransformComponent<import("../transform").PackOptions>;
|
|
39
|
-
readonly 'transform.sample': import("../runtime").TransformComponent<import("../transform").SampleOptions>;
|
|
40
|
-
readonly 'transform.filter': import("../runtime").TransformComponent<import("../transform").FilterOptions>;
|
|
41
|
-
readonly 'coordinate.cartesian': import("../runtime").CoordinateComponent<import("../coordinate").CartesianOptions>;
|
|
42
|
-
readonly 'coordinate.polar': import("../runtime").CoordinateComponent<import("../coordinate").PolarOptions>;
|
|
43
|
-
readonly 'coordinate.transpose': import("../runtime").CoordinateComponent<import("../coordinate").TransposeOptions>;
|
|
44
|
-
readonly 'coordinate.theta': import("../runtime").CoordinateComponent<import("..").ThetaCoordinate>;
|
|
45
|
-
readonly 'coordinate.parallel': import("../runtime").CoordinateComponent<import("../coordinate").ParallelOptions>;
|
|
46
|
-
readonly 'coordinate.fisheye': import("../runtime").CoordinateComponent<import("..").FisheyeCoordinate>;
|
|
47
|
-
readonly 'coordinate.radial': import("../runtime").CoordinateComponent<import("../coordinate").RadialOptions>;
|
|
48
|
-
readonly 'coordinate.radar': import("../runtime").CoordinateComponent<import("..").RadarCoordinate>;
|
|
49
|
-
readonly 'encode.constant': import("../runtime").EncodeComponent<import("../encode").ConstantOptions>;
|
|
50
|
-
readonly 'encode.field': import("../runtime").EncodeComponent<import("../encode").FieldOptions>;
|
|
51
|
-
readonly 'encode.transform': import("../runtime").EncodeComponent<import("../encode").TransformOptions>;
|
|
52
|
-
readonly 'encode.column': import("../runtime").EncodeComponent<import("../encode").ColumnOptions>;
|
|
53
|
-
readonly 'mark.interval': import("../runtime").MarkComponent<import("..").IntervalOptions>;
|
|
54
|
-
readonly 'mark.rect': import("../runtime").MarkComponent<import("..").RectOptions>;
|
|
55
|
-
readonly 'mark.line': import("../runtime").MarkComponent<import("..").LineOptions>;
|
|
56
|
-
readonly 'mark.point': import("../runtime").MarkComponent<import("..").PointOptions>;
|
|
57
|
-
readonly 'mark.text': import("../runtime").MarkComponent<import("..").TextOptions>;
|
|
58
|
-
readonly 'mark.cell': import("../runtime").MarkComponent<import("..").CellOptions>;
|
|
59
|
-
readonly 'mark.area': import("../runtime").MarkComponent<import("..").AreaOptions>;
|
|
60
|
-
readonly 'mark.link': import("../runtime").MarkComponent<import("..").LinkOptions>;
|
|
61
|
-
readonly 'mark.image': import("../runtime").MarkComponent<import("..").ImageOptions>;
|
|
62
|
-
readonly 'mark.polygon': import("../runtime").MarkComponent<import("..").PolygonOptions>;
|
|
63
|
-
readonly 'mark.box': import("../runtime").MarkComponent<import("..").BoxOptions>;
|
|
64
|
-
readonly 'mark.vector': import("../runtime").MarkComponent<import("..").VectorOptions>;
|
|
65
|
-
readonly 'mark.lineX': import("../runtime").MarkComponent<import("..").LineXOptions>;
|
|
66
|
-
readonly 'mark.lineY': import("../runtime").MarkComponent<import("..").LineYOptions>;
|
|
67
|
-
readonly 'mark.connector': import("../runtime").MarkComponent<import("..").ConnectorOptions>;
|
|
68
|
-
readonly 'mark.range': import("../runtime").MarkComponent<import("..").RangeOptions>;
|
|
69
|
-
readonly 'mark.rangeX': import("../runtime").MarkComponent<import("..").RangeXOptions>;
|
|
70
|
-
readonly 'mark.rangeY': import("../runtime").MarkComponent<import("..").RangeYOptions>;
|
|
71
|
-
readonly 'mark.path': import("../runtime").MarkComponent<import("../mark/path").PathOptions>;
|
|
72
|
-
readonly 'mark.shape': import("../runtime").MarkComponent<import("..").ShapeOptions>;
|
|
73
|
-
readonly 'mark.density': import("../runtime").MarkComponent<import("..").DensityOptions>;
|
|
74
|
-
readonly 'mark.heatmap': import("../runtime").MarkComponent<import("..").HeatmapOptions>;
|
|
75
|
-
readonly 'palette.category10': import("../runtime").PaletteComponent<import("../palette").Category10Options>;
|
|
76
|
-
readonly 'palette.category20': import("../runtime").PaletteComponent<import("../palette").Category20Options>;
|
|
77
|
-
readonly 'scale.linear': import("../runtime").ScaleComponent<import("../scale").LinearOptions>;
|
|
78
|
-
readonly 'scale.ordinal': import("../runtime").ScaleComponent<import("../scale").OrdinalOptions>;
|
|
79
|
-
readonly 'scale.band': import("../runtime").ScaleComponent<import("../scale").BandOptions>;
|
|
80
|
-
readonly 'scale.identity': import("../runtime").ScaleComponent<import("../scale").IdentityOptions>;
|
|
81
|
-
readonly 'scale.point': import("../runtime").ScaleComponent<import("../scale").PointOptions>;
|
|
82
|
-
readonly 'scale.time': import("../runtime").ScaleComponent<import("../scale").TimeOptions>;
|
|
83
|
-
readonly 'scale.log': import("../runtime").ScaleComponent<import("../scale").LogOptions>;
|
|
84
|
-
readonly 'scale.pow': import("../runtime").ScaleComponent<import("../scale").PowOptions>;
|
|
85
|
-
readonly 'scale.sqrt': import("../runtime").ScaleComponent<import("../scale").SqrtOptions>;
|
|
86
|
-
readonly 'scale.threshold': import("../runtime").ScaleComponent<import("../scale").ThresholdOptions>;
|
|
87
|
-
readonly 'scale.quantile': import("../runtime").ScaleComponent<import("../scale").QuantileOptions>;
|
|
88
|
-
readonly 'scale.quantize': import("../runtime").ScaleComponent<import("../scale").QuantizeOptions>;
|
|
89
|
-
readonly 'scale.sequential': import("../runtime").ScaleComponent<import("../scale").SequentialOptions>;
|
|
90
|
-
readonly 'scale.constant': import("../runtime").ScaleComponent<import("../scale").ConstantOptions>;
|
|
91
|
-
readonly 'theme.classic': import("../runtime").ThemeComponent<import("../runtime").G2Theme>;
|
|
92
|
-
readonly 'theme.classicDark': import("../runtime").ThemeComponent<import("../runtime").G2Theme>;
|
|
93
|
-
readonly 'theme.academy': import("../runtime").ThemeComponent<import("../runtime").G2Theme>;
|
|
94
|
-
readonly 'theme.light': import("../runtime").ThemeComponent<import("../runtime").G2Theme>;
|
|
95
|
-
readonly 'theme.dark': import("../runtime").ThemeComponent<import("../runtime").G2Theme>;
|
|
96
|
-
readonly 'component.axisX': import("../runtime").GuideComponentComponent<import("../component/axis").AxisOptions>;
|
|
97
|
-
readonly 'component.axisY': import("../runtime").GuideComponentComponent<import("../component/axis").AxisOptions>;
|
|
98
|
-
readonly 'component.legendCategory': import("../runtime").GuideComponentComponent<import("../component").LegendCategoryOptions>;
|
|
99
|
-
readonly 'component.legendContinuous': import("../runtime").GuideComponentComponent<import("../component").LegendContinuousOptions>;
|
|
100
|
-
readonly 'component.legends': import("../runtime").GuideComponentComponent<import("../component").LegendsOptions>;
|
|
101
|
-
readonly 'component.title': import("../runtime").GuideComponentComponent<import("../runtime").G2Title>;
|
|
102
|
-
readonly 'component.sliderX': import("../runtime").GuideComponentComponent<import("../component/slider").SliderOptions>;
|
|
103
|
-
readonly 'component.sliderY': import("../runtime").GuideComponentComponent<import("../component/slider").SliderOptions>;
|
|
104
|
-
readonly 'component.scrollbarX': import("../runtime").GuideComponentComponent<import("../component/scrollbar").ScrollbarOptions>;
|
|
105
|
-
readonly 'component.scrollbarY': import("../runtime").GuideComponentComponent<import("../component/scrollbar").ScrollbarOptions>;
|
|
106
|
-
readonly 'animation.scaleInX': import("../runtime").AnimationComponent<import("../animation/types").Animation>;
|
|
107
|
-
readonly 'animation.scaleOutX': import("../runtime").AnimationComponent<import("../animation/types").Animation>;
|
|
108
|
-
readonly 'animation.scaleInY': import("../runtime").AnimationComponent<import("../animation/types").Animation>;
|
|
109
|
-
readonly 'animation.scaleOutY': import("../runtime").AnimationComponent<import("../animation/types").Animation>;
|
|
110
|
-
readonly 'animation.waveIn': import("../runtime").AnimationComponent<import("../animation/types").Animation>;
|
|
111
|
-
readonly 'animation.fadeIn': import("../runtime").AnimationComponent<import("../animation/types").Animation>;
|
|
112
|
-
readonly 'animation.fadeOut': import("../runtime").AnimationComponent<import("../animation/types").Animation>;
|
|
113
|
-
readonly 'animation.zoomIn': import("../runtime").AnimationComponent<import("../animation/types").Animation>;
|
|
114
|
-
readonly 'animation.zoomOut': import("../runtime").AnimationComponent<import("../animation/types").Animation>;
|
|
115
|
-
readonly 'animation.pathIn': import("../runtime").AnimationComponent<import("../animation/types").Animation>;
|
|
116
|
-
readonly 'animation.morphing': import("../runtime").AnimationComponent<import("../animation").MorphingOptions>;
|
|
117
|
-
readonly 'animation.growInX': import("../runtime").AnimationComponent<import("../animation/types").Animation>;
|
|
118
|
-
readonly 'animation.growInY': import("../runtime").AnimationComponent<import("../animation/types").Animation>;
|
|
119
|
-
readonly 'interaction.elementHighlight': typeof import("../interaction").ElementHighlight;
|
|
120
|
-
readonly 'interaction.elementHighlightByX': typeof import("../interaction").ElementHighlightByX;
|
|
121
|
-
readonly 'interaction.elementHighlightByColor': typeof import("../interaction").ElementHighlightByColor;
|
|
122
|
-
readonly 'interaction.elementSelect': typeof import("../interaction").ElementSelect;
|
|
123
|
-
readonly 'interaction.elementSelectByX': typeof import("../interaction").ElementSelectByX;
|
|
124
|
-
readonly 'interaction.elementSelectByColor': typeof import("../interaction").ElementSelectByColor;
|
|
125
|
-
readonly 'interaction.fisheye': typeof import("../interaction").Fisheye;
|
|
126
|
-
readonly 'interaction.chartIndex': typeof import("../interaction").ChartIndex;
|
|
127
|
-
readonly 'interaction.tooltip': typeof import("../interaction").Tooltip;
|
|
128
|
-
readonly 'interaction.legendFilter': typeof import("../interaction").LegendFilter;
|
|
129
|
-
readonly 'interaction.legendHighlight': typeof import("../interaction").LegendHighlight;
|
|
130
|
-
readonly 'interaction.brushHighlight': typeof import("../interaction").BrushHighlight;
|
|
131
|
-
readonly 'interaction.brushXHighlight': typeof import("../interaction").BrushXHighlight;
|
|
132
|
-
readonly 'interaction.brushYHighlight': typeof import("../interaction").BrushYHighlight;
|
|
133
|
-
readonly 'interaction.brushAxisHighlight': typeof import("../interaction").BrushAxisHighlight;
|
|
134
|
-
readonly 'interaction.brushFilter': typeof import("../interaction").BrushFilter;
|
|
135
|
-
readonly 'interaction.brushXFilter': typeof import("../interaction").BrushXFilter;
|
|
136
|
-
readonly 'interaction.brushYFilter': typeof import("../interaction").BrushYFilter;
|
|
137
|
-
readonly 'interaction.sliderFilter': typeof import("../interaction").SliderFilter;
|
|
138
|
-
readonly 'interaction.scrollbarFilter': typeof import("../interaction").ScrollbarFilter;
|
|
139
|
-
readonly 'interaction.poptip': typeof import("../interaction").Poptip;
|
|
140
|
-
readonly 'composition.spaceLayer': import("../runtime").CompositionComponent<import("../composition").SpaceLayerOptions>;
|
|
141
|
-
readonly 'composition.spaceFlex': import("../runtime").CompositionComponent<import("../composition").SpaceFlexOptions>;
|
|
142
|
-
readonly 'composition.facetRect': import("../runtime").CompositionComponent<import("../composition").FacetRectOptions>;
|
|
143
|
-
readonly 'composition.repeatMatrix': import("../runtime").CompositionComponent<import("..").RepeatMatrixComposition>;
|
|
144
|
-
readonly 'composition.facetCircle': import("../runtime").CompositionComponent<import("..").FacetCircleComposition>;
|
|
145
|
-
readonly 'composition.timingKeyframe': import("../runtime").CompositionComponent<import("../composition").TimingKeyframeOptions>;
|
|
146
|
-
readonly 'labelTransform.overlapHide': import("../runtime").LabelTransformComponent<import("../label-transform").OverlapHideOptions>;
|
|
147
|
-
readonly 'labelTransform.overlapDodgeY': import("../runtime").LabelTransformComponent<import("../label-transform").OverlapDodgeYOptions>;
|
|
148
|
-
readonly 'labelTransform.overflowHide': import("../runtime").LabelTransformComponent<import("../label-transform").OverflowHideOptions>;
|
|
149
|
-
readonly 'labelTransform.contrastReverse': import("../runtime").LabelTransformComponent<import("../label-transform").ContrastReverseOptions>;
|
|
150
|
-
readonly 'data.venn': import("../runtime").DataComponent<import("../data").VennOptions>;
|
|
151
|
-
readonly 'mark.boxplot': import("../runtime").CompositeMarkComponent<import("../mark/boxplot").BoxPlotOptions>;
|
|
152
|
-
readonly 'mark.gauge': import("../runtime").CompositeMarkComponent<import("..").GaugeOptions>;
|
|
153
|
-
readonly 'mark.wordCloud': import("../runtime").CompositeMarkComponent<import("..").WordCloudOptions>;
|
|
154
|
-
readonly 'mark.liquid': import("../runtime").CompositeMarkComponent<import("..").LiquidOptions>;
|
|
155
|
-
readonly 'data.arc': import("../runtime").DataComponent<import("../data").ArcOptions>;
|
|
156
|
-
readonly 'data.cluster': import("../runtime").DataComponent<import("../data").ClusterOptions>;
|
|
157
|
-
readonly 'mark.forceGraph': import("../runtime").CompositeMarkComponent<import("..").ForceGraphOptions>;
|
|
158
|
-
readonly 'mark.tree': import("../runtime").CompositeMarkComponent<import("..").TreeOptions>;
|
|
159
|
-
readonly 'mark.pack': import("../runtime").CompositionComponent<import("..").PackOptions>;
|
|
160
|
-
readonly 'mark.sankey': import("../runtime").CompositeMarkComponent<import("..").SankeyOptions>;
|
|
161
|
-
readonly 'mark.treemap': import("../runtime").CompositionComponent<import("..").TreemapOptions>;
|
|
162
|
-
readonly 'composition.geoView': import("../runtime").CompositionComponent<import("../composition/geoView").GeoViewOptions>;
|
|
163
|
-
readonly 'composition.geoPath': import("../runtime").CompositionComponent<import("../composition/geoPath").GeoPathOptions>;
|
|
164
|
-
};
|
|
2
|
+
export declare const library: {};
|
|
165
3
|
export declare function register(key: `${G2ComponentNamespaces}.${any}`, component: G2Component): void;
|
package/lib/api/library.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.register = exports.library = void 0;
|
|
4
|
-
|
|
5
|
-
exports.library = (0, std_1.stdlib)();
|
|
4
|
+
exports.library = {};
|
|
6
5
|
// @todo Warn if override existing key.
|
|
7
6
|
function register(key, component) {
|
|
8
7
|
Object.assign(exports.library, { [key]: component });
|
package/lib/api/library.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"library.js","sourceRoot":"src/","sources":["api/library.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"library.js","sourceRoot":"src/","sources":["api/library.ts"],"names":[],"mappings":";;;AAEa,QAAA,OAAO,GAAG,EAAE,CAAC;AAE1B,uCAAuC;AACvC,SAAgB,QAAQ,CACtB,GAAsC,EACtC,SAAsB;IAEtB,MAAM,CAAC,MAAM,CAAC,eAAO,EAAE,EAAE,CAAC,GAAG,CAAC,EAAE,SAAS,EAAE,CAAC,CAAC;AAC/C,CAAC;AALD,4BAKC"}
|
package/lib/api/runtime.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IRenderer, RendererPlugin, Canvas as GCanvas } from '@antv/g';
|
|
2
2
|
import { G2Context } from '../runtime';
|
|
3
3
|
import { G2Spec, ViewComposition } from '../spec';
|
|
4
|
-
import { G2Library } from '../runtime/types/options';
|
|
4
|
+
import type { G2Library } from '../runtime/types/options';
|
|
5
5
|
import { CompositionNode } from './composition';
|
|
6
6
|
export declare const G2_CHART_KEY = "G2_CHART_KEY";
|
|
7
7
|
export type RuntimeOptions = ViewComposition & {
|
package/lib/api/runtime.js
CHANGED
|
@@ -32,6 +32,7 @@ const utils_1 = require("./utils");
|
|
|
32
32
|
const composition_1 = require("./composition");
|
|
33
33
|
const define_1 = require("./define");
|
|
34
34
|
const mark_1 = require("./mark");
|
|
35
|
+
const library_1 = require("./library");
|
|
35
36
|
exports.G2_CHART_KEY = 'G2_CHART_KEY';
|
|
36
37
|
class Runtime extends composition_1.CompositionNode {
|
|
37
38
|
constructor(options) {
|
|
@@ -51,7 +52,11 @@ class Runtime extends composition_1.CompositionNode {
|
|
|
51
52
|
this._plugins = plugins || [];
|
|
52
53
|
this._container = (0, utils_1.normalizeContainer)(container);
|
|
53
54
|
this._emitter = new event_emitter_1.default();
|
|
54
|
-
this._context = {
|
|
55
|
+
this._context = {
|
|
56
|
+
library: Object.assign(Object.assign({}, lib), library_1.library),
|
|
57
|
+
emitter: this._emitter,
|
|
58
|
+
canvas,
|
|
59
|
+
};
|
|
55
60
|
this._create();
|
|
56
61
|
}
|
|
57
62
|
render() {
|
package/lib/api/runtime.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runtime.js","sourceRoot":"src/","sources":["api/runtime.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA,+BAAuE;AACvE,6CAA4D;AAC5D,iEAAuE;AACvE,qCAAsC;AACtC,wEAA+C;AAC/C,wCAAwD;AAExD,0CAA4C;AAE5C,mCAQiB;AACjB,+CAAgD;AAEhD,qCAAkD;AAClD,iCAAkC;
|
|
1
|
+
{"version":3,"file":"runtime.js","sourceRoot":"src/","sources":["api/runtime.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA,+BAAuE;AACvE,6CAA4D;AAC5D,iEAAuE;AACvE,qCAAsC;AACtC,wEAA+C;AAC/C,wCAAwD;AAExD,0CAA4C;AAE5C,mCAQiB;AACjB,+CAAgD;AAEhD,qCAAkD;AAClD,iCAAkC;AAClC,uCAAoC;AAEvB,QAAA,YAAY,GAAG,cAAc,CAAC;AAY3C,MAAa,OAAsC,SAAQ,6BAAe;IAkBxE,YAAY,OAAuB;QACjC,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,KAAc,OAAO,EAAhB,IAAI,UAAK,OAAO,EAAhE,qDAAsD,CAAU,CAAC;QACvE,KAAK,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;QAZtB,kCAAkC;QAC1B,oBAAe,GAAG,KAAK,CAAC;QACxB,eAAU,GAAG,KAAK,CAAC;QACnB,cAAS,GAAG,KAAK,CAAC;QAClB,qBAAgB,GAAG,IAAI,CAAC;QACxB,oBAAe,GAAG,IAAI,CAAC;QACvB,yBAAoB,GAAG,IAAI,CAAC;QA2S5B,cAAS,GAAG,IAAA,eAAQ,EAAC,GAAG,EAAE;YAChC,IAAI,CAAC,QAAQ,EAAE,CAAC;QAClB,CAAC,EAAE,GAAG,CAAC,CAAC;QAtSN,IAAI,CAAC,SAAS,GAAG,QAAQ,IAAI,IAAI,mBAAc,EAAE,C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,CAAC;YAC5B,MAAM,CAAC,gBAAgB,CAAC,QAAQ,EAAE,IAAI,CAAC,SAAS,CAAC,CAAC;SACnD;IACH,CAAC;IAEO,cAAc;QACpB,IAAI,IAAI,CAAC,eAAe,EAAE;YACxB,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC;YAC7B,MAAM,CAAC,mBAAmB,CAAC,QAAQ,EAAE,IAAI,CAAC,SAAS,CAAC,CAAC;SACtD;IACH,CAAC;CACF;AAnVD,0BAmVC"}
|
package/lib/exports.d.ts
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { render, renderToMountedElement, MAIN_LAYER_CLASS_NAME, LABEL_LAYER_CLASS_NAME, ELEMENT_CLASS_NAME, VIEW_CLASS_NAME, PLOT_CLASS_NAME, COMPONENT_CLASS_NAME, LABEL_CLASS_NAME, AREA_CLASS_NAME, MASK_CLASS_NAME, } from './runtime';
|
|
2
|
+
export { type MarkNode, type CompositionNode, register, Runtime, extend, type ChartOptions, } from './api';
|
|
3
|
+
export { ChartEvent } from './utils/event';
|
|
4
|
+
export type { G2Context } from './runtime';
|
|
5
|
+
export * from './spec';
|
package/lib/exports.js
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.ChartEvent = exports.extend = exports.Runtime = exports.register = exports.MASK_CLASS_NAME = exports.AREA_CLASS_NAME = exports.LABEL_CLASS_NAME = exports.COMPONENT_CLASS_NAME = exports.PLOT_CLASS_NAME = exports.VIEW_CLASS_NAME = exports.ELEMENT_CLASS_NAME = exports.LABEL_LAYER_CLASS_NAME = exports.MAIN_LAYER_CLASS_NAME = exports.renderToMountedElement = exports.render = void 0;
|
|
18
|
+
const g_1 = require("@antv/g");
|
|
19
|
+
g_1.runtime.enableCSSParsing = false;
|
|
20
|
+
var runtime_1 = require("./runtime");
|
|
21
|
+
Object.defineProperty(exports, "render", { enumerable: true, get: function () { return runtime_1.render; } });
|
|
22
|
+
Object.defineProperty(exports, "renderToMountedElement", { enumerable: true, get: function () { return runtime_1.renderToMountedElement; } });
|
|
23
|
+
Object.defineProperty(exports, "MAIN_LAYER_CLASS_NAME", { enumerable: true, get: function () { return runtime_1.MAIN_LAYER_CLASS_NAME; } });
|
|
24
|
+
Object.defineProperty(exports, "LABEL_LAYER_CLASS_NAME", { enumerable: true, get: function () { return runtime_1.LABEL_LAYER_CLASS_NAME; } });
|
|
25
|
+
Object.defineProperty(exports, "ELEMENT_CLASS_NAME", { enumerable: true, get: function () { return runtime_1.ELEMENT_CLASS_NAME; } });
|
|
26
|
+
Object.defineProperty(exports, "VIEW_CLASS_NAME", { enumerable: true, get: function () { return runtime_1.VIEW_CLASS_NAME; } });
|
|
27
|
+
Object.defineProperty(exports, "PLOT_CLASS_NAME", { enumerable: true, get: function () { return runtime_1.PLOT_CLASS_NAME; } });
|
|
28
|
+
Object.defineProperty(exports, "COMPONENT_CLASS_NAME", { enumerable: true, get: function () { return runtime_1.COMPONENT_CLASS_NAME; } });
|
|
29
|
+
Object.defineProperty(exports, "LABEL_CLASS_NAME", { enumerable: true, get: function () { return runtime_1.LABEL_CLASS_NAME; } });
|
|
30
|
+
Object.defineProperty(exports, "AREA_CLASS_NAME", { enumerable: true, get: function () { return runtime_1.AREA_CLASS_NAME; } });
|
|
31
|
+
Object.defineProperty(exports, "MASK_CLASS_NAME", { enumerable: true, get: function () { return runtime_1.MASK_CLASS_NAME; } });
|
|
32
|
+
var api_1 = require("./api");
|
|
33
|
+
Object.defineProperty(exports, "register", { enumerable: true, get: function () { return api_1.register; } });
|
|
34
|
+
Object.defineProperty(exports, "Runtime", { enumerable: true, get: function () { return api_1.Runtime; } });
|
|
35
|
+
Object.defineProperty(exports, "extend", { enumerable: true, get: function () { return api_1.extend; } });
|
|
36
|
+
var event_1 = require("./utils/event");
|
|
37
|
+
Object.defineProperty(exports, "ChartEvent", { enumerable: true, get: function () { return event_1.ChartEvent; } });
|
|
38
|
+
__exportStar(require("./spec"), exports);
|
|
39
|
+
//# sourceMappingURL=exports.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"exports.js","sourceRoot":"src/","sources":["exports.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,+BAAkC;AAElC,WAAO,CAAC,gBAAgB,GAAG,KAAK,CAAC;AAEjC,qCAYmB;AAXjB,iGAAA,MAAM,OAAA;AACN,iHAAA,sBAAsB,OAAA;AACtB,gHAAA,qBAAqB,OAAA;AACrB,iHAAA,sBAAsB,OAAA;AACtB,6GAAA,kBAAkB,OAAA;AAClB,0GAAA,eAAe,OAAA;AACf,0GAAA,eAAe,OAAA;AACf,+GAAA,oBAAoB,OAAA;AACpB,2GAAA,gBAAgB,OAAA;AAChB,0GAAA,eAAe,OAAA;AACf,0GAAA,eAAe,OAAA;AAGjB,6BAOe;AAJb,+FAAA,QAAQ,OAAA;AACR,8FAAA,OAAO,OAAA;AACP,6FAAA,MAAM,OAAA;AAIR,uCAA2C;AAAlC,mGAAA,UAAU,OAAA;AAInB,yCAAuB"}
|