@visactor/react-vchart 1.12.2-alpha.2 → 1.12.2-alpha.9

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 (625) hide show
  1. package/package.json +7 -7
  2. package/cjs/VChart.d.ts +0 -3
  3. package/cjs/VChart.js +0 -17
  4. package/cjs/VChart.js.map +0 -1
  5. package/cjs/VChartSimple.d.ts +0 -6
  6. package/cjs/VChartSimple.js +0 -10
  7. package/cjs/VChartSimple.js.map +0 -1
  8. package/cjs/charts/AreaChart.d.ts +0 -10
  9. package/cjs/charts/AreaChart.js +0 -13
  10. package/cjs/charts/AreaChart.js.map +0 -1
  11. package/cjs/charts/Bar3dChart.d.ts +0 -10
  12. package/cjs/charts/Bar3dChart.js +0 -13
  13. package/cjs/charts/Bar3dChart.js.map +0 -1
  14. package/cjs/charts/BarChart.d.ts +0 -10
  15. package/cjs/charts/BarChart.js +0 -13
  16. package/cjs/charts/BarChart.js.map +0 -1
  17. package/cjs/charts/BaseChart.d.ts +0 -23
  18. package/cjs/charts/BaseChart.js +0 -128
  19. package/cjs/charts/BaseChart.js.map +0 -1
  20. package/cjs/charts/BoxPlotChart.d.ts +0 -10
  21. package/cjs/charts/BoxPlotChart.js +0 -13
  22. package/cjs/charts/BoxPlotChart.js.map +0 -1
  23. package/cjs/charts/CirclePackingChart.d.ts +0 -10
  24. package/cjs/charts/CirclePackingChart.js +0 -13
  25. package/cjs/charts/CirclePackingChart.js.map +0 -1
  26. package/cjs/charts/CircularProgressChart.d.ts +0 -10
  27. package/cjs/charts/CircularProgressChart.js +0 -13
  28. package/cjs/charts/CircularProgressChart.js.map +0 -1
  29. package/cjs/charts/CommonChart.d.ts +0 -10
  30. package/cjs/charts/CommonChart.js +0 -13
  31. package/cjs/charts/CommonChart.js.map +0 -1
  32. package/cjs/charts/CorrelationChart.d.ts +0 -10
  33. package/cjs/charts/CorrelationChart.js +0 -13
  34. package/cjs/charts/CorrelationChart.js.map +0 -1
  35. package/cjs/charts/Funnel3dChart.d.ts +0 -10
  36. package/cjs/charts/Funnel3dChart.js +0 -13
  37. package/cjs/charts/Funnel3dChart.js.map +0 -1
  38. package/cjs/charts/FunnelChart.d.ts +0 -10
  39. package/cjs/charts/FunnelChart.js +0 -13
  40. package/cjs/charts/FunnelChart.js.map +0 -1
  41. package/cjs/charts/GaugeChart.d.ts +0 -10
  42. package/cjs/charts/GaugeChart.js +0 -13
  43. package/cjs/charts/GaugeChart.js.map +0 -1
  44. package/cjs/charts/HeatmapChart.d.ts +0 -10
  45. package/cjs/charts/HeatmapChart.js +0 -13
  46. package/cjs/charts/HeatmapChart.js.map +0 -1
  47. package/cjs/charts/Histogram3dChart.d.ts +0 -10
  48. package/cjs/charts/Histogram3dChart.js +0 -13
  49. package/cjs/charts/Histogram3dChart.js.map +0 -1
  50. package/cjs/charts/HistogramChart.d.ts +0 -10
  51. package/cjs/charts/HistogramChart.js +0 -12
  52. package/cjs/charts/HistogramChart.js.map +0 -1
  53. package/cjs/charts/LineChart.d.ts +0 -10
  54. package/cjs/charts/LineChart.js +0 -13
  55. package/cjs/charts/LineChart.js.map +0 -1
  56. package/cjs/charts/LinearProgressChart.d.ts +0 -10
  57. package/cjs/charts/LinearProgressChart.js +0 -13
  58. package/cjs/charts/LinearProgressChart.js.map +0 -1
  59. package/cjs/charts/LiquidChart.d.ts +0 -10
  60. package/cjs/charts/LiquidChart.js +0 -13
  61. package/cjs/charts/LiquidChart.js.map +0 -1
  62. package/cjs/charts/MapChart.d.ts +0 -10
  63. package/cjs/charts/MapChart.js +0 -13
  64. package/cjs/charts/MapChart.js.map +0 -1
  65. package/cjs/charts/Pie3dChart.d.ts +0 -10
  66. package/cjs/charts/Pie3dChart.js +0 -13
  67. package/cjs/charts/Pie3dChart.js.map +0 -1
  68. package/cjs/charts/PieChart.d.ts +0 -10
  69. package/cjs/charts/PieChart.js +0 -13
  70. package/cjs/charts/PieChart.js.map +0 -1
  71. package/cjs/charts/RadarChart.d.ts +0 -10
  72. package/cjs/charts/RadarChart.js +0 -13
  73. package/cjs/charts/RadarChart.js.map +0 -1
  74. package/cjs/charts/RangeColumn3dChart.d.ts +0 -10
  75. package/cjs/charts/RangeColumn3dChart.js +0 -13
  76. package/cjs/charts/RangeColumn3dChart.js.map +0 -1
  77. package/cjs/charts/RangeColumnChart.d.ts +0 -10
  78. package/cjs/charts/RangeColumnChart.js +0 -13
  79. package/cjs/charts/RangeColumnChart.js.map +0 -1
  80. package/cjs/charts/RoseChart.d.ts +0 -10
  81. package/cjs/charts/RoseChart.js +0 -13
  82. package/cjs/charts/RoseChart.js.map +0 -1
  83. package/cjs/charts/SankeyChart.d.ts +0 -10
  84. package/cjs/charts/SankeyChart.js +0 -13
  85. package/cjs/charts/SankeyChart.js.map +0 -1
  86. package/cjs/charts/ScatterChart.d.ts +0 -10
  87. package/cjs/charts/ScatterChart.js +0 -13
  88. package/cjs/charts/ScatterChart.js.map +0 -1
  89. package/cjs/charts/SequenceChart.d.ts +0 -10
  90. package/cjs/charts/SequenceChart.js +0 -13
  91. package/cjs/charts/SequenceChart.js.map +0 -1
  92. package/cjs/charts/SunburstChart.d.ts +0 -10
  93. package/cjs/charts/SunburstChart.js +0 -13
  94. package/cjs/charts/SunburstChart.js.map +0 -1
  95. package/cjs/charts/TreemapChart.d.ts +0 -10
  96. package/cjs/charts/TreemapChart.js +0 -13
  97. package/cjs/charts/TreemapChart.js.map +0 -1
  98. package/cjs/charts/VennChart.d.ts +0 -10
  99. package/cjs/charts/VennChart.js +0 -12
  100. package/cjs/charts/VennChart.js.map +0 -1
  101. package/cjs/charts/WaterfallChart.d.ts +0 -10
  102. package/cjs/charts/WaterfallChart.js +0 -13
  103. package/cjs/charts/WaterfallChart.js.map +0 -1
  104. package/cjs/charts/WordCloud3dChart.d.ts +0 -10
  105. package/cjs/charts/WordCloud3dChart.js +0 -13
  106. package/cjs/charts/WordCloud3dChart.js.map +0 -1
  107. package/cjs/charts/WordCloudChart.d.ts +0 -10
  108. package/cjs/charts/WordCloudChart.js +0 -13
  109. package/cjs/charts/WordCloudChart.js.map +0 -1
  110. package/cjs/charts/index.d.ts +0 -35
  111. package/cjs/charts/index.js +0 -37
  112. package/cjs/charts/index.js.map +0 -1
  113. package/cjs/charts/registers/cartesian.d.ts +0 -1
  114. package/cjs/charts/registers/cartesian.js +0 -10
  115. package/cjs/charts/registers/cartesian.js.map +0 -1
  116. package/cjs/charts/registers/polar.d.ts +0 -1
  117. package/cjs/charts/registers/polar.js +0 -10
  118. package/cjs/charts/registers/polar.js.map +0 -1
  119. package/cjs/charts/registers/simple.d.ts +0 -1
  120. package/cjs/charts/registers/simple.js +0 -10
  121. package/cjs/charts/registers/simple.js.map +0 -1
  122. package/cjs/components/Axis.d.ts +0 -4
  123. package/cjs/components/Axis.js +0 -10
  124. package/cjs/components/Axis.js.map +0 -1
  125. package/cjs/components/BaseComponent.d.ts +0 -10
  126. package/cjs/components/BaseComponent.js +0 -56
  127. package/cjs/components/BaseComponent.js.map +0 -1
  128. package/cjs/components/Brush.d.ts +0 -5
  129. package/cjs/components/Brush.js +0 -10
  130. package/cjs/components/Brush.js.map +0 -1
  131. package/cjs/components/ContinuousLegend.d.ts +0 -5
  132. package/cjs/components/ContinuousLegend.js +0 -10
  133. package/cjs/components/ContinuousLegend.js.map +0 -1
  134. package/cjs/components/Crosshair.d.ts +0 -4
  135. package/cjs/components/Crosshair.js +0 -10
  136. package/cjs/components/Crosshair.js.map +0 -1
  137. package/cjs/components/DataZoom.d.ts +0 -5
  138. package/cjs/components/DataZoom.js +0 -10
  139. package/cjs/components/DataZoom.js.map +0 -1
  140. package/cjs/components/Indicator.d.ts +0 -4
  141. package/cjs/components/Indicator.js +0 -10
  142. package/cjs/components/Indicator.js.map +0 -1
  143. package/cjs/components/Legend.d.ts +0 -5
  144. package/cjs/components/Legend.js +0 -10
  145. package/cjs/components/Legend.js.map +0 -1
  146. package/cjs/components/Mark.d.ts +0 -4
  147. package/cjs/components/Mark.js +0 -10
  148. package/cjs/components/Mark.js.map +0 -1
  149. package/cjs/components/MarkArea.d.ts +0 -4
  150. package/cjs/components/MarkArea.js +0 -10
  151. package/cjs/components/MarkArea.js.map +0 -1
  152. package/cjs/components/MarkLine.d.ts +0 -4
  153. package/cjs/components/MarkLine.js +0 -10
  154. package/cjs/components/MarkLine.js.map +0 -1
  155. package/cjs/components/MarkPoint.d.ts +0 -4
  156. package/cjs/components/MarkPoint.js +0 -10
  157. package/cjs/components/MarkPoint.js.map +0 -1
  158. package/cjs/components/Player.d.ts +0 -5
  159. package/cjs/components/Player.js +0 -10
  160. package/cjs/components/Player.js.map +0 -1
  161. package/cjs/components/Region.d.ts +0 -4
  162. package/cjs/components/Region.js +0 -10
  163. package/cjs/components/Region.js.map +0 -1
  164. package/cjs/components/ScrollBar.d.ts +0 -5
  165. package/cjs/components/ScrollBar.js +0 -9
  166. package/cjs/components/ScrollBar.js.map +0 -1
  167. package/cjs/components/Title.d.ts +0 -4
  168. package/cjs/components/Title.js +0 -10
  169. package/cjs/components/Title.js.map +0 -1
  170. package/cjs/components/index.d.ts +0 -16
  171. package/cjs/components/index.js +0 -28
  172. package/cjs/components/index.js.map +0 -1
  173. package/cjs/components/tooltip/CanvasTooltip.d.ts +0 -2
  174. package/cjs/components/tooltip/CanvasTooltip.js +0 -10
  175. package/cjs/components/tooltip/CanvasTooltip.js.map +0 -1
  176. package/cjs/components/tooltip/Tooltip.d.ts +0 -2
  177. package/cjs/components/tooltip/Tooltip.js +0 -10
  178. package/cjs/components/tooltip/Tooltip.js.map +0 -1
  179. package/cjs/components/tooltip/constant.d.ts +0 -1
  180. package/cjs/components/tooltip/constant.js +0 -10
  181. package/cjs/components/tooltip/constant.js.map +0 -1
  182. package/cjs/components/tooltip/index.d.ts +0 -4
  183. package/cjs/components/tooltip/index.js +0 -22
  184. package/cjs/components/tooltip/index.js.map +0 -1
  185. package/cjs/components/tooltip/interface.d.ts +0 -14
  186. package/cjs/components/tooltip/interface.js +0 -6
  187. package/cjs/components/tooltip/interface.js.map +0 -1
  188. package/cjs/components/tooltip/util.d.ts +0 -5
  189. package/cjs/components/tooltip/util.js +0 -47
  190. package/cjs/components/tooltip/util.js.map +0 -1
  191. package/cjs/constants.d.ts +0 -1
  192. package/cjs/constants.js +0 -6
  193. package/cjs/constants.js.map +0 -1
  194. package/cjs/containers/withContainer.d.ts +0 -8
  195. package/cjs/containers/withContainer.js +0 -64
  196. package/cjs/containers/withContainer.js.map +0 -1
  197. package/cjs/context/chart.d.ts +0 -9
  198. package/cjs/context/chart.js +0 -25
  199. package/cjs/context/chart.js.map +0 -1
  200. package/cjs/context/stage.d.ts +0 -5
  201. package/cjs/context/stage.js +0 -24
  202. package/cjs/context/stage.js.map +0 -1
  203. package/cjs/context/view.d.ts +0 -5
  204. package/cjs/context/view.js +0 -24
  205. package/cjs/context/view.js.map +0 -1
  206. package/cjs/eventsUtils.d.ts +0 -256
  207. package/cjs/eventsUtils.js +0 -114
  208. package/cjs/eventsUtils.js.map +0 -1
  209. package/cjs/index.d.ts +0 -8
  210. package/cjs/index.js +0 -32
  211. package/cjs/index.js.map +0 -1
  212. package/cjs/series/Area.d.ts +0 -7
  213. package/cjs/series/Area.js +0 -10
  214. package/cjs/series/Area.js.map +0 -1
  215. package/cjs/series/Bar.d.ts +0 -7
  216. package/cjs/series/Bar.js +0 -10
  217. package/cjs/series/Bar.js.map +0 -1
  218. package/cjs/series/Bar3d.d.ts +0 -7
  219. package/cjs/series/Bar3d.js +0 -10
  220. package/cjs/series/Bar3d.js.map +0 -1
  221. package/cjs/series/BaseSeries.d.ts +0 -9
  222. package/cjs/series/BaseSeries.js +0 -52
  223. package/cjs/series/BaseSeries.js.map +0 -1
  224. package/cjs/series/BoxPlot.d.ts +0 -7
  225. package/cjs/series/BoxPlot.js +0 -10
  226. package/cjs/series/BoxPlot.js.map +0 -1
  227. package/cjs/series/CirclePacking.d.ts +0 -7
  228. package/cjs/series/CirclePacking.js +0 -10
  229. package/cjs/series/CirclePacking.js.map +0 -1
  230. package/cjs/series/CircularProgress.d.ts +0 -7
  231. package/cjs/series/CircularProgress.js +0 -10
  232. package/cjs/series/CircularProgress.js.map +0 -1
  233. package/cjs/series/Correlation.d.ts +0 -7
  234. package/cjs/series/Correlation.js +0 -10
  235. package/cjs/series/Correlation.js.map +0 -1
  236. package/cjs/series/Dot.d.ts +0 -7
  237. package/cjs/series/Dot.js +0 -10
  238. package/cjs/series/Dot.js.map +0 -1
  239. package/cjs/series/Funnel.d.ts +0 -7
  240. package/cjs/series/Funnel.js +0 -10
  241. package/cjs/series/Funnel.js.map +0 -1
  242. package/cjs/series/Funnel3d.d.ts +0 -7
  243. package/cjs/series/Funnel3d.js +0 -10
  244. package/cjs/series/Funnel3d.js.map +0 -1
  245. package/cjs/series/Gauge.d.ts +0 -7
  246. package/cjs/series/Gauge.js +0 -10
  247. package/cjs/series/Gauge.js.map +0 -1
  248. package/cjs/series/Heatmap.d.ts +0 -7
  249. package/cjs/series/Heatmap.js +0 -10
  250. package/cjs/series/Heatmap.js.map +0 -1
  251. package/cjs/series/Line.d.ts +0 -7
  252. package/cjs/series/Line.js +0 -10
  253. package/cjs/series/Line.js.map +0 -1
  254. package/cjs/series/LinearProgress.d.ts +0 -7
  255. package/cjs/series/LinearProgress.js +0 -10
  256. package/cjs/series/LinearProgress.js.map +0 -1
  257. package/cjs/series/Link.d.ts +0 -7
  258. package/cjs/series/Link.js +0 -10
  259. package/cjs/series/Link.js.map +0 -1
  260. package/cjs/series/Liquid.d.ts +0 -7
  261. package/cjs/series/Liquid.js +0 -10
  262. package/cjs/series/Liquid.js.map +0 -1
  263. package/cjs/series/Map.d.ts +0 -7
  264. package/cjs/series/Map.js +0 -10
  265. package/cjs/series/Map.js.map +0 -1
  266. package/cjs/series/Pie.d.ts +0 -7
  267. package/cjs/series/Pie.js +0 -10
  268. package/cjs/series/Pie.js.map +0 -1
  269. package/cjs/series/Pie3d.d.ts +0 -7
  270. package/cjs/series/Pie3d.js +0 -10
  271. package/cjs/series/Pie3d.js.map +0 -1
  272. package/cjs/series/Radar.d.ts +0 -7
  273. package/cjs/series/Radar.js +0 -10
  274. package/cjs/series/Radar.js.map +0 -1
  275. package/cjs/series/RangeColumn.d.ts +0 -7
  276. package/cjs/series/RangeColumn.js +0 -10
  277. package/cjs/series/RangeColumn.js.map +0 -1
  278. package/cjs/series/RangeColumn3d.d.ts +0 -7
  279. package/cjs/series/RangeColumn3d.js +0 -10
  280. package/cjs/series/RangeColumn3d.js.map +0 -1
  281. package/cjs/series/Rose.d.ts +0 -7
  282. package/cjs/series/Rose.js +0 -10
  283. package/cjs/series/Rose.js.map +0 -1
  284. package/cjs/series/Sankey.d.ts +0 -7
  285. package/cjs/series/Sankey.js +0 -10
  286. package/cjs/series/Sankey.js.map +0 -1
  287. package/cjs/series/Scatter.d.ts +0 -7
  288. package/cjs/series/Scatter.js +0 -10
  289. package/cjs/series/Scatter.js.map +0 -1
  290. package/cjs/series/Series.d.ts +0 -7
  291. package/cjs/series/Series.js +0 -10
  292. package/cjs/series/Series.js.map +0 -1
  293. package/cjs/series/Sunburst.d.ts +0 -7
  294. package/cjs/series/Sunburst.js +0 -10
  295. package/cjs/series/Sunburst.js.map +0 -1
  296. package/cjs/series/Treemap.d.ts +0 -7
  297. package/cjs/series/Treemap.js +0 -10
  298. package/cjs/series/Treemap.js.map +0 -1
  299. package/cjs/series/Waterfall.d.ts +0 -7
  300. package/cjs/series/Waterfall.js +0 -10
  301. package/cjs/series/Waterfall.js.map +0 -1
  302. package/cjs/series/WordCloud.d.ts +0 -7
  303. package/cjs/series/WordCloud.js +0 -10
  304. package/cjs/series/WordCloud.js.map +0 -1
  305. package/cjs/series/WordCloud3d.d.ts +0 -7
  306. package/cjs/series/WordCloud3d.js +0 -10
  307. package/cjs/series/WordCloud3d.js.map +0 -1
  308. package/cjs/series/index.d.ts +0 -31
  309. package/cjs/series/index.js +0 -36
  310. package/cjs/series/index.js.map +0 -1
  311. package/cjs/util.d.ts +0 -6
  312. package/cjs/util.js +0 -49
  313. package/cjs/util.js.map +0 -1
  314. package/esm/VChart.d.ts +0 -3
  315. package/esm/VChart.js +0 -7
  316. package/esm/VChart.js.map +0 -1
  317. package/esm/VChartSimple.d.ts +0 -6
  318. package/esm/VChartSimple.js +0 -4
  319. package/esm/VChartSimple.js.map +0 -1
  320. package/esm/charts/AreaChart.d.ts +0 -10
  321. package/esm/charts/AreaChart.js +0 -11
  322. package/esm/charts/AreaChart.js.map +0 -1
  323. package/esm/charts/Bar3dChart.d.ts +0 -10
  324. package/esm/charts/Bar3dChart.js +0 -11
  325. package/esm/charts/Bar3dChart.js.map +0 -1
  326. package/esm/charts/BarChart.d.ts +0 -10
  327. package/esm/charts/BarChart.js +0 -11
  328. package/esm/charts/BarChart.js.map +0 -1
  329. package/esm/charts/BaseChart.d.ts +0 -23
  330. package/esm/charts/BaseChart.js +0 -108
  331. package/esm/charts/BaseChart.js.map +0 -1
  332. package/esm/charts/BoxPlotChart.d.ts +0 -10
  333. package/esm/charts/BoxPlotChart.js +0 -11
  334. package/esm/charts/BoxPlotChart.js.map +0 -1
  335. package/esm/charts/CirclePackingChart.d.ts +0 -10
  336. package/esm/charts/CirclePackingChart.js +0 -11
  337. package/esm/charts/CirclePackingChart.js.map +0 -1
  338. package/esm/charts/CircularProgressChart.d.ts +0 -10
  339. package/esm/charts/CircularProgressChart.js +0 -11
  340. package/esm/charts/CircularProgressChart.js.map +0 -1
  341. package/esm/charts/CommonChart.d.ts +0 -10
  342. package/esm/charts/CommonChart.js +0 -9
  343. package/esm/charts/CommonChart.js.map +0 -1
  344. package/esm/charts/CorrelationChart.d.ts +0 -10
  345. package/esm/charts/CorrelationChart.js +0 -11
  346. package/esm/charts/CorrelationChart.js.map +0 -1
  347. package/esm/charts/Funnel3dChart.d.ts +0 -10
  348. package/esm/charts/Funnel3dChart.js +0 -11
  349. package/esm/charts/Funnel3dChart.js.map +0 -1
  350. package/esm/charts/FunnelChart.d.ts +0 -10
  351. package/esm/charts/FunnelChart.js +0 -11
  352. package/esm/charts/FunnelChart.js.map +0 -1
  353. package/esm/charts/GaugeChart.d.ts +0 -10
  354. package/esm/charts/GaugeChart.js +0 -11
  355. package/esm/charts/GaugeChart.js.map +0 -1
  356. package/esm/charts/HeatmapChart.d.ts +0 -10
  357. package/esm/charts/HeatmapChart.js +0 -11
  358. package/esm/charts/HeatmapChart.js.map +0 -1
  359. package/esm/charts/Histogram3dChart.d.ts +0 -10
  360. package/esm/charts/Histogram3dChart.js +0 -11
  361. package/esm/charts/Histogram3dChart.js.map +0 -1
  362. package/esm/charts/HistogramChart.d.ts +0 -10
  363. package/esm/charts/HistogramChart.js +0 -10
  364. package/esm/charts/HistogramChart.js.map +0 -1
  365. package/esm/charts/LineChart.d.ts +0 -10
  366. package/esm/charts/LineChart.js +0 -11
  367. package/esm/charts/LineChart.js.map +0 -1
  368. package/esm/charts/LinearProgressChart.d.ts +0 -10
  369. package/esm/charts/LinearProgressChart.js +0 -11
  370. package/esm/charts/LinearProgressChart.js.map +0 -1
  371. package/esm/charts/LiquidChart.d.ts +0 -10
  372. package/esm/charts/LiquidChart.js +0 -11
  373. package/esm/charts/LiquidChart.js.map +0 -1
  374. package/esm/charts/MapChart.d.ts +0 -10
  375. package/esm/charts/MapChart.js +0 -11
  376. package/esm/charts/MapChart.js.map +0 -1
  377. package/esm/charts/Pie3dChart.d.ts +0 -10
  378. package/esm/charts/Pie3dChart.js +0 -11
  379. package/esm/charts/Pie3dChart.js.map +0 -1
  380. package/esm/charts/PieChart.d.ts +0 -10
  381. package/esm/charts/PieChart.js +0 -11
  382. package/esm/charts/PieChart.js.map +0 -1
  383. package/esm/charts/RadarChart.d.ts +0 -10
  384. package/esm/charts/RadarChart.js +0 -11
  385. package/esm/charts/RadarChart.js.map +0 -1
  386. package/esm/charts/RangeColumn3dChart.d.ts +0 -10
  387. package/esm/charts/RangeColumn3dChart.js +0 -11
  388. package/esm/charts/RangeColumn3dChart.js.map +0 -1
  389. package/esm/charts/RangeColumnChart.d.ts +0 -10
  390. package/esm/charts/RangeColumnChart.js +0 -11
  391. package/esm/charts/RangeColumnChart.js.map +0 -1
  392. package/esm/charts/RoseChart.d.ts +0 -10
  393. package/esm/charts/RoseChart.js +0 -11
  394. package/esm/charts/RoseChart.js.map +0 -1
  395. package/esm/charts/SankeyChart.d.ts +0 -10
  396. package/esm/charts/SankeyChart.js +0 -11
  397. package/esm/charts/SankeyChart.js.map +0 -1
  398. package/esm/charts/ScatterChart.d.ts +0 -10
  399. package/esm/charts/ScatterChart.js +0 -11
  400. package/esm/charts/ScatterChart.js.map +0 -1
  401. package/esm/charts/SequenceChart.d.ts +0 -10
  402. package/esm/charts/SequenceChart.js +0 -11
  403. package/esm/charts/SequenceChart.js.map +0 -1
  404. package/esm/charts/SunburstChart.d.ts +0 -10
  405. package/esm/charts/SunburstChart.js +0 -11
  406. package/esm/charts/SunburstChart.js.map +0 -1
  407. package/esm/charts/TreemapChart.d.ts +0 -10
  408. package/esm/charts/TreemapChart.js +0 -11
  409. package/esm/charts/TreemapChart.js.map +0 -1
  410. package/esm/charts/VennChart.d.ts +0 -10
  411. package/esm/charts/VennChart.js +0 -10
  412. package/esm/charts/VennChart.js.map +0 -1
  413. package/esm/charts/WaterfallChart.d.ts +0 -10
  414. package/esm/charts/WaterfallChart.js +0 -11
  415. package/esm/charts/WaterfallChart.js.map +0 -1
  416. package/esm/charts/WordCloud3dChart.d.ts +0 -10
  417. package/esm/charts/WordCloud3dChart.js +0 -11
  418. package/esm/charts/WordCloud3dChart.js.map +0 -1
  419. package/esm/charts/WordCloudChart.d.ts +0 -10
  420. package/esm/charts/WordCloudChart.js +0 -11
  421. package/esm/charts/WordCloudChart.js.map +0 -1
  422. package/esm/charts/index.d.ts +0 -35
  423. package/esm/charts/index.js +0 -66
  424. package/esm/charts/index.js.map +0 -1
  425. package/esm/charts/registers/cartesian.d.ts +0 -1
  426. package/esm/charts/registers/cartesian.js +0 -4
  427. package/esm/charts/registers/cartesian.js.map +0 -1
  428. package/esm/charts/registers/polar.d.ts +0 -1
  429. package/esm/charts/registers/polar.js +0 -4
  430. package/esm/charts/registers/polar.js.map +0 -1
  431. package/esm/charts/registers/simple.d.ts +0 -1
  432. package/esm/charts/registers/simple.js +0 -4
  433. package/esm/charts/registers/simple.js.map +0 -1
  434. package/esm/components/Axis.d.ts +0 -4
  435. package/esm/components/Axis.js +0 -4
  436. package/esm/components/Axis.js.map +0 -1
  437. package/esm/components/BaseComponent.d.ts +0 -10
  438. package/esm/components/BaseComponent.js +0 -29
  439. package/esm/components/BaseComponent.js.map +0 -1
  440. package/esm/components/Brush.d.ts +0 -5
  441. package/esm/components/Brush.js +0 -8
  442. package/esm/components/Brush.js.map +0 -1
  443. package/esm/components/ContinuousLegend.d.ts +0 -5
  444. package/esm/components/ContinuousLegend.js +0 -8
  445. package/esm/components/ContinuousLegend.js.map +0 -1
  446. package/esm/components/Crosshair.d.ts +0 -4
  447. package/esm/components/Crosshair.js +0 -4
  448. package/esm/components/Crosshair.js.map +0 -1
  449. package/esm/components/DataZoom.d.ts +0 -5
  450. package/esm/components/DataZoom.js +0 -8
  451. package/esm/components/DataZoom.js.map +0 -1
  452. package/esm/components/Indicator.d.ts +0 -4
  453. package/esm/components/Indicator.js +0 -6
  454. package/esm/components/Indicator.js.map +0 -1
  455. package/esm/components/Legend.d.ts +0 -5
  456. package/esm/components/Legend.js +0 -8
  457. package/esm/components/Legend.js.map +0 -1
  458. package/esm/components/Mark.d.ts +0 -4
  459. package/esm/components/Mark.js +0 -6
  460. package/esm/components/Mark.js.map +0 -1
  461. package/esm/components/MarkArea.d.ts +0 -4
  462. package/esm/components/MarkArea.js +0 -6
  463. package/esm/components/MarkArea.js.map +0 -1
  464. package/esm/components/MarkLine.d.ts +0 -4
  465. package/esm/components/MarkLine.js +0 -6
  466. package/esm/components/MarkLine.js.map +0 -1
  467. package/esm/components/MarkPoint.d.ts +0 -4
  468. package/esm/components/MarkPoint.js +0 -6
  469. package/esm/components/MarkPoint.js.map +0 -1
  470. package/esm/components/Player.d.ts +0 -5
  471. package/esm/components/Player.js +0 -8
  472. package/esm/components/Player.js.map +0 -1
  473. package/esm/components/Region.d.ts +0 -4
  474. package/esm/components/Region.js +0 -4
  475. package/esm/components/Region.js.map +0 -1
  476. package/esm/components/ScrollBar.d.ts +0 -5
  477. package/esm/components/ScrollBar.js +0 -7
  478. package/esm/components/ScrollBar.js.map +0 -1
  479. package/esm/components/Title.d.ts +0 -4
  480. package/esm/components/Title.js +0 -6
  481. package/esm/components/Title.js.map +0 -1
  482. package/esm/components/index.d.ts +0 -16
  483. package/esm/components/index.js +0 -32
  484. package/esm/components/index.js.map +0 -1
  485. package/esm/components/tooltip/CanvasTooltip.d.ts +0 -2
  486. package/esm/components/tooltip/CanvasTooltip.js +0 -6
  487. package/esm/components/tooltip/CanvasTooltip.js.map +0 -1
  488. package/esm/components/tooltip/Tooltip.d.ts +0 -2
  489. package/esm/components/tooltip/Tooltip.js +0 -6
  490. package/esm/components/tooltip/Tooltip.js.map +0 -1
  491. package/esm/components/tooltip/constant.d.ts +0 -1
  492. package/esm/components/tooltip/constant.js +0 -4
  493. package/esm/components/tooltip/constant.js.map +0 -1
  494. package/esm/components/tooltip/index.d.ts +0 -4
  495. package/esm/components/tooltip/index.js +0 -8
  496. package/esm/components/tooltip/index.js.map +0 -1
  497. package/esm/components/tooltip/interface.d.ts +0 -14
  498. package/esm/components/tooltip/interface.js +0 -2
  499. package/esm/components/tooltip/interface.js.map +0 -1
  500. package/esm/components/tooltip/util.d.ts +0 -5
  501. package/esm/components/tooltip/util.js +0 -40
  502. package/esm/components/tooltip/util.js.map +0 -1
  503. package/esm/constants.d.ts +0 -1
  504. package/esm/constants.js +0 -2
  505. package/esm/constants.js.map +0 -1
  506. package/esm/containers/withContainer.d.ts +0 -8
  507. package/esm/containers/withContainer.js +0 -33
  508. package/esm/containers/withContainer.js.map +0 -1
  509. package/esm/context/chart.d.ts +0 -9
  510. package/esm/context/chart.js +0 -16
  511. package/esm/context/chart.js.map +0 -1
  512. package/esm/context/stage.d.ts +0 -5
  513. package/esm/context/stage.js +0 -16
  514. package/esm/context/stage.js.map +0 -1
  515. package/esm/context/view.d.ts +0 -5
  516. package/esm/context/view.js +0 -16
  517. package/esm/context/view.js.map +0 -1
  518. package/esm/eventsUtils.d.ts +0 -256
  519. package/esm/eventsUtils.js +0 -126
  520. package/esm/eventsUtils.js.map +0 -1
  521. package/esm/index.d.ts +0 -8
  522. package/esm/index.js +0 -14
  523. package/esm/index.js.map +0 -1
  524. package/esm/series/Area.d.ts +0 -7
  525. package/esm/series/Area.js +0 -6
  526. package/esm/series/Area.js.map +0 -1
  527. package/esm/series/Bar.d.ts +0 -7
  528. package/esm/series/Bar.js +0 -6
  529. package/esm/series/Bar.js.map +0 -1
  530. package/esm/series/Bar3d.d.ts +0 -7
  531. package/esm/series/Bar3d.js +0 -6
  532. package/esm/series/Bar3d.js.map +0 -1
  533. package/esm/series/BaseSeries.d.ts +0 -9
  534. package/esm/series/BaseSeries.js +0 -48
  535. package/esm/series/BaseSeries.js.map +0 -1
  536. package/esm/series/BoxPlot.d.ts +0 -7
  537. package/esm/series/BoxPlot.js +0 -6
  538. package/esm/series/BoxPlot.js.map +0 -1
  539. package/esm/series/CirclePacking.d.ts +0 -7
  540. package/esm/series/CirclePacking.js +0 -6
  541. package/esm/series/CirclePacking.js.map +0 -1
  542. package/esm/series/CircularProgress.d.ts +0 -7
  543. package/esm/series/CircularProgress.js +0 -6
  544. package/esm/series/CircularProgress.js.map +0 -1
  545. package/esm/series/Correlation.d.ts +0 -7
  546. package/esm/series/Correlation.js +0 -6
  547. package/esm/series/Correlation.js.map +0 -1
  548. package/esm/series/Dot.d.ts +0 -7
  549. package/esm/series/Dot.js +0 -6
  550. package/esm/series/Dot.js.map +0 -1
  551. package/esm/series/Funnel.d.ts +0 -7
  552. package/esm/series/Funnel.js +0 -6
  553. package/esm/series/Funnel.js.map +0 -1
  554. package/esm/series/Funnel3d.d.ts +0 -7
  555. package/esm/series/Funnel3d.js +0 -6
  556. package/esm/series/Funnel3d.js.map +0 -1
  557. package/esm/series/Gauge.d.ts +0 -7
  558. package/esm/series/Gauge.js +0 -6
  559. package/esm/series/Gauge.js.map +0 -1
  560. package/esm/series/Heatmap.d.ts +0 -7
  561. package/esm/series/Heatmap.js +0 -6
  562. package/esm/series/Heatmap.js.map +0 -1
  563. package/esm/series/Line.d.ts +0 -7
  564. package/esm/series/Line.js +0 -6
  565. package/esm/series/Line.js.map +0 -1
  566. package/esm/series/LinearProgress.d.ts +0 -7
  567. package/esm/series/LinearProgress.js +0 -6
  568. package/esm/series/LinearProgress.js.map +0 -1
  569. package/esm/series/Link.d.ts +0 -7
  570. package/esm/series/Link.js +0 -6
  571. package/esm/series/Link.js.map +0 -1
  572. package/esm/series/Liquid.d.ts +0 -7
  573. package/esm/series/Liquid.js +0 -6
  574. package/esm/series/Liquid.js.map +0 -1
  575. package/esm/series/Map.d.ts +0 -7
  576. package/esm/series/Map.js +0 -6
  577. package/esm/series/Map.js.map +0 -1
  578. package/esm/series/Pie.d.ts +0 -7
  579. package/esm/series/Pie.js +0 -6
  580. package/esm/series/Pie.js.map +0 -1
  581. package/esm/series/Pie3d.d.ts +0 -7
  582. package/esm/series/Pie3d.js +0 -6
  583. package/esm/series/Pie3d.js.map +0 -1
  584. package/esm/series/Radar.d.ts +0 -7
  585. package/esm/series/Radar.js +0 -6
  586. package/esm/series/Radar.js.map +0 -1
  587. package/esm/series/RangeColumn.d.ts +0 -7
  588. package/esm/series/RangeColumn.js +0 -6
  589. package/esm/series/RangeColumn.js.map +0 -1
  590. package/esm/series/RangeColumn3d.d.ts +0 -7
  591. package/esm/series/RangeColumn3d.js +0 -6
  592. package/esm/series/RangeColumn3d.js.map +0 -1
  593. package/esm/series/Rose.d.ts +0 -7
  594. package/esm/series/Rose.js +0 -6
  595. package/esm/series/Rose.js.map +0 -1
  596. package/esm/series/Sankey.d.ts +0 -7
  597. package/esm/series/Sankey.js +0 -6
  598. package/esm/series/Sankey.js.map +0 -1
  599. package/esm/series/Scatter.d.ts +0 -7
  600. package/esm/series/Scatter.js +0 -6
  601. package/esm/series/Scatter.js.map +0 -1
  602. package/esm/series/Series.d.ts +0 -7
  603. package/esm/series/Series.js +0 -4
  604. package/esm/series/Series.js.map +0 -1
  605. package/esm/series/Sunburst.d.ts +0 -7
  606. package/esm/series/Sunburst.js +0 -6
  607. package/esm/series/Sunburst.js.map +0 -1
  608. package/esm/series/Treemap.d.ts +0 -7
  609. package/esm/series/Treemap.js +0 -6
  610. package/esm/series/Treemap.js.map +0 -1
  611. package/esm/series/Waterfall.d.ts +0 -7
  612. package/esm/series/Waterfall.js +0 -6
  613. package/esm/series/Waterfall.js.map +0 -1
  614. package/esm/series/WordCloud.d.ts +0 -7
  615. package/esm/series/WordCloud.js +0 -6
  616. package/esm/series/WordCloud.js.map +0 -1
  617. package/esm/series/WordCloud3d.d.ts +0 -7
  618. package/esm/series/WordCloud3d.js +0 -6
  619. package/esm/series/WordCloud3d.js.map +0 -1
  620. package/esm/series/index.d.ts +0 -31
  621. package/esm/series/index.js +0 -62
  622. package/esm/series/index.js.map +0 -1
  623. package/esm/util.d.ts +0 -6
  624. package/esm/util.js +0 -32
  625. package/esm/util.js.map +0 -1
