@antv/g2 5.0.0-beta.9 → 5.0.0-rc.2

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 (1619) hide show
  1. package/README.en-US.md +4 -1
  2. package/README.md +3 -2
  3. package/dist/g2-lite.min.js +3 -3
  4. package/dist/g2.min.js +4 -4
  5. package/esm/animation/fadeIn.js +1 -1
  6. package/esm/animation/fadeIn.js.map +1 -1
  7. package/esm/animation/fadeOut.js +1 -1
  8. package/esm/animation/fadeOut.js.map +1 -1
  9. package/esm/animation/morphing.js +1 -1
  10. package/esm/animation/morphing.js.map +1 -1
  11. package/esm/animation/scaleInX.js +1 -1
  12. package/esm/animation/scaleInX.js.map +1 -1
  13. package/esm/animation/scaleInY.js +1 -1
  14. package/esm/animation/scaleInY.js.map +1 -1
  15. package/esm/animation/scaleOutX.js +1 -1
  16. package/esm/animation/scaleOutX.js.map +1 -1
  17. package/esm/animation/scaleOutY.js +1 -1
  18. package/esm/animation/scaleOutY.js.map +1 -1
  19. package/esm/animation/waveIn.js +2 -13
  20. package/esm/animation/waveIn.js.map +1 -1
  21. package/esm/animation/zoomIn.js +1 -1
  22. package/esm/animation/zoomIn.js.map +1 -1
  23. package/esm/animation/zoomOut.js +1 -1
  24. package/esm/animation/zoomOut.js.map +1 -1
  25. package/esm/api/chart.d.ts +20 -5
  26. package/esm/api/chart.js +32 -17
  27. package/esm/api/chart.js.map +1 -1
  28. package/esm/api/composition/base.d.ts +3 -3
  29. package/esm/api/composition/base.js +9 -19
  30. package/esm/api/composition/base.js.map +1 -1
  31. package/esm/api/composition/facetCircle.d.ts +2 -2
  32. package/esm/api/composition/facetCircle.js +2 -2
  33. package/esm/api/composition/facetCircle.js.map +1 -1
  34. package/esm/api/composition/facetRect.d.ts +2 -2
  35. package/esm/api/composition/facetRect.js +2 -2
  36. package/esm/api/composition/facetRect.js.map +1 -1
  37. package/esm/api/composition/geoPath.d.ts +5 -6
  38. package/esm/api/composition/geoPath.js +4 -5
  39. package/esm/api/composition/geoPath.js.map +1 -1
  40. package/esm/api/composition/geoView.d.ts +4 -5
  41. package/esm/api/composition/geoView.js +4 -5
  42. package/esm/api/composition/geoView.js.map +1 -1
  43. package/esm/api/composition/index.d.ts +2 -2
  44. package/esm/api/composition/index.js +2 -2
  45. package/esm/api/composition/index.js.map +1 -1
  46. package/esm/api/composition/repeatMatrix.d.ts +2 -2
  47. package/esm/api/composition/repeatMatrix.js +2 -2
  48. package/esm/api/composition/repeatMatrix.js.map +1 -1
  49. package/esm/api/composition/spaceFlex.d.ts +2 -2
  50. package/esm/api/composition/spaceFlex.js +2 -2
  51. package/esm/api/composition/spaceFlex.js.map +1 -1
  52. package/esm/api/composition/spaceLayer.d.ts +2 -2
  53. package/esm/api/composition/spaceLayer.js +2 -2
  54. package/esm/api/composition/spaceLayer.js.map +1 -1
  55. package/esm/api/composition/timingKeyframe.d.ts +2 -2
  56. package/esm/api/composition/timingKeyframe.js +2 -2
  57. package/esm/api/composition/timingKeyframe.js.map +1 -1
  58. package/esm/api/composition/view.d.ts +4 -4
  59. package/esm/api/composition/view.js +4 -4
  60. package/esm/api/composition/view.js.map +1 -1
  61. package/esm/api/index.d.ts +2 -0
  62. package/esm/api/index.js +2 -0
  63. package/esm/api/index.js.map +1 -1
  64. package/esm/api/mark/base.d.ts +1 -1
  65. package/esm/api/mark/base.js +7 -7
  66. package/esm/api/mark/base.js.map +1 -1
  67. package/esm/api/mark/index.d.ts +7 -1
  68. package/esm/api/mark/index.js +4 -1
  69. package/esm/api/mark/index.js.map +1 -1
  70. package/esm/api/mark/mark.d.ts +52 -40
  71. package/esm/api/mark/mark.js +49 -27
  72. package/esm/api/mark/mark.js.map +1 -1
  73. package/esm/api/mark/types.d.ts +6 -2
  74. package/esm/api/node.d.ts +1 -1
  75. package/esm/api/node.js +1 -1
  76. package/esm/api/node.js.map +1 -1
  77. package/esm/api/props.d.ts +1 -1
  78. package/esm/api/props.js +31 -4
  79. package/esm/api/props.js.map +1 -1
  80. package/esm/api/types.d.ts +2 -2
  81. package/esm/component/axis.js +11 -20
  82. package/esm/component/axis.js.map +1 -1
  83. package/esm/component/axisRadar.js +1 -2
  84. package/esm/component/axisRadar.js.map +1 -1
  85. package/esm/component/legendCategory.js +50 -14
  86. package/esm/component/legendCategory.js.map +1 -1
  87. package/esm/component/legendContinuous.js +14 -35
  88. package/esm/component/legendContinuous.js.map +1 -1
  89. package/esm/component/legendContinuousBlockSize.js +1 -1
  90. package/esm/component/legendContinuousBlockSize.js.map +1 -1
  91. package/esm/component/legendContinuousSize.js +1 -1
  92. package/esm/component/legendContinuousSize.js.map +1 -1
  93. package/esm/component/scrollbar.d.ts +1 -1
  94. package/esm/component/scrollbar.js +4 -4
  95. package/esm/component/scrollbar.js.map +1 -1
  96. package/esm/component/scrollbarX.js +1 -1
  97. package/esm/component/scrollbarX.js.map +1 -1
  98. package/esm/component/scrollbarY.js +1 -1
  99. package/esm/component/scrollbarY.js.map +1 -1
  100. package/esm/component/slider.d.ts +1 -1
  101. package/esm/component/slider.js +5 -5
  102. package/esm/component/slider.js.map +1 -1
  103. package/esm/component/sliderX.js +1 -1
  104. package/esm/component/sliderX.js.map +1 -1
  105. package/esm/component/sliderY.js +1 -1
  106. package/esm/component/sliderY.js.map +1 -1
  107. package/esm/component/title.js +3 -14
  108. package/esm/component/title.js.map +1 -1
  109. package/esm/component/utils.d.ts +12 -2
  110. package/esm/component/utils.js +42 -4
  111. package/esm/component/utils.js.map +1 -1
  112. package/esm/composition/facetCircle.js +1 -1
  113. package/esm/composition/facetCircle.js.map +1 -1
  114. package/esm/composition/mark.d.ts +1 -1
  115. package/esm/composition/mark.js +3 -3
  116. package/esm/composition/mark.js.map +1 -1
  117. package/esm/composition/spaceLayer.js +3 -6
  118. package/esm/composition/spaceLayer.js.map +1 -1
  119. package/esm/composition/timingKeyframe.js +13 -7
  120. package/esm/composition/timingKeyframe.js.map +1 -1
  121. package/esm/composition/view.js +3 -3
  122. package/esm/composition/view.js.map +1 -1
  123. package/esm/coordinate/fisheye.js +1 -1
  124. package/esm/coordinate/fisheye.js.map +1 -1
  125. package/esm/coordinate/index.d.ts +2 -10
  126. package/esm/coordinate/index.js +1 -5
  127. package/esm/coordinate/index.js.map +1 -1
  128. package/esm/coordinate/polar.d.ts +3 -2
  129. package/esm/coordinate/radar.d.ts +7 -0
  130. package/esm/coordinate/radar.js +14 -0
  131. package/esm/coordinate/radar.js.map +1 -0
  132. package/esm/coordinate/radial.d.ts +3 -2
  133. package/esm/coordinate/radial.js +3 -2
  134. package/esm/coordinate/radial.js.map +1 -1
  135. package/esm/coordinate/theta.d.ts +1 -0
  136. package/esm/coordinate/transpose.js +1 -1
  137. package/esm/coordinate/transpose.js.map +1 -1
  138. package/esm/data/arc.d.ts +1 -2
  139. package/esm/data/arc.js.map +1 -1
  140. package/esm/data/cluster.d.ts +1 -2
  141. package/esm/data/cluster.js.map +1 -1
  142. package/esm/data/sankey.d.ts +1 -2
  143. package/esm/data/sankey.js.map +1 -1
  144. package/esm/data/tree.d.ts +1 -2
  145. package/esm/data/tree.js.map +1 -1
  146. package/esm/data/wordCloud.d.ts +1 -2
  147. package/esm/data/wordCloud.js.map +1 -1
  148. package/esm/geo/geoView.js +9 -5
  149. package/esm/geo/geoView.js.map +1 -1
  150. package/esm/geo/index.d.ts +2 -2
  151. package/esm/index.d.ts +5 -3
  152. package/esm/index.js +4 -2
  153. package/esm/index.js.map +1 -1
  154. package/{lib/interaction/native → esm/interaction}/brushAxisHighlight.d.ts +2 -1
  155. package/esm/interaction/{native/brushAxisHighlight.js → brushAxisHighlight.js} +11 -8
  156. package/esm/interaction/brushAxisHighlight.js.map +1 -0
  157. package/esm/interaction/{native/brushFilter.js → brushFilter.js} +3 -3
  158. package/esm/interaction/brushFilter.js.map +1 -0
  159. package/{lib/interaction/native → esm/interaction}/brushHighlight.d.ts +2 -1
  160. package/esm/interaction/{native/brushHighlight.js → brushHighlight.js} +38 -27
  161. package/esm/interaction/brushHighlight.js.map +1 -0
  162. package/esm/interaction/brushXFilter.js.map +1 -0
  163. package/esm/interaction/brushXHighlight.js.map +1 -0
  164. package/esm/interaction/brushYFilter.js.map +1 -0
  165. package/esm/interaction/brushYHighlight.js.map +1 -0
  166. package/esm/interaction/{native/chartIndex.js → chartIndex.js} +2 -2
  167. package/esm/interaction/chartIndex.js.map +1 -0
  168. package/esm/interaction/{native/elementHighlight.d.ts → elementHighlight.d.ts} +5 -2
  169. package/esm/interaction/{native/elementHighlight.js → elementHighlight.js} +36 -27
  170. package/esm/interaction/elementHighlight.js.map +1 -0
  171. package/esm/interaction/elementHighlightByColor.d.ts +1 -0
  172. package/esm/interaction/elementHighlightByColor.js +6 -0
  173. package/esm/interaction/elementHighlightByColor.js.map +1 -0
  174. package/esm/interaction/elementHighlightByX.d.ts +1 -0
  175. package/esm/interaction/elementHighlightByX.js +6 -0
  176. package/esm/interaction/elementHighlightByX.js.map +1 -0
  177. package/{lib/interaction/native → esm/interaction}/elementSelect.d.ts +7 -2
  178. package/esm/interaction/{native/elementSelect.js → elementSelect.js} +31 -21
  179. package/esm/interaction/elementSelect.js.map +1 -0
  180. package/esm/interaction/elementSelectByColor.js +6 -0
  181. package/esm/interaction/elementSelectByColor.js.map +1 -0
  182. package/esm/interaction/elementSelectByX.js +6 -0
  183. package/esm/interaction/elementSelectByX.js.map +1 -0
  184. package/esm/interaction/event.d.ts +1 -0
  185. package/esm/interaction/event.js +103 -0
  186. package/esm/interaction/event.js.map +1 -0
  187. package/esm/interaction/{native/fisheye.js → fisheye.js} +6 -4
  188. package/esm/interaction/fisheye.js.map +1 -0
  189. package/esm/interaction/index.d.ts +21 -22
  190. package/esm/interaction/index.js +21 -23
  191. package/esm/interaction/index.js.map +1 -1
  192. package/esm/interaction/{native/legendFilter.d.ts → legendFilter.d.ts} +1 -4
  193. package/esm/interaction/{native/legendFilter.js → legendFilter.js} +61 -93
  194. package/esm/interaction/legendFilter.js.map +1 -0
  195. package/esm/interaction/legendHighlight.d.ts +1 -0
  196. package/esm/interaction/{native/legendHighlight.js → legendHighlight.js} +20 -26
  197. package/esm/interaction/legendHighlight.js.map +1 -0
  198. package/esm/interaction/{native/poptip.js → poptip.js} +2 -2
  199. package/esm/interaction/poptip.js.map +1 -0
  200. package/esm/interaction/{native/sliderFilter.js → sliderFilter.js} +7 -7
  201. package/esm/interaction/sliderFilter.js.map +1 -0
  202. package/esm/interaction/tooltip.d.ts +11 -0
  203. package/esm/interaction/{native/tooltip.js → tooltip.js} +200 -123
  204. package/esm/interaction/tooltip.js.map +1 -0
  205. package/esm/interaction/utils.d.ts +47 -3
  206. package/esm/interaction/utils.js +373 -32
  207. package/esm/interaction/utils.js.map +1 -1
  208. package/esm/label-transform/contrastReverse.d.ts +2 -2
  209. package/esm/label-transform/contrastReverse.js.map +1 -1
  210. package/esm/label-transform/overflowHide.d.ts +2 -2
  211. package/esm/label-transform/overflowHide.js +3 -2
  212. package/esm/label-transform/overflowHide.js.map +1 -1
  213. package/esm/label-transform/overlapDodgeY.d.ts +2 -2
  214. package/esm/label-transform/overlapHide.d.ts +2 -2
  215. package/esm/label-transform/overlapHide.js +3 -2
  216. package/esm/label-transform/overlapHide.js.map +1 -1
  217. package/esm/mark/area.d.ts +2 -2
  218. package/esm/mark/area.js +1 -0
  219. package/esm/mark/area.js.map +1 -1
  220. package/esm/mark/box.d.ts +2 -2
  221. package/esm/mark/box.js +1 -0
  222. package/esm/mark/box.js.map +1 -1
  223. package/esm/mark/boxplot.js +21 -6
  224. package/esm/mark/boxplot.js.map +1 -1
  225. package/esm/mark/cell.d.ts +2 -2
  226. package/esm/mark/cell.js +1 -0
  227. package/esm/mark/cell.js.map +1 -1
  228. package/esm/mark/connector.js +1 -0
  229. package/esm/mark/connector.js.map +1 -1
  230. package/esm/mark/forceGraph.js +29 -4
  231. package/esm/mark/forceGraph.js.map +1 -1
  232. package/esm/mark/gauge.d.ts +4 -0
  233. package/esm/mark/gauge.js +166 -0
  234. package/esm/mark/gauge.js.map +1 -0
  235. package/esm/mark/image.d.ts +2 -2
  236. package/esm/mark/image.js +1 -0
  237. package/esm/mark/image.js.map +1 -1
  238. package/esm/mark/index.d.ts +2 -0
  239. package/esm/mark/index.js +1 -0
  240. package/esm/mark/index.js.map +1 -1
  241. package/esm/mark/interval.d.ts +2 -2
  242. package/esm/mark/interval.js +1 -0
  243. package/esm/mark/interval.js.map +1 -1
  244. package/esm/mark/line.d.ts +2 -2
  245. package/esm/mark/line.js +1 -0
  246. package/esm/mark/line.js.map +1 -1
  247. package/esm/mark/lineX.js +1 -0
  248. package/esm/mark/lineX.js.map +1 -1
  249. package/esm/mark/lineY.js +1 -0
  250. package/esm/mark/lineY.js.map +1 -1
  251. package/esm/mark/link.d.ts +2 -2
  252. package/esm/mark/link.js +1 -0
  253. package/esm/mark/link.js.map +1 -1
  254. package/esm/mark/pack.js +10 -4
  255. package/esm/mark/pack.js.map +1 -1
  256. package/esm/mark/path.js +1 -0
  257. package/esm/mark/path.js.map +1 -1
  258. package/esm/mark/point.d.ts +2 -2
  259. package/esm/mark/point.js +1 -0
  260. package/esm/mark/point.js.map +1 -1
  261. package/esm/mark/polygon.d.ts +2 -2
  262. package/esm/mark/polygon.js +1 -0
  263. package/esm/mark/polygon.js.map +1 -1
  264. package/esm/mark/range.js +1 -0
  265. package/esm/mark/range.js.map +1 -1
  266. package/esm/mark/rangeX.js +1 -0
  267. package/esm/mark/rangeX.js.map +1 -1
  268. package/esm/mark/rangeY.js +1 -0
  269. package/esm/mark/rangeY.js.map +1 -1
  270. package/esm/mark/rect.d.ts +2 -2
  271. package/esm/mark/rect.js +1 -0
  272. package/esm/mark/rect.js.map +1 -1
  273. package/esm/mark/sankey.js +21 -6
  274. package/esm/mark/sankey.js.map +1 -1
  275. package/esm/mark/shape.js +1 -0
  276. package/esm/mark/shape.js.map +1 -1
  277. package/esm/mark/text.d.ts +2 -2
  278. package/esm/mark/text.js +1 -0
  279. package/esm/mark/text.js.map +1 -1
  280. package/esm/mark/tree.js +18 -4
  281. package/esm/mark/tree.js.map +1 -1
  282. package/esm/mark/treemap.js +13 -5
  283. package/esm/mark/treemap.js.map +1 -1
  284. package/esm/mark/utils.d.ts +2 -2
  285. package/esm/mark/utils.js +3 -7
  286. package/esm/mark/utils.js.map +1 -1
  287. package/esm/mark/vector.d.ts +2 -2
  288. package/esm/mark/vector.js +1 -0
  289. package/esm/mark/vector.js.map +1 -1
  290. package/esm/mark/wordCloud.js +1 -1
  291. package/esm/mark/wordCloud.js.map +1 -1
  292. package/esm/palette/index.d.ts +0 -36
  293. package/esm/palette/index.js +0 -18
  294. package/esm/palette/index.js.map +1 -1
  295. package/esm/runtime/component.js +72 -13
  296. package/esm/runtime/component.js.map +1 -1
  297. package/esm/runtime/coordinate.d.ts +1 -0
  298. package/esm/runtime/coordinate.js +25 -1
  299. package/esm/runtime/coordinate.js.map +1 -1
  300. package/esm/runtime/mark.js +12 -7
  301. package/esm/runtime/mark.js.map +1 -1
  302. package/esm/runtime/plot.js +206 -75
  303. package/esm/runtime/plot.js.map +1 -1
  304. package/esm/runtime/render.d.ts +1 -1
  305. package/esm/runtime/render.js +15 -8
  306. package/esm/runtime/render.js.map +1 -1
  307. package/esm/runtime/scale.js +2 -0
  308. package/esm/runtime/scale.js.map +1 -1
  309. package/esm/runtime/transform.d.ts +5 -0
  310. package/esm/runtime/transform.js +76 -6
  311. package/esm/runtime/transform.js.map +1 -1
  312. package/esm/runtime/types/common.d.ts +8 -3
  313. package/esm/runtime/types/component.d.ts +8 -4
  314. package/esm/runtime/types/mark.d.ts +3 -3
  315. package/esm/runtime/types/options.d.ts +10 -2
  316. package/esm/runtime/types/scale.d.ts +3 -0
  317. package/esm/runtime/types/scale.js +3 -0
  318. package/esm/runtime/types/scale.js.map +1 -1
  319. package/esm/runtime/types/theme.d.ts +2 -2
  320. package/esm/scale/constant.d.ts +4 -0
  321. package/esm/scale/constant.js +6 -0
  322. package/esm/scale/constant.js.map +1 -0
  323. package/esm/scale/index.d.ts +2 -0
  324. package/esm/scale/index.js +1 -0
  325. package/esm/scale/index.js.map +1 -1
  326. package/esm/shape/interval/color.js +27 -13
  327. package/esm/shape/interval/color.js.map +1 -1
  328. package/esm/shape/label/label.js +1 -1
  329. package/esm/shape/label/label.js.map +1 -1
  330. package/esm/shape/label/position/area.js +1 -1
  331. package/esm/shape/label/position/area.js.map +1 -1
  332. package/esm/shape/line/curve.js +1 -1
  333. package/esm/shape/line/curve.js.map +1 -1
  334. package/esm/shape/point/color.js +2 -7
  335. package/esm/shape/point/color.js.map +1 -1
  336. package/esm/shape/text/advance.js +3 -1
  337. package/esm/shape/text/advance.js.map +1 -1
  338. package/esm/shape/text/text.js +1 -1
  339. package/esm/shape/text/text.js.map +1 -1
  340. package/esm/shape/utils.d.ts +1 -0
  341. package/esm/shape/utils.js +6 -0
  342. package/esm/shape/utils.js.map +1 -1
  343. package/esm/shape/vector/vector.js +0 -1
  344. package/esm/shape/vector/vector.js.map +1 -1
  345. package/esm/spec/animate.d.ts +23 -1
  346. package/esm/spec/component.d.ts +72 -0
  347. package/esm/spec/component.js +2 -0
  348. package/esm/spec/component.js.map +1 -0
  349. package/esm/spec/composition.d.ts +29 -24
  350. package/esm/spec/coordinate.d.ts +31 -56
  351. package/esm/spec/coordinateTransform.d.ts +13 -0
  352. package/esm/spec/coordinateTransform.js +2 -0
  353. package/esm/spec/coordinateTransform.js.map +1 -0
  354. package/esm/spec/data.d.ts +4 -222
  355. package/esm/spec/dataTransform.d.ts +91 -0
  356. package/esm/spec/dataTransform.js +2 -0
  357. package/esm/spec/dataTransform.js.map +1 -0
  358. package/esm/spec/index.d.ts +15 -11
  359. package/esm/spec/index.js +12 -9
  360. package/esm/spec/index.js.map +1 -1
  361. package/esm/spec/interaction.d.ts +18 -18
  362. package/esm/spec/labelTransform.d.ts +5 -5
  363. package/esm/spec/mark.d.ts +190 -0
  364. package/esm/spec/mark.js +2 -0
  365. package/esm/spec/mark.js.map +1 -0
  366. package/esm/spec/palette.d.ts +0 -54
  367. package/esm/spec/scale.d.ts +7 -5
  368. package/esm/spec/transform.d.ts +1 -1
  369. package/esm/spec/utils.d.ts +11 -0
  370. package/esm/spec/utils.js +2 -0
  371. package/esm/spec/utils.js.map +1 -0
  372. package/esm/stdlib/index.js +6 -31
  373. package/esm/stdlib/index.js.map +1 -1
  374. package/esm/theme/academy.js +6 -5
  375. package/esm/theme/academy.js.map +1 -1
  376. package/esm/theme/dark.js +6 -5
  377. package/esm/theme/dark.js.map +1 -1
  378. package/esm/theme/light.js +7 -8
  379. package/esm/theme/light.js.map +1 -1
  380. package/esm/transform/bin.js +5 -5
  381. package/esm/transform/bin.js.map +1 -1
  382. package/esm/transform/filter.js +4 -1
  383. package/esm/transform/filter.js.map +1 -1
  384. package/esm/transform/groupN.js +17 -2
  385. package/esm/transform/groupN.js.map +1 -1
  386. package/esm/transform/maybeTitle.js +22 -4
  387. package/esm/transform/maybeTitle.js.map +1 -1
  388. package/esm/transform/maybeTooltip.js +23 -20
  389. package/esm/transform/maybeTooltip.js.map +1 -1
  390. package/esm/transform/maybeZeroPadding.js.map +1 -1
  391. package/esm/transform/maybeZeroX.js +2 -2
  392. package/esm/transform/maybeZeroX.js.map +1 -1
  393. package/esm/transform/maybeZeroY.js +2 -2
  394. package/esm/transform/maybeZeroY.js.map +1 -1
  395. package/esm/transform/maybeZeroY1.js +2 -2
  396. package/esm/transform/maybeZeroY1.js.map +1 -1
  397. package/esm/transform/normalizeY.js +7 -4
  398. package/esm/transform/normalizeY.js.map +1 -1
  399. package/esm/transform/sample.js +1 -1
  400. package/esm/transform/sample.js.map +1 -1
  401. package/esm/transform/stackY.js +2 -1
  402. package/esm/transform/stackY.js.map +1 -1
  403. package/esm/transform/utils/helper.d.ts +12 -0
  404. package/esm/transform/utils/helper.js +8 -0
  405. package/esm/transform/utils/helper.js.map +1 -1
  406. package/esm/utils/coordinate.d.ts +3 -1
  407. package/esm/utils/coordinate.js +9 -2
  408. package/esm/utils/coordinate.js.map +1 -1
  409. package/esm/utils/event.d.ts +33 -14
  410. package/esm/utils/event.js +43 -16
  411. package/esm/utils/event.js.map +1 -1
  412. package/esm/utils/helper.d.ts +3 -0
  413. package/esm/utils/helper.js +19 -4
  414. package/esm/utils/helper.js.map +1 -1
  415. package/esm/utils/mark.d.ts +4 -0
  416. package/esm/utils/mark.js +29 -0
  417. package/esm/utils/mark.js.map +1 -0
  418. package/esm/utils/selection.js +5 -2
  419. package/esm/utils/selection.js.map +1 -1
  420. package/esm/utils/style.d.ts +5 -0
  421. package/esm/utils/style.js +23 -0
  422. package/esm/utils/style.js.map +1 -0
  423. package/lib/animation/fadeIn.js +1 -1
  424. package/lib/animation/fadeIn.js.map +1 -1
  425. package/lib/animation/fadeOut.js +1 -1
  426. package/lib/animation/fadeOut.js.map +1 -1
  427. package/lib/animation/morphing.js +1 -1
  428. package/lib/animation/morphing.js.map +1 -1
  429. package/lib/animation/scaleInX.js +1 -1
  430. package/lib/animation/scaleInX.js.map +1 -1
  431. package/lib/animation/scaleInY.js +1 -1
  432. package/lib/animation/scaleInY.js.map +1 -1
  433. package/lib/animation/scaleOutX.js +1 -1
  434. package/lib/animation/scaleOutX.js.map +1 -1
  435. package/lib/animation/scaleOutY.js +1 -1
  436. package/lib/animation/scaleOutY.js.map +1 -1
  437. package/lib/animation/waveIn.js +2 -13
  438. package/lib/animation/waveIn.js.map +1 -1
  439. package/lib/animation/zoomIn.js +1 -1
  440. package/lib/animation/zoomIn.js.map +1 -1
  441. package/lib/animation/zoomOut.js +1 -1
  442. package/lib/animation/zoomOut.js.map +1 -1
  443. package/lib/api/chart.d.ts +20 -5
  444. package/lib/api/chart.js +31 -16
  445. package/lib/api/chart.js.map +1 -1
  446. package/lib/api/composition/base.d.ts +3 -3
  447. package/lib/api/composition/base.js +11 -20
  448. package/lib/api/composition/base.js.map +1 -1
  449. package/lib/api/composition/facetCircle.d.ts +2 -2
  450. package/lib/api/composition/facetCircle.js +1 -1
  451. package/lib/api/composition/facetCircle.js.map +1 -1
  452. package/lib/api/composition/facetRect.d.ts +2 -2
  453. package/lib/api/composition/facetRect.js +1 -1
  454. package/lib/api/composition/facetRect.js.map +1 -1
  455. package/lib/api/composition/geoPath.d.ts +5 -6
  456. package/lib/api/composition/geoPath.js +3 -4
  457. package/lib/api/composition/geoPath.js.map +1 -1
  458. package/lib/api/composition/geoView.d.ts +4 -5
  459. package/lib/api/composition/geoView.js +3 -4
  460. package/lib/api/composition/geoView.js.map +1 -1
  461. package/lib/api/composition/index.d.ts +2 -2
  462. package/lib/api/composition/index.js +2 -2
  463. package/lib/api/composition/index.js.map +1 -1
  464. package/lib/api/composition/repeatMatrix.d.ts +2 -2
  465. package/lib/api/composition/repeatMatrix.js +1 -1
  466. package/lib/api/composition/repeatMatrix.js.map +1 -1
  467. package/lib/api/composition/spaceFlex.d.ts +2 -2
  468. package/lib/api/composition/spaceFlex.js +1 -1
  469. package/lib/api/composition/spaceFlex.js.map +1 -1
  470. package/lib/api/composition/spaceLayer.d.ts +2 -2
  471. package/lib/api/composition/spaceLayer.js +1 -1
  472. package/lib/api/composition/spaceLayer.js.map +1 -1
  473. package/lib/api/composition/timingKeyframe.d.ts +2 -2
  474. package/lib/api/composition/timingKeyframe.js +1 -1
  475. package/lib/api/composition/timingKeyframe.js.map +1 -1
  476. package/lib/api/composition/view.d.ts +4 -4
  477. package/lib/api/composition/view.js +3 -3
  478. package/lib/api/composition/view.js.map +1 -1
  479. package/lib/api/index.d.ts +2 -0
  480. package/lib/api/index.js +5 -1
  481. package/lib/api/index.js.map +1 -1
  482. package/lib/api/mark/base.d.ts +1 -1
  483. package/lib/api/mark/base.js +9 -9
  484. package/lib/api/mark/base.js.map +1 -1
  485. package/lib/api/mark/index.d.ts +7 -1
  486. package/lib/api/mark/index.js +5 -1
  487. package/lib/api/mark/index.js.map +1 -1
  488. package/lib/api/mark/mark.d.ts +52 -40
  489. package/lib/api/mark/mark.js +49 -27
  490. package/lib/api/mark/mark.js.map +1 -1
  491. package/lib/api/mark/types.d.ts +6 -2
  492. package/lib/api/node.d.ts +1 -1
  493. package/lib/api/node.js +1 -1
  494. package/lib/api/node.js.map +1 -1
  495. package/lib/api/props.d.ts +1 -1
  496. package/lib/api/props.js +31 -4
  497. package/lib/api/props.js.map +1 -1
  498. package/lib/api/types.d.ts +2 -2
  499. package/lib/component/axis.js +11 -20
  500. package/lib/component/axis.js.map +1 -1
  501. package/lib/component/axisRadar.js +1 -2
  502. package/lib/component/axisRadar.js.map +1 -1
  503. package/lib/component/legendCategory.js +49 -13
  504. package/lib/component/legendCategory.js.map +1 -1
  505. package/lib/component/legendContinuous.js +13 -34
  506. package/lib/component/legendContinuous.js.map +1 -1
  507. package/lib/component/legendContinuousBlockSize.js +1 -1
  508. package/lib/component/legendContinuousBlockSize.js.map +1 -1
  509. package/lib/component/legendContinuousSize.js +1 -1
  510. package/lib/component/legendContinuousSize.js.map +1 -1
  511. package/lib/component/scrollbar.d.ts +1 -1
  512. package/lib/component/scrollbar.js +4 -4
  513. package/lib/component/scrollbar.js.map +1 -1
  514. package/lib/component/scrollbarX.js +1 -1
  515. package/lib/component/scrollbarX.js.map +1 -1
  516. package/lib/component/scrollbarY.js +1 -1
  517. package/lib/component/scrollbarY.js.map +1 -1
  518. package/lib/component/slider.d.ts +1 -1
  519. package/lib/component/slider.js +5 -5
  520. package/lib/component/slider.js.map +1 -1
  521. package/lib/component/sliderX.js +1 -1
  522. package/lib/component/sliderX.js.map +1 -1
  523. package/lib/component/sliderY.js +1 -1
  524. package/lib/component/sliderY.js.map +1 -1
  525. package/lib/component/title.js +3 -14
  526. package/lib/component/title.js.map +1 -1
  527. package/lib/component/utils.d.ts +12 -2
  528. package/lib/component/utils.js +47 -5
  529. package/lib/component/utils.js.map +1 -1
  530. package/lib/composition/facetCircle.js +1 -1
  531. package/lib/composition/facetCircle.js.map +1 -1
  532. package/lib/composition/mark.d.ts +1 -1
  533. package/lib/composition/mark.js +3 -3
  534. package/lib/composition/mark.js.map +1 -1
  535. package/lib/composition/spaceLayer.js +3 -6
  536. package/lib/composition/spaceLayer.js.map +1 -1
  537. package/lib/composition/timingKeyframe.js +13 -7
  538. package/lib/composition/timingKeyframe.js.map +1 -1
  539. package/lib/composition/view.js +3 -3
  540. package/lib/composition/view.js.map +1 -1
  541. package/lib/coordinate/fisheye.js +1 -1
  542. package/lib/coordinate/fisheye.js.map +1 -1
  543. package/lib/coordinate/index.d.ts +2 -10
  544. package/lib/coordinate/index.js +3 -11
  545. package/lib/coordinate/index.js.map +1 -1
  546. package/lib/coordinate/polar.d.ts +3 -2
  547. package/lib/coordinate/radar.d.ts +7 -0
  548. package/lib/coordinate/radar.js +18 -0
  549. package/lib/coordinate/radar.js.map +1 -0
  550. package/lib/coordinate/radial.d.ts +3 -2
  551. package/lib/coordinate/radial.js +3 -2
  552. package/lib/coordinate/radial.js.map +1 -1
  553. package/lib/coordinate/theta.d.ts +1 -0
  554. package/lib/coordinate/transpose.js +1 -1
  555. package/lib/coordinate/transpose.js.map +1 -1
  556. package/lib/data/arc.d.ts +1 -2
  557. package/lib/data/arc.js.map +1 -1
  558. package/lib/data/cluster.d.ts +1 -2
  559. package/lib/data/cluster.js.map +1 -1
  560. package/lib/data/sankey.d.ts +1 -2
  561. package/lib/data/sankey.js.map +1 -1
  562. package/lib/data/tree.d.ts +1 -2
  563. package/lib/data/tree.js.map +1 -1
  564. package/lib/data/wordCloud.d.ts +1 -2
  565. package/lib/data/wordCloud.js.map +1 -1
  566. package/lib/geo/geoView.js +9 -5
  567. package/lib/geo/geoView.js.map +1 -1
  568. package/lib/geo/index.d.ts +2 -2
  569. package/lib/index.d.ts +5 -3
  570. package/lib/index.js +17 -2
  571. package/lib/index.js.map +1 -1
  572. package/{esm/interaction/native → lib/interaction}/brushAxisHighlight.d.ts +2 -1
  573. package/lib/interaction/{native/brushAxisHighlight.js → brushAxisHighlight.js} +10 -7
  574. package/lib/interaction/brushAxisHighlight.js.map +1 -0
  575. package/lib/interaction/{native/brushFilter.js → brushFilter.js} +3 -3
  576. package/lib/interaction/brushFilter.js.map +1 -0
  577. package/{esm/interaction/native → lib/interaction}/brushHighlight.d.ts +2 -1
  578. package/lib/interaction/{native/brushHighlight.js → brushHighlight.js} +37 -26
  579. package/lib/interaction/brushHighlight.js.map +1 -0
  580. package/lib/interaction/brushXFilter.js.map +1 -0
  581. package/lib/interaction/brushXHighlight.js.map +1 -0
  582. package/lib/interaction/brushYFilter.js.map +1 -0
  583. package/lib/interaction/brushYHighlight.js.map +1 -0
  584. package/lib/interaction/{native/chartIndex.js → chartIndex.js} +2 -2
  585. package/lib/interaction/chartIndex.js.map +1 -0
  586. package/lib/interaction/{native/elementHighlight.d.ts → elementHighlight.d.ts} +5 -2
  587. package/lib/interaction/{native/elementHighlight.js → elementHighlight.js} +35 -26
  588. package/lib/interaction/elementHighlight.js.map +1 -0
  589. package/lib/interaction/elementHighlightByColor.d.ts +1 -0
  590. package/lib/interaction/elementHighlightByColor.js +10 -0
  591. package/lib/interaction/elementHighlightByColor.js.map +1 -0
  592. package/lib/interaction/elementHighlightByX.d.ts +1 -0
  593. package/lib/interaction/elementHighlightByX.js +10 -0
  594. package/lib/interaction/elementHighlightByX.js.map +1 -0
  595. package/{esm/interaction/native → lib/interaction}/elementSelect.d.ts +7 -2
  596. package/lib/interaction/{native/elementSelect.js → elementSelect.js} +30 -20
  597. package/lib/interaction/elementSelect.js.map +1 -0
  598. package/lib/interaction/elementSelectByColor.js +10 -0
  599. package/lib/interaction/elementSelectByColor.js.map +1 -0
  600. package/lib/interaction/elementSelectByX.js +10 -0
  601. package/lib/interaction/elementSelectByX.js.map +1 -0
  602. package/lib/interaction/event.d.ts +1 -0
  603. package/lib/interaction/event.js +107 -0
  604. package/lib/interaction/event.js.map +1 -0
  605. package/lib/interaction/{native/fisheye.js → fisheye.js} +6 -4
  606. package/lib/interaction/fisheye.js.map +1 -0
  607. package/lib/interaction/index.d.ts +21 -22
  608. package/lib/interaction/index.js +23 -25
  609. package/lib/interaction/index.js.map +1 -1
  610. package/lib/interaction/{native/legendFilter.d.ts → legendFilter.d.ts} +1 -4
  611. package/lib/interaction/{native/legendFilter.js → legendFilter.js} +61 -93
  612. package/lib/interaction/legendFilter.js.map +1 -0
  613. package/lib/interaction/legendHighlight.d.ts +1 -0
  614. package/lib/interaction/{native/legendHighlight.js → legendHighlight.js} +19 -25
  615. package/lib/interaction/legendHighlight.js.map +1 -0
  616. package/lib/interaction/{native/poptip.js → poptip.js} +2 -2
  617. package/lib/interaction/poptip.js.map +1 -0
  618. package/lib/interaction/{native/sliderFilter.js → sliderFilter.js} +7 -7
  619. package/lib/interaction/sliderFilter.js.map +1 -0
  620. package/lib/interaction/tooltip.d.ts +11 -0
  621. package/lib/interaction/{native/tooltip.js → tooltip.js} +198 -121
  622. package/lib/interaction/tooltip.js.map +1 -0
  623. package/lib/interaction/utils.d.ts +47 -3
  624. package/lib/interaction/utils.js +391 -34
  625. package/lib/interaction/utils.js.map +1 -1
  626. package/lib/label-transform/contrastReverse.d.ts +2 -2
  627. package/lib/label-transform/contrastReverse.js.map +1 -1
  628. package/lib/label-transform/overflowHide.d.ts +2 -2
  629. package/lib/label-transform/overflowHide.js +3 -2
  630. package/lib/label-transform/overflowHide.js.map +1 -1
  631. package/lib/label-transform/overlapDodgeY.d.ts +2 -2
  632. package/lib/label-transform/overlapHide.d.ts +2 -2
  633. package/lib/label-transform/overlapHide.js +3 -2
  634. package/lib/label-transform/overlapHide.js.map +1 -1
  635. package/lib/mark/area.d.ts +2 -2
  636. package/lib/mark/area.js +1 -0
  637. package/lib/mark/area.js.map +1 -1
  638. package/lib/mark/box.d.ts +2 -2
  639. package/lib/mark/box.js +1 -0
  640. package/lib/mark/box.js.map +1 -1
  641. package/lib/mark/boxplot.js +21 -6
  642. package/lib/mark/boxplot.js.map +1 -1
  643. package/lib/mark/cell.d.ts +2 -2
  644. package/lib/mark/cell.js +1 -0
  645. package/lib/mark/cell.js.map +1 -1
  646. package/lib/mark/connector.js +1 -0
  647. package/lib/mark/connector.js.map +1 -1
  648. package/lib/mark/forceGraph.js +29 -4
  649. package/lib/mark/forceGraph.js.map +1 -1
  650. package/lib/mark/gauge.d.ts +4 -0
  651. package/lib/mark/gauge.js +170 -0
  652. package/lib/mark/gauge.js.map +1 -0
  653. package/lib/mark/image.d.ts +2 -2
  654. package/lib/mark/image.js +1 -0
  655. package/lib/mark/image.js.map +1 -1
  656. package/lib/mark/index.d.ts +2 -0
  657. package/lib/mark/index.js +3 -1
  658. package/lib/mark/index.js.map +1 -1
  659. package/lib/mark/interval.d.ts +2 -2
  660. package/lib/mark/interval.js +1 -0
  661. package/lib/mark/interval.js.map +1 -1
  662. package/lib/mark/line.d.ts +2 -2
  663. package/lib/mark/line.js +1 -0
  664. package/lib/mark/line.js.map +1 -1
  665. package/lib/mark/lineX.js +1 -0
  666. package/lib/mark/lineX.js.map +1 -1
  667. package/lib/mark/lineY.js +1 -0
  668. package/lib/mark/lineY.js.map +1 -1
  669. package/lib/mark/link.d.ts +2 -2
  670. package/lib/mark/link.js +1 -0
  671. package/lib/mark/link.js.map +1 -1
  672. package/lib/mark/pack.js +10 -4
  673. package/lib/mark/pack.js.map +1 -1
  674. package/lib/mark/path.js +1 -0
  675. package/lib/mark/path.js.map +1 -1
  676. package/lib/mark/point.d.ts +2 -2
  677. package/lib/mark/point.js +1 -0
  678. package/lib/mark/point.js.map +1 -1
  679. package/lib/mark/polygon.d.ts +2 -2
  680. package/lib/mark/polygon.js +1 -0
  681. package/lib/mark/polygon.js.map +1 -1
  682. package/lib/mark/range.js +1 -0
  683. package/lib/mark/range.js.map +1 -1
  684. package/lib/mark/rangeX.js +1 -0
  685. package/lib/mark/rangeX.js.map +1 -1
  686. package/lib/mark/rangeY.js +1 -0
  687. package/lib/mark/rangeY.js.map +1 -1
  688. package/lib/mark/rect.d.ts +2 -2
  689. package/lib/mark/rect.js +1 -0
  690. package/lib/mark/rect.js.map +1 -1
  691. package/lib/mark/sankey.js +21 -6
  692. package/lib/mark/sankey.js.map +1 -1
  693. package/lib/mark/shape.js +1 -0
  694. package/lib/mark/shape.js.map +1 -1
  695. package/lib/mark/text.d.ts +2 -2
  696. package/lib/mark/text.js +1 -0
  697. package/lib/mark/text.js.map +1 -1
  698. package/lib/mark/tree.js +18 -4
  699. package/lib/mark/tree.js.map +1 -1
  700. package/lib/mark/treemap.js +12 -4
  701. package/lib/mark/treemap.js.map +1 -1
  702. package/lib/mark/utils.d.ts +2 -2
  703. package/lib/mark/utils.js +3 -7
  704. package/lib/mark/utils.js.map +1 -1
  705. package/lib/mark/vector.d.ts +2 -2
  706. package/lib/mark/vector.js +1 -0
  707. package/lib/mark/vector.js.map +1 -1
  708. package/lib/mark/wordCloud.js +1 -1
  709. package/lib/mark/wordCloud.js.map +1 -1
  710. package/lib/palette/index.d.ts +0 -36
  711. package/lib/palette/index.js +1 -37
  712. package/lib/palette/index.js.map +1 -1
  713. package/lib/runtime/component.js +71 -12
  714. package/lib/runtime/component.js.map +1 -1
  715. package/lib/runtime/coordinate.d.ts +1 -0
  716. package/lib/runtime/coordinate.js +27 -2
  717. package/lib/runtime/coordinate.js.map +1 -1
  718. package/lib/runtime/mark.js +11 -6
  719. package/lib/runtime/mark.js.map +1 -1
  720. package/lib/runtime/plot.js +203 -72
  721. package/lib/runtime/plot.js.map +1 -1
  722. package/lib/runtime/render.d.ts +1 -1
  723. package/lib/runtime/render.js +14 -7
  724. package/lib/runtime/render.js.map +1 -1
  725. package/lib/runtime/scale.js +2 -0
  726. package/lib/runtime/scale.js.map +1 -1
  727. package/lib/runtime/transform.d.ts +5 -0
  728. package/lib/runtime/transform.js +80 -8
  729. package/lib/runtime/transform.js.map +1 -1
  730. package/lib/runtime/types/common.d.ts +8 -3
  731. package/lib/runtime/types/component.d.ts +8 -4
  732. package/lib/runtime/types/mark.d.ts +3 -3
  733. package/lib/runtime/types/options.d.ts +10 -2
  734. package/lib/runtime/types/scale.d.ts +3 -0
  735. package/lib/runtime/types/scale.js +4 -1
  736. package/lib/runtime/types/scale.js.map +1 -1
  737. package/lib/runtime/types/theme.d.ts +2 -2
  738. package/lib/scale/constant.d.ts +4 -0
  739. package/lib/scale/constant.js +10 -0
  740. package/lib/scale/constant.js.map +1 -0
  741. package/lib/scale/index.d.ts +2 -0
  742. package/lib/scale/index.js +3 -1
  743. package/lib/scale/index.js.map +1 -1
  744. package/lib/shape/interval/color.js +27 -13
  745. package/lib/shape/interval/color.js.map +1 -1
  746. package/lib/shape/label/label.js +1 -1
  747. package/lib/shape/label/label.js.map +1 -1
  748. package/lib/shape/label/position/area.js +1 -1
  749. package/lib/shape/label/position/area.js.map +1 -1
  750. package/lib/shape/line/curve.js +1 -1
  751. package/lib/shape/line/curve.js.map +1 -1
  752. package/lib/shape/point/color.js +2 -7
  753. package/lib/shape/point/color.js.map +1 -1
  754. package/lib/shape/text/advance.js +3 -1
  755. package/lib/shape/text/advance.js.map +1 -1
  756. package/lib/shape/text/text.js +1 -1
  757. package/lib/shape/text/text.js.map +1 -1
  758. package/lib/shape/utils.d.ts +1 -0
  759. package/lib/shape/utils.js +8 -1
  760. package/lib/shape/utils.js.map +1 -1
  761. package/lib/shape/vector/vector.js +0 -1
  762. package/lib/shape/vector/vector.js.map +1 -1
  763. package/lib/spec/animate.d.ts +23 -1
  764. package/lib/spec/component.d.ts +72 -0
  765. package/lib/spec/{action.js → component.js} +1 -1
  766. package/lib/spec/component.js.map +1 -0
  767. package/lib/spec/composition.d.ts +29 -24
  768. package/lib/spec/coordinate.d.ts +31 -56
  769. package/lib/spec/coordinateTransform.d.ts +13 -0
  770. package/lib/spec/coordinateTransform.js +3 -0
  771. package/lib/spec/coordinateTransform.js.map +1 -0
  772. package/lib/spec/data.d.ts +4 -222
  773. package/lib/spec/dataTransform.d.ts +91 -0
  774. package/lib/spec/{geometry.js → dataTransform.js} +1 -1
  775. package/lib/spec/dataTransform.js.map +1 -0
  776. package/lib/spec/index.d.ts +15 -11
  777. package/lib/spec/index.js +12 -9
  778. package/lib/spec/index.js.map +1 -1
  779. package/lib/spec/interaction.d.ts +18 -18
  780. package/lib/spec/labelTransform.d.ts +5 -5
  781. package/lib/spec/mark.d.ts +190 -0
  782. package/lib/{interaction/types.js → spec/mark.js} +1 -1
  783. package/lib/spec/mark.js.map +1 -0
  784. package/lib/spec/palette.d.ts +0 -54
  785. package/lib/spec/scale.d.ts +7 -5
  786. package/lib/spec/transform.d.ts +1 -1
  787. package/lib/spec/utils.d.ts +11 -0
  788. package/lib/spec/{title.js → utils.js} +1 -1
  789. package/lib/spec/utils.js.map +1 -0
  790. package/lib/stdlib/index.js +1 -15
  791. package/lib/stdlib/index.js.map +1 -1
  792. package/lib/theme/academy.js +6 -5
  793. package/lib/theme/academy.js.map +1 -1
  794. package/lib/theme/dark.js +6 -5
  795. package/lib/theme/dark.js.map +1 -1
  796. package/lib/theme/light.js +7 -8
  797. package/lib/theme/light.js.map +1 -1
  798. package/lib/transform/bin.js +5 -5
  799. package/lib/transform/bin.js.map +1 -1
  800. package/lib/transform/filter.js +4 -1
  801. package/lib/transform/filter.js.map +1 -1
  802. package/lib/transform/groupN.js +16 -1
  803. package/lib/transform/groupN.js.map +1 -1
  804. package/lib/transform/maybeTitle.js +22 -4
  805. package/lib/transform/maybeTitle.js.map +1 -1
  806. package/lib/transform/maybeTooltip.js +23 -20
  807. package/lib/transform/maybeTooltip.js.map +1 -1
  808. package/lib/transform/maybeZeroPadding.js.map +1 -1
  809. package/lib/transform/maybeZeroX.js +1 -1
  810. package/lib/transform/maybeZeroX.js.map +1 -1
  811. package/lib/transform/maybeZeroY.js +1 -1
  812. package/lib/transform/maybeZeroY.js.map +1 -1
  813. package/lib/transform/maybeZeroY1.js +1 -1
  814. package/lib/transform/maybeZeroY1.js.map +1 -1
  815. package/lib/transform/normalizeY.js +9 -6
  816. package/lib/transform/normalizeY.js.map +1 -1
  817. package/lib/transform/sample.js +1 -1
  818. package/lib/transform/sample.js.map +1 -1
  819. package/lib/transform/stackY.js +1 -0
  820. package/lib/transform/stackY.js.map +1 -1
  821. package/lib/transform/utils/helper.d.ts +12 -0
  822. package/lib/transform/utils/helper.js +11 -1
  823. package/lib/transform/utils/helper.js.map +1 -1
  824. package/lib/utils/coordinate.d.ts +3 -1
  825. package/lib/utils/coordinate.js +11 -3
  826. package/lib/utils/coordinate.js.map +1 -1
  827. package/lib/utils/event.d.ts +33 -14
  828. package/lib/utils/event.js +44 -17
  829. package/lib/utils/event.js.map +1 -1
  830. package/lib/utils/helper.d.ts +3 -0
  831. package/lib/utils/helper.js +22 -4
  832. package/lib/utils/helper.js.map +1 -1
  833. package/lib/utils/mark.d.ts +4 -0
  834. package/lib/utils/mark.js +36 -0
  835. package/lib/utils/mark.js.map +1 -0
  836. package/lib/utils/selection.js +5 -2
  837. package/lib/utils/selection.js.map +1 -1
  838. package/lib/utils/style.d.ts +5 -0
  839. package/lib/utils/style.js +30 -0
  840. package/lib/utils/style.js.map +1 -0
  841. package/package.json +10 -6
  842. package/src/animation/fadeIn.ts +1 -1
  843. package/src/animation/fadeOut.ts +1 -1
  844. package/src/animation/morphing.ts +1 -1
  845. package/src/animation/scaleInX.ts +4 -4
  846. package/src/animation/scaleInY.ts +4 -4
  847. package/src/animation/scaleOutX.ts +4 -4
  848. package/src/animation/scaleOutY.ts +4 -4
  849. package/src/animation/waveIn.ts +4 -5
  850. package/src/animation/zoomIn.ts +4 -4
  851. package/src/animation/zoomOut.ts +4 -4
  852. package/src/api/chart.ts +52 -21
  853. package/src/api/composition/base.ts +10 -11
  854. package/src/api/composition/facetCircle.ts +2 -2
  855. package/src/api/composition/facetRect.ts +2 -2
  856. package/src/api/composition/geoPath.ts +7 -14
  857. package/src/api/composition/geoView.ts +6 -8
  858. package/src/api/composition/index.ts +2 -2
  859. package/src/api/composition/repeatMatrix.ts +2 -2
  860. package/src/api/composition/spaceFlex.ts +2 -2
  861. package/src/api/composition/spaceLayer.ts +2 -2
  862. package/src/api/composition/timingKeyframe.ts +2 -2
  863. package/src/api/composition/view.ts +6 -6
  864. package/src/api/index.ts +2 -0
  865. package/src/api/mark/base.ts +7 -7
  866. package/src/api/mark/index.ts +9 -0
  867. package/src/api/mark/mark.ts +79 -51
  868. package/src/api/mark/types.ts +6 -2
  869. package/src/api/node.ts +1 -1
  870. package/src/api/props.ts +33 -5
  871. package/src/api/types.ts +4 -2
  872. package/src/component/axis.ts +20 -37
  873. package/src/component/axisRadar.ts +1 -2
  874. package/src/component/legendCategory.ts +63 -20
  875. package/src/component/legendContinuous.ts +28 -28
  876. package/src/component/legendContinuousBlockSize.ts +1 -5
  877. package/src/component/legendContinuousSize.ts +1 -1
  878. package/src/component/scrollbar.ts +6 -5
  879. package/src/component/scrollbarX.ts +1 -1
  880. package/src/component/scrollbarY.ts +1 -1
  881. package/src/component/slider.ts +7 -7
  882. package/src/component/sliderX.ts +1 -1
  883. package/src/component/sliderY.ts +1 -1
  884. package/src/component/title.ts +3 -3
  885. package/src/component/utils.ts +51 -6
  886. package/src/composition/facetCircle.ts +1 -1
  887. package/src/composition/mark.ts +5 -5
  888. package/src/composition/spaceLayer.ts +12 -6
  889. package/src/composition/timingKeyframe.ts +13 -7
  890. package/src/composition/view.ts +13 -1
  891. package/src/coordinate/fisheye.ts +1 -1
  892. package/src/coordinate/index.ts +2 -10
  893. package/src/coordinate/radar.ts +24 -0
  894. package/src/coordinate/radial.ts +3 -2
  895. package/src/coordinate/transpose.ts +1 -1
  896. package/src/data/arc.ts +1 -2
  897. package/src/data/cluster.ts +1 -2
  898. package/src/data/sankey.ts +1 -2
  899. package/src/data/tree.ts +1 -2
  900. package/src/data/wordCloud.ts +1 -2
  901. package/src/geo/geoView.ts +10 -5
  902. package/src/index.ts +16 -3
  903. package/src/interaction/{native/brushAxisHighlight.ts → brushAxisHighlight.ts} +11 -6
  904. package/src/interaction/{native/brushFilter.ts → brushFilter.ts} +4 -4
  905. package/src/interaction/{native/brushHighlight.ts → brushHighlight.ts} +62 -29
  906. package/src/interaction/{native/chartIndex.ts → chartIndex.ts} +2 -2
  907. package/src/interaction/{native/elementHighlight.ts → elementHighlight.ts} +45 -28
  908. package/src/interaction/elementHighlightByColor.ts +6 -0
  909. package/src/interaction/elementHighlightByX.ts +6 -0
  910. package/src/interaction/{native/elementSelect.ts → elementSelect.ts} +34 -19
  911. package/src/interaction/elementSelectByColor.ts +6 -0
  912. package/src/interaction/elementSelectByX.ts +6 -0
  913. package/src/interaction/event.ts +129 -0
  914. package/src/interaction/{native/fisheye.ts → fisheye.ts} +6 -4
  915. package/src/interaction/index.ts +21 -56
  916. package/src/interaction/{native/legendFilter.ts → legendFilter.ts} +57 -85
  917. package/src/interaction/{native/legendHighlight.ts → legendHighlight.ts} +28 -14
  918. package/src/interaction/{native/poptip.ts → poptip.ts} +2 -2
  919. package/src/interaction/{native/sliderFilter.ts → sliderFilter.ts} +7 -7
  920. package/src/interaction/{native/tooltip.ts → tooltip.ts} +250 -150
  921. package/src/interaction/utils.ts +449 -56
  922. package/src/label-transform/contrastReverse.ts +5 -2
  923. package/src/label-transform/overflowHide.ts +5 -5
  924. package/src/label-transform/overlapDodgeY.ts +2 -2
  925. package/src/label-transform/overlapHide.ts +5 -4
  926. package/src/mark/area.ts +3 -2
  927. package/src/mark/box.ts +3 -2
  928. package/src/mark/boxplot.ts +37 -7
  929. package/src/mark/cell.ts +3 -2
  930. package/src/mark/connector.ts +1 -0
  931. package/src/mark/forceGraph.ts +24 -6
  932. package/src/mark/gauge.ts +222 -0
  933. package/src/mark/image.ts +3 -2
  934. package/src/mark/index.ts +2 -0
  935. package/src/mark/interval.ts +3 -2
  936. package/src/mark/line.ts +3 -2
  937. package/src/mark/lineX.ts +1 -0
  938. package/src/mark/lineY.ts +1 -0
  939. package/src/mark/link.ts +3 -2
  940. package/src/mark/pack.ts +11 -2
  941. package/src/mark/path.ts +1 -0
  942. package/src/mark/point.ts +3 -2
  943. package/src/mark/polygon.ts +3 -2
  944. package/src/mark/range.ts +1 -0
  945. package/src/mark/rangeX.ts +1 -0
  946. package/src/mark/rangeY.ts +1 -0
  947. package/src/mark/rect.ts +3 -2
  948. package/src/mark/sankey.ts +28 -6
  949. package/src/mark/shape.ts +1 -0
  950. package/src/mark/text.ts +3 -2
  951. package/src/mark/tree.ts +25 -5
  952. package/src/mark/treemap.ts +17 -3
  953. package/src/mark/utils.ts +3 -7
  954. package/src/mark/vector.ts +3 -2
  955. package/src/mark/wordCloud.ts +1 -1
  956. package/src/palette/index.ts +0 -37
  957. package/src/runtime/component.ts +87 -17
  958. package/src/runtime/coordinate.ts +18 -1
  959. package/src/runtime/mark.ts +13 -5
  960. package/src/runtime/plot.ts +308 -96
  961. package/src/runtime/render.ts +16 -8
  962. package/src/runtime/scale.ts +2 -0
  963. package/src/runtime/transform.ts +100 -6
  964. package/src/runtime/types/common.ts +9 -3
  965. package/src/runtime/types/component.ts +9 -9
  966. package/src/runtime/types/mark.ts +3 -3
  967. package/src/runtime/types/options.ts +10 -2
  968. package/src/runtime/types/scale.ts +4 -0
  969. package/src/runtime/types/theme.ts +1 -1
  970. package/src/scale/constant.ts +11 -0
  971. package/src/scale/index.ts +2 -0
  972. package/src/shape/interval/color.ts +33 -11
  973. package/src/shape/label/label.ts +1 -1
  974. package/src/shape/label/position/area.ts +1 -1
  975. package/src/shape/line/curve.ts +1 -1
  976. package/src/shape/point/color.ts +2 -7
  977. package/src/shape/text/advance.ts +3 -2
  978. package/src/shape/text/text.ts +1 -1
  979. package/src/shape/utils.ts +6 -0
  980. package/src/shape/vector/vector.ts +0 -1
  981. package/src/spec/animate.ts +50 -4
  982. package/src/spec/component.ts +107 -0
  983. package/src/spec/composition.ts +43 -30
  984. package/src/spec/coordinate.ts +34 -76
  985. package/src/spec/coordinateTransform.ts +16 -0
  986. package/src/spec/data.ts +12 -271
  987. package/src/spec/dataTransform.ts +125 -0
  988. package/src/spec/index.ts +15 -11
  989. package/src/spec/interaction.ts +18 -42
  990. package/src/spec/labelTransform.ts +8 -8
  991. package/src/spec/mark.ts +373 -0
  992. package/src/spec/palette.ts +0 -80
  993. package/src/spec/scale.ts +9 -3
  994. package/src/spec/transform.ts +1 -1
  995. package/src/spec/utils.ts +16 -0
  996. package/src/stdlib/index.ts +11 -76
  997. package/src/theme/academy.ts +6 -5
  998. package/src/theme/dark.ts +6 -5
  999. package/src/theme/light.ts +7 -8
  1000. package/src/transform/bin.ts +5 -5
  1001. package/src/transform/filter.ts +4 -1
  1002. package/src/transform/groupN.ts +18 -2
  1003. package/src/transform/maybeTitle.ts +20 -4
  1004. package/src/transform/maybeTooltip.ts +19 -21
  1005. package/src/transform/maybeZeroPadding.ts +0 -1
  1006. package/src/transform/maybeZeroX.ts +2 -2
  1007. package/src/transform/maybeZeroY.ts +2 -2
  1008. package/src/transform/maybeZeroY1.ts +2 -2
  1009. package/src/transform/normalizeY.ts +9 -1
  1010. package/src/transform/sample.ts +1 -1
  1011. package/src/transform/stackY.ts +7 -1
  1012. package/src/transform/utils/helper.ts +10 -0
  1013. package/src/utils/coordinate.ts +14 -2
  1014. package/src/utils/event.ts +47 -15
  1015. package/src/utils/helper.ts +36 -4
  1016. package/src/utils/mark.ts +26 -0
  1017. package/src/utils/selection.ts +5 -2
  1018. package/src/utils/style.ts +34 -0
  1019. package/esm/coordinate/fisheyeX.d.ts +0 -7
  1020. package/esm/coordinate/fisheyeX.js +0 -6
  1021. package/esm/coordinate/fisheyeX.js.map +0 -1
  1022. package/esm/coordinate/fisheyeY.d.ts +0 -7
  1023. package/esm/coordinate/fisheyeY.js +0 -6
  1024. package/esm/coordinate/fisheyeY.js.map +0 -1
  1025. package/esm/coordinate/reflect.d.ts +0 -7
  1026. package/esm/coordinate/reflect.js +0 -10
  1027. package/esm/coordinate/reflect.js.map +0 -1
  1028. package/esm/coordinate/reflectX.d.ts +0 -7
  1029. package/esm/coordinate/reflectX.js +0 -10
  1030. package/esm/coordinate/reflectX.js.map +0 -1
  1031. package/esm/coordinate/reflectY.d.ts +0 -7
  1032. package/esm/coordinate/reflectY.js +0 -10
  1033. package/esm/coordinate/reflectY.js.map +0 -1
  1034. package/esm/data/voronoi.d.ts +0 -1
  1035. package/esm/data/voronoi.js +0 -6
  1036. package/esm/data/voronoi.js.map +0 -1
  1037. package/esm/interaction/action/index.d.ts +0 -44
  1038. package/esm/interaction/action/index.js +0 -24
  1039. package/esm/interaction/action/index.js.map +0 -1
  1040. package/esm/interaction/action/service/elementSelection.d.ts +0 -4
  1041. package/esm/interaction/action/service/elementSelection.js +0 -90
  1042. package/esm/interaction/action/service/elementSelection.js.map +0 -1
  1043. package/esm/interaction/action/service/fisheyeFocus.d.ts +0 -4
  1044. package/esm/interaction/action/service/fisheyeFocus.js +0 -51
  1045. package/esm/interaction/action/service/fisheyeFocus.js.map +0 -1
  1046. package/esm/interaction/action/service/legendItemSelection.d.ts +0 -4
  1047. package/esm/interaction/action/service/legendItemSelection.js +0 -17
  1048. package/esm/interaction/action/service/legendItemSelection.js.map +0 -1
  1049. package/esm/interaction/action/service/recordCurrentPoint.d.ts +0 -4
  1050. package/esm/interaction/action/service/recordCurrentPoint.js +0 -16
  1051. package/esm/interaction/action/service/recordCurrentPoint.js.map +0 -1
  1052. package/esm/interaction/action/service/recordPoint.d.ts +0 -4
  1053. package/esm/interaction/action/service/recordPoint.js +0 -28
  1054. package/esm/interaction/action/service/recordPoint.js.map +0 -1
  1055. package/esm/interaction/action/service/recordRegion.d.ts +0 -4
  1056. package/esm/interaction/action/service/recordRegion.js +0 -30
  1057. package/esm/interaction/action/service/recordRegion.js.map +0 -1
  1058. package/esm/interaction/action/service/recordState.d.ts +0 -4
  1059. package/esm/interaction/action/service/recordState.js +0 -10
  1060. package/esm/interaction/action/service/recordState.js.map +0 -1
  1061. package/esm/interaction/action/service/recordTip.d.ts +0 -8
  1062. package/esm/interaction/action/service/recordTip.js +0 -15
  1063. package/esm/interaction/action/service/recordTip.js.map +0 -1
  1064. package/esm/interaction/action/service/surfacePointSelection.d.ts +0 -4
  1065. package/esm/interaction/action/service/surfacePointSelection.js +0 -19
  1066. package/esm/interaction/action/service/surfacePointSelection.js.map +0 -1
  1067. package/esm/interaction/action/service/triggerInfoSelection.d.ts +0 -4
  1068. package/esm/interaction/action/service/triggerInfoSelection.js +0 -18
  1069. package/esm/interaction/action/service/triggerInfoSelection.js.map +0 -1
  1070. package/esm/interaction/action/transformer/activeElement.d.ts +0 -4
  1071. package/esm/interaction/action/transformer/activeElement.js +0 -23
  1072. package/esm/interaction/action/transformer/activeElement.js.map +0 -1
  1073. package/esm/interaction/action/transformer/activeRegion.d.ts +0 -4
  1074. package/esm/interaction/action/transformer/activeRegion.js +0 -52
  1075. package/esm/interaction/action/transformer/activeRegion.js.map +0 -1
  1076. package/esm/interaction/action/transformer/button.d.ts +0 -4
  1077. package/esm/interaction/action/transformer/button.js +0 -76
  1078. package/esm/interaction/action/transformer/button.js.map +0 -1
  1079. package/esm/interaction/action/transformer/cursor.d.ts +0 -4
  1080. package/esm/interaction/action/transformer/cursor.js +0 -15
  1081. package/esm/interaction/action/transformer/cursor.js.map +0 -1
  1082. package/esm/interaction/action/transformer/filter.d.ts +0 -7
  1083. package/esm/interaction/action/transformer/filter.js +0 -47
  1084. package/esm/interaction/action/transformer/filter.js.map +0 -1
  1085. package/esm/interaction/action/transformer/filterElement.d.ts +0 -4
  1086. package/esm/interaction/action/transformer/filterElement.js +0 -41
  1087. package/esm/interaction/action/transformer/filterElement.js.map +0 -1
  1088. package/esm/interaction/action/transformer/highlightElement.d.ts +0 -4
  1089. package/esm/interaction/action/transformer/highlightElement.js +0 -48
  1090. package/esm/interaction/action/transformer/highlightElement.js.map +0 -1
  1091. package/esm/interaction/action/transformer/mask.d.ts +0 -7
  1092. package/esm/interaction/action/transformer/mask.js +0 -106
  1093. package/esm/interaction/action/transformer/mask.js.map +0 -1
  1094. package/esm/interaction/action/transformer/move.d.ts +0 -7
  1095. package/esm/interaction/action/transformer/move.js +0 -70
  1096. package/esm/interaction/action/transformer/move.js.map +0 -1
  1097. package/esm/interaction/action/transformer/plot.d.ts +0 -4
  1098. package/esm/interaction/action/transformer/plot.js +0 -10
  1099. package/esm/interaction/action/transformer/plot.js.map +0 -1
  1100. package/esm/interaction/action/transformer/poptip.d.ts +0 -4
  1101. package/esm/interaction/action/transformer/poptip.js +0 -39
  1102. package/esm/interaction/action/transformer/poptip.js.map +0 -1
  1103. package/esm/interaction/action/transformer/setItemState.d.ts +0 -4
  1104. package/esm/interaction/action/transformer/setItemState.js +0 -31
  1105. package/esm/interaction/action/transformer/setItemState.js.map +0 -1
  1106. package/esm/interaction/action/transformer/tooltip.d.ts +0 -9
  1107. package/esm/interaction/action/transformer/tooltip.js +0 -289
  1108. package/esm/interaction/action/transformer/tooltip.js.map +0 -1
  1109. package/esm/interaction/builtin/activeRegion.d.ts +0 -19
  1110. package/esm/interaction/builtin/activeRegion.js +0 -18
  1111. package/esm/interaction/builtin/activeRegion.js.map +0 -1
  1112. package/esm/interaction/builtin/brush.d.ts +0 -132
  1113. package/esm/interaction/builtin/brush.js +0 -93
  1114. package/esm/interaction/builtin/brush.js.map +0 -1
  1115. package/esm/interaction/builtin/brushHighlight.d.ts +0 -98
  1116. package/esm/interaction/builtin/brushHighlight.js +0 -111
  1117. package/esm/interaction/builtin/brushHighlight.js.map +0 -1
  1118. package/esm/interaction/builtin/brushVisible.d.ts +0 -88
  1119. package/esm/interaction/builtin/brushVisible.js +0 -62
  1120. package/esm/interaction/builtin/brushVisible.js.map +0 -1
  1121. package/esm/interaction/builtin/elementActive.d.ts +0 -20
  1122. package/esm/interaction/builtin/elementActive.js +0 -25
  1123. package/esm/interaction/builtin/elementActive.js.map +0 -1
  1124. package/esm/interaction/builtin/elementHighlight.d.ts +0 -19
  1125. package/esm/interaction/builtin/elementHighlight.js +0 -24
  1126. package/esm/interaction/builtin/elementHighlight.js.map +0 -1
  1127. package/esm/interaction/builtin/elementHighlightByColor.d.ts +0 -25
  1128. package/esm/interaction/builtin/elementHighlightByColor.js +0 -24
  1129. package/esm/interaction/builtin/elementHighlightByColor.js.map +0 -1
  1130. package/esm/interaction/builtin/elementHighlightByX.d.ts +0 -25
  1131. package/esm/interaction/builtin/elementHighlightByX.js +0 -24
  1132. package/esm/interaction/builtin/elementHighlightByX.js.map +0 -1
  1133. package/esm/interaction/builtin/elementListHighlight.d.ts +0 -43
  1134. package/esm/interaction/builtin/elementListHighlight.js +0 -28
  1135. package/esm/interaction/builtin/elementListHighlight.js.map +0 -1
  1136. package/esm/interaction/builtin/elementSelected.d.ts +0 -18
  1137. package/esm/interaction/builtin/elementSelected.js +0 -18
  1138. package/esm/interaction/builtin/elementSelected.js.map +0 -1
  1139. package/esm/interaction/builtin/ellipsisText.d.ts +0 -19
  1140. package/esm/interaction/builtin/ellipsisText.js +0 -17
  1141. package/esm/interaction/builtin/ellipsisText.js.map +0 -1
  1142. package/esm/interaction/builtin/fisheye.d.ts +0 -41
  1143. package/esm/interaction/builtin/fisheye.js +0 -20
  1144. package/esm/interaction/builtin/fisheye.js.map +0 -1
  1145. package/esm/interaction/builtin/legendActive.d.ts +0 -43
  1146. package/esm/interaction/builtin/legendActive.js +0 -30
  1147. package/esm/interaction/builtin/legendActive.js.map +0 -1
  1148. package/esm/interaction/builtin/legendHighlight.d.ts +0 -43
  1149. package/esm/interaction/builtin/legendHighlight.js +0 -30
  1150. package/esm/interaction/builtin/legendHighlight.js.map +0 -1
  1151. package/esm/interaction/builtin/tooltip.d.ts +0 -50
  1152. package/esm/interaction/builtin/tooltip.js +0 -28
  1153. package/esm/interaction/builtin/tooltip.js.map +0 -1
  1154. package/esm/interaction/create.d.ts +0 -3
  1155. package/esm/interaction/create.js +0 -96
  1156. package/esm/interaction/create.js.map +0 -1
  1157. package/esm/interaction/interactor/index.d.ts +0 -4
  1158. package/esm/interaction/interactor/index.js +0 -3
  1159. package/esm/interaction/interactor/index.js.map +0 -1
  1160. package/esm/interaction/interactor/mousePosition.d.ts +0 -3
  1161. package/esm/interaction/interactor/mousePosition.js +0 -10
  1162. package/esm/interaction/interactor/mousePosition.js.map +0 -1
  1163. package/esm/interaction/interactor/touchPosition.d.ts +0 -3
  1164. package/esm/interaction/interactor/touchPosition.js +0 -10
  1165. package/esm/interaction/interactor/touchPosition.js.map +0 -1
  1166. package/esm/interaction/native/brushAxisHighlight.js.map +0 -1
  1167. package/esm/interaction/native/brushFilter.js.map +0 -1
  1168. package/esm/interaction/native/brushHighlight.js.map +0 -1
  1169. package/esm/interaction/native/brushXFilter.js.map +0 -1
  1170. package/esm/interaction/native/brushXHighlight.js.map +0 -1
  1171. package/esm/interaction/native/brushYFilter.js.map +0 -1
  1172. package/esm/interaction/native/brushYHighlight.js.map +0 -1
  1173. package/esm/interaction/native/chartIndex.js.map +0 -1
  1174. package/esm/interaction/native/elementHighlight.js.map +0 -1
  1175. package/esm/interaction/native/elementHighlightByColor.d.ts +0 -7
  1176. package/esm/interaction/native/elementHighlightByColor.js +0 -28
  1177. package/esm/interaction/native/elementHighlightByColor.js.map +0 -1
  1178. package/esm/interaction/native/elementHighlightByX.d.ts +0 -8
  1179. package/esm/interaction/native/elementHighlightByX.js +0 -29
  1180. package/esm/interaction/native/elementHighlightByX.js.map +0 -1
  1181. package/esm/interaction/native/elementSelect.js.map +0 -1
  1182. package/esm/interaction/native/elementSelectByColor.js +0 -10
  1183. package/esm/interaction/native/elementSelectByColor.js.map +0 -1
  1184. package/esm/interaction/native/elementSelectByX.js +0 -10
  1185. package/esm/interaction/native/elementSelectByX.js.map +0 -1
  1186. package/esm/interaction/native/fisheye.js.map +0 -1
  1187. package/esm/interaction/native/legendFilter.js.map +0 -1
  1188. package/esm/interaction/native/legendHighlight.d.ts +0 -4
  1189. package/esm/interaction/native/legendHighlight.js.map +0 -1
  1190. package/esm/interaction/native/poptip.js.map +0 -1
  1191. package/esm/interaction/native/sliderFilter.js.map +0 -1
  1192. package/esm/interaction/native/tooltip.d.ts +0 -11
  1193. package/esm/interaction/native/tooltip.js.map +0 -1
  1194. package/esm/interaction/native/utils.d.ts +0 -47
  1195. package/esm/interaction/native/utils.js +0 -329
  1196. package/esm/interaction/native/utils.js.map +0 -1
  1197. package/esm/interaction/stdlib.d.ts +0 -2
  1198. package/esm/interaction/stdlib.js +0 -32
  1199. package/esm/interaction/stdlib.js.map +0 -1
  1200. package/esm/interaction/types.d.ts +0 -57
  1201. package/esm/interaction/types.js +0 -2
  1202. package/esm/interaction/types.js.map +0 -1
  1203. package/esm/palette/divergingGreenRed.d.ts +0 -7
  1204. package/esm/palette/divergingGreenRed.js +0 -26
  1205. package/esm/palette/divergingGreenRed.js.map +0 -1
  1206. package/esm/palette/divergingGreenYellow.d.ts +0 -7
  1207. package/esm/palette/divergingGreenYellow.js +0 -26
  1208. package/esm/palette/divergingGreenYellow.js.map +0 -1
  1209. package/esm/palette/divergingRedBlue.d.ts +0 -7
  1210. package/esm/palette/divergingRedBlue.js +0 -26
  1211. package/esm/palette/divergingRedBlue.js.map +0 -1
  1212. package/esm/palette/divergingRedPurple.d.ts +0 -7
  1213. package/esm/palette/divergingRedPurple.js +0 -26
  1214. package/esm/palette/divergingRedPurple.js.map +0 -1
  1215. package/esm/palette/sequentialBlue.d.ts +0 -7
  1216. package/esm/palette/sequentialBlue.js +0 -18
  1217. package/esm/palette/sequentialBlue.js.map +0 -1
  1218. package/esm/palette/sequentialDarkBlue.d.ts +0 -7
  1219. package/esm/palette/sequentialDarkBlue.js +0 -18
  1220. package/esm/palette/sequentialDarkBlue.js.map +0 -1
  1221. package/esm/palette/sequentialDarkGreen.d.ts +0 -7
  1222. package/esm/palette/sequentialDarkGreen.js +0 -18
  1223. package/esm/palette/sequentialDarkGreen.js.map +0 -1
  1224. package/esm/palette/sequentialGreen.d.ts +0 -7
  1225. package/esm/palette/sequentialGreen.js +0 -18
  1226. package/esm/palette/sequentialGreen.js.map +0 -1
  1227. package/esm/palette/sequentialGreenBlue.d.ts +0 -7
  1228. package/esm/palette/sequentialGreenBlue.js +0 -18
  1229. package/esm/palette/sequentialGreenBlue.js.map +0 -1
  1230. package/esm/palette/sequentialGrey.d.ts +0 -7
  1231. package/esm/palette/sequentialGrey.js +0 -18
  1232. package/esm/palette/sequentialGrey.js.map +0 -1
  1233. package/esm/palette/sequentialOrange.d.ts +0 -7
  1234. package/esm/palette/sequentialOrange.js +0 -18
  1235. package/esm/palette/sequentialOrange.js.map +0 -1
  1236. package/esm/palette/sequentialPink.d.ts +0 -7
  1237. package/esm/palette/sequentialPink.js +0 -18
  1238. package/esm/palette/sequentialPink.js.map +0 -1
  1239. package/esm/palette/sequentialPinkPurple.d.ts +0 -7
  1240. package/esm/palette/sequentialPinkPurple.js +0 -18
  1241. package/esm/palette/sequentialPinkPurple.js.map +0 -1
  1242. package/esm/palette/sequentialPurple.d.ts +0 -7
  1243. package/esm/palette/sequentialPurple.js +0 -18
  1244. package/esm/palette/sequentialPurple.js.map +0 -1
  1245. package/esm/palette/sequentialRed.d.ts +0 -7
  1246. package/esm/palette/sequentialRed.js +0 -18
  1247. package/esm/palette/sequentialRed.js.map +0 -1
  1248. package/esm/palette/sequentialYellow.d.ts +0 -7
  1249. package/esm/palette/sequentialYellow.js +0 -18
  1250. package/esm/palette/sequentialYellow.js.map +0 -1
  1251. package/esm/palette/sequentialYellowGreen.d.ts +0 -7
  1252. package/esm/palette/sequentialYellowGreen.js +0 -18
  1253. package/esm/palette/sequentialYellowGreen.js.map +0 -1
  1254. package/esm/palette/sequentialYellowOrange.d.ts +0 -7
  1255. package/esm/palette/sequentialYellowOrange.js +0 -18
  1256. package/esm/palette/sequentialYellowOrange.js.map +0 -1
  1257. package/esm/spec/action.d.ts +0 -122
  1258. package/esm/spec/action.js +0 -2
  1259. package/esm/spec/action.js.map +0 -1
  1260. package/esm/spec/geometry.d.ts +0 -134
  1261. package/esm/spec/geometry.js +0 -2
  1262. package/esm/spec/geometry.js.map +0 -1
  1263. package/esm/spec/title.d.ts +0 -2
  1264. package/esm/spec/title.js +0 -2
  1265. package/esm/spec/title.js.map +0 -1
  1266. package/lib/coordinate/fisheyeX.d.ts +0 -7
  1267. package/lib/coordinate/fisheyeX.js +0 -10
  1268. package/lib/coordinate/fisheyeX.js.map +0 -1
  1269. package/lib/coordinate/fisheyeY.d.ts +0 -7
  1270. package/lib/coordinate/fisheyeY.js +0 -10
  1271. package/lib/coordinate/fisheyeY.js.map +0 -1
  1272. package/lib/coordinate/reflect.d.ts +0 -7
  1273. package/lib/coordinate/reflect.js +0 -14
  1274. package/lib/coordinate/reflect.js.map +0 -1
  1275. package/lib/coordinate/reflectX.d.ts +0 -7
  1276. package/lib/coordinate/reflectX.js +0 -14
  1277. package/lib/coordinate/reflectX.js.map +0 -1
  1278. package/lib/coordinate/reflectY.d.ts +0 -7
  1279. package/lib/coordinate/reflectY.js +0 -14
  1280. package/lib/coordinate/reflectY.js.map +0 -1
  1281. package/lib/data/voronoi.d.ts +0 -1
  1282. package/lib/data/voronoi.js +0 -7
  1283. package/lib/data/voronoi.js.map +0 -1
  1284. package/lib/interaction/action/index.d.ts +0 -44
  1285. package/lib/interaction/action/index.js +0 -50
  1286. package/lib/interaction/action/index.js.map +0 -1
  1287. package/lib/interaction/action/service/elementSelection.d.ts +0 -4
  1288. package/lib/interaction/action/service/elementSelection.js +0 -94
  1289. package/lib/interaction/action/service/elementSelection.js.map +0 -1
  1290. package/lib/interaction/action/service/fisheyeFocus.d.ts +0 -4
  1291. package/lib/interaction/action/service/fisheyeFocus.js +0 -55
  1292. package/lib/interaction/action/service/fisheyeFocus.js.map +0 -1
  1293. package/lib/interaction/action/service/legendItemSelection.d.ts +0 -4
  1294. package/lib/interaction/action/service/legendItemSelection.js +0 -21
  1295. package/lib/interaction/action/service/legendItemSelection.js.map +0 -1
  1296. package/lib/interaction/action/service/recordCurrentPoint.d.ts +0 -4
  1297. package/lib/interaction/action/service/recordCurrentPoint.js +0 -20
  1298. package/lib/interaction/action/service/recordCurrentPoint.js.map +0 -1
  1299. package/lib/interaction/action/service/recordPoint.d.ts +0 -4
  1300. package/lib/interaction/action/service/recordPoint.js +0 -32
  1301. package/lib/interaction/action/service/recordPoint.js.map +0 -1
  1302. package/lib/interaction/action/service/recordRegion.d.ts +0 -4
  1303. package/lib/interaction/action/service/recordRegion.js +0 -34
  1304. package/lib/interaction/action/service/recordRegion.js.map +0 -1
  1305. package/lib/interaction/action/service/recordState.d.ts +0 -4
  1306. package/lib/interaction/action/service/recordState.js +0 -14
  1307. package/lib/interaction/action/service/recordState.js.map +0 -1
  1308. package/lib/interaction/action/service/recordTip.d.ts +0 -8
  1309. package/lib/interaction/action/service/recordTip.js +0 -19
  1310. package/lib/interaction/action/service/recordTip.js.map +0 -1
  1311. package/lib/interaction/action/service/surfacePointSelection.d.ts +0 -4
  1312. package/lib/interaction/action/service/surfacePointSelection.js +0 -23
  1313. package/lib/interaction/action/service/surfacePointSelection.js.map +0 -1
  1314. package/lib/interaction/action/service/triggerInfoSelection.d.ts +0 -4
  1315. package/lib/interaction/action/service/triggerInfoSelection.js +0 -22
  1316. package/lib/interaction/action/service/triggerInfoSelection.js.map +0 -1
  1317. package/lib/interaction/action/transformer/activeElement.d.ts +0 -4
  1318. package/lib/interaction/action/transformer/activeElement.js +0 -27
  1319. package/lib/interaction/action/transformer/activeElement.js.map +0 -1
  1320. package/lib/interaction/action/transformer/activeRegion.d.ts +0 -4
  1321. package/lib/interaction/action/transformer/activeRegion.js +0 -56
  1322. package/lib/interaction/action/transformer/activeRegion.js.map +0 -1
  1323. package/lib/interaction/action/transformer/button.d.ts +0 -4
  1324. package/lib/interaction/action/transformer/button.js +0 -80
  1325. package/lib/interaction/action/transformer/button.js.map +0 -1
  1326. package/lib/interaction/action/transformer/cursor.d.ts +0 -4
  1327. package/lib/interaction/action/transformer/cursor.js +0 -19
  1328. package/lib/interaction/action/transformer/cursor.js.map +0 -1
  1329. package/lib/interaction/action/transformer/filter.d.ts +0 -7
  1330. package/lib/interaction/action/transformer/filter.js +0 -51
  1331. package/lib/interaction/action/transformer/filter.js.map +0 -1
  1332. package/lib/interaction/action/transformer/filterElement.d.ts +0 -4
  1333. package/lib/interaction/action/transformer/filterElement.js +0 -45
  1334. package/lib/interaction/action/transformer/filterElement.js.map +0 -1
  1335. package/lib/interaction/action/transformer/highlightElement.d.ts +0 -4
  1336. package/lib/interaction/action/transformer/highlightElement.js +0 -52
  1337. package/lib/interaction/action/transformer/highlightElement.js.map +0 -1
  1338. package/lib/interaction/action/transformer/mask.d.ts +0 -7
  1339. package/lib/interaction/action/transformer/mask.js +0 -110
  1340. package/lib/interaction/action/transformer/mask.js.map +0 -1
  1341. package/lib/interaction/action/transformer/move.d.ts +0 -7
  1342. package/lib/interaction/action/transformer/move.js +0 -74
  1343. package/lib/interaction/action/transformer/move.js.map +0 -1
  1344. package/lib/interaction/action/transformer/plot.d.ts +0 -4
  1345. package/lib/interaction/action/transformer/plot.js +0 -14
  1346. package/lib/interaction/action/transformer/plot.js.map +0 -1
  1347. package/lib/interaction/action/transformer/poptip.d.ts +0 -4
  1348. package/lib/interaction/action/transformer/poptip.js +0 -43
  1349. package/lib/interaction/action/transformer/poptip.js.map +0 -1
  1350. package/lib/interaction/action/transformer/setItemState.d.ts +0 -4
  1351. package/lib/interaction/action/transformer/setItemState.js +0 -35
  1352. package/lib/interaction/action/transformer/setItemState.js.map +0 -1
  1353. package/lib/interaction/action/transformer/tooltip.d.ts +0 -9
  1354. package/lib/interaction/action/transformer/tooltip.js +0 -293
  1355. package/lib/interaction/action/transformer/tooltip.js.map +0 -1
  1356. package/lib/interaction/builtin/activeRegion.d.ts +0 -19
  1357. package/lib/interaction/builtin/activeRegion.js +0 -22
  1358. package/lib/interaction/builtin/activeRegion.js.map +0 -1
  1359. package/lib/interaction/builtin/brush.d.ts +0 -132
  1360. package/lib/interaction/builtin/brush.js +0 -97
  1361. package/lib/interaction/builtin/brush.js.map +0 -1
  1362. package/lib/interaction/builtin/brushHighlight.d.ts +0 -98
  1363. package/lib/interaction/builtin/brushHighlight.js +0 -115
  1364. package/lib/interaction/builtin/brushHighlight.js.map +0 -1
  1365. package/lib/interaction/builtin/brushVisible.d.ts +0 -88
  1366. package/lib/interaction/builtin/brushVisible.js +0 -66
  1367. package/lib/interaction/builtin/brushVisible.js.map +0 -1
  1368. package/lib/interaction/builtin/elementActive.d.ts +0 -20
  1369. package/lib/interaction/builtin/elementActive.js +0 -29
  1370. package/lib/interaction/builtin/elementActive.js.map +0 -1
  1371. package/lib/interaction/builtin/elementHighlight.d.ts +0 -19
  1372. package/lib/interaction/builtin/elementHighlight.js +0 -28
  1373. package/lib/interaction/builtin/elementHighlight.js.map +0 -1
  1374. package/lib/interaction/builtin/elementHighlightByColor.d.ts +0 -25
  1375. package/lib/interaction/builtin/elementHighlightByColor.js +0 -28
  1376. package/lib/interaction/builtin/elementHighlightByColor.js.map +0 -1
  1377. package/lib/interaction/builtin/elementHighlightByX.d.ts +0 -25
  1378. package/lib/interaction/builtin/elementHighlightByX.js +0 -28
  1379. package/lib/interaction/builtin/elementHighlightByX.js.map +0 -1
  1380. package/lib/interaction/builtin/elementListHighlight.d.ts +0 -43
  1381. package/lib/interaction/builtin/elementListHighlight.js +0 -32
  1382. package/lib/interaction/builtin/elementListHighlight.js.map +0 -1
  1383. package/lib/interaction/builtin/elementSelected.d.ts +0 -18
  1384. package/lib/interaction/builtin/elementSelected.js +0 -22
  1385. package/lib/interaction/builtin/elementSelected.js.map +0 -1
  1386. package/lib/interaction/builtin/ellipsisText.d.ts +0 -19
  1387. package/lib/interaction/builtin/ellipsisText.js +0 -21
  1388. package/lib/interaction/builtin/ellipsisText.js.map +0 -1
  1389. package/lib/interaction/builtin/fisheye.d.ts +0 -41
  1390. package/lib/interaction/builtin/fisheye.js +0 -24
  1391. package/lib/interaction/builtin/fisheye.js.map +0 -1
  1392. package/lib/interaction/builtin/legendActive.d.ts +0 -43
  1393. package/lib/interaction/builtin/legendActive.js +0 -34
  1394. package/lib/interaction/builtin/legendActive.js.map +0 -1
  1395. package/lib/interaction/builtin/legendHighlight.d.ts +0 -43
  1396. package/lib/interaction/builtin/legendHighlight.js +0 -34
  1397. package/lib/interaction/builtin/legendHighlight.js.map +0 -1
  1398. package/lib/interaction/builtin/tooltip.d.ts +0 -50
  1399. package/lib/interaction/builtin/tooltip.js +0 -32
  1400. package/lib/interaction/builtin/tooltip.js.map +0 -1
  1401. package/lib/interaction/create.d.ts +0 -3
  1402. package/lib/interaction/create.js +0 -100
  1403. package/lib/interaction/create.js.map +0 -1
  1404. package/lib/interaction/interactor/index.d.ts +0 -4
  1405. package/lib/interaction/interactor/index.js +0 -8
  1406. package/lib/interaction/interactor/index.js.map +0 -1
  1407. package/lib/interaction/interactor/mousePosition.d.ts +0 -3
  1408. package/lib/interaction/interactor/mousePosition.js +0 -14
  1409. package/lib/interaction/interactor/mousePosition.js.map +0 -1
  1410. package/lib/interaction/interactor/touchPosition.d.ts +0 -3
  1411. package/lib/interaction/interactor/touchPosition.js +0 -14
  1412. package/lib/interaction/interactor/touchPosition.js.map +0 -1
  1413. package/lib/interaction/native/brushAxisHighlight.js.map +0 -1
  1414. package/lib/interaction/native/brushFilter.js.map +0 -1
  1415. package/lib/interaction/native/brushHighlight.js.map +0 -1
  1416. package/lib/interaction/native/brushXFilter.js.map +0 -1
  1417. package/lib/interaction/native/brushXHighlight.js.map +0 -1
  1418. package/lib/interaction/native/brushYFilter.js.map +0 -1
  1419. package/lib/interaction/native/brushYHighlight.js.map +0 -1
  1420. package/lib/interaction/native/chartIndex.js.map +0 -1
  1421. package/lib/interaction/native/elementHighlight.js.map +0 -1
  1422. package/lib/interaction/native/elementHighlightByColor.d.ts +0 -7
  1423. package/lib/interaction/native/elementHighlightByColor.js +0 -32
  1424. package/lib/interaction/native/elementHighlightByColor.js.map +0 -1
  1425. package/lib/interaction/native/elementHighlightByX.d.ts +0 -8
  1426. package/lib/interaction/native/elementHighlightByX.js +0 -33
  1427. package/lib/interaction/native/elementHighlightByX.js.map +0 -1
  1428. package/lib/interaction/native/elementSelect.js.map +0 -1
  1429. package/lib/interaction/native/elementSelectByColor.js +0 -14
  1430. package/lib/interaction/native/elementSelectByColor.js.map +0 -1
  1431. package/lib/interaction/native/elementSelectByX.js +0 -14
  1432. package/lib/interaction/native/elementSelectByX.js.map +0 -1
  1433. package/lib/interaction/native/fisheye.js.map +0 -1
  1434. package/lib/interaction/native/legendFilter.js.map +0 -1
  1435. package/lib/interaction/native/legendHighlight.d.ts +0 -4
  1436. package/lib/interaction/native/legendHighlight.js.map +0 -1
  1437. package/lib/interaction/native/poptip.js.map +0 -1
  1438. package/lib/interaction/native/sliderFilter.js.map +0 -1
  1439. package/lib/interaction/native/tooltip.d.ts +0 -11
  1440. package/lib/interaction/native/tooltip.js.map +0 -1
  1441. package/lib/interaction/native/utils.d.ts +0 -47
  1442. package/lib/interaction/native/utils.js +0 -349
  1443. package/lib/interaction/native/utils.js.map +0 -1
  1444. package/lib/interaction/stdlib.d.ts +0 -2
  1445. package/lib/interaction/stdlib.js +0 -36
  1446. package/lib/interaction/stdlib.js.map +0 -1
  1447. package/lib/interaction/types.d.ts +0 -57
  1448. package/lib/interaction/types.js.map +0 -1
  1449. package/lib/palette/divergingGreenRed.d.ts +0 -7
  1450. package/lib/palette/divergingGreenRed.js +0 -30
  1451. package/lib/palette/divergingGreenRed.js.map +0 -1
  1452. package/lib/palette/divergingGreenYellow.d.ts +0 -7
  1453. package/lib/palette/divergingGreenYellow.js +0 -30
  1454. package/lib/palette/divergingGreenYellow.js.map +0 -1
  1455. package/lib/palette/divergingRedBlue.d.ts +0 -7
  1456. package/lib/palette/divergingRedBlue.js +0 -30
  1457. package/lib/palette/divergingRedBlue.js.map +0 -1
  1458. package/lib/palette/divergingRedPurple.d.ts +0 -7
  1459. package/lib/palette/divergingRedPurple.js +0 -30
  1460. package/lib/palette/divergingRedPurple.js.map +0 -1
  1461. package/lib/palette/sequentialBlue.d.ts +0 -7
  1462. package/lib/palette/sequentialBlue.js +0 -22
  1463. package/lib/palette/sequentialBlue.js.map +0 -1
  1464. package/lib/palette/sequentialDarkBlue.d.ts +0 -7
  1465. package/lib/palette/sequentialDarkBlue.js +0 -22
  1466. package/lib/palette/sequentialDarkBlue.js.map +0 -1
  1467. package/lib/palette/sequentialDarkGreen.d.ts +0 -7
  1468. package/lib/palette/sequentialDarkGreen.js +0 -22
  1469. package/lib/palette/sequentialDarkGreen.js.map +0 -1
  1470. package/lib/palette/sequentialGreen.d.ts +0 -7
  1471. package/lib/palette/sequentialGreen.js +0 -22
  1472. package/lib/palette/sequentialGreen.js.map +0 -1
  1473. package/lib/palette/sequentialGreenBlue.d.ts +0 -7
  1474. package/lib/palette/sequentialGreenBlue.js +0 -22
  1475. package/lib/palette/sequentialGreenBlue.js.map +0 -1
  1476. package/lib/palette/sequentialGrey.d.ts +0 -7
  1477. package/lib/palette/sequentialGrey.js +0 -22
  1478. package/lib/palette/sequentialGrey.js.map +0 -1
  1479. package/lib/palette/sequentialOrange.d.ts +0 -7
  1480. package/lib/palette/sequentialOrange.js +0 -22
  1481. package/lib/palette/sequentialOrange.js.map +0 -1
  1482. package/lib/palette/sequentialPink.d.ts +0 -7
  1483. package/lib/palette/sequentialPink.js +0 -22
  1484. package/lib/palette/sequentialPink.js.map +0 -1
  1485. package/lib/palette/sequentialPinkPurple.d.ts +0 -7
  1486. package/lib/palette/sequentialPinkPurple.js +0 -22
  1487. package/lib/palette/sequentialPinkPurple.js.map +0 -1
  1488. package/lib/palette/sequentialPurple.d.ts +0 -7
  1489. package/lib/palette/sequentialPurple.js +0 -22
  1490. package/lib/palette/sequentialPurple.js.map +0 -1
  1491. package/lib/palette/sequentialRed.d.ts +0 -7
  1492. package/lib/palette/sequentialRed.js +0 -22
  1493. package/lib/palette/sequentialRed.js.map +0 -1
  1494. package/lib/palette/sequentialYellow.d.ts +0 -7
  1495. package/lib/palette/sequentialYellow.js +0 -22
  1496. package/lib/palette/sequentialYellow.js.map +0 -1
  1497. package/lib/palette/sequentialYellowGreen.d.ts +0 -7
  1498. package/lib/palette/sequentialYellowGreen.js +0 -22
  1499. package/lib/palette/sequentialYellowGreen.js.map +0 -1
  1500. package/lib/palette/sequentialYellowOrange.d.ts +0 -7
  1501. package/lib/palette/sequentialYellowOrange.js +0 -22
  1502. package/lib/palette/sequentialYellowOrange.js.map +0 -1
  1503. package/lib/spec/action.d.ts +0 -122
  1504. package/lib/spec/action.js.map +0 -1
  1505. package/lib/spec/geometry.d.ts +0 -134
  1506. package/lib/spec/geometry.js.map +0 -1
  1507. package/lib/spec/title.d.ts +0 -2
  1508. package/lib/spec/title.js.map +0 -1
  1509. package/src/coordinate/fisheyeX.ts +0 -15
  1510. package/src/coordinate/fisheyeY.ts +0 -15
  1511. package/src/coordinate/reflect.ts +0 -15
  1512. package/src/coordinate/reflectX.ts +0 -15
  1513. package/src/coordinate/reflectY.ts +0 -15
  1514. package/src/data/voronoi.ts +0 -32
  1515. package/src/interaction/action/index.ts +0 -45
  1516. package/src/interaction/action/service/elementSelection.ts +0 -125
  1517. package/src/interaction/action/service/fisheyeFocus.ts +0 -75
  1518. package/src/interaction/action/service/legendItemSelection.ts +0 -33
  1519. package/src/interaction/action/service/recordCurrentPoint.ts +0 -22
  1520. package/src/interaction/action/service/recordPoint.ts +0 -35
  1521. package/src/interaction/action/service/recordRegion.ts +0 -41
  1522. package/src/interaction/action/service/recordState.ts +0 -15
  1523. package/src/interaction/action/service/recordTip.ts +0 -20
  1524. package/src/interaction/action/service/surfacePointSelection.ts +0 -28
  1525. package/src/interaction/action/service/triggerInfoSelection.ts +0 -33
  1526. package/src/interaction/action/transformer/activeElement.ts +0 -32
  1527. package/src/interaction/action/transformer/activeRegion.ts +0 -73
  1528. package/src/interaction/action/transformer/button.ts +0 -113
  1529. package/src/interaction/action/transformer/cursor.ts +0 -21
  1530. package/src/interaction/action/transformer/filter.ts +0 -58
  1531. package/src/interaction/action/transformer/filterElement.ts +0 -54
  1532. package/src/interaction/action/transformer/highlightElement.ts +0 -61
  1533. package/src/interaction/action/transformer/mask.ts +0 -115
  1534. package/src/interaction/action/transformer/move.ts +0 -76
  1535. package/src/interaction/action/transformer/plot.ts +0 -15
  1536. package/src/interaction/action/transformer/poptip.ts +0 -51
  1537. package/src/interaction/action/transformer/setItemState.ts +0 -38
  1538. package/src/interaction/action/transformer/tooltip.ts +0 -404
  1539. package/src/interaction/builtin/activeRegion.ts +0 -26
  1540. package/src/interaction/builtin/brush.ts +0 -100
  1541. package/src/interaction/builtin/brushHighlight.ts +0 -123
  1542. package/src/interaction/builtin/brushVisible.ts +0 -70
  1543. package/src/interaction/builtin/elementActive.ts +0 -33
  1544. package/src/interaction/builtin/elementHighlight.ts +0 -32
  1545. package/src/interaction/builtin/elementHighlightByColor.ts +0 -36
  1546. package/src/interaction/builtin/elementHighlightByX.ts +0 -36
  1547. package/src/interaction/builtin/elementListHighlight.ts +0 -40
  1548. package/src/interaction/builtin/elementSelected.ts +0 -26
  1549. package/src/interaction/builtin/ellipsisText.ts +0 -25
  1550. package/src/interaction/builtin/fisheye.ts +0 -26
  1551. package/src/interaction/builtin/legendActive.ts +0 -38
  1552. package/src/interaction/builtin/legendHighlight.ts +0 -38
  1553. package/src/interaction/builtin/tooltip.ts +0 -34
  1554. package/src/interaction/create.ts +0 -153
  1555. package/src/interaction/interactor/index.ts +0 -5
  1556. package/src/interaction/interactor/mousePosition.ts +0 -13
  1557. package/src/interaction/interactor/touchPosition.ts +0 -13
  1558. package/src/interaction/native/elementHighlightByColor.ts +0 -28
  1559. package/src/interaction/native/elementHighlightByX.ts +0 -29
  1560. package/src/interaction/native/elementSelectByColor.ts +0 -22
  1561. package/src/interaction/native/elementSelectByX.ts +0 -22
  1562. package/src/interaction/native/utils.ts +0 -399
  1563. package/src/interaction/stdlib.ts +0 -57
  1564. package/src/interaction/types.ts +0 -80
  1565. package/src/palette/divergingGreenRed.ts +0 -33
  1566. package/src/palette/divergingGreenYellow.ts +0 -36
  1567. package/src/palette/divergingRedBlue.ts +0 -33
  1568. package/src/palette/divergingRedPurple.ts +0 -33
  1569. package/src/palette/sequentialBlue.ts +0 -23
  1570. package/src/palette/sequentialDarkBlue.ts +0 -25
  1571. package/src/palette/sequentialDarkGreen.ts +0 -28
  1572. package/src/palette/sequentialGreen.ts +0 -23
  1573. package/src/palette/sequentialGreenBlue.ts +0 -28
  1574. package/src/palette/sequentialGrey.ts +0 -23
  1575. package/src/palette/sequentialOrange.ts +0 -25
  1576. package/src/palette/sequentialPink.ts +0 -23
  1577. package/src/palette/sequentialPinkPurple.ts +0 -28
  1578. package/src/palette/sequentialPurple.ts +0 -25
  1579. package/src/palette/sequentialRed.ts +0 -23
  1580. package/src/palette/sequentialYellow.ts +0 -25
  1581. package/src/palette/sequentialYellowGreen.ts +0 -28
  1582. package/src/palette/sequentialYellowOrange.ts +0 -28
  1583. package/src/spec/action.ts +0 -196
  1584. package/src/spec/geometry.ts +0 -312
  1585. package/src/spec/title.ts +0 -3
  1586. /package/esm/interaction/{native/brushFilter.d.ts → brushFilter.d.ts} +0 -0
  1587. /package/esm/interaction/{native/brushXFilter.d.ts → brushXFilter.d.ts} +0 -0
  1588. /package/esm/interaction/{native/brushXFilter.js → brushXFilter.js} +0 -0
  1589. /package/esm/interaction/{native/brushXHighlight.d.ts → brushXHighlight.d.ts} +0 -0
  1590. /package/esm/interaction/{native/brushXHighlight.js → brushXHighlight.js} +0 -0
  1591. /package/esm/interaction/{native/brushYFilter.d.ts → brushYFilter.d.ts} +0 -0
  1592. /package/esm/interaction/{native/brushYFilter.js → brushYFilter.js} +0 -0
  1593. /package/esm/interaction/{native/brushYHighlight.d.ts → brushYHighlight.d.ts} +0 -0
  1594. /package/esm/interaction/{native/brushYHighlight.js → brushYHighlight.js} +0 -0
  1595. /package/esm/interaction/{native/chartIndex.d.ts → chartIndex.d.ts} +0 -0
  1596. /package/esm/interaction/{native/elementSelectByColor.d.ts → elementSelectByColor.d.ts} +0 -0
  1597. /package/esm/interaction/{native/elementSelectByX.d.ts → elementSelectByX.d.ts} +0 -0
  1598. /package/esm/interaction/{native/fisheye.d.ts → fisheye.d.ts} +0 -0
  1599. /package/esm/interaction/{native/poptip.d.ts → poptip.d.ts} +0 -0
  1600. /package/esm/interaction/{native/sliderFilter.d.ts → sliderFilter.d.ts} +0 -0
  1601. /package/lib/interaction/{native/brushFilter.d.ts → brushFilter.d.ts} +0 -0
  1602. /package/lib/interaction/{native/brushXFilter.d.ts → brushXFilter.d.ts} +0 -0
  1603. /package/lib/interaction/{native/brushXFilter.js → brushXFilter.js} +0 -0
  1604. /package/lib/interaction/{native/brushXHighlight.d.ts → brushXHighlight.d.ts} +0 -0
  1605. /package/lib/interaction/{native/brushXHighlight.js → brushXHighlight.js} +0 -0
  1606. /package/lib/interaction/{native/brushYFilter.d.ts → brushYFilter.d.ts} +0 -0
  1607. /package/lib/interaction/{native/brushYFilter.js → brushYFilter.js} +0 -0
  1608. /package/lib/interaction/{native/brushYHighlight.d.ts → brushYHighlight.d.ts} +0 -0
  1609. /package/lib/interaction/{native/brushYHighlight.js → brushYHighlight.js} +0 -0
  1610. /package/lib/interaction/{native/chartIndex.d.ts → chartIndex.d.ts} +0 -0
  1611. /package/lib/interaction/{native/elementSelectByColor.d.ts → elementSelectByColor.d.ts} +0 -0
  1612. /package/lib/interaction/{native/elementSelectByX.d.ts → elementSelectByX.d.ts} +0 -0
  1613. /package/lib/interaction/{native/fisheye.d.ts → fisheye.d.ts} +0 -0
  1614. /package/lib/interaction/{native/poptip.d.ts → poptip.d.ts} +0 -0
  1615. /package/lib/interaction/{native/sliderFilter.d.ts → sliderFilter.d.ts} +0 -0
  1616. /package/src/interaction/{native/brushXFilter.ts → brushXFilter.ts} +0 -0
  1617. /package/src/interaction/{native/brushXHighlight.ts → brushXHighlight.ts} +0 -0
  1618. /package/src/interaction/{native/brushYFilter.ts → brushYFilter.ts} +0 -0
  1619. /package/src/interaction/{native/brushYHighlight.ts → brushYHighlight.ts} +0 -0
