@visactor/react-vchart 1.12.0-alpha.8 → 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 (225) hide show
  1. package/cjs/charts/AreaChart.d.ts +2 -2
  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 +2 -2
  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 +2 -2
  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 +2 -2
  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 +2 -2
  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 +2 -2
  55. package/cjs/charts/Pie3dChart.js +2 -2
  56. package/cjs/charts/Pie3dChart.js.map +1 -1
  57. package/cjs/charts/PieChart.d.ts +2 -2
  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.js +2 -2
  88. package/cjs/charts/VennChart.js.map +1 -1
  89. package/cjs/charts/WaterfallChart.d.ts +4 -4
  90. package/cjs/charts/WaterfallChart.js +2 -2
  91. package/cjs/charts/WaterfallChart.js.map +1 -1
  92. package/cjs/charts/WordCloud3dChart.d.ts +4 -4
  93. package/cjs/charts/WordCloud3dChart.js +2 -2
  94. package/cjs/charts/WordCloud3dChart.js.map +1 -1
  95. package/cjs/charts/WordCloudChart.d.ts +3 -3
  96. package/cjs/charts/WordCloudChart.js +2 -2
  97. package/cjs/charts/WordCloudChart.js.map +1 -1
  98. package/cjs/charts/registers/cartesian.d.ts +1 -0
  99. package/cjs/charts/registers/cartesian.js +10 -0
  100. package/cjs/charts/registers/cartesian.js.map +1 -0
  101. package/cjs/charts/registers/polar.d.ts +1 -0
  102. package/cjs/charts/registers/polar.js +10 -0
  103. package/cjs/charts/registers/polar.js.map +1 -0
  104. package/cjs/charts/registers/simple.d.ts +1 -0
  105. package/cjs/charts/registers/simple.js +10 -0
  106. package/cjs/charts/registers/simple.js.map +1 -0
  107. package/cjs/index.d.ts +1 -1
  108. package/cjs/index.js +1 -1
  109. package/cjs/index.js.map +1 -1
  110. package/esm/charts/AreaChart.d.ts +2 -2
  111. package/esm/charts/AreaChart.js +2 -2
  112. package/esm/charts/AreaChart.js.map +1 -1
  113. package/esm/charts/Bar3dChart.d.ts +3 -3
  114. package/esm/charts/Bar3dChart.js +2 -2
  115. package/esm/charts/Bar3dChart.js.map +1 -1
  116. package/esm/charts/BarChart.d.ts +3 -3
  117. package/esm/charts/BarChart.js +2 -2
  118. package/esm/charts/BarChart.js.map +1 -1
  119. package/esm/charts/BoxPlotChart.d.ts +4 -4
  120. package/esm/charts/BoxPlotChart.js +2 -2
  121. package/esm/charts/BoxPlotChart.js.map +1 -1
  122. package/esm/charts/CirclePackingChart.d.ts +4 -4
  123. package/esm/charts/CirclePackingChart.js +2 -2
  124. package/esm/charts/CirclePackingChart.js.map +1 -1
  125. package/esm/charts/CircularProgressChart.d.ts +2 -2
  126. package/esm/charts/CircularProgressChart.js +2 -2
  127. package/esm/charts/CircularProgressChart.js.map +1 -1
  128. package/esm/charts/CommonChart.d.ts +5 -5
  129. package/esm/charts/CommonChart.js.map +1 -1
  130. package/esm/charts/CorrelationChart.d.ts +4 -4
  131. package/esm/charts/CorrelationChart.js +2 -2
  132. package/esm/charts/CorrelationChart.js.map +1 -1
  133. package/esm/charts/Funnel3dChart.d.ts +4 -4
  134. package/esm/charts/Funnel3dChart.js +2 -2
  135. package/esm/charts/Funnel3dChart.js.map +1 -1
  136. package/esm/charts/FunnelChart.d.ts +4 -4
  137. package/esm/charts/FunnelChart.js +2 -2
  138. package/esm/charts/FunnelChart.js.map +1 -1
  139. package/esm/charts/GaugeChart.d.ts +3 -3
  140. package/esm/charts/GaugeChart.js +2 -2
  141. package/esm/charts/GaugeChart.js.map +1 -1
  142. package/esm/charts/HeatmapChart.d.ts +2 -2
  143. package/esm/charts/HeatmapChart.js +2 -2
  144. package/esm/charts/HeatmapChart.js.map +1 -1
  145. package/esm/charts/Histogram3dChart.d.ts +4 -4
  146. package/esm/charts/Histogram3dChart.js +2 -2
  147. package/esm/charts/Histogram3dChart.js.map +1 -1
  148. package/esm/charts/HistogramChart.d.ts +4 -4
  149. package/esm/charts/HistogramChart.js +2 -2
  150. package/esm/charts/HistogramChart.js.map +1 -1
  151. package/esm/charts/LineChart.d.ts +2 -2
  152. package/esm/charts/LineChart.js +2 -2
  153. package/esm/charts/LineChart.js.map +1 -1
  154. package/esm/charts/LinearProgressChart.d.ts +5 -5
  155. package/esm/charts/LinearProgressChart.js +3 -3
  156. package/esm/charts/LinearProgressChart.js.map +1 -1
  157. package/esm/charts/LiquidChart.d.ts +2 -2
  158. package/esm/charts/LiquidChart.js +2 -2
  159. package/esm/charts/LiquidChart.js.map +1 -1
  160. package/esm/charts/MapChart.d.ts +4 -4
  161. package/esm/charts/MapChart.js +3 -3
  162. package/esm/charts/MapChart.js.map +1 -1
  163. package/esm/charts/Pie3dChart.d.ts +2 -2
  164. package/esm/charts/Pie3dChart.js +2 -2
  165. package/esm/charts/Pie3dChart.js.map +1 -1
  166. package/esm/charts/PieChart.d.ts +2 -2
  167. package/esm/charts/PieChart.js +2 -2
  168. package/esm/charts/PieChart.js.map +1 -1
  169. package/esm/charts/RadarChart.d.ts +4 -4
  170. package/esm/charts/RadarChart.js +3 -3
  171. package/esm/charts/RadarChart.js.map +1 -1
  172. package/esm/charts/RangeColumn3dChart.d.ts +4 -4
  173. package/esm/charts/RangeColumn3dChart.js +3 -3
  174. package/esm/charts/RangeColumn3dChart.js.map +1 -1
  175. package/esm/charts/RangeColumnChart.d.ts +4 -4
  176. package/esm/charts/RangeColumnChart.js +3 -3
  177. package/esm/charts/RangeColumnChart.js.map +1 -1
  178. package/esm/charts/RoseChart.d.ts +4 -4
  179. package/esm/charts/RoseChart.js +2 -2
  180. package/esm/charts/RoseChart.js.map +1 -1
  181. package/esm/charts/SankeyChart.d.ts +4 -4
  182. package/esm/charts/SankeyChart.js +3 -3
  183. package/esm/charts/SankeyChart.js.map +1 -1
  184. package/esm/charts/ScatterChart.d.ts +4 -4
  185. package/esm/charts/ScatterChart.js +3 -3
  186. package/esm/charts/ScatterChart.js.map +1 -1
  187. package/esm/charts/SequenceChart.d.ts +4 -4
  188. package/esm/charts/SequenceChart.js +3 -3
  189. package/esm/charts/SequenceChart.js.map +1 -1
  190. package/esm/charts/SunburstChart.d.ts +4 -4
  191. package/esm/charts/SunburstChart.js +3 -3
  192. package/esm/charts/SunburstChart.js.map +1 -1
  193. package/esm/charts/TreemapChart.d.ts +4 -4
  194. package/esm/charts/TreemapChart.js +3 -3
  195. package/esm/charts/TreemapChart.js.map +1 -1
  196. package/esm/charts/VennChart.js +2 -2
  197. package/esm/charts/VennChart.js.map +1 -1
  198. package/esm/charts/WaterfallChart.d.ts +4 -4
  199. package/esm/charts/WaterfallChart.js +3 -3
  200. package/esm/charts/WaterfallChart.js.map +1 -1
  201. package/esm/charts/WordCloud3dChart.d.ts +4 -4
  202. package/esm/charts/WordCloud3dChart.js +3 -3
  203. package/esm/charts/WordCloud3dChart.js.map +1 -1
  204. package/esm/charts/WordCloudChart.d.ts +3 -3
  205. package/esm/charts/WordCloudChart.js +2 -2
  206. package/esm/charts/WordCloudChart.js.map +1 -1
  207. package/esm/charts/registers/cartesian.d.ts +1 -0
  208. package/esm/charts/registers/cartesian.js +4 -0
  209. package/esm/charts/registers/cartesian.js.map +1 -0
  210. package/esm/charts/registers/polar.d.ts +1 -0
  211. package/esm/charts/registers/polar.js +4 -0
  212. package/esm/charts/registers/polar.js.map +1 -0
  213. package/esm/charts/registers/simple.d.ts +1 -0
  214. package/esm/charts/registers/simple.js +4 -0
  215. package/esm/charts/registers/simple.js.map +1 -0
  216. package/esm/index.d.ts +1 -1
  217. package/esm/index.js +1 -1
  218. package/esm/index.js.map +1 -1
  219. package/package.json +6 -6
  220. package/cjs/charts/register.d.ts +0 -3
  221. package/cjs/charts/register.js +0 -12
  222. package/cjs/charts/register.js.map +0 -1
  223. package/esm/charts/register.d.ts +0 -3
  224. package/esm/charts/register.js +0 -8
  225. package/esm/charts/register.js.map +0 -1
