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

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 (461) hide show
  1. package/cjs/VChart.d.ts +2 -0
  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 +9 -3
  6. package/cjs/charts/AreaChart.js.map +1 -1
  7. package/cjs/charts/BarChart.d.ts +1 -1
  8. package/cjs/charts/BarChart.js +9 -3
  9. package/cjs/charts/BarChart.js.map +1 -1
  10. package/cjs/charts/BaseChart.d.ts +3 -3
  11. package/cjs/charts/BaseChart.js +2 -3
  12. package/cjs/charts/BaseChart.js.map +1 -1
  13. package/cjs/charts/BoxPlotChart.d.ts +1 -1
  14. package/cjs/charts/BoxPlotChart.js +9 -3
  15. package/cjs/charts/BoxPlotChart.js.map +1 -1
  16. package/cjs/charts/CircularProgressChart.d.ts +1 -1
  17. package/cjs/charts/CircularProgressChart.js +9 -3
  18. package/cjs/charts/CircularProgressChart.js.map +1 -1
  19. package/cjs/charts/CommonChart.d.ts +1 -1
  20. package/cjs/charts/CommonChart.js +9 -3
  21. package/cjs/charts/CommonChart.js.map +1 -1
  22. package/cjs/charts/FunnelChart.d.ts +1 -1
  23. package/cjs/charts/FunnelChart.js +9 -3
  24. package/cjs/charts/FunnelChart.js.map +1 -1
  25. package/cjs/charts/HistogramChart.d.ts +1 -1
  26. package/cjs/charts/HistogramChart.js +10 -3
  27. package/cjs/charts/HistogramChart.js.map +1 -1
  28. package/cjs/charts/LineChart.d.ts +1 -1
  29. package/cjs/charts/LineChart.js +9 -3
  30. package/cjs/charts/LineChart.js.map +1 -1
  31. package/cjs/charts/LinearProgressChart.d.ts +1 -1
  32. package/cjs/charts/LinearProgressChart.js +9 -3
  33. package/cjs/charts/LinearProgressChart.js.map +1 -1
  34. package/cjs/charts/MapChart.d.ts +1 -1
  35. package/cjs/charts/MapChart.js +9 -3
  36. package/cjs/charts/MapChart.js.map +1 -1
  37. package/cjs/charts/PieChart.d.ts +1 -1
  38. package/cjs/charts/PieChart.js +9 -3
  39. package/cjs/charts/PieChart.js.map +1 -1
  40. package/cjs/charts/RadarChart.d.ts +1 -1
  41. package/cjs/charts/RadarChart.js +9 -3
  42. package/cjs/charts/RadarChart.js.map +1 -1
  43. package/cjs/charts/RangeColumnChart.d.ts +1 -1
  44. package/cjs/charts/RangeColumnChart.js +9 -3
  45. package/cjs/charts/RangeColumnChart.js.map +1 -1
  46. package/cjs/charts/RoseChart.d.ts +1 -1
  47. package/cjs/charts/RoseChart.js +9 -4
  48. package/cjs/charts/RoseChart.js.map +1 -1
  49. package/cjs/charts/ScatterChart.d.ts +1 -1
  50. package/cjs/charts/ScatterChart.js +9 -3
  51. package/cjs/charts/ScatterChart.js.map +1 -1
  52. package/cjs/charts/SequenceChart.d.ts +1 -1
  53. package/cjs/charts/SequenceChart.js +9 -3
  54. package/cjs/charts/SequenceChart.js.map +1 -1
  55. package/cjs/charts/WordCloudChart.d.ts +1 -1
  56. package/cjs/charts/WordCloudChart.js +9 -3
  57. package/cjs/charts/WordCloudChart.js.map +1 -1
  58. package/cjs/charts/index.d.ts +10 -26
  59. package/cjs/charts/index.js +7 -15
  60. package/cjs/charts/index.js.map +1 -1
  61. package/cjs/components/BaseComponent.d.ts +1 -1
  62. package/cjs/components/BaseComponent.js +1 -2
  63. package/cjs/components/BaseComponent.js.map +1 -1
  64. package/cjs/components/Brush.js +2 -2
  65. package/cjs/components/Brush.js.map +1 -1
  66. package/cjs/components/DataZoom.js +2 -2
  67. package/cjs/components/DataZoom.js.map +1 -1
  68. package/cjs/components/Indicator.js +2 -2
  69. package/cjs/components/Indicator.js.map +1 -1
  70. package/cjs/components/Legend.js +2 -2
  71. package/cjs/components/Legend.js.map +1 -1
  72. package/cjs/components/Mark.js +2 -2
  73. package/cjs/components/Mark.js.map +1 -1
  74. package/cjs/components/MarkArea.js +2 -2
  75. package/cjs/components/MarkArea.js.map +1 -1
  76. package/cjs/components/MarkLine.js +2 -2
  77. package/cjs/components/MarkLine.js.map +1 -1
  78. package/cjs/components/MarkPoint.js +2 -2
  79. package/cjs/components/MarkPoint.js.map +1 -1
  80. package/cjs/components/Player.js +2 -2
  81. package/cjs/components/Player.js.map +1 -1
  82. package/cjs/components/Region.d.ts +2 -1
  83. package/cjs/components/Region.js.map +1 -1
  84. package/cjs/components/ScrollBar.js +2 -2
  85. package/cjs/components/ScrollBar.js.map +1 -1
  86. package/cjs/components/Title.js +2 -2
  87. package/cjs/components/Title.js.map +1 -1
  88. package/cjs/components/index.d.ts +0 -1
  89. package/cjs/components/index.js +1 -1
  90. package/cjs/components/index.js.map +1 -1
  91. package/cjs/components/tooltip/Tooltip.js +2 -2
  92. package/cjs/components/tooltip/Tooltip.js.map +1 -1
  93. package/cjs/components/tooltip/index.d.ts +0 -1
  94. package/cjs/components/tooltip/index.js +1 -1
  95. package/cjs/components/tooltip/index.js.map +1 -1
  96. package/cjs/index.d.ts +1 -2
  97. package/cjs/index.js +3 -12
  98. package/cjs/index.js.map +1 -1
  99. package/cjs/series/Area.js +2 -2
  100. package/cjs/series/Area.js.map +1 -1
  101. package/cjs/series/Bar.js +3 -3
  102. package/cjs/series/Bar.js.map +1 -1
  103. package/cjs/series/BaseSeries.d.ts +1 -1
  104. package/cjs/series/BaseSeries.js +2 -3
  105. package/cjs/series/BaseSeries.js.map +1 -1
  106. package/cjs/series/BoxPlot.js +3 -3
  107. package/cjs/series/BoxPlot.js.map +1 -1
  108. package/cjs/series/CircularProgress.js +3 -3
  109. package/cjs/series/CircularProgress.js.map +1 -1
  110. package/cjs/series/Dot.js +3 -3
  111. package/cjs/series/Dot.js.map +1 -1
  112. package/cjs/series/Funnel.js +3 -3
  113. package/cjs/series/Funnel.js.map +1 -1
  114. package/cjs/series/Line.js +3 -3
  115. package/cjs/series/Line.js.map +1 -1
  116. package/cjs/series/LinearProgress.js +3 -3
  117. package/cjs/series/LinearProgress.js.map +1 -1
  118. package/cjs/series/Link.js +2 -3
  119. package/cjs/series/Link.js.map +1 -1
  120. package/cjs/series/Map.js +3 -3
  121. package/cjs/series/Map.js.map +1 -1
  122. package/cjs/series/Pie.js +3 -3
  123. package/cjs/series/Pie.js.map +1 -1
  124. package/cjs/series/Radar.js +3 -3
  125. package/cjs/series/Radar.js.map +1 -1
  126. package/cjs/series/RangeColumn.js +3 -3
  127. package/cjs/series/RangeColumn.js.map +1 -1
  128. package/cjs/series/Rose.js +3 -3
  129. package/cjs/series/Rose.js.map +1 -1
  130. package/cjs/series/Scatter.js +3 -3
  131. package/cjs/series/Scatter.js.map +1 -1
  132. package/cjs/series/Series.js +1 -1
  133. package/cjs/series/WordCloud.js +2 -2
  134. package/cjs/series/WordCloud.js.map +1 -1
  135. package/cjs/series/index.d.ts +10 -24
  136. package/cjs/series/index.js +9 -16
  137. package/cjs/series/index.js.map +1 -1
  138. package/esm/VChart.d.ts +2 -0
  139. package/esm/VChart.js +3 -1
  140. package/esm/VChart.js.map +1 -1
  141. package/esm/charts/AreaChart.d.ts +1 -1
  142. package/esm/charts/AreaChart.js +2 -2
  143. package/esm/charts/AreaChart.js.map +1 -1
  144. package/esm/charts/BarChart.d.ts +1 -1
  145. package/esm/charts/BarChart.js +2 -2
  146. package/esm/charts/BarChart.js.map +1 -1
  147. package/esm/charts/BaseChart.d.ts +3 -3
  148. package/esm/charts/BaseChart.js +2 -3
  149. package/esm/charts/BaseChart.js.map +1 -1
  150. package/esm/charts/BoxPlotChart.d.ts +1 -1
  151. package/esm/charts/BoxPlotChart.js +2 -2
  152. package/esm/charts/BoxPlotChart.js.map +1 -1
  153. package/esm/charts/CircularProgressChart.d.ts +1 -1
  154. package/esm/charts/CircularProgressChart.js +2 -2
  155. package/esm/charts/CircularProgressChart.js.map +1 -1
  156. package/esm/charts/CommonChart.d.ts +1 -1
  157. package/esm/charts/CommonChart.js +2 -2
  158. package/esm/charts/CommonChart.js.map +1 -1
  159. package/esm/charts/FunnelChart.d.ts +1 -1
  160. package/esm/charts/FunnelChart.js +2 -2
  161. package/esm/charts/FunnelChart.js.map +1 -1
  162. package/esm/charts/HistogramChart.d.ts +1 -1
  163. package/esm/charts/HistogramChart.js +3 -2
  164. package/esm/charts/HistogramChart.js.map +1 -1
  165. package/esm/charts/LineChart.d.ts +1 -1
  166. package/esm/charts/LineChart.js +2 -2
  167. package/esm/charts/LineChart.js.map +1 -1
  168. package/esm/charts/LinearProgressChart.d.ts +1 -1
  169. package/esm/charts/LinearProgressChart.js +2 -2
  170. package/esm/charts/LinearProgressChart.js.map +1 -1
  171. package/esm/charts/MapChart.d.ts +1 -1
  172. package/esm/charts/MapChart.js +2 -2
  173. package/esm/charts/MapChart.js.map +1 -1
  174. package/esm/charts/PieChart.d.ts +1 -1
  175. package/esm/charts/PieChart.js +2 -2
  176. package/esm/charts/PieChart.js.map +1 -1
  177. package/esm/charts/RadarChart.d.ts +1 -1
  178. package/esm/charts/RadarChart.js +2 -2
  179. package/esm/charts/RadarChart.js.map +1 -1
  180. package/esm/charts/RangeColumnChart.d.ts +1 -1
  181. package/esm/charts/RangeColumnChart.js +2 -2
  182. package/esm/charts/RangeColumnChart.js.map +1 -1
  183. package/esm/charts/RoseChart.d.ts +1 -1
  184. package/esm/charts/RoseChart.js +2 -3
  185. package/esm/charts/RoseChart.js.map +1 -1
  186. package/esm/charts/ScatterChart.d.ts +1 -1
  187. package/esm/charts/ScatterChart.js +2 -2
  188. package/esm/charts/ScatterChart.js.map +1 -1
  189. package/esm/charts/SequenceChart.d.ts +1 -1
  190. package/esm/charts/SequenceChart.js +2 -2
  191. package/esm/charts/SequenceChart.js.map +1 -1
  192. package/esm/charts/WordCloudChart.d.ts +1 -1
  193. package/esm/charts/WordCloudChart.js +2 -2
  194. package/esm/charts/WordCloudChart.js.map +1 -1
  195. package/esm/charts/index.d.ts +10 -26
  196. package/esm/charts/index.js +11 -43
  197. package/esm/charts/index.js.map +1 -1
  198. package/esm/components/BaseComponent.d.ts +1 -1
  199. package/esm/components/BaseComponent.js +1 -4
  200. package/esm/components/BaseComponent.js.map +1 -1
  201. package/esm/components/Brush.js +1 -3
  202. package/esm/components/Brush.js.map +1 -1
  203. package/esm/components/DataZoom.js +1 -3
  204. package/esm/components/DataZoom.js.map +1 -1
  205. package/esm/components/Indicator.js +1 -3
  206. package/esm/components/Indicator.js.map +1 -1
  207. package/esm/components/Legend.js +1 -3
  208. package/esm/components/Legend.js.map +1 -1
  209. package/esm/components/Mark.js +1 -3
  210. package/esm/components/Mark.js.map +1 -1
  211. package/esm/components/MarkArea.js +1 -3
  212. package/esm/components/MarkArea.js.map +1 -1
  213. package/esm/components/MarkLine.js +1 -3
  214. package/esm/components/MarkLine.js.map +1 -1
  215. package/esm/components/MarkPoint.js +1 -3
  216. package/esm/components/MarkPoint.js.map +1 -1
  217. package/esm/components/Player.js +1 -3
  218. package/esm/components/Player.js.map +1 -1
  219. package/esm/components/Region.d.ts +2 -1
  220. package/esm/components/Region.js.map +1 -1
  221. package/esm/components/ScrollBar.js +1 -3
  222. package/esm/components/ScrollBar.js.map +1 -1
  223. package/esm/components/Title.js +1 -3
  224. package/esm/components/Title.js.map +1 -1
  225. package/esm/components/index.d.ts +0 -1
  226. package/esm/components/index.js +0 -2
  227. package/esm/components/index.js.map +1 -1
  228. package/esm/components/tooltip/Tooltip.js +1 -3
  229. package/esm/components/tooltip/Tooltip.js.map +1 -1
  230. package/esm/components/tooltip/index.d.ts +0 -1
  231. package/esm/components/tooltip/index.js +0 -2
  232. package/esm/components/tooltip/index.js.map +1 -1
  233. package/esm/index.d.ts +1 -2
  234. package/esm/index.js +1 -3
  235. package/esm/index.js.map +1 -1
  236. package/esm/series/Area.js +1 -3
  237. package/esm/series/Area.js.map +1 -1
  238. package/esm/series/Bar.js +2 -4
  239. package/esm/series/Bar.js.map +1 -1
  240. package/esm/series/BaseSeries.d.ts +1 -1
  241. package/esm/series/BaseSeries.js +2 -5
  242. package/esm/series/BaseSeries.js.map +1 -1
  243. package/esm/series/BoxPlot.js +2 -4
  244. package/esm/series/BoxPlot.js.map +1 -1
  245. package/esm/series/CircularProgress.js +2 -4
  246. package/esm/series/CircularProgress.js.map +1 -1
  247. package/esm/series/Dot.js +2 -4
  248. package/esm/series/Dot.js.map +1 -1
  249. package/esm/series/Funnel.js +2 -4
  250. package/esm/series/Funnel.js.map +1 -1
  251. package/esm/series/Line.js +2 -4
  252. package/esm/series/Line.js.map +1 -1
  253. package/esm/series/LinearProgress.js +2 -4
  254. package/esm/series/LinearProgress.js.map +1 -1
  255. package/esm/series/Link.js +1 -4
  256. package/esm/series/Link.js.map +1 -1
  257. package/esm/series/Map.js +2 -4
  258. package/esm/series/Map.js.map +1 -1
  259. package/esm/series/Pie.js +2 -4
  260. package/esm/series/Pie.js.map +1 -1
  261. package/esm/series/Radar.js +2 -4
  262. package/esm/series/Radar.js.map +1 -1
  263. package/esm/series/RangeColumn.js +2 -4
  264. package/esm/series/RangeColumn.js.map +1 -1
  265. package/esm/series/Rose.js +2 -4
  266. package/esm/series/Rose.js.map +1 -1
  267. package/esm/series/Scatter.js +2 -4
  268. package/esm/series/Scatter.js.map +1 -1
  269. package/esm/series/Series.js +1 -1
  270. package/esm/series/WordCloud.js +1 -3
  271. package/esm/series/WordCloud.js.map +1 -1
  272. package/esm/series/index.d.ts +10 -24
  273. package/esm/series/index.js +12 -40
  274. package/esm/series/index.js.map +1 -1
  275. package/package.json +2 -2
  276. package/cjs/charts/Bar3dChart.d.ts +0 -10
  277. package/cjs/charts/Bar3dChart.js +0 -13
  278. package/cjs/charts/Bar3dChart.js.map +0 -1
  279. package/cjs/charts/CirclePackingChart.d.ts +0 -10
  280. package/cjs/charts/CirclePackingChart.js +0 -13
  281. package/cjs/charts/CirclePackingChart.js.map +0 -1
  282. package/cjs/charts/CorrelationChart.d.ts +0 -10
  283. package/cjs/charts/CorrelationChart.js +0 -13
  284. package/cjs/charts/CorrelationChart.js.map +0 -1
  285. package/cjs/charts/Funnel3dChart.d.ts +0 -10
  286. package/cjs/charts/Funnel3dChart.js +0 -13
  287. package/cjs/charts/Funnel3dChart.js.map +0 -1
  288. package/cjs/charts/GaugeChart.d.ts +0 -10
  289. package/cjs/charts/GaugeChart.js +0 -13
  290. package/cjs/charts/GaugeChart.js.map +0 -1
  291. package/cjs/charts/HeatmapChart.d.ts +0 -10
  292. package/cjs/charts/HeatmapChart.js +0 -13
  293. package/cjs/charts/HeatmapChart.js.map +0 -1
  294. package/cjs/charts/Histogram3dChart.d.ts +0 -10
  295. package/cjs/charts/Histogram3dChart.js +0 -13
  296. package/cjs/charts/Histogram3dChart.js.map +0 -1
  297. package/cjs/charts/LiquidChart.d.ts +0 -10
  298. package/cjs/charts/LiquidChart.js +0 -13
  299. package/cjs/charts/LiquidChart.js.map +0 -1
  300. package/cjs/charts/Pie3dChart.d.ts +0 -10
  301. package/cjs/charts/Pie3dChart.js +0 -13
  302. package/cjs/charts/Pie3dChart.js.map +0 -1
  303. package/cjs/charts/RangeColumn3dChart.d.ts +0 -10
  304. package/cjs/charts/RangeColumn3dChart.js +0 -13
  305. package/cjs/charts/RangeColumn3dChart.js.map +0 -1
  306. package/cjs/charts/SankeyChart.d.ts +0 -10
  307. package/cjs/charts/SankeyChart.js +0 -13
  308. package/cjs/charts/SankeyChart.js.map +0 -1
  309. package/cjs/charts/SunburstChart.d.ts +0 -10
  310. package/cjs/charts/SunburstChart.js +0 -13
  311. package/cjs/charts/SunburstChart.js.map +0 -1
  312. package/cjs/charts/TreemapChart.d.ts +0 -10
  313. package/cjs/charts/TreemapChart.js +0 -13
  314. package/cjs/charts/TreemapChart.js.map +0 -1
  315. package/cjs/charts/WaterfallChart.d.ts +0 -10
  316. package/cjs/charts/WaterfallChart.js +0 -12
  317. package/cjs/charts/WaterfallChart.js.map +0 -1
  318. package/cjs/charts/WordCloud3dChart.d.ts +0 -10
  319. package/cjs/charts/WordCloud3dChart.js +0 -13
  320. package/cjs/charts/WordCloud3dChart.js.map +0 -1
  321. package/cjs/components/ContinuousLegend.d.ts +0 -5
  322. package/cjs/components/ContinuousLegend.js +0 -10
  323. package/cjs/components/ContinuousLegend.js.map +0 -1
  324. package/cjs/components/tooltip/CanvasTooltip.d.ts +0 -2
  325. package/cjs/components/tooltip/CanvasTooltip.js +0 -10
  326. package/cjs/components/tooltip/CanvasTooltip.js.map +0 -1
  327. package/cjs/series/Bar3d.d.ts +0 -7
  328. package/cjs/series/Bar3d.js +0 -10
  329. package/cjs/series/Bar3d.js.map +0 -1
  330. package/cjs/series/CirclePacking.d.ts +0 -7
  331. package/cjs/series/CirclePacking.js +0 -10
  332. package/cjs/series/CirclePacking.js.map +0 -1
  333. package/cjs/series/Correlation.d.ts +0 -7
  334. package/cjs/series/Correlation.js +0 -10
  335. package/cjs/series/Correlation.js.map +0 -1
  336. package/cjs/series/Funnel3d.d.ts +0 -7
  337. package/cjs/series/Funnel3d.js +0 -10
  338. package/cjs/series/Funnel3d.js.map +0 -1
  339. package/cjs/series/Gauge.d.ts +0 -7
  340. package/cjs/series/Gauge.js +0 -10
  341. package/cjs/series/Gauge.js.map +0 -1
  342. package/cjs/series/Heatmap.d.ts +0 -7
  343. package/cjs/series/Heatmap.js +0 -10
  344. package/cjs/series/Heatmap.js.map +0 -1
  345. package/cjs/series/Liquid.d.ts +0 -7
  346. package/cjs/series/Liquid.js +0 -10
  347. package/cjs/series/Liquid.js.map +0 -1
  348. package/cjs/series/Pie3d.d.ts +0 -7
  349. package/cjs/series/Pie3d.js +0 -10
  350. package/cjs/series/Pie3d.js.map +0 -1
  351. package/cjs/series/RangeColumn3d.d.ts +0 -7
  352. package/cjs/series/RangeColumn3d.js +0 -10
  353. package/cjs/series/RangeColumn3d.js.map +0 -1
  354. package/cjs/series/Sankey.d.ts +0 -7
  355. package/cjs/series/Sankey.js +0 -10
  356. package/cjs/series/Sankey.js.map +0 -1
  357. package/cjs/series/Sunburst.d.ts +0 -7
  358. package/cjs/series/Sunburst.js +0 -10
  359. package/cjs/series/Sunburst.js.map +0 -1
  360. package/cjs/series/Treemap.d.ts +0 -7
  361. package/cjs/series/Treemap.js +0 -10
  362. package/cjs/series/Treemap.js.map +0 -1
  363. package/cjs/series/Waterfall.d.ts +0 -7
  364. package/cjs/series/Waterfall.js +0 -10
  365. package/cjs/series/Waterfall.js.map +0 -1
  366. package/cjs/series/WordCloud3d.d.ts +0 -7
  367. package/cjs/series/WordCloud3d.js +0 -10
  368. package/cjs/series/WordCloud3d.js.map +0 -1
  369. package/esm/charts/Bar3dChart.d.ts +0 -10
  370. package/esm/charts/Bar3dChart.js +0 -9
  371. package/esm/charts/Bar3dChart.js.map +0 -1
  372. package/esm/charts/CirclePackingChart.d.ts +0 -10
  373. package/esm/charts/CirclePackingChart.js +0 -9
  374. package/esm/charts/CirclePackingChart.js.map +0 -1
  375. package/esm/charts/CorrelationChart.d.ts +0 -10
  376. package/esm/charts/CorrelationChart.js +0 -9
  377. package/esm/charts/CorrelationChart.js.map +0 -1
  378. package/esm/charts/Funnel3dChart.d.ts +0 -10
  379. package/esm/charts/Funnel3dChart.js +0 -9
  380. package/esm/charts/Funnel3dChart.js.map +0 -1
  381. package/esm/charts/GaugeChart.d.ts +0 -10
  382. package/esm/charts/GaugeChart.js +0 -9
  383. package/esm/charts/GaugeChart.js.map +0 -1
  384. package/esm/charts/HeatmapChart.d.ts +0 -10
  385. package/esm/charts/HeatmapChart.js +0 -9
  386. package/esm/charts/HeatmapChart.js.map +0 -1
  387. package/esm/charts/Histogram3dChart.d.ts +0 -10
  388. package/esm/charts/Histogram3dChart.js +0 -9
  389. package/esm/charts/Histogram3dChart.js.map +0 -1
  390. package/esm/charts/LiquidChart.d.ts +0 -10
  391. package/esm/charts/LiquidChart.js +0 -9
  392. package/esm/charts/LiquidChart.js.map +0 -1
  393. package/esm/charts/Pie3dChart.d.ts +0 -10
  394. package/esm/charts/Pie3dChart.js +0 -9
  395. package/esm/charts/Pie3dChart.js.map +0 -1
  396. package/esm/charts/RangeColumn3dChart.d.ts +0 -10
  397. package/esm/charts/RangeColumn3dChart.js +0 -9
  398. package/esm/charts/RangeColumn3dChart.js.map +0 -1
  399. package/esm/charts/SankeyChart.d.ts +0 -10
  400. package/esm/charts/SankeyChart.js +0 -9
  401. package/esm/charts/SankeyChart.js.map +0 -1
  402. package/esm/charts/SunburstChart.d.ts +0 -10
  403. package/esm/charts/SunburstChart.js +0 -9
  404. package/esm/charts/SunburstChart.js.map +0 -1
  405. package/esm/charts/TreemapChart.d.ts +0 -10
  406. package/esm/charts/TreemapChart.js +0 -9
  407. package/esm/charts/TreemapChart.js.map +0 -1
  408. package/esm/charts/WaterfallChart.d.ts +0 -10
  409. package/esm/charts/WaterfallChart.js +0 -8
  410. package/esm/charts/WaterfallChart.js.map +0 -1
  411. package/esm/charts/WordCloud3dChart.d.ts +0 -10
  412. package/esm/charts/WordCloud3dChart.js +0 -9
  413. package/esm/charts/WordCloud3dChart.js.map +0 -1
  414. package/esm/components/ContinuousLegend.d.ts +0 -5
  415. package/esm/components/ContinuousLegend.js +0 -8
  416. package/esm/components/ContinuousLegend.js.map +0 -1
  417. package/esm/components/tooltip/CanvasTooltip.d.ts +0 -2
  418. package/esm/components/tooltip/CanvasTooltip.js +0 -6
  419. package/esm/components/tooltip/CanvasTooltip.js.map +0 -1
  420. package/esm/series/Bar3d.d.ts +0 -7
  421. package/esm/series/Bar3d.js +0 -6
  422. package/esm/series/Bar3d.js.map +0 -1
  423. package/esm/series/CirclePacking.d.ts +0 -7
  424. package/esm/series/CirclePacking.js +0 -6
  425. package/esm/series/CirclePacking.js.map +0 -1
  426. package/esm/series/Correlation.d.ts +0 -7
  427. package/esm/series/Correlation.js +0 -6
  428. package/esm/series/Correlation.js.map +0 -1
  429. package/esm/series/Funnel3d.d.ts +0 -7
  430. package/esm/series/Funnel3d.js +0 -6
  431. package/esm/series/Funnel3d.js.map +0 -1
  432. package/esm/series/Gauge.d.ts +0 -7
  433. package/esm/series/Gauge.js +0 -6
  434. package/esm/series/Gauge.js.map +0 -1
  435. package/esm/series/Heatmap.d.ts +0 -7
  436. package/esm/series/Heatmap.js +0 -6
  437. package/esm/series/Heatmap.js.map +0 -1
  438. package/esm/series/Liquid.d.ts +0 -7
  439. package/esm/series/Liquid.js +0 -6
  440. package/esm/series/Liquid.js.map +0 -1
  441. package/esm/series/Pie3d.d.ts +0 -7
  442. package/esm/series/Pie3d.js +0 -6
  443. package/esm/series/Pie3d.js.map +0 -1
  444. package/esm/series/RangeColumn3d.d.ts +0 -7
  445. package/esm/series/RangeColumn3d.js +0 -6
  446. package/esm/series/RangeColumn3d.js.map +0 -1
  447. package/esm/series/Sankey.d.ts +0 -7
  448. package/esm/series/Sankey.js +0 -6
  449. package/esm/series/Sankey.js.map +0 -1
  450. package/esm/series/Sunburst.d.ts +0 -7
  451. package/esm/series/Sunburst.js +0 -6
  452. package/esm/series/Sunburst.js.map +0 -1
  453. package/esm/series/Treemap.d.ts +0 -7
  454. package/esm/series/Treemap.js +0 -6
  455. package/esm/series/Treemap.js.map +0 -1
  456. package/esm/series/Waterfall.d.ts +0 -7
  457. package/esm/series/Waterfall.js +0 -6
  458. package/esm/series/Waterfall.js.map +0 -1
  459. package/esm/series/WordCloud3d.d.ts +0 -7
  460. package/esm/series/WordCloud3d.js +0 -6
  461. package/esm/series/WordCloud3d.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/charts/RadarChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,MAAM,EACN,kBAAkB,EAClB,uBAAuB,EACvB,qBAAqB,EACrB,sBAAsB,EACtB,aAAa,EACd,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAkB,WAAW,EAAE,MAAM,aAAa,CAAC;AAM1D,MAAM,CAAC,MAAM,UAAU,GAAG,WAAW,CACnC,YAAY,EACZ;IACE,IAAI,EAAE,OAAO;IACb,kBAAkB,EAAE,MAA4B;CACjD,EACD;IACE,kBAAkB;IAClB,uBAAuB;IACvB,qBAAqB;IACrB,sBAAsB;IACtB,aAAa;CACd,CACF,CAAC","file":"RadarChart.js","sourcesContent":["import React from 'react';\nimport type { IRadarChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport {\n VChart,\n registerRadarChart,\n registerPolarLinearAxis, // 必选\n registerPolarBandAxis, // 必选\n registerPolarCrossHair,\n registerLabel\n} from '@visactor/vchart';\nimport { BaseChartProps, createChart } from './BaseChart';\n\nexport interface RadarChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<IRadarChartSpec, 'type'> {}\n\nexport const RadarChart = createChart<React.PropsWithChildren<RadarChartProps> & { type: 'radar' }>(\n 'RadarChart',\n {\n type: 'radar',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [\n registerRadarChart,\n registerPolarLinearAxis, // 必选\n registerPolarBandAxis, // 必选\n registerPolarCrossHair,\n registerLabel\n ]\n);\n"]}
1
+ {"version":3,"sources":["../src/charts/RadarChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,EAAkB,WAAW,EAAE,MAAM,aAAa,CAAC;AAM1D,MAAM,CAAC,MAAM,UAAU,GAAG,WAAW,CAA+D,YAAY,EAAE;IAChH,IAAI,EAAE,OAAO;IACb,kBAAkB,EAAE,MAAM;CAC3B,CAAC,CAAC","file":"RadarChart.js","sourcesContent":["import React from 'react';\nimport type { IRadarChartSpec } from '@visactor/vchart';\nimport { default as VChart } from '@visactor/vchart';\nimport { BaseChartProps, createChart } from './BaseChart';\n\nexport interface RadarChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type'>,\n Omit<IRadarChartSpec, 'type'> {}\n\nexport const RadarChart = createChart<React.PropsWithChildren<RadarChartProps> & { type: 'radar' }>('RadarChart', {\n type: 'radar',\n vchartConstrouctor: VChart\n});\n"]}
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import type { IRangeColumnChartSpec } from '@visactor/vchart';
3
3
  import { BaseChartProps } from './BaseChart';
4
- export interface RangeColumnChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<IRangeColumnChartSpec, 'type'> {
4
+ export interface RangeColumnChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type'>, Omit<IRangeColumnChartSpec, 'type'> {
5
5
  }
6
6
  export declare const RangeColumnChart: React.ForwardRefExoticComponent<RangeColumnChartProps & {
7
7
  children?: React.ReactNode;
@@ -1,9 +1,9 @@
1
- import { VChart, registerRangeColumnChart, registerCartesianLinearAxis, registerCartesianBandAxis, registerCartesianTimeAxis, registerCartesianLogAxis, registerCartesianCrossHair, registerScrollBar, registerLabel } from "@visactor/vchart";
1
+ import { default as VChart } from "@visactor/vchart";
2
2
 
3
3
  import { createChart } from "./BaseChart";
4
4
 
5
5
  export const RangeColumnChart = createChart("RangeColumnChart", {
6
6
  type: "rangeColumn",
7
7
  vchartConstrouctor: VChart
8
- }, [ registerRangeColumnChart, registerCartesianLinearAxis, registerCartesianBandAxis, registerCartesianTimeAxis, registerCartesianLogAxis, registerCartesianCrossHair, registerScrollBar, registerLabel ]);
8
+ });
9
9
  //# sourceMappingURL=RangeColumnChart.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/charts/RangeColumnChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,MAAM,EACN,wBAAwB,EACxB,2BAA2B,EAC3B,yBAAyB,EACzB,yBAAyB,EACzB,wBAAwB,EACxB,0BAA0B,EAC1B,iBAAiB,EACjB,aAAa,EACd,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAkB,WAAW,EAAE,MAAM,aAAa,CAAC;AAM1D,MAAM,CAAC,MAAM,gBAAgB,GAAG,WAAW,CACzC,kBAAkB,EAClB;IACE,IAAI,EAAE,aAAa;IACnB,kBAAkB,EAAE,MAA4B;CACjD,EACD;IACE,wBAAwB;IACxB,2BAA2B;IAC3B,yBAAyB;IACzB,yBAAyB;IACzB,wBAAwB;IACxB,0BAA0B;IAC1B,iBAAiB;IACjB,aAAa;CACd,CACF,CAAC","file":"RangeColumnChart.js","sourcesContent":["import React from 'react';\nimport type { IRangeColumnChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport {\n VChart,\n registerRangeColumnChart,\n registerCartesianLinearAxis,\n registerCartesianBandAxis,\n registerCartesianTimeAxis, // 非必选\n registerCartesianLogAxis, // 非必选\n registerCartesianCrossHair,\n registerScrollBar,\n registerLabel\n} from '@visactor/vchart';\nimport { BaseChartProps, createChart } from './BaseChart';\n\nexport interface RangeColumnChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<IRangeColumnChartSpec, 'type'> {}\n\nexport const RangeColumnChart = createChart<React.PropsWithChildren<RangeColumnChartProps> & { type: 'rangeColumn' }>(\n 'RangeColumnChart',\n {\n type: 'rangeColumn',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [\n registerRangeColumnChart,\n registerCartesianLinearAxis,\n registerCartesianBandAxis,\n registerCartesianTimeAxis, // 非必选\n registerCartesianLogAxis, // 非必选\n registerCartesianCrossHair,\n registerScrollBar,\n registerLabel\n ]\n);\n"]}
1
+ {"version":3,"sources":["../src/charts/RangeColumnChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,EAAkB,WAAW,EAAE,MAAM,aAAa,CAAC;AAM1D,MAAM,CAAC,MAAM,gBAAgB,GAAG,WAAW,CACzC,kBAAkB,EAClB;IACE,IAAI,EAAE,aAAa;IACnB,kBAAkB,EAAE,MAAM;CAC3B,CACF,CAAC","file":"RangeColumnChart.js","sourcesContent":["import React from 'react';\nimport type { IRangeColumnChartSpec } from '@visactor/vchart';\nimport { default as VChart } from '@visactor/vchart';\nimport { BaseChartProps, createChart } from './BaseChart';\n\nexport interface RangeColumnChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type'>,\n Omit<IRangeColumnChartSpec, 'type'> {}\n\nexport const RangeColumnChart = createChart<React.PropsWithChildren<RangeColumnChartProps> & { type: 'rangeColumn' }>(\n 'RangeColumnChart',\n {\n type: 'rangeColumn',\n vchartConstrouctor: VChart\n }\n);\n"]}
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import type { IRoseChartSpec } from '@visactor/vchart';
3
3
  import { BaseChartProps } from './BaseChart';
4
- export interface RoseChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<IRoseChartSpec, 'type'> {
4
+ export interface RoseChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type'>, Omit<IRoseChartSpec, 'type'> {
5
5
  }
6
6
  export declare const RoseChart: React.ForwardRefExoticComponent<RoseChartProps & {
7
7
  children?: React.ReactNode;
@@ -1,9 +1,8 @@
1
- import { VChart, registerRoseChart, registerPolarLinearAxis, registerPolarBandAxis, registerPolarCrossHair, registerLabel } from "@visactor/vchart";
1
+ import { default as VChart } from "@visactor/vchart";
2
2
 
3
3
  import { createChart } from "./BaseChart";
4
4
 
5
5
  export const RoseChart = createChart("RoseChart", {
6
6
  type: "rose",
7
7
  vchartConstrouctor: VChart
8
- }, [ registerRoseChart, registerPolarLinearAxis, registerPolarBandAxis, registerPolarCrossHair, registerLabel ]);
9
- //# sourceMappingURL=RoseChart.js.map
8
+ });
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/charts/RoseChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,MAAM,EACN,iBAAiB,EACjB,uBAAuB,EACvB,qBAAqB,EACrB,sBAAsB,EACtB,aAAa,EACd,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAkB,WAAW,EAAE,MAAM,aAAa,CAAC;AAM1D,MAAM,CAAC,MAAM,SAAS,GAAG,WAAW,CAClC,WAAW,EACX;IACE,IAAI,EAAE,MAAM;IACZ,kBAAkB,EAAE,MAA4B;CACjD,EACD;IACE,iBAAiB;IACjB,uBAAuB;IACvB,qBAAqB;IACrB,sBAAsB;IACtB,aAAa;CACd,CACF,CAAC","file":"RoseChart.js","sourcesContent":["import React from 'react';\nimport type { IRoseChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport {\n VChart,\n registerRoseChart,\n registerPolarLinearAxis, // 必选\n registerPolarBandAxis, // 必选\n registerPolarCrossHair,\n registerLabel\n} from '@visactor/vchart';\nimport { BaseChartProps, createChart } from './BaseChart';\n\nexport interface RoseChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<IRoseChartSpec, 'type'> {}\n\nexport const RoseChart = createChart<React.PropsWithChildren<RoseChartProps> & { type: 'rose' }>(\n 'RoseChart',\n {\n type: 'rose',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [\n registerRoseChart,\n registerPolarLinearAxis, // 必选\n registerPolarBandAxis, // 必选\n registerPolarCrossHair,\n registerLabel\n ]\n);\n"]}
1
+ {"version":3,"sources":["../src/charts/RoseChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,EAAkB,WAAW,EAAE,MAAM,aAAa,CAAC;AAM1D,MAAM,CAAC,MAAM,SAAS,GAAG,WAAW,CAA6D,WAAW,EAAE;IAC5G,IAAI,EAAE,MAAM;IACZ,kBAAkB,EAAE,MAAM;CAC3B,CAAC,CAAC","file":"RoseChart.js","sourcesContent":["import React from 'react';\nimport type { IRoseChartSpec } from '@visactor/vchart';\nimport { default as VChart } from '@visactor/vchart';\nimport { BaseChartProps, createChart } from './BaseChart';\n\nexport interface RoseChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type'>,\n Omit<IRoseChartSpec, 'type'> {}\n\nexport const RoseChart = createChart<React.PropsWithChildren<RoseChartProps> & { type: 'rose' }>('RoseChart', {\n type: 'rose',\n vchartConstrouctor: VChart\n});\n"]}
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import type { IScatterChartSpec } from '@visactor/vchart';
3
3
  import { BaseChartProps } from './BaseChart';
4
- export interface ScatterChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<IScatterChartSpec, 'type'> {
4
+ export interface ScatterChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type'>, Omit<IScatterChartSpec, 'type'> {
5
5
  }
6
6
  export declare const ScatterChart: React.ForwardRefExoticComponent<ScatterChartProps & {
7
7
  children?: React.ReactNode;
@@ -1,9 +1,9 @@
1
- import { VChart, registerScatterChart, registerCartesianLinearAxis, registerCartesianBandAxis, registerCartesianTimeAxis, registerCartesianLogAxis, registerCartesianCrossHair, registerLabel } from "@visactor/vchart";
1
+ import { default as VChart } from "@visactor/vchart";
2
2
 
3
3
  import { createChart } from "./BaseChart";
4
4
 
5
5
  export const ScatterChart = createChart("ScatterChart", {
6
6
  type: "scatter",
7
7
  vchartConstrouctor: VChart
8
- }, [ registerScatterChart, registerCartesianLinearAxis, registerCartesianBandAxis, registerCartesianTimeAxis, registerCartesianLogAxis, registerCartesianCrossHair, registerLabel ]);
8
+ });
9
9
  //# sourceMappingURL=ScatterChart.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/charts/ScatterChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,MAAM,EACN,oBAAoB,EACpB,2BAA2B,EAC3B,yBAAyB,EACzB,yBAAyB,EACzB,wBAAwB,EACxB,0BAA0B,EAC1B,aAAa,EACd,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAkB,WAAW,EAAE,MAAM,aAAa,CAAC;AAM1D,MAAM,CAAC,MAAM,YAAY,GAAG,WAAW,CACrC,cAAc,EACd;IACE,IAAI,EAAE,SAAS;IACf,kBAAkB,EAAE,MAA4B;CACjD,EACD;IACE,oBAAoB;IACpB,2BAA2B;IAC3B,yBAAyB;IACzB,yBAAyB;IACzB,wBAAwB;IACxB,0BAA0B;IAC1B,aAAa;CACd,CACF,CAAC","file":"ScatterChart.js","sourcesContent":["import React from 'react';\nimport type { IScatterChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport {\n VChart,\n registerScatterChart,\n registerCartesianLinearAxis,\n registerCartesianBandAxis,\n registerCartesianTimeAxis, // 非必选\n registerCartesianLogAxis, // 非必选\n registerCartesianCrossHair,\n registerLabel\n} from '@visactor/vchart';\nimport { BaseChartProps, createChart } from './BaseChart';\n\nexport interface ScatterChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<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 [\n registerScatterChart,\n registerCartesianLinearAxis,\n registerCartesianBandAxis,\n registerCartesianTimeAxis, // 非必选\n registerCartesianLogAxis, // 非必选\n registerCartesianCrossHair,\n registerLabel\n ]\n);\n"]}
1
+ {"version":3,"sources":["../src/charts/ScatterChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,EAAkB,WAAW,EAAE,MAAM,aAAa,CAAC;AAM1D,MAAM,CAAC,MAAM,YAAY,GAAG,WAAW,CACrC,cAAc,EACd;IACE,IAAI,EAAE,SAAS;IACf,kBAAkB,EAAE,MAAM;CAC3B,CACF,CAAC","file":"ScatterChart.js","sourcesContent":["import React from 'react';\nimport type { IScatterChartSpec } from '@visactor/vchart';\nimport { default as VChart } from '@visactor/vchart';\nimport { BaseChartProps, createChart } from './BaseChart';\n\nexport interface ScatterChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type'>,\n Omit<IScatterChartSpec, 'type'> {}\n\nexport const ScatterChart = createChart<React.PropsWithChildren<ScatterChartProps> & { type: 'scatter' }>(\n 'ScatterChart',\n {\n type: 'scatter',\n vchartConstrouctor: VChart\n }\n);\n"]}
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import type { ISequenceChartSpec } from '@visactor/vchart';
3
3
  import { BaseChartProps } from './BaseChart';
4
- export interface SequenceChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<ISequenceChartSpec, 'type'> {
4
+ export interface SequenceChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type'>, Omit<ISequenceChartSpec, 'type'> {
5
5
  }
6
6
  export declare const SequenceChart: React.ForwardRefExoticComponent<SequenceChartProps & {
7
7
  children?: React.ReactNode;
@@ -1,9 +1,9 @@
1
- import { VChart, registerSequenceChart, registerCartesianLinearAxis, registerCartesianBandAxis, registerCartesianTimeAxis, registerCartesianLogAxis, registerCartesianCrossHair } from "@visactor/vchart";
1
+ import { default as VChart } from "@visactor/vchart";
2
2
 
3
3
  import { createChart } from "./BaseChart";
4
4
 
5
5
  export const SequenceChart = createChart("SequenceChart", {
6
6
  type: "sequence",
7
7
  vchartConstrouctor: VChart
8
- }, [ registerSequenceChart, registerCartesianLinearAxis, registerCartesianBandAxis, registerCartesianTimeAxis, registerCartesianLogAxis, registerCartesianCrossHair ]);
8
+ });
9
9
  //# sourceMappingURL=SequenceChart.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/charts/SequenceChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,MAAM,EACN,qBAAqB,EACrB,2BAA2B,EAC3B,yBAAyB,EACzB,yBAAyB,EACzB,wBAAwB,EACxB,0BAA0B,EAC3B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAkB,WAAW,EAAE,MAAM,aAAa,CAAC;AAM1D,MAAM,CAAC,MAAM,aAAa,GAAG,WAAW,CACtC,eAAe,EACf;IACE,IAAI,EAAE,UAAU;IAChB,kBAAkB,EAAE,MAA4B;CACjD,EACD;IACE,qBAAqB;IACrB,2BAA2B;IAC3B,yBAAyB;IACzB,yBAAyB;IACzB,wBAAwB;IACxB,0BAA0B;CAC3B,CACF,CAAC","file":"SequenceChart.js","sourcesContent":["import React from 'react';\nimport type { ISequenceChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport {\n VChart,\n registerSequenceChart,\n registerCartesianLinearAxis,\n registerCartesianBandAxis,\n registerCartesianTimeAxis, // 非必选\n registerCartesianLogAxis, // 非必选\n registerCartesianCrossHair\n} from '@visactor/vchart';\nimport { BaseChartProps, createChart } from './BaseChart';\n\nexport interface SequenceChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<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 [\n registerSequenceChart,\n registerCartesianLinearAxis,\n registerCartesianBandAxis,\n registerCartesianTimeAxis, // 非必选\n registerCartesianLogAxis, // 非必选\n registerCartesianCrossHair\n ]\n);\n"]}
1
+ {"version":3,"sources":["../src/charts/SequenceChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,EAAkB,WAAW,EAAE,MAAM,aAAa,CAAC;AAM1D,MAAM,CAAC,MAAM,aAAa,GAAG,WAAW,CACtC,eAAe,EACf;IACE,IAAI,EAAE,UAAU;IAChB,kBAAkB,EAAE,MAAM;CAC3B,CACF,CAAC","file":"SequenceChart.js","sourcesContent":["import React from 'react';\nimport type { ISequenceChartSpec } from '@visactor/vchart';\nimport { default as VChart } from '@visactor/vchart';\nimport { BaseChartProps, createChart } from './BaseChart';\n\nexport interface SequenceChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type'>,\n Omit<ISequenceChartSpec, 'type'> {}\n\nexport const SequenceChart = createChart<React.PropsWithChildren<SequenceChartProps> & { type: 'sequence' }>(\n 'SequenceChart',\n {\n type: 'sequence',\n vchartConstrouctor: VChart\n }\n);\n"]}
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import type { IWordCloudChartSpec } from '@visactor/vchart';
3
3
  import { BaseChartProps } from './BaseChart';
4
- export interface WordCloudChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<IWordCloudChartSpec, 'type'> {
4
+ export interface WordCloudChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type'>, Omit<IWordCloudChartSpec, 'type'> {
5
5
  }
6
6
  export declare const WordCloudChart: React.ForwardRefExoticComponent<WordCloudChartProps & {
7
7
  children?: React.ReactNode;
@@ -1,9 +1,9 @@
1
- import { VChart, registerWordCloudChart } from "@visactor/vchart";
1
+ import { default as VChart } from "@visactor/vchart";
2
2
 
3
3
  import { createChart } from "./BaseChart";
4
4
 
5
5
  export const WordCloudChart = createChart("WordCloudChart", {
6
6
  type: "wordCloud",
7
7
  vchartConstrouctor: VChart
8
- }, [ registerWordCloudChart ]);
8
+ });
9
9
  //# sourceMappingURL=WordCloudChart.js.map
@@ -1 +1 @@
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;AAM1D,MAAM,CAAC,MAAM,cAAc,GAAG,WAAW,CACvC,gBAAgB,EAChB;IACE,IAAI,EAAE,WAAW;IACjB,kBAAkB,EAAE,MAA4B;CACjD,EACD,CAAC,sBAAsB,CAAC,CACzB,CAAC","file":"WordCloudChart.js","sourcesContent":["import React from 'react';\nimport type { IWordCloudChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerWordCloudChart } from '@visactor/vchart';\nimport { BaseChartProps, createChart } from './BaseChart';\n\nexport interface WordCloudChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<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]\n);\n"]}
1
+ {"version":3,"sources":["../src/charts/WordCloudChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,EAAkB,WAAW,EAAE,MAAM,aAAa,CAAC;AAM1D,MAAM,CAAC,MAAM,cAAc,GAAG,WAAW,CACvC,gBAAgB,EAChB;IACE,IAAI,EAAE,WAAW;IACjB,kBAAkB,EAAE,MAAM;CAC3B,CACF,CAAC","file":"WordCloudChart.js","sourcesContent":["import React from 'react';\nimport type { IWordCloudChartSpec } from '@visactor/vchart';\nimport { default as VChart } from '@visactor/vchart';\nimport { BaseChartProps, createChart } from './BaseChart';\n\nexport interface WordCloudChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type'>,\n Omit<IWordCloudChartSpec, 'type'> {}\n\nexport const WordCloudChart = createChart<React.PropsWithChildren<WordCloudChartProps> & { type: 'wordCloud' }>(\n 'WordCloudChart',\n {\n type: 'wordCloud',\n vchartConstrouctor: VChart\n }\n);\n"]}
@@ -1,34 +1,18 @@
1
1
  export * from './AreaChart';
2
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
3
  export * from './LineChart';
17
- export * from './LiquidChart';
18
- export * from './MapChart';
4
+ export * from './ScatterChart';
19
5
  export * from './PieChart';
20
- export * from './Pie3dChart';
21
- export * from './RadarChart';
22
- export * from './RangeColumnChart';
23
- export * from './RangeColumn3dChart';
24
6
  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';
7
+ export * from './RadarChart';
8
+ export * from './MapChart';
9
+ export * from './HistogramChart';
32
10
  export * from './WordCloudChart';
11
+ export * from './FunnelChart';
12
+ export * from './BoxPlotChart';
13
+ export * from './CircularProgressChart';
14
+ export * from './LinearProgressChart';
15
+ export * from './RangeColumnChart';
16
+ export * from './CommonChart';
33
17
  export type { ChartOptions } from './BaseChart';
34
18
  export type { IData, IChartSpec } from '@visactor/vchart';
@@ -2,63 +2,31 @@ export * from "./AreaChart";
2
2
 
3
3
  export * from "./BarChart";
4
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
5
  export * from "./LineChart";
32
6
 
33
- export * from "./LiquidChart";
34
-
35
- export * from "./MapChart";
7
+ export * from "./ScatterChart";
36
8
 
37
9
  export * from "./PieChart";
38
10
 
39
- export * from "./Pie3dChart";
11
+ export * from "./RoseChart";
40
12
 
41
13
  export * from "./RadarChart";
42
14
 
43
- export * from "./RangeColumnChart";
44
-
45
- export * from "./RangeColumn3dChart";
46
-
47
- export * from "./RoseChart";
15
+ export * from "./MapChart";
48
16
 
49
- export * from "./SankeyChart";
17
+ export * from "./HistogramChart";
50
18
 
51
- export * from "./ScatterChart";
19
+ export * from "./WordCloudChart";
52
20
 
53
- export * from "./SequenceChart";
21
+ export * from "./FunnelChart";
54
22
 
55
- export * from "./SunburstChart";
23
+ export * from "./BoxPlotChart";
56
24
 
57
- export * from "./TreemapChart";
25
+ export * from "./CircularProgressChart";
58
26
 
59
- export * from "./WordCloudChart";
27
+ export * from "./LinearProgressChart";
60
28
 
61
- export * from "./WordCloud3dChart";
29
+ export * from "./RangeColumnChart";
62
30
 
63
- export * from "./WordCloudChart";
31
+ export * from "./CommonChart";
64
32
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
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","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';\n\nexport type { ChartOptions } from './BaseChart';\nexport type { IData, IChartSpec } from '@visactor/vchart';\n"]}
1
+ {"version":3,"sources":["../src/charts/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAE/B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAE5B,cAAc,cAAc,CAAC;AAE7B,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAE/B,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AAEnC,cAAc,eAAe,CAAC","file":"index.js","sourcesContent":["export * from './AreaChart';\nexport * from './BarChart';\nexport * from './LineChart';\nexport * from './ScatterChart';\n\nexport * from './PieChart';\nexport * from './RoseChart';\n\nexport * from './RadarChart';\n\nexport * from './MapChart';\nexport * from './HistogramChart';\nexport * from './WordCloudChart';\nexport * from './FunnelChart';\nexport * from './BoxPlotChart';\n\nexport * from './CircularProgressChart';\nexport * from './LinearProgressChart';\nexport * from './RangeColumnChart';\n\nexport * from './CommonChart';\n\nexport type { ChartOptions } from './BaseChart';\nexport type { IData, IChartSpec } from '@visactor/vchart';\n"]}
@@ -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, registers?: (() => void)[]) => React.FC<T>;
9
+ export declare const createComponent: <T extends ComponentProps>(componentName: string, specName: string, supportedEvents?: Record<string, string> | null, isSingle?: boolean) => React.FC<T>;
10
10
  export {};
@@ -6,10 +6,7 @@ import RootChartContext from "../context/chart";
6
6
 
7
7
  import { bindEventsToChart } from "../eventsUtils";
8
8
 
9
- import { VChart } from "@visactor/vchart";
10
-
11
- export const createComponent = (componentName, specName, supportedEvents, isSingle, registers) => {
12
- registers && registers.length && VChart.useRegisters(registers);
9
+ export const createComponent = (componentName, specName, supportedEvents, isSingle) => {
13
10
  const ignoreKeys = [ "id", "updateId", "componentId" ], notSpecKeys = supportedEvents ? Object.keys(supportedEvents).concat(ignoreKeys) : ignoreKeys, Comp = props => {
14
11
  const context = useContext(RootChartContext), eventsBinded = React.useRef(null), updateId = React.useRef(props.updateId);
15
12
  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;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"]}
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"]}
@@ -2,7 +2,5 @@ import { BRUSH_CUSTOMIZED_EVENTS } from "../eventsUtils";
2
2
 
3
3
  import { createComponent } from "./BaseComponent";
4
4
 
5
- import { registerBrush } from "@visactor/vchart";
6
-
7
- export const Brush = createComponent("Brush", "brush", BRUSH_CUSTOMIZED_EVENTS, !0, [ registerBrush ]);
5
+ export const Brush = createComponent("Brush", "brush", BRUSH_CUSTOMIZED_EVENTS, !0);
8
6
  //# 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;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
+ {"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"]}
@@ -2,7 +2,5 @@ import { DATAZOOM_CUSTOMIZED_EVENTS } from "../eventsUtils";
2
2
 
3
3
  import { createComponent } from "./BaseComponent";
4
4
 
5
- import { registerDataZoom } from "@visactor/vchart";
6
-
7
- export const DataZoom = createComponent("DataZoom", "dataZoom", DATAZOOM_CUSTOMIZED_EVENTS, !1, [ registerDataZoom ]);
5
+ export const DataZoom = createComponent("DataZoom", "dataZoom", DATAZOOM_CUSTOMIZED_EVENTS);
8
6
  //# 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;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
+ {"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,6 +1,4 @@
1
1
  import { createComponent } from "./BaseComponent";
2
2
 
3
- import { registerIndicator } from "@visactor/vchart";
4
-
5
- export const Indicator = createComponent("Indicator", "indicator", null, !0, [ registerIndicator ]);
3
+ export const Indicator = createComponent("Indicator", "indicator", null, !0);
6
4
  //# sourceMappingURL=Indicator.js.map
@@ -1 +1 @@
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
+ {"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"]}
@@ -2,7 +2,5 @@ import { LEGEND_CUSTOMIZED_EVENTS } from "../eventsUtils";
2
2
 
3
3
  import { createComponent } from "./BaseComponent";
4
4
 
5
- import { registerDiscreteLegend } from "@visactor/vchart";
6
-
7
- export const Legend = createComponent("Legend", "legends", LEGEND_CUSTOMIZED_EVENTS, !1, [ registerDiscreteLegend ]);
5
+ export const Legend = createComponent("Legend", "legends", LEGEND_CUSTOMIZED_EVENTS);
8
6
  //# 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;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
+ {"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,6 +1,4 @@
1
1
  import { createComponent } from "./BaseComponent";
2
2
 
3
- import { registerCustomMark } from "@visactor/vchart";
4
-
5
- export const Mark = createComponent("Mark", "customMark", null, !1, [ registerCustomMark ]);
3
+ export const Mark = createComponent("Mark", "customMark");
6
4
  //# sourceMappingURL=Mark.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/Mark.tsx"],"names":[],"mappings":"AACA,OAAO,EAAsB,eAAe,EAAE,MAAM,iBAAiB,CAAC;AACtE,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAItD,MAAM,CAAC,MAAM,IAAI,GAAG,eAAe,CAAY,MAAM,EAAE,YAAY,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,kBAAkB,CAAC,CAAC,CAAC","file":"Mark.js","sourcesContent":["import type { ICustomMarkSpec, EnableMarkType } from '@visactor/vchart';\nimport { BaseComponentProps, createComponent } from './BaseComponent';\nimport { registerCustomMark } from '@visactor/vchart';\n\nexport type MarkProps = ICustomMarkSpec<EnableMarkType> & BaseComponentProps;\n\nexport const Mark = createComponent<MarkProps>('Mark', 'customMark', null, false, [registerCustomMark]);\n"]}
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,6 +1,4 @@
1
1
  import { createComponent } from "./BaseComponent";
2
2
 
3
- import { registerMarkArea } from "@visactor/vchart";
4
-
5
- export const MarkArea = createComponent("MarkArea", "markArea", null, !1, [ registerMarkArea ]);
3
+ export const MarkArea = createComponent("MarkArea", "markArea");
6
4
  //# sourceMappingURL=MarkArea.js.map
@@ -1 +1 @@
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
+ {"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,6 +1,4 @@
1
1
  import { createComponent } from "./BaseComponent";
2
2
 
3
- import { registerMarkLine } from "@visactor/vchart";
4
-
5
- export const MarkLine = createComponent("MarkLine", "markLine", null, !1, [ registerMarkLine ]);
3
+ export const MarkLine = createComponent("MarkLine", "markLine");
6
4
  //# sourceMappingURL=MarkLine.js.map
@@ -1 +1 @@
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
+ {"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,6 +1,4 @@
1
1
  import { createComponent } from "./BaseComponent";
2
2
 
3
- import { registerMarkPoint } from "@visactor/vchart";
4
-
5
- export const MarkPoint = createComponent("MarkPoint", "markPoint", null, !1, [ registerMarkPoint ]);
3
+ export const MarkPoint = createComponent("MarkPoint", "markPoint");
6
4
  //# sourceMappingURL=MarkPoint.js.map
@@ -1 +1 @@
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"]}
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"]}
@@ -2,7 +2,5 @@ import { PLAYER_CUSTOMIZED_EVENTS } from "../eventsUtils";
2
2
 
3
3
  import { createComponent } from "./BaseComponent";
4
4
 
5
- import { registerPlayer } from "@visactor/vchart";
6
-
7
- export const Player = createComponent("Player", "player", PLAYER_CUSTOMIZED_EVENTS, !0, [ registerPlayer ]);
5
+ export const Player = createComponent("Player", "player", PLAYER_CUSTOMIZED_EVENTS, !0);
8
6
  //# 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;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
+ {"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,4 +1,5 @@
1
1
  import type { IRegionSpec } from '@visactor/vchart';
2
2
  import { BaseComponentProps } from './BaseComponent';
3
- export type RegionProps = BaseComponentProps & IRegionSpec;
3
+ export interface RegionProps extends BaseComponentProps, IRegionSpec {
4
+ }
4
5
  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;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"]}
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"]}
@@ -2,7 +2,5 @@ import { SCROLLBAR_CUSTOMIZED_EVENTS } from "../eventsUtils";
2
2
 
3
3
  import { createComponent } from "./BaseComponent";
4
4
 
5
- import { registerScrollBar } from "@visactor/vchart";
6
-
7
- export const ScrollBar = createComponent("ScrollBar", "scrollBar", SCROLLBAR_CUSTOMIZED_EVENTS, !1, [ registerScrollBar ]);
5
+ export const ScrollBar = createComponent("ScrollBar", "scrollBar", SCROLLBAR_CUSTOMIZED_EVENTS);
8
6
  //# 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;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
+ {"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,6 +1,4 @@
1
1
  import { createComponent } from "./BaseComponent";
2
2
 
3
- import { registerTitle } from "@visactor/vchart";
4
-
5
- export const Title = createComponent("Title", "title", null, !0, [ registerTitle ]);
3
+ export const Title = createComponent("Title", "title", null, !0);
6
4
  //# sourceMappingURL=Title.js.map
@@ -1 +1 @@
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"]}
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"]}
@@ -13,4 +13,3 @@ export * from './tooltip';
13
13
  export * from './Player';
14
14
  export * from './Indicator';
15
15
  export * from './Title';
16
- export * from './ContinuousLegend';
@@ -27,6 +27,4 @@ export * from "./Player";
27
27
  export * from "./Indicator";
28
28
 
29
29
  export * from "./Title";
30
-
31
- export * from "./ContinuousLegend";
32
30
  //# 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;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"]}
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"]}