@antv/g2 5.0.17 → 5.0.19

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 (529) hide show
  1. package/dist/g2-lite.min.js +3 -3
  2. package/dist/g2.min.js +3 -3
  3. package/esm/api/chart.d.ts +1017 -85
  4. package/esm/api/chart.js +3 -259
  5. package/esm/api/chart.js.map +1 -1
  6. package/esm/api/composition.d.ts +37 -0
  7. package/esm/api/{composition/base.js → composition.js} +17 -5
  8. package/esm/api/composition.js.map +1 -0
  9. package/esm/api/define.d.ts +14 -0
  10. package/esm/api/define.js +92 -0
  11. package/esm/api/define.js.map +1 -0
  12. package/esm/api/extend.d.ts +9 -0
  13. package/esm/api/extend.js +9 -0
  14. package/esm/api/extend.js.map +1 -0
  15. package/esm/api/index.d.ts +2 -0
  16. package/esm/api/index.js +2 -0
  17. package/esm/api/index.js.map +1 -1
  18. package/esm/api/library.d.ts +170 -1
  19. package/esm/api/library.js +2 -2
  20. package/esm/api/library.js.map +1 -1
  21. package/esm/api/mark.d.ts +29 -0
  22. package/esm/api/{mark/base.js → mark.js} +16 -4
  23. package/esm/api/mark.js.map +1 -0
  24. package/esm/api/node.d.ts +2 -2
  25. package/esm/api/node.js.map +1 -1
  26. package/esm/api/props.d.ts +170 -12
  27. package/esm/api/props.js +21 -102
  28. package/esm/api/props.js.map +1 -1
  29. package/esm/api/runtime.d.ts +66 -0
  30. package/esm/api/runtime.js +294 -0
  31. package/esm/api/runtime.js.map +1 -0
  32. package/esm/api/types.d.ts +60 -5
  33. package/esm/api/utils.d.ts +1 -1
  34. package/esm/api/utils.js +11 -13
  35. package/esm/api/utils.js.map +1 -1
  36. package/esm/component/axis.js +7 -4
  37. package/esm/component/axis.js.map +1 -1
  38. package/esm/component/legendCategory.js +4 -5
  39. package/esm/component/legendCategory.js.map +1 -1
  40. package/esm/component/legendContinuous.js +6 -5
  41. package/esm/component/legendContinuous.js.map +1 -1
  42. package/esm/composition/d3Projection.js.map +1 -0
  43. package/esm/composition/geoPath.js.map +1 -0
  44. package/esm/{geo → composition}/geoView.js +1 -1
  45. package/esm/composition/geoView.js.map +1 -0
  46. package/esm/composition/index.d.ts +2 -0
  47. package/esm/composition/index.js +2 -0
  48. package/esm/composition/index.js.map +1 -1
  49. package/esm/index.d.ts +4 -3
  50. package/esm/index.js +3 -2
  51. package/esm/index.js.map +1 -1
  52. package/esm/interaction/legendFilter.d.ts +2 -0
  53. package/esm/interaction/legendFilter.js +66 -37
  54. package/esm/interaction/legendFilter.js.map +1 -1
  55. package/esm/label-transform/overlapDodgeY.js.map +1 -1
  56. package/esm/lib/core.d.ts +158 -0
  57. package/esm/lib/core.js +174 -0
  58. package/esm/lib/core.js.map +1 -0
  59. package/esm/lib/geo.d.ts +4 -0
  60. package/esm/lib/geo.js +9 -0
  61. package/esm/lib/geo.js.map +1 -0
  62. package/esm/lib/graph.d.ts +4 -0
  63. package/esm/lib/graph.js +8 -0
  64. package/esm/lib/graph.js.map +1 -0
  65. package/esm/lib/index.d.ts +6 -0
  66. package/esm/lib/index.js +7 -0
  67. package/esm/lib/index.js.map +1 -0
  68. package/esm/lib/lite.d.ts +64 -0
  69. package/esm/lib/lite.js +78 -0
  70. package/esm/lib/lite.js.map +1 -0
  71. package/esm/lib/plot.d.ts +11 -0
  72. package/esm/lib/plot.js +16 -0
  73. package/esm/lib/plot.js.map +1 -0
  74. package/esm/lib/std.d.ts +170 -0
  75. package/esm/lib/std.js +8 -0
  76. package/esm/lib/std.js.map +1 -0
  77. package/esm/mark/area.js +14 -5
  78. package/esm/mark/area.js.map +1 -1
  79. package/esm/mark/box.js +9 -2
  80. package/esm/mark/box.js.map +1 -1
  81. package/esm/mark/cell.js +11 -5
  82. package/esm/mark/cell.js.map +1 -1
  83. package/esm/mark/connector.js +6 -2
  84. package/esm/mark/connector.js.map +1 -1
  85. package/esm/mark/density.js +10 -7
  86. package/esm/mark/density.js.map +1 -1
  87. package/esm/mark/forceGraph.js +0 -3
  88. package/esm/mark/forceGraph.js.map +1 -1
  89. package/esm/mark/heatmap.js +9 -4
  90. package/esm/mark/heatmap.js.map +1 -1
  91. package/esm/mark/image.js +9 -4
  92. package/esm/mark/image.js.map +1 -1
  93. package/esm/mark/interval.js +13 -7
  94. package/esm/mark/interval.js.map +1 -1
  95. package/esm/mark/line.js +15 -4
  96. package/esm/mark/line.js.map +1 -1
  97. package/esm/mark/lineX.js +13 -6
  98. package/esm/mark/lineX.js.map +1 -1
  99. package/esm/mark/lineY.js +13 -6
  100. package/esm/mark/lineY.js.map +1 -1
  101. package/esm/mark/link.js +12 -4
  102. package/esm/mark/link.js.map +1 -1
  103. package/esm/mark/path.js +7 -2
  104. package/esm/mark/path.js.map +1 -1
  105. package/esm/mark/point.js +28 -29
  106. package/esm/mark/point.js.map +1 -1
  107. package/esm/mark/polygon.js +7 -2
  108. package/esm/mark/polygon.js.map +1 -1
  109. package/esm/mark/range.js +4 -2
  110. package/esm/mark/range.js.map +1 -1
  111. package/esm/mark/rangeX.js +6 -2
  112. package/esm/mark/rangeX.js.map +1 -1
  113. package/esm/mark/rangeY.js +6 -2
  114. package/esm/mark/rangeY.js.map +1 -1
  115. package/esm/mark/rect.js +9 -3
  116. package/esm/mark/rect.js.map +1 -1
  117. package/esm/mark/shape.js +9 -3
  118. package/esm/mark/shape.js.map +1 -1
  119. package/esm/mark/text.js +10 -4
  120. package/esm/mark/text.js.map +1 -1
  121. package/esm/mark/treemap.js.map +1 -1
  122. package/esm/mark/utils.d.ts +11 -8
  123. package/esm/mark/utils.js +8 -7
  124. package/esm/mark/utils.js.map +1 -1
  125. package/esm/mark/vector.js +6 -2
  126. package/esm/mark/vector.js.map +1 -1
  127. package/esm/runtime/index.d.ts +1 -1
  128. package/esm/runtime/index.js +1 -1
  129. package/esm/runtime/index.js.map +1 -1
  130. package/esm/runtime/plot.js +14 -10
  131. package/esm/runtime/plot.js.map +1 -1
  132. package/esm/runtime/render.js +3 -6
  133. package/esm/runtime/render.js.map +1 -1
  134. package/esm/runtime/types/component.d.ts +1 -1
  135. package/esm/runtime/types/mark.d.ts +4 -0
  136. package/esm/runtime/types/options.d.ts +4 -1
  137. package/esm/runtime/types/theme.d.ts +1 -0
  138. package/esm/shape/index.d.ts +106 -101
  139. package/esm/shape/index.js +58 -53
  140. package/esm/shape/index.js.map +1 -1
  141. package/esm/shape/label/label.d.ts +7 -1
  142. package/esm/shape/label/label.js +11 -2
  143. package/esm/shape/label/label.js.map +1 -1
  144. package/esm/shape/text/advance.js +24 -11
  145. package/esm/shape/text/advance.js.map +1 -1
  146. package/esm/spec/composition.d.ts +7 -0
  147. package/esm/spec/index.d.ts +1 -0
  148. package/esm/spec/index.js.map +1 -1
  149. package/esm/spec/interaction.d.ts +2 -0
  150. package/esm/theme/academy.js +12 -6
  151. package/esm/theme/academy.js.map +1 -1
  152. package/esm/theme/classic.js +12 -7
  153. package/esm/theme/classic.js.map +1 -1
  154. package/esm/theme/classicDark.js +12 -6
  155. package/esm/theme/classicDark.js.map +1 -1
  156. package/esm/transform/filter.js +19 -6
  157. package/esm/transform/filter.js.map +1 -1
  158. package/esm/utils/coordinate.d.ts +2 -2
  159. package/esm/utils/scale.d.ts +1 -1
  160. package/esm/utils/scale.js +1 -1
  161. package/esm/utils/scale.js.map +1 -1
  162. package/esm/utils/selection.d.ts +1 -1
  163. package/esm/utils/selection.js +3 -1
  164. package/esm/utils/selection.js.map +1 -1
  165. package/lib/api/chart.d.ts +1017 -85
  166. package/lib/api/chart.js +4 -263
  167. package/lib/api/chart.js.map +1 -1
  168. package/lib/api/composition.d.ts +37 -0
  169. package/lib/api/{composition/base.js → composition.js} +16 -5
  170. package/lib/api/composition.js.map +1 -0
  171. package/lib/api/define.d.ts +14 -0
  172. package/lib/api/define.js +97 -0
  173. package/lib/api/define.js.map +1 -0
  174. package/lib/api/extend.d.ts +9 -0
  175. package/lib/api/extend.js +13 -0
  176. package/lib/api/extend.js.map +1 -0
  177. package/lib/api/index.d.ts +2 -0
  178. package/lib/api/index.js +5 -1
  179. package/lib/api/index.js.map +1 -1
  180. package/lib/api/library.d.ts +170 -1
  181. package/lib/api/library.js +2 -2
  182. package/lib/api/library.js.map +1 -1
  183. package/lib/api/mark.d.ts +29 -0
  184. package/lib/api/{mark/base.js → mark.js} +15 -4
  185. package/lib/api/mark.js.map +1 -0
  186. package/lib/api/node.d.ts +2 -2
  187. package/lib/api/node.js.map +1 -1
  188. package/lib/api/props.d.ts +170 -12
  189. package/lib/api/props.js +22 -106
  190. package/lib/api/props.js.map +1 -1
  191. package/lib/api/runtime.d.ts +66 -0
  192. package/lib/api/runtime.js +301 -0
  193. package/lib/api/runtime.js.map +1 -0
  194. package/lib/api/types.d.ts +60 -5
  195. package/lib/api/utils.d.ts +1 -1
  196. package/lib/api/utils.js +14 -16
  197. package/lib/api/utils.js.map +1 -1
  198. package/lib/component/axis.js +7 -4
  199. package/lib/component/axis.js.map +1 -1
  200. package/lib/component/legendCategory.js +4 -5
  201. package/lib/component/legendCategory.js.map +1 -1
  202. package/lib/component/legendContinuous.js +5 -4
  203. package/lib/component/legendContinuous.js.map +1 -1
  204. package/lib/composition/d3Projection.js.map +1 -0
  205. package/lib/composition/geoPath.js.map +1 -0
  206. package/lib/{geo → composition}/geoView.js +1 -1
  207. package/lib/composition/geoView.js.map +1 -0
  208. package/lib/composition/index.d.ts +2 -0
  209. package/lib/composition/index.js +5 -1
  210. package/lib/composition/index.js.map +1 -1
  211. package/lib/index.d.ts +4 -3
  212. package/lib/index.js +8 -3
  213. package/lib/index.js.map +1 -1
  214. package/lib/interaction/legendFilter.d.ts +2 -0
  215. package/lib/interaction/legendFilter.js +67 -37
  216. package/lib/interaction/legendFilter.js.map +1 -1
  217. package/lib/label-transform/overlapDodgeY.js.map +1 -1
  218. package/lib/lib/core.d.ts +158 -0
  219. package/lib/lib/core.js +178 -0
  220. package/lib/lib/core.js.map +1 -0
  221. package/lib/lib/geo.d.ts +4 -0
  222. package/lib/lib/geo.js +13 -0
  223. package/lib/lib/geo.js.map +1 -0
  224. package/lib/lib/graph.d.ts +4 -0
  225. package/lib/lib/graph.js +12 -0
  226. package/lib/lib/graph.js.map +1 -0
  227. package/lib/lib/index.d.ts +6 -0
  228. package/lib/lib/index.js +16 -0
  229. package/lib/lib/index.js.map +1 -0
  230. package/lib/lib/lite.d.ts +64 -0
  231. package/lib/lib/lite.js +82 -0
  232. package/lib/lib/lite.js.map +1 -0
  233. package/lib/lib/plot.d.ts +11 -0
  234. package/lib/lib/plot.js +20 -0
  235. package/lib/lib/plot.js.map +1 -0
  236. package/lib/lib/std.d.ts +170 -0
  237. package/lib/lib/std.js +12 -0
  238. package/lib/lib/std.js.map +1 -0
  239. package/lib/mark/area.js +14 -5
  240. package/lib/mark/area.js.map +1 -1
  241. package/lib/mark/box.js +9 -2
  242. package/lib/mark/box.js.map +1 -1
  243. package/lib/mark/cell.js +11 -5
  244. package/lib/mark/cell.js.map +1 -1
  245. package/lib/mark/connector.js +6 -2
  246. package/lib/mark/connector.js.map +1 -1
  247. package/lib/mark/density.js +10 -7
  248. package/lib/mark/density.js.map +1 -1
  249. package/lib/mark/forceGraph.js +0 -3
  250. package/lib/mark/forceGraph.js.map +1 -1
  251. package/lib/mark/heatmap.js +9 -4
  252. package/lib/mark/heatmap.js.map +1 -1
  253. package/lib/mark/image.js +9 -4
  254. package/lib/mark/image.js.map +1 -1
  255. package/lib/mark/interval.js +13 -7
  256. package/lib/mark/interval.js.map +1 -1
  257. package/lib/mark/line.js +15 -4
  258. package/lib/mark/line.js.map +1 -1
  259. package/lib/mark/lineX.js +12 -5
  260. package/lib/mark/lineX.js.map +1 -1
  261. package/lib/mark/lineY.js +12 -5
  262. package/lib/mark/lineY.js.map +1 -1
  263. package/lib/mark/link.js +12 -4
  264. package/lib/mark/link.js.map +1 -1
  265. package/lib/mark/path.js +7 -2
  266. package/lib/mark/path.js.map +1 -1
  267. package/lib/mark/point.js +28 -29
  268. package/lib/mark/point.js.map +1 -1
  269. package/lib/mark/polygon.js +7 -2
  270. package/lib/mark/polygon.js.map +1 -1
  271. package/lib/mark/range.js +4 -2
  272. package/lib/mark/range.js.map +1 -1
  273. package/lib/mark/rangeX.js +6 -2
  274. package/lib/mark/rangeX.js.map +1 -1
  275. package/lib/mark/rangeY.js +6 -2
  276. package/lib/mark/rangeY.js.map +1 -1
  277. package/lib/mark/rect.js +9 -3
  278. package/lib/mark/rect.js.map +1 -1
  279. package/lib/mark/shape.js +9 -3
  280. package/lib/mark/shape.js.map +1 -1
  281. package/lib/mark/text.js +10 -4
  282. package/lib/mark/text.js.map +1 -1
  283. package/lib/mark/treemap.js.map +1 -1
  284. package/lib/mark/utils.d.ts +11 -8
  285. package/lib/mark/utils.js +8 -7
  286. package/lib/mark/utils.js.map +1 -1
  287. package/lib/mark/vector.js +6 -2
  288. package/lib/mark/vector.js.map +1 -1
  289. package/lib/runtime/index.d.ts +1 -1
  290. package/lib/runtime/index.js +4 -4
  291. package/lib/runtime/index.js.map +1 -1
  292. package/lib/runtime/plot.js +14 -10
  293. package/lib/runtime/plot.js.map +1 -1
  294. package/lib/runtime/render.js +3 -6
  295. package/lib/runtime/render.js.map +1 -1
  296. package/lib/runtime/types/component.d.ts +1 -1
  297. package/lib/runtime/types/mark.d.ts +4 -0
  298. package/lib/runtime/types/options.d.ts +4 -1
  299. package/lib/runtime/types/theme.d.ts +1 -0
  300. package/lib/shape/index.d.ts +106 -101
  301. package/lib/shape/index.js +71 -61
  302. package/lib/shape/index.js.map +1 -1
  303. package/lib/shape/label/label.d.ts +7 -1
  304. package/lib/shape/label/label.js +11 -2
  305. package/lib/shape/label/label.js.map +1 -1
  306. package/lib/shape/text/advance.js +24 -11
  307. package/lib/shape/text/advance.js.map +1 -1
  308. package/lib/spec/composition.d.ts +7 -0
  309. package/lib/spec/index.d.ts +1 -0
  310. package/lib/spec/index.js.map +1 -1
  311. package/lib/spec/interaction.d.ts +2 -0
  312. package/lib/theme/academy.js +12 -6
  313. package/lib/theme/academy.js.map +1 -1
  314. package/lib/theme/classic.js +12 -7
  315. package/lib/theme/classic.js.map +1 -1
  316. package/lib/theme/classicDark.js +12 -6
  317. package/lib/theme/classicDark.js.map +1 -1
  318. package/lib/transform/filter.js +19 -6
  319. package/lib/transform/filter.js.map +1 -1
  320. package/lib/utils/coordinate.d.ts +2 -2
  321. package/lib/utils/scale.d.ts +1 -1
  322. package/lib/utils/scale.js +1 -1
  323. package/lib/utils/scale.js.map +1 -1
  324. package/lib/utils/selection.d.ts +1 -1
  325. package/lib/utils/selection.js +3 -1
  326. package/lib/utils/selection.js.map +1 -1
  327. package/package.json +11 -10
  328. package/src/api/chart.ts +5 -341
  329. package/src/api/{composition/base.ts → composition.ts} +16 -8
  330. package/src/api/define.ts +128 -0
  331. package/src/api/extend.ts +34 -0
  332. package/src/api/index.ts +2 -0
  333. package/src/api/library.ts +2 -2
  334. package/src/api/{mark/base.ts → mark.ts} +10 -7
  335. package/src/api/node.ts +3 -3
  336. package/src/api/props.ts +30 -114
  337. package/src/api/runtime.ts +366 -0
  338. package/src/api/types.ts +95 -17
  339. package/src/api/utils.ts +28 -11
  340. package/src/component/axis.ts +10 -5
  341. package/src/component/legendCategory.ts +4 -6
  342. package/src/component/legendContinuous.ts +9 -5
  343. package/src/{geo → composition}/geoView.ts +1 -1
  344. package/src/composition/index.ts +2 -0
  345. package/src/index.ts +12 -3
  346. package/src/interaction/legendFilter.ts +96 -49
  347. package/src/label-transform/overlapDodgeY.ts +0 -1
  348. package/src/{stdlib/index.ts → lib/core.ts} +74 -258
  349. package/src/lib/geo.ts +9 -0
  350. package/src/lib/graph.ts +8 -0
  351. package/src/lib/index.ts +6 -0
  352. package/src/lib/lite.ts +127 -0
  353. package/src/lib/plot.ts +16 -0
  354. package/src/lib/std.ts +13 -0
  355. package/src/mark/area.ts +15 -6
  356. package/src/mark/box.ts +10 -2
  357. package/src/mark/cell.ts +12 -6
  358. package/src/mark/connector.ts +7 -3
  359. package/src/mark/density.ts +11 -8
  360. package/src/mark/forceGraph.ts +0 -3
  361. package/src/mark/heatmap.ts +10 -5
  362. package/src/mark/image.ts +10 -5
  363. package/src/mark/interval.ts +22 -10
  364. package/src/mark/line.ts +23 -5
  365. package/src/mark/lineX.ts +20 -9
  366. package/src/mark/lineY.ts +20 -9
  367. package/src/mark/link.ts +13 -5
  368. package/src/mark/path.ts +8 -3
  369. package/src/mark/point.ts +49 -30
  370. package/src/mark/polygon.ts +8 -3
  371. package/src/mark/range.ts +5 -3
  372. package/src/mark/rangeX.ts +7 -3
  373. package/src/mark/rangeY.ts +7 -3
  374. package/src/mark/rect.ts +10 -4
  375. package/src/mark/shape.ts +14 -3
  376. package/src/mark/text.ts +11 -5
  377. package/src/mark/treemap.ts +0 -1
  378. package/src/mark/utils.ts +9 -8
  379. package/src/mark/vector.ts +7 -3
  380. package/src/runtime/index.ts +1 -1
  381. package/src/runtime/plot.ts +26 -12
  382. package/src/runtime/render.ts +3 -6
  383. package/src/runtime/types/component.ts +1 -2
  384. package/src/runtime/types/mark.ts +4 -0
  385. package/src/runtime/types/options.ts +4 -1
  386. package/src/runtime/types/theme.ts +1 -0
  387. package/src/shape/index.ts +106 -110
  388. package/src/shape/label/label.ts +21 -2
  389. package/src/shape/text/advance.ts +38 -14
  390. package/src/spec/composition.ts +7 -0
  391. package/src/spec/index.ts +1 -0
  392. package/src/spec/interaction.ts +2 -0
  393. package/src/theme/academy.ts +12 -6
  394. package/src/theme/classic.ts +12 -7
  395. package/src/theme/classicDark.ts +12 -6
  396. package/src/transform/filter.ts +16 -5
  397. package/src/utils/scale.ts +1 -1
  398. package/src/utils/selection.ts +6 -1
  399. package/CHANGELOG.md +0 -251
  400. package/esm/api/composition/base.d.ts +0 -28
  401. package/esm/api/composition/base.js.map +0 -1
  402. package/esm/api/composition/facetCircle.d.ts +0 -17
  403. package/esm/api/composition/facetCircle.js +0 -27
  404. package/esm/api/composition/facetCircle.js.map +0 -1
  405. package/esm/api/composition/facetRect.d.ts +0 -17
  406. package/esm/api/composition/facetRect.js +0 -27
  407. package/esm/api/composition/facetRect.js.map +0 -1
  408. package/esm/api/composition/geoPath.d.ts +0 -20
  409. package/esm/api/composition/geoPath.js +0 -30
  410. package/esm/api/composition/geoPath.js.map +0 -1
  411. package/esm/api/composition/geoView.d.ts +0 -19
  412. package/esm/api/composition/geoView.js +0 -28
  413. package/esm/api/composition/geoView.js.map +0 -1
  414. package/esm/api/composition/index.d.ts +0 -33
  415. package/esm/api/composition/index.js +0 -32
  416. package/esm/api/composition/index.js.map +0 -1
  417. package/esm/api/composition/repeatMatrix.d.ts +0 -17
  418. package/esm/api/composition/repeatMatrix.js +0 -27
  419. package/esm/api/composition/repeatMatrix.js.map +0 -1
  420. package/esm/api/composition/spaceFlex.d.ts +0 -12
  421. package/esm/api/composition/spaceFlex.js +0 -19
  422. package/esm/api/composition/spaceFlex.js.map +0 -1
  423. package/esm/api/composition/spaceLayer.d.ts +0 -12
  424. package/esm/api/composition/spaceLayer.js +0 -19
  425. package/esm/api/composition/spaceLayer.js.map +0 -1
  426. package/esm/api/composition/timingKeyframe.d.ts +0 -11
  427. package/esm/api/composition/timingKeyframe.js +0 -19
  428. package/esm/api/composition/timingKeyframe.js.map +0 -1
  429. package/esm/api/composition/view.d.ts +0 -19
  430. package/esm/api/composition/view.js +0 -29
  431. package/esm/api/composition/view.js.map +0 -1
  432. package/esm/api/mark/base.d.ts +0 -22
  433. package/esm/api/mark/base.js.map +0 -1
  434. package/esm/api/mark/index.d.ts +0 -75
  435. package/esm/api/mark/index.js +0 -39
  436. package/esm/api/mark/index.js.map +0 -1
  437. package/esm/api/mark/mark.d.ts +0 -212
  438. package/esm/api/mark/mark.js +0 -339
  439. package/esm/api/mark/mark.js.map +0 -1
  440. package/esm/api/mark/types.d.ts +0 -26
  441. package/esm/api/mark/types.js +0 -2
  442. package/esm/api/mark/types.js.map +0 -1
  443. package/esm/geo/d3Projection.js.map +0 -1
  444. package/esm/geo/geoPath.js.map +0 -1
  445. package/esm/geo/geoView.js.map +0 -1
  446. package/esm/geo/index.d.ts +0 -9
  447. package/esm/geo/index.js +0 -8
  448. package/esm/geo/index.js.map +0 -1
  449. package/esm/stdlib/index.d.ts +0 -2
  450. package/esm/stdlib/index.js +0 -21
  451. package/esm/stdlib/index.js.map +0 -1
  452. package/lib/api/composition/base.d.ts +0 -28
  453. package/lib/api/composition/base.js.map +0 -1
  454. package/lib/api/composition/facetCircle.d.ts +0 -17
  455. package/lib/api/composition/facetCircle.js +0 -30
  456. package/lib/api/composition/facetCircle.js.map +0 -1
  457. package/lib/api/composition/facetRect.d.ts +0 -17
  458. package/lib/api/composition/facetRect.js +0 -30
  459. package/lib/api/composition/facetRect.js.map +0 -1
  460. package/lib/api/composition/geoPath.d.ts +0 -20
  461. package/lib/api/composition/geoPath.js +0 -33
  462. package/lib/api/composition/geoPath.js.map +0 -1
  463. package/lib/api/composition/geoView.d.ts +0 -19
  464. package/lib/api/composition/geoView.js +0 -31
  465. package/lib/api/composition/geoView.js.map +0 -1
  466. package/lib/api/composition/index.d.ts +0 -33
  467. package/lib/api/composition/index.js +0 -44
  468. package/lib/api/composition/index.js.map +0 -1
  469. package/lib/api/composition/repeatMatrix.d.ts +0 -17
  470. package/lib/api/composition/repeatMatrix.js +0 -30
  471. package/lib/api/composition/repeatMatrix.js.map +0 -1
  472. package/lib/api/composition/spaceFlex.d.ts +0 -12
  473. package/lib/api/composition/spaceFlex.js +0 -22
  474. package/lib/api/composition/spaceFlex.js.map +0 -1
  475. package/lib/api/composition/spaceLayer.d.ts +0 -12
  476. package/lib/api/composition/spaceLayer.js +0 -22
  477. package/lib/api/composition/spaceLayer.js.map +0 -1
  478. package/lib/api/composition/timingKeyframe.d.ts +0 -11
  479. package/lib/api/composition/timingKeyframe.js +0 -22
  480. package/lib/api/composition/timingKeyframe.js.map +0 -1
  481. package/lib/api/composition/view.d.ts +0 -19
  482. package/lib/api/composition/view.js +0 -32
  483. package/lib/api/composition/view.js.map +0 -1
  484. package/lib/api/mark/base.d.ts +0 -22
  485. package/lib/api/mark/base.js.map +0 -1
  486. package/lib/api/mark/index.d.ts +0 -75
  487. package/lib/api/mark/index.js +0 -43
  488. package/lib/api/mark/index.js.map +0 -1
  489. package/lib/api/mark/mark.d.ts +0 -212
  490. package/lib/api/mark/mark.js +0 -342
  491. package/lib/api/mark/mark.js.map +0 -1
  492. package/lib/api/mark/types.d.ts +0 -26
  493. package/lib/api/mark/types.js +0 -3
  494. package/lib/api/mark/types.js.map +0 -1
  495. package/lib/geo/d3Projection.js.map +0 -1
  496. package/lib/geo/geoPath.js.map +0 -1
  497. package/lib/geo/geoView.js.map +0 -1
  498. package/lib/geo/index.d.ts +0 -9
  499. package/lib/geo/index.js +0 -12
  500. package/lib/geo/index.js.map +0 -1
  501. package/lib/stdlib/index.d.ts +0 -2
  502. package/lib/stdlib/index.js +0 -25
  503. package/lib/stdlib/index.js.map +0 -1
  504. package/src/api/composition/facetCircle.ts +0 -36
  505. package/src/api/composition/facetRect.ts +0 -36
  506. package/src/api/composition/geoPath.ts +0 -37
  507. package/src/api/composition/geoView.ts +0 -39
  508. package/src/api/composition/index.ts +0 -57
  509. package/src/api/composition/repeatMatrix.ts +0 -36
  510. package/src/api/composition/spaceFlex.ts +0 -18
  511. package/src/api/composition/spaceLayer.ts +0 -18
  512. package/src/api/composition/timingKeyframe.ts +0 -16
  513. package/src/api/composition/view.ts +0 -42
  514. package/src/api/mark/index.ts +0 -113
  515. package/src/api/mark/mark.ts +0 -439
  516. package/src/api/mark/types.ts +0 -31
  517. package/src/geo/index.ts +0 -12
  518. /package/esm/{geo → composition}/d3Projection.d.ts +0 -0
  519. /package/esm/{geo → composition}/d3Projection.js +0 -0
  520. /package/esm/{geo → composition}/geoPath.d.ts +0 -0
  521. /package/esm/{geo → composition}/geoPath.js +0 -0
  522. /package/esm/{geo → composition}/geoView.d.ts +0 -0
  523. /package/lib/{geo → composition}/d3Projection.d.ts +0 -0
  524. /package/lib/{geo → composition}/d3Projection.js +0 -0
  525. /package/lib/{geo → composition}/geoPath.d.ts +0 -0
  526. /package/lib/{geo → composition}/geoPath.js +0 -0
  527. /package/lib/{geo → composition}/geoView.d.ts +0 -0
  528. /package/src/{geo → composition}/d3Projection.ts +0 -0
  529. /package/src/{geo → composition}/geoPath.ts +0 -0