@@ -4,9 +4,9 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: !0
5
5
  }), exports.VennChart = void 0;
6
6
 
7
- const vchart_1 = require("@visactor/vchart"), BaseChart_1 = require("./BaseChart"), register_1 = require("./register");
7
+ const vchart_1 = require("@visactor/vchart"), BaseChart_1 = require("./BaseChart"), simple_1 = require("./registers/simple");
8
8
 
9
9
  exports.VennChart = (0, BaseChart_1.createChart)("VennChart", {
10
10
  type: "venn",
11
11
  vchartConstrouctor: vchart_1.VChart
12
- }, [ vchart_1.registerVennChart, ...register_1.simpleComponentsRegisters ]);
12
+ }, [ vchart_1.registerVennChart, ...simple_1.registers ]);
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/charts/VennChart.tsx"],"names":[],"mappings":";;;AAEA,6CAA6D;AAE7D,2CAA0C;AAC1C,yCAAuD;AAM1C,QAAA,SAAS,GAAG,IAAA,uBAAW,EAClC,WAAW,EACX;IACE,IAAI,EAAE,MAAM;IACZ,kBAAkB,EAAE,eAA4B;CACjD,EACD,CAAC,0BAAiB,EAAE,GAAG,oCAAyB,CAAC,CAClD,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 { simpleComponentsRegisters } from './register';\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, ...simpleComponentsRegisters]\n);\n"]}
1
+ {"version":3,"sources":["../src/charts/VennChart.tsx"],"names":[],"mappings":";;;AAEA,6CAA6D;AAE7D,2CAA0C;AAC1C,+CAA+C;AAMlC,QAAA,SAAS,GAAG,IAAA,uBAAW,EAClC,WAAW,EACX;IACE,IAAI,EAAE,MAAM;IACZ,kBAAkB,EAAE,eAA4B;CACjD,EACD,CAAC,0BAAiB,EAAE,GAAG,kBAAS,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>>;
@@ -4,10 +4,10 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: !0
5
5
  }), exports.WaterfallChart = void 0;
6
6
 
7
- const vchart_1 = require("@visactor/vchart"), BaseChart_1 = require("./BaseChart"), register_1 = require("./register");
7
+ const vchart_1 = require("@visactor/vchart"), cartesian_1 = require("./registers/cartesian"), BaseChart_1 = require("./BaseChart");
8
8
 
9
9
  exports.WaterfallChart = (0, BaseChart_1.createChart)("WaterfallChart", {
10
10
  type: "waterfall",
11
11
  vchartConstrouctor: vchart_1.VChart
12
- }, [ vchart_1.registerWaterfallChart, vchart_1.registerLabel, vchart_1.registerTotalLabel, ...register_1.cartesianComponentsRegisters ]);
12
+ }, [ vchart_1.registerWaterfallChart, vchart_1.registerLabel, vchart_1.registerTotalLabel, ...cartesian_1.registers ]);
13
13
  //# sourceMappingURL=WaterfallChart.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/charts/WaterfallChart.tsx"],"names":[],"mappings":";;;AAEA,6CAAqG;AACrG,2CAA0D;AAC1D,yCAA0D;AAQ7C,QAAA,cAAc,GAAG,IAAA,uBAAW,EACvC,gBAAgB,EAChB;IACE,IAAI,EAAE,WAAW;IACjB,kBAAkB,EAAE,eAA4B;CACjD,EACD,CAAC,+BAAsB,EAAE,sBAAa,EAAE,2BAAkB,EAAE,GAAG,uCAA4B,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,6CAAqG;AACrG,qDAAkD;AAElD,2CAA0C;AAQ7B,QAAA,cAAc,GAAG,IAAA,uBAAW,EACvC,gBAAgB,EAChB;IACE,IAAI,EAAE,WAAW;IACjB,kBAAkB,EAAE,eAA4B;CACjD,EACD,CAAC,+BAAsB,EAAE,sBAAa,EAAE,2BAAkB,EAAE,GAAG,qBAAS,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>>;
@@ -4,10 +4,10 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: !0
5
5
  }), exports.WordCloud3dChart = void 0;
6
6
 
7
- const vchart_1 = require("@visactor/vchart"), BaseChart_1 = require("./BaseChart"), register_1 = require("./register");
7
+ const vchart_1 = require("@visactor/vchart"), simple_1 = require("./registers/simple"), BaseChart_1 = require("./BaseChart");
8
8
 
9
9
  exports.WordCloud3dChart = (0, BaseChart_1.createChart)("WordCloud3dChart", {
10
10
  type: "wordCloud3d",
11
11
  vchartConstrouctor: vchart_1.VChart
12
- }, [ vchart_1.registerWordCloud3dChart, ...register_1.simpleComponentsRegisters ]);
12
+ }, [ vchart_1.registerWordCloud3dChart, ...simple_1.registers ]);
13
13
  //# sourceMappingURL=WordCloud3dChart.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/charts/WordCloud3dChart.tsx"],"names":[],"mappings":";;;AAEA,6CAAoE;AACpE,2CAA0D;AAC1D,yCAAuD;AAM1C,QAAA,gBAAgB,GAAG,IAAA,uBAAW,EACzC,kBAAkB,EAClB;IACE,IAAI,EAAE,aAAa;IACnB,kBAAkB,EAAE,eAA4B;CACjD,EACD,CAAC,iCAAwB,EAAE,GAAG,oCAAyB,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,6CAAoE;AACpE,+CAA+C;AAE/C,2CAA0C;AAM7B,QAAA,gBAAgB,GAAG,IAAA,uBAAW,EACzC,kBAAkB,EAClB;IACE,IAAI,EAAE,aAAa;IACnB,kBAAkB,EAAE,eAA4B;CACjD,EACD,CAAC,iCAAwB,EAAE,GAAG,kBAAS,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>>;
