@visactor/react-vchart 1.11.0-alpha.2 → 1.11.0

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 (467) hide show
  1. package/cjs/VChart.d.ts +1 -3
  2. package/cjs/VChart.js +2 -2
  3. package/cjs/VChart.js.map +1 -1
  4. package/cjs/charts/AreaChart.d.ts +1 -1
  5. package/cjs/charts/AreaChart.js +3 -9
  6. package/cjs/charts/AreaChart.js.map +1 -1
  7. package/cjs/charts/Bar3dChart.d.ts +10 -0
  8. package/cjs/charts/Bar3dChart.js +13 -0
  9. package/cjs/charts/Bar3dChart.js.map +1 -0
  10. package/cjs/charts/BarChart.d.ts +1 -1
  11. package/cjs/charts/BarChart.js +3 -9
  12. package/cjs/charts/BarChart.js.map +1 -1
  13. package/cjs/charts/BaseChart.d.ts +3 -3
  14. package/cjs/charts/BaseChart.js +11 -7
  15. package/cjs/charts/BaseChart.js.map +1 -1
  16. package/cjs/charts/BoxPlotChart.d.ts +1 -1
  17. package/cjs/charts/BoxPlotChart.js +3 -9
  18. package/cjs/charts/BoxPlotChart.js.map +1 -1
  19. package/cjs/charts/CirclePackingChart.d.ts +10 -0
  20. package/cjs/charts/CirclePackingChart.js +13 -0
  21. package/cjs/charts/CirclePackingChart.js.map +1 -0
  22. package/cjs/charts/CircularProgressChart.d.ts +1 -1
  23. package/cjs/charts/CircularProgressChart.js +3 -9
  24. package/cjs/charts/CircularProgressChart.js.map +1 -1
  25. package/cjs/charts/CommonChart.d.ts +1 -1
  26. package/cjs/charts/CommonChart.js +3 -9
  27. package/cjs/charts/CommonChart.js.map +1 -1
  28. package/cjs/charts/CorrelationChart.d.ts +10 -0
  29. package/cjs/charts/CorrelationChart.js +13 -0
  30. package/cjs/charts/CorrelationChart.js.map +1 -0
  31. package/cjs/charts/Funnel3dChart.d.ts +10 -0
  32. package/cjs/charts/Funnel3dChart.js +13 -0
  33. package/cjs/charts/Funnel3dChart.js.map +1 -0
  34. package/cjs/charts/FunnelChart.d.ts +1 -1
  35. package/cjs/charts/FunnelChart.js +3 -9
  36. package/cjs/charts/FunnelChart.js.map +1 -1
  37. package/cjs/charts/GaugeChart.d.ts +10 -0
  38. package/cjs/charts/GaugeChart.js +13 -0
  39. package/cjs/charts/GaugeChart.js.map +1 -0
  40. package/cjs/charts/HeatmapChart.d.ts +10 -0
  41. package/cjs/charts/HeatmapChart.js +13 -0
  42. package/cjs/charts/HeatmapChart.js.map +1 -0
  43. package/cjs/charts/Histogram3dChart.d.ts +10 -0
  44. package/cjs/charts/Histogram3dChart.js +13 -0
  45. package/cjs/charts/Histogram3dChart.js.map +1 -0
  46. package/cjs/charts/HistogramChart.d.ts +1 -1
  47. package/cjs/charts/HistogramChart.js +3 -10
  48. package/cjs/charts/HistogramChart.js.map +1 -1
  49. package/cjs/charts/LineChart.d.ts +1 -1
  50. package/cjs/charts/LineChart.js +3 -9
  51. package/cjs/charts/LineChart.js.map +1 -1
  52. package/cjs/charts/LinearProgressChart.d.ts +1 -1
  53. package/cjs/charts/LinearProgressChart.js +3 -9
  54. package/cjs/charts/LinearProgressChart.js.map +1 -1
  55. package/cjs/charts/LiquidChart.d.ts +10 -0
  56. package/cjs/charts/LiquidChart.js +13 -0
  57. package/cjs/charts/LiquidChart.js.map +1 -0
  58. package/cjs/charts/MapChart.d.ts +1 -1
  59. package/cjs/charts/MapChart.js +3 -9
  60. package/cjs/charts/MapChart.js.map +1 -1
  61. package/cjs/charts/Pie3dChart.d.ts +10 -0
  62. package/cjs/charts/Pie3dChart.js +13 -0
  63. package/cjs/charts/Pie3dChart.js.map +1 -0
  64. package/cjs/charts/PieChart.d.ts +1 -1
  65. package/cjs/charts/PieChart.js +3 -9
  66. package/cjs/charts/PieChart.js.map +1 -1
  67. package/cjs/charts/RadarChart.d.ts +1 -1
  68. package/cjs/charts/RadarChart.js +3 -9
  69. package/cjs/charts/RadarChart.js.map +1 -1
  70. package/cjs/charts/RangeColumn3dChart.d.ts +10 -0
  71. package/cjs/charts/RangeColumn3dChart.js +13 -0
  72. package/cjs/charts/RangeColumn3dChart.js.map +1 -0
  73. package/cjs/charts/RangeColumnChart.d.ts +1 -1
  74. package/cjs/charts/RangeColumnChart.js +3 -9
  75. package/cjs/charts/RangeColumnChart.js.map +1 -1
  76. package/cjs/charts/RoseChart.d.ts +1 -1
  77. package/cjs/charts/RoseChart.js +4 -9
  78. package/cjs/charts/RoseChart.js.map +1 -1
  79. package/cjs/charts/SankeyChart.d.ts +10 -0
  80. package/cjs/charts/SankeyChart.js +13 -0
  81. package/cjs/charts/SankeyChart.js.map +1 -0
  82. package/cjs/charts/ScatterChart.d.ts +1 -1
  83. package/cjs/charts/ScatterChart.js +3 -9
  84. package/cjs/charts/ScatterChart.js.map +1 -1
  85. package/cjs/charts/SequenceChart.d.ts +1 -1
  86. package/cjs/charts/SequenceChart.js +3 -9
  87. package/cjs/charts/SequenceChart.js.map +1 -1
  88. package/cjs/charts/SunburstChart.d.ts +10 -0
  89. package/cjs/charts/SunburstChart.js +13 -0
  90. package/cjs/charts/SunburstChart.js.map +1 -0
  91. package/cjs/charts/TreemapChart.d.ts +10 -0
  92. package/cjs/charts/TreemapChart.js +13 -0
  93. package/cjs/charts/TreemapChart.js.map +1 -0
  94. package/cjs/charts/WaterfallChart.d.ts +10 -0
  95. package/cjs/charts/WaterfallChart.js +12 -0
  96. package/cjs/charts/WaterfallChart.js.map +1 -0
  97. package/cjs/charts/WordCloud3dChart.d.ts +10 -0
  98. package/cjs/charts/WordCloud3dChart.js +13 -0
  99. package/cjs/charts/WordCloud3dChart.js.map +1 -0
  100. package/cjs/charts/WordCloudChart.d.ts +1 -1
  101. package/cjs/charts/WordCloudChart.js +3 -9
  102. package/cjs/charts/WordCloudChart.js.map +1 -1
  103. package/cjs/charts/index.d.ts +26 -10
  104. package/cjs/charts/index.js +15 -7
  105. package/cjs/charts/index.js.map +1 -1
  106. package/cjs/charts/register.d.ts +3 -0
  107. package/cjs/charts/register.js +12 -0
  108. package/cjs/charts/register.js.map +1 -0
  109. package/cjs/components/BaseComponent.d.ts +1 -1
  110. package/cjs/components/BaseComponent.js +2 -1
  111. package/cjs/components/BaseComponent.js.map +1 -1
  112. package/cjs/components/Brush.js +2 -2
  113. package/cjs/components/Brush.js.map +1 -1
  114. package/cjs/components/ContinuousLegend.d.ts +5 -0
  115. package/cjs/components/ContinuousLegend.js +10 -0
  116. package/cjs/components/ContinuousLegend.js.map +1 -0
  117. package/cjs/components/DataZoom.js +2 -2
  118. package/cjs/components/DataZoom.js.map +1 -1
  119. package/cjs/components/Indicator.js +2 -2
  120. package/cjs/components/Indicator.js.map +1 -1
  121. package/cjs/components/Legend.js +2 -2
  122. package/cjs/components/Legend.js.map +1 -1
  123. package/cjs/components/Mark.js +2 -2
  124. package/cjs/components/Mark.js.map +1 -1
  125. package/cjs/components/MarkArea.js +2 -2
  126. package/cjs/components/MarkArea.js.map +1 -1
  127. package/cjs/components/MarkLine.js +2 -2
  128. package/cjs/components/MarkLine.js.map +1 -1
  129. package/cjs/components/MarkPoint.js +2 -2
  130. package/cjs/components/MarkPoint.js.map +1 -1
  131. package/cjs/components/Player.js +2 -2
  132. package/cjs/components/Player.js.map +1 -1
  133. package/cjs/components/Region.d.ts +1 -2
  134. package/cjs/components/Region.js.map +1 -1
  135. package/cjs/components/ScrollBar.js +2 -2
  136. package/cjs/components/ScrollBar.js.map +1 -1
  137. package/cjs/components/Title.js +2 -2
  138. package/cjs/components/Title.js.map +1 -1
  139. package/cjs/components/index.d.ts +1 -0
  140. package/cjs/components/index.js +1 -1
  141. package/cjs/components/index.js.map +1 -1
  142. package/cjs/components/tooltip/CanvasTooltip.d.ts +2 -0
  143. package/cjs/components/tooltip/CanvasTooltip.js +10 -0
  144. package/cjs/components/tooltip/CanvasTooltip.js.map +1 -0
  145. package/cjs/components/tooltip/Tooltip.js +2 -2
  146. package/cjs/components/tooltip/Tooltip.js.map +1 -1
  147. package/cjs/components/tooltip/index.d.ts +1 -0
  148. package/cjs/components/tooltip/index.js +1 -1
  149. package/cjs/components/tooltip/index.js.map +1 -1
  150. package/cjs/index.d.ts +2 -1
  151. package/cjs/index.js +12 -3
  152. package/cjs/index.js.map +1 -1
  153. package/cjs/series/Area.js +2 -2
  154. package/cjs/series/Area.js.map +1 -1
  155. package/cjs/series/Bar.js +3 -3
  156. package/cjs/series/Bar.js.map +1 -1
  157. package/cjs/series/Bar3d.d.ts +7 -0
  158. package/cjs/series/Bar3d.js +10 -0
  159. package/cjs/series/Bar3d.js.map +1 -0
  160. package/cjs/series/BaseSeries.d.ts +1 -1
  161. package/cjs/series/BaseSeries.js +3 -2
  162. package/cjs/series/BaseSeries.js.map +1 -1
  163. package/cjs/series/BoxPlot.js +3 -3
  164. package/cjs/series/BoxPlot.js.map +1 -1
  165. package/cjs/series/CirclePacking.d.ts +7 -0
  166. package/cjs/series/CirclePacking.js +10 -0
  167. package/cjs/series/CirclePacking.js.map +1 -0
  168. package/cjs/series/CircularProgress.js +3 -3
  169. package/cjs/series/CircularProgress.js.map +1 -1
  170. package/cjs/series/Correlation.d.ts +7 -0
  171. package/cjs/series/Correlation.js +10 -0
  172. package/cjs/series/Correlation.js.map +1 -0
  173. package/cjs/series/Dot.js +3 -3
  174. package/cjs/series/Dot.js.map +1 -1
  175. package/cjs/series/Funnel.js +3 -3
  176. package/cjs/series/Funnel.js.map +1 -1
  177. package/cjs/series/Funnel3d.d.ts +7 -0
  178. package/cjs/series/Funnel3d.js +10 -0
  179. package/cjs/series/Funnel3d.js.map +1 -0
  180. package/cjs/series/Gauge.d.ts +7 -0
  181. package/cjs/series/Gauge.js +10 -0
  182. package/cjs/series/Gauge.js.map +1 -0
  183. package/cjs/series/Heatmap.d.ts +7 -0
  184. package/cjs/series/Heatmap.js +10 -0
  185. package/cjs/series/Heatmap.js.map +1 -0
  186. package/cjs/series/Line.js +3 -3
  187. package/cjs/series/Line.js.map +1 -1
  188. package/cjs/series/LinearProgress.js +3 -3
  189. package/cjs/series/LinearProgress.js.map +1 -1
  190. package/cjs/series/Link.js +3 -2
  191. package/cjs/series/Link.js.map +1 -1
  192. package/cjs/series/Liquid.d.ts +7 -0
  193. package/cjs/series/Liquid.js +10 -0
  194. package/cjs/series/Liquid.js.map +1 -0
  195. package/cjs/series/Map.js +3 -3
  196. package/cjs/series/Map.js.map +1 -1
  197. package/cjs/series/Pie.js +3 -3
  198. package/cjs/series/Pie.js.map +1 -1
  199. package/cjs/series/Pie3d.d.ts +7 -0
  200. package/cjs/series/Pie3d.js +10 -0
  201. package/cjs/series/Pie3d.js.map +1 -0
  202. package/cjs/series/Radar.js +3 -3
  203. package/cjs/series/Radar.js.map +1 -1
  204. package/cjs/series/RangeColumn.js +3 -3
  205. package/cjs/series/RangeColumn.js.map +1 -1
  206. package/cjs/series/RangeColumn3d.d.ts +7 -0
  207. package/cjs/series/RangeColumn3d.js +10 -0
  208. package/cjs/series/RangeColumn3d.js.map +1 -0
  209. package/cjs/series/Rose.js +3 -3
  210. package/cjs/series/Rose.js.map +1 -1
  211. package/cjs/series/Sankey.d.ts +7 -0
  212. package/cjs/series/Sankey.js +10 -0
  213. package/cjs/series/Sankey.js.map +1 -0
  214. package/cjs/series/Scatter.js +3 -3
  215. package/cjs/series/Scatter.js.map +1 -1
  216. package/cjs/series/Series.js +1 -1
  217. package/cjs/series/Sunburst.d.ts +7 -0
  218. package/cjs/series/Sunburst.js +10 -0
  219. package/cjs/series/Sunburst.js.map +1 -0
  220. package/cjs/series/Treemap.d.ts +7 -0
  221. package/cjs/series/Treemap.js +10 -0
  222. package/cjs/series/Treemap.js.map +1 -0
  223. package/cjs/series/Waterfall.d.ts +7 -0
  224. package/cjs/series/Waterfall.js +10 -0
  225. package/cjs/series/Waterfall.js.map +1 -0
  226. package/cjs/series/WordCloud.js +2 -2
  227. package/cjs/series/WordCloud.js.map +1 -1
  228. package/cjs/series/WordCloud3d.d.ts +7 -0
  229. package/cjs/series/WordCloud3d.js +10 -0
  230. package/cjs/series/WordCloud3d.js.map +1 -0
  231. package/cjs/series/index.d.ts +24 -10
  232. package/cjs/series/index.js +16 -9
  233. package/cjs/series/index.js.map +1 -1
  234. package/esm/VChart.d.ts +1 -3
  235. package/esm/VChart.js +1 -3
  236. package/esm/VChart.js.map +1 -1
  237. package/esm/charts/AreaChart.d.ts +1 -1
  238. package/esm/charts/AreaChart.js +4 -2
  239. package/esm/charts/AreaChart.js.map +1 -1
  240. package/esm/charts/Bar3dChart.d.ts +10 -0
  241. package/esm/charts/Bar3dChart.js +11 -0
  242. package/esm/charts/Bar3dChart.js.map +1 -0
  243. package/esm/charts/BarChart.d.ts +1 -1
  244. package/esm/charts/BarChart.js +4 -2
  245. package/esm/charts/BarChart.js.map +1 -1
  246. package/esm/charts/BaseChart.d.ts +3 -3
  247. package/esm/charts/BaseChart.js +12 -8
  248. package/esm/charts/BaseChart.js.map +1 -1
  249. package/esm/charts/BoxPlotChart.d.ts +1 -1
  250. package/esm/charts/BoxPlotChart.js +4 -2
  251. package/esm/charts/BoxPlotChart.js.map +1 -1
  252. package/esm/charts/CirclePackingChart.d.ts +10 -0
  253. package/esm/charts/CirclePackingChart.js +11 -0
  254. package/esm/charts/CirclePackingChart.js.map +1 -0
  255. package/esm/charts/CircularProgressChart.d.ts +1 -1
  256. package/esm/charts/CircularProgressChart.js +4 -2
  257. package/esm/charts/CircularProgressChart.js.map +1 -1
  258. package/esm/charts/CommonChart.d.ts +1 -1
  259. package/esm/charts/CommonChart.js +2 -2
  260. package/esm/charts/CommonChart.js.map +1 -1
  261. package/esm/charts/CorrelationChart.d.ts +10 -0
  262. package/esm/charts/CorrelationChart.js +11 -0
  263. package/esm/charts/CorrelationChart.js.map +1 -0
  264. package/esm/charts/Funnel3dChart.d.ts +10 -0
  265. package/esm/charts/Funnel3dChart.js +11 -0
  266. package/esm/charts/Funnel3dChart.js.map +1 -0
  267. package/esm/charts/FunnelChart.d.ts +1 -1
  268. package/esm/charts/FunnelChart.js +4 -2
  269. package/esm/charts/FunnelChart.js.map +1 -1
  270. package/esm/charts/GaugeChart.d.ts +10 -0
  271. package/esm/charts/GaugeChart.js +11 -0
  272. package/esm/charts/GaugeChart.js.map +1 -0
  273. package/esm/charts/HeatmapChart.d.ts +10 -0
  274. package/esm/charts/HeatmapChart.js +11 -0
  275. package/esm/charts/HeatmapChart.js.map +1 -0
  276. package/esm/charts/Histogram3dChart.d.ts +10 -0
  277. package/esm/charts/Histogram3dChart.js +11 -0
  278. package/esm/charts/Histogram3dChart.js.map +1 -0
  279. package/esm/charts/HistogramChart.d.ts +1 -1
  280. package/esm/charts/HistogramChart.js +4 -3
  281. package/esm/charts/HistogramChart.js.map +1 -1
  282. package/esm/charts/LineChart.d.ts +1 -1
  283. package/esm/charts/LineChart.js +4 -2
  284. package/esm/charts/LineChart.js.map +1 -1
  285. package/esm/charts/LinearProgressChart.d.ts +1 -1
  286. package/esm/charts/LinearProgressChart.js +4 -2
  287. package/esm/charts/LinearProgressChart.js.map +1 -1
  288. package/esm/charts/LiquidChart.d.ts +10 -0
  289. package/esm/charts/LiquidChart.js +11 -0
  290. package/esm/charts/LiquidChart.js.map +1 -0
  291. package/esm/charts/MapChart.d.ts +1 -1
  292. package/esm/charts/MapChart.js +4 -2
  293. package/esm/charts/MapChart.js.map +1 -1
  294. package/esm/charts/Pie3dChart.d.ts +10 -0
  295. package/esm/charts/Pie3dChart.js +11 -0
  296. package/esm/charts/Pie3dChart.js.map +1 -0
  297. package/esm/charts/PieChart.d.ts +1 -1
  298. package/esm/charts/PieChart.js +4 -2
  299. package/esm/charts/PieChart.js.map +1 -1
  300. package/esm/charts/RadarChart.d.ts +1 -1
  301. package/esm/charts/RadarChart.js +4 -2
  302. package/esm/charts/RadarChart.js.map +1 -1
  303. package/esm/charts/RangeColumn3dChart.d.ts +10 -0
  304. package/esm/charts/RangeColumn3dChart.js +11 -0
  305. package/esm/charts/RangeColumn3dChart.js.map +1 -0
  306. package/esm/charts/RangeColumnChart.d.ts +1 -1
  307. package/esm/charts/RangeColumnChart.js +4 -2
  308. package/esm/charts/RangeColumnChart.js.map +1 -1
  309. package/esm/charts/RoseChart.d.ts +1 -1
  310. package/esm/charts/RoseChart.js +5 -2
  311. package/esm/charts/RoseChart.js.map +1 -1
  312. package/esm/charts/SankeyChart.d.ts +10 -0
  313. package/esm/charts/SankeyChart.js +11 -0
  314. package/esm/charts/SankeyChart.js.map +1 -0
  315. package/esm/charts/ScatterChart.d.ts +1 -1
  316. package/esm/charts/ScatterChart.js +4 -2
  317. package/esm/charts/ScatterChart.js.map +1 -1
  318. package/esm/charts/SequenceChart.d.ts +1 -1
  319. package/esm/charts/SequenceChart.js +4 -2
  320. package/esm/charts/SequenceChart.js.map +1 -1
  321. package/esm/charts/SunburstChart.d.ts +10 -0
  322. package/esm/charts/SunburstChart.js +11 -0
  323. package/esm/charts/SunburstChart.js.map +1 -0
  324. package/esm/charts/TreemapChart.d.ts +10 -0
  325. package/esm/charts/TreemapChart.js +11 -0
  326. package/esm/charts/TreemapChart.js.map +1 -0
  327. package/esm/charts/WaterfallChart.d.ts +10 -0
  328. package/esm/charts/WaterfallChart.js +10 -0
  329. package/esm/charts/WaterfallChart.js.map +1 -0
  330. package/esm/charts/WordCloud3dChart.d.ts +10 -0
  331. package/esm/charts/WordCloud3dChart.js +11 -0
  332. package/esm/charts/WordCloud3dChart.js.map +1 -0
  333. package/esm/charts/WordCloudChart.d.ts +1 -1
  334. package/esm/charts/WordCloudChart.js +4 -2
  335. package/esm/charts/WordCloudChart.js.map +1 -1
  336. package/esm/charts/index.d.ts +26 -10
  337. package/esm/charts/index.js +43 -11
  338. package/esm/charts/index.js.map +1 -1
  339. package/esm/charts/register.d.ts +3 -0
  340. package/esm/charts/register.js +8 -0
  341. package/esm/charts/register.js.map +1 -0
  342. package/esm/components/BaseComponent.d.ts +1 -1
  343. package/esm/components/BaseComponent.js +4 -1
  344. package/esm/components/BaseComponent.js.map +1 -1
  345. package/esm/components/Brush.js +3 -1
  346. package/esm/components/Brush.js.map +1 -1
  347. package/esm/components/ContinuousLegend.d.ts +5 -0
  348. package/esm/components/ContinuousLegend.js +8 -0
  349. package/esm/components/ContinuousLegend.js.map +1 -0
  350. package/esm/components/DataZoom.js +3 -1
  351. package/esm/components/DataZoom.js.map +1 -1
  352. package/esm/components/Indicator.js +3 -1
  353. package/esm/components/Indicator.js.map +1 -1
  354. package/esm/components/Legend.js +3 -1
  355. package/esm/components/Legend.js.map +1 -1
  356. package/esm/components/Mark.js +3 -1
  357. package/esm/components/Mark.js.map +1 -1
  358. package/esm/components/MarkArea.js +3 -1
  359. package/esm/components/MarkArea.js.map +1 -1
  360. package/esm/components/MarkLine.js +3 -1
  361. package/esm/components/MarkLine.js.map +1 -1
  362. package/esm/components/MarkPoint.js +3 -1
  363. package/esm/components/MarkPoint.js.map +1 -1
  364. package/esm/components/Player.js +3 -1
  365. package/esm/components/Player.js.map +1 -1
  366. package/esm/components/Region.d.ts +1 -2
  367. package/esm/components/Region.js.map +1 -1
  368. package/esm/components/ScrollBar.js +3 -1
  369. package/esm/components/ScrollBar.js.map +1 -1
  370. package/esm/components/Title.js +3 -1
  371. package/esm/components/Title.js.map +1 -1
  372. package/esm/components/index.d.ts +1 -0
  373. package/esm/components/index.js +2 -0
  374. package/esm/components/index.js.map +1 -1
  375. package/esm/components/tooltip/CanvasTooltip.d.ts +2 -0
  376. package/esm/components/tooltip/CanvasTooltip.js +6 -0
  377. package/esm/components/tooltip/CanvasTooltip.js.map +1 -0
  378. package/esm/components/tooltip/Tooltip.js +3 -1
  379. package/esm/components/tooltip/Tooltip.js.map +1 -1
  380. package/esm/components/tooltip/index.d.ts +1 -0
  381. package/esm/components/tooltip/index.js +2 -0
  382. package/esm/components/tooltip/index.js.map +1 -1
  383. package/esm/index.d.ts +2 -1
  384. package/esm/index.js +3 -1
  385. package/esm/index.js.map +1 -1
  386. package/esm/series/Area.js +3 -1
  387. package/esm/series/Area.js.map +1 -1
  388. package/esm/series/Bar.js +4 -2
  389. package/esm/series/Bar.js.map +1 -1
  390. package/esm/series/Bar3d.d.ts +7 -0
  391. package/esm/series/Bar3d.js +6 -0
  392. package/esm/series/Bar3d.js.map +1 -0
  393. package/esm/series/BaseSeries.d.ts +1 -1
  394. package/esm/series/BaseSeries.js +5 -2
  395. package/esm/series/BaseSeries.js.map +1 -1
  396. package/esm/series/BoxPlot.js +4 -2
  397. package/esm/series/BoxPlot.js.map +1 -1
  398. package/esm/series/CirclePacking.d.ts +7 -0
  399. package/esm/series/CirclePacking.js +6 -0
  400. package/esm/series/CirclePacking.js.map +1 -0
  401. package/esm/series/CircularProgress.js +4 -2
  402. package/esm/series/CircularProgress.js.map +1 -1
  403. package/esm/series/Correlation.d.ts +7 -0
  404. package/esm/series/Correlation.js +6 -0
  405. package/esm/series/Correlation.js.map +1 -0
  406. package/esm/series/Dot.js +4 -2
  407. package/esm/series/Dot.js.map +1 -1
  408. package/esm/series/Funnel.js +4 -2
  409. package/esm/series/Funnel.js.map +1 -1
  410. package/esm/series/Funnel3d.d.ts +7 -0
  411. package/esm/series/Funnel3d.js +6 -0
  412. package/esm/series/Funnel3d.js.map +1 -0
  413. package/esm/series/Gauge.d.ts +7 -0
  414. package/esm/series/Gauge.js +6 -0
  415. package/esm/series/Gauge.js.map +1 -0
  416. package/esm/series/Heatmap.d.ts +7 -0
  417. package/esm/series/Heatmap.js +6 -0
  418. package/esm/series/Heatmap.js.map +1 -0
  419. package/esm/series/Line.js +4 -2
  420. package/esm/series/Line.js.map +1 -1
  421. package/esm/series/LinearProgress.js +4 -2
  422. package/esm/series/LinearProgress.js.map +1 -1
  423. package/esm/series/Link.js +4 -1
  424. package/esm/series/Link.js.map +1 -1
  425. package/esm/series/Liquid.d.ts +7 -0
  426. package/esm/series/Liquid.js +6 -0
  427. package/esm/series/Liquid.js.map +1 -0
  428. package/esm/series/Map.js +4 -2
  429. package/esm/series/Map.js.map +1 -1
  430. package/esm/series/Pie.js +4 -2
  431. package/esm/series/Pie.js.map +1 -1
  432. package/esm/series/Pie3d.d.ts +7 -0
  433. package/esm/series/Pie3d.js +6 -0
  434. package/esm/series/Pie3d.js.map +1 -0
  435. package/esm/series/Radar.js +4 -2
  436. package/esm/series/Radar.js.map +1 -1
  437. package/esm/series/RangeColumn.js +4 -2
  438. package/esm/series/RangeColumn.js.map +1 -1
  439. package/esm/series/RangeColumn3d.d.ts +7 -0
  440. package/esm/series/RangeColumn3d.js +6 -0
  441. package/esm/series/RangeColumn3d.js.map +1 -0
  442. package/esm/series/Rose.js +4 -2
  443. package/esm/series/Rose.js.map +1 -1
  444. package/esm/series/Sankey.d.ts +7 -0
  445. package/esm/series/Sankey.js +6 -0
  446. package/esm/series/Sankey.js.map +1 -0
  447. package/esm/series/Scatter.js +4 -2
  448. package/esm/series/Scatter.js.map +1 -1
  449. package/esm/series/Series.js +1 -1
  450. package/esm/series/Sunburst.d.ts +7 -0
  451. package/esm/series/Sunburst.js +6 -0
  452. package/esm/series/Sunburst.js.map +1 -0
  453. package/esm/series/Treemap.d.ts +7 -0
  454. package/esm/series/Treemap.js +6 -0
  455. package/esm/series/Treemap.js.map +1 -0
  456. package/esm/series/Waterfall.d.ts +7 -0
  457. package/esm/series/Waterfall.js +6 -0
  458. package/esm/series/Waterfall.js.map +1 -0
  459. package/esm/series/WordCloud.js +3 -1
  460. package/esm/series/WordCloud.js.map +1 -1
  461. package/esm/series/WordCloud3d.d.ts +7 -0
  462. package/esm/series/WordCloud3d.js +6 -0
  463. package/esm/series/WordCloud3d.js.map +1 -0
  464. package/esm/series/index.d.ts +24 -10
  465. package/esm/series/index.js +40 -12
  466. package/esm/series/index.js.map +1 -1
  467. package/package.json +6 -6