package/CHANGELOG.md DELETED
@@ -1,251 +0,0 @@
1
- # G2 - Changelog
2
-
3
- ## [5.0.17](https://github.com/antvis/g2/compare/5.0.16...5.0.17) (2023-07-25)
4
-
5
- ### Bug Fixes
6
-
7
- - **auto:** axis without label ([#5338](https://github.com/antvis/g2/issues/5338)) ([06b73c2](https://github.com/antvis/g2/commit/06b73c2e71a0a406fd3af8f76ff51f2eb3326e12))
8
- - **chart:** chart.clear preserve some global options ([#5318](https://github.com/antvis/g2/issues/5318)) ([0c4fc99](https://github.com/antvis/g2/commit/0c4fc99cfa54bf56328f4a6eebc3619534414b35))
9
- - git clone failed on windows due to filename contains character : ([#5330](https://github.com/antvis/g2/issues/5330)) ([682885b](https://github.com/antvis/g2/commit/682885b3d0c643dc1f4f53c7fbfcf75e3a0ad247))
10
- - **label:** clear invalid labels ([#5310](https://github.com/antvis/g2/issues/5310)) ([0a760b8](https://github.com/antvis/g2/commit/0a760b8ebea9a857d1f3abe1cd6762c8005b1267))
11
- - **legend:** set actual item size ([#5326](https://github.com/antvis/g2/issues/5326)) ([683d529](https://github.com/antvis/g2/commit/683d529aef66982b6dab4d3035ccbb8268b20afa))
12
-
13
- ### Features
14
-
15
- - **size:** support ordinal size channel ([#5320](https://github.com/antvis/g2/issues/5320)) ([760eb75](https://github.com/antvis/g2/commit/760eb75d97a746621da35d26d4a7565fec94551b))
16
- - **title:** auto layout ([#5332](https://github.com/antvis/g2/issues/5332)) ([778cdf3](https://github.com/antvis/g2/commit/778cdf33432c0284f1a6ca1a18536bb8766edb76))
17
-
18
- ## [5.0.16](https://github.com/antvis/g2/compare/5.0.15...5.0.16) (2023-07-12)
19
-
20
- ### Bug Fixes
21
-
22
- - **event:** emit events for extended shape ([#5290](https://github.com/antvis/g2/issues/5290)) ([873bec7](https://github.com/antvis/g2/commit/873bec72f6a75e2c581df24d49afa239b5a5995e))
23
- - **legend:** category do not update position ([#5304](https://github.com/antvis/g2/issues/5304)) ([95c9950](https://github.com/antvis/g2/commit/95c99507b166c23134dcfd4ed7a2c108bc649b43))
24
- - **slider:** index scale by scaleKey ([#5291](https://github.com/antvis/g2/issues/5291)) ([50d1fa5](https://github.com/antvis/g2/commit/50d1fa595b94ca16b485e748b64a4aaa6c44eb8a))
25
- - **update:** set markType for element ([#5293](https://github.com/antvis/g2/issues/5293)) ([6ae86b7](https://github.com/antvis/g2/commit/6ae86b73b67bc0edbba11404dd935258392364cb))
26
-
27
- ## [5.0.15](https://github.com/antvis/g2/compare/5.0.14...5.0.15) (2023-07-07)
28
-
29
- ### Bug Fixes
30
-
31
- - **axis:** axis pos when update ([#5275](https://github.com/antvis/g2/issues/5275)) ([63f337b](https://github.com/antvis/g2/commit/63f337b383f87e92787659cd21b093de2c35dfaa))
32
- - clear transform when animation finished ([#5277](https://github.com/antvis/g2/issues/5277)) ([db77f1b](https://github.com/antvis/g2/commit/db77f1b99e0892f4c6b1bd9753f5e7908720f4d1))
33
- - **layout:** valid specified component size ([#5264](https://github.com/antvis/g2/issues/5264)) ([e9edea2](https://github.com/antvis/g2/commit/e9edea2c0a96bfb04805d449002729dbe2205eb5))
34
- - **legend:** continuous legend set labelOverlap to hdie by default ([#5278](https://github.com/antvis/g2/issues/5278)) ([76698dc](https://github.com/antvis/g2/commit/76698dc2dac49359379b05360793a562126de2cd))
35
- - **legend:** filter with pages ([#5284](https://github.com/antvis/g2/issues/5284)) ([e712ac4](https://github.com/antvis/g2/commit/e712ac482bfad9b4d611c179d3cfff38b21cd0df))
36
- - **legend:** update legend item ([#5258](https://github.com/antvis/g2/issues/5258)) ([48873ba](https://github.com/antvis/g2/commit/48873ba1ff5838ad176d0c8fe323a353b1118b93))
37
- - **slider:** with annotation ([#5280](https://github.com/antvis/g2/issues/5280)) ([9418bdd](https://github.com/antvis/g2/commit/9418bdd8052acd80bd16c62c4cd6c5627571d299))
38
- - **tooltip:** multi chart when mounting to body ([#5283](https://github.com/antvis/g2/issues/5283)) ([17ed2cb](https://github.com/antvis/g2/commit/17ed2cb3ecacde34fa92b6c85db5973dc2e73b87))
39
-
40
- ### Features
41
-
42
- - **interval:** micro interval ([#5260](https://github.com/antvis/g2/issues/5260)) ([5190059](https://github.com/antvis/g2/commit/51900599d807b8bd6d34e32605c8ecda2cf14bfa))
43
- - **slider:** auto layout ([#5274](https://github.com/antvis/g2/issues/5274)) ([7ff0978](https://github.com/antvis/g2/commit/7ff09788a00b1225c443e007f81f5e998219346d))
44
-
45
- ## [5.0.14](https://github.com/antvis/g2/compare/5.0.13...5.0.14) (2023-06-28)
46
-
47
- ### Bug Fixes
48
-
49
- - **api:** replace deepMix with deepAssign ([#5232](https://github.com/antvis/g2/issues/5232)) ([7bf049c](https://github.com/antvis/g2/commit/7bf049cc4cd00176f916e934f43fd1cd44e682f0))
50
- - **area:** one missing point ([#5229](https://github.com/antvis/g2/issues/5229)) ([4977031](https://github.com/antvis/g2/commit/4977031ff8a377548ba9233fe073962730ee6075))
51
- - **axis:** auto padding axis label rotate fail ([#5238](https://github.com/antvis/g2/issues/5238)) ([fc665da](https://github.com/antvis/g2/commit/fc665dad1e56f78a19baa08677b8cb7a3707ef53))
52
- - **inset:** relative position for text in polar ([#5223](https://github.com/antvis/g2/issues/5223)) ([567717b](https://github.com/antvis/g2/commit/567717be85c851499437856979d180509aef2e71))
53
- - **layout:** auto inset ignore null bbox ([#5228](https://github.com/antvis/g2/issues/5228)) ([582c494](https://github.com/antvis/g2/commit/582c4943a514cde23320ff959c1cd38ab452efc2))
54
- - **line:** series gradient ([#5225](https://github.com/antvis/g2/issues/5225)) ([07cc02a](https://github.com/antvis/g2/commit/07cc02aba2f268cc4b6e0a723acdd71dad974c8e))
55
- - **line:** support missing trail ([#5227](https://github.com/antvis/g2/issues/5227)) ([3eb6b61](https://github.com/antvis/g2/commit/3eb6b6180c4910db7fcafe143dbdf797b37f02db))
56
-
57
- ### Features
58
-
59
- - tooltip interaction emit events when body hide ([#5157](https://github.com/antvis/g2/issues/5157)) ([b8491c3](https://github.com/antvis/g2/commit/b8491c33c7736cfe1e0a2c2ee1824e60c727d2cc))
60
- - **tooltip:** disableNative ([#5236](https://github.com/antvis/g2/issues/5236)) ([70d847f](https://github.com/antvis/g2/commit/70d847fea472e85e2e713b71f75c684f22a2c38d))
61
-
62
- ## [5.0.13](https://github.com/antvis/g2/compare/5.0.12...5.0.13) (2023-06-20)
63
-
64
- ### Bug Fixes
65
-
66
- - **brush:** emit brush remove ([#5170](https://github.com/antvis/g2/issues/5170)) ([1a554e5](https://github.com/antvis/g2/commit/1a554e5d72cc8916624dcd52532a9f95c88b9dd0))
67
- - label show error when missing data ([#5175](https://github.com/antvis/g2/issues/5175)) ([30cf701](https://github.com/antvis/g2/commit/30cf701b4e45c690a2aede69a1b78082ce9f3087))
68
-
69
- ### Features
70
-
71
- - **layout:** auto inset ([#5204](https://github.com/antvis/g2/issues/5204)) ([25dd207](https://github.com/antvis/g2/commit/25dd2070b23b1c9954ebd13b00bb2f84250cd1a3))
72
- - **legend:** optimize ([#5202](https://github.com/antvis/g2/issues/5202)) ([fbebfc5](https://github.com/antvis/g2/commit/fbebfc57510a800b2e87a9ed9831ffe618922e49))
73
- - **static-mark:** add axisX and axisY ([#5188](https://github.com/antvis/g2/issues/5188)) ([28e39f0](https://github.com/antvis/g2/commit/28e39f0f9fabdd416cc83743ef82032fbc1790d8))
74
- - **static-mark:** add legends ([#5209](https://github.com/antvis/g2/issues/5209)) ([e6fcfe3](https://github.com/antvis/g2/commit/e6fcfe329c131bb64b352601d210b90e1ab262dc))
75
-
76
- ## [5.0.12](https://github.com/antvis/g2/compare/5.0.11...5.0.12) (2023-06-08)
77
-
78
- ### Bug Fixes
79
-
80
- - calculate band offset in area mark ([#5148](https://github.com/antvis/g2/issues/5148)) ([19d7f68](https://github.com/antvis/g2/commit/19d7f688fe22889fbe9773ca867067bf16e546ef))
81
- - chart.options do not show title ([#5147](https://github.com/antvis/g2/issues/5147)) ([17eb842](https://github.com/antvis/g2/commit/17eb8428728003a6a2b11547b3022becf996f8bb))
82
-
83
- ### Features
84
-
85
- - add venn chart demo, tests ([#5129](https://github.com/antvis/g2/issues/5129)) ([36b9b02](https://github.com/antvis/g2/commit/36b9b025c414ba827959ef1bc9aa2d061c3b9820))
86
- - **interaction:** add scrollbarFilter ([#5152](https://github.com/antvis/g2/issues/5152)) ([72e0cc4](https://github.com/antvis/g2/commit/72e0cc414548fd1e21c8e8dae7c874e530f9e29d))
87
- - **interaction:** emit brush axis highlight ([#5132](https://github.com/antvis/g2/issues/5132)) ([534c1ef](https://github.com/antvis/g2/commit/534c1efcf6a2ad436d5629645cf2ca71f1078ea2))
88
- - **interaction:** emit element highlight ([#5117](https://github.com/antvis/g2/issues/5117)) ([44b8ee5](https://github.com/antvis/g2/commit/44b8ee5abf2cf33dcef61ee753023c9464154bed))
89
- - **interaction:** emit element select ([#5119](https://github.com/antvis/g2/issues/5119)) ([ea20755](https://github.com/antvis/g2/commit/ea20755b5926073b073e0a3549e455c4c9d40c61))
90
- - **interaction:** emit legend filter ([#5127](https://github.com/antvis/g2/issues/5127)) ([b7071ef](https://github.com/antvis/g2/commit/b7071effd62579db9b80b4d9de6dca0a080879c3))
91
- - **interaction:** emit legend highlight ([#5126](https://github.com/antvis/g2/issues/5126)) ([e796355](https://github.com/antvis/g2/commit/e796355354469d53b8c3f5165beebb865ed59fb0))
92
- - **interaction:** emit slider filter ([#5114](https://github.com/antvis/g2/issues/5114)) ([32ac0f6](https://github.com/antvis/g2/commit/32ac0f6ba02badbb2a12a41dd581e73083b45b38))
93
- - interval shape has max/min width ([#5123](https://github.com/antvis/g2/issues/5123)) ([7b50766](https://github.com/antvis/g2/commit/7b5076663c0432dc4f4808386b4ed80ee59efa85))
94
- - **line:** add trail shape ([#5137](https://github.com/antvis/g2/issues/5137)) ([34937ea](https://github.com/antvis/g2/commit/34937ea26448cb8bcc80a0b9c362e9387b99b843))
95
-
96
- ## [5.0.11](https://github.com/antvis/g2/compare/5.0.10...5.0.11) (2023-05-26)
97
-
98
- ### Bug Fixes
99
-
100
- - **api:** update mark-level plot and apply viewStyle ([#5102](https://github.com/antvis/g2/issues/5102)) ([f239cba](https://github.com/antvis/g2/commit/f239cba0823022cf3703891c8b47c323f8c4cd46))
101
- - **chart:** chart.options should remove node ([#5103](https://github.com/antvis/g2/issues/5103)) ([6949459](https://github.com/antvis/g2/commit/6949459bdd159bc540b07a33791337b681f29fa0))
102
- - **data:** render empty data ([#5098](https://github.com/antvis/g2/issues/5098)) ([6de9e33](https://github.com/antvis/g2/commit/6de9e3399cd4cc1205e2ee2ea2efcacc0f512ffb))
103
- - **event:** there is no target for pointerupoutside event ([#5100](https://github.com/antvis/g2/issues/5100)) ([641f966](https://github.com/antvis/g2/commit/641f9666b52990b28467b50475fa5280913efd3c))
104
- - **geo:** highlight choropleth ([#5095](https://github.com/antvis/g2/issues/5095)) ([7a4d06d](https://github.com/antvis/g2/commit/7a4d06d9d7927fb17d8170f210be54ad93aa8f3c))
105
- - **label:** null value for series mark ([#5099](https://github.com/antvis/g2/issues/5099)) ([a1db7aa](https://github.com/antvis/g2/commit/a1db7aa07fba40a85bd5239b2ef1479ba487820d))
106
-
107
- ### Features
108
-
109
- - add heatmap mark and shape ([#5047](https://github.com/antvis/g2/issues/5047)) ([67d88f4](https://github.com/antvis/g2/commit/67d88f4e92986ac5d21bee6975d15f6821974aff))
110
-
111
- ## [5.0.10](https://github.com/antvis/g2/compare/5.0.9...5.0.10) (2023-05-25)
112
-
113
- ### Bug Fixes
114
-
115
- - **site:** disable css parsing ([#5091](https://github.com/antvis/g2/issues/5091)) ([c21787f](https://github.com/antvis/g2/commit/c21787ffcef4600b7a24f7fb88189511c495b71b))
116
-
117
- ## [5.0.9](https://github.com/antvis/g2/compare/5.0.8...5.0.9) (2023-05-25)
118
-
119
- ### Bug Fixes
120
-
121
- - **brush:** handle brush:highlight once when emit ([#5063](https://github.com/antvis/g2/issues/5063)) ([321fb1b](https://github.com/antvis/g2/commit/321fb1bce8e177cfc2d9ea83cdb1291c3fd6c728))
122
- - example typo ([#5064](https://github.com/antvis/g2/issues/5064)) ([e2e8a5f](https://github.com/antvis/g2/commit/e2e8a5fafe12a71c85a3275faa1f220d4a7fc62a))
123
- - **interaction:** interaction can be clear ([#5087](https://github.com/antvis/g2/issues/5087)) ([f489fba](https://github.com/antvis/g2/commit/f489fba7c6802cc75ec4c81017ec8924c2f9b0e7))
124
- - label formatter callback params ([#5062](https://github.com/antvis/g2/issues/5062)) ([1ee4b1f](https://github.com/antvis/g2/commit/1ee4b1fa252bb2a4dc0fa303242c46239024239c))
125
- - **label:** support date label ([#5077](https://github.com/antvis/g2/issues/5077)) ([826e000](https://github.com/antvis/g2/commit/826e000bb6009aea8b29ca452aea4f6caa9355df))
126
- - **legend:** pass legend.style ([#5084](https://github.com/antvis/g2/issues/5084)) ([f915d02](https://github.com/antvis/g2/commit/f915d021ca1c189271bc7bffdbe94632fd014595))
127
-
128
- ### Features
129
-
130
- - **api:** use api and spec together ([#5074](https://github.com/antvis/g2/issues/5074)) ([e18cc84](https://github.com/antvis/g2/commit/e18cc8411f5439c57268e0c180f61ad62a96daa1))
131
- - **axis:** set default tickCount to 5 ([#5086](https://github.com/antvis/g2/issues/5086)) ([bbfe665](https://github.com/antvis/g2/commit/bbfe665b80e6f417537f5760033e3ed4c729504c))
132
- - **chart:** debounce chart.render ([#5083](https://github.com/antvis/g2/issues/5083)) ([106b807](https://github.com/antvis/g2/commit/106b807ab2db91253287e41f857a9706f44c0039))
133
- - set tooltip dom classname has `g2-` prefix ([#5066](https://github.com/antvis/g2/issues/5066)) ([c8b62f6](https://github.com/antvis/g2/commit/c8b62f6f88432c69ba1d6aa00e91c73bc4ce6a4f))
134
-
135
- ## [5.0.8](https://github.com/antvis/g2/compare/5.0.7...5.0.8) (2023-05-19)
136
-
137
- ### Bug Fixes
138
-
139
- - **brush:** rerender don't emit brush:end ([#5053](https://github.com/antvis/g2/issues/5053)) ([f07b512](https://github.com/antvis/g2/commit/f07b512bb0f116f056a4373f6323195683405786))
140
- - **brush:** upper bound for selection ([#5044](https://github.com/antvis/g2/issues/5044)) ([b6ea831](https://github.com/antvis/g2/commit/b6ea8318653432c1cf54aca087ff3fb64334cfbe))
141
- - **chart:** chart.forceFit rerender only when size changing ([#5052](https://github.com/antvis/g2/issues/5052)) ([ab0ccf7](https://github.com/antvis/g2/commit/ab0ccf725713b628e0bb0188e9269bc19e4f1722))
142
-
143
- ### Features
144
-
145
- - add density mark, violin shape and kde transform ([#5043](https://github.com/antvis/g2/issues/5043)) ([f961d24](https://github.com/antvis/g2/commit/f961d2487c0cb387aef9075acd48a8c82ad2ff40))
146
- - **dimension:** auto padding ([#5046](https://github.com/antvis/g2/issues/5046)) ([914d445](https://github.com/antvis/g2/commit/914d445f75c54c293af2fffbd6906cda0fd1ab00))
147
-
148
- ## [5.0.7](https://github.com/antvis/g2/compare/5.0.6...5.0.7) (2023-05-16)
149
-
150
- ### Bug Fixes
151
-
152
- - **animation:** update non-transform attribute and replace node without animation ([#5019](https://github.com/antvis/g2/issues/5019)) ([4adbd58](https://github.com/antvis/g2/commit/4adbd587c73bdeca7cb301afd52d7cfa874b2ed7)), closes [#4953](https://github.com/antvis/g2/issues/4953) [#5006](https://github.com/antvis/g2/issues/5006)
153
- - **axis:** autoHide should not set crossSize ([#5032](https://github.com/antvis/g2/issues/5032)) ([86052fc](https://github.com/antvis/g2/commit/86052fced2b165b13a5dc2e0c37617a3dcd9c1f3))
154
- - change data wont update ([#5002](https://github.com/antvis/g2/issues/5002)) ([349a9f4](https://github.com/antvis/g2/commit/349a9f4b015de11804ccc1f2847e10dc4ace24e8))
155
- - fix issue that legend category cannot update shape ([#4968](https://github.com/antvis/g2/issues/4968)) ([152bc18](https://github.com/antvis/g2/commit/152bc18c6820e25e903ec33e12f7382fe960a0c8))
156
- - **legend-filter:** funnel ([#4960](https://github.com/antvis/g2/issues/4960)) ([be67dfa](https://github.com/antvis/g2/commit/be67dfa176742f8cf7b9fca165f55ddfca63f3f1))
157
- - **link:** right env var ([#5027](https://github.com/antvis/g2/issues/5027)) ([6481b00](https://github.com/antvis/g2/commit/6481b0094880a9d3cbe4f6853763013d1c1acd67))
158
- - **point:** opacityAttribute default to colorAttribute ([#4981](https://github.com/antvis/g2/issues/4981)) ([79399d0](https://github.com/antvis/g2/commit/79399d037809e86b447ff3cb7264a262811621e5))
159
- - **scale:** zero domain min and max ([#5014](https://github.com/antvis/g2/issues/5014)) ([2e92914](https://github.com/antvis/g2/commit/2e9291492d1542533318b70f7d937163b8a3b9f3))
160
- - svg renderer not works in website demo ([#5000](https://github.com/antvis/g2/issues/5000)) ([b94ef47](https://github.com/antvis/g2/commit/b94ef47abb42d1b95c16ba9417256b64c1748eac))
161
- - **tooltip:** rerender correctly ([#4962](https://github.com/antvis/g2/issues/4962)) ([f85e72f](https://github.com/antvis/g2/commit/f85e72f8e8e94d048835cafe44d7612d3ad69087))
162
-
163
- ### Features
164
-
165
- - add thresholds params in gauge mark ([#5021](https://github.com/antvis/g2/issues/5021)) ([66a4a8e](https://github.com/antvis/g2/commit/66a4a8ecc16586c2d74155bbde479e2797f53520))
166
- - **brush:** support resize and custom ([#5012](https://github.com/antvis/g2/issues/5012)) ([857fa7b](https://github.com/antvis/g2/commit/857fa7b2ff6d99f8509d2f99cfa949eb640109c3))
167
- - **event:** emit plot events ([#5034](https://github.com/antvis/g2/issues/5034)) ([67576ac](https://github.com/antvis/g2/commit/67576ac91dcb94dc7fc834ff8c7f015cbe23a814))
168
- - tooltip render to mount dom ([#5025](https://github.com/antvis/g2/issues/5025)) ([d6e098f](https://github.com/antvis/g2/commit/d6e098f022e8c3c217f5907584dda01eaadb0b34))
169
- - **tooltip:** on and emit ([#4980](https://github.com/antvis/g2/issues/4980)) ([5f64f71](https://github.com/antvis/g2/commit/5f64f7165a14de0d66350fb7316654027b6bce7c))
170
- - update gui and adapt to crossSize config ([#4949](https://github.com/antvis/g2/issues/4949)) ([d1d9b8d](https://github.com/antvis/g2/commit/d1d9b8d1268e7fc95bdf63c3975fce88033e2257))
171
-
172
- ## [5.0.6](https://github.com/antvis/g2/compare/5.0.5...5.0.6) (2023-05-08)
173
-
174
- ### Bug Fixes
175
-
176
- - **chart:** chart.options changeData problem ([#4936](https://github.com/antvis/g2/issues/4936)) ([99bdec2](https://github.com/antvis/g2/commit/99bdec2062af347b8d46dfde30ab2508248b0466))
177
- - **chart:** chart.theme as unrequired params ([#4940](https://github.com/antvis/g2/issues/4940)) ([0878230](https://github.com/antvis/g2/commit/0878230c72dd801e6e5d1d818b7bb4c7d6e547b4))
178
- - **test:** unhandled promise rejection ([#4943](https://github.com/antvis/g2/issues/4943)) ([1ba1fcd](https://github.com/antvis/g2/commit/1ba1fcd3011b1d4618d86c4e51f6874cb6c8ff86))
179
-
180
- ### Features
181
-
182
- - **chart:** chart bind autoFit in render ([#4941](https://github.com/antvis/g2/issues/4941)) ([c16191a](https://github.com/antvis/g2/commit/c16191a1afa7c00620c61e3315a8ba2ea1cf73fb))
183
- - **interaction:** support focus context ([#4946](https://github.com/antvis/g2/issues/4946)) ([8dc7f1d](https://github.com/antvis/g2/commit/8dc7f1dbb48b21b10e1c2883cd72ea2f7f183971))
184
-
185
- ## [5.0.5](https://github.com/antvis/g2/compare/5.0.4...5.0.5) (2023-05-04)
186
-
187
- ### Bug Fixes
188
-
189
- - **axis:** order of ticks for transposed x axis ([#4918](https://github.com/antvis/g2/issues/4918)) ([cf1cb88](https://github.com/antvis/g2/commit/cf1cb88483518fb30d9ad088c712dda0c3fe5b94))
190
- - **chart:** autoFit do not set width and height of chart options ([#4922](https://github.com/antvis/g2/issues/4922)) ([f3632f5](https://github.com/antvis/g2/commit/f3632f510a4abde61b4da8e4eb77d7054cdaf7f3))
191
- - **chart:** new Chart() do not set default view key ([#4925](https://github.com/antvis/g2/issues/4925)) ([99538a6](https://github.com/antvis/g2/commit/99538a6ff7e64f28e78b349283f5437e6c8bbb8e))
192
- - **interaction:** transpose sliderFilter ([#4919](https://github.com/antvis/g2/issues/4919)) ([6dc8e51](https://github.com/antvis/g2/commit/6dc8e5148c8182af07896040367917efb690219f))
193
- - **transform:** sort x only sort data in specified domain ([#4932](https://github.com/antvis/g2/issues/4932)) ([835933b](https://github.com/antvis/g2/commit/835933bb26c6db75fb2ee20186ea17ecf6214cf3))
194
-
195
- ### Features
196
-
197
- - **interaction:** brushFilter emit filter event ([#4933](https://github.com/antvis/g2/issues/4933)) ([0e8f2d9](https://github.com/antvis/g2/commit/0e8f2d996367a2dfa2c940524547c52d84da37b7))
198
-
199
- ## [5.0.4](https://github.com/antvis/g2/compare/5.0.3...5.0.4) (2023-04-25)
200
-
201
- ### Bug Fixes
202
-
203
- - **demo:** disable series tooltip for regression ([#4912](https://github.com/antvis/g2/issues/4912)) ([d7b74f5](https://github.com/antvis/g2/commit/d7b74f58d5445b3269f3b2434b7185f9403960e0))
204
- - Unify params for labelFilter labelFormatter ([#4911](https://github.com/antvis/g2/issues/4911)) ([f96b2f4](https://github.com/antvis/g2/commit/f96b2f460f35e3fe2486bb366d9dddd6af1b85c7))
205
- - **label:** support specified transform (close: [#4881](https://github.com/antvis/g2/issues/4881)) ([#4914](https://github.com/antvis/g2/issues/4914)) ([992dbce](https://github.com/antvis/g2/commit/992dbce9cb8c420f75bbbfba056617b902d0a7ea))
206
- - **OOM:** clear interaction and cancel animation when rerendering ([#4899](https://github.com/antvis/g2/issues/4899)) ([7080def](https://github.com/antvis/g2/commit/7080defb772e001000156704dbd10fb44a168016))
207
- - **scale:** tickCount of log scale support -1 ([#4901](https://github.com/antvis/g2/issues/4901)) ([c84aea7](https://github.com/antvis/g2/commit/c84aea7849222fff9deba57d9de97d16da9db7c1))
208
- - **tooltip:** missing data ([#4910](https://github.com/antvis/g2/issues/4910)) ([131b032](https://github.com/antvis/g2/commit/131b0326c92b87dd1e99b04d5fba3861f90baac3))
209
- - **tooltip:** show falsy item by default ([#4907](https://github.com/antvis/g2/issues/4907)) ([29ed50c](https://github.com/antvis/g2/commit/29ed50ce3f5c1cf599ac9f3eeb6c32acbaef7c24))
210
- - **component** update legend component inferring strategies ([#4906](https://github.com/antvis/g2/issues/4906)) ([1816339](https://github.com/antvis/g2/commit/18163398f91c90e9eaf55cf465c7ade5f6f5f88f))
211
-
212
- ### Features
213
-
214
- - add arrow for lineX, lineY ([#4905](https://github.com/antvis/g2/issues/4905)) ([b5d6595](https://github.com/antvis/g2/commit/b5d659525966b227bba2f1c70266985bdc336bfa))
215
-
216
- ## [5.0.3](https://github.com/antvis/g2/compare/5.0.2...5.0.3) (2023-04-12)
217
-
218
- ### Bug Fixes
219
-
220
- - **interval:** fix interval render funnel ([#4868](https://github.com/antvis/g2/issues/4868)) ([#4875](https://github.com/antvis/g2/issues/4875)) ([0856113](https://github.com/antvis/g2/commit/08561138aa65c02e935833765321b3beb23f7a8d))
221
- - 文档中的 sort->sortBy ([#4876](https://github.com/antvis/g2/issues/4876)) ([f2a53a9](https://github.com/antvis/g2/commit/f2a53a97e9d7cd739562ccc40a91997a17b480fd))
222
-
223
- ## [5.0.2](https://github.com/antvis/g2/compare/5.0.1...5.0.2) (2023-04-06)
224
-
225
- ### Bug Fixes
226
-
227
- - **animation:** shape to shape animation take style.transform into account ([#4849](https://github.com/antvis/g2/issues/4849)) ([dc1eb1c](https://github.com/antvis/g2/commit/dc1eb1c68e73c891751a0d3364512dee60b0ee9a))
228
- - **axis:** unexpected radius in polar ([#4850](https://github.com/antvis/g2/issues/4850)) ([8764d55](https://github.com/antvis/g2/commit/8764d55594b71e207e0a80844d78f83e94d765a0))
229
- - chart render type ([#4853](https://github.com/antvis/g2/issues/4853)) ([#4861](https://github.com/antvis/g2/issues/4861)) ([12f486c](https://github.com/antvis/g2/commit/12f486c7c9edcb355ef3bd5fb8a1ba7a2e21f2e7))
230
- - **ci:** lock version of canvas to 2.11.0 ([#4857](https://github.com/antvis/g2/issues/4857)) ([c47cbc2](https://github.com/antvis/g2/commit/c47cbc218748a1aba0828b9ff65cde97a217d563))
231
- - **fisheye:** reset when pointerleave ([#4858](https://github.com/antvis/g2/issues/4858)) ([09ccbdb](https://github.com/antvis/g2/commit/09ccbdb467ef8787bcc6c3b8419779f3a694aaf8))
232
- - **runtime:** wait for the next tick to finish rendering (close: [#4771](https://github.com/antvis/g2/issues/4771)) ([#4855](https://github.com/antvis/g2/issues/4855)) ([1ec5d0e](https://github.com/antvis/g2/commit/1ec5d0efebf85a05f506fedb189461244572155e))
233
- - **tooltip:** hide tooltip when move mask ([#4860](https://github.com/antvis/g2/issues/4860)) ([bab6c3b](https://github.com/antvis/g2/commit/bab6c3bc6e6502be9ef4b8c3c3ee5b34890f6485))
234
- - **types:** axis for composition ([#4851](https://github.com/antvis/g2/issues/4851)) ([0615ca8](https://github.com/antvis/g2/commit/0615ca8af1d30659a3919d4f5dc3b360994012b0))
235
- - update legend marker ([#4869](https://github.com/antvis/g2/issues/4869)) ([86a7d9c](https://github.com/antvis/g2/commit/86a7d9ca24e6ca59f5ee50262d5403566db79a06))
236
-
237
- ## [5.0.1](https://github.com/antvis/g2/compare/5.0.0...5.0.1) (2023-03-29)
238
-
239
- ### Bug Fixes
240
-
241
- - **tests:** remove .only ([#4835](https://github.com/antvis/g2/issues/4835)) ([43a4ce8](https://github.com/antvis/g2/commit/43a4ce82303eb9af9392c07ed664027b24953708))
242
- - **tooltip:** sample ([#4832](https://github.com/antvis/g2/issues/4832)) ([46aa416](https://github.com/antvis/g2/commit/46aa41669fd95949a151b7c3d1a5a1de621f6623))
243
- - **tooltip:** support NaN data in transpose ([#4833](https://github.com/antvis/g2/issues/4833)) ([f837057](https://github.com/antvis/g2/commit/f837057dc5d8f6dd0b60158ded7b238034459320))
244
-
245
- ### Features
246
-
247
- - **ci:** throw error in ci env for .only and missing snapshot ([#4836](https://github.com/antvis/g2/issues/4836)) ([a49f216](https://github.com/antvis/g2/commit/a49f21684209362882c303db87eb7ab61a5fc557))
248
-
249
- ## [5.0.0](https://github.com/antvis/G2/releases/tag/5.0.0) (2023-03-21)
250
-
251
- [Release note](https://github.com/antvis/G2/releases/tag/5.0.0).
@@ -1,28 +0,0 @@
1
- import { Coordinate } from '@antv/coord';
2
- import { DisplayObject } from '@antv/g';
3
- import { Scale, G2Theme, G2ViewDescriptor } from '../../runtime';
4
- import { Node } from '../node';
5
- export declare class CompositionNode<Value extends Record<string, any> = Record<string, any>, ParentValue extends Record<string, any> = Record<string, any>, ChildValue extends Record<string, any> = Record<string, any>> extends Node<Value, ParentValue, ChildValue> {
6
- protected _key: string;
7
- /**
8
- * Change current node data and its children data.
9
- */
10
- changeData(data: any): Promise<import("..").Chart>;
11
- /**
12
- * Get view instance by key.
13
- */
14
- getView(): G2ViewDescriptor;
15
- getScale(): Record<string, Scale>;
16
- getScaleByChannel(channel: string): Scale;
17
- getCoordinate(): Coordinate;
18
- getTheme(): G2Theme;
19
- getGroup(): DisplayObject;
20
- /**
21
- * Show the view.
22
- */
23
- show(): void;
24
- /**
25
- * Hide the view.
26
- */
27
- hide(): void;
28
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"base.js","sourceRoot":"src/","sources":["api/composition/base.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAE/B,MAAM,OAAO,eAIX,SAAQ,IAAoC;IAG5C;;OAEG;IACH,UAAU,CAAC,IAAS;;QAClB,MAAM,KAAK,GAAG,IAAI,CAAC,OAAO,EAAE,CAAC;QAC7B,IAAI,CAAC,KAAK;YAAE,OAAO;QACnB,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;QACxB,IAAI,MAAA,IAAI,CAAC,QAAQ,0CAAE,MAAM,EAAE;YACzB,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,KAAK,EAAE,EAAE;gBAC9B,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;YAC3B,CAAC,CAAC,CAAC;SACJ;QACD,OAAO,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,MAAM,EAAE,CAAC;IACzB,CAAC;IAED;;OAEG;IACH,OAAO;QACL,MAAM,KAAK,GAAG,IAAI,CAAC,OAAO,EAAE,CAAC;QAC7B,MAAM,EAAE,KAAK,EAAE,GAAG,KAAK,CAAC,UAAU,EAAE,CAAC;QACrC,IAAI,CAAC,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,MAAM,CAAA;YAAE,OAAO,SAAS,CAAC;QACrC,OAAO,KAAK,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,GAAG,KAAK,IAAI,CAAC,IAAI,CAAC,CAAC;IACtD,CAAC;IAED,QAAQ;;QACN,OAAO,MAAA,IAAI,CAAC,OAAO,EAAE,0CAAE,KAAK,CAAC;IAC/B,CAAC;IAED,iBAAiB,CAAC,OAAe;QAC/B,MAAM,KAAK,GAAG,IAAI,CAAC,QAAQ,EAAE,CAAC;QAC9B,IAAI,KAAK;YAAE,OAAO,KAAK,CAAC,OAAO,CAAC,CAAC;QACjC,OAAO;IACT,CAAC;IAED,aAAa;;QACX,OAAO,MAAA,IAAI,CAAC,OAAO,EAAE,0CAAE,UAAU,CAAC;IACpC,CAAC;IAED,QAAQ;;QACN,OAAO,MAAA,IAAI,CAAC,OAAO,EAAE,0CAAE,KAAK,CAAC;IAC/B,CAAC;IAED,QAAQ;QACN,MAAM,GAAG,GAAG,IAAI,CAAC,IAAI,CAAC;QACtB,IAAI,CAAC,GAAG;YAAE,OAAO,SAAS,CAAC;QAC3B,MAAM,KAAK,GAAG,IAAI,CAAC,OAAO,EAAE,CAAC;QAC7B,MAAM,UAAU,GAAG,KAAK,CAAC,UAAU,EAAE,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC;QACvD,OAAO,UAAU,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC;IACxC,CAAC;IAED;;OAEG;IACH,IAAI;QACF,MAAM,KAAK,GAAG,IAAI,CAAC,QAAQ,EAAE,CAAC;QAC9B,IAAI,CAAC,KAAK;YAAE,OAAO;QACnB,CAAC,KAAK,CAAC,SAAS,EAAE,IAAI,IAAI,CAAC,KAAK,CAAC,CAAC;IACpC,CAAC;IAED;;OAEG;IACH,IAAI;QACF,MAAM,KAAK,GAAG,IAAI,CAAC,QAAQ,EAAE,CAAC;QAC9B,IAAI,CAAC,KAAK;YAAE,OAAO;QACnB,KAAK,CAAC,SAAS,EAAE,IAAI,IAAI,CAAC,KAAK,CAAC,CAAC;IACnC,CAAC;CACF"}
@@ -1,17 +0,0 @@
1
- import { FacetCircleComposition } from '../../spec';
2
- import { ValueAttribute, Concrete, ArrayAttribute, ObjectAttribute } from '../types';
3
- import { Mark } from '../mark';
4
- import { Composition, CompositionNode } from './index';
5
- type FacetCircleSpec = Concrete<FacetCircleComposition>;
6
- export interface FacetCircle extends Composition, Mark {
7
- data: ValueAttribute<FacetCircleSpec['data'], FacetCircle>;
8
- transform: ArrayAttribute<FacetCircleSpec['transform'], FacetCircle>;
9
- encode: ObjectAttribute<FacetCircleSpec['encode'], FacetCircle>;
10
- scale: ObjectAttribute<FacetCircleSpec['scale'], FacetCircle>;
11
- legend: ObjectAttribute<FacetCircleSpec['legend'], FacetCircle>;
12
- axis: ObjectAttribute<FacetCircleSpec['axis'], FacetCircle>;
13
- }
14
- export declare class FacetCircle extends CompositionNode<FacetCircleComposition> {
15
- constructor();
16
- }
17
- export {};
@@ -1,27 +0,0 @@
1
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
- return c > 3 && r && Object.defineProperty(target, key, r), r;
6
- };
7
- import { defineProps, nodeProps } from '../props';
8
- import { mark } from '../mark';
9
- import { CompositionNode } from './index';
10
- let FacetCircle = class FacetCircle extends CompositionNode {
11
- constructor() {
12
- super({}, 'facetCircle');
13
- }
14
- };
15
- FacetCircle = __decorate([
16
- defineProps([
17
- { type: 'value', name: 'data' },
18
- { type: 'array', name: 'transform' },
19
- { type: 'object', name: 'scale' },
20
- { type: 'object', name: 'encode' },
21
- { type: 'object', name: 'legend' },
22
- { type: 'object', name: 'axis' },
23
- ...nodeProps(mark),
24
- ])
25
- ], FacetCircle);
26
- export { FacetCircle };
27
- //# sourceMappingURL=facetCircle.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"facetCircle.js","sourceRoot":"src/","sources":["api/composition/facetCircle.ts"],"names":[],"mappings":";;;;;;AACA,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAOlD,OAAO,EAAE,IAAI,EAAQ,MAAM,SAAS,CAAC;AACrC,OAAO,EAAe,eAAe,EAAE,MAAM,SAAS,CAAC;AAsBhD,IAAM,WAAW,GAAjB,MAAM,WAAY,SAAQ,eAAuC;IACtE;QACE,KAAK,CAAC,EAAE,EAAE,aAAa,CAAC,CAAC;IAC3B,CAAC;CACF,CAAA;AAJY,WAAW;IATvB,WAAW,CAAC;QACX,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE;QAC/B,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE;QACpC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE;QACjC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE;QAClC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE;QAClC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE;QAChC,GAAG,SAAS,CAAC,IAAI,CAAC;KACnB,CAAC;GACW,WAAW,CAIvB;SAJY,WAAW"}
@@ -1,17 +0,0 @@
1
- import { FacetRectComposition } from '../../spec';
2
- import { ValueAttribute, Concrete, ArrayAttribute, ObjectAttribute } from '../types';
3
- import { Mark } from '../mark';
4
- import { Composition, CompositionNode } from './index';
5
- type FacetRectSpec = Concrete<FacetRectComposition>;
6
- export interface FacetRect extends Composition, Mark {
7
- data: ValueAttribute<FacetRectSpec['data'], FacetRect>;
8
- transform: ArrayAttribute<FacetRectSpec['transform'], FacetRect>;
9
- encode: ObjectAttribute<FacetRectSpec['encode'], FacetRect>;
10
- scale: ObjectAttribute<FacetRectSpec['scale'], FacetRect>;
11
- legend: ObjectAttribute<FacetRectSpec['legend'], FacetRect>;
12
- axis: ObjectAttribute<FacetRectSpec['axis'], FacetRect>;
13
- }
14
- export declare class FacetRect extends CompositionNode<FacetRectComposition> {
15
- constructor();
16
- }
17
- export {};
@@ -1,27 +0,0 @@
1
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
- return c > 3 && r && Object.defineProperty(target, key, r), r;
6
- };
7
- import { defineProps, nodeProps } from '../props';
8
- import { mark } from '../mark';
9
- import { CompositionNode } from './index';
10
- let FacetRect = class FacetRect extends CompositionNode {
11
- constructor() {
12
- super({}, 'facetRect');
13
- }
14
- };
15
- FacetRect = __decorate([
16
- defineProps([
17
- { type: 'value', name: 'data' },
18
- { type: 'array', name: 'transform' },
19
- { type: 'object', name: 'scale' },
20
- { type: 'object', name: 'encode' },
21
- { type: 'object', name: 'legend' },
22
- { type: 'object', name: 'axis' },
23
- ...nodeProps(mark),
24
- ])
25
- ], FacetRect);
26
- export { FacetRect };
27
- //# sourceMappingURL=facetRect.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"facetRect.js","sourceRoot":"src/","sources":["api/composition/facetRect.ts"],"names":[],"mappings":";;;;;;AACA,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAOlD,OAAO,EAAE,IAAI,EAAQ,MAAM,SAAS,CAAC;AACrC,OAAO,EAAe,eAAe,EAAE,MAAM,SAAS,CAAC;AAsBhD,IAAM,SAAS,GAAf,MAAM,SAAU,SAAQ,eAAqC;IAClE;QACE,KAAK,CAAC,EAAE,EAAE,WAAW,CAAC,CAAC;IACzB,CAAC;CACF,CAAA;AAJY,SAAS;IATrB,WAAW,CAAC;QACX,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE;QAC/B,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE;QACpC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE;QACjC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE;QAClC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE;QAClC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE;QAChC,GAAG,SAAS,CAAC,IAAI,CAAC;KACnB,CAAC;GACW,SAAS,CAIrB;SAJY,SAAS"}
@@ -1,20 +0,0 @@
1
- import { GeoPathComposition } from '../../spec';
2
- import { ValueAttribute, ObjectAttribute, Concrete } from '../types';
3
- import { Mark } from '../mark';
4
- import { Composition, CompositionNode } from './index';
5
- type GeoPathSpec = Concrete<GeoPathComposition>;
6
- export interface GeoPath extends Mark, Composition {
7
- data: ValueAttribute<GeoPathSpec['data'], GeoPath>;
8
- coordinate: ValueAttribute<GeoPathSpec['coordinate'], GeoPath>;
9
- interaction: ObjectAttribute<GeoPathSpec['interaction'], GeoPath>;
10
- style: ObjectAttribute<GeoPathSpec['style'], GeoPath>;
11
- theme: ObjectAttribute<GeoPathSpec['theme'], GeoPath>;
12
- scale: ObjectAttribute<GeoPathSpec['scale'], GeoPath>;
13
- encode: ObjectAttribute<GeoPathSpec['encode'], GeoPath>;
14
- legend: ObjectAttribute<GeoPathSpec['legend'], GeoPath>;
15
- state: ObjectAttribute<GeoPathSpec['state'], GeoPath>;
16
- }
17
- export declare class GeoPath extends CompositionNode<GeoPathComposition> {
18
- constructor();
19
- }
20
- export {};
@@ -1,30 +0,0 @@
1
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
- return c > 3 && r && Object.defineProperty(target, key, r), r;
6
- };
7
- import { defineProps, nodeProps } from '../props';
8
- import { mark } from '../mark';
9
- import { CompositionNode } from './index';
10
- let GeoPath = class GeoPath extends CompositionNode {
11
- constructor() {
12
- super({}, 'geoPath');
13
- }
14
- };
15
- GeoPath = __decorate([
16
- defineProps([
17
- { type: 'value', name: 'data' },
18
- { type: 'value', name: 'coordinate' },
19
- { type: 'object', name: 'interaction' },
20
- { type: 'object', name: 'theme' },
21
- { type: 'object', name: 'style' },
22
- { type: 'object', name: 'scale' },
23
- { type: 'object', name: 'encode' },
24
- { type: 'object', name: 'legend' },
25
- { type: 'object', name: 'state' },
26
- ...nodeProps(mark),
27
- ])
28
- ], GeoPath);
29
- export { GeoPath };
30
- //# sourceMappingURL=geoPath.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"geoPath.js","sourceRoot":"src/","sources":["api/composition/geoPath.ts"],"names":[],"mappings":";;;;;;AACA,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAElD,OAAO,EAAE,IAAI,EAAQ,MAAM,SAAS,CAAC;AACrC,OAAO,EAAe,eAAe,EAAE,MAAM,SAAS,CAAC;AA4BhD,IAAM,OAAO,GAAb,MAAM,OAAQ,SAAQ,eAAmC;IAC9D;QACE,KAAK,CAAC,EAAE,EAAE,SAAS,CAAC,CAAC;IACvB,CAAC;CACF,CAAA;AAJY,OAAO;IAZnB,WAAW,CAAC;QACX,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE;QAC/B,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,YAAY,EAAE;QACrC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,aAAa,EAAE;QACvC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE;QACjC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE;QACjC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE;QACjC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE;QAClC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE;QAClC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE;QACjC,GAAG,SAAS,CAAC,IAAI,CAAC;KACnB,CAAC;GACW,OAAO,CAInB;SAJY,OAAO"}
@@ -1,19 +0,0 @@
1
- import { GeoViewComposition } from '../../spec';
2
- import { ValueAttribute, ObjectAttribute, ArrayAttribute, Concrete } from '../types';
3
- import { Mark } from '../mark';
4
- import { Composition, CompositionNode } from './index';
5
- type GeoViewSpec = Concrete<GeoViewComposition>;
6
- export interface GeoView extends Mark, Composition {
7
- data: ValueAttribute<GeoViewSpec['data'], GeoView>;
8
- key: ValueAttribute<GeoViewSpec['key'], GeoView>;
9
- coordinate: ArrayAttribute<GeoViewSpec['coordinate'], GeoView>;
10
- interaction: ObjectAttribute<GeoViewSpec['interaction'], GeoView>;
11
- style: ObjectAttribute<GeoViewSpec['style'], GeoView>;
12
- theme: ObjectAttribute<GeoViewSpec['theme'], GeoView>;
13
- scale: ObjectAttribute<GeoViewSpec['scale'], GeoView>;
14
- legend: ObjectAttribute<GeoViewSpec['legend'], GeoView>;
15
- }
16
- export declare class GeoView extends CompositionNode<GeoViewComposition> {
17
- constructor();
18
- }
19
- export {};
@@ -1,28 +0,0 @@
1
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
- return c > 3 && r && Object.defineProperty(target, key, r), r;
6
- };
7
- import { defineProps, nodeProps } from '../props';
8
- import { mark } from '../mark';
9
- import { CompositionNode } from './index';
10
- let GeoView = class GeoView extends CompositionNode {
11
- constructor() {
12
- super({}, 'geoView');
13
- }
14
- };
15
- GeoView = __decorate([
16
- defineProps([
17
- { type: 'value', name: 'data' },
18
- { type: 'value', name: 'coordinate' },
19
- { type: 'object', name: 'interaction' },
20
- { type: 'object', name: 'theme' },
21
- { type: 'object', name: 'style' },
22
- { type: 'object', name: 'scale' },
23
- { type: 'object', name: 'legend' },
24
- ...nodeProps(mark),
25
- ])
26
- ], GeoView);
27
- export { GeoView };
28
- //# sourceMappingURL=geoView.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"geoView.js","sourceRoot":"src/","sources":["api/composition/geoView.ts"],"names":[],"mappings":";;;;;;AACA,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAOlD,OAAO,EAAE,IAAI,EAAQ,MAAM,SAAS,CAAC;AACrC,OAAO,EAAe,eAAe,EAAE,MAAM,SAAS,CAAC;AAyBhD,IAAM,OAAO,GAAb,MAAM,OAAQ,SAAQ,eAAmC;IAC9D;QACE,KAAK,CAAC,EAAE,EAAE,SAAS,CAAC,CAAC;IACvB,CAAC;CACF,CAAA;AAJY,OAAO;IAVnB,WAAW,CAAC;QACX,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE;QAC/B,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,YAAY,EAAE;QACrC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,aAAa,EAAE;QACvC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE;QACjC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE;QACjC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE;QACjC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE;QAClC,GAAG,SAAS,CAAC,IAAI,CAAC;KACnB,CAAC;GACW,OAAO,CAInB;SAJY,OAAO"}
@@ -1,33 +0,0 @@
1
- import { CompositionNode } from './base';
2
- import { View } from './view';
3
- import { SpaceLayer } from './spaceLayer';
4
- import { SpaceFlex } from './spaceFlex';
5
- import { FacetRect } from './facetRect';
6
- import { FacetCircle } from './facetCircle';
7
- import { RepeatMatrix } from './repeatMatrix';
8
- import { TimingKeyframe } from './timingKeyframe';
9
- import { GeoView } from './geoView';
10
- import { GeoPath } from './geoPath';
11
- export declare const composition: {
12
- view: typeof View;
13
- spaceLayer: typeof SpaceLayer;
14
- spaceFlex: typeof SpaceFlex;
15
- facetRect: typeof FacetRect;
16
- facetCircle: typeof FacetCircle;
17
- repeatMatrix: typeof RepeatMatrix;
18
- timingKeyframe: typeof TimingKeyframe;
19
- geoView: typeof GeoView;
20
- geoPath: typeof GeoPath;
21
- };
22
- export interface Composition {
23
- view(): View;
24
- spaceLayer(): SpaceLayer;
25
- spaceFlex(): SpaceFlex;
26
- facetRect(): FacetRect;
27
- facetCircle(): FacetCircle;
28
- repeatMatrix(): RepeatMatrix;
29
- timingKeyframe(): TimingKeyframe;
30
- geoView(): GeoView;
31
- geoPath(): GeoPath;
32
- }
33
- export { CompositionNode, View, SpaceLayer, SpaceFlex, FacetRect, FacetCircle, RepeatMatrix, TimingKeyframe, GeoView, GeoPath, };
@@ -1,32 +0,0 @@
1
- import { defineProps, nodeProps } from '../props';
2
- import { CompositionNode } from './base';
3
- import { View } from './view';
4
- import { SpaceLayer } from './spaceLayer';
5
- import { SpaceFlex } from './spaceFlex';
6
- import { FacetRect } from './facetRect';
7
- import { FacetCircle } from './facetCircle';
8
- import { RepeatMatrix } from './repeatMatrix';
9
- import { TimingKeyframe } from './timingKeyframe';
10
- import { GeoView } from './geoView';
11
- import { GeoPath } from './geoPath';
12
- export const composition = {
13
- view: View,
14
- spaceLayer: SpaceLayer,
15
- spaceFlex: SpaceFlex,
16
- facetRect: FacetRect,
17
- facetCircle: FacetCircle,
18
- repeatMatrix: RepeatMatrix,
19
- timingKeyframe: TimingKeyframe,
20
- geoView: GeoView,
21
- geoPath: GeoPath,
22
- };
23
- export { CompositionNode, View, SpaceLayer, SpaceFlex, FacetRect, FacetCircle, RepeatMatrix, TimingKeyframe, GeoView, GeoPath, };
24
- /**
25
- * Define composition node api for composition node dynamically,
26
- * which can avoid circular dependency.
27
- * @todo Remove view as composition.
28
- */
29
- for (const Ctor of Object.values(composition)) {
30
- defineProps(nodeProps(composition))(Ctor);
31
- }
32
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"src/","sources":["api/composition/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAClD,OAAO,EAAE,eAAe,EAAE,MAAM,QAAQ,CAAC;AACzC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,IAAI,EAAE,IAAI;IACV,UAAU,EAAE,UAAU;IACtB,SAAS,EAAE,SAAS;IACpB,SAAS,EAAE,SAAS;IACpB,WAAW,EAAE,WAAW;IACxB,YAAY,EAAE,YAAY;IAC1B,cAAc,EAAE,cAAc;IAC9B,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE,OAAO;CACjB,CAAC;AAcF,OAAO,EACL,eAAe,EACf,IAAI,EACJ,UAAU,EACV,SAAS,EACT,SAAS,EACT,WAAW,EACX,YAAY,EACZ,cAAc,EACd,OAAO,EACP,OAAO,GACR,CAAC;AAEF;;;;GAIG;AACH,KAAK,MAAM,IAAI,IAAI,MAAM,CAAC,MAAM,CAAC,WAAW,CAAC,EAAE;IAC7C,WAAW,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;CAC3C"}
@@ -1,17 +0,0 @@
1
- import { RepeatMatrixComposition } from '../../spec';
2
- import { ValueAttribute, Concrete, ArrayAttribute, ObjectAttribute } from '../types';
3
- import { Mark } from '../mark';
4
- import { Composition, CompositionNode } from './index';
5
- type RepeatMatrixSpec = Concrete<RepeatMatrixComposition>;
6
- export interface RepeatMatrix extends Composition, Mark {
7
- data: ValueAttribute<RepeatMatrixSpec['data'], RepeatMatrix>;
8
- transform: ArrayAttribute<RepeatMatrixSpec['transform'], RepeatMatrix>;
9
- encode: ObjectAttribute<RepeatMatrixSpec['encode'], RepeatMatrix>;
10
- scale: ObjectAttribute<RepeatMatrixSpec['scale'], RepeatMatrix>;
11
- legend: ObjectAttribute<RepeatMatrixSpec['legend'], RepeatMatrix>;
12
- axis: ObjectAttribute<RepeatMatrixSpec['axis'], RepeatMatrix>;
13
- }
14
- export declare class RepeatMatrix extends CompositionNode<RepeatMatrixComposition> {
15
- constructor();
16
- }
17
- export {};