@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,178 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.corelib = void 0;
4
+ const coordinate_1 = require("../coordinate");
5
+ const encode_1 = require("../encode");
6
+ const mark_1 = require("../mark");
7
+ const palette_1 = require("../palette");
8
+ const scale_1 = require("../scale");
9
+ const theme_1 = require("../theme");
10
+ const component_1 = require("../component");
11
+ const animation_1 = require("../animation");
12
+ const interaction_1 = require("../interaction");
13
+ const composition_1 = require("../composition");
14
+ const transform_1 = require("../transform");
15
+ const data_1 = require("../data");
16
+ const label_transform_1 = require("../label-transform");
17
+ const shape_1 = require("../shape");
18
+ function corelib() {
19
+ return {
20
+ 'data.fetch': data_1.Fetch,
21
+ 'data.inline': data_1.Inline,
22
+ 'data.sortBy': data_1.SortBy,
23
+ 'data.sort': data_1.Sort,
24
+ 'data.filter': data_1.Filter,
25
+ 'data.pick': data_1.Pick,
26
+ 'data.rename': data_1.Rename,
27
+ 'data.fold': data_1.Fold,
28
+ 'data.slice': data_1.Slice,
29
+ 'data.custom': data_1.Custom,
30
+ 'data.map': data_1.Map,
31
+ 'data.join': data_1.Join,
32
+ 'data.kde': data_1.KDE,
33
+ 'transform.stackY': transform_1.StackY,
34
+ 'transform.binX': transform_1.BinX,
35
+ 'transform.bin': transform_1.Bin,
36
+ 'transform.dodgeX': transform_1.DodgeX,
37
+ 'transform.jitter': transform_1.Jitter,
38
+ 'transform.jitterX': transform_1.JitterX,
39
+ 'transform.symmetryY': transform_1.SymmetryY,
40
+ 'transform.diffY': transform_1.DiffY,
41
+ 'transform.stackEnter': transform_1.StackEnter,
42
+ 'transform.normalizeY': transform_1.NormalizeY,
43
+ 'transform.select': transform_1.Select,
44
+ 'transform.selectX': transform_1.SelectX,
45
+ 'transform.selectY': transform_1.SelectY,
46
+ 'transform.groupX': transform_1.GroupX,
47
+ 'transform.groupY': transform_1.GroupY,
48
+ 'transform.groupColor': transform_1.GroupColor,
49
+ 'transform.group': transform_1.Group,
50
+ 'transform.sortX': transform_1.SortX,
51
+ 'transform.sortY': transform_1.SortY,
52
+ 'transform.sortColor': transform_1.SortColor,
53
+ 'transform.flexX': transform_1.FlexX,
54
+ 'transform.pack': transform_1.Pack,
55
+ 'transform.sample': transform_1.Sample,
56
+ 'transform.filter': transform_1.Filter,
57
+ 'coordinate.cartesian': coordinate_1.Cartesian,
58
+ 'coordinate.polar': coordinate_1.Polar,
59
+ 'coordinate.helix': coordinate_1.Helix,
60
+ 'coordinate.transpose': coordinate_1.Transpose,
61
+ 'coordinate.theta': coordinate_1.Theta,
62
+ 'coordinate.parallel': coordinate_1.Parallel,
63
+ 'coordinate.fisheye': coordinate_1.Fisheye,
64
+ 'coordinate.radial': coordinate_1.Radial,
65
+ 'coordinate.radar': coordinate_1.Radar,
66
+ 'encode.constant': encode_1.Constant,
67
+ 'encode.field': encode_1.Field,
68
+ 'encode.transform': encode_1.Transform,
69
+ 'encode.column': encode_1.Column,
70
+ 'mark.interval': mark_1.Interval,
71
+ 'mark.rect': mark_1.Rect,
72
+ 'mark.line': mark_1.Line,
73
+ 'mark.point': mark_1.Point,
74
+ 'mark.text': mark_1.Text,
75
+ 'mark.cell': mark_1.Cell,
76
+ 'mark.area': mark_1.Area,
77
+ 'mark.link': mark_1.Link,
78
+ 'mark.image': mark_1.Image,
79
+ 'mark.polygon': mark_1.Polygon,
80
+ 'mark.box': mark_1.Box,
81
+ 'mark.vector': mark_1.Vector,
82
+ 'mark.lineX': mark_1.LineX,
83
+ 'mark.lineY': mark_1.LineY,
84
+ 'mark.connector': mark_1.Connector,
85
+ 'mark.range': mark_1.Range,
86
+ 'mark.rangeX': mark_1.RangeX,
87
+ 'mark.rangeY': mark_1.RangeY,
88
+ 'mark.path': mark_1.Path,
89
+ 'mark.shape': mark_1.Shape,
90
+ 'mark.density': mark_1.Density,
91
+ 'mark.heatmap': mark_1.Heatmap,
92
+ 'shape.label.label': shape_1.LabelShape,
93
+ 'palette.category10': palette_1.Category10,
94
+ 'palette.category20': palette_1.Category20,
95
+ 'scale.linear': scale_1.Linear,
96
+ 'scale.ordinal': scale_1.Ordinal,
97
+ 'scale.band': scale_1.Band,
98
+ 'scale.identity': scale_1.Identity,
99
+ 'scale.point': scale_1.Point,
100
+ 'scale.time': scale_1.Time,
101
+ 'scale.log': scale_1.Log,
102
+ 'scale.pow': scale_1.Pow,
103
+ 'scale.sqrt': scale_1.Sqrt,
104
+ 'scale.threshold': scale_1.Threshold,
105
+ 'scale.quantile': scale_1.Quantile,
106
+ 'scale.quantize': scale_1.Quantize,
107
+ 'scale.sequential': scale_1.Sequential,
108
+ 'scale.constant': scale_1.Constant,
109
+ 'theme.classic': theme_1.Classic,
110
+ 'theme.classicDark': theme_1.ClassicDark,
111
+ 'theme.academy': theme_1.Academy,
112
+ 'component.axisX': component_1.AxisX,
113
+ 'component.axisY': component_1.AxisY,
114
+ 'component.axisRadar': component_1.AxisRadar,
115
+ 'component.axisLinear': component_1.AxisLinear,
116
+ 'component.axisArc': component_1.AxisArc,
117
+ 'component.legendCategory': component_1.LegendCategory,
118
+ 'component.legendContinuous': component_1.LegendContinuous,
119
+ 'component.legendContinuousBlock': component_1.LegendContinuousBlock,
120
+ 'component.legendContinuousBlockSize': component_1.LegendContinuousBlockSize,
121
+ 'component.legendContinuousSize': component_1.LegendContinuousSize,
122
+ 'component.legends': component_1.Legends,
123
+ 'component.title': component_1.TitleComponent,
124
+ 'component.sliderX': component_1.SliderX,
125
+ 'component.sliderY': component_1.SliderY,
126
+ 'component.scrollbarX': component_1.ScrollbarX,
127
+ 'component.scrollbarY': component_1.ScrollbarY,
128
+ 'animation.scaleInX': animation_1.ScaleInX,
129
+ 'animation.scaleOutX': animation_1.ScaleOutX,
130
+ 'animation.scaleInY': animation_1.ScaleInY,
131
+ 'animation.scaleOutY': animation_1.ScaleOutY,
132
+ 'animation.waveIn': animation_1.WaveIn,
133
+ 'animation.fadeIn': animation_1.FadeIn,
134
+ 'animation.fadeOut': animation_1.FadeOut,
135
+ 'animation.zoomIn': animation_1.ZoomIn,
136
+ 'animation.zoomOut': animation_1.ZoomOut,
137
+ 'animation.pathIn': animation_1.PathIn,
138
+ 'animation.morphing': animation_1.Morphing,
139
+ 'animation.growInX': animation_1.GrowInX,
140
+ 'animation.growInY': animation_1.GrowInY,
141
+ 'interaction.elementHighlight': interaction_1.ElementHighlight,
142
+ 'interaction.elementHighlightByX': interaction_1.ElementHighlightByX,
143
+ 'interaction.elementHighlightByColor': interaction_1.ElementHighlightByColor,
144
+ 'interaction.elementSelect': interaction_1.ElementSelect,
145
+ 'interaction.elementSelectByX': interaction_1.ElementSelectByX,
146
+ 'interaction.elementSelectByColor': interaction_1.ElementSelectByColor,
147
+ 'interaction.fisheye': interaction_1.Fisheye,
148
+ 'interaction.chartIndex': interaction_1.ChartIndex,
149
+ 'interaction.tooltip': interaction_1.Tooltip,
150
+ 'interaction.legendFilter': interaction_1.LegendFilter,
151
+ 'interaction.legendHighlight': interaction_1.LegendHighlight,
152
+ 'interaction.brushHighlight': interaction_1.BrushHighlight,
153
+ 'interaction.brushXHighlight': interaction_1.BrushXHighlight,
154
+ 'interaction.brushYHighlight': interaction_1.BrushYHighlight,
155
+ 'interaction.brushAxisHighlight': interaction_1.BrushAxisHighlight,
156
+ 'interaction.brushFilter': interaction_1.BrushFilter,
157
+ 'interaction.brushXFilter': interaction_1.BrushXFilter,
158
+ 'interaction.brushYFilter': interaction_1.BrushYFilter,
159
+ 'interaction.sliderFilter': interaction_1.SliderFilter,
160
+ 'interaction.scrollbarFilter': interaction_1.ScrollbarFilter,
161
+ 'interaction.poptip': interaction_1.Poptip,
162
+ 'interaction.event': interaction_1.Event,
163
+ 'composition.spaceLayer': composition_1.SpaceLayer,
164
+ 'composition.spaceFlex': composition_1.SpaceFlex,
165
+ 'composition.mark': composition_1.Mark,
166
+ 'composition.view': composition_1.View,
167
+ 'composition.facetRect': composition_1.FacetRect,
168
+ 'composition.repeatMatrix': composition_1.RepeatMatrix,
169
+ 'composition.facetCircle': composition_1.FacetCircle,
170
+ 'composition.timingKeyframe': composition_1.TimingKeyframe,
171
+ 'labelTransform.overlapHide': label_transform_1.OverlapHide,
172
+ 'labelTransform.overlapDodgeY': label_transform_1.OverlapDodgeY,
173
+ 'labelTransform.overflowHide': label_transform_1.OverflowHide,
174
+ 'labelTransform.contrastReverse': label_transform_1.ContrastReverse,
175
+ };
176
+ }
177
+ exports.corelib = corelib;
178
+ //# sourceMappingURL=core.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"core.js","sourceRoot":"src/","sources":["lib/core.ts"],"names":[],"mappings":";;;AAAA,8CAUuB;AACvB,sCAA+D;AAC/D,kCAuBiB;AACjB,wCAAoD;AACpD,oCAekB;AAClB,oCAAyD;AACzD,4CAiBsB;AACtB,4CAcsB;AACtB,gDAuBwB;AACxB,gDASwB;AACxB,4CAyBsB;AACtB,kCAciB;AACjB,wDAK4B;AAC5B,oCAAsC;AAEtC,SAAgB,OAAO;IACrB,OAAO;QACL,YAAY,EAAE,YAAS;QACvB,aAAa,EAAE,aAAU;QACzB,aAAa,EAAE,aAAU;QACzB,WAAW,EAAE,WAAQ;QACrB,aAAa,EAAE,aAAU;QACzB,WAAW,EAAE,WAAQ;QACrB,aAAa,EAAE,aAAU;QACzB,WAAW,EAAE,WAAQ;QACrB,YAAY,EAAE,YAAS;QACvB,aAAa,EAAE,aAAU;QACzB,UAAU,EAAE,UAAO;QACnB,WAAW,EAAE,WAAQ;QACrB,UAAU,EAAE,UAAO;QACnB,kBAAkB,EAAE,kBAAM;QAC1B,gBAAgB,EAAE,gBAAI;QACtB,eAAe,EAAE,eAAG;QACpB,kBAAkB,EAAE,kBAAM;QAC1B,kBAAkB,EAAE,kBAAM;QAC1B,mBAAmB,EAA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AE,8BAAY;QAC3C,gCAAgC,EAAE,iCAAe;KACzC,CAAC;AACb,CAAC;AA9JD,0BA8JC"}
@@ -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/lib/lib/geo.js ADDED
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.geolib = void 0;
4
+ const geoView_1 = require("../composition/geoView");
5
+ const geoPath_1 = require("../composition/geoPath");
6
+ function geolib() {
7
+ return {
8
+ 'composition.geoView': geoView_1.GeoView,
9
+ 'composition.geoPath': geoPath_1.GeoPath,
10
+ };
11
+ }
12
+ exports.geolib = geolib;
13
+ //# sourceMappingURL=geo.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"geo.js","sourceRoot":"src/","sources":["lib/geo.ts"],"names":[],"mappings":";;;AAAA,oDAAiD;AACjD,oDAAiD;AAEjD,SAAgB,MAAM;IACpB,OAAO;QACL,qBAAqB,EAAE,iBAAO;QAC9B,qBAAqB,EAAE,iBAAO;KACtB,CAAC;AACb,CAAC;AALD,wBAKC"}
@@ -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,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.graphlib = void 0;
4
+ const mark_1 = require("../mark");
5
+ function graphlib() {
6
+ return {
7
+ 'mark.forceGraph': mark_1.ForceGraph,
8
+ 'mark.tree': mark_1.Tree,
9
+ };
10
+ }
11
+ exports.graphlib = graphlib;
12
+ //# sourceMappingURL=graph.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"graph.js","sourceRoot":"src/","sources":["lib/graph.ts"],"names":[],"mappings":";;;AAAA,kCAA2C;AAE3C,SAAgB,QAAQ;IACtB,OAAO;QACL,iBAAiB,EAAE,iBAAU;QAC7B,WAAW,EAAE,WAAI;KACT,CAAC;AACb,CAAC;AALD,4BAKC"}
@@ -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,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.litelib = exports.stdlib = exports.plotlib = exports.graphlib = exports.geolib = exports.corelib = void 0;
4
+ var core_1 = require("./core");
5
+ Object.defineProperty(exports, "corelib", { enumerable: true, get: function () { return core_1.corelib; } });
6
+ var geo_1 = require("./geo");
7
+ Object.defineProperty(exports, "geolib", { enumerable: true, get: function () { return geo_1.geolib; } });
8
+ var graph_1 = require("./graph");
9
+ Object.defineProperty(exports, "graphlib", { enumerable: true, get: function () { return graph_1.graphlib; } });
10
+ var plot_1 = require("./plot");
11
+ Object.defineProperty(exports, "plotlib", { enumerable: true, get: function () { return plot_1.plotlib; } });
12
+ var std_1 = require("./std");
13
+ Object.defineProperty(exports, "stdlib", { enumerable: true, get: function () { return std_1.stdlib; } });
14
+ var lite_1 = require("./lite");
15
+ Object.defineProperty(exports, "litelib", { enumerable: true, get: function () { return lite_1.litelib; } });
16
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"src/","sources":["lib/index.ts"],"names":[],"mappings":";;;AAAA,+BAAiC;AAAxB,+FAAA,OAAO,OAAA;AAChB,6BAA+B;AAAtB,6FAAA,MAAM,OAAA;AACf,iCAAmC;AAA1B,iGAAA,QAAQ,OAAA;AACjB,+BAAiC;AAAxB,+FAAA,OAAO,OAAA;AAChB,6BAA+B;AAAtB,6FAAA,MAAM,OAAA;AACf,+BAAiC;AAAxB,+FAAA,OAAO,OAAA"}
@@ -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,82 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.litelib = void 0;
4
+ const coordinate_1 = require("../coordinate");
5
+ const encode_1 = require("../encode");
6
+ const mark_1 = require("../mark");
7
+ const palette_1 = require("../palette");
8
+ const scale_1 = require("../scale");
9
+ const theme_1 = require("../theme");
10
+ const component_1 = require("../component");
11
+ const animation_1 = require("../animation");
12
+ const interaction_1 = require("../interaction");
13
+ const composition_1 = require("../composition");
14
+ const shape_1 = require("../shape");
15
+ const data_1 = require("../data");
16
+ /**
17
+ * In test stage, don't use it.
18
+ */
19
+ function litelib() {
20
+ return {
21
+ 'data.inline': data_1.Inline,
22
+ 'coordinate.cartesian': coordinate_1.Cartesian,
23
+ 'encode.constant': encode_1.Constant,
24
+ 'encode.field': encode_1.Field,
25
+ 'encode.transform': encode_1.Transform,
26
+ 'encode.column': encode_1.Column,
27
+ 'mark.interval': mark_1.Interval,
28
+ 'shape.label.label': shape_1.LabelShape,
29
+ 'palette.category10': palette_1.Category10,
30
+ 'palette.category20': palette_1.Category20,
31
+ 'scale.linear': scale_1.Linear,
32
+ 'scale.ordinal': scale_1.Ordinal,
33
+ 'scale.band': scale_1.Band,
34
+ 'scale.identity': scale_1.Identity,
35
+ 'scale.point': scale_1.Point,
36
+ 'scale.time': scale_1.Time,
37
+ 'scale.log': scale_1.Log,
38
+ 'scale.pow': scale_1.Pow,
39
+ 'scale.sqrt': scale_1.Sqrt,
40
+ 'scale.threshold': scale_1.Threshold,
41
+ 'scale.quantile': scale_1.Quantile,
42
+ 'scale.quantize': scale_1.Quantize,
43
+ 'scale.sequential': scale_1.Sequential,
44
+ 'scale.constant': scale_1.Constant,
45
+ 'theme.classic': theme_1.Classic,
46
+ 'component.axisX': component_1.AxisX,
47
+ 'component.axisY': component_1.AxisY,
48
+ 'component.axisRadar': component_1.AxisRadar,
49
+ 'component.axisLinear': component_1.AxisLinear,
50
+ 'component.axisArc': component_1.AxisArc,
51
+ 'component.legendCategory': component_1.LegendCategory,
52
+ 'component.legendContinuous': component_1.LegendContinuous,
53
+ 'component.legendContinuousBlock': component_1.LegendContinuousBlock,
54
+ 'component.legendContinuousBlockSize': component_1.LegendContinuousBlockSize,
55
+ 'component.legendContinuousSize': component_1.LegendContinuousSize,
56
+ 'component.legends': component_1.Legends,
57
+ 'component.title': component_1.TitleComponent,
58
+ 'component.sliderX': component_1.SliderX,
59
+ 'component.sliderY': component_1.SliderY,
60
+ 'component.scrollbarX': component_1.ScrollbarX,
61
+ 'component.scrollbarY': component_1.ScrollbarY,
62
+ 'animation.scaleInX': animation_1.ScaleInX,
63
+ 'animation.scaleOutX': animation_1.ScaleOutX,
64
+ 'animation.scaleInY': animation_1.ScaleInY,
65
+ 'animation.scaleOutY': animation_1.ScaleOutY,
66
+ 'animation.waveIn': animation_1.WaveIn,
67
+ 'animation.fadeIn': animation_1.FadeIn,
68
+ 'animation.fadeOut': animation_1.FadeOut,
69
+ 'animation.morphing': animation_1.Morphing,
70
+ 'interaction.tooltip': interaction_1.Tooltip,
71
+ 'interaction.legendFilter': interaction_1.LegendFilter,
72
+ 'interaction.legendHighlight': interaction_1.LegendHighlight,
73
+ 'interaction.sliderFilter': interaction_1.SliderFilter,
74
+ 'interaction.scrollbarFilter': interaction_1.ScrollbarFilter,
75
+ 'interaction.poptip': interaction_1.Poptip,
76
+ 'interaction.event': interaction_1.Event,
77
+ 'composition.mark': composition_1.Mark,
78
+ 'composition.view': composition_1.View,
79
+ };
80
+ }
81
+ exports.litelib = litelib;
82
+ //# sourceMappingURL=lite.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lite.js","sourceRoot":"src/","sources":["lib/lite.ts"],"names":[],"mappings":";;;AAAA,8CAA0C;AAC1C,sCAA+D;AAC/D,kCAAmC;AACnC,wCAAoD;AACpD,oCAekB;AAClB,oCAAmC;AACnC,4CAiBsB;AACtB,4CASsB;AACtB,gDAQwB;AACxB,gDAA4C;AAC5C,oCAAsC;AACtC,kCAAiC;AAEjC;;GAEG;AACH,SAAgB,OAAO;IACrB,OAAO;QACL,aAAa,EAAE,aAAM;QACrB,sBAAsB,EAAE,sBAAS;QACjC,iBAAiB,EAAE,iBAAQ;QAC3B,cAAc,EAAE,cAAK;QACrB,kBAAkB,EAAE,kBAAS;QAC7B,eAAe,EAAE,eAAM;QACvB,eAAe,EAAE,eAAQ;QACzB,mBAAmB,EAAE,kBAAU;QAC/B,oBAAoB,EAAE,oBAAU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6B,EAAE,6BAAe;QAC9C,oBAAoB,EAAE,oBAAM;QAC5B,mBAAmB,EAAE,mBAAK;QAC1B,kBAAkB,EAAE,kBAAI;QACxB,kBAAkB,EAAE,kBAAI;KAChB,CAAC;AACb,CAAC;AA7DD,0BA6DC"}
@@ -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
+ };