@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
@@ -0,0 +1,158 @@
1
+ import { ElementHighlight, ElementHighlightByX, ElementHighlightByColor, ElementSelect, ElementSelectByX, ElementSelectByColor, ChartIndex, Fisheye as ChartFisheye, Tooltip, LegendFilter, LegendHighlight, BrushHighlight, BrushXHighlight, BrushYHighlight, BrushAxisHighlight, BrushFilter, BrushXFilter, BrushYFilter, SliderFilter, Poptip, Event, ScrollbarFilter } from '../interaction';
2
+ export declare function corelib(): {
3
+ readonly 'data.fetch': import("../runtime").DataComponent<import("../data").FetchOptions>;
4
+ readonly 'data.inline': import("../runtime").DataComponent<import("../data").InlineOptions>;
5
+ readonly 'data.sortBy': import("../runtime").DataComponent<import("../data").SortByOptions>;
6
+ readonly 'data.sort': import("../runtime").DataComponent<import("../data").SortOptions>;
7
+ readonly 'data.filter': import("../runtime").DataComponent<import("../data").FilterDataOptions>;
8
+ readonly 'data.pick': import("../runtime").DataComponent<import("../data").PickOptions>;
9
+ readonly 'data.rename': import("../runtime").DataComponent<import("../data").RenameOptions>;
10
+ readonly 'data.fold': import("../runtime").DataComponent<import("../data").FoldOptions>;
11
+ readonly 'data.slice': import("../runtime").DataComponent<import("../data").SliceOptions>;
12
+ readonly 'data.custom': import("../runtime").DataComponent<import("../data").CustomOptions>;
13
+ readonly 'data.map': import("../runtime").DataComponent<import("../data").MapOptions>;
14
+ readonly 'data.join': import("../runtime").DataComponent<import("../data").JoinOptions>;
15
+ readonly 'data.kde': import("../runtime").DataComponent<import("../data").KDEOptions>;
16
+ readonly 'transform.stackY': import("../runtime").TransformComponent<import("../transform").StackYOptions>;
17
+ readonly 'transform.binX': import("../runtime").TransformComponent<import("../transform").BinXOptions>;
18
+ readonly 'transform.bin': import("../runtime").TransformComponent<import("../transform").BinOptions>;
19
+ readonly 'transform.dodgeX': import("../runtime").TransformComponent<import("../transform").DodgeXOptions>;
20
+ readonly 'transform.jitter': import("../runtime").TransformComponent<import("../transform").JitterOptions>;
21
+ readonly 'transform.jitterX': import("../runtime").TransformComponent<import("../transform").JitterXOptions>;
22
+ readonly 'transform.symmetryY': import("../runtime").TransformComponent<import("../transform").SymmetryYOptions>;
23
+ readonly 'transform.diffY': import("../runtime").TransformComponent<import("../transform").DiffYOptions>;
24
+ readonly 'transform.stackEnter': import("../runtime").TransformComponent<import("../transform").StackEnterOptions>;
25
+ readonly 'transform.normalizeY': import("../runtime").TransformComponent<import("../transform").NormalizeYOptions>;
26
+ readonly 'transform.select': import("../runtime").TransformComponent<import("../transform").SelectOptions>;
27
+ readonly 'transform.selectX': import("../runtime").TransformComponent<import("../transform").SelectXOptions>;
28
+ readonly 'transform.selectY': import("../runtime").TransformComponent<import("../transform").SelectYOptions>;
29
+ readonly 'transform.groupX': import("../runtime").TransformComponent<import("../transform").GroupXOptions>;
30
+ readonly 'transform.groupY': import("../runtime").TransformComponent<import("../transform").GroupYOptions>;
31
+ readonly 'transform.groupColor': import("../runtime").TransformComponent<import("../transform").GroupColorOptions>;
32
+ readonly 'transform.group': import("../runtime").TransformComponent<import("../transform").GroupOptions>;
33
+ readonly 'transform.sortX': import("../runtime").TransformComponent<import("../transform").SortXOptions>;
34
+ readonly 'transform.sortY': import("../runtime").TransformComponent<import("../transform").SortYOptions>;
35
+ readonly 'transform.sortColor': import("../runtime").TransformComponent<import("../transform").SortColorOptions>;
36
+ readonly 'transform.flexX': import("../runtime").TransformComponent<import("../transform").FlexXOptions>;
37
+ readonly 'transform.pack': import("../runtime").TransformComponent<import("../transform").PackOptions>;
38
+ readonly 'transform.sample': import("../runtime").TransformComponent<import("../transform").SampleOptions>;
39
+ readonly 'transform.filter': import("../runtime").TransformComponent<import("../transform").FilterOptions>;
40
+ readonly 'coordinate.cartesian': import("../runtime").CoordinateComponent<import("../coordinate").CartesianOptions>;
41
+ readonly 'coordinate.polar': import("../runtime").CoordinateComponent<import("../coordinate").PolarOptions>;
42
+ readonly 'coordinate.helix': import("../runtime").CoordinateComponent<import("..").HelixCoordinate>;
43
+ readonly 'coordinate.transpose': import("../runtime").CoordinateComponent<import("../coordinate").TransposeOptions>;
44
+ readonly 'coordinate.theta': import("../runtime").CoordinateComponent<import("..").ThetaCoordinate>;
45
+ readonly 'coordinate.parallel': import("../runtime").CoordinateComponent<import("../coordinate").ParallelOptions>;
46
+ readonly 'coordinate.fisheye': import("../runtime").CoordinateComponent<import("..").FisheyeCoordinate>;
47
+ readonly 'coordinate.radial': import("../runtime").CoordinateComponent<import("../coordinate").RadialOptions>;
48
+ readonly 'coordinate.radar': import("../runtime").CoordinateComponent<import("..").RadarCoordinate>;
49
+ readonly 'encode.constant': import("../runtime").EncodeComponent<import("../encode").ConstantOptions>;
50
+ readonly 'encode.field': import("../runtime").EncodeComponent<import("../encode").FieldOptions>;
51
+ readonly 'encode.transform': import("../runtime").EncodeComponent<import("../encode").TransformOptions>;
52
+ readonly 'encode.column': import("../runtime").EncodeComponent<import("../encode").ColumnOptions>;
53
+ readonly 'mark.interval': import("../runtime").MarkComponent<import("../mark").IntervalOptions>;
54
+ readonly 'mark.rect': import("../runtime").MarkComponent<import("../mark").RectOptions>;
55
+ readonly 'mark.line': import("../runtime").MarkComponent<import("../mark").LineOptions>;
56
+ readonly 'mark.point': import("../runtime").MarkComponent<import("../mark").PointOptions>;
57
+ readonly 'mark.text': import("../runtime").MarkComponent<import("../mark").TextOptions>;
58
+ readonly 'mark.cell': import("../runtime").MarkComponent<import("../mark").CellOptions>;
59
+ readonly 'mark.area': import("../runtime").MarkComponent<import("../mark").AreaOptions>;
60
+ readonly 'mark.link': import("../runtime").MarkComponent<import("../mark").LinkOptions>;
61
+ readonly 'mark.image': import("../runtime").MarkComponent<import("../mark").ImageOptions>;
62
+ readonly 'mark.polygon': import("../runtime").MarkComponent<import("../mark").PolygonOptions>;
63
+ readonly 'mark.box': import("../runtime").MarkComponent<import("../mark").BoxOptions>;
64
+ readonly 'mark.vector': import("../runtime").MarkComponent<import("../mark").VectorOptions>;
65
+ readonly 'mark.lineX': import("../runtime").MarkComponent<import("../mark").LineXOptions>;
66
+ readonly 'mark.lineY': import("../runtime").MarkComponent<import("../mark").LineYOptions>;
67
+ readonly 'mark.connector': import("../runtime").MarkComponent<import("../mark").ConnectorOptions>;
68
+ readonly 'mark.range': import("../runtime").MarkComponent<import("../mark").RangeOptions>;
69
+ readonly 'mark.rangeX': import("../runtime").MarkComponent<import("../mark").RangeXOptions>;
70
+ readonly 'mark.rangeY': import("../runtime").MarkComponent<import("../mark").RangeYOptions>;
71
+ readonly 'mark.path': import("../runtime").MarkComponent<import("../mark/path").PathOptions>;
72
+ readonly 'mark.shape': import("../runtime").MarkComponent<import("../mark").ShapeOptions>;
73
+ readonly 'mark.density': import("../runtime").MarkComponent<import("../mark").DensityOptions>;
74
+ readonly 'mark.heatmap': import("../runtime").MarkComponent<import("../mark").HeatmapOptions>;
75
+ readonly 'shape.label.label': import("../runtime").ShapeComponent<import("../shape").LabelShapeOptions>;
76
+ readonly 'palette.category10': import("../runtime").PaletteComponent<import("../palette").Category10Options>;
77
+ readonly 'palette.category20': import("../runtime").PaletteComponent<import("../palette").Category20Options>;
78
+ readonly 'scale.linear': import("../runtime").ScaleComponent<import("../scale").LinearOptions>;
79
+ readonly 'scale.ordinal': import("../runtime").ScaleComponent<import("../scale").OrdinalOptions>;
80
+ readonly 'scale.band': import("../runtime").ScaleComponent<import("../scale").BandOptions>;
81
+ readonly 'scale.identity': import("../runtime").ScaleComponent<import("../scale").IdentityOptions>;
82
+ readonly 'scale.point': import("../runtime").ScaleComponent<import("../scale").PointOptions>;
83
+ readonly 'scale.time': import("../runtime").ScaleComponent<import("../scale").TimeOptions>;
84
+ readonly 'scale.log': import("../runtime").ScaleComponent<import("../scale").LogOptions>;
85
+ readonly 'scale.pow': import("../runtime").ScaleComponent<import("../scale").PowOptions>;
86
+ readonly 'scale.sqrt': import("../runtime").ScaleComponent<import("../scale").SqrtOptions>;
87
+ readonly 'scale.threshold': import("../runtime").ScaleComponent<import("../scale").ThresholdOptions>;
88
+ readonly 'scale.quantile': import("../runtime").ScaleComponent<import("../scale").QuantileOptions>;
89
+ readonly 'scale.quantize': import("../runtime").ScaleComponent<import("../scale").QuantizeOptions>;
90
+ readonly 'scale.sequential': import("../runtime").ScaleComponent<import("../scale").SequentialOptions>;
91
+ readonly 'scale.constant': import("../runtime").ScaleComponent<import("../scale").ConstantOptions>;
92
+ readonly 'theme.classic': import("../runtime").ThemeComponent<import("../runtime").G2Theme>;
93
+ readonly 'theme.classicDark': import("../runtime").ThemeComponent<import("../runtime").G2Theme>;
94
+ readonly 'theme.academy': import("../runtime").ThemeComponent<import("../runtime").G2Theme>;
95
+ readonly 'component.axisX': import("../runtime").GuideComponentComponent<import("../component/axis").AxisOptions>;
96
+ readonly 'component.axisY': import("../runtime").GuideComponentComponent<import("../component/axis").AxisOptions>;
97
+ readonly 'component.axisRadar': import("../runtime").GuideComponentComponent<import("../component/axisRadar").AxisRadarOptions>;
98
+ readonly 'component.axisLinear': import("../runtime").GuideComponentComponent<import("../component/axis").AxisOptions>;
99
+ readonly 'component.axisArc': import("../runtime").GuideComponentComponent<import("../component/axis").AxisOptions>;
100
+ readonly 'component.legendCategory': import("../runtime").GuideComponentComponent<import("../component").LegendCategoryOptions>;
101
+ readonly 'component.legendContinuous': import("../runtime").GuideComponentComponent<import("../component").LegendContinuousOptions>;
102
+ readonly 'component.legendContinuousBlock': import("../runtime").GuideComponentComponent<import("../component").LegendContinuousOptions>;
103
+ readonly 'component.legendContinuousBlockSize': import("../runtime").GuideComponentComponent<import("../component").LegendContinuousOptions>;
104
+ readonly 'component.legendContinuousSize': import("../runtime").GuideComponentComponent<import("../component").LegendContinuousOptions>;
105
+ readonly 'component.legends': import("../runtime").GuideComponentComponent<import("../component").LegendsOptions>;
106
+ readonly 'component.title': import("../runtime").GuideComponentComponent<import("../runtime").G2Title>;
107
+ readonly 'component.sliderX': import("../runtime").GuideComponentComponent<import("../component/slider").SliderOptions>;
108
+ readonly 'component.sliderY': import("../runtime").GuideComponentComponent<import("../component/slider").SliderOptions>;
109
+ readonly 'component.scrollbarX': import("../runtime").GuideComponentComponent<import("../component/scrollbar").ScrollbarOptions>;
110
+ readonly 'component.scrollbarY': import("../runtime").GuideComponentComponent<import("../component/scrollbar").ScrollbarOptions>;
111
+ readonly 'animation.scaleInX': import("../runtime").AnimationComponent<import("../animation/types").Animation>;
112
+ readonly 'animation.scaleOutX': import("../runtime").AnimationComponent<import("../animation/types").Animation>;
113
+ readonly 'animation.scaleInY': import("../runtime").AnimationComponent<import("../animation/types").Animation>;
114
+ readonly 'animation.scaleOutY': import("../runtime").AnimationComponent<import("../animation/types").Animation>;
115
+ readonly 'animation.waveIn': import("../runtime").AnimationComponent<import("../animation/types").Animation>;
116
+ readonly 'animation.fadeIn': import("../runtime").AnimationComponent<import("../animation/types").Animation>;
117
+ readonly 'animation.fadeOut': import("../runtime").AnimationComponent<import("../animation/types").Animation>;
118
+ readonly 'animation.zoomIn': import("../runtime").AnimationComponent<import("../animation/types").Animation>;
119
+ readonly 'animation.zoomOut': import("../runtime").AnimationComponent<import("../animation/types").Animation>;
120
+ readonly 'animation.pathIn': import("../runtime").AnimationComponent<import("../animation/types").Animation>;
121
+ readonly 'animation.morphing': import("../runtime").AnimationComponent<import("../animation").MorphingOptions>;
122
+ readonly 'animation.growInX': import("../runtime").AnimationComponent<import("../animation/types").Animation>;
123
+ readonly 'animation.growInY': import("../runtime").AnimationComponent<import("../animation/types").Animation>;
124
+ readonly 'interaction.elementHighlight': typeof ElementHighlight;
125
+ readonly 'interaction.elementHighlightByX': typeof ElementHighlightByX;
126
+ readonly 'interaction.elementHighlightByColor': typeof ElementHighlightByColor;
127
+ readonly 'interaction.elementSelect': typeof ElementSelect;
128
+ readonly 'interaction.elementSelectByX': typeof ElementSelectByX;
129
+ readonly 'interaction.elementSelectByColor': typeof ElementSelectByColor;
130
+ readonly 'interaction.fisheye': typeof ChartFisheye;
131
+ readonly 'interaction.chartIndex': typeof ChartIndex;
132
+ readonly 'interaction.tooltip': typeof Tooltip;
133
+ readonly 'interaction.legendFilter': typeof LegendFilter;
134
+ readonly 'interaction.legendHighlight': typeof LegendHighlight;
135
+ readonly 'interaction.brushHighlight': typeof BrushHighlight;
136
+ readonly 'interaction.brushXHighlight': typeof BrushXHighlight;
137
+ readonly 'interaction.brushYHighlight': typeof BrushYHighlight;
138
+ readonly 'interaction.brushAxisHighlight': typeof BrushAxisHighlight;
139
+ readonly 'interaction.brushFilter': typeof BrushFilter;
140
+ readonly 'interaction.brushXFilter': typeof BrushXFilter;
141
+ readonly 'interaction.brushYFilter': typeof BrushYFilter;
142
+ readonly 'interaction.sliderFilter': typeof SliderFilter;
143
+ readonly 'interaction.scrollbarFilter': typeof ScrollbarFilter;
144
+ readonly 'interaction.poptip': typeof Poptip;
145
+ readonly 'interaction.event': typeof Event;
146
+ readonly 'composition.spaceLayer': import("../runtime").CompositionComponent<import("../composition").SpaceLayerOptions>;
147
+ readonly 'composition.spaceFlex': import("../runtime").CompositionComponent<import("../composition").SpaceFlexOptions>;
148
+ readonly 'composition.mark': import("../runtime").CompositionComponent<import("../composition").MarkOptions>;
149
+ readonly 'composition.view': import("../runtime").CompositionComponent<import("../composition").ViewOptions>;
150
+ readonly 'composition.facetRect': import("../runtime").CompositionComponent<import("../composition").FacetRectOptions>;
151
+ readonly 'composition.repeatMatrix': import("../runtime").CompositionComponent<import("..").RepeatMatrixComposition>;
152
+ readonly 'composition.facetCircle': import("../runtime").CompositionComponent<import("..").FacetCircleComposition>;
153
+ readonly 'composition.timingKeyframe': import("../runtime").CompositionComponent<import("../composition").TimingKeyframeOptions>;
154
+ readonly 'labelTransform.overlapHide': import("../runtime").LabelTransformComponent<import("../label-transform").OverlapHideOptions>;
155
+ readonly 'labelTransform.overlapDodgeY': import("../runtime").LabelTransformComponent<import("../label-transform").OverlapDodgeYOptions>;
156
+ readonly 'labelTransform.overflowHide': import("../runtime").LabelTransformComponent<import("../label-transform").OverflowHideOptions>;
157
+ readonly 'labelTransform.contrastReverse': import("../runtime").LabelTransformComponent<import("../label-transform").ContrastReverseOptions>;
158
+ };
@@ -0,0 +1,174 @@
1
+ import { Cartesian, Polar, Helix, Transpose, Theta, Parallel, Fisheye, Radial, Radar, } from '../coordinate';
2
+ import { Constant, Field, Transform, Column } from '../encode';
3
+ import { Cell, Interval, Rect, Line, Point, Text, Area, Image, Polygon, Box, Vector, Link, LineX, LineY, Connector, Range, RangeX, RangeY, Path, Shape, Density, Heatmap, } from '../mark';
4
+ import { Category10, Category20 } from '../palette';
5
+ import { Linear as ScaleLinear, Ordinal as ScaleOrdinal, Band as ScaleBand, Identity as ScaleIdenity, Point as ScalePoint, Time as ScaleTime, Log as ScaleLog, Pow as ScalePow, Threshold as ScaleThreshold, Quantile as ScaleQuantile, Quantize as ScaleQuantize, Sqrt as ScaleSqrt, Sequential as ScaleSequential, Constant as ScaleConstant, } from '../scale';
6
+ import { Classic, ClassicDark, Academy } from '../theme';
7
+ import { AxisLinear, AxisArc, AxisX, AxisY, AxisRadar, LegendCategory, LegendContinuous, LegendContinuousBlock, LegendContinuousBlockSize, LegendContinuousSize, TitleComponent, SliderX, SliderY, ScrollbarX, ScrollbarY, Legends, } from '../component';
8
+ import { ScaleInX, ScaleOutX, ScaleInY, ScaleOutY, WaveIn, FadeIn, FadeOut, Morphing, ZoomIn, ZoomOut, PathIn, GrowInX, GrowInY, } from '../animation';
9
+ import { ElementHighlight, ElementHighlightByX, ElementHighlightByColor, ElementSelect, ElementSelectByX, ElementSelectByColor, ChartIndex, Fisheye as ChartFisheye, Tooltip, LegendFilter, LegendHighlight, BrushHighlight, BrushXHighlight, BrushYHighlight, BrushAxisHighlight, BrushFilter, BrushXFilter, BrushYFilter, SliderFilter, Poptip, Event, ScrollbarFilter, } from '../interaction';
10
+ import { SpaceLayer, SpaceFlex, Mark, View, FacetRect, FacetCircle, RepeatMatrix, TimingKeyframe, } from '../composition';
11
+ import { StackY, DodgeX, StackEnter, NormalizeY, Jitter, JitterX, SymmetryY, DiffY, Select, SelectX, SelectY, GroupX, Group, SortX, FlexX, SortY, GroupY, GroupColor, SortColor, Pack, BinX, Bin, Sample, Filter, } from '../transform';
12
+ import { Fetch as DataFetch, SortBy as DataSortBy, Filter as DataFilter, Map as DataMap, Pick as DataPick, Rename as DataRename, Fold as DataFold, Slice as DataSlice, Inline as DataInline, Custom as DataCustom, Join as DataJoin, Sort as DataSort, KDE as DataKDE, } from '../data';
13
+ import { OverlapDodgeY, OverflowHide, ContrastReverse, OverlapHide, } from '../label-transform';
14
+ import { LabelShape } from '../shape';
15
+ export function corelib() {
16
+ return {
17
+ 'data.fetch': DataFetch,
18
+ 'data.inline': DataInline,
19
+ 'data.sortBy': DataSortBy,
20
+ 'data.sort': DataSort,
21
+ 'data.filter': DataFilter,
22
+ 'data.pick': DataPick,
23
+ 'data.rename': DataRename,
24
+ 'data.fold': DataFold,
25
+ 'data.slice': DataSlice,
26
+ 'data.custom': DataCustom,
27
+ 'data.map': DataMap,
28
+ 'data.join': DataJoin,
29
+ 'data.kde': DataKDE,
30
+ 'transform.stackY': StackY,
31
+ 'transform.binX': BinX,
32
+ 'transform.bin': Bin,
33
+ 'transform.dodgeX': DodgeX,
34
+ 'transform.jitter': Jitter,
35
+ 'transform.jitterX': JitterX,
36
+ 'transform.symmetryY': SymmetryY,
37
+ 'transform.diffY': DiffY,
38
+ 'transform.stackEnter': StackEnter,
39
+ 'transform.normalizeY': NormalizeY,
40
+ 'transform.select': Select,
41
+ 'transform.selectX': SelectX,
42
+ 'transform.selectY': SelectY,
43
+ 'transform.groupX': GroupX,
44
+ 'transform.groupY': GroupY,
45
+ 'transform.groupColor': GroupColor,
46
+ 'transform.group': Group,
47
+ 'transform.sortX': SortX,
48
+ 'transform.sortY': SortY,
49
+ 'transform.sortColor': SortColor,
50
+ 'transform.flexX': FlexX,
51
+ 'transform.pack': Pack,
52
+ 'transform.sample': Sample,
53
+ 'transform.filter': Filter,
54
+ 'coordinate.cartesian': Cartesian,
55
+ 'coordinate.polar': Polar,
56
+ 'coordinate.helix': Helix,
57
+ 'coordinate.transpose': Transpose,
58
+ 'coordinate.theta': Theta,
59
+ 'coordinate.parallel': Parallel,
60
+ 'coordinate.fisheye': Fisheye,
61
+ 'coordinate.radial': Radial,
62
+ 'coordinate.radar': Radar,
63
+ 'encode.constant': Constant,
64
+ 'encode.field': Field,
65
+ 'encode.transform': Transform,
66
+ 'encode.column': Column,
67
+ 'mark.interval': Interval,
68
+ 'mark.rect': Rect,
69
+ 'mark.line': Line,
70
+ 'mark.point': Point,
71
+ 'mark.text': Text,
72
+ 'mark.cell': Cell,
73
+ 'mark.area': Area,
74
+ 'mark.link': Link,
75
+ 'mark.image': Image,
76
+ 'mark.polygon': Polygon,
77
+ 'mark.box': Box,
78
+ 'mark.vector': Vector,
79
+ 'mark.lineX': LineX,
80
+ 'mark.lineY': LineY,
81
+ 'mark.connector': Connector,
82
+ 'mark.range': Range,
83
+ 'mark.rangeX': RangeX,
84
+ 'mark.rangeY': RangeY,
85
+ 'mark.path': Path,
86
+ 'mark.shape': Shape,
87
+ 'mark.density': Density,
88
+ 'mark.heatmap': Heatmap,
89
+ 'shape.label.label': LabelShape,
90
+ 'palette.category10': Category10,
91
+ 'palette.category20': Category20,
92
+ 'scale.linear': ScaleLinear,
93
+ 'scale.ordinal': ScaleOrdinal,
94
+ 'scale.band': ScaleBand,
95
+ 'scale.identity': ScaleIdenity,
96
+ 'scale.point': ScalePoint,
97
+ 'scale.time': ScaleTime,
98
+ 'scale.log': ScaleLog,
99
+ 'scale.pow': ScalePow,
100
+ 'scale.sqrt': ScaleSqrt,
101
+ 'scale.threshold': ScaleThreshold,
102
+ 'scale.quantile': ScaleQuantile,
103
+ 'scale.quantize': ScaleQuantize,
104
+ 'scale.sequential': ScaleSequential,
105
+ 'scale.constant': ScaleConstant,
106
+ 'theme.classic': Classic,
107
+ 'theme.classicDark': ClassicDark,
108
+ 'theme.academy': Academy,
109
+ 'component.axisX': AxisX,
110
+ 'component.axisY': AxisY,
111
+ 'component.axisRadar': AxisRadar,
112
+ 'component.axisLinear': AxisLinear,
113
+ 'component.axisArc': AxisArc,
114
+ 'component.legendCategory': LegendCategory,
115
+ 'component.legendContinuous': LegendContinuous,
116
+ 'component.legendContinuousBlock': LegendContinuousBlock,
117
+ 'component.legendContinuousBlockSize': LegendContinuousBlockSize,
118
+ 'component.legendContinuousSize': LegendContinuousSize,
119
+ 'component.legends': Legends,
120
+ 'component.title': TitleComponent,
121
+ 'component.sliderX': SliderX,
122
+ 'component.sliderY': SliderY,
123
+ 'component.scrollbarX': ScrollbarX,
124
+ 'component.scrollbarY': ScrollbarY,
125
+ 'animation.scaleInX': ScaleInX,
126
+ 'animation.scaleOutX': ScaleOutX,
127
+ 'animation.scaleInY': ScaleInY,
128
+ 'animation.scaleOutY': ScaleOutY,
129
+ 'animation.waveIn': WaveIn,
130
+ 'animation.fadeIn': FadeIn,
131
+ 'animation.fadeOut': FadeOut,
132
+ 'animation.zoomIn': ZoomIn,
133
+ 'animation.zoomOut': ZoomOut,
134
+ 'animation.pathIn': PathIn,
135
+ 'animation.morphing': Morphing,
136
+ 'animation.growInX': GrowInX,
137
+ 'animation.growInY': GrowInY,
138
+ 'interaction.elementHighlight': ElementHighlight,
139
+ 'interaction.elementHighlightByX': ElementHighlightByX,
140
+ 'interaction.elementHighlightByColor': ElementHighlightByColor,
141
+ 'interaction.elementSelect': ElementSelect,
142
+ 'interaction.elementSelectByX': ElementSelectByX,
143
+ 'interaction.elementSelectByColor': ElementSelectByColor,
144
+ 'interaction.fisheye': ChartFisheye,
145
+ 'interaction.chartIndex': ChartIndex,
146
+ 'interaction.tooltip': Tooltip,
147
+ 'interaction.legendFilter': LegendFilter,
148
+ 'interaction.legendHighlight': LegendHighlight,
149
+ 'interaction.brushHighlight': BrushHighlight,
150
+ 'interaction.brushXHighlight': BrushXHighlight,
151
+ 'interaction.brushYHighlight': BrushYHighlight,
152
+ 'interaction.brushAxisHighlight': BrushAxisHighlight,
153
+ 'interaction.brushFilter': BrushFilter,
154
+ 'interaction.brushXFilter': BrushXFilter,
155
+ 'interaction.brushYFilter': BrushYFilter,
156
+ 'interaction.sliderFilter': SliderFilter,
157
+ 'interaction.scrollbarFilter': ScrollbarFilter,
158
+ 'interaction.poptip': Poptip,
159
+ 'interaction.event': Event,
160
+ 'composition.spaceLayer': SpaceLayer,
161
+ 'composition.spaceFlex': SpaceFlex,
162
+ 'composition.mark': Mark,
163
+ 'composition.view': View,
164
+ 'composition.facetRect': FacetRect,
165
+ 'composition.repeatMatrix': RepeatMatrix,
166
+ 'composition.facetCircle': FacetCircle,
167
+ 'composition.timingKeyframe': TimingKeyframe,
168
+ 'labelTransform.overlapHide': OverlapHide,
169
+ 'labelTransform.overlapDodgeY': OverlapDodgeY,
170
+ 'labelTransform.overflowHide': OverflowHide,
171
+ 'labelTransform.contrastReverse': ContrastReverse,
172
+ };
173
+ }
174
+ //# sourceMappingURL=core.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"core.js","sourceRoot":"src/","sources":["lib/core.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,KAAK,EACL,KAAK,EACL,SAAS,EACT,KAAK,EACL,QAAQ,EACR,OAAO,EACP,MAAM,EACN,KAAK,GACN,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAC/D,OAAO,EACL,IAAI,EACJ,QAAQ,EACR,IAAI,EACJ,IAAI,EACJ,KAAK,EACL,IAAI,EACJ,IAAI,EACJ,KAAK,EACL,OAAO,EACP,GAAG,EACH,MAAM,EACN,IAAI,EACJ,KAAK,EACL,KAAK,EACL,SAAS,EACT,KAAK,EACL,MAAM,EACN,MAAM,EACN,IAAI,EACJ,KAAK,EACL,OAAO,EACP,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ACtC,4BAA4B,EAAE,cAAc;QAC5C,4BAA4B,EAAE,WAAW;QACzC,8BAA8B,EAAE,aAAa;QAC7C,6BAA6B,EAAE,YAAY;QAC3C,gCAAgC,EAAE,eAAe;KACzC,CAAC;AACb,CAAC"}
@@ -0,0 +1,4 @@
1
+ export declare function geolib(): {
2
+ readonly 'composition.geoView': import("../runtime").CompositionComponent<import("../composition/geoView").GeoViewOptions>;
3
+ readonly 'composition.geoPath': import("../runtime").CompositionComponent<import("../composition/geoPath").GeoPathOptions>;
4
+ };
package/esm/lib/geo.js ADDED
@@ -0,0 +1,9 @@
1
+ import { GeoView } from '../composition/geoView';
2
+ import { GeoPath } from '../composition/geoPath';
3
+ export function geolib() {
4
+ return {
5
+ 'composition.geoView': GeoView,
6
+ 'composition.geoPath': GeoPath,
7
+ };
8
+ }
9
+ //# sourceMappingURL=geo.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"geo.js","sourceRoot":"src/","sources":["lib/geo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AAEjD,MAAM,UAAU,MAAM;IACpB,OAAO;QACL,qBAAqB,EAAE,OAAO;QAC9B,qBAAqB,EAAE,OAAO;KACtB,CAAC;AACb,CAAC"}
@@ -0,0 +1,4 @@
1
+ export declare function graphlib(): {
2
+ readonly 'mark.forceGraph': import("../runtime").CompositeMarkComponent<import("../mark").ForceGraphOptions>;
3
+ readonly 'mark.tree': import("../runtime").CompositeMarkComponent<import("../mark").TreeOptions>;
4
+ };
@@ -0,0 +1,8 @@
1
+ import { ForceGraph, Tree } from '../mark';
2
+ export function graphlib() {
3
+ return {
4
+ 'mark.forceGraph': ForceGraph,
5
+ 'mark.tree': Tree,
6
+ };
7
+ }
8
+ //# sourceMappingURL=graph.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"graph.js","sourceRoot":"src/","sources":["lib/graph.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAE3C,MAAM,UAAU,QAAQ;IACtB,OAAO;QACL,iBAAiB,EAAE,UAAU;QAC7B,WAAW,EAAE,IAAI;KACT,CAAC;AACb,CAAC"}
@@ -0,0 +1,6 @@
1
+ export { corelib } from './core';
2
+ export { geolib } from './geo';
3
+ export { graphlib } from './graph';
4
+ export { plotlib } from './plot';
5
+ export { stdlib } from './std';
6
+ export { litelib } from './lite';
@@ -0,0 +1,7 @@
1
+ export { corelib } from './core';
2
+ export { geolib } from './geo';
3
+ export { graphlib } from './graph';
4
+ export { plotlib } from './plot';
5
+ export { stdlib } from './std';
6
+ export { litelib } from './lite';
7
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"src/","sources":["lib/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AACjC,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACnC,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AACjC,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC"}
@@ -0,0 +1,64 @@
1
+ import { Tooltip, LegendFilter, LegendHighlight, SliderFilter, Poptip, Event, ScrollbarFilter } from '../interaction';
2
+ /**
3
+ * In test stage, don't use it.
4
+ */
5
+ export declare function litelib(): {
6
+ readonly 'data.inline': import("../runtime").DataComponent<import("../data").InlineOptions>;
7
+ readonly 'coordinate.cartesian': import("../runtime").CoordinateComponent<import("../coordinate").CartesianOptions>;
8
+ readonly 'encode.constant': import("../runtime").EncodeComponent<import("../encode").ConstantOptions>;
9
+ readonly 'encode.field': import("../runtime").EncodeComponent<import("../encode").FieldOptions>;
10
+ readonly 'encode.transform': import("../runtime").EncodeComponent<import("../encode").TransformOptions>;
11
+ readonly 'encode.column': import("../runtime").EncodeComponent<import("../encode").ColumnOptions>;
12
+ readonly 'mark.interval': import("../runtime").MarkComponent<import("../mark").IntervalOptions>;
13
+ readonly 'shape.label.label': import("../runtime").ShapeComponent<import("../shape").LabelShapeOptions>;
14
+ readonly 'palette.category10': import("../runtime").PaletteComponent<import("../palette").Category10Options>;
15
+ readonly 'palette.category20': import("../runtime").PaletteComponent<import("../palette").Category20Options>;
16
+ readonly 'scale.linear': import("../runtime").ScaleComponent<import("../scale").LinearOptions>;
17
+ readonly 'scale.ordinal': import("../runtime").ScaleComponent<import("../scale").OrdinalOptions>;
18
+ readonly 'scale.band': import("../runtime").ScaleComponent<import("../scale").BandOptions>;
19
+ readonly 'scale.identity': import("../runtime").ScaleComponent<import("../scale").IdentityOptions>;
20
+ readonly 'scale.point': import("../runtime").ScaleComponent<import("../scale").PointOptions>;
21
+ readonly 'scale.time': import("../runtime").ScaleComponent<import("../scale").TimeOptions>;
22
+ readonly 'scale.log': import("../runtime").ScaleComponent<import("../scale").LogOptions>;
23
+ readonly 'scale.pow': import("../runtime").ScaleComponent<import("../scale").PowOptions>;
24
+ readonly 'scale.sqrt': import("../runtime").ScaleComponent<import("../scale").SqrtOptions>;
25
+ readonly 'scale.threshold': import("../runtime").ScaleComponent<import("../scale").ThresholdOptions>;
26
+ readonly 'scale.quantile': import("../runtime").ScaleComponent<import("../scale").QuantileOptions>;
27
+ readonly 'scale.quantize': import("../runtime").ScaleComponent<import("../scale").QuantizeOptions>;
28
+ readonly 'scale.sequential': import("../runtime").ScaleComponent<import("../scale").SequentialOptions>;
29
+ readonly 'scale.constant': import("../runtime").ScaleComponent<import("../scale").ConstantOptions>;
30
+ readonly 'theme.classic': import("../runtime").ThemeComponent<import("../runtime").G2Theme>;
31
+ readonly 'component.axisX': import("../runtime").GuideComponentComponent<import("../component/axis").AxisOptions>;
32
+ readonly 'component.axisY': import("../runtime").GuideComponentComponent<import("../component/axis").AxisOptions>;
33
+ readonly 'component.axisRadar': import("../runtime").GuideComponentComponent<import("../component/axisRadar").AxisRadarOptions>;
34
+ readonly 'component.axisLinear': import("../runtime").GuideComponentComponent<import("../component/axis").AxisOptions>;
35
+ readonly 'component.axisArc': import("../runtime").GuideComponentComponent<import("../component/axis").AxisOptions>;
36
+ readonly 'component.legendCategory': import("../runtime").GuideComponentComponent<import("../component").LegendCategoryOptions>;
37
+ readonly 'component.legendContinuous': import("../runtime").GuideComponentComponent<import("../component").LegendContinuousOptions>;
38
+ readonly 'component.legendContinuousBlock': import("../runtime").GuideComponentComponent<import("../component").LegendContinuousOptions>;
39
+ readonly 'component.legendContinuousBlockSize': import("../runtime").GuideComponentComponent<import("../component").LegendContinuousOptions>;
40
+ readonly 'component.legendContinuousSize': import("../runtime").GuideComponentComponent<import("../component").LegendContinuousOptions>;
41
+ readonly 'component.legends': import("../runtime").GuideComponentComponent<import("../component").LegendsOptions>;
42
+ readonly 'component.title': import("../runtime").GuideComponentComponent<import("../runtime").G2Title>;
43
+ readonly 'component.sliderX': import("../runtime").GuideComponentComponent<import("../component/slider").SliderOptions>;
44
+ readonly 'component.sliderY': import("../runtime").GuideComponentComponent<import("../component/slider").SliderOptions>;
45
+ readonly 'component.scrollbarX': import("../runtime").GuideComponentComponent<import("../component/scrollbar").ScrollbarOptions>;
46
+ readonly 'component.scrollbarY': import("../runtime").GuideComponentComponent<import("../component/scrollbar").ScrollbarOptions>;
47
+ readonly 'animation.scaleInX': import("../runtime").AnimationComponent<import("../animation/types").Animation>;
48
+ readonly 'animation.scaleOutX': import("../runtime").AnimationComponent<import("../animation/types").Animation>;
49
+ readonly 'animation.scaleInY': import("../runtime").AnimationComponent<import("../animation/types").Animation>;
50
+ readonly 'animation.scaleOutY': import("../runtime").AnimationComponent<import("../animation/types").Animation>;
51
+ readonly 'animation.waveIn': import("../runtime").AnimationComponent<import("../animation/types").Animation>;
52
+ readonly 'animation.fadeIn': import("../runtime").AnimationComponent<import("../animation/types").Animation>;
53
+ readonly 'animation.fadeOut': import("../runtime").AnimationComponent<import("../animation/types").Animation>;
54
+ readonly 'animation.morphing': import("../runtime").AnimationComponent<import("../animation").MorphingOptions>;
55
+ readonly 'interaction.tooltip': typeof Tooltip;
56
+ readonly 'interaction.legendFilter': typeof LegendFilter;
57
+ readonly 'interaction.legendHighlight': typeof LegendHighlight;
58
+ readonly 'interaction.sliderFilter': typeof SliderFilter;
59
+ readonly 'interaction.scrollbarFilter': typeof ScrollbarFilter;
60
+ readonly 'interaction.poptip': typeof Poptip;
61
+ readonly 'interaction.event': typeof Event;
62
+ readonly 'composition.mark': import("../runtime").CompositionComponent<import("../composition").MarkOptions>;
63
+ readonly 'composition.view': import("../runtime").CompositionComponent<import("../composition").ViewOptions>;
64
+ };
@@ -0,0 +1,78 @@
1
+ import { Cartesian } from '../coordinate';
2
+ import { Constant, Field, Transform, Column } from '../encode';
3
+ import { Interval } from '../mark';
4
+ import { Category10, Category20 } from '../palette';
5
+ import { Linear as ScaleLinear, Ordinal as ScaleOrdinal, Band as ScaleBand, Identity as ScaleIdenity, Point as ScalePoint, Time as ScaleTime, Log as ScaleLog, Pow as ScalePow, Threshold as ScaleThreshold, Quantile as ScaleQuantile, Quantize as ScaleQuantize, Sqrt as ScaleSqrt, Sequential as ScaleSequential, Constant as ScaleConstant, } from '../scale';
6
+ import { Classic } from '../theme';
7
+ import { AxisLinear, AxisArc, AxisX, AxisY, AxisRadar, LegendCategory, LegendContinuous, LegendContinuousBlock, LegendContinuousBlockSize, LegendContinuousSize, TitleComponent, SliderX, SliderY, ScrollbarX, ScrollbarY, Legends, } from '../component';
8
+ import { ScaleInX, ScaleOutX, ScaleInY, ScaleOutY, WaveIn, FadeIn, FadeOut, Morphing, } from '../animation';
9
+ import { Tooltip, LegendFilter, LegendHighlight, SliderFilter, Poptip, Event, ScrollbarFilter, } from '../interaction';
10
+ import { Mark, View } from '../composition';
11
+ import { LabelShape } from '../shape';
12
+ import { Inline } from '../data';
13
+ /**
14
+ * In test stage, don't use it.
15
+ */
16
+ export function litelib() {
17
+ return {
18
+ 'data.inline': Inline,
19
+ 'coordinate.cartesian': Cartesian,
20
+ 'encode.constant': Constant,
21
+ 'encode.field': Field,
22
+ 'encode.transform': Transform,
23
+ 'encode.column': Column,
24
+ 'mark.interval': Interval,
25
+ 'shape.label.label': LabelShape,
26
+ 'palette.category10': Category10,
27
+ 'palette.category20': Category20,
28
+ 'scale.linear': ScaleLinear,
29
+ 'scale.ordinal': ScaleOrdinal,
30
+ 'scale.band': ScaleBand,
31
+ 'scale.identity': ScaleIdenity,
32
+ 'scale.point': ScalePoint,
33
+ 'scale.time': ScaleTime,
34
+ 'scale.log': ScaleLog,
35
+ 'scale.pow': ScalePow,
36
+ 'scale.sqrt': ScaleSqrt,
37
+ 'scale.threshold': ScaleThreshold,
38
+ 'scale.quantile': ScaleQuantile,
39
+ 'scale.quantize': ScaleQuantize,
40
+ 'scale.sequential': ScaleSequential,
41
+ 'scale.constant': ScaleConstant,
42
+ 'theme.classic': Classic,
43
+ 'component.axisX': AxisX,
44
+ 'component.axisY': AxisY,
45
+ 'component.axisRadar': AxisRadar,
46
+ 'component.axisLinear': AxisLinear,
47
+ 'component.axisArc': AxisArc,
48
+ 'component.legendCategory': LegendCategory,
49
+ 'component.legendContinuous': LegendContinuous,
50
+ 'component.legendContinuousBlock': LegendContinuousBlock,
51
+ 'component.legendContinuousBlockSize': LegendContinuousBlockSize,
52
+ 'component.legendContinuousSize': LegendContinuousSize,
53
+ 'component.legends': Legends,
54
+ 'component.title': TitleComponent,
55
+ 'component.sliderX': SliderX,
56
+ 'component.sliderY': SliderY,
57
+ 'component.scrollbarX': ScrollbarX,
58
+ 'component.scrollbarY': ScrollbarY,
59
+ 'animation.scaleInX': ScaleInX,
60
+ 'animation.scaleOutX': ScaleOutX,
61
+ 'animation.scaleInY': ScaleInY,
62
+ 'animation.scaleOutY': ScaleOutY,
63
+ 'animation.waveIn': WaveIn,
64
+ 'animation.fadeIn': FadeIn,
65
+ 'animation.fadeOut': FadeOut,
66
+ 'animation.morphing': Morphing,
67
+ 'interaction.tooltip': Tooltip,
68
+ 'interaction.legendFilter': LegendFilter,
69
+ 'interaction.legendHighlight': LegendHighlight,
70
+ 'interaction.sliderFilter': SliderFilter,
71
+ 'interaction.scrollbarFilter': ScrollbarFilter,
72
+ 'interaction.poptip': Poptip,
73
+ 'interaction.event': Event,
74
+ 'composition.mark': Mark,
75
+ 'composition.view': View,
76
+ };
77
+ }
78
+ //# sourceMappingURL=lite.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lite.js","sourceRoot":"src/","sources":["lib/lite.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACnC,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACpD,OAAO,EACL,MAAM,IAAI,WAAW,EACrB,OAAO,IAAI,YAAY,EACvB,IAAI,IAAI,SAAS,EACjB,QAAQ,IAAI,YAAY,EACxB,KAAK,IAAI,UAAU,EACnB,IAAI,IAAI,SAAS,EACjB,GAAG,IAAI,QAAQ,EACf,GAAG,IAAI,QAAQ,EACf,SAAS,IAAI,cAAc,EAC3B,QAAQ,IAAI,aAAa,EACzB,QAAQ,IAAI,aAAa,EACzB,IAAI,IAAI,SAAS,EACjB,UAAU,IAAI,eAAe,EAC7B,QAAQ,IAAI,aAAa,GAC1B,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AACnC,OAAO,EACL,UAAU,EACV,OAAO,EACP,KAAK,EACL,KAAK,EACL,SAAS,EACT,cAAc,EACd,gBAAgB,EAChB,qBAAqB,EACrB,yBAA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xB,iBAAiB,EAAE,KAAK;QACxB,qBAAqB,EAAE,SAAS;QAChC,sBAAsB,EAAE,UAAU;QAClC,mBAAmB,EAAE,OAAO;QAC5B,0BAA0B,EAAE,cAAc;QAC1C,4BAA4B,EAAE,gBAAgB;QAC9C,iCAAiC,EAAE,qBAAqB;QACxD,qCAAqC,EAAE,yBAAyB;QAChE,gCAAgC,EAAE,oBAAoB;QACtD,mBAAmB,EAAE,OAAO;QAC5B,iBAAiB,EAAE,cAAc;QACjC,mBAAmB,EAAE,OAAO;QAC5B,mBAAmB,EAAE,OAAO;QAC5B,sBAAsB,EAAE,UAAU;QAClC,sBAAsB,EAAE,UAAU;QAClC,oBAAoB,EAAE,QAAQ;QAC9B,qBAAqB,EAAE,SAAS;QAChC,oBAAoB,EAAE,QAAQ;QAC9B,qBAAqB,EAAE,SAAS;QAChC,kBAAkB,EAAE,MAAM;QAC1B,kBAAkB,EAAE,MAAM;QAC1B,mBAAmB,EAAE,OAAO;QAC5B,oBAAoB,EAAE,QAAQ;QAC9B,qBAAqB,EAAE,OAAO;QAC9B,0BAA0B,EAAE,YAAY;QACxC,6BAA6B,EAAE,eAAe;QAC9C,0BAA0B,EAAE,YAAY;QACxC,6BAA6B,EAAE,eAAe;QAC9C,oBAAoB,EAAE,MAAM;QAC5B,mBAAmB,EAAE,KAAK;QAC1B,kBAAkB,EAAE,IAAI;QACxB,kBAAkB,EAAE,IAAI;KAChB,CAAC;AACb,CAAC"}
@@ -0,0 +1,11 @@
1
+ export declare function plotlib(): {
2
+ readonly 'data.venn': import("../runtime").DataComponent<import("../data").VennOptions>;
3
+ readonly 'data.arc': import("../runtime").DataComponent<import("../data").ArcOptions>;
4
+ readonly 'data.cluster': import("../runtime").DataComponent<import("../data").ClusterOptions>;
5
+ readonly 'mark.sankey': import("../runtime").CompositeMarkComponent<import("../mark").SankeyOptions>;
6
+ readonly 'mark.treemap': import("../runtime").CompositionComponent<import("../mark").TreemapOptions>;
7
+ readonly 'mark.boxplot': import("../runtime").CompositeMarkComponent<import("../mark/boxplot").BoxPlotOptions>;
8
+ readonly 'mark.pack': import("../runtime").CompositionComponent<import("../mark").PackOptions>;
9
+ readonly 'mark.gauge': import("../runtime").CompositeMarkComponent<import("../mark").GaugeOptions>;
10
+ readonly 'mark.wordCloud': import("../runtime").CompositeMarkComponent<import("../mark").WordCloudOptions>;
11
+ };
@@ -0,0 +1,16 @@
1
+ import { Sankey, Treemap, Pack, Boxplot, WordCloud, Gauge } from '../mark';
2
+ import { Arc, Cluster, Venn } from '../data';
3
+ export function plotlib() {
4
+ return {
5
+ 'data.venn': Venn,
6
+ 'data.arc': Arc,
7
+ 'data.cluster': Cluster,
8
+ 'mark.sankey': Sankey,
9
+ 'mark.treemap': Treemap,
10
+ 'mark.boxplot': Boxplot,
11
+ 'mark.pack': Pack,
12
+ 'mark.gauge': Gauge,
13
+ 'mark.wordCloud': WordCloud,
14
+ };
15
+ }
16
+ //# sourceMappingURL=plot.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plot.js","sourceRoot":"src/","sources":["lib/plot.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAC3E,OAAO,EAAE,GAAG,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAE7C,MAAM,UAAU,OAAO;IACrB,OAAO;QACL,WAAW,EAAE,IAAI;QACjB,UAAU,EAAE,GAAG;QACf,cAAc,EAAE,OAAO;QACvB,aAAa,EAAE,MAAM;QACrB,cAAc,EAAE,OAAO;QACvB,cAAc,EAAE,OAAO;QACvB,WAAW,EAAE,IAAI;QACjB,YAAY,EAAE,KAAK;QACnB,gBAAgB,EAAE,SAAS;KACnB,CAAC;AACb,CAAC"}