@visactor/react-vchart 1.12.0-alpha.9 → 1.12.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 (239) hide show
  1. package/cjs/charts/AreaChart.d.ts +4 -4
  2. package/cjs/charts/AreaChart.js +2 -2
  3. package/cjs/charts/AreaChart.js.map +1 -1
  4. package/cjs/charts/Bar3dChart.d.ts +3 -3
  5. package/cjs/charts/Bar3dChart.js +2 -2
  6. package/cjs/charts/Bar3dChart.js.map +1 -1
  7. package/cjs/charts/BarChart.d.ts +3 -3
  8. package/cjs/charts/BarChart.js +2 -2
  9. package/cjs/charts/BarChart.js.map +1 -1
  10. package/cjs/charts/BoxPlotChart.d.ts +4 -4
  11. package/cjs/charts/BoxPlotChart.js +2 -2
  12. package/cjs/charts/BoxPlotChart.js.map +1 -1
  13. package/cjs/charts/CirclePackingChart.d.ts +4 -4
  14. package/cjs/charts/CirclePackingChart.js +2 -2
  15. package/cjs/charts/CirclePackingChart.js.map +1 -1
  16. package/cjs/charts/CircularProgressChart.d.ts +5 -5
  17. package/cjs/charts/CircularProgressChart.js +2 -2
  18. package/cjs/charts/CircularProgressChart.js.map +1 -1
  19. package/cjs/charts/CommonChart.d.ts +5 -5
  20. package/cjs/charts/CommonChart.js.map +1 -1
  21. package/cjs/charts/CorrelationChart.d.ts +4 -4
  22. package/cjs/charts/CorrelationChart.js +2 -2
  23. package/cjs/charts/CorrelationChart.js.map +1 -1
  24. package/cjs/charts/Funnel3dChart.d.ts +4 -4
  25. package/cjs/charts/Funnel3dChart.js +2 -2
  26. package/cjs/charts/Funnel3dChart.js.map +1 -1
  27. package/cjs/charts/FunnelChart.d.ts +4 -4
  28. package/cjs/charts/FunnelChart.js +2 -2
  29. package/cjs/charts/FunnelChart.js.map +1 -1
  30. package/cjs/charts/GaugeChart.d.ts +3 -3
  31. package/cjs/charts/GaugeChart.js +2 -2
  32. package/cjs/charts/GaugeChart.js.map +1 -1
  33. package/cjs/charts/HeatmapChart.d.ts +4 -4
  34. package/cjs/charts/HeatmapChart.js +2 -2
  35. package/cjs/charts/HeatmapChart.js.map +1 -1
  36. package/cjs/charts/Histogram3dChart.d.ts +4 -4
  37. package/cjs/charts/Histogram3dChart.js +2 -2
  38. package/cjs/charts/Histogram3dChart.js.map +1 -1
  39. package/cjs/charts/HistogramChart.d.ts +4 -4
  40. package/cjs/charts/HistogramChart.js +2 -2
  41. package/cjs/charts/HistogramChart.js.map +1 -1
  42. package/cjs/charts/LineChart.d.ts +4 -4
  43. package/cjs/charts/LineChart.js +2 -2
  44. package/cjs/charts/LineChart.js.map +1 -1
  45. package/cjs/charts/LinearProgressChart.d.ts +5 -5
  46. package/cjs/charts/LinearProgressChart.js +2 -2
  47. package/cjs/charts/LinearProgressChart.js.map +1 -1
  48. package/cjs/charts/LiquidChart.d.ts +4 -4
  49. package/cjs/charts/LiquidChart.js +2 -2
  50. package/cjs/charts/LiquidChart.js.map +1 -1
  51. package/cjs/charts/MapChart.d.ts +4 -4
  52. package/cjs/charts/MapChart.js +2 -2
  53. package/cjs/charts/MapChart.js.map +1 -1
  54. package/cjs/charts/Pie3dChart.d.ts +4 -4
  55. package/cjs/charts/Pie3dChart.js +2 -2
  56. package/cjs/charts/Pie3dChart.js.map +1 -1
  57. package/cjs/charts/PieChart.d.ts +4 -4
  58. package/cjs/charts/PieChart.js +2 -2
  59. package/cjs/charts/PieChart.js.map +1 -1
  60. package/cjs/charts/RadarChart.d.ts +4 -4
  61. package/cjs/charts/RadarChart.js +2 -2
  62. package/cjs/charts/RadarChart.js.map +1 -1
  63. package/cjs/charts/RangeColumn3dChart.d.ts +4 -4
  64. package/cjs/charts/RangeColumn3dChart.js +2 -2
  65. package/cjs/charts/RangeColumn3dChart.js.map +1 -1
  66. package/cjs/charts/RangeColumnChart.d.ts +4 -4
  67. package/cjs/charts/RangeColumnChart.js +2 -2
  68. package/cjs/charts/RangeColumnChart.js.map +1 -1
  69. package/cjs/charts/RoseChart.d.ts +4 -4
  70. package/cjs/charts/RoseChart.js +2 -2
  71. package/cjs/charts/RoseChart.js.map +1 -1
  72. package/cjs/charts/SankeyChart.d.ts +4 -4
  73. package/cjs/charts/SankeyChart.js +2 -2
  74. package/cjs/charts/SankeyChart.js.map +1 -1
  75. package/cjs/charts/ScatterChart.d.ts +4 -4
  76. package/cjs/charts/ScatterChart.js +2 -2
  77. package/cjs/charts/ScatterChart.js.map +1 -1
  78. package/cjs/charts/SequenceChart.d.ts +4 -4
  79. package/cjs/charts/SequenceChart.js +2 -2
  80. package/cjs/charts/SequenceChart.js.map +1 -1
  81. package/cjs/charts/SunburstChart.d.ts +4 -4
  82. package/cjs/charts/SunburstChart.js +2 -2
  83. package/cjs/charts/SunburstChart.js.map +1 -1
  84. package/cjs/charts/TreemapChart.d.ts +4 -4
  85. package/cjs/charts/TreemapChart.js +2 -2
  86. package/cjs/charts/TreemapChart.js.map +1 -1
  87. package/cjs/charts/VennChart.d.ts +10 -0
  88. package/cjs/charts/VennChart.js +12 -0
  89. package/cjs/charts/VennChart.js.map +1 -0
  90. package/cjs/charts/WaterfallChart.d.ts +4 -4
  91. package/cjs/charts/WaterfallChart.js +3 -2
  92. package/cjs/charts/WaterfallChart.js.map +1 -1
  93. package/cjs/charts/WordCloud3dChart.d.ts +4 -4
  94. package/cjs/charts/WordCloud3dChart.js +2 -2
  95. package/cjs/charts/WordCloud3dChart.js.map +1 -1
  96. package/cjs/charts/WordCloudChart.d.ts +3 -3
  97. package/cjs/charts/WordCloudChart.js +2 -2
  98. package/cjs/charts/WordCloudChart.js.map +1 -1
  99. package/cjs/charts/index.d.ts +1 -0
  100. package/cjs/charts/index.js +2 -1
  101. package/cjs/charts/index.js.map +1 -1
  102. package/cjs/charts/registers/cartesian.d.ts +1 -0
  103. package/cjs/charts/registers/cartesian.js +10 -0
  104. package/cjs/charts/registers/cartesian.js.map +1 -0
  105. package/cjs/charts/registers/polar.d.ts +1 -0
  106. package/cjs/charts/registers/polar.js +10 -0
  107. package/cjs/charts/registers/polar.js.map +1 -0
  108. package/cjs/charts/registers/simple.d.ts +1 -0
  109. package/cjs/charts/registers/simple.js +10 -0
  110. package/cjs/charts/registers/simple.js.map +1 -0
  111. package/cjs/components/Player.js +1 -2
  112. package/cjs/components/Region.js +2 -1
  113. package/cjs/index.d.ts +1 -1
  114. package/cjs/index.js +1 -1
  115. package/cjs/index.js.map +1 -1
  116. package/cjs/series/Area.js +1 -1
  117. package/esm/charts/AreaChart.d.ts +4 -4
  118. package/esm/charts/AreaChart.js +3 -3
  119. package/esm/charts/AreaChart.js.map +1 -1
  120. package/esm/charts/Bar3dChart.d.ts +3 -3
  121. package/esm/charts/Bar3dChart.js +2 -2
  122. package/esm/charts/Bar3dChart.js.map +1 -1
  123. package/esm/charts/BarChart.d.ts +3 -3
  124. package/esm/charts/BarChart.js +2 -2
  125. package/esm/charts/BarChart.js.map +1 -1
  126. package/esm/charts/BoxPlotChart.d.ts +4 -4
  127. package/esm/charts/BoxPlotChart.js +2 -2
  128. package/esm/charts/BoxPlotChart.js.map +1 -1
  129. package/esm/charts/CirclePackingChart.d.ts +4 -4
  130. package/esm/charts/CirclePackingChart.js +2 -2
  131. package/esm/charts/CirclePackingChart.js.map +1 -1
  132. package/esm/charts/CircularProgressChart.d.ts +5 -5
  133. package/esm/charts/CircularProgressChart.js +3 -3
  134. package/esm/charts/CircularProgressChart.js.map +1 -1
  135. package/esm/charts/CommonChart.d.ts +5 -5
  136. package/esm/charts/CommonChart.js.map +1 -1
  137. package/esm/charts/CorrelationChart.d.ts +4 -4
  138. package/esm/charts/CorrelationChart.js +2 -2
  139. package/esm/charts/CorrelationChart.js.map +1 -1
  140. package/esm/charts/Funnel3dChart.d.ts +4 -4
  141. package/esm/charts/Funnel3dChart.js +2 -2
  142. package/esm/charts/Funnel3dChart.js.map +1 -1
  143. package/esm/charts/FunnelChart.d.ts +4 -4
  144. package/esm/charts/FunnelChart.js +2 -2
  145. package/esm/charts/FunnelChart.js.map +1 -1
  146. package/esm/charts/GaugeChart.d.ts +3 -3
  147. package/esm/charts/GaugeChart.js +2 -2
  148. package/esm/charts/GaugeChart.js.map +1 -1
  149. package/esm/charts/HeatmapChart.d.ts +4 -4
  150. package/esm/charts/HeatmapChart.js +3 -3
  151. package/esm/charts/HeatmapChart.js.map +1 -1
  152. package/esm/charts/Histogram3dChart.d.ts +4 -4
  153. package/esm/charts/Histogram3dChart.js +2 -2
  154. package/esm/charts/Histogram3dChart.js.map +1 -1
  155. package/esm/charts/HistogramChart.d.ts +4 -4
  156. package/esm/charts/HistogramChart.js +2 -2
  157. package/esm/charts/HistogramChart.js.map +1 -1
  158. package/esm/charts/LineChart.d.ts +4 -4
  159. package/esm/charts/LineChart.js +3 -3
  160. package/esm/charts/LineChart.js.map +1 -1
  161. package/esm/charts/LinearProgressChart.d.ts +5 -5
  162. package/esm/charts/LinearProgressChart.js +3 -3
  163. package/esm/charts/LinearProgressChart.js.map +1 -1
  164. package/esm/charts/LiquidChart.d.ts +4 -4
  165. package/esm/charts/LiquidChart.js +3 -3
  166. package/esm/charts/LiquidChart.js.map +1 -1
  167. package/esm/charts/MapChart.d.ts +4 -4
  168. package/esm/charts/MapChart.js +3 -3
  169. package/esm/charts/MapChart.js.map +1 -1
  170. package/esm/charts/Pie3dChart.d.ts +4 -4
  171. package/esm/charts/Pie3dChart.js +3 -3
  172. package/esm/charts/Pie3dChart.js.map +1 -1
  173. package/esm/charts/PieChart.d.ts +4 -4
  174. package/esm/charts/PieChart.js +3 -3
  175. package/esm/charts/PieChart.js.map +1 -1
  176. package/esm/charts/RadarChart.d.ts +4 -4
  177. package/esm/charts/RadarChart.js +3 -3
  178. package/esm/charts/RadarChart.js.map +1 -1
  179. package/esm/charts/RangeColumn3dChart.d.ts +4 -4
  180. package/esm/charts/RangeColumn3dChart.js +3 -3
  181. package/esm/charts/RangeColumn3dChart.js.map +1 -1
  182. package/esm/charts/RangeColumnChart.d.ts +4 -4
  183. package/esm/charts/RangeColumnChart.js +3 -3
  184. package/esm/charts/RangeColumnChart.js.map +1 -1
  185. package/esm/charts/RoseChart.d.ts +4 -4
  186. package/esm/charts/RoseChart.js +2 -2
  187. package/esm/charts/RoseChart.js.map +1 -1
  188. package/esm/charts/SankeyChart.d.ts +4 -4
  189. package/esm/charts/SankeyChart.js +3 -3
  190. package/esm/charts/SankeyChart.js.map +1 -1
  191. package/esm/charts/ScatterChart.d.ts +4 -4
  192. package/esm/charts/ScatterChart.js +3 -3
  193. package/esm/charts/ScatterChart.js.map +1 -1
  194. package/esm/charts/SequenceChart.d.ts +4 -4
  195. package/esm/charts/SequenceChart.js +3 -3
  196. package/esm/charts/SequenceChart.js.map +1 -1
  197. package/esm/charts/SunburstChart.d.ts +4 -4
  198. package/esm/charts/SunburstChart.js +3 -3
  199. package/esm/charts/SunburstChart.js.map +1 -1
  200. package/esm/charts/TreemapChart.d.ts +4 -4
  201. package/esm/charts/TreemapChart.js +3 -3
  202. package/esm/charts/TreemapChart.js.map +1 -1
  203. package/esm/charts/VennChart.d.ts +10 -0
  204. package/esm/charts/VennChart.js +10 -0
  205. package/esm/charts/VennChart.js.map +1 -0
  206. package/esm/charts/WaterfallChart.d.ts +4 -4
  207. package/esm/charts/WaterfallChart.js +4 -3
  208. package/esm/charts/WaterfallChart.js.map +1 -1
  209. package/esm/charts/WordCloud3dChart.d.ts +4 -4
  210. package/esm/charts/WordCloud3dChart.js +3 -3
  211. package/esm/charts/WordCloud3dChart.js.map +1 -1
  212. package/esm/charts/WordCloudChart.d.ts +3 -3
  213. package/esm/charts/WordCloudChart.js +2 -2
  214. package/esm/charts/WordCloudChart.js.map +1 -1
  215. package/esm/charts/index.d.ts +1 -0
  216. package/esm/charts/index.js +2 -0
  217. package/esm/charts/index.js.map +1 -1
  218. package/esm/charts/registers/cartesian.d.ts +1 -0
  219. package/esm/charts/registers/cartesian.js +4 -0
  220. package/esm/charts/registers/cartesian.js.map +1 -0
  221. package/esm/charts/registers/polar.d.ts +1 -0
  222. package/esm/charts/registers/polar.js +4 -0
  223. package/esm/charts/registers/polar.js.map +1 -0
  224. package/esm/charts/registers/simple.d.ts +1 -0
  225. package/esm/charts/registers/simple.js +4 -0
  226. package/esm/charts/registers/simple.js.map +1 -0
  227. package/esm/components/Player.js +1 -2
  228. package/esm/components/Region.js +2 -1
  229. package/esm/index.d.ts +1 -1
  230. package/esm/index.js +1 -1
  231. package/esm/index.js.map +1 -1
  232. package/esm/series/Area.js +1 -1
  233. package/package.json +8 -8
  234. package/cjs/charts/register.d.ts +0 -3
  235. package/cjs/charts/register.js +0 -12
  236. package/cjs/charts/register.js.map +0 -1
  237. package/esm/charts/register.d.ts +0 -3
  238. package/esm/charts/register.js +0 -8
  239. package/esm/charts/register.js.map +0 -1