@@ -1,10 +0,0 @@
1
- import type React from 'react';
2
- import type { IScatterChartSpec } from '@visactor/vchart';
3
- import type { BaseChartProps } from './BaseChart';
4
- export interface ScatterChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<Partial<IScatterChartSpec>, 'type'> {
5
- }
6
- export declare const ScatterChart: React.ForwardRefExoticComponent<ScatterChartProps & {
7
- children?: React.ReactNode;
8
- } & {
9
- type?: 'scatter';
10
- } & import("../containers/withContainer").ContainerProps & React.RefAttributes<any>>;
@@ -1,11 +0,0 @@
1
- import { VChart, registerScatterChart, registerLabel } from "@visactor/vchart";
2
-
3
- import { registers } from "./registers/cartesian";
4
-
5
- import { createChart } from "./BaseChart";
6
-
7
- export const ScatterChart = createChart("ScatterChart", {
8
- type: "scatter",
9
- vchartConstrouctor: VChart
10
- }, [ registerScatterChart, registerLabel, ...registers ]);
11
- //# sourceMappingURL=ScatterChart.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/charts/ScatterChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,oBAAoB,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAC/E,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAElD,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAM1C,MAAM,CAAC,MAAM,YAAY,GAAG,WAAW,CACrC,cAAc,EACd;IACE,IAAI,EAAE,SAAS;IACf,kBAAkB,EAAE,MAA4B;CACjD,EACD,CAAC,oBAAoB,EAAE,aAAa,EAAE,GAAG,SAAS,CAAC,CACpD,CAAC","file":"ScatterChart.js","sourcesContent":["import type React from 'react';\nimport type { IScatterChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerScatterChart, registerLabel } from '@visactor/vchart';\nimport { registers } from './registers/cartesian';\nimport type { BaseChartProps } from './BaseChart';\nimport { createChart } from './BaseChart';\n\nexport interface ScatterChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<Partial<IScatterChartSpec>, 'type'> {}\n\nexport const ScatterChart = createChart<React.PropsWithChildren<ScatterChartProps> & { type?: 'scatter' }>(\n 'ScatterChart',\n {\n type: 'scatter',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerScatterChart, registerLabel, ...registers]\n);\n"]}
@@ -1,10 +0,0 @@
1
- import type React from 'react';
2
- import type { ISequenceChartSpec } from '@visactor/vchart';
3
- import type { BaseChartProps } from './BaseChart';
4
- export interface SequenceChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<Partial<ISequenceChartSpec>, 'type'> {
5
- }
6
- export declare const SequenceChart: React.ForwardRefExoticComponent<SequenceChartProps & {
7
- children?: React.ReactNode;
8
- } & {
9
- type?: 'sequence';
10
- } & import("../containers/withContainer").ContainerProps & React.RefAttributes<any>>;
@@ -1,11 +0,0 @@
1
- import { VChart, registerSequenceChart } from "@visactor/vchart";
2
-
3
- import { registers } from "./registers/cartesian";
4
-
5
- import { createChart } from "./BaseChart";
6
-
7
- export const SequenceChart = createChart("SequenceChart", {
8
- type: "sequence",
9
- vchartConstrouctor: VChart
10
- }, [ registerSequenceChart, ...registers ]);
11
- //# sourceMappingURL=SequenceChart.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/charts/SequenceChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AACjE,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAElD,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAM1C,MAAM,CAAC,MAAM,aAAa,GAAG,WAAW,CACtC,eAAe,EACf;IACE,IAAI,EAAE,UAAU;IAChB,kBAAkB,EAAE,MAA4B;CACjD,EACD,CAAC,qBAAqB,EAAE,GAAG,SAAS,CAAC,CACtC,CAAC","file":"SequenceChart.js","sourcesContent":["import type React from 'react';\nimport type { ISequenceChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerSequenceChart } from '@visactor/vchart';\nimport { registers } from './registers/cartesian';\nimport type { BaseChartProps } from './BaseChart';\nimport { createChart } from './BaseChart';\n\nexport interface SequenceChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<Partial<ISequenceChartSpec>, 'type'> {}\n\nexport const SequenceChart = createChart<React.PropsWithChildren<SequenceChartProps> & { type?: 'sequence' }>(\n 'SequenceChart',\n {\n type: 'sequence',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerSequenceChart, ...registers]\n);\n"]}
@@ -1,10 +0,0 @@
1
- import type React from 'react';
2
- import type { ISunburstChartSpec } from '@visactor/vchart';
3
- import type { BaseChartProps } from './BaseChart';
4
- export interface SunburstChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<Partial<ISunburstChartSpec>, 'type'> {
5
- }
6
- export declare const SunburstChart: React.ForwardRefExoticComponent<SunburstChartProps & {
7
- children?: React.ReactNode;
8
- } & {
9
- type?: 'sunburst';
10
- } & import("../containers/withContainer").ContainerProps & React.RefAttributes<any>>;
@@ -1,11 +0,0 @@
1
- import { VChart, registerSunburstChart } from "@visactor/vchart";
2
-
3
- import { registers } from "./registers/simple";
4
-
5
- import { createChart } from "./BaseChart";
6
-
7
- export const SunburstChart = createChart("SunburstChart", {
8
- type: "sunburst",
9
- vchartConstrouctor: VChart
10
- }, [ registerSunburstChart, ...registers ]);
11
- //# sourceMappingURL=SunburstChart.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/charts/SunburstChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AACjE,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAE/C,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAM1C,MAAM,CAAC,MAAM,aAAa,GAAG,WAAW,CACtC,eAAe,EACf;IACE,IAAI,EAAE,UAAU;IAChB,kBAAkB,EAAE,MAA4B;CACjD,EACD,CAAC,qBAAqB,EAAE,GAAG,SAAS,CAAC,CACtC,CAAC","file":"SunburstChart.js","sourcesContent":["import type React from 'react';\nimport type { ISunburstChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerSunburstChart } from '@visactor/vchart';\nimport { registers } from './registers/simple';\nimport type { BaseChartProps } from './BaseChart';\nimport { createChart } from './BaseChart';\n\nexport interface SunburstChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<Partial<ISunburstChartSpec>, 'type'> {}\n\nexport const SunburstChart = createChart<React.PropsWithChildren<SunburstChartProps> & { type?: 'sunburst' }>(\n 'SunburstChart',\n {\n type: 'sunburst',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerSunburstChart, ...registers]\n);\n"]}
@@ -1,10 +0,0 @@
1
- import type React from 'react';
2
- import type { ITreemapChartSpec } from '@visactor/vchart';
3
- import type { BaseChartProps } from './BaseChart';
4
- export interface TreemapChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<Partial<ITreemapChartSpec>, 'type'> {
5
- }
6
- export declare const TreemapChart: React.ForwardRefExoticComponent<TreemapChartProps & {
7
- children?: React.ReactNode;
8
- } & {
9
- type?: 'treemap';
10
- } & import("../containers/withContainer").ContainerProps & React.RefAttributes<any>>;
@@ -1,11 +0,0 @@
1
- import { VChart, registerTreemapChart } from "@visactor/vchart";
2
-
3
- import { registers } from "./registers/simple";
4
-
5
- import { createChart } from "./BaseChart";
6
-
7
- export const TreemapChart = createChart("TreemapChart", {
8
- type: "treemap",
9
- vchartConstrouctor: VChart
10
- }, [ registerTreemapChart, ...registers ]);
11
- //# sourceMappingURL=TreemapChart.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/charts/TreemapChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAE/C,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAM1C,MAAM,CAAC,MAAM,YAAY,GAAG,WAAW,CACrC,cAAc,EACd;IACE,IAAI,EAAE,SAAS;IACf,kBAAkB,EAAE,MAA4B;CACjD,EACD,CAAC,oBAAoB,EAAE,GAAG,SAAS,CAAC,CACrC,CAAC","file":"TreemapChart.js","sourcesContent":["import type React from 'react';\nimport type { ITreemapChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerTreemapChart } from '@visactor/vchart';\nimport { registers } from './registers/simple';\nimport type { BaseChartProps } from './BaseChart';\nimport { createChart } from './BaseChart';\n\nexport interface TreemapChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<Partial<ITreemapChartSpec>, 'type'> {}\n\nexport const TreemapChart = createChart<React.PropsWithChildren<TreemapChartProps> & { type?: 'treemap' }>(\n 'TreemapChart',\n {\n type: 'treemap',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerTreemapChart, ...registers]\n);\n"]}
@@ -1,10 +0,0 @@
1
- import type React from 'react';
2
- import type { IVennChartSpec } from '@visactor/vchart';
3
- import type { BaseChartProps } from './BaseChart';
4
- export interface VennChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<IVennChartSpec, 'type'> {
5
- }
6
- export declare const VennChart: React.ForwardRefExoticComponent<VennChartProps & {
7
- children?: React.ReactNode;
8
- } & {
9
- type: 'venn';
10
- } & import("../containers/withContainer").ContainerProps & React.RefAttributes<any>>;
@@ -1,10 +0,0 @@
1
- import { VChart, registerVennChart } from "@visactor/vchart";
2
-
3
- import { createChart } from "./BaseChart";
4
-
5
- import { registers } from "./registers/simple";
6
-
7
- export const VennChart = createChart("VennChart", {
8
- type: "venn",
9
- vchartConstrouctor: VChart
10
- }, [ registerVennChart, ...registers ]);
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/charts/VennChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAE7D,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAM/C,MAAM,CAAC,MAAM,SAAS,GAAG,WAAW,CAClC,WAAW,EACX;IACE,IAAI,EAAE,MAAM;IACZ,kBAAkB,EAAE,MAA4B;CACjD,EACD,CAAC,iBAAiB,EAAE,GAAG,SAAS,CAAC,CAClC,CAAC","file":"VennChart.js","sourcesContent":["import type React from 'react';\nimport type { IVennChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerVennChart } from '@visactor/vchart';\nimport type { BaseChartProps } from './BaseChart';\nimport { createChart } from './BaseChart';\nimport { registers } from './registers/simple';\n\nexport interface VennChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<IVennChartSpec, 'type'> {}\n\nexport const VennChart = createChart<React.PropsWithChildren<VennChartProps> & { type: 'venn' }>(\n 'VennChart',\n {\n type: 'venn',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerVennChart, ...registers]\n);\n"]}
@@ -1,10 +0,0 @@
1
- import type React from 'react';
2
- import type { IWaterfallChartSpec } from '@visactor/vchart';
3
- import type { BaseChartProps } from './BaseChart';
4
- export interface WaterfallChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<Partial<IWaterfallChartSpec>, 'type'> {
5
- }
6
- export declare const WaterfallChart: React.ForwardRefExoticComponent<WaterfallChartProps & {
7
- children?: React.ReactNode;
8
- } & {
9
- type?: 'waterfall';
10
- } & import("../containers/withContainer").ContainerProps & React.RefAttributes<any>>;
@@ -1,11 +0,0 @@
1
- import { VChart, registerWaterfallChart, registerLabel, registerTotalLabel } from "@visactor/vchart";
2
-
3
- import { registers } from "./registers/cartesian";
4
-
5
- import { createChart } from "./BaseChart";
6
-
7
- export const WaterfallChart = createChart("WaterfallChart", {
8
- type: "waterfall",
9
- vchartConstrouctor: VChart
10
- }, [ registerWaterfallChart, registerLabel, registerTotalLabel, ...registers ]);
11
- //# sourceMappingURL=WaterfallChart.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/charts/WaterfallChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,sBAAsB,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AACrG,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAElD,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAQ1C,MAAM,CAAC,MAAM,cAAc,GAAG,WAAW,CACvC,gBAAgB,EAChB;IACE,IAAI,EAAE,WAAW;IACjB,kBAAkB,EAAE,MAA4B;CACjD,EACD,CAAC,sBAAsB,EAAE,aAAa,EAAE,kBAAkB,EAAE,GAAG,SAAS,CAAC,CAC1E,CAAC","file":"WaterfallChart.js","sourcesContent":["import type React from 'react';\nimport type { IWaterfallChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerWaterfallChart, registerLabel, registerTotalLabel } from '@visactor/vchart';\nimport { registers } from './registers/cartesian';\nimport type { BaseChartProps } from './BaseChart';\nimport { createChart } from './BaseChart';\n\nexport interface WaterfallChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<Partial<IWaterfallChartSpec>, 'type'> {\n //\n}\n\nexport const WaterfallChart = createChart<React.PropsWithChildren<WaterfallChartProps> & { type?: 'waterfall' }>(\n 'WaterfallChart',\n {\n type: 'waterfall',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerWaterfallChart, registerLabel, registerTotalLabel, ...registers]\n);\n"]}
@@ -1,10 +0,0 @@
1
- import type React from 'react';
2
- import type { IWordCloud3dChartSpec } from '@visactor/vchart';
3
- import type { BaseChartProps } from './BaseChart';
4
- export interface WordCloud3dChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<Partial<IWordCloud3dChartSpec>, 'type'> {
5
- }
6
- export declare const WordCloud3dChart: React.ForwardRefExoticComponent<WordCloud3dChartProps & {
7
- children?: React.ReactNode;
8
- } & {
9
- type?: 'wordCloud3d';
10
- } & import("../containers/withContainer").ContainerProps & React.RefAttributes<any>>;
@@ -1,11 +0,0 @@
1
- import { VChart, registerWordCloud3dChart } from "@visactor/vchart";
2
-
3
- import { registers } from "./registers/simple";
4
-
5
- import { createChart } from "./BaseChart";
6
-
7
- export const WordCloud3dChart = createChart("WordCloud3dChart", {
8
- type: "wordCloud3d",
9
- vchartConstrouctor: VChart
10
- }, [ registerWordCloud3dChart, ...registers ]);
11
- //# sourceMappingURL=WordCloud3dChart.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/charts/WordCloud3dChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,wBAAwB,EAAE,MAAM,kBAAkB,CAAC;AACpE,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAE/C,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAM1C,MAAM,CAAC,MAAM,gBAAgB,GAAG,WAAW,CACzC,kBAAkB,EAClB;IACE,IAAI,EAAE,aAAa;IACnB,kBAAkB,EAAE,MAA4B;CACjD,EACD,CAAC,wBAAwB,EAAE,GAAG,SAAS,CAAC,CACzC,CAAC","file":"WordCloud3dChart.js","sourcesContent":["import type React from 'react';\nimport type { IWordCloud3dChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerWordCloud3dChart } from '@visactor/vchart';\nimport { registers } from './registers/simple';\nimport type { BaseChartProps } from './BaseChart';\nimport { createChart } from './BaseChart';\n\nexport interface WordCloud3dChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<Partial<IWordCloud3dChartSpec>, 'type'> {}\n\nexport const WordCloud3dChart = createChart<React.PropsWithChildren<WordCloud3dChartProps> & { type?: 'wordCloud3d' }>(\n 'WordCloud3dChart',\n {\n type: 'wordCloud3d',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerWordCloud3dChart, ...registers]\n);\n"]}
@@ -1,10 +0,0 @@
1
- import type React from 'react';
2
- import type { IWordCloudChartSpec } from '@visactor/vchart';
3
- import { BaseChartProps } from './BaseChart';
4
- export interface WordCloudChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<Partial<IWordCloudChartSpec>, 'type'> {
5
- }
6
- export declare const WordCloudChart: React.ForwardRefExoticComponent<WordCloudChartProps & {
7
- children?: React.ReactNode;
8
- } & {
9
- type?: 'wordCloud';
10
- } & import("../containers/withContainer").ContainerProps & React.RefAttributes<any>>;
@@ -1,11 +0,0 @@
1
- import { VChart, registerWordCloudChart } from "@visactor/vchart";
2
-
3
- import { createChart } from "./BaseChart";
4
-
5
- import { registers } from "./registers/simple";
6
-
7
- export const WordCloudChart = createChart("WordCloudChart", {
8
- type: "wordCloud",
9
- vchartConstrouctor: VChart
10
- }, [ registerWordCloudChart, ...registers ]);
11
- //# sourceMappingURL=WordCloudChart.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/charts/WordCloudChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAClE,OAAO,EAAkB,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAM/C,MAAM,CAAC,MAAM,cAAc,GAAG,WAAW,CACvC,gBAAgB,EAChB;IACE,IAAI,EAAE,WAAW;IACjB,kBAAkB,EAAE,MAA4B;CACjD,EACD,CAAC,sBAAsB,EAAE,GAAG,SAAS,CAAC,CACvC,CAAC","file":"WordCloudChart.js","sourcesContent":["import type React from 'react';\nimport type { IWordCloudChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerWordCloudChart } from '@visactor/vchart';\nimport { BaseChartProps, createChart } from './BaseChart';\nimport { registers } from './registers/simple';\n\nexport interface WordCloudChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<Partial<IWordCloudChartSpec>, 'type'> {}\n\nexport const WordCloudChart = createChart<React.PropsWithChildren<WordCloudChartProps> & { type?: 'wordCloud' }>(\n 'WordCloudChart',\n {\n type: 'wordCloud',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerWordCloudChart, ...registers]\n);\n"]}
@@ -1,35 +0,0 @@
1
- export * from './AreaChart';
2
- export * from './BarChart';
3
- export * from './Bar3dChart';
4
- export * from './BoxPlotChart';
5
- export * from './CirclePackingChart';
6
- export * from './CircularProgressChart';
7
- export * from './CommonChart';
8
- export * from './CorrelationChart';
9
- export * from './FunnelChart';
10
- export * from './Funnel3dChart';
11
- export * from './GaugeChart';
12
- export * from './HeatmapChart';
13
- export * from './Histogram3dChart';
14
- export * from './HistogramChart';
15
- export * from './LinearProgressChart';
16
- export * from './LineChart';
17
- export * from './LiquidChart';
18
- export * from './MapChart';
19
- export * from './PieChart';
20
- export * from './Pie3dChart';
21
- export * from './RadarChart';
22
- export * from './RangeColumnChart';
23
- export * from './RangeColumn3dChart';
24
- export * from './RoseChart';
25
- export * from './SankeyChart';
26
- export * from './ScatterChart';
27
- export * from './SequenceChart';
28
- export * from './SunburstChart';
29
- export * from './TreemapChart';
30
- export * from './WordCloudChart';
31
- export * from './WordCloud3dChart';
32
- export * from './WordCloudChart';
33
- export * from './VennChart';
34
- export type { ChartOptions } from './BaseChart';
35
- export type { IData, IChartSpec } from '@visactor/vchart';
@@ -1,66 +0,0 @@
1
- export * from "./AreaChart";
2
-
3
- export * from "./BarChart";
4
-
5
- export * from "./Bar3dChart";
6
-
7
- export * from "./BoxPlotChart";
8
-
9
- export * from "./CirclePackingChart";
10
-
11
- export * from "./CircularProgressChart";
12
-
13
- export * from "./CommonChart";
14
-
15
- export * from "./CorrelationChart";
16
-
17
- export * from "./FunnelChart";
18
-
19
- export * from "./Funnel3dChart";
20
-
21
- export * from "./GaugeChart";
22
-
23
- export * from "./HeatmapChart";
24
-
25
- export * from "./Histogram3dChart";
26
-
27
- export * from "./HistogramChart";
28
-
29
- export * from "./LinearProgressChart";
30
-
31
- export * from "./LineChart";
32
-
33
- export * from "./LiquidChart";
34
-
35
- export * from "./MapChart";
36
-
37
- export * from "./PieChart";
38
-
39
- export * from "./Pie3dChart";
40
-
41
- export * from "./RadarChart";
42
-
43
- export * from "./RangeColumnChart";
44
-
45
- export * from "./RangeColumn3dChart";
46
-
47
- export * from "./RoseChart";
48
-
49
- export * from "./SankeyChart";
50
-
51
- export * from "./ScatterChart";
52
-
53
- export * from "./SequenceChart";
54
-
55
- export * from "./SunburstChart";
56
-
57
- export * from "./TreemapChart";
58
-
59
- export * from "./WordCloudChart";
60
-
61
- export * from "./WordCloud3dChart";
62
-
63
- export * from "./WordCloudChart";
64
-
65
- export * from "./VennChart";
66
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/charts/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAE/B,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC;AACxC,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AAEnC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AAEjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAE9B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,aAAa,CAAC;AAE5B,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAEhC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,aAAa,CAAC","file":"index.js","sourcesContent":["export * from './AreaChart';\nexport * from './BarChart';\nexport * from './Bar3dChart';\nexport * from './BoxPlotChart';\n\nexport * from './CirclePackingChart';\nexport * from './CircularProgressChart';\nexport * from './CommonChart';\nexport * from './CorrelationChart';\n\nexport * from './FunnelChart';\nexport * from './Funnel3dChart';\nexport * from './GaugeChart';\nexport * from './HeatmapChart';\nexport * from './Histogram3dChart';\nexport * from './HistogramChart';\n\nexport * from './LinearProgressChart';\nexport * from './LineChart';\nexport * from './LiquidChart';\n\nexport * from './MapChart';\nexport * from './PieChart';\nexport * from './Pie3dChart';\nexport * from './RadarChart';\nexport * from './RangeColumnChart';\nexport * from './RangeColumn3dChart';\nexport * from './RoseChart';\n\nexport * from './SankeyChart';\nexport * from './ScatterChart';\nexport * from './SequenceChart';\nexport * from './SunburstChart';\n\nexport * from './TreemapChart';\nexport * from './WordCloudChart';\nexport * from './WordCloud3dChart';\nexport * from './WordCloudChart';\nexport * from './VennChart';\n\nexport type { ChartOptions } from './BaseChart';\nexport type { IData, IChartSpec } from '@visactor/vchart';\n"]}
@@ -1 +0,0 @@
1
- export declare const registers: (() => void)[];
@@ -1,4 +0,0 @@
1
- import { registerBrush, registerContinuousLegend, registerDataZoom, registerDiscreteLegend, registerCustomMark, registerAllMarks, registerMarkArea, registerMarkLine, registerMarkPoint, registerScrollBar, registerTitle, registerCartesianLinearAxis, registerCartesianBandAxis, registerCartesianTimeAxis, registerCartesianLogAxis, registerCartesianCrossHair, registerTooltip, registerDomTooltipHandler, registerAnimate, registerReactAttributePlugin } from "@visactor/vchart";
2
-
3
- export const registers = [ registerAnimate, registerReactAttributePlugin, registerTooltip, registerDomTooltipHandler, registerCartesianLinearAxis, registerCartesianBandAxis, registerCartesianTimeAxis, registerCartesianLogAxis, registerCartesianCrossHair, registerBrush, registerContinuousLegend, registerDataZoom, registerDiscreteLegend, registerCustomMark, registerAllMarks, registerMarkArea, registerMarkLine, registerMarkPoint, registerScrollBar, registerTitle ];
4
- //# sourceMappingURL=cartesian.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/charts/registers/cartesian.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,wBAAwB,EACxB,gBAAgB,EAChB,sBAAsB,EACtB,kBAAkB,EAClB,gBAAgB,EAChB,gBAAgB,EAChB,gBAAgB,EAChB,iBAAiB,EACjB,iBAAiB,EACjB,aAAa,EACb,2BAA2B,EAC3B,yBAAyB,EACzB,yBAAyB,EACzB,wBAAwB,EACxB,0BAA0B,EAC1B,eAAe,EACf,yBAAyB,EACzB,eAAe,EACf,4BAA4B,EAC7B,MAAM,kBAAkB,CAAC;AAE1B,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,eAAe;IACf,4BAA4B;IAC5B,eAAe;IACf,yBAAyB;IACzB,2BAA2B;IAC3B,yBAAyB;IACzB,yBAAyB;IACzB,wBAAwB;IACxB,0BAA0B;IAC1B,aAAa;IACb,wBAAwB;IACxB,gBAAgB;IAChB,sBAAsB;IACtB,kBAAkB;IAClB,gBAAgB;IAChB,gBAAgB;IAChB,gBAAgB;IAChB,iBAAiB;IACjB,iBAAiB;IACjB,aAAa;CACd,CAAC","file":"cartesian.js","sourcesContent":["import {\n registerBrush, // optional\n registerContinuousLegend,\n registerDataZoom,\n registerDiscreteLegend,\n registerCustomMark,\n registerAllMarks,\n registerMarkArea,\n registerMarkLine,\n registerMarkPoint,\n registerScrollBar,\n registerTitle,\n registerCartesianLinearAxis,\n registerCartesianBandAxis,\n registerCartesianTimeAxis,\n registerCartesianLogAxis,\n registerCartesianCrossHair,\n registerTooltip,\n registerDomTooltipHandler,\n registerAnimate,\n registerReactAttributePlugin\n} from '@visactor/vchart';\n\nexport const registers = [\n registerAnimate,\n registerReactAttributePlugin,\n registerTooltip,\n registerDomTooltipHandler,\n registerCartesianLinearAxis,\n registerCartesianBandAxis,\n registerCartesianTimeAxis,\n registerCartesianLogAxis,\n registerCartesianCrossHair,\n registerBrush, // optional\n registerContinuousLegend,\n registerDataZoom,\n registerDiscreteLegend,\n registerCustomMark,\n registerAllMarks,\n registerMarkArea,\n registerMarkLine,\n registerMarkPoint,\n registerScrollBar,\n registerTitle\n];\n"]}
@@ -1 +0,0 @@
1
- export declare const registers: (() => void)[];
@@ -1,4 +0,0 @@
1
- import { registerBrush, registerContinuousLegend, registerDataZoom, registerDiscreteLegend, registerCustomMark, registerAllMarks, registerScrollBar, registerTitle, registerPolarLinearAxis, registerPolarBandAxis, registerPolarCrossHair, registerTooltip, registerDomTooltipHandler, registerAnimate, registerReactAttributePlugin } from "@visactor/vchart";
2
-
3
- export const registers = [ registerAnimate, registerReactAttributePlugin, registerTooltip, registerDomTooltipHandler, registerPolarLinearAxis, registerPolarBandAxis, registerPolarCrossHair, registerBrush, registerContinuousLegend, registerDataZoom, registerDiscreteLegend, registerCustomMark, registerAllMarks, registerScrollBar, registerTitle ];
4
- //# sourceMappingURL=polar.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/charts/registers/polar.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,wBAAwB,EACxB,gBAAgB,EAChB,sBAAsB,EACtB,kBAAkB,EAClB,gBAAgB,EAChB,iBAAiB,EACjB,aAAa,EACb,uBAAuB,EACvB,qBAAqB,EACrB,sBAAsB,EACtB,eAAe,EACf,yBAAyB,EACzB,eAAe,EACf,4BAA4B,EAC7B,MAAM,kBAAkB,CAAC;AAE1B,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,eAAe;IACf,4BAA4B;IAC5B,eAAe;IACf,yBAAyB;IACzB,uBAAuB;IACvB,qBAAqB;IACrB,sBAAsB;IAEtB,aAAa;IACb,wBAAwB;IACxB,gBAAgB;IAChB,sBAAsB;IACtB,kBAAkB;IAClB,gBAAgB;IAChB,iBAAiB;IACjB,aAAa;CACd,CAAC","file":"polar.js","sourcesContent":["import {\n registerBrush, // optional\n registerContinuousLegend,\n registerDataZoom,\n registerDiscreteLegend,\n registerCustomMark,\n registerAllMarks,\n registerScrollBar,\n registerTitle,\n registerPolarLinearAxis, // 必选\n registerPolarBandAxis, // 必选\n registerPolarCrossHair,\n registerTooltip,\n registerDomTooltipHandler,\n registerAnimate,\n registerReactAttributePlugin\n} from '@visactor/vchart';\n\nexport const registers = [\n registerAnimate,\n registerReactAttributePlugin,\n registerTooltip,\n registerDomTooltipHandler,\n registerPolarLinearAxis, // 必选\n registerPolarBandAxis, // 必选\n registerPolarCrossHair,\n\n registerBrush, // optional\n registerContinuousLegend,\n registerDataZoom,\n registerDiscreteLegend,\n registerCustomMark,\n registerAllMarks,\n registerScrollBar,\n registerTitle\n];\n"]}
@@ -1 +0,0 @@
1
- export declare const registers: (() => void)[];
@@ -1,4 +0,0 @@
1
- import { registerContinuousLegend, registerDiscreteLegend, registerCustomMark, registerAllMarks, registerTitle, registerTooltip, registerDomTooltipHandler, registerAnimate, registerReactAttributePlugin } from "@visactor/vchart";
2
-
3
- export const registers = [ registerAnimate, registerReactAttributePlugin, registerTooltip, registerDomTooltipHandler, registerDiscreteLegend, registerContinuousLegend, registerCustomMark, registerAllMarks, registerTitle ];
4
- //# sourceMappingURL=simple.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/charts/registers/simple.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,EACxB,sBAAsB,EACtB,kBAAkB,EAClB,gBAAgB,EAChB,aAAa,EACb,eAAe,EACf,yBAAyB,EACzB,eAAe,EACf,4BAA4B,EAC7B,MAAM,kBAAkB,CAAC;AAE1B,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,eAAe;IACf,4BAA4B;IAC5B,eAAe;IACf,yBAAyB;IACzB,sBAAsB;IACtB,wBAAwB;IACxB,kBAAkB;IAClB,gBAAgB;IAChB,aAAa;CACd,CAAC","file":"simple.js","sourcesContent":["import {\n registerContinuousLegend,\n registerDiscreteLegend,\n registerCustomMark,\n registerAllMarks,\n registerTitle,\n registerTooltip,\n registerDomTooltipHandler,\n registerAnimate,\n registerReactAttributePlugin\n} from '@visactor/vchart';\n\nexport const registers = [\n registerAnimate,\n registerReactAttributePlugin,\n registerTooltip,\n registerDomTooltipHandler,\n registerDiscreteLegend,\n registerContinuousLegend,\n registerCustomMark,\n registerAllMarks,\n registerTitle\n];\n"]}
@@ -1,4 +0,0 @@
1
- import { BaseComponentProps } from './BaseComponent';
2
- import type { ICartesianAxisSpec, IPolarAxisSpec } from '@visactor/vchart';
3
- export type AxisProps = (ICartesianAxisSpec | IPolarAxisSpec) & BaseComponentProps;
4
- export declare const Axis: import("react").FC<AxisProps>;
@@ -1,4 +0,0 @@
1
- import { createComponent } from "./BaseComponent";
2
-
3
- export const Axis = createComponent("Axis", "axes");
4
- //# sourceMappingURL=Axis.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/components/Axis.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAsB,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAKtE,MAAM,CAAC,MAAM,IAAI,GAAG,eAAe,CAAY,MAAM,EAAE,MAAM,CAAC,CAAC","file":"Axis.js","sourcesContent":["import { BaseComponentProps, createComponent } from './BaseComponent';\nimport type { ICartesianAxisSpec, IPolarAxisSpec } from '@visactor/vchart';\n\nexport type AxisProps = (ICartesianAxisSpec | IPolarAxisSpec) & BaseComponentProps;\n\nexport const Axis = createComponent<AxisProps>('Axis', 'axes');\n"]}
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- export interface BaseComponentProps {
3
- id?: string | number;
4
- }
5
- type ComponentProps = BaseComponentProps & {
6
- updateId?: number;
7
- componentId?: number;
8
- };
9
- export declare const createComponent: <T extends ComponentProps>(componentName: string, specName: string, supportedEvents?: Record<string, string> | null, isSingle?: boolean, registers?: (() => void)[]) => React.FC<T>;
10
- export {};
@@ -1,29 +0,0 @@
1
- import React, { useContext, useEffect } from "react";
2
-
3
- import { pickWithout } from "@visactor/vutils";
4
-
5
- import RootChartContext from "../context/chart";
6
-
7
- import { bindEventsToChart } from "../eventsUtils";
8
-
9
- import { VChart } from "@visactor/vchart";
10
-
11
- export const createComponent = (componentName, specName, supportedEvents, isSingle, registers) => {
12
- registers && registers.length && VChart.useRegisters(registers);
13
- const ignoreKeys = [ "updateId", "componentId" ], notSpecKeys = supportedEvents ? Object.keys(supportedEvents).concat(ignoreKeys) : ignoreKeys, Comp = props => {
14
- const context = useContext(RootChartContext), eventsBinded = React.useRef(null), updateId = React.useRef(props.updateId);
15
- if (props.updateId !== updateId.current) {
16
- updateId.current = props.updateId;
17
- !!supportedEvents && bindEventsToChart(context.chart, props, eventsBinded.current, supportedEvents) && (eventsBinded.current = props);
18
- }
19
- return useEffect((() => () => {
20
- supportedEvents && bindEventsToChart(context.chart, null, eventsBinded.current, supportedEvents);
21
- }), []), null;
22
- };
23
- return Comp.displayName = componentName, Comp.parseSpec = props => ({
24
- spec: pickWithout(props, notSpecKeys),
25
- specName: specName,
26
- isSingle: isSingle
27
- }), Comp;
28
- };
29
- //# sourceMappingURL=BaseComponent.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/components/BaseComponent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C,OAAO,gBAAgB,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAQ1C,MAAM,CAAC,MAAM,eAAe,GAAG,CAC7B,aAAqB,EACrB,QAAgB,EAChB,eAA+C,EAC/C,QAAkB,EAClB,SAA0B,EAC1B,EAAE;IACF,IAAI,SAAS,IAAI,SAAS,CAAC,MAAM,EAAE;QACjC,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,CAAC;KAChC;IAED,MAAM,UAAU,GAAG,CAAC,UAAU,EAAE,aAAa,CAAC,CAAC;IAC/C,MAAM,WAAW,GAAG,eAAe,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC;IAEnG,MAAM,IAAI,GAAgB,CAAC,KAAQ,EAAE,EAAE;QACrC,MAAM,OAAO,GAAG,UAAU,CAAC,gBAAgB,CAAC,CAAC;QAC7C,MAAM,YAAY,GAAG,KAAK,CAAC,MAAM,CAAI,IAAI,CAAC,CAAC;QAC3C,MAAM,QAAQ,GAAG,KAAK,CAAC,MAAM,CAAS,KAAK,CAAC,QAAQ,CAAC,CAAC;QACtD,IAAI,KAAK,CAAC,QAAQ,KAAK,QAAQ,CAAC,OAAO,EAAE;YAEvC,QAAQ,CAAC,OAAO,GAAG,KAAK,CAAC,QAAQ,CAAC;YAGlC,MAAM,mBAAmB,GAAG,eAAe;gBACzC,CAAC,CAAC,iBAAiB,CAAC,OAAO,CAAC,KAAK,EAAE,KAAK,EAAE,YAAY,CAAC,OAAO,EAAE,eAAe,CAAC;gBAChF,CAAC,CAAC,KAAK,CAAC;YACV,IAAI,mBAAmB,EAAE;gBACvB,YAAY,CAAC,OAAO,GAAG,KAAK,CAAC;aAC9B;SACF;QAED,SAAS,CAAC,GAAG,EAAE;YACb,OAAO,GAAG,EAAE;gBACV,IAAI,eAAe,EAAE;oBACnB,iBAAiB,CAAC,OAAO,CAAC,KAAK,EAAE,IAAI,EAAE,YAAY,CAAC,OAAO,EAAE,eAAe,CAAC,CAAC;iBAC/E;YACH,CAAC,CAAC;QACJ,CAAC,EAAE,EAAE,CAAC,CAAC;QAEP,OAAO,IAAI,CAAC;IACd,CAAC,CAAC;IAEF,IAAI,CAAC,WAAW,GAAG,aAAa,CAAC;IAChC,IAAY,CAAC,SAAS,GAAG,CAAC,KAAsD,EAAE,EAAE;QACnF,MAAM,gBAAgB,GAAe,WAAW,CAAI,KAAK,EAAE,WAAW,CAAC,CAAC;QAExE,OAAO;YACL,IAAI,EAAE,gBAAgB;YACtB,QAAQ;YACR,QAAQ;SACT,CAAC;IACJ,CAAC,CAAC;IAEF,OAAO,IAAI,CAAC;AACd,CAAC,CAAC","file":"BaseComponent.js","sourcesContent":["import React, { useContext, useEffect } from 'react';\nimport { pickWithout } from '@visactor/vutils';\n\nimport RootChartContext from '../context/chart';\nimport { bindEventsToChart } from '../eventsUtils';\nimport { VChart } from '@visactor/vchart';\n\nexport interface BaseComponentProps {\n id?: string | number;\n}\n\ntype ComponentProps = BaseComponentProps & { updateId?: number; componentId?: number };\n\nexport const createComponent = <T extends ComponentProps>(\n componentName: string,\n specName: string,\n supportedEvents?: Record<string, string> | null,\n isSingle?: boolean,\n registers?: (() => void)[]\n) => {\n if (registers && registers.length) {\n VChart.useRegisters(registers);\n }\n\n const ignoreKeys = ['updateId', 'componentId'];\n const notSpecKeys = supportedEvents ? Object.keys(supportedEvents).concat(ignoreKeys) : ignoreKeys;\n\n const Comp: React.FC<T> = (props: T) => {\n const context = useContext(RootChartContext);\n const eventsBinded = React.useRef<T>(null);\n const updateId = React.useRef<number>(props.updateId);\n if (props.updateId !== updateId.current) {\n // update triggered by chart when chart is rendered\n updateId.current = props.updateId;\n\n // rebind events after chart render\n const hasPrevEventsBinded = supportedEvents\n ? bindEventsToChart(context.chart, props, eventsBinded.current, supportedEvents)\n : false;\n if (hasPrevEventsBinded) {\n eventsBinded.current = props;\n }\n }\n\n useEffect(() => {\n return () => {\n if (supportedEvents) {\n bindEventsToChart(context.chart, null, eventsBinded.current, supportedEvents);\n }\n };\n }, []);\n\n return null;\n };\n\n Comp.displayName = componentName;\n (Comp as any).parseSpec = (props: T & { updateId?: number; componentId?: string }) => {\n const newComponentSpec: Partial<T> = pickWithout<T>(props, notSpecKeys);\n\n return {\n spec: newComponentSpec,\n specName,\n isSingle\n };\n };\n\n return Comp;\n};\n"]}
@@ -1,5 +0,0 @@
1
- import { BrushEventProps } from '../eventsUtils';
2
- import { BaseComponentProps } from './BaseComponent';
3
- import type { IBrushSpec } from '@visactor/vchart';
4
- export type BrushProps = IBrushSpec & BaseComponentProps & BrushEventProps;
5
- export declare const Brush: import("react").FC<BrushProps>;
@@ -1,8 +0,0 @@
1
- import { BRUSH_CUSTOMIZED_EVENTS } from "../eventsUtils";
2
-
3
- import { createComponent } from "./BaseComponent";
4
-
5
- import { registerBrush } from "@visactor/vchart";
6
-
7
- export const Brush = createComponent("Brush", "brush", BRUSH_CUSTOMIZED_EVENTS, !0, [ registerBrush ]);
8
- //# sourceMappingURL=Brush.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/components/Brush.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAmB,MAAM,gBAAgB,CAAC;AAC1E,OAAO,EAAsB,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAEtE,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAIjD,MAAM,CAAC,MAAM,KAAK,GAAG,eAAe,CAAa,OAAO,EAAE,OAAO,EAAE,uBAAuB,EAAE,IAAI,EAAE,CAAC,aAAa,CAAC,CAAC,CAAC","file":"Brush.js","sourcesContent":["import { BRUSH_CUSTOMIZED_EVENTS, BrushEventProps } from '../eventsUtils';\nimport { BaseComponentProps, createComponent } from './BaseComponent';\nimport type { IBrushSpec } from '@visactor/vchart';\nimport { registerBrush } from '@visactor/vchart';\n\nexport type BrushProps = IBrushSpec & BaseComponentProps & BrushEventProps;\n\nexport const Brush = createComponent<BrushProps>('Brush', 'brush', BRUSH_CUSTOMIZED_EVENTS, true, [registerBrush]);\n"]}
@@ -1,5 +0,0 @@
1
- import type { IContinuousLegendSpec } from '@visactor/vchart';
2
- import { LegendEventProps } from '../eventsUtils';
3
- import { BaseComponentProps } from './BaseComponent';
4
- export type ContinuousLegendProps = BaseComponentProps & IContinuousLegendSpec & LegendEventProps;
5
- export declare const ContinuousLegend: import("react").FC<IContinuousLegendSpec>;
@@ -1,8 +0,0 @@
1
- import { LEGEND_CUSTOMIZED_EVENTS } from "../eventsUtils";
2
-
3
- import { createComponent } from "./BaseComponent";
4
-
5
- import { registerContinuousLegend } from "@visactor/vchart";
6
-
7
- export const ContinuousLegend = createComponent("ContinuousLegend", "legends", LEGEND_CUSTOMIZED_EVENTS, !1, [ registerContinuousLegend ]);
8
- //# sourceMappingURL=ContinuousLegend.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/components/ContinuousLegend.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,wBAAwB,EAAoB,MAAM,gBAAgB,CAAC;AAC5E,OAAO,EAAsB,eAAe,EAAE,MAAM,iBAAiB,CAAC;AACtE,OAAO,EAAE,wBAAwB,EAAE,MAAM,kBAAkB,CAAC;AAI5D,MAAM,CAAC,MAAM,gBAAgB,GAAG,eAAe,CAC7C,kBAAkB,EAClB,SAAS,EACT,wBAAwB,EACxB,KAAK,EACL,CAAC,wBAAwB,CAAC,CAC3B,CAAC","file":"ContinuousLegend.js","sourcesContent":["import type { IContinuousLegendSpec } from '@visactor/vchart';\nimport { LEGEND_CUSTOMIZED_EVENTS, LegendEventProps } from '../eventsUtils';\nimport { BaseComponentProps, createComponent } from './BaseComponent';\nimport { registerContinuousLegend } from '@visactor/vchart';\n\nexport type ContinuousLegendProps = BaseComponentProps & IContinuousLegendSpec & LegendEventProps;\n\nexport const ContinuousLegend = createComponent<IContinuousLegendSpec>(\n 'ContinuousLegend',\n 'legends',\n LEGEND_CUSTOMIZED_EVENTS,\n false,\n [registerContinuousLegend]\n);\n"]}
@@ -1,4 +0,0 @@
1
- import { BaseComponentProps } from './BaseComponent';
2
- import type { ICartesianCrosshairSpec, IPolarCrosshairSpec } from '@visactor/vchart';
3
- export type CrosshairProps = (ICartesianCrosshairSpec | IPolarCrosshairSpec) & BaseComponentProps;
4
- export declare const Crosshair: import("react").FC<CrosshairProps>;
@@ -1,4 +0,0 @@
1
- import { createComponent } from "./BaseComponent";
2
-
3
- export const Crosshair = createComponent("Crosshair", "crosshair");
4
- //# sourceMappingURL=Crosshair.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/components/Crosshair.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAsB,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAKtE,MAAM,CAAC,MAAM,SAAS,GAAG,eAAe,CAAiB,WAAW,EAAE,WAAW,CAAC,CAAC","file":"Crosshair.js","sourcesContent":["import { BaseComponentProps, createComponent } from './BaseComponent';\nimport type { ICartesianCrosshairSpec, IPolarCrosshairSpec } from '@visactor/vchart';\n\nexport type CrosshairProps = (ICartesianCrosshairSpec | IPolarCrosshairSpec) & BaseComponentProps;\n\nexport const Crosshair = createComponent<CrosshairProps>('Crosshair', 'crosshair');\n"]}
@@ -1,5 +0,0 @@
1
- import { DataZoomEventProps } from '../eventsUtils';
2
- import { BaseComponentProps } from './BaseComponent';
3
- import type { IDataZoomSpec } from '@visactor/vchart';
4
- export type DataZoomProps = IDataZoomSpec & BaseComponentProps & DataZoomEventProps;
5
- export declare const DataZoom: import("react").FC<DataZoomProps>;
@@ -1,8 +0,0 @@
1
- import { DATAZOOM_CUSTOMIZED_EVENTS } from "../eventsUtils";
2
-
3
- import { createComponent } from "./BaseComponent";
4
-
5
- import { registerDataZoom } from "@visactor/vchart";
6
-
7
- export const DataZoom = createComponent("DataZoom", "dataZoom", DATAZOOM_CUSTOMIZED_EVENTS, !1, [ registerDataZoom ]);
8
- //# sourceMappingURL=DataZoom.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/components/DataZoom.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAsB,MAAM,gBAAgB,CAAC;AAChF,OAAO,EAAsB,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAEtE,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAGpD,MAAM,CAAC,MAAM,QAAQ,GAAG,eAAe,CAAgB,UAAU,EAAE,UAAU,EAAE,0BAA0B,EAAE,KAAK,EAAE;IAChH,gBAAgB;CACjB,CAAC,CAAC","file":"DataZoom.js","sourcesContent":["import { DATAZOOM_CUSTOMIZED_EVENTS, DataZoomEventProps } from '../eventsUtils';\nimport { BaseComponentProps, createComponent } from './BaseComponent';\nimport type { IDataZoomSpec } from '@visactor/vchart';\nimport { registerDataZoom } from '@visactor/vchart';\n\nexport type DataZoomProps = IDataZoomSpec & BaseComponentProps & DataZoomEventProps;\nexport const DataZoom = createComponent<DataZoomProps>('DataZoom', 'dataZoom', DATAZOOM_CUSTOMIZED_EVENTS, false, [\n registerDataZoom\n]);\n"]}
@@ -1,4 +0,0 @@
1
- import { BaseComponentProps } from './BaseComponent';
2
- import type { IIndicatorSpec } from '@visactor/vchart';
3
- export type IndicatorProps = IIndicatorSpec & BaseComponentProps;
4
- export declare const Indicator: import("react").FC<IndicatorProps>;
@@ -1,6 +0,0 @@
1
- import { createComponent } from "./BaseComponent";
2
-
3
- import { registerIndicator } from "@visactor/vchart";
4
-
5
- export const Indicator = createComponent("Indicator", "indicator", null, !0, [ registerIndicator ]);
6
- //# sourceMappingURL=Indicator.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/components/Indicator.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAsB,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAEtE,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAIrD,MAAM,CAAC,MAAM,SAAS,GAAG,eAAe,CAAiB,WAAW,EAAE,WAAW,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,iBAAiB,CAAC,CAAC,CAAC","file":"Indicator.js","sourcesContent":["import { BaseComponentProps, createComponent } from './BaseComponent';\nimport type { IIndicatorSpec } from '@visactor/vchart';\nimport { registerIndicator } from '@visactor/vchart';\n\nexport type IndicatorProps = IIndicatorSpec & BaseComponentProps;\n\nexport const Indicator = createComponent<IndicatorProps>('Indicator', 'indicator', null, true, [registerIndicator]);\n"]}
@@ -1,5 +0,0 @@
1
- import type { IDiscreteLegendSpec } from '@visactor/vchart';
2
- import { LegendEventProps } from '../eventsUtils';
3
- import { BaseComponentProps } from './BaseComponent';
4
- export type LegendProps = BaseComponentProps & IDiscreteLegendSpec & LegendEventProps;
5
- export declare const Legend: import("react").FC<LegendProps>;
@@ -1,8 +0,0 @@
1
- import { LEGEND_CUSTOMIZED_EVENTS } from "../eventsUtils";
2
-
3
- import { createComponent } from "./BaseComponent";
4
-
5
- import { registerDiscreteLegend } from "@visactor/vchart";
6
-
7
- export const Legend = createComponent("Legend", "legends", LEGEND_CUSTOMIZED_EVENTS, !1, [ registerDiscreteLegend ]);
8
- //# sourceMappingURL=Legend.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/components/Legend.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,wBAAwB,EAAoB,MAAM,gBAAgB,CAAC;AAC5E,OAAO,EAAsB,eAAe,EAAE,MAAM,iBAAiB,CAAC;AACtE,OAAO,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAI1D,MAAM,CAAC,MAAM,MAAM,GAAG,eAAe,CAAc,QAAQ,EAAE,SAAS,EAAE,wBAAwB,EAAE,KAAK,EAAE;IACvG,sBAAsB;CACvB,CAAC,CAAC","file":"Legend.js","sourcesContent":["import type { IDiscreteLegendSpec } from '@visactor/vchart';\nimport { LEGEND_CUSTOMIZED_EVENTS, LegendEventProps } from '../eventsUtils';\nimport { BaseComponentProps, createComponent } from './BaseComponent';\nimport { registerDiscreteLegend } from '@visactor/vchart';\n\nexport type LegendProps = BaseComponentProps & IDiscreteLegendSpec & LegendEventProps;\n\nexport const Legend = createComponent<LegendProps>('Legend', 'legends', LEGEND_CUSTOMIZED_EVENTS, false, [\n registerDiscreteLegend\n]);\n"]}
@@ -1,4 +0,0 @@
1
- import type { ICustomMarkSpec, EnableMarkType } from '@visactor/vchart';
2
- import { BaseComponentProps } from './BaseComponent';
3
- export type MarkProps = ICustomMarkSpec<EnableMarkType> & BaseComponentProps;
4
- export declare const Mark: import("react").FC<MarkProps>;