@mui/x-charts 8.5.2 → 8.6.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/BarChart/AnimatedBarElement.js +3 -1
- package/BarChart/BarLabel/BarLabelPlot.d.ts +2 -2
- package/BarChart/BarLabel/BarLabelPlot.js +33 -25
- package/BarChart/BarPlot.js +55 -40
- package/BarChart/barClasses.d.ts +12 -0
- package/BarChart/barClasses.js +25 -0
- package/BarChart/index.d.ts +3 -1
- package/BarChart/index.js +23 -1
- package/BarChart/types.d.ts +5 -1
- package/CHANGELOG.md +203 -11
- package/ChartsLegend/ChartsLegend.d.ts +1 -0
- package/ChartsLegend/ChartsLegend.js +2 -0
- package/ChartsLegend/ContinuousColorLegend.d.ts +1 -0
- package/ChartsLegend/PiecewiseColorLegend.d.ts +1 -0
- package/ChartsLegend/chartsLegendClasses.d.ts +3 -1
- package/ChartsLegend/chartsLegendClasses.js +2 -1
- package/ChartsSurface/ChartsSurface.d.ts +1 -1
- package/ChartsXAxis/ChartsXAxis.js +4 -108
- package/ChartsXAxis/getVisibleLabels.d.ts +14 -0
- package/ChartsXAxis/getVisibleLabels.js +71 -0
- package/ChartsXAxis/shortenLabels.d.ts +4 -0
- package/ChartsXAxis/shortenLabels.js +48 -0
- package/ChartsYAxis/ChartsYAxis.js +2 -39
- package/ChartsYAxis/shortenLabels.d.ts +4 -0
- package/ChartsYAxis/shortenLabels.js +46 -0
- package/LineChart/AnimatedArea.js +4 -1
- package/LineChart/AnimatedLine.js +4 -1
- package/LineChart/CircleMarkElement.js +4 -1
- package/LineChart/MarkElement.js +4 -1
- package/LineChart/MarkPlot.js +1 -0
- package/PieChart/PieArc.js +3 -1
- package/PieChart/PiePlot.js +6 -0
- package/PieChart/index.d.ts +3 -1
- package/PieChart/index.js +18 -1
- package/PieChart/pieClasses.d.ts +12 -0
- package/PieChart/pieClasses.js +24 -0
- package/ScatterChart/Scatter.d.ts +2 -0
- package/ScatterChart/Scatter.js +9 -1
- package/ScatterChart/index.d.ts +3 -1
- package/ScatterChart/index.js +16 -1
- package/ScatterChart/scatterClasses.d.ts +8 -0
- package/ScatterChart/scatterClasses.js +22 -0
- package/Toolbar/ToolbarButton.js +2 -0
- package/esm/BarChart/AnimatedBarElement.js +3 -1
- package/esm/BarChart/BarLabel/BarLabelPlot.d.ts +2 -2
- package/esm/BarChart/BarLabel/BarLabelPlot.js +33 -25
- package/esm/BarChart/BarPlot.js +55 -40
- package/esm/BarChart/barClasses.d.ts +12 -0
- package/esm/BarChart/barClasses.js +15 -0
- package/esm/BarChart/index.d.ts +3 -1
- package/esm/BarChart/index.js +2 -1
- package/esm/BarChart/types.d.ts +5 -1
- package/esm/ChartsLegend/ChartsLegend.d.ts +1 -0
- package/esm/ChartsLegend/ChartsLegend.js +2 -0
- package/esm/ChartsLegend/ContinuousColorLegend.d.ts +1 -0
- package/esm/ChartsLegend/PiecewiseColorLegend.d.ts +1 -0
- package/esm/ChartsLegend/chartsLegendClasses.d.ts +3 -1
- package/esm/ChartsLegend/chartsLegendClasses.js +2 -1
- package/esm/ChartsSurface/ChartsSurface.d.ts +1 -1
- package/esm/ChartsXAxis/ChartsXAxis.js +2 -106
- package/esm/ChartsXAxis/getVisibleLabels.d.ts +14 -0
- package/esm/ChartsXAxis/getVisibleLabels.js +67 -0
- package/esm/ChartsXAxis/shortenLabels.d.ts +4 -0
- package/esm/ChartsXAxis/shortenLabels.js +42 -0
- package/esm/ChartsYAxis/ChartsYAxis.js +1 -38
- package/esm/ChartsYAxis/shortenLabels.d.ts +4 -0
- package/esm/ChartsYAxis/shortenLabels.js +41 -0
- package/esm/LineChart/AnimatedArea.js +4 -1
- package/esm/LineChart/AnimatedLine.js +4 -1
- package/esm/LineChart/CircleMarkElement.js +4 -1
- package/esm/LineChart/MarkElement.js +4 -1
- package/esm/LineChart/MarkPlot.js +1 -0
- package/esm/PieChart/PieArc.js +3 -1
- package/esm/PieChart/PiePlot.js +6 -0
- package/esm/PieChart/index.d.ts +3 -1
- package/esm/PieChart/index.js +2 -1
- package/esm/PieChart/pieClasses.d.ts +12 -0
- package/esm/PieChart/pieClasses.js +15 -0
- package/esm/ScatterChart/Scatter.d.ts +2 -0
- package/esm/ScatterChart/Scatter.js +9 -1
- package/esm/ScatterChart/index.d.ts +3 -1
- package/esm/ScatterChart/index.js +2 -1
- package/esm/ScatterChart/scatterClasses.d.ts +8 -0
- package/esm/ScatterChart/scatterClasses.js +13 -0
- package/esm/Toolbar/ToolbarButton.js +2 -0
- package/esm/hooks/useItemHighlighted.js +2 -2
- package/esm/index.js +1 -1
- package/esm/internals/components/NotRendered.d.ts +9 -0
- package/esm/internals/components/NotRendered.js +10 -0
- package/esm/internals/createSeriesSelectorOfType.js +2 -2
- package/esm/internals/index.d.ts +1 -0
- package/esm/internals/index.js +1 -0
- package/esm/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.selectors.d.ts +3 -29
- package/esm/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.selectors.js +1 -1
- package/esm/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.js +30 -2
- package/esm/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.selectors.d.ts +14 -724
- package/esm/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.selectors.js +10 -10
- package/esm/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.types.d.ts +8 -2
- package/esm/internals/plugins/corePlugins/useChartId/useChartId.selectors.d.ts +3 -29
- package/esm/internals/plugins/corePlugins/useChartId/useChartId.selectors.js +1 -1
- package/esm/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.d.ts +6 -54
- package/esm/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.js +2 -2
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisSize.selectors.d.ts +12 -208
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisLayout.selectors.d.ts +7 -66
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisLayout.selectors.js +2 -3
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.ts +21 -6222
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.js +4 -6
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianInteraction.selectors.d.ts +50 -5
- package/esm/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.d.ts +18 -622
- package/esm/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.js +3 -3
- package/esm/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.selectors.d.ts +18 -230
- package/esm/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.selectors.js +6 -6
- package/esm/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.js +20 -4
- package/esm/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.selectors.d.ts +17 -2012
- package/esm/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.selectors.js +2 -2
- package/esm/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarInteraction.selectors.d.ts +39 -4
- package/esm/internals/plugins/featurePlugins/useChartVoronoi/useChartVoronoi.selectors.d.ts +3 -27
- package/esm/internals/plugins/featurePlugins/useChartVoronoi/useChartVoronoi.selectors.js +1 -1
- package/esm/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.selectors.d.ts +5 -40
- package/esm/internals/plugins/utils/selectors.d.ts +18 -6
- package/esm/internals/plugins/utils/selectors.js +3 -3
- package/esm/internals/store/useSelector.d.ts +2 -2
- package/esm/internals/store/useSelector.js +2 -2
- package/esm/locales/enUS.d.ts +3 -0
- package/esm/locales/enUS.js +8 -2
- package/esm/locales/frFR.d.ts +3 -0
- package/esm/locales/frFR.js +7 -0
- package/esm/locales/ptBR.d.ts +3 -0
- package/esm/locales/ptBR.js +7 -1
- package/esm/locales/ptPT.d.ts +3 -0
- package/esm/locales/ptPT.js +7 -1
- package/esm/locales/utils/chartsLocaleTextApi.d.ts +17 -0
- package/esm/locales/utils/getChartsLocalization.d.ts +3 -0
- package/esm/locales/utils/imageMimeTypes.d.ts +2 -0
- package/esm/locales/utils/imageMimeTypes.js +5 -0
- package/esm/models/slots/chartsBaseSlotProps.d.ts +4 -0
- package/hooks/useItemHighlighted.js +2 -2
- package/index.js +1 -1
- package/internals/components/NotRendered.d.ts +9 -0
- package/internals/components/NotRendered.js +16 -0
- package/internals/createSeriesSelectorOfType.js +2 -2
- package/internals/index.d.ts +1 -0
- package/internals/index.js +12 -0
- package/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.selectors.d.ts +3 -29
- package/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.selectors.js +1 -1
- package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.js +30 -2
- package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.selectors.d.ts +14 -724
- package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.selectors.js +11 -10
- package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.types.d.ts +8 -2
- package/internals/plugins/corePlugins/useChartId/useChartId.selectors.d.ts +3 -29
- package/internals/plugins/corePlugins/useChartId/useChartId.selectors.js +1 -1
- package/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.d.ts +6 -54
- package/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.js +2 -2
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisSize.selectors.d.ts +12 -208
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisLayout.selectors.d.ts +7 -66
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisLayout.selectors.js +4 -3
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.ts +21 -6222
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.js +4 -6
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianInteraction.selectors.d.ts +50 -5
- package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.d.ts +18 -622
- package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.js +3 -3
- package/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.selectors.d.ts +18 -230
- package/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.selectors.js +6 -6
- package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.js +20 -4
- package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.selectors.d.ts +17 -2012
- package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.selectors.js +2 -2
- package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarInteraction.selectors.d.ts +39 -4
- package/internals/plugins/featurePlugins/useChartVoronoi/useChartVoronoi.selectors.d.ts +3 -27
- package/internals/plugins/featurePlugins/useChartVoronoi/useChartVoronoi.selectors.js +1 -1
- package/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.selectors.d.ts +5 -40
- package/internals/plugins/utils/selectors.d.ts +18 -6
- package/internals/plugins/utils/selectors.js +3 -3
- package/internals/store/useSelector.d.ts +2 -2
- package/internals/store/useSelector.js +2 -2
- package/locales/enUS.d.ts +3 -0
- package/locales/enUS.js +8 -2
- package/locales/frFR.d.ts +3 -0
- package/locales/frFR.js +7 -0
- package/locales/ptBR.d.ts +3 -0
- package/locales/ptBR.js +7 -1
- package/locales/ptPT.d.ts +3 -0
- package/locales/ptPT.js +7 -1
- package/locales/utils/chartsLocaleTextApi.d.ts +17 -0
- package/locales/utils/getChartsLocalization.d.ts +3 -0
- package/locales/utils/imageMimeTypes.d.ts +2 -0
- package/locales/utils/imageMimeTypes.js +11 -0
- package/models/slots/chartsBaseSlotProps.d.ts +4 -0
- package/package.json +3 -3
|
@@ -8,14 +8,15 @@ var _selectors = require("../../utils/selectors");
|
|
|
8
8
|
var _useChartAxisSize = require("../../featurePlugins/useChartCartesianAxis/useChartAxisSize.selectors");
|
|
9
9
|
const selectorChartDimensionsState = state => state.dimensions;
|
|
10
10
|
exports.selectorChartDimensionsState = selectorChartDimensionsState;
|
|
11
|
-
const selectorChartMargin =
|
|
12
|
-
|
|
13
|
-
const
|
|
14
|
-
const
|
|
15
|
-
const
|
|
16
|
-
const
|
|
17
|
-
const
|
|
18
|
-
const
|
|
11
|
+
const selectorChartMargin = state => state.dimensions.margin;
|
|
12
|
+
exports.selectorChartMargin = selectorChartMargin;
|
|
13
|
+
const selectorChartWidth = state => state.dimensions.width;
|
|
14
|
+
const selectorChartHeight = state => state.dimensions.height;
|
|
15
|
+
const selectorChartTopMargin = state => state.dimensions.margin.top;
|
|
16
|
+
const selectorChartRightMargin = state => state.dimensions.margin.right;
|
|
17
|
+
const selectorChartBottomMargin = state => state.dimensions.margin.bottom;
|
|
18
|
+
const selectorChartLeftMargin = state => state.dimensions.margin.left;
|
|
19
|
+
const selectorChartDrawingArea = exports.selectorChartDrawingArea = (0, _selectors.createSelector)([selectorChartWidth, selectorChartHeight, selectorChartTopMargin, selectorChartRightMargin, selectorChartBottomMargin, selectorChartLeftMargin, _useChartAxisSize.selectorChartTopAxisSize, _useChartAxisSize.selectorChartRightAxisSize, _useChartAxisSize.selectorChartBottomAxisSize, _useChartAxisSize.selectorChartLeftAxisSize], (width, height, marginTop, marginRight, marginBottom, marginLeft, axisSizeTop, axisSizeRight, axisSizeBottom, axisSizeLeft) => ({
|
|
19
20
|
width: width - marginLeft - marginRight - axisSizeLeft - axisSizeRight,
|
|
20
21
|
left: marginLeft + axisSizeLeft,
|
|
21
22
|
right: marginRight + axisSizeRight,
|
|
@@ -23,11 +24,11 @@ const selectorChartDrawingArea = exports.selectorChartDrawingArea = (0, _selecto
|
|
|
23
24
|
top: marginTop + axisSizeTop,
|
|
24
25
|
bottom: marginBottom + axisSizeBottom
|
|
25
26
|
}));
|
|
26
|
-
const selectorChartPropsSize = exports.selectorChartPropsSize = (0, _selectors.createSelector)(selectorChartDimensionsState, dimensionsState => ({
|
|
27
|
+
const selectorChartPropsSize = exports.selectorChartPropsSize = (0, _selectors.createSelector)([selectorChartDimensionsState], dimensionsState => ({
|
|
27
28
|
width: dimensionsState.propsWidth,
|
|
28
29
|
height: dimensionsState.propsHeight
|
|
29
30
|
}));
|
|
30
|
-
const selectorChartContainerSize = exports.selectorChartContainerSize = (0, _selectors.createSelector)(selectorChartWidth, selectorChartHeight, (width, height) => ({
|
|
31
|
+
const selectorChartContainerSize = exports.selectorChartContainerSize = (0, _selectors.createSelector)([selectorChartWidth, selectorChartHeight], (width, height) => ({
|
|
31
32
|
width,
|
|
32
33
|
height
|
|
33
34
|
}));
|
|
@@ -63,14 +63,20 @@ export interface UseChartDimensionsState {
|
|
|
63
63
|
};
|
|
64
64
|
}
|
|
65
65
|
export interface UseChartDimensionsInstance {
|
|
66
|
+
/**
|
|
67
|
+
* Checks if an element is inside the drawing area.
|
|
68
|
+
* @param {Element | EventTarget | null} element The element to check.
|
|
69
|
+
* @returns {boolean} `true` if the element is inside the drawing area, `false` otherwise.
|
|
70
|
+
*/
|
|
71
|
+
isElementInside: (element: Element | EventTarget | null | undefined) => boolean;
|
|
66
72
|
/**
|
|
67
73
|
* Checks if a point is inside the drawing area.
|
|
68
74
|
* @param {number} x The x coordinate of the point.
|
|
69
75
|
* @param {number} y The y coordinate of the point.
|
|
70
|
-
* @param {Element} targetElement The element to check if it is allowed to overflow the drawing area.
|
|
76
|
+
* @param {Element | EventTarget | null} targetElement The element to check if it is allowed to overflow the drawing area.
|
|
71
77
|
* @returns {boolean} `true` if the point is inside the drawing area, `false` otherwise.
|
|
72
78
|
*/
|
|
73
|
-
isPointInside: (x: number, y: number, targetElement?: Element) => boolean;
|
|
79
|
+
isPointInside: (x: number, y: number, targetElement?: Element | EventTarget | null) => boolean;
|
|
74
80
|
/**
|
|
75
81
|
* Checks if the x coordinate is inside the drawing area.
|
|
76
82
|
* @param {number} x The x coordinate of the point.
|
|
@@ -1,36 +1,10 @@
|
|
|
1
|
-
import { ChartRootSelector } from "../../utils/selectors.js";
|
|
2
|
-
import { UseChartIdSignature } from "./useChartId.types.js";
|
|
3
1
|
/**
|
|
4
2
|
* Get the id attribute of the chart.
|
|
5
3
|
* @param {ChartState<[UseChartIdSignature]>} state The state of the chart.
|
|
6
4
|
* @returns {string} The id attribute of the chart.
|
|
7
5
|
*/
|
|
8
|
-
export declare const selectorChartId: (
|
|
6
|
+
export declare const selectorChartId: import("reselect").Selector<import("./useChartId.types.js").UseChartIdState & import("../useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & Partial<{}> & {
|
|
9
7
|
cacheKey: import("../../models/index.js").ChartStateCacheKey;
|
|
10
|
-
}) => string | undefined) & {
|
|
11
|
-
clearCache: () => void;
|
|
12
|
-
resultsCount: () => number;
|
|
13
|
-
resetResultsCount: () => void;
|
|
14
8
|
} & {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
providedChartId: string | undefined;
|
|
18
|
-
}) => string | undefined;
|
|
19
|
-
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
20
|
-
chartId: string | undefined;
|
|
21
|
-
providedChartId: string | undefined;
|
|
22
|
-
}) => string | undefined) & {
|
|
23
|
-
clearCache: () => void;
|
|
24
|
-
resultsCount: () => number;
|
|
25
|
-
resetResultsCount: () => void;
|
|
26
|
-
};
|
|
27
|
-
lastResult: () => string | undefined;
|
|
28
|
-
dependencies: [ChartRootSelector<UseChartIdSignature>];
|
|
29
|
-
recomputations: () => number;
|
|
30
|
-
resetRecomputations: () => void;
|
|
31
|
-
dependencyRecomputations: () => number;
|
|
32
|
-
resetDependencyRecomputations: () => void;
|
|
33
|
-
} & {
|
|
34
|
-
memoize: typeof import("reselect").weakMapMemoize;
|
|
35
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
36
|
-
};
|
|
9
|
+
cacheKey: import("../../models/index.js").ChartStateCacheKey;
|
|
10
|
+
}, string | undefined, any[]>;
|
|
@@ -12,4 +12,4 @@ const selectorChartIdState = state => state.id;
|
|
|
12
12
|
* @param {ChartState<[UseChartIdSignature]>} state The state of the chart.
|
|
13
13
|
* @returns {string} The id attribute of the chart.
|
|
14
14
|
*/
|
|
15
|
-
const selectorChartId = exports.selectorChartId = (0, _selectors.createSelector)(selectorChartIdState, idState => idState.chartId);
|
|
15
|
+
const selectorChartId = exports.selectorChartId = (0, _selectors.createSelector)([selectorChartIdState], idState => idState.chartId);
|
|
@@ -1,61 +1,13 @@
|
|
|
1
1
|
import { ChartRootSelector } from "../../utils/selectors.js";
|
|
2
2
|
import { UseChartSeriesSignature } from "./useChartSeries.types.js";
|
|
3
3
|
export declare const selectorChartSeriesState: ChartRootSelector<UseChartSeriesSignature>;
|
|
4
|
-
export declare const selectorChartSeriesProcessed: (
|
|
4
|
+
export declare const selectorChartSeriesProcessed: import("reselect").Selector<import("../useChartId/useChartId.types.js").UseChartIdState & import("../useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("./useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & Partial<{}> & {
|
|
5
5
|
cacheKey: import("../../models/index.js").ChartStateCacheKey;
|
|
6
|
-
}) => import("./useChartSeries.types.js").ProcessedSeries<keyof import("../../../index.js").ChartsSeriesConfig>) & {
|
|
7
|
-
clearCache: () => void;
|
|
8
|
-
resultsCount: () => number;
|
|
9
|
-
resetResultsCount: () => void;
|
|
10
6
|
} & {
|
|
11
|
-
resultFunc: (resultFuncArgs_0: {
|
|
12
|
-
processedSeries: import("./useChartSeries.types.js").ProcessedSeries<keyof import("../../../index.js").ChartsSeriesConfig>;
|
|
13
|
-
seriesConfig: import("../../models/index.js").ChartSeriesConfig<keyof import("../../../index.js").ChartsSeriesConfig>;
|
|
14
|
-
}) => import("./useChartSeries.types.js").ProcessedSeries<keyof import("../../../index.js").ChartsSeriesConfig>;
|
|
15
|
-
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
16
|
-
processedSeries: import("./useChartSeries.types.js").ProcessedSeries<keyof import("../../../index.js").ChartsSeriesConfig>;
|
|
17
|
-
seriesConfig: import("../../models/index.js").ChartSeriesConfig<keyof import("../../../index.js").ChartsSeriesConfig>;
|
|
18
|
-
}) => import("./useChartSeries.types.js").ProcessedSeries<keyof import("../../../index.js").ChartsSeriesConfig>) & {
|
|
19
|
-
clearCache: () => void;
|
|
20
|
-
resultsCount: () => number;
|
|
21
|
-
resetResultsCount: () => void;
|
|
22
|
-
};
|
|
23
|
-
lastResult: () => import("./useChartSeries.types.js").ProcessedSeries<keyof import("../../../index.js").ChartsSeriesConfig>;
|
|
24
|
-
dependencies: [ChartRootSelector<UseChartSeriesSignature>];
|
|
25
|
-
recomputations: () => number;
|
|
26
|
-
resetRecomputations: () => void;
|
|
27
|
-
dependencyRecomputations: () => number;
|
|
28
|
-
resetDependencyRecomputations: () => void;
|
|
29
|
-
} & {
|
|
30
|
-
memoize: typeof import("reselect").weakMapMemoize;
|
|
31
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
32
|
-
};
|
|
33
|
-
export declare const selectorChartSeriesConfig: ((state: import("../useChartId/useChartId.types.js").UseChartIdState & import("../useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("./useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & Partial<{}> & {
|
|
34
7
|
cacheKey: import("../../models/index.js").ChartStateCacheKey;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
resetResultsCount: () => void;
|
|
39
|
-
} & {
|
|
40
|
-
resultFunc: (resultFuncArgs_0: {
|
|
41
|
-
processedSeries: import("./useChartSeries.types.js").ProcessedSeries<keyof import("../../../index.js").ChartsSeriesConfig>;
|
|
42
|
-
seriesConfig: import("../../models/index.js").ChartSeriesConfig<keyof import("../../../index.js").ChartsSeriesConfig>;
|
|
43
|
-
}) => import("../../models/index.js").ChartSeriesConfig<keyof import("../../../index.js").ChartsSeriesConfig>;
|
|
44
|
-
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
45
|
-
processedSeries: import("./useChartSeries.types.js").ProcessedSeries<keyof import("../../../index.js").ChartsSeriesConfig>;
|
|
46
|
-
seriesConfig: import("../../models/index.js").ChartSeriesConfig<keyof import("../../../index.js").ChartsSeriesConfig>;
|
|
47
|
-
}) => import("../../models/index.js").ChartSeriesConfig<keyof import("../../../index.js").ChartsSeriesConfig>) & {
|
|
48
|
-
clearCache: () => void;
|
|
49
|
-
resultsCount: () => number;
|
|
50
|
-
resetResultsCount: () => void;
|
|
51
|
-
};
|
|
52
|
-
lastResult: () => import("../../models/index.js").ChartSeriesConfig<keyof import("../../../index.js").ChartsSeriesConfig>;
|
|
53
|
-
dependencies: [ChartRootSelector<UseChartSeriesSignature>];
|
|
54
|
-
recomputations: () => number;
|
|
55
|
-
resetRecomputations: () => void;
|
|
56
|
-
dependencyRecomputations: () => number;
|
|
57
|
-
resetDependencyRecomputations: () => void;
|
|
8
|
+
}, import("./useChartSeries.types.js").ProcessedSeries<keyof import("../../../index.js").ChartsSeriesConfig>, any[]>;
|
|
9
|
+
export declare const selectorChartSeriesConfig: import("reselect").Selector<import("../useChartId/useChartId.types.js").UseChartIdState & import("../useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("./useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & Partial<{}> & {
|
|
10
|
+
cacheKey: import("../../models/index.js").ChartStateCacheKey;
|
|
58
11
|
} & {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
};
|
|
12
|
+
cacheKey: import("../../models/index.js").ChartStateCacheKey;
|
|
13
|
+
}, import("../../models/index.js").ChartSeriesConfig<keyof import("../../../index.js").ChartsSeriesConfig>, any[]>;
|
|
@@ -7,5 +7,5 @@ exports.selectorChartSeriesState = exports.selectorChartSeriesProcessed = export
|
|
|
7
7
|
var _selectors = require("../../utils/selectors");
|
|
8
8
|
const selectorChartSeriesState = state => state.series;
|
|
9
9
|
exports.selectorChartSeriesState = selectorChartSeriesState;
|
|
10
|
-
const selectorChartSeriesProcessed = exports.selectorChartSeriesProcessed = (0, _selectors.createSelector)(selectorChartSeriesState, seriesState => seriesState.processedSeries);
|
|
11
|
-
const selectorChartSeriesConfig = exports.selectorChartSeriesConfig = (0, _selectors.createSelector)(selectorChartSeriesState, seriesState => seriesState.seriesConfig);
|
|
10
|
+
const selectorChartSeriesProcessed = exports.selectorChartSeriesProcessed = (0, _selectors.createSelector)([selectorChartSeriesState], seriesState => seriesState.processedSeries);
|
|
11
|
+
const selectorChartSeriesConfig = exports.selectorChartSeriesConfig = (0, _selectors.createSelector)([selectorChartSeriesState], seriesState => seriesState.seriesConfig);
|
package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisSize.selectors.d.ts
CHANGED
|
@@ -1,216 +1,20 @@
|
|
|
1
|
-
export declare const selectorChartLeftAxisSize: (
|
|
1
|
+
export declare const selectorChartLeftAxisSize: import("reselect").Selector<import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
|
|
2
2
|
cacheKey: import("../../models/index.js").ChartStateCacheKey;
|
|
3
|
-
}) => number) & {
|
|
4
|
-
clearCache: () => void;
|
|
5
|
-
resultsCount: () => number;
|
|
6
|
-
resetResultsCount: () => void;
|
|
7
3
|
} & {
|
|
8
|
-
resultFunc: (resultFuncArgs_0: import("../../../index.js").DefaultedYAxis[] | undefined) => number;
|
|
9
|
-
memoizedResultFunc: ((resultFuncArgs_0: import("../../../index.js").DefaultedYAxis[] | undefined) => number) & {
|
|
10
|
-
clearCache: () => void;
|
|
11
|
-
resultsCount: () => number;
|
|
12
|
-
resetResultsCount: () => void;
|
|
13
|
-
};
|
|
14
|
-
lastResult: () => number;
|
|
15
|
-
dependencies: [((state: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
|
|
16
|
-
cacheKey: import("../../models/index.js").ChartStateCacheKey;
|
|
17
|
-
}) => import("../../../index.js").DefaultedYAxis[] | undefined) & {
|
|
18
|
-
clearCache: () => void;
|
|
19
|
-
resultsCount: () => number;
|
|
20
|
-
resetResultsCount: () => void;
|
|
21
|
-
} & {
|
|
22
|
-
resultFunc: (resultFuncArgs_0: {
|
|
23
|
-
x: import("../../../index.js").DefaultedXAxis[];
|
|
24
|
-
y: import("../../../index.js").DefaultedYAxis[];
|
|
25
|
-
} | undefined) => import("../../../index.js").DefaultedYAxis[] | undefined;
|
|
26
|
-
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
27
|
-
x: import("../../../index.js").DefaultedXAxis[];
|
|
28
|
-
y: import("../../../index.js").DefaultedYAxis[];
|
|
29
|
-
} | undefined) => import("../../../index.js").DefaultedYAxis[] | undefined) & {
|
|
30
|
-
clearCache: () => void;
|
|
31
|
-
resultsCount: () => number;
|
|
32
|
-
resetResultsCount: () => void;
|
|
33
|
-
};
|
|
34
|
-
lastResult: () => import("../../../index.js").DefaultedYAxis[] | undefined;
|
|
35
|
-
dependencies: [(state: import("../../models/index.js").ChartState<[], [import("./useChartCartesianAxis.types.js").UseChartCartesianAxisSignature]>) => {
|
|
36
|
-
x: import("../../../index.js").DefaultedXAxis[];
|
|
37
|
-
y: import("../../../index.js").DefaultedYAxis[];
|
|
38
|
-
} | undefined];
|
|
39
|
-
recomputations: () => number;
|
|
40
|
-
resetRecomputations: () => void;
|
|
41
|
-
dependencyRecomputations: () => number;
|
|
42
|
-
resetDependencyRecomputations: () => void;
|
|
43
|
-
} & {
|
|
44
|
-
memoize: typeof import("reselect").weakMapMemoize;
|
|
45
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
46
|
-
}];
|
|
47
|
-
recomputations: () => number;
|
|
48
|
-
resetRecomputations: () => void;
|
|
49
|
-
dependencyRecomputations: () => number;
|
|
50
|
-
resetDependencyRecomputations: () => void;
|
|
51
|
-
} & {
|
|
52
|
-
memoize: typeof import("reselect").weakMapMemoize;
|
|
53
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
54
|
-
};
|
|
55
|
-
export declare const selectorChartRightAxisSize: ((state: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
|
|
56
4
|
cacheKey: import("../../models/index.js").ChartStateCacheKey;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
resultsCount: () => number;
|
|
60
|
-
resetResultsCount: () => void;
|
|
61
|
-
} & {
|
|
62
|
-
resultFunc: (resultFuncArgs_0: import("../../../index.js").DefaultedYAxis[] | undefined) => number;
|
|
63
|
-
memoizedResultFunc: ((resultFuncArgs_0: import("../../../index.js").DefaultedYAxis[] | undefined) => number) & {
|
|
64
|
-
clearCache: () => void;
|
|
65
|
-
resultsCount: () => number;
|
|
66
|
-
resetResultsCount: () => void;
|
|
67
|
-
};
|
|
68
|
-
lastResult: () => number;
|
|
69
|
-
dependencies: [((state: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
|
|
70
|
-
cacheKey: import("../../models/index.js").ChartStateCacheKey;
|
|
71
|
-
}) => import("../../../index.js").DefaultedYAxis[] | undefined) & {
|
|
72
|
-
clearCache: () => void;
|
|
73
|
-
resultsCount: () => number;
|
|
74
|
-
resetResultsCount: () => void;
|
|
75
|
-
} & {
|
|
76
|
-
resultFunc: (resultFuncArgs_0: {
|
|
77
|
-
x: import("../../../index.js").DefaultedXAxis[];
|
|
78
|
-
y: import("../../../index.js").DefaultedYAxis[];
|
|
79
|
-
} | undefined) => import("../../../index.js").DefaultedYAxis[] | undefined;
|
|
80
|
-
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
81
|
-
x: import("../../../index.js").DefaultedXAxis[];
|
|
82
|
-
y: import("../../../index.js").DefaultedYAxis[];
|
|
83
|
-
} | undefined) => import("../../../index.js").DefaultedYAxis[] | undefined) & {
|
|
84
|
-
clearCache: () => void;
|
|
85
|
-
resultsCount: () => number;
|
|
86
|
-
resetResultsCount: () => void;
|
|
87
|
-
};
|
|
88
|
-
lastResult: () => import("../../../index.js").DefaultedYAxis[] | undefined;
|
|
89
|
-
dependencies: [(state: import("../../models/index.js").ChartState<[], [import("./useChartCartesianAxis.types.js").UseChartCartesianAxisSignature]>) => {
|
|
90
|
-
x: import("../../../index.js").DefaultedXAxis[];
|
|
91
|
-
y: import("../../../index.js").DefaultedYAxis[];
|
|
92
|
-
} | undefined];
|
|
93
|
-
recomputations: () => number;
|
|
94
|
-
resetRecomputations: () => void;
|
|
95
|
-
dependencyRecomputations: () => number;
|
|
96
|
-
resetDependencyRecomputations: () => void;
|
|
97
|
-
} & {
|
|
98
|
-
memoize: typeof import("reselect").weakMapMemoize;
|
|
99
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
100
|
-
}];
|
|
101
|
-
recomputations: () => number;
|
|
102
|
-
resetRecomputations: () => void;
|
|
103
|
-
dependencyRecomputations: () => number;
|
|
104
|
-
resetDependencyRecomputations: () => void;
|
|
105
|
-
} & {
|
|
106
|
-
memoize: typeof import("reselect").weakMapMemoize;
|
|
107
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
108
|
-
};
|
|
109
|
-
export declare const selectorChartTopAxisSize: ((state: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
|
|
5
|
+
}, number, []>;
|
|
6
|
+
export declare const selectorChartRightAxisSize: import("reselect").Selector<import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
|
|
110
7
|
cacheKey: import("../../models/index.js").ChartStateCacheKey;
|
|
111
|
-
}) => number) & {
|
|
112
|
-
clearCache: () => void;
|
|
113
|
-
resultsCount: () => number;
|
|
114
|
-
resetResultsCount: () => void;
|
|
115
|
-
} & {
|
|
116
|
-
resultFunc: (resultFuncArgs_0: import("../../../index.js").DefaultedXAxis[] | undefined) => number;
|
|
117
|
-
memoizedResultFunc: ((resultFuncArgs_0: import("../../../index.js").DefaultedXAxis[] | undefined) => number) & {
|
|
118
|
-
clearCache: () => void;
|
|
119
|
-
resultsCount: () => number;
|
|
120
|
-
resetResultsCount: () => void;
|
|
121
|
-
};
|
|
122
|
-
lastResult: () => number;
|
|
123
|
-
dependencies: [((state: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
|
|
124
|
-
cacheKey: import("../../models/index.js").ChartStateCacheKey;
|
|
125
|
-
}) => import("../../../index.js").DefaultedXAxis[] | undefined) & {
|
|
126
|
-
clearCache: () => void;
|
|
127
|
-
resultsCount: () => number;
|
|
128
|
-
resetResultsCount: () => void;
|
|
129
|
-
} & {
|
|
130
|
-
resultFunc: (resultFuncArgs_0: {
|
|
131
|
-
x: import("../../../index.js").DefaultedXAxis[];
|
|
132
|
-
y: import("../../../index.js").DefaultedYAxis[];
|
|
133
|
-
} | undefined) => import("../../../index.js").DefaultedXAxis[] | undefined;
|
|
134
|
-
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
135
|
-
x: import("../../../index.js").DefaultedXAxis[];
|
|
136
|
-
y: import("../../../index.js").DefaultedYAxis[];
|
|
137
|
-
} | undefined) => import("../../../index.js").DefaultedXAxis[] | undefined) & {
|
|
138
|
-
clearCache: () => void;
|
|
139
|
-
resultsCount: () => number;
|
|
140
|
-
resetResultsCount: () => void;
|
|
141
|
-
};
|
|
142
|
-
lastResult: () => import("../../../index.js").DefaultedXAxis[] | undefined;
|
|
143
|
-
dependencies: [(state: import("../../models/index.js").ChartState<[], [import("./useChartCartesianAxis.types.js").UseChartCartesianAxisSignature]>) => {
|
|
144
|
-
x: import("../../../index.js").DefaultedXAxis[];
|
|
145
|
-
y: import("../../../index.js").DefaultedYAxis[];
|
|
146
|
-
} | undefined];
|
|
147
|
-
recomputations: () => number;
|
|
148
|
-
resetRecomputations: () => void;
|
|
149
|
-
dependencyRecomputations: () => number;
|
|
150
|
-
resetDependencyRecomputations: () => void;
|
|
151
|
-
} & {
|
|
152
|
-
memoize: typeof import("reselect").weakMapMemoize;
|
|
153
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
154
|
-
}];
|
|
155
|
-
recomputations: () => number;
|
|
156
|
-
resetRecomputations: () => void;
|
|
157
|
-
dependencyRecomputations: () => number;
|
|
158
|
-
resetDependencyRecomputations: () => void;
|
|
159
8
|
} & {
|
|
160
|
-
memoize: typeof import("reselect").weakMapMemoize;
|
|
161
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
162
|
-
};
|
|
163
|
-
export declare const selectorChartBottomAxisSize: ((state: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
|
|
164
9
|
cacheKey: import("../../models/index.js").ChartStateCacheKey;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
resetResultsCount: () => void;
|
|
10
|
+
}, number, []>;
|
|
11
|
+
export declare const selectorChartTopAxisSize: import("reselect").Selector<import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
|
|
12
|
+
cacheKey: import("../../models/index.js").ChartStateCacheKey;
|
|
169
13
|
} & {
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
resetResultsCount: () => void;
|
|
175
|
-
};
|
|
176
|
-
lastResult: () => number;
|
|
177
|
-
dependencies: [((state: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
|
|
178
|
-
cacheKey: import("../../models/index.js").ChartStateCacheKey;
|
|
179
|
-
}) => import("../../../index.js").DefaultedXAxis[] | undefined) & {
|
|
180
|
-
clearCache: () => void;
|
|
181
|
-
resultsCount: () => number;
|
|
182
|
-
resetResultsCount: () => void;
|
|
183
|
-
} & {
|
|
184
|
-
resultFunc: (resultFuncArgs_0: {
|
|
185
|
-
x: import("../../../index.js").DefaultedXAxis[];
|
|
186
|
-
y: import("../../../index.js").DefaultedYAxis[];
|
|
187
|
-
} | undefined) => import("../../../index.js").DefaultedXAxis[] | undefined;
|
|
188
|
-
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
189
|
-
x: import("../../../index.js").DefaultedXAxis[];
|
|
190
|
-
y: import("../../../index.js").DefaultedYAxis[];
|
|
191
|
-
} | undefined) => import("../../../index.js").DefaultedXAxis[] | undefined) & {
|
|
192
|
-
clearCache: () => void;
|
|
193
|
-
resultsCount: () => number;
|
|
194
|
-
resetResultsCount: () => void;
|
|
195
|
-
};
|
|
196
|
-
lastResult: () => import("../../../index.js").DefaultedXAxis[] | undefined;
|
|
197
|
-
dependencies: [(state: import("../../models/index.js").ChartState<[], [import("./useChartCartesianAxis.types.js").UseChartCartesianAxisSignature]>) => {
|
|
198
|
-
x: import("../../../index.js").DefaultedXAxis[];
|
|
199
|
-
y: import("../../../index.js").DefaultedYAxis[];
|
|
200
|
-
} | undefined];
|
|
201
|
-
recomputations: () => number;
|
|
202
|
-
resetRecomputations: () => void;
|
|
203
|
-
dependencyRecomputations: () => number;
|
|
204
|
-
resetDependencyRecomputations: () => void;
|
|
205
|
-
} & {
|
|
206
|
-
memoize: typeof import("reselect").weakMapMemoize;
|
|
207
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
208
|
-
}];
|
|
209
|
-
recomputations: () => number;
|
|
210
|
-
resetRecomputations: () => void;
|
|
211
|
-
dependencyRecomputations: () => number;
|
|
212
|
-
resetDependencyRecomputations: () => void;
|
|
14
|
+
cacheKey: import("../../models/index.js").ChartStateCacheKey;
|
|
15
|
+
}, number, []>;
|
|
16
|
+
export declare const selectorChartBottomAxisSize: import("reselect").Selector<import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
|
|
17
|
+
cacheKey: import("../../models/index.js").ChartStateCacheKey;
|
|
213
18
|
} & {
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
};
|
|
19
|
+
cacheKey: import("../../models/index.js").ChartStateCacheKey;
|
|
20
|
+
}, number, []>;
|
|
@@ -1,70 +1,11 @@
|
|
|
1
1
|
import { UseChartCartesianAxisSignature } from "./useChartCartesianAxis.types.js";
|
|
2
|
+
import { DefaultedXAxis, DefaultedYAxis } from "../../../../models/axis.js";
|
|
2
3
|
import { ChartState } from "../../models/chart.js";
|
|
3
4
|
export declare const selectorChartCartesianAxisState: (state: ChartState<[], [UseChartCartesianAxisSignature]>) => {
|
|
4
|
-
x:
|
|
5
|
-
y:
|
|
5
|
+
x: DefaultedXAxis[];
|
|
6
|
+
y: DefaultedYAxis[];
|
|
6
7
|
} | undefined;
|
|
7
|
-
export
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
resultsCount: () => number;
|
|
12
|
-
resetResultsCount: () => void;
|
|
13
|
-
} & {
|
|
14
|
-
resultFunc: (resultFuncArgs_0: {
|
|
15
|
-
x: import("../../../index.js").DefaultedXAxis[];
|
|
16
|
-
y: import("../../../index.js").DefaultedYAxis[];
|
|
17
|
-
} | undefined) => import("../../../index.js").DefaultedXAxis[] | undefined;
|
|
18
|
-
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
19
|
-
x: import("../../../index.js").DefaultedXAxis[];
|
|
20
|
-
y: import("../../../index.js").DefaultedYAxis[];
|
|
21
|
-
} | undefined) => import("../../../index.js").DefaultedXAxis[] | undefined) & {
|
|
22
|
-
clearCache: () => void;
|
|
23
|
-
resultsCount: () => number;
|
|
24
|
-
resetResultsCount: () => void;
|
|
25
|
-
};
|
|
26
|
-
lastResult: () => import("../../../index.js").DefaultedXAxis[] | undefined;
|
|
27
|
-
dependencies: [(state: ChartState<[], [UseChartCartesianAxisSignature]>) => {
|
|
28
|
-
x: import("../../../index.js").DefaultedXAxis[];
|
|
29
|
-
y: import("../../../index.js").DefaultedYAxis[];
|
|
30
|
-
} | undefined];
|
|
31
|
-
recomputations: () => number;
|
|
32
|
-
resetRecomputations: () => void;
|
|
33
|
-
dependencyRecomputations: () => number;
|
|
34
|
-
resetDependencyRecomputations: () => void;
|
|
35
|
-
} & {
|
|
36
|
-
memoize: typeof import("reselect").weakMapMemoize;
|
|
37
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
38
|
-
};
|
|
39
|
-
export declare const selectorChartRawYAxis: ((state: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
|
|
40
|
-
cacheKey: import("../../models/index.js").ChartStateCacheKey;
|
|
41
|
-
}) => import("../../../index.js").DefaultedYAxis[] | undefined) & {
|
|
42
|
-
clearCache: () => void;
|
|
43
|
-
resultsCount: () => number;
|
|
44
|
-
resetResultsCount: () => void;
|
|
45
|
-
} & {
|
|
46
|
-
resultFunc: (resultFuncArgs_0: {
|
|
47
|
-
x: import("../../../index.js").DefaultedXAxis[];
|
|
48
|
-
y: import("../../../index.js").DefaultedYAxis[];
|
|
49
|
-
} | undefined) => import("../../../index.js").DefaultedYAxis[] | undefined;
|
|
50
|
-
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
51
|
-
x: import("../../../index.js").DefaultedXAxis[];
|
|
52
|
-
y: import("../../../index.js").DefaultedYAxis[];
|
|
53
|
-
} | undefined) => import("../../../index.js").DefaultedYAxis[] | undefined) & {
|
|
54
|
-
clearCache: () => void;
|
|
55
|
-
resultsCount: () => number;
|
|
56
|
-
resetResultsCount: () => void;
|
|
57
|
-
};
|
|
58
|
-
lastResult: () => import("../../../index.js").DefaultedYAxis[] | undefined;
|
|
59
|
-
dependencies: [(state: ChartState<[], [UseChartCartesianAxisSignature]>) => {
|
|
60
|
-
x: import("../../../index.js").DefaultedXAxis[];
|
|
61
|
-
y: import("../../../index.js").DefaultedYAxis[];
|
|
62
|
-
} | undefined];
|
|
63
|
-
recomputations: () => number;
|
|
64
|
-
resetRecomputations: () => void;
|
|
65
|
-
dependencyRecomputations: () => number;
|
|
66
|
-
resetDependencyRecomputations: () => void;
|
|
67
|
-
} & {
|
|
68
|
-
memoize: typeof import("reselect").weakMapMemoize;
|
|
69
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
70
|
-
};
|
|
8
|
+
export type SelectorChartRawXAxisType = <State extends ChartState<[], [UseChartCartesianAxisSignature]>>(state: State) => DefaultedXAxis[] | undefined;
|
|
9
|
+
export declare const selectorChartRawXAxis: SelectorChartRawXAxisType;
|
|
10
|
+
export type SelectorChartRawYAxisType = <State extends ChartState<[], [UseChartCartesianAxisSignature]>>(state: State) => DefaultedYAxis[] | undefined;
|
|
11
|
+
export declare const selectorChartRawYAxis: SelectorChartRawYAxisType;
|
|
@@ -4,8 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.selectorChartRawYAxis = exports.selectorChartRawXAxis = exports.selectorChartCartesianAxisState = void 0;
|
|
7
|
-
var _selectors = require("../../utils/selectors");
|
|
8
7
|
const selectorChartCartesianAxisState = state => state.cartesianAxis;
|
|
9
8
|
exports.selectorChartCartesianAxisState = selectorChartCartesianAxisState;
|
|
10
|
-
const selectorChartRawXAxis =
|
|
11
|
-
|
|
9
|
+
const selectorChartRawXAxis = state => state.cartesianAxis?.x;
|
|
10
|
+
exports.selectorChartRawXAxis = selectorChartRawXAxis;
|
|
11
|
+
const selectorChartRawYAxis = state => state.cartesianAxis?.y;
|
|
12
|
+
exports.selectorChartRawYAxis = selectorChartRawYAxis;
|