@@ -4,10 +4,10 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: !0
5
5
  }), exports.WordCloudChart = void 0;
6
6
 
7
- const vchart_1 = require("@visactor/vchart"), BaseChart_1 = require("./BaseChart"), register_1 = require("./register");
7
+ const vchart_1 = require("@visactor/vchart"), BaseChart_1 = require("./BaseChart"), simple_1 = require("./registers/simple");
8
8
 
9
9
  exports.WordCloudChart = (0, BaseChart_1.createChart)("WordCloudChart", {
10
10
  type: "wordCloud",
11
11
  vchartConstrouctor: vchart_1.VChart
12
- }, [ vchart_1.registerWordCloudChart, ...register_1.simpleComponentsRegisters ]);
12
+ }, [ vchart_1.registerWordCloudChart, ...simple_1.registers ]);
13
13
  //# sourceMappingURL=WordCloudChart.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/charts/WordCloudChart.tsx"],"names":[],"mappings":";;;AAEA,6CAAkE;AAClE,2CAA0D;AAC1D,yCAAuD;AAM1C,QAAA,cAAc,GAAG,IAAA,uBAAW,EACvC,gBAAgB,EAChB;IACE,IAAI,EAAE,WAAW;IACjB,kBAAkB,EAAE,eAA4B;CACjD,EACD,CAAC,+BAAsB,EAAE,GAAG,oCAAyB,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,6CAAkE;AAClE,2CAA0D;AAC1D,+CAA+C;AAMlC,QAAA,cAAc,GAAG,IAAA,uBAAW,EACvC,gBAAgB,EAChB;IACE,IAAI,EAAE,WAAW;IACjB,kBAAkB,EAAE,eAA4B;CACjD,EACD,CAAC,+BAAsB,EAAE,GAAG,kBAAS,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"]}
@@ -0,0 +1 @@
1
+ export declare const registers: (() => void)[];
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: !0
5
+ }), exports.registers = void 0;
6
+
7
+ const vchart_1 = require("@visactor/vchart");
8
+
9
+ exports.registers = [ vchart_1.registerAnimate, vchart_1.registerReactAttributePlugin, vchart_1.registerTooltip, vchart_1.registerDomTooltipHandler, vchart_1.registerCartesianLinearAxis, vchart_1.registerCartesianBandAxis, vchart_1.registerCartesianTimeAxis, vchart_1.registerCartesianLogAxis, vchart_1.registerCartesianCrossHair, vchart_1.registerBrush, vchart_1.registerContinuousLegend, vchart_1.registerDataZoom, vchart_1.registerDiscreteLegend, vchart_1.registerCustomMark, vchart_1.registerAllMarks, vchart_1.registerMarkArea, vchart_1.registerMarkLine, vchart_1.registerMarkPoint, vchart_1.registerScrollBar, vchart_1.registerTitle ];
10
+ //# sourceMappingURL=cartesian.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/charts/registers/cartesian.ts"],"names":[],"mappings":";;;AAAA,6CAqB0B;AAEb,QAAA,SAAS,GAAG;IACvB,wBAAe;IACf,qCAA4B;IAC5B,wBAAe;IACf,kCAAyB;IACzB,oCAA2B;IAC3B,kCAAyB;IACzB,kCAAyB;IACzB,iCAAwB;IACxB,mCAA0B;IAC1B,sBAAa;IACb,iCAAwB;IACxB,yBAAgB;IAChB,+BAAsB;IACtB,2BAAkB;IAClB,yBAAgB;IAChB,yBAAgB;IAChB,yBAAgB;IAChB,0BAAiB;IACjB,0BAAiB;IACjB,sBAAa;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,10 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: !0
5
+ }), exports.registers = void 0;
6
+
7
+ const vchart_1 = require("@visactor/vchart");
8
+
9
+ exports.registers = [ vchart_1.registerAnimate, vchart_1.registerReactAttributePlugin, vchart_1.registerTooltip, vchart_1.registerDomTooltipHandler, vchart_1.registerPolarLinearAxis, vchart_1.registerPolarBandAxis, vchart_1.registerPolarCrossHair, vchart_1.registerBrush, vchart_1.registerContinuousLegend, vchart_1.registerDataZoom, vchart_1.registerDiscreteLegend, vchart_1.registerCustomMark, vchart_1.registerAllMarks, vchart_1.registerScrollBar, vchart_1.registerTitle ];
10
+ //# sourceMappingURL=polar.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/charts/registers/polar.ts"],"names":[],"mappings":";;;AAAA,6CAgB0B;AAEb,QAAA,SAAS,GAAG;IACvB,wBAAe;IACf,qCAA4B;IAC5B,wBAAe;IACf,kCAAyB;IACzB,gCAAuB;IACvB,8BAAqB;IACrB,+BAAsB;IAEtB,sBAAa;IACb,iCAAwB;IACxB,yBAAgB;IAChB,+BAAsB;IACtB,2BAAkB;IAClB,yBAAgB;IAChB,0BAAiB;IACjB,sBAAa;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,10 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: !0
5
+ }), exports.registers = void 0;
6
+
7
+ const vchart_1 = require("@visactor/vchart");
8
+
9
+ exports.registers = [ vchart_1.registerAnimate, vchart_1.registerReactAttributePlugin, vchart_1.registerTooltip, vchart_1.registerDomTooltipHandler, vchart_1.registerDiscreteLegend, vchart_1.registerContinuousLegend, vchart_1.registerCustomMark, vchart_1.registerAllMarks, vchart_1.registerTitle ];
10
+ //# sourceMappingURL=simple.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/charts/registers/simple.ts"],"names":[],"mappings":";;;AAAA,6CAU0B;AAEb,QAAA,SAAS,GAAG;IACvB,wBAAe;IACf,qCAA4B;IAC5B,wBAAe;IACf,kCAAyB;IACzB,+BAAsB;IACtB,iCAAwB;IACxB,2BAAkB;IAClB,yBAAgB;IAChB,sBAAa;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"]}
package/cjs/index.d.ts CHANGED
@@ -4,5 +4,5 @@ export * from './components';
4
4
  export * from './VChart';
5
5
  export * from './VChartSimple';
6
6
  export { VChart as VChartCore } from '@visactor/vchart';
7
- export declare const version = "1.12.0-alpha.8";
7
+ export declare const version = "1.12.0";
8
8
  export type { IAreaChartSpec, IBarChartSpec, IBar3dChartSpec, IBoxPlotChartSpec, ICirclePackingChartSpec, ICommonChartSpec, IFunnelChartSpec, IFunnel3dChartSpec, IGaugeChartSpec, IHeatmapChartSpec, IHistogramChartSpec, IHistogram3dChartSpec, ILineChartSpec, IMapChartSpec, IPieChartSpec, IPie3dChartSpec, ICircularProgressChartSpec, ILinearProgressChartSpec, IRadarChartSpec, IRangeColumnChartSpec, IRangeColumn3dChartSpec, IRangeAreaChartSpec, IRoseChartSpec, IScatterChartSpec, ISankeyChartSpec, ISequenceChartSpec, ISunburstChartSpec, ITreemapChartSpec, IWaterfallChartSpec, ICorrelationChartSpec, ILiquidChartSpec, IWordCloud3dChartSpec, IWordCloudChartSpec, IPolarChartSpec, ICartesianChartSpec, ITheme, IInitOption, ISpec, IVChart } from '@visactor/vchart';