@@ -1,10 +1,10 @@
1
- import React from 'react';
1
+ import type React from 'react';
2
2
  import type { IRangeColumn3dChartSpec } from '@visactor/vchart';
3
- import { BaseChartProps } from './BaseChart';
4
- export interface RangeColumn3dChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<IRangeColumn3dChartSpec, 'type'> {
3
+ import type { BaseChartProps } from './BaseChart';
4
+ export interface RangeColumn3dChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<Partial<IRangeColumn3dChartSpec>, 'type'> {
5
5
  }
6
6
  export declare const RangeColumn3dChart: React.ForwardRefExoticComponent<RangeColumn3dChartProps & {
7
7
  children?: React.ReactNode;
8
8
  } & {
9
- type: 'rangeColumn3d';
9
+ type?: 'rangeColumn3d';
10
10
  } & import("../containers/withContainer").ContainerProps & React.RefAttributes<any>>;
@@ -1,11 +1,11 @@
1
1
  import { VChart, registerRangeColumn3dChart, registerLabel } from "@visactor/vchart";
2
2
 
3
- import { createChart } from "./BaseChart";
3
+ import { registers } from "./registers/cartesian";
4
4
 
5
- import { cartesianComponentsRegisters } from "./register";
5
+ import { createChart } from "./BaseChart";
6
6
 
7
7
  export const RangeColumn3dChart = createChart("RangeColumn3dChart", {
8
8
  type: "rangeColumn3d",
9
9
  vchartConstrouctor: VChart
10
- }, [ registerRangeColumn3dChart, registerLabel, ...cartesianComponentsRegisters ]);
10
+ }, [ registerRangeColumn3dChart, registerLabel, ...registers ]);
11
11
  //# sourceMappingURL=RangeColumn3dChart.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/charts/RangeColumn3dChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,0BAA0B,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACrF,OAAO,EAAkB,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1D,OAAO,EAAE,4BAA4B,EAAE,MAAM,YAAY,CAAC;AAM1D,MAAM,CAAC,MAAM,kBAAkB,GAAG,WAAW,CAG3C,oBAAoB,EACpB;IACE,IAAI,EAAE,eAAe;IACrB,kBAAkB,EAAE,MAA4B;CACjD,EACD,CAAC,0BAA0B,EAAE,aAAa,EAAE,GAAG,4BAA4B,CAAC,CAC7E,CAAC","file":"RangeColumn3dChart.js","sourcesContent":["import React from 'react';\nimport type { IRangeColumn3dChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerRangeColumn3dChart, registerLabel } from '@visactor/vchart';\nimport { BaseChartProps, createChart } from './BaseChart';\nimport { cartesianComponentsRegisters } from './register';\n\nexport interface RangeColumn3dChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<IRangeColumn3dChartSpec, 'type'> {}\n\nexport const RangeColumn3dChart = createChart<\n React.PropsWithChildren<RangeColumn3dChartProps> & { type: 'rangeColumn3d' }\n>(\n 'RangeColumn3dChart',\n {\n type: 'rangeColumn3d',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerRangeColumn3dChart, registerLabel, ...cartesianComponentsRegisters]\n);\n"]}
