@mui/x-charts-pro 8.2.0 → 8.3.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.d.ts +7 -1
- package/BarChartPro/BarChartPro.js +60 -4
- package/CHANGELOG.md +107 -0
- package/ChartDataProviderPro/ChartDataProviderPro.js +1 -1
- package/ChartZoomSlider/ChartZoomSlider.d.ts +5 -0
- package/ChartZoomSlider/ChartZoomSlider.js +47 -0
- package/ChartZoomSlider/index.d.ts +2 -0
- package/ChartZoomSlider/index.js +27 -0
- package/ChartZoomSlider/internals/ChartAxisZoomSlider.d.ts +23 -0
- package/ChartZoomSlider/internals/ChartAxisZoomSlider.js +348 -0
- package/ChartZoomSlider/internals/ChartAxisZoomSliderHandle.d.ts +12 -0
- package/ChartZoomSlider/internals/ChartAxisZoomSliderHandle.js +92 -0
- package/ChartZoomSlider/internals/chartAxisZoomSliderHandleClasses.d.ts +17 -0
- package/ChartZoomSlider/internals/chartAxisZoomSliderHandleClasses.js +27 -0
- package/ChartsToolbarPro/ChartsToolbarPro.d.ts +2 -0
- package/ChartsToolbarPro/ChartsToolbarPro.js +31 -0
- package/ChartsToolbarPro/index.d.ts +1 -0
- package/ChartsToolbarPro/index.js +16 -0
- package/ChartsToolbarPro/internal/ChartsToolbarZoomInButton.d.ts +13 -0
- package/ChartsToolbarPro/internal/ChartsToolbarZoomInButton.js +36 -0
- package/ChartsToolbarPro/internal/ChartsToolbarZoomOutButton.d.ts +13 -0
- package/ChartsToolbarPro/internal/ChartsToolbarZoomOutButton.js +36 -0
- package/FunnelChart/FunnelChart.js +2 -7
- package/FunnelChart/FunnelPlot.js +24 -3
- package/FunnelChart/FunnelSection.d.ts +1 -0
- package/FunnelChart/FunnelSection.js +12 -7
- package/FunnelChart/curves/borderRadiusPolygon.d.ts +8 -0
- package/FunnelChart/curves/borderRadiusPolygon.js +42 -0
- package/FunnelChart/curves/bump.d.ts +8 -5
- package/FunnelChart/curves/bump.js +21 -22
- package/FunnelChart/curves/curve.types.d.ts +33 -3
- package/FunnelChart/curves/getFunnelCurve.d.ts +2 -2
- package/FunnelChart/curves/getFunnelCurve.js +12 -4
- package/FunnelChart/curves/linear.d.ts +17 -9
- package/FunnelChart/curves/linear.js +62 -87
- package/FunnelChart/curves/pyramid.d.ts +34 -0
- package/FunnelChart/curves/pyramid.js +127 -0
- package/FunnelChart/curves/step-pyramid.d.ts +31 -0
- package/FunnelChart/curves/step-pyramid.js +107 -0
- package/FunnelChart/curves/step.d.ts +32 -0
- package/FunnelChart/curves/step.js +88 -0
- package/FunnelChart/curves/utils.d.ts +4 -0
- package/FunnelChart/curves/utils.js +29 -0
- package/FunnelChart/funnel.types.d.ts +23 -2
- package/FunnelChart/funnelSectionClasses.d.ts +5 -1
- package/FunnelChart/funnelSectionClasses.js +5 -2
- package/FunnelChart/seriesConfig/getSeriesWithDefaultValues.js +1 -0
- package/FunnelChart/useFunnelChartProps.d.ts +0 -5
- package/FunnelChart/useFunnelChartProps.js +0 -11
- package/Heatmap/Heatmap.d.ts +3 -3
- package/Heatmap/Heatmap.js +2 -20
- package/LineChartPro/LineChartPro.d.ts +7 -1
- package/LineChartPro/LineChartPro.js +60 -4
- package/ScatterChartPro/ScatterChartPro.d.ts +7 -1
- package/ScatterChartPro/ScatterChartPro.js +60 -4
- package/esm/BarChartPro/BarChartPro.d.ts +7 -1
- package/esm/BarChartPro/BarChartPro.js +60 -4
- package/esm/ChartDataProviderPro/ChartDataProviderPro.js +1 -1
- package/esm/ChartZoomSlider/ChartZoomSlider.d.ts +5 -0
- package/esm/ChartZoomSlider/ChartZoomSlider.js +41 -0
- package/esm/ChartZoomSlider/index.d.ts +2 -0
- package/esm/ChartZoomSlider/index.js +2 -0
- package/esm/ChartZoomSlider/internals/ChartAxisZoomSlider.d.ts +23 -0
- package/esm/ChartZoomSlider/internals/ChartAxisZoomSlider.js +339 -0
- package/esm/ChartZoomSlider/internals/ChartAxisZoomSliderHandle.d.ts +12 -0
- package/esm/ChartZoomSlider/internals/ChartAxisZoomSliderHandle.js +85 -0
- package/esm/ChartZoomSlider/internals/chartAxisZoomSliderHandleClasses.d.ts +17 -0
- package/esm/ChartZoomSlider/internals/chartAxisZoomSliderHandleClasses.js +17 -0
- package/esm/ChartsToolbarPro/ChartsToolbarPro.d.ts +2 -0
- package/esm/ChartsToolbarPro/ChartsToolbarPro.js +24 -0
- package/esm/ChartsToolbarPro/index.d.ts +1 -0
- package/esm/ChartsToolbarPro/index.js +1 -0
- package/esm/ChartsToolbarPro/internal/ChartsToolbarZoomInButton.d.ts +13 -0
- package/esm/ChartsToolbarPro/internal/ChartsToolbarZoomInButton.js +29 -0
- package/esm/ChartsToolbarPro/internal/ChartsToolbarZoomOutButton.d.ts +13 -0
- package/esm/ChartsToolbarPro/internal/ChartsToolbarZoomOutButton.js +29 -0
- package/esm/FunnelChart/FunnelChart.js +2 -7
- package/esm/FunnelChart/FunnelPlot.js +24 -3
- package/esm/FunnelChart/FunnelSection.d.ts +1 -0
- package/esm/FunnelChart/FunnelSection.js +12 -7
- package/esm/FunnelChart/curves/borderRadiusPolygon.d.ts +8 -0
- package/esm/FunnelChart/curves/borderRadiusPolygon.js +36 -0
- package/esm/FunnelChart/curves/bump.d.ts +8 -5
- package/esm/FunnelChart/curves/bump.js +21 -22
- package/esm/FunnelChart/curves/curve.types.d.ts +33 -3
- package/esm/FunnelChart/curves/getFunnelCurve.d.ts +2 -2
- package/esm/FunnelChart/curves/getFunnelCurve.js +12 -4
- package/esm/FunnelChart/curves/linear.d.ts +17 -9
- package/esm/FunnelChart/curves/linear.js +62 -86
- package/esm/FunnelChart/curves/pyramid.d.ts +34 -0
- package/esm/FunnelChart/curves/pyramid.js +121 -0
- package/esm/FunnelChart/curves/step-pyramid.d.ts +31 -0
- package/esm/FunnelChart/curves/step-pyramid.js +101 -0
- package/esm/FunnelChart/curves/step.d.ts +32 -0
- package/esm/FunnelChart/curves/step.js +82 -0
- package/esm/FunnelChart/curves/utils.d.ts +4 -0
- package/esm/FunnelChart/curves/utils.js +19 -0
- package/esm/FunnelChart/funnel.types.d.ts +23 -2
- package/esm/FunnelChart/funnelSectionClasses.d.ts +5 -1
- package/esm/FunnelChart/funnelSectionClasses.js +5 -2
- package/esm/FunnelChart/seriesConfig/getSeriesWithDefaultValues.js +1 -0
- package/esm/FunnelChart/useFunnelChartProps.d.ts +0 -5
- package/esm/FunnelChart/useFunnelChartProps.js +0 -11
- package/esm/Heatmap/Heatmap.d.ts +3 -3
- package/esm/Heatmap/Heatmap.js +2 -20
- package/esm/LineChartPro/LineChartPro.d.ts +7 -1
- package/esm/LineChartPro/LineChartPro.js +60 -4
- package/esm/ScatterChartPro/ScatterChartPro.d.ts +7 -1
- package/esm/ScatterChartPro/ScatterChartPro.js +60 -4
- package/esm/index.d.ts +4 -1
- package/esm/index.js +5 -2
- package/esm/internals/material/icons.d.ts +3 -0
- package/esm/internals/material/icons.js +13 -0
- package/esm/internals/material/index.d.ts +4 -0
- package/esm/internals/material/index.js +12 -0
- package/esm/internals/plugins/useChartProZoom/calculateZoom.d.ts +23 -0
- package/esm/internals/plugins/useChartProZoom/calculateZoom.js +32 -0
- package/esm/internals/plugins/useChartProZoom/useChartProZoom.d.ts +1 -1
- package/esm/internals/plugins/useChartProZoom/useChartProZoom.js +45 -3
- package/esm/internals/plugins/useChartProZoom/useChartProZoom.selectors.d.ts +63 -11
- package/esm/internals/plugins/useChartProZoom/useChartProZoom.selectors.js +3 -2
- package/esm/internals/plugins/useChartProZoom/useChartProZoom.types.d.ts +17 -2
- package/esm/internals/slots/chartBaseSlotProps.d.ts +10 -0
- package/esm/internals/slots/chartBaseSlotProps.js +1 -0
- package/esm/internals/slots/chartsBaseSlots.d.ts +6 -0
- package/esm/internals/slots/chartsBaseSlots.js +1 -0
- package/esm/internals/slots/chartsIconSlots.d.ts +14 -0
- package/esm/internals/slots/chartsIconSlots.js +1 -0
- package/esm/typeOverloads/modules.d.ts +1 -1
- package/index.d.ts +4 -1
- package/index.js +90 -1
- package/internals/material/icons.d.ts +3 -0
- package/internals/material/icons.js +20 -0
- package/internals/material/index.d.ts +4 -0
- package/internals/material/index.js +19 -0
- package/internals/plugins/useChartProZoom/calculateZoom.d.ts +23 -0
- package/internals/plugins/useChartProZoom/calculateZoom.js +39 -0
- package/internals/plugins/useChartProZoom/useChartProZoom.d.ts +1 -1
- package/internals/plugins/useChartProZoom/useChartProZoom.js +44 -2
- package/internals/plugins/useChartProZoom/useChartProZoom.selectors.d.ts +63 -11
- package/internals/plugins/useChartProZoom/useChartProZoom.selectors.js +3 -2
- package/internals/plugins/useChartProZoom/useChartProZoom.types.d.ts +17 -2
- package/internals/slots/chartBaseSlotProps.d.ts +10 -0
- package/internals/slots/chartBaseSlotProps.js +5 -0
- package/internals/slots/chartsBaseSlots.d.ts +6 -0
- package/internals/slots/chartsBaseSlots.js +5 -0
- package/internals/slots/chartsIconSlots.d.ts +14 -0
- package/internals/slots/chartsIconSlots.js +5 -0
- package/package.json +7 -7
- package/typeOverloads/modules.d.ts +1 -1
- package/FunnelChart/curves/funnelStep.d.ts +0 -25
- package/FunnelChart/curves/funnelStep.js +0 -87
- package/esm/FunnelChart/curves/funnelStep.d.ts +0 -25
- package/esm/FunnelChart/curves/funnelStep.js +0 -80
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ChartRootSelector } from '@mui/x-charts/internals';
|
|
1
|
+
import { AxisId, ChartRootSelector } from '@mui/x-charts/internals';
|
|
2
2
|
import { UseChartProZoomSignature } from "./useChartProZoom.types.js";
|
|
3
3
|
export declare const selectorChartZoomState: ChartRootSelector<UseChartProZoomSignature>;
|
|
4
4
|
export declare const selectorChartZoomIsInteracting: ((state: import("@mui/x-charts/internals/plugins/corePlugins/useChartId/useChartId.types").UseChartIdState & import("@mui/x-charts/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.types").UseChartDimensionsState & import("@mui/x-charts/internals/plugins/corePlugins/useChartSeries/useChartSeries.types").UseChartSeriesState<keyof import("@mui/x-charts/internals").ChartsSeriesConfig> & import("@mui/x-charts/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.types").UseChartAnimationState & import("./useChartProZoom.types.js").UseChartProZoomState & Partial<{}> & {
|
|
@@ -62,11 +62,11 @@ export declare const selectorChartZoomIsEnabled: ((state: import("@mui/x-charts/
|
|
|
62
62
|
resultsCount: () => number;
|
|
63
63
|
resetResultsCount: () => void;
|
|
64
64
|
} & {
|
|
65
|
-
resultFunc: (resultFuncArgs_0: Record<
|
|
65
|
+
resultFunc: (resultFuncArgs_0: Record<AxisId, import("@mui/x-charts/internals").DefaultizedZoomOptions>, resultFuncArgs_1: Record<AxisId, import("@mui/x-charts/internals").DefaultizedZoomOptions>) => {
|
|
66
66
|
[x: string]: import("@mui/x-charts/internals").DefaultizedZoomOptions;
|
|
67
67
|
[x: number]: import("@mui/x-charts/internals").DefaultizedZoomOptions;
|
|
68
68
|
};
|
|
69
|
-
memoizedResultFunc: ((resultFuncArgs_0: Record<
|
|
69
|
+
memoizedResultFunc: ((resultFuncArgs_0: Record<AxisId, import("@mui/x-charts/internals").DefaultizedZoomOptions>, resultFuncArgs_1: Record<AxisId, import("@mui/x-charts/internals").DefaultizedZoomOptions>) => {
|
|
70
70
|
[x: string]: import("@mui/x-charts/internals").DefaultizedZoomOptions;
|
|
71
71
|
[x: number]: import("@mui/x-charts/internals").DefaultizedZoomOptions;
|
|
72
72
|
}) & {
|
|
@@ -80,18 +80,18 @@ export declare const selectorChartZoomIsEnabled: ((state: import("@mui/x-charts/
|
|
|
80
80
|
};
|
|
81
81
|
dependencies: [((state: import("@mui/x-charts/internals/plugins/corePlugins/useChartId/useChartId.types").UseChartIdState & import("@mui/x-charts/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.types").UseChartDimensionsState & import("@mui/x-charts/internals/plugins/corePlugins/useChartSeries/useChartSeries.types").UseChartSeriesState<keyof import("@mui/x-charts/internals").ChartsSeriesConfig> & import("@mui/x-charts/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.types").UseChartAnimationState & Partial<import("@mui/x-charts/internals").UseChartCartesianAxisState> & {
|
|
82
82
|
cacheKey: import("@mui/x-charts/internals").ChartStateCacheKey;
|
|
83
|
-
}) => Record<
|
|
83
|
+
}) => Record<AxisId, import("@mui/x-charts/internals").DefaultizedZoomOptions>) & {
|
|
84
84
|
clearCache: () => void;
|
|
85
85
|
resultsCount: () => number;
|
|
86
86
|
resetResultsCount: () => void;
|
|
87
87
|
} & {
|
|
88
|
-
resultFunc: (resultFuncArgs_0: import("@mui/x-charts/internals").DefaultedXAxis[] | undefined) => Record<
|
|
89
|
-
memoizedResultFunc: ((resultFuncArgs_0: import("@mui/x-charts/internals").DefaultedXAxis[] | undefined) => Record<
|
|
88
|
+
resultFunc: (resultFuncArgs_0: import("@mui/x-charts/internals").DefaultedXAxis[] | undefined) => Record<AxisId, import("@mui/x-charts/internals").DefaultizedZoomOptions>;
|
|
89
|
+
memoizedResultFunc: ((resultFuncArgs_0: import("@mui/x-charts/internals").DefaultedXAxis[] | undefined) => Record<AxisId, import("@mui/x-charts/internals").DefaultizedZoomOptions>) & {
|
|
90
90
|
clearCache: () => void;
|
|
91
91
|
resultsCount: () => number;
|
|
92
92
|
resetResultsCount: () => void;
|
|
93
93
|
};
|
|
94
|
-
lastResult: () => Record<
|
|
94
|
+
lastResult: () => Record<AxisId, import("@mui/x-charts/internals").DefaultizedZoomOptions>;
|
|
95
95
|
dependencies: [((state: import("@mui/x-charts/internals/plugins/corePlugins/useChartId/useChartId.types").UseChartIdState & import("@mui/x-charts/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.types").UseChartDimensionsState & import("@mui/x-charts/internals/plugins/corePlugins/useChartSeries/useChartSeries.types").UseChartSeriesState<keyof import("@mui/x-charts/internals").ChartsSeriesConfig> & import("@mui/x-charts/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.types").UseChartAnimationState & Partial<import("@mui/x-charts/internals").UseChartCartesianAxisState> & {
|
|
96
96
|
cacheKey: import("@mui/x-charts/internals").ChartStateCacheKey;
|
|
97
97
|
}) => import("@mui/x-charts/internals").DefaultedXAxis[] | undefined) & {
|
|
@@ -133,18 +133,18 @@ export declare const selectorChartZoomIsEnabled: ((state: import("@mui/x-charts/
|
|
|
133
133
|
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
134
134
|
}, ((state: import("@mui/x-charts/internals/plugins/corePlugins/useChartId/useChartId.types").UseChartIdState & import("@mui/x-charts/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.types").UseChartDimensionsState & import("@mui/x-charts/internals/plugins/corePlugins/useChartSeries/useChartSeries.types").UseChartSeriesState<keyof import("@mui/x-charts/internals").ChartsSeriesConfig> & import("@mui/x-charts/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.types").UseChartAnimationState & Partial<import("@mui/x-charts/internals").UseChartCartesianAxisState> & {
|
|
135
135
|
cacheKey: import("@mui/x-charts/internals").ChartStateCacheKey;
|
|
136
|
-
}) => Record<
|
|
136
|
+
}) => Record<AxisId, import("@mui/x-charts/internals").DefaultizedZoomOptions>) & {
|
|
137
137
|
clearCache: () => void;
|
|
138
138
|
resultsCount: () => number;
|
|
139
139
|
resetResultsCount: () => void;
|
|
140
140
|
} & {
|
|
141
|
-
resultFunc: (resultFuncArgs_0: import("@mui/x-charts/internals").DefaultedYAxis[] | undefined) => Record<
|
|
142
|
-
memoizedResultFunc: ((resultFuncArgs_0: import("@mui/x-charts/internals").DefaultedYAxis[] | undefined) => Record<
|
|
141
|
+
resultFunc: (resultFuncArgs_0: import("@mui/x-charts/internals").DefaultedYAxis[] | undefined) => Record<AxisId, import("@mui/x-charts/internals").DefaultizedZoomOptions>;
|
|
142
|
+
memoizedResultFunc: ((resultFuncArgs_0: import("@mui/x-charts/internals").DefaultedYAxis[] | undefined) => Record<AxisId, import("@mui/x-charts/internals").DefaultizedZoomOptions>) & {
|
|
143
143
|
clearCache: () => void;
|
|
144
144
|
resultsCount: () => number;
|
|
145
145
|
resetResultsCount: () => void;
|
|
146
146
|
};
|
|
147
|
-
lastResult: () => Record<
|
|
147
|
+
lastResult: () => Record<AxisId, import("@mui/x-charts/internals").DefaultizedZoomOptions>;
|
|
148
148
|
dependencies: [((state: import("@mui/x-charts/internals/plugins/corePlugins/useChartId/useChartId.types").UseChartIdState & import("@mui/x-charts/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.types").UseChartDimensionsState & import("@mui/x-charts/internals/plugins/corePlugins/useChartSeries/useChartSeries.types").UseChartSeriesState<keyof import("@mui/x-charts/internals").ChartsSeriesConfig> & import("@mui/x-charts/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.types").UseChartAnimationState & Partial<import("@mui/x-charts/internals").UseChartCartesianAxisState> & {
|
|
149
149
|
cacheKey: import("@mui/x-charts/internals").ChartStateCacheKey;
|
|
150
150
|
}) => import("@mui/x-charts/internals").DefaultedYAxis[] | undefined) & {
|
|
@@ -200,4 +200,56 @@ export declare const selectorChartZoomIsEnabled: ((state: import("@mui/x-charts/
|
|
|
200
200
|
} & {
|
|
201
201
|
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
202
202
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
203
|
+
};
|
|
204
|
+
export declare const selectorChartAxisZoomData: ((state: any, axisId: AxisId) => import("@mui/x-charts/internals").ZoomData | undefined) & {
|
|
205
|
+
clearCache: () => void;
|
|
206
|
+
resultsCount: () => number;
|
|
207
|
+
resetResultsCount: () => void;
|
|
208
|
+
} & {
|
|
209
|
+
resultFunc: (resultFuncArgs_0: Map<AxisId, import("@mui/x-charts/internals").ZoomData> | undefined, resultFuncArgs_1: AxisId) => import("@mui/x-charts/internals").ZoomData | undefined;
|
|
210
|
+
memoizedResultFunc: ((resultFuncArgs_0: Map<AxisId, import("@mui/x-charts/internals").ZoomData> | undefined, resultFuncArgs_1: AxisId) => import("@mui/x-charts/internals").ZoomData | undefined) & {
|
|
211
|
+
clearCache: () => void;
|
|
212
|
+
resultsCount: () => number;
|
|
213
|
+
resetResultsCount: () => void;
|
|
214
|
+
};
|
|
215
|
+
lastResult: () => import("@mui/x-charts/internals").ZoomData | undefined;
|
|
216
|
+
dependencies: [((state: import("@mui/x-charts/internals/plugins/corePlugins/useChartId/useChartId.types").UseChartIdState & import("@mui/x-charts/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.types").UseChartDimensionsState & import("@mui/x-charts/internals/plugins/corePlugins/useChartSeries/useChartSeries.types").UseChartSeriesState<keyof import("@mui/x-charts/internals").ChartsSeriesConfig> & import("@mui/x-charts/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.types").UseChartAnimationState & Partial<import("@mui/x-charts/internals").UseChartCartesianAxisState> & {
|
|
217
|
+
cacheKey: import("@mui/x-charts/internals").ChartStateCacheKey;
|
|
218
|
+
}) => Map<AxisId, import("@mui/x-charts/internals").ZoomData> | undefined) & {
|
|
219
|
+
clearCache: () => void;
|
|
220
|
+
resultsCount: () => number;
|
|
221
|
+
resetResultsCount: () => void;
|
|
222
|
+
} & {
|
|
223
|
+
resultFunc: (resultFuncArgs_0: {
|
|
224
|
+
isInteracting: boolean;
|
|
225
|
+
zoomData: readonly import("@mui/x-charts/internals").ZoomData[];
|
|
226
|
+
} | undefined) => Map<AxisId, import("@mui/x-charts/internals").ZoomData> | undefined;
|
|
227
|
+
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
228
|
+
isInteracting: boolean;
|
|
229
|
+
zoomData: readonly import("@mui/x-charts/internals").ZoomData[];
|
|
230
|
+
} | undefined) => Map<AxisId, import("@mui/x-charts/internals").ZoomData> | undefined) & {
|
|
231
|
+
clearCache: () => void;
|
|
232
|
+
resultsCount: () => number;
|
|
233
|
+
resetResultsCount: () => void;
|
|
234
|
+
};
|
|
235
|
+
lastResult: () => Map<AxisId, import("@mui/x-charts/internals").ZoomData> | undefined;
|
|
236
|
+
dependencies: [(state: import("@mui/x-charts/internals").ChartState<[], [import("@mui/x-charts/internals").UseChartCartesianAxisSignature]>) => {
|
|
237
|
+
isInteracting: boolean;
|
|
238
|
+
zoomData: readonly import("@mui/x-charts/internals").ZoomData[];
|
|
239
|
+
} | undefined];
|
|
240
|
+
recomputations: () => number;
|
|
241
|
+
resetRecomputations: () => void;
|
|
242
|
+
dependencyRecomputations: () => number;
|
|
243
|
+
resetDependencyRecomputations: () => void;
|
|
244
|
+
} & {
|
|
245
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
246
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
247
|
+
}, (state: any, axisId: AxisId) => AxisId];
|
|
248
|
+
recomputations: () => number;
|
|
249
|
+
resetRecomputations: () => void;
|
|
250
|
+
dependencyRecomputations: () => number;
|
|
251
|
+
resetDependencyRecomputations: () => void;
|
|
252
|
+
} & {
|
|
253
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
254
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
203
255
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { createSelector, selectorChartZoomOptionsLookup } from '@mui/x-charts/internals';
|
|
1
|
+
import { createSelector, selectorChartZoomMap, selectorChartZoomOptionsLookup } from '@mui/x-charts/internals';
|
|
2
2
|
export const selectorChartZoomState = state => state.zoom;
|
|
3
3
|
export const selectorChartZoomIsInteracting = createSelector(selectorChartZoomState, zoom => zoom.isInteracting);
|
|
4
|
-
export const selectorChartZoomIsEnabled = createSelector(selectorChartZoomOptionsLookup, optionsLookup => Object.keys(optionsLookup).length > 0);
|
|
4
|
+
export const selectorChartZoomIsEnabled = createSelector(selectorChartZoomOptionsLookup, optionsLookup => Object.keys(optionsLookup).length > 0);
|
|
5
|
+
export const selectorChartAxisZoomData = createSelector([selectorChartZoomMap, (state, axisId) => axisId], (zoomMap, axisId) => zoomMap?.get(axisId));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { UseChartSeriesSignature, ChartPluginSignature, UseChartCartesianAxisSignature, UseChartCartesianAxisDefaultizedParameters, ZoomData } from '@mui/x-charts/internals';
|
|
1
|
+
import { UseChartSeriesSignature, ChartPluginSignature, UseChartCartesianAxisSignature, UseChartCartesianAxisDefaultizedParameters, ZoomData, AxisId } from '@mui/x-charts/internals';
|
|
2
2
|
export interface UseChartProZoomParameters {
|
|
3
3
|
/**
|
|
4
4
|
* The list of zoom data related to each axis.
|
|
@@ -42,7 +42,22 @@ export interface UseChartProZoomPublicApi {
|
|
|
42
42
|
*/
|
|
43
43
|
setZoomData: (value: ZoomData[] | ((prev: ZoomData[]) => ZoomData[])) => void;
|
|
44
44
|
}
|
|
45
|
-
export interface UseChartProZoomInstance extends UseChartProZoomPublicApi {
|
|
45
|
+
export interface UseChartProZoomInstance extends UseChartProZoomPublicApi {
|
|
46
|
+
/**
|
|
47
|
+
* Translate the zoom range (i.e., both start and end) for a specific axis.
|
|
48
|
+
* @param {AxisId} axisId The id of the axis to move the zoom range for.
|
|
49
|
+
* @param {number} by The amount to move the zoom range by. Ranges from 0 to 100.
|
|
50
|
+
*/
|
|
51
|
+
moveZoomRange: (axisId: AxisId, by: number) => void;
|
|
52
|
+
/**
|
|
53
|
+
* Zoom in the chart.
|
|
54
|
+
*/
|
|
55
|
+
zoomIn: () => void;
|
|
56
|
+
/**
|
|
57
|
+
* Zoom out the chart.
|
|
58
|
+
*/
|
|
59
|
+
zoomOut: () => void;
|
|
60
|
+
}
|
|
46
61
|
export type UseChartProZoomSignature = ChartPluginSignature<{
|
|
47
62
|
params: UseChartProZoomParameters;
|
|
48
63
|
defaultizedParams: UseChartProZoomDefaultizedParameters;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
import { ChartBaseCommonProps } from '@mui/x-charts/models';
|
|
3
|
+
export type ChartBaseTooltipProps = ChartBaseCommonProps & {
|
|
4
|
+
children: React.ReactElement<any, any>;
|
|
5
|
+
enterDelay?: number;
|
|
6
|
+
title: React.ReactNode;
|
|
7
|
+
};
|
|
8
|
+
export type ChartBaseIconButtonProps = ChartBaseCommonProps & {
|
|
9
|
+
ref?: React.Ref<HTMLButtonElement>;
|
|
10
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ChartsBaseSlots } from '@mui/x-charts/models';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { ChartBaseTooltipProps } from "./chartBaseSlotProps.js";
|
|
4
|
+
export interface ChartsBaseSlotsPro extends ChartsBaseSlots {
|
|
5
|
+
baseTooltip: React.ComponentType<ChartBaseTooltipProps>;
|
|
6
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { ChartBaseIconProps, ChartsIconSlots } from '@mui/x-charts/models';
|
|
3
|
+
export interface ChartsIconSlotsPro extends ChartsIconSlots {
|
|
4
|
+
/**
|
|
5
|
+
* Icon displayed on the toolbar's zoom in button.
|
|
6
|
+
* @default ChartsZoomInIcon
|
|
7
|
+
*/
|
|
8
|
+
zoomInIcon: React.ComponentType<ChartBaseIconProps>;
|
|
9
|
+
/**
|
|
10
|
+
* Icon displayed on the toolbar's zoom out button.
|
|
11
|
+
* @default ChartsZoomOutIcon
|
|
12
|
+
*/
|
|
13
|
+
zoomOutIcon: React.ComponentType<ChartBaseIconProps>;
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DefaultizedProps, MakeRequired } from '@mui/x-internals/types';
|
|
2
2
|
import { AxisId, ZoomOptions } from '@mui/x-charts/internals';
|
|
3
|
-
import { HeatmapItemIdentifier, HeatmapSeriesType, DefaultizedHeatmapSeriesType, HeatmapValueType } from "../models/seriesType/heatmap.js";
|
|
4
3
|
import { DefaultizedFunnelSeriesType, FunnelItemIdentifier, FunnelSeriesType, FunnelValueType } from "../FunnelChart/funnel.types.js";
|
|
4
|
+
import { HeatmapItemIdentifier, HeatmapSeriesType, DefaultizedHeatmapSeriesType, HeatmapValueType } from "../models/seriesType/heatmap.js";
|
|
5
5
|
declare module '@mui/x-charts/internals' {
|
|
6
6
|
interface ChartsSeriesConfig {
|
|
7
7
|
heatmap: {
|
package/index.d.ts
CHANGED
|
@@ -25,6 +25,7 @@ export * from '@mui/x-charts/RadarChart';
|
|
|
25
25
|
export * from '@mui/x-charts/ChartsSurface';
|
|
26
26
|
export * from '@mui/x-charts/ChartDataProvider';
|
|
27
27
|
export * from '@mui/x-charts/ChartsLabel';
|
|
28
|
+
export { ZoomData, ZoomFilterMode, ZoomOptions, ZoomSliderOptions } from '@mui/x-charts/internals';
|
|
28
29
|
export * from "./hooks/index.js";
|
|
29
30
|
export * from "./Heatmap/index.js";
|
|
30
31
|
export * from "./ChartContainerPro/index.js";
|
|
@@ -32,4 +33,6 @@ export * from "./ChartDataProviderPro/index.js";
|
|
|
32
33
|
export * from "./ScatterChartPro/index.js";
|
|
33
34
|
export * from "./BarChartPro/index.js";
|
|
34
35
|
export * from "./LineChartPro/index.js";
|
|
35
|
-
export * from "./FunnelChart/index.js";
|
|
36
|
+
export * from "./FunnelChart/index.js";
|
|
37
|
+
export * from "./ChartZoomSlider/index.js";
|
|
38
|
+
export * from "./ChartsToolbarPro/index.js";
|
package/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @mui/x-charts-pro v8.
|
|
2
|
+
* @mui/x-charts-pro v8.3.0
|
|
3
3
|
*
|
|
4
4
|
* @license MUI X Commercial
|
|
5
5
|
* This source code is licensed under the commercial license found in the
|
|
@@ -10,10 +10,41 @@
|
|
|
10
10
|
Object.defineProperty(exports, "__esModule", {
|
|
11
11
|
value: true
|
|
12
12
|
});
|
|
13
|
+
var _exportNames = {
|
|
14
|
+
ZoomData: true,
|
|
15
|
+
ZoomFilterMode: true,
|
|
16
|
+
ZoomOptions: true,
|
|
17
|
+
ZoomSliderOptions: true
|
|
18
|
+
};
|
|
19
|
+
Object.defineProperty(exports, "ZoomData", {
|
|
20
|
+
enumerable: true,
|
|
21
|
+
get: function () {
|
|
22
|
+
return _internals.ZoomData;
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
Object.defineProperty(exports, "ZoomFilterMode", {
|
|
26
|
+
enumerable: true,
|
|
27
|
+
get: function () {
|
|
28
|
+
return _internals.ZoomFilterMode;
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
Object.defineProperty(exports, "ZoomOptions", {
|
|
32
|
+
enumerable: true,
|
|
33
|
+
get: function () {
|
|
34
|
+
return _internals.ZoomOptions;
|
|
35
|
+
}
|
|
36
|
+
});
|
|
37
|
+
Object.defineProperty(exports, "ZoomSliderOptions", {
|
|
38
|
+
enumerable: true,
|
|
39
|
+
get: function () {
|
|
40
|
+
return _internals.ZoomSliderOptions;
|
|
41
|
+
}
|
|
42
|
+
});
|
|
13
43
|
require("./typeOverloads/modules");
|
|
14
44
|
var _constants = require("@mui/x-charts/constants");
|
|
15
45
|
Object.keys(_constants).forEach(function (key) {
|
|
16
46
|
if (key === "default" || key === "__esModule") return;
|
|
47
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
17
48
|
if (key in exports && exports[key] === _constants[key]) return;
|
|
18
49
|
Object.defineProperty(exports, key, {
|
|
19
50
|
enumerable: true,
|
|
@@ -25,6 +56,7 @@ Object.keys(_constants).forEach(function (key) {
|
|
|
25
56
|
var _context = require("@mui/x-charts/context");
|
|
26
57
|
Object.keys(_context).forEach(function (key) {
|
|
27
58
|
if (key === "default" || key === "__esModule") return;
|
|
59
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
28
60
|
if (key in exports && exports[key] === _context[key]) return;
|
|
29
61
|
Object.defineProperty(exports, key, {
|
|
30
62
|
enumerable: true,
|
|
@@ -36,6 +68,7 @@ Object.keys(_context).forEach(function (key) {
|
|
|
36
68
|
var _hooks = require("@mui/x-charts/hooks");
|
|
37
69
|
Object.keys(_hooks).forEach(function (key) {
|
|
38
70
|
if (key === "default" || key === "__esModule") return;
|
|
71
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
39
72
|
if (key in exports && exports[key] === _hooks[key]) return;
|
|
40
73
|
Object.defineProperty(exports, key, {
|
|
41
74
|
enumerable: true,
|
|
@@ -47,6 +80,7 @@ Object.keys(_hooks).forEach(function (key) {
|
|
|
47
80
|
var _colorPalettes = require("@mui/x-charts/colorPalettes");
|
|
48
81
|
Object.keys(_colorPalettes).forEach(function (key) {
|
|
49
82
|
if (key === "default" || key === "__esModule") return;
|
|
83
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
50
84
|
if (key in exports && exports[key] === _colorPalettes[key]) return;
|
|
51
85
|
Object.defineProperty(exports, key, {
|
|
52
86
|
enumerable: true,
|
|
@@ -58,6 +92,7 @@ Object.keys(_colorPalettes).forEach(function (key) {
|
|
|
58
92
|
var _models = require("@mui/x-charts/models");
|
|
59
93
|
Object.keys(_models).forEach(function (key) {
|
|
60
94
|
if (key === "default" || key === "__esModule") return;
|
|
95
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
61
96
|
if (key in exports && exports[key] === _models[key]) return;
|
|
62
97
|
Object.defineProperty(exports, key, {
|
|
63
98
|
enumerable: true,
|
|
@@ -69,6 +104,7 @@ Object.keys(_models).forEach(function (key) {
|
|
|
69
104
|
var _ChartsClipPath = require("@mui/x-charts/ChartsClipPath");
|
|
70
105
|
Object.keys(_ChartsClipPath).forEach(function (key) {
|
|
71
106
|
if (key === "default" || key === "__esModule") return;
|
|
107
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
72
108
|
if (key in exports && exports[key] === _ChartsClipPath[key]) return;
|
|
73
109
|
Object.defineProperty(exports, key, {
|
|
74
110
|
enumerable: true,
|
|
@@ -80,6 +116,7 @@ Object.keys(_ChartsClipPath).forEach(function (key) {
|
|
|
80
116
|
var _ChartsReferenceLine = require("@mui/x-charts/ChartsReferenceLine");
|
|
81
117
|
Object.keys(_ChartsReferenceLine).forEach(function (key) {
|
|
82
118
|
if (key === "default" || key === "__esModule") return;
|
|
119
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
83
120
|
if (key in exports && exports[key] === _ChartsReferenceLine[key]) return;
|
|
84
121
|
Object.defineProperty(exports, key, {
|
|
85
122
|
enumerable: true,
|
|
@@ -91,6 +128,7 @@ Object.keys(_ChartsReferenceLine).forEach(function (key) {
|
|
|
91
128
|
var _ChartsAxis = require("@mui/x-charts/ChartsAxis");
|
|
92
129
|
Object.keys(_ChartsAxis).forEach(function (key) {
|
|
93
130
|
if (key === "default" || key === "__esModule") return;
|
|
131
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
94
132
|
if (key in exports && exports[key] === _ChartsAxis[key]) return;
|
|
95
133
|
Object.defineProperty(exports, key, {
|
|
96
134
|
enumerable: true,
|
|
@@ -102,6 +140,7 @@ Object.keys(_ChartsAxis).forEach(function (key) {
|
|
|
102
140
|
var _ChartsXAxis = require("@mui/x-charts/ChartsXAxis");
|
|
103
141
|
Object.keys(_ChartsXAxis).forEach(function (key) {
|
|
104
142
|
if (key === "default" || key === "__esModule") return;
|
|
143
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
105
144
|
if (key in exports && exports[key] === _ChartsXAxis[key]) return;
|
|
106
145
|
Object.defineProperty(exports, key, {
|
|
107
146
|
enumerable: true,
|
|
@@ -113,6 +152,7 @@ Object.keys(_ChartsXAxis).forEach(function (key) {
|
|
|
113
152
|
var _ChartsYAxis = require("@mui/x-charts/ChartsYAxis");
|
|
114
153
|
Object.keys(_ChartsYAxis).forEach(function (key) {
|
|
115
154
|
if (key === "default" || key === "__esModule") return;
|
|
155
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
116
156
|
if (key in exports && exports[key] === _ChartsYAxis[key]) return;
|
|
117
157
|
Object.defineProperty(exports, key, {
|
|
118
158
|
enumerable: true,
|
|
@@ -124,6 +164,7 @@ Object.keys(_ChartsYAxis).forEach(function (key) {
|
|
|
124
164
|
var _ChartsGrid = require("@mui/x-charts/ChartsGrid");
|
|
125
165
|
Object.keys(_ChartsGrid).forEach(function (key) {
|
|
126
166
|
if (key === "default" || key === "__esModule") return;
|
|
167
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
127
168
|
if (key in exports && exports[key] === _ChartsGrid[key]) return;
|
|
128
169
|
Object.defineProperty(exports, key, {
|
|
129
170
|
enumerable: true,
|
|
@@ -135,6 +176,7 @@ Object.keys(_ChartsGrid).forEach(function (key) {
|
|
|
135
176
|
var _ChartsText = require("@mui/x-charts/ChartsText");
|
|
136
177
|
Object.keys(_ChartsText).forEach(function (key) {
|
|
137
178
|
if (key === "default" || key === "__esModule") return;
|
|
179
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
138
180
|
if (key in exports && exports[key] === _ChartsText[key]) return;
|
|
139
181
|
Object.defineProperty(exports, key, {
|
|
140
182
|
enumerable: true,
|
|
@@ -146,6 +188,7 @@ Object.keys(_ChartsText).forEach(function (key) {
|
|
|
146
188
|
var _ChartsTooltip = require("@mui/x-charts/ChartsTooltip");
|
|
147
189
|
Object.keys(_ChartsTooltip).forEach(function (key) {
|
|
148
190
|
if (key === "default" || key === "__esModule") return;
|
|
191
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
149
192
|
if (key in exports && exports[key] === _ChartsTooltip[key]) return;
|
|
150
193
|
Object.defineProperty(exports, key, {
|
|
151
194
|
enumerable: true,
|
|
@@ -157,6 +200,7 @@ Object.keys(_ChartsTooltip).forEach(function (key) {
|
|
|
157
200
|
var _ChartsLegend = require("@mui/x-charts/ChartsLegend");
|
|
158
201
|
Object.keys(_ChartsLegend).forEach(function (key) {
|
|
159
202
|
if (key === "default" || key === "__esModule") return;
|
|
203
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
160
204
|
if (key in exports && exports[key] === _ChartsLegend[key]) return;
|
|
161
205
|
Object.defineProperty(exports, key, {
|
|
162
206
|
enumerable: true,
|
|
@@ -168,6 +212,7 @@ Object.keys(_ChartsLegend).forEach(function (key) {
|
|
|
168
212
|
var _ChartsLocalizationProvider = require("@mui/x-charts/ChartsLocalizationProvider");
|
|
169
213
|
Object.keys(_ChartsLocalizationProvider).forEach(function (key) {
|
|
170
214
|
if (key === "default" || key === "__esModule") return;
|
|
215
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
171
216
|
if (key in exports && exports[key] === _ChartsLocalizationProvider[key]) return;
|
|
172
217
|
Object.defineProperty(exports, key, {
|
|
173
218
|
enumerable: true,
|
|
@@ -179,6 +224,7 @@ Object.keys(_ChartsLocalizationProvider).forEach(function (key) {
|
|
|
179
224
|
var _ChartsAxisHighlight = require("@mui/x-charts/ChartsAxisHighlight");
|
|
180
225
|
Object.keys(_ChartsAxisHighlight).forEach(function (key) {
|
|
181
226
|
if (key === "default" || key === "__esModule") return;
|
|
227
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
182
228
|
if (key in exports && exports[key] === _ChartsAxisHighlight[key]) return;
|
|
183
229
|
Object.defineProperty(exports, key, {
|
|
184
230
|
enumerable: true,
|
|
@@ -190,6 +236,7 @@ Object.keys(_ChartsAxisHighlight).forEach(function (key) {
|
|
|
190
236
|
var _BarChart = require("@mui/x-charts/BarChart");
|
|
191
237
|
Object.keys(_BarChart).forEach(function (key) {
|
|
192
238
|
if (key === "default" || key === "__esModule") return;
|
|
239
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
193
240
|
if (key in exports && exports[key] === _BarChart[key]) return;
|
|
194
241
|
Object.defineProperty(exports, key, {
|
|
195
242
|
enumerable: true,
|
|
@@ -201,6 +248,7 @@ Object.keys(_BarChart).forEach(function (key) {
|
|
|
201
248
|
var _LineChart = require("@mui/x-charts/LineChart");
|
|
202
249
|
Object.keys(_LineChart).forEach(function (key) {
|
|
203
250
|
if (key === "default" || key === "__esModule") return;
|
|
251
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
204
252
|
if (key in exports && exports[key] === _LineChart[key]) return;
|
|
205
253
|
Object.defineProperty(exports, key, {
|
|
206
254
|
enumerable: true,
|
|
@@ -212,6 +260,7 @@ Object.keys(_LineChart).forEach(function (key) {
|
|
|
212
260
|
var _PieChart = require("@mui/x-charts/PieChart");
|
|
213
261
|
Object.keys(_PieChart).forEach(function (key) {
|
|
214
262
|
if (key === "default" || key === "__esModule") return;
|
|
263
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
215
264
|
if (key in exports && exports[key] === _PieChart[key]) return;
|
|
216
265
|
Object.defineProperty(exports, key, {
|
|
217
266
|
enumerable: true,
|
|
@@ -223,6 +272,7 @@ Object.keys(_PieChart).forEach(function (key) {
|
|
|
223
272
|
var _ScatterChart = require("@mui/x-charts/ScatterChart");
|
|
224
273
|
Object.keys(_ScatterChart).forEach(function (key) {
|
|
225
274
|
if (key === "default" || key === "__esModule") return;
|
|
275
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
226
276
|
if (key in exports && exports[key] === _ScatterChart[key]) return;
|
|
227
277
|
Object.defineProperty(exports, key, {
|
|
228
278
|
enumerable: true,
|
|
@@ -234,6 +284,7 @@ Object.keys(_ScatterChart).forEach(function (key) {
|
|
|
234
284
|
var _SparkLineChart = require("@mui/x-charts/SparkLineChart");
|
|
235
285
|
Object.keys(_SparkLineChart).forEach(function (key) {
|
|
236
286
|
if (key === "default" || key === "__esModule") return;
|
|
287
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
237
288
|
if (key in exports && exports[key] === _SparkLineChart[key]) return;
|
|
238
289
|
Object.defineProperty(exports, key, {
|
|
239
290
|
enumerable: true,
|
|
@@ -245,6 +296,7 @@ Object.keys(_SparkLineChart).forEach(function (key) {
|
|
|
245
296
|
var _Gauge = require("@mui/x-charts/Gauge");
|
|
246
297
|
Object.keys(_Gauge).forEach(function (key) {
|
|
247
298
|
if (key === "default" || key === "__esModule") return;
|
|
299
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
248
300
|
if (key in exports && exports[key] === _Gauge[key]) return;
|
|
249
301
|
Object.defineProperty(exports, key, {
|
|
250
302
|
enumerable: true,
|
|
@@ -256,6 +308,7 @@ Object.keys(_Gauge).forEach(function (key) {
|
|
|
256
308
|
var _RadarChart = require("@mui/x-charts/RadarChart");
|
|
257
309
|
Object.keys(_RadarChart).forEach(function (key) {
|
|
258
310
|
if (key === "default" || key === "__esModule") return;
|
|
311
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
259
312
|
if (key in exports && exports[key] === _RadarChart[key]) return;
|
|
260
313
|
Object.defineProperty(exports, key, {
|
|
261
314
|
enumerable: true,
|
|
@@ -267,6 +320,7 @@ Object.keys(_RadarChart).forEach(function (key) {
|
|
|
267
320
|
var _ChartsSurface = require("@mui/x-charts/ChartsSurface");
|
|
268
321
|
Object.keys(_ChartsSurface).forEach(function (key) {
|
|
269
322
|
if (key === "default" || key === "__esModule") return;
|
|
323
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
270
324
|
if (key in exports && exports[key] === _ChartsSurface[key]) return;
|
|
271
325
|
Object.defineProperty(exports, key, {
|
|
272
326
|
enumerable: true,
|
|
@@ -278,6 +332,7 @@ Object.keys(_ChartsSurface).forEach(function (key) {
|
|
|
278
332
|
var _ChartDataProvider = require("@mui/x-charts/ChartDataProvider");
|
|
279
333
|
Object.keys(_ChartDataProvider).forEach(function (key) {
|
|
280
334
|
if (key === "default" || key === "__esModule") return;
|
|
335
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
281
336
|
if (key in exports && exports[key] === _ChartDataProvider[key]) return;
|
|
282
337
|
Object.defineProperty(exports, key, {
|
|
283
338
|
enumerable: true,
|
|
@@ -289,6 +344,7 @@ Object.keys(_ChartDataProvider).forEach(function (key) {
|
|
|
289
344
|
var _ChartsLabel = require("@mui/x-charts/ChartsLabel");
|
|
290
345
|
Object.keys(_ChartsLabel).forEach(function (key) {
|
|
291
346
|
if (key === "default" || key === "__esModule") return;
|
|
347
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
292
348
|
if (key in exports && exports[key] === _ChartsLabel[key]) return;
|
|
293
349
|
Object.defineProperty(exports, key, {
|
|
294
350
|
enumerable: true,
|
|
@@ -297,9 +353,11 @@ Object.keys(_ChartsLabel).forEach(function (key) {
|
|
|
297
353
|
}
|
|
298
354
|
});
|
|
299
355
|
});
|
|
356
|
+
var _internals = require("@mui/x-charts/internals");
|
|
300
357
|
var _hooks2 = require("./hooks");
|
|
301
358
|
Object.keys(_hooks2).forEach(function (key) {
|
|
302
359
|
if (key === "default" || key === "__esModule") return;
|
|
360
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
303
361
|
if (key in exports && exports[key] === _hooks2[key]) return;
|
|
304
362
|
Object.defineProperty(exports, key, {
|
|
305
363
|
enumerable: true,
|
|
@@ -311,6 +369,7 @@ Object.keys(_hooks2).forEach(function (key) {
|
|
|
311
369
|
var _Heatmap = require("./Heatmap");
|
|
312
370
|
Object.keys(_Heatmap).forEach(function (key) {
|
|
313
371
|
if (key === "default" || key === "__esModule") return;
|
|
372
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
314
373
|
if (key in exports && exports[key] === _Heatmap[key]) return;
|
|
315
374
|
Object.defineProperty(exports, key, {
|
|
316
375
|
enumerable: true,
|
|
@@ -322,6 +381,7 @@ Object.keys(_Heatmap).forEach(function (key) {
|
|
|
322
381
|
var _ChartContainerPro = require("./ChartContainerPro");
|
|
323
382
|
Object.keys(_ChartContainerPro).forEach(function (key) {
|
|
324
383
|
if (key === "default" || key === "__esModule") return;
|
|
384
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
325
385
|
if (key in exports && exports[key] === _ChartContainerPro[key]) return;
|
|
326
386
|
Object.defineProperty(exports, key, {
|
|
327
387
|
enumerable: true,
|
|
@@ -333,6 +393,7 @@ Object.keys(_ChartContainerPro).forEach(function (key) {
|
|
|
333
393
|
var _ChartDataProviderPro = require("./ChartDataProviderPro");
|
|
334
394
|
Object.keys(_ChartDataProviderPro).forEach(function (key) {
|
|
335
395
|
if (key === "default" || key === "__esModule") return;
|
|
396
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
336
397
|
if (key in exports && exports[key] === _ChartDataProviderPro[key]) return;
|
|
337
398
|
Object.defineProperty(exports, key, {
|
|
338
399
|
enumerable: true,
|
|
@@ -344,6 +405,7 @@ Object.keys(_ChartDataProviderPro).forEach(function (key) {
|
|
|
344
405
|
var _ScatterChartPro = require("./ScatterChartPro");
|
|
345
406
|
Object.keys(_ScatterChartPro).forEach(function (key) {
|
|
346
407
|
if (key === "default" || key === "__esModule") return;
|
|
408
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
347
409
|
if (key in exports && exports[key] === _ScatterChartPro[key]) return;
|
|
348
410
|
Object.defineProperty(exports, key, {
|
|
349
411
|
enumerable: true,
|
|
@@ -355,6 +417,7 @@ Object.keys(_ScatterChartPro).forEach(function (key) {
|
|
|
355
417
|
var _BarChartPro = require("./BarChartPro");
|
|
356
418
|
Object.keys(_BarChartPro).forEach(function (key) {
|
|
357
419
|
if (key === "default" || key === "__esModule") return;
|
|
420
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
358
421
|
if (key in exports && exports[key] === _BarChartPro[key]) return;
|
|
359
422
|
Object.defineProperty(exports, key, {
|
|
360
423
|
enumerable: true,
|
|
@@ -366,6 +429,7 @@ Object.keys(_BarChartPro).forEach(function (key) {
|
|
|
366
429
|
var _LineChartPro = require("./LineChartPro");
|
|
367
430
|
Object.keys(_LineChartPro).forEach(function (key) {
|
|
368
431
|
if (key === "default" || key === "__esModule") return;
|
|
432
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
369
433
|
if (key in exports && exports[key] === _LineChartPro[key]) return;
|
|
370
434
|
Object.defineProperty(exports, key, {
|
|
371
435
|
enumerable: true,
|
|
@@ -377,6 +441,7 @@ Object.keys(_LineChartPro).forEach(function (key) {
|
|
|
377
441
|
var _FunnelChart = require("./FunnelChart");
|
|
378
442
|
Object.keys(_FunnelChart).forEach(function (key) {
|
|
379
443
|
if (key === "default" || key === "__esModule") return;
|
|
444
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
380
445
|
if (key in exports && exports[key] === _FunnelChart[key]) return;
|
|
381
446
|
Object.defineProperty(exports, key, {
|
|
382
447
|
enumerable: true,
|
|
@@ -384,4 +449,28 @@ Object.keys(_FunnelChart).forEach(function (key) {
|
|
|
384
449
|
return _FunnelChart[key];
|
|
385
450
|
}
|
|
386
451
|
});
|
|
452
|
+
});
|
|
453
|
+
var _ChartZoomSlider = require("./ChartZoomSlider");
|
|
454
|
+
Object.keys(_ChartZoomSlider).forEach(function (key) {
|
|
455
|
+
if (key === "default" || key === "__esModule") return;
|
|
456
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
457
|
+
if (key in exports && exports[key] === _ChartZoomSlider[key]) return;
|
|
458
|
+
Object.defineProperty(exports, key, {
|
|
459
|
+
enumerable: true,
|
|
460
|
+
get: function () {
|
|
461
|
+
return _ChartZoomSlider[key];
|
|
462
|
+
}
|
|
463
|
+
});
|
|
464
|
+
});
|
|
465
|
+
var _ChartsToolbarPro = require("./ChartsToolbarPro");
|
|
466
|
+
Object.keys(_ChartsToolbarPro).forEach(function (key) {
|
|
467
|
+
if (key === "default" || key === "__esModule") return;
|
|
468
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
469
|
+
if (key in exports && exports[key] === _ChartsToolbarPro[key]) return;
|
|
470
|
+
Object.defineProperty(exports, key, {
|
|
471
|
+
enumerable: true,
|
|
472
|
+
get: function () {
|
|
473
|
+
return _ChartsToolbarPro[key];
|
|
474
|
+
}
|
|
475
|
+
});
|
|
387
476
|
});
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.ChartsZoomOutIcon = exports.ChartsZoomInIcon = void 0;
|
|
8
|
+
var React = _interopRequireWildcard(require("react"));
|
|
9
|
+
var _internals = require("@mui/x-charts/internals");
|
|
10
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
11
|
+
const ChartsZoomInIcon = exports.ChartsZoomInIcon = (0, _internals.createSvgIcon)(/*#__PURE__*/(0, _jsxRuntime.jsxs)(React.Fragment, {
|
|
12
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
13
|
+
d: "M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14"
|
|
14
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
15
|
+
d: "M12 10h-2v2H9v-2H7V9h2V7h1v2h2z"
|
|
16
|
+
})]
|
|
17
|
+
}), 'ZoomIn');
|
|
18
|
+
const ChartsZoomOutIcon = exports.ChartsZoomOutIcon = (0, _internals.createSvgIcon)(/*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
19
|
+
d: "M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14M7 9h5v1H7z"
|
|
20
|
+
}), 'ZoomOut');
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.defaultSlotsMaterial = void 0;
|
|
8
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
9
|
+
var _Tooltip = _interopRequireDefault(require("@mui/material/Tooltip"));
|
|
10
|
+
var _internals = require("@mui/x-charts/internals");
|
|
11
|
+
var _icons = require("./icons");
|
|
12
|
+
const baseSlots = {
|
|
13
|
+
baseTooltip: _Tooltip.default
|
|
14
|
+
};
|
|
15
|
+
const iconSlots = {
|
|
16
|
+
zoomInIcon: _icons.ChartsZoomInIcon,
|
|
17
|
+
zoomOutIcon: _icons.ChartsZoomOutIcon
|
|
18
|
+
};
|
|
19
|
+
const defaultSlotsMaterial = exports.defaultSlotsMaterial = (0, _extends2.default)({}, _internals.defaultSlotsMaterial, baseSlots, iconSlots);
|