@antv/g2 5.0.0-alpha.2 → 5.0.0-alpha.4

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 (2345) hide show
  1. package/dist/g2-lite.min.js +2 -5
  2. package/dist/g2.min.js +2 -5
  3. package/esm/animation/fadeIn.d.ts +2 -2
  4. package/esm/animation/fadeOut.d.ts +2 -2
  5. package/esm/animation/growInX.d.ts +7 -0
  6. package/esm/animation/growInX.js +26 -0
  7. package/esm/animation/growInX.js.map +1 -0
  8. package/esm/animation/growInY.d.ts +7 -0
  9. package/esm/animation/growInY.js +26 -0
  10. package/esm/animation/growInY.js.map +1 -0
  11. package/esm/animation/index.d.ts +10 -0
  12. package/esm/animation/index.js +6 -0
  13. package/esm/animation/index.js.map +1 -1
  14. package/esm/animation/morphing.d.ts +4 -4
  15. package/esm/animation/morphing.js +52 -36
  16. package/esm/animation/morphing.js.map +1 -1
  17. package/esm/animation/pathIn.d.ts +7 -0
  18. package/esm/animation/pathIn.js +18 -0
  19. package/esm/animation/pathIn.js.map +1 -0
  20. package/esm/animation/scaleInX.d.ts +2 -2
  21. package/esm/animation/scaleInY.d.ts +2 -2
  22. package/esm/animation/scaleOutX.d.ts +2 -2
  23. package/esm/animation/scaleOutY.d.ts +2 -2
  24. package/esm/animation/types.d.ts +6 -0
  25. package/esm/animation/types.js +2 -0
  26. package/esm/animation/types.js.map +1 -0
  27. package/esm/animation/utils.d.ts +3 -0
  28. package/esm/animation/utils.js +20 -0
  29. package/esm/animation/utils.js.map +1 -1
  30. package/esm/animation/waveIn.d.ts +7 -0
  31. package/esm/animation/waveIn.js +88 -0
  32. package/esm/animation/waveIn.js.map +1 -0
  33. package/esm/animation/zoomIn.d.ts +4 -0
  34. package/esm/animation/zoomIn.js +39 -0
  35. package/esm/animation/zoomIn.js.map +1 -0
  36. package/esm/animation/zoomOut.d.ts +4 -0
  37. package/esm/animation/zoomOut.js +34 -0
  38. package/esm/animation/zoomOut.js.map +1 -0
  39. package/esm/api/chart.d.ts +17 -4
  40. package/esm/api/chart.js +72 -9
  41. package/esm/api/chart.js.map +1 -1
  42. package/esm/api/composition/facetCircle.d.ts +18 -0
  43. package/esm/api/composition/facetCircle.js +27 -0
  44. package/esm/api/composition/facetCircle.js.map +1 -0
  45. package/esm/api/composition/facetRect.d.ts +18 -0
  46. package/esm/api/composition/facetRect.js +27 -0
  47. package/esm/api/composition/facetRect.js.map +1 -0
  48. package/esm/api/composition/geoPath.d.ts +21 -0
  49. package/esm/api/composition/geoPath.js +30 -0
  50. package/esm/api/composition/geoPath.js.map +1 -0
  51. package/esm/api/composition/geoView.d.ts +21 -0
  52. package/esm/api/composition/geoView.js +29 -0
  53. package/esm/api/composition/geoView.js.map +1 -0
  54. package/esm/api/composition/index.d.ts +25 -19
  55. package/esm/api/composition/index.js +17 -13
  56. package/esm/api/composition/index.js.map +1 -1
  57. package/esm/api/composition/repeatMatrix.d.ts +18 -0
  58. package/esm/api/composition/repeatMatrix.js +27 -0
  59. package/esm/api/composition/repeatMatrix.js.map +1 -0
  60. package/esm/api/composition/spaceFlex.d.ts +13 -0
  61. package/esm/api/composition/spaceFlex.js +19 -0
  62. package/esm/api/composition/spaceFlex.js.map +1 -0
  63. package/esm/api/composition/spaceLayer.d.ts +13 -0
  64. package/esm/api/composition/spaceLayer.js +19 -0
  65. package/esm/api/composition/spaceLayer.js.map +1 -0
  66. package/esm/api/composition/timingKeyframe.d.ts +12 -0
  67. package/esm/api/composition/timingKeyframe.js +19 -0
  68. package/esm/api/composition/timingKeyframe.js.map +1 -0
  69. package/esm/api/composition/view.d.ts +7 -8
  70. package/esm/api/composition/view.js +6 -7
  71. package/esm/api/composition/view.js.map +1 -1
  72. package/esm/api/mark/index.d.ts +33 -17
  73. package/esm/api/mark/index.js +17 -9
  74. package/esm/api/mark/index.js.map +1 -1
  75. package/esm/api/mark/mark.d.ts +69 -21
  76. package/esm/api/mark/mark.js +116 -51
  77. package/esm/api/mark/mark.js.map +1 -1
  78. package/esm/api/mark/types.d.ts +6 -12
  79. package/esm/api/node.d.ts +7 -0
  80. package/esm/api/node.js +56 -1
  81. package/esm/api/node.js.map +1 -1
  82. package/esm/api/props.d.ts +2 -2
  83. package/esm/api/props.js +33 -12
  84. package/esm/api/props.js.map +1 -1
  85. package/esm/api/types.d.ts +7 -7
  86. package/esm/component/axis.d.ts +9 -3
  87. package/esm/component/axis.js +178 -112
  88. package/esm/component/axis.js.map +1 -1
  89. package/esm/component/axisX.d.ts +1 -1
  90. package/esm/component/axisY.d.ts +1 -1
  91. package/esm/component/legendCategory.d.ts +6 -2
  92. package/esm/component/legendCategory.js +7 -10
  93. package/esm/component/legendCategory.js.map +1 -1
  94. package/esm/component/legendContinuous.d.ts +2 -1
  95. package/esm/component/legendContinuous.js +4 -3
  96. package/esm/component/legendContinuous.js.map +1 -1
  97. package/esm/component/title.d.ts +1 -1
  98. package/esm/component/utils.d.ts +1 -1
  99. package/esm/composition/facetCircle.d.ts +7 -0
  100. package/esm/composition/facetCircle.js +85 -0
  101. package/esm/composition/facetCircle.js.map +1 -0
  102. package/esm/composition/facetRect.d.ts +31 -0
  103. package/esm/composition/facetRect.js +304 -0
  104. package/esm/composition/facetRect.js.map +1 -0
  105. package/esm/composition/index.d.ts +12 -12
  106. package/esm/composition/index.js +6 -6
  107. package/esm/composition/index.js.map +1 -1
  108. package/esm/composition/mark.d.ts +1 -1
  109. package/esm/composition/mark.js +15 -4
  110. package/esm/composition/mark.js.map +1 -1
  111. package/esm/composition/repeatMatrix.d.ts +8 -0
  112. package/esm/composition/repeatMatrix.js +149 -0
  113. package/esm/composition/repeatMatrix.js.map +1 -0
  114. package/esm/composition/spaceFlex.d.ts +7 -0
  115. package/esm/composition/spaceFlex.js +40 -0
  116. package/esm/composition/spaceFlex.js.map +1 -0
  117. package/esm/composition/spaceLayer.d.ts +7 -0
  118. package/esm/composition/spaceLayer.js +32 -0
  119. package/esm/composition/spaceLayer.js.map +1 -0
  120. package/esm/composition/timingKeyframe.d.ts +7 -0
  121. package/esm/composition/timingKeyframe.js +74 -0
  122. package/esm/composition/timingKeyframe.js.map +1 -0
  123. package/esm/composition/utils.d.ts +1 -1
  124. package/esm/composition/view.d.ts +1 -1
  125. package/esm/composition/view.js +3 -3
  126. package/esm/composition/view.js.map +1 -1
  127. package/esm/coordinate/cartesian.d.ts +1 -1
  128. package/esm/coordinate/fisheye.d.ts +1 -1
  129. package/esm/coordinate/fisheyeX.d.ts +1 -1
  130. package/esm/coordinate/fisheyeY.d.ts +1 -1
  131. package/esm/coordinate/helix.d.ts +1 -1
  132. package/esm/coordinate/index.d.ts +2 -0
  133. package/esm/coordinate/index.js +1 -0
  134. package/esm/coordinate/index.js.map +1 -1
  135. package/esm/coordinate/parallel.d.ts +1 -1
  136. package/esm/coordinate/polar.d.ts +1 -1
  137. package/esm/coordinate/radial.d.ts +7 -0
  138. package/esm/coordinate/radial.js +12 -0
  139. package/esm/coordinate/radial.js.map +1 -0
  140. package/esm/coordinate/reflect.d.ts +1 -1
  141. package/esm/coordinate/reflectX.d.ts +1 -1
  142. package/esm/coordinate/reflectY.d.ts +1 -1
  143. package/esm/coordinate/theta.d.ts +1 -1
  144. package/esm/coordinate/transpose.d.ts +1 -1
  145. package/esm/data/arc.d.ts +1 -1
  146. package/esm/data/cluster.d.ts +1 -1
  147. package/esm/data/custom.d.ts +1 -1
  148. package/esm/data/fetch.d.ts +1 -1
  149. package/esm/data/fetch.js.map +1 -1
  150. package/esm/data/filter.d.ts +9 -0
  151. package/esm/data/filter.js +13 -0
  152. package/esm/data/filter.js.map +1 -0
  153. package/esm/data/fold.d.ts +1 -1
  154. package/esm/data/index.d.ts +6 -2
  155. package/esm/data/index.js +3 -1
  156. package/esm/data/index.js.map +1 -1
  157. package/esm/data/inline.d.ts +1 -1
  158. package/esm/data/join.d.ts +7 -0
  159. package/esm/data/join.js +22 -0
  160. package/esm/data/join.js.map +1 -0
  161. package/esm/data/map.d.ts +1 -1
  162. package/esm/data/pick.d.ts +1 -1
  163. package/esm/data/rename.d.ts +1 -1
  164. package/esm/data/rename.js +2 -3
  165. package/esm/data/rename.js.map +1 -1
  166. package/esm/data/sankey.d.ts +1 -1
  167. package/esm/data/sortBy.d.ts +1 -1
  168. package/esm/data/subset.d.ts +1 -1
  169. package/esm/data/tree.d.ts +1 -1
  170. package/esm/data/utils/arc/types.d.ts +2 -2
  171. package/esm/data/utils/flow.d.ts +1 -1
  172. package/esm/data/wordCloud.d.ts +6 -1
  173. package/esm/data/wordCloud.js +102 -7
  174. package/esm/data/wordCloud.js.map +1 -1
  175. package/esm/encode/column.d.ts +1 -1
  176. package/esm/encode/constant.d.ts +1 -1
  177. package/esm/encode/field.d.ts +1 -1
  178. package/esm/encode/transform.d.ts +1 -1
  179. package/esm/geo/d3-projection.d.ts +1 -0
  180. package/esm/geo/d3-projection.js +2 -0
  181. package/esm/geo/d3-projection.js.map +1 -0
  182. package/esm/geo/geoPath.d.ts +7 -0
  183. package/esm/geo/geoPath.js +36 -0
  184. package/esm/geo/geoPath.js.map +1 -0
  185. package/esm/geo/geoView.d.ts +7 -0
  186. package/esm/geo/geoView.js +215 -0
  187. package/esm/geo/geoView.js.map +1 -0
  188. package/esm/geo/index.d.ts +9 -0
  189. package/esm/geo/index.js +8 -0
  190. package/esm/geo/index.js.map +1 -0
  191. package/esm/interaction/action/service/elementSelection.d.ts +1 -1
  192. package/esm/interaction/action/service/elementSelection.js +1 -1
  193. package/esm/interaction/action/service/elementSelection.js.map +1 -1
  194. package/esm/interaction/action/service/fisheyeFocus.d.ts +1 -1
  195. package/esm/interaction/action/service/legendItemSelection.d.ts +1 -1
  196. package/esm/interaction/action/service/recordCurrentPoint.d.ts +1 -1
  197. package/esm/interaction/action/service/recordPoint.d.ts +1 -1
  198. package/esm/interaction/action/service/recordRegion.d.ts +1 -1
  199. package/esm/interaction/action/service/recordState.d.ts +1 -1
  200. package/esm/interaction/action/service/recordTip.d.ts +1 -1
  201. package/esm/interaction/action/service/surfacePointSelection.d.ts +1 -1
  202. package/esm/interaction/action/service/triggerInfoSelection.d.ts +1 -1
  203. package/esm/interaction/action/service/triggerInfoSelection.js.map +1 -1
  204. package/esm/interaction/action/transformer/activeElement.d.ts +1 -1
  205. package/esm/interaction/action/transformer/activeRegion.d.ts +1 -1
  206. package/esm/interaction/action/transformer/button.d.ts +1 -1
  207. package/esm/interaction/action/transformer/cursor.d.ts +1 -1
  208. package/esm/interaction/action/transformer/filter.d.ts +2 -2
  209. package/esm/interaction/action/transformer/filter.js +6 -4
  210. package/esm/interaction/action/transformer/filter.js.map +1 -1
  211. package/esm/interaction/action/transformer/filterElement.d.ts +1 -1
  212. package/esm/interaction/action/transformer/highlightElement.d.ts +1 -1
  213. package/esm/interaction/action/transformer/mask.d.ts +1 -1
  214. package/esm/interaction/action/transformer/move.d.ts +1 -1
  215. package/esm/interaction/action/transformer/plot.d.ts +1 -1
  216. package/esm/interaction/action/transformer/poptip.d.ts +1 -1
  217. package/esm/interaction/action/transformer/setItemState.d.ts +1 -1
  218. package/esm/interaction/action/transformer/tooltip.d.ts +1 -1
  219. package/esm/interaction/builtin/activeRegion.d.ts +1 -1
  220. package/esm/interaction/builtin/activeRegion.js.map +1 -1
  221. package/esm/interaction/builtin/brush.d.ts +1 -1
  222. package/esm/interaction/builtin/brush.js.map +1 -1
  223. package/esm/interaction/builtin/brushHighlight.d.ts +1 -1
  224. package/esm/interaction/builtin/brushHighlight.js.map +1 -1
  225. package/esm/interaction/builtin/brushVisible.d.ts +1 -1
  226. package/esm/interaction/builtin/brushVisible.js.map +1 -1
  227. package/esm/interaction/builtin/elementActive.d.ts +1 -3
  228. package/esm/interaction/builtin/elementActive.js.map +1 -1
  229. package/esm/interaction/builtin/elementHighlight.d.ts +1 -3
  230. package/esm/interaction/builtin/elementHighlight.js.map +1 -1
  231. package/esm/interaction/builtin/elementHighlightByColor.d.ts +3 -3
  232. package/esm/interaction/builtin/elementHighlightByColor.js +1 -1
  233. package/esm/interaction/builtin/elementHighlightByColor.js.map +1 -1
  234. package/esm/interaction/builtin/elementHighlightByX.d.ts +5 -5
  235. package/esm/interaction/builtin/elementHighlightByX.js +1 -1
  236. package/esm/interaction/builtin/elementHighlightByX.js.map +1 -1
  237. package/esm/interaction/builtin/elementListHighlight.d.ts +1 -1
  238. package/esm/interaction/builtin/elementListHighlight.js.map +1 -1
  239. package/esm/interaction/builtin/elementSelected.d.ts +2 -4
  240. package/esm/interaction/builtin/elementSelected.js.map +1 -1
  241. package/esm/interaction/builtin/ellipsisText.d.ts +1 -1
  242. package/esm/interaction/builtin/ellipsisText.js.map +1 -1
  243. package/esm/interaction/builtin/fisheye.d.ts +7 -1
  244. package/esm/interaction/builtin/fisheye.js.map +1 -1
  245. package/esm/interaction/builtin/legendActive.d.ts +1 -1
  246. package/esm/interaction/builtin/legendActive.js.map +1 -1
  247. package/esm/interaction/builtin/legendHighlight.d.ts +1 -1
  248. package/esm/interaction/builtin/legendHighlight.js.map +1 -1
  249. package/esm/interaction/builtin/tooltip.d.ts +9 -5
  250. package/esm/interaction/builtin/tooltip.js.map +1 -1
  251. package/esm/interaction/index.d.ts +9 -18
  252. package/esm/interaction/index.js +41 -17
  253. package/esm/interaction/index.js.map +1 -1
  254. package/esm/interaction/interactor/mousePosition.d.ts +1 -1
  255. package/esm/interaction/interactor/touchPosition.d.ts +1 -1
  256. package/esm/interaction/native/chartIndex.d.ts +4 -0
  257. package/esm/interaction/native/chartIndex.js +172 -0
  258. package/esm/interaction/native/chartIndex.js.map +1 -0
  259. package/esm/interaction/native/elementHighlight.d.ts +10 -0
  260. package/esm/interaction/native/elementHighlight.js +69 -0
  261. package/esm/interaction/native/elementHighlight.js.map +1 -0
  262. package/esm/interaction/native/elementHighlightByColor.d.ts +4 -0
  263. package/esm/interaction/native/elementHighlightByColor.js +12 -0
  264. package/esm/interaction/native/elementHighlightByColor.js.map +1 -0
  265. package/esm/interaction/native/elementHighlightByX.d.ts +8 -0
  266. package/esm/interaction/native/elementHighlightByX.js +13 -0
  267. package/esm/interaction/native/elementHighlightByX.js.map +1 -0
  268. package/esm/interaction/native/elementSelect.d.ts +11 -0
  269. package/esm/interaction/native/elementSelect.js +111 -0
  270. package/esm/interaction/native/elementSelect.js.map +1 -0
  271. package/esm/interaction/native/elementSelectByColor.d.ts +1 -0
  272. package/esm/interaction/native/elementSelectByColor.js +9 -0
  273. package/esm/interaction/native/elementSelectByColor.js.map +1 -0
  274. package/esm/interaction/native/elementSelectByX.d.ts +1 -0
  275. package/esm/interaction/native/elementSelectByX.js +9 -0
  276. package/esm/interaction/native/elementSelectByX.js.map +1 -0
  277. package/esm/interaction/native/fisheye.d.ts +4 -0
  278. package/esm/interaction/native/fisheye.js +47 -0
  279. package/esm/interaction/native/fisheye.js.map +1 -0
  280. package/esm/interaction/native/tooltip.d.ts +11 -0
  281. package/esm/interaction/native/tooltip.js +279 -0
  282. package/esm/interaction/native/tooltip.js.map +1 -0
  283. package/esm/interaction/native/utils.d.ts +28 -0
  284. package/esm/interaction/native/utils.js +173 -0
  285. package/esm/interaction/native/utils.js.map +1 -0
  286. package/esm/interaction/types.d.ts +16 -16
  287. package/esm/label-transform/dodgeY.d.ts +7 -0
  288. package/esm/label-transform/dodgeY.js +75 -0
  289. package/esm/label-transform/dodgeY.js.map +1 -0
  290. package/esm/label-transform/hideOverlap.d.ts +4 -0
  291. package/esm/label-transform/hideOverlap.js +48 -0
  292. package/esm/label-transform/hideOverlap.js.map +1 -0
  293. package/esm/label-transform/index.d.ts +8 -0
  294. package/esm/label-transform/index.js +5 -0
  295. package/esm/label-transform/index.js.map +1 -0
  296. package/esm/label-transform/spider.d.ts +7 -0
  297. package/esm/label-transform/spider.js +30 -0
  298. package/esm/label-transform/spider.js.map +1 -0
  299. package/esm/label-transform/surround.d.ts +7 -0
  300. package/esm/label-transform/surround.js +30 -0
  301. package/esm/label-transform/surround.js.map +1 -0
  302. package/esm/mark/area.d.ts +4 -0
  303. package/esm/mark/area.js +72 -0
  304. package/esm/mark/area.js.map +1 -0
  305. package/esm/mark/box.d.ts +34 -0
  306. package/esm/mark/box.js +88 -0
  307. package/esm/mark/box.js.map +1 -0
  308. package/esm/mark/boxplot.d.ts +4 -0
  309. package/esm/mark/boxplot.js +104 -0
  310. package/esm/mark/boxplot.js.map +1 -0
  311. package/esm/mark/cell.d.ts +9 -0
  312. package/esm/mark/cell.js +43 -0
  313. package/esm/mark/cell.js.map +1 -0
  314. package/esm/mark/connector.d.ts +4 -0
  315. package/esm/mark/connector.js +18 -0
  316. package/esm/mark/connector.js.map +1 -0
  317. package/esm/mark/forceGraph.d.ts +4 -0
  318. package/esm/mark/forceGraph.js +95 -0
  319. package/esm/mark/forceGraph.js.map +1 -0
  320. package/esm/mark/image.d.ts +4 -0
  321. package/esm/mark/image.js +34 -0
  322. package/esm/mark/image.js.map +1 -0
  323. package/esm/mark/index.d.ts +52 -0
  324. package/esm/mark/index.js +28 -0
  325. package/esm/mark/index.js.map +1 -0
  326. package/esm/mark/interval.d.ts +12 -0
  327. package/esm/mark/interval.js +70 -0
  328. package/esm/mark/interval.js.map +1 -0
  329. package/esm/mark/line.d.ts +7 -0
  330. package/esm/mark/line.js +84 -0
  331. package/esm/mark/line.js.map +1 -0
  332. package/esm/mark/lineX.d.ts +4 -0
  333. package/esm/mark/lineX.js +24 -0
  334. package/esm/mark/lineX.js.map +1 -0
  335. package/esm/mark/lineY.d.ts +4 -0
  336. package/esm/mark/lineY.js +24 -0
  337. package/esm/mark/lineY.js.map +1 -0
  338. package/esm/mark/link.d.ts +7 -0
  339. package/esm/mark/link.js +32 -0
  340. package/esm/mark/link.js.map +1 -0
  341. package/esm/mark/pack.d.ts +4 -0
  342. package/esm/mark/pack.js +81 -0
  343. package/esm/mark/pack.js.map +1 -0
  344. package/esm/mark/path.d.ts +7 -0
  345. package/esm/mark/path.js +24 -0
  346. package/esm/mark/path.js.map +1 -0
  347. package/esm/mark/point.d.ts +9 -0
  348. package/esm/mark/point.js +82 -0
  349. package/esm/mark/point.js.map +1 -0
  350. package/esm/mark/polygon.d.ts +7 -0
  351. package/esm/mark/polygon.js +39 -0
  352. package/esm/mark/polygon.js.map +1 -0
  353. package/esm/mark/range.d.ts +8 -0
  354. package/esm/mark/range.js +44 -0
  355. package/esm/mark/range.js.map +1 -0
  356. package/esm/mark/rangeX.d.ts +4 -0
  357. package/esm/mark/rangeX.js +17 -0
  358. package/esm/mark/rangeX.js.map +1 -0
  359. package/esm/mark/rangeY.d.ts +4 -0
  360. package/esm/mark/rangeY.js +17 -0
  361. package/esm/mark/rangeY.js.map +1 -0
  362. package/esm/mark/rect.d.ts +4 -0
  363. package/esm/mark/rect.js +30 -0
  364. package/esm/mark/rect.js.map +1 -0
  365. package/esm/mark/sankey.d.ts +8 -0
  366. package/esm/mark/sankey.js +97 -0
  367. package/esm/mark/sankey.js.map +1 -0
  368. package/esm/mark/shape.d.ts +7 -0
  369. package/esm/mark/shape.js +33 -0
  370. package/esm/mark/shape.js.map +1 -0
  371. package/esm/mark/text.d.ts +4 -0
  372. package/esm/mark/text.js +37 -0
  373. package/esm/mark/text.js.map +1 -0
  374. package/esm/mark/tree.d.ts +4 -0
  375. package/esm/mark/tree.js +59 -0
  376. package/esm/mark/tree.js.map +1 -0
  377. package/esm/mark/treemap.d.ts +4 -0
  378. package/esm/mark/treemap.js +123 -0
  379. package/esm/mark/treemap.js.map +1 -0
  380. package/esm/mark/utils.d.ts +56 -3
  381. package/esm/mark/utils.js +98 -8
  382. package/esm/mark/utils.js.map +1 -1
  383. package/esm/mark/vector.d.ts +8 -0
  384. package/esm/mark/vector.js +39 -0
  385. package/esm/mark/vector.js.map +1 -0
  386. package/esm/mark/wordCloud.d.ts +4 -0
  387. package/esm/mark/wordCloud.js +65 -0
  388. package/esm/mark/wordCloud.js.map +1 -0
  389. package/esm/palette/category10.d.ts +1 -1
  390. package/esm/palette/category20.d.ts +1 -1
  391. package/esm/palette/divergingGreenRed.d.ts +7 -0
  392. package/esm/palette/divergingGreenRed.js +26 -0
  393. package/esm/palette/divergingGreenRed.js.map +1 -0
  394. package/esm/palette/divergingGreenYellow.d.ts +7 -0
  395. package/esm/palette/divergingGreenYellow.js +26 -0
  396. package/esm/palette/divergingGreenYellow.js.map +1 -0
  397. package/esm/palette/divergingRedBlue.d.ts +7 -0
  398. package/esm/palette/divergingRedBlue.js +26 -0
  399. package/esm/palette/divergingRedBlue.js.map +1 -0
  400. package/esm/palette/divergingRedPurple.d.ts +7 -0
  401. package/esm/palette/divergingRedPurple.js +26 -0
  402. package/esm/palette/divergingRedPurple.js.map +1 -0
  403. package/esm/palette/index.d.ts +36 -0
  404. package/esm/palette/index.js +18 -0
  405. package/esm/palette/index.js.map +1 -1
  406. package/esm/palette/sequentialBlue.d.ts +7 -0
  407. package/esm/palette/sequentialBlue.js +18 -0
  408. package/esm/palette/sequentialBlue.js.map +1 -0
  409. package/esm/palette/sequentialDarkBlue.d.ts +7 -0
  410. package/esm/palette/sequentialDarkBlue.js +18 -0
  411. package/esm/palette/sequentialDarkBlue.js.map +1 -0
  412. package/esm/palette/sequentialDarkGreen.d.ts +7 -0
  413. package/esm/palette/sequentialDarkGreen.js +18 -0
  414. package/esm/palette/sequentialDarkGreen.js.map +1 -0
  415. package/esm/palette/sequentialGreen.d.ts +7 -0
  416. package/esm/palette/sequentialGreen.js +18 -0
  417. package/esm/palette/sequentialGreen.js.map +1 -0
  418. package/esm/palette/sequentialGreenBlue.d.ts +7 -0
  419. package/esm/palette/sequentialGreenBlue.js +18 -0
  420. package/esm/palette/sequentialGreenBlue.js.map +1 -0
  421. package/esm/palette/sequentialGrey.d.ts +7 -0
  422. package/esm/palette/sequentialGrey.js +18 -0
  423. package/esm/palette/sequentialGrey.js.map +1 -0
  424. package/esm/palette/sequentialOrange.d.ts +7 -0
  425. package/esm/palette/sequentialOrange.js +18 -0
  426. package/esm/palette/sequentialOrange.js.map +1 -0
  427. package/esm/palette/sequentialPink.d.ts +7 -0
  428. package/esm/palette/sequentialPink.js +18 -0
  429. package/esm/palette/sequentialPink.js.map +1 -0
  430. package/esm/palette/sequentialPinkPurple.d.ts +7 -0
  431. package/esm/palette/sequentialPinkPurple.js +18 -0
  432. package/esm/palette/sequentialPinkPurple.js.map +1 -0
  433. package/esm/palette/sequentialPurple.d.ts +7 -0
  434. package/esm/palette/sequentialPurple.js +18 -0
  435. package/esm/palette/sequentialPurple.js.map +1 -0
  436. package/esm/palette/sequentialRed.d.ts +7 -0
  437. package/esm/palette/sequentialRed.js +18 -0
  438. package/esm/palette/sequentialRed.js.map +1 -0
  439. package/esm/palette/sequentialYellow.d.ts +7 -0
  440. package/esm/palette/sequentialYellow.js +18 -0
  441. package/esm/palette/sequentialYellow.js.map +1 -0
  442. package/esm/palette/sequentialYellowGreen.d.ts +7 -0
  443. package/esm/palette/sequentialYellowGreen.js +18 -0
  444. package/esm/palette/sequentialYellowGreen.js.map +1 -0
  445. package/esm/palette/sequentialYellowOrange.d.ts +7 -0
  446. package/esm/palette/sequentialYellowOrange.js +18 -0
  447. package/esm/palette/sequentialYellowOrange.js.map +1 -0
  448. package/esm/runtime/component.d.ts +1 -1
  449. package/esm/runtime/component.js +47 -34
  450. package/esm/runtime/component.js.map +1 -1
  451. package/esm/runtime/constant.d.ts +8 -0
  452. package/esm/runtime/constant.js +9 -0
  453. package/esm/runtime/constant.js.map +1 -0
  454. package/esm/runtime/coordinate.d.ts +8 -7
  455. package/esm/runtime/coordinate.js +25 -27
  456. package/esm/runtime/coordinate.js.map +1 -1
  457. package/esm/runtime/index.d.ts +2 -1
  458. package/esm/runtime/index.js +2 -1
  459. package/esm/runtime/index.js.map +1 -1
  460. package/esm/runtime/layout.js +107 -17
  461. package/esm/runtime/layout.js.map +1 -1
  462. package/esm/runtime/mark.d.ts +3 -3
  463. package/esm/runtime/mark.js +38 -41
  464. package/esm/runtime/mark.js.map +1 -1
  465. package/esm/runtime/plot.d.ts +4 -2
  466. package/esm/runtime/plot.js +397 -147
  467. package/esm/runtime/plot.js.map +1 -1
  468. package/esm/runtime/render.d.ts +4 -0
  469. package/esm/runtime/render.js +67 -5
  470. package/esm/runtime/render.js.map +1 -1
  471. package/esm/runtime/scale.d.ts +5 -4
  472. package/esm/runtime/scale.js +218 -170
  473. package/esm/runtime/scale.js.map +1 -1
  474. package/esm/runtime/transform.d.ts +2 -0
  475. package/esm/runtime/transform.js +48 -2
  476. package/esm/runtime/transform.js.map +1 -1
  477. package/esm/runtime/types/common.d.ts +52 -59
  478. package/esm/runtime/types/component.d.ts +36 -35
  479. package/esm/runtime/types/data.d.ts +4 -4
  480. package/esm/runtime/types/encode.d.ts +9 -9
  481. package/esm/runtime/types/mark.d.ts +14 -6
  482. package/esm/runtime/types/options.d.ts +52 -36
  483. package/esm/runtime/types/theme.d.ts +84 -0
  484. package/esm/runtime/types/theme.js +2 -0
  485. package/esm/runtime/types/theme.js.map +1 -0
  486. package/esm/runtime/types/transform.d.ts +7 -7
  487. package/esm/scale/band.d.ts +1 -1
  488. package/esm/scale/identity.d.ts +1 -1
  489. package/esm/scale/index.d.ts +4 -0
  490. package/esm/scale/index.js +2 -0
  491. package/esm/scale/index.js.map +1 -1
  492. package/esm/scale/linear.d.ts +1 -1
  493. package/esm/scale/log.d.ts +1 -1
  494. package/esm/scale/ordinal.d.ts +1 -1
  495. package/esm/scale/point.d.ts +1 -1
  496. package/esm/scale/pow.d.ts +1 -1
  497. package/esm/scale/quantile.d.ts +1 -1
  498. package/esm/scale/quantize.d.ts +1 -1
  499. package/esm/scale/sequential.d.ts +4 -0
  500. package/esm/scale/sequential.js +6 -0
  501. package/esm/scale/sequential.js.map +1 -0
  502. package/esm/scale/sqrt.d.ts +4 -0
  503. package/esm/scale/sqrt.js +6 -0
  504. package/esm/scale/sqrt.js.map +1 -0
  505. package/esm/scale/threshold.d.ts +1 -1
  506. package/esm/scale/time.d.ts +1 -1
  507. package/esm/shape/area/area.d.ts +1 -1
  508. package/esm/shape/area/area.js +3 -3
  509. package/esm/shape/area/area.js.map +1 -1
  510. package/esm/shape/area/curve.d.ts +8 -0
  511. package/esm/shape/area/curve.js +167 -0
  512. package/esm/shape/area/curve.js.map +1 -0
  513. package/esm/shape/area/smooth.d.ts +5 -0
  514. package/esm/shape/area/smooth.js +23 -0
  515. package/esm/shape/area/smooth.js.map +1 -0
  516. package/esm/shape/area/step.d.ts +3 -0
  517. package/esm/shape/area/step.js +9 -0
  518. package/esm/shape/area/step.js.map +1 -0
  519. package/esm/shape/box/box.d.ts +1 -1
  520. package/esm/shape/box/box.js +10 -7
  521. package/esm/shape/box/box.js.map +1 -1
  522. package/esm/shape/connector/connector.d.ts +11 -0
  523. package/esm/shape/connector/connector.js +92 -0
  524. package/esm/shape/connector/connector.js.map +1 -0
  525. package/esm/shape/createElement.d.ts +5 -0
  526. package/esm/shape/createElement.js +16 -0
  527. package/esm/shape/createElement.js.map +1 -0
  528. package/esm/shape/image/image.d.ts +1 -1
  529. package/esm/shape/image/image.js +10 -5
  530. package/esm/shape/image/image.js.map +1 -1
  531. package/esm/shape/index.d.ts +20 -16
  532. package/esm/shape/index.js +12 -10
  533. package/esm/shape/index.js.map +1 -1
  534. package/esm/shape/interval/color.d.ts +12 -0
  535. package/esm/shape/interval/color.js +92 -0
  536. package/esm/shape/interval/color.js.map +1 -0
  537. package/esm/shape/interval/funnel.d.ts +1 -1
  538. package/esm/shape/interval/funnel.js +3 -5
  539. package/esm/shape/interval/funnel.js.map +1 -1
  540. package/esm/shape/interval/hollow.d.ts +6 -0
  541. package/esm/shape/interval/hollow.js +9 -0
  542. package/esm/shape/interval/hollow.js.map +1 -0
  543. package/esm/shape/interval/pyramid.d.ts +1 -1
  544. package/esm/shape/interval/pyramid.js +2 -3
  545. package/esm/shape/interval/pyramid.js.map +1 -1
  546. package/esm/shape/interval/rect.d.ts +1 -1
  547. package/esm/shape/interval/rect.js +3 -3
  548. package/esm/shape/interval/rect.js.map +1 -1
  549. package/esm/shape/label/label.d.ts +1 -1
  550. package/esm/shape/label/label.js +24 -90
  551. package/esm/shape/label/label.js.map +1 -1
  552. package/esm/shape/label/position.d.ts +25 -0
  553. package/esm/shape/label/position.js +169 -0
  554. package/esm/shape/label/position.js.map +1 -0
  555. package/esm/shape/line/curve.d.ts +8 -0
  556. package/esm/shape/line/curve.js +123 -0
  557. package/esm/shape/line/curve.js.map +1 -0
  558. package/esm/shape/line/hv.d.ts +1 -1
  559. package/esm/shape/line/hv.js +3 -3
  560. package/esm/shape/line/hv.js.map +1 -1
  561. package/esm/shape/line/hvh.d.ts +1 -1
  562. package/esm/shape/line/hvh.js +3 -3
  563. package/esm/shape/line/hvh.js.map +1 -1
  564. package/esm/shape/line/line.d.ts +1 -1
  565. package/esm/shape/line/line.js +3 -3
  566. package/esm/shape/line/line.js.map +1 -1
  567. package/esm/shape/line/smooth.d.ts +1 -1
  568. package/esm/shape/line/smooth.js +3 -3
  569. package/esm/shape/line/smooth.js.map +1 -1
  570. package/esm/shape/line/vh.d.ts +1 -1
  571. package/esm/shape/line/vh.js +3 -3
  572. package/esm/shape/line/vh.js.map +1 -1
  573. package/esm/shape/lineXY/line.d.ts +3 -0
  574. package/esm/shape/lineXY/line.js +60 -0
  575. package/esm/shape/lineXY/line.js.map +1 -0
  576. package/esm/shape/link/arc.d.ts +1 -1
  577. package/esm/shape/link/arc.js +7 -3
  578. package/esm/shape/link/arc.js.map +1 -1
  579. package/esm/shape/link/link.d.ts +1 -7
  580. package/esm/shape/link/link.js +10 -6
  581. package/esm/shape/link/link.js.map +1 -1
  582. package/esm/shape/link/smooth.d.ts +6 -0
  583. package/esm/shape/link/smooth.js +43 -0
  584. package/esm/shape/link/smooth.js.map +1 -0
  585. package/esm/shape/link/vhv.d.ts +2 -2
  586. package/esm/shape/link/vhv.js +9 -5
  587. package/esm/shape/link/vhv.js.map +1 -1
  588. package/esm/shape/path/color.d.ts +9 -0
  589. package/esm/shape/path/color.js +37 -0
  590. package/esm/shape/path/color.js.map +1 -0
  591. package/esm/shape/path/hollow.d.ts +8 -0
  592. package/esm/shape/path/hollow.js +13 -0
  593. package/esm/shape/path/hollow.js.map +1 -0
  594. package/esm/shape/path/path.d.ts +8 -0
  595. package/esm/shape/path/path.js +13 -0
  596. package/esm/shape/path/path.js.map +1 -0
  597. package/esm/shape/point/bowtie.d.ts +1 -1
  598. package/esm/shape/point/bowtie.js +3 -3
  599. package/esm/shape/point/bowtie.js.map +1 -1
  600. package/esm/shape/point/color.d.ts +11 -0
  601. package/esm/shape/point/color.js +69 -0
  602. package/esm/shape/point/color.js.map +1 -0
  603. package/esm/shape/point/cross.d.ts +1 -1
  604. package/esm/shape/point/cross.js +3 -3
  605. package/esm/shape/point/cross.js.map +1 -1
  606. package/esm/shape/point/diamond.d.ts +1 -1
  607. package/esm/shape/point/diamond.js +3 -3
  608. package/esm/shape/point/diamond.js.map +1 -1
  609. package/esm/shape/point/hexagon.d.ts +1 -1
  610. package/esm/shape/point/hexagon.js +3 -3
  611. package/esm/shape/point/hexagon.js.map +1 -1
  612. package/esm/shape/point/hollow.d.ts +6 -0
  613. package/esm/shape/point/hollow.js +9 -0
  614. package/esm/shape/point/hollow.js.map +1 -0
  615. package/esm/shape/point/hollowBowtie.d.ts +1 -1
  616. package/esm/shape/point/hollowBowtie.js +3 -3
  617. package/esm/shape/point/hollowBowtie.js.map +1 -1
  618. package/esm/shape/point/hollowDiamond.d.ts +1 -1
  619. package/esm/shape/point/hollowDiamond.js +3 -3
  620. package/esm/shape/point/hollowDiamond.js.map +1 -1
  621. package/esm/shape/point/hollowHexagon.d.ts +1 -1
  622. package/esm/shape/point/hollowHexagon.js +3 -3
  623. package/esm/shape/point/hollowHexagon.js.map +1 -1
  624. package/esm/shape/point/hollowSquare.d.ts +1 -1
  625. package/esm/shape/point/hollowSquare.js +3 -3
  626. package/esm/shape/point/hollowSquare.js.map +1 -1
  627. package/esm/shape/point/hollowTriangle.d.ts +1 -1
  628. package/esm/shape/point/hollowTriangle.js +3 -3
  629. package/esm/shape/point/hollowTriangle.js.map +1 -1
  630. package/esm/shape/point/hollowTriangleDown.d.ts +1 -1
  631. package/esm/shape/point/hollowTriangleDown.js +3 -3
  632. package/esm/shape/point/hollowTriangleDown.js.map +1 -1
  633. package/esm/shape/point/hyphen.d.ts +1 -1
  634. package/esm/shape/point/hyphen.js +3 -3
  635. package/esm/shape/point/hyphen.js.map +1 -1
  636. package/esm/shape/point/line.d.ts +1 -1
  637. package/esm/shape/point/line.js +3 -3
  638. package/esm/shape/point/line.js.map +1 -1
  639. package/esm/shape/point/plus.d.ts +1 -1
  640. package/esm/shape/point/plus.js +3 -3
  641. package/esm/shape/point/plus.js.map +1 -1
  642. package/esm/shape/point/point.d.ts +1 -1
  643. package/esm/shape/point/point.js +3 -3
  644. package/esm/shape/point/point.js.map +1 -1
  645. package/esm/shape/point/square.d.ts +1 -1
  646. package/esm/shape/point/square.js +3 -3
  647. package/esm/shape/point/square.js.map +1 -1
  648. package/esm/shape/point/symbol.js +3 -2
  649. package/esm/shape/point/symbol.js.map +1 -1
  650. package/esm/shape/point/tick.d.ts +1 -1
  651. package/esm/shape/point/tick.js +3 -3
  652. package/esm/shape/point/tick.js.map +1 -1
  653. package/esm/shape/point/triangle.d.ts +1 -1
  654. package/esm/shape/point/triangle.js +3 -3
  655. package/esm/shape/point/triangle.js.map +1 -1
  656. package/esm/shape/point/triangleDown.d.ts +1 -1
  657. package/esm/shape/point/triangleDown.js +3 -3
  658. package/esm/shape/point/triangleDown.js.map +1 -1
  659. package/esm/shape/polygon/polygon.d.ts +1 -1
  660. package/esm/shape/polygon/polygon.js +8 -5
  661. package/esm/shape/polygon/polygon.js.map +1 -1
  662. package/esm/shape/polygon/ribbon.d.ts +1 -1
  663. package/esm/shape/polygon/ribbon.js +8 -5
  664. package/esm/shape/polygon/ribbon.js.map +1 -1
  665. package/esm/shape/shape/shape.d.ts +6 -0
  666. package/esm/shape/shape/shape.js +27 -0
  667. package/esm/shape/shape/shape.js.map +1 -0
  668. package/esm/shape/text/advance.d.ts +2 -0
  669. package/esm/shape/text/advance.js +122 -0
  670. package/esm/shape/text/advance.js.map +1 -0
  671. package/esm/shape/text/badge.d.ts +7 -0
  672. package/esm/shape/text/badge.js +79 -0
  673. package/esm/shape/text/badge.js.map +1 -0
  674. package/esm/shape/text/text.d.ts +1 -1
  675. package/esm/shape/text/text.js +18 -12
  676. package/esm/shape/text/text.js.map +1 -1
  677. package/esm/shape/utils.d.ts +29 -22
  678. package/esm/shape/utils.js +68 -19
  679. package/esm/shape/utils.js.map +1 -1
  680. package/esm/shape/vector/vector.d.ts +1 -7
  681. package/esm/shape/vector/vector.js +10 -7
  682. package/esm/shape/vector/vector.js.map +1 -1
  683. package/esm/spec/action.d.ts +27 -27
  684. package/esm/spec/animate.d.ts +1 -8
  685. package/esm/spec/composition.d.ts +73 -24
  686. package/esm/spec/coordinate.d.ts +23 -16
  687. package/esm/spec/data.d.ts +47 -25
  688. package/esm/spec/encode.d.ts +7 -7
  689. package/esm/spec/geometry.d.ts +103 -35
  690. package/esm/spec/index.d.ts +2 -2
  691. package/esm/spec/index.js +1 -1
  692. package/esm/spec/index.js.map +1 -1
  693. package/esm/spec/interaction.d.ts +45 -31
  694. package/esm/spec/labelTransform.d.ts +17 -0
  695. package/esm/spec/labelTransform.js +2 -0
  696. package/esm/spec/labelTransform.js.map +1 -0
  697. package/esm/spec/palette.d.ts +59 -5
  698. package/esm/spec/scale.d.ts +25 -18
  699. package/esm/spec/theme.d.ts +5 -5
  700. package/esm/spec/title.d.ts +1 -1
  701. package/esm/spec/transform.d.ts +80 -22
  702. package/esm/stdlib/index.js +46 -186
  703. package/esm/stdlib/index.js.map +1 -1
  704. package/esm/theme/dark.d.ts +6 -0
  705. package/esm/theme/dark.js +346 -0
  706. package/esm/theme/dark.js.map +1 -0
  707. package/esm/theme/index.d.ts +1 -0
  708. package/esm/theme/index.js +1 -0
  709. package/esm/theme/index.js.map +1 -1
  710. package/esm/theme/light.d.ts +1 -2
  711. package/esm/theme/light.js +324 -7
  712. package/esm/theme/light.js.map +1 -1
  713. package/esm/transform/Select.d.ts +1 -1
  714. package/esm/transform/SelectX.d.ts +1 -1
  715. package/esm/transform/SelectY.d.ts +1 -1
  716. package/esm/transform/bin.d.ts +12 -0
  717. package/esm/transform/bin.js +82 -0
  718. package/esm/transform/bin.js.map +1 -0
  719. package/esm/transform/binX.d.ts +4 -0
  720. package/esm/transform/binX.js +7 -0
  721. package/esm/transform/binX.js.map +1 -0
  722. package/esm/transform/diffY.d.ts +8 -0
  723. package/esm/transform/diffY.js +43 -0
  724. package/esm/transform/diffY.js.map +1 -0
  725. package/esm/transform/dodgeX.d.ts +1 -1
  726. package/esm/transform/flexX.d.ts +1 -1
  727. package/esm/transform/group.d.ts +10 -0
  728. package/esm/transform/group.js +23 -0
  729. package/esm/transform/group.js.map +1 -0
  730. package/esm/transform/groupColor.d.ts +7 -0
  731. package/esm/transform/groupColor.js +9 -0
  732. package/esm/transform/groupColor.js.map +1 -0
  733. package/esm/transform/groupN.d.ts +9 -0
  734. package/esm/transform/groupN.js +99 -0
  735. package/esm/transform/groupN.js.map +1 -0
  736. package/esm/transform/groupX.d.ts +1 -3
  737. package/esm/transform/groupX.js +2 -80
  738. package/esm/transform/groupX.js.map +1 -1
  739. package/esm/transform/groupY.d.ts +7 -0
  740. package/esm/transform/groupY.js +9 -0
  741. package/esm/transform/groupY.js.map +1 -0
  742. package/esm/transform/index.d.ts +42 -8
  743. package/esm/transform/index.js +21 -4
  744. package/esm/transform/index.js.map +1 -1
  745. package/esm/transform/jitter.d.ts +2 -1
  746. package/esm/transform/jitter.js +14 -5
  747. package/esm/transform/jitter.js.map +1 -1
  748. package/esm/transform/jitterX.d.ts +8 -0
  749. package/esm/transform/jitterX.js +25 -0
  750. package/esm/transform/jitterX.js.map +1 -0
  751. package/esm/transform/maybeFunctionAttribute.d.ts +6 -0
  752. package/esm/transform/maybeFunctionAttribute.js +19 -0
  753. package/esm/transform/maybeFunctionAttribute.js.map +1 -0
  754. package/esm/transform/maybeGradient.d.ts +7 -0
  755. package/esm/transform/maybeGradient.js +24 -0
  756. package/esm/transform/maybeGradient.js.map +1 -0
  757. package/esm/transform/maybeIdentityX.d.ts +7 -0
  758. package/esm/transform/maybeIdentityX.js +18 -0
  759. package/esm/transform/maybeIdentityX.js.map +1 -0
  760. package/esm/transform/maybeIdentityY.d.ts +7 -0
  761. package/esm/transform/maybeIdentityY.js +18 -0
  762. package/esm/transform/maybeIdentityY.js.map +1 -0
  763. package/esm/transform/maybeKey.d.ts +1 -1
  764. package/esm/transform/maybeSeries.d.ts +1 -1
  765. package/esm/transform/maybeSize.d.ts +1 -1
  766. package/esm/transform/maybeStackY.d.ts +1 -1
  767. package/esm/transform/maybeTitle.d.ts +8 -0
  768. package/esm/transform/maybeTitle.js +18 -0
  769. package/esm/transform/maybeTitle.js.map +1 -0
  770. package/esm/transform/maybeTooltip.d.ts +2 -2
  771. package/esm/transform/maybeTooltip.js +7 -5
  772. package/esm/transform/maybeTooltip.js.map +1 -1
  773. package/esm/transform/maybeTuple.d.ts +7 -0
  774. package/esm/transform/maybeTuple.js +19 -0
  775. package/esm/transform/maybeTuple.js.map +1 -0
  776. package/esm/transform/maybeTupleX.d.ts +7 -0
  777. package/esm/transform/maybeTupleX.js +16 -0
  778. package/esm/transform/maybeTupleX.js.map +1 -0
  779. package/esm/transform/maybeTupleY.d.ts +7 -0
  780. package/esm/transform/maybeTupleY.js +16 -0
  781. package/esm/transform/maybeTupleY.js.map +1 -0
  782. package/esm/transform/maybeVisualPosition.d.ts +7 -0
  783. package/esm/transform/maybeVisualPosition.js +45 -0
  784. package/esm/transform/maybeVisualPosition.js.map +1 -0
  785. package/esm/transform/maybeZeroPadding.d.ts +6 -0
  786. package/esm/transform/maybeZeroPadding.js +14 -0
  787. package/esm/transform/maybeZeroPadding.js.map +1 -0
  788. package/esm/transform/maybeZeroX.d.ts +1 -1
  789. package/esm/transform/maybeZeroX.js +1 -0
  790. package/esm/transform/maybeZeroX.js.map +1 -1
  791. package/esm/transform/maybeZeroY.d.ts +1 -1
  792. package/esm/transform/maybeZeroY.js +1 -0
  793. package/esm/transform/maybeZeroY.js.map +1 -1
  794. package/esm/transform/maybeZeroY1.d.ts +1 -1
  795. package/esm/transform/normalizeY.d.ts +1 -1
  796. package/esm/transform/normalizeY.js +13 -10
  797. package/esm/transform/normalizeY.js.map +1 -1
  798. package/esm/transform/pack.d.ts +8 -0
  799. package/esm/transform/pack.js +56 -0
  800. package/esm/transform/pack.js.map +1 -0
  801. package/esm/transform/sort.d.ts +14 -0
  802. package/esm/transform/sort.js +64 -0
  803. package/esm/transform/sort.js.map +1 -0
  804. package/esm/transform/sortColor.d.ts +7 -0
  805. package/esm/transform/sortColor.js +9 -0
  806. package/esm/transform/sortColor.js.map +1 -0
  807. package/esm/transform/sortX.d.ts +2 -3
  808. package/esm/transform/sortX.js +3 -54
  809. package/esm/transform/sortX.js.map +1 -1
  810. package/esm/transform/sortY.d.ts +7 -0
  811. package/esm/transform/sortY.js +9 -0
  812. package/esm/transform/sortY.js.map +1 -0
  813. package/esm/transform/stackEnter.d.ts +2 -1
  814. package/esm/transform/stackEnter.js +15 -5
  815. package/esm/transform/stackEnter.js.map +1 -1
  816. package/esm/transform/stackY.d.ts +1 -1
  817. package/esm/transform/stackY.js +25 -4
  818. package/esm/transform/stackY.js.map +1 -1
  819. package/esm/transform/symmetryY.d.ts +1 -1
  820. package/esm/transform/utils/helper.d.ts +1 -0
  821. package/esm/transform/utils/helper.js +9 -1
  822. package/esm/transform/utils/helper.js.map +1 -1
  823. package/esm/transform/utils/order.d.ts +3 -3
  824. package/esm/transform/utils/order.js +2 -0
  825. package/esm/transform/utils/order.js.map +1 -1
  826. package/esm/utils/coordinate.d.ts +2 -0
  827. package/esm/utils/coordinate.js +11 -1
  828. package/esm/utils/coordinate.js.map +1 -1
  829. package/esm/utils/event.d.ts +16 -0
  830. package/esm/utils/event.js +35 -0
  831. package/esm/utils/event.js.map +1 -0
  832. package/esm/utils/helper.d.ts +7 -2
  833. package/esm/utils/helper.js +21 -2
  834. package/esm/utils/helper.js.map +1 -1
  835. package/esm/utils/selection.d.ts +6 -4
  836. package/esm/utils/selection.js +24 -11
  837. package/esm/utils/selection.js.map +1 -1
  838. package/esm/utils/size.d.ts +26 -0
  839. package/esm/utils/size.js +63 -0
  840. package/esm/utils/size.js.map +1 -0
  841. package/esm/utils/string.d.ts +12 -0
  842. package/esm/utils/string.js +19 -0
  843. package/esm/utils/string.js.map +1 -0
  844. package/esm/utils/vector.d.ts +8 -2
  845. package/esm/utils/vector.js +10 -3
  846. package/esm/utils/vector.js.map +1 -1
  847. package/lib/animation/fadeIn.d.ts +2 -2
  848. package/lib/animation/fadeOut.d.ts +2 -2
  849. package/lib/animation/growInX.d.ts +7 -0
  850. package/lib/animation/growInX.js +30 -0
  851. package/lib/animation/growInX.js.map +1 -0
  852. package/lib/animation/growInY.d.ts +7 -0
  853. package/lib/animation/growInY.js +30 -0
  854. package/lib/animation/growInY.js.map +1 -0
  855. package/lib/animation/index.d.ts +10 -0
  856. package/lib/animation/index.js +13 -1
  857. package/lib/animation/index.js.map +1 -1
  858. package/lib/animation/morphing.d.ts +4 -4
  859. package/lib/animation/morphing.js +51 -35
  860. package/lib/animation/morphing.js.map +1 -1
  861. package/lib/animation/pathIn.d.ts +7 -0
  862. package/lib/animation/pathIn.js +22 -0
  863. package/lib/animation/pathIn.js.map +1 -0
  864. package/lib/animation/scaleInX.d.ts +2 -2
  865. package/lib/animation/scaleInY.d.ts +2 -2
  866. package/lib/animation/scaleOutX.d.ts +2 -2
  867. package/lib/animation/scaleOutY.d.ts +2 -2
  868. package/lib/animation/types.d.ts +6 -0
  869. package/lib/animation/types.js +3 -0
  870. package/lib/animation/types.js.map +1 -0
  871. package/lib/animation/utils.d.ts +3 -0
  872. package/lib/animation/utils.js +22 -1
  873. package/lib/animation/utils.js.map +1 -1
  874. package/lib/animation/waveIn.d.ts +7 -0
  875. package/lib/animation/waveIn.js +92 -0
  876. package/lib/animation/waveIn.js.map +1 -0
  877. package/lib/animation/zoomIn.d.ts +4 -0
  878. package/lib/animation/zoomIn.js +43 -0
  879. package/lib/animation/zoomIn.js.map +1 -0
  880. package/lib/animation/zoomOut.d.ts +4 -0
  881. package/lib/animation/zoomOut.js +38 -0
  882. package/lib/animation/zoomOut.js.map +1 -0
  883. package/lib/api/chart.d.ts +17 -4
  884. package/lib/api/chart.js +73 -9
  885. package/lib/api/chart.js.map +1 -1
  886. package/lib/api/composition/facetCircle.d.ts +18 -0
  887. package/lib/api/composition/facetCircle.js +30 -0
  888. package/lib/api/composition/facetCircle.js.map +1 -0
  889. package/lib/api/composition/facetRect.d.ts +18 -0
  890. package/lib/api/composition/facetRect.js +30 -0
  891. package/lib/api/composition/facetRect.js.map +1 -0
  892. package/lib/api/composition/geoPath.d.ts +21 -0
  893. package/lib/api/composition/geoPath.js +33 -0
  894. package/lib/api/composition/geoPath.js.map +1 -0
  895. package/lib/api/composition/geoView.d.ts +21 -0
  896. package/lib/api/composition/geoView.js +32 -0
  897. package/lib/api/composition/geoView.js.map +1 -0
  898. package/lib/api/composition/index.d.ts +25 -19
  899. package/lib/api/composition/index.js +25 -19
  900. package/lib/api/composition/index.js.map +1 -1
  901. package/lib/api/composition/repeatMatrix.d.ts +18 -0
  902. package/lib/api/composition/repeatMatrix.js +30 -0
  903. package/lib/api/composition/repeatMatrix.js.map +1 -0
  904. package/lib/api/composition/spaceFlex.d.ts +13 -0
  905. package/lib/api/composition/spaceFlex.js +22 -0
  906. package/lib/api/composition/spaceFlex.js.map +1 -0
  907. package/lib/api/composition/spaceLayer.d.ts +13 -0
  908. package/lib/api/composition/spaceLayer.js +22 -0
  909. package/lib/api/composition/spaceLayer.js.map +1 -0
  910. package/lib/api/composition/timingKeyframe.d.ts +12 -0
  911. package/lib/api/composition/timingKeyframe.js +22 -0
  912. package/lib/api/composition/timingKeyframe.js.map +1 -0
  913. package/lib/api/composition/view.d.ts +7 -8
  914. package/lib/api/composition/view.js +6 -7
  915. package/lib/api/composition/view.js.map +1 -1
  916. package/lib/api/mark/index.d.ts +33 -17
  917. package/lib/api/mark/index.js +16 -8
  918. package/lib/api/mark/index.js.map +1 -1
  919. package/lib/api/mark/mark.d.ts +69 -21
  920. package/lib/api/mark/mark.js +117 -52
  921. package/lib/api/mark/mark.js.map +1 -1
  922. package/lib/api/mark/types.d.ts +6 -12
  923. package/lib/api/node.d.ts +7 -0
  924. package/lib/api/node.js +56 -1
  925. package/lib/api/node.js.map +1 -1
  926. package/lib/api/props.d.ts +2 -2
  927. package/lib/api/props.js +32 -11
  928. package/lib/api/props.js.map +1 -1
  929. package/lib/api/types.d.ts +7 -7
  930. package/lib/component/axis.d.ts +9 -3
  931. package/lib/component/axis.js +177 -111
  932. package/lib/component/axis.js.map +1 -1
  933. package/lib/component/axisX.d.ts +1 -1
  934. package/lib/component/axisY.d.ts +1 -1
  935. package/lib/component/legendCategory.d.ts +6 -2
  936. package/lib/component/legendCategory.js +7 -10
  937. package/lib/component/legendCategory.js.map +1 -1
  938. package/lib/component/legendContinuous.d.ts +2 -1
  939. package/lib/component/legendContinuous.js +4 -3
  940. package/lib/component/legendContinuous.js.map +1 -1
  941. package/lib/component/title.d.ts +1 -1
  942. package/lib/component/utils.d.ts +1 -1
  943. package/lib/composition/facetCircle.d.ts +7 -0
  944. package/lib/composition/facetCircle.js +89 -0
  945. package/lib/composition/facetCircle.js.map +1 -0
  946. package/lib/composition/facetRect.d.ts +31 -0
  947. package/lib/composition/facetRect.js +309 -0
  948. package/lib/composition/facetRect.js.map +1 -0
  949. package/lib/composition/index.d.ts +12 -12
  950. package/lib/composition/index.js +13 -13
  951. package/lib/composition/index.js.map +1 -1
  952. package/lib/composition/mark.d.ts +1 -1
  953. package/lib/composition/mark.js +15 -4
  954. package/lib/composition/mark.js.map +1 -1
  955. package/lib/composition/repeatMatrix.d.ts +8 -0
  956. package/lib/composition/repeatMatrix.js +153 -0
  957. package/lib/composition/repeatMatrix.js.map +1 -0
  958. package/lib/composition/spaceFlex.d.ts +7 -0
  959. package/lib/composition/spaceFlex.js +44 -0
  960. package/lib/composition/spaceFlex.js.map +1 -0
  961. package/lib/composition/spaceLayer.d.ts +7 -0
  962. package/lib/composition/spaceLayer.js +36 -0
  963. package/lib/composition/spaceLayer.js.map +1 -0
  964. package/lib/composition/timingKeyframe.d.ts +7 -0
  965. package/lib/composition/timingKeyframe.js +78 -0
  966. package/lib/composition/timingKeyframe.js.map +1 -0
  967. package/lib/composition/utils.d.ts +1 -1
  968. package/lib/composition/view.d.ts +1 -1
  969. package/lib/composition/view.js +3 -3
  970. package/lib/composition/view.js.map +1 -1
  971. package/lib/coordinate/cartesian.d.ts +1 -1
  972. package/lib/coordinate/fisheye.d.ts +1 -1
  973. package/lib/coordinate/fisheyeX.d.ts +1 -1
  974. package/lib/coordinate/fisheyeY.d.ts +1 -1
  975. package/lib/coordinate/helix.d.ts +1 -1
  976. package/lib/coordinate/index.d.ts +2 -0
  977. package/lib/coordinate/index.js +3 -1
  978. package/lib/coordinate/index.js.map +1 -1
  979. package/lib/coordinate/parallel.d.ts +1 -1
  980. package/lib/coordinate/polar.d.ts +1 -1
  981. package/lib/coordinate/radial.d.ts +7 -0
  982. package/lib/coordinate/radial.js +16 -0
  983. package/lib/coordinate/radial.js.map +1 -0
  984. package/lib/coordinate/reflect.d.ts +1 -1
  985. package/lib/coordinate/reflectX.d.ts +1 -1
  986. package/lib/coordinate/reflectY.d.ts +1 -1
  987. package/lib/coordinate/theta.d.ts +1 -1
  988. package/lib/coordinate/transpose.d.ts +1 -1
  989. package/lib/data/arc.d.ts +1 -1
  990. package/lib/data/cluster.d.ts +1 -1
  991. package/lib/data/custom.d.ts +1 -1
  992. package/lib/data/fetch.d.ts +1 -1
  993. package/lib/data/fetch.js.map +1 -1
  994. package/lib/data/filter.d.ts +9 -0
  995. package/lib/data/filter.js +18 -0
  996. package/lib/data/filter.js.map +1 -0
  997. package/lib/data/fold.d.ts +1 -1
  998. package/lib/data/index.d.ts +6 -2
  999. package/lib/data/index.js +7 -3
  1000. package/lib/data/index.js.map +1 -1
  1001. package/lib/data/inline.d.ts +1 -1
  1002. package/lib/data/join.d.ts +7 -0
  1003. package/lib/data/join.js +26 -0
  1004. package/lib/data/join.js.map +1 -0
  1005. package/lib/data/map.d.ts +1 -1
  1006. package/lib/data/pick.d.ts +1 -1
  1007. package/lib/data/rename.d.ts +1 -1
  1008. package/lib/data/rename.js +2 -3
  1009. package/lib/data/rename.js.map +1 -1
  1010. package/lib/data/sankey.d.ts +1 -1
  1011. package/lib/data/sortBy.d.ts +1 -1
  1012. package/lib/data/subset.d.ts +1 -1
  1013. package/lib/data/tree.d.ts +1 -1
  1014. package/lib/data/utils/arc/types.d.ts +2 -2
  1015. package/lib/data/utils/flow.d.ts +1 -1
  1016. package/lib/data/wordCloud.d.ts +6 -1
  1017. package/lib/data/wordCloud.js +106 -6
  1018. package/lib/data/wordCloud.js.map +1 -1
  1019. package/lib/encode/column.d.ts +1 -1
  1020. package/lib/encode/constant.d.ts +1 -1
  1021. package/lib/encode/field.d.ts +1 -1
  1022. package/lib/encode/transform.d.ts +1 -1
  1023. package/lib/geo/d3-projection.d.ts +1 -0
  1024. package/lib/geo/d3-projection.js +36 -0
  1025. package/lib/geo/d3-projection.js.map +1 -0
  1026. package/lib/geo/geoPath.d.ts +7 -0
  1027. package/lib/geo/geoPath.js +40 -0
  1028. package/lib/geo/geoPath.js.map +1 -0
  1029. package/lib/geo/geoView.d.ts +7 -0
  1030. package/lib/geo/geoView.js +242 -0
  1031. package/lib/geo/geoView.js.map +1 -0
  1032. package/lib/geo/index.d.ts +9 -0
  1033. package/lib/geo/index.js +12 -0
  1034. package/lib/geo/index.js.map +1 -0
  1035. package/lib/interaction/action/service/elementSelection.d.ts +1 -1
  1036. package/lib/interaction/action/service/elementSelection.js +1 -1
  1037. package/lib/interaction/action/service/elementSelection.js.map +1 -1
  1038. package/lib/interaction/action/service/fisheyeFocus.d.ts +1 -1
  1039. package/lib/interaction/action/service/legendItemSelection.d.ts +1 -1
  1040. package/lib/interaction/action/service/recordCurrentPoint.d.ts +1 -1
  1041. package/lib/interaction/action/service/recordPoint.d.ts +1 -1
  1042. package/lib/interaction/action/service/recordRegion.d.ts +1 -1
  1043. package/lib/interaction/action/service/recordState.d.ts +1 -1
  1044. package/lib/interaction/action/service/recordTip.d.ts +1 -1
  1045. package/lib/interaction/action/service/surfacePointSelection.d.ts +1 -1
  1046. package/lib/interaction/action/service/triggerInfoSelection.d.ts +1 -1
  1047. package/lib/interaction/action/service/triggerInfoSelection.js.map +1 -1
  1048. package/lib/interaction/action/transformer/activeElement.d.ts +1 -1
  1049. package/lib/interaction/action/transformer/activeRegion.d.ts +1 -1
  1050. package/lib/interaction/action/transformer/button.d.ts +1 -1
  1051. package/lib/interaction/action/transformer/cursor.d.ts +1 -1
  1052. package/lib/interaction/action/transformer/filter.d.ts +2 -2
  1053. package/lib/interaction/action/transformer/filter.js +6 -4
  1054. package/lib/interaction/action/transformer/filter.js.map +1 -1
  1055. package/lib/interaction/action/transformer/filterElement.d.ts +1 -1
  1056. package/lib/interaction/action/transformer/highlightElement.d.ts +1 -1
  1057. package/lib/interaction/action/transformer/mask.d.ts +1 -1
  1058. package/lib/interaction/action/transformer/move.d.ts +1 -1
  1059. package/lib/interaction/action/transformer/plot.d.ts +1 -1
  1060. package/lib/interaction/action/transformer/poptip.d.ts +1 -1
  1061. package/lib/interaction/action/transformer/setItemState.d.ts +1 -1
  1062. package/lib/interaction/action/transformer/tooltip.d.ts +1 -1
  1063. package/lib/interaction/builtin/activeRegion.d.ts +1 -1
  1064. package/lib/interaction/builtin/activeRegion.js.map +1 -1
  1065. package/lib/interaction/builtin/brush.d.ts +1 -1
  1066. package/lib/interaction/builtin/brush.js.map +1 -1
  1067. package/lib/interaction/builtin/brushHighlight.d.ts +1 -1
  1068. package/lib/interaction/builtin/brushHighlight.js.map +1 -1
  1069. package/lib/interaction/builtin/brushVisible.d.ts +1 -1
  1070. package/lib/interaction/builtin/brushVisible.js.map +1 -1
  1071. package/lib/interaction/builtin/elementActive.d.ts +1 -3
  1072. package/lib/interaction/builtin/elementActive.js.map +1 -1
  1073. package/lib/interaction/builtin/elementHighlight.d.ts +1 -3
  1074. package/lib/interaction/builtin/elementHighlight.js.map +1 -1
  1075. package/lib/interaction/builtin/elementHighlightByColor.d.ts +3 -3
  1076. package/lib/interaction/builtin/elementHighlightByColor.js +1 -1
  1077. package/lib/interaction/builtin/elementHighlightByColor.js.map +1 -1
  1078. package/lib/interaction/builtin/elementHighlightByX.d.ts +5 -5
  1079. package/lib/interaction/builtin/elementHighlightByX.js +1 -1
  1080. package/lib/interaction/builtin/elementHighlightByX.js.map +1 -1
  1081. package/lib/interaction/builtin/elementListHighlight.d.ts +1 -1
  1082. package/lib/interaction/builtin/elementListHighlight.js.map +1 -1
  1083. package/lib/interaction/builtin/elementSelected.d.ts +2 -4
  1084. package/lib/interaction/builtin/elementSelected.js.map +1 -1
  1085. package/lib/interaction/builtin/ellipsisText.d.ts +1 -1
  1086. package/lib/interaction/builtin/ellipsisText.js.map +1 -1
  1087. package/lib/interaction/builtin/fisheye.d.ts +7 -1
  1088. package/lib/interaction/builtin/fisheye.js.map +1 -1
  1089. package/lib/interaction/builtin/legendActive.d.ts +1 -1
  1090. package/lib/interaction/builtin/legendActive.js.map +1 -1
  1091. package/lib/interaction/builtin/legendHighlight.d.ts +1 -1
  1092. package/lib/interaction/builtin/legendHighlight.js.map +1 -1
  1093. package/lib/interaction/builtin/tooltip.d.ts +9 -5
  1094. package/lib/interaction/builtin/tooltip.js.map +1 -1
  1095. package/lib/interaction/index.d.ts +9 -18
  1096. package/lib/interaction/index.js +48 -32
  1097. package/lib/interaction/index.js.map +1 -1
  1098. package/lib/interaction/interactor/mousePosition.d.ts +1 -1
  1099. package/lib/interaction/interactor/touchPosition.d.ts +1 -1
  1100. package/lib/interaction/native/chartIndex.d.ts +4 -0
  1101. package/lib/interaction/native/chartIndex.js +176 -0
  1102. package/lib/interaction/native/chartIndex.js.map +1 -0
  1103. package/lib/interaction/native/elementHighlight.d.ts +10 -0
  1104. package/lib/interaction/native/elementHighlight.js +74 -0
  1105. package/lib/interaction/native/elementHighlight.js.map +1 -0
  1106. package/lib/interaction/native/elementHighlightByColor.d.ts +4 -0
  1107. package/lib/interaction/native/elementHighlightByColor.js +16 -0
  1108. package/lib/interaction/native/elementHighlightByColor.js.map +1 -0
  1109. package/lib/interaction/native/elementHighlightByX.d.ts +8 -0
  1110. package/lib/interaction/native/elementHighlightByX.js +17 -0
  1111. package/lib/interaction/native/elementHighlightByX.js.map +1 -0
  1112. package/lib/interaction/native/elementSelect.d.ts +11 -0
  1113. package/lib/interaction/native/elementSelect.js +116 -0
  1114. package/lib/interaction/native/elementSelect.js.map +1 -0
  1115. package/lib/interaction/native/elementSelectByColor.d.ts +1 -0
  1116. package/lib/interaction/native/elementSelectByColor.js +13 -0
  1117. package/lib/interaction/native/elementSelectByColor.js.map +1 -0
  1118. package/lib/interaction/native/elementSelectByX.d.ts +1 -0
  1119. package/lib/interaction/native/elementSelectByX.js +13 -0
  1120. package/lib/interaction/native/elementSelectByX.js.map +1 -0
  1121. package/lib/interaction/native/fisheye.d.ts +4 -0
  1122. package/lib/interaction/native/fisheye.js +51 -0
  1123. package/lib/interaction/native/fisheye.js.map +1 -0
  1124. package/lib/interaction/native/tooltip.d.ts +11 -0
  1125. package/lib/interaction/native/tooltip.js +285 -0
  1126. package/lib/interaction/native/tooltip.js.map +1 -0
  1127. package/lib/interaction/native/utils.d.ts +28 -0
  1128. package/lib/interaction/native/utils.js +186 -0
  1129. package/lib/interaction/native/utils.js.map +1 -0
  1130. package/lib/interaction/types.d.ts +16 -16
  1131. package/lib/label-transform/dodgeY.d.ts +7 -0
  1132. package/lib/label-transform/dodgeY.js +79 -0
  1133. package/lib/label-transform/dodgeY.js.map +1 -0
  1134. package/lib/label-transform/hideOverlap.d.ts +4 -0
  1135. package/lib/label-transform/hideOverlap.js +52 -0
  1136. package/lib/label-transform/hideOverlap.js.map +1 -0
  1137. package/lib/label-transform/index.d.ts +8 -0
  1138. package/lib/label-transform/index.js +12 -0
  1139. package/lib/label-transform/index.js.map +1 -0
  1140. package/lib/label-transform/spider.d.ts +7 -0
  1141. package/lib/label-transform/spider.js +34 -0
  1142. package/lib/label-transform/spider.js.map +1 -0
  1143. package/lib/label-transform/surround.d.ts +7 -0
  1144. package/lib/label-transform/surround.js +34 -0
  1145. package/lib/label-transform/surround.js.map +1 -0
  1146. package/lib/mark/area.d.ts +4 -0
  1147. package/lib/mark/area.js +76 -0
  1148. package/lib/mark/area.js.map +1 -0
  1149. package/lib/mark/box.d.ts +34 -0
  1150. package/lib/mark/box.js +92 -0
  1151. package/lib/mark/box.js.map +1 -0
  1152. package/lib/mark/boxplot.d.ts +4 -0
  1153. package/lib/mark/boxplot.js +108 -0
  1154. package/lib/mark/boxplot.js.map +1 -0
  1155. package/lib/mark/cell.d.ts +9 -0
  1156. package/lib/mark/cell.js +47 -0
  1157. package/lib/mark/cell.js.map +1 -0
  1158. package/lib/mark/connector.d.ts +4 -0
  1159. package/lib/mark/connector.js +22 -0
  1160. package/lib/mark/connector.js.map +1 -0
  1161. package/lib/mark/forceGraph.d.ts +4 -0
  1162. package/lib/mark/forceGraph.js +99 -0
  1163. package/lib/mark/forceGraph.js.map +1 -0
  1164. package/lib/mark/image.d.ts +4 -0
  1165. package/lib/mark/image.js +38 -0
  1166. package/lib/mark/image.js.map +1 -0
  1167. package/lib/mark/index.d.ts +52 -0
  1168. package/lib/mark/index.js +58 -0
  1169. package/lib/mark/index.js.map +1 -0
  1170. package/lib/mark/interval.d.ts +12 -0
  1171. package/lib/mark/interval.js +74 -0
  1172. package/lib/mark/interval.js.map +1 -0
  1173. package/lib/mark/line.d.ts +7 -0
  1174. package/lib/mark/line.js +88 -0
  1175. package/lib/mark/line.js.map +1 -0
  1176. package/lib/mark/lineX.d.ts +4 -0
  1177. package/lib/mark/lineX.js +28 -0
  1178. package/lib/mark/lineX.js.map +1 -0
  1179. package/lib/mark/lineY.d.ts +4 -0
  1180. package/lib/mark/lineY.js +28 -0
  1181. package/lib/mark/lineY.js.map +1 -0
  1182. package/lib/mark/link.d.ts +7 -0
  1183. package/lib/mark/link.js +36 -0
  1184. package/lib/mark/link.js.map +1 -0
  1185. package/lib/mark/pack.d.ts +4 -0
  1186. package/lib/mark/pack.js +85 -0
  1187. package/lib/mark/pack.js.map +1 -0
  1188. package/lib/mark/path.d.ts +7 -0
  1189. package/lib/mark/path.js +28 -0
  1190. package/lib/mark/path.js.map +1 -0
  1191. package/lib/mark/point.d.ts +9 -0
  1192. package/lib/mark/point.js +86 -0
  1193. package/lib/mark/point.js.map +1 -0
  1194. package/lib/mark/polygon.d.ts +7 -0
  1195. package/lib/mark/polygon.js +43 -0
  1196. package/lib/mark/polygon.js.map +1 -0
  1197. package/lib/mark/range.d.ts +8 -0
  1198. package/lib/mark/range.js +49 -0
  1199. package/lib/mark/range.js.map +1 -0
  1200. package/lib/mark/rangeX.d.ts +4 -0
  1201. package/lib/mark/rangeX.js +21 -0
  1202. package/lib/mark/rangeX.js.map +1 -0
  1203. package/lib/mark/rangeY.d.ts +4 -0
  1204. package/lib/mark/rangeY.js +21 -0
  1205. package/lib/mark/rangeY.js.map +1 -0
  1206. package/lib/mark/rect.d.ts +4 -0
  1207. package/lib/mark/rect.js +34 -0
  1208. package/lib/mark/rect.js.map +1 -0
  1209. package/lib/mark/sankey.d.ts +8 -0
  1210. package/lib/mark/sankey.js +101 -0
  1211. package/lib/mark/sankey.js.map +1 -0
  1212. package/lib/mark/shape.d.ts +7 -0
  1213. package/lib/mark/shape.js +37 -0
  1214. package/lib/mark/shape.js.map +1 -0
  1215. package/lib/mark/text.d.ts +4 -0
  1216. package/lib/mark/text.js +41 -0
  1217. package/lib/mark/text.js.map +1 -0
  1218. package/lib/mark/tree.d.ts +4 -0
  1219. package/lib/mark/tree.js +63 -0
  1220. package/lib/mark/tree.js.map +1 -0
  1221. package/lib/mark/treemap.d.ts +4 -0
  1222. package/lib/mark/treemap.js +127 -0
  1223. package/lib/mark/treemap.js.map +1 -0
  1224. package/lib/mark/utils.d.ts +56 -3
  1225. package/lib/mark/utils.js +109 -9
  1226. package/lib/mark/utils.js.map +1 -1
  1227. package/lib/mark/vector.d.ts +8 -0
  1228. package/lib/mark/vector.js +43 -0
  1229. package/lib/mark/vector.js.map +1 -0
  1230. package/lib/mark/wordCloud.d.ts +4 -0
  1231. package/lib/mark/wordCloud.js +69 -0
  1232. package/lib/mark/wordCloud.js.map +1 -0
  1233. package/lib/palette/category10.d.ts +1 -1
  1234. package/lib/palette/category20.d.ts +1 -1
  1235. package/lib/palette/divergingGreenRed.d.ts +7 -0
  1236. package/lib/palette/divergingGreenRed.js +30 -0
  1237. package/lib/palette/divergingGreenRed.js.map +1 -0
  1238. package/lib/palette/divergingGreenYellow.d.ts +7 -0
  1239. package/lib/palette/divergingGreenYellow.js +30 -0
  1240. package/lib/palette/divergingGreenYellow.js.map +1 -0
  1241. package/lib/palette/divergingRedBlue.d.ts +7 -0
  1242. package/lib/palette/divergingRedBlue.js +30 -0
  1243. package/lib/palette/divergingRedBlue.js.map +1 -0
  1244. package/lib/palette/divergingRedPurple.d.ts +7 -0
  1245. package/lib/palette/divergingRedPurple.js +30 -0
  1246. package/lib/palette/divergingRedPurple.js.map +1 -0
  1247. package/lib/palette/index.d.ts +36 -0
  1248. package/lib/palette/index.js +37 -1
  1249. package/lib/palette/index.js.map +1 -1
  1250. package/lib/palette/sequentialBlue.d.ts +7 -0
  1251. package/lib/palette/sequentialBlue.js +22 -0
  1252. package/lib/palette/sequentialBlue.js.map +1 -0
  1253. package/lib/palette/sequentialDarkBlue.d.ts +7 -0
  1254. package/lib/palette/sequentialDarkBlue.js +22 -0
  1255. package/lib/palette/sequentialDarkBlue.js.map +1 -0
  1256. package/lib/palette/sequentialDarkGreen.d.ts +7 -0
  1257. package/lib/palette/sequentialDarkGreen.js +22 -0
  1258. package/lib/palette/sequentialDarkGreen.js.map +1 -0
  1259. package/lib/palette/sequentialGreen.d.ts +7 -0
  1260. package/lib/palette/sequentialGreen.js +22 -0
  1261. package/lib/palette/sequentialGreen.js.map +1 -0
  1262. package/lib/palette/sequentialGreenBlue.d.ts +7 -0
  1263. package/lib/palette/sequentialGreenBlue.js +22 -0
  1264. package/lib/palette/sequentialGreenBlue.js.map +1 -0
  1265. package/lib/palette/sequentialGrey.d.ts +7 -0
  1266. package/lib/palette/sequentialGrey.js +22 -0
  1267. package/lib/palette/sequentialGrey.js.map +1 -0
  1268. package/lib/palette/sequentialOrange.d.ts +7 -0
  1269. package/lib/palette/sequentialOrange.js +22 -0
  1270. package/lib/palette/sequentialOrange.js.map +1 -0
  1271. package/lib/palette/sequentialPink.d.ts +7 -0
  1272. package/lib/palette/sequentialPink.js +22 -0
  1273. package/lib/palette/sequentialPink.js.map +1 -0
  1274. package/lib/palette/sequentialPinkPurple.d.ts +7 -0
  1275. package/lib/palette/sequentialPinkPurple.js +22 -0
  1276. package/lib/palette/sequentialPinkPurple.js.map +1 -0
  1277. package/lib/palette/sequentialPurple.d.ts +7 -0
  1278. package/lib/palette/sequentialPurple.js +22 -0
  1279. package/lib/palette/sequentialPurple.js.map +1 -0
  1280. package/lib/palette/sequentialRed.d.ts +7 -0
  1281. package/lib/palette/sequentialRed.js +22 -0
  1282. package/lib/palette/sequentialRed.js.map +1 -0
  1283. package/lib/palette/sequentialYellow.d.ts +7 -0
  1284. package/lib/palette/sequentialYellow.js +22 -0
  1285. package/lib/palette/sequentialYellow.js.map +1 -0
  1286. package/lib/palette/sequentialYellowGreen.d.ts +7 -0
  1287. package/lib/palette/sequentialYellowGreen.js +22 -0
  1288. package/lib/palette/sequentialYellowGreen.js.map +1 -0
  1289. package/lib/palette/sequentialYellowOrange.d.ts +7 -0
  1290. package/lib/palette/sequentialYellowOrange.js +22 -0
  1291. package/lib/palette/sequentialYellowOrange.js.map +1 -0
  1292. package/lib/runtime/component.d.ts +1 -1
  1293. package/lib/runtime/component.js +46 -33
  1294. package/lib/runtime/component.js.map +1 -1
  1295. package/lib/runtime/constant.d.ts +8 -0
  1296. package/lib/runtime/constant.js +12 -0
  1297. package/lib/runtime/constant.js.map +1 -0
  1298. package/lib/runtime/coordinate.d.ts +8 -7
  1299. package/lib/runtime/coordinate.js +27 -28
  1300. package/lib/runtime/coordinate.js.map +1 -1
  1301. package/lib/runtime/index.d.ts +2 -1
  1302. package/lib/runtime/index.js +4 -1
  1303. package/lib/runtime/index.js.map +1 -1
  1304. package/lib/runtime/layout.js +107 -17
  1305. package/lib/runtime/layout.js.map +1 -1
  1306. package/lib/runtime/mark.d.ts +3 -3
  1307. package/lib/runtime/mark.js +36 -39
  1308. package/lib/runtime/mark.js.map +1 -1
  1309. package/lib/runtime/plot.d.ts +4 -2
  1310. package/lib/runtime/plot.js +396 -145
  1311. package/lib/runtime/plot.js.map +1 -1
  1312. package/lib/runtime/render.d.ts +4 -0
  1313. package/lib/runtime/render.js +69 -4
  1314. package/lib/runtime/render.js.map +1 -1
  1315. package/lib/runtime/scale.d.ts +5 -4
  1316. package/lib/runtime/scale.js +241 -169
  1317. package/lib/runtime/scale.js.map +1 -1
  1318. package/lib/runtime/transform.d.ts +2 -0
  1319. package/lib/runtime/transform.js +51 -3
  1320. package/lib/runtime/transform.js.map +1 -1
  1321. package/lib/runtime/types/common.d.ts +52 -59
  1322. package/lib/runtime/types/component.d.ts +36 -35
  1323. package/lib/runtime/types/data.d.ts +4 -4
  1324. package/lib/runtime/types/encode.d.ts +9 -9
  1325. package/lib/runtime/types/mark.d.ts +14 -6
  1326. package/lib/runtime/types/options.d.ts +52 -36
  1327. package/lib/runtime/types/theme.d.ts +84 -0
  1328. package/lib/runtime/types/theme.js +3 -0
  1329. package/lib/runtime/types/theme.js.map +1 -0
  1330. package/lib/runtime/types/transform.d.ts +7 -7
  1331. package/lib/scale/band.d.ts +1 -1
  1332. package/lib/scale/identity.d.ts +1 -1
  1333. package/lib/scale/index.d.ts +4 -0
  1334. package/lib/scale/index.js +5 -1
  1335. package/lib/scale/index.js.map +1 -1
  1336. package/lib/scale/linear.d.ts +1 -1
  1337. package/lib/scale/log.d.ts +1 -1
  1338. package/lib/scale/ordinal.d.ts +1 -1
  1339. package/lib/scale/point.d.ts +1 -1
  1340. package/lib/scale/pow.d.ts +1 -1
  1341. package/lib/scale/quantile.d.ts +1 -1
  1342. package/lib/scale/quantize.d.ts +1 -1
  1343. package/lib/scale/sequential.d.ts +4 -0
  1344. package/lib/scale/sequential.js +10 -0
  1345. package/lib/scale/sequential.js.map +1 -0
  1346. package/lib/scale/sqrt.d.ts +4 -0
  1347. package/lib/scale/sqrt.js +10 -0
  1348. package/lib/scale/sqrt.js.map +1 -0
  1349. package/lib/scale/threshold.d.ts +1 -1
  1350. package/lib/scale/time.d.ts +1 -1
  1351. package/lib/shape/area/area.d.ts +1 -1
  1352. package/lib/shape/area/area.js +3 -3
  1353. package/lib/shape/area/area.js.map +1 -1
  1354. package/lib/shape/area/curve.d.ts +8 -0
  1355. package/lib/shape/area/curve.js +171 -0
  1356. package/lib/shape/area/curve.js.map +1 -0
  1357. package/lib/shape/area/smooth.d.ts +5 -0
  1358. package/lib/shape/area/smooth.js +27 -0
  1359. package/lib/shape/area/smooth.js.map +1 -0
  1360. package/lib/shape/area/step.d.ts +3 -0
  1361. package/lib/shape/area/step.js +13 -0
  1362. package/lib/shape/area/step.js.map +1 -0
  1363. package/lib/shape/box/box.d.ts +1 -1
  1364. package/lib/shape/box/box.js +9 -6
  1365. package/lib/shape/box/box.js.map +1 -1
  1366. package/lib/shape/connector/connector.d.ts +11 -0
  1367. package/lib/shape/connector/connector.js +96 -0
  1368. package/lib/shape/connector/connector.js.map +1 -0
  1369. package/lib/shape/createElement.d.ts +5 -0
  1370. package/lib/shape/createElement.js +20 -0
  1371. package/lib/shape/createElement.js.map +1 -0
  1372. package/lib/shape/image/image.d.ts +1 -1
  1373. package/lib/shape/image/image.js +9 -4
  1374. package/lib/shape/image/image.js.map +1 -1
  1375. package/lib/shape/index.d.ts +20 -16
  1376. package/lib/shape/index.js +24 -19
  1377. package/lib/shape/index.js.map +1 -1
  1378. package/lib/shape/interval/color.d.ts +12 -0
  1379. package/lib/shape/interval/color.js +96 -0
  1380. package/lib/shape/interval/color.js.map +1 -0
  1381. package/lib/shape/interval/funnel.d.ts +1 -1
  1382. package/lib/shape/interval/funnel.js +3 -5
  1383. package/lib/shape/interval/funnel.js.map +1 -1
  1384. package/lib/shape/interval/hollow.d.ts +6 -0
  1385. package/lib/shape/interval/hollow.js +13 -0
  1386. package/lib/shape/interval/hollow.js.map +1 -0
  1387. package/lib/shape/interval/pyramid.d.ts +1 -1
  1388. package/lib/shape/interval/pyramid.js +2 -3
  1389. package/lib/shape/interval/pyramid.js.map +1 -1
  1390. package/lib/shape/interval/rect.d.ts +1 -1
  1391. package/lib/shape/interval/rect.js +3 -3
  1392. package/lib/shape/interval/rect.js.map +1 -1
  1393. package/lib/shape/label/label.d.ts +1 -1
  1394. package/lib/shape/label/label.js +45 -88
  1395. package/lib/shape/label/label.js.map +1 -1
  1396. package/lib/shape/label/position.d.ts +25 -0
  1397. package/lib/shape/label/position.js +173 -0
  1398. package/lib/shape/label/position.js.map +1 -0
  1399. package/lib/shape/line/curve.d.ts +8 -0
  1400. package/lib/shape/line/curve.js +127 -0
  1401. package/lib/shape/line/curve.js.map +1 -0
  1402. package/lib/shape/line/hv.d.ts +1 -1
  1403. package/lib/shape/line/hv.js +3 -3
  1404. package/lib/shape/line/hv.js.map +1 -1
  1405. package/lib/shape/line/hvh.d.ts +1 -1
  1406. package/lib/shape/line/hvh.js +3 -3
  1407. package/lib/shape/line/hvh.js.map +1 -1
  1408. package/lib/shape/line/line.d.ts +1 -1
  1409. package/lib/shape/line/line.js +3 -3
  1410. package/lib/shape/line/line.js.map +1 -1
  1411. package/lib/shape/line/smooth.d.ts +1 -1
  1412. package/lib/shape/line/smooth.js +3 -3
  1413. package/lib/shape/line/smooth.js.map +1 -1
  1414. package/lib/shape/line/vh.d.ts +1 -1
  1415. package/lib/shape/line/vh.js +3 -3
  1416. package/lib/shape/line/vh.js.map +1 -1
  1417. package/lib/shape/lineXY/line.d.ts +3 -0
  1418. package/lib/shape/lineXY/line.js +64 -0
  1419. package/lib/shape/lineXY/line.js.map +1 -0
  1420. package/lib/shape/link/arc.d.ts +1 -1
  1421. package/lib/shape/link/arc.js +6 -2
  1422. package/lib/shape/link/arc.js.map +1 -1
  1423. package/lib/shape/link/link.d.ts +1 -7
  1424. package/lib/shape/link/link.js +9 -5
  1425. package/lib/shape/link/link.js.map +1 -1
  1426. package/lib/shape/link/smooth.d.ts +6 -0
  1427. package/lib/shape/link/smooth.js +47 -0
  1428. package/lib/shape/link/smooth.js.map +1 -0
  1429. package/lib/shape/link/vhv.d.ts +2 -2
  1430. package/lib/shape/link/vhv.js +10 -6
  1431. package/lib/shape/link/vhv.js.map +1 -1
  1432. package/lib/shape/path/color.d.ts +9 -0
  1433. package/lib/shape/path/color.js +41 -0
  1434. package/lib/shape/path/color.js.map +1 -0
  1435. package/lib/shape/path/hollow.d.ts +8 -0
  1436. package/lib/shape/path/hollow.js +17 -0
  1437. package/lib/shape/path/hollow.js.map +1 -0
  1438. package/lib/shape/path/path.d.ts +8 -0
  1439. package/lib/shape/path/path.js +17 -0
  1440. package/lib/shape/path/path.js.map +1 -0
  1441. package/lib/shape/point/bowtie.d.ts +1 -1
  1442. package/lib/shape/point/bowtie.js +3 -3
  1443. package/lib/shape/point/bowtie.js.map +1 -1
  1444. package/lib/shape/point/color.d.ts +11 -0
  1445. package/lib/shape/point/color.js +96 -0
  1446. package/lib/shape/point/color.js.map +1 -0
  1447. package/lib/shape/point/cross.d.ts +1 -1
  1448. package/lib/shape/point/cross.js +3 -3
  1449. package/lib/shape/point/cross.js.map +1 -1
  1450. package/lib/shape/point/diamond.d.ts +1 -1
  1451. package/lib/shape/point/diamond.js +3 -3
  1452. package/lib/shape/point/diamond.js.map +1 -1
  1453. package/lib/shape/point/hexagon.d.ts +1 -1
  1454. package/lib/shape/point/hexagon.js +3 -3
  1455. package/lib/shape/point/hexagon.js.map +1 -1
  1456. package/lib/shape/point/hollow.d.ts +6 -0
  1457. package/lib/shape/point/hollow.js +13 -0
  1458. package/lib/shape/point/hollow.js.map +1 -0
  1459. package/lib/shape/point/hollowBowtie.d.ts +1 -1
  1460. package/lib/shape/point/hollowBowtie.js +3 -3
  1461. package/lib/shape/point/hollowBowtie.js.map +1 -1
  1462. package/lib/shape/point/hollowDiamond.d.ts +1 -1
  1463. package/lib/shape/point/hollowDiamond.js +3 -3
  1464. package/lib/shape/point/hollowDiamond.js.map +1 -1
  1465. package/lib/shape/point/hollowHexagon.d.ts +1 -1
  1466. package/lib/shape/point/hollowHexagon.js +3 -3
  1467. package/lib/shape/point/hollowHexagon.js.map +1 -1
  1468. package/lib/shape/point/hollowSquare.d.ts +1 -1
  1469. package/lib/shape/point/hollowSquare.js +3 -3
  1470. package/lib/shape/point/hollowSquare.js.map +1 -1
  1471. package/lib/shape/point/hollowTriangle.d.ts +1 -1
  1472. package/lib/shape/point/hollowTriangle.js +3 -3
  1473. package/lib/shape/point/hollowTriangle.js.map +1 -1
  1474. package/lib/shape/point/hollowTriangleDown.d.ts +1 -1
  1475. package/lib/shape/point/hollowTriangleDown.js +3 -3
  1476. package/lib/shape/point/hollowTriangleDown.js.map +1 -1
  1477. package/lib/shape/point/hyphen.d.ts +1 -1
  1478. package/lib/shape/point/hyphen.js +3 -3
  1479. package/lib/shape/point/hyphen.js.map +1 -1
  1480. package/lib/shape/point/line.d.ts +1 -1
  1481. package/lib/shape/point/line.js +3 -3
  1482. package/lib/shape/point/line.js.map +1 -1
  1483. package/lib/shape/point/plus.d.ts +1 -1
  1484. package/lib/shape/point/plus.js +3 -3
  1485. package/lib/shape/point/plus.js.map +1 -1
  1486. package/lib/shape/point/point.d.ts +1 -1
  1487. package/lib/shape/point/point.js +3 -3
  1488. package/lib/shape/point/point.js.map +1 -1
  1489. package/lib/shape/point/square.d.ts +1 -1
  1490. package/lib/shape/point/square.js +3 -3
  1491. package/lib/shape/point/square.js.map +1 -1
  1492. package/lib/shape/point/symbol.js +3 -2
  1493. package/lib/shape/point/symbol.js.map +1 -1
  1494. package/lib/shape/point/tick.d.ts +1 -1
  1495. package/lib/shape/point/tick.js +3 -3
  1496. package/lib/shape/point/tick.js.map +1 -1
  1497. package/lib/shape/point/triangle.d.ts +1 -1
  1498. package/lib/shape/point/triangle.js +3 -3
  1499. package/lib/shape/point/triangle.js.map +1 -1
  1500. package/lib/shape/point/triangleDown.d.ts +1 -1
  1501. package/lib/shape/point/triangleDown.js +3 -3
  1502. package/lib/shape/point/triangleDown.js.map +1 -1
  1503. package/lib/shape/polygon/polygon.d.ts +1 -1
  1504. package/lib/shape/polygon/polygon.js +7 -4
  1505. package/lib/shape/polygon/polygon.js.map +1 -1
  1506. package/lib/shape/polygon/ribbon.d.ts +1 -1
  1507. package/lib/shape/polygon/ribbon.js +7 -4
  1508. package/lib/shape/polygon/ribbon.js.map +1 -1
  1509. package/lib/shape/shape/shape.d.ts +6 -0
  1510. package/lib/shape/shape/shape.js +31 -0
  1511. package/lib/shape/shape/shape.js.map +1 -0
  1512. package/lib/shape/text/advance.d.ts +2 -0
  1513. package/lib/shape/text/advance.js +125 -0
  1514. package/lib/shape/text/advance.js.map +1 -0
  1515. package/lib/shape/text/badge.d.ts +7 -0
  1516. package/lib/shape/text/badge.js +83 -0
  1517. package/lib/shape/text/badge.js.map +1 -0
  1518. package/lib/shape/text/text.d.ts +1 -1
  1519. package/lib/shape/text/text.js +17 -11
  1520. package/lib/shape/text/text.js.map +1 -1
  1521. package/lib/shape/utils.d.ts +29 -22
  1522. package/lib/shape/utils.js +71 -18
  1523. package/lib/shape/utils.js.map +1 -1
  1524. package/lib/shape/vector/vector.d.ts +1 -7
  1525. package/lib/shape/vector/vector.js +9 -6
  1526. package/lib/shape/vector/vector.js.map +1 -1
  1527. package/lib/spec/action.d.ts +27 -27
  1528. package/lib/spec/animate.d.ts +1 -8
  1529. package/lib/spec/composition.d.ts +73 -24
  1530. package/lib/spec/coordinate.d.ts +23 -16
  1531. package/lib/spec/data.d.ts +47 -25
  1532. package/lib/spec/encode.d.ts +7 -7
  1533. package/lib/spec/geometry.d.ts +103 -35
  1534. package/lib/spec/index.d.ts +2 -2
  1535. package/lib/spec/index.js +1 -1
  1536. package/lib/spec/index.js.map +1 -1
  1537. package/lib/spec/interaction.d.ts +45 -31
  1538. package/lib/spec/labelTransform.d.ts +17 -0
  1539. package/lib/spec/labelTransform.js +3 -0
  1540. package/lib/spec/labelTransform.js.map +1 -0
  1541. package/lib/spec/palette.d.ts +59 -5
  1542. package/lib/spec/scale.d.ts +25 -18
  1543. package/lib/spec/theme.d.ts +5 -5
  1544. package/lib/spec/title.d.ts +1 -1
  1545. package/lib/spec/transform.d.ts +80 -22
  1546. package/lib/stdlib/index.js +20 -176
  1547. package/lib/stdlib/index.js.map +1 -1
  1548. package/lib/theme/dark.d.ts +6 -0
  1549. package/lib/theme/dark.js +350 -0
  1550. package/lib/theme/dark.js.map +1 -0
  1551. package/lib/theme/index.d.ts +1 -0
  1552. package/lib/theme/index.js +3 -1
  1553. package/lib/theme/index.js.map +1 -1
  1554. package/lib/theme/light.d.ts +1 -2
  1555. package/lib/theme/light.js +324 -7
  1556. package/lib/theme/light.js.map +1 -1
  1557. package/lib/transform/Select.d.ts +1 -1
  1558. package/lib/transform/SelectX.d.ts +1 -1
  1559. package/lib/transform/SelectY.d.ts +1 -1
  1560. package/lib/transform/bin.d.ts +12 -0
  1561. package/lib/transform/bin.js +86 -0
  1562. package/lib/transform/bin.js.map +1 -0
  1563. package/lib/transform/binX.d.ts +4 -0
  1564. package/lib/transform/binX.js +11 -0
  1565. package/lib/transform/binX.js.map +1 -0
  1566. package/lib/transform/diffY.d.ts +8 -0
  1567. package/lib/transform/diffY.js +47 -0
  1568. package/lib/transform/diffY.js.map +1 -0
  1569. package/lib/transform/dodgeX.d.ts +1 -1
  1570. package/lib/transform/flexX.d.ts +1 -1
  1571. package/lib/transform/group.d.ts +10 -0
  1572. package/lib/transform/group.js +27 -0
  1573. package/lib/transform/group.js.map +1 -0
  1574. package/lib/transform/groupColor.d.ts +7 -0
  1575. package/lib/transform/groupColor.js +13 -0
  1576. package/lib/transform/groupColor.js.map +1 -0
  1577. package/lib/transform/groupN.d.ts +9 -0
  1578. package/lib/transform/groupN.js +103 -0
  1579. package/lib/transform/groupN.js.map +1 -0
  1580. package/lib/transform/groupX.d.ts +1 -3
  1581. package/lib/transform/groupX.js +2 -80
  1582. package/lib/transform/groupX.js.map +1 -1
  1583. package/lib/transform/groupY.d.ts +7 -0
  1584. package/lib/transform/groupY.js +13 -0
  1585. package/lib/transform/groupY.js.map +1 -0
  1586. package/lib/transform/index.d.ts +42 -8
  1587. package/lib/transform/index.js +43 -9
  1588. package/lib/transform/index.js.map +1 -1
  1589. package/lib/transform/jitter.d.ts +2 -1
  1590. package/lib/transform/jitter.js +19 -9
  1591. package/lib/transform/jitter.js.map +1 -1
  1592. package/lib/transform/jitterX.d.ts +8 -0
  1593. package/lib/transform/jitterX.js +29 -0
  1594. package/lib/transform/jitterX.js.map +1 -0
  1595. package/lib/transform/maybeFunctionAttribute.d.ts +6 -0
  1596. package/lib/transform/maybeFunctionAttribute.js +23 -0
  1597. package/lib/transform/maybeFunctionAttribute.js.map +1 -0
  1598. package/lib/transform/maybeGradient.d.ts +7 -0
  1599. package/lib/transform/maybeGradient.js +28 -0
  1600. package/lib/transform/maybeGradient.js.map +1 -0
  1601. package/lib/transform/maybeIdentityX.d.ts +7 -0
  1602. package/lib/transform/maybeIdentityX.js +22 -0
  1603. package/lib/transform/maybeIdentityX.js.map +1 -0
  1604. package/lib/transform/maybeIdentityY.d.ts +7 -0
  1605. package/lib/transform/maybeIdentityY.js +22 -0
  1606. package/lib/transform/maybeIdentityY.js.map +1 -0
  1607. package/lib/transform/maybeKey.d.ts +1 -1
  1608. package/lib/transform/maybeSeries.d.ts +1 -1
  1609. package/lib/transform/maybeSize.d.ts +1 -1
  1610. package/lib/transform/maybeStackY.d.ts +1 -1
  1611. package/lib/transform/maybeTitle.d.ts +8 -0
  1612. package/lib/transform/maybeTitle.js +22 -0
  1613. package/lib/transform/maybeTitle.js.map +1 -0
  1614. package/lib/transform/maybeTooltip.d.ts +2 -2
  1615. package/lib/transform/maybeTooltip.js +7 -5
  1616. package/lib/transform/maybeTooltip.js.map +1 -1
  1617. package/lib/transform/maybeTuple.d.ts +7 -0
  1618. package/lib/transform/maybeTuple.js +23 -0
  1619. package/lib/transform/maybeTuple.js.map +1 -0
  1620. package/lib/transform/maybeTupleX.d.ts +7 -0
  1621. package/lib/transform/maybeTupleX.js +20 -0
  1622. package/lib/transform/maybeTupleX.js.map +1 -0
  1623. package/lib/transform/maybeTupleY.d.ts +7 -0
  1624. package/lib/transform/maybeTupleY.js +20 -0
  1625. package/lib/transform/maybeTupleY.js.map +1 -0
  1626. package/lib/transform/maybeVisualPosition.d.ts +7 -0
  1627. package/lib/transform/maybeVisualPosition.js +49 -0
  1628. package/lib/transform/maybeVisualPosition.js.map +1 -0
  1629. package/lib/transform/maybeZeroPadding.d.ts +6 -0
  1630. package/lib/transform/maybeZeroPadding.js +18 -0
  1631. package/lib/transform/maybeZeroPadding.js.map +1 -0
  1632. package/lib/transform/maybeZeroX.d.ts +1 -1
  1633. package/lib/transform/maybeZeroX.js +1 -0
  1634. package/lib/transform/maybeZeroX.js.map +1 -1
  1635. package/lib/transform/maybeZeroY.d.ts +1 -1
  1636. package/lib/transform/maybeZeroY.js +1 -0
  1637. package/lib/transform/maybeZeroY.js.map +1 -1
  1638. package/lib/transform/maybeZeroY1.d.ts +1 -1
  1639. package/lib/transform/normalizeY.d.ts +1 -1
  1640. package/lib/transform/normalizeY.js +13 -10
  1641. package/lib/transform/normalizeY.js.map +1 -1
  1642. package/lib/transform/pack.d.ts +8 -0
  1643. package/lib/transform/pack.js +60 -0
  1644. package/lib/transform/pack.js.map +1 -0
  1645. package/lib/transform/sort.d.ts +14 -0
  1646. package/lib/transform/sort.js +68 -0
  1647. package/lib/transform/sort.js.map +1 -0
  1648. package/lib/transform/sortColor.d.ts +7 -0
  1649. package/lib/transform/sortColor.js +13 -0
  1650. package/lib/transform/sortColor.js.map +1 -0
  1651. package/lib/transform/sortX.d.ts +2 -3
  1652. package/lib/transform/sortX.js +3 -54
  1653. package/lib/transform/sortX.js.map +1 -1
  1654. package/lib/transform/sortY.d.ts +7 -0
  1655. package/lib/transform/sortY.js +13 -0
  1656. package/lib/transform/sortY.js.map +1 -0
  1657. package/lib/transform/stackEnter.d.ts +2 -1
  1658. package/lib/transform/stackEnter.js +15 -5
  1659. package/lib/transform/stackEnter.js.map +1 -1
  1660. package/lib/transform/stackY.d.ts +1 -1
  1661. package/lib/transform/stackY.js +25 -4
  1662. package/lib/transform/stackY.js.map +1 -1
  1663. package/lib/transform/symmetryY.d.ts +1 -1
  1664. package/lib/transform/utils/helper.d.ts +1 -0
  1665. package/lib/transform/utils/helper.js +11 -2
  1666. package/lib/transform/utils/helper.js.map +1 -1
  1667. package/lib/transform/utils/order.d.ts +3 -3
  1668. package/lib/transform/utils/order.js +2 -0
  1669. package/lib/transform/utils/order.js.map +1 -1
  1670. package/lib/utils/coordinate.d.ts +2 -0
  1671. package/lib/utils/coordinate.js +14 -2
  1672. package/lib/utils/coordinate.js.map +1 -1
  1673. package/lib/utils/event.d.ts +16 -0
  1674. package/lib/utils/event.js +40 -0
  1675. package/lib/utils/event.js.map +1 -0
  1676. package/lib/utils/helper.d.ts +7 -2
  1677. package/lib/utils/helper.js +25 -3
  1678. package/lib/utils/helper.js.map +1 -1
  1679. package/lib/utils/selection.d.ts +6 -4
  1680. package/lib/utils/selection.js +24 -11
  1681. package/lib/utils/selection.js.map +1 -1
  1682. package/lib/utils/size.d.ts +26 -0
  1683. package/lib/utils/size.js +69 -0
  1684. package/lib/utils/size.js.map +1 -0
  1685. package/lib/utils/string.d.ts +12 -0
  1686. package/lib/utils/string.js +24 -0
  1687. package/lib/utils/string.js.map +1 -0
  1688. package/lib/utils/vector.d.ts +8 -2
  1689. package/lib/utils/vector.js +12 -4
  1690. package/lib/utils/vector.js.map +1 -1
  1691. package/package.json +17 -11
  1692. package/src/.DS_Store +0 -0
  1693. package/src/animation/fadeIn.ts +1 -1
  1694. package/src/animation/fadeOut.ts +1 -1
  1695. package/src/animation/growInX.ts +40 -0
  1696. package/src/animation/growInY.ts +40 -0
  1697. package/src/animation/index.ts +10 -0
  1698. package/src/animation/morphing.ts +63 -36
  1699. package/src/animation/pathIn.ts +24 -0
  1700. package/src/animation/scaleInX.ts +1 -1
  1701. package/src/animation/scaleInY.ts +1 -1
  1702. package/src/animation/scaleOutX.ts +1 -1
  1703. package/src/animation/scaleOutY.ts +1 -1
  1704. package/src/animation/types.ts +6 -0
  1705. package/src/animation/utils.ts +23 -0
  1706. package/src/animation/waveIn.ts +114 -0
  1707. package/src/animation/zoomIn.ts +55 -0
  1708. package/src/animation/zoomOut.ts +50 -0
  1709. package/src/api/chart.ts +111 -16
  1710. package/src/api/composition/facetCircle.ts +37 -0
  1711. package/src/api/composition/facetRect.ts +37 -0
  1712. package/src/api/composition/geoPath.ts +43 -0
  1713. package/src/api/composition/geoView.ts +42 -0
  1714. package/src/api/composition/index.ts +35 -19
  1715. package/src/api/composition/repeatMatrix.ts +37 -0
  1716. package/src/api/composition/spaceFlex.ts +19 -0
  1717. package/src/api/composition/spaceLayer.ts +19 -0
  1718. package/src/api/composition/timingKeyframe.ts +17 -0
  1719. package/src/api/composition/view.ts +12 -14
  1720. package/src/api/mark/index.ts +48 -24
  1721. package/src/api/mark/mark.ts +135 -55
  1722. package/src/api/mark/types.ts +5 -11
  1723. package/src/api/node.ts +63 -2
  1724. package/src/api/props.ts +34 -15
  1725. package/src/api/types.ts +4 -2
  1726. package/src/component/axis.ts +309 -130
  1727. package/src/component/legendCategory.ts +23 -11
  1728. package/src/component/legendContinuous.ts +5 -3
  1729. package/src/composition/facetCircle.ts +102 -0
  1730. package/src/composition/facetRect.ts +367 -0
  1731. package/src/composition/index.ts +12 -12
  1732. package/src/composition/mark.ts +28 -6
  1733. package/src/composition/repeatMatrix.ts +173 -0
  1734. package/src/composition/spaceFlex.ts +49 -0
  1735. package/src/composition/spaceLayer.ts +26 -0
  1736. package/src/composition/timingKeyframe.ts +89 -0
  1737. package/src/composition/view.ts +16 -7
  1738. package/src/coordinate/index.ts +2 -0
  1739. package/src/coordinate/radial.ts +22 -0
  1740. package/src/data/.DS_Store +0 -0
  1741. package/src/data/fetch.ts +1 -0
  1742. package/src/data/filter.ts +19 -0
  1743. package/src/data/index.ts +6 -2
  1744. package/src/data/join.ts +40 -0
  1745. package/src/data/rename.ts +2 -3
  1746. package/src/data/wordCloud.ts +112 -117
  1747. package/src/geo/d3-projection.ts +33 -0
  1748. package/src/geo/geoPath.ts +34 -0
  1749. package/src/geo/geoView.ts +235 -0
  1750. package/src/geo/index.ts +12 -0
  1751. package/src/interaction/action/service/elementSelection.ts +1 -1
  1752. package/src/interaction/action/service/triggerInfoSelection.ts +1 -1
  1753. package/src/interaction/action/transformer/filter.ts +6 -5
  1754. package/src/interaction/builtin/activeRegion.ts +1 -0
  1755. package/src/interaction/builtin/brush.ts +1 -0
  1756. package/src/interaction/builtin/brushHighlight.ts +1 -0
  1757. package/src/interaction/builtin/brushVisible.ts +1 -0
  1758. package/src/interaction/builtin/elementActive.ts +1 -0
  1759. package/src/interaction/builtin/elementHighlight.ts +1 -0
  1760. package/src/interaction/builtin/elementHighlightByColor.ts +2 -1
  1761. package/src/interaction/builtin/elementHighlightByX.ts +2 -1
  1762. package/src/interaction/builtin/elementListHighlight.ts +1 -0
  1763. package/src/interaction/builtin/elementSelected.ts +1 -0
  1764. package/src/interaction/builtin/ellipsisText.ts +1 -0
  1765. package/src/interaction/builtin/fisheye.ts +1 -0
  1766. package/src/interaction/builtin/legendActive.ts +1 -0
  1767. package/src/interaction/builtin/legendHighlight.ts +1 -0
  1768. package/src/interaction/builtin/tooltip.ts +1 -0
  1769. package/src/interaction/index.ts +41 -33
  1770. package/src/interaction/native/chartIndex.ts +214 -0
  1771. package/src/interaction/native/elementHighlight.ts +75 -0
  1772. package/src/interaction/native/elementHighlightByColor.ts +23 -0
  1773. package/src/interaction/native/elementHighlightByX.ts +25 -0
  1774. package/src/interaction/native/elementSelect.ts +113 -0
  1775. package/src/interaction/native/elementSelectByColor.ts +19 -0
  1776. package/src/interaction/native/elementSelectByX.ts +19 -0
  1777. package/src/interaction/native/fisheye.ts +56 -0
  1778. package/src/interaction/native/tooltip.ts +381 -0
  1779. package/src/interaction/native/utils.ts +201 -0
  1780. package/src/label-transform/dodgeY.ts +85 -0
  1781. package/src/label-transform/hideOverlap.ts +62 -0
  1782. package/src/label-transform/index.ts +9 -0
  1783. package/src/label-transform/spider.ts +37 -0
  1784. package/src/label-transform/surround.ts +37 -0
  1785. package/src/mark/area.ts +89 -0
  1786. package/src/mark/box.ts +104 -0
  1787. package/src/mark/boxplot.ts +119 -0
  1788. package/src/mark/cell.ts +55 -0
  1789. package/src/mark/connector.ts +28 -0
  1790. package/src/mark/forceGraph.ts +133 -0
  1791. package/src/mark/image.ts +46 -0
  1792. package/src/mark/index.ts +53 -0
  1793. package/src/mark/interval.ts +84 -0
  1794. package/src/mark/line.ts +106 -0
  1795. package/src/mark/lineX.ts +35 -0
  1796. package/src/mark/lineY.ts +35 -0
  1797. package/src/mark/link.ts +44 -0
  1798. package/src/mark/pack.ts +104 -0
  1799. package/src/mark/path.ts +34 -0
  1800. package/src/mark/point.ts +97 -0
  1801. package/src/mark/polygon.ts +52 -0
  1802. package/src/mark/range.ts +57 -0
  1803. package/src/mark/rangeX.ts +27 -0
  1804. package/src/mark/rangeY.ts +27 -0
  1805. package/src/mark/rect.ts +44 -0
  1806. package/src/mark/sankey.ts +127 -0
  1807. package/src/mark/shape.ts +37 -0
  1808. package/src/mark/text.ts +48 -0
  1809. package/src/mark/tree.ts +86 -0
  1810. package/src/mark/treemap.ts +188 -0
  1811. package/src/mark/utils.ts +143 -8
  1812. package/src/mark/vector.ts +54 -0
  1813. package/src/mark/wordCloud.ts +73 -0
  1814. package/src/palette/divergingGreenRed.ts +33 -0
  1815. package/src/palette/divergingGreenYellow.ts +36 -0
  1816. package/src/palette/divergingRedBlue.ts +33 -0
  1817. package/src/palette/divergingRedPurple.ts +33 -0
  1818. package/src/palette/index.ts +36 -0
  1819. package/src/palette/sequentialBlue.ts +23 -0
  1820. package/src/palette/sequentialDarkBlue.ts +25 -0
  1821. package/src/palette/sequentialDarkGreen.ts +28 -0
  1822. package/src/palette/sequentialGreen.ts +23 -0
  1823. package/src/palette/sequentialGreenBlue.ts +28 -0
  1824. package/src/palette/sequentialGrey.ts +23 -0
  1825. package/src/palette/sequentialOrange.ts +25 -0
  1826. package/src/palette/sequentialPink.ts +23 -0
  1827. package/src/palette/sequentialPinkPurple.ts +28 -0
  1828. package/src/palette/sequentialPurple.ts +25 -0
  1829. package/src/palette/sequentialRed.ts +23 -0
  1830. package/src/palette/sequentialYellow.ts +25 -0
  1831. package/src/palette/sequentialYellowGreen.ts +28 -0
  1832. package/src/palette/sequentialYellowOrange.ts +28 -0
  1833. package/src/runtime/component.ts +50 -41
  1834. package/src/runtime/constant.ts +8 -0
  1835. package/src/runtime/coordinate.ts +40 -24
  1836. package/src/runtime/index.ts +2 -1
  1837. package/src/runtime/layout.ts +158 -21
  1838. package/src/runtime/mark.ts +54 -71
  1839. package/src/runtime/plot.ts +556 -203
  1840. package/src/runtime/render.ts +107 -5
  1841. package/src/runtime/scale.ts +256 -231
  1842. package/src/runtime/transform.ts +58 -2
  1843. package/src/runtime/types/common.ts +43 -42
  1844. package/src/runtime/types/component.ts +17 -12
  1845. package/src/runtime/types/mark.ts +12 -2
  1846. package/src/runtime/types/options.ts +29 -8
  1847. package/src/runtime/types/theme.ts +125 -0
  1848. package/src/scale/index.ts +4 -0
  1849. package/src/scale/sequential.ts +11 -0
  1850. package/src/scale/sqrt.ts +11 -0
  1851. package/src/shape/.DS_Store +0 -0
  1852. package/src/shape/area/area.ts +3 -3
  1853. package/src/shape/area/curve.ts +204 -0
  1854. package/src/shape/area/smooth.ts +25 -0
  1855. package/src/shape/area/step.ts +15 -0
  1856. package/src/shape/box/box.ts +15 -7
  1857. package/src/shape/connector/connector.ts +128 -0
  1858. package/src/shape/createElement.ts +25 -0
  1859. package/src/shape/image/image.ts +15 -5
  1860. package/src/shape/index.ts +21 -22
  1861. package/src/shape/interval/color.ts +130 -0
  1862. package/src/shape/interval/funnel.ts +3 -3
  1863. package/src/shape/interval/hollow.ts +15 -0
  1864. package/src/shape/interval/pyramid.ts +2 -2
  1865. package/src/shape/interval/rect.ts +3 -3
  1866. package/src/shape/label/label.ts +34 -119
  1867. package/src/shape/label/position.ts +263 -0
  1868. package/src/shape/line/curve.ts +153 -0
  1869. package/src/shape/line/hv.ts +3 -3
  1870. package/src/shape/line/hvh.ts +3 -3
  1871. package/src/shape/line/line.ts +3 -3
  1872. package/src/shape/line/smooth.ts +3 -3
  1873. package/src/shape/line/vh.ts +3 -3
  1874. package/src/shape/lineXY/line.ts +64 -0
  1875. package/src/shape/link/arc.ts +12 -3
  1876. package/src/shape/link/link.ts +16 -13
  1877. package/src/shape/link/smooth.ts +50 -0
  1878. package/src/shape/link/vhv.ts +15 -6
  1879. package/src/shape/path/color.ts +38 -0
  1880. package/src/shape/path/hollow.ts +20 -0
  1881. package/src/shape/path/path.ts +20 -0
  1882. package/src/shape/point/bowtie.ts +3 -3
  1883. package/src/shape/point/color.ts +76 -0
  1884. package/src/shape/point/cross.ts +3 -3
  1885. package/src/shape/point/diamond.ts +3 -3
  1886. package/src/shape/point/hexagon.ts +3 -3
  1887. package/src/shape/point/hollow.ts +15 -0
  1888. package/src/shape/point/hollowBowtie.ts +3 -3
  1889. package/src/shape/point/hollowDiamond.ts +3 -3
  1890. package/src/shape/point/hollowHexagon.ts +3 -3
  1891. package/src/shape/point/hollowSquare.ts +3 -3
  1892. package/src/shape/point/hollowTriangle.ts +3 -3
  1893. package/src/shape/point/hollowTriangleDown.ts +3 -3
  1894. package/src/shape/point/hyphen.ts +3 -3
  1895. package/src/shape/point/line.ts +3 -3
  1896. package/src/shape/point/plus.ts +3 -3
  1897. package/src/shape/point/point.ts +3 -3
  1898. package/src/shape/point/square.ts +3 -3
  1899. package/src/shape/point/symbol.ts +3 -2
  1900. package/src/shape/point/tick.ts +3 -3
  1901. package/src/shape/point/triangle.ts +3 -3
  1902. package/src/shape/point/triangleDown.ts +3 -3
  1903. package/src/shape/polygon/polygon.ts +13 -5
  1904. package/src/shape/polygon/ribbon.ts +13 -5
  1905. package/src/shape/shape/shape.ts +25 -0
  1906. package/src/shape/text/advance.ts +181 -0
  1907. package/src/shape/text/badge.ts +87 -0
  1908. package/src/shape/text/text.ts +24 -24
  1909. package/src/shape/utils.ts +100 -26
  1910. package/src/shape/vector/vector.ts +16 -14
  1911. package/src/spec/action.ts +2 -1
  1912. package/src/spec/animate.ts +10 -9
  1913. package/src/spec/composition.ts +87 -25
  1914. package/src/spec/coordinate.ts +16 -2
  1915. package/src/spec/data.ts +38 -10
  1916. package/src/spec/geometry.ts +184 -43
  1917. package/src/spec/index.ts +1 -1
  1918. package/src/spec/interaction.ts +66 -39
  1919. package/src/spec/labelTransform.ts +21 -0
  1920. package/src/spec/palette.ts +80 -0
  1921. package/src/spec/scale.ts +17 -4
  1922. package/src/spec/transform.ts +97 -6
  1923. package/src/stdlib/index.ts +265 -123
  1924. package/src/theme/dark.ts +353 -0
  1925. package/src/theme/index.ts +1 -0
  1926. package/src/theme/light.ts +327 -7
  1927. package/src/transform/bin.ts +102 -0
  1928. package/src/transform/binX.ts +17 -0
  1929. package/src/transform/diffY.ts +52 -0
  1930. package/src/transform/group.ts +27 -0
  1931. package/src/transform/groupColor.ts +14 -0
  1932. package/src/transform/groupN.ts +120 -0
  1933. package/src/transform/groupX.ts +4 -99
  1934. package/src/transform/groupY.ts +14 -0
  1935. package/src/transform/index.ts +42 -8
  1936. package/src/transform/jitter.ts +24 -5
  1937. package/src/transform/jitterX.ts +30 -0
  1938. package/src/transform/maybeFunctionAttribute.ts +28 -0
  1939. package/src/transform/maybeGradient.ts +27 -0
  1940. package/src/transform/maybeIdentityX.ts +21 -0
  1941. package/src/transform/maybeIdentityY.ts +21 -0
  1942. package/src/transform/maybeTitle.ts +23 -0
  1943. package/src/transform/maybeTooltip.ts +17 -13
  1944. package/src/transform/maybeTuple.ts +22 -0
  1945. package/src/transform/maybeTupleX.ts +19 -0
  1946. package/src/transform/maybeTupleY.ts +19 -0
  1947. package/src/transform/maybeVisualPosition.ts +37 -0
  1948. package/src/transform/maybeZeroPadding.ts +19 -0
  1949. package/src/transform/maybeZeroX.ts +1 -0
  1950. package/src/transform/maybeZeroY.ts +1 -0
  1951. package/src/transform/normalizeY.ts +13 -11
  1952. package/src/transform/pack.ts +69 -0
  1953. package/src/transform/sort.ts +63 -0
  1954. package/src/transform/sortColor.ts +14 -0
  1955. package/src/transform/sortX.ts +3 -37
  1956. package/src/transform/sortY.ts +14 -0
  1957. package/src/transform/stackEnter.ts +20 -4
  1958. package/src/transform/stackY.ts +30 -4
  1959. package/src/transform/utils/helper.ts +8 -1
  1960. package/src/transform/utils/order.ts +1 -0
  1961. package/src/utils/coordinate.ts +14 -1
  1962. package/src/utils/event.ts +46 -0
  1963. package/src/utils/helper.ts +35 -3
  1964. package/src/utils/selection.ts +29 -13
  1965. package/src/utils/size.ts +105 -0
  1966. package/src/utils/string.ts +19 -0
  1967. package/src/utils/vector.ts +11 -3
  1968. package/esm/adjust/index.d.ts +0 -2
  1969. package/esm/adjust/index.js +0 -2
  1970. package/esm/adjust/index.js.map +0 -1
  1971. package/esm/adjust/pack.d.ts +0 -8
  1972. package/esm/adjust/pack.js +0 -55
  1973. package/esm/adjust/pack.js.map +0 -1
  1974. package/esm/api/composition/circle.d.ts +0 -21
  1975. package/esm/api/composition/circle.js +0 -30
  1976. package/esm/api/composition/circle.js.map +0 -1
  1977. package/esm/api/composition/flex.d.ts +0 -17
  1978. package/esm/api/composition/flex.js +0 -26
  1979. package/esm/api/composition/flex.js.map +0 -1
  1980. package/esm/api/composition/keyframe.d.ts +0 -17
  1981. package/esm/api/composition/keyframe.js +0 -26
  1982. package/esm/api/composition/keyframe.js.map +0 -1
  1983. package/esm/api/composition/layer.d.ts +0 -14
  1984. package/esm/api/composition/layer.js +0 -23
  1985. package/esm/api/composition/layer.js.map +0 -1
  1986. package/esm/api/composition/matrix.d.ts +0 -21
  1987. package/esm/api/composition/matrix.js +0 -30
  1988. package/esm/api/composition/matrix.js.map +0 -1
  1989. package/esm/api/composition/rect.d.ts +0 -23
  1990. package/esm/api/composition/rect.js +0 -32
  1991. package/esm/api/composition/rect.js.map +0 -1
  1992. package/esm/composition/circle.d.ts +0 -7
  1993. package/esm/composition/circle.js +0 -85
  1994. package/esm/composition/circle.js.map +0 -1
  1995. package/esm/composition/flex.d.ts +0 -7
  1996. package/esm/composition/flex.js +0 -40
  1997. package/esm/composition/flex.js.map +0 -1
  1998. package/esm/composition/keyframe.d.ts +0 -7
  1999. package/esm/composition/keyframe.js +0 -75
  2000. package/esm/composition/keyframe.js.map +0 -1
  2001. package/esm/composition/layer.d.ts +0 -7
  2002. package/esm/composition/layer.js +0 -32
  2003. package/esm/composition/layer.js.map +0 -1
  2004. package/esm/composition/matrix.d.ts +0 -8
  2005. package/esm/composition/matrix.js +0 -151
  2006. package/esm/composition/matrix.js.map +0 -1
  2007. package/esm/composition/rect.d.ts +0 -30
  2008. package/esm/composition/rect.js +0 -286
  2009. package/esm/composition/rect.js.map +0 -1
  2010. package/esm/data/filterBy.d.ts +0 -8
  2011. package/esm/data/filterBy.js +0 -17
  2012. package/esm/data/filterBy.js.map +0 -1
  2013. package/esm/labelLayout/hideOverlap.d.ts +0 -2
  2014. package/esm/labelLayout/hideOverlap.js +0 -38
  2015. package/esm/labelLayout/hideOverlap.js.map +0 -1
  2016. package/esm/labelLayout/index.d.ts +0 -1
  2017. package/esm/labelLayout/index.js +0 -2
  2018. package/esm/labelLayout/index.js.map +0 -1
  2019. package/esm/mark/annotation/connector.d.ts +0 -4
  2020. package/esm/mark/annotation/connector.js +0 -18
  2021. package/esm/mark/annotation/connector.js.map +0 -1
  2022. package/esm/mark/annotation/index.d.ts +0 -14
  2023. package/esm/mark/annotation/index.js +0 -8
  2024. package/esm/mark/annotation/index.js.map +0 -1
  2025. package/esm/mark/annotation/lineX.d.ts +0 -4
  2026. package/esm/mark/annotation/lineX.js +0 -21
  2027. package/esm/mark/annotation/lineX.js.map +0 -1
  2028. package/esm/mark/annotation/lineY.d.ts +0 -4
  2029. package/esm/mark/annotation/lineY.js +0 -21
  2030. package/esm/mark/annotation/lineY.js.map +0 -1
  2031. package/esm/mark/annotation/range.d.ts +0 -8
  2032. package/esm/mark/annotation/range.js +0 -44
  2033. package/esm/mark/annotation/range.js.map +0 -1
  2034. package/esm/mark/annotation/rangeX.d.ts +0 -4
  2035. package/esm/mark/annotation/rangeX.js +0 -14
  2036. package/esm/mark/annotation/rangeX.js.map +0 -1
  2037. package/esm/mark/annotation/rangeY.d.ts +0 -4
  2038. package/esm/mark/annotation/rangeY.js +0 -14
  2039. package/esm/mark/annotation/rangeY.js.map +0 -1
  2040. package/esm/mark/annotation/text.d.ts +0 -4
  2041. package/esm/mark/annotation/text.js +0 -21
  2042. package/esm/mark/annotation/text.js.map +0 -1
  2043. package/esm/mark/geometry/area.d.ts +0 -4
  2044. package/esm/mark/geometry/area.js +0 -70
  2045. package/esm/mark/geometry/area.js.map +0 -1
  2046. package/esm/mark/geometry/box.d.ts +0 -34
  2047. package/esm/mark/geometry/box.js +0 -90
  2048. package/esm/mark/geometry/box.js.map +0 -1
  2049. package/esm/mark/geometry/grid.d.ts +0 -9
  2050. package/esm/mark/geometry/grid.js +0 -46
  2051. package/esm/mark/geometry/grid.js.map +0 -1
  2052. package/esm/mark/geometry/image.d.ts +0 -4
  2053. package/esm/mark/geometry/image.js +0 -35
  2054. package/esm/mark/geometry/image.js.map +0 -1
  2055. package/esm/mark/geometry/index.d.ts +0 -22
  2056. package/esm/mark/geometry/index.js +0 -12
  2057. package/esm/mark/geometry/index.js.map +0 -1
  2058. package/esm/mark/geometry/interval.d.ts +0 -12
  2059. package/esm/mark/geometry/interval.js +0 -58
  2060. package/esm/mark/geometry/interval.js.map +0 -1
  2061. package/esm/mark/geometry/line.d.ts +0 -7
  2062. package/esm/mark/geometry/line.js +0 -80
  2063. package/esm/mark/geometry/line.js.map +0 -1
  2064. package/esm/mark/geometry/link.d.ts +0 -7
  2065. package/esm/mark/geometry/link.js +0 -33
  2066. package/esm/mark/geometry/link.js.map +0 -1
  2067. package/esm/mark/geometry/point.d.ts +0 -10
  2068. package/esm/mark/geometry/point.js +0 -75
  2069. package/esm/mark/geometry/point.js.map +0 -1
  2070. package/esm/mark/geometry/polygon.d.ts +0 -7
  2071. package/esm/mark/geometry/polygon.js +0 -43
  2072. package/esm/mark/geometry/polygon.js.map +0 -1
  2073. package/esm/mark/geometry/text.d.ts +0 -4
  2074. package/esm/mark/geometry/text.js +0 -35
  2075. package/esm/mark/geometry/text.js.map +0 -1
  2076. package/esm/mark/geometry/vector.d.ts +0 -8
  2077. package/esm/mark/geometry/vector.js +0 -43
  2078. package/esm/mark/geometry/vector.js.map +0 -1
  2079. package/esm/shape/annotation/badge.d.ts +0 -14
  2080. package/esm/shape/annotation/badge.js +0 -93
  2081. package/esm/shape/annotation/badge.js.map +0 -1
  2082. package/esm/shape/annotation/connector.d.ts +0 -15
  2083. package/esm/shape/annotation/connector.js +0 -101
  2084. package/esm/shape/annotation/connector.js.map +0 -1
  2085. package/esm/shape/annotation/line.d.ts +0 -3
  2086. package/esm/shape/annotation/line.js +0 -56
  2087. package/esm/shape/annotation/line.js.map +0 -1
  2088. package/esm/shape/annotation/text.d.ts +0 -20
  2089. package/esm/shape/annotation/text.js +0 -174
  2090. package/esm/shape/annotation/text.js.map +0 -1
  2091. package/esm/shape/area/curveArea.d.ts +0 -8
  2092. package/esm/shape/area/curveArea.js +0 -60
  2093. package/esm/shape/area/curveArea.js.map +0 -1
  2094. package/esm/shape/area/smoothArea.d.ts +0 -5
  2095. package/esm/shape/area/smoothArea.js +0 -23
  2096. package/esm/shape/area/smoothArea.js.map +0 -1
  2097. package/esm/shape/interval/colorRect.d.ts +0 -14
  2098. package/esm/shape/interval/colorRect.js +0 -62
  2099. package/esm/shape/interval/colorRect.js.map +0 -1
  2100. package/esm/shape/interval/hollowRect.d.ts +0 -6
  2101. package/esm/shape/interval/hollowRect.js +0 -9
  2102. package/esm/shape/interval/hollowRect.js.map +0 -1
  2103. package/esm/shape/line/curveLine.d.ts +0 -8
  2104. package/esm/shape/line/curveLine.js +0 -41
  2105. package/esm/shape/line/curveLine.js.map +0 -1
  2106. package/esm/shape/link/smoothEdge.d.ts +0 -6
  2107. package/esm/shape/link/smoothEdge.js +0 -39
  2108. package/esm/shape/link/smoothEdge.js.map +0 -1
  2109. package/esm/shape/point/colorPoint.d.ts +0 -11
  2110. package/esm/shape/point/colorPoint.js +0 -59
  2111. package/esm/shape/point/colorPoint.js.map +0 -1
  2112. package/esm/shape/point/hollowPoint.d.ts +0 -6
  2113. package/esm/shape/point/hollowPoint.js +0 -9
  2114. package/esm/shape/point/hollowPoint.js.map +0 -1
  2115. package/esm/spec/labelLayout.d.ts +0 -4
  2116. package/esm/spec/labelLayout.js +0 -2
  2117. package/esm/spec/labelLayout.js.map +0 -1
  2118. package/esm/transform/jitterY.d.ts +0 -8
  2119. package/esm/transform/jitterY.js +0 -21
  2120. package/esm/transform/jitterY.js.map +0 -1
  2121. package/esm/transform/maybeTitleX.d.ts +0 -6
  2122. package/esm/transform/maybeTitleX.js +0 -17
  2123. package/esm/transform/maybeTitleX.js.map +0 -1
  2124. package/esm/transform/maybeTooltipPosition.d.ts +0 -7
  2125. package/esm/transform/maybeTooltipPosition.js +0 -10
  2126. package/esm/transform/maybeTooltipPosition.js.map +0 -1
  2127. package/esm/transform/maybeTooltipY.d.ts +0 -6
  2128. package/esm/transform/maybeTooltipY.js +0 -9
  2129. package/esm/transform/maybeTooltipY.js.map +0 -1
  2130. package/lib/adjust/index.d.ts +0 -2
  2131. package/lib/adjust/index.js +0 -6
  2132. package/lib/adjust/index.js.map +0 -1
  2133. package/lib/adjust/pack.d.ts +0 -8
  2134. package/lib/adjust/pack.js +0 -59
  2135. package/lib/adjust/pack.js.map +0 -1
  2136. package/lib/api/composition/circle.d.ts +0 -21
  2137. package/lib/api/composition/circle.js +0 -33
  2138. package/lib/api/composition/circle.js.map +0 -1
  2139. package/lib/api/composition/flex.d.ts +0 -17
  2140. package/lib/api/composition/flex.js +0 -29
  2141. package/lib/api/composition/flex.js.map +0 -1
  2142. package/lib/api/composition/keyframe.d.ts +0 -17
  2143. package/lib/api/composition/keyframe.js +0 -29
  2144. package/lib/api/composition/keyframe.js.map +0 -1
  2145. package/lib/api/composition/layer.d.ts +0 -14
  2146. package/lib/api/composition/layer.js +0 -26
  2147. package/lib/api/composition/layer.js.map +0 -1
  2148. package/lib/api/composition/matrix.d.ts +0 -21
  2149. package/lib/api/composition/matrix.js +0 -33
  2150. package/lib/api/composition/matrix.js.map +0 -1
  2151. package/lib/api/composition/rect.d.ts +0 -23
  2152. package/lib/api/composition/rect.js +0 -35
  2153. package/lib/api/composition/rect.js.map +0 -1
  2154. package/lib/composition/circle.d.ts +0 -7
  2155. package/lib/composition/circle.js +0 -89
  2156. package/lib/composition/circle.js.map +0 -1
  2157. package/lib/composition/flex.d.ts +0 -7
  2158. package/lib/composition/flex.js +0 -44
  2159. package/lib/composition/flex.js.map +0 -1
  2160. package/lib/composition/keyframe.d.ts +0 -7
  2161. package/lib/composition/keyframe.js +0 -79
  2162. package/lib/composition/keyframe.js.map +0 -1
  2163. package/lib/composition/layer.d.ts +0 -7
  2164. package/lib/composition/layer.js +0 -36
  2165. package/lib/composition/layer.js.map +0 -1
  2166. package/lib/composition/matrix.d.ts +0 -8
  2167. package/lib/composition/matrix.js +0 -155
  2168. package/lib/composition/matrix.js.map +0 -1
  2169. package/lib/composition/rect.d.ts +0 -30
  2170. package/lib/composition/rect.js +0 -291
  2171. package/lib/composition/rect.js.map +0 -1
  2172. package/lib/data/filterBy.d.ts +0 -8
  2173. package/lib/data/filterBy.js +0 -21
  2174. package/lib/data/filterBy.js.map +0 -1
  2175. package/lib/labelLayout/hideOverlap.d.ts +0 -2
  2176. package/lib/labelLayout/hideOverlap.js +0 -42
  2177. package/lib/labelLayout/hideOverlap.js.map +0 -1
  2178. package/lib/labelLayout/index.d.ts +0 -1
  2179. package/lib/labelLayout/index.js +0 -6
  2180. package/lib/labelLayout/index.js.map +0 -1
  2181. package/lib/mark/annotation/connector.d.ts +0 -4
  2182. package/lib/mark/annotation/connector.js +0 -22
  2183. package/lib/mark/annotation/connector.js.map +0 -1
  2184. package/lib/mark/annotation/index.d.ts +0 -14
  2185. package/lib/mark/annotation/index.js +0 -18
  2186. package/lib/mark/annotation/index.js.map +0 -1
  2187. package/lib/mark/annotation/lineX.d.ts +0 -4
  2188. package/lib/mark/annotation/lineX.js +0 -25
  2189. package/lib/mark/annotation/lineX.js.map +0 -1
  2190. package/lib/mark/annotation/lineY.d.ts +0 -4
  2191. package/lib/mark/annotation/lineY.js +0 -25
  2192. package/lib/mark/annotation/lineY.js.map +0 -1
  2193. package/lib/mark/annotation/range.d.ts +0 -8
  2194. package/lib/mark/annotation/range.js +0 -49
  2195. package/lib/mark/annotation/range.js.map +0 -1
  2196. package/lib/mark/annotation/rangeX.d.ts +0 -4
  2197. package/lib/mark/annotation/rangeX.js +0 -18
  2198. package/lib/mark/annotation/rangeX.js.map +0 -1
  2199. package/lib/mark/annotation/rangeY.d.ts +0 -4
  2200. package/lib/mark/annotation/rangeY.js +0 -18
  2201. package/lib/mark/annotation/rangeY.js.map +0 -1
  2202. package/lib/mark/annotation/text.d.ts +0 -4
  2203. package/lib/mark/annotation/text.js +0 -25
  2204. package/lib/mark/annotation/text.js.map +0 -1
  2205. package/lib/mark/geometry/area.d.ts +0 -4
  2206. package/lib/mark/geometry/area.js +0 -74
  2207. package/lib/mark/geometry/area.js.map +0 -1
  2208. package/lib/mark/geometry/box.d.ts +0 -34
  2209. package/lib/mark/geometry/box.js +0 -94
  2210. package/lib/mark/geometry/box.js.map +0 -1
  2211. package/lib/mark/geometry/grid.d.ts +0 -9
  2212. package/lib/mark/geometry/grid.js +0 -50
  2213. package/lib/mark/geometry/grid.js.map +0 -1
  2214. package/lib/mark/geometry/image.d.ts +0 -4
  2215. package/lib/mark/geometry/image.js +0 -39
  2216. package/lib/mark/geometry/image.js.map +0 -1
  2217. package/lib/mark/geometry/index.d.ts +0 -22
  2218. package/lib/mark/geometry/index.js +0 -26
  2219. package/lib/mark/geometry/index.js.map +0 -1
  2220. package/lib/mark/geometry/interval.d.ts +0 -12
  2221. package/lib/mark/geometry/interval.js +0 -62
  2222. package/lib/mark/geometry/interval.js.map +0 -1
  2223. package/lib/mark/geometry/line.d.ts +0 -7
  2224. package/lib/mark/geometry/line.js +0 -84
  2225. package/lib/mark/geometry/line.js.map +0 -1
  2226. package/lib/mark/geometry/link.d.ts +0 -7
  2227. package/lib/mark/geometry/link.js +0 -37
  2228. package/lib/mark/geometry/link.js.map +0 -1
  2229. package/lib/mark/geometry/point.d.ts +0 -10
  2230. package/lib/mark/geometry/point.js +0 -79
  2231. package/lib/mark/geometry/point.js.map +0 -1
  2232. package/lib/mark/geometry/polygon.d.ts +0 -7
  2233. package/lib/mark/geometry/polygon.js +0 -47
  2234. package/lib/mark/geometry/polygon.js.map +0 -1
  2235. package/lib/mark/geometry/text.d.ts +0 -4
  2236. package/lib/mark/geometry/text.js +0 -39
  2237. package/lib/mark/geometry/text.js.map +0 -1
  2238. package/lib/mark/geometry/vector.d.ts +0 -8
  2239. package/lib/mark/geometry/vector.js +0 -47
  2240. package/lib/mark/geometry/vector.js.map +0 -1
  2241. package/lib/shape/annotation/badge.d.ts +0 -14
  2242. package/lib/shape/annotation/badge.js +0 -97
  2243. package/lib/shape/annotation/badge.js.map +0 -1
  2244. package/lib/shape/annotation/connector.d.ts +0 -15
  2245. package/lib/shape/annotation/connector.js +0 -105
  2246. package/lib/shape/annotation/connector.js.map +0 -1
  2247. package/lib/shape/annotation/line.d.ts +0 -3
  2248. package/lib/shape/annotation/line.js +0 -60
  2249. package/lib/shape/annotation/line.js.map +0 -1
  2250. package/lib/shape/annotation/text.d.ts +0 -20
  2251. package/lib/shape/annotation/text.js +0 -178
  2252. package/lib/shape/annotation/text.js.map +0 -1
  2253. package/lib/shape/area/curveArea.d.ts +0 -8
  2254. package/lib/shape/area/curveArea.js +0 -64
  2255. package/lib/shape/area/curveArea.js.map +0 -1
  2256. package/lib/shape/area/smoothArea.d.ts +0 -5
  2257. package/lib/shape/area/smoothArea.js +0 -27
  2258. package/lib/shape/area/smoothArea.js.map +0 -1
  2259. package/lib/shape/interval/colorRect.d.ts +0 -14
  2260. package/lib/shape/interval/colorRect.js +0 -66
  2261. package/lib/shape/interval/colorRect.js.map +0 -1
  2262. package/lib/shape/interval/hollowRect.d.ts +0 -6
  2263. package/lib/shape/interval/hollowRect.js +0 -13
  2264. package/lib/shape/interval/hollowRect.js.map +0 -1
  2265. package/lib/shape/line/curveLine.d.ts +0 -8
  2266. package/lib/shape/line/curveLine.js +0 -45
  2267. package/lib/shape/line/curveLine.js.map +0 -1
  2268. package/lib/shape/link/smoothEdge.d.ts +0 -6
  2269. package/lib/shape/link/smoothEdge.js +0 -43
  2270. package/lib/shape/link/smoothEdge.js.map +0 -1
  2271. package/lib/shape/point/colorPoint.d.ts +0 -11
  2272. package/lib/shape/point/colorPoint.js +0 -86
  2273. package/lib/shape/point/colorPoint.js.map +0 -1
  2274. package/lib/shape/point/hollowPoint.d.ts +0 -6
  2275. package/lib/shape/point/hollowPoint.js +0 -13
  2276. package/lib/shape/point/hollowPoint.js.map +0 -1
  2277. package/lib/spec/labelLayout.d.ts +0 -4
  2278. package/lib/spec/labelLayout.js +0 -3
  2279. package/lib/spec/labelLayout.js.map +0 -1
  2280. package/lib/transform/jitterY.d.ts +0 -8
  2281. package/lib/transform/jitterY.js +0 -25
  2282. package/lib/transform/jitterY.js.map +0 -1
  2283. package/lib/transform/maybeTitleX.d.ts +0 -6
  2284. package/lib/transform/maybeTitleX.js +0 -21
  2285. package/lib/transform/maybeTitleX.js.map +0 -1
  2286. package/lib/transform/maybeTooltipPosition.d.ts +0 -7
  2287. package/lib/transform/maybeTooltipPosition.js +0 -14
  2288. package/lib/transform/maybeTooltipPosition.js.map +0 -1
  2289. package/lib/transform/maybeTooltipY.d.ts +0 -6
  2290. package/lib/transform/maybeTooltipY.js +0 -13
  2291. package/lib/transform/maybeTooltipY.js.map +0 -1
  2292. package/src/adjust/index.ts +0 -2
  2293. package/src/adjust/pack.ts +0 -67
  2294. package/src/api/composition/circle.ts +0 -43
  2295. package/src/api/composition/flex.ts +0 -30
  2296. package/src/api/composition/keyframe.ts +0 -30
  2297. package/src/api/composition/layer.ts +0 -24
  2298. package/src/api/composition/matrix.ts +0 -43
  2299. package/src/api/composition/rect.ts +0 -47
  2300. package/src/composition/circle.ts +0 -102
  2301. package/src/composition/flex.ts +0 -49
  2302. package/src/composition/keyframe.ts +0 -90
  2303. package/src/composition/layer.ts +0 -26
  2304. package/src/composition/matrix.ts +0 -170
  2305. package/src/composition/rect.ts +0 -339
  2306. package/src/data/filterBy.ts +0 -28
  2307. package/src/labelLayout/hideOverlap.ts +0 -47
  2308. package/src/labelLayout/index.ts +0 -1
  2309. package/src/mark/annotation/connector.ts +0 -27
  2310. package/src/mark/annotation/index.ts +0 -15
  2311. package/src/mark/annotation/lineX.ts +0 -31
  2312. package/src/mark/annotation/lineY.ts +0 -31
  2313. package/src/mark/annotation/range.ts +0 -55
  2314. package/src/mark/annotation/rangeX.ts +0 -23
  2315. package/src/mark/annotation/rangeY.ts +0 -23
  2316. package/src/mark/annotation/text.ts +0 -30
  2317. package/src/mark/geometry/area.ts +0 -85
  2318. package/src/mark/geometry/box.ts +0 -105
  2319. package/src/mark/geometry/grid.ts +0 -56
  2320. package/src/mark/geometry/image.ts +0 -42
  2321. package/src/mark/geometry/index.ts +0 -23
  2322. package/src/mark/geometry/interval.ts +0 -70
  2323. package/src/mark/geometry/line.ts +0 -99
  2324. package/src/mark/geometry/link.ts +0 -44
  2325. package/src/mark/geometry/point.ts +0 -83
  2326. package/src/mark/geometry/polygon.ts +0 -54
  2327. package/src/mark/geometry/text.ts +0 -43
  2328. package/src/mark/geometry/vector.ts +0 -56
  2329. package/src/shape/annotation/badge.ts +0 -114
  2330. package/src/shape/annotation/connector.ts +0 -138
  2331. package/src/shape/annotation/line.ts +0 -55
  2332. package/src/shape/annotation/text.ts +0 -236
  2333. package/src/shape/area/curveArea.ts +0 -61
  2334. package/src/shape/area/smoothArea.ts +0 -25
  2335. package/src/shape/interval/colorRect.ts +0 -62
  2336. package/src/shape/interval/hollowRect.ts +0 -15
  2337. package/src/shape/line/curveLine.ts +0 -44
  2338. package/src/shape/link/smoothEdge.ts +0 -41
  2339. package/src/shape/point/colorPoint.ts +0 -65
  2340. package/src/shape/point/hollowPoint.ts +0 -15
  2341. package/src/spec/labelLayout.ts +0 -5
  2342. package/src/transform/jitterY.ts +0 -26
  2343. package/src/transform/maybeTitleX.ts +0 -20
  2344. package/src/transform/maybeTooltipPosition.ts +0 -14
  2345. package/src/transform/maybeTooltipY.ts +0 -13