1
+ {"version":3,"sources":["../src/charts/RangeColumn3dChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,0BAA0B,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACrF,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAElD,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAM1C,MAAM,CAAC,MAAM,kBAAkB,GAAG,WAAW,CAG3C,oBAAoB,EACpB;IACE,IAAI,EAAE,eAAe;IACrB,kBAAkB,EAAE,MAA4B;CACjD,EACD,CAAC,0BAA0B,EAAE,aAAa,EAAE,GAAG,SAAS,CAAC,CAC1D,CAAC","file":"RangeColumn3dChart.js","sourcesContent":["import type React from 'react';\nimport type { IRangeColumn3dChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerRangeColumn3dChart, registerLabel } from '@visactor/vchart';\nimport { registers } from './registers/cartesian';\nimport type { BaseChartProps } from './BaseChart';\nimport { createChart } from './BaseChart';\n\nexport interface RangeColumn3dChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<Partial<IRangeColumn3dChartSpec>, 'type'> {}\n\nexport const RangeColumn3dChart = createChart<\n React.PropsWithChildren<RangeColumn3dChartProps> & { type?: 'rangeColumn3d' }\n>(\n 'RangeColumn3dChart',\n {\n type: 'rangeColumn3d',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerRangeColumn3dChart, registerLabel, ...registers]\n);\n"]}
@@ -1,10 +1,10 @@
1
- import React from 'react';
1
+ import type React from 'react';
2
2
  import type { IRangeColumnChartSpec } from '@visactor/vchart';
3
- import { BaseChartProps } from './BaseChart';
4
- export interface RangeColumnChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<IRangeColumnChartSpec, 'type'> {
3
+ import type { BaseChartProps } from './BaseChart';
4
+ export interface RangeColumnChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<Partial<IRangeColumnChartSpec>, 'type'> {
5
5
  }
6
6
  export declare const RangeColumnChart: React.ForwardRefExoticComponent<RangeColumnChartProps & {
7
7
  children?: React.ReactNode;
8
8
  } & {
9
- type: 'rangeColumn';
9
+ type?: 'rangeColumn';
10
10
  } & import("../containers/withContainer").ContainerProps & React.RefAttributes<any>>;
@@ -1,11 +1,11 @@
1
1
  import { VChart, registerRangeColumnChart, registerLabel } from "@visactor/vchart";
2
2
 
3
- import { createChart } from "./BaseChart";
3
+ import { registers } from "./registers/cartesian";
4
4
 
5
- import { cartesianComponentsRegisters } from "./register";
5
+ import { createChart } from "./BaseChart";
6
6
 
7
7
  export const RangeColumnChart = createChart("RangeColumnChart", {
8
8
  type: "rangeColumn",
9
9
  vchartConstrouctor: VChart
10
- }, [ registerRangeColumnChart, registerLabel, ...cartesianComponentsRegisters ]);
10
+ }, [ registerRangeColumnChart, registerLabel, ...registers ]);
11
11
  //# sourceMappingURL=RangeColumnChart.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/charts/RangeColumnChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,wBAAwB,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACnF,OAAO,EAAkB,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1D,OAAO,EAAE,4BAA4B,EAAE,MAAM,YAAY,CAAC;AAM1D,MAAM,CAAC,MAAM,gBAAgB,GAAG,WAAW,CACzC,kBAAkB,EAClB;IACE,IAAI,EAAE,aAAa;IACnB,kBAAkB,EAAE,MAA4B;CACjD,EACD,CAAC,wBAAwB,EAAE,aAAa,EAAE,GAAG,4BAA4B,CAAC,CAC3E,CAAC","file":"RangeColumnChart.js","sourcesContent":["import React from 'react';\nimport type { IRangeColumnChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerRangeColumnChart, registerLabel } from '@visactor/vchart';\nimport { BaseChartProps, createChart } from './BaseChart';\nimport { cartesianComponentsRegisters } from './register';\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 [registerRangeColumnChart, registerLabel, ...cartesianComponentsRegisters]\n);\n"]}
1
+ {"version":3,"sources":["../src/charts/RangeColumnChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,wBAAwB,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACnF,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAElD,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAM1C,MAAM,CAAC,MAAM,gBAAgB,GAAG,WAAW,CACzC,kBAAkB,EAClB;IACE,IAAI,EAAE,aAAa;IACnB,kBAAkB,EAAE,MAA4B;CACjD,EACD,CAAC,wBAAwB,EAAE,aAAa,EAAE,GAAG,SAAS,CAAC,CACxD,CAAC","file":"RangeColumnChart.js","sourcesContent":["import type React from 'react';\nimport type { IRangeColumnChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerRangeColumnChart, registerLabel } from '@visactor/vchart';\nimport { registers } from './registers/cartesian';\nimport type { BaseChartProps } from './BaseChart';\nimport { createChart } from './BaseChart';\n\nexport interface RangeColumnChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<Partial<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 [registerRangeColumnChart, registerLabel, ...registers]\n);\n"]}
@@ -1,10 +1,10 @@
1
- import React from 'react';
1
+ import type React from 'react';
2
2
  import type { IRoseChartSpec } from '@visactor/vchart';
3
- import { BaseChartProps } from './BaseChart';
4
- export interface RoseChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<IRoseChartSpec, 'type'> {
3
+ import type { BaseChartProps } from './BaseChart';
4
+ export interface RoseChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<Partial<IRoseChartSpec>, 'type'> {
5
5
  }
6
6
  export declare const RoseChart: React.ForwardRefExoticComponent<RoseChartProps & {
7
7
  children?: React.ReactNode;
8
8
  } & {
9
- type: 'rose';
9
+ type?: 'rose';
10
10
  } & import("../containers/withContainer").ContainerProps & React.RefAttributes<any>>;
@@ -2,10 +2,10 @@ import { VChart, registerRoseChart, registerLabel } from "@visactor/vchart";
2
2
 
3
3
  import { createChart } from "./BaseChart";
4
4
 
5
- import { polarComponentsRegisters } from "./register";
5
+ import { registers } from "./registers/polar";
6
6
 
7
7
  export const RoseChart = createChart("RoseChart", {
8
8
  type: "rose",
9
9
  vchartConstrouctor: VChart
10
- }, [ registerRoseChart, registerLabel, ...polarComponentsRegisters ]);
10
+ }, [ registerRoseChart, registerLabel, ...registers ]);
11
11
  //# sourceMappingURL=RoseChart.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/charts/RoseChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAC5E,OAAO,EAAkB,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1D,OAAO,EAAE,wBAAwB,EAAE,MAAM,YAAY,CAAC;AAMtD,MAAM,CAAC,MAAM,SAAS,GAAG,WAAW,CAClC,WAAW,EACX;IACE,IAAI,EAAE,MAAM;IACZ,kBAAkB,EAAE,MAA4B;CACjD,EACD,CAAC,iBAAiB,EAAE,aAAa,EAAE,GAAG,wBAAwB,CAAC,CAChE,CAAC","file":"RoseChart.js","sourcesContent":["import React from 'react';\nimport type { IRoseChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerRoseChart, registerLabel } from '@visactor/vchart';\nimport { BaseChartProps, createChart } from './BaseChart';\nimport { polarComponentsRegisters } from './register';\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 [registerRoseChart, registerLabel, ...polarComponentsRegisters]\n);\n"]}