package/cjs/index.js CHANGED
@@ -28,5 +28,5 @@ Object.defineProperty(exports, "VChartCore", {
28
28
  get: function() {
29
29
  return vchart_1.VChart;
30
30
  }
31
- }), exports.version = "1.12.0-alpha.8";
31
+ }), exports.version = "1.12.0";
32
32
  //# sourceMappingURL=index.js.map
package/cjs/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,2CAAyB;AACzB,+CAA6B;AAC7B,2CAAyB;AACzB,iDAA+B;AAC/B,2CAAwD;AAA/C,oGAAA,MAAM,OAAc;AAGhB,QAAA,OAAO,GAAG,gBAAgB,CAAC","file":"index.js","sourcesContent":["export * from './charts';\nexport * from './series';\nexport * from './components';\nexport * from './VChart';\nexport * from './VChartSimple';\nexport { VChart as VChartCore } from '@visactor/vchart';\n\n// export the version, since @1.8.3\nexport const version = \"1.12.0-alpha.8\";\n\nexport type {\n IAreaChartSpec,\n IBarChartSpec,\n IBar3dChartSpec,\n IBoxPlotChartSpec,\n ICirclePackingChartSpec,\n ICommonChartSpec,\n IFunnelChartSpec,\n IFunnel3dChartSpec,\n IGaugeChartSpec,\n IHeatmapChartSpec,\n IHistogramChartSpec,\n IHistogram3dChartSpec,\n ILineChartSpec,\n IMapChartSpec,\n IPieChartSpec,\n IPie3dChartSpec,\n ICircularProgressChartSpec,\n ILinearProgressChartSpec,\n IRadarChartSpec,\n IRangeColumnChartSpec,\n IRangeColumn3dChartSpec,\n IRangeAreaChartSpec,\n IRoseChartSpec,\n IScatterChartSpec,\n ISankeyChartSpec,\n ISequenceChartSpec,\n ISunburstChartSpec,\n ITreemapChartSpec,\n IWaterfallChartSpec,\n ICorrelationChartSpec,\n ILiquidChartSpec,\n IWordCloud3dChartSpec,\n IWordCloudChartSpec,\n IPolarChartSpec,\n ICartesianChartSpec,\n ITheme,\n IInitOption,\n ISpec,\n IVChart\n} from '@visactor/vchart';\n"]}
1
+ {"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,2CAAyB;AACzB,+CAA6B;AAC7B,2CAAyB;AACzB,iDAA+B;AAC/B,2CAAwD;AAA/C,oGAAA,MAAM,OAAc;AAGhB,QAAA,OAAO,GAAG,QAAQ,CAAC","file":"index.js","sourcesContent":["export * from './charts';\nexport * from './series';\nexport * from './components';\nexport * from './VChart';\nexport * from './VChartSimple';\nexport { VChart as VChartCore } from '@visactor/vchart';\n\n// export the version, since @1.8.3\nexport const version = \"1.12.0\";\n\nexport type {\n IAreaChartSpec,\n IBarChartSpec,\n IBar3dChartSpec,\n IBoxPlotChartSpec,\n ICirclePackingChartSpec,\n ICommonChartSpec,\n IFunnelChartSpec,\n IFunnel3dChartSpec,\n IGaugeChartSpec,\n IHeatmapChartSpec,\n IHistogramChartSpec,\n IHistogram3dChartSpec,\n ILineChartSpec,\n IMapChartSpec,\n IPieChartSpec,\n IPie3dChartSpec,\n ICircularProgressChartSpec,\n ILinearProgressChartSpec,\n IRadarChartSpec,\n IRangeColumnChartSpec,\n IRangeColumn3dChartSpec,\n IRangeAreaChartSpec,\n IRoseChartSpec,\n IScatterChartSpec,\n ISankeyChartSpec,\n ISequenceChartSpec,\n ISunburstChartSpec,\n ITreemapChartSpec,\n IWaterfallChartSpec,\n ICorrelationChartSpec,\n ILiquidChartSpec,\n IWordCloud3dChartSpec,\n IWordCloudChartSpec,\n IPolarChartSpec,\n ICartesianChartSpec,\n ITheme,\n IInitOption,\n ISpec,\n IVChart\n} from '@visactor/vchart';\n"]}
@@ -1,10 +1,10 @@
1
1
  import type React from 'react';
2
2
  import type { IAreaChartSpec } from '@visactor/vchart';
3
3
  import type { BaseChartProps } from './BaseChart';
4
- export interface AreaChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<IAreaChartSpec, 'type'> {
4
+ export interface AreaChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<Partial<IAreaChartSpec>, 'type'> {
5
5
  }
6
6
  export declare const AreaChart: React.ForwardRefExoticComponent<AreaChartProps & {
7
7
  children?: React.ReactNode;
8
8
  } & {
9
- type: 'area';
9
+ type?: 'area';
10
10
  } & import("../containers/withContainer").ContainerProps & React.RefAttributes<any>>;
@@ -2,10 +2,10 @@ import { VChart, registerAreaChart, registerLabel, registerTotalLabel } from "@v
2
2
 
3
3
  import { createChart } from "./BaseChart";
4
4
 
5
- import { cartesianComponentsRegisters } from "./register";
5
+ import { registers } from "./registers/cartesian";
6
6
 
7
7
  export const AreaChart = createChart("AreaChart", {
8
8
  type: "area",
9
9
  vchartConstrouctor: VChart
10
- }, [ registerAreaChart, registerLabel, registerTotalLabel, ...cartesianComponentsRegisters ]);
10
+ }, [ registerAreaChart, registerLabel, registerTotalLabel, ...registers ]);
11
11
  //# sourceMappingURL=AreaChart.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/charts/AreaChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,iBAAiB,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAEhG,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,4BAA4B,EAAE,MAAM,YAAY,CAAC;AAM1D,MAAM,CAAC,MAAM,SAAS,GAAG,WAAW,CAClC,WAAW,EACX;IACE,IAAI,EAAE,MAAM;IACZ,kBAAkB,EAAE,MAA4B;CACjD,EACD,CAAC,iBAAiB,EAAE,aAAa,EAAE,kBAAkB,EAAE,GAAG,4BAA4B,CAAC,CACxF,CAAC","file":"AreaChart.js","sourcesContent":["import type React from 'react';\nimport type { IAreaChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerAreaChart, registerLabel, registerTotalLabel } from '@visactor/vchart';\nimport type { BaseChartProps } from './BaseChart';\nimport { createChart } from './BaseChart';\nimport { cartesianComponentsRegisters } from './register';\n\nexport interface AreaChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<IAreaChartSpec, 'type'> {}\n\nexport const AreaChart = createChart<React.PropsWithChildren<AreaChartProps> & { type: 'area' }>(\n 'AreaChart',\n {\n type: 'area',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerAreaChart, registerLabel, registerTotalLabel, ...cartesianComponentsRegisters]\n);\n"]}