@@ -1,5 +1,5 @@
1
1
  import { ElementActiveInteraction } from '../../spec';
2
- export declare type ElementActiveOptions = Omit<ElementActiveInteraction, 'type'>;
2
+ export type ElementActiveOptions = Omit<ElementActiveInteraction, 'type'>;
3
3
  export declare const InteractionDescriptor: (options?: ElementActiveOptions) => {
4
4
  interactors: {
5
5
  type: string;
@@ -7,14 +7,12 @@ export declare const InteractionDescriptor: (options?: ElementActiveOptions) =>
7
7
  start: {
8
8
  trigger: string;
9
9
  action: {
10
- color?: string;
11
10
  type: string;
12
11
  }[];
13
12
  }[];
14
13
  end: {
15
14
  trigger: string;
16
15
  action: {
17
- color?: string;
18
16
  type: string;
19
17
  }[];
20
18
  }[];
@@ -1 +1 @@
1
- {"version":3,"file":"elementActive.js","sourceRoot":"src/","sources":["interaction/builtin/elementActive.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAI9C,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,OAA8B,EAAE,EAAE,CAAC,CAAC;IACxE,WAAW,EAAE,CAAC,EAAE,IAAI,EAAE,eAAe,EAAE,EAAE,EAAE,IAAI,EAAE,eAAe,EAAE,CAAC;IACnE,KAAK,EAAE;QACL;YACE,OAAO,EAAE,OAAO;YAChB,MAAM,EAAE;gBACN,EAAE,IAAI,EAAE,kBAAkB,EAAE;gCAC1B,IAAI,EAAE,eAAe,IAAK,OAAO;aACpC;SACF;KACF;IACD,GAAG,EAAE;QACH;YACE,OAAO,EAAE,OAAO;YAChB,MAAM,EAAE;gBACN,EAAE,IAAI,EAAE,kBAAkB,EAAE;gCAC1B,IAAI,EAAE,eAAe,IAAK,OAAO;aACpC;SACF;KACF;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,aAAa,GAAG,iBAAiB,CAC5C,qBAAqB,CACtB,CAAC;AAEF,aAAa,CAAC,KAAK,GAAG,EAAE,CAAC"}
1
+ {"version":3,"file":"elementActive.js","sourceRoot":"src/","sources":["interaction/builtin/elementActive.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAI9C,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,OAA8B,EAAE,EAAE,CAAC,CAAC;IACxE,WAAW,EAAE,CAAC,EAAE,IAAI,EAAE,eAAe,EAAE,EAAE,EAAE,IAAI,EAAE,eAAe,EAAE,CAAC;IACnE,KAAK,EAAE;QACL;YACE,OAAO,EAAE,OAAO;YAChB,MAAM,EAAE;gBACN,EAAE,IAAI,EAAE,kBAAkB,EAAE;gCAC1B,IAAI,EAAE,eAAe,IAAK,OAAO;aACpC;SACF;KACF;IACD,GAAG,EAAE;QACH;YACE,OAAO,EAAE,OAAO;YAChB,MAAM,EAAE;gBACN,EAAE,IAAI,EAAE,kBAAkB,EAAE;gCAC1B,IAAI,EAAE,eAAe,IAAK,OAAO;aACpC;SACF;KACF;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,aAAa,GAAG,iBAAiB,CAC5C,qBAAqB,CACtB,CAAC;AAEF,aAAa,CAAC,KAAK,GAAG,EAAE,CAAC"}
@@ -1,17 +1,15 @@
1
1
  import { ElementHighlightInteraction } from '../../spec';
2
- export declare type ElementHighlightOptions = Omit<ElementHighlightInteraction, 'type'>;
2
+ export type ElementHighlightOptions = Omit<ElementHighlightInteraction, 'type'>;
3
3
  export declare const InteractionDescriptor: (options?: ElementHighlightOptions) => {
4
4
  start: {
5
5
  trigger: string;
6
6
  action: {
7
- color?: string;
8
7
  type: string;
9
8
  }[];
10
9
  }[];
11
10
  end: {
12
11
  trigger: string;
13
12
  action: {
14
- color?: string;
15
13
  type: string;
16
14
  }[];
17
15
  }[];
@@ -1 +1 @@
1
- {"version":3,"file":"elementHighlight.js","sourceRoot":"src/","sources":["interaction/builtin/elementHighlight.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAI9C,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,OAAiC,EAAE,EAAE,CAAC,CAAC;IAC3E,KAAK,EAAE;QACL;YACE,OAAO,EAAE,kBAAkB;YAC3B,MAAM,EAAE;gBACN,EAAE,IAAI,EAAE,kBAAkB,EAAE;gCAC1B,IAAI,EAAE,kBAAkB,IAAK,OAAO;aACvC;SACF;KACF;IACD,GAAG,EAAE;QACH;YACE,OAAO,EAAE,mBAAmB;YAC5B,MAAM,EAAE;gBACN,EAAE,IAAI,EAAE,kBAAkB,EAAE;gCAC1B,IAAI,EAAE,kBAAkB,IAAK,OAAO;aACvC;SACF;KACF;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,gBAAgB,GAAG,iBAAiB,CAC/C,qBAAqB,CACtB,CAAC;AAEF,gBAAgB,CAAC,KAAK,GAAG,EAAE,CAAC"}
1
+ {"version":3,"file":"elementHighlight.js","sourceRoot":"src/","sources":["interaction/builtin/elementHighlight.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAI9C,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,OAAiC,EAAE,EAAE,CAAC,CAAC;IAC3E,KAAK,EAAE;QACL;YACE,OAAO,EAAE,kBAAkB;YAC3B,MAAM,EAAE;gBACN,EAAE,IAAI,EAAE,kBAAkB,EAAE;gCAC1B,IAAI,EAAE,kBAAkB,IAAK,OAAO;aACvC;SACF;KACF;IACD,GAAG,EAAE;QACH;YACE,OAAO,EAAE,mBAAmB;YAC5B,MAAM,EAAE;gBACN,EAAE,IAAI,EAAE,kBAAkB,EAAE;gCAC1B,IAAI,EAAE,kBAAkB,IAAK,OAAO;aACvC;SACF;KACF;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,gBAAgB,GAAG,iBAAiB,CAC/C,qBAAqB,CACtB,CAAC;AAEF,gBAAgB,CAAC,KAAK,GAAG,EAAE,CAAC"}
@@ -1,15 +1,15 @@
1
1
  import { ElementHighlightByColorInteraction } from '../../spec';
2
- export declare type ElementHighlightByColorOptions = Omit<ElementHighlightByColorInteraction, 'type'>;
2
+ export type ElementHighlightByColorOptions = Omit<ElementHighlightByColorInteraction, 'type'>;
3
3
  export declare const InteractionDescriptor: (options?: ElementHighlightByColorOptions) => {
4
4
  start: {
5
5
  trigger: string;
6
6
  action: ({
7
7
  type: string;
8
- filterBy: string;
8
+ filter: string;
9
9
  } | {
10
10
  color?: string;
11
11
  type: string;
12
- filterBy?: undefined;
12
+ filter?: undefined;
13
13
  })[];
14
14
  }[];
15
15
  end: {
@@ -4,7 +4,7 @@ export const InteractionDescriptor = (options) => ({
4
4
  {
5
5
  trigger: 'plot:pointermove',
6
6
  action: [
7
- { type: 'elementSelection', filterBy: 'color' },
7
+ { type: 'elementSelection', filter: 'color' },
8
8
  Object.assign({ type: 'highlightElement' }, options),
9
9
  ],
10
10
  },
@@ -1 +1 @@
1
- {"version":3,"file":"elementHighlightByColor.js","sourceRoot":"src/","sources":["interaction/builtin/elementHighlightByColor.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAO9C,MAAM,CAAC,MAAM,qBAAqB,GAAG,CACnC,OAAwC,EACxC,EAAE,CAAC,CAAC;IACJ,KAAK,EAAE;QACL;YACE,OAAO,EAAE,kBAAkB;YAC3B,MAAM,EAAE;gBACN,EAAE,IAAI,EAAE,kBAAkB,EAAE,QAAQ,EAAE,OAAO,EAAE;gCAC7C,IAAI,EAAE,kBAAkB,IAAK,OAAO;aACvC;SACF;KACF;IACD,GAAG,EAAE;QACH;YACE,OAAO,EAAE,mBAAmB;YAC5B,MAAM,EAAE;gBACN,EAAE,IAAI,EAAE,kBAAkB,EAAE;gCAC1B,IAAI,EAAE,kBAAkB,IAAK,OAAO;aACvC;SACF;KACF;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,uBAAuB,GAClC,iBAAiB,CAAiC,qBAAqB,CAAC,CAAC;AAE3E,uBAAuB,CAAC,KAAK,GAAG,EAAE,CAAC"}
1
+ {"version":3,"file":"elementHighlightByColor.js","sourceRoot":"src/","sources":["interaction/builtin/elementHighlightByColor.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAO9C,MAAM,CAAC,MAAM,qBAAqB,GAAG,CACnC,OAAwC,EACxC,EAAE,CAAC,CAAC;IACJ,KAAK,EAAE;QACL;YACE,OAAO,EAAE,kBAAkB;YAC3B,MAAM,EAAE;gBACN,EAAE,IAAI,EAAE,kBAAkB,EAAE,MAAM,EAAE,OAAO,EAAE;gCAC3C,IAAI,EAAE,kBAAkB,IAAK,OAAO;aACvC;SACF;KACF;IACD,GAAG,EAAE;QACH;YACE,OAAO,EAAE,mBAAmB;YAC5B,MAAM,EAAE;gBACN,EAAE,IAAI,EAAE,kBAAkB,EAAE;gCAC1B,IAAI,EAAE,kBAAkB,IAAK,OAAO;aACvC;SACF;KACF;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,uBAAuB,GAClC,iBAAiB,CAAiC,qBAAqB,CAAC,CAAC;AAE3E,uBAAuB,CAAC,KAAK,GAAG,EAAE,CAAC"}
@@ -1,21 +1,21 @@
1
1
  import { ElementHighlightByXInteraction } from '../../spec';
2
- export declare type ElementHighlightByXOptions = Omit<ElementHighlightByXInteraction, 'type'>;
2
+ export type ElementHighlightByXOptions = Omit<ElementHighlightByXInteraction, 'type'>;
3
3
  export declare const InteractionDescriptor: (options?: ElementHighlightByXOptions) => {
4
4
  start: {
5
5
  trigger: string;
6
6
  action: ({
7
7
  type: string;
8
- filterBy: string;
8
+ filter: string;
9
9
  } | {
10
- color?: string;
10
+ x?: string;
11
11
  type: string;
12
- filterBy?: undefined;
12
+ filter?: undefined;
13
13
  })[];
14
14
  }[];
15
15
  end: {
16
16
  trigger: string;
17
17
  action: {
18
- color?: string;
18
+ x?: string;
19
19
  type: string;
20
20
  }[];
21
21
  }[];
@@ -4,7 +4,7 @@ export const InteractionDescriptor = (options) => ({
4
4
  {
5
5
  trigger: 'plot:pointermove',
6
6
  action: [
7
- { type: 'elementSelection', filterBy: 'x' },
7
+ { type: 'elementSelection', filter: 'x' },
8
8
  Object.assign({ type: 'highlightElement' }, options),
9
9
  ],
10
10
  },
@@ -1 +1 @@
1
- {"version":3,"file":"elementHighlightByX.js","sourceRoot":"src/","sources":["interaction/builtin/elementHighlightByX.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAO9C,MAAM,CAAC,MAAM,qBAAqB,GAAG,CACnC,OAAoC,EACpC,EAAE,CAAC,CAAC;IACJ,KAAK,EAAE;QACL;YACE,OAAO,EAAE,kBAAkB;YAC3B,MAAM,EAAE;gBACN,EAAE,IAAI,EAAE,kBAAkB,EAAE,QAAQ,EAAE,GAAG,EAAE;gCACzC,IAAI,EAAE,kBAAkB,IAAK,OAAO;aACvC;SACF;KACF;IACD,GAAG,EAAE;QACH;YACE,OAAO,EAAE,mBAAmB;YAC5B,MAAM,EAAE;gBACN,EAAE,IAAI,EAAE,kBAAkB,EAAE;gCAC1B,IAAI,EAAE,kBAAkB,IAAK,OAAO;aACvC;SACF;KACF;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,mBAAmB,GAC9B,iBAAiB,CAA6B,qBAAqB,CAAC,CAAC;AAEvE,mBAAmB,CAAC,KAAK,GAAG,EAAE,CAAC"}
1
+ {"version":3,"file":"elementHighlightByX.js","sourceRoot":"src/","sources":["interaction/builtin/elementHighlightByX.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAO9C,MAAM,CAAC,MAAM,qBAAqB,GAAG,CACnC,OAAoC,EACpC,EAAE,CAAC,CAAC;IACJ,KAAK,EAAE;QACL;YACE,OAAO,EAAE,kBAAkB;YAC3B,MAAM,EAAE;gBACN,EAAE,IAAI,EAAE,kBAAkB,EAAE,MAAM,EAAE,GAAG,EAAE;gCACvC,IAAI,EAAE,kBAAkB,IAAK,OAAO;aACvC;SACF;KACF;IACD,GAAG,EAAE;QACH;YACE,OAAO,EAAE,mBAAmB;YAC5B,MAAM,EAAE;gBACN,EAAE,IAAI,EAAE,kBAAkB,EAAE;gCAC1B,IAAI,EAAE,kBAAkB,IAAK,OAAO;aACvC;SACF;KACF;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,mBAAmB,GAC9B,iBAAiB,CAA6B,qBAAqB,CAAC,CAAC;AAEvE,mBAAmB,CAAC,KAAK,GAAG,EAAE,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { ElementListHighlightInteraction } from '../../spec';
2
- export declare type ElementListHighlightOptions = Omit<ElementListHighlightInteraction, 'type'>;
2
+ export type ElementListHighlightOptions = Omit<ElementListHighlightInteraction, 'type'>;
3
3
  export declare const InteractionDescriptor: (options?: ElementListHighlightOptions) => {
4
4
  start: {
5
5
  trigger: string;
@@ -1 +1 @@
1
- {"version":3,"file":"elementListHighlight.js","sourceRoot":"src/","sources":["interaction/builtin/elementListHighlight.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAO9C,MAAM,CAAC,MAAM,qBAAqB,GAAG,CACnC,OAAqC,EACrC,EAAE,CAAC,CAAC;IACJ,KAAK,EAAE;QACL;YACE,OAAO,EAAE,kBAAkB;YAC3B,MAAM,EAAE;gBACN,EAAE,IAAI,EAAE,kBAAkB,EAAE;gCAC1B,IAAI,EAAE,kBAAkB,IAAK,OAAO;gBACtC,EAAE,IAAI,EAAE,qBAAqB,EAAE,IAAI,EAAE,kBAAkB,EAAE;gBACzD,EAAE,IAAI,EAAE,cAAc,EAAE,KAAK,EAAE,CAAC,YAAY,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE;aACpE;SACF;KACF;IACD,GAAG,EAAE;QACH;YACE,OAAO,EAAE,mBAAmB;YAC5B,MAAM,EAAE;gBACN,EAAE,IAAI,EAAE,kBAAkB,EAAE;gCAC1B,IAAI,EAAE,kBAAkB,IAAK,OAAO;gBACtC,EAAE,IAAI,EAAE,qBAAqB,EAAE,IAAI,EAAE,kBAAkB,EAAE;gBACzD,EAAE,IAAI,EAAE,cAAc,EAAE,KAAK,EAAE,CAAC,YAAY,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE;aACpE;SACF;KACF;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,oBAAoB,GAC/B,iBAAiB,CAA8B,qBAAqB,CAAC,CAAC;AAExE,oBAAoB,CAAC,KAAK,GAAG,EAAE,CAAC"}
1
+ {"version":3,"file":"elementListHighlight.js","sourceRoot":"src/","sources":["interaction/builtin/elementListHighlight.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAO9C,MAAM,CAAC,MAAM,qBAAqB,GAAG,CACnC,OAAqC,EACrC,EAAE,CAAC,CAAC;IACJ,KAAK,EAAE;QACL;YACE,OAAO,EAAE,kBAAkB;YAC3B,MAAM,EAAE;gBACN,EAAE,IAAI,EAAE,kBAAkB,EAAE;gCAC1B,IAAI,EAAE,kBAAkB,IAAK,OAAO;gBACtC,EAAE,IAAI,EAAE,qBAAqB,EAAE,IAAI,EAAE,kBAAkB,EAAE;gBACzD,EAAE,IAAI,EAAE,cAAc,EAAE,KAAK,EAAE,CAAC,YAAY,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE;aACpE;SACF;KACF;IACD,GAAG,EAAE;QACH;YACE,OAAO,EAAE,mBAAmB;YAC5B,MAAM,EAAE;gBACN,EAAE,IAAI,EAAE,kBAAkB,EAAE;gCAC1B,IAAI,EAAE,kBAAkB,IAAK,OAAO;gBACtC,EAAE,IAAI,EAAE,qBAAqB,EAAE,IAAI,EAAE,kBAAkB,EAAE;gBACzD,EAAE,IAAI,EAAE,cAAc,EAAE,KAAK,EAAE,CAAC,YAAY,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE;aACpE;SACF;KACF;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,oBAAoB,GAC/B,iBAAiB,CAA8B,qBAAqB,CAAC,CAAC;AAExE,oBAAoB,CAAC,KAAK,GAAG,EAAE,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { ElementSelectedInteraction } from '../../spec';
2
- export declare type ElementSelectedOptions = Omit<ElementSelectedInteraction, 'type'>;
2
+ export type ElementSelectedOptions = Omit<ElementSelectedInteraction, 'type'>;
3
3
  export declare const InteractionDescriptor: (options?: ElementSelectedOptions) => {
4
4
  start: {
5
5
  trigger: string;
@@ -8,10 +8,8 @@ export declare const InteractionDescriptor: (options?: ElementSelectedOptions) =
8
8
  multiple: boolean;
9
9
  toggle: boolean;
10
10
  } | {
11
- color?: string;
12
- border: number;
13
- singleMode?: boolean;
14
11
  type: string;
12
+ border: number;
15
13
  multiple?: undefined;
16
14
  toggle?: undefined;
17
15
  })[];
@@ -1 +1 @@
1
- {"version":3,"file":"elementSelected.js","sourceRoot":"src/","sources":["interaction/builtin/elementSelected.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAI9C,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,UAAkC,EAAE,EAAE,EAAE;IAC5E,MAAM,EAAE,UAAU,GAAG,KAAK,EAAE,GAAG,OAAO,CAAC;IACvC,OAAO;QACL,KAAK,EAAE;YACL;gBACE,OAAO,EAAE,kBAAkB;gBAC3B,MAAM,EAAE;oBACN,EAAE,IAAI,EAAE,kBAAkB,EAAE,QAAQ,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,IAAI,EAAE;oCAC/D,IAAI,EAAE,eAAe,EAAE,MAAM,EAAE,CAAC,IAAK,OAAO;iBAC/C;aACF;SACF;KACF,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,eAAe,GAAG,iBAAiB,CAC9C,qBAAqB,CACtB,CAAC;AAEF,eAAe,CAAC,KAAK,GAAG,EAAE,CAAC"}
1
+ {"version":3,"file":"elementSelected.js","sourceRoot":"src/","sources":["interaction/builtin/elementSelected.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAI9C,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,UAAkC,EAAE,EAAE,EAAE;IAC5E,MAAM,EAAE,UAAU,GAAG,KAAK,EAAE,GAAG,OAAO,CAAC;IACvC,OAAO;QACL,KAAK,EAAE;YACL;gBACE,OAAO,EAAE,kBAAkB;gBAC3B,MAAM,EAAE;oBACN,EAAE,IAAI,EAAE,kBAAkB,EAAE,QAAQ,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,IAAI,EAAE;oCAC/D,IAAI,EAAE,eAAe,EAAE,MAAM,EAAE,CAAC,IAAK,OAAO;iBAC/C;aACF;SACF;KACF,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,eAAe,GAAG,iBAAiB,CAC9C,qBAAqB,CACtB,CAAC;AAEF,eAAe,CAAC,KAAK,GAAG,EAAE,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { EllipsisTextInteraction } from '../../spec';
2
- export declare type EllipsisTextOptions = Omit<EllipsisTextInteraction, 'type'>;
2
+ export type EllipsisTextOptions = Omit<EllipsisTextInteraction, 'type'>;
3
3
  export declare const InteractionDescriptor: (options?: EllipsisTextOptions) => {
4
4
  start: {
5
5
  trigger: string;
@@ -1 +1 @@
1
- {"version":3,"file":"ellipsisText.js","sourceRoot":"src/","sources":["interaction/builtin/ellipsisText.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAI9C,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,OAA6B,EAAE,EAAE,CAAC,CAAC;IACvE,KAAK,EAAE;QACL;YACE,OAAO,EAAE,WAAW;YACpB,QAAQ,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE;YACtD,MAAM,EAAE;gBACN,EAAE,IAAI,EAAE,uBAAuB,EAAE;gBACjC,EAAE,IAAI,EAAE,WAAW,EAAE;gCACnB,IAAI,EAAE,QAAQ,IAAK,OAAO;aAC7B;SACF;KACF;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,YAAY,GAAG,iBAAiB,CAC3C,qBAAqB,CACtB,CAAC;AAEF,YAAY,CAAC,KAAK,GAAG,EAAE,CAAC"}
1
+ {"version":3,"file":"ellipsisText.js","sourceRoot":"src/","sources":["interaction/builtin/ellipsisText.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAI9C,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,OAA6B,EAAE,EAAE,CAAC,CAAC;IACvE,KAAK,EAAE;QACL;YACE,OAAO,EAAE,WAAW;YACpB,QAAQ,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE;YACtD,MAAM,EAAE;gBACN,EAAE,IAAI,EAAE,uBAAuB,EAAE;gBACjC,EAAE,IAAI,EAAE,WAAW,EAAE;gCACnB,IAAI,EAAE,QAAQ,IAAK,OAAO;aAC7B;SACF;KACF;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,YAAY,GAAG,iBAAiB,CAC3C,qBAAqB,CACtB,CAAC;AAEF,YAAY,CAAC,KAAK,GAAG,EAAE,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { FisheyeInteraction } from '../../spec';
2
- export declare type FisheyeOptions = Omit<FisheyeInteraction, 'type'>;
2
+ export type FisheyeOptions = Omit<FisheyeInteraction, 'type'>;
3
3
  export declare const InteractionDescriptor: (options?: FisheyeOptions) => {
4
4
  interactors: {
5
5
  type: string;
@@ -12,6 +12,9 @@ export declare const InteractionDescriptor: (options?: FisheyeOptions) => {
12
12
  trailing: boolean;
13
13
  };
14
14
  action: {
15
+ leading?: boolean;
16
+ wait?: number;
17
+ trailing?: boolean;
15
18
  focusX?: number;
16
19
  focusY?: number;
17
20
  distortionX?: number;
@@ -23,6 +26,9 @@ export declare const InteractionDescriptor: (options?: FisheyeOptions) => {
23
26
  end: {
24
27
  trigger: string;
25
28
  action: {
29
+ leading?: boolean;
30
+ wait?: number;
31
+ trailing?: boolean;
26
32
  focusX?: number;
27
33
  focusY?: number;
28
34
  distortionX?: number;
@@ -1 +1 @@
1
- {"version":3,"file":"fisheye.js","sourceRoot":"src/","sources":["interaction/builtin/fisheye.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAI9C,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,OAAwB,EAAE,EAAE,CAAC,CAAC;IACl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AChB,MAAM,EAAE,iBAAG,IAAI,EAAE,cAAc,IAAK,OAAO,GAAI,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;SACjE;KACF;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,OAAO,GAAG,iBAAiB,CAAiB,qBAAqB,CAAC,CAAC;AAEhF,OAAO,CAAC,KAAK,GAAG,EAAE,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { LegendActiveInteraction } from '../../spec';
2
- export declare type LegendActiveOptions = Omit<LegendActiveInteraction, 'type'>;
2
+ export type LegendActiveOptions = Omit<LegendActiveInteraction, 'type'>;
3
3
  export declare const InteractionDescriptor: (options?: LegendActiveOptions) => {
4
4
  start: {
5
5
  trigger: string;
@@ -1 +1 @@
1
- {"version":3,"file":"legendActive.js","sourceRoot":"src/","sources":["interaction/builtin/legendActive.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAI9C,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,OAA6B,EAAE,EAAE,CAAC,CAAC;IACvE,KAAK,EAAE;QACL;YACE,OAAO,EAAE,yBAAyB;YAClC,MAAM,EAAE;gBACN,EAAE,IAAI,EAAE,sBAAsB,EAAE;gBAChC,EAAE,IAAI,EAAE,qBAAqB,EAAE,OAAO,EAAE,aAAa,EAAE;gBACvD,EAAE,IAAI,EAAE,cAAc,EAAE,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,QAAQ,EAAE;gBAC9D,EAAE,IAAI,EAAE,kBAAkB,EAAE,OAAO,EAAE,aAAa,EAAE;gBACpD,EAAE,IAAI,EAAE,eAAe,EAAE;aAC1B;SACF;KACF;IACD,GAAG,EAAE;QACH;YACE,OAAO,EAAE,0BAA0B;YACnC,MAAM,EAAE;gBACN,EAAE,IAAI,EAAE,sBAAsB,EAAE;gBAChC,EAAE,IAAI,EAAE,qBAAqB,EAAE,OAAO,EAAE,aAAa,EAAE;gBACvD,EAAE,IAAI,E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AI,EAAE,eAAe,EAAE;aAC1B;SACF;KACF;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,YAAY,GAAG,iBAAiB,CAC3C,qBAAqB,CACtB,CAAC;AAEF,YAAY,CAAC,KAAK,GAAG,EAAE,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { LegendHighlightInteraction } from '../../spec';
2
- export declare type LegendHighlightOptions = Omit<LegendHighlightInteraction, 'type'>;
2
+ export type LegendHighlightOptions = Omit<LegendHighlightInteraction, 'type'>;
3
3
  export declare const InteractionDescriptor: (options?: LegendHighlightOptions) => {
4
4
  start: {
5
5
  trigger: string;
@@ -1 +1 @@
1
- {"version":3,"file":"legendHighlight.js","sourceRoot":"src/","sources":["interaction/builtin/legendHighlight.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAI9C,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,OAAgC,EAAE,EAAE,CAAC,CAAC;IAC1E,KAAK,EAAE;QACL;YACE,OAAO,EAAE,yBAAyB;YAClC,MAAM,EAAE;gBACN,EAAE,IAAI,EAAE,sBAAsB,EAAE;gBAChC,EAAE,IAAI,EAAE,qBAAqB,EAAE,OAAO,EAAE,aAAa,EAAE;gBACvD,EAAE,IAAI,EAAE,cAAc,EAAE,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,WAAW,EAAE;gBACjE,EAAE,IAAI,EAAE,kBAAkB,EAAE,OAAO,EAAE,aAAa,EAAE;gBACpD,EAAE,IAAI,EAAE,kBAAkB,EAAE;aAC7B;SACF;KACF;IACD,GAAG,EAAE;QACH;YACE,OAAO,EAAE,0BAA0B;YACnC,MAAM,EAAE;gBACN,EAAE,IAAI,EAAE,sBAAsB,EAAE;gBAChC,EAAE,IAAI,EAAE,qBAAqB,EAAE,OAAO,EAAE,aAAa,EAAE;gBACvD,EAAE,IAAI,EAAE,cAAc,EAAE,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,WAA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AAC;AAEH,MAAM,CAAC,MAAM,eAAe,GAAG,iBAAiB,CAC9C,qBAAqB,CACtB,CAAC;AAEF,eAAe,CAAC,KAAK,GAAG,EAAE,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { TooltipInteraction } from '../../spec';
2
- export declare type TooltipOptions = Omit<TooltipInteraction, 'type'>;
2
+ export type TooltipOptions = Omit<TooltipInteraction, 'type'>;
3
3
  export declare const InteractionDescriptor: (options?: TooltipOptions) => {
4
4
  interactors: {
5
5
  type: string;
@@ -10,10 +10,12 @@ export declare const InteractionDescriptor: (options?: TooltipOptions) => {
10
10
  type: string;
11
11
  trigger: string;
12
12
  } | {
13
- shared?: boolean;
14
- showMarkers?: boolean;
13
+ series?: boolean;
15
14
  showCrosshairs?: boolean;
15
+ item?: any;
16
16
  crosshairs?: any;
17
+ shared?: boolean;
18
+ showMarkers?: boolean;
17
19
  markers?: any;
18
20
  type: string;
19
21
  trigger?: undefined;
@@ -29,10 +31,12 @@ export declare const InteractionDescriptor: (options?: TooltipOptions) => {
29
31
  type: string;
30
32
  clear: boolean;
31
33
  } | {
32
- shared?: boolean;
33
- showMarkers?: boolean;
34
+ series?: boolean;
34
35
  showCrosshairs?: boolean;
36
+ item?: any;
35
37
  crosshairs?: any;
38
+ shared?: boolean;
39
+ showMarkers?: boolean;
36
40
  markers?: any;
37
41
  type: string;
38
42
  hide: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"tooltip.js","sourceRoot":"src/","sources":["interaction/builtin/tooltip.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAI9C,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,OAAwB,EAAE,EAAE,CAAC,CAAC;IAClE,WAAW,EAAE,CAAC,EAAE,IAAI,EAAE,eAAe,EAAE,EAAE,EAAE,IAAI,EAAE,eAAe,EAAE,CAAC;IACnE,KAAK,EAAE;QACL;YACE,OAAO,EAAE,OAAO;YAChB,MAAM,EA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CACC,IAAI,EAAE,SAAS,IAAK,OAAO;aAC9B;YACD,QAAQ,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE;SACvD;QACD;YACE,OAAO,EAAE,OAAO;YAChB,MAAM,EAAE;gBACN,EAAE,IAAI,EAAE,kBAAkB,EAAE,KAAK,EAAE,IAAI,EAAE;gCACvC,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,IAAK,OAAO;aAC1C;SACF;KACF;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,OAAO,GAAG,iBAAiB,CAAiB,qBAAqB,CAAC,CAAC;AAEhF,OAAO,CAAC,KAAK,GAAG,EAAE,CAAC"}
@@ -1,18 +1,9 @@
1
- export { createInteraction } from './create';
2
- export { createInteractionLibrary } from './stdlib';
3
- export { ElementActive } from './builtin/elementActive';
4
- export { ElementSelected } from './builtin/elementSelected';
5
- export { Tooltip } from './builtin/tooltip';
6
- export { Fisheye } from './builtin/fisheye';
7
- export { ElementHighlight } from './builtin/elementHighlight';
8
- export { ElementListHighlight } from './builtin/elementListHighlight';
9
- export { ElementHighlightByX } from './builtin/elementHighlightByX';
10
- export { ElementHighlightByColor } from './builtin/elementHighlightByColor';
11
- export { LegendActive } from './builtin/legendActive';
12
- export { LegendHighlight } from './builtin/legendHighlight';
13
- export { Brush } from './builtin/brush';
14
- export { BrushHighlight } from './builtin/brushHighlight';
15
- export { BrushVisible } from './builtin/brushVisible';
16
- export { ActiveRegion } from './builtin/activeRegion';
17
- export { EllipsisText } from './builtin/ellipsisText';
18
- export type { InteractionContext, ActionComponent, InteractionDescriptor, InteractionStep, InteractorOptions, ActionOptions, Action, InteractorAction, Interactor, G2Event, InteractionNamespaces, InteractorComponent, InteractionOptions, InteractionValue, } from './types';
1
+ export { ElementHighlight } from './native/elementHighlight';
2
+ export { ElementHighlightByX } from './native/elementHighlightByX';
3
+ export { ElementHighlightByColor } from './native/elementHighlightByColor';
4
+ export { ElementSelect } from './native/elementSelect';
5
+ export { ElementSelectByX } from './native/elementSelectByX';
6
+ export { ElementSelectByColor } from './native/elementSelectByColor';
7
+ export { ChartIndex } from './native/chartIndex';
8
+ export { Fisheye } from './native/fisheye';
9
+ export { Tooltip } from './native/tooltip';
@@ -1,18 +1,42 @@
1
- export { createInteraction } from './create';
2
- export { createInteractionLibrary } from './stdlib';
3
- export { ElementActive } from './builtin/elementActive';
4
- export { ElementSelected } from './builtin/elementSelected';
5
- export { Tooltip } from './builtin/tooltip';
6
- export { Fisheye } from './builtin/fisheye';
7
- export { ElementHighlight } from './builtin/elementHighlight';
8
- export { ElementListHighlight } from './builtin/elementListHighlight';
9
- export { ElementHighlightByX } from './builtin/elementHighlightByX';
10
- export { ElementHighlightByColor } from './builtin/elementHighlightByColor';
11
- export { LegendActive } from './builtin/legendActive';
12
- export { LegendHighlight } from './builtin/legendHighlight';
13
- export { Brush } from './builtin/brush';
14
- export { BrushHighlight } from './builtin/brushHighlight';
15
- export { BrushVisible } from './builtin/brushVisible';
16
- export { ActiveRegion } from './builtin/activeRegion';
17
- export { EllipsisText } from './builtin/ellipsisText';
1
+ // export { createInteraction } from './create';
2
+ // export { createInteractionLibrary } from './stdlib';
3
+ export { ElementHighlight } from './native/elementHighlight';
4
+ export { ElementHighlightByX } from './native/elementHighlightByX';
5
+ export { ElementHighlightByColor } from './native/elementHighlightByColor';
6
+ export { ElementSelect } from './native/elementSelect';
7
+ export { ElementSelectByX } from './native/elementSelectByX';
8
+ export { ElementSelectByColor } from './native/elementSelectByColor';
9
+ export { ChartIndex } from './native/chartIndex';
10
+ export { Fisheye } from './native/fisheye';
11
+ export { Tooltip } from './native/tooltip';
12
+ // export { ElementSelected } from './builtin/elementSelected';
13
+ // export { Tooltip } from './builtin/tooltip';
14
+ // export { Fisheye } from './builtin/fisheye';
15
+ // export { ElementHighlight } from './builtin/elementHighlight';
16
+ // export { ElementListHighlight } from './builtin/elementListHighlight';
17
+ // export { ElementHighlightByX } from './builtin/elementHighlightByX';
18
+ // export { ElementHighlightByColor } from './builtin/elementHighlightByColor';
19
+ // export { LegendActive } from './builtin/legendActive';
20
+ // export { LegendHighlight } from './builtin/legendHighlight';
21
+ // export { Brush } from './builtin/brush';
22
+ // export { BrushHighlight } from './builtin/brushHighlight';
23
+ // export { BrushVisible } from './builtin/brushVisible';
24
+ // export { ActiveRegion } from './builtin/activeRegion';
25
+ // export { EllipsisText } from './builtin/ellipsisText';
26
+ // export type {
27
+ // InteractionContext,
28
+ // ActionComponent,
29
+ // InteractionDescriptor,
30
+ // InteractionStep,
31
+ // InteractorOptions,
32
+ // ActionOptions,
33
+ // Action,
34
+ // InteractorAction,
35
+ // Interactor,
36
+ // G2Event,
37
+ // InteractionNamespaces,
38
+ // InteractorComponent,
39
+ // InteractionOptions,
40
+ // InteractionValue,
41
+ // } from './types';
18
42
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"src/","sources":["interaction/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAC;AAEpD,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAC9D,OAAO,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AACtE,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AACpE,OAAO,EAAE,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAC5E,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,OAAO,E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,2BAA2B;AAC3B,yBAAyB;AACzB,wBAAwB;AACxB,sBAAsB;AACtB,oBAAoB"}
@@ -1,3 +1,3 @@
1
1
  import { InteractorComponent as IC } from '../types';
2
- export declare type MousePositionPotions = Record<string, unknown>;
2
+ export type MousePositionPotions = Record<string, unknown>;
3
3
  export declare const MousePosition: IC<MousePositionPotions>;
@@ -1,3 +1,3 @@
1
1
  import { InteractorComponent as IC } from '../types';
2
- export declare type TouchPositionPotions = Record<string, unknown>;
2
+ export type TouchPositionPotions = Record<string, unknown>;
3
3
  export declare const TouchPosition: IC<TouchPositionPotions>;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * @todo Perf
3
+ */
4
+ export declare function ChartIndex({ wait, leading, trailing, labelFormatter, ...style }: Record<string, any>): (context: any) => () => void;
@@ -0,0 +1,172 @@
1
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
2
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
3
+ return new (P || (P = Promise))(function (resolve, reject) {
4
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
5
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
6
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
7
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
8
+ });
9
+ };
10
+ var __rest = (this && this.__rest) || function (s, e) {
11
+ var t = {};
12
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
13
+ t[p] = s[p];
14
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
15
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
16
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
17
+ t[p[i]] = s[p[i]];
18
+ }
19
+ return t;
20
+ };
21
+ import { Line, Text } from '@antv/g';
22
+ import { deepMix, throttle } from '@antv/util';
23
+ import { max, min, rollup, sort, bisectCenter, bisector, group, } from 'd3-array';
24
+ import { subObject } from '../../utils/helper';
25
+ import { ELEMENT_CLASS_NAME, LABEL_CLASS_NAME, } from '../../runtime';
26
+ import { selectPlotArea, mousePosition } from './utils';
27
+ function maybeTransform(options) {
28
+ const { transform = [] } = options;
29
+ const normalizeY = transform.find((d) => d.type === 'normalizeY');
30
+ if (normalizeY)
31
+ return normalizeY;
32
+ const newNormalizeY = { type: 'normalizeY' };
33
+ transform.push(newNormalizeY);
34
+ options.transform = transform;
35
+ return newNormalizeY;
36
+ }
37
+ function markValue(markState, markName, channels) {
38
+ const [value] = Array.from(markState.entries())
39
+ .filter(([mark]) => mark.type === markName)
40
+ .map(([mark]) => {
41
+ const { encode } = mark;
42
+ const channel = (name) => {
43
+ const channel = encode[name];
44
+ return [name, channel ? channel.value : undefined];
45
+ };
46
+ return Object.fromEntries(channels.map(channel));
47
+ });
48
+ return value;
49
+ }
50
+ /**
51
+ * @todo Perf
52
+ */
53
+ export function ChartIndex(_a) {
54
+ var { wait = 20, leading, trailing = false, labelFormatter = (date) => `${date}` } = _a, style = __rest(_a, ["wait", "leading", "trailing", "labelFormatter"]);
55
+ return (context) => {
56
+ const { options, view, container, update } = context;
57
+ const { markState, scale, coordinate } = view;
58
+ // Get line mark value, exit if it is not existed.
59
+ const value = markValue(markState, 'line', ['x', 'y', 'series']);
60
+ if (!value)
61
+ return;
62
+ // Prepare channel value.
63
+ const { y: Y, x: X, series: S = [] } = value;
64
+ const I = Y.map((_, i) => i);
65
+ const sortedX = sort(I.map((i) => X[i]));
66
+ // Clone options and get line mark.
67
+ const clonedOptions = deepMix({}, options);
68
+ const lineMark = clonedOptions.marks.find((d) => d.type === 'line');
69
+ // Update domain of y scale for the line mark.
70
+ const r = (I) => max(I, (i) => +Y[i]) / min(I, (i) => +Y[i]);
71
+ const k = max(rollup(I, r, (i) => S[i]).values());
72
+ const domainY = [1 / k, k];
73
+ deepMix(lineMark, {
74
+ scale: { y: { domain: domainY } },
75
+ });
76
+ // Prepare shapes.
77
+ const plotArea = selectPlotArea(container);
78
+ const lines = container.getElementsByClassName(ELEMENT_CLASS_NAME);
79
+ const labels = container.getElementsByClassName(LABEL_CLASS_NAME);
80
+ // The format of label key: `${elementKey}-index`,
81
+ // group labels by elementKey.
82
+ const keyofLabel = (d) => d.__data__.key.split('-')[0];
83
+ const keyLabels = group(labels, keyofLabel);
84
+ const rule = new Line({
85
+ style: Object.assign({ x1: 0, y1: 0, x2: 0, y2: plotArea.getAttribute('height'), stroke: 'black', lineWidth: 1 }, subObject(style, 'rule')),
86
+ });
87
+ const text = new Text({
88
+ style: Object.assign({ x: 0, y: plotArea.getAttribute('height'), text: '', fontSize: 10 }, subObject(style, 'label')),
89
+ });
90
+ rule.append(text);
91
+ plotArea.appendChild(rule);
92
+ // Get the closet date to the rule.
93
+ const dateByFocus = (coordinate, scaleX, focus) => {
94
+ const [normalizedX] = coordinate.invert(focus);
95
+ const date = scaleX.invert(normalizedX);
96
+ return sortedX[bisectCenter(sortedX, date)];
97
+ };
98
+ // Update rule and label content.
99
+ const updateRule = (focus, date) => {
100
+ rule.setAttribute('x1', focus[0]);
101
+ rule.setAttribute('x2', focus[0]);
102
+ text.setAttribute('text', labelFormatter(date));
103
+ };
104
+ // Store the new inner state alter rerender the view.
105
+ let newView;
106
+ // Rerender the view to update basis for each line.
107
+ const updateBasisByRerender = (focus) => __awaiter(this, void 0, void 0, function* () {
108
+ // Find the closetDate to the rule.
109
+ const { x: scaleX } = scale;
110
+ const date = dateByFocus(coordinate, scaleX, focus);
111
+ updateRule(focus, date);
112
+ // Update normalize options.
113
+ const normalizeY = maybeTransform(lineMark);
114
+ normalizeY.groupBy = 'color';
115
+ normalizeY.basis = (I, Y) => {
116
+ const i = I[bisector((i) => X[+i]).center(I, date)];
117
+ return Y[i];
118
+ };
119
+ // Disable animation.
120
+ for (const mark of clonedOptions.marks)
121
+ mark.animate = false;
122
+ const newState = yield update(clonedOptions);
123
+ newView = newState.view;
124
+ });
125
+ // Only apply translate to update basis for each line.
126
+ // If performance is ok, there is no need to use this
127
+ // strategy to update basis.
128
+ const updateBasisByTranslate = (focus) => {
129
+ // Find the closetDate to the rule.
130
+ const { scale, coordinate } = newView;
131
+ const { x: scaleX, y: scaleY } = scale;
132
+ const date = dateByFocus(coordinate, scaleX, focus);
133
+ updateRule(focus, date);
134
+ // Translate mark and label for better performance.
135
+ for (const line of lines) {
136
+ // Compute transform in y direction.
137
+ const { seriesIndex: SI, key } = line.__data__;
138
+ const i = SI[bisector((i) => X[+i]).center(SI, date)];
139
+ const p0 = [0, scaleY.map(1)]; // basis point
140
+ const p1 = [0, scaleY.map(Y[i] / Y[SI[0]])];
141
+ const [, y0] = coordinate.map(p0);
142
+ const [, y1] = coordinate.map(p1);
143
+ const dy = y0 - y1;
144
+ line.setAttribute('transform', `translate(0, ${dy})`);
145
+ // Update line and related label.
146
+ const labels = keyLabels.get(key) || [];
147
+ for (const label of labels) {
148
+ // @todo Replace with style.transform.
149
+ // It now has unexpected behavior.
150
+ label.setAttribute('dy', dy);
151
+ }
152
+ }
153
+ };
154
+ const updateBasis = throttle((event) => {
155
+ const focus = mousePosition(plotArea, event);
156
+ if (!focus)
157
+ return;
158
+ updateBasisByTranslate(focus);
159
+ }, wait, { leading, trailing });
160
+ updateBasisByRerender([0, 0]);
161
+ plotArea.addEventListener('pointerenter', updateBasis);
162
+ plotArea.addEventListener('pointermove', updateBasis);
163
+ plotArea.addEventListener('pointerleave', updateBasis);
164
+ return () => {
165
+ rule.remove();
166
+ plotArea.removeEventListener('pointerenter', updateBasis);
167
+ plotArea.removeEventListener('pointermove', updateBasis);
168
+ plotArea.removeEventListener('pointerleave', updateBasis);
169
+ };
170
+ };
171
+ }
172
+ //# sourceMappingURL=chartIndex.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chartIndex.js","sourceRoot":"src/","sources":["interaction/native/chartIndex.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,OAAO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