1
+ {"version":3,"sources":["../src/charts/RoseChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAE5E,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAM9C,MAAM,CAAC,MAAM,SAAS,GAAG,WAAW,CAClC,WAAW,EACX;IACE,IAAI,EAAE,MAAM;IACZ,kBAAkB,EAAE,MAA4B;CACjD,EACD,CAAC,iBAAiB,EAAE,aAAa,EAAE,GAAG,SAAS,CAAC,CACjD,CAAC","file":"RoseChart.js","sourcesContent":["import type React from 'react';\nimport type { IRoseChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerRoseChart, registerLabel } from '@visactor/vchart';\nimport type { BaseChartProps } from './BaseChart';\nimport { createChart } from './BaseChart';\nimport { registers } from './registers/polar';\n\nexport interface RoseChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<Partial<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 [registerRoseChart, registerLabel, ...registers]\n);\n"]}
@@ -1,10 +1,10 @@
1
- import React from 'react';
1
+ import type React from 'react';
2
2
  import type { ISankeyChartSpec } from '@visactor/vchart';
3
- import { BaseChartProps } from './BaseChart';
4
- export interface SankeyChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<ISankeyChartSpec, 'type'> {
3
+ import type { BaseChartProps } from './BaseChart';
4
+ export interface SankeyChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<Partial<ISankeyChartSpec>, 'type'> {
5
5
  }
6
6
  export declare const SankeyChart: React.ForwardRefExoticComponent<SankeyChartProps & {
7
7
  children?: React.ReactNode;
8
8
  } & {
9
- type: 'sankey';
9
+ type?: 'sankey';
10
10
  } & import("../containers/withContainer").ContainerProps & React.RefAttributes<any>>;
@@ -1,11 +1,11 @@
1
1
  import { VChart, registerSankeyChart } from "@visactor/vchart";
2
2
 
3
- import { createChart } from "./BaseChart";
3
+ import { registers } from "./registers/simple";
4
4
 
5
- import { simpleComponentsRegisters } from "./register";
5
+ import { createChart } from "./BaseChart";
6
6
 
7
7
  export const SankeyChart = createChart("SankeyChart", {
8
8
  type: "sankey",
9
9
  vchartConstrouctor: VChart
10
- }, [ registerSankeyChart, ...simpleComponentsRegisters ]);
10
+ }, [ registerSankeyChart, ...registers ]);
11
11
  //# sourceMappingURL=SankeyChart.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/charts/SankeyChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAC/D,OAAO,EAAkB,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1D,OAAO,EAAE,yBAAyB,EAAE,MAAM,YAAY,CAAC;AAMvD,MAAM,CAAC,MAAM,WAAW,GAAG,WAAW,CACpC,aAAa,EACb;IACE,IAAI,EAAE,QAAQ;IACd,kBAAkB,EAAE,MAA4B;CACjD,EACD,CAAC,mBAAmB,EAAE,GAAG,yBAAyB,CAAC,CACpD,CAAC","file":"SankeyChart.js","sourcesContent":["import React from 'react';\nimport type { ISankeyChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerSankeyChart } from '@visactor/vchart';\nimport { BaseChartProps, createChart } from './BaseChart';\nimport { simpleComponentsRegisters } from './register';\n\nexport interface SankeyChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<ISankeyChartSpec, 'type'> {}\n\nexport const SankeyChart = createChart<React.PropsWithChildren<SankeyChartProps> & { type: 'sankey' }>(\n 'SankeyChart',\n {\n type: 'sankey',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerSankeyChart, ...simpleComponentsRegisters]\n);\n"]}
1
+ {"version":3,"sources":["../src/charts/SankeyChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAC/D,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAE/C,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAM1C,MAAM,CAAC,MAAM,WAAW,GAAG,WAAW,CACpC,aAAa,EACb;IACE,IAAI,EAAE,QAAQ;IACd,kBAAkB,EAAE,MAA4B;CACjD,EACD,CAAC,mBAAmB,EAAE,GAAG,SAAS,CAAC,CACpC,CAAC","file":"SankeyChart.js","sourcesContent":["import type React from 'react';\nimport type { ISankeyChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerSankeyChart } from '@visactor/vchart';\nimport { registers } from './registers/simple';\nimport type { BaseChartProps } from './BaseChart';\nimport { createChart } from './BaseChart';\n\nexport interface SankeyChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<Partial<ISankeyChartSpec>, 'type'> {}\n\nexport const SankeyChart = createChart<React.PropsWithChildren<SankeyChartProps> & { type?: 'sankey' }>(\n 'SankeyChart',\n {\n type: 'sankey',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerSankeyChart, ...registers]\n);\n"]}
@@ -1,10 +1,10 @@
1
- import React from 'react';
1
+ import type React from 'react';
2
2
  import type { IScatterChartSpec } from '@visactor/vchart';
3
- import { BaseChartProps } from './BaseChart';
4
- export interface ScatterChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<IScatterChartSpec, 'type'> {
3
+ import type { BaseChartProps } from './BaseChart';
4
+ export interface ScatterChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<Partial<IScatterChartSpec>, 'type'> {
5
5
  }
6
6
  export declare const ScatterChart: React.ForwardRefExoticComponent<ScatterChartProps & {
7
7
  children?: React.ReactNode;
8
8
  } & {
9
- type: 'scatter';
9
+ type?: 'scatter';
10
10
  } & import("../containers/withContainer").ContainerProps & React.RefAttributes<any>>;
@@ -1,11 +1,11 @@
1
1
  import { VChart, registerScatterChart, registerLabel } from "@visactor/vchart";
2
2
 
3
- import { createChart } from "./BaseChart";
3
+ import { registers } from "./registers/cartesian";
4
4
 
5
- import { cartesianComponentsRegisters } from "./register";
5
+ import { createChart } from "./BaseChart";
6
6
 
7
7
  export const ScatterChart = createChart("ScatterChart", {
8
8
  type: "scatter",
9
9
  vchartConstrouctor: VChart
10
- }, [ registerScatterChart, registerLabel, ...cartesianComponentsRegisters ]);
10
+ }, [ registerScatterChart, registerLabel, ...registers ]);
11
11
  //# sourceMappingURL=ScatterChart.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/charts/ScatterChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,oBAAoB,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAC/E,OAAO,EAAkB,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1D,OAAO,EAAE,4BAA4B,EAAE,MAAM,YAAY,CAAC;AAM1D,MAAM,CAAC,MAAM,YAAY,GAAG,WAAW,CACrC,cAAc,EACd;IACE,IAAI,EAAE,SAAS;IACf,kBAAkB,EAAE,MAA4B;CACjD,EACD,CAAC,oBAAoB,EAAE,aAAa,EAAE,GAAG,4BAA4B,CAAC,CACvE,CAAC","file":"ScatterChart.js","sourcesContent":["import React from 'react';\nimport type { IScatterChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerScatterChart, registerLabel } from '@visactor/vchart';\nimport { BaseChartProps, createChart } from './BaseChart';\nimport { cartesianComponentsRegisters } from './register';\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 [registerScatterChart, registerLabel, ...cartesianComponentsRegisters]\n);\n"]}
