@mui/x-charts-pro 8.10.1 → 8.11.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/BarChartPro/BarChartPro.js +0 -36
- package/CHANGELOG.md +221 -8
- package/ChartDataProviderPro/ChartDataProviderPro.js +1 -1
- package/FunnelChart/curves/bump.js +0 -2
- package/FunnelChart/curves/linear.js +0 -2
- package/FunnelChart/curves/pyramid.js +0 -2
- package/FunnelChart/curves/step-pyramid.js +0 -2
- package/FunnelChart/curves/step.js +0 -2
- package/Heatmap/Heatmap.js +0 -4
- package/LineChartPro/LineChartPro.js +0 -36
- package/PieChartPro/PieChartPro.js +2 -2
- package/SankeyChart/SankeyChart.d.ts +32 -0
- package/SankeyChart/SankeyChart.js +161 -0
- package/SankeyChart/SankeyChart.plugins.d.ts +3 -0
- package/SankeyChart/SankeyChart.plugins.js +11 -0
- package/SankeyChart/SankeyLinkElement.d.ts +27 -0
- package/SankeyChart/SankeyLinkElement.js +53 -0
- package/SankeyChart/SankeyLinkLabel.d.ts +12 -0
- package/SankeyChart/SankeyLinkLabel.js +58 -0
- package/SankeyChart/SankeyNodeElement.d.ts +27 -0
- package/SankeyChart/SankeyNodeElement.js +76 -0
- package/SankeyChart/SankeyPlot.d.ts +29 -0
- package/SankeyChart/SankeyPlot.js +100 -0
- package/SankeyChart/SankeyTooltip/SankeyTooltip.classes.d.ts +2 -0
- package/SankeyChart/SankeyTooltip/SankeyTooltip.classes.js +27 -0
- package/SankeyChart/SankeyTooltip/SankeyTooltip.d.ts +7 -0
- package/SankeyChart/SankeyTooltip/SankeyTooltip.js +208 -0
- package/SankeyChart/SankeyTooltip/SankeyTooltip.types.d.ts +10 -0
- package/SankeyChart/SankeyTooltip/SankeyTooltip.types.js +5 -0
- package/SankeyChart/SankeyTooltip/SankeyTooltipContent.d.ts +7 -0
- package/SankeyChart/SankeyTooltip/SankeyTooltipContent.js +66 -0
- package/SankeyChart/SankeyTooltip/index.d.ts +3 -0
- package/SankeyChart/SankeyTooltip/index.js +27 -0
- package/SankeyChart/calculateSankeyLayout.d.ts +13 -0
- package/SankeyChart/calculateSankeyLayout.js +141 -0
- package/SankeyChart/index.d.ts +9 -0
- package/SankeyChart/index.js +70 -0
- package/SankeyChart/sankey.types.d.ts +225 -0
- package/SankeyChart/sankey.types.js +6 -0
- package/SankeyChart/sankeyClasses.d.ts +15 -0
- package/SankeyChart/sankeyClasses.js +28 -0
- package/SankeyChart/sankeySlots.types.d.ts +24 -0
- package/SankeyChart/sankeySlots.types.js +5 -0
- package/SankeyChart/seriesConfig/getSeriesWithDefaultValues.d.ts +2 -0
- package/SankeyChart/seriesConfig/getSeriesWithDefaultValues.js +55 -0
- package/SankeyChart/seriesConfig/index.d.ts +2 -0
- package/SankeyChart/seriesConfig/index.js +19 -0
- package/SankeyChart/seriesConfig/tooltipGetter.d.ts +2 -0
- package/SankeyChart/seriesConfig/tooltipGetter.js +46 -0
- package/SankeyChart/useSankeyChartProps.d.ts +22 -0
- package/SankeyChart/useSankeyChartProps.js +77 -0
- package/SankeyChart/utils.d.ts +3 -0
- package/SankeyChart/utils.js +21 -0
- package/ScatterChartPro/ScatterChartPro.js +1 -37
- package/esm/BarChartPro/BarChartPro.js +0 -36
- package/esm/ChartDataProviderPro/ChartDataProviderPro.js +1 -1
- package/esm/FunnelChart/curves/bump.js +0 -2
- package/esm/FunnelChart/curves/linear.js +0 -2
- package/esm/FunnelChart/curves/pyramid.js +0 -2
- package/esm/FunnelChart/curves/step-pyramid.js +0 -2
- package/esm/FunnelChart/curves/step.js +0 -2
- package/esm/Heatmap/Heatmap.js +0 -4
- package/esm/LineChartPro/LineChartPro.js +0 -36
- package/esm/PieChartPro/PieChartPro.js +2 -2
- package/esm/SankeyChart/SankeyChart.d.ts +32 -0
- package/esm/SankeyChart/SankeyChart.js +155 -0
- package/esm/SankeyChart/SankeyChart.plugins.d.ts +3 -0
- package/esm/SankeyChart/SankeyChart.plugins.js +9 -0
- package/esm/SankeyChart/SankeyLinkElement.d.ts +27 -0
- package/esm/SankeyChart/SankeyLinkElement.js +46 -0
- package/esm/SankeyChart/SankeyLinkLabel.d.ts +12 -0
- package/esm/SankeyChart/SankeyLinkLabel.js +52 -0
- package/esm/SankeyChart/SankeyNodeElement.d.ts +27 -0
- package/esm/SankeyChart/SankeyNodeElement.js +69 -0
- package/esm/SankeyChart/SankeyPlot.d.ts +29 -0
- package/esm/SankeyChart/SankeyPlot.js +94 -0
- package/esm/SankeyChart/SankeyTooltip/SankeyTooltip.classes.d.ts +2 -0
- package/esm/SankeyChart/SankeyTooltip/SankeyTooltip.classes.js +19 -0
- package/esm/SankeyChart/SankeyTooltip/SankeyTooltip.d.ts +7 -0
- package/esm/SankeyChart/SankeyTooltip/SankeyTooltip.js +202 -0
- package/esm/SankeyChart/SankeyTooltip/SankeyTooltip.types.d.ts +10 -0
- package/esm/SankeyChart/SankeyTooltip/SankeyTooltip.types.js +1 -0
- package/esm/SankeyChart/SankeyTooltip/SankeyTooltipContent.d.ts +7 -0
- package/esm/SankeyChart/SankeyTooltip/SankeyTooltipContent.js +59 -0
- package/esm/SankeyChart/SankeyTooltip/index.d.ts +3 -0
- package/esm/SankeyChart/SankeyTooltip/index.js +3 -0
- package/esm/SankeyChart/calculateSankeyLayout.d.ts +13 -0
- package/esm/SankeyChart/calculateSankeyLayout.js +135 -0
- package/esm/SankeyChart/index.d.ts +9 -0
- package/esm/SankeyChart/index.js +6 -0
- package/esm/SankeyChart/sankey.types.d.ts +225 -0
- package/esm/SankeyChart/sankey.types.js +3 -0
- package/esm/SankeyChart/sankeyClasses.d.ts +15 -0
- package/esm/SankeyChart/sankeyClasses.js +19 -0
- package/esm/SankeyChart/sankeySlots.types.d.ts +24 -0
- package/esm/SankeyChart/sankeySlots.types.js +1 -0
- package/esm/SankeyChart/seriesConfig/getSeriesWithDefaultValues.d.ts +2 -0
- package/esm/SankeyChart/seriesConfig/getSeriesWithDefaultValues.js +47 -0
- package/esm/SankeyChart/seriesConfig/index.d.ts +2 -0
- package/esm/SankeyChart/seriesConfig/index.js +14 -0
- package/esm/SankeyChart/seriesConfig/tooltipGetter.d.ts +2 -0
- package/esm/SankeyChart/seriesConfig/tooltipGetter.js +39 -0
- package/esm/SankeyChart/useSankeyChartProps.d.ts +22 -0
- package/esm/SankeyChart/useSankeyChartProps.js +70 -0
- package/esm/SankeyChart/utils.d.ts +3 -0
- package/esm/SankeyChart/utils.js +14 -0
- package/esm/ScatterChartPro/ScatterChartPro.js +1 -37
- package/esm/hooks/useSankeySeries.d.ts +33 -0
- package/esm/hooks/useSankeySeries.js +42 -0
- package/esm/index.d.ts +1 -0
- package/esm/index.js +2 -1
- package/esm/internals/plugins/allPlugins.d.ts +2 -2
- package/esm/typeOverloads/modules.d.ts +11 -0
- package/hooks/useSankeySeries.d.ts +33 -0
- package/hooks/useSankeySeries.js +48 -0
- package/index.d.ts +1 -0
- package/index.js +13 -1
- package/internals/plugins/allPlugins.d.ts +2 -2
- package/package.json +6 -6
- package/typeOverloads/modules.d.ts +11 -0
package/esm/index.d.ts
CHANGED
|
@@ -32,6 +32,7 @@ export { ChartContainerPro } from "./ChartContainerPro/index.js";
|
|
|
32
32
|
export type { ChartContainerProProps } from "./ChartContainerPro/index.js";
|
|
33
33
|
export * from "./ChartDataProviderPro/index.js";
|
|
34
34
|
export * from "./ScatterChartPro/index.js";
|
|
35
|
+
export * from "./SankeyChart/index.js";
|
|
35
36
|
export * from "./BarChartPro/index.js";
|
|
36
37
|
export * from "./LineChartPro/index.js";
|
|
37
38
|
export * from "./PieChartPro/index.js";
|
package/esm/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @mui/x-charts-pro v8.
|
|
2
|
+
* @mui/x-charts-pro v8.11.0
|
|
3
3
|
*
|
|
4
4
|
* @license SEE LICENSE IN LICENSE
|
|
5
5
|
* This source code is licensed under the SEE LICENSE IN LICENSE license found in the
|
|
@@ -46,6 +46,7 @@ export * from "./Heatmap/index.js";
|
|
|
46
46
|
export { ChartContainerPro } from "./ChartContainerPro/index.js";
|
|
47
47
|
export * from "./ChartDataProviderPro/index.js";
|
|
48
48
|
export * from "./ScatterChartPro/index.js";
|
|
49
|
+
export * from "./SankeyChart/index.js";
|
|
49
50
|
export * from "./BarChartPro/index.js";
|
|
50
51
|
export * from "./LineChartPro/index.js";
|
|
51
52
|
export * from "./PieChartPro/index.js";
|
|
@@ -3,7 +3,7 @@ import { UseChartProExportSignature } from "./useChartProExport/index.js";
|
|
|
3
3
|
import { UseChartProZoomSignature } from "./useChartProZoom/index.js";
|
|
4
4
|
export type AllPluginSignatures<TSeries extends ChartSeriesType = ChartSeriesType> = [UseChartZAxisSignature, UseChartCartesianAxisSignature<TSeries>, UseChartPolarAxisSignature<TSeries>, UseChartInteractionSignature, UseChartHighlightSignature, UseChartProZoomSignature, UseChartProExportSignature];
|
|
5
5
|
export type AllPluginsType<TSeries extends ChartSeriesType = ChartSeriesType> = ConvertSignaturesIntoPlugins<AllPluginSignatures<TSeries>>;
|
|
6
|
-
export declare const ALL_PLUGINS: (import("@mui/x-charts/internals").ChartPlugin<UseChartProZoomSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartProExportSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartZAxisSignature> | import("@mui/x-charts/internals").ChartPlugin<
|
|
6
|
+
export declare const ALL_PLUGINS: (import("@mui/x-charts/internals").ChartPlugin<UseChartProZoomSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartProExportSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartZAxisSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartInteractionSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartHighlightSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartCartesianAxisSignature<any>> | import("@mui/x-charts/internals").ChartPlugin<UseChartPolarAxisSignature<any>>)[];
|
|
7
7
|
export type DefaultPluginSignatures<TSeries extends ChartSeriesType = ChartSeriesType> = [UseChartZAxisSignature, UseChartCartesianAxisSignature<TSeries>, UseChartPolarAxisSignature<TSeries>, UseChartInteractionSignature, UseChartHighlightSignature, UseChartProZoomSignature, UseChartProExportSignature];
|
|
8
8
|
export type DefaultPluginsType<TSeries extends ChartSeriesType = ChartSeriesType> = ConvertSignaturesIntoPlugins<DefaultPluginSignatures<TSeries>>;
|
|
9
|
-
export declare const DEFAULT_PLUGINS: (import("@mui/x-charts/internals").ChartPlugin<UseChartProZoomSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartProExportSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartZAxisSignature> | import("@mui/x-charts/internals").ChartPlugin<
|
|
9
|
+
export declare const DEFAULT_PLUGINS: (import("@mui/x-charts/internals").ChartPlugin<UseChartProZoomSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartProExportSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartZAxisSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartInteractionSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartHighlightSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartCartesianAxisSignature<any>>)[];
|
|
@@ -2,6 +2,7 @@ import { DefaultizedProps, MakeRequired } from '@mui/x-internals/types';
|
|
|
2
2
|
import { AxisId, ZoomOptions } from '@mui/x-charts/internals';
|
|
3
3
|
import { DefaultizedFunnelSeriesType, FunnelItemIdentifier, FunnelSeriesType, FunnelValueType } from "../FunnelChart/funnel.types.js";
|
|
4
4
|
import { HeatmapItemIdentifier, HeatmapSeriesType, DefaultizedHeatmapSeriesType, HeatmapValueType } from "../models/seriesType/heatmap.js";
|
|
5
|
+
import { SankeySeriesType, type DefaultizedSankeySeriesType, type SankeyItemIdentifier, type SankeyItemIdentifierWithData } from "../SankeyChart/sankey.types.js";
|
|
5
6
|
declare module '@mui/x-charts/internals' {
|
|
6
7
|
interface ChartsSeriesConfig {
|
|
7
8
|
heatmap: {
|
|
@@ -9,6 +10,7 @@ declare module '@mui/x-charts/internals' {
|
|
|
9
10
|
series: DefaultizedHeatmapSeriesType;
|
|
10
11
|
seriesProp: HeatmapSeriesType;
|
|
11
12
|
itemIdentifier: HeatmapItemIdentifier;
|
|
13
|
+
itemIdentifierWithData: HeatmapItemIdentifier;
|
|
12
14
|
valueType: HeatmapValueType;
|
|
13
15
|
axisType: 'cartesian';
|
|
14
16
|
};
|
|
@@ -19,9 +21,18 @@ declare module '@mui/x-charts/internals' {
|
|
|
19
21
|
series: DefaultizedFunnelSeriesType;
|
|
20
22
|
seriesProp: FunnelSeriesType;
|
|
21
23
|
itemIdentifier: FunnelItemIdentifier;
|
|
24
|
+
itemIdentifierWithData: FunnelItemIdentifier;
|
|
22
25
|
valueType: MakeRequired<FunnelValueType, 'id' | 'color'>;
|
|
23
26
|
axisType: 'cartesian';
|
|
24
27
|
};
|
|
28
|
+
sankey: {
|
|
29
|
+
seriesInput: DefaultizedSankeySeriesType;
|
|
30
|
+
series: DefaultizedSankeySeriesType;
|
|
31
|
+
seriesProp: SankeySeriesType;
|
|
32
|
+
itemIdentifier: SankeyItemIdentifier;
|
|
33
|
+
itemIdentifierWithData: SankeyItemIdentifierWithData;
|
|
34
|
+
valueType: number;
|
|
35
|
+
};
|
|
25
36
|
}
|
|
26
37
|
interface DefaultizedZoomOptions extends Required<ZoomOptions> {
|
|
27
38
|
axisId: AxisId;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { ProcessedSeries, SeriesId, ChartSeriesDefaultized } from '@mui/x-charts/internals';
|
|
2
|
+
export type UseSankeySeriesReturnValue = ChartSeriesDefaultized<'sankey'>;
|
|
3
|
+
export type UseSankeySeriesContextReturnValue = ProcessedSeries['sankey'];
|
|
4
|
+
/**
|
|
5
|
+
* Get access to the internal state of sankey series.
|
|
6
|
+
*
|
|
7
|
+
* @param {SeriesId} seriesId The id of the series to get.
|
|
8
|
+
* @returns {UseSankeySeriesReturnValue} the sankey series
|
|
9
|
+
*/
|
|
10
|
+
export declare function useSankeySeries(seriesId: SeriesId): UseSankeySeriesReturnValue | undefined;
|
|
11
|
+
/**
|
|
12
|
+
* Get access to the internal state of sankey series.
|
|
13
|
+
*
|
|
14
|
+
* When called without arguments, it returns all sankey series.
|
|
15
|
+
*
|
|
16
|
+
* @returns {UseSankeySeriesReturnValue[]} the sankey series
|
|
17
|
+
*/
|
|
18
|
+
export declare function useSankeySeries(): UseSankeySeriesReturnValue[];
|
|
19
|
+
/**
|
|
20
|
+
* Get access to the internal state of sankey series.
|
|
21
|
+
*
|
|
22
|
+
* @param {SeriesId[]} seriesIds The ids of the series to get. Order is preserved.
|
|
23
|
+
* @returns {UseSankeySeriesReturnValue[]} the sankey series
|
|
24
|
+
*/
|
|
25
|
+
export declare function useSankeySeries(seriesIds: SeriesId[]): UseSankeySeriesReturnValue[];
|
|
26
|
+
/**
|
|
27
|
+
* Get access to the internal state of sankey series.
|
|
28
|
+
* The returned object contains:
|
|
29
|
+
* - series: a mapping from ids to series attributes.
|
|
30
|
+
* - seriesOrder: the array of series ids.
|
|
31
|
+
* @returns the sankey series
|
|
32
|
+
*/
|
|
33
|
+
export declare function useSankeySeriesContext(): UseSankeySeriesContextReturnValue;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
'use client';
|
|
3
|
+
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.useSankeySeries = useSankeySeries;
|
|
8
|
+
exports.useSankeySeriesContext = useSankeySeriesContext;
|
|
9
|
+
var _internals = require("@mui/x-charts/internals");
|
|
10
|
+
const useSelectorSeries = (0, _internals.createSeriesSelectorsOfType)('sankey');
|
|
11
|
+
const useSelectorSeriesContext = (0, _internals.createAllSeriesSelectorOfType)('sankey');
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Get access to the internal state of sankey series.
|
|
15
|
+
*
|
|
16
|
+
* @param {SeriesId} seriesId The id of the series to get.
|
|
17
|
+
* @returns {UseSankeySeriesReturnValue} the sankey series
|
|
18
|
+
*/
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Get access to the internal state of sankey series.
|
|
22
|
+
*
|
|
23
|
+
* When called without arguments, it returns all sankey series.
|
|
24
|
+
*
|
|
25
|
+
* @returns {UseSankeySeriesReturnValue[]} the sankey series
|
|
26
|
+
*/
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Get access to the internal state of sankey series.
|
|
30
|
+
*
|
|
31
|
+
* @param {SeriesId[]} seriesIds The ids of the series to get. Order is preserved.
|
|
32
|
+
* @returns {UseSankeySeriesReturnValue[]} the sankey series
|
|
33
|
+
*/
|
|
34
|
+
|
|
35
|
+
function useSankeySeries(seriesIds) {
|
|
36
|
+
return useSelectorSeries(seriesIds);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Get access to the internal state of sankey series.
|
|
41
|
+
* The returned object contains:
|
|
42
|
+
* - series: a mapping from ids to series attributes.
|
|
43
|
+
* - seriesOrder: the array of series ids.
|
|
44
|
+
* @returns the sankey series
|
|
45
|
+
*/
|
|
46
|
+
function useSankeySeriesContext() {
|
|
47
|
+
return useSelectorSeriesContext();
|
|
48
|
+
}
|
package/index.d.ts
CHANGED
|
@@ -32,6 +32,7 @@ export { ChartContainerPro } from "./ChartContainerPro/index.js";
|
|
|
32
32
|
export type { ChartContainerProProps } from "./ChartContainerPro/index.js";
|
|
33
33
|
export * from "./ChartDataProviderPro/index.js";
|
|
34
34
|
export * from "./ScatterChartPro/index.js";
|
|
35
|
+
export * from "./SankeyChart/index.js";
|
|
35
36
|
export * from "./BarChartPro/index.js";
|
|
36
37
|
export * from "./LineChartPro/index.js";
|
|
37
38
|
export * from "./PieChartPro/index.js";
|
package/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @mui/x-charts-pro v8.
|
|
2
|
+
* @mui/x-charts-pro v8.11.0
|
|
3
3
|
*
|
|
4
4
|
* @license SEE LICENSE IN LICENSE
|
|
5
5
|
* This source code is licensed under the SEE LICENSE IN LICENSE license found in the
|
|
@@ -393,6 +393,18 @@ Object.keys(_ScatterChartPro).forEach(function (key) {
|
|
|
393
393
|
}
|
|
394
394
|
});
|
|
395
395
|
});
|
|
396
|
+
var _SankeyChart = require("./SankeyChart");
|
|
397
|
+
Object.keys(_SankeyChart).forEach(function (key) {
|
|
398
|
+
if (key === "default" || key === "__esModule") return;
|
|
399
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
400
|
+
if (key in exports && exports[key] === _SankeyChart[key]) return;
|
|
401
|
+
Object.defineProperty(exports, key, {
|
|
402
|
+
enumerable: true,
|
|
403
|
+
get: function () {
|
|
404
|
+
return _SankeyChart[key];
|
|
405
|
+
}
|
|
406
|
+
});
|
|
407
|
+
});
|
|
396
408
|
var _BarChartPro = require("./BarChartPro");
|
|
397
409
|
Object.keys(_BarChartPro).forEach(function (key) {
|
|
398
410
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -3,7 +3,7 @@ import { UseChartProExportSignature } from "./useChartProExport/index.js";
|
|
|
3
3
|
import { UseChartProZoomSignature } from "./useChartProZoom/index.js";
|
|
4
4
|
export type AllPluginSignatures<TSeries extends ChartSeriesType = ChartSeriesType> = [UseChartZAxisSignature, UseChartCartesianAxisSignature<TSeries>, UseChartPolarAxisSignature<TSeries>, UseChartInteractionSignature, UseChartHighlightSignature, UseChartProZoomSignature, UseChartProExportSignature];
|
|
5
5
|
export type AllPluginsType<TSeries extends ChartSeriesType = ChartSeriesType> = ConvertSignaturesIntoPlugins<AllPluginSignatures<TSeries>>;
|
|
6
|
-
export declare const ALL_PLUGINS: (import("@mui/x-charts/internals").ChartPlugin<UseChartProZoomSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartProExportSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartZAxisSignature> | import("@mui/x-charts/internals").ChartPlugin<
|
|
6
|
+
export declare const ALL_PLUGINS: (import("@mui/x-charts/internals").ChartPlugin<UseChartProZoomSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartProExportSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartZAxisSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartInteractionSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartHighlightSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartCartesianAxisSignature<any>> | import("@mui/x-charts/internals").ChartPlugin<UseChartPolarAxisSignature<any>>)[];
|
|
7
7
|
export type DefaultPluginSignatures<TSeries extends ChartSeriesType = ChartSeriesType> = [UseChartZAxisSignature, UseChartCartesianAxisSignature<TSeries>, UseChartPolarAxisSignature<TSeries>, UseChartInteractionSignature, UseChartHighlightSignature, UseChartProZoomSignature, UseChartProExportSignature];
|
|
8
8
|
export type DefaultPluginsType<TSeries extends ChartSeriesType = ChartSeriesType> = ConvertSignaturesIntoPlugins<DefaultPluginSignatures<TSeries>>;
|
|
9
|
-
export declare const DEFAULT_PLUGINS: (import("@mui/x-charts/internals").ChartPlugin<UseChartProZoomSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartProExportSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartZAxisSignature> | import("@mui/x-charts/internals").ChartPlugin<
|
|
9
|
+
export declare const DEFAULT_PLUGINS: (import("@mui/x-charts/internals").ChartPlugin<UseChartProZoomSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartProExportSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartZAxisSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartInteractionSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartHighlightSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartCartesianAxisSignature<any>>)[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/x-charts-pro",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.11.0",
|
|
4
4
|
"author": "MUI Team",
|
|
5
5
|
"description": "The Pro plan edition of the MUI X Charts components.",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -32,11 +32,11 @@
|
|
|
32
32
|
"@mui/utils": "^7.3.1",
|
|
33
33
|
"clsx": "^2.1.1",
|
|
34
34
|
"prop-types": "^15.8.1",
|
|
35
|
-
"@mui/x-charts": "8.
|
|
36
|
-
"@mui/x-charts-vendor": "8.
|
|
37
|
-
"@mui/x-internal-gestures": "0.2.
|
|
38
|
-
"@mui/x-internals": "8.
|
|
39
|
-
"@mui/x-license": "8.
|
|
35
|
+
"@mui/x-charts": "8.11.0",
|
|
36
|
+
"@mui/x-charts-vendor": "8.11.0",
|
|
37
|
+
"@mui/x-internal-gestures": "0.2.5",
|
|
38
|
+
"@mui/x-internals": "8.11.0",
|
|
39
|
+
"@mui/x-license": "8.11.0"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
42
|
"@emotion/react": "^11.9.0",
|
|
@@ -2,6 +2,7 @@ import { DefaultizedProps, MakeRequired } from '@mui/x-internals/types';
|
|
|
2
2
|
import { AxisId, ZoomOptions } from '@mui/x-charts/internals';
|
|
3
3
|
import { DefaultizedFunnelSeriesType, FunnelItemIdentifier, FunnelSeriesType, FunnelValueType } from "../FunnelChart/funnel.types.js";
|
|
4
4
|
import { HeatmapItemIdentifier, HeatmapSeriesType, DefaultizedHeatmapSeriesType, HeatmapValueType } from "../models/seriesType/heatmap.js";
|
|
5
|
+
import { SankeySeriesType, type DefaultizedSankeySeriesType, type SankeyItemIdentifier, type SankeyItemIdentifierWithData } from "../SankeyChart/sankey.types.js";
|
|
5
6
|
declare module '@mui/x-charts/internals' {
|
|
6
7
|
interface ChartsSeriesConfig {
|
|
7
8
|
heatmap: {
|
|
@@ -9,6 +10,7 @@ declare module '@mui/x-charts/internals' {
|
|
|
9
10
|
series: DefaultizedHeatmapSeriesType;
|
|
10
11
|
seriesProp: HeatmapSeriesType;
|
|
11
12
|
itemIdentifier: HeatmapItemIdentifier;
|
|
13
|
+
itemIdentifierWithData: HeatmapItemIdentifier;
|
|
12
14
|
valueType: HeatmapValueType;
|
|
13
15
|
axisType: 'cartesian';
|
|
14
16
|
};
|
|
@@ -19,9 +21,18 @@ declare module '@mui/x-charts/internals' {
|
|
|
19
21
|
series: DefaultizedFunnelSeriesType;
|
|
20
22
|
seriesProp: FunnelSeriesType;
|
|
21
23
|
itemIdentifier: FunnelItemIdentifier;
|
|
24
|
+
itemIdentifierWithData: FunnelItemIdentifier;
|
|
22
25
|
valueType: MakeRequired<FunnelValueType, 'id' | 'color'>;
|
|
23
26
|
axisType: 'cartesian';
|
|
24
27
|
};
|
|
28
|
+
sankey: {
|
|
29
|
+
seriesInput: DefaultizedSankeySeriesType;
|
|
30
|
+
series: DefaultizedSankeySeriesType;
|
|
31
|
+
seriesProp: SankeySeriesType;
|
|
32
|
+
itemIdentifier: SankeyItemIdentifier;
|
|
33
|
+
itemIdentifierWithData: SankeyItemIdentifierWithData;
|
|
34
|
+
valueType: number;
|
|
35
|
+
};
|
|
25
36
|
}
|
|
26
37
|
interface DefaultizedZoomOptions extends Required<ZoomOptions> {
|
|
27
38
|
axisId: AxisId;
|