@antv/g2 5.1.6 → 5.1.8-beta.1

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.
Files changed (265) hide show
  1. package/README.md +2 -2
  2. package/README.zh-CN.md +1 -1
  3. package/dist/g2.full.min.js +1 -1
  4. package/dist/g2.lite.min.js +1 -1
  5. package/dist/g2.min.js +1 -1
  6. package/esm/animation/growInX.js +0 -4
  7. package/esm/animation/growInX.js.map +1 -1
  8. package/esm/animation/growInY.js +0 -4
  9. package/esm/animation/growInY.js.map +1 -1
  10. package/esm/animation/scaleInX.js +5 -7
  11. package/esm/animation/scaleInX.js.map +1 -1
  12. package/esm/animation/scaleInY.js +5 -7
  13. package/esm/animation/scaleInY.js.map +1 -1
  14. package/esm/animation/scaleOutX.js +5 -7
  15. package/esm/animation/scaleOutX.js.map +1 -1
  16. package/esm/animation/scaleOutY.js +5 -7
  17. package/esm/animation/scaleOutY.js.map +1 -1
  18. package/esm/animation/zoomIn.js +4 -5
  19. package/esm/animation/zoomIn.js.map +1 -1
  20. package/esm/animation/zoomOut.js +4 -6
  21. package/esm/animation/zoomOut.js.map +1 -1
  22. package/esm/component/axis.js +1 -5
  23. package/esm/component/axis.js.map +1 -1
  24. package/esm/component/index.d.ts +0 -1
  25. package/esm/component/index.js +0 -1
  26. package/esm/component/index.js.map +1 -1
  27. package/esm/component/legendContinuous.js +1 -1
  28. package/esm/component/legendContinuous.js.map +1 -1
  29. package/esm/coordinate/index.d.ts +0 -2
  30. package/esm/coordinate/index.js +0 -1
  31. package/esm/coordinate/index.js.map +1 -1
  32. package/esm/exports.d.ts +6 -1
  33. package/esm/exports.js +4 -0
  34. package/esm/exports.js.map +1 -1
  35. package/esm/index.d.ts +114 -114
  36. package/esm/index.js +2 -2
  37. package/esm/index.js.map +1 -1
  38. package/esm/lib/builtinlib.d.ts +7 -7
  39. package/esm/lib/core.d.ts +32 -32
  40. package/esm/lib/index.d.ts +0 -2
  41. package/esm/lib/index.js +0 -2
  42. package/esm/lib/index.js.map +1 -1
  43. package/esm/lib/lite.d.ts +18 -18
  44. package/esm/lib/std.d.ts +56 -56
  45. package/esm/mark/index.d.ts +0 -4
  46. package/esm/mark/index.js +0 -4
  47. package/esm/mark/index.js.map +1 -1
  48. package/esm/mark/liquid.js +2 -1
  49. package/esm/mark/liquid.js.map +1 -1
  50. package/esm/runtime/component.js +1 -3
  51. package/esm/runtime/component.js.map +1 -1
  52. package/esm/runtime/types/component.d.ts +1 -6
  53. package/esm/shape/index.d.ts +0 -4
  54. package/esm/shape/index.js +0 -4
  55. package/esm/shape/index.js.map +1 -1
  56. package/esm/shape/interval/color.d.ts +4 -0
  57. package/esm/shape/interval/color.js +10 -7
  58. package/esm/shape/interval/color.js.map +1 -1
  59. package/esm/shape/interval/rect.d.ts +4 -0
  60. package/esm/shape/interval/rect.js.map +1 -1
  61. package/esm/shape/line/smooth.js +8 -4
  62. package/esm/shape/line/smooth.js.map +1 -1
  63. package/esm/spec/coordinate.d.ts +1 -4
  64. package/esm/spec/mark.d.ts +1 -3
  65. package/esm/theme/create.d.ts +1 -0
  66. package/esm/theme/create.js +1 -0
  67. package/esm/theme/create.js.map +1 -1
  68. package/esm/transform/filter.js +3 -1
  69. package/esm/transform/filter.js.map +1 -1
  70. package/esm/transform/maybeTitle.js +6 -1
  71. package/esm/transform/maybeTitle.js.map +1 -1
  72. package/esm/utils/dateFormat.d.ts +1 -0
  73. package/esm/utils/dateFormat.js +18 -0
  74. package/esm/utils/dateFormat.js.map +1 -0
  75. package/esm/utils/number.d.ts +4 -0
  76. package/esm/utils/number.js +8 -0
  77. package/esm/utils/number.js.map +1 -1
  78. package/lib/animation/growInX.js +0 -4
  79. package/lib/animation/growInX.js.map +1 -1
  80. package/lib/animation/growInY.js +0 -4
  81. package/lib/animation/growInY.js.map +1 -1
  82. package/lib/animation/scaleInX.js +5 -7
  83. package/lib/animation/scaleInX.js.map +1 -1
  84. package/lib/animation/scaleInY.js +5 -7
  85. package/lib/animation/scaleInY.js.map +1 -1
  86. package/lib/animation/scaleOutX.js +5 -7
  87. package/lib/animation/scaleOutX.js.map +1 -1
  88. package/lib/animation/scaleOutY.js +5 -7
  89. package/lib/animation/scaleOutY.js.map +1 -1
  90. package/lib/animation/zoomIn.js +4 -5
  91. package/lib/animation/zoomIn.js.map +1 -1
  92. package/lib/animation/zoomOut.js +4 -6
  93. package/lib/animation/zoomOut.js.map +1 -1
  94. package/lib/component/axis.js +3 -7
  95. package/lib/component/axis.js.map +1 -1
  96. package/lib/component/index.d.ts +0 -1
  97. package/lib/component/index.js +1 -3
  98. package/lib/component/index.js.map +1 -1
  99. package/lib/component/legendContinuous.js +1 -1
  100. package/lib/component/legendContinuous.js.map +1 -1
  101. package/lib/coordinate/index.d.ts +0 -2
  102. package/lib/coordinate/index.js +1 -3
  103. package/lib/coordinate/index.js.map +1 -1
  104. package/lib/exports.d.ts +6 -1
  105. package/lib/exports.js +13 -1
  106. package/lib/exports.js.map +1 -1
  107. package/lib/index.d.ts +114 -114
  108. package/lib/index.js +1 -2
  109. package/lib/index.js.map +1 -1
  110. package/lib/lib/builtinlib.d.ts +7 -7
  111. package/lib/lib/core.d.ts +32 -32
  112. package/lib/lib/index.d.ts +0 -2
  113. package/lib/lib/index.js +1 -5
  114. package/lib/lib/index.js.map +1 -1
  115. package/lib/lib/lite.d.ts +18 -18
  116. package/lib/lib/std.d.ts +56 -56
  117. package/lib/mark/index.d.ts +0 -4
  118. package/lib/mark/index.js +1 -9
  119. package/lib/mark/index.js.map +1 -1
  120. package/lib/mark/liquid.js +2 -1
  121. package/lib/mark/liquid.js.map +1 -1
  122. package/lib/runtime/component.js +2 -4
  123. package/lib/runtime/component.js.map +1 -1
  124. package/lib/runtime/types/component.d.ts +1 -6
  125. package/lib/shape/index.d.ts +0 -4
  126. package/lib/shape/index.js +6 -14
  127. package/lib/shape/index.js.map +1 -1
  128. package/lib/shape/interval/color.d.ts +4 -0
  129. package/lib/shape/interval/color.js +10 -7
  130. package/lib/shape/interval/color.js.map +1 -1
  131. package/lib/shape/interval/rect.d.ts +4 -0
  132. package/lib/shape/interval/rect.js.map +1 -1
  133. package/lib/shape/line/smooth.js +6 -2
  134. package/lib/shape/line/smooth.js.map +1 -1
  135. package/lib/spec/coordinate.d.ts +1 -4
  136. package/lib/spec/mark.d.ts +1 -3
  137. package/lib/theme/create.d.ts +1 -0
  138. package/lib/theme/create.js +1 -0
  139. package/lib/theme/create.js.map +1 -1
  140. package/lib/transform/filter.js +3 -1
  141. package/lib/transform/filter.js.map +1 -1
  142. package/lib/transform/maybeTitle.js +6 -1
  143. package/lib/transform/maybeTitle.js.map +1 -1
  144. package/lib/utils/dateFormat.d.ts +1 -0
  145. package/lib/utils/dateFormat.js +22 -0
  146. package/lib/utils/dateFormat.js.map +1 -0
  147. package/lib/utils/number.d.ts +4 -0
  148. package/lib/utils/number.js +10 -1
  149. package/lib/utils/number.js.map +1 -1
  150. package/package.json +10 -17
  151. package/src/animation/growInX.ts +1 -6
  152. package/src/animation/growInY.ts +1 -6
  153. package/src/animation/scaleInX.ts +8 -11
  154. package/src/animation/scaleInY.ts +8 -11
  155. package/src/animation/scaleOutX.ts +8 -11
  156. package/src/animation/scaleOutY.ts +8 -11
  157. package/src/animation/zoomIn.ts +4 -6
  158. package/src/animation/zoomOut.ts +4 -7
  159. package/src/component/axis.ts +1 -5
  160. package/src/component/index.ts +0 -1
  161. package/src/component/legendContinuous.ts +1 -1
  162. package/src/coordinate/index.ts +0 -2
  163. package/src/exports.ts +18 -2
  164. package/src/index.ts +2 -2
  165. package/src/lib/index.ts +0 -2
  166. package/src/mark/index.ts +0 -4
  167. package/src/mark/liquid.ts +2 -1
  168. package/src/runtime/component.ts +1 -4
  169. package/src/runtime/types/component.ts +2 -9
  170. package/src/shape/index.ts +0 -4
  171. package/src/shape/interval/color.ts +16 -4
  172. package/src/shape/interval/rect.ts +5 -0
  173. package/src/shape/line/smooth.ts +12 -4
  174. package/src/spec/coordinate.ts +0 -5
  175. package/src/spec/mark.ts +0 -3
  176. package/src/theme/create.ts +1 -0
  177. package/src/transform/filter.ts +3 -1
  178. package/src/transform/maybeTitle.ts +8 -1
  179. package/src/utils/dateFormat.ts +22 -0
  180. package/src/utils/number.ts +8 -0
  181. package/CHANGELOG.md +0 -417
  182. package/esm/component/axisZ.d.ts +0 -8
  183. package/esm/component/axisZ.js +0 -14
  184. package/esm/component/axisZ.js.map +0 -1
  185. package/esm/coordinate/cartesian3D.d.ts +0 -7
  186. package/esm/coordinate/cartesian3D.js +0 -6
  187. package/esm/coordinate/cartesian3D.js.map +0 -1
  188. package/esm/lib/auto.d.ts +0 -3
  189. package/esm/lib/auto.js +0 -7
  190. package/esm/lib/auto.js.map +0 -1
  191. package/esm/lib/threed.d.ts +0 -7
  192. package/esm/lib/threed.js +0 -13
  193. package/esm/lib/threed.js.map +0 -1
  194. package/esm/mark/auto.d.ts +0 -1
  195. package/esm/mark/auto.js +0 -26
  196. package/esm/mark/auto.js.map +0 -1
  197. package/esm/mark/interval3D.d.ts +0 -8
  198. package/esm/mark/interval3D.js +0 -65
  199. package/esm/mark/interval3D.js.map +0 -1
  200. package/esm/mark/line3D.d.ts +0 -7
  201. package/esm/mark/line3D.js +0 -65
  202. package/esm/mark/line3D.js.map +0 -1
  203. package/esm/mark/point3D.d.ts +0 -9
  204. package/esm/mark/point3D.js +0 -76
  205. package/esm/mark/point3D.js.map +0 -1
  206. package/esm/shape/interval3D/cube.d.ts +0 -6
  207. package/esm/shape/interval3D/cube.js +0 -71
  208. package/esm/shape/interval3D/cube.js.map +0 -1
  209. package/esm/shape/line3D/line.d.ts +0 -3
  210. package/esm/shape/line3D/line.js +0 -30
  211. package/esm/shape/line3D/line.js.map +0 -1
  212. package/esm/shape/point3D/cube.d.ts +0 -6
  213. package/esm/shape/point3D/cube.js +0 -70
  214. package/esm/shape/point3D/cube.js.map +0 -1
  215. package/esm/shape/point3D/sphere.d.ts +0 -6
  216. package/esm/shape/point3D/sphere.js +0 -70
  217. package/esm/shape/point3D/sphere.js.map +0 -1
  218. package/lib/component/axisZ.d.ts +0 -8
  219. package/lib/component/axisZ.js +0 -19
  220. package/lib/component/axisZ.js.map +0 -1
  221. package/lib/coordinate/cartesian3D.d.ts +0 -7
  222. package/lib/coordinate/cartesian3D.js +0 -10
  223. package/lib/coordinate/cartesian3D.js.map +0 -1
  224. package/lib/lib/auto.d.ts +0 -3
  225. package/lib/lib/auto.js +0 -11
  226. package/lib/lib/auto.js.map +0 -1
  227. package/lib/lib/threed.d.ts +0 -7
  228. package/lib/lib/threed.js +0 -17
  229. package/lib/lib/threed.js.map +0 -1
  230. package/lib/mark/auto.d.ts +0 -1
  231. package/lib/mark/auto.js +0 -30
  232. package/lib/mark/auto.js.map +0 -1
  233. package/lib/mark/interval3D.d.ts +0 -8
  234. package/lib/mark/interval3D.js +0 -69
  235. package/lib/mark/interval3D.js.map +0 -1
  236. package/lib/mark/line3D.d.ts +0 -7
  237. package/lib/mark/line3D.js +0 -69
  238. package/lib/mark/line3D.js.map +0 -1
  239. package/lib/mark/point3D.d.ts +0 -9
  240. package/lib/mark/point3D.js +0 -80
  241. package/lib/mark/point3D.js.map +0 -1
  242. package/lib/shape/interval3D/cube.d.ts +0 -6
  243. package/lib/shape/interval3D/cube.js +0 -75
  244. package/lib/shape/interval3D/cube.js.map +0 -1
  245. package/lib/shape/line3D/line.d.ts +0 -3
  246. package/lib/shape/line3D/line.js +0 -34
  247. package/lib/shape/line3D/line.js.map +0 -1
  248. package/lib/shape/point3D/cube.d.ts +0 -6
  249. package/lib/shape/point3D/cube.js +0 -74
  250. package/lib/shape/point3D/cube.js.map +0 -1
  251. package/lib/shape/point3D/sphere.d.ts +0 -6
  252. package/lib/shape/point3D/sphere.js +0 -74
  253. package/lib/shape/point3D/sphere.js.map +0 -1
  254. package/src/component/axisZ.ts +0 -25
  255. package/src/coordinate/cartesian3D.ts +0 -11
  256. package/src/lib/auto.ts +0 -7
  257. package/src/lib/threed.ts +0 -13
  258. package/src/mark/auto.ts +0 -22
  259. package/src/mark/interval3D.ts +0 -100
  260. package/src/mark/line3D.ts +0 -81
  261. package/src/mark/point3D.ts +0 -90
  262. package/src/shape/interval3D/cube.ts +0 -69
  263. package/src/shape/line3D/line.ts +0 -29
  264. package/src/shape/point3D/cube.ts +0 -68
  265. package/src/shape/point3D/sphere.ts +0 -68