1
+ {"version":3,"sources":["../src/charts/ScatterChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,oBAAoB,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAC/E,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAElD,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAM1C,MAAM,CAAC,MAAM,YAAY,GAAG,WAAW,CACrC,cAAc,EACd;IACE,IAAI,EAAE,SAAS;IACf,kBAAkB,EAAE,MAA4B;CACjD,EACD,CAAC,oBAAoB,EAAE,aAAa,EAAE,GAAG,SAAS,CAAC,CACpD,CAAC","file":"ScatterChart.js","sourcesContent":["import type React from 'react';\nimport type { IScatterChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerScatterChart, registerLabel } from '@visactor/vchart';\nimport { registers } from './registers/cartesian';\nimport type { BaseChartProps } from './BaseChart';\nimport { createChart } from './BaseChart';\n\nexport interface ScatterChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<Partial<IScatterChartSpec>, 'type'> {}\n\nexport const ScatterChart = createChart<React.PropsWithChildren<ScatterChartProps> & { type?: 'scatter' }>(\n 'ScatterChart',\n {\n type: 'scatter',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerScatterChart, registerLabel, ...registers]\n);\n"]}
@@ -1,10 +1,10 @@
1
- import React from 'react';
1
+ import type React from 'react';
2
2
  import type { ISequenceChartSpec } from '@visactor/vchart';
3
- import { BaseChartProps } from './BaseChart';
4
- export interface SequenceChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<ISequenceChartSpec, 'type'> {
3
+ import type { BaseChartProps } from './BaseChart';
4
+ export interface SequenceChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<Partial<ISequenceChartSpec>, 'type'> {
5
5
  }
6
6
  export declare const SequenceChart: React.ForwardRefExoticComponent<SequenceChartProps & {
7
7
  children?: React.ReactNode;
8
8
  } & {
9
- type: 'sequence';
9
+ type?: 'sequence';
10
10
  } & import("../containers/withContainer").ContainerProps & React.RefAttributes<any>>;
@@ -1,11 +1,11 @@
1
1
  import { VChart, registerSequenceChart } from "@visactor/vchart";
2
2
 
3
- import { createChart } from "./BaseChart";
3
+ import { registers } from "./registers/cartesian";
4
4
 
5
- import { cartesianComponentsRegisters } from "./register";
5
+ import { createChart } from "./BaseChart";
6
6
 
7
7
  export const SequenceChart = createChart("SequenceChart", {
8
8
  type: "sequence",
9
9
  vchartConstrouctor: VChart
10
- }, [ registerSequenceChart, ...cartesianComponentsRegisters ]);
10
+ }, [ registerSequenceChart, ...registers ]);
11
11
  //# sourceMappingURL=SequenceChart.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/charts/SequenceChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AACjE,OAAO,EAAkB,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1D,OAAO,EAAE,4BAA4B,EAAE,MAAM,YAAY,CAAC;AAM1D,MAAM,CAAC,MAAM,aAAa,GAAG,WAAW,CACtC,eAAe,EACf;IACE,IAAI,EAAE,UAAU;IAChB,kBAAkB,EAAE,MAA4B;CACjD,EACD,CAAC,qBAAqB,EAAE,GAAG,4BAA4B,CAAC,CACzD,CAAC","file":"SequenceChart.js","sourcesContent":["import React from 'react';\nimport type { ISequenceChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerSequenceChart } from '@visactor/vchart';\nimport { BaseChartProps, createChart } from './BaseChart';\nimport { cartesianComponentsRegisters } from './register';\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 [registerSequenceChart, ...cartesianComponentsRegisters]\n);\n"]}
1
+ {"version":3,"sources":["../src/charts/SequenceChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AACjE,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAElD,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAM1C,MAAM,CAAC,MAAM,aAAa,GAAG,WAAW,CACtC,eAAe,EACf;IACE,IAAI,EAAE,UAAU;IAChB,kBAAkB,EAAE,MAA4B;CACjD,EACD,CAAC,qBAAqB,EAAE,GAAG,SAAS,CAAC,CACtC,CAAC","file":"SequenceChart.js","sourcesContent":["import type React from 'react';\nimport type { ISequenceChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerSequenceChart } from '@visactor/vchart';\nimport { registers } from './registers/cartesian';\nimport type { BaseChartProps } from './BaseChart';\nimport { createChart } from './BaseChart';\n\nexport interface SequenceChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<Partial<ISequenceChartSpec>, 'type'> {}\n\nexport const SequenceChart = createChart<React.PropsWithChildren<SequenceChartProps> & { type?: 'sequence' }>(\n 'SequenceChart',\n {\n type: 'sequence',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerSequenceChart, ...registers]\n);\n"]}
@@ -1,10 +1,10 @@
1
- import React from 'react';
1
+ import type React from 'react';
2
2
  import type { ISunburstChartSpec } from '@visactor/vchart';
3
- import { BaseChartProps } from './BaseChart';
4
- export interface SunburstChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<ISunburstChartSpec, 'type'> {
3
+ import type { BaseChartProps } from './BaseChart';
4
+ export interface SunburstChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<Partial<ISunburstChartSpec>, 'type'> {
5
5
  }
6
6
  export declare const SunburstChart: React.ForwardRefExoticComponent<SunburstChartProps & {
7
7
  children?: React.ReactNode;
8
8
  } & {
9
- type: 'sunburst';
9
+ type?: 'sunburst';
10
10
  } & import("../containers/withContainer").ContainerProps & React.RefAttributes<any>>;
@@ -1,11 +1,11 @@
1
1
  import { VChart, registerSunburstChart } from "@visactor/vchart";
2
2
 
3
- import { createChart } from "./BaseChart";
3
+ import { registers } from "./registers/simple";
4
4
 
5
- import { simpleComponentsRegisters } from "./register";
5
+ import { createChart } from "./BaseChart";
6
6
 
7
7
  export const SunburstChart = createChart("SunburstChart", {
8
8
  type: "sunburst",
9
9
  vchartConstrouctor: VChart
10
- }, [ registerSunburstChart, ...simpleComponentsRegisters ]);
10
+ }, [ registerSunburstChart, ...registers ]);
11
11
  //# sourceMappingURL=SunburstChart.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/charts/SunburstChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AACjE,OAAO,EAAkB,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1D,OAAO,EAAE,yBAAyB,EAAE,MAAM,YAAY,CAAC;AAMvD,MAAM,CAAC,MAAM,aAAa,GAAG,WAAW,CACtC,eAAe,EACf;IACE,IAAI,EAAE,UAAU;IAChB,kBAAkB,EAAE,MAA4B;CACjD,EACD,CAAC,qBAAqB,EAAE,GAAG,yBAAyB,CAAC,CACtD,CAAC","file":"SunburstChart.js","sourcesContent":["import React from 'react';\nimport type { ISunburstChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerSunburstChart } from '@visactor/vchart';\nimport { BaseChartProps, createChart } from './BaseChart';\nimport { simpleComponentsRegisters } from './register';\n\nexport interface SunburstChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<ISunburstChartSpec, 'type'> {}\n\nexport const SunburstChart = createChart<React.PropsWithChildren<SunburstChartProps> & { type: 'sunburst' }>(\n 'SunburstChart',\n {\n type: 'sunburst',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerSunburstChart, ...simpleComponentsRegisters]\n);\n"]}
1
+ {"version":3,"sources":["../src/charts/SunburstChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AACjE,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAE/C,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAM1C,MAAM,CAAC,MAAM,aAAa,GAAG,WAAW,CACtC,eAAe,EACf;IACE,IAAI,EAAE,UAAU;IAChB,kBAAkB,EAAE,MAA4B;CACjD,EACD,CAAC,qBAAqB,EAAE,GAAG,SAAS,CAAC,CACtC,CAAC","file":"SunburstChart.js","sourcesContent":["import type React from 'react';\nimport type { ISunburstChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerSunburstChart } from '@visactor/vchart';\nimport { registers } from './registers/simple';\nimport type { BaseChartProps } from './BaseChart';\nimport { createChart } from './BaseChart';\n\nexport interface SunburstChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<Partial<ISunburstChartSpec>, 'type'> {}\n\nexport const SunburstChart = createChart<React.PropsWithChildren<SunburstChartProps> & { type?: 'sunburst' }>(\n 'SunburstChart',\n {\n type: 'sunburst',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerSunburstChart, ...registers]\n);\n"]}
@@ -1,10 +1,10 @@
1
- import React from 'react';
1
+ import type React from 'react';
2
2
  import type { ITreemapChartSpec } from '@visactor/vchart';
3
- import { BaseChartProps } from './BaseChart';
4
- export interface TreemapChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<ITreemapChartSpec, 'type'> {
3
+ import type { BaseChartProps } from './BaseChart';
4
+ export interface TreemapChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<Partial<ITreemapChartSpec>, 'type'> {
5
5
  }
6
6
  export declare const TreemapChart: React.ForwardRefExoticComponent<TreemapChartProps & {
7
7
  children?: React.ReactNode;
8
8
  } & {
9
- type: 'treemap';
9
+ type?: 'treemap';
10
10
  } & import("../containers/withContainer").ContainerProps & React.RefAttributes<any>>;
@@ -1,11 +1,11 @@
1
1
  import { VChart, registerTreemapChart } from "@visactor/vchart";
2
2
 
3
- import { createChart } from "./BaseChart";
3
+ import { registers } from "./registers/simple";
4
4
 
5
- import { simpleComponentsRegisters } from "./register";
5
+ import { createChart } from "./BaseChart";
6
6
 
7
7
  export const TreemapChart = createChart("TreemapChart", {
8
8
  type: "treemap",
9
9
  vchartConstrouctor: VChart
10
- }, [ registerTreemapChart, ...simpleComponentsRegisters ]);
10
+ }, [ registerTreemapChart, ...registers ]);
11
11
  //# sourceMappingURL=TreemapChart.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/charts/TreemapChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAChE,OAAO,EAAkB,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1D,OAAO,EAAE,yBAAyB,EAAE,MAAM,YAAY,CAAC;AAMvD,MAAM,CAAC,MAAM,YAAY,GAAG,WAAW,CACrC,cAAc,EACd;IACE,IAAI,EAAE,SAAS;IACf,kBAAkB,EAAE,MAA4B;CACjD,EACD,CAAC,oBAAoB,EAAE,GAAG,yBAAyB,CAAC,CACrD,CAAC","file":"TreemapChart.js","sourcesContent":["import React from 'react';\nimport type { ITreemapChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerTreemapChart } from '@visactor/vchart';\nimport { BaseChartProps, createChart } from './BaseChart';\nimport { simpleComponentsRegisters } from './register';\n\nexport interface TreemapChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<ITreemapChartSpec, 'type'> {}\n\nexport const TreemapChart = createChart<React.PropsWithChildren<TreemapChartProps> & { type: 'treemap' }>(\n 'TreemapChart',\n {\n type: 'treemap',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerTreemapChart, ...simpleComponentsRegisters]\n);\n"]}