1
+ {"version":3,"sources":["../src/charts/AreaChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,iBAAiB,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAEhG,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAMlD,MAAM,CAAC,MAAM,SAAS,GAAG,WAAW,CAClC,WAAW,EACX;IACE,IAAI,EAAE,MAAM;IACZ,kBAAkB,EAAE,MAA4B;CACjD,EACD,CAAC,iBAAiB,EAAE,aAAa,EAAE,kBAAkB,EAAE,GAAG,SAAS,CAAC,CACrE,CAAC","file":"AreaChart.js","sourcesContent":["import type React from 'react';\nimport type { IAreaChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerAreaChart, registerLabel, registerTotalLabel } from '@visactor/vchart';\nimport type { BaseChartProps } from './BaseChart';\nimport { createChart } from './BaseChart';\nimport { registers } from './registers/cartesian';\n\nexport interface AreaChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<Partial<IAreaChartSpec>, 'type'> {}\n\nexport const AreaChart = createChart<React.PropsWithChildren<AreaChartProps> & { type?: 'area' }>(\n 'AreaChart',\n {\n type: 'area',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerAreaChart, registerLabel, registerTotalLabel, ...registers]\n);\n"]}
@@ -1,10 +1,10 @@
1
- import React from 'react';
1
+ import type React from 'react';
2
2
  import type { IBar3dChartSpec } from '@visactor/vchart';
3
3
  import { BaseChartProps } from './BaseChart';
4
- export interface Bar3dChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<IBar3dChartSpec, 'type'> {
4
+ export interface Bar3dChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<Partial<IBar3dChartSpec>, 'type'> {
5
5
  }
6
6
  export declare const Bar3dChart: React.ForwardRefExoticComponent<Bar3dChartProps & {
7
7
  children?: React.ReactNode;
8
8
  } & {
9
- type: 'bar3d';
9
+ type?: 'bar3d';
10
10
  } & import("../containers/withContainer").ContainerProps & React.RefAttributes<any>>;
@@ -2,10 +2,10 @@ import { VChart, registerBar3dChart, registerLabel, registerTotalLabel } from "@
2
2
 
3
3
  import { createChart } from "./BaseChart";
4
4
 
5
- import { cartesianComponentsRegisters } from "./register";
5
+ import { registers } from "./registers/cartesian";
6
6
 
7
7
  export const Bar3dChart = createChart("Bar3dChart", {
8
8
  type: "bar3d",
9
9
  vchartConstrouctor: VChart
10
- }, [ registerBar3dChart, registerLabel, registerTotalLabel, ...cartesianComponentsRegisters ]);
10
+ }, [ registerBar3dChart, registerLabel, registerTotalLabel, ...registers ]);
11
11
  //# sourceMappingURL=Bar3dChart.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/charts/Bar3dChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,kBAAkB,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AACjG,OAAO,EAAkB,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1D,OAAO,EAAE,4BAA4B,EAAE,MAAM,YAAY,CAAC;AAQ1D,MAAM,CAAC,MAAM,UAAU,GAAG,WAAW,CACnC,YAAY,EACZ;IACE,IAAI,EAAE,OAAO;IACb,kBAAkB,EAAE,MAA4B;CACjD,EACD,CAAC,kBAAkB,EAAE,aAAa,EAAE,kBAAkB,EAAE,GAAG,4BAA4B,CAAC,CACzF,CAAC","file":"Bar3dChart.js","sourcesContent":["import React from 'react';\nimport type { IBar3dChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerBar3dChart, registerLabel, registerTotalLabel } from '@visactor/vchart';\nimport { BaseChartProps, createChart } from './BaseChart';\nimport { cartesianComponentsRegisters } from './register';\n\nexport interface Bar3dChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<IBar3dChartSpec, 'type'> {\n //\n}\n\nexport const Bar3dChart = createChart<React.PropsWithChildren<Bar3dChartProps> & { type: 'bar3d' }>(\n 'Bar3dChart',\n {\n type: 'bar3d',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerBar3dChart, registerLabel, registerTotalLabel, ...cartesianComponentsRegisters]\n);\n"]}
1
+ {"version":3,"sources":["../src/charts/Bar3dChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,kBAAkB,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AACjG,OAAO,EAAkB,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAQlD,MAAM,CAAC,MAAM,UAAU,GAAG,WAAW,CACnC,YAAY,EACZ;IACE,IAAI,EAAE,OAAO;IACb,kBAAkB,EAAE,MAA4B;CACjD,EACD,CAAC,kBAAkB,EAAE,aAAa,EAAE,kBAAkB,EAAE,GAAG,SAAS,CAAC,CACtE,CAAC","file":"Bar3dChart.js","sourcesContent":["import type React from 'react';\nimport type { IBar3dChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerBar3dChart, registerLabel, registerTotalLabel } from '@visactor/vchart';\nimport { BaseChartProps, createChart } from './BaseChart';\nimport { registers } from './registers/cartesian';\n\nexport interface Bar3dChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<Partial<IBar3dChartSpec>, 'type'> {\n //\n}\n\nexport const Bar3dChart = createChart<React.PropsWithChildren<Bar3dChartProps> & { type?: 'bar3d' }>(\n 'Bar3dChart',\n {\n type: 'bar3d',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerBar3dChart, registerLabel, registerTotalLabel, ...registers]\n);\n"]}
@@ -1,10 +1,10 @@
1
- import React from 'react';
1
+ import type React from 'react';
2
2
  import type { IBarChartSpec } from '@visactor/vchart';
3
3
  import { BaseChartProps } from './BaseChart';
4
- export interface BarChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<IBarChartSpec, 'type'> {
4
+ export interface BarChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<Partial<IBarChartSpec>, 'type'> {
5
5
  }
6
6
  export declare const BarChart: React.ForwardRefExoticComponent<BarChartProps & {
7
7
  children?: React.ReactNode;
8
8
  } & {
9
- type: 'bar';
9
+ type?: 'bar';
10
10
  } & import("../containers/withContainer").ContainerProps & React.RefAttributes<any>>;
@@ -2,10 +2,10 @@ import { VChart, registerBarChart, registerLabel, registerTotalLabel } from "@vi
2
2
 
3
3
  import { createChart } from "./BaseChart";
4
4
 
5
- import { cartesianComponentsRegisters } from "./register";
5
+ import { registers } from "./registers/cartesian";
6
6
 
7
7
  export const BarChart = createChart("BarChart", {
8
8
  type: "bar",
9
9
  vchartConstrouctor: VChart
10
- }, [ registerBarChart, registerLabel, registerTotalLabel, ...cartesianComponentsRegisters ]);
10
+ }, [ registerBarChart, registerLabel, registerTotalLabel, ...registers ]);
11
11
  //# sourceMappingURL=BarChart.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/charts/BarChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,gBAAgB,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAC/F,OAAO,EAAkB,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1D,OAAO,EAAE,4BAA4B,EAAE,MAAM,YAAY,CAAC;AAQ1D,MAAM,CAAC,MAAM,QAAQ,GAAG,WAAW,CACjC,UAAU,EACV;IACE,IAAI,EAAE,KAAK;IACX,kBAAkB,EAAE,MAA4B;CACjD,EACD,CAAC,gBAAgB,EAAE,aAAa,EAAE,kBAAkB,EAAE,GAAG,4BAA4B,CAAC,CACvF,CAAC","file":"BarChart.js","sourcesContent":["import React from 'react';\nimport type { IBarChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerBarChart, registerLabel, registerTotalLabel } from '@visactor/vchart';\nimport { BaseChartProps, createChart } from './BaseChart';\nimport { cartesianComponentsRegisters } from './register';\n\nexport interface BarChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<IBarChartSpec, 'type'> {\n //\n}\n\nexport const BarChart = createChart<React.PropsWithChildren<BarChartProps> & { type: 'bar' }>(\n 'BarChart',\n {\n type: 'bar',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerBarChart, registerLabel, registerTotalLabel, ...cartesianComponentsRegisters]\n);\n"]}