@@ -6,5 +6,5 @@ type ComponentProps = BaseComponentProps & {
6
6
  updateId?: number;
7
7
  componentId?: number;
8
8
  };
9
- export declare const createComponent: <T extends ComponentProps>(componentName: string, specName: string, supportedEvents?: Record<string, string> | null, isSingle?: boolean) => React.FC<T>;
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
10
  export {};
@@ -6,7 +6,10 @@ import RootChartContext from "../context/chart";
6
6
 
7
7
  import { bindEventsToChart } from "../eventsUtils";
8
8
 
9
- export const createComponent = (componentName, specName, supportedEvents, isSingle) => {
9
+ import { VChart } from "@visactor/vchart";
10
+
11
+ export const createComponent = (componentName, specName, supportedEvents, isSingle, registers) => {
12
+ registers && registers.length && VChart.useRegisters(registers);
10
13
  const ignoreKeys = [ "id", "updateId", "componentId" ], notSpecKeys = supportedEvents ? Object.keys(supportedEvents).concat(ignoreKeys) : ignoreKeys, Comp = props => {
11
14
  const context = useContext(RootChartContext), eventsBinded = React.useRef(null), updateId = React.useRef(props.updateId);
12
15
  if (props.updateId !== updateId.current) {
@@ -1 +1 @@
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;AAQnD,MAAM,CAAC,MAAM,eAAe,GAAG,CAC7B,aAAqB,EACrB,QAAgB,EAChB,eAA+C,EAC/C,QAAkB,EAClB,EAAE;IACF,MAAM,UAAU,GAAG,CAAC,IAAI,EAAE,UAAU,EAAE,aAAa,CAAC,CAAC;IACrD,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';\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) => {\n const ignoreKeys = ['id', '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
+ {"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,IAAI,EAAE,UAAU,EAAE,aAAa,CAAC,CAAC;IACrD,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 = ['id', '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"]}
@@ -2,5 +2,7 @@ import { BRUSH_CUSTOMIZED_EVENTS } from "../eventsUtils";
2
2
 
3
3
  import { createComponent } from "./BaseComponent";
4
4
 
5
- export const Brush = createComponent("Brush", "brush", BRUSH_CUSTOMIZED_EVENTS, !0);
5
+ import { registerBrush } from "@visactor/vchart";
6
+
7
+ export const Brush = createComponent("Brush", "brush", BRUSH_CUSTOMIZED_EVENTS, !0, [ registerBrush ]);
6
8
  //# sourceMappingURL=Brush.js.map
@@ -1 +1 @@
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;AAKtE,MAAM,CAAC,MAAM,KAAK,GAAG,eAAe,CAAa,OAAO,EAAE,OAAO,EAAE,uBAAuB,EAAE,IAAI,CAAC,CAAC","file":"Brush.js","sourcesContent":["import { BRUSH_CUSTOMIZED_EVENTS, BrushEventProps } from '../eventsUtils';\nimport { BaseComponentProps, createComponent } from './BaseComponent';\nimport type { IBrushSpec } from '@visactor/vchart';\n\nexport type BrushProps = IBrushSpec & BaseComponentProps & BrushEventProps;\n\nexport const Brush = createComponent<BrushProps>('Brush', 'brush', BRUSH_CUSTOMIZED_EVENTS, true);\n"]}
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"]}
@@ -0,0 +1,5 @@
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>;
@@ -0,0 +1,8 @@
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
@@ -0,0 +1 @@
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"]}
@@ -2,5 +2,7 @@ import { DATAZOOM_CUSTOMIZED_EVENTS } from "../eventsUtils";
2
2
 
3
3
  import { createComponent } from "./BaseComponent";
4
4
 
5
- export const DataZoom = createComponent("DataZoom", "dataZoom", DATAZOOM_CUSTOMIZED_EVENTS);
5
+ import { registerDataZoom } from "@visactor/vchart";
6
+
7
+ export const DataZoom = createComponent("DataZoom", "dataZoom", DATAZOOM_CUSTOMIZED_EVENTS, !1, [ registerDataZoom ]);
6
8
  //# sourceMappingURL=DataZoom.js.map
@@ -1 +1 @@
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;AAItE,MAAM,CAAC,MAAM,QAAQ,GAAG,eAAe,CAAgB,UAAU,EAAE,UAAU,EAAE,0BAA0B,CAAC,CAAC","file":"DataZoom.js","sourcesContent":["import { DATAZOOM_CUSTOMIZED_EVENTS, DataZoomEventProps } from '../eventsUtils';\nimport { BaseComponentProps, createComponent } from './BaseComponent';\nimport type { IDataZoomSpec } from '@visactor/vchart';\n\nexport type DataZoomProps = IDataZoomSpec & BaseComponentProps & DataZoomEventProps;\nexport const DataZoom = createComponent<DataZoomProps>('DataZoom', 'dataZoom', DATAZOOM_CUSTOMIZED_EVENTS);\n"]}
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 +1,6 @@
1
1
  import { createComponent } from "./BaseComponent";
2
2
 
3
- export const Indicator = createComponent("Indicator", "indicator", null, !0);
3
+ import { registerIndicator } from "@visactor/vchart";
4
+
5
+ export const Indicator = createComponent("Indicator", "indicator", null, !0, [ registerIndicator ]);
4
6
  //# sourceMappingURL=Indicator.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/Indicator.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAsB,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAKtE,MAAM,CAAC,MAAM,SAAS,GAAG,eAAe,CAAiB,WAAW,EAAE,WAAW,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC","file":"Indicator.js","sourcesContent":["import { BaseComponentProps, createComponent } from './BaseComponent';\nimport type { IIndicatorSpec } from '@visactor/vchart';\n\nexport type IndicatorProps = IIndicatorSpec & BaseComponentProps;\n\nexport const Indicator = createComponent<IndicatorProps>('Indicator', 'indicator', null, true);\n"]}
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"]}
@@ -2,5 +2,7 @@ import { LEGEND_CUSTOMIZED_EVENTS } from "../eventsUtils";
2
2
 
3
3
  import { createComponent } from "./BaseComponent";
4
4
 
5
- export const Legend = createComponent("Legend", "legends", LEGEND_CUSTOMIZED_EVENTS);
5
+ import { registerDiscreteLegend } from "@visactor/vchart";
6
+
7
+ export const Legend = createComponent("Legend", "legends", LEGEND_CUSTOMIZED_EVENTS, !1, [ registerDiscreteLegend ]);
6
8
  //# sourceMappingURL=Legend.js.map
@@ -1 +1 @@
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;AAItE,MAAM,CAAC,MAAM,MAAM,GAAG,eAAe,CAAc,QAAQ,EAAE,SAAS,EAAE,wBAAwB,CAAC,CAAC","file":"Legend.js","sourcesContent":["import type { IDiscreteLegendSpec } from '@visactor/vchart';\nimport { LEGEND_CUSTOMIZED_EVENTS, LegendEventProps } from '../eventsUtils';\nimport { BaseComponentProps, createComponent } from './BaseComponent';\n\nexport type LegendProps = BaseComponentProps & IDiscreteLegendSpec & LegendEventProps;\n\nexport const Legend = createComponent<LegendProps>('Legend', 'legends', LEGEND_CUSTOMIZED_EVENTS);\n"]}
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 +1,6 @@
1
1
  import { createComponent } from "./BaseComponent";
2
2
 
3
- export const Mark = createComponent("Mark", "customMark");
3
+ import { registerCustomMark, registerAllMarks } from "@visactor/vchart";
4
+
5
+ export const Mark = createComponent("Mark", "customMark", null, !1, [ registerCustomMark, registerAllMarks ]);
4
6
  //# sourceMappingURL=Mark.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/Mark.tsx"],"names":[],"mappings":"AACA,OAAO,EAAsB,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAItE,MAAM,CAAC,MAAM,IAAI,GAAG,eAAe,CAAY,MAAM,EAAE,YAAY,CAAC,CAAC","file":"Mark.js","sourcesContent":["import type { ICustomMarkSpec, EnableMarkType } from '@visactor/vchart';\nimport { BaseComponentProps, createComponent } from './BaseComponent';\n\nexport type MarkProps = ICustomMarkSpec<EnableMarkType> & BaseComponentProps;\n\nexport const Mark = createComponent<MarkProps>('Mark', 'customMark');\n"]}
1
+ {"version":3,"sources":["../src/components/Mark.tsx"],"names":[],"mappings":"AACA,OAAO,EAAsB,eAAe,EAAE,MAAM,iBAAiB,CAAC;AACtE,OAAO,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAIxE,MAAM,CAAC,MAAM,IAAI,GAAG,eAAe,CAAY,MAAM,EAAE,YAAY,EAAE,IAAI,EAAE,KAAK,EAAE;IAChF,kBAAkB;IAClB,gBAAgB;CACjB,CAAC,CAAC","file":"Mark.js","sourcesContent":["import type { ICustomMarkSpec, EnableMarkType } from '@visactor/vchart';\nimport { BaseComponentProps, createComponent } from './BaseComponent';\nimport { registerCustomMark, registerAllMarks } from '@visactor/vchart';\n\nexport type MarkProps = ICustomMarkSpec<EnableMarkType> & BaseComponentProps;\n\nexport const Mark = createComponent<MarkProps>('Mark', 'customMark', null, false, [\n registerCustomMark,\n registerAllMarks\n]);\n"]}
@@ -1,4 +1,6 @@
1
1
  import { createComponent } from "./BaseComponent";
2
2
 
3
- export const MarkArea = createComponent("MarkArea", "markArea");
3
+ import { registerMarkArea } from "@visactor/vchart";
4
+
5
+ export const MarkArea = createComponent("MarkArea", "markArea", null, !1, [ registerMarkArea ]);
4
6
  //# sourceMappingURL=MarkArea.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/MarkArea.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAsB,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAKtE,MAAM,CAAC,MAAM,QAAQ,GAAG,eAAe,CAAgB,UAAU,EAAE,UAAU,CAAC,CAAC","file":"MarkArea.js","sourcesContent":["import { BaseComponentProps, createComponent } from './BaseComponent';\nimport type { IMarkAreaSpec } from '@visactor/vchart';\n\nexport type MarkAreaProps = IMarkAreaSpec & BaseComponentProps;\n\nexport const MarkArea = createComponent<MarkAreaProps>('MarkArea', 'markArea');\n"]}
1
+ {"version":3,"sources":["../src/components/MarkArea.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAsB,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAEtE,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAIpD,MAAM,CAAC,MAAM,QAAQ,GAAG,eAAe,CAAgB,UAAU,EAAE,UAAU,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,gBAAgB,CAAC,CAAC,CAAC","file":"MarkArea.js","sourcesContent":["import { BaseComponentProps, createComponent } from './BaseComponent';\nimport type { IMarkAreaSpec } from '@visactor/vchart';\nimport { registerMarkArea } from '@visactor/vchart';\n\nexport type MarkAreaProps = IMarkAreaSpec & BaseComponentProps;\n\nexport const MarkArea = createComponent<MarkAreaProps>('MarkArea', 'markArea', null, false, [registerMarkArea]);\n"]}
@@ -1,4 +1,6 @@
1
1
  import { createComponent } from "./BaseComponent";
2
2
 
3
- export const MarkLine = createComponent("MarkLine", "markLine");
3
+ import { registerMarkLine } from "@visactor/vchart";
4
+
5
+ export const MarkLine = createComponent("MarkLine", "markLine", null, !1, [ registerMarkLine ]);
4
6
  //# sourceMappingURL=MarkLine.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/MarkLine.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAsB,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAKtE,MAAM,CAAC,MAAM,QAAQ,GAAG,eAAe,CAAgB,UAAU,EAAE,UAAU,CAAC,CAAC","file":"MarkLine.js","sourcesContent":["import { BaseComponentProps, createComponent } from './BaseComponent';\nimport type { IMarkLineSpec } from '@visactor/vchart';\n\nexport type MarkLineProps = IMarkLineSpec & BaseComponentProps;\n\nexport const MarkLine = createComponent<MarkLineProps>('MarkLine', 'markLine');\n"]}
1
+ {"version":3,"sources":["../src/components/MarkLine.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAsB,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAEtE,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAIpD,MAAM,CAAC,MAAM,QAAQ,GAAG,eAAe,CAAgB,UAAU,EAAE,UAAU,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,gBAAgB,CAAC,CAAC,CAAC","file":"MarkLine.js","sourcesContent":["import { BaseComponentProps, createComponent } from './BaseComponent';\nimport type { IMarkLineSpec } from '@visactor/vchart';\nimport { registerMarkLine } from '@visactor/vchart';\n\nexport type MarkLineProps = IMarkLineSpec & BaseComponentProps;\n\nexport const MarkLine = createComponent<MarkLineProps>('MarkLine', 'markLine', null, false, [registerMarkLine]);\n"]}
@@ -1,4 +1,6 @@
1
1
  import { createComponent } from "./BaseComponent";
2
2
 
3
- export const MarkPoint = createComponent("MarkPoint", "markPoint");
3
+ import { registerMarkPoint } from "@visactor/vchart";
4
+
5
+ export const MarkPoint = createComponent("MarkPoint", "markPoint", null, !1, [ registerMarkPoint ]);
4
6
  //# sourceMappingURL=MarkPoint.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/MarkPoint.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":"MarkPoint.js","sourcesContent":["import { BaseComponentProps, createComponent } from './BaseComponent';\nimport type { IMarkPointSpec } from '@visactor/vchart';\n\nexport type MarkPointProps = IMarkPointSpec & BaseComponentProps;\n\nexport const MarkPoint = createComponent<MarkPointProps>('MarkPoint', 'markPoint');\n"]}
1
+ {"version":3,"sources":["../src/components/MarkPoint.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,KAAK,EAAE,CAAC,iBAAiB,CAAC,CAAC,CAAC","file":"MarkPoint.js","sourcesContent":["import { BaseComponentProps, createComponent } from './BaseComponent';\nimport type { IMarkPointSpec } from '@visactor/vchart';\nimport { registerMarkPoint } from '@visactor/vchart';\n\nexport type MarkPointProps = IMarkPointSpec & BaseComponentProps;\n\nexport const MarkPoint = createComponent<MarkPointProps>('MarkPoint', 'markPoint', null, false, [registerMarkPoint]);\n"]}
@@ -2,5 +2,7 @@ import { PLAYER_CUSTOMIZED_EVENTS } from "../eventsUtils";
2
2
 
3
3
  import { createComponent } from "./BaseComponent";
4
4
 
5
- export const Player = createComponent("Player", "player", PLAYER_CUSTOMIZED_EVENTS, !0);
5
+ import { registerPlayer } from "@visactor/vchart";
6
+
7
+ export const Player = createComponent("Player", "player", PLAYER_CUSTOMIZED_EVENTS, !0, [ registerPlayer ]);
6
8
  //# sourceMappingURL=Player.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/Player.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAoB,MAAM,gBAAgB,CAAC;AAC5E,OAAO,EAAsB,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAKtE,MAAM,CAAC,MAAM,MAAM,GAAG,eAAe,CAAc,QAAQ,EAAE,QAAQ,EAAE,wBAAwB,EAAE,IAAI,CAAC,CAAC","file":"Player.js","sourcesContent":["import { PLAYER_CUSTOMIZED_EVENTS, PlayerEventProps } from '../eventsUtils';\nimport { BaseComponentProps, createComponent } from './BaseComponent';\nimport type { IPlayerSpec } from '@visactor/vchart';\n\nexport type PlayerProps = IPlayerSpec & BaseComponentProps & PlayerEventProps;\n\nexport const Player = createComponent<PlayerProps>('Player', 'player', PLAYER_CUSTOMIZED_EVENTS, true);\n"]}
1
+ {"version":3,"sources":["../src/components/Player.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAoB,MAAM,gBAAgB,CAAC;AAC5E,OAAO,EAAsB,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAEtE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAIlD,MAAM,CAAC,MAAM,MAAM,GAAG,eAAe,CAAc,QAAQ,EAAE,QAAQ,EAAE,wBAAwB,EAAE,IAAI,EAAE;IACrG,cAAc;CACf,CAAC,CAAC","file":"Player.js","sourcesContent":["import { PLAYER_CUSTOMIZED_EVENTS, PlayerEventProps } from '../eventsUtils';\nimport { BaseComponentProps, createComponent } from './BaseComponent';\nimport type { IPlayerSpec } from '@visactor/vchart';\nimport { registerPlayer } from '@visactor/vchart';\n\nexport type PlayerProps = IPlayerSpec & BaseComponentProps & PlayerEventProps;\n\nexport const Player = createComponent<PlayerProps>('Player', 'player', PLAYER_CUSTOMIZED_EVENTS, true, [\n registerPlayer\n]);\n"]}
@@ -1,5 +1,4 @@
1
1
  import type { IRegionSpec } from '@visactor/vchart';
2
2
  import { BaseComponentProps } from './BaseComponent';
3
- export interface RegionProps extends BaseComponentProps, IRegionSpec {
4
- }
3
+ export type RegionProps = BaseComponentProps & IRegionSpec;
5
4
  export declare const Region: import("react").FC<RegionProps>;
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/Region.tsx"],"names":[],"mappings":"AACA,OAAO,EAAsB,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAMtE,MAAM,CAAC,MAAM,MAAM,GAAG,eAAe,CAAc,QAAQ,EAAE,QAAQ,CAAC,CAAC","file":"Region.js","sourcesContent":["import type { IRegionSpec } from '@visactor/vchart';\nimport { BaseComponentProps, createComponent } from './BaseComponent';\n\nexport interface RegionProps extends BaseComponentProps, IRegionSpec {\n //\n}\n\nexport const Region = createComponent<RegionProps>('Region', 'region');\n"]}
1
+ {"version":3,"sources":["../src/components/Region.tsx"],"names":[],"mappings":"AACA,OAAO,EAAsB,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAItE,MAAM,CAAC,MAAM,MAAM,GAAG,eAAe,CAAc,QAAQ,EAAE,QAAQ,CAAC,CAAC","file":"Region.js","sourcesContent":["import type { IRegionSpec } from '@visactor/vchart';\nimport { BaseComponentProps, createComponent } from './BaseComponent';\n\nexport type RegionProps = BaseComponentProps & IRegionSpec;\n\nexport const Region = createComponent<RegionProps>('Region', 'region');\n"]}
@@ -2,5 +2,7 @@ import { SCROLLBAR_CUSTOMIZED_EVENTS } from "../eventsUtils";
2
2
 
3
3
  import { createComponent } from "./BaseComponent";
4
4
 
5
- export const ScrollBar = createComponent("ScrollBar", "scrollBar", SCROLLBAR_CUSTOMIZED_EVENTS);
5
+ import { registerScrollBar } from "@visactor/vchart";
6
+
7
+ export const ScrollBar = createComponent("ScrollBar", "scrollBar", SCROLLBAR_CUSTOMIZED_EVENTS, !1, [ registerScrollBar ]);
6
8
  //# sourceMappingURL=ScrollBar.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/ScrollBar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAuB,MAAM,gBAAgB,CAAC;AAClF,OAAO,EAAsB,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAKtE,MAAM,CAAC,MAAM,SAAS,GAAG,eAAe,CAAiB,WAAW,EAAE,WAAW,EAAE,2BAA2B,CAAC,CAAC","file":"ScrollBar.js","sourcesContent":["import { SCROLLBAR_CUSTOMIZED_EVENTS, ScrollBarEventProps } from '../eventsUtils';\nimport { BaseComponentProps, createComponent } from './BaseComponent';\nimport type { IScrollBarSpec } from '@visactor/vchart';\n\nexport type ScrollBarProps = IScrollBarSpec & BaseComponentProps & ScrollBarEventProps;\n\nexport const ScrollBar = createComponent<ScrollBarProps>('ScrollBar', 'scrollBar', SCROLLBAR_CUSTOMIZED_EVENTS);\n"]}
1
+ {"version":3,"sources":["../src/components/ScrollBar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAuB,MAAM,gBAAgB,CAAC;AAClF,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,2BAA2B,EAAE,KAAK,EAAE;IACrH,iBAAiB;CAClB,CAAC,CAAC","file":"ScrollBar.js","sourcesContent":["import { SCROLLBAR_CUSTOMIZED_EVENTS, ScrollBarEventProps } from '../eventsUtils';\nimport { BaseComponentProps, createComponent } from './BaseComponent';\nimport type { IScrollBarSpec } from '@visactor/vchart';\nimport { registerScrollBar } from '@visactor/vchart';\n\nexport type ScrollBarProps = IScrollBarSpec & BaseComponentProps & ScrollBarEventProps;\n\nexport const ScrollBar = createComponent<ScrollBarProps>('ScrollBar', 'scrollBar', SCROLLBAR_CUSTOMIZED_EVENTS, false, [\n registerScrollBar\n]);\n"]}
@@ -1,4 +1,6 @@
1
1
  import { createComponent } from "./BaseComponent";
2
2
 
3
- export const Title = createComponent("Title", "title", null, !0);
3
+ import { registerTitle } from "@visactor/vchart";
4
+
5
+ export const Title = createComponent("Title", "title", null, !0, [ registerTitle ]);
4
6
  //# sourceMappingURL=Title.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/Title.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAsB,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAKtE,MAAM,CAAC,MAAM,KAAK,GAAG,eAAe,CAAa,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC","file":"Title.js","sourcesContent":["import { BaseComponentProps, createComponent } from './BaseComponent';\nimport type { ITitleSpec } from '@visactor/vchart';\n\nexport type TitleProps = ITitleSpec & BaseComponentProps;\n\nexport const Title = createComponent<TitleProps>('Title', 'title', null, true);\n"]}
1
+ {"version":3,"sources":["../src/components/Title.tsx"],"names":[],"mappings":"AAAA,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,IAAI,EAAE,IAAI,EAAE,CAAC,aAAa,CAAC,CAAC,CAAC","file":"Title.js","sourcesContent":["import { BaseComponentProps, createComponent } from './BaseComponent';\nimport type { ITitleSpec } from '@visactor/vchart';\nimport { registerTitle } from '@visactor/vchart';\n\nexport type TitleProps = ITitleSpec & BaseComponentProps;\n\nexport const Title = createComponent<TitleProps>('Title', 'title', null, true, [registerTitle]);\n"]}
@@ -13,3 +13,4 @@ export * from './tooltip';
13
13
  export * from './Player';
14
14
  export * from './Indicator';
15
15
  export * from './Title';
16
+ export * from './ContinuousLegend';
@@ -27,4 +27,6 @@ export * from "./Player";
27
27
  export * from "./Indicator";
28
28
 
29
29
  export * from "./Title";
30
+
31
+ export * from "./ContinuousLegend";
30
32
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC","file":"index.js","sourcesContent":["export * from './Axis';\nexport * from './Mark';\nexport * from './Region';\nexport * from './Legend';\nexport * from './Brush';\nexport * from './Crosshair';\nexport * from './DataZoom';\nexport * from './MarkLine';\nexport * from './MarkArea';\nexport * from './MarkPoint';\nexport * from './ScrollBar';\nexport * from './tooltip';\nexport * from './Player';\nexport * from './Indicator';\nexport * from './Title';\n"]}
1
+ {"version":3,"sources":["../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,oBAAoB,CAAC","file":"index.js","sourcesContent":["export * from './Axis';\nexport * from './Mark';\nexport * from './Region';\nexport * from './Legend';\nexport * from './Brush';\nexport * from './Crosshair';\nexport * from './DataZoom';\nexport * from './MarkLine';\nexport * from './MarkArea';\nexport * from './MarkPoint';\nexport * from './ScrollBar';\nexport * from './tooltip';\nexport * from './Player';\nexport * from './Indicator';\nexport * from './Title';\nexport * from './ContinuousLegend';\n"]}
@@ -0,0 +1,2 @@
1
+ import { TooltipProps } from './interface';
2
+ export declare const CanvasTooltip: import("react").FC<TooltipProps>;
@@ -0,0 +1,6 @@
1
+ import { createComponent } from "../BaseComponent";
2
+
3
+ import { registerTooltip, registerCanvasTooltipHandler } from "@visactor/vchart";
4
+
5
+ export const CanvasTooltip = createComponent("CanvasTooltip", "tooltip", null, !0, [ registerTooltip, registerCanvasTooltipHandler ]);
6
+ //# sourceMappingURL=CanvasTooltip.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/tooltip/CanvasTooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAEnD,OAAO,EAAE,eAAe,EAAE,4BAA4B,EAAE,MAAM,kBAAkB,CAAC;AAEjF,MAAM,CAAC,MAAM,aAAa,GAAG,eAAe,CAAe,eAAe,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE;IACjG,eAAe;IACf,4BAA4B;CAC7B,CAAC,CAAC","file":"CanvasTooltip.js","sourcesContent":["import { createComponent } from '../BaseComponent';\nimport { TooltipProps } from './interface';\nimport { registerTooltip, registerCanvasTooltipHandler } from '@visactor/vchart';\n\nexport const CanvasTooltip = createComponent<TooltipProps>('CanvasTooltip', 'tooltip', null, true, [\n registerTooltip,\n registerCanvasTooltipHandler\n]);\n"]}
@@ -1,4 +1,6 @@
1
1
  import { createComponent } from "../BaseComponent";
2
2
 
3
- export const Tooltip = createComponent("Tooltip", "tooltip", null, !0);
3
+ import { registerTooltip, registerDomTooltipHandler } from "@visactor/vchart";
4
+
5
+ export const Tooltip = createComponent("Tooltip", "tooltip", null, !0, [ registerTooltip, registerDomTooltipHandler ]);
4
6
  //# sourceMappingURL=Tooltip.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/tooltip/Tooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAGnD,MAAM,CAAC,MAAM,OAAO,GAAG,eAAe,CAAe,SAAS,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC","file":"Tooltip.js","sourcesContent":["import { createComponent } from '../BaseComponent';\nimport { TooltipProps } from './interface';\n\nexport const Tooltip = createComponent<TooltipProps>('Tooltip', 'tooltip', null, true);\n"]}
1
+ {"version":3,"sources":["../src/components/tooltip/Tooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAEnD,OAAO,EAAE,eAAe,EAAE,yBAAyB,EAAE,MAAM,kBAAkB,CAAC;AAE9E,MAAM,CAAC,MAAM,OAAO,GAAG,eAAe,CAAe,SAAS,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE;IACrF,eAAe;IACf,yBAAyB;CAC1B,CAAC,CAAC","file":"Tooltip.js","sourcesContent":["import { createComponent } from '../BaseComponent';\nimport { TooltipProps } from './interface';\nimport { registerTooltip, registerDomTooltipHandler } from '@visactor/vchart';\n\nexport const Tooltip = createComponent<TooltipProps>('Tooltip', 'tooltip', null, true, [\n registerTooltip,\n registerDomTooltipHandler\n]);\n"]}
@@ -1,3 +1,4 @@
1
1
  export * from './Tooltip';
2
2
  export * from './interface';
3
3
  export * from './constant';
4
+ export * from './CanvasTooltip';
@@ -3,4 +3,6 @@ export * from "./Tooltip";
3
3
  export * from "./interface";
4
4
 
5
5
  export * from "./constant";
6
+
7
+ export * from "./CanvasTooltip";
6
8
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/tooltip/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC","file":"index.js","sourcesContent":["export * from './Tooltip';\nexport * from './interface';\nexport * from './constant';\n"]}
1
+ {"version":3,"sources":["../src/components/tooltip/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC","file":"index.js","sourcesContent":["export * from './Tooltip';\nexport * from './interface';\nexport * from './constant';\nexport * from './CanvasTooltip';\n"]}
package/esm/index.d.ts CHANGED
@@ -3,5 +3,6 @@ export * from './series';
3
3
  export * from './components';
4
4
  export * from './VChart';
5
5
  export * from './VChartSimple';
6
- export declare const version = "1.11.0-alpha.2";
6
+ export { VChart as VChartCore } from '@visactor/vchart';
7
+ export declare const version = "1.11.0";
7
8
  export type { IAreaChartSpec, IBarChartSpec, IBar3dChartSpec, IBoxPlotChartSpec, ICirclePackingChartSpec, ICommonChartSpec, IFunnelChartSpec, IFunnel3dChartSpec, IGaugeChartSpec, IHeatmapChartSpec, IHistogramChartSpec, IHistogram3dChartSpec, ILineChartSpec, IMapChartSpec, IPieChartSpec, IPie3dChartSpec, ICircularProgressChartSpec, ILinearProgressChartSpec, IRadarChartSpec, IRangeColumnChartSpec, IRangeColumn3dChartSpec, IRangeAreaChartSpec, IRoseChartSpec, IScatterChartSpec, ISankeyChartSpec, ISequenceChartSpec, ISunburstChartSpec, ITreemapChartSpec, IWaterfallChartSpec, ICorrelationChartSpec, ILiquidChartSpec, IWordCloud3dChartSpec, IWordCloudChartSpec, IPolarChartSpec, ICartesianChartSpec, ITheme, IInitOption, ISpec, IVChart } from '@visactor/vchart';
package/esm/index.js CHANGED
@@ -8,5 +8,7 @@ export * from "./VChart";
8
8
 
9
9
  export * from "./VChartSimple";
10
10
 
11
- export const version = "1.11.0-alpha.2";
11
+ export { VChart as VChartCore } from "@visactor/vchart";
12
+
13
+ export const version = "1.11.0";
12
14
  //# sourceMappingURL=index.js.map
package/esm/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAG/B,MAAM,CAAC,MAAM,OAAO,GAAG,gBAAgB,CAAC","file":"index.js","sourcesContent":["export * from './charts';\nexport * from './series';\nexport * from './components';\nexport * from './VChart';\nexport * from './VChartSimple';\n\n// export the version, since @1.8.3\nexport const version = \"1.11.0-alpha.2\";\n\nexport type {\n IAreaChartSpec,\n IBarChartSpec,\n IBar3dChartSpec,\n IBoxPlotChartSpec,\n ICirclePackingChartSpec,\n ICommonChartSpec,\n IFunnelChartSpec,\n IFunnel3dChartSpec,\n IGaugeChartSpec,\n IHeatmapChartSpec,\n IHistogramChartSpec,\n IHistogram3dChartSpec,\n ILineChartSpec,\n IMapChartSpec,\n IPieChartSpec,\n IPie3dChartSpec,\n ICircularProgressChartSpec,\n ILinearProgressChartSpec,\n IRadarChartSpec,\n IRangeColumnChartSpec,\n IRangeColumn3dChartSpec,\n IRangeAreaChartSpec,\n IRoseChartSpec,\n IScatterChartSpec,\n ISankeyChartSpec,\n ISequenceChartSpec,\n ISunburstChartSpec,\n ITreemapChartSpec,\n IWaterfallChartSpec,\n ICorrelationChartSpec,\n ILiquidChartSpec,\n IWordCloud3dChartSpec,\n IWordCloudChartSpec,\n IPolarChartSpec,\n ICartesianChartSpec,\n ITheme,\n IInitOption,\n ISpec,\n IVChart\n} from '@visactor/vchart';\n"]}
1
+ {"version":3,"sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,OAAO,EAAE,MAAM,IAAI,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAGxD,MAAM,CAAC,MAAM,OAAO,GAAG,QAAQ,CAAC","file":"index.js","sourcesContent":["export * from './charts';\nexport * from './series';\nexport * from './components';\nexport * from './VChart';\nexport * from './VChartSimple';\nexport { VChart as VChartCore } from '@visactor/vchart';\n\n// export the version, since @1.8.3\nexport const version = \"1.11.0\";\n\nexport type {\n IAreaChartSpec,\n IBarChartSpec,\n IBar3dChartSpec,\n IBoxPlotChartSpec,\n ICirclePackingChartSpec,\n ICommonChartSpec,\n IFunnelChartSpec,\n IFunnel3dChartSpec,\n IGaugeChartSpec,\n IHeatmapChartSpec,\n IHistogramChartSpec,\n IHistogram3dChartSpec,\n ILineChartSpec,\n IMapChartSpec,\n IPieChartSpec,\n IPie3dChartSpec,\n ICircularProgressChartSpec,\n ILinearProgressChartSpec,\n IRadarChartSpec,\n IRangeColumnChartSpec,\n IRangeColumn3dChartSpec,\n IRangeAreaChartSpec,\n IRoseChartSpec,\n IScatterChartSpec,\n ISankeyChartSpec,\n ISequenceChartSpec,\n ISunburstChartSpec,\n ITreemapChartSpec,\n IWaterfallChartSpec,\n ICorrelationChartSpec,\n ILiquidChartSpec,\n IWordCloud3dChartSpec,\n IWordCloudChartSpec,\n IPolarChartSpec,\n ICartesianChartSpec,\n ITheme,\n IInitOption,\n ISpec,\n IVChart\n} from '@visactor/vchart';\n"]}
@@ -1,4 +1,6 @@
1
1
  import { createSeries } from "./BaseSeries";
2
2
 
3
- export const Area = createSeries("Area", [ "area" ], "area");
3
+ import { registerAreaSeries } from "@visactor/vchart";
4
+
5
+ export const Area = createSeries("Area", [ "area" ], "area", [ registerAreaSeries ]);
4
6
  //# sourceMappingURL=Area.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/series/Area.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAmB,YAAY,EAAE,MAAM,cAAc,CAAC;AAI7D,MAAM,CAAC,MAAM,IAAI,GAAG,YAAY,CAAY,MAAM,EAAE,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,CAAC","file":"Area.js","sourcesContent":["import { BaseSeriesProps, createSeries } from './BaseSeries';\nimport type { IAreaSeriesSpec } from '@visactor/vchart';\n\nexport type AreaProps = BaseSeriesProps & Omit<IAreaSeriesSpec, 'type'>;\nexport const Area = createSeries<AreaProps>('Area', ['area'], 'area');\n"]}
1
+ {"version":3,"sources":["../src/series/Area.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAmB,YAAY,EAAE,MAAM,cAAc,CAAC;AAE7D,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAGtD,MAAM,CAAC,MAAM,IAAI,GAAG,YAAY,CAAY,MAAM,EAAE,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC,kBAAkB,CAAC,CAAC,CAAC","file":"Area.js","sourcesContent":["import { BaseSeriesProps, createSeries } from './BaseSeries';\nimport type { IAreaSeriesSpec } from '@visactor/vchart';\nimport { registerAreaSeries } from '@visactor/vchart';\n\nexport type AreaProps = BaseSeriesProps & Omit<IAreaSeriesSpec, 'type'>;\nexport const Area = createSeries<AreaProps>('Area', ['area'], 'area', [registerAreaSeries]);\n"]}
package/esm/series/Bar.js CHANGED
@@ -1,4 +1,6 @@
1
1
  import { createSeries } from "./BaseSeries";
2
2
 
3
- export const Bar = createSeries("Bar", [ "bar" ], "bar");
4
- //# sourceMappingURL=Bar.js.map
3
+ import { registerBarSeries } from "@visactor/vchart";
4
+
5
+ export const Bar = createSeries("Bar", [ "bar" ], "bar", [ registerBarSeries ]);
6
+ //# sourceMappingURL=Bar.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/series/Bar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAmB,YAAY,EAAE,MAAM,cAAc,CAAC;AAM7D,MAAM,CAAC,MAAM,GAAG,GAAG,YAAY,CAAW,KAAK,EAAE,CAAC,KAAK,CAAC,EAAE,KAAK,CAAC,CAAC","file":"Bar.js","sourcesContent":["import { BaseSeriesProps, createSeries } from './BaseSeries';\n\nimport type { IBarSeriesSpec } from '@visactor/vchart';\n\nexport type BarProps = BaseSeriesProps & Omit<IBarSeriesSpec, 'type'>;\n\nexport const Bar = createSeries<BarProps>('Bar', ['bar'], 'bar');\n"]}
1
+ {"version":3,"sources":["../src/series/Bar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAmB,YAAY,EAAE,MAAM,cAAc,CAAC;AAE7D,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAIrD,MAAM,CAAC,MAAM,GAAG,GAAG,YAAY,CAAW,KAAK,EAAE,CAAC,KAAK,CAAC,EAAE,KAAK,EAAE,CAAC,iBAAiB,CAAC,CAAC,CAAC","file":"Bar.js","sourcesContent":["import { BaseSeriesProps, createSeries } from './BaseSeries';\nimport type { IBarSeriesSpec } from '@visactor/vchart';\nimport { registerBarSeries } from '@visactor/vchart';\n\nexport type BarProps = BaseSeriesProps & Omit<IBarSeriesSpec, 'type'>;\n\nexport const Bar = createSeries<BarProps>('Bar', ['bar'], 'bar', [registerBarSeries]);\n"]}
@@ -0,0 +1,7 @@
1
+ import { BaseSeriesProps } from './BaseSeries';
2
+ import type { IBar3dSeriesSpec } from '@visactor/vchart';
3
+ export type Bar3dProps = BaseSeriesProps & Omit<IBar3dSeriesSpec, 'type'>;
4
+ export declare const Bar3d: import("react").FC<BaseSeriesProps & Omit<IBar3dSeriesSpec, "type"> & {
5
+ updateId?: number;
6
+ componentId?: string;
7
+ }>;
@@ -0,0 +1,6 @@
1
+ import { createSeries } from "./BaseSeries";
2
+
3
+ import { registerBar3dSeries } from "@visactor/vchart";
4
+
5
+ export const Bar3d = createSeries("Bar3d", [ "bar" ], "bar3d", [ registerBar3dSeries ]);
6
+ //# sourceMappingURL=Bar3d.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/series/Bar3d.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAmB,YAAY,EAAE,MAAM,cAAc,CAAC;AAE7D,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAIvD,MAAM,CAAC,MAAM,KAAK,GAAG,YAAY,CAAa,OAAO,EAAE,CAAC,KAAK,CAAC,EAAE,OAAO,EAAE,CAAC,mBAAmB,CAAC,CAAC,CAAC","file":"Bar3d.js","sourcesContent":["import { BaseSeriesProps, createSeries } from './BaseSeries';\nimport type { IBar3dSeriesSpec } from '@visactor/vchart';\nimport { registerBar3dSeries } from '@visactor/vchart';\n\nexport type Bar3dProps = BaseSeriesProps & Omit<IBar3dSeriesSpec, 'type'>;\n\nexport const Bar3d = createSeries<Bar3dProps>('Bar3d', ['bar'], 'bar3d', [registerBar3dSeries]);\n"]}
@@ -3,7 +3,7 @@ import { EventsProps } from '../eventsUtils';
3
3
  export interface BaseSeriesProps extends EventsProps {
4
4
  id?: string | number;
5
5
  }
6
- export declare const createSeries: <T extends BaseSeriesProps>(componentName: string, markNames: string[], type?: string) => React.FC<T & {
6
+ export declare const createSeries: <T extends BaseSeriesProps>(componentName: string, markNames: string[], type?: string, registers?: (() => void)[]) => React.FC<T & {
7
7
  updateId?: number;
8
8
  componentId?: string;
9
9
  }>;
@@ -6,7 +6,10 @@ import RootChartContext from "../context/chart";
6
6
 
7
7
  import { REACT_TO_VCHART_EVENTS, findEventProps, COMMON_EVENTK_KEYS, VCHART_TO_REACT_EVENTS } from "../eventsUtils";
8
8
 
9
- export const createSeries = (componentName, markNames, type) => {
9
+ import { VChart } from "@visactor/vchart";
10
+
11
+ export const createSeries = (componentName, markNames, type, registers) => {
12
+ registers && registers.length && VChart.useRegisters(registers);
10
13
  const notSpecKeys = COMMON_EVENTK_KEYS.concat([ "id", "updateId", "componentId" ]), Comp = props => {
11
14
  var _a;
12
15
  const context = React.useContext(RootChartContext), id = null !== (_a = props.id) && void 0 !== _a ? _a : props.componentId, bindedEvents = React.useRef({}), handleEvent = e => {
@@ -42,4 +45,4 @@ export const createSeries = (componentName, markNames, type) => {
42
45
  };
43
46
  }, Comp;
44
47
  };
45
- //# sourceMappingURL=BaseSeries.js.map
48
+ //# sourceMappingURL=BaseSeries.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/series/BaseSeries.tsx"],"names":[],"mappings":"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","file":"BaseSeries.js","sourcesContent":["import React from 'react';\nimport { isNil, pickWithout } from '@visactor/vutils';\nimport RootChartContext from '../context/chart';\nimport {\n REACT_TO_VCHART_EVENTS,\n EventsProps,\n findEventProps,\n COMMON_EVENTK_KEYS,\n VCHART_TO_REACT_EVENTS\n} from '../eventsUtils';\nexport interface BaseSeriesProps extends EventsProps {\n id?: string | number;\n}\n\nexport const createSeries = <T extends BaseSeriesProps>(componentName: string, markNames: string[], type?: string) => {\n const ignoreKeys = ['id', 'updateId', 'componentId'];\n const notSpecKeys = COMMON_EVENTK_KEYS.concat(ignoreKeys);\n\n const addMarkId = (spec: any, seriesId: string | number) => {\n markNames.forEach(markName => {\n const defaultMarkId = `${seriesId}-${markName}`;\n\n if (isNil(spec[markName])) {\n spec[markName] = { id: defaultMarkId };\n } else if (isNil(spec[markName].id)) {\n spec[markName].id = defaultMarkId;\n }\n });\n };\n\n const Comp: React.FC<T & { updateId?: number; componentId?: string }> = props => {\n const context = React.useContext(RootChartContext);\n\n const id = props.id ?? props.componentId;\n const bindedEvents = React.useRef<Record<string, (e: any) => void>>({});\n\n const handleEvent = (e: any) => {\n const markIds = markNames.map(markName => `${id}-${markName}`);\n if (e?.mark && markIds.includes(e.mark.getUserId())) {\n props[VCHART_TO_REACT_EVENTS[e.event.type]](e);\n }\n };\n\n const addMarkEvent = (events: EventsProps) => {\n if (!events || !context.chart) {\n return;\n }\n\n if (bindedEvents.current) {\n Object.keys(bindedEvents.current).forEach(eventKey => {\n context.chart.off(REACT_TO_VCHART_EVENTS[eventKey], bindedEvents.current[eventKey]);\n bindedEvents.current[eventKey] = null;\n });\n }\n\n events &&\n Object.keys(events).forEach(eventKey => {\n if (!bindedEvents.current?.[eventKey]) {\n context.chart.on(REACT_TO_VCHART_EVENTS[eventKey], handleEvent);\n\n if (!bindedEvents.current) {\n bindedEvents.current = {};\n }\n bindedEvents.current[eventKey] = handleEvent;\n }\n });\n };\n\n const removeMarkEvent = () => {\n addMarkEvent({});\n };\n\n addMarkEvent(findEventProps(props));\n\n React.useEffect(() => {\n return () => {\n removeMarkEvent();\n bindedEvents.current = {};\n };\n }, []);\n\n return null;\n };\n\n Comp.displayName = componentName;\n (Comp as any).parseSpec = (compProps: T & { updateId?: number; componentId?: string }) => {\n const newSeriesSpec = pickWithout<T>(compProps, notSpecKeys);\n\n addMarkId(newSeriesSpec, compProps.id ?? compProps.componentId);\n\n if (!isNil(type)) {\n (newSeriesSpec as any).type = type;\n }\n\n return {\n spec: newSeriesSpec,\n specName: 'series'\n };\n };\n return Comp;\n};\n"]}
1
+ {"version":3,"sources":["../src/series/BaseSeries.tsx"],"names":[],"mappings":"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","file":"BaseSeries.js","sourcesContent":["import React from 'react';\nimport { isNil, pickWithout } from '@visactor/vutils';\nimport RootChartContext from '../context/chart';\nimport {\n REACT_TO_VCHART_EVENTS,\n EventsProps,\n findEventProps,\n COMMON_EVENTK_KEYS,\n VCHART_TO_REACT_EVENTS\n} from '../eventsUtils';\nimport { VChart } from '@visactor/vchart';\nexport interface BaseSeriesProps extends EventsProps {\n id?: string | number;\n}\n\nexport const createSeries = <T extends BaseSeriesProps>(\n componentName: string,\n markNames: string[],\n type?: string,\n registers?: (() => void)[]\n) => {\n if (registers && registers.length) {\n VChart.useRegisters(registers);\n }\n\n const ignoreKeys = ['id', 'updateId', 'componentId'];\n const notSpecKeys = COMMON_EVENTK_KEYS.concat(ignoreKeys);\n\n const addMarkId = (spec: any, seriesId: string | number) => {\n markNames.forEach(markName => {\n const defaultMarkId = `${seriesId}-${markName}`;\n\n if (isNil(spec[markName])) {\n spec[markName] = { id: defaultMarkId };\n } else if (isNil(spec[markName].id)) {\n spec[markName].id = defaultMarkId;\n }\n });\n };\n\n const Comp: React.FC<T & { updateId?: number; componentId?: string }> = props => {\n const context = React.useContext(RootChartContext);\n\n const id = props.id ?? props.componentId;\n const bindedEvents = React.useRef<Record<string, (e: any) => void>>({});\n\n const handleEvent = (e: any) => {\n const markIds = markNames.map(markName => `${id}-${markName}`);\n if (e?.mark && markIds.includes(e.mark.getUserId())) {\n props[VCHART_TO_REACT_EVENTS[e.event.type]](e);\n }\n };\n\n const addMarkEvent = (events: EventsProps) => {\n if (!events || !context.chart) {\n return;\n }\n\n if (bindedEvents.current) {\n Object.keys(bindedEvents.current).forEach(eventKey => {\n context.chart.off(REACT_TO_VCHART_EVENTS[eventKey], bindedEvents.current[eventKey]);\n bindedEvents.current[eventKey] = null;\n });\n }\n\n events &&\n Object.keys(events).forEach(eventKey => {\n if (!bindedEvents.current?.[eventKey]) {\n context.chart.on(REACT_TO_VCHART_EVENTS[eventKey], handleEvent);\n\n if (!bindedEvents.current) {\n bindedEvents.current = {};\n }\n bindedEvents.current[eventKey] = handleEvent;\n }\n });\n };\n\n const removeMarkEvent = () => {\n addMarkEvent({});\n };\n\n addMarkEvent(findEventProps(props));\n\n React.useEffect(() => {\n return () => {\n removeMarkEvent();\n bindedEvents.current = {};\n };\n }, []);\n\n return null;\n };\n\n Comp.displayName = componentName;\n (Comp as any).parseSpec = (compProps: T & { updateId?: number; componentId?: string }) => {\n const newSeriesSpec = pickWithout<T>(compProps, notSpecKeys);\n\n addMarkId(newSeriesSpec, compProps.id ?? compProps.componentId);\n\n if (!isNil(type)) {\n (newSeriesSpec as any).type = type;\n }\n\n return {\n spec: newSeriesSpec,\n specName: 'series'\n };\n };\n return Comp;\n};\n"]}
@@ -1,4 +1,6 @@
1
1
  import { createSeries } from "./BaseSeries";
2
2
 
3
- export const BoxPlot = createSeries("BoxPlot", [ "boxPlot" ], "boxPlot");
4
- //# sourceMappingURL=BoxPlot.js.map
3
+ import { registerBoxplotSeries } from "@visactor/vchart";
4
+
5
+ export const BoxPlot = createSeries("BoxPlot", [ "boxPlot" ], "boxPlot", [ registerBoxplotSeries ]);
6
+ //# sourceMappingURL=BoxPlot.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/series/BoxPlot.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAmB,YAAY,EAAE,MAAM,cAAc,CAAC;AAK7D,MAAM,CAAC,MAAM,OAAO,GAAG,YAAY,CAAe,SAAS,EAAE,CAAC,SAAS,CAAC,EAAE,SAAS,CAAC,CAAC","file":"BoxPlot.js","sourcesContent":["import { BaseSeriesProps, createSeries } from './BaseSeries';\nimport type { IBoxPlotSeriesSpec } from '@visactor/vchart';\n\nexport type BoxPlotProps = BaseSeriesProps & Omit<IBoxPlotSeriesSpec, 'type'>;\n\nexport const BoxPlot = createSeries<BoxPlotProps>('BoxPlot', ['boxPlot'], 'boxPlot');\n"]}
1
+ {"version":3,"sources":["../src/series/BoxPlot.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAmB,YAAY,EAAE,MAAM,cAAc,CAAC;AAE7D,OAAO,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAIzD,MAAM,CAAC,MAAM,OAAO,GAAG,YAAY,CAAe,SAAS,EAAE,CAAC,SAAS,CAAC,EAAE,SAAS,EAAE,CAAC,qBAAqB,CAAC,CAAC,CAAC","file":"BoxPlot.js","sourcesContent":["import { BaseSeriesProps, createSeries } from './BaseSeries';\nimport type { IBoxPlotSeriesSpec } from '@visactor/vchart';\nimport { registerBoxplotSeries } from '@visactor/vchart';\n\nexport type BoxPlotProps = BaseSeriesProps & Omit<IBoxPlotSeriesSpec, 'type'>;\n\nexport const BoxPlot = createSeries<BoxPlotProps>('BoxPlot', ['boxPlot'], 'boxPlot', [registerBoxplotSeries]);\n"]}
@@ -0,0 +1,7 @@
1
+ import { BaseSeriesProps } from './BaseSeries';
2
+ import type { ICirclePackingSeriesSpec } from '@visactor/vchart';
3
+ export type CirclePackingProps = BaseSeriesProps & Omit<ICirclePackingSeriesSpec, 'type'>;
4
+ export declare const CirclePacking: import("react").FC<BaseSeriesProps & Omit<ICirclePackingSeriesSpec, "type"> & {
5
+ updateId?: number;
6
+ componentId?: string;
7
+ }>;
@@ -0,0 +1,6 @@
1
+ import { createSeries } from "./BaseSeries";
2
+
3
+ import { registerCirclePackingSeries } from "@visactor/vchart";
4
+
5
+ export const CirclePacking = createSeries("CirclePacking", [ "circlePacking", "label" ], "circlePacking", [ registerCirclePackingSeries ]);
6
+ //# sourceMappingURL=CirclePacking.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/series/CirclePacking.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAmB,YAAY,EAAE,MAAM,cAAc,CAAC;AAE7D,OAAO,EAAE,2BAA2B,EAAE,MAAM,kBAAkB,CAAC;AAI/D,MAAM,CAAC,MAAM,aAAa,GAAG,YAAY,CACvC,eAAe,EACf,CAAC,eAAe,EAAE,OAAO,CAAC,EAC1B,eAAe,EACf,CAAC,2BAA2B,CAAC,CAC9B,CAAC","file":"CirclePacking.js","sourcesContent":["import { BaseSeriesProps, createSeries } from './BaseSeries';\nimport type { ICirclePackingSeriesSpec } from '@visactor/vchart';\nimport { registerCirclePackingSeries } from '@visactor/vchart';\n\nexport type CirclePackingProps = BaseSeriesProps & Omit<ICirclePackingSeriesSpec, 'type'>;\n\nexport const CirclePacking = createSeries<CirclePackingProps>(\n 'CirclePacking',\n ['circlePacking', 'label'],\n 'circlePacking',\n [registerCirclePackingSeries]\n);\n"]}
@@ -1,4 +1,6 @@
1
1
  import { createSeries } from "./BaseSeries";
2
2
 
3
- export const CircularProgress = createSeries("CircularProgress", [ "circularProgress" ], "circularProgress");
4
- //# sourceMappingURL=CircularProgress.js.map
3
+ import { registerCircularProgressSeries } from "@visactor/vchart";
4
+
5
+ export const CircularProgress = createSeries("CircularProgress", [ "circularProgress" ], "circularProgress", [ registerCircularProgressSeries ]);
6
+ //# sourceMappingURL=CircularProgress.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/series/CircularProgress.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAmB,YAAY,EAAE,MAAM,cAAc,CAAC;AAK7D,MAAM,CAAC,MAAM,gBAAgB,GAAG,YAAY,CAC1C,kBAAkB,EAClB,CAAC,kBAAkB,CAAC,EACpB,kBAAkB,CACnB,CAAC","file":"CircularProgress.js","sourcesContent":["import { BaseSeriesProps, createSeries } from './BaseSeries';\nimport type { ICircularProgressSeriesSpec } from '@visactor/vchart';\n\nexport type CircularProgressProps = BaseSeriesProps & Omit<ICircularProgressSeriesSpec, 'type'>;\n\nexport const CircularProgress = createSeries<CircularProgressProps>(\n 'CircularProgress',\n ['circularProgress'],\n 'circularProgress'\n);\n"]}
1
+ {"version":3,"sources":["../src/series/CircularProgress.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAmB,YAAY,EAAE,MAAM,cAAc,CAAC;AAE7D,OAAO,EAAE,8BAA8B,EAAE,MAAM,kBAAkB,CAAC;AAIlE,MAAM,CAAC,MAAM,gBAAgB,GAAG,YAAY,CAC1C,kBAAkB,EAClB,CAAC,kBAAkB,CAAC,EACpB,kBAAkB,EAClB,CAAC,8BAA8B,CAAC,CACjC,CAAC","file":"CircularProgress.js","sourcesContent":["import { BaseSeriesProps, createSeries } from './BaseSeries';\nimport type { ICircularProgressSeriesSpec } from '@visactor/vchart';\nimport { registerCircularProgressSeries } from '@visactor/vchart';\n\nexport type CircularProgressProps = BaseSeriesProps & Omit<ICircularProgressSeriesSpec, 'type'>;\n\nexport const CircularProgress = createSeries<CircularProgressProps>(\n 'CircularProgress',\n ['circularProgress'],\n 'circularProgress',\n [registerCircularProgressSeries]\n);\n"]}
@@ -0,0 +1,7 @@
1
+ import { BaseSeriesProps } from './BaseSeries';
2
+ import type { ICorrelationSeriesSpec } from '@visactor/vchart';
3
+ export type CorrelationProps = BaseSeriesProps & Omit<ICorrelationSeriesSpec, 'type'>;
4
+ export declare const Correlation: import("react").FC<BaseSeriesProps & Omit<ICorrelationSeriesSpec, "type"> & {
5
+ updateId?: number;
6
+ componentId?: string;
7
+ }>;
@@ -0,0 +1,6 @@
1
+ import { createSeries } from "./BaseSeries";
2
+
3
+ import { registerCorrelationChart } from "@visactor/vchart";
4
+
5
+ export const Correlation = createSeries("Correlation", [ "centerPoint", "ripplePoint", "centerLabel", "nodePoint", "label" ], "correlation", [ registerCorrelationChart ]);
6
+ //# sourceMappingURL=Correlation.js.map