@mui/x-charts 8.0.0-alpha.12 → 8.0.0-alpha.13
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/BarChart.d.ts +1 -1
- package/BarChart/BarChart.js +14 -30
- package/BarChart/useBarChartProps.js +3 -18
- package/CHANGELOG.md +299 -0
- package/ChartContainer/ChartContainer.d.ts +1 -1
- package/ChartContainer/ChartContainer.js +15 -7
- package/ChartDataProvider/ChartDataProvider.d.ts +2 -2
- package/ChartDataProvider/ChartDataProvider.js +4 -3
- package/ChartsAxis/ChartsAxis.d.ts +1 -25
- package/ChartsAxis/ChartsAxis.js +25 -87
- package/ChartsAxis/axisClasses.d.ts +5 -1
- package/ChartsLabel/ChartsLabelMark.d.ts +6 -1
- package/ChartsLabel/ChartsLabelMark.js +15 -2
- package/ChartsLabel/index.d.ts +1 -1
- package/ChartsLabel/labelGradientClasses.d.ts +1 -1
- package/ChartsLabel/labelMarkClasses.d.ts +1 -1
- package/ChartsLabel/labelMarkClasses.js +1 -1
- package/ChartsLegend/chartsLegendClasses.d.ts +1 -1
- package/ChartsLegend/continuousColorLegendClasses.d.ts +1 -1
- package/ChartsLegend/piecewiseColorLegendClasses.d.ts +1 -1
- package/ChartsReferenceLine/ChartsXReferenceLine.d.ts +1 -1
- package/ChartsReferenceLine/ChartsYReferenceLine.d.ts +1 -1
- package/ChartsTooltip/ChartsTooltipTable.js +1 -1
- package/ChartsTooltip/chartsTooltipClasses.d.ts +1 -1
- package/ChartsXAxis/ChartsXAxis.js +70 -57
- package/ChartsYAxis/ChartsYAxis.js +11 -15
- package/Gauge/Gauge.js +4 -3
- package/Gauge/GaugeContainer.js +7 -5
- package/LineChart/LineChart.d.ts +1 -1
- package/LineChart/LineChart.js +14 -30
- package/LineChart/useLineChartProps.js +2 -17
- package/PieChart/PieArcLabelPlot.js +1 -1
- package/PieChart/PieArcPlot.js +1 -1
- package/PieChart/PieChart.d.ts +1 -1
- package/PieChart/PieChart.js +6 -4
- package/ScatterChart/ScatterChart.d.ts +1 -1
- package/ScatterChart/ScatterChart.js +14 -30
- package/ScatterChart/useScatterChartProps.js +2 -17
- package/SparkLineChart/SparkLineChart.d.ts +4 -8
- package/SparkLineChart/SparkLineChart.js +23 -21
- package/constants/index.d.ts +8 -1
- package/constants/index.js +13 -6
- package/context/AnimationProvider/useSkipAnimation.js +1 -1
- package/context/ChartProvider/ChartProvider.types.d.ts +6 -6
- package/context/PolarProvider/Polar.types.d.ts +3 -2
- package/esm/BarChart/BarChart.d.ts +1 -1
- package/esm/BarChart/BarChart.js +14 -30
- package/esm/BarChart/useBarChartProps.js +3 -18
- package/esm/ChartContainer/ChartContainer.d.ts +1 -1
- package/esm/ChartContainer/ChartContainer.js +15 -7
- package/esm/ChartDataProvider/ChartDataProvider.d.ts +2 -2
- package/esm/ChartDataProvider/ChartDataProvider.js +4 -3
- package/esm/ChartsAxis/ChartsAxis.d.ts +1 -25
- package/esm/ChartsAxis/ChartsAxis.js +24 -86
- package/esm/ChartsAxis/axisClasses.d.ts +5 -1
- package/esm/ChartsLabel/ChartsLabelMark.d.ts +6 -1
- package/esm/ChartsLabel/ChartsLabelMark.js +15 -2
- package/esm/ChartsLabel/index.d.ts +1 -1
- package/esm/ChartsLabel/index.js +0 -3
- package/esm/ChartsLabel/labelGradientClasses.d.ts +1 -1
- package/esm/ChartsLabel/labelMarkClasses.d.ts +1 -1
- package/esm/ChartsLabel/labelMarkClasses.js +1 -1
- package/esm/ChartsLegend/chartsLegendClasses.d.ts +1 -1
- package/esm/ChartsLegend/continuousColorLegendClasses.d.ts +1 -1
- package/esm/ChartsLegend/piecewiseColorLegendClasses.d.ts +1 -1
- package/esm/ChartsReferenceLine/ChartsXReferenceLine.d.ts +1 -1
- package/esm/ChartsReferenceLine/ChartsYReferenceLine.d.ts +1 -1
- package/esm/ChartsTooltip/ChartsTooltipTable.js +1 -1
- package/esm/ChartsTooltip/chartsTooltipClasses.d.ts +1 -1
- package/esm/ChartsXAxis/ChartsXAxis.js +70 -57
- package/esm/ChartsYAxis/ChartsYAxis.js +12 -16
- package/esm/Gauge/Gauge.js +4 -3
- package/esm/Gauge/GaugeContainer.js +7 -5
- package/esm/LineChart/LineChart.d.ts +1 -1
- package/esm/LineChart/LineChart.js +14 -30
- package/esm/LineChart/useLineChartProps.js +2 -17
- package/esm/PieChart/PieArcLabelPlot.js +1 -1
- package/esm/PieChart/PieArcPlot.js +1 -1
- package/esm/PieChart/PieChart.d.ts +1 -1
- package/esm/PieChart/PieChart.js +6 -4
- package/esm/ScatterChart/ScatterChart.d.ts +1 -1
- package/esm/ScatterChart/ScatterChart.js +14 -30
- package/esm/ScatterChart/useScatterChartProps.js +2 -17
- package/esm/SparkLineChart/SparkLineChart.d.ts +4 -8
- package/esm/SparkLineChart/SparkLineChart.js +23 -21
- package/esm/constants/index.d.ts +8 -1
- package/esm/constants/index.js +12 -5
- package/esm/context/AnimationProvider/useSkipAnimation.js +1 -1
- package/esm/context/ChartProvider/ChartProvider.types.d.ts +6 -6
- package/esm/context/PolarProvider/Polar.types.d.ts +3 -2
- package/esm/hooks/useAxis.d.ts +2 -2
- package/esm/hooks/useAxis.js +1 -1
- package/esm/hooks/useSvgRef.js +1 -1
- package/esm/index.js +1 -1
- package/esm/internals/defaultizeColor.d.ts +23 -23
- package/esm/internals/defaultizeMargin.d.ts +3 -0
- package/esm/internals/defaultizeMargin.js +15 -0
- package/esm/internals/domUtils.js +1 -0
- package/esm/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.d.ts +1 -1
- package/esm/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.js +52 -31
- package/esm/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.selectors.d.ts +549 -105
- package/esm/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.selectors.js +19 -18
- package/esm/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.types.d.ts +7 -16
- package/esm/internals/plugins/corePlugins/useChartSeries/processSeries.d.ts +2 -2
- package/esm/internals/plugins/corePlugins/useChartSeries/useChartSeries.js +2 -3
- package/esm/internals/plugins/corePlugins/useChartSeries/useChartSeries.types.d.ts +3 -3
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.d.ts +1 -1
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.js +7 -2
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/createAxisFilterMapper.d.ts +13 -15
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/createAxisFilterMapper.js +37 -35
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeAxis.d.ts +3 -36
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeAxis.js +37 -9
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/index.d.ts +1 -1
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/index.js +1 -1
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisSize.selectors.d.ts +216 -0
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisSize.selectors.js +6 -0
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.js +15 -14
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.types.d.ts +15 -13
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisLayout.selectors.d.ts +70 -0
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisLayout.selectors.js +4 -0
- package/{internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.selectors.d.ts → esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.ts} +1815 -911
- package/{modern/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.selectors.js → esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.js} +4 -6
- package/esm/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.d.ts +86 -130
- package/esm/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.js +2 -2
- package/esm/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.selectors.d.ts +188 -71
- package/esm/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.selectors.js +9 -4
- package/esm/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.types.d.ts +2 -2
- package/esm/internals/plugins/models/plugin.d.ts +1 -1
- package/esm/internals/plugins/models/seriesConfig/seriesProcessor.types.d.ts +1 -1
- package/esm/internals/plugins/utils/ChartStore.d.ts +7 -7
- package/esm/internals/plugins/utils/selectors.d.ts +1 -0
- package/esm/internals/store/useCharts.js +0 -8
- package/esm/internals/store/useSelector.d.ts +1 -1
- package/esm/internals/store/useSelector.js +4 -1
- package/esm/internals/store/useStore.js +1 -1
- package/esm/models/axis.d.ts +56 -10
- package/esm/models/colorMapping.d.ts +1 -1
- package/esm/models/index.d.ts +0 -1
- package/esm/models/index.js +0 -1
- package/esm/models/seriesType/bar.d.ts +1 -1
- package/esm/models/seriesType/config.d.ts +1 -1
- package/esm/models/seriesType/line.d.ts +1 -1
- package/esm/models/seriesType/pie.d.ts +1 -1
- package/esm/models/seriesType/scatter.d.ts +1 -1
- package/esm/models/z-axis.d.ts +1 -1
- package/hooks/useAxis.d.ts +2 -2
- package/hooks/useAxis.js +5 -5
- package/hooks/useSvgRef.js +1 -1
- package/index.js +1 -1
- package/internals/defaultizeColor.d.ts +23 -23
- package/internals/defaultizeMargin.d.ts +3 -0
- package/internals/defaultizeMargin.js +22 -0
- package/internals/domUtils.js +1 -0
- package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.d.ts +1 -1
- package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.js +51 -30
- package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.selectors.d.ts +549 -105
- package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.selectors.js +20 -19
- package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.types.d.ts +7 -16
- package/internals/plugins/corePlugins/useChartSeries/processSeries.d.ts +2 -2
- package/internals/plugins/corePlugins/useChartSeries/useChartSeries.js +2 -3
- package/internals/plugins/corePlugins/useChartSeries/useChartSeries.types.d.ts +3 -3
- package/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.d.ts +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.js +7 -2
- package/internals/plugins/featurePlugins/useChartCartesianAxis/createAxisFilterMapper.d.ts +13 -15
- package/internals/plugins/featurePlugins/useChartCartesianAxis/createAxisFilterMapper.js +39 -37
- package/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeAxis.d.ts +3 -36
- package/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeAxis.js +36 -8
- package/internals/plugins/featurePlugins/useChartCartesianAxis/index.d.ts +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/index.js +4 -4
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisSize.selectors.d.ts +216 -0
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisSize.selectors.js +12 -0
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.js +16 -15
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.types.d.ts +15 -13
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisLayout.selectors.d.ts +70 -0
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisLayout.selectors.js +11 -0
- package/{modern/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.selectors.d.ts → internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.ts} +1815 -911
- package/internals/plugins/featurePlugins/useChartCartesianAxis/{useChartCartesianAxis.selectors.js → useChartCartesianAxisRendering.selectors.js} +10 -13
- package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.d.ts +86 -130
- package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.js +2 -2
- package/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.selectors.d.ts +188 -71
- package/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.selectors.js +10 -5
- package/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.types.d.ts +2 -2
- package/internals/plugins/models/plugin.d.ts +1 -1
- package/internals/plugins/models/seriesConfig/seriesProcessor.types.d.ts +1 -1
- package/internals/plugins/utils/ChartStore.d.ts +7 -7
- package/internals/plugins/utils/selectors.d.ts +1 -0
- package/internals/store/useCharts.js +0 -8
- package/internals/store/useSelector.d.ts +1 -1
- package/internals/store/useSelector.js +5 -1
- package/internals/store/useStore.js +1 -1
- package/models/axis.d.ts +56 -10
- package/models/colorMapping.d.ts +1 -1
- package/models/index.d.ts +0 -1
- package/models/index.js +0 -11
- package/models/seriesType/bar.d.ts +1 -1
- package/models/seriesType/config.d.ts +1 -1
- package/models/seriesType/line.d.ts +1 -1
- package/models/seriesType/pie.d.ts +1 -1
- package/models/seriesType/scatter.d.ts +1 -1
- package/models/z-axis.d.ts +1 -1
- package/modern/BarChart/BarChart.d.ts +1 -1
- package/modern/BarChart/BarChart.js +14 -30
- package/modern/BarChart/useBarChartProps.js +3 -18
- package/modern/ChartContainer/ChartContainer.d.ts +1 -1
- package/modern/ChartContainer/ChartContainer.js +15 -7
- package/modern/ChartDataProvider/ChartDataProvider.d.ts +2 -2
- package/modern/ChartDataProvider/ChartDataProvider.js +4 -3
- package/modern/ChartsAxis/ChartsAxis.d.ts +1 -25
- package/modern/ChartsAxis/ChartsAxis.js +24 -86
- package/modern/ChartsAxis/axisClasses.d.ts +5 -1
- package/modern/ChartsLabel/ChartsLabelMark.d.ts +6 -1
- package/modern/ChartsLabel/ChartsLabelMark.js +15 -2
- package/modern/ChartsLabel/index.d.ts +1 -1
- package/modern/ChartsLabel/index.js +0 -3
- package/modern/ChartsLabel/labelGradientClasses.d.ts +1 -1
- package/modern/ChartsLabel/labelMarkClasses.d.ts +1 -1
- package/modern/ChartsLabel/labelMarkClasses.js +1 -1
- package/modern/ChartsLegend/chartsLegendClasses.d.ts +1 -1
- package/modern/ChartsLegend/continuousColorLegendClasses.d.ts +1 -1
- package/modern/ChartsLegend/piecewiseColorLegendClasses.d.ts +1 -1
- package/modern/ChartsReferenceLine/ChartsXReferenceLine.d.ts +1 -1
- package/modern/ChartsReferenceLine/ChartsYReferenceLine.d.ts +1 -1
- package/modern/ChartsTooltip/ChartsTooltipTable.js +1 -1
- package/modern/ChartsTooltip/chartsTooltipClasses.d.ts +1 -1
- package/modern/ChartsXAxis/ChartsXAxis.js +70 -57
- package/modern/ChartsYAxis/ChartsYAxis.js +12 -16
- package/modern/Gauge/Gauge.js +4 -3
- package/modern/Gauge/GaugeContainer.js +7 -5
- package/modern/LineChart/LineChart.d.ts +1 -1
- package/modern/LineChart/LineChart.js +14 -30
- package/modern/LineChart/useLineChartProps.js +2 -17
- package/modern/PieChart/PieArcLabelPlot.js +1 -1
- package/modern/PieChart/PieArcPlot.js +1 -1
- package/modern/PieChart/PieChart.d.ts +1 -1
- package/modern/PieChart/PieChart.js +6 -4
- package/modern/ScatterChart/ScatterChart.d.ts +1 -1
- package/modern/ScatterChart/ScatterChart.js +14 -30
- package/modern/ScatterChart/useScatterChartProps.js +2 -17
- package/modern/SparkLineChart/SparkLineChart.d.ts +4 -8
- package/modern/SparkLineChart/SparkLineChart.js +23 -21
- package/modern/constants/index.d.ts +8 -1
- package/modern/constants/index.js +12 -5
- package/modern/context/AnimationProvider/useSkipAnimation.js +1 -1
- package/modern/context/ChartProvider/ChartProvider.types.d.ts +6 -6
- package/modern/context/PolarProvider/Polar.types.d.ts +3 -2
- package/modern/hooks/useAxis.d.ts +2 -2
- package/modern/hooks/useAxis.js +1 -1
- package/modern/hooks/useSvgRef.js +1 -1
- package/modern/index.js +1 -1
- package/modern/internals/defaultizeColor.d.ts +23 -23
- package/modern/internals/defaultizeMargin.d.ts +3 -0
- package/modern/internals/defaultizeMargin.js +15 -0
- package/modern/internals/domUtils.js +1 -0
- package/modern/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.d.ts +1 -1
- package/modern/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.js +52 -31
- package/modern/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.selectors.d.ts +549 -105
- package/modern/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.selectors.js +19 -18
- package/modern/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.types.d.ts +7 -16
- package/modern/internals/plugins/corePlugins/useChartSeries/processSeries.d.ts +2 -2
- package/modern/internals/plugins/corePlugins/useChartSeries/useChartSeries.js +2 -3
- package/modern/internals/plugins/corePlugins/useChartSeries/useChartSeries.types.d.ts +3 -3
- package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.d.ts +1 -1
- package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.js +7 -2
- package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/createAxisFilterMapper.d.ts +13 -15
- package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/createAxisFilterMapper.js +37 -35
- package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeAxis.d.ts +3 -36
- package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeAxis.js +37 -9
- package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/index.d.ts +1 -1
- package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/index.js +1 -1
- package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisSize.selectors.d.ts +216 -0
- package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisSize.selectors.js +6 -0
- package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.js +15 -14
- package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.types.d.ts +15 -13
- package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisLayout.selectors.d.ts +70 -0
- package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisLayout.selectors.js +4 -0
- package/{esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.selectors.d.ts → modern/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.ts} +1815 -911
- package/{esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.selectors.js → modern/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.js} +4 -6
- package/modern/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.d.ts +86 -130
- package/modern/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.js +2 -2
- package/modern/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.selectors.d.ts +188 -71
- package/modern/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.selectors.js +9 -4
- package/modern/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.types.d.ts +2 -2
- package/modern/internals/plugins/models/plugin.d.ts +1 -1
- package/modern/internals/plugins/models/seriesConfig/seriesProcessor.types.d.ts +1 -1
- package/modern/internals/plugins/utils/ChartStore.d.ts +7 -7
- package/modern/internals/plugins/utils/selectors.d.ts +1 -0
- package/modern/internals/store/useCharts.js +0 -8
- package/modern/internals/store/useSelector.d.ts +1 -1
- package/modern/internals/store/useSelector.js +4 -1
- package/modern/internals/store/useStore.js +1 -1
- package/modern/models/axis.d.ts +56 -10
- package/modern/models/colorMapping.d.ts +1 -1
- package/modern/models/index.d.ts +0 -1
- package/modern/models/index.js +0 -1
- package/modern/models/seriesType/bar.d.ts +1 -1
- package/modern/models/seriesType/config.d.ts +1 -1
- package/modern/models/seriesType/line.d.ts +1 -1
- package/modern/models/seriesType/pie.d.ts +1 -1
- package/modern/models/seriesType/scatter.d.ts +1 -1
- package/modern/models/z-axis.d.ts +1 -1
- package/package.json +3 -3
- package/tsconfig.build.tsbuildinfo +1 -1
- package/esm/internals/calculateMargins.d.ts +0 -7
- package/esm/internals/calculateMargins.js +0 -25
- package/esm/models/layout.d.ts +0 -18
- package/esm/models/layout.js +0 -1
- package/internals/calculateMargins.d.ts +0 -7
- package/internals/calculateMargins.js +0 -33
- package/models/layout.d.ts +0 -18
- package/models/layout.js +0 -5
- package/modern/internals/calculateMargins.d.ts +0 -7
- package/modern/internals/calculateMargins.js +0 -25
- package/modern/models/layout.d.ts +0 -18
- package/modern/models/layout.js +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ChartRootSelector } from "../../utils/selectors.js";
|
|
2
|
-
import { UseChartDimensionsSignature } from
|
|
2
|
+
import type { UseChartDimensionsSignature } from './useChartDimensions.types';
|
|
3
3
|
export declare const selectorChartDimensionsState: ChartRootSelector<UseChartDimensionsSignature>;
|
|
4
4
|
export declare const selectorChartDrawingArea: ((state: import("../useChartId/useChartId.types").UseChartIdState & import("./useChartDimensions.types").UseChartDimensionsState & import("../useChartSeries/useChartSeries.types").UseChartSeriesState<keyof import("../../..").ChartsSeriesConfig> & Partial<{}> & {
|
|
5
5
|
cacheKey: import("../../models").ChartStateCacheKey;
|
|
6
|
-
}) => {
|
|
6
|
+
} & Partial<import("../../..").UseChartCartesianAxisState>) => {
|
|
7
7
|
width: number;
|
|
8
8
|
left: number;
|
|
9
9
|
right: number;
|
|
@@ -15,16 +15,7 @@ export declare const selectorChartDrawingArea: ((state: import("../useChartId/us
|
|
|
15
15
|
resultsCount: () => number;
|
|
16
16
|
resetResultsCount: () => void;
|
|
17
17
|
} & {
|
|
18
|
-
resultFunc: (resultFuncArgs_0: {
|
|
19
|
-
left: number;
|
|
20
|
-
top: number;
|
|
21
|
-
bottom: number;
|
|
22
|
-
right: number;
|
|
23
|
-
width: number;
|
|
24
|
-
height: number;
|
|
25
|
-
propsWidth: number | undefined;
|
|
26
|
-
propsHeight: number | undefined;
|
|
27
|
-
}) => {
|
|
18
|
+
resultFunc: (resultFuncArgs_0: number, resultFuncArgs_1: number, resultFuncArgs_2: number, resultFuncArgs_3: number, resultFuncArgs_4: number, resultFuncArgs_5: number, resultFuncArgs_6: number, resultFuncArgs_7: number, resultFuncArgs_8: number, resultFuncArgs_9: number) => {
|
|
28
19
|
width: number;
|
|
29
20
|
left: number;
|
|
30
21
|
right: number;
|
|
@@ -32,16 +23,7 @@ export declare const selectorChartDrawingArea: ((state: import("../useChartId/us
|
|
|
32
23
|
top: number;
|
|
33
24
|
bottom: number;
|
|
34
25
|
};
|
|
35
|
-
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
36
|
-
left: number;
|
|
37
|
-
top: number;
|
|
38
|
-
bottom: number;
|
|
39
|
-
right: number;
|
|
40
|
-
width: number;
|
|
41
|
-
height: number;
|
|
42
|
-
propsWidth: number | undefined;
|
|
43
|
-
propsHeight: number | undefined;
|
|
44
|
-
}) => {
|
|
26
|
+
memoizedResultFunc: ((resultFuncArgs_0: number, resultFuncArgs_1: number, resultFuncArgs_2: number, resultFuncArgs_3: number, resultFuncArgs_4: number, resultFuncArgs_5: number, resultFuncArgs_6: number, resultFuncArgs_7: number, resultFuncArgs_8: number, resultFuncArgs_9: number) => {
|
|
45
27
|
width: number;
|
|
46
28
|
left: number;
|
|
47
29
|
right: number;
|
|
@@ -61,7 +43,511 @@ export declare const selectorChartDrawingArea: ((state: import("../useChartId/us
|
|
|
61
43
|
top: number;
|
|
62
44
|
bottom: number;
|
|
63
45
|
};
|
|
64
|
-
dependencies: [
|
|
46
|
+
dependencies: [((state: import("../useChartId/useChartId.types").UseChartIdState & import("./useChartDimensions.types").UseChartDimensionsState & import("../useChartSeries/useChartSeries.types").UseChartSeriesState<keyof import("../../..").ChartsSeriesConfig> & Partial<{}> & {
|
|
47
|
+
cacheKey: import("../../models").ChartStateCacheKey;
|
|
48
|
+
}) => number) & {
|
|
49
|
+
clearCache: () => void;
|
|
50
|
+
resultsCount: () => number;
|
|
51
|
+
resetResultsCount: () => void;
|
|
52
|
+
} & {
|
|
53
|
+
resultFunc: (resultFuncArgs_0: {
|
|
54
|
+
margin: import("./useChartDimensions.types").ChartMargin;
|
|
55
|
+
width: number;
|
|
56
|
+
height: number;
|
|
57
|
+
propsWidth: number | undefined;
|
|
58
|
+
propsHeight: number | undefined;
|
|
59
|
+
}) => number;
|
|
60
|
+
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
61
|
+
margin: import("./useChartDimensions.types").ChartMargin;
|
|
62
|
+
width: number;
|
|
63
|
+
height: number;
|
|
64
|
+
propsWidth: number | undefined;
|
|
65
|
+
propsHeight: number | undefined;
|
|
66
|
+
}) => number) & {
|
|
67
|
+
clearCache: () => void;
|
|
68
|
+
resultsCount: () => number;
|
|
69
|
+
resetResultsCount: () => void;
|
|
70
|
+
};
|
|
71
|
+
lastResult: () => number;
|
|
72
|
+
dependencies: [ChartRootSelector<UseChartDimensionsSignature>];
|
|
73
|
+
recomputations: () => number;
|
|
74
|
+
resetRecomputations: () => void;
|
|
75
|
+
dependencyRecomputations: () => number;
|
|
76
|
+
resetDependencyRecomputations: () => void;
|
|
77
|
+
} & {
|
|
78
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
79
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
80
|
+
}, ((state: import("../useChartId/useChartId.types").UseChartIdState & import("./useChartDimensions.types").UseChartDimensionsState & import("../useChartSeries/useChartSeries.types").UseChartSeriesState<keyof import("../../..").ChartsSeriesConfig> & Partial<{}> & {
|
|
81
|
+
cacheKey: import("../../models").ChartStateCacheKey;
|
|
82
|
+
}) => number) & {
|
|
83
|
+
clearCache: () => void;
|
|
84
|
+
resultsCount: () => number;
|
|
85
|
+
resetResultsCount: () => void;
|
|
86
|
+
} & {
|
|
87
|
+
resultFunc: (resultFuncArgs_0: {
|
|
88
|
+
margin: import("./useChartDimensions.types").ChartMargin;
|
|
89
|
+
width: number;
|
|
90
|
+
height: number;
|
|
91
|
+
propsWidth: number | undefined;
|
|
92
|
+
propsHeight: number | undefined;
|
|
93
|
+
}) => number;
|
|
94
|
+
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
95
|
+
margin: import("./useChartDimensions.types").ChartMargin;
|
|
96
|
+
width: number;
|
|
97
|
+
height: number;
|
|
98
|
+
propsWidth: number | undefined;
|
|
99
|
+
propsHeight: number | undefined;
|
|
100
|
+
}) => number) & {
|
|
101
|
+
clearCache: () => void;
|
|
102
|
+
resultsCount: () => number;
|
|
103
|
+
resetResultsCount: () => void;
|
|
104
|
+
};
|
|
105
|
+
lastResult: () => number;
|
|
106
|
+
dependencies: [ChartRootSelector<UseChartDimensionsSignature>];
|
|
107
|
+
recomputations: () => number;
|
|
108
|
+
resetRecomputations: () => void;
|
|
109
|
+
dependencyRecomputations: () => number;
|
|
110
|
+
resetDependencyRecomputations: () => void;
|
|
111
|
+
} & {
|
|
112
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
113
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
114
|
+
}, ((state: import("../useChartId/useChartId.types").UseChartIdState & import("./useChartDimensions.types").UseChartDimensionsState & import("../useChartSeries/useChartSeries.types").UseChartSeriesState<keyof import("../../..").ChartsSeriesConfig> & Partial<{}> & {
|
|
115
|
+
cacheKey: import("../../models").ChartStateCacheKey;
|
|
116
|
+
}) => number) & {
|
|
117
|
+
clearCache: () => void;
|
|
118
|
+
resultsCount: () => number;
|
|
119
|
+
resetResultsCount: () => void;
|
|
120
|
+
} & {
|
|
121
|
+
resultFunc: (resultFuncArgs_0: import("./useChartDimensions.types").ChartMargin) => number;
|
|
122
|
+
memoizedResultFunc: ((resultFuncArgs_0: import("./useChartDimensions.types").ChartMargin) => number) & {
|
|
123
|
+
clearCache: () => void;
|
|
124
|
+
resultsCount: () => number;
|
|
125
|
+
resetResultsCount: () => void;
|
|
126
|
+
};
|
|
127
|
+
lastResult: () => number;
|
|
128
|
+
dependencies: [((state: import("../useChartId/useChartId.types").UseChartIdState & import("./useChartDimensions.types").UseChartDimensionsState & import("../useChartSeries/useChartSeries.types").UseChartSeriesState<keyof import("../../..").ChartsSeriesConfig> & Partial<{}> & {
|
|
129
|
+
cacheKey: import("../../models").ChartStateCacheKey;
|
|
130
|
+
}) => import("./useChartDimensions.types").ChartMargin) & {
|
|
131
|
+
clearCache: () => void;
|
|
132
|
+
resultsCount: () => number;
|
|
133
|
+
resetResultsCount: () => void;
|
|
134
|
+
} & {
|
|
135
|
+
resultFunc: (resultFuncArgs_0: {
|
|
136
|
+
margin: import("./useChartDimensions.types").ChartMargin;
|
|
137
|
+
width: number;
|
|
138
|
+
height: number;
|
|
139
|
+
propsWidth: number | undefined;
|
|
140
|
+
propsHeight: number | undefined;
|
|
141
|
+
}) => import("./useChartDimensions.types").ChartMargin;
|
|
142
|
+
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
143
|
+
margin: import("./useChartDimensions.types").ChartMargin;
|
|
144
|
+
width: number;
|
|
145
|
+
height: number;
|
|
146
|
+
propsWidth: number | undefined;
|
|
147
|
+
propsHeight: number | undefined;
|
|
148
|
+
}) => import("./useChartDimensions.types").ChartMargin) & {
|
|
149
|
+
clearCache: () => void;
|
|
150
|
+
resultsCount: () => number;
|
|
151
|
+
resetResultsCount: () => void;
|
|
152
|
+
};
|
|
153
|
+
lastResult: () => import("./useChartDimensions.types").ChartMargin;
|
|
154
|
+
dependencies: [ChartRootSelector<UseChartDimensionsSignature>];
|
|
155
|
+
recomputations: () => number;
|
|
156
|
+
resetRecomputations: () => void;
|
|
157
|
+
dependencyRecomputations: () => number;
|
|
158
|
+
resetDependencyRecomputations: () => void;
|
|
159
|
+
} & {
|
|
160
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
161
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
162
|
+
}];
|
|
163
|
+
recomputations: () => number;
|
|
164
|
+
resetRecomputations: () => void;
|
|
165
|
+
dependencyRecomputations: () => number;
|
|
166
|
+
resetDependencyRecomputations: () => void;
|
|
167
|
+
} & {
|
|
168
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
169
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
170
|
+
}, ((state: import("../useChartId/useChartId.types").UseChartIdState & import("./useChartDimensions.types").UseChartDimensionsState & import("../useChartSeries/useChartSeries.types").UseChartSeriesState<keyof import("../../..").ChartsSeriesConfig> & Partial<{}> & {
|
|
171
|
+
cacheKey: import("../../models").ChartStateCacheKey;
|
|
172
|
+
}) => number) & {
|
|
173
|
+
clearCache: () => void;
|
|
174
|
+
resultsCount: () => number;
|
|
175
|
+
resetResultsCount: () => void;
|
|
176
|
+
} & {
|
|
177
|
+
resultFunc: (resultFuncArgs_0: import("./useChartDimensions.types").ChartMargin) => number;
|
|
178
|
+
memoizedResultFunc: ((resultFuncArgs_0: import("./useChartDimensions.types").ChartMargin) => number) & {
|
|
179
|
+
clearCache: () => void;
|
|
180
|
+
resultsCount: () => number;
|
|
181
|
+
resetResultsCount: () => void;
|
|
182
|
+
};
|
|
183
|
+
lastResult: () => number;
|
|
184
|
+
dependencies: [((state: import("../useChartId/useChartId.types").UseChartIdState & import("./useChartDimensions.types").UseChartDimensionsState & import("../useChartSeries/useChartSeries.types").UseChartSeriesState<keyof import("../../..").ChartsSeriesConfig> & Partial<{}> & {
|
|
185
|
+
cacheKey: import("../../models").ChartStateCacheKey;
|
|
186
|
+
}) => import("./useChartDimensions.types").ChartMargin) & {
|
|
187
|
+
clearCache: () => void;
|
|
188
|
+
resultsCount: () => number;
|
|
189
|
+
resetResultsCount: () => void;
|
|
190
|
+
} & {
|
|
191
|
+
resultFunc: (resultFuncArgs_0: {
|
|
192
|
+
margin: import("./useChartDimensions.types").ChartMargin;
|
|
193
|
+
width: number;
|
|
194
|
+
height: number;
|
|
195
|
+
propsWidth: number | undefined;
|
|
196
|
+
propsHeight: number | undefined;
|
|
197
|
+
}) => import("./useChartDimensions.types").ChartMargin;
|
|
198
|
+
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
199
|
+
margin: import("./useChartDimensions.types").ChartMargin;
|
|
200
|
+
width: number;
|
|
201
|
+
height: number;
|
|
202
|
+
propsWidth: number | undefined;
|
|
203
|
+
propsHeight: number | undefined;
|
|
204
|
+
}) => import("./useChartDimensions.types").ChartMargin) & {
|
|
205
|
+
clearCache: () => void;
|
|
206
|
+
resultsCount: () => number;
|
|
207
|
+
resetResultsCount: () => void;
|
|
208
|
+
};
|
|
209
|
+
lastResult: () => import("./useChartDimensions.types").ChartMargin;
|
|
210
|
+
dependencies: [ChartRootSelector<UseChartDimensionsSignature>];
|
|
211
|
+
recomputations: () => number;
|
|
212
|
+
resetRecomputations: () => void;
|
|
213
|
+
dependencyRecomputations: () => number;
|
|
214
|
+
resetDependencyRecomputations: () => void;
|
|
215
|
+
} & {
|
|
216
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
217
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
218
|
+
}];
|
|
219
|
+
recomputations: () => number;
|
|
220
|
+
resetRecomputations: () => void;
|
|
221
|
+
dependencyRecomputations: () => number;
|
|
222
|
+
resetDependencyRecomputations: () => void;
|
|
223
|
+
} & {
|
|
224
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
225
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
226
|
+
}, ((state: import("../useChartId/useChartId.types").UseChartIdState & import("./useChartDimensions.types").UseChartDimensionsState & import("../useChartSeries/useChartSeries.types").UseChartSeriesState<keyof import("../../..").ChartsSeriesConfig> & Partial<{}> & {
|
|
227
|
+
cacheKey: import("../../models").ChartStateCacheKey;
|
|
228
|
+
}) => number) & {
|
|
229
|
+
clearCache: () => void;
|
|
230
|
+
resultsCount: () => number;
|
|
231
|
+
resetResultsCount: () => void;
|
|
232
|
+
} & {
|
|
233
|
+
resultFunc: (resultFuncArgs_0: import("./useChartDimensions.types").ChartMargin) => number;
|
|
234
|
+
memoizedResultFunc: ((resultFuncArgs_0: import("./useChartDimensions.types").ChartMargin) => number) & {
|
|
235
|
+
clearCache: () => void;
|
|
236
|
+
resultsCount: () => number;
|
|
237
|
+
resetResultsCount: () => void;
|
|
238
|
+
};
|
|
239
|
+
lastResult: () => number;
|
|
240
|
+
dependencies: [((state: import("../useChartId/useChartId.types").UseChartIdState & import("./useChartDimensions.types").UseChartDimensionsState & import("../useChartSeries/useChartSeries.types").UseChartSeriesState<keyof import("../../..").ChartsSeriesConfig> & Partial<{}> & {
|
|
241
|
+
cacheKey: import("../../models").ChartStateCacheKey;
|
|
242
|
+
}) => import("./useChartDimensions.types").ChartMargin) & {
|
|
243
|
+
clearCache: () => void;
|
|
244
|
+
resultsCount: () => number;
|
|
245
|
+
resetResultsCount: () => void;
|
|
246
|
+
} & {
|
|
247
|
+
resultFunc: (resultFuncArgs_0: {
|
|
248
|
+
margin: import("./useChartDimensions.types").ChartMargin;
|
|
249
|
+
width: number;
|
|
250
|
+
height: number;
|
|
251
|
+
propsWidth: number | undefined;
|
|
252
|
+
propsHeight: number | undefined;
|
|
253
|
+
}) => import("./useChartDimensions.types").ChartMargin;
|
|
254
|
+
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
255
|
+
margin: import("./useChartDimensions.types").ChartMargin;
|
|
256
|
+
width: number;
|
|
257
|
+
height: number;
|
|
258
|
+
propsWidth: number | undefined;
|
|
259
|
+
propsHeight: number | undefined;
|
|
260
|
+
}) => import("./useChartDimensions.types").ChartMargin) & {
|
|
261
|
+
clearCache: () => void;
|
|
262
|
+
resultsCount: () => number;
|
|
263
|
+
resetResultsCount: () => void;
|
|
264
|
+
};
|
|
265
|
+
lastResult: () => import("./useChartDimensions.types").ChartMargin;
|
|
266
|
+
dependencies: [ChartRootSelector<UseChartDimensionsSignature>];
|
|
267
|
+
recomputations: () => number;
|
|
268
|
+
resetRecomputations: () => void;
|
|
269
|
+
dependencyRecomputations: () => number;
|
|
270
|
+
resetDependencyRecomputations: () => void;
|
|
271
|
+
} & {
|
|
272
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
273
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
274
|
+
}];
|
|
275
|
+
recomputations: () => number;
|
|
276
|
+
resetRecomputations: () => void;
|
|
277
|
+
dependencyRecomputations: () => number;
|
|
278
|
+
resetDependencyRecomputations: () => void;
|
|
279
|
+
} & {
|
|
280
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
281
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
282
|
+
}, ((state: import("../useChartId/useChartId.types").UseChartIdState & import("./useChartDimensions.types").UseChartDimensionsState & import("../useChartSeries/useChartSeries.types").UseChartSeriesState<keyof import("../../..").ChartsSeriesConfig> & Partial<{}> & {
|
|
283
|
+
cacheKey: import("../../models").ChartStateCacheKey;
|
|
284
|
+
}) => number) & {
|
|
285
|
+
clearCache: () => void;
|
|
286
|
+
resultsCount: () => number;
|
|
287
|
+
resetResultsCount: () => void;
|
|
288
|
+
} & {
|
|
289
|
+
resultFunc: (resultFuncArgs_0: import("./useChartDimensions.types").ChartMargin) => number;
|
|
290
|
+
memoizedResultFunc: ((resultFuncArgs_0: import("./useChartDimensions.types").ChartMargin) => number) & {
|
|
291
|
+
clearCache: () => void;
|
|
292
|
+
resultsCount: () => number;
|
|
293
|
+
resetResultsCount: () => void;
|
|
294
|
+
};
|
|
295
|
+
lastResult: () => number;
|
|
296
|
+
dependencies: [((state: import("../useChartId/useChartId.types").UseChartIdState & import("./useChartDimensions.types").UseChartDimensionsState & import("../useChartSeries/useChartSeries.types").UseChartSeriesState<keyof import("../../..").ChartsSeriesConfig> & Partial<{}> & {
|
|
297
|
+
cacheKey: import("../../models").ChartStateCacheKey;
|
|
298
|
+
}) => import("./useChartDimensions.types").ChartMargin) & {
|
|
299
|
+
clearCache: () => void;
|
|
300
|
+
resultsCount: () => number;
|
|
301
|
+
resetResultsCount: () => void;
|
|
302
|
+
} & {
|
|
303
|
+
resultFunc: (resultFuncArgs_0: {
|
|
304
|
+
margin: import("./useChartDimensions.types").ChartMargin;
|
|
305
|
+
width: number;
|
|
306
|
+
height: number;
|
|
307
|
+
propsWidth: number | undefined;
|
|
308
|
+
propsHeight: number | undefined;
|
|
309
|
+
}) => import("./useChartDimensions.types").ChartMargin;
|
|
310
|
+
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
311
|
+
margin: import("./useChartDimensions.types").ChartMargin;
|
|
312
|
+
width: number;
|
|
313
|
+
height: number;
|
|
314
|
+
propsWidth: number | undefined;
|
|
315
|
+
propsHeight: number | undefined;
|
|
316
|
+
}) => import("./useChartDimensions.types").ChartMargin) & {
|
|
317
|
+
clearCache: () => void;
|
|
318
|
+
resultsCount: () => number;
|
|
319
|
+
resetResultsCount: () => void;
|
|
320
|
+
};
|
|
321
|
+
lastResult: () => import("./useChartDimensions.types").ChartMargin;
|
|
322
|
+
dependencies: [ChartRootSelector<UseChartDimensionsSignature>];
|
|
323
|
+
recomputations: () => number;
|
|
324
|
+
resetRecomputations: () => void;
|
|
325
|
+
dependencyRecomputations: () => number;
|
|
326
|
+
resetDependencyRecomputations: () => void;
|
|
327
|
+
} & {
|
|
328
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
329
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
330
|
+
}];
|
|
331
|
+
recomputations: () => number;
|
|
332
|
+
resetRecomputations: () => void;
|
|
333
|
+
dependencyRecomputations: () => number;
|
|
334
|
+
resetDependencyRecomputations: () => void;
|
|
335
|
+
} & {
|
|
336
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
337
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
338
|
+
}, ((state: import("../useChartId/useChartId.types").UseChartIdState & import("./useChartDimensions.types").UseChartDimensionsState & import("../useChartSeries/useChartSeries.types").UseChartSeriesState<keyof import("../../..").ChartsSeriesConfig> & Partial<import("../../..").UseChartCartesianAxisState> & {
|
|
339
|
+
cacheKey: import("../../models").ChartStateCacheKey;
|
|
340
|
+
}) => number) & {
|
|
341
|
+
clearCache: () => void;
|
|
342
|
+
resultsCount: () => number;
|
|
343
|
+
resetResultsCount: () => void;
|
|
344
|
+
} & {
|
|
345
|
+
resultFunc: (resultFuncArgs_0: import("../../..").AxisConfig<keyof import("../../..").AxisScaleConfig, any, import("../../..").ChartsXAxisProps>[] | undefined) => number;
|
|
346
|
+
memoizedResultFunc: ((resultFuncArgs_0: import("../../..").AxisConfig<keyof import("../../..").AxisScaleConfig, any, import("../../..").ChartsXAxisProps>[] | undefined) => number) & {
|
|
347
|
+
clearCache: () => void;
|
|
348
|
+
resultsCount: () => number;
|
|
349
|
+
resetResultsCount: () => void;
|
|
350
|
+
};
|
|
351
|
+
lastResult: () => number;
|
|
352
|
+
dependencies: [((state: import("../useChartId/useChartId.types").UseChartIdState & import("./useChartDimensions.types").UseChartDimensionsState & import("../useChartSeries/useChartSeries.types").UseChartSeriesState<keyof import("../../..").ChartsSeriesConfig> & Partial<import("../../..").UseChartCartesianAxisState> & {
|
|
353
|
+
cacheKey: import("../../models").ChartStateCacheKey;
|
|
354
|
+
}) => import("../../..").AxisConfig<keyof import("../../..").AxisScaleConfig, any, import("../../..").ChartsXAxisProps>[] | undefined) & {
|
|
355
|
+
clearCache: () => void;
|
|
356
|
+
resultsCount: () => number;
|
|
357
|
+
resetResultsCount: () => void;
|
|
358
|
+
} & {
|
|
359
|
+
resultFunc: (resultFuncArgs_0: {
|
|
360
|
+
x: import("../../..").AxisConfig<import("../../..").ScaleName, any, import("../../..").ChartsXAxisProps>[];
|
|
361
|
+
y: import("../../..").AxisConfig<import("../../..").ScaleName, any, import("../../..").ChartsYAxisProps>[];
|
|
362
|
+
} | undefined) => import("../../..").AxisConfig<keyof import("../../..").AxisScaleConfig, any, import("../../..").ChartsXAxisProps>[] | undefined;
|
|
363
|
+
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
364
|
+
x: import("../../..").AxisConfig<import("../../..").ScaleName, any, import("../../..").ChartsXAxisProps>[];
|
|
365
|
+
y: import("../../..").AxisConfig<import("../../..").ScaleName, any, import("../../..").ChartsYAxisProps>[];
|
|
366
|
+
} | undefined) => import("../../..").AxisConfig<keyof import("../../..").AxisScaleConfig, any, import("../../..").ChartsXAxisProps>[] | undefined) & {
|
|
367
|
+
clearCache: () => void;
|
|
368
|
+
resultsCount: () => number;
|
|
369
|
+
resetResultsCount: () => void;
|
|
370
|
+
};
|
|
371
|
+
lastResult: () => import("../../..").AxisConfig<keyof import("../../..").AxisScaleConfig, any, import("../../..").ChartsXAxisProps>[] | undefined;
|
|
372
|
+
dependencies: [(state: import("../../models").ChartState<[], [import("../../..").UseChartCartesianAxisSignature]>) => {
|
|
373
|
+
x: import("../../..").AxisConfig<import("../../..").ScaleName, any, import("../../..").ChartsXAxisProps>[];
|
|
374
|
+
y: import("../../..").AxisConfig<import("../../..").ScaleName, any, import("../../..").ChartsYAxisProps>[];
|
|
375
|
+
} | undefined];
|
|
376
|
+
recomputations: () => number;
|
|
377
|
+
resetRecomputations: () => void;
|
|
378
|
+
dependencyRecomputations: () => number;
|
|
379
|
+
resetDependencyRecomputations: () => void;
|
|
380
|
+
} & {
|
|
381
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
382
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
383
|
+
}];
|
|
384
|
+
recomputations: () => number;
|
|
385
|
+
resetRecomputations: () => void;
|
|
386
|
+
dependencyRecomputations: () => number;
|
|
387
|
+
resetDependencyRecomputations: () => void;
|
|
388
|
+
} & {
|
|
389
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
390
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
391
|
+
}, ((state: import("../useChartId/useChartId.types").UseChartIdState & import("./useChartDimensions.types").UseChartDimensionsState & import("../useChartSeries/useChartSeries.types").UseChartSeriesState<keyof import("../../..").ChartsSeriesConfig> & Partial<import("../../..").UseChartCartesianAxisState> & {
|
|
392
|
+
cacheKey: import("../../models").ChartStateCacheKey;
|
|
393
|
+
}) => number) & {
|
|
394
|
+
clearCache: () => void;
|
|
395
|
+
resultsCount: () => number;
|
|
396
|
+
resetResultsCount: () => void;
|
|
397
|
+
} & {
|
|
398
|
+
resultFunc: (resultFuncArgs_0: import("../../..").AxisConfig<keyof import("../../..").AxisScaleConfig, any, import("../../..").ChartsYAxisProps>[] | undefined) => number;
|
|
399
|
+
memoizedResultFunc: ((resultFuncArgs_0: import("../../..").AxisConfig<keyof import("../../..").AxisScaleConfig, any, import("../../..").ChartsYAxisProps>[] | undefined) => number) & {
|
|
400
|
+
clearCache: () => void;
|
|
401
|
+
resultsCount: () => number;
|
|
402
|
+
resetResultsCount: () => void;
|
|
403
|
+
};
|
|
404
|
+
lastResult: () => number;
|
|
405
|
+
dependencies: [((state: import("../useChartId/useChartId.types").UseChartIdState & import("./useChartDimensions.types").UseChartDimensionsState & import("../useChartSeries/useChartSeries.types").UseChartSeriesState<keyof import("../../..").ChartsSeriesConfig> & Partial<import("../../..").UseChartCartesianAxisState> & {
|
|
406
|
+
cacheKey: import("../../models").ChartStateCacheKey;
|
|
407
|
+
}) => import("../../..").AxisConfig<keyof import("../../..").AxisScaleConfig, any, import("../../..").ChartsYAxisProps>[] | undefined) & {
|
|
408
|
+
clearCache: () => void;
|
|
409
|
+
resultsCount: () => number;
|
|
410
|
+
resetResultsCount: () => void;
|
|
411
|
+
} & {
|
|
412
|
+
resultFunc: (resultFuncArgs_0: {
|
|
413
|
+
x: import("../../..").AxisConfig<import("../../..").ScaleName, any, import("../../..").ChartsXAxisProps>[];
|
|
414
|
+
y: import("../../..").AxisConfig<import("../../..").ScaleName, any, import("../../..").ChartsYAxisProps>[];
|
|
415
|
+
} | undefined) => import("../../..").AxisConfig<keyof import("../../..").AxisScaleConfig, any, import("../../..").ChartsYAxisProps>[] | undefined;
|
|
416
|
+
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
417
|
+
x: import("../../..").AxisConfig<import("../../..").ScaleName, any, import("../../..").ChartsXAxisProps>[];
|
|
418
|
+
y: import("../../..").AxisConfig<import("../../..").ScaleName, any, import("../../..").ChartsYAxisProps>[];
|
|
419
|
+
} | undefined) => import("../../..").AxisConfig<keyof import("../../..").AxisScaleConfig, any, import("../../..").ChartsYAxisProps>[] | undefined) & {
|
|
420
|
+
clearCache: () => void;
|
|
421
|
+
resultsCount: () => number;
|
|
422
|
+
resetResultsCount: () => void;
|
|
423
|
+
};
|
|
424
|
+
lastResult: () => import("../../..").AxisConfig<keyof import("../../..").AxisScaleConfig, any, import("../../..").ChartsYAxisProps>[] | undefined;
|
|
425
|
+
dependencies: [(state: import("../../models").ChartState<[], [import("../../..").UseChartCartesianAxisSignature]>) => {
|
|
426
|
+
x: import("../../..").AxisConfig<import("../../..").ScaleName, any, import("../../..").ChartsXAxisProps>[];
|
|
427
|
+
y: import("../../..").AxisConfig<import("../../..").ScaleName, any, import("../../..").ChartsYAxisProps>[];
|
|
428
|
+
} | undefined];
|
|
429
|
+
recomputations: () => number;
|
|
430
|
+
resetRecomputations: () => void;
|
|
431
|
+
dependencyRecomputations: () => number;
|
|
432
|
+
resetDependencyRecomputations: () => void;
|
|
433
|
+
} & {
|
|
434
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
435
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
436
|
+
}];
|
|
437
|
+
recomputations: () => number;
|
|
438
|
+
resetRecomputations: () => void;
|
|
439
|
+
dependencyRecomputations: () => number;
|
|
440
|
+
resetDependencyRecomputations: () => void;
|
|
441
|
+
} & {
|
|
442
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
443
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
444
|
+
}, ((state: import("../useChartId/useChartId.types").UseChartIdState & import("./useChartDimensions.types").UseChartDimensionsState & import("../useChartSeries/useChartSeries.types").UseChartSeriesState<keyof import("../../..").ChartsSeriesConfig> & Partial<import("../../..").UseChartCartesianAxisState> & {
|
|
445
|
+
cacheKey: import("../../models").ChartStateCacheKey;
|
|
446
|
+
}) => number) & {
|
|
447
|
+
clearCache: () => void;
|
|
448
|
+
resultsCount: () => number;
|
|
449
|
+
resetResultsCount: () => void;
|
|
450
|
+
} & {
|
|
451
|
+
resultFunc: (resultFuncArgs_0: import("../../..").AxisConfig<keyof import("../../..").AxisScaleConfig, any, import("../../..").ChartsXAxisProps>[] | undefined) => number;
|
|
452
|
+
memoizedResultFunc: ((resultFuncArgs_0: import("../../..").AxisConfig<keyof import("../../..").AxisScaleConfig, any, import("../../..").ChartsXAxisProps>[] | undefined) => number) & {
|
|
453
|
+
clearCache: () => void;
|
|
454
|
+
resultsCount: () => number;
|
|
455
|
+
resetResultsCount: () => void;
|
|
456
|
+
};
|
|
457
|
+
lastResult: () => number;
|
|
458
|
+
dependencies: [((state: import("../useChartId/useChartId.types").UseChartIdState & import("./useChartDimensions.types").UseChartDimensionsState & import("../useChartSeries/useChartSeries.types").UseChartSeriesState<keyof import("../../..").ChartsSeriesConfig> & Partial<import("../../..").UseChartCartesianAxisState> & {
|
|
459
|
+
cacheKey: import("../../models").ChartStateCacheKey;
|
|
460
|
+
}) => import("../../..").AxisConfig<keyof import("../../..").AxisScaleConfig, any, import("../../..").ChartsXAxisProps>[] | undefined) & {
|
|
461
|
+
clearCache: () => void;
|
|
462
|
+
resultsCount: () => number;
|
|
463
|
+
resetResultsCount: () => void;
|
|
464
|
+
} & {
|
|
465
|
+
resultFunc: (resultFuncArgs_0: {
|
|
466
|
+
x: import("../../..").AxisConfig<import("../../..").ScaleName, any, import("../../..").ChartsXAxisProps>[];
|
|
467
|
+
y: import("../../..").AxisConfig<import("../../..").ScaleName, any, import("../../..").ChartsYAxisProps>[];
|
|
468
|
+
} | undefined) => import("../../..").AxisConfig<keyof import("../../..").AxisScaleConfig, any, import("../../..").ChartsXAxisProps>[] | undefined;
|
|
469
|
+
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
470
|
+
x: import("../../..").AxisConfig<import("../../..").ScaleName, any, import("../../..").ChartsXAxisProps>[];
|
|
471
|
+
y: import("../../..").AxisConfig<import("../../..").ScaleName, any, import("../../..").ChartsYAxisProps>[];
|
|
472
|
+
} | undefined) => import("../../..").AxisConfig<keyof import("../../..").AxisScaleConfig, any, import("../../..").ChartsXAxisProps>[] | undefined) & {
|
|
473
|
+
clearCache: () => void;
|
|
474
|
+
resultsCount: () => number;
|
|
475
|
+
resetResultsCount: () => void;
|
|
476
|
+
};
|
|
477
|
+
lastResult: () => import("../../..").AxisConfig<keyof import("../../..").AxisScaleConfig, any, import("../../..").ChartsXAxisProps>[] | undefined;
|
|
478
|
+
dependencies: [(state: import("../../models").ChartState<[], [import("../../..").UseChartCartesianAxisSignature]>) => {
|
|
479
|
+
x: import("../../..").AxisConfig<import("../../..").ScaleName, any, import("../../..").ChartsXAxisProps>[];
|
|
480
|
+
y: import("../../..").AxisConfig<import("../../..").ScaleName, any, import("../../..").ChartsYAxisProps>[];
|
|
481
|
+
} | undefined];
|
|
482
|
+
recomputations: () => number;
|
|
483
|
+
resetRecomputations: () => void;
|
|
484
|
+
dependencyRecomputations: () => number;
|
|
485
|
+
resetDependencyRecomputations: () => void;
|
|
486
|
+
} & {
|
|
487
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
488
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
489
|
+
}];
|
|
490
|
+
recomputations: () => number;
|
|
491
|
+
resetRecomputations: () => void;
|
|
492
|
+
dependencyRecomputations: () => number;
|
|
493
|
+
resetDependencyRecomputations: () => void;
|
|
494
|
+
} & {
|
|
495
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
496
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
497
|
+
}, ((state: import("../useChartId/useChartId.types").UseChartIdState & import("./useChartDimensions.types").UseChartDimensionsState & import("../useChartSeries/useChartSeries.types").UseChartSeriesState<keyof import("../../..").ChartsSeriesConfig> & Partial<import("../../..").UseChartCartesianAxisState> & {
|
|
498
|
+
cacheKey: import("../../models").ChartStateCacheKey;
|
|
499
|
+
}) => number) & {
|
|
500
|
+
clearCache: () => void;
|
|
501
|
+
resultsCount: () => number;
|
|
502
|
+
resetResultsCount: () => void;
|
|
503
|
+
} & {
|
|
504
|
+
resultFunc: (resultFuncArgs_0: import("../../..").AxisConfig<keyof import("../../..").AxisScaleConfig, any, import("../../..").ChartsYAxisProps>[] | undefined) => number;
|
|
505
|
+
memoizedResultFunc: ((resultFuncArgs_0: import("../../..").AxisConfig<keyof import("../../..").AxisScaleConfig, any, import("../../..").ChartsYAxisProps>[] | undefined) => number) & {
|
|
506
|
+
clearCache: () => void;
|
|
507
|
+
resultsCount: () => number;
|
|
508
|
+
resetResultsCount: () => void;
|
|
509
|
+
};
|
|
510
|
+
lastResult: () => number;
|
|
511
|
+
dependencies: [((state: import("../useChartId/useChartId.types").UseChartIdState & import("./useChartDimensions.types").UseChartDimensionsState & import("../useChartSeries/useChartSeries.types").UseChartSeriesState<keyof import("../../..").ChartsSeriesConfig> & Partial<import("../../..").UseChartCartesianAxisState> & {
|
|
512
|
+
cacheKey: import("../../models").ChartStateCacheKey;
|
|
513
|
+
}) => import("../../..").AxisConfig<keyof import("../../..").AxisScaleConfig, any, import("../../..").ChartsYAxisProps>[] | undefined) & {
|
|
514
|
+
clearCache: () => void;
|
|
515
|
+
resultsCount: () => number;
|
|
516
|
+
resetResultsCount: () => void;
|
|
517
|
+
} & {
|
|
518
|
+
resultFunc: (resultFuncArgs_0: {
|
|
519
|
+
x: import("../../..").AxisConfig<import("../../..").ScaleName, any, import("../../..").ChartsXAxisProps>[];
|
|
520
|
+
y: import("../../..").AxisConfig<import("../../..").ScaleName, any, import("../../..").ChartsYAxisProps>[];
|
|
521
|
+
} | undefined) => import("../../..").AxisConfig<keyof import("../../..").AxisScaleConfig, any, import("../../..").ChartsYAxisProps>[] | undefined;
|
|
522
|
+
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
523
|
+
x: import("../../..").AxisConfig<import("../../..").ScaleName, any, import("../../..").ChartsXAxisProps>[];
|
|
524
|
+
y: import("../../..").AxisConfig<import("../../..").ScaleName, any, import("../../..").ChartsYAxisProps>[];
|
|
525
|
+
} | undefined) => import("../../..").AxisConfig<keyof import("../../..").AxisScaleConfig, any, import("../../..").ChartsYAxisProps>[] | undefined) & {
|
|
526
|
+
clearCache: () => void;
|
|
527
|
+
resultsCount: () => number;
|
|
528
|
+
resetResultsCount: () => void;
|
|
529
|
+
};
|
|
530
|
+
lastResult: () => import("../../..").AxisConfig<keyof import("../../..").AxisScaleConfig, any, import("../../..").ChartsYAxisProps>[] | undefined;
|
|
531
|
+
dependencies: [(state: import("../../models").ChartState<[], [import("../../..").UseChartCartesianAxisSignature]>) => {
|
|
532
|
+
x: import("../../..").AxisConfig<import("../../..").ScaleName, any, import("../../..").ChartsXAxisProps>[];
|
|
533
|
+
y: import("../../..").AxisConfig<import("../../..").ScaleName, any, import("../../..").ChartsYAxisProps>[];
|
|
534
|
+
} | undefined];
|
|
535
|
+
recomputations: () => number;
|
|
536
|
+
resetRecomputations: () => void;
|
|
537
|
+
dependencyRecomputations: () => number;
|
|
538
|
+
resetDependencyRecomputations: () => void;
|
|
539
|
+
} & {
|
|
540
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
541
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
542
|
+
}];
|
|
543
|
+
recomputations: () => number;
|
|
544
|
+
resetRecomputations: () => void;
|
|
545
|
+
dependencyRecomputations: () => number;
|
|
546
|
+
resetDependencyRecomputations: () => void;
|
|
547
|
+
} & {
|
|
548
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
549
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
550
|
+
}];
|
|
65
551
|
recomputations: () => number;
|
|
66
552
|
resetRecomputations: () => void;
|
|
67
553
|
dependencyRecomputations: () => number;
|
|
@@ -81,10 +567,7 @@ export declare const selectorChartPropsSize: ((state: import("../useChartId/useC
|
|
|
81
567
|
resetResultsCount: () => void;
|
|
82
568
|
} & {
|
|
83
569
|
resultFunc: (resultFuncArgs_0: {
|
|
84
|
-
|
|
85
|
-
top: number;
|
|
86
|
-
bottom: number;
|
|
87
|
-
right: number;
|
|
570
|
+
margin: import("./useChartDimensions.types").ChartMargin;
|
|
88
571
|
width: number;
|
|
89
572
|
height: number;
|
|
90
573
|
propsWidth: number | undefined;
|
|
@@ -94,10 +577,7 @@ export declare const selectorChartPropsSize: ((state: import("../useChartId/useC
|
|
|
94
577
|
height: number | undefined;
|
|
95
578
|
};
|
|
96
579
|
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
97
|
-
|
|
98
|
-
top: number;
|
|
99
|
-
bottom: number;
|
|
100
|
-
right: number;
|
|
580
|
+
margin: import("./useChartDimensions.types").ChartMargin;
|
|
101
581
|
width: number;
|
|
102
582
|
height: number;
|
|
103
583
|
propsWidth: number | undefined;
|
|
@@ -133,29 +613,11 @@ export declare const selectorChartContainerSize: ((state: import("../useChartId/
|
|
|
133
613
|
resultsCount: () => number;
|
|
134
614
|
resetResultsCount: () => void;
|
|
135
615
|
} & {
|
|
136
|
-
resultFunc: (resultFuncArgs_0: {
|
|
137
|
-
left: number;
|
|
138
|
-
top: number;
|
|
139
|
-
bottom: number;
|
|
140
|
-
right: number;
|
|
141
|
-
width: number;
|
|
142
|
-
height: number;
|
|
143
|
-
propsWidth: number | undefined;
|
|
144
|
-
propsHeight: number | undefined;
|
|
145
|
-
}) => {
|
|
616
|
+
resultFunc: (resultFuncArgs_0: number, resultFuncArgs_1: number) => {
|
|
146
617
|
width: number;
|
|
147
618
|
height: number;
|
|
148
619
|
};
|
|
149
|
-
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
150
|
-
left: number;
|
|
151
|
-
top: number;
|
|
152
|
-
bottom: number;
|
|
153
|
-
right: number;
|
|
154
|
-
width: number;
|
|
155
|
-
height: number;
|
|
156
|
-
propsWidth: number | undefined;
|
|
157
|
-
propsHeight: number | undefined;
|
|
158
|
-
}) => {
|
|
620
|
+
memoizedResultFunc: ((resultFuncArgs_0: number, resultFuncArgs_1: number) => {
|
|
159
621
|
width: number;
|
|
160
622
|
height: number;
|
|
161
623
|
}) & {
|
|
@@ -167,84 +629,66 @@ export declare const selectorChartContainerSize: ((state: import("../useChartId/
|
|
|
167
629
|
width: number;
|
|
168
630
|
height: number;
|
|
169
631
|
};
|
|
170
|
-
dependencies: [ChartRootSelector<UseChartDimensionsSignature>];
|
|
171
|
-
recomputations: () => number;
|
|
172
|
-
resetRecomputations: () => void;
|
|
173
|
-
dependencyRecomputations: () => number;
|
|
174
|
-
resetDependencyRecomputations: () => void;
|
|
175
|
-
} & {
|
|
176
|
-
memoize: typeof import("reselect").weakMapMemoize;
|
|
177
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
178
|
-
};
|
|
179
|
-
/**
|
|
180
|
-
* Get the id attribute of the chart.
|
|
181
|
-
* @param {ChartState<[UseChartIdSignature]>} state The state of the chart.
|
|
182
|
-
* @returns {string} The id attribute of the chart.
|
|
183
|
-
*/
|
|
184
|
-
export declare const selectorChartHasIntrinsicSize: ((state: import("../useChartId/useChartId.types").UseChartIdState & import("./useChartDimensions.types").UseChartDimensionsState & import("../useChartSeries/useChartSeries.types").UseChartSeriesState<keyof import("../../..").ChartsSeriesConfig> & Partial<{}> & {
|
|
185
|
-
cacheKey: import("../../models").ChartStateCacheKey;
|
|
186
|
-
}) => boolean) & {
|
|
187
|
-
clearCache: () => void;
|
|
188
|
-
resultsCount: () => number;
|
|
189
|
-
resetResultsCount: () => void;
|
|
190
|
-
} & {
|
|
191
|
-
resultFunc: (resultFuncArgs_0: {
|
|
192
|
-
width: number;
|
|
193
|
-
height: number;
|
|
194
|
-
}) => boolean;
|
|
195
|
-
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
196
|
-
width: number;
|
|
197
|
-
height: number;
|
|
198
|
-
}) => boolean) & {
|
|
199
|
-
clearCache: () => void;
|
|
200
|
-
resultsCount: () => number;
|
|
201
|
-
resetResultsCount: () => void;
|
|
202
|
-
};
|
|
203
|
-
lastResult: () => boolean;
|
|
204
632
|
dependencies: [((state: import("../useChartId/useChartId.types").UseChartIdState & import("./useChartDimensions.types").UseChartDimensionsState & import("../useChartSeries/useChartSeries.types").UseChartSeriesState<keyof import("../../..").ChartsSeriesConfig> & Partial<{}> & {
|
|
205
633
|
cacheKey: import("../../models").ChartStateCacheKey;
|
|
206
|
-
}) => {
|
|
207
|
-
width: number;
|
|
208
|
-
height: number;
|
|
209
|
-
}) & {
|
|
634
|
+
}) => number) & {
|
|
210
635
|
clearCache: () => void;
|
|
211
636
|
resultsCount: () => number;
|
|
212
637
|
resetResultsCount: () => void;
|
|
213
638
|
} & {
|
|
214
639
|
resultFunc: (resultFuncArgs_0: {
|
|
215
|
-
|
|
216
|
-
top: number;
|
|
217
|
-
bottom: number;
|
|
218
|
-
right: number;
|
|
640
|
+
margin: import("./useChartDimensions.types").ChartMargin;
|
|
219
641
|
width: number;
|
|
220
642
|
height: number;
|
|
221
643
|
propsWidth: number | undefined;
|
|
222
644
|
propsHeight: number | undefined;
|
|
223
|
-
}) =>
|
|
645
|
+
}) => number;
|
|
646
|
+
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
647
|
+
margin: import("./useChartDimensions.types").ChartMargin;
|
|
224
648
|
width: number;
|
|
225
649
|
height: number;
|
|
650
|
+
propsWidth: number | undefined;
|
|
651
|
+
propsHeight: number | undefined;
|
|
652
|
+
}) => number) & {
|
|
653
|
+
clearCache: () => void;
|
|
654
|
+
resultsCount: () => number;
|
|
655
|
+
resetResultsCount: () => void;
|
|
226
656
|
};
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
657
|
+
lastResult: () => number;
|
|
658
|
+
dependencies: [ChartRootSelector<UseChartDimensionsSignature>];
|
|
659
|
+
recomputations: () => number;
|
|
660
|
+
resetRecomputations: () => void;
|
|
661
|
+
dependencyRecomputations: () => number;
|
|
662
|
+
resetDependencyRecomputations: () => void;
|
|
663
|
+
} & {
|
|
664
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
665
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
666
|
+
}, ((state: import("../useChartId/useChartId.types").UseChartIdState & import("./useChartDimensions.types").UseChartDimensionsState & import("../useChartSeries/useChartSeries.types").UseChartSeriesState<keyof import("../../..").ChartsSeriesConfig> & Partial<{}> & {
|
|
667
|
+
cacheKey: import("../../models").ChartStateCacheKey;
|
|
668
|
+
}) => number) & {
|
|
669
|
+
clearCache: () => void;
|
|
670
|
+
resultsCount: () => number;
|
|
671
|
+
resetResultsCount: () => void;
|
|
672
|
+
} & {
|
|
673
|
+
resultFunc: (resultFuncArgs_0: {
|
|
674
|
+
margin: import("./useChartDimensions.types").ChartMargin;
|
|
232
675
|
width: number;
|
|
233
676
|
height: number;
|
|
234
677
|
propsWidth: number | undefined;
|
|
235
678
|
propsHeight: number | undefined;
|
|
236
|
-
}) =>
|
|
679
|
+
}) => number;
|
|
680
|
+
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
681
|
+
margin: import("./useChartDimensions.types").ChartMargin;
|
|
237
682
|
width: number;
|
|
238
683
|
height: number;
|
|
239
|
-
|
|
684
|
+
propsWidth: number | undefined;
|
|
685
|
+
propsHeight: number | undefined;
|
|
686
|
+
}) => number) & {
|
|
240
687
|
clearCache: () => void;
|
|
241
688
|
resultsCount: () => number;
|
|
242
689
|
resetResultsCount: () => void;
|
|
243
690
|
};
|
|
244
|
-
lastResult: () =>
|
|
245
|
-
width: number;
|
|
246
|
-
height: number;
|
|
247
|
-
};
|
|
691
|
+
lastResult: () => number;
|
|
248
692
|
dependencies: [ChartRootSelector<UseChartDimensionsSignature>];
|
|
249
693
|
recomputations: () => number;
|
|
250
694
|
resetRecomputations: () => void;
|