1
+ {"version":3,"sources":["../src/charts/BarChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,gBAAgB,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAC/F,OAAO,EAAkB,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAQlD,MAAM,CAAC,MAAM,QAAQ,GAAG,WAAW,CACjC,UAAU,EACV;IACE,IAAI,EAAE,KAAK;IACX,kBAAkB,EAAE,MAA4B;CACjD,EACD,CAAC,gBAAgB,EAAE,aAAa,EAAE,kBAAkB,EAAE,GAAG,SAAS,CAAC,CACpE,CAAC","file":"BarChart.js","sourcesContent":["import type React from 'react';\nimport type { IBarChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerBarChart, registerLabel, registerTotalLabel } from '@visactor/vchart';\nimport { BaseChartProps, createChart } from './BaseChart';\nimport { registers } from './registers/cartesian';\n\nexport interface BarChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<Partial<IBarChartSpec>, 'type'> {\n //\n}\n\nexport const BarChart = createChart<React.PropsWithChildren<BarChartProps> & { type?: 'bar' }>(\n 'BarChart',\n {\n type: 'bar',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerBarChart, registerLabel, registerTotalLabel, ...registers]\n);\n"]}
@@ -1,10 +1,10 @@
1
- import React from 'react';
2
- import { IBoxPlotChartSpec } from '@visactor/vchart';
1
+ import type React from 'react';
2
+ import type { IBoxPlotChartSpec } from '@visactor/vchart';
3
3
  import { BaseChartProps } from './BaseChart';
4
- export interface BoxPlotChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<IBoxPlotChartSpec, 'type'> {
4
+ export interface BoxPlotChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<Partial<IBoxPlotChartSpec>, 'type'> {
5
5
  }
6
6
  export declare const BoxPlotChart: React.ForwardRefExoticComponent<BoxPlotChartProps & {
7
7
  children?: React.ReactNode;
8
8
  } & {
9
- type: 'boxPlot';
9
+ type?: 'boxPlot';
10
10
  } & import("../containers/withContainer").ContainerProps & React.RefAttributes<any>>;
@@ -2,10 +2,10 @@ import { VChart, registerBoxplotChart, registerLabel } from "@visactor/vchart";
2
2
 
3
3
  import { createChart } from "./BaseChart";
4
4
 
5
- import { cartesianComponentsRegisters } from "./register";
5
+ import { registers } from "./registers/cartesian";
6
6
 
7
7
  export const BoxPlotChart = createChart("BoxPlotChart", {
8
8
  type: "boxPlot",
9
9
  vchartConstrouctor: VChart
10
- }, [ registerBoxplotChart, registerLabel, ...cartesianComponentsRegisters ]);
10
+ }, [ registerBoxplotChart, registerLabel, ...registers ]);
11
11
  //# sourceMappingURL=BoxPlotChart.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/charts/BoxPlotChart.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":"BoxPlotChart.js","sourcesContent":["import React from 'react';\nimport { IBoxPlotChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerBoxplotChart, registerLabel } from '@visactor/vchart';\nimport { BaseChartProps, createChart } from './BaseChart';\nimport { cartesianComponentsRegisters } from './register';\n\nexport interface BoxPlotChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<IBoxPlotChartSpec, 'type'> {}\n\nexport const BoxPlotChart = createChart<React.PropsWithChildren<BoxPlotChartProps> & { type: 'boxPlot' }>(\n 'BoxPlotChart',\n {\n type: 'boxPlot',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerBoxplotChart, registerLabel, ...cartesianComponentsRegisters]\n);\n"]}
1
+ {"version":3,"sources":["../src/charts/BoxPlotChart.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,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAMlD,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":"BoxPlotChart.js","sourcesContent":["import type React from 'react';\nimport type { IBoxPlotChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerBoxplotChart, registerLabel } from '@visactor/vchart';\nimport { BaseChartProps, createChart } from './BaseChart';\nimport { registers } from './registers/cartesian';\n\nexport interface BoxPlotChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<Partial<IBoxPlotChartSpec>, 'type'> {}\n\nexport const BoxPlotChart = createChart<React.PropsWithChildren<BoxPlotChartProps> & { type?: 'boxPlot' }>(\n 'BoxPlotChart',\n {\n type: 'boxPlot',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerBoxplotChart, registerLabel, ...registers]\n);\n"]}
@@ -1,10 +1,10 @@
1
- import React from 'react';
2
- import { ICirclePackingChartSpec } from '@visactor/vchart';
1
+ import type React from 'react';
2
+ import type { ICirclePackingChartSpec } from '@visactor/vchart';
3
3
  import { BaseChartProps } from './BaseChart';
4
- export interface CirclePackingChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<ICirclePackingChartSpec, 'type'> {
4
+ export interface CirclePackingChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<Partial<ICirclePackingChartSpec>, 'type'> {
5
5
  }
6
6
  export declare const CirclePackingChart: React.ForwardRefExoticComponent<CirclePackingChartProps & {
7
7
  children?: React.ReactNode;
8
8
  } & {
9
- type: 'circlePacking';
9
+ type?: 'circlePacking';
10
10
  } & import("../containers/withContainer").ContainerProps & React.RefAttributes<any>>;
@@ -2,10 +2,10 @@ import { VChart, registerCirclePackingChart } 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 CirclePackingChart = createChart("CirclePackingChart", {
8
8
  type: "circlePacking",
9
9
  vchartConstrouctor: VChart
10
- }, [ registerCirclePackingChart, ...simpleComponentsRegisters ]);
10
+ }, [ registerCirclePackingChart, ...registers ]);
11
11
  //# sourceMappingURL=CirclePackingChart.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/charts/CirclePackingChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,0BAA0B,EAAE,MAAM,kBAAkB,CAAC;AACtE,OAAO,EAAkB,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1D,OAAO,EAAE,yBAAyB,EAAE,MAAM,YAAY,CAAC;AAMvD,MAAM,CAAC,MAAM,kBAAkB,GAAG,WAAW,CAG3C,oBAAoB,EACpB;IACE,IAAI,EAAE,eAAe;IACrB,kBAAkB,EAAE,MAA4B;CACjD,EACD,CAAC,0BAA0B,EAAE,GAAG,yBAAyB,CAAC,CAC3D,CAAC","file":"CirclePackingChart.js","sourcesContent":["import React from 'react';\nimport { ICirclePackingChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerCirclePackingChart } from '@visactor/vchart';\nimport { BaseChartProps, createChart } from './BaseChart';\nimport { simpleComponentsRegisters } from './register';\n\nexport interface CirclePackingChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<ICirclePackingChartSpec, 'type'> {}\n\nexport const CirclePackingChart = createChart<\n React.PropsWithChildren<CirclePackingChartProps> & { type: 'circlePacking' }\n>(\n 'CirclePackingChart',\n {\n type: 'circlePacking',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerCirclePackingChart, ...simpleComponentsRegisters]\n);\n"]}
