@visactor/react-vchart 1.12.0-alpha.9 → 1.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/charts/AreaChart.d.ts +4 -4
- 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 +5 -5
- 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 +4 -4
- 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 +4 -4
- 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 +4 -4
- 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 +4 -4
- package/cjs/charts/Pie3dChart.js +2 -2
- package/cjs/charts/Pie3dChart.js.map +1 -1
- package/cjs/charts/PieChart.d.ts +4 -4
- 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.d.ts +10 -0
- package/cjs/charts/VennChart.js +12 -0
- package/cjs/charts/VennChart.js.map +1 -0
- package/cjs/charts/WaterfallChart.d.ts +4 -4
- package/cjs/charts/WaterfallChart.js +3 -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/index.d.ts +1 -0
- package/cjs/charts/index.js +2 -1
- package/cjs/charts/index.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/components/Player.js +1 -2
- package/cjs/components/Region.js +2 -1
- package/cjs/index.d.ts +1 -1
- package/cjs/index.js +1 -1
- package/cjs/index.js.map +1 -1
- package/cjs/series/Area.js +1 -1
- package/esm/charts/AreaChart.d.ts +4 -4
- package/esm/charts/AreaChart.js +3 -3
- 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 +5 -5
- package/esm/charts/CircularProgressChart.js +3 -3
- 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 +4 -4
- package/esm/charts/HeatmapChart.js +3 -3
- 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 +4 -4
- package/esm/charts/LineChart.js +3 -3
- 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 +4 -4
- package/esm/charts/LiquidChart.js +3 -3
- 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 +4 -4
- package/esm/charts/Pie3dChart.js +3 -3
- package/esm/charts/Pie3dChart.js.map +1 -1
- package/esm/charts/PieChart.d.ts +4 -4
- package/esm/charts/PieChart.js +3 -3
- 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.d.ts +10 -0
- package/esm/charts/VennChart.js +10 -0
- package/esm/charts/VennChart.js.map +1 -0
- package/esm/charts/WaterfallChart.d.ts +4 -4
- package/esm/charts/WaterfallChart.js +4 -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/index.d.ts +1 -0
- package/esm/charts/index.js +2 -0
- package/esm/charts/index.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/components/Player.js +1 -2
- package/esm/components/Region.js +2 -1
- package/esm/index.d.ts +1 -1
- package/esm/index.js +1 -1
- package/esm/index.js.map +1 -1
- package/esm/series/Area.js +1 -1
- package/package.json +8 -8
- 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
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import type React from 'react';
|
|
2
2
|
import type { IAreaChartSpec } from '@visactor/vchart';
|
|
3
|
-
import { BaseChartProps } from './BaseChart';
|
|
4
|
-
export interface AreaChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<IAreaChartSpec
|
|
3
|
+
import type { BaseChartProps } from './BaseChart';
|
|
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/cjs/charts/AreaChart.js
CHANGED
|
@@ -4,10 +4,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: !0
|
|
5
5
|
}), exports.AreaChart = 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"), cartesian_1 = require("./registers/cartesian");
|
|
8
8
|
|
|
9
9
|
exports.AreaChart = (0, BaseChart_1.createChart)("AreaChart", {
|
|
10
10
|
type: "area",
|
|
11
11
|
vchartConstrouctor: vchart_1.VChart
|
|
12
|
-
}, [ vchart_1.registerAreaChart, vchart_1.registerLabel, ...
|
|
12
|
+
}, [ vchart_1.registerAreaChart, vchart_1.registerLabel, vchart_1.registerTotalLabel, ...cartesian_1.registers ]);
|
|
13
13
|
//# sourceMappingURL=AreaChart.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/charts/AreaChart.tsx"],"names":[],"mappings":";;;AAEA,
|
|
1
|
+
{"version":3,"sources":["../src/charts/AreaChart.tsx"],"names":[],"mappings":";;;AAEA,6CAAgG;AAEhG,2CAA0C;AAC1C,qDAAkD;AAMrC,QAAA,SAAS,GAAG,IAAA,uBAAW,EAClC,WAAW,EACX;IACE,IAAI,EAAE,MAAM;IACZ,kBAAkB,EAAE,eAA4B;CACjD,EACD,CAAC,0BAAiB,EAAE,sBAAa,EAAE,2BAAkB,EAAE,GAAG,qBAAS,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/cjs/charts/Bar3dChart.js
CHANGED
|
@@ -4,10 +4,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: !0
|
|
5
5
|
}), exports.Bar3dChart = 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"), cartesian_1 = require("./registers/cartesian");
|
|
8
8
|
|
|
9
9
|
exports.Bar3dChart = (0, BaseChart_1.createChart)("Bar3dChart", {
|
|
10
10
|
type: "bar3d",
|
|
11
11
|
vchartConstrouctor: vchart_1.VChart
|
|
12
|
-
}, [ vchart_1.registerBar3dChart, vchart_1.registerLabel, vchart_1.registerTotalLabel, ...
|
|
12
|
+
}, [ vchart_1.registerBar3dChart, vchart_1.registerLabel, vchart_1.registerTotalLabel, ...cartesian_1.registers ]);
|
|
13
13
|
//# sourceMappingURL=Bar3dChart.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/charts/Bar3dChart.tsx"],"names":[],"mappings":";;;AAEA,6CAAiG;AACjG,2CAA0D;AAC1D,
|
|
1
|
+
{"version":3,"sources":["../src/charts/Bar3dChart.tsx"],"names":[],"mappings":";;;AAEA,6CAAiG;AACjG,2CAA0D;AAC1D,qDAAkD;AAQrC,QAAA,UAAU,GAAG,IAAA,uBAAW,EACnC,YAAY,EACZ;IACE,IAAI,EAAE,OAAO;IACb,kBAAkB,EAAE,eAA4B;CACjD,EACD,CAAC,2BAAkB,EAAE,sBAAa,EAAE,2BAAkB,EAAE,GAAG,qBAAS,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/cjs/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/cjs/charts/BarChart.js
CHANGED
|
@@ -4,10 +4,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: !0
|
|
5
5
|
}), exports.BarChart = 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"), cartesian_1 = require("./registers/cartesian");
|
|
8
8
|
|
|
9
9
|
exports.BarChart = (0, BaseChart_1.createChart)("BarChart", {
|
|
10
10
|
type: "bar",
|
|
11
11
|
vchartConstrouctor: vchart_1.VChart
|
|
12
|
-
}, [ vchart_1.registerBarChart, vchart_1.registerLabel, vchart_1.registerTotalLabel, ...
|
|
12
|
+
}, [ vchart_1.registerBarChart, vchart_1.registerLabel, vchart_1.registerTotalLabel, ...cartesian_1.registers ]);
|
|
13
13
|
//# sourceMappingURL=BarChart.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/charts/BarChart.tsx"],"names":[],"mappings":";;;AAEA,6CAA+F;AAC/F,2CAA0D;AAC1D,
|
|
1
|
+
{"version":3,"sources":["../src/charts/BarChart.tsx"],"names":[],"mappings":";;;AAEA,6CAA+F;AAC/F,2CAA0D;AAC1D,qDAAkD;AAQrC,QAAA,QAAQ,GAAG,IAAA,uBAAW,EACjC,UAAU,EACV;IACE,IAAI,EAAE,KAAK;IACX,kBAAkB,EAAE,eAA4B;CACjD,EACD,CAAC,yBAAgB,EAAE,sBAAa,EAAE,2BAAkB,EAAE,GAAG,qBAAS,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>>;
|
|
@@ -4,10 +4,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: !0
|
|
5
5
|
}), exports.BoxPlotChart = 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"), cartesian_1 = require("./registers/cartesian");
|
|
8
8
|
|
|
9
9
|
exports.BoxPlotChart = (0, BaseChart_1.createChart)("BoxPlotChart", {
|
|
10
10
|
type: "boxPlot",
|
|
11
11
|
vchartConstrouctor: vchart_1.VChart
|
|
12
|
-
}, [ vchart_1.registerBoxplotChart, vchart_1.registerLabel, ...
|
|
12
|
+
}, [ vchart_1.registerBoxplotChart, vchart_1.registerLabel, ...cartesian_1.registers ]);
|
|
13
13
|
//# sourceMappingURL=BoxPlotChart.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/charts/BoxPlotChart.tsx"],"names":[],"mappings":";;;AAEA,6CAA+E;AAC/E,2CAA0D;AAC1D,
|
|
1
|
+
{"version":3,"sources":["../src/charts/BoxPlotChart.tsx"],"names":[],"mappings":";;;AAEA,6CAA+E;AAC/E,2CAA0D;AAC1D,qDAAkD;AAMrC,QAAA,YAAY,GAAG,IAAA,uBAAW,EACrC,cAAc,EACd;IACE,IAAI,EAAE,SAAS;IACf,kBAAkB,EAAE,eAA4B;CACjD,EACD,CAAC,6BAAoB,EAAE,sBAAa,EAAE,GAAG,qBAAS,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>>;
|
|
@@ -4,10 +4,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: !0
|
|
5
5
|
}), exports.CirclePackingChart = 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.CirclePackingChart = (0, BaseChart_1.createChart)("CirclePackingChart", {
|
|
10
10
|
type: "circlePacking",
|
|
11
11
|
vchartConstrouctor: vchart_1.VChart
|
|
12
|
-
}, [ vchart_1.registerCirclePackingChart, ...
|
|
12
|
+
}, [ vchart_1.registerCirclePackingChart, ...simple_1.registers ]);
|
|
13
13
|
//# sourceMappingURL=CirclePackingChart.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/charts/CirclePackingChart.tsx"],"names":[],"mappings":";;;AAEA,6CAAsE;AACtE,2CAA0D;AAC1D
|
|
1
|
+
{"version":3,"sources":["../src/charts/CirclePackingChart.tsx"],"names":[],"mappings":";;;AAEA,6CAAsE;AACtE,2CAA0D;AAC1D,+CAA+C;AAMlC,QAAA,kBAAkB,GAAG,IAAA,uBAAW,EAG3C,oBAAoB,EACpB;IACE,IAAI,EAAE,eAAe;IACrB,kBAAkB,EAAE,eAA4B;CACjD,EACD,CAAC,mCAA0B,EAAE,GAAG,kBAAS,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
|
-
import React from 'react';
|
|
2
|
-
import { ICircularProgressChartSpec } from '@visactor/vchart';
|
|
3
|
-
import { BaseChartProps } from './BaseChart';
|
|
4
|
-
export interface CircularProgressChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<ICircularProgressChartSpec
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
import type { ICircularProgressChartSpec } from '@visactor/vchart';
|
|
3
|
+
import type { BaseChartProps } from './BaseChart';
|
|
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>>;
|
|
@@ -4,10 +4,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: !0
|
|
5
5
|
}), exports.CircularProgressChart = 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"), polar_1 = require("./registers/polar");
|
|
8
8
|
|
|
9
9
|
exports.CircularProgressChart = (0, BaseChart_1.createChart)("CircularProgressChart", {
|
|
10
10
|
type: "circularProgress",
|
|
11
11
|
vchartConstrouctor: vchart_1.VChart
|
|
12
|
-
}, [ vchart_1.registerCircularProgressChart, vchart_1.registerLabel, ...
|
|
12
|
+
}, [ vchart_1.registerCircularProgressChart, vchart_1.registerLabel, vchart_1.registerIndicator, ...polar_1.registers ]);
|
|
13
13
|
//# sourceMappingURL=CircularProgressChart.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/charts/CircularProgressChart.tsx"],"names":[],"mappings":";;;AAEA,
|
|
1
|
+
{"version":3,"sources":["../src/charts/CircularProgressChart.tsx"],"names":[],"mappings":";;;AAEA,6CAA2G;AAE3G,2CAA0C;AAC1C,6CAA8C;AAMjC,QAAA,qBAAqB,GAAG,IAAA,uBAAW,EAG9C,uBAAuB,EACvB;IACE,IAAI,EAAE,kBAAkB;IACxB,kBAAkB,EAAE,eAA4B;CACjD,EACD,CAAC,sCAA6B,EAAE,sBAAa,EAAE,0BAAiB,EAAE,GAAG,iBAAS,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,6CAe0B;
|
|
1
|
+
{"version":3,"sources":["../src/charts/CommonChart.tsx"],"names":[],"mappings":";;;AAEA,6CAe0B;AAE1B,2CAA0C;AAM7B,QAAA,WAAW,GAAG,IAAA,uBAAW,EACpC,aAAa,EACb;IACE,IAAI,EAAE,QAAQ;IACd,kBAAkB,EAAE,eAA4B;CACjD,EACD;IACE,4BAAmB;IACnB,oCAA2B;IAC3B,kCAAyB;IACzB,kCAAyB;IACzB,iCAAwB;IACxB,mCAA0B;IAE1B,sBAAa;IACb,2BAAkB;IAElB,2BAAkB;IAClB,0BAAiB;IACjB,2BAAkB;IAClB,8BAAqB;IACrB,0BAAiB;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>>;
|
|
@@ -4,10 +4,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: !0
|
|
5
5
|
}), exports.CorrelationChart = 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.CorrelationChart = (0, BaseChart_1.createChart)("CorrelationChart", {
|
|
10
10
|
type: "correlation",
|
|
11
11
|
vchartConstrouctor: vchart_1.VChart
|
|
12
|
-
}, [ vchart_1.registerCorrelationChart, ...
|
|
12
|
+
}, [ vchart_1.registerCorrelationChart, ...simple_1.registers ]);
|
|
13
13
|
//# sourceMappingURL=CorrelationChart.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/charts/CorrelationChart.tsx"],"names":[],"mappings":";;;AAEA,6CAAoE;AACpE,2CAA0D;AAC1D
|
|
1
|
+
{"version":3,"sources":["../src/charts/CorrelationChart.tsx"],"names":[],"mappings":";;;AAEA,6CAAoE;AACpE,2CAA0D;AAC1D,+CAA+C;AAMlC,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":"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>>;
|
|
@@ -4,10 +4,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: !0
|
|
5
5
|
}), exports.Funnel3dChart = 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.Funnel3dChart = (0, BaseChart_1.createChart)("Funnel3dChart", {
|
|
10
10
|
type: "funnel3d",
|
|
11
11
|
vchartConstrouctor: vchart_1.VChart
|
|
12
|
-
}, [ vchart_1.registerFunnel3dChart, vchart_1.registerLabel, ...
|
|
12
|
+
}, [ vchart_1.registerFunnel3dChart, vchart_1.registerLabel, ...simple_1.registers ]);
|
|
13
13
|
//# sourceMappingURL=Funnel3dChart.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/charts/Funnel3dChart.tsx"],"names":[],"mappings":";;;AAEA,6CAAgF;AAChF,2CAA0D;AAC1D
|
|
1
|
+
{"version":3,"sources":["../src/charts/Funnel3dChart.tsx"],"names":[],"mappings":";;;AAEA,6CAAgF;AAChF,2CAA0D;AAC1D,+CAA+C;AAMlC,QAAA,aAAa,GAAG,IAAA,uBAAW,EACtC,eAAe,EACf;IACE,IAAI,EAAE,UAAU;IAChB,kBAAkB,EAAE,eAA4B;CACjD,EACD,CAAC,8BAAqB,EAAE,sBAAa,EAAE,GAAG,kBAAS,CAAC,CACrD,CAAC","file":"Funnel3dChart.js","sourcesContent":["import type React from 'react';\nimport type { IFunnel3dChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerFunnel3dChart, registerLabel } from '@visactor/vchart';\nimport { BaseChartProps, createChart } from './BaseChart';\nimport { registers } from './registers/simple';\n\nexport interface Funnel3dChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<Partial<IFunnel3dChartSpec>, 'type'> {}\n\nexport const Funnel3dChart = createChart<React.PropsWithChildren<Funnel3dChartProps> & { type?: 'funnel3d' }>(\n 'Funnel3dChart',\n {\n type: 'funnel3d',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerFunnel3dChart, registerLabel, ...registers]\n);\n"]}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { IFunnelChartSpec } from '@visactor/vchart';
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
import type { IFunnelChartSpec } from '@visactor/vchart';
|
|
3
3
|
import { BaseChartProps } from './BaseChart';
|
|
4
|
-
export interface FunnelChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<IFunnelChartSpec
|
|
4
|
+
export interface FunnelChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<Partial<IFunnelChartSpec>, 'type'> {
|
|
5
5
|
}
|
|
6
6
|
export declare const FunnelChart: React.ForwardRefExoticComponent<FunnelChartProps & {
|
|
7
7
|
children?: React.ReactNode;
|
|
8
8
|
} & {
|
|
9
|
-
type
|
|
9
|
+
type?: 'funnel';
|
|
10
10
|
} & import("../containers/withContainer").ContainerProps & React.RefAttributes<any>>;
|
|
@@ -4,10 +4,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: !0
|
|
5
5
|
}), exports.FunnelChart = 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.FunnelChart = (0, BaseChart_1.createChart)("FunnelChart", {
|
|
10
10
|
type: "funnel",
|
|
11
11
|
vchartConstrouctor: vchart_1.VChart
|
|
12
|
-
}, [ vchart_1.registerFunnelChart, vchart_1.registerLabel, ...
|
|
12
|
+
}, [ vchart_1.registerFunnelChart, vchart_1.registerLabel, ...simple_1.registers ]);
|
|
13
13
|
//# sourceMappingURL=FunnelChart.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/charts/FunnelChart.tsx"],"names":[],"mappings":";;;AAEA,6CAA8E;AAC9E,2CAA0D;AAC1D
|
|
1
|
+
{"version":3,"sources":["../src/charts/FunnelChart.tsx"],"names":[],"mappings":";;;AAEA,6CAA8E;AAC9E,2CAA0D;AAC1D,+CAA+C;AAMlC,QAAA,WAAW,GAAG,IAAA,uBAAW,EACpC,aAAa,EACb;IACE,IAAI,EAAE,QAAQ;IACd,kBAAkB,EAAE,eAA4B;CACjD,EACD,CAAC,4BAAmB,EAAE,sBAAa,EAAE,GAAG,kBAAS,CAAC,CACnD,CAAC","file":"FunnelChart.js","sourcesContent":["import type React from 'react';\nimport type { IFunnelChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerFunnelChart, registerLabel } from '@visactor/vchart';\nimport { BaseChartProps, createChart } from './BaseChart';\nimport { registers } from './registers/simple';\n\nexport interface FunnelChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<Partial<IFunnelChartSpec>, 'type'> {}\n\nexport const FunnelChart = createChart<React.PropsWithChildren<FunnelChartProps> & { type?: 'funnel' }>(\n 'FunnelChart',\n {\n type: 'funnel',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerFunnelChart, registerLabel, ...registers]\n);\n"]}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import type React from 'react';
|
|
2
2
|
import type { IGaugeChartSpec } from '@visactor/vchart';
|
|
3
3
|
import { BaseChartProps } from './BaseChart';
|
|
4
|
-
export interface GaugeChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<IGaugeChartSpec
|
|
4
|
+
export interface GaugeChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<Partial<IGaugeChartSpec>, 'type'> {
|
|
5
5
|
}
|
|
6
6
|
export declare const GaugeChart: React.ForwardRefExoticComponent<GaugeChartProps & {
|
|
7
7
|
children?: React.ReactNode;
|
|
8
8
|
} & {
|
|
9
|
-
type
|
|
9
|
+
type?: 'gauge';
|
|
10
10
|
} & import("../containers/withContainer").ContainerProps & React.RefAttributes<any>>;
|
package/cjs/charts/GaugeChart.js
CHANGED
|
@@ -4,10 +4,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: !0
|
|
5
5
|
}), exports.GaugeChart = 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.GaugeChart = (0, BaseChart_1.createChart)("GaugeChart", {
|
|
10
10
|
type: "gauge",
|
|
11
11
|
vchartConstrouctor: vchart_1.VChart
|
|
12
|
-
}, [ vchart_1.registerGaugeChart, ...
|
|
12
|
+
}, [ vchart_1.registerGaugeChart, ...simple_1.registers ]);
|
|
13
13
|
//# sourceMappingURL=GaugeChart.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/charts/GaugeChart.tsx"],"names":[],"mappings":";;;AAEA,6CAA8D;AAC9D,2CAA0D;AAC1D
|
|
1
|
+
{"version":3,"sources":["../src/charts/GaugeChart.tsx"],"names":[],"mappings":";;;AAEA,6CAA8D;AAC9D,2CAA0D;AAC1D,+CAA+C;AAMlC,QAAA,UAAU,GAAG,IAAA,uBAAW,EACnC,YAAY,EACZ;IACE,IAAI,EAAE,OAAO;IACb,kBAAkB,EAAE,eAA4B;CACjD,EACD,CAAC,2BAAkB,EAAE,GAAG,kBAAS,CAAC,CACnC,CAAC","file":"GaugeChart.js","sourcesContent":["import type React from 'react';\nimport type { IGaugeChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerGaugeChart } from '@visactor/vchart';\nimport { BaseChartProps, createChart } from './BaseChart';\nimport { registers } from './registers/simple';\n\nexport interface GaugeChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<Partial<IGaugeChartSpec>, 'type'> {}\n\nexport const GaugeChart = createChart<React.PropsWithChildren<GaugeChartProps> & { type?: 'gauge' }>(\n 'GaugeChart',\n {\n type: 'gauge',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerGaugeChart, ...registers]\n);\n"]}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import type React from 'react';
|
|
2
2
|
import type { IHeatmapChartSpec } from '@visactor/vchart';
|
|
3
|
-
import { BaseChartProps } from './BaseChart';
|
|
4
|
-
export interface HeatmapChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<IHeatmapChartSpec
|
|
3
|
+
import type { BaseChartProps } from './BaseChart';
|
|
4
|
+
export interface HeatmapChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<Partial<IHeatmapChartSpec>, 'type'> {
|
|
5
5
|
}
|
|
6
6
|
export declare const HeatmapChart: React.ForwardRefExoticComponent<HeatmapChartProps & {
|
|
7
7
|
children?: React.ReactNode;
|
|
8
8
|
} & {
|
|
9
|
-
type
|
|
9
|
+
type?: 'heatmap';
|
|
10
10
|
} & import("../containers/withContainer").ContainerProps & React.RefAttributes<any>>;
|
|
@@ -4,10 +4,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: !0
|
|
5
5
|
}), exports.HeatmapChart = 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"), cartesian_1 = require("./registers/cartesian");
|
|
8
8
|
|
|
9
9
|
exports.HeatmapChart = (0, BaseChart_1.createChart)("HeatmapChart", {
|
|
10
10
|
type: "heatmap",
|
|
11
11
|
vchartConstrouctor: vchart_1.VChart
|
|
12
|
-
}, [ vchart_1.registerHeatmapChart, vchart_1.
|
|
12
|
+
}, [ vchart_1.registerHeatmapChart, vchart_1.registerLabel, ...cartesian_1.registers ]);
|
|
13
13
|
//# sourceMappingURL=HeatmapChart.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/charts/HeatmapChart.tsx"],"names":[],"mappings":";;;AAEA,
|
|
1
|
+
{"version":3,"sources":["../src/charts/HeatmapChart.tsx"],"names":[],"mappings":";;;AAEA,6CAA+E;AAE/E,2CAA0C;AAC1C,qDAAkD;AAQrC,QAAA,YAAY,GAAG,IAAA,uBAAW,EACrC,cAAc,EACd;IACE,IAAI,EAAE,SAAS;IACf,kBAAkB,EAAE,eAA4B;CACjD,EACD,CAAC,6BAAoB,EAAE,sBAAa,EAAE,GAAG,qBAAS,CAAC,CACpD,CAAC","file":"HeatmapChart.js","sourcesContent":["import type React from 'react';\nimport type { IHeatmapChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerHeatmapChart, registerLabel } from '@visactor/vchart';\nimport type { BaseChartProps } from './BaseChart';\nimport { createChart } from './BaseChart';\nimport { registers } from './registers/cartesian';\n\nexport interface HeatmapChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<Partial<IHeatmapChartSpec>, 'type'> {\n //\n}\n\nexport const HeatmapChart = createChart<React.PropsWithChildren<HeatmapChartProps> & { type?: 'heatmap' }>(\n 'HeatmapChart',\n {\n type: 'heatmap',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerHeatmapChart, registerLabel, ...registers]\n);\n"]}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { IHistogram3dChartSpec } from '@visactor/vchart';
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
import type { IHistogram3dChartSpec } from '@visactor/vchart';
|
|
3
3
|
import { BaseChartProps } from './BaseChart';
|
|
4
|
-
export interface Histogram3dChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<IHistogram3dChartSpec
|
|
4
|
+
export interface Histogram3dChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<Partial<IHistogram3dChartSpec>, 'type'> {
|
|
5
5
|
}
|
|
6
6
|
export declare const Histogram3dChart: React.ForwardRefExoticComponent<Histogram3dChartProps & {
|
|
7
7
|
children?: React.ReactNode;
|
|
8
8
|
} & {
|
|
9
|
-
type
|
|
9
|
+
type?: 'histogram3d';
|
|
10
10
|
} & import("../containers/withContainer").ContainerProps & React.RefAttributes<any>>;
|
|
@@ -4,10 +4,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: !0
|
|
5
5
|
}), exports.Histogram3dChart = 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"), cartesian_1 = require("./registers/cartesian");
|
|
8
8
|
|
|
9
9
|
exports.Histogram3dChart = (0, BaseChart_1.createChart)("Histogram3dChart", {
|
|
10
10
|
type: "histogram3d",
|
|
11
11
|
vchartConstrouctor: vchart_1.VChart
|
|
12
|
-
}, [ vchart_1.registerHistogram3dChart, vchart_1.registerLabel, ...
|
|
12
|
+
}, [ vchart_1.registerHistogram3dChart, vchart_1.registerLabel, ...cartesian_1.registers ]);
|
|
13
13
|
//# sourceMappingURL=Histogram3dChart.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/charts/Histogram3dChart.tsx"],"names":[],"mappings":";;;AAEA,6CAAmF;AACnF,2CAA0D;AAC1D,
|
|
1
|
+
{"version":3,"sources":["../src/charts/Histogram3dChart.tsx"],"names":[],"mappings":";;;AAEA,6CAAmF;AACnF,2CAA0D;AAC1D,qDAAkD;AAMrC,QAAA,gBAAgB,GAAG,IAAA,uBAAW,EACzC,kBAAkB,EAClB;IACE,IAAI,EAAE,aAAa;IACnB,kBAAkB,EAAE,eAA4B;CACjD,EACD,CAAC,iCAAwB,EAAE,sBAAa,EAAE,GAAG,qBAAS,CAAC,CACxD,CAAC","file":"Histogram3dChart.js","sourcesContent":["import type React from 'react';\nimport type { IHistogram3dChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerHistogram3dChart, registerLabel } from '@visactor/vchart';\nimport { BaseChartProps, createChart } from './BaseChart';\nimport { registers } from './registers/cartesian';\n\nexport interface Histogram3dChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<Partial<IHistogram3dChartSpec>, 'type'> {}\n\nexport const Histogram3dChart = createChart<React.PropsWithChildren<Histogram3dChartProps> & { type?: 'histogram3d' }>(\n 'Histogram3dChart',\n {\n type: 'histogram3d',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerHistogram3dChart, registerLabel, ...registers]\n);\n"]}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { IHistogramChartSpec } from '@visactor/vchart';
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
import type { IHistogramChartSpec } from '@visactor/vchart';
|
|
3
3
|
import { BaseChartProps } from './BaseChart';
|
|
4
|
-
export interface HistogramChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<IHistogramChartSpec
|
|
4
|
+
export interface HistogramChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<Partial<IHistogramChartSpec>, 'type'> {
|
|
5
5
|
}
|
|
6
6
|
export declare const HistogramChart: React.ForwardRefExoticComponent<HistogramChartProps & {
|
|
7
7
|
children?: React.ReactNode;
|
|
8
8
|
} & {
|
|
9
|
-
type
|
|
9
|
+
type?: 'histogram';
|
|
10
10
|
} & import("../containers/withContainer").ContainerProps & React.RefAttributes<any>>;
|
|
@@ -4,9 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: !0
|
|
5
5
|
}), exports.HistogramChart = 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"), cartesian_1 = require("./registers/cartesian");
|
|
8
8
|
|
|
9
9
|
exports.HistogramChart = (0, BaseChart_1.createChart)("HistogramChart", {
|
|
10
10
|
type: "histogram",
|
|
11
11
|
vchartConstrouctor: vchart_1.VChart
|
|
12
|
-
}, [ vchart_1.registerHistogramChart, vchart_1.registerLabel, ...
|
|
12
|
+
}, [ vchart_1.registerHistogramChart, vchart_1.registerLabel, ...cartesian_1.registers ]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/charts/HistogramChart.tsx"],"names":[],"mappings":";;;AAEA,6CAAiF;AACjF,2CAA0D;AAC1D,
|
|
1
|
+
{"version":3,"sources":["../src/charts/HistogramChart.tsx"],"names":[],"mappings":";;;AAEA,6CAAiF;AACjF,2CAA0D;AAC1D,qDAAkD;AAMrC,QAAA,cAAc,GAAG,IAAA,uBAAW,EACvC,gBAAgB,EAChB;IACE,IAAI,EAAE,WAAW;IACjB,kBAAkB,EAAE,eAA4B;CACjD,EACD,CAAC,+BAAsB,EAAE,sBAAa,EAAE,GAAG,qBAAS,CAAC,CACtD,CAAC","file":"HistogramChart.js","sourcesContent":["import type React from 'react';\nimport type { IHistogramChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerHistogramChart, registerLabel } from '@visactor/vchart';\nimport { BaseChartProps, createChart } from './BaseChart';\nimport { registers } from './registers/cartesian';\n\nexport interface HistogramChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<Partial<IHistogramChartSpec>, 'type'> {}\n\nexport const HistogramChart = createChart<React.PropsWithChildren<HistogramChartProps> & { type?: 'histogram' }>(\n 'HistogramChart',\n {\n type: 'histogram',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerHistogramChart, registerLabel, ...registers]\n);\n"]}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import type React from 'react';
|
|
2
2
|
import type { ILineChartSpec } from '@visactor/vchart';
|
|
3
|
-
import { BaseChartProps } from './BaseChart';
|
|
4
|
-
export interface LineChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<ILineChartSpec
|
|
3
|
+
import type { BaseChartProps } from './BaseChart';
|
|
4
|
+
export interface LineChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<Partial<ILineChartSpec>, 'type'> {
|
|
5
5
|
}
|
|
6
6
|
export declare const LineChart: React.ForwardRefExoticComponent<LineChartProps & {
|
|
7
7
|
children?: React.ReactNode;
|
|
8
8
|
} & {
|
|
9
|
-
type
|
|
9
|
+
type?: 'line';
|
|
10
10
|
} & import("../containers/withContainer").ContainerProps & React.RefAttributes<any>>;
|
package/cjs/charts/LineChart.js
CHANGED
|
@@ -4,10 +4,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: !0
|
|
5
5
|
}), exports.LineChart = 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"), cartesian_1 = require("./registers/cartesian");
|
|
8
8
|
|
|
9
9
|
exports.LineChart = (0, BaseChart_1.createChart)("LineChart", {
|
|
10
10
|
type: "line",
|
|
11
11
|
vchartConstrouctor: vchart_1.VChart
|
|
12
|
-
}, [ vchart_1.registerLineChart, vchart_1.registerLabel,
|
|
12
|
+
}, [ vchart_1.registerLineChart, vchart_1.registerLabel, ...cartesian_1.registers ]);
|
|
13
13
|
//# sourceMappingURL=LineChart.js.map
|