@mui/x-charts-pro 8.8.0 → 8.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/BarChart/index.d.ts +1 -0
- package/BarChart/index.js +16 -0
- package/BarChartPro/BarChartPro.js +126 -2
- package/CHANGELOG.md +225 -24
- package/ChartContainer/index.d.ts +1 -0
- package/ChartContainer/index.js +16 -0
- package/ChartDataProvider/index.d.ts +1 -0
- package/ChartDataProvider/index.js +16 -0
- package/ChartDataProviderPro/ChartDataProviderPro.js +1 -1
- package/ChartsAxis/index.d.ts +1 -0
- package/ChartsAxis/index.js +16 -0
- package/ChartsAxisHighlight/index.d.ts +1 -0
- package/ChartsAxisHighlight/index.js +16 -0
- package/ChartsClipPath/index.d.ts +1 -0
- package/ChartsClipPath/index.js +16 -0
- package/ChartsGrid/index.d.ts +1 -0
- package/ChartsGrid/index.js +16 -0
- package/ChartsLabel/index.d.ts +1 -0
- package/ChartsLabel/index.js +16 -0
- package/ChartsLegend/index.d.ts +1 -0
- package/ChartsLegend/index.js +16 -0
- package/ChartsLocalizationProvider/index.d.ts +1 -0
- package/ChartsLocalizationProvider/index.js +16 -0
- package/ChartsOverlay/index.d.ts +1 -0
- package/ChartsOverlay/index.js +16 -0
- package/ChartsReferenceLine/index.d.ts +1 -0
- package/ChartsReferenceLine/index.js +16 -0
- package/ChartsSurface/index.d.ts +1 -0
- package/ChartsSurface/index.js +16 -0
- package/ChartsText/index.d.ts +1 -0
- package/ChartsText/index.js +16 -0
- package/ChartsTooltip/index.d.ts +1 -0
- package/ChartsTooltip/index.js +16 -0
- package/ChartsWrapper/index.d.ts +1 -0
- package/ChartsWrapper/index.js +16 -0
- package/ChartsXAxis/index.d.ts +1 -0
- package/ChartsXAxis/index.js +16 -0
- package/ChartsYAxis/index.d.ts +1 -0
- package/ChartsYAxis/index.js +16 -0
- package/FunnelChart/FunnelChart.d.ts +3 -2
- package/FunnelChart/FunnelChart.js +13 -3
- package/FunnelChart/index.d.ts +1 -1
- package/FunnelChart/useFunnelChartProps.d.ts +1 -1
- package/Gauge/index.d.ts +1 -0
- package/Gauge/index.js +16 -0
- package/Heatmap/Heatmap.d.ts +3 -2
- package/Heatmap/Heatmap.js +3 -3
- package/Heatmap/index.d.ts +1 -0
- package/LineChart/index.d.ts +1 -0
- package/LineChart/index.js +16 -0
- package/LineChartPro/LineChartPro.js +126 -2
- package/PieChart/index.d.ts +1 -0
- package/PieChart/index.js +16 -0
- package/PieChartPro/PieChartPro.js +3 -2
- package/RadarChart/index.d.ts +1 -0
- package/RadarChart/index.js +16 -0
- package/RadarChartPro/RadarChartPro.js +22 -2
- package/ScatterChart/index.d.ts +1 -0
- package/ScatterChart/index.js +16 -0
- package/ScatterChartPro/ScatterChartPro.js +126 -2
- package/SparkLineChart/index.d.ts +1 -0
- package/SparkLineChart/index.js +16 -0
- package/Toolbar/index.d.ts +1 -0
- package/Toolbar/index.js +16 -0
- package/colorPalettes/index.d.ts +1 -0
- package/colorPalettes/index.js +16 -0
- package/constants/index.d.ts +1 -0
- package/constants/index.js +16 -0
- package/context/index.d.ts +1 -0
- package/context/index.js +11 -0
- package/esm/BarChart/index.d.ts +1 -0
- package/esm/BarChart/index.js +2 -0
- package/esm/BarChartPro/BarChartPro.js +126 -2
- package/esm/ChartContainer/index.d.ts +1 -0
- package/esm/ChartContainer/index.js +2 -0
- package/esm/ChartDataProvider/index.d.ts +1 -0
- package/esm/ChartDataProvider/index.js +2 -0
- package/esm/ChartDataProviderPro/ChartDataProviderPro.js +1 -1
- package/esm/ChartsAxis/index.d.ts +1 -0
- package/esm/ChartsAxis/index.js +2 -0
- package/esm/ChartsAxisHighlight/index.d.ts +1 -0
- package/esm/ChartsAxisHighlight/index.js +2 -0
- package/esm/ChartsClipPath/index.d.ts +1 -0
- package/esm/ChartsClipPath/index.js +2 -0
- package/esm/ChartsGrid/index.d.ts +1 -0
- package/esm/ChartsGrid/index.js +2 -0
- package/esm/ChartsLabel/index.d.ts +1 -0
- package/esm/ChartsLabel/index.js +2 -0
- package/esm/ChartsLegend/index.d.ts +1 -0
- package/esm/ChartsLegend/index.js +2 -0
- package/esm/ChartsLocalizationProvider/index.d.ts +1 -0
- package/esm/ChartsLocalizationProvider/index.js +2 -0
- package/esm/ChartsOverlay/index.d.ts +1 -0
- package/esm/ChartsOverlay/index.js +2 -0
- package/esm/ChartsReferenceLine/index.d.ts +1 -0
- package/esm/ChartsReferenceLine/index.js +2 -0
- package/esm/ChartsSurface/index.d.ts +1 -0
- package/esm/ChartsSurface/index.js +2 -0
- package/esm/ChartsText/index.d.ts +1 -0
- package/esm/ChartsText/index.js +2 -0
- package/esm/ChartsTooltip/index.d.ts +1 -0
- package/esm/ChartsTooltip/index.js +2 -0
- package/esm/ChartsWrapper/index.d.ts +1 -0
- package/esm/ChartsWrapper/index.js +2 -0
- package/esm/ChartsXAxis/index.d.ts +1 -0
- package/esm/ChartsXAxis/index.js +2 -0
- package/esm/ChartsYAxis/index.d.ts +1 -0
- package/esm/ChartsYAxis/index.js +2 -0
- package/esm/FunnelChart/FunnelChart.d.ts +3 -2
- package/esm/FunnelChart/FunnelChart.js +12 -2
- package/esm/FunnelChart/index.d.ts +1 -1
- package/esm/FunnelChart/useFunnelChartProps.d.ts +1 -1
- package/esm/Gauge/index.d.ts +1 -0
- package/esm/Gauge/index.js +2 -0
- package/esm/Heatmap/Heatmap.d.ts +3 -2
- package/esm/Heatmap/Heatmap.js +2 -2
- package/esm/Heatmap/index.d.ts +1 -0
- package/esm/LineChart/index.d.ts +1 -0
- package/esm/LineChart/index.js +2 -0
- package/esm/LineChartPro/LineChartPro.js +126 -2
- package/esm/PieChart/index.d.ts +1 -0
- package/esm/PieChart/index.js +2 -0
- package/esm/PieChartPro/PieChartPro.js +3 -2
- package/esm/RadarChart/index.d.ts +1 -0
- package/esm/RadarChart/index.js +2 -0
- package/esm/RadarChartPro/RadarChartPro.js +22 -2
- package/esm/ScatterChart/index.d.ts +1 -0
- package/esm/ScatterChart/index.js +2 -0
- package/esm/ScatterChartPro/ScatterChartPro.js +126 -2
- package/esm/SparkLineChart/index.d.ts +1 -0
- package/esm/SparkLineChart/index.js +2 -0
- package/esm/Toolbar/index.d.ts +1 -0
- package/esm/Toolbar/index.js +2 -0
- package/esm/colorPalettes/index.d.ts +1 -0
- package/esm/colorPalettes/index.js +3 -0
- package/esm/constants/index.d.ts +1 -0
- package/esm/constants/index.js +3 -0
- package/esm/context/index.d.ts +1 -0
- package/esm/context/index.js +3 -0
- package/esm/hooks/index.d.ts +1 -0
- package/esm/hooks/index.js +3 -0
- package/esm/index.d.ts +6 -7
- package/esm/index.js +15 -9
- package/esm/internals/plugins/allPlugins.d.ts +2 -2
- package/esm/internals/plugins/useChartProExport/defaults.d.ts +1 -0
- package/esm/internals/plugins/useChartProExport/defaults.js +6 -0
- package/esm/internals/plugins/useChartProExport/exportImage.js +3 -2
- package/esm/internals/plugins/useChartProExport/print.js +3 -2
- package/esm/locales/index.js +3 -1
- package/esm/models/index.d.ts +3 -1
- package/esm/models/index.js +5 -1
- package/hooks/index.d.ts +1 -0
- package/hooks/index.js +11 -0
- package/index.d.ts +6 -7
- package/index.js +67 -55
- package/internals/plugins/allPlugins.d.ts +2 -2
- package/internals/plugins/useChartProExport/defaults.d.ts +1 -0
- package/internals/plugins/useChartProExport/defaults.js +12 -0
- package/internals/plugins/useChartProExport/exportImage.js +3 -2
- package/internals/plugins/useChartProExport/print.js +3 -2
- package/models/index.d.ts +3 -1
- package/models/index.js +24 -1
- package/package.json +8 -9
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
var _ChartsAxis = require("@mui/x-charts/ChartsAxis");
|
|
7
|
+
Object.keys(_ChartsAxis).forEach(function (key) {
|
|
8
|
+
if (key === "default" || key === "__esModule") return;
|
|
9
|
+
if (key in exports && exports[key] === _ChartsAxis[key]) return;
|
|
10
|
+
Object.defineProperty(exports, key, {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function () {
|
|
13
|
+
return _ChartsAxis[key];
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@mui/x-charts/ChartsAxisHighlight';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
var _ChartsAxisHighlight = require("@mui/x-charts/ChartsAxisHighlight");
|
|
7
|
+
Object.keys(_ChartsAxisHighlight).forEach(function (key) {
|
|
8
|
+
if (key === "default" || key === "__esModule") return;
|
|
9
|
+
if (key in exports && exports[key] === _ChartsAxisHighlight[key]) return;
|
|
10
|
+
Object.defineProperty(exports, key, {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function () {
|
|
13
|
+
return _ChartsAxisHighlight[key];
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@mui/x-charts/ChartsClipPath';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
var _ChartsClipPath = require("@mui/x-charts/ChartsClipPath");
|
|
7
|
+
Object.keys(_ChartsClipPath).forEach(function (key) {
|
|
8
|
+
if (key === "default" || key === "__esModule") return;
|
|
9
|
+
if (key in exports && exports[key] === _ChartsClipPath[key]) return;
|
|
10
|
+
Object.defineProperty(exports, key, {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function () {
|
|
13
|
+
return _ChartsClipPath[key];
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@mui/x-charts/ChartsGrid';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
var _ChartsGrid = require("@mui/x-charts/ChartsGrid");
|
|
7
|
+
Object.keys(_ChartsGrid).forEach(function (key) {
|
|
8
|
+
if (key === "default" || key === "__esModule") return;
|
|
9
|
+
if (key in exports && exports[key] === _ChartsGrid[key]) return;
|
|
10
|
+
Object.defineProperty(exports, key, {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function () {
|
|
13
|
+
return _ChartsGrid[key];
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@mui/x-charts/ChartsLabel';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
var _ChartsLabel = require("@mui/x-charts/ChartsLabel");
|
|
7
|
+
Object.keys(_ChartsLabel).forEach(function (key) {
|
|
8
|
+
if (key === "default" || key === "__esModule") return;
|
|
9
|
+
if (key in exports && exports[key] === _ChartsLabel[key]) return;
|
|
10
|
+
Object.defineProperty(exports, key, {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function () {
|
|
13
|
+
return _ChartsLabel[key];
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@mui/x-charts/ChartsLegend';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
var _ChartsLegend = require("@mui/x-charts/ChartsLegend");
|
|
7
|
+
Object.keys(_ChartsLegend).forEach(function (key) {
|
|
8
|
+
if (key === "default" || key === "__esModule") return;
|
|
9
|
+
if (key in exports && exports[key] === _ChartsLegend[key]) return;
|
|
10
|
+
Object.defineProperty(exports, key, {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function () {
|
|
13
|
+
return _ChartsLegend[key];
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@mui/x-charts/ChartsLocalizationProvider';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
var _ChartsLocalizationProvider = require("@mui/x-charts/ChartsLocalizationProvider");
|
|
7
|
+
Object.keys(_ChartsLocalizationProvider).forEach(function (key) {
|
|
8
|
+
if (key === "default" || key === "__esModule") return;
|
|
9
|
+
if (key in exports && exports[key] === _ChartsLocalizationProvider[key]) return;
|
|
10
|
+
Object.defineProperty(exports, key, {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function () {
|
|
13
|
+
return _ChartsLocalizationProvider[key];
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@mui/x-charts/ChartsOverlay';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
var _ChartsOverlay = require("@mui/x-charts/ChartsOverlay");
|
|
7
|
+
Object.keys(_ChartsOverlay).forEach(function (key) {
|
|
8
|
+
if (key === "default" || key === "__esModule") return;
|
|
9
|
+
if (key in exports && exports[key] === _ChartsOverlay[key]) return;
|
|
10
|
+
Object.defineProperty(exports, key, {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function () {
|
|
13
|
+
return _ChartsOverlay[key];
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@mui/x-charts/ChartsReferenceLine';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
var _ChartsReferenceLine = require("@mui/x-charts/ChartsReferenceLine");
|
|
7
|
+
Object.keys(_ChartsReferenceLine).forEach(function (key) {
|
|
8
|
+
if (key === "default" || key === "__esModule") return;
|
|
9
|
+
if (key in exports && exports[key] === _ChartsReferenceLine[key]) return;
|
|
10
|
+
Object.defineProperty(exports, key, {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function () {
|
|
13
|
+
return _ChartsReferenceLine[key];
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@mui/x-charts/ChartsSurface';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
var _ChartsSurface = require("@mui/x-charts/ChartsSurface");
|
|
7
|
+
Object.keys(_ChartsSurface).forEach(function (key) {
|
|
8
|
+
if (key === "default" || key === "__esModule") return;
|
|
9
|
+
if (key in exports && exports[key] === _ChartsSurface[key]) return;
|
|
10
|
+
Object.defineProperty(exports, key, {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function () {
|
|
13
|
+
return _ChartsSurface[key];
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@mui/x-charts/ChartsText';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
var _ChartsText = require("@mui/x-charts/ChartsText");
|
|
7
|
+
Object.keys(_ChartsText).forEach(function (key) {
|
|
8
|
+
if (key === "default" || key === "__esModule") return;
|
|
9
|
+
if (key in exports && exports[key] === _ChartsText[key]) return;
|
|
10
|
+
Object.defineProperty(exports, key, {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function () {
|
|
13
|
+
return _ChartsText[key];
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@mui/x-charts/ChartsTooltip';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
var _ChartsTooltip = require("@mui/x-charts/ChartsTooltip");
|
|
7
|
+
Object.keys(_ChartsTooltip).forEach(function (key) {
|
|
8
|
+
if (key === "default" || key === "__esModule") return;
|
|
9
|
+
if (key in exports && exports[key] === _ChartsTooltip[key]) return;
|
|
10
|
+
Object.defineProperty(exports, key, {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function () {
|
|
13
|
+
return _ChartsTooltip[key];
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@mui/x-charts/ChartsWrapper';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
var _ChartsWrapper = require("@mui/x-charts/ChartsWrapper");
|
|
7
|
+
Object.keys(_ChartsWrapper).forEach(function (key) {
|
|
8
|
+
if (key === "default" || key === "__esModule") return;
|
|
9
|
+
if (key in exports && exports[key] === _ChartsWrapper[key]) return;
|
|
10
|
+
Object.defineProperty(exports, key, {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function () {
|
|
13
|
+
return _ChartsWrapper[key];
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@mui/x-charts/ChartsXAxis';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
var _ChartsXAxis = require("@mui/x-charts/ChartsXAxis");
|
|
7
|
+
Object.keys(_ChartsXAxis).forEach(function (key) {
|
|
8
|
+
if (key === "default" || key === "__esModule") return;
|
|
9
|
+
if (key in exports && exports[key] === _ChartsXAxis[key]) return;
|
|
10
|
+
Object.defineProperty(exports, key, {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function () {
|
|
13
|
+
return _ChartsXAxis[key];
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@mui/x-charts/ChartsYAxis';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
var _ChartsYAxis = require("@mui/x-charts/ChartsYAxis");
|
|
7
|
+
Object.keys(_ChartsYAxis).forEach(function (key) {
|
|
8
|
+
if (key === "default" || key === "__esModule") return;
|
|
9
|
+
if (key in exports && exports[key] === _ChartsYAxis[key]) return;
|
|
10
|
+
Object.defineProperty(exports, key, {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function () {
|
|
13
|
+
return _ChartsYAxis[key];
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
});
|
|
@@ -8,12 +8,13 @@ import { ChartContainerProProps } from "../ChartContainerPro/index.js";
|
|
|
8
8
|
import { FunnelChartSlotExtension } from "./funnelSlots.types.js";
|
|
9
9
|
import { CategoryAxis } from "./categoryAxis.types.js";
|
|
10
10
|
import { FunnelChartPluginsSignatures } from "./FunnelChart.plugins.js";
|
|
11
|
+
export type FunnelSeries = MakeOptional<FunnelSeriesType, 'type'>;
|
|
11
12
|
export interface FunnelChartProps extends Omit<ChartContainerProProps<'funnel', FunnelChartPluginsSignatures>, 'series' | 'plugins' | 'zAxis' | 'zoom' | 'onZoomChange' | 'dataset' | 'yAxis' | 'xAxis' | 'rotationAxis' | 'radiusAxis' | 'slots' | 'slotProps' | 'experimentalFeatures'>, Omit<FunnelPlotProps, 'slots' | 'slotProps'>, Omit<ChartsOverlayProps, 'slots' | 'slotProps'>, FunnelChartSlotExtension {
|
|
12
13
|
/**
|
|
13
14
|
* The series to display in the funnel chart.
|
|
14
|
-
* An array of [[
|
|
15
|
+
* An array of [[FunnelSeries]] objects.
|
|
15
16
|
*/
|
|
16
|
-
series: Readonly<
|
|
17
|
+
series: Readonly<FunnelSeries[]>;
|
|
17
18
|
/**
|
|
18
19
|
* The configuration of the category axis.
|
|
19
20
|
*
|
|
@@ -13,11 +13,11 @@ var _styles = require("@mui/material/styles");
|
|
|
13
13
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
14
14
|
var _ChartsOverlay = require("@mui/x-charts/ChartsOverlay");
|
|
15
15
|
var _ChartsTooltip = require("@mui/x-charts/ChartsTooltip");
|
|
16
|
-
var _internals = require("@mui/x-charts/internals");
|
|
17
16
|
var _ChartsLegend = require("@mui/x-charts/ChartsLegend");
|
|
18
17
|
var _ChartsSurface = require("@mui/x-charts/ChartsSurface");
|
|
19
18
|
var _ChartsAxisHighlight = require("@mui/x-charts/ChartsAxisHighlight");
|
|
20
19
|
var _ChartsAxis = require("@mui/x-charts/ChartsAxis");
|
|
20
|
+
var _ChartsWrapper = require("@mui/x-charts/ChartsWrapper");
|
|
21
21
|
var _FunnelPlot = require("./FunnelPlot");
|
|
22
22
|
var _useFunnelChartProps = require("./useFunnelChartProps");
|
|
23
23
|
var _seriesConfig = require("./seriesConfig");
|
|
@@ -52,7 +52,7 @@ const FunnelChart = exports.FunnelChart = /*#__PURE__*/React.forwardRef(function
|
|
|
52
52
|
gap: themedProps.gap,
|
|
53
53
|
seriesConfig: seriesConfig,
|
|
54
54
|
plugins: _FunnelChart2.FUNNEL_CHART_PLUGINS,
|
|
55
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(
|
|
55
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_ChartsWrapper.ChartsWrapper, (0, _extends2.default)({}, chartsWrapperProps, {
|
|
56
56
|
children: [!themedProps.hideLegend && /*#__PURE__*/(0, _jsxRuntime.jsx)(_ChartsLegend.ChartsLegend, (0, _extends2.default)({}, legendProps)), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_ChartsSurface.ChartsSurface, (0, _extends2.default)({}, chartsSurfaceProps, {
|
|
57
57
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_FunnelPlot.FunnelPlot, (0, _extends2.default)({}, funnelPlotProps)), /*#__PURE__*/(0, _jsxRuntime.jsx)(_ChartsOverlay.ChartsOverlay, (0, _extends2.default)({}, overlayProps)), /*#__PURE__*/(0, _jsxRuntime.jsx)(_ChartsAxisHighlight.ChartsAxisHighlight, (0, _extends2.default)({}, axisHighlightProps)), /*#__PURE__*/(0, _jsxRuntime.jsx)(_ChartsAxis.ChartsAxis, (0, _extends2.default)({}, chartsAxisProps)), children]
|
|
58
58
|
})), !themedProps.loading && /*#__PURE__*/(0, _jsxRuntime.jsx)(Tooltip, (0, _extends2.default)({}, themedProps.slotProps?.tooltip, {
|
|
@@ -108,6 +108,16 @@ process.env.NODE_ENV !== "production" ? FunnelChart.propTypes = {
|
|
|
108
108
|
size: _propTypes.default.number,
|
|
109
109
|
tickLabelStyle: _propTypes.default.object,
|
|
110
110
|
tickSize: _propTypes.default.number
|
|
111
|
+
}), _propTypes.default.shape({
|
|
112
|
+
categories: _propTypes.default.arrayOf(_propTypes.default.string),
|
|
113
|
+
disableLine: _propTypes.default.bool,
|
|
114
|
+
disableTicks: _propTypes.default.bool,
|
|
115
|
+
id: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.string]),
|
|
116
|
+
position: _propTypes.default.oneOf(['bottom', 'left', 'none', 'right', 'top']),
|
|
117
|
+
scaleType: _propTypes.default.oneOf(['symlog']),
|
|
118
|
+
size: _propTypes.default.number,
|
|
119
|
+
tickLabelStyle: _propTypes.default.object,
|
|
120
|
+
tickSize: _propTypes.default.number
|
|
111
121
|
}), _propTypes.default.shape({
|
|
112
122
|
categories: _propTypes.default.arrayOf(_propTypes.default.string),
|
|
113
123
|
disableLine: _propTypes.default.bool,
|
|
@@ -241,7 +251,7 @@ process.env.NODE_ENV !== "production" ? FunnelChart.propTypes = {
|
|
|
241
251
|
onItemClick: _propTypes.default.func,
|
|
242
252
|
/**
|
|
243
253
|
* The series to display in the funnel chart.
|
|
244
|
-
* An array of [[
|
|
254
|
+
* An array of [[FunnelSeries]] objects.
|
|
245
255
|
*/
|
|
246
256
|
series: _propTypes.default.arrayOf(_propTypes.default.object).isRequired,
|
|
247
257
|
/**
|
package/FunnelChart/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { FunnelChart as Unstable_FunnelChart } from "./FunnelChart.js";
|
|
2
|
-
export type { FunnelChartProps } from "./FunnelChart.js";
|
|
2
|
+
export type { FunnelChartProps, FunnelSeries } from "./FunnelChart.js";
|
|
3
3
|
export * from "./FunnelPlot.js";
|
|
4
4
|
export * from "./funnel.types.js";
|
|
5
5
|
export * from "./categoryAxis.types.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ChartsOverlayProps } from '@mui/x-charts/ChartsOverlay';
|
|
2
2
|
import { ChartsAxisProps } from '@mui/x-charts/ChartsAxis';
|
|
3
3
|
import { ChartsLegendSlotExtension } from '@mui/x-charts/ChartsLegend';
|
|
4
|
-
import { ChartsWrapperProps } from '@mui/x-charts/internals';
|
|
5
4
|
import { ChartsAxisHighlightProps } from '@mui/x-charts/ChartsAxisHighlight';
|
|
5
|
+
import type { ChartsWrapperProps } from '@mui/x-charts/ChartsWrapper';
|
|
6
6
|
import { FunnelChartPluginsSignatures } from "./FunnelChart.plugins.js";
|
|
7
7
|
import { FunnelPlotProps } from "./FunnelPlot.js";
|
|
8
8
|
import type { FunnelChartProps } from "./FunnelChart.js";
|
package/Gauge/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@mui/x-charts/Gauge';
|
package/Gauge/index.js
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
var _Gauge = require("@mui/x-charts/Gauge");
|
|
7
|
+
Object.keys(_Gauge).forEach(function (key) {
|
|
8
|
+
if (key === "default" || key === "__esModule") return;
|
|
9
|
+
if (key in exports && exports[key] === _Gauge[key]) return;
|
|
10
|
+
Object.defineProperty(exports, key, {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function () {
|
|
13
|
+
return _Gauge[key];
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
});
|
package/Heatmap/Heatmap.d.ts
CHANGED
|
@@ -27,6 +27,7 @@ export interface HeatmapSlots extends ChartsAxisSlots, ChartsOverlaySlots, Heatm
|
|
|
27
27
|
export interface HeatmapSlotProps extends ChartsAxisSlotProps, ChartsOverlaySlotProps, HeatmapItemSlotProps, ChartsLegendSlotProps, ChartsToolbarProSlotProps, Partial<ChartsSlotPropsPro> {
|
|
28
28
|
tooltip?: Partial<HeatmapTooltipProps>;
|
|
29
29
|
}
|
|
30
|
+
export type HeatmapSeries = MakeOptional<HeatmapSeriesType, 'type'>;
|
|
30
31
|
export interface HeatmapProps extends Omit<ChartContainerProProps<'heatmap', HeatmapPluginsSignatures>, 'series' | 'plugins' | 'xAxis' | 'yAxis' | 'skipAnimation' | 'slots' | 'slotProps' | 'experimentalFeatures' | 'highlightedAxis' | 'onHighlightedAxisChange'>, Omit<ChartsAxisProps, 'slots' | 'slotProps'>, Omit<ChartsOverlayProps, 'slots' | 'slotProps'> {
|
|
31
32
|
/**
|
|
32
33
|
* The configuration of the x-axes.
|
|
@@ -42,9 +43,9 @@ export interface HeatmapProps extends Omit<ChartContainerProProps<'heatmap', Hea
|
|
|
42
43
|
yAxis: Readonly<Omit<MakeOptional<YAxis<'band'>, 'scaleType'>, 'zoom'>[]>;
|
|
43
44
|
/**
|
|
44
45
|
* The series to display in the bar chart.
|
|
45
|
-
* An array of [[
|
|
46
|
+
* An array of [[HeatmapSeries]] objects.
|
|
46
47
|
*/
|
|
47
|
-
series: Readonly<
|
|
48
|
+
series: Readonly<HeatmapSeries[]>;
|
|
48
49
|
/**
|
|
49
50
|
* The configuration of the tooltip.
|
|
50
51
|
* @see See {@link https://mui.com/x/react-charts/tooltip/ tooltip docs} for more details.
|
package/Heatmap/Heatmap.js
CHANGED
|
@@ -15,7 +15,7 @@ var _useId = _interopRequireDefault(require("@mui/utils/useId"));
|
|
|
15
15
|
var _d3Interpolate = require("@mui/x-charts-vendor/d3-interpolate");
|
|
16
16
|
var _ChartsAxis = require("@mui/x-charts/ChartsAxis");
|
|
17
17
|
var _ChartsSurface = require("@mui/x-charts/ChartsSurface");
|
|
18
|
-
var
|
|
18
|
+
var _ChartsWrapper = require("@mui/x-charts/ChartsWrapper");
|
|
19
19
|
var _ChartsClipPath = require("@mui/x-charts/ChartsClipPath");
|
|
20
20
|
var _ChartsOverlay = require("@mui/x-charts/ChartsOverlay");
|
|
21
21
|
var _constants = require("@mui/x-charts/constants");
|
|
@@ -121,7 +121,7 @@ const Heatmap = exports.Heatmap = /*#__PURE__*/React.forwardRef(function Heatmap
|
|
|
121
121
|
onHighlightChange: onHighlightChange,
|
|
122
122
|
onAxisClick: onAxisClick,
|
|
123
123
|
plugins: _Heatmap2.HEATMAP_PLUGINS,
|
|
124
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(
|
|
124
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_ChartsWrapper.ChartsWrapper, (0, _extends2.default)({}, chartsWrapperProps, {
|
|
125
125
|
children: [showToolbar ? /*#__PURE__*/(0, _jsxRuntime.jsx)(Toolbar, (0, _extends2.default)({}, props.slotProps?.toolbar)) : null, !hideLegend && /*#__PURE__*/(0, _jsxRuntime.jsx)(_ChartsLegend.ChartsLegend, {
|
|
126
126
|
slots: (0, _extends2.default)({}, slots, {
|
|
127
127
|
legend: slots?.legend ?? _ChartsLegend.ContinuousColorLegend
|
|
@@ -246,7 +246,7 @@ process.env.NODE_ENV !== "production" ? Heatmap.propTypes = {
|
|
|
246
246
|
onHighlightChange: _propTypes.default.func,
|
|
247
247
|
/**
|
|
248
248
|
* The series to display in the bar chart.
|
|
249
|
-
* An array of [[
|
|
249
|
+
* An array of [[HeatmapSeries]] objects.
|
|
250
250
|
*/
|
|
251
251
|
series: _propTypes.default.arrayOf(_propTypes.default.object).isRequired,
|
|
252
252
|
/**
|
package/Heatmap/index.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@mui/x-charts/LineChart';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
var _LineChart = require("@mui/x-charts/LineChart");
|
|
7
|
+
Object.keys(_LineChart).forEach(function (key) {
|
|
8
|
+
if (key === "default" || key === "__esModule") return;
|
|
9
|
+
if (key in exports && exports[key] === _LineChart[key]) return;
|
|
10
|
+
Object.defineProperty(exports, key, {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function () {
|
|
13
|
+
return _LineChart[key];
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
});
|