1
+ {"version":3,"sources":["../src/charts/CirclePackingChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,0BAA0B,EAAE,MAAM,kBAAkB,CAAC;AACtE,OAAO,EAAkB,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAM/C,MAAM,CAAC,MAAM,kBAAkB,GAAG,WAAW,CAG3C,oBAAoB,EACpB;IACE,IAAI,EAAE,eAAe;IACrB,kBAAkB,EAAE,MAA4B;CACjD,EACD,CAAC,0BAA0B,EAAE,GAAG,SAAS,CAAC,CAC3C,CAAC","file":"CirclePackingChart.js","sourcesContent":["import type React from 'react';\nimport type { ICirclePackingChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerCirclePackingChart } from '@visactor/vchart';\nimport { BaseChartProps, createChart } from './BaseChart';\nimport { registers } from './registers/simple';\n\nexport interface CirclePackingChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<Partial<ICirclePackingChartSpec>, 'type'> {}\n\nexport const CirclePackingChart = createChart<\n React.PropsWithChildren<CirclePackingChartProps> & { type?: 'circlePacking' }\n>(\n 'CirclePackingChart',\n {\n type: 'circlePacking',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerCirclePackingChart, ...registers]\n);\n"]}
@@ -1,10 +1,10 @@
1
1
  import type React from 'react';
2
2
  import type { ICircularProgressChartSpec } from '@visactor/vchart';
3
3
  import type { BaseChartProps } from './BaseChart';
4
- export interface CircularProgressChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<ICircularProgressChartSpec, 'type'> {
4
+ export interface CircularProgressChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<Partial<ICircularProgressChartSpec>, 'type'> {
5
5
  }
6
6
  export declare const CircularProgressChart: React.ForwardRefExoticComponent<CircularProgressChartProps & {
7
7
  children?: React.ReactNode;
8
8
  } & {
9
- type: 'circularProgress';
9
+ type?: 'circularProgress';
10
10
  } & import("../containers/withContainer").ContainerProps & React.RefAttributes<any>>;
@@ -2,10 +2,10 @@ import { VChart, registerCircularProgressChart, registerLabel, registerIndicator
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 CircularProgressChart = createChart("CircularProgressChart", {
8
8
  type: "circularProgress",
9
9
  vchartConstrouctor: VChart
10
- }, [ registerCircularProgressChart, registerLabel, registerIndicator, ...polarComponentsRegisters ]);
10
+ }, [ registerCircularProgressChart, registerLabel, registerIndicator, ...registers ]);
11
11
  //# sourceMappingURL=CircularProgressChart.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/charts/CircularProgressChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,6BAA6B,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAE3G,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,wBAAwB,EAAE,MAAM,YAAY,CAAC;AAMtD,MAAM,CAAC,MAAM,qBAAqB,GAAG,WAAW,CAG9C,uBAAuB,EACvB;IACE,IAAI,EAAE,kBAAkB;IACxB,kBAAkB,EAAE,MAA4B;CACjD,EACD,CAAC,6BAA6B,EAAE,aAAa,EAAE,iBAAiB,EAAE,GAAG,wBAAwB,CAAC,CAC/F,CAAC","file":"CircularProgressChart.js","sourcesContent":["import type React from 'react';\nimport type { ICircularProgressChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerCircularProgressChart, registerLabel, registerIndicator } from '@visactor/vchart';\nimport type { BaseChartProps } from './BaseChart';\nimport { createChart } from './BaseChart';\nimport { polarComponentsRegisters } from './register';\n\nexport interface CircularProgressChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<ICircularProgressChartSpec, 'type'> {}\n\nexport const CircularProgressChart = createChart<\n React.PropsWithChildren<CircularProgressChartProps> & { type: 'circularProgress' }\n>(\n 'CircularProgressChart',\n {\n type: 'circularProgress',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerCircularProgressChart, registerLabel, registerIndicator, ...polarComponentsRegisters]\n);\n"]}
1
+ {"version":3,"sources":["../src/charts/CircularProgressChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,6BAA6B,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAE3G,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAM9C,MAAM,CAAC,MAAM,qBAAqB,GAAG,WAAW,CAG9C,uBAAuB,EACvB;IACE,IAAI,EAAE,kBAAkB;IACxB,kBAAkB,EAAE,MAA4B;CACjD,EACD,CAAC,6BAA6B,EAAE,aAAa,EAAE,iBAAiB,EAAE,GAAG,SAAS,CAAC,CAChF,CAAC","file":"CircularProgressChart.js","sourcesContent":["import type React from 'react';\nimport type { ICircularProgressChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerCircularProgressChart, registerLabel, registerIndicator } from '@visactor/vchart';\nimport type { BaseChartProps } from './BaseChart';\nimport { createChart } from './BaseChart';\nimport { registers } from './registers/polar';\n\nexport interface CircularProgressChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<Partial<ICircularProgressChartSpec>, 'type'> {}\n\nexport const CircularProgressChart = createChart<\n React.PropsWithChildren<CircularProgressChartProps> & { type?: 'circularProgress' }\n>(\n 'CircularProgressChart',\n {\n type: 'circularProgress',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerCircularProgressChart, registerLabel, registerIndicator, ...registers]\n);\n"]}
@@ -1,10 +1,10 @@
1
- import React from 'react';
2
- import { ICommonChartSpec } from '@visactor/vchart';
3
- import { BaseChartProps } from './BaseChart';
4
- export interface CommonChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<ICommonChartSpec, 'type'> {
1
+ import type React from 'react';
2
+ import type { ICommonChartSpec } from '@visactor/vchart';
3
+ import type { BaseChartProps } from './BaseChart';
4
+ export interface CommonChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<Partial<ICommonChartSpec>, 'type'> {
5
5
  }
6
6
  export declare const CommonChart: React.ForwardRefExoticComponent<CommonChartProps & {
7
7
  children?: React.ReactNode;
8
8
  } & {
9
- type: 'common';
9
+ type?: 'common';
10
10
  } & import("../containers/withContainer").ContainerProps & React.RefAttributes<any>>;
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/charts/CommonChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,MAAM,EACN,mBAAmB,EACnB,2BAA2B,EAC3B,yBAAyB,EACzB,yBAAyB,EACzB,wBAAwB,EACxB,0BAA0B,EAC1B,aAAa,EACb,kBAAkB,EAClB,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,EAClB,qBAAqB,EACrB,iBAAiB,EAClB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAkB,WAAW,EAAE,MAAM,aAAa,CAAC;AAM1D,MAAM,CAAC,MAAM,WAAW,GAAG,WAAW,CACpC,aAAa,EACb;IACE,IAAI,EAAE,QAAQ;IACd,kBAAkB,EAAE,MAA4B;CACjD,EACD;IACE,mBAAmB;IACnB,2BAA2B;IAC3B,yBAAyB;IACzB,yBAAyB;IACzB,wBAAwB;IACxB,0BAA0B;IAE1B,aAAa;IACb,kBAAkB;IAElB,kBAAkB;IAClB,iBAAiB;IACjB,kBAAkB;IAClB,qBAAqB;IACrB,iBAAiB;CAClB,CACF,CAAC","file":"CommonChart.js","sourcesContent":["import React from 'react';\nimport { ICommonChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport {\n VChart,\n registerCommonChart,\n registerCartesianLinearAxis,\n registerCartesianBandAxis,\n registerCartesianTimeAxis, // 非必选\n registerCartesianLogAxis, // 非必选\n registerCartesianCrossHair,\n registerLabel,\n registerTotalLabel,\n registerAreaSeries,\n registerBarSeries,\n registerLineSeries,\n registerScatterSeries,\n registerPieSeries\n} from '@visactor/vchart';\nimport { BaseChartProps, createChart } from './BaseChart';\n\nexport interface CommonChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<ICommonChartSpec, 'type'> {}\n\nexport const CommonChart = createChart<React.PropsWithChildren<CommonChartProps> & { type: 'common' }>(\n 'CommonChart',\n {\n type: 'common',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [\n registerCommonChart,\n registerCartesianLinearAxis,\n registerCartesianBandAxis,\n registerCartesianTimeAxis, // 非必选\n registerCartesianLogAxis, // 非必选\n registerCartesianCrossHair,\n\n registerLabel,\n registerTotalLabel,\n\n registerAreaSeries,\n registerBarSeries,\n registerLineSeries,\n registerScatterSeries,\n registerPieSeries\n ]\n);\n"]}
1
+ {"version":3,"sources":["../src/charts/CommonChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,MAAM,EACN,mBAAmB,EACnB,2BAA2B,EAC3B,yBAAyB,EACzB,yBAAyB,EACzB,wBAAwB,EACxB,0BAA0B,EAC1B,aAAa,EACb,kBAAkB,EAClB,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,EAClB,qBAAqB,EACrB,iBAAiB,EAClB,MAAM,kBAAkB,CAAC;AAE1B,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;IACE,mBAAmB;IACnB,2BAA2B;IAC3B,yBAAyB;IACzB,yBAAyB;IACzB,wBAAwB;IACxB,0BAA0B;IAE1B,aAAa;IACb,kBAAkB;IAElB,kBAAkB;IAClB,iBAAiB;IACjB,kBAAkB;IAClB,qBAAqB;IACrB,iBAAiB;CAClB,CACF,CAAC","file":"CommonChart.js","sourcesContent":["import type React from 'react';\nimport type { ICommonChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport {\n VChart,\n registerCommonChart,\n registerCartesianLinearAxis,\n registerCartesianBandAxis,\n registerCartesianTimeAxis, // 非必选\n registerCartesianLogAxis, // 非必选\n registerCartesianCrossHair,\n registerLabel,\n registerTotalLabel,\n registerAreaSeries,\n registerBarSeries,\n registerLineSeries,\n registerScatterSeries,\n registerPieSeries\n} from '@visactor/vchart';\nimport type { BaseChartProps } from './BaseChart';\nimport { createChart } from './BaseChart';\n\nexport interface CommonChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<Partial<ICommonChartSpec>, 'type'> {}\n\nexport const CommonChart = createChart<React.PropsWithChildren<CommonChartProps> & { type?: 'common' }>(\n 'CommonChart',\n {\n type: 'common',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [\n registerCommonChart,\n registerCartesianLinearAxis,\n registerCartesianBandAxis,\n registerCartesianTimeAxis, // 非必选\n registerCartesianLogAxis, // 非必选\n registerCartesianCrossHair,\n\n registerLabel,\n registerTotalLabel,\n\n registerAreaSeries,\n registerBarSeries,\n registerLineSeries,\n registerScatterSeries,\n registerPieSeries\n ]\n);\n"]}
@@ -1,10 +1,10 @@
1
- import React from 'react';
2
- import { ICorrelationChartSpec } from '@visactor/vchart';
1
+ import type React from 'react';
2
+ import type { ICorrelationChartSpec } from '@visactor/vchart';
3
3
  import { BaseChartProps } from './BaseChart';
4
- export interface CorrelationChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<ICorrelationChartSpec, 'type'> {
4
+ export interface CorrelationChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<Partial<ICorrelationChartSpec>, 'type'> {
5
5
  }
6
6
  export declare const CorrelationChart: React.ForwardRefExoticComponent<CorrelationChartProps & {
7
7
  children?: React.ReactNode;
8
8
  } & {
9
- type: 'correlation';
9
+ type?: 'correlation';
10
10
  } & import("../containers/withContainer").ContainerProps & React.RefAttributes<any>>;
@@ -2,10 +2,10 @@ import { VChart, registerCorrelationChart } 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 CorrelationChart = createChart("CorrelationChart", {
8
8
  type: "correlation",
9
9
  vchartConstrouctor: VChart
10
- }, [ registerCorrelationChart, ...simpleComponentsRegisters ]);
10
+ }, [ registerCorrelationChart, ...registers ]);
11
11
  //# sourceMappingURL=CorrelationChart.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/charts/CorrelationChart.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":"CorrelationChart.js","sourcesContent":["import React from 'react';\nimport { ICorrelationChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerCorrelationChart } from '@visactor/vchart';\nimport { BaseChartProps, createChart } from './BaseChart';\nimport { simpleComponentsRegisters } from './register';\n\nexport interface CorrelationChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<ICorrelationChartSpec, 'type'> {}\n\nexport const CorrelationChart = createChart<React.PropsWithChildren<CorrelationChartProps> & { type: 'correlation' }>(\n 'CorrelationChart',\n {\n type: 'correlation',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerCorrelationChart, ...simpleComponentsRegisters]\n);\n"]}
1
+ {"version":3,"sources":["../src/charts/CorrelationChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,wBAAwB,EAAE,MAAM,kBAAkB,CAAC;AACpE,OAAO,EAAkB,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAM/C,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":"CorrelationChart.js","sourcesContent":["import type React from 'react';\nimport type { ICorrelationChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerCorrelationChart } from '@visactor/vchart';\nimport { BaseChartProps, createChart } from './BaseChart';\nimport { registers } from './registers/simple';\n\nexport interface CorrelationChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<Partial<ICorrelationChartSpec>, 'type'> {}\n\nexport const CorrelationChart = createChart<React.PropsWithChildren<CorrelationChartProps> & { type?: 'correlation' }>(\n 'CorrelationChart',\n {\n type: 'correlation',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerCorrelationChart, ...registers]\n);\n"]}
@@ -1,10 +1,10 @@
1
- import React from 'react';
2
- import { IFunnel3dChartSpec } from '@visactor/vchart';
1
+ import type React from 'react';
2
+ import type { IFunnel3dChartSpec } from '@visactor/vchart';
3
3
  import { BaseChartProps } from './BaseChart';
4
- export interface Funnel3dChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<IFunnel3dChartSpec, 'type'> {
4
+ export interface Funnel3dChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<Partial<IFunnel3dChartSpec>, 'type'> {
5
5
  }
6
6
  export declare const Funnel3dChart: React.ForwardRefExoticComponent<Funnel3dChartProps & {
7
7
  children?: React.ReactNode;
8
8
  } & {
9
- type: 'funnel3d';
9
+ type?: 'funnel3d';
10
10
  } & import("../containers/withContainer").ContainerProps & React.RefAttributes<any>>;
@@ -2,10 +2,10 @@ import { VChart, registerFunnel3dChart, registerLabel } 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 Funnel3dChart = createChart("Funnel3dChart", {
8
8
  type: "funnel3d",
9
9
  vchartConstrouctor: VChart
10
- }, [ registerFunnel3dChart, registerLabel, ...simpleComponentsRegisters ]);
10
+ }, [ registerFunnel3dChart, registerLabel, ...registers ]);
11
11
  //# sourceMappingURL=Funnel3dChart.js.map