1
+ {"version":3,"sources":["../src/charts/TreemapChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAE/C,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAM1C,MAAM,CAAC,MAAM,YAAY,GAAG,WAAW,CACrC,cAAc,EACd;IACE,IAAI,EAAE,SAAS;IACf,kBAAkB,EAAE,MAA4B;CACjD,EACD,CAAC,oBAAoB,EAAE,GAAG,SAAS,CAAC,CACrC,CAAC","file":"TreemapChart.js","sourcesContent":["import type React from 'react';\nimport type { ITreemapChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerTreemapChart } from '@visactor/vchart';\nimport { registers } from './registers/simple';\nimport type { BaseChartProps } from './BaseChart';\nimport { createChart } from './BaseChart';\n\nexport interface TreemapChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<Partial<ITreemapChartSpec>, 'type'> {}\n\nexport const TreemapChart = createChart<React.PropsWithChildren<TreemapChartProps> & { type?: 'treemap' }>(\n 'TreemapChart',\n {\n type: 'treemap',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerTreemapChart, ...registers]\n);\n"]}
@@ -0,0 +1,10 @@
1
+ import type React from 'react';
2
+ import type { IVennChartSpec } from '@visactor/vchart';
3
+ import type { BaseChartProps } from './BaseChart';
4
+ export interface VennChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<IVennChartSpec, 'type'> {
5
+ }
6
+ export declare const VennChart: React.ForwardRefExoticComponent<VennChartProps & {
7
+ children?: React.ReactNode;
8
+ } & {
9
+ type: 'venn';
10
+ } & import("../containers/withContainer").ContainerProps & React.RefAttributes<any>>;
@@ -0,0 +1,10 @@
1
+ import { VChart, registerVennChart } from "@visactor/vchart";
2
+
3
+ import { createChart } from "./BaseChart";
4
+
5
+ import { registers } from "./registers/simple";
6
+
7
+ export const VennChart = createChart("VennChart", {
8
+ type: "venn",
9
+ vchartConstrouctor: VChart
10
+ }, [ registerVennChart, ...registers ]);
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/charts/VennChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAE7D,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAM/C,MAAM,CAAC,MAAM,SAAS,GAAG,WAAW,CAClC,WAAW,EACX;IACE,IAAI,EAAE,MAAM;IACZ,kBAAkB,EAAE,MAA4B;CACjD,EACD,CAAC,iBAAiB,EAAE,GAAG,SAAS,CAAC,CAClC,CAAC","file":"VennChart.js","sourcesContent":["import type React from 'react';\nimport type { IVennChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerVennChart } from '@visactor/vchart';\nimport type { BaseChartProps } from './BaseChart';\nimport { createChart } from './BaseChart';\nimport { registers } from './registers/simple';\n\nexport interface VennChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<IVennChartSpec, 'type'> {}\n\nexport const VennChart = createChart<React.PropsWithChildren<VennChartProps> & { type: 'venn' }>(\n 'VennChart',\n {\n type: 'venn',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerVennChart, ...registers]\n);\n"]}
@@ -1,10 +1,10 @@
1
- import React from 'react';
1
+ import type React from 'react';
2
2
  import type { IWaterfallChartSpec } from '@visactor/vchart';
3
- import { BaseChartProps } from './BaseChart';
4
- export interface WaterfallChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<IWaterfallChartSpec, 'type'> {
3
+ import type { BaseChartProps } from './BaseChart';
4
+ export interface WaterfallChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<Partial<IWaterfallChartSpec>, 'type'> {
5
5
  }
6
6
  export declare const WaterfallChart: React.ForwardRefExoticComponent<WaterfallChartProps & {
7
7
  children?: React.ReactNode;
8
8
  } & {
9
- type: 'waterfall';
9
+ type?: 'waterfall';
10
10
  } & import("../containers/withContainer").ContainerProps & React.RefAttributes<any>>;
@@ -1,10 +1,11 @@
1
1
  import { VChart, registerWaterfallChart, registerLabel, registerTotalLabel } from "@visactor/vchart";
2
2
 
3
- import { createChart } from "./BaseChart";
3
+ import { registers } from "./registers/cartesian";
4
4
 
5
- import { cartesianComponentsRegisters } from "./register";
5
+ import { createChart } from "./BaseChart";
6
6
 
7
7
  export const WaterfallChart = createChart("WaterfallChart", {
8
8
  type: "waterfall",
9
9
  vchartConstrouctor: VChart
10
- }, [ registerWaterfallChart, registerLabel, registerTotalLabel, ...cartesianComponentsRegisters ]);
10
+ }, [ registerWaterfallChart, registerLabel, registerTotalLabel, ...registers ]);
11
+ //# sourceMappingURL=WaterfallChart.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/charts/WaterfallChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,sBAAsB,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AACrG,OAAO,EAAkB,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1D,OAAO,EAAE,4BAA4B,EAAE,MAAM,YAAY,CAAC;AAQ1D,MAAM,CAAC,MAAM,cAAc,GAAG,WAAW,CACvC,gBAAgB,EAChB;IACE,IAAI,EAAE,WAAW;IACjB,kBAAkB,EAAE,MAA4B;CACjD,EACD,CAAC,sBAAsB,EAAE,aAAa,EAAE,kBAAkB,EAAE,GAAG,4BAA4B,CAAC,CAC7F,CAAC","file":"WaterfallChart.js","sourcesContent":["import React from 'react';\nimport type { IWaterfallChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerWaterfallChart, registerLabel, registerTotalLabel } from '@visactor/vchart';\nimport { BaseChartProps, createChart } from './BaseChart';\nimport { cartesianComponentsRegisters } from './register';\n\nexport interface WaterfallChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<IWaterfallChartSpec, 'type'> {\n //\n}\n\nexport const WaterfallChart = createChart<React.PropsWithChildren<WaterfallChartProps> & { type: 'waterfall' }>(\n 'WaterfallChart',\n {\n type: 'waterfall',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerWaterfallChart, registerLabel, registerTotalLabel, ...cartesianComponentsRegisters]\n);\n"]}
1
+ {"version":3,"sources":["../src/charts/WaterfallChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,sBAAsB,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AACrG,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAElD,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAQ1C,MAAM,CAAC,MAAM,cAAc,GAAG,WAAW,CACvC,gBAAgB,EAChB;IACE,IAAI,EAAE,WAAW;IACjB,kBAAkB,EAAE,MAA4B;CACjD,EACD,CAAC,sBAAsB,EAAE,aAAa,EAAE,kBAAkB,EAAE,GAAG,SAAS,CAAC,CAC1E,CAAC","file":"WaterfallChart.js","sourcesContent":["import type React from 'react';\nimport type { IWaterfallChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerWaterfallChart, registerLabel, registerTotalLabel } from '@visactor/vchart';\nimport { registers } from './registers/cartesian';\nimport type { BaseChartProps } from './BaseChart';\nimport { createChart } from './BaseChart';\n\nexport interface WaterfallChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<Partial<IWaterfallChartSpec>, 'type'> {\n //\n}\n\nexport const WaterfallChart = createChart<React.PropsWithChildren<WaterfallChartProps> & { type?: 'waterfall' }>(\n 'WaterfallChart',\n {\n type: 'waterfall',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerWaterfallChart, registerLabel, registerTotalLabel, ...registers]\n);\n"]}
@@ -1,10 +1,10 @@
1
- import React from 'react';
1
+ import type React from 'react';
2
2
  import type { IWordCloud3dChartSpec } from '@visactor/vchart';
3
- import { BaseChartProps } from './BaseChart';
4
- export interface WordCloud3dChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<IWordCloud3dChartSpec, 'type'> {
3
+ import type { BaseChartProps } from './BaseChart';
4
+ export interface WordCloud3dChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<Partial<IWordCloud3dChartSpec>, 'type'> {
5
5
  }
6
6
  export declare const WordCloud3dChart: React.ForwardRefExoticComponent<WordCloud3dChartProps & {
7
7
  children?: React.ReactNode;
8
8
  } & {
9
- type: 'wordCloud3d';
9
+ type?: 'wordCloud3d';
10
10
  } & import("../containers/withContainer").ContainerProps & React.RefAttributes<any>>;
@@ -1,11 +1,11 @@
1
1
  import { VChart, registerWordCloud3dChart } from "@visactor/vchart";
2
2
 
3
- import { createChart } from "./BaseChart";
3
+ import { registers } from "./registers/simple";
4
4
 
5
- import { simpleComponentsRegisters } from "./register";
5
+ import { createChart } from "./BaseChart";
6
6
 
7
7
  export const WordCloud3dChart = createChart("WordCloud3dChart", {
8
8
  type: "wordCloud3d",
9
9
  vchartConstrouctor: VChart
10
- }, [ registerWordCloud3dChart, ...simpleComponentsRegisters ]);
10
+ }, [ registerWordCloud3dChart, ...registers ]);
11
11
  //# sourceMappingURL=WordCloud3dChart.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/charts/WordCloud3dChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,wBAAwB,EAAE,MAAM,kBAAkB,CAAC;AACpE,OAAO,EAAkB,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1D,OAAO,EAAE,yBAAyB,EAAE,MAAM,YAAY,CAAC;AAMvD,MAAM,CAAC,MAAM,gBAAgB,GAAG,WAAW,CACzC,kBAAkB,EAClB;IACE,IAAI,EAAE,aAAa;IACnB,kBAAkB,EAAE,MAA4B;CACjD,EACD,CAAC,wBAAwB,EAAE,GAAG,yBAAyB,CAAC,CACzD,CAAC","file":"WordCloud3dChart.js","sourcesContent":["import React from 'react';\nimport type { IWordCloud3dChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerWordCloud3dChart } from '@visactor/vchart';\nimport { BaseChartProps, createChart } from './BaseChart';\nimport { simpleComponentsRegisters } from './register';\n\nexport interface WordCloud3dChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<IWordCloud3dChartSpec, 'type'> {}\n\nexport const WordCloud3dChart = createChart<React.PropsWithChildren<WordCloud3dChartProps> & { type: 'wordCloud3d' }>(\n 'WordCloud3dChart',\n {\n type: 'wordCloud3d',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerWordCloud3dChart, ...simpleComponentsRegisters]\n);\n"]}