@@ -1,7 +1,8 @@
1
+ import type { TooltipStyleProps } from '@antv/gui';
1
2
  import { InteractionComponent } from '../runtime';
2
- import { ChannelTypes } from './geometry';
3
- import { ActiveRegionAction, PoptipAction, TooltipAction } from './action';
4
- import { FisheyeCoordinate } from './coordinate';
3
+ import { FisheyeCoordinate } from './coordinateTransform';
4
+ import { TooltipItemValue } from './component';
5
+ import { AtheisticChanelTypes } from './mark';
5
6
  export type Interaction = ElementHighlightInteraction | ElementHighlightByColorInteraction | ElementHighlightByXInteraction | ElementSelectByColorInteraction | ElementSelectByXInteraction | ElementSelectInteraction | TooltipInteraction | FisheyeInteraction | ChartIndexInteraction | CustomInteraction | LegendFilterInteraction | LegendHighlightInteraction | BrushHighlightInteraction | BrushXHighlightInteraction | BrushYHighlightInteraction | BrushAxisHighlightInteraction | BrushFilterInteraction | BrushYFilterInteraction | BrushXFilterInteraction | SliderFilterInteraction | PoptipInteraction;
6
7
  export type InteractionTypes = 'elementHighlight' | 'elementHighlightByX' | 'elementHighlightByColor' | 'fisheye' | 'chartIndex' | 'elementSelect' | 'elementSelectByX' | 'elementSelectByColor' | 'fisheye' | 'tooltip' | 'legendFilter' | 'legendHighlight' | 'brushXHighlight' | 'brushYHighlight' | 'brushHighlight' | 'brushFilter' | 'brushXFilter' | 'brushYFilter' | 'sliderFilter' | 'poptip' | InteractionComponent;
