@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.
- package/cjs/charts/AreaChart.d.ts +2 -2
- package/cjs/charts/AreaChart.js +2 -2
- package/cjs/charts/AreaChart.js.map +1 -1
- package/cjs/charts/Bar3dChart.d.ts +3 -3
- package/cjs/charts/Bar3dChart.js +2 -2
- package/cjs/charts/Bar3dChart.js.map +1 -1
- package/cjs/charts/BarChart.d.ts +3 -3
- package/cjs/charts/BarChart.js +2 -2
- package/cjs/charts/BarChart.js.map +1 -1
- package/cjs/charts/BoxPlotChart.d.ts +4 -4
- package/cjs/charts/BoxPlotChart.js +2 -2
- package/cjs/charts/BoxPlotChart.js.map +1 -1
- package/cjs/charts/CirclePackingChart.d.ts +4 -4
- package/cjs/charts/CirclePackingChart.js +2 -2
- package/cjs/charts/CirclePackingChart.js.map +1 -1
- package/cjs/charts/CircularProgressChart.d.ts +2 -2
- package/cjs/charts/CircularProgressChart.js +2 -2
- package/cjs/charts/CircularProgressChart.js.map +1 -1
- package/cjs/charts/CommonChart.d.ts +5 -5
- package/cjs/charts/CommonChart.js.map +1 -1
- package/cjs/charts/CorrelationChart.d.ts +4 -4
- package/cjs/charts/CorrelationChart.js +2 -2
- package/cjs/charts/CorrelationChart.js.map +1 -1
- package/cjs/charts/Funnel3dChart.d.ts +4 -4
- package/cjs/charts/Funnel3dChart.js +2 -2
- package/cjs/charts/Funnel3dChart.js.map +1 -1
- package/cjs/charts/FunnelChart.d.ts +4 -4
- package/cjs/charts/FunnelChart.js +2 -2
- package/cjs/charts/FunnelChart.js.map +1 -1
- package/cjs/charts/GaugeChart.d.ts +3 -3
- package/cjs/charts/GaugeChart.js +2 -2
- package/cjs/charts/GaugeChart.js.map +1 -1
- package/cjs/charts/HeatmapChart.d.ts +2 -2
- package/cjs/charts/HeatmapChart.js +2 -2
- package/cjs/charts/HeatmapChart.js.map +1 -1
- package/cjs/charts/Histogram3dChart.d.ts +4 -4
- package/cjs/charts/Histogram3dChart.js +2 -2
- package/cjs/charts/Histogram3dChart.js.map +1 -1
- package/cjs/charts/HistogramChart.d.ts +4 -4
- package/cjs/charts/HistogramChart.js +2 -2
- package/cjs/charts/HistogramChart.js.map +1 -1
- package/cjs/charts/LineChart.d.ts +2 -2
- package/cjs/charts/LineChart.js +2 -2
- package/cjs/charts/LineChart.js.map +1 -1
- package/cjs/charts/LinearProgressChart.d.ts +5 -5
- package/cjs/charts/LinearProgressChart.js +2 -2
- package/cjs/charts/LinearProgressChart.js.map +1 -1
- package/cjs/charts/LiquidChart.d.ts +2 -2
- package/cjs/charts/LiquidChart.js +2 -2
- package/cjs/charts/LiquidChart.js.map +1 -1
- package/cjs/charts/MapChart.d.ts +4 -4
- package/cjs/charts/MapChart.js +2 -2
- package/cjs/charts/MapChart.js.map +1 -1
- package/cjs/charts/Pie3dChart.d.ts +2 -2
- package/cjs/charts/Pie3dChart.js +2 -2
- package/cjs/charts/Pie3dChart.js.map +1 -1
- package/cjs/charts/PieChart.d.ts +2 -2
- package/cjs/charts/PieChart.js +2 -2
- package/cjs/charts/PieChart.js.map +1 -1
- package/cjs/charts/RadarChart.d.ts +4 -4
- package/cjs/charts/RadarChart.js +2 -2
- package/cjs/charts/RadarChart.js.map +1 -1
- package/cjs/charts/RangeColumn3dChart.d.ts +4 -4
- package/cjs/charts/RangeColumn3dChart.js +2 -2
- package/cjs/charts/RangeColumn3dChart.js.map +1 -1
- package/cjs/charts/RangeColumnChart.d.ts +4 -4
- package/cjs/charts/RangeColumnChart.js +2 -2
- package/cjs/charts/RangeColumnChart.js.map +1 -1
- package/cjs/charts/RoseChart.d.ts +4 -4
- package/cjs/charts/RoseChart.js +2 -2
- package/cjs/charts/RoseChart.js.map +1 -1
- package/cjs/charts/SankeyChart.d.ts +4 -4
- package/cjs/charts/SankeyChart.js +2 -2
- package/cjs/charts/SankeyChart.js.map +1 -1
- package/cjs/charts/ScatterChart.d.ts +4 -4
- package/cjs/charts/ScatterChart.js +2 -2
- package/cjs/charts/ScatterChart.js.map +1 -1
- package/cjs/charts/SequenceChart.d.ts +4 -4
- package/cjs/charts/SequenceChart.js +2 -2
- package/cjs/charts/SequenceChart.js.map +1 -1
- package/cjs/charts/SunburstChart.d.ts +4 -4
- package/cjs/charts/SunburstChart.js +2 -2
- package/cjs/charts/SunburstChart.js.map +1 -1
- package/cjs/charts/TreemapChart.d.ts +4 -4
- package/cjs/charts/TreemapChart.js +2 -2
- package/cjs/charts/TreemapChart.js.map +1 -1
- package/cjs/charts/VennChart.js +2 -2
- package/cjs/charts/VennChart.js.map +1 -1
- package/cjs/charts/WaterfallChart.d.ts +4 -4
- package/cjs/charts/WaterfallChart.js +2 -2
- package/cjs/charts/WaterfallChart.js.map +1 -1
- package/cjs/charts/WordCloud3dChart.d.ts +4 -4
- package/cjs/charts/WordCloud3dChart.js +2 -2
- package/cjs/charts/WordCloud3dChart.js.map +1 -1
- package/cjs/charts/WordCloudChart.d.ts +3 -3
- package/cjs/charts/WordCloudChart.js +2 -2
- package/cjs/charts/WordCloudChart.js.map +1 -1
- package/cjs/charts/registers/cartesian.d.ts +1 -0
- package/cjs/charts/registers/cartesian.js +10 -0
- package/cjs/charts/registers/cartesian.js.map +1 -0
- package/cjs/charts/registers/polar.d.ts +1 -0
- package/cjs/charts/registers/polar.js +10 -0
- package/cjs/charts/registers/polar.js.map +1 -0
- package/cjs/charts/registers/simple.d.ts +1 -0
- package/cjs/charts/registers/simple.js +10 -0
- package/cjs/charts/registers/simple.js.map +1 -0
- package/cjs/index.d.ts +1 -1
- package/cjs/index.js +1 -1
- package/cjs/index.js.map +1 -1
- package/esm/charts/AreaChart.d.ts +2 -2
- package/esm/charts/AreaChart.js +2 -2
- package/esm/charts/AreaChart.js.map +1 -1
- package/esm/charts/Bar3dChart.d.ts +3 -3
- package/esm/charts/Bar3dChart.js +2 -2
- package/esm/charts/Bar3dChart.js.map +1 -1
- package/esm/charts/BarChart.d.ts +3 -3
- package/esm/charts/BarChart.js +2 -2
- package/esm/charts/BarChart.js.map +1 -1
- package/esm/charts/BoxPlotChart.d.ts +4 -4
- package/esm/charts/BoxPlotChart.js +2 -2
- package/esm/charts/BoxPlotChart.js.map +1 -1
- package/esm/charts/CirclePackingChart.d.ts +4 -4
- package/esm/charts/CirclePackingChart.js +2 -2
- package/esm/charts/CirclePackingChart.js.map +1 -1
- package/esm/charts/CircularProgressChart.d.ts +2 -2
- package/esm/charts/CircularProgressChart.js +2 -2
- package/esm/charts/CircularProgressChart.js.map +1 -1
- package/esm/charts/CommonChart.d.ts +5 -5
- package/esm/charts/CommonChart.js.map +1 -1
- package/esm/charts/CorrelationChart.d.ts +4 -4
- package/esm/charts/CorrelationChart.js +2 -2
- package/esm/charts/CorrelationChart.js.map +1 -1
- package/esm/charts/Funnel3dChart.d.ts +4 -4
- package/esm/charts/Funnel3dChart.js +2 -2
- package/esm/charts/Funnel3dChart.js.map +1 -1
- package/esm/charts/FunnelChart.d.ts +4 -4
- package/esm/charts/FunnelChart.js +2 -2
- package/esm/charts/FunnelChart.js.map +1 -1
- package/esm/charts/GaugeChart.d.ts +3 -3
- package/esm/charts/GaugeChart.js +2 -2
- package/esm/charts/GaugeChart.js.map +1 -1
- package/esm/charts/HeatmapChart.d.ts +2 -2
- package/esm/charts/HeatmapChart.js +2 -2
- package/esm/charts/HeatmapChart.js.map +1 -1
- package/esm/charts/Histogram3dChart.d.ts +4 -4
- package/esm/charts/Histogram3dChart.js +2 -2
- package/esm/charts/Histogram3dChart.js.map +1 -1
- package/esm/charts/HistogramChart.d.ts +4 -4
- package/esm/charts/HistogramChart.js +2 -2
- package/esm/charts/HistogramChart.js.map +1 -1
- package/esm/charts/LineChart.d.ts +2 -2
- package/esm/charts/LineChart.js +2 -2
- package/esm/charts/LineChart.js.map +1 -1
- package/esm/charts/LinearProgressChart.d.ts +5 -5
- package/esm/charts/LinearProgressChart.js +3 -3
- package/esm/charts/LinearProgressChart.js.map +1 -1
- package/esm/charts/LiquidChart.d.ts +2 -2
- package/esm/charts/LiquidChart.js +2 -2
- package/esm/charts/LiquidChart.js.map +1 -1
- package/esm/charts/MapChart.d.ts +4 -4
- package/esm/charts/MapChart.js +3 -3
- package/esm/charts/MapChart.js.map +1 -1
- package/esm/charts/Pie3dChart.d.ts +2 -2
- package/esm/charts/Pie3dChart.js +2 -2
- package/esm/charts/Pie3dChart.js.map +1 -1
- package/esm/charts/PieChart.d.ts +2 -2
- package/esm/charts/PieChart.js +2 -2
- package/esm/charts/PieChart.js.map +1 -1
- package/esm/charts/RadarChart.d.ts +4 -4
- package/esm/charts/RadarChart.js +3 -3
- package/esm/charts/RadarChart.js.map +1 -1
- package/esm/charts/RangeColumn3dChart.d.ts +4 -4
- package/esm/charts/RangeColumn3dChart.js +3 -3
- package/esm/charts/RangeColumn3dChart.js.map +1 -1
- package/esm/charts/RangeColumnChart.d.ts +4 -4
- package/esm/charts/RangeColumnChart.js +3 -3
- package/esm/charts/RangeColumnChart.js.map +1 -1
- package/esm/charts/RoseChart.d.ts +4 -4
- package/esm/charts/RoseChart.js +2 -2
- package/esm/charts/RoseChart.js.map +1 -1
- package/esm/charts/SankeyChart.d.ts +4 -4
- package/esm/charts/SankeyChart.js +3 -3
- package/esm/charts/SankeyChart.js.map +1 -1
- package/esm/charts/ScatterChart.d.ts +4 -4
- package/esm/charts/ScatterChart.js +3 -3
- package/esm/charts/ScatterChart.js.map +1 -1
- package/esm/charts/SequenceChart.d.ts +4 -4
- package/esm/charts/SequenceChart.js +3 -3
- package/esm/charts/SequenceChart.js.map +1 -1
- package/esm/charts/SunburstChart.d.ts +4 -4
- package/esm/charts/SunburstChart.js +3 -3
- package/esm/charts/SunburstChart.js.map +1 -1
- package/esm/charts/TreemapChart.d.ts +4 -4
- package/esm/charts/TreemapChart.js +3 -3
- package/esm/charts/TreemapChart.js.map +1 -1
- package/esm/charts/VennChart.js +2 -2
- package/esm/charts/VennChart.js.map +1 -1
- package/esm/charts/WaterfallChart.d.ts +4 -4
- package/esm/charts/WaterfallChart.js +3 -3
- package/esm/charts/WaterfallChart.js.map +1 -1
- package/esm/charts/WordCloud3dChart.d.ts +4 -4
- package/esm/charts/WordCloud3dChart.js +3 -3
- package/esm/charts/WordCloud3dChart.js.map +1 -1
- package/esm/charts/WordCloudChart.d.ts +3 -3
- package/esm/charts/WordCloudChart.js +2 -2
- package/esm/charts/WordCloudChart.js.map +1 -1
- package/esm/charts/registers/cartesian.d.ts +1 -0
- package/esm/charts/registers/cartesian.js +4 -0
- package/esm/charts/registers/cartesian.js.map +1 -0
- package/esm/charts/registers/polar.d.ts +1 -0
- package/esm/charts/registers/polar.js +4 -0
- package/esm/charts/registers/polar.js.map +1 -0
- package/esm/charts/registers/simple.d.ts +1 -0
- package/esm/charts/registers/simple.js +4 -0
- package/esm/charts/registers/simple.js.map +1 -0
- package/esm/index.d.ts +1 -1
- package/esm/index.js +1 -1
- package/esm/index.js.map +1 -1
- package/package.json +6 -6
- package/cjs/charts/register.d.ts +0 -3
- package/cjs/charts/register.js +0 -12
- package/cjs/charts/register.js.map +0 -1
- package/esm/charts/register.d.ts +0 -3
- package/esm/charts/register.js +0 -8
- package/esm/charts/register.js.map +0 -1
package/cjs/charts/VennChart.js
CHANGED
|
@@ -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"),
|
|
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, ...
|
|
12
|
+
}, [ vchart_1.registerVennChart, ...simple_1.registers ]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/charts/VennChart.tsx"],"names":[],"mappings":";;;AAEA,6CAA6D;AAE7D,2CAA0C;AAC1C
|
|
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
|
|
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
|
|
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"),
|
|
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, ...
|
|
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,
|
|
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
|
|
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
|
|
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"),
|
|
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, ...
|
|
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
|
|
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
|
|
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
|
|
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"),
|
|
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, ...
|
|
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
|
|
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
|
|
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
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,
|
|
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
|
|
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
|
|
9
|
+
type?: 'area';
|
|
10
10
|
} & import("../containers/withContainer").ContainerProps & React.RefAttributes<any>>;
|
package/esm/charts/AreaChart.js
CHANGED
|
@@ -2,10 +2,10 @@ import { VChart, registerAreaChart, registerLabel, registerTotalLabel } from "@v
|
|
|
2
2
|
|
|
3
3
|
import { createChart } from "./BaseChart";
|
|
4
4
|
|
|
5
|
-
import {
|
|
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, ...
|
|
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,
|
|
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
|
|
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
|
|
9
|
+
type?: 'bar3d';
|
|
10
10
|
} & import("../containers/withContainer").ContainerProps & React.RefAttributes<any>>;
|
package/esm/charts/Bar3dChart.js
CHANGED
|
@@ -2,10 +2,10 @@ import { VChart, registerBar3dChart, registerLabel, registerTotalLabel } from "@
|
|
|
2
2
|
|
|
3
3
|
import { createChart } from "./BaseChart";
|
|
4
4
|
|
|
5
|
-
import {
|
|
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, ...
|
|
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,
|
|
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"]}
|
package/esm/charts/BarChart.d.ts
CHANGED
|
@@ -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
|
|
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
|
|
9
|
+
type?: 'bar';
|
|
10
10
|
} & import("../containers/withContainer").ContainerProps & React.RefAttributes<any>>;
|
package/esm/charts/BarChart.js
CHANGED
|
@@ -2,10 +2,10 @@ import { VChart, registerBarChart, registerLabel, registerTotalLabel } from "@vi
|
|
|
2
2
|
|
|
3
3
|
import { createChart } from "./BaseChart";
|
|
4
4
|
|
|
5
|
-
import {
|
|
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, ...
|
|
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,
|
|
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
|
|
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
|
|
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 {
|
|
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, ...
|
|
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,
|
|
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
|
|
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
|
|
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 {
|
|
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, ...
|
|
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,
|
|
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
|
|
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
|
|
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 {
|
|
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, ...
|
|
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,
|
|
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
|
|
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
|
|
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;
|
|
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
|
|
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
|
|
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 {
|
|
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, ...
|
|
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,
|
|
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
|
|
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
|
|
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 {
|
|
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, ...
|
|
10
|
+
}, [ registerFunnel3dChart, registerLabel, ...registers ]);
|
|
11
11
|
//# sourceMappingURL=Funnel3dChart.js.map
|