package/esm/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- import { corelib, plotlib, graphlib, geolib, stdlib, threedlib } from './lib';
1
+ import { corelib, plotlib, graphlib, geolib, stdlib } from './lib';
2
2
  import { API, CompositionAPI } from './api/extend';
3
3
  import { G2Spec } from './spec';
4
- export { corelib, plotlib, graphlib, geolib, stdlib, threedlib };
4
+ export { corelib, plotlib, graphlib, geolib, stdlib };
5
5
  export * from './exports';
6
6
  /**
7
7
  * G2 standard library initial all the libs except 3D and auto.
@@ -21,30 +21,30 @@ declare const library: {
21
21
  'data.join': import("./runtime").DataComponent<import("./data").JoinOptions>;
22
22
  'data.kde': import("./runtime").DataComponent<import("./data").KDEOptions>;
23
23
  'data.log': import("./runtime").DataComponent<import("./data").LogDataOptions>;
24
- 'transform.stackY': import("./runtime").TransformComponent<import("./transform").StackYOptions>;
25
- 'transform.binX': import("./runtime").TransformComponent<import("./transform").BinXOptions>;
26
- 'transform.bin': import("./runtime").TransformComponent<import("./transform").BinOptions>;
27
- 'transform.dodgeX': import("./runtime").TransformComponent<import("./transform").DodgeXOptions>;
28
- 'transform.jitter': import("./runtime").TransformComponent<import("./transform").JitterOptions>;
29
- 'transform.jitterX': import("./runtime").TransformComponent<import("./transform").JitterXOptions>;
30
- 'transform.symmetryY': import("./runtime").TransformComponent<import("./transform").SymmetryYOptions>;
31
- 'transform.diffY': import("./runtime").TransformComponent<import("./transform").DiffYOptions>;
32
- 'transform.stackEnter': import("./runtime").TransformComponent<import("./transform").StackEnterOptions>;
33
- 'transform.normalizeY': import("./runtime").TransformComponent<import("./transform").NormalizeYOptions>;
34
- 'transform.select': import("./runtime").TransformComponent<import("./transform").SelectOptions>;
35
- 'transform.selectX': import("./runtime").TransformComponent<import("./transform").SelectXOptions>;
36
- 'transform.selectY': import("./runtime").TransformComponent<import("./transform").SelectYOptions>;
37
- 'transform.groupX': import("./runtime").TransformComponent<import("./transform").GroupXOptions>;
38
- 'transform.groupY': import("./runtime").TransformComponent<import("./transform").GroupYOptions>;
39
- 'transform.groupColor': import("./runtime").TransformComponent<import("./transform").GroupColorOptions>;
40
- 'transform.group': import("./runtime").TransformComponent<import("./transform").GroupOptions>;
41
- 'transform.sortX': import("./runtime").TransformComponent<import("./transform").SortXOptions>;
42
- 'transform.sortY': import("./runtime").TransformComponent<import("./transform").SortYOptions>;
43
- 'transform.sortColor': import("./runtime").TransformComponent<import("./transform").SortColorOptions>;
44
- 'transform.flexX': import("./runtime").TransformComponent<import("./transform").FlexXOptions>;
45
- 'transform.pack': import("./runtime").TransformComponent<import("./transform").PackOptions>;
46
- 'transform.sample': import("./runtime").TransformComponent<import("./transform").SampleOptions>;
47
- 'transform.filter': import("./runtime").TransformComponent<import("./transform").FilterOptions>;
24
+ 'transform.stackY': import("./runtime").TransformComponent<import("./exports").StackYOptions>;
25
+ 'transform.binX': import("./runtime").TransformComponent<import("./exports").BinXOptions>;
26
+ 'transform.bin': import("./runtime").TransformComponent<import("./exports").BinOptions>;
27
+ 'transform.dodgeX': import("./runtime").TransformComponent<import("./exports").DodgeXOptions>;
28
+ 'transform.jitter': import("./runtime").TransformComponent<import("./exports").JitterOptions>;
29
+ 'transform.jitterX': import("./runtime").TransformComponent<import("./exports").JitterXOptions>;
30
+ 'transform.symmetryY': import("./runtime").TransformComponent<import("./exports").SymmetryYOptions>;
31
+ 'transform.diffY': import("./runtime").TransformComponent<import("./exports").DiffYOptions>;
32
+ 'transform.stackEnter': import("./runtime").TransformComponent<import("./exports").StackEnterOptions>;
33
+ 'transform.normalizeY': import("./runtime").TransformComponent<import("./exports").NormalizeYOptions>;
34
+ 'transform.select': import("./runtime").TransformComponent<import("./exports").SelectOptions>;
35
+ 'transform.selectX': import("./runtime").TransformComponent<import("./exports").SelectXOptions>;
36
+ 'transform.selectY': import("./runtime").TransformComponent<import("./exports").SelectYOptions>;
37
+ 'transform.groupX': import("./runtime").TransformComponent<import("./exports").GroupXOptions>;
38
+ 'transform.groupY': import("./runtime").TransformComponent<import("./exports").GroupYOptions>;
39
+ 'transform.groupColor': import("./runtime").TransformComponent<import("./exports").GroupColorOptions>;
40
+ 'transform.group': import("./runtime").TransformComponent<import("./exports").GroupOptions>;
41
+ 'transform.sortX': import("./runtime").TransformComponent<import("./exports").SortXOptions>;
42
+ 'transform.sortY': import("./runtime").TransformComponent<import("./exports").SortYOptions>;
43
+ 'transform.sortColor': import("./runtime").TransformComponent<import("./exports").SortColorOptions>;
44
+ 'transform.flexX': import("./runtime").TransformComponent<import("./exports").FlexXOptions>;
45
+ 'transform.pack': import("./runtime").TransformComponent<import("./exports").PackOptions>;
46
+ 'transform.sample': import("./runtime").TransformComponent<import("./exports").SampleOptions>;
47
+ 'transform.filter': import("./runtime").TransformComponent<import("./exports").FilterOptions>;
48
48
  'coordinate.cartesian': import("./runtime").CoordinateComponent<import("./coordinate").CartesianOptions>;
49
49
  'coordinate.polar': import("./runtime").CoordinateComponent<import("./coordinate").PolarOptions>;
50
50
  'coordinate.transpose': import("./runtime").CoordinateComponent<import("./coordinate").TransposeOptions>;
@@ -57,28 +57,28 @@ declare const library: {
57
57
  'encode.field': import("./runtime").EncodeComponent<import("./encode").FieldOptions>;
58
58
  'encode.transform': import("./runtime").EncodeComponent<import("./encode").TransformOptions>;
59
59
  'encode.column': import("./runtime").EncodeComponent<import("./encode").ColumnOptions>;
60
- 'mark.interval': import("./runtime").MarkComponent<import("./mark").IntervalOptions>;
61
- 'mark.rect': import("./runtime").MarkComponent<import("./mark").RectOptions>;
62
- 'mark.line': import("./runtime").MarkComponent<import("./mark").LineOptions>;
63
- 'mark.point': import("./runtime").MarkComponent<import("./mark").PointOptions>;
64
- 'mark.text': import("./runtime").MarkComponent<import("./mark").TextOptions>;
65
- 'mark.cell': import("./runtime").MarkComponent<import("./mark").CellOptions>;
66
- 'mark.area': import("./runtime").MarkComponent<import("./mark").AreaOptions>;
67
- 'mark.link': import("./runtime").MarkComponent<import("./mark").LinkOptions>;
68
- 'mark.image': import("./runtime").MarkComponent<import("./mark").ImageOptions>;
69
- 'mark.polygon': import("./runtime").MarkComponent<import("./mark").PolygonOptions>;
70
- 'mark.box': import("./runtime").MarkComponent<import("./mark").BoxOptions>;
71
- 'mark.vector': import("./runtime").MarkComponent<import("./mark").VectorOptions>;
72
- 'mark.lineX': import("./runtime").MarkComponent<import("./mark").LineXOptions>;
73
- 'mark.lineY': import("./runtime").MarkComponent<import("./mark").LineYOptions>;
74
- 'mark.connector': import("./runtime").MarkComponent<import("./mark").ConnectorOptions>;
75
- 'mark.range': import("./runtime").MarkComponent<import("./mark").RangeOptions>;
76
- 'mark.rangeX': import("./runtime").MarkComponent<import("./mark").RangeXOptions>;
77
- 'mark.rangeY': import("./runtime").MarkComponent<import("./mark").RangeYOptions>;
78
- 'mark.path': import("./runtime").MarkComponent<import("./mark/path").PathOptions>;
79
- 'mark.shape': import("./runtime").MarkComponent<import("./mark").ShapeOptions>;
80
- 'mark.density': import("./runtime").MarkComponent<import("./mark").DensityOptions>;
81
- 'mark.heatmap': import("./runtime").MarkComponent<import("./mark").HeatmapOptions>;
60
+ 'mark.interval': import("./exports").MarkComponent<import("./mark").IntervalOptions>;
61
+ 'mark.rect': import("./exports").MarkComponent<import("./mark").RectOptions>;
62
+ 'mark.line': import("./exports").MarkComponent<import("./mark").LineOptions>;
63
+ 'mark.point': import("./exports").MarkComponent<import("./mark").PointOptions>;
64
+ 'mark.text': import("./exports").MarkComponent<import("./mark").TextOptions>;
65
+ 'mark.cell': import("./exports").MarkComponent<import("./mark").CellOptions>;
66
+ 'mark.area': import("./exports").MarkComponent<import("./mark").AreaOptions>;
67
+ 'mark.link': import("./exports").MarkComponent<import("./mark").LinkOptions>;
68
+ 'mark.image': import("./exports").MarkComponent<import("./mark").ImageOptions>;
69
+ 'mark.polygon': import("./exports").MarkComponent<import("./mark").PolygonOptions>;
70
+ 'mark.box': import("./exports").MarkComponent<import("./mark").BoxOptions>;
71
+ 'mark.vector': import("./exports").MarkComponent<import("./mark").VectorOptions>;
72
+ 'mark.lineX': import("./exports").MarkComponent<import("./mark").LineXOptions>;
73
+ 'mark.lineY': import("./exports").MarkComponent<import("./mark").LineYOptions>;
74
+ 'mark.connector': import("./exports").MarkComponent<import("./mark").ConnectorOptions>;
75
+ 'mark.range': import("./exports").MarkComponent<import("./mark").RangeOptions>;
76
+ 'mark.rangeX': import("./exports").MarkComponent<import("./mark").RangeXOptions>;
77
+ 'mark.rangeY': import("./exports").MarkComponent<import("./mark").RangeYOptions>;
78
+ 'mark.path': import("./exports").MarkComponent<import("./mark/path").PathOptions>;
79
+ 'mark.shape': import("./exports").MarkComponent<import("./mark").ShapeOptions>;
80
+ 'mark.density': import("./exports").MarkComponent<import("./mark").DensityOptions>;
81
+ 'mark.heatmap': import("./exports").MarkComponent<import("./mark").HeatmapOptions>;
82
82
  'palette.category10': import("./runtime").PaletteComponent<import("./palette").Category10Options>;
83
83
  'palette.category20': import("./runtime").PaletteComponent<import("./palette").Category20Options>;
84
84
  'scale.linear': import("./runtime").ScaleComponent<import("./scale").LinearOptions>;
@@ -100,16 +100,16 @@ declare const library: {
100
100
  'theme.academy': import("./runtime").ThemeComponent<import("./runtime").G2Theme>;
101
101
  'theme.light': import("./runtime").ThemeComponent<import("./runtime").G2Theme>;
102
102
  'theme.dark': import("./runtime").ThemeComponent<import("./runtime").G2Theme>;
103
- 'component.axisX': import("./runtime").GuideComponentComponent<import("./component/axis").AxisOptions>;
104
- 'component.axisY': import("./runtime").GuideComponentComponent<import("./component/axis").AxisOptions>;
105
- 'component.legendCategory': import("./runtime").GuideComponentComponent<import("./component").LegendCategoryOptions>;
106
- 'component.legendContinuous': import("./runtime").GuideComponentComponent<import("./component").LegendContinuousOptions>;
107
- 'component.legends': import("./runtime").GuideComponentComponent<import("./component").LegendsOptions>;
108
- 'component.title': import("./runtime").GuideComponentComponent<import("./runtime").G2Title>;
109
- 'component.sliderX': import("./runtime").GuideComponentComponent<import("./component/slider").SliderOptions>;
110
- 'component.sliderY': import("./runtime").GuideComponentComponent<import("./component/slider").SliderOptions>;
111
- 'component.scrollbarX': import("./runtime").GuideComponentComponent<import("./component/scrollbar").ScrollbarOptions>;
112
- 'component.scrollbarY': import("./runtime").GuideComponentComponent<import("./component/scrollbar").ScrollbarOptions>;
103
+ 'component.axisX': import("./exports").GuideComponentComponent<import("./exports").AxisOptions>;
104
+ 'component.axisY': import("./exports").GuideComponentComponent<import("./exports").AxisOptions>;
105
+ 'component.legendCategory': import("./exports").GuideComponentComponent<import("./component").LegendCategoryOptions>;
106
+ 'component.legendContinuous': import("./exports").GuideComponentComponent<import("./component").LegendContinuousOptions>;
107
+ 'component.legends': import("./exports").GuideComponentComponent<import("./component").LegendsOptions>;
108
+ 'component.title': import("./exports").GuideComponentComponent<import("./runtime").G2Title>;
109
+ 'component.sliderX': import("./exports").GuideComponentComponent<import("./component/slider").SliderOptions>;
110
+ 'component.sliderY': import("./exports").GuideComponentComponent<import("./component/slider").SliderOptions>;
111
+ 'component.scrollbarX': import("./exports").GuideComponentComponent<import("./component/scrollbar").ScrollbarOptions>;
112
+ 'component.scrollbarY': import("./exports").GuideComponentComponent<import("./component/scrollbar").ScrollbarOptions>;
113
113
  'animation.scaleInX': import("./runtime").AnimationComponent<import("./animation/types").Animation>;
114
114
  'animation.scaleOutX': import("./runtime").AnimationComponent<import("./animation/types").Animation>;
115
115
  'animation.scaleInY': import("./runtime").AnimationComponent<import("./animation/types").Animation>;
@@ -184,30 +184,30 @@ export declare const Chart: new (options?: import("./api/runtime").RuntimeOption
184
184
  'data.join': import("./runtime").DataComponent<import("./data").JoinOptions>;
185
185
  'data.kde': import("./runtime").DataComponent<import("./data").KDEOptions>;
186
186
  'data.log': import("./runtime").DataComponent<import("./data").LogDataOptions>;
187
- 'transform.stackY': import("./runtime").TransformComponent<import("./transform").StackYOptions>;
188
- 'transform.binX': import("./runtime").TransformComponent<import("./transform").BinXOptions>;
189
- 'transform.bin': import("./runtime").TransformComponent<import("./transform").BinOptions>;
190
- 'transform.dodgeX': import("./runtime").TransformComponent<import("./transform").DodgeXOptions>;
191
- 'transform.jitter': import("./runtime").TransformComponent<import("./transform").JitterOptions>;
192
- 'transform.jitterX': import("./runtime").TransformComponent<import("./transform").JitterXOptions>;
193
- 'transform.symmetryY': import("./runtime").TransformComponent<import("./transform").SymmetryYOptions>;
194
- 'transform.diffY': import("./runtime").TransformComponent<import("./transform").DiffYOptions>;
195
- 'transform.stackEnter': import("./runtime").TransformComponent<import("./transform").StackEnterOptions>;
196
- 'transform.normalizeY': import("./runtime").TransformComponent<import("./transform").NormalizeYOptions>;
197
- 'transform.select': import("./runtime").TransformComponent<import("./transform").SelectOptions>;
198
- 'transform.selectX': import("./runtime").TransformComponent<import("./transform").SelectXOptions>;
199
- 'transform.selectY': import("./runtime").TransformComponent<import("./transform").SelectYOptions>;
200
- 'transform.groupX': import("./runtime").TransformComponent<import("./transform").GroupXOptions>;
201
- 'transform.groupY': import("./runtime").TransformComponent<import("./transform").GroupYOptions>;
202
- 'transform.groupColor': import("./runtime").TransformComponent<import("./transform").GroupColorOptions>;
203
- 'transform.group': import("./runtime").TransformComponent<import("./transform").GroupOptions>;
204
- 'transform.sortX': import("./runtime").TransformComponent<import("./transform").SortXOptions>;
205
- 'transform.sortY': import("./runtime").TransformComponent<import("./transform").SortYOptions>;
206
- 'transform.sortColor': import("./runtime").TransformComponent<import("./transform").SortColorOptions>;
207
- 'transform.flexX': import("./runtime").TransformComponent<import("./transform").FlexXOptions>;
208
- 'transform.pack': import("./runtime").TransformComponent<import("./transform").PackOptions>;
209
- 'transform.sample': import("./runtime").TransformComponent<import("./transform").SampleOptions>;
210
- 'transform.filter': import("./runtime").TransformComponent<import("./transform").FilterOptions>;
187
+ 'transform.stackY': import("./runtime").TransformComponent<import("./exports").StackYOptions>;
188
+ 'transform.binX': import("./runtime").TransformComponent<import("./exports").BinXOptions>;
189
+ 'transform.bin': import("./runtime").TransformComponent<import("./exports").BinOptions>;
190
+ 'transform.dodgeX': import("./runtime").TransformComponent<import("./exports").DodgeXOptions>;
191
+ 'transform.jitter': import("./runtime").TransformComponent<import("./exports").JitterOptions>;
192
+ 'transform.jitterX': import("./runtime").TransformComponent<import("./exports").JitterXOptions>;
193
+ 'transform.symmetryY': import("./runtime").TransformComponent<import("./exports").SymmetryYOptions>;
194
+ 'transform.diffY': import("./runtime").TransformComponent<import("./exports").DiffYOptions>;
195
+ 'transform.stackEnter': import("./runtime").TransformComponent<import("./exports").StackEnterOptions>;
196
+ 'transform.normalizeY': import("./runtime").TransformComponent<import("./exports").NormalizeYOptions>;
197
+ 'transform.select': import("./runtime").TransformComponent<import("./exports").SelectOptions>;
198
+ 'transform.selectX': import("./runtime").TransformComponent<import("./exports").SelectXOptions>;
199
+ 'transform.selectY': import("./runtime").TransformComponent<import("./exports").SelectYOptions>;
200
+ 'transform.groupX': import("./runtime").TransformComponent<import("./exports").GroupXOptions>;
201
+ 'transform.groupY': import("./runtime").TransformComponent<import("./exports").GroupYOptions>;
202
+ 'transform.groupColor': import("./runtime").TransformComponent<import("./exports").GroupColorOptions>;
203
+ 'transform.group': import("./runtime").TransformComponent<import("./exports").GroupOptions>;
204
+ 'transform.sortX': import("./runtime").TransformComponent<import("./exports").SortXOptions>;
205
+ 'transform.sortY': import("./runtime").TransformComponent<import("./exports").SortYOptions>;
206
+ 'transform.sortColor': import("./runtime").TransformComponent<import("./exports").SortColorOptions>;
207
+ 'transform.flexX': import("./runtime").TransformComponent<import("./exports").FlexXOptions>;
208
+ 'transform.pack': import("./runtime").TransformComponent<import("./exports").PackOptions>;
209
+ 'transform.sample': import("./runtime").TransformComponent<import("./exports").SampleOptions>;
210
+ 'transform.filter': import("./runtime").TransformComponent<import("./exports").FilterOptions>;
211
211
  'coordinate.cartesian': import("./runtime").CoordinateComponent<import("./coordinate").CartesianOptions>;
212
212
  'coordinate.polar': import("./runtime").CoordinateComponent<import("./coordinate").PolarOptions>;
213
213
  'coordinate.transpose': import("./runtime").CoordinateComponent<import("./coordinate").TransposeOptions>;
@@ -220,28 +220,28 @@ export declare const Chart: new (options?: import("./api/runtime").RuntimeOption
220
220
  'encode.field': import("./runtime").EncodeComponent<import("./encode").FieldOptions>;
221
221
  'encode.transform': import("./runtime").EncodeComponent<import("./encode").TransformOptions>;
222
222
  'encode.column': import("./runtime").EncodeComponent<import("./encode").ColumnOptions>;
223
- 'mark.interval': import("./runtime").MarkComponent<import("./mark").IntervalOptions>;
224
- 'mark.rect': import("./runtime").MarkComponent<import("./mark").RectOptions>;
225
- 'mark.line': import("./runtime").MarkComponent<import("./mark").LineOptions>;
226
- 'mark.point': import("./runtime").MarkComponent<import("./mark").PointOptions>;
227
- 'mark.text': import("./runtime").MarkComponent<import("./mark").TextOptions>;
228
- 'mark.cell': import("./runtime").MarkComponent<import("./mark").CellOptions>;
229
- 'mark.area': import("./runtime").MarkComponent<import("./mark").AreaOptions>;
230
- 'mark.link': import("./runtime").MarkComponent<import("./mark").LinkOptions>;
231
- 'mark.image': import("./runtime").MarkComponent<import("./mark").ImageOptions>;
232
- 'mark.polygon': import("./runtime").MarkComponent<import("./mark").PolygonOptions>;
233
- 'mark.box': import("./runtime").MarkComponent<import("./mark").BoxOptions>;
234
- 'mark.vector': import("./runtime").MarkComponent<import("./mark").VectorOptions>;
235
- 'mark.lineX': import("./runtime").MarkComponent<import("./mark").LineXOptions>;
236
- 'mark.lineY': import("./runtime").MarkComponent<import("./mark").LineYOptions>;
237
- 'mark.connector': import("./runtime").MarkComponent<import("./mark").ConnectorOptions>;
238
- 'mark.range': import("./runtime").MarkComponent<import("./mark").RangeOptions>;
239
- 'mark.rangeX': import("./runtime").MarkComponent<import("./mark").RangeXOptions>;
240
- 'mark.rangeY': import("./runtime").MarkComponent<import("./mark").RangeYOptions>;
241
- 'mark.path': import("./runtime").MarkComponent<import("./mark/path").PathOptions>;
242
- 'mark.shape': import("./runtime").MarkComponent<import("./mark").ShapeOptions>;
243
- 'mark.density': import("./runtime").MarkComponent<import("./mark").DensityOptions>;
244
- 'mark.heatmap': import("./runtime").MarkComponent<import("./mark").HeatmapOptions>;
223
+ 'mark.interval': import("./exports").MarkComponent<import("./mark").IntervalOptions>;
224
+ 'mark.rect': import("./exports").MarkComponent<import("./mark").RectOptions>;
225
+ 'mark.line': import("./exports").MarkComponent<import("./mark").LineOptions>;
226
+ 'mark.point': import("./exports").MarkComponent<import("./mark").PointOptions>;
227
+ 'mark.text': import("./exports").MarkComponent<import("./mark").TextOptions>;
228
+ 'mark.cell': import("./exports").MarkComponent<import("./mark").CellOptions>;
229
+ 'mark.area': import("./exports").MarkComponent<import("./mark").AreaOptions>;
230
+ 'mark.link': import("./exports").MarkComponent<import("./mark").LinkOptions>;
231
+ 'mark.image': import("./exports").MarkComponent<import("./mark").ImageOptions>;
232
+ 'mark.polygon': import("./exports").MarkComponent<import("./mark").PolygonOptions>;
233
+ 'mark.box': import("./exports").MarkComponent<import("./mark").BoxOptions>;
234
+ 'mark.vector': import("./exports").MarkComponent<import("./mark").VectorOptions>;
235
+ 'mark.lineX': import("./exports").MarkComponent<import("./mark").LineXOptions>;
236
+ 'mark.lineY': import("./exports").MarkComponent<import("./mark").LineYOptions>;
237
+ 'mark.connector': import("./exports").MarkComponent<import("./mark").ConnectorOptions>;
238
+ 'mark.range': import("./exports").MarkComponent<import("./mark").RangeOptions>;
239
+ 'mark.rangeX': import("./exports").MarkComponent<import("./mark").RangeXOptions>;
240
+ 'mark.rangeY': import("./exports").MarkComponent<import("./mark").RangeYOptions>;
241
+ 'mark.path': import("./exports").MarkComponent<import("./mark/path").PathOptions>;
242
+ 'mark.shape': import("./exports").MarkComponent<import("./mark").ShapeOptions>;
243
+ 'mark.density': import("./exports").MarkComponent<import("./mark").DensityOptions>;
244
+ 'mark.heatmap': import("./exports").MarkComponent<import("./mark").HeatmapOptions>;
245
245
  'palette.category10': import("./runtime").PaletteComponent<import("./palette").Category10Options>;
246
246
  'palette.category20': import("./runtime").PaletteComponent<import("./palette").Category20Options>;
247
247
  'scale.linear': import("./runtime").ScaleComponent<import("./scale").LinearOptions>;
@@ -263,16 +263,16 @@ export declare const Chart: new (options?: import("./api/runtime").RuntimeOption
263
263
  'theme.academy': import("./runtime").ThemeComponent<import("./runtime").G2Theme>;
264
264
  'theme.light': import("./runtime").ThemeComponent<import("./runtime").G2Theme>;
265
265
  'theme.dark': import("./runtime").ThemeComponent<import("./runtime").G2Theme>;
266
- 'component.axisX': import("./runtime").GuideComponentComponent<import("./component/axis").AxisOptions>;
267
- 'component.axisY': import("./runtime").GuideComponentComponent<import("./component/axis").AxisOptions>;
268
- 'component.legendCategory': import("./runtime").GuideComponentComponent<import("./component").LegendCategoryOptions>;
269
- 'component.legendContinuous': import("./runtime").GuideComponentComponent<import("./component").LegendContinuousOptions>;
270
- 'component.legends': import("./runtime").GuideComponentComponent<import("./component").LegendsOptions>;
271
- 'component.title': import("./runtime").GuideComponentComponent<import("./runtime").G2Title>;
272
- 'component.sliderX': import("./runtime").GuideComponentComponent<import("./component/slider").SliderOptions>;
273
- 'component.sliderY': import("./runtime").GuideComponentComponent<import("./component/slider").SliderOptions>;
274
- 'component.scrollbarX': import("./runtime").GuideComponentComponent<import("./component/scrollbar").ScrollbarOptions>;
275
- 'component.scrollbarY': import("./runtime").GuideComponentComponent<import("./component/scrollbar").ScrollbarOptions>;
266
+ 'component.axisX': import("./exports").GuideComponentComponent<import("./exports").AxisOptions>;
267
+ 'component.axisY': import("./exports").GuideComponentComponent<import("./exports").AxisOptions>;
268
+ 'component.legendCategory': import("./exports").GuideComponentComponent<import("./component").LegendCategoryOptions>;
269
+ 'component.legendContinuous': import("./exports").GuideComponentComponent<import("./component").LegendContinuousOptions>;
270
+ 'component.legends': import("./exports").GuideComponentComponent<import("./component").LegendsOptions>;
271
+ 'component.title': import("./exports").GuideComponentComponent<import("./runtime").G2Title>;
272
+ 'component.sliderX': import("./exports").GuideComponentComponent<import("./component/slider").SliderOptions>;
273
+ 'component.sliderY': import("./exports").GuideComponentComponent<import("./component/slider").SliderOptions>;
274
+ 'component.scrollbarX': import("./exports").GuideComponentComponent<import("./component/scrollbar").ScrollbarOptions>;
275
+ 'component.scrollbarY': import("./exports").GuideComponentComponent<import("./component/scrollbar").ScrollbarOptions>;
276
276
  'animation.scaleInX': import("./runtime").AnimationComponent<import("./animation/types").Animation>;
277
277
  'animation.scaleOutX': import("./runtime").AnimationComponent<import("./animation/types").Animation>;
278
278
  'animation.scaleInY': import("./runtime").AnimationComponent<import("./animation/types").Animation>;
package/esm/index.js CHANGED
@@ -1,6 +1,6 @@
1
- import { corelib, plotlib, graphlib, geolib, stdlib, threedlib } from './lib';
1
+ import { corelib, plotlib, graphlib, geolib, stdlib } from './lib';
2
2
  import { extend, Runtime } from './api';
3
- export { corelib, plotlib, graphlib, geolib, stdlib, threedlib };
3
+ export { corelib, plotlib, graphlib, geolib, stdlib };
4
4
  export * from './exports';
5
5
  /**
6
6
  * G2 standard library initial all the libs except 3D and auto.
package/esm/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"src/","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC9E,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAIxC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,CAAC;AAEjE,cAAc,WAAW,CAAC;AAE1B;;GAEG;AACH,MAAM,OAAO,qBAAQ,MAAM,EAAE,CAAE,CAAC;AAEhC,MAAM,CAAC,MAAM,KAAK,GAAG,MAAM,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"src/","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AACnE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAIxC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;AAEtD,cAAc,WAAW,CAAC;AAE1B;;GAEG;AACH,MAAM,OAAO,qBAAQ,MAAM,EAAE,CAAE,CAAC;AAEhC,MAAM,CAAC,MAAM,KAAK,GAAG,MAAM,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC"}
@@ -1,13 +1,13 @@
1
1
  import { Event } from '../interaction/event';
2
2
  export declare function builtinlib(): {
3
- readonly 'component.axisRadar': import("../runtime").GuideComponentComponent<import("../component/axisRadar").AxisRadarOptions>;
4
- readonly 'component.axisLinear': import("../runtime").GuideComponentComponent<import("../component/axis").AxisOptions>;
5
- readonly 'component.axisArc': import("../runtime").GuideComponentComponent<import("../component/axis").AxisOptions>;
6
- readonly 'component.legendContinuousBlock': import("../runtime").GuideComponentComponent<import("../component").LegendContinuousOptions>;
7
- readonly 'component.legendContinuousBlockSize': import("../runtime").GuideComponentComponent<import("../component").LegendContinuousOptions>;
8
- readonly 'component.legendContinuousSize': import("../runtime").GuideComponentComponent<import("../component").LegendContinuousOptions>;
3
+ readonly 'component.axisRadar': import("..").GuideComponentComponent<import("../component/axisRadar").AxisRadarOptions>;
4
+ readonly 'component.axisLinear': import("..").GuideComponentComponent<import("..").AxisOptions>;
5
+ readonly 'component.axisArc': import("..").GuideComponentComponent<import("..").AxisOptions>;
6
+ readonly 'component.legendContinuousBlock': import("..").GuideComponentComponent<import("../component").LegendContinuousOptions>;
7
+ readonly 'component.legendContinuousBlockSize': import("..").GuideComponentComponent<import("../component").LegendContinuousOptions>;
8
+ readonly 'component.legendContinuousSize': import("..").GuideComponentComponent<import("../component").LegendContinuousOptions>;
9
9
  readonly 'interaction.event': typeof Event;
10
10
  readonly 'composition.mark': import("../runtime").CompositionComponent<import("../composition").MarkOptions>;
11
11
  readonly 'composition.view': import("../runtime").CompositionComponent<import("../composition").ViewOptions>;
12
- readonly 'shape.label.label': import("../runtime").ShapeComponent<import("../shape").LabelShapeOptions>;
12
+ readonly 'shape.label.label': import("..").ShapeComponent<import("../shape").LabelShapeOptions>;
13
13
  };
package/esm/lib/core.d.ts CHANGED
@@ -50,28 +50,28 @@ export declare function corelib(): {
50
50
  readonly 'encode.field': import("../runtime").EncodeComponent<import("../encode").FieldOptions>;
51
51
  readonly 'encode.transform': import("../runtime").EncodeComponent<import("../encode").TransformOptions>;
52
52
  readonly 'encode.column': import("../runtime").EncodeComponent<import("../encode").ColumnOptions>;
53
- readonly 'mark.interval': import("../runtime").MarkComponent<import("../mark").IntervalOptions>;
54
- readonly 'mark.rect': import("../runtime").MarkComponent<import("../mark").RectOptions>;
55
- readonly 'mark.line': import("../runtime").MarkComponent<import("../mark").LineOptions>;
56
- readonly 'mark.point': import("../runtime").MarkComponent<import("../mark").PointOptions>;
57
- readonly 'mark.text': import("../runtime").MarkComponent<import("../mark").TextOptions>;
58
- readonly 'mark.cell': import("../runtime").MarkComponent<import("../mark").CellOptions>;
59
- readonly 'mark.area': import("../runtime").MarkComponent<import("../mark").AreaOptions>;
60
- readonly 'mark.link': import("../runtime").MarkComponent<import("../mark").LinkOptions>;
61
- readonly 'mark.image': import("../runtime").MarkComponent<import("../mark").ImageOptions>;
62
- readonly 'mark.polygon': import("../runtime").MarkComponent<import("../mark").PolygonOptions>;
63
- readonly 'mark.box': import("../runtime").MarkComponent<import("../mark").BoxOptions>;
64
- readonly 'mark.vector': import("../runtime").MarkComponent<import("../mark").VectorOptions>;
65
- readonly 'mark.lineX': import("../runtime").MarkComponent<import("../mark").LineXOptions>;
66
- readonly 'mark.lineY': import("../runtime").MarkComponent<import("../mark").LineYOptions>;
67
- readonly 'mark.connector': import("../runtime").MarkComponent<import("../mark").ConnectorOptions>;
68
- readonly 'mark.range': import("../runtime").MarkComponent<import("../mark").RangeOptions>;
69
- readonly 'mark.rangeX': import("../runtime").MarkComponent<import("../mark").RangeXOptions>;
70
- readonly 'mark.rangeY': import("../runtime").MarkComponent<import("../mark").RangeYOptions>;
71
- readonly 'mark.path': import("../runtime").MarkComponent<import("../mark/path").PathOptions>;
72
- readonly 'mark.shape': import("../runtime").MarkComponent<import("../mark").ShapeOptions>;
73
- readonly 'mark.density': import("../runtime").MarkComponent<import("../mark").DensityOptions>;
74
- readonly 'mark.heatmap': import("../runtime").MarkComponent<import("../mark").HeatmapOptions>;
53
+ readonly 'mark.interval': import("..").MarkComponent<import("../mark").IntervalOptions>;
54
+ readonly 'mark.rect': import("..").MarkComponent<import("../mark").RectOptions>;
55
+ readonly 'mark.line': import("..").MarkComponent<import("../mark").LineOptions>;
56
+ readonly 'mark.point': import("..").MarkComponent<import("../mark").PointOptions>;
57
+ readonly 'mark.text': import("..").MarkComponent<import("../mark").TextOptions>;
58
+ readonly 'mark.cell': import("..").MarkComponent<import("../mark").CellOptions>;
59
+ readonly 'mark.area': import("..").MarkComponent<import("../mark").AreaOptions>;
60
+ readonly 'mark.link': import("..").MarkComponent<import("../mark").LinkOptions>;
61
+ readonly 'mark.image': import("..").MarkComponent<import("../mark").ImageOptions>;
62
+ readonly 'mark.polygon': import("..").MarkComponent<import("../mark").PolygonOptions>;
63
+ readonly 'mark.box': import("..").MarkComponent<import("../mark").BoxOptions>;
64
+ readonly 'mark.vector': import("..").MarkComponent<import("../mark").VectorOptions>;
65
+ readonly 'mark.lineX': import("..").MarkComponent<import("../mark").LineXOptions>;
66
+ readonly 'mark.lineY': import("..").MarkComponent<import("../mark").LineYOptions>;
67
+ readonly 'mark.connector': import("..").MarkComponent<import("../mark").ConnectorOptions>;
68
+ readonly 'mark.range': import("..").MarkComponent<import("../mark").RangeOptions>;
69
+ readonly 'mark.rangeX': import("..").MarkComponent<import("../mark").RangeXOptions>;
70
+ readonly 'mark.rangeY': import("..").MarkComponent<import("../mark").RangeYOptions>;
71
+ readonly 'mark.path': import("..").MarkComponent<import("../mark/path").PathOptions>;
72
+ readonly 'mark.shape': import("..").MarkComponent<import("../mark").ShapeOptions>;
73
+ readonly 'mark.density': import("..").MarkComponent<import("../mark").DensityOptions>;
74
+ readonly 'mark.heatmap': import("..").MarkComponent<import("../mark").HeatmapOptions>;
75
75
  readonly 'palette.category10': import("../runtime").PaletteComponent<import("../palette").Category10Options>;
76
76
  readonly 'palette.category20': import("../runtime").PaletteComponent<import("../palette").Category20Options>;
77
77
  readonly 'scale.linear': import("../runtime").ScaleComponent<import("../scale").LinearOptions>;
@@ -93,16 +93,16 @@ export declare function corelib(): {
93
93
  readonly 'theme.academy': import("../runtime").ThemeComponent<import("../runtime").G2Theme>;
94
94
  readonly 'theme.light': import("../runtime").ThemeComponent<import("../runtime").G2Theme>;
95
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>;
96
+ readonly 'component.axisX': import("..").GuideComponentComponent<import("..").AxisOptions>;
97
+ readonly 'component.axisY': import("..").GuideComponentComponent<import("..").AxisOptions>;
98
+ readonly 'component.legendCategory': import("..").GuideComponentComponent<import("../component").LegendCategoryOptions>;
99
+ readonly 'component.legendContinuous': import("..").GuideComponentComponent<import("../component").LegendContinuousOptions>;
100
+ readonly 'component.legends': import("..").GuideComponentComponent<import("../component").LegendsOptions>;
101
+ readonly 'component.title': import("..").GuideComponentComponent<import("../runtime").G2Title>;
102
+ readonly 'component.sliderX': import("..").GuideComponentComponent<import("../component/slider").SliderOptions>;
103
+ readonly 'component.sliderY': import("..").GuideComponentComponent<import("../component/slider").SliderOptions>;
104
+ readonly 'component.scrollbarX': import("..").GuideComponentComponent<import("../component/scrollbar").ScrollbarOptions>;
105
+ readonly 'component.scrollbarY': import("..").GuideComponentComponent<import("../component/scrollbar").ScrollbarOptions>;
106
106
  readonly 'animation.scaleInX': import("../runtime").AnimationComponent<import("../animation/types").Animation>;
107
107
  readonly 'animation.scaleOutX': import("../runtime").AnimationComponent<import("../animation/types").Animation>;
108
108
  readonly 'animation.scaleInY': import("../runtime").AnimationComponent<import("../animation/types").Animation>;
@@ -2,7 +2,5 @@ export { corelib } from './core';
2
2
  export { geolib } from './geo';
3
3
  export { graphlib } from './graph';
4
4
  export { plotlib } from './plot';
5
- export { threedlib } from './threed';
6
5
  export { stdlib } from './std';
7
6
  export { litelib } from './lite';
8
- export { autolib } from './auto';
package/esm/lib/index.js CHANGED
@@ -2,8 +2,6 @@ export { corelib } from './core';
2
2
  export { geolib } from './geo';
3
3
  export { graphlib } from './graph';
4
4
  export { plotlib } from './plot';
5
- export { threedlib } from './threed';
6
5
  export { stdlib } from './std';
7
6
  export { litelib } from './lite';
8
- export { autolib } from './auto';
9
7
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"src/","sources":["lib/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AACjC,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACnC,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AACrC,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AACjC,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"src/","sources":["lib/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AACjC,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACnC,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AACjC,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC"}
package/esm/lib/lite.d.ts CHANGED
@@ -9,8 +9,8 @@ export declare function litelib(): {
9
9
  readonly 'encode.field': import("../runtime").EncodeComponent<import("../encode").FieldOptions>;
10
10
  readonly 'encode.transform': import("../runtime").EncodeComponent<import("../encode").TransformOptions>;
11
11
  readonly 'encode.column': import("../runtime").EncodeComponent<import("../encode").ColumnOptions>;
12
- readonly 'mark.interval': import("../runtime").MarkComponent<import("../mark").IntervalOptions>;
13
- readonly 'shape.label.label': import("../runtime").ShapeComponent<import("../shape").LabelShapeOptions>;
12
+ readonly 'mark.interval': import("..").MarkComponent<import("../mark").IntervalOptions>;
13
+ readonly 'shape.label.label': import("..").ShapeComponent<import("../shape").LabelShapeOptions>;
14
14
  readonly 'palette.category10': import("../runtime").PaletteComponent<import("../palette").Category10Options>;
15
15
  readonly 'palette.category20': import("../runtime").PaletteComponent<import("../palette").Category20Options>;
16
16
  readonly 'scale.linear': import("../runtime").ScaleComponent<import("../scale").LinearOptions>;
@@ -28,22 +28,22 @@ export declare function litelib(): {
28
28
  readonly 'scale.sequential': import("../runtime").ScaleComponent<import("../scale").SequentialOptions>;
29
29
  readonly 'scale.constant': import("../runtime").ScaleComponent<import("../scale").ConstantOptions>;
30
30
  readonly 'theme.classic': import("../runtime").ThemeComponent<import("../runtime").G2Theme>;
31
- readonly 'component.axisX': import("../runtime").GuideComponentComponent<import("../component/axis").AxisOptions>;
32
- readonly 'component.axisY': import("../runtime").GuideComponentComponent<import("../component/axis").AxisOptions>;
33
- readonly 'component.axisRadar': import("../runtime").GuideComponentComponent<import("../component/axisRadar").AxisRadarOptions>;
34
- readonly 'component.axisLinear': import("../runtime").GuideComponentComponent<import("../component/axis").AxisOptions>;
35
- readonly 'component.axisArc': import("../runtime").GuideComponentComponent<import("../component/axis").AxisOptions>;
36
- readonly 'component.legendCategory': import("../runtime").GuideComponentComponent<import("../component").LegendCategoryOptions>;
37
- readonly 'component.legendContinuous': import("../runtime").GuideComponentComponent<import("../component").LegendContinuousOptions>;
38
- readonly 'component.legendContinuousBlock': import("../runtime").GuideComponentComponent<import("../component").LegendContinuousOptions>;
39
- readonly 'component.legendContinuousBlockSize': import("../runtime").GuideComponentComponent<import("../component").LegendContinuousOptions>;
40
- readonly 'component.legendContinuousSize': import("../runtime").GuideComponentComponent<import("../component").LegendContinuousOptions>;
41
- readonly 'component.legends': import("../runtime").GuideComponentComponent<import("../component").LegendsOptions>;
42
- readonly 'component.title': import("../runtime").GuideComponentComponent<import("../runtime").G2Title>;
43
- readonly 'component.sliderX': import("../runtime").GuideComponentComponent<import("../component/slider").SliderOptions>;
44
- readonly 'component.sliderY': import("../runtime").GuideComponentComponent<import("../component/slider").SliderOptions>;
45
- readonly 'component.scrollbarX': import("../runtime").GuideComponentComponent<import("../component/scrollbar").ScrollbarOptions>;
46
- readonly 'component.scrollbarY': import("../runtime").GuideComponentComponent<import("../component/scrollbar").ScrollbarOptions>;
31
+ readonly 'component.axisX': import("..").GuideComponentComponent<import("..").AxisOptions>;
32
+ readonly 'component.axisY': import("..").GuideComponentComponent<import("..").AxisOptions>;
33
+ readonly 'component.axisRadar': import("..").GuideComponentComponent<import("../component/axisRadar").AxisRadarOptions>;
34
+ readonly 'component.axisLinear': import("..").GuideComponentComponent<import("..").AxisOptions>;
35
+ readonly 'component.axisArc': import("..").GuideComponentComponent<import("..").AxisOptions>;
36
+ readonly 'component.legendCategory': import("..").GuideComponentComponent<import("../component").LegendCategoryOptions>;
37
+ readonly 'component.legendContinuous': import("..").GuideComponentComponent<import("../component").LegendContinuousOptions>;
38
+ readonly 'component.legendContinuousBlock': import("..").GuideComponentComponent<import("../component").LegendContinuousOptions>;
39
+ readonly 'component.legendContinuousBlockSize': import("..").GuideComponentComponent<import("../component").LegendContinuousOptions>;
40
+ readonly 'component.legendContinuousSize': import("..").GuideComponentComponent<import("../component").LegendContinuousOptions>;
41
+ readonly 'component.legends': import("..").GuideComponentComponent<import("../component").LegendsOptions>;
42
+ readonly 'component.title': import("..").GuideComponentComponent<import("../runtime").G2Title>;
43
+ readonly 'component.sliderX': import("..").GuideComponentComponent<import("../component/slider").SliderOptions>;
44
+ readonly 'component.sliderY': import("..").GuideComponentComponent<import("../component/slider").SliderOptions>;
45
+ readonly 'component.scrollbarX': import("..").GuideComponentComponent<import("../component/scrollbar").ScrollbarOptions>;
46
+ readonly 'component.scrollbarY': import("..").GuideComponentComponent<import("../component/scrollbar").ScrollbarOptions>;
47
47
  readonly 'animation.scaleInX': import("../runtime").AnimationComponent<import("../animation/types").Animation>;
48
48
  readonly 'animation.scaleOutX': import("../runtime").AnimationComponent<import("../animation/types").Animation>;
49
49
  readonly 'animation.scaleInY': import("../runtime").AnimationComponent<import("../animation/types").Animation>;