1
+ {"version":3,"sources":["../src/charts/WordCloud3dChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,wBAAwB,EAAE,MAAM,kBAAkB,CAAC;AACpE,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAE/C,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAM1C,MAAM,CAAC,MAAM,gBAAgB,GAAG,WAAW,CACzC,kBAAkB,EAClB;IACE,IAAI,EAAE,aAAa;IACnB,kBAAkB,EAAE,MAA4B;CACjD,EACD,CAAC,wBAAwB,EAAE,GAAG,SAAS,CAAC,CACzC,CAAC","file":"WordCloud3dChart.js","sourcesContent":["import type React from 'react';\nimport type { IWordCloud3dChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerWordCloud3dChart } from '@visactor/vchart';\nimport { registers } from './registers/simple';\nimport type { BaseChartProps } from './BaseChart';\nimport { createChart } from './BaseChart';\n\nexport interface WordCloud3dChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<Partial<IWordCloud3dChartSpec>, 'type'> {}\n\nexport const WordCloud3dChart = createChart<React.PropsWithChildren<WordCloud3dChartProps> & { type?: 'wordCloud3d' }>(\n 'WordCloud3dChart',\n {\n type: 'wordCloud3d',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerWordCloud3dChart, ...registers]\n);\n"]}
@@ -1,10 +1,10 @@
1
- import React from 'react';
1
+ import type 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' | 'data'>, Omit<Partial<IWordCloudChartSpec>, 'type'> {
5
5
  }
6
6
  export declare const WordCloudChart: React.ForwardRefExoticComponent<WordCloudChartProps & {
7
7
  children?: React.ReactNode;
8
8
  } & {
9
- type: 'wordCloud';
9
+ type?: 'wordCloud';
10
10
  } & import("../containers/withContainer").ContainerProps & React.RefAttributes<any>>;
@@ -2,10 +2,10 @@ import { VChart, registerWordCloudChart } from "@visactor/vchart";
2
2
 
3
3
  import { createChart } from "./BaseChart";
4
4
 
5
- import { simpleComponentsRegisters } from "./register";
5
+ import { registers } from "./registers/simple";
6
6
 
7
7
  export const WordCloudChart = createChart("WordCloudChart", {
8
8
  type: "wordCloud",
9
9
  vchartConstrouctor: VChart
10
- }, [ registerWordCloudChart, ...simpleComponentsRegisters ]);
10
+ }, [ registerWordCloudChart, ...registers ]);
11
11
  //# 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;AAC1D,OAAO,EAAE,yBAAyB,EAAE,MAAM,YAAY,CAAC;AAMvD,MAAM,CAAC,MAAM,cAAc,GAAG,WAAW,CACvC,gBAAgB,EAChB;IACE,IAAI,EAAE,WAAW;IACjB,kBAAkB,EAAE,MAA4B;CACjD,EACD,CAAC,sBAAsB,EAAE,GAAG,yBAAyB,CAAC,CACvD,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';\nimport { simpleComponentsRegisters } from './register';\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, ...simpleComponentsRegisters]\n);\n"]}