7
8
  export type BrushInteraction = {
@@ -96,7 +97,7 @@ export type PoptipInteraction = {
96
97
  } & Record<`tip${any}`, any>;
97
98
  export type LegendFilterInteraction = {
98
99
  type?: 'legendFilter';
99
- channel?: ChannelTypes;
100
+ channel?: AtheisticChanelTypes;
100
101
  [key: string]: any;
101
102
  } & Record<`${'marker' | 'label'}Unselected${any}`, any>;
102
103
  export type LegendHighlightInteraction = {
@@ -115,18 +116,23 @@ export type SliderFilterInteraction = {
115
116
  leading?: boolean;
116
117
  trailing?: boolean;
117
118
  };
118
- export type ElementListHighlightInteraction = {
119
- type?: 'elementListHighlight';
120
- };
121
- export type LegendActiveInteraction = {
122
- type?: 'legendActive';
123
- };
124
- export type TooltipInteraction = Omit<TooltipAction, 'type'> & {
119
+ export type TooltipInteraction = {
125
120
  type?: 'tooltip';
126
121
  shared?: boolean;
127
122
  series?: boolean;
128
123
  facet?: boolean;
129
- item?: any;
124
+ body?: boolean;
125
+ crosshairs?: boolean;
126
+ groupName?: boolean;
127
+ position?: TooltipStyleProps['position'];
128
+ sort?: (d: TooltipItemValue) => any;
129
+ filter?: (d: TooltipItemValue) => any;
130
+ render?: (event: any, // @todo
131
+ options: {
132
+ title: 'string';
133
+ items: TooltipItemValue[];
134
+ }) => HTMLElement | string;
135
+ style?: Record<`crosshairs${any}`, any>;
130
136
  };
131
137
  export type FisheyeInteraction = {
132
138
  type?: 'fisheye';
@@ -134,12 +140,6 @@ export type FisheyeInteraction = {
134
140
  leading?: boolean;
135
141
  trailing?: boolean;
136
142
  } & Omit<FisheyeCoordinate, 'type'>;
137
- export type ActiveRegionInteraction = {
138
- type?: 'activeRegion';
139
- } & Omit<ActiveRegionAction, 'type' | 'clear'>;
140
- export type EllipsisTextInteraction = {
141
- type?: 'ellipsisText';
142
- } & Omit<PoptipAction, 'type'>;
143
143
  export type CustomInteraction = {
144
144
  type?: InteractionComponent;
145
145
  [key: string]: any;
@@ -1,19 +1,19 @@
1
1
  import { DisplayObject } from '@antv/g';
2
- export type LabelTransform = OverlapHideTransform | OverlapDodgeYTransform | ContrastReverseTransform | OverflowHideTransform;
3
- export type OverlapHideTransform = {
2
+ export type LabelTransform = OverlapHideLabelTransform | OverlapDodgeYLabelTransform | ContrastReverseLabelTransform | OverflowHideLabelTransform;
3
+ export type OverlapHideLabelTransform = {
4
4
  type?: 'overlapHide';
5
5
  /**
6
6
  * The hide priority, is the comparator for label.sort().
7
7
  */
8
8
  priority?: (a: DisplayObject, b: DisplayObject) => number;
9
9
  };
10
- export type OverlapDodgeYTransform = {
10
+ export type OverlapDodgeYLabelTransform = {
11
11
  type?: 'overlapDodgeY';
12
12
  maxIterations?: number;
13
13
  maxError?: number;
14
14
  padding?: number;
15
15
  };
16
- export type ContrastReverseTransform = {
16
+ export type ContrastReverseLabelTransform = {
17
17
  type: 'contrastReverse';
18
18
  /**
19
19
  * Transform when the contrast ratio < threshold.
@@ -25,6 +25,6 @@ export type ContrastReverseTransform = {
25
25
  */
26
26
  palette?: string[];
27
27
  };
28
- export type OverflowHideTransform = {
28
+ export type OverflowHideLabelTransform = {
29
29
  type: 'overflowHide';
30
30
  };
@@ -0,0 +1,190 @@
1
+ import { MarkComponent } from '../runtime';
2
+ import { Encode } from './encode';
3
+ import { Transform } from './transform';
4
+ import { Scale } from './scale';
5
+ import { Coordinate } from './coordinate';
6
+ import { Animation } from './animate';
7
+ import { Interaction } from './interaction';
8
+ import { Theme } from './theme';
9
+ import { Data } from './data';
10
+ import { AxisComponent, LegendComponent, ScrollbarComponent, SliderComponent, TitleComponent, TooltipComponent } from './component';
11
+ import { Closeable, Literal2Object } from './utils';
12
+ export type Mark = IntervalMark | RectMark | LineMark | PointMark | TextMark | CellMark | AreaMark | NodeMark | EdgeMark | ImageMark | PolygonMark | BoxMark | VectorMark | LineXMark | LineYMark | RangeMark | RangeXMark | RangeYMark | ConnectorMark | SankeyMark | PathMark | TreemapMark | PackMark | BoxPlotMark | ShapeMark | ForceGraphMark | TreeMark | WordCloudMark | CustomMark;
13
+ export type MarkTypes = 'interval' | 'rect' | 'line' | 'point' | 'text' | 'cell' | 'area' | 'node' | 'edge' | 'link' | 'image' | 'polygon' | 'box' | 'vector' | 'lineX' | 'lineY' | 'connector' | 'range' | 'rangeX' | 'rangeY' | 'sankey' | 'path' | 'treemap' | 'pack' | 'boxplot' | 'shape' | 'forceGraph' | 'tree' | 'wordCloud' | 'gauge' | MarkComponent;
14
+ export type ChannelTypes = 'x' | 'y' | 'x1' | 'y1' | 'series' | 'color' | 'opacity' | 'shape' | 'size' | 'key' | 'groupKey' | 'position' | 'series' | 'enterType' | 'enterEasing' | 'enterDuration' | 'enterDelay' | 'updateType' | 'updateEasing' | 'updateDuration' | 'updateDelay' | 'exitType' | 'exitEasing' | 'exitDuration' | 'exitDelay' | `position${number}`;
15
+ export type PositionChannelTypes = 'x' | 'y' | 'position' | `position${number}`;
16
+ export type AtheisticChanelTypes = 'size' | 'color' | 'shape' | 'opacity';
17
+ export type BaseMark<T extends MarkTypes, C extends string = ChannelTypes> = {
18
+ type?: T | string;
19
+ class?: string;
20
+ key?: string;
21
+ x?: number;
22
+ y?: number;
23
+ width?: number;
24
+ height?: number;
25
+ paddingLeft?: number;
26
+ paddingRight?: number;
27
+ paddingBottom?: number;
28
+ paddingTop?: number;
29
+ padding?: number;
30
+ inset?: number;
31
+ insetLeft?: number;
32
+ insetBottom?: number;
33
+ insetTop?: number;
34
+ insetRight?: number;
35
+ margin?: number;
36
+ marginLeft?: number;
37
+ marginBottom?: number;
38
+ marginTop?: number;
39
+ marginRight?: number;
40
+ facet?: boolean;
41
+ frame?: boolean;
42
+ zIndex?: number;
43
+ cartesian?: boolean;
44
+ clip?: boolean;
45
+ data?: Data;
46
+ transform?: Transform[];
47
+ layout?: Record<string, any>;
48
+ encode?: Partial<Record<C, Encode | Encode[]>>;
49
+ scale?: Partial<Record<C, Scale>>;
50
+ coordinate?: Coordinate;
51
+ style?: Record<string, any>;
52
+ state?: Partial<Record<'active' | 'selected' | 'inactive' | 'unselected', Record<string, any>>>;
53
+ animate?: Closeable<Partial<Record<'enter' | 'update' | 'exit', Closeable<Animation>>>>;
54
+ labels?: Record<string, any>[];
55
+ tooltip?: TooltipComponent;
56
+ axis?: Closeable<Partial<Record<PositionChannelTypes, Closeable<AxisComponent>>>>;
57
+ legend?: Closeable<Partial<Record<AtheisticChanelTypes, Closeable<LegendComponent>>>>;
58
+ slider?: Closeable<Partial<Record<PositionChannelTypes, Closeable<SliderComponent>>>>;
59
+ scrollbar?: Closeable<Partial<Record<PositionChannelTypes, Closeable<ScrollbarComponent>>>>;
60
+ title?: string | TitleComponent;
61
+ interaction?: Literal2Object<Interaction>;
62
+ theme?: Theme;
63
+ };
64
+ export type HOMMarkType = (options: Record<string, any>) => () => any[];
65
+ export type HOMMarkMark = BaseMark<HOMMarkType>;
66
+ export type IntervalMark = BaseMark<'interval', ChannelTypes | 'series'>;
67
+ export type RectMark = BaseMark<'rect', ChannelTypes>;
68
+ export type LineMark = BaseMark<'line', ChannelTypes | 'position' | `position${number}`>;
69
+ export type PointMark = BaseMark<'point'>;
70
+ export type TextMark = BaseMark<'text', ChannelTypes | 'text' | 'fontSize' | 'fontWeight' | 'rotate'>;
71
+ export type LineXMark = BaseMark<'lineX', ChannelTypes>;
72
+ export type LineYMark = BaseMark<'lineY', ChannelTypes>;
73
+ export type RangeMark = BaseMark<'range', ChannelTypes>;
74
+ export type RangeXMark = BaseMark<'rangeX', ChannelTypes>;
75
+ export type RangeYMark = BaseMark<'rangeY', ChannelTypes>;
76
+ export type ConnectorMark = BaseMark<'connector', ChannelTypes>;
77
+ export type CellMark = BaseMark<'cell', ChannelTypes>;
78
+ export type AreaMark = BaseMark<'area', ChannelTypes>;
79
+ export type NodeMark = BaseMark<'node', ChannelTypes>;
80
+ export type EdgeMark = BaseMark<'edge', ChannelTypes>;
81
+ export type LinkMark = BaseMark<'link', ChannelTypes>;
82
+ export type ImageMark = BaseMark<'image', ChannelTypes | 'src'>;
83
+ export type PolygonMark = BaseMark<'polygon', ChannelTypes>;
84
+ export type BoxMark = BaseMark<'box', ChannelTypes>;
85
+ export type BoxPlotMark = BaseMark<'box', ChannelTypes>;
86
+ export type ShapeMark = BaseMark<'shape', ChannelTypes>;
87
+ export type VectorMark = BaseMark<'vector', ChannelTypes | 'rotate' | 'size'>;
88
+ export type SankeyMark = BaseMark<'sankey', 'source' | 'target' | 'value' | `node${Capitalize<ChannelTypes>}` | `link${Capitalize<ChannelTypes>}` | ChannelTypes> & {
89
+ layout?: {
90
+ nodeId?: (node: any) => string;
91
+ nodes?: (graph: any) => any;
92
+ links?: (graph: any) => any;
93
+ /**
94
+ * sankey.nodeSort(undefined) is the default and resorts by ascending breadth during each iteration.
95
+ * sankey.nodeSort(null) specifies the input order of nodes and never sorts.
96
+ * sankey.nodeSort(function) specifies the given order as a comparator function and sorts once on initialization.
97
+ */
98
+ nodeSort?: null | undefined | ((a: any, b: any) => number);
99
+ /**
100
+ * sankey.linkSort(undefined) is the default, indicating that vertical order of links within each node will be determined automatically by the layout. If
101
+ * sankey.linkSort(null) will resort by the input.
102
+ * sankey.linkSort(function) specifies the given order as a comparator function and sorts once on initialization.
103
+ */
104
+ linkSort?: null | undefined | ((a: any, b: any) => number);
105
+ nodeAlign?: 'left' | 'center' | 'right' | 'justify' | ((node: any, n: number) => number);
106
+ nodeWidth?: number;
107
+ nodePadding?: number;
108
+ iterations?: number;
109
+ nodeDepth?: (datum: any, maxDepth: number) => number;
110
+ };
111
+ nodeLabels: Record<string, any>[];
112
+ linkLabels: Record<string, any>[];
113
+ };
114
+ export type PathMark = BaseMark<'path', ChannelTypes>;
115
+ export type TreemapMark = BaseMark<'treemap', 'value' | ChannelTypes> & {
116
+ layout?: Record<string, any>;
117
+ };
118
+ export type PackMark = BaseMark<'pack', 'value' | ChannelTypes> & {
119
+ layout?: Record<string, any>;
120
+ };
121
+ export type ForceGraphMark = BaseMark<'forceGraph', 'source' | 'target' | 'color' | 'value' | `node${Capitalize<ChannelTypes>}` | `link${Capitalize<ChannelTypes>}`> & {
122
+ layout?: Record<string, any>;
123
+ nodeLabels: Record<string, any>[];
124
+ linkLabels: Record<string, any>[];
125
+ };
126
+ export type TreeMark = BaseMark<'tree', 'value' | ChannelTypes> & {
127
+ layout?: {
128
+ /**
129
+ * Layout field. Default: 'value'.
130
+ */
131
+ field?: string;
132
+ /**
133
+ * Sets this cluster layout’s node size to the specified two-element array of numbers [width, height] and returns this cluster layout.
134
+ * Default: null.
135
+ */
136
+ nodeSize?: any;
137
+ /**
138
+ * The separation accessor is used to separate neighboring leaves. Default: (a, b) => a.parent == b.parent ? 1 : 2;
139
+ */
140
+ separation?: (a: any, b: any) => number;
141
+ /**
142
+ * Sort function by compare 2 nodes.
143
+ */
144
+ sortBy?: (a: any, b: any) => number;
145
+ /**
146
+ * Layout infomation saved into fields. Default: ['x', 'y'].
147
+ */
148
+ as?: [string, string];
149
+ };
150
+ nodeLabels: Record<string, any>[];
151
+ linkLabels: Record<string, any>[];
152
+ };
153
+ export type WordCloudMark = BaseMark<'wordCloud', 'value' | ChannelTypes | 'text'> & {
154
+ layout?: {
155
+ /**
156
+ * @description If specified, sets the rectangular [width, height] of the layout
157
+ * @default [1, 1]
158
+ */
159
+ size?: [number, number];
160
+ font?: string | ((word: any) => string);
161
+ fontStyle?: string | ((word: any) => string);
162
+ fontWeight?: any | ((word: any) => any);
163
+ fontSize?: number | [number, number] | ((word: any) => number);
164
+ padding?: number | ((word: any) => number);
165
+ /**
166
+ * @description sets the text accessor function, which indicates the text for each word
167
+ * @default (d) => d.text
168
+ */
169
+ text?: (word: any) => number;
170
+ rotate?: number | ((word: any) => number);
171
+ timeInterval?: number;
172
+ random?: number | (() => number);
173
+ /**
174
+ * @description sets the current type of spiral used for positioning words. This can either be one of the two built-in spirals, "archimedean" and "rectangular"
175
+ * @default "archimedean"
176
+ */
177
+ spiral?: 'archimedean' | 'rectangular' | ((size: [number, number]) => (t: number) => number[]);
178
+ imageMask?: HTMLImageElement | string;
179
+ on?: ((type: 'end', details?: {
180
+ cloud: any;
181
+ words: any;
182
+ bounds: any;
183
+ }) => void) | ((type: 'word', details?: {
184
+ cloud: any;
185
+ word: any;
186
+ }) => void);
187
+ };
188
+ };
189
+ export type GaugeMark = BaseMark<'gauge', `arc${Capitalize<ChannelTypes>}` | `indicator${Capitalize<ChannelTypes>}` | `pointer${Capitalize<ChannelTypes>}` | `pin${Capitalize<ChannelTypes>}` | ChannelTypes>;
190
+ export type CustomMark = BaseMark<MarkComponent, ChannelTypes>;
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=mark.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mark.js","sourceRoot":"src/","sources":["spec/mark.ts"],"names":[],"mappings":""}
@@ -7,60 +7,6 @@ export type Category10Palette = {
7
7
  export type Category20Palette = {
8
8
  type?: 'category20';
9
9
  };
10
- export type SequentialBluePalette = {
11
- type?: 'sequentialBlue';
12
- };
13
- export type SequentialDarkBluePalette = {
14
- type?: 'sequentialDarkBlue';
15
- };
16
- export type SequentialGreenPalette = {
17
- type?: 'sequentialGreen';
18
- };
19
- export type SequentialDarkGreenPalette = {
20
- type?: 'sequentialDarkGreen';
21
- };
22
- export type SequentialGreyPalette = {
23
- type?: 'sequentialGrey';
24
- };
25
- export type SequentialOrangePalette = {
26
- type?: 'sequentialOrange';
27
- };
28
- export type SequentialPinkPalette = {
29
- type?: 'sequentialPink';
30
- };
31
- export type SequentialPurplePalette = {
32
- type?: 'sequentialPurple';
33
- };
34
- export type SequentialRedPalette = {
35
- type?: 'sequentialRed';
36
- };
37
- export type SequentialYellowPalette = {
38
- type?: 'sequentialYellow';
39
- };
40
- export type SequentialYellowOrangePalette = {
41
- type?: 'sequentialYellowOrange';
42
- };
43
- export type SequentialYellowGreenPalette = {
44
- type?: 'sequentialYellowGreen';
45
- };
46
- export type SequentialPinkPurplePalette = {
47
- type?: 'sequentialPinkPurple';
48
- };
49
- export type SequentialGreenBluePalette = {
50
- type?: 'sequentialGreenBlue';
51
- };
52
- export type DivergingRedBluePalette = {
53
- type?: 'divergingRedBlue';
54
- };
55
- export type DivergingGreenRedPalette = {
56
- type?: 'divergingGreenRed';
57
- };
58
- export type DivergingGreenYellowPalette = {
59
- type?: 'divergingGreenYellow';
60
- };
61
- export type DivergingRedPurplePalette = {
62
- type?: 'divergingRedPurple';
63
- };
64
10
  export type CustomPalette = {
65
11
  type?: PaletteComponent;
66
12
  [key: string]: any;
@@ -1,16 +1,17 @@
1
- import { LinearOptions, OrdinalOptions, IdentityOptions, BandOptions, PointOptions, TimeOptions, LogOptions, PowOptions, ThresholdOptions, QuantileOptions, QuantizeOptions, SqrtOptions, SequentialOptions } from '@antv/scale';
1
+ import { LinearOptions, OrdinalOptions, IdentityOptions, BandOptions, PointOptions, TimeOptions, LogOptions, PowOptions, ThresholdOptions, QuantileOptions, QuantizeOptions, SqrtOptions, SequentialOptions, ConstantOptions } from '@antv/scale';
2
2
  import { ScaleComponent } from '../runtime';
3
3
  import { Palette } from './palette';
4
- export type Scale = LinearScale | OrdinalScale | IdentityScale | BandScale | PointScale | TimeScale | LogScale | PowScale | SqrtScale | ThresholdScale | QuantizeScale | QuantileScale | SequentialScale | CustomScale;
5
- export type ScaleTypes = 'linear' | 'ordinal' | 'identity' | 'band' | 'point' | 'time' | 'log' | 'pow' | 'sqrt' | 'threshold' | 'quantize' | 'quantile' | 'sequential' | ScaleComponent;
4
+ export type Scale = LinearScale | OrdinalScale | IdentityScale | BandScale | PointScale | TimeScale | LogScale | PowScale | SqrtScale | ThresholdScale | QuantizeScale | QuantileScale | SequentialScale | CustomScale | ConstantScale;
5
+ export type ScaleTypes = 'linear' | 'ordinal' | 'identity' | 'band' | 'point' | 'time' | 'log' | 'pow' | 'sqrt' | 'threshold' | 'quantize' | 'quantile' | 'sequential' | 'constant' | ScaleComponent;
6
6
  export type BaseScale<T extends ScaleTypes, O> = {
7
7
  type?: T;
8
8
  palette?: Palette['type'] | string;
9
9
  rangeMax?: number;
10
10
  rangeMin?: number;
11
11
  domainMax?: number;
12
- domainMix?: number;
13
- field?: string | string[];
12
+ domainMin?: number;
13
+ key?: string;
14
+ facet?: boolean;
14
15
  independent?: boolean;
15
16
  zero?: boolean;
16
17
  offset?: (t: number) => number;
@@ -29,6 +30,7 @@ export type ThresholdScale = BaseScale<'threshold', ThresholdOptions>;
29
30
  export type QuantileScale = BaseScale<'quantile', QuantileOptions>;
30
31
  export type QuantizeScale = BaseScale<'quantize', QuantizeOptions>;
31
32
  export type SequentialScale = BaseScale<'sequential', SequentialOptions>;
33
+ export type ConstantScale = BaseScale<'constant', ConstantOptions>;
32
34
  export type CustomScale = BaseScale<ScaleComponent, {
33
35
  [key: string]: any;
34
36
  }>;
@@ -1,5 +1,5 @@
1
1
  import { TransformComponent, Primitive } from '../runtime';
2
- import { ChannelTypes } from './geometry';
2
+ import { ChannelTypes } from './mark';
3
3
  export type Transform = StackYTransform | DodgeXTransform | NormalizeYTransform | StackEnterTransform | JitterTransform | JitterXTransform | SymmetryYTransform | DiffYTransform | SelectTransform | SelectXTransform | SelectYTransform | GroupXTransform | GroupYTransform | GroupColorTransform | SortXTransform | SortYTransform | SortColorTransform | GroupTransform | PackTransform | BinXTransform | BinTransform | SampleTransform | FlexXTransform | FilterTransform;
4
4
  export type TransformTypes = 'dodgeX' | 'stackY' | 'normalizeY' | 'stackEnter' | 'jitter' | 'jitterX' | 'symmetryY' | 'diffY' | 'select' | 'selectY' | 'selectX' | 'groupX' | 'groupY' | 'group' | 'groupColor' | 'sortX' | 'sortColor' | 'sortY' | 'flexX' | 'pack' | 'sample' | 'filter' | TransformComponent;
5
5
  export type TransformOrder = 'value' | 'sum' | 'series' | 'maxIndex' | string[] | null | ((data: Record<string, Primitive>) => Primitive);
@@ -0,0 +1,11 @@
1
+ export type Literal2Object<Literal extends {
2
+ type?: any;
3
+ }> = Partial<{
4
+ [Type in Literal['type']]: Literal extends {
5
+ type?: Type;
6
+ } ? Omit<Literal, 'type'> | boolean : never;
7
+ }>;
8
+ export type UsePrefix<Prefix extends string, Obj extends Record<string, unknown>> = {
9
+ [Property in keyof Obj as `${Prefix}${Capitalize<string & Property>}`]: Obj[Property];
10
+ };
11
+ export type Closeable<T> = T | boolean | null;
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.js","sourceRoot":"src/","sources":["spec/utils.ts"],"names":[],"mappings":""}
@@ -1,24 +1,13 @@
1
- import { Cartesian, Polar, Helix, Transpose, Theta, Parallel, Fisheye, FisheyeX, FisheyeY, Reflect, ReflectX, ReflectY, Radial, } from '../coordinate';
1
+ import { Cartesian, Polar, Helix, Transpose, Theta, Parallel, Fisheye, Radial, Radar, } from '../coordinate';
2
2
  import { Constant, Field, Transform, Column } from '../encode';
3
- import { Cell, Interval, Rect, Line, Point as PointGeometry, Text as TextGeometry, Area as AreaGeometry, Image as ImageGeometry, Polygon as PolygonGeometry, Box as BoxGeometry, Vector as VectorGeometry, Link as LinkGeometry, LineX, LineY, Connector, Range, RangeX, RangeY, Sankey, Path, Treemap, Pack as PackGeometry, Shape, Boxplot, ForceGraph, Tree as TreeGeometry, WordCloud as WordCloudGeometry, } from '../mark';
4
- import { Category10, Category20, SequentialBlue, SequentialDarkBlue, SequentialGreen, SequentialDarkGreen, SequentialGrey, SequentialOrange, SequentialPink, SequentialRed, SequentialYellow, SequentialPurple, SequentialYellowOrange, SequentialYellowGreen, SequentialPinkPurple, SequentialGreenBlue, DivergingGreenYellow, DivergingRedBlue, DivergingGreenRed, DivergingRedPurple, } from '../palette';
5
- import { Linear, Ordinal, Band, Identity, Point, Time, Log, Pow, Threshold, Quantile, Quantize, Sqrt, Sequential, } from '../scale';
3
+ import { Cell, Interval, Rect, Line, Point as PointGeometry, Text as TextGeometry, Area as AreaGeometry, Image as ImageGeometry, Polygon as PolygonGeometry, Box as BoxGeometry, Vector as VectorGeometry, Link as LinkGeometry, LineX, LineY, Connector, Range, RangeX, RangeY, Sankey, Path, Treemap, Pack as PackGeometry, Shape, Boxplot, ForceGraph, Tree as TreeGeometry, WordCloud as WordCloudGeometry, Gauge, } from '../mark';
4
+ import { Category10, Category20 } from '../palette';
5
+ import { Linear, Ordinal, Band, Identity, Point, Time, Log, Pow, Threshold, Quantile, Quantize, Sqrt, Sequential, Constant as ConstantScale, } from '../scale';
6
6
  import { Rect as RectShape, HollowRect, Line as LineShape, HV, VH, HVH, Smooth, Bowtie, Cross, Diamond, Hexagon, HollowBowtie, HollowDiamond, HollowHexagon, HollowPoint, HollowSquare, HollowTriangle, HollowTriangleDown, Hyphen, LinePoint, Plus, Point as PointShape, Square, Tick, Triangle, TriangleDown, Text, Badge, LineXY, Connector as ConnectorShape, Area, SmoothArea, HVHArea, VHArea, HVArea, SmoothEdge, VHVEdge, Arc, Image, Polygon, Ribbon, Box, Funnel, Pyramid, Vector, Link, Label, Path as PathShape, HollowPath, Shape as CustomShape, } from '../shape';
7
7
  import { Light, Dark, Academy } from '../theme';
8
8
  import { AxisLinear, AxisArc, AxisX, AxisY, AxisRadar, LegendCategory, LegendContinuous, LegendContinuousBlock, LegendContinuousBlockSize, LegendContinuousSize, TitleComponent, SliderX, SliderY, ScrollbarX, ScrollbarY, } from '../component';
9
9
  import { ScaleInX, ScaleOutX, ScaleInY, ScaleOutY, WaveIn, FadeIn, FadeOut, Morphing, ZoomIn, ZoomOut, PathIn, GrowInX, GrowInY, } from '../animation';
10
- import { ElementHighlight, ElementHighlightByX, ElementHighlightByColor, ElementSelect, ElementSelectByX, ElementSelectByColor, ChartIndex, Fisheye as ChartFisheye, Tooltip, LegendFilter, LegendHighlight, BrushHighlight, BrushXHighlight, BrushYHighlight, BrushAxisHighlight, BrushFilter, BrushXFilter, BrushYFilter, SliderFilter, Poptip,
11
- // ElementHighlightByX,
12
- // ElementHighlightByColor,
13
- // ElementListHighlight,
14
- // LegendActive,
15
- // LegendHighlight,
16
- // Brush,
17
- // BrushHighlight,
18
- // BrushVisible,
19
- // ActiveRegion,
20
- // EllipsisText,
21
- } from '../interaction';
10
+ import { ElementHighlight, ElementHighlightByX, ElementHighlightByColor, ElementSelect, ElementSelectByX, ElementSelectByColor, ChartIndex, Fisheye as ChartFisheye, Tooltip, LegendFilter, LegendHighlight, BrushHighlight, BrushXHighlight, BrushYHighlight, BrushAxisHighlight, BrushFilter, BrushXFilter, BrushYFilter, SliderFilter, Poptip, Event, } from '../interaction';
22
11
  import { SpaceLayer, SpaceFlex, Mark, View, FacetRect, FacetCircle, RepeatMatrix, TimingKeyframe, } from '../composition';
23
12
  import { MaybeTitle, MaybeZeroX, MaybeZeroY1, MaybeStackY, MaybeSeries, MaybeZeroY, MaybeSize, MaybeKey, StackY, DodgeX, StackEnter, NormalizeY, Jitter, JitterX, SymmetryY, DiffY, Select, SelectX, SelectY, GroupX, Group, SortX, FlexX, MaybeTupleY, MaybeTupleX, MaybeIdentityY, MaybeIdentityX, MaybeZeroPadding, MaybeTuple, SortY, GroupY, GroupColor, SortColor, Pack, BinX, Bin, MaybeVisualPosition, MaybeFunctionAttribute, MaybeGradient, MaybeTooltip, Sample, Filter, } from '../transform';
24
13
  import { Fetch, SortBy, Filter as DataFilter, Map, Pick, Rename, Fold, Slice, Inline, Custom, Cluster, Tree, Sankey as SankeyTransform, Arc as ArcTransform, WordCloud, Join, Sort, } from '../data';
@@ -27,20 +16,6 @@ import { geoLibrary } from '../geo';
27
16
  export function createLibrary() {
28
17
  return Object.assign({ 'data.fetch': Fetch, 'data.inline': Inline, 'data.sortBy': SortBy, 'data.sort': Sort, 'data.filter': DataFilter, 'data.pick': Pick, 'data.rename': Rename, 'data.fold': Fold, 'data.slice': Slice, 'data.custom': Custom, 'data.map': Map, 'data.cluster': Cluster, 'data.tree': Tree, 'data.sankey': SankeyTransform, 'data.arc': ArcTransform, 'data.wordCloud': WordCloud, 'data.join': Join,
29
18
  // 'transform.voronoi': Voronoi,
30
- 'transform.maybeZeroY1': MaybeZeroY1, 'transform.maybeZeroX': MaybeZeroX, 'transform.maybeStackY': MaybeStackY, 'transform.maybeTitle': MaybeTitle, 'transform.maybeSeries': MaybeSeries, 'transform.maybeZeroPadding': MaybeZeroPadding, 'transform.stackY': StackY, 'transform.binX': BinX, 'transform.bin': Bin, 'transform.dodgeX': DodgeX, 'transform.jitter': Jitter, 'transform.jitterX': JitterX, 'transform.symmetryY': SymmetryY, 'transform.diffY': DiffY, 'transform.stackEnter': StackEnter, 'transform.normalizeY': NormalizeY, 'transform.select': Select, 'transform.selectX': SelectX, 'transform.selectY': SelectY, 'transform.groupX': GroupX, 'transform.groupY': GroupY, 'transform.groupColor': GroupColor, 'transform.group': Group, 'transform.maybeSize': MaybeSize, 'transform.maybeZeroY': MaybeZeroY, 'transform.maybeKey': MaybeKey, 'transform.sortX': SortX, 'transform.sortY': SortY, 'transform.sortColor': SortColor, 'transform.flexX': FlexX, 'transform.maybeTupleY': MaybeTupleY, 'transform.maybeTupleX': MaybeTupleX, 'transform.maybeIdentityY': MaybeIdentityY, 'transform.maybeIdentityX': MaybeIdentityX, 'transform.maybeTuple': MaybeTuple, 'transform.maybeVisualPosition': MaybeVisualPosition, 'transform.maybeFunctionAttribute': MaybeFunctionAttribute, 'transform.maybeGradient': MaybeGradient, 'transform.maybeTooltip': MaybeTooltip, 'transform.pack': Pack, 'transform.sample': Sample, 'transform.filter': Filter, 'coordinate.cartesian': Cartesian, 'coordinate.polar': Polar, 'coordinate.helix': Helix, 'coordinate.transpose': Transpose, 'coordinate.theta': Theta, 'coordinate.reflect': Reflect, 'coordinate.reflectX': ReflectX, 'coordinate.reflectY': ReflectY, 'coordinate.parallel': Parallel, 'coordinate.fisheye': Fisheye, 'coordinate.fisheyeX': FisheyeX, 'coordinate.fisheyeY': FisheyeY, 'coordinate.radial': Radial, 'encode.constant': Constant, 'encode.field': Field, 'encode.transform': Transform, 'encode.column': Column, 'mark.interval': Interval, 'mark.rect': Rect, 'mark.line': Line, 'mark.point': PointGeometry, 'mark.text': TextGeometry, 'mark.cell': Cell, 'mark.area': AreaGeometry, 'mark.link': LinkGeometry, 'mark.image': ImageGeometry, 'mark.polygon': PolygonGeometry, 'mark.box': BoxGeometry, 'mark.vector': VectorGeometry, 'mark.lineX': LineX, 'mark.lineY': LineY, 'mark.connector': Connector, 'mark.range': Range, 'mark.rangeX': RangeX, 'mark.rangeY': RangeY, 'mark.sankey': Sankey, 'mark.path': Path, 'mark.treemap': Treemap, 'mark.pack': PackGeometry, 'mark.boxplot': Boxplot, 'mark.shape': Shape, 'mark.forceGraph': ForceGraph, 'mark.tree': TreeGeometry, 'mark.wordCloud': WordCloudGeometry, 'palette.category10': Category10, 'palette.category20': Category20, 'palette.sequentialBlue': SequentialBlue, 'palette.sequentialDarkBlue': SequentialDarkBlue, 'palette.sequentialGreen': SequentialGreen, 'palette.sequentialDarkGreen': SequentialDarkGreen, 'palette.sequentialGrey': SequentialGrey, 'palette.sequentialOrange': SequentialOrange, 'palette.sequentialPink': SequentialPink, 'palette.sequentialRed': SequentialRed, 'palette.sequentialYellow': SequentialYellow, 'palette.sequentialPurple': SequentialPurple, 'palette.sequentialYellowOrange': SequentialYellowOrange, 'palette.sequentialYellowGreen': SequentialYellowGreen, 'palette.sequentialPinkPurple': SequentialPinkPurple, 'palette.sequentialGreenBlue': SequentialGreenBlue, 'palette.divergingGreenYellow': DivergingGreenYellow, 'palette.divergingRedBlue': DivergingRedBlue, 'palette.divergingGreenRed': DivergingGreenRed, 'palette.divergingRedPurple': DivergingRedPurple, 'scale.linear': Linear, 'scale.ordinal': Ordinal, 'scale.band': Band, 'scale.identity': Identity, 'scale.point': Point, 'scale.time': Time, 'scale.log': Log, 'scale.pow': Pow, 'scale.sqrt': Sqrt, 'scale.threshold': Threshold, 'scale.quantile': Quantile, 'scale.quantize': Quantize, 'scale.sequential': Sequential, 'shape.interval.rect': RectShape, 'shape.interval.hollow': HollowRect, 'shape.interval.funnel': Funnel, 'shape.interval.pyramid': Pyramid, 'shape.rect.rect': RectShape, 'shape.rect.hollow': HollowRect, 'shape.cell.cell': RectShape, 'shape.cell.hollow': HollowRect, 'shape.line.line': LineShape, 'shape.line.hv': HV, 'shape.line.vh': VH, 'shape.line.hvh': HVH, 'shape.line.smooth': Smooth, 'shape.point.bowtie': Bowtie, 'shape.point.cross': Cross, 'shape.point.diamond': Diamond, 'shape.point.hexagon': Hexagon, 'shape.point.hollowBowtie': HollowBowtie, 'shape.point.hollowDiamond': HollowDiamond, 'shape.point.hollowHexagon': HollowHexagon, 'shape.point.hollow': HollowPoint, 'shape.point.hollowSquare': HollowSquare, 'shape.point.hollowTriangle': HollowTriangle, 'shape.point.hollowTriangleDown': HollowTriangleDown, 'shape.point.hyphen': Hyphen, 'shape.point.line': LinePoint, 'shape.point.plus': Plus, 'shape.point.point': PointShape, 'shape.point.square': Square, 'shape.point.tick': Tick, 'shape.point.triangle': Triangle, 'shape.point.triangleDown': TriangleDown, 'shape.text.text': Text, 'shape.area.area': Area, 'shape.area.smooth': SmoothArea, 'shape.area.hvh': HVHArea, 'shape.area.vh': VHArea, 'shape.area.hv': HVArea, 'shape.link.smooth': SmoothEdge, 'shape.link.vhv': VHVEdge, 'shape.link.arc': Arc, 'shape.link.link': Link, 'shape.image.image': Image, 'shape.polygon.polygon': Polygon, 'shape.polygon.ribbon': Ribbon, 'shape.box.box': Box, 'shape.vector.vector': Vector, 'shape.label.label': Label, 'shape.text.badge': Badge, 'shape.lineX.line': LineXY, 'shape.lineY.line': LineXY, 'shape.shape.shape': CustomShape, 'shape.connector.connector': ConnectorShape, 'shape.range.range': RectShape, 'shape.rangeX.range': RectShape, 'shape.rangeY.range': RectShape, 'shape.path.path': PathShape, 'shape.path.hollow': HollowPath, 'theme.light': Light, 'theme.dark': Dark, 'theme.academy': Academy, 'component.axisX': AxisX, 'component.axisY': AxisY, 'component.axisRadar': AxisRadar, 'component.axisLinear': AxisLinear, 'component.axisArc': AxisArc, 'component.legendCategory': LegendCategory, 'component.legendContinuous': LegendContinuous, 'component.legendContinuousBlock': LegendContinuousBlock, 'component.legendContinuousBlockSize': LegendContinuousBlockSize, 'component.legendContinuousSize': LegendContinuousSize, 'component.title': TitleComponent, 'component.sliderX': SliderX, 'component.sliderY': SliderY, 'component.scrollbarX': ScrollbarX, 'component.scrollbarY': ScrollbarY, 'animation.scaleInX': ScaleInX, 'animation.scaleOutX': ScaleOutX, 'animation.scaleInY': ScaleInY, 'animation.scaleOutY': ScaleOutY, 'animation.waveIn': WaveIn, 'animation.fadeIn': FadeIn, 'animation.fadeOut': FadeOut, 'animation.zoomIn': ZoomIn, 'animation.zoomOut': ZoomOut, 'animation.pathIn': PathIn, 'animation.morphing': Morphing, 'animation.growInX': GrowInX, 'animation.growInY': GrowInY, 'interaction.elementHighlight': ElementHighlight, 'interaction.elementHighlightByX': ElementHighlightByX, 'interaction.elementHighlightByColor': ElementHighlightByColor, 'interaction.elementSelect': ElementSelect, 'interaction.elementSelectByX': ElementSelectByX, 'interaction.elementSelectByColor': ElementSelectByColor, 'interaction.fisheye': ChartFisheye, 'interaction.chartIndex': ChartIndex, 'interaction.tooltip': Tooltip, 'interaction.legendFilter': LegendFilter, 'interaction.legendHighlight': LegendHighlight, 'interaction.brushHighlight': BrushHighlight, 'interaction.brushXHighlight': BrushXHighlight, 'interaction.brushYHighlight': BrushYHighlight, 'interaction.brushAxisHighlight': BrushAxisHighlight, 'interaction.brushFilter': BrushFilter, 'interaction.brushXFilter': BrushXFilter, 'interaction.brushYFilter': BrushYFilter, 'interaction.sliderFilter': SliderFilter, 'interaction.poptip': Poptip,
31
- // 'interaction.elementSelected': ElementSelected,
32
- // 'interaction.elementHighlight': ElementHighlight,
33
- // 'interaction.elementHighlightByX': ElementHighlightByX,
34
- // 'interaction.elementHighlightByColor': ElementHighlightByColor,
35
- // 'interaction.elementListHighlight': ElementListHighlight,
36
- // 'interaction.legendActive': LegendActive,
37
- // 'interaction.legendHighlight': LegendHighlight,
38
- // 'interaction.tooltip': Tooltip,
39
- // 'interaction.fisheye': FisheyeInteraction,
40
- // 'interaction.brush': Brush,
41
- // 'interaction.brushVisible': BrushVisible,
42
- // 'interaction.activeRegion': ActiveRegion,
43
- // 'interaction.ellipsisText': EllipsisText,
44
- 'composition.spaceLayer': SpaceLayer, 'composition.spaceFlex': SpaceFlex, 'composition.mark': Mark, 'composition.view': View, 'composition.facetRect': FacetRect, 'composition.repeatMatrix': RepeatMatrix, 'composition.facetCircle': FacetCircle, 'composition.timingKeyframe': TimingKeyframe, 'labelTransform.overlapHide': OverlapHide, 'labelTransform.overlapDodgeY': OverlapDodgeY, 'labelTransform.overflowHide': OverflowHide, 'labelTransform.contrastReverse': ContrastReverse }, geoLibrary);
19
+ 'transform.maybeZeroY1': MaybeZeroY1, 'transform.maybeZeroX': MaybeZeroX, 'transform.maybeStackY': MaybeStackY, 'transform.maybeTitle': MaybeTitle, 'transform.maybeSeries': MaybeSeries, 'transform.maybeZeroPadding': MaybeZeroPadding, 'transform.stackY': StackY, 'transform.binX': BinX, 'transform.bin': Bin, 'transform.dodgeX': DodgeX, 'transform.jitter': Jitter, 'transform.jitterX': JitterX, 'transform.symmetryY': SymmetryY, 'transform.diffY': DiffY, 'transform.stackEnter': StackEnter, 'transform.normalizeY': NormalizeY, 'transform.select': Select, 'transform.selectX': SelectX, 'transform.selectY': SelectY, 'transform.groupX': GroupX, 'transform.groupY': GroupY, 'transform.groupColor': GroupColor, 'transform.group': Group, 'transform.maybeSize': MaybeSize, 'transform.maybeZeroY': MaybeZeroY, 'transform.maybeKey': MaybeKey, 'transform.sortX': SortX, 'transform.sortY': SortY, 'transform.sortColor': SortColor, 'transform.flexX': FlexX, 'transform.maybeTupleY': MaybeTupleY, 'transform.maybeTupleX': MaybeTupleX, 'transform.maybeIdentityY': MaybeIdentityY, 'transform.maybeIdentityX': MaybeIdentityX, 'transform.maybeTuple': MaybeTuple, 'transform.maybeVisualPosition': MaybeVisualPosition, 'transform.maybeFunctionAttribute': MaybeFunctionAttribute, 'transform.maybeGradient': MaybeGradient, 'transform.maybeTooltip': MaybeTooltip, 'transform.pack': Pack, 'transform.sample': Sample, 'transform.filter': Filter, 'coordinate.cartesian': Cartesian, 'coordinate.polar': Polar, 'coordinate.helix': Helix, 'coordinate.transpose': Transpose, 'coordinate.theta': Theta, 'coordinate.parallel': Parallel, 'coordinate.fisheye': Fisheye, 'coordinate.radial': Radial, 'coordinate.radar': Radar, 'encode.constant': Constant, 'encode.field': Field, 'encode.transform': Transform, 'encode.column': Column, 'mark.interval': Interval, 'mark.rect': Rect, 'mark.line': Line, 'mark.point': PointGeometry, 'mark.text': TextGeometry, 'mark.cell': Cell, 'mark.area': AreaGeometry, 'mark.link': LinkGeometry, 'mark.image': ImageGeometry, 'mark.polygon': PolygonGeometry, 'mark.box': BoxGeometry, 'mark.vector': VectorGeometry, 'mark.lineX': LineX, 'mark.lineY': LineY, 'mark.connector': Connector, 'mark.range': Range, 'mark.rangeX': RangeX, 'mark.rangeY': RangeY, 'mark.sankey': Sankey, 'mark.path': Path, 'mark.treemap': Treemap, 'mark.pack': PackGeometry, 'mark.boxplot': Boxplot, 'mark.shape': Shape, 'mark.forceGraph': ForceGraph, 'mark.gauge': Gauge, 'mark.tree': TreeGeometry, 'mark.wordCloud': WordCloudGeometry, 'palette.category10': Category10, 'palette.category20': Category20, 'scale.linear': Linear, 'scale.ordinal': Ordinal, 'scale.band': Band, 'scale.identity': Identity, 'scale.point': Point, 'scale.time': Time, 'scale.log': Log, 'scale.pow': Pow, 'scale.sqrt': Sqrt, 'scale.threshold': Threshold, 'scale.quantile': Quantile, 'scale.quantize': Quantize, 'scale.sequential': Sequential, 'scale.constant': ConstantScale, 'shape.interval.rect': RectShape, 'shape.interval.hollow': HollowRect, 'shape.interval.funnel': Funnel, 'shape.interval.pyramid': Pyramid, 'shape.rect.rect': RectShape, 'shape.rect.hollow': HollowRect, 'shape.cell.cell': RectShape, 'shape.cell.hollow': HollowRect, 'shape.line.line': LineShape, 'shape.line.hv': HV, 'shape.line.vh': VH, 'shape.line.hvh': HVH, 'shape.line.smooth': Smooth, 'shape.point.bowtie': Bowtie, 'shape.point.cross': Cross, 'shape.point.diamond': Diamond, 'shape.point.hexagon': Hexagon, 'shape.point.hollowBowtie': HollowBowtie, 'shape.point.hollowDiamond': HollowDiamond, 'shape.point.hollowHexagon': HollowHexagon, 'shape.point.hollow': HollowPoint, 'shape.point.hollowSquare': HollowSquare, 'shape.point.hollowTriangle': HollowTriangle, 'shape.point.hollowTriangleDown': HollowTriangleDown, 'shape.point.hyphen': Hyphen, 'shape.point.line': LinePoint, 'shape.point.plus': Plus, 'shape.point.point': PointShape, 'shape.point.square': Square, 'shape.point.tick': Tick, 'shape.point.triangle': Triangle, 'shape.point.triangleDown': TriangleDown, 'shape.text.text': Text, 'shape.area.area': Area, 'shape.area.smooth': SmoothArea, 'shape.area.hvh': HVHArea, 'shape.area.vh': VHArea, 'shape.area.hv': HVArea, 'shape.link.smooth': SmoothEdge, 'shape.link.vhv': VHVEdge, 'shape.link.arc': Arc, 'shape.link.link': Link, 'shape.image.image': Image, 'shape.polygon.polygon': Polygon, 'shape.polygon.ribbon': Ribbon, 'shape.box.box': Box, 'shape.vector.vector': Vector, 'shape.label.label': Label, 'shape.text.badge': Badge, 'shape.lineX.line': LineXY, 'shape.lineY.line': LineXY, 'shape.shape.shape': CustomShape, 'shape.connector.connector': ConnectorShape, 'shape.range.range': RectShape, 'shape.rangeX.range': RectShape, 'shape.rangeY.range': RectShape, 'shape.path.path': PathShape, 'shape.path.hollow': HollowPath, 'theme.classic': Light, 'theme.classicDark': Dark, 'theme.academy': Academy, 'component.axisX': AxisX, 'component.axisY': AxisY, 'component.axisRadar': AxisRadar, 'component.axisLinear': AxisLinear, 'component.axisArc': AxisArc, 'component.legendCategory': LegendCategory, 'component.legendContinuous': LegendContinuous, 'component.legendContinuousBlock': LegendContinuousBlock, 'component.legendContinuousBlockSize': LegendContinuousBlockSize, 'component.legendContinuousSize': LegendContinuousSize, 'component.title': TitleComponent, 'component.sliderX': SliderX, 'component.sliderY': SliderY, 'component.scrollbarX': ScrollbarX, 'component.scrollbarY': ScrollbarY, 'animation.scaleInX': ScaleInX, 'animation.scaleOutX': ScaleOutX, 'animation.scaleInY': ScaleInY, 'animation.scaleOutY': ScaleOutY, 'animation.waveIn': WaveIn, 'animation.fadeIn': FadeIn, 'animation.fadeOut': FadeOut, 'animation.zoomIn': ZoomIn, 'animation.zoomOut': ZoomOut, 'animation.pathIn': PathIn, 'animation.morphing': Morphing, 'animation.growInX': GrowInX, 'animation.growInY': GrowInY, 'interaction.elementHighlight': ElementHighlight, 'interaction.elementHighlightByX': ElementHighlightByX, 'interaction.elementHighlightByColor': ElementHighlightByColor, 'interaction.elementSelect': ElementSelect, 'interaction.elementSelectByX': ElementSelectByX, 'interaction.elementSelectByColor': ElementSelectByColor, 'interaction.fisheye': ChartFisheye, 'interaction.chartIndex': ChartIndex, 'interaction.tooltip': Tooltip, 'interaction.legendFilter': LegendFilter, 'interaction.legendHighlight': LegendHighlight, 'interaction.brushHighlight': BrushHighlight, 'interaction.brushXHighlight': BrushXHighlight, 'interaction.brushYHighlight': BrushYHighlight, 'interaction.brushAxisHighlight': BrushAxisHighlight, 'interaction.brushFilter': BrushFilter, 'interaction.brushXFilter': BrushXFilter, 'interaction.brushYFilter': BrushYFilter, 'interaction.sliderFilter': SliderFilter, 'interaction.poptip': Poptip, 'interaction.event': Event, 'composition.spaceLayer': SpaceLayer, 'composition.spaceFlex': SpaceFlex, 'composition.mark': Mark, 'composition.view': View, 'composition.facetRect': FacetRect, 'composition.repeatMatrix': RepeatMatrix, 'composition.facetCircle': FacetCircle, 'composition.timingKeyframe': TimingKeyframe, 'labelTransform.overlapHide': OverlapHide, 'labelTransform.overlapDodgeY': OverlapDodgeY, 'labelTransform.overflowHide': OverflowHide, 'labelTransform.contrastReverse': ContrastReverse }, geoLibrary);
45
20
  }
46
21
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"src/","sources":["stdlib/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,SAAS,EACT,KAAK,EACL,KAAK,EACL,SAAS,EACT,KAAK,EACL,QAAQ,EACR,OAAO,EACP,QAAQ,EACR,QAAQ,EACR,OAAO,EACP,QAAQ,EACR,QAAQ,EACR,MAAM,GACP,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAC/D,OAAO,EACL,IAAI,EACJ,QAAQ,EACR,IAAI,EACJ,IAAI,EACJ,KAAK,IAAI,aAAa,EACtB,IAAI,IAAI,YAAY,EACpB,IAAI,IAAI,YAAY,EACpB,KAAK,IAAI,aAAa,EACtB,OAAO,IAAI,eAAe,EAC1B,GAAG,IAAI,WAAW,EAClB,MAAM,IAAI,cAAc,EACxB,IAAI,IAAI,YAAY,EACpB,KAAK,EACL,KAAK,EACL,SAAS,EACT,KAAK,EACL,MAAM,EACN,MAAM,EACN,MAAM,EACN,IAAI,EACJ,OAAO,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BAA6B,EAAE,eAAe,EAC9C,gCAAgC,EAAE,kBAAkB,EACpD,yBAAyB,EAAE,WAAW,EACtC,0BAA0B,EAAE,YAAY,EACxC,0BAA0B,EAAE,YAAY,EACxC,0BAA0B,EAAE,YAAY,EACxC,oBAAoB,EAAE,MAAM,EAC5B,mBAAmB,EAAE,KAAK,EAC1B,wBAAwB,EAAE,UAAU,EACpC,uBAAuB,EAAE,SAAS,EAClC,kBAAkB,EAAE,IAAI,EACxB,kBAAkB,EAAE,IAAI,EACxB,uBAAuB,EAAE,SAAS,EAClC,0BAA0B,EAAE,YAAY,EACxC,yBAAyB,EAAE,WAAW,EACtC,4BAA4B,EAAE,cAAc,EAC5C,4BAA4B,EAAE,WAAW,EACzC,8BAA8B,EAAE,aAAa,EAC7C,6BAA6B,EAAE,YAAY,EAC3C,gCAAgC,EAAE,eAAe,IAC9C,UAAU,EACb;AACJ,CAAC"}
@@ -222,7 +222,7 @@ export const Academy = (options) => {
222
222
  lineStroke: '#888',
223
223
  lineStrokeOpacity: 1,
224
224
  lineLineWidth: 1,
225
- lineArrow: null,
225
+ showArrow: false,
226
226
  tickStroke: COLORS.STROKE,
227
227
  tickStrokeOpacity: 1,
228
228
  tickLineWidth: 1,
@@ -249,6 +249,7 @@ export const Academy = (options) => {
249
249
  gridDirection: 'positive',
250
250
  },
251
251
  axisBottom: {
252
+ titlePosition: 'bottom',
252
253
  titleSpacing: 4,
253
254
  titleTextBaseline: 'bottom',
254
255
  labelSpacing: 8,
@@ -349,7 +350,7 @@ export const Academy = (options) => {
349
350
  fillOpacity: 0.65,
350
351
  fontSize: 10,
351
352
  fontWeight: 'normal',
352
- stroke: null,
353
+ stroke: undefined,
353
354
  offset: 12,
354
355
  connectorStroke: COLORS.BLACK,
355
356
  connectorStrokeOpacity: 0.45,
@@ -363,13 +364,13 @@ export const Academy = (options) => {
363
364
  fontSize: 10,
364
365
  fillOpacity: 0.85,
365
366
  fontWeight: 'normal',
366
- stroke: null,
367
+ stroke: undefined,
367
368
  offset: 0,
368
369
  },
369
370
  slider: {
370
371
  trackSize: 16,
371
- backgroundFill: COLORS.STROKE,
372
- backgroundFillOpacity: 0.05,
372
+ trackFill: COLORS.STROKE,
373
+ trackFillOpacity: 0.05,
373
374
  selectionFill: DEFAULT_COLOR,
374
375
  selectionFillOpacity: 0.15,
375
376
  handleIconSize: 10,