1
+ {"version":3,"sources":["../src/charts/WordCloudChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAClE,OAAO,EAAkB,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAM/C,MAAM,CAAC,MAAM,cAAc,GAAG,WAAW,CACvC,gBAAgB,EAChB;IACE,IAAI,EAAE,WAAW;IACjB,kBAAkB,EAAE,MAA4B;CACjD,EACD,CAAC,sBAAsB,EAAE,GAAG,SAAS,CAAC,CACvC,CAAC","file":"WordCloudChart.js","sourcesContent":["import type React from 'react';\nimport type { IWordCloudChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerWordCloudChart } from '@visactor/vchart';\nimport { BaseChartProps, createChart } from './BaseChart';\nimport { registers } from './registers/simple';\n\nexport interface WordCloudChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<Partial<IWordCloudChartSpec>, 'type'> {}\n\nexport const WordCloudChart = createChart<React.PropsWithChildren<WordCloudChartProps> & { type?: 'wordCloud' }>(\n 'WordCloudChart',\n {\n type: 'wordCloud',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerWordCloudChart, ...registers]\n);\n"]}
@@ -30,5 +30,6 @@ export * from './TreemapChart';
30
30
  export * from './WordCloudChart';
31
31
  export * from './WordCloud3dChart';
32
32
  export * from './WordCloudChart';
33
+ export * from './VennChart';
33
34
  export type { ChartOptions } from './BaseChart';
34
35
  export type { IData, IChartSpec } from '@visactor/vchart';
@@ -61,4 +61,6 @@ export * from "./WordCloudChart";
61
61
  export * from "./WordCloud3dChart";
62
62
 
63
63
  export * from "./WordCloudChart";
64
+
65
+ export * from "./VennChart";
64
66
  //# 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,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAE/B,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC;AACxC,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AAEnC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AAEjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAE9B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,aAAa,CAAC;AAE5B,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAEhC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,aAAa,CAAC","file":"index.js","sourcesContent":["export * from './AreaChart';\nexport * from './BarChart';\nexport * from './Bar3dChart';\nexport * from './BoxPlotChart';\n\nexport * from './CirclePackingChart';\nexport * from './CircularProgressChart';\nexport * from './CommonChart';\nexport * from './CorrelationChart';\n\nexport * from './FunnelChart';\nexport * from './Funnel3dChart';\nexport * from './GaugeChart';\nexport * from './HeatmapChart';\nexport * from './Histogram3dChart';\nexport * from './HistogramChart';\n\nexport * from './LinearProgressChart';\nexport * from './LineChart';\nexport * from './LiquidChart';\n\nexport * from './MapChart';\nexport * from './PieChart';\nexport * from './Pie3dChart';\nexport * from './RadarChart';\nexport * from './RangeColumnChart';\nexport * from './RangeColumn3dChart';\nexport * from './RoseChart';\n\nexport * from './SankeyChart';\nexport * from './ScatterChart';\nexport * from './SequenceChart';\nexport * from './SunburstChart';\n\nexport * from './TreemapChart';\nexport * from './WordCloudChart';\nexport * from './WordCloud3dChart';\nexport * from './WordCloudChart';\nexport * from './VennChart';\n\nexport type { ChartOptions } from './BaseChart';\nexport type { IData, IChartSpec } from '@visactor/vchart';\n"]}
@@ -0,0 +1 @@
1
+ export declare const registers: (() => void)[];
@@ -0,0 +1,4 @@
1
+ import { registerBrush, registerContinuousLegend, registerDataZoom, registerDiscreteLegend, registerCustomMark, registerAllMarks, registerMarkArea, registerMarkLine, registerMarkPoint, registerScrollBar, registerTitle, registerCartesianLinearAxis, registerCartesianBandAxis, registerCartesianTimeAxis, registerCartesianLogAxis, registerCartesianCrossHair, registerTooltip, registerDomTooltipHandler, registerAnimate, registerReactAttributePlugin } from "@visactor/vchart";
2
+
3
+ export const registers = [ registerAnimate, registerReactAttributePlugin, registerTooltip, registerDomTooltipHandler, registerCartesianLinearAxis, registerCartesianBandAxis, registerCartesianTimeAxis, registerCartesianLogAxis, registerCartesianCrossHair, registerBrush, registerContinuousLegend, registerDataZoom, registerDiscreteLegend, registerCustomMark, registerAllMarks, registerMarkArea, registerMarkLine, registerMarkPoint, registerScrollBar, registerTitle ];
4
+ //# sourceMappingURL=cartesian.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/charts/registers/cartesian.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,wBAAwB,EACxB,gBAAgB,EAChB,sBAAsB,EACtB,kBAAkB,EAClB,gBAAgB,EAChB,gBAAgB,EAChB,gBAAgB,EAChB,iBAAiB,EACjB,iBAAiB,EACjB,aAAa,EACb,2BAA2B,EAC3B,yBAAyB,EACzB,yBAAyB,EACzB,wBAAwB,EACxB,0BAA0B,EAC1B,eAAe,EACf,yBAAyB,EACzB,eAAe,EACf,4BAA4B,EAC7B,MAAM,kBAAkB,CAAC;AAE1B,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,eAAe;IACf,4BAA4B;IAC5B,eAAe;IACf,yBAAyB;IACzB,2BAA2B;IAC3B,yBAAyB;IACzB,yBAAyB;IACzB,wBAAwB;IACxB,0BAA0B;IAC1B,aAAa;IACb,wBAAwB;IACxB,gBAAgB;IAChB,sBAAsB;IACtB,kBAAkB;IAClB,gBAAgB;IAChB,gBAAgB;IAChB,gBAAgB;IAChB,iBAAiB;IACjB,iBAAiB;IACjB,aAAa;CACd,CAAC","file":"cartesian.js","sourcesContent":["import {\n registerBrush, // optional\n registerContinuousLegend,\n registerDataZoom,\n registerDiscreteLegend,\n registerCustomMark,\n registerAllMarks,\n registerMarkArea,\n registerMarkLine,\n registerMarkPoint,\n registerScrollBar,\n registerTitle,\n registerCartesianLinearAxis,\n registerCartesianBandAxis,\n registerCartesianTimeAxis,\n registerCartesianLogAxis,\n registerCartesianCrossHair,\n registerTooltip,\n registerDomTooltipHandler,\n registerAnimate,\n registerReactAttributePlugin\n} from '@visactor/vchart';\n\nexport const registers = [\n registerAnimate,\n registerReactAttributePlugin,\n registerTooltip,\n registerDomTooltipHandler,\n registerCartesianLinearAxis,\n registerCartesianBandAxis,\n registerCartesianTimeAxis,\n registerCartesianLogAxis,\n registerCartesianCrossHair,\n registerBrush, // optional\n registerContinuousLegend,\n registerDataZoom,\n registerDiscreteLegend,\n registerCustomMark,\n registerAllMarks,\n registerMarkArea,\n registerMarkLine,\n registerMarkPoint,\n registerScrollBar,\n registerTitle\n];\n"]}
@@ -0,0 +1 @@
1
+ export declare const registers: (() => void)[];
@@ -0,0 +1,4 @@
1
+ import { registerBrush, registerContinuousLegend, registerDataZoom, registerDiscreteLegend, registerCustomMark, registerAllMarks, registerScrollBar, registerTitle, registerPolarLinearAxis, registerPolarBandAxis, registerPolarCrossHair, registerTooltip, registerDomTooltipHandler, registerAnimate, registerReactAttributePlugin } from "@visactor/vchart";
2
+
3
+ export const registers = [ registerAnimate, registerReactAttributePlugin, registerTooltip, registerDomTooltipHandler, registerPolarLinearAxis, registerPolarBandAxis, registerPolarCrossHair, registerBrush, registerContinuousLegend, registerDataZoom, registerDiscreteLegend, registerCustomMark, registerAllMarks, registerScrollBar, registerTitle ];
4
+ //# sourceMappingURL=polar.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/charts/registers/polar.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,wBAAwB,EACxB,gBAAgB,EAChB,sBAAsB,EACtB,kBAAkB,EAClB,gBAAgB,EAChB,iBAAiB,EACjB,aAAa,EACb,uBAAuB,EACvB,qBAAqB,EACrB,sBAAsB,EACtB,eAAe,EACf,yBAAyB,EACzB,eAAe,EACf,4BAA4B,EAC7B,MAAM,kBAAkB,CAAC;AAE1B,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,eAAe;IACf,4BAA4B;IAC5B,eAAe;IACf,yBAAyB;IACzB,uBAAuB;IACvB,qBAAqB;IACrB,sBAAsB;IAEtB,aAAa;IACb,wBAAwB;IACxB,gBAAgB;IAChB,sBAAsB;IACtB,kBAAkB;IAClB,gBAAgB;IAChB,iBAAiB;IACjB,aAAa;CACd,CAAC","file":"polar.js","sourcesContent":["import {\n registerBrush, // optional\n registerContinuousLegend,\n registerDataZoom,\n registerDiscreteLegend,\n registerCustomMark,\n registerAllMarks,\n registerScrollBar,\n registerTitle,\n registerPolarLinearAxis, // 必选\n registerPolarBandAxis, // 必选\n registerPolarCrossHair,\n registerTooltip,\n registerDomTooltipHandler,\n registerAnimate,\n registerReactAttributePlugin\n} from '@visactor/vchart';\n\nexport const registers = [\n registerAnimate,\n registerReactAttributePlugin,\n registerTooltip,\n registerDomTooltipHandler,\n registerPolarLinearAxis, // 必选\n registerPolarBandAxis, // 必选\n registerPolarCrossHair,\n\n registerBrush, // optional\n registerContinuousLegend,\n registerDataZoom,\n registerDiscreteLegend,\n registerCustomMark,\n registerAllMarks,\n registerScrollBar,\n registerTitle\n];\n"]}
@@ -0,0 +1 @@
1
+ export declare const registers: (() => void)[];
@@ -0,0 +1,4 @@
1
+ import { registerContinuousLegend, registerDiscreteLegend, registerCustomMark, registerAllMarks, registerTitle, registerTooltip, registerDomTooltipHandler, registerAnimate, registerReactAttributePlugin } from "@visactor/vchart";
2
+
3
+ export const registers = [ registerAnimate, registerReactAttributePlugin, registerTooltip, registerDomTooltipHandler, registerDiscreteLegend, registerContinuousLegend, registerCustomMark, registerAllMarks, registerTitle ];
4
+ //# sourceMappingURL=simple.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/charts/registers/simple.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,EACxB,sBAAsB,EACtB,kBAAkB,EAClB,gBAAgB,EAChB,aAAa,EACb,eAAe,EACf,yBAAyB,EACzB,eAAe,EACf,4BAA4B,EAC7B,MAAM,kBAAkB,CAAC;AAE1B,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,eAAe;IACf,4BAA4B;IAC5B,eAAe;IACf,yBAAyB;IACzB,sBAAsB;IACtB,wBAAwB;IACxB,kBAAkB;IAClB,gBAAgB;IAChB,aAAa;CACd,CAAC","file":"simple.js","sourcesContent":["import {\n registerContinuousLegend,\n registerDiscreteLegend,\n registerCustomMark,\n registerAllMarks,\n registerTitle,\n registerTooltip,\n registerDomTooltipHandler,\n registerAnimate,\n registerReactAttributePlugin\n} from '@visactor/vchart';\n\nexport const registers = [\n registerAnimate,\n registerReactAttributePlugin,\n registerTooltip,\n registerDomTooltipHandler,\n registerDiscreteLegend,\n registerContinuousLegend,\n registerCustomMark,\n registerAllMarks,\n registerTitle\n];\n"]}
@@ -4,5 +4,4 @@ import { createComponent } from "./BaseComponent";
4
4
 
5
5
  import { registerPlayer } from "@visactor/vchart";
6
6
 
7
- export const Player = createComponent("Player", "player", PLAYER_CUSTOMIZED_EVENTS, !0, [ registerPlayer ]);
8
- //# sourceMappingURL=Player.js.map
7
+ export const Player = createComponent("Player", "player", PLAYER_CUSTOMIZED_EVENTS, !0, [ registerPlayer ]);