@mui/x-charts 9.14.0 → 9.16.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.mjs +2 -2
- package/BarChart/BarChart.mjs +1 -1
- package/BarChart/BarElement.mjs +2 -2
- package/BarChart/BarLabel/BarLabel.mjs +2 -2
- package/BarChart/BarLabel/BarLabelItem.mjs +2 -2
- package/BarChart/BarLabel/BarLabelPlot.mjs +2 -2
- package/BarChart/BarPlot.mjs +2 -2
- package/BarChart/BatchBarPlot/BarGroup.mjs +2 -2
- package/BarChart/FocusedBar.mjs +1 -1
- package/BarChart/IndividualBarPlot.mjs +2 -2
- package/BarChart/checkBarChartScaleErrors.js +1 -1
- package/BarChart/checkBarChartScaleErrors.mjs +2 -2
- package/BarChart/seriesConfig/bar/getSeriesWithDefaultValues.mjs +1 -1
- package/BarChart/seriesConfig/bar/seriesProcessor.mjs +1 -1
- package/BarChart/seriesConfig/bar/tooltipPosition.js +1 -1
- package/BarChart/seriesConfig/bar/tooltipPosition.mjs +1 -1
- package/BarChart/useBarChartProps.mjs +2 -2
- package/BarChart/useBarPlotData.mjs +1 -1
- package/CHANGELOG.md +338 -0
- package/ChartsAxisHighlight/ChartsAxisHighlightPath.mjs +1 -1
- package/ChartsAxisHighlightValue/ChartsAxisHighlightValue.mjs +1 -1
- package/ChartsAxisHighlightValue/ChartsAxisHighlightValueItem.mjs +1 -1
- package/ChartsBrushOverlay/ChartsBrushOverlay.mjs +1 -1
- package/ChartsClipPath/ChartsClipPath.mjs +1 -1
- package/ChartsContainer/ChartsContainer.js +1 -1
- package/ChartsContainer/ChartsContainer.mjs +2 -2
- package/ChartsContainer/useChartsContainerProps.mjs +2 -2
- package/ChartsDataProvider/ChartsDataProvider.mjs +1 -1
- package/ChartsDataProvider/useChartsDataProviderProps.mjs +2 -2
- package/ChartsGrid/ChartsGrid.mjs +2 -2
- package/ChartsLabel/ChartsLabel.mjs +2 -2
- package/ChartsLabel/ChartsLabelGradient.mjs +2 -2
- package/ChartsLabel/ChartsLabelMark.mjs +2 -2
- package/ChartsLayerContainer/ChartsLayerContainer.js +1 -1
- package/ChartsLayerContainer/ChartsLayerContainer.mjs +4 -4
- package/ChartsLegend/ChartsLegend.mjs +2 -2
- package/ChartsLegend/ContinuousColorLegend.mjs +2 -2
- package/ChartsLegend/PiecewiseColorLegend.js +1 -3
- package/ChartsLegend/PiecewiseColorLegend.mjs +3 -5
- package/ChartsLocalizationProvider/ChartsLocalizationProvider.mjs +2 -2
- package/ChartsOverlay/ChartsLoadingOverlay.mjs +1 -1
- package/ChartsOverlay/ChartsNoDataOverlay.mjs +1 -1
- package/ChartsOverlay/ChartsOverlay.js +4 -2
- package/ChartsOverlay/ChartsOverlay.mjs +5 -3
- package/ChartsOverlay/common.mjs +1 -1
- package/ChartsRadialAxisHighlight/ChartsRadialAxisHighlightPath.mjs +1 -1
- package/ChartsRadialDataProvider/ChartsRadialDataProvider.mjs +1 -1
- package/ChartsRadialDataProvider/useChartsRadialDataProviderProps.mjs +2 -2
- package/ChartsRadialGrid/ChartsRadialGrid.mjs +2 -2
- package/ChartsRadiusAxis/ChartsRadiusAxis.mjs +1 -1
- package/ChartsReferenceLine/ChartsReferenceLine.mjs +1 -1
- package/ChartsReferenceLine/ChartsXReferenceLine.js +1 -1
- package/ChartsReferenceLine/ChartsXReferenceLine.mjs +3 -3
- package/ChartsReferenceLine/ChartsYReferenceLine.js +1 -1
- package/ChartsReferenceLine/ChartsYReferenceLine.mjs +3 -3
- package/ChartsReferenceLine/common.mjs +1 -1
- package/ChartsRotationAxis/ChartsRotationAxis.mjs +1 -1
- package/ChartsSurface/ChartsSurface.mjs +2 -2
- package/ChartsSvgLayer/ChartsSvgLayer.mjs +2 -2
- package/ChartsText/ChartsText.mjs +2 -2
- package/ChartsTooltip/ChartsTooltip.js +3 -3
- package/ChartsTooltip/ChartsTooltip.mjs +5 -5
- package/ChartsTooltip/ChartsTooltipContainer.js +5 -5
- package/ChartsTooltip/ChartsTooltipContainer.mjs +8 -8
- package/ChartsWrapper/ChartsWrapper.mjs +2 -2
- package/ChartsXAxis/ChartsGroupedXAxisTicks.mjs +1 -1
- package/ChartsXAxis/ChartsSingleXAxisTicks.mjs +1 -1
- package/ChartsXAxis/ChartsXAxis.mjs +1 -1
- package/ChartsXAxis/ChartsXAxisImpl.js +2 -1
- package/ChartsXAxis/ChartsXAxisImpl.mjs +4 -3
- package/ChartsXAxis/useAxisTicksProps.d.mts +17 -17
- package/ChartsXAxis/useAxisTicksProps.d.ts +17 -17
- package/ChartsXAxis/useAxisTicksProps.js +2 -1
- package/ChartsXAxis/useAxisTicksProps.mjs +4 -3
- package/ChartsYAxis/ChartsGroupedYAxisTicks.mjs +1 -1
- package/ChartsYAxis/ChartsSingleYAxisTicks.mjs +1 -1
- package/ChartsYAxis/ChartsYAxis.mjs +1 -1
- package/ChartsYAxis/ChartsYAxisImpl.js +2 -1
- package/ChartsYAxis/ChartsYAxisImpl.mjs +4 -3
- package/ChartsYAxis/useAxisTicksProps.d.mts +17 -17
- package/ChartsYAxis/useAxisTicksProps.d.ts +17 -17
- package/ChartsYAxis/useAxisTicksProps.js +2 -1
- package/ChartsYAxis/useAxisTicksProps.mjs +4 -3
- package/Gauge/Gauge.mjs +2 -2
- package/Gauge/GaugeContainer.mjs +2 -2
- package/Gauge/GaugeReferenceArc.mjs +2 -2
- package/Gauge/GaugeValueArc.mjs +2 -2
- package/Gauge/GaugeValueText.mjs +2 -2
- package/LineChart/AnimatedArea.mjs +2 -2
- package/LineChart/AnimatedLine.mjs +2 -2
- package/LineChart/AreaElement.mjs +2 -2
- package/LineChart/AreaPlot.mjs +2 -2
- package/LineChart/CircleMarkElement.mjs +2 -2
- package/LineChart/LineChart.mjs +1 -1
- package/LineChart/LineElement.mjs +2 -2
- package/LineChart/LineHighlightElement.d.mts +3 -3
- package/LineChart/LineHighlightElement.d.ts +3 -3
- package/LineChart/LineHighlightElement.js +2 -2
- package/LineChart/LineHighlightElement.mjs +4 -4
- package/LineChart/LineHighlightPlot.mjs +2 -2
- package/LineChart/LinePlot.mjs +2 -2
- package/LineChart/MarkElement.mjs +2 -2
- package/LineChart/MarkPlot.mjs +2 -2
- package/LineChart/seriesConfig/getSeriesWithDefaultValues.mjs +1 -1
- package/LineChart/seriesConfig/tooltipPosition.js +1 -1
- package/LineChart/seriesConfig/tooltipPosition.mjs +1 -1
- package/LineChart/useLineChartProps.mjs +2 -2
- package/LineChart/useLinePlotData.js +1 -1
- package/LineChart/useLinePlotData.mjs +2 -2
- package/PieChart/FocusedPieArc.mjs +2 -2
- package/PieChart/PieArc.mjs +2 -2
- package/PieChart/PieArcLabel.mjs +2 -2
- package/PieChart/PieArcLabelPlot.mjs +2 -2
- package/PieChart/PieArcPlot.mjs +2 -2
- package/PieChart/PieChart.mjs +2 -2
- package/PieChart/dataTransform/getModifiedArcProperties.mjs +1 -1
- package/PieChart/dataTransform/useTransformData.mjs +1 -1
- package/PieChart/seriesConfig/getSeriesWithDefaultValues.mjs +1 -1
- package/PieChart/seriesConfig/seriesProcessor.mjs +1 -1
- package/PieChart/seriesConfig/tooltip.mjs +1 -1
- package/PieChart/seriesConfig/tooltipPosition.js +1 -1
- package/PieChart/seriesConfig/tooltipPosition.mjs +1 -1
- package/RadarChart/FocusedRadarMark.mjs +1 -1
- package/RadarChart/RadarAxis/RadarAxis.mjs +1 -1
- package/RadarChart/RadarAxis/useRadarAxis.js +1 -1
- package/RadarChart/RadarAxis/useRadarAxis.mjs +1 -1
- package/RadarChart/RadarAxisHighlight/RadarAxisHighlight.mjs +1 -1
- package/RadarChart/RadarChart.mjs +1 -1
- package/RadarChart/RadarDataProvider/RadarDataProvider.mjs +2 -2
- package/RadarChart/RadarMetricLabels/RadarMetricLabels.js +2 -1
- package/RadarChart/RadarMetricLabels/RadarMetricLabels.mjs +3 -2
- package/RadarChart/RadarSeriesPlot/RadarSeriesArea.mjs +2 -2
- package/RadarChart/RadarSeriesPlot/RadarSeriesMarks.mjs +2 -2
- package/RadarChart/RadarSeriesPlot/RadarSeriesPlot.mjs +1 -1
- package/RadarChart/RadarSeriesPlot/useRadarSeriesData.mjs +1 -1
- package/RadarChart/seriesConfig/getSeriesWithDefaultValues.mjs +1 -1
- package/RadarChart/seriesConfig/seriesProcessor.mjs +1 -1
- package/RadarChart/seriesConfig/tooltipPosition.js +1 -1
- package/RadarChart/seriesConfig/tooltipPosition.mjs +1 -1
- package/RadarChart/useRadarChartProps.mjs +1 -1
- package/ScatterChart/FocusedScatterMark.mjs +2 -2
- package/ScatterChart/HighlightedScatterMark.mjs +2 -2
- package/ScatterChart/Scatter.mjs +2 -2
- package/ScatterChart/ScatterChart.mjs +1 -1
- package/ScatterChart/ScatterMarker.mjs +2 -2
- package/ScatterChart/ScatterPlot.mjs +1 -1
- package/ScatterChart/async/ScatterAsyncBatch.mjs +2 -2
- package/ScatterChart/async/scatterRenderData.selectors.js +1 -1
- package/ScatterChart/async/scatterRenderData.selectors.mjs +1 -1
- package/ScatterChart/seriesConfig/getSeriesWithDefaultValues.mjs +1 -1
- package/ScatterChart/seriesConfig/seriesProcessor.mjs +1 -1
- package/ScatterChart/seriesConfig/tooltipPosition.js +1 -1
- package/ScatterChart/seriesConfig/tooltipPosition.mjs +1 -1
- package/ScatterChart/useScatterChartProps.mjs +2 -2
- package/SparkLineChart/SparkLineChart.js +21 -21
- package/SparkLineChart/SparkLineChart.mjs +23 -23
- package/Toolbar/Toolbar.mjs +2 -2
- package/Toolbar/ToolbarButton.mjs +2 -2
- package/context/ChartsProvider/ChartsProvider.types.d.mts +1 -1
- package/context/ChartsProvider/ChartsProvider.types.d.ts +1 -1
- package/context/ChartsSlotsContext.mjs +1 -1
- package/hooks/animation/useAnimate.mjs +1 -1
- package/hooks/useAxisCoordinates.mjs +1 -1
- package/hooks/useAxisTicks.js +1 -1
- package/hooks/useAxisTicks.mjs +2 -2
- package/hooks/useIsItemFocusedGetter.js +1 -1
- package/hooks/useIsItemFocusedGetter.mjs +1 -1
- package/index.js +1 -1
- package/index.mjs +1 -1
- package/internals/Flatbush.js +10 -0
- package/internals/Flatbush.mjs +10 -0
- package/internals/commonNextFocusItem.d.mts +46 -0
- package/internals/commonNextFocusItem.d.ts +46 -0
- package/internals/commonNextFocusItem.js +241 -0
- package/internals/commonNextFocusItem.mjs +235 -0
- package/internals/components/AxisSharedComponents.mjs +1 -1
- package/internals/components/ChartsAxesGradients/ChartsContinuousGradientObjectBound.mjs +1 -1
- package/internals/consumeSlots.mjs +2 -2
- package/internals/consumeThemeProps.js +1 -2
- package/internals/consumeThemeProps.mjs +1 -1
- package/internals/createCommonKeyboardFocusHandler.js +16 -0
- package/internals/createCommonKeyboardFocusHandler.mjs +17 -1
- package/internals/defaultizeMargin.mjs +1 -1
- package/internals/geometry.js +1 -1
- package/internals/geometry.mjs +1 -1
- package/internals/getGroupingConfig.mjs +1 -1
- package/internals/getInlineTypographyStyle.d.mts +9 -0
- package/internals/getInlineTypographyStyle.d.ts +9 -0
- package/internals/getInlineTypographyStyle.js +22 -0
- package/internals/getInlineTypographyStyle.mjs +16 -0
- package/internals/getLineLikeTooltip.mjs +1 -1
- package/internals/getWordsByLines.mjs +1 -1
- package/internals/material/index.mjs +1 -1
- package/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.mjs +1 -1
- package/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.selectors.js +1 -1
- package/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.selectors.mjs +1 -1
- package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.mjs +1 -1
- package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.selectors.js +1 -1
- package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.selectors.mjs +1 -1
- package/internals/plugins/corePlugins/useChartId/useChartId.mjs +1 -1
- package/internals/plugins/corePlugins/useChartId/useChartId.selectors.js +1 -1
- package/internals/plugins/corePlugins/useChartId/useChartId.selectors.mjs +1 -1
- package/internals/plugins/corePlugins/useChartSeries/useChartSeries.mjs +1 -1
- package/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.js +1 -1
- package/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.mjs +1 -1
- package/internals/plugins/corePlugins/useChartSeries/useChartSeriesLayout.selectors.js +1 -1
- package/internals/plugins/corePlugins/useChartSeries/useChartSeriesLayout.selectors.mjs +1 -1
- package/internals/plugins/corePlugins/useChartSeriesConfig/useChartSeriesConfig.mjs +1 -1
- package/internals/plugins/corePlugins/useChartSeriesConfig/useChartSeriesConfig.selectors.js +1 -1
- package/internals/plugins/corePlugins/useChartSeriesConfig/useChartSeriesConfig.selectors.mjs +1 -1
- package/internals/plugins/featurePlugins/useChartBrush/useChartBrush.mjs +1 -1
- package/internals/plugins/featurePlugins/useChartBrush/useChartBrush.selectors.js +1 -1
- package/internals/plugins/featurePlugins/useChartBrush/useChartBrush.selectors.mjs +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisAutoSize.mjs +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.mjs +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/createZoomLookup.js +2 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/createZoomLookup.mjs +2 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeAxis.mjs +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeZoom.mjs +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisClickPayload.js +5 -3
- package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisClickPayload.mjs +5 -3
- package/internals/plugins/featurePlugins/useChartCartesianAxis/sampling.selectors.js +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/sampling.selectors.mjs +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisAutoSize.selectors.js +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisAutoSize.selectors.mjs +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisDomains.selectors.js +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisDomains.selectors.mjs +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisExtrema.selectors.js +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisExtrema.selectors.mjs +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisSize.selectors.js +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisSize.selectors.mjs +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.js +3 -3
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.mjs +4 -4
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisPosition.selectors.js +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisPosition.selectors.mjs +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisPreview.selectors.js +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisPreview.selectors.mjs +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.mts +10 -10
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.ts +10 -10
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.js +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.mjs +2 -2
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianHighlight.selectors.d.mts +10 -10
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianHighlight.selectors.d.ts +10 -10
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianHighlight.selectors.js +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianHighlight.selectors.mjs +2 -2
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianInteraction.selectors.js +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianInteraction.selectors.mjs +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianTooltip.selectors.js +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianTooltip.selectors.mjs +1 -1
- package/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.mjs +1 -1
- package/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.selectors.js +1 -1
- package/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.selectors.mjs +1 -1
- package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.js +1 -1
- package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.mjs +2 -2
- package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.js +1 -1
- package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.mjs +1 -1
- package/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.js +1 -1
- package/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.mjs +2 -2
- package/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.selectors.js +1 -1
- package/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.selectors.mjs +1 -1
- package/internals/plugins/featurePlugins/useChartItemClick/useChartItemClick.js +2 -2
- package/internals/plugins/featurePlugins/useChartItemClick/useChartItemClick.mjs +2 -2
- package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.js +8 -4
- package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.mjs +9 -5
- package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.selectors.js +2 -2
- package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.selectors.mjs +2 -2
- package/internals/plugins/featurePlugins/useChartPolarAxis/computeAxisValue.mjs +1 -1
- package/internals/plugins/featurePlugins/useChartPolarAxis/defaultizeAxis.mjs +1 -1
- package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.js +1 -1
- package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.mjs +3 -3
- package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.selectors.js +1 -1
- package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.selectors.mjs +1 -1
- package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarInteraction.selectors.d.mts +3 -3
- package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarInteraction.selectors.d.ts +3 -3
- package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarInteraction.selectors.js +3 -3
- package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarInteraction.selectors.mjs +3 -3
- package/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.js +1 -1
- package/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.mjs +2 -2
- package/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.selectors.js +1 -1
- package/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.selectors.mjs +1 -1
- package/internals/plugins/featurePlugins/useChartVisibilityManager/useChartVisibilityManager.mjs +1 -1
- package/internals/plugins/featurePlugins/useChartVisibilityManager/useChartVisibilityManager.selectors.js +1 -1
- package/internals/plugins/featurePlugins/useChartVisibilityManager/useChartVisibilityManager.selectors.mjs +1 -1
- package/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.mjs +1 -1
- package/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.selectors.js +1 -1
- package/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.selectors.mjs +1 -1
- package/internals/plugins/featurePlugins/useProgressiveRendering/useProgressiveRendering.mjs +1 -1
- package/internals/plugins/featurePlugins/useProgressiveRendering/useProgressiveRendering.selectors.js +1 -1
- package/internals/plugins/featurePlugins/useProgressiveRendering/useProgressiveRendering.selectors.mjs +1 -1
- package/internals/plugins/models/plugin.d.mts +1 -1
- package/internals/plugins/models/plugin.d.ts +1 -1
- package/internals/plugins/utils/useLazySelectorEffect.d.mts +1 -1
- package/internals/plugins/utils/useLazySelectorEffect.d.ts +1 -1
- package/internals/processLineLikeSeries.mjs +1 -1
- package/internals/seriesHasData.js +2 -1
- package/internals/seriesHasData.mjs +2 -1
- package/internals/seriesSelectorOfType.js +2 -2
- package/internals/seriesSelectorOfType.mjs +2 -2
- package/internals/shallowEqual.js +1 -3
- package/internals/shallowEqual.mjs +1 -3
- package/internals/store/extractPluginParamsFromProps.mjs +1 -1
- package/internals/store/useCharts.d.mts +1 -1
- package/internals/store/useCharts.d.ts +1 -1
- package/internals/store/useCharts.js +1 -1
- package/internals/store/useCharts.mjs +1 -1
- package/internals/store/useStore.d.mts +1 -1
- package/internals/store/useStore.d.ts +1 -1
- package/internals/ts-generic.d.mts +1 -1
- package/internals/ts-generic.d.ts +1 -1
- package/locales/elGR.d.mts +2 -1
- package/locales/elGR.d.ts +2 -1
- package/locales/elGR.js +2 -0
- package/locales/elGR.mjs +2 -0
- package/locales/enUS.d.mts +2 -1
- package/locales/enUS.d.ts +2 -1
- package/locales/enUS.js +1 -0
- package/locales/enUS.mjs +1 -0
- package/locales/frFR.d.mts +2 -1
- package/locales/frFR.d.ts +2 -1
- package/locales/frFR.js +1 -0
- package/locales/frFR.mjs +1 -0
- package/locales/nbNO.d.mts +2 -1
- package/locales/nbNO.d.ts +2 -1
- package/locales/nbNO.js +2 -0
- package/locales/nbNO.mjs +2 -0
- package/locales/ptBR.d.mts +2 -1
- package/locales/ptBR.d.ts +2 -1
- package/locales/ptBR.js +2 -0
- package/locales/ptBR.mjs +2 -0
- package/locales/ptPT.d.mts +2 -1
- package/locales/ptPT.d.ts +2 -1
- package/locales/ptPT.js +2 -0
- package/locales/ptPT.mjs +2 -0
- package/locales/svSE.d.mts +2 -1
- package/locales/svSE.d.ts +2 -1
- package/locales/svSE.js +1 -0
- package/locales/svSE.mjs +1 -0
- package/locales/utils/chartsLocaleTextApi.d.mts +5 -1
- package/locales/utils/chartsLocaleTextApi.d.ts +5 -1
- package/locales/utils/getChartsLocalization.d.mts +2 -1
- package/locales/utils/getChartsLocalization.d.ts +2 -1
- package/locales/utils/getChartsLocalization.mjs +1 -1
- package/package.json +9 -11
- package/tests/web-components.js +1 -0
- package/tests/web-components.mjs +1 -0
|
@@ -74,7 +74,7 @@ export declare const selectorChartYAxis: (args_0: import("../../corePlugins/useC
|
|
|
74
74
|
}) => import("./computeAxisValue.mjs").ComputeResult<import("@mui/x-charts/models").ChartsYAxisProps>;
|
|
75
75
|
export declare const selectorChartAxis: (args_0: import("../../corePlugins/useChartId/useChartId.types.mjs").UseChartIdState & import("../../corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.mjs").UseChartSeriesConfigState<keyof import("../../../index.mjs").ChartsSeriesConfig> & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.mjs").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.mjs").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.mjs").UseChartSeriesState<keyof import("../../../index.mjs").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.mjs").UseChartAnimationState & import("../../../index.mjs").UseChartInteractionListenerState & Partial<{}> & {
|
|
76
76
|
cacheKey: import("../../models/index.mjs").ChartStateCacheKey;
|
|
77
|
-
}, axisId: AxisId) =>
|
|
77
|
+
}, axisId: AxisId) => Omit<Omit<DefaultedAxis<keyof import("../../../index.mjs").AxisScaleConfig, any, import("@mui/x-charts/models").ChartsXAxisProps>, "scaleType">, "offset"> & Required<Pick<Omit<DefaultedAxis<keyof import("../../../index.mjs").AxisScaleConfig, any, import("@mui/x-charts/models").ChartsXAxisProps>, "scaleType">, "offset">> & ({
|
|
78
78
|
scaleType: 'log';
|
|
79
79
|
scale: import("@mui/x-charts-vendor/d3-scale").ScaleLogarithmic<number, number>;
|
|
80
80
|
colorMap?: import("../../../../models/colorMapping.mjs").ContinuousColorConfig | import("../../../../models/colorMapping.mjs").PiecewiseColorConfig;
|
|
@@ -103,14 +103,14 @@ export declare const selectorChartAxis: (args_0: import("../../corePlugins/useCh
|
|
|
103
103
|
scaleType: 'linear';
|
|
104
104
|
scale: import("@mui/x-charts-vendor/d3-scale").ScaleLinear<number, number>;
|
|
105
105
|
colorMap?: import("../../../../models/colorMapping.mjs").ContinuousColorConfig | import("../../../../models/colorMapping.mjs").PiecewiseColorConfig;
|
|
106
|
-
} |
|
|
106
|
+
} | {
|
|
107
107
|
scaleType: 'point';
|
|
108
108
|
ordinalTimeTicks?: import("@mui/x-charts/models").OrdinalTimeTicks;
|
|
109
109
|
scale: import("@mui/x-charts-vendor/d3-scale").ScalePoint<{
|
|
110
110
|
toString(): string;
|
|
111
111
|
}>;
|
|
112
112
|
colorMap?: import("../../../../models/colorMapping.mjs").OrdinalColorConfig | import("../../../../models/colorMapping.mjs").ContinuousColorConfig | import("../../../../models/colorMapping.mjs").PiecewiseColorConfig;
|
|
113
|
-
} & import("../../../index.mjs").AxisGroups
|
|
113
|
+
} & import("../../../index.mjs").AxisGroups | {
|
|
114
114
|
scaleType: 'band';
|
|
115
115
|
ordinalTimeTicks?: import("@mui/x-charts/models").OrdinalTimeTicks;
|
|
116
116
|
scale: import("@mui/x-charts-vendor/d3-scale").ScaleBand<{
|
|
@@ -119,7 +119,7 @@ export declare const selectorChartAxis: (args_0: import("../../corePlugins/useCh
|
|
|
119
119
|
categoryGapRatio: number;
|
|
120
120
|
barGapRatio: number;
|
|
121
121
|
colorMap?: import("../../../../models/colorMapping.mjs").OrdinalColorConfig | import("../../../../models/colorMapping.mjs").ContinuousColorConfig | import("../../../../models/colorMapping.mjs").PiecewiseColorConfig;
|
|
122
|
-
} & import("../../../index.mjs").AxisGroups & Pick<import("../../../../hooks/useTicks.mjs").TickParams, "tickLabelPlacement" | "tickPlacement">)
|
|
122
|
+
} & import("../../../index.mjs").AxisGroups & Pick<import("../../../../hooks/useTicks.mjs").TickParams, "tickLabelPlacement" | "tickPlacement">) & ({
|
|
123
123
|
colorScale?: import("@mui/x-charts-vendor/d3-scale").ScaleOrdinal<string | number | Date, string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleOrdinal<number, string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleSequential<string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleThreshold<number | Date, string | null>;
|
|
124
124
|
} | {
|
|
125
125
|
colorScale?: import("@mui/x-charts-vendor/d3-scale").ScaleOrdinal<string | number | Date, string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleOrdinal<number, string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleSequential<string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleThreshold<number | Date, string | null>;
|
|
@@ -137,7 +137,7 @@ export declare const selectorChartAxis: (args_0: import("../../corePlugins/useCh
|
|
|
137
137
|
colorScale?: import("@mui/x-charts-vendor/d3-scale").ScaleSequential<string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleThreshold<number | Date, string | null>;
|
|
138
138
|
} | {
|
|
139
139
|
colorScale?: import("@mui/x-charts-vendor/d3-scale").ScaleSequential<string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleThreshold<number, string | null>;
|
|
140
|
-
})
|
|
140
|
+
}) & {
|
|
141
141
|
tickNumber: number;
|
|
142
142
|
triggerTooltip?: boolean;
|
|
143
143
|
isFullCircle?: boolean;
|
|
@@ -150,7 +150,7 @@ export declare const selectorChartAxis: (args_0: import("../../corePlugins/useCh
|
|
|
150
150
|
};
|
|
151
151
|
export declare const selectorChartRawAxis: (args_0: import("../../corePlugins/useChartId/useChartId.types.mjs").UseChartIdState & import("../../corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.mjs").UseChartSeriesConfigState<keyof import("../../../index.mjs").ChartsSeriesConfig> & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.mjs").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.mjs").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.mjs").UseChartSeriesState<keyof import("../../../index.mjs").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.mjs").UseChartAnimationState & import("../../../index.mjs").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.mjs").UseChartCartesianAxisState> & {
|
|
152
152
|
cacheKey: import("../../models/index.mjs").ChartStateCacheKey;
|
|
153
|
-
}, axisId: AxisId) => DefaultedAxis<"band", any, import("@mui/x-charts/models").ChartsXAxisProps> | DefaultedAxis<"linear", any, import("@mui/x-charts/models").ChartsXAxisProps> | DefaultedAxis<"log", any, import("@mui/x-charts/models").ChartsXAxisProps> | DefaultedAxis<"point", any, import("@mui/x-charts/models").ChartsXAxisProps> | DefaultedAxis<"pow", any, import("@mui/x-charts/models").ChartsXAxisProps> | DefaultedAxis<"sqrt", any, import("@mui/x-charts/models").ChartsXAxisProps> | DefaultedAxis<"symlog", any, import("@mui/x-charts/models").ChartsXAxisProps> | DefaultedAxis<"time", any, import("@mui/x-charts/models").ChartsXAxisProps> | DefaultedAxis<"utc", any, import("@mui/x-charts/models").ChartsXAxisProps> |
|
|
153
|
+
}, axisId: AxisId) => DefaultedAxis<"band", any, import("@mui/x-charts/models").ChartsXAxisProps> | DefaultedAxis<"linear", any, import("@mui/x-charts/models").ChartsXAxisProps> | DefaultedAxis<"log", any, import("@mui/x-charts/models").ChartsXAxisProps> | DefaultedAxis<"point", any, import("@mui/x-charts/models").ChartsXAxisProps> | DefaultedAxis<"pow", any, import("@mui/x-charts/models").ChartsXAxisProps> | DefaultedAxis<"sqrt", any, import("@mui/x-charts/models").ChartsXAxisProps> | DefaultedAxis<"symlog", any, import("@mui/x-charts/models").ChartsXAxisProps> | DefaultedAxis<"time", any, import("@mui/x-charts/models").ChartsXAxisProps> | DefaultedAxis<"utc", any, import("@mui/x-charts/models").ChartsXAxisProps> | {
|
|
154
154
|
offset?: number;
|
|
155
155
|
} & {
|
|
156
156
|
id: AxisId;
|
|
@@ -195,14 +195,14 @@ export declare const selectorChartRawAxis: (args_0: import("../../corePlugins/us
|
|
|
195
195
|
scaleType: 'linear';
|
|
196
196
|
scale: import("@mui/x-charts-vendor/d3-scale").ScaleLinear<number, number>;
|
|
197
197
|
colorMap?: import("../../../../models/colorMapping.mjs").ContinuousColorConfig | import("../../../../models/colorMapping.mjs").PiecewiseColorConfig;
|
|
198
|
-
} |
|
|
198
|
+
} | {
|
|
199
199
|
scaleType: 'point';
|
|
200
200
|
ordinalTimeTicks?: import("@mui/x-charts/models").OrdinalTimeTicks;
|
|
201
201
|
scale: import("@mui/x-charts-vendor/d3-scale").ScalePoint<{
|
|
202
202
|
toString(): string;
|
|
203
203
|
}>;
|
|
204
204
|
colorMap?: import("../../../../models/colorMapping.mjs").OrdinalColorConfig | import("../../../../models/colorMapping.mjs").ContinuousColorConfig | import("../../../../models/colorMapping.mjs").PiecewiseColorConfig;
|
|
205
|
-
} & import("../../../index.mjs").AxisGroups
|
|
205
|
+
} & import("../../../index.mjs").AxisGroups | {
|
|
206
206
|
scaleType: 'band';
|
|
207
207
|
ordinalTimeTicks?: import("@mui/x-charts/models").OrdinalTimeTicks;
|
|
208
208
|
scale: import("@mui/x-charts-vendor/d3-scale").ScaleBand<{
|
|
@@ -211,13 +211,13 @@ export declare const selectorChartRawAxis: (args_0: import("../../corePlugins/us
|
|
|
211
211
|
categoryGapRatio: number;
|
|
212
212
|
barGapRatio: number;
|
|
213
213
|
colorMap?: import("../../../../models/colorMapping.mjs").OrdinalColorConfig | import("../../../../models/colorMapping.mjs").ContinuousColorConfig | import("../../../../models/colorMapping.mjs").PiecewiseColorConfig;
|
|
214
|
-
} & import("../../../index.mjs").AxisGroups & Pick<import("../../../../hooks/useTicks.mjs").TickParams, "tickLabelPlacement" | "tickPlacement"
|
|
214
|
+
} & import("../../../index.mjs").AxisGroups & Pick<import("../../../../hooks/useTicks.mjs").TickParams, "tickLabelPlacement" | "tickPlacement">, "scale">> & {
|
|
215
215
|
position?: "left" | "none" | "right" | undefined;
|
|
216
216
|
height?: undefined;
|
|
217
217
|
width?: number | "auto" | undefined;
|
|
218
218
|
} & import("../../../../hooks/useTicks.mjs").TickParams & import("../../../index.mjs").AxisConfigExtension & {
|
|
219
219
|
zoom: import("./useChartCartesianAxis.types.mjs").DefaultizedZoomOptions | undefined;
|
|
220
|
-
}
|
|
220
|
+
} | undefined;
|
|
221
221
|
export declare const selectorChartDefaultXAxisId: (args_0: import("../../corePlugins/useChartId/useChartId.types.mjs").UseChartIdState & import("../../corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.mjs").UseChartSeriesConfigState<keyof import("../../../index.mjs").ChartsSeriesConfig> & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.mjs").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.mjs").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.mjs").UseChartSeriesState<keyof import("../../../index.mjs").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.mjs").UseChartAnimationState & import("../../../index.mjs").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.mjs").UseChartCartesianAxisState> & {
|
|
222
222
|
cacheKey: import("../../models/index.mjs").ChartStateCacheKey;
|
|
223
223
|
}) => AxisId;
|
|
@@ -74,7 +74,7 @@ export declare const selectorChartYAxis: (args_0: import("../../corePlugins/useC
|
|
|
74
74
|
}) => import("./computeAxisValue.js").ComputeResult<import("@mui/x-charts/models").ChartsYAxisProps>;
|
|
75
75
|
export declare const selectorChartAxis: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.js").UseChartSeriesConfigState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & 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 & import("../../../index.js").UseChartInteractionListenerState & Partial<{}> & {
|
|
76
76
|
cacheKey: import("../../models/index.js").ChartStateCacheKey;
|
|
77
|
-
}, axisId: AxisId) =>
|
|
77
|
+
}, axisId: AxisId) => Omit<Omit<DefaultedAxis<keyof import("../../../index.js").AxisScaleConfig, any, import("@mui/x-charts/models").ChartsXAxisProps>, "scaleType">, "offset"> & Required<Pick<Omit<DefaultedAxis<keyof import("../../../index.js").AxisScaleConfig, any, import("@mui/x-charts/models").ChartsXAxisProps>, "scaleType">, "offset">> & ({
|
|
78
78
|
scaleType: 'log';
|
|
79
79
|
scale: import("@mui/x-charts-vendor/d3-scale").ScaleLogarithmic<number, number>;
|
|
80
80
|
colorMap?: import("../../../../models/colorMapping.js").ContinuousColorConfig | import("../../../../models/colorMapping.js").PiecewiseColorConfig;
|
|
@@ -103,14 +103,14 @@ export declare const selectorChartAxis: (args_0: import("../../corePlugins/useCh
|
|
|
103
103
|
scaleType: 'linear';
|
|
104
104
|
scale: import("@mui/x-charts-vendor/d3-scale").ScaleLinear<number, number>;
|
|
105
105
|
colorMap?: import("../../../../models/colorMapping.js").ContinuousColorConfig | import("../../../../models/colorMapping.js").PiecewiseColorConfig;
|
|
106
|
-
} |
|
|
106
|
+
} | {
|
|
107
107
|
scaleType: 'point';
|
|
108
108
|
ordinalTimeTicks?: import("@mui/x-charts/models").OrdinalTimeTicks;
|
|
109
109
|
scale: import("@mui/x-charts-vendor/d3-scale").ScalePoint<{
|
|
110
110
|
toString(): string;
|
|
111
111
|
}>;
|
|
112
112
|
colorMap?: import("../../../../models/colorMapping.js").OrdinalColorConfig | import("../../../../models/colorMapping.js").ContinuousColorConfig | import("../../../../models/colorMapping.js").PiecewiseColorConfig;
|
|
113
|
-
} & import("../../../index.js").AxisGroups
|
|
113
|
+
} & import("../../../index.js").AxisGroups | {
|
|
114
114
|
scaleType: 'band';
|
|
115
115
|
ordinalTimeTicks?: import("@mui/x-charts/models").OrdinalTimeTicks;
|
|
116
116
|
scale: import("@mui/x-charts-vendor/d3-scale").ScaleBand<{
|
|
@@ -119,7 +119,7 @@ export declare const selectorChartAxis: (args_0: import("../../corePlugins/useCh
|
|
|
119
119
|
categoryGapRatio: number;
|
|
120
120
|
barGapRatio: number;
|
|
121
121
|
colorMap?: import("../../../../models/colorMapping.js").OrdinalColorConfig | import("../../../../models/colorMapping.js").ContinuousColorConfig | import("../../../../models/colorMapping.js").PiecewiseColorConfig;
|
|
122
|
-
} & import("../../../index.js").AxisGroups & Pick<import("../../../../hooks/useTicks.js").TickParams, "tickLabelPlacement" | "tickPlacement">)
|
|
122
|
+
} & import("../../../index.js").AxisGroups & Pick<import("../../../../hooks/useTicks.js").TickParams, "tickLabelPlacement" | "tickPlacement">) & ({
|
|
123
123
|
colorScale?: import("@mui/x-charts-vendor/d3-scale").ScaleOrdinal<string | number | Date, string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleOrdinal<number, string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleSequential<string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleThreshold<number | Date, string | null>;
|
|
124
124
|
} | {
|
|
125
125
|
colorScale?: import("@mui/x-charts-vendor/d3-scale").ScaleOrdinal<string | number | Date, string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleOrdinal<number, string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleSequential<string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleThreshold<number | Date, string | null>;
|
|
@@ -137,7 +137,7 @@ export declare const selectorChartAxis: (args_0: import("../../corePlugins/useCh
|
|
|
137
137
|
colorScale?: import("@mui/x-charts-vendor/d3-scale").ScaleSequential<string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleThreshold<number | Date, string | null>;
|
|
138
138
|
} | {
|
|
139
139
|
colorScale?: import("@mui/x-charts-vendor/d3-scale").ScaleSequential<string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleThreshold<number, string | null>;
|
|
140
|
-
})
|
|
140
|
+
}) & {
|
|
141
141
|
tickNumber: number;
|
|
142
142
|
triggerTooltip?: boolean;
|
|
143
143
|
isFullCircle?: boolean;
|
|
@@ -150,7 +150,7 @@ export declare const selectorChartAxis: (args_0: import("../../corePlugins/useCh
|
|
|
150
150
|
};
|
|
151
151
|
export declare const selectorChartRawAxis: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.js").UseChartSeriesConfigState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & 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 & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
|
|
152
152
|
cacheKey: import("../../models/index.js").ChartStateCacheKey;
|
|
153
|
-
}, axisId: AxisId) => DefaultedAxis<"band", any, import("@mui/x-charts/models").ChartsXAxisProps> | DefaultedAxis<"linear", any, import("@mui/x-charts/models").ChartsXAxisProps> | DefaultedAxis<"log", any, import("@mui/x-charts/models").ChartsXAxisProps> | DefaultedAxis<"point", any, import("@mui/x-charts/models").ChartsXAxisProps> | DefaultedAxis<"pow", any, import("@mui/x-charts/models").ChartsXAxisProps> | DefaultedAxis<"sqrt", any, import("@mui/x-charts/models").ChartsXAxisProps> | DefaultedAxis<"symlog", any, import("@mui/x-charts/models").ChartsXAxisProps> | DefaultedAxis<"time", any, import("@mui/x-charts/models").ChartsXAxisProps> | DefaultedAxis<"utc", any, import("@mui/x-charts/models").ChartsXAxisProps> |
|
|
153
|
+
}, axisId: AxisId) => DefaultedAxis<"band", any, import("@mui/x-charts/models").ChartsXAxisProps> | DefaultedAxis<"linear", any, import("@mui/x-charts/models").ChartsXAxisProps> | DefaultedAxis<"log", any, import("@mui/x-charts/models").ChartsXAxisProps> | DefaultedAxis<"point", any, import("@mui/x-charts/models").ChartsXAxisProps> | DefaultedAxis<"pow", any, import("@mui/x-charts/models").ChartsXAxisProps> | DefaultedAxis<"sqrt", any, import("@mui/x-charts/models").ChartsXAxisProps> | DefaultedAxis<"symlog", any, import("@mui/x-charts/models").ChartsXAxisProps> | DefaultedAxis<"time", any, import("@mui/x-charts/models").ChartsXAxisProps> | DefaultedAxis<"utc", any, import("@mui/x-charts/models").ChartsXAxisProps> | {
|
|
154
154
|
offset?: number;
|
|
155
155
|
} & {
|
|
156
156
|
id: AxisId;
|
|
@@ -195,14 +195,14 @@ export declare const selectorChartRawAxis: (args_0: import("../../corePlugins/us
|
|
|
195
195
|
scaleType: 'linear';
|
|
196
196
|
scale: import("@mui/x-charts-vendor/d3-scale").ScaleLinear<number, number>;
|
|
197
197
|
colorMap?: import("../../../../models/colorMapping.js").ContinuousColorConfig | import("../../../../models/colorMapping.js").PiecewiseColorConfig;
|
|
198
|
-
} |
|
|
198
|
+
} | {
|
|
199
199
|
scaleType: 'point';
|
|
200
200
|
ordinalTimeTicks?: import("@mui/x-charts/models").OrdinalTimeTicks;
|
|
201
201
|
scale: import("@mui/x-charts-vendor/d3-scale").ScalePoint<{
|
|
202
202
|
toString(): string;
|
|
203
203
|
}>;
|
|
204
204
|
colorMap?: import("../../../../models/colorMapping.js").OrdinalColorConfig | import("../../../../models/colorMapping.js").ContinuousColorConfig | import("../../../../models/colorMapping.js").PiecewiseColorConfig;
|
|
205
|
-
} & import("../../../index.js").AxisGroups
|
|
205
|
+
} & import("../../../index.js").AxisGroups | {
|
|
206
206
|
scaleType: 'band';
|
|
207
207
|
ordinalTimeTicks?: import("@mui/x-charts/models").OrdinalTimeTicks;
|
|
208
208
|
scale: import("@mui/x-charts-vendor/d3-scale").ScaleBand<{
|
|
@@ -211,13 +211,13 @@ export declare const selectorChartRawAxis: (args_0: import("../../corePlugins/us
|
|
|
211
211
|
categoryGapRatio: number;
|
|
212
212
|
barGapRatio: number;
|
|
213
213
|
colorMap?: import("../../../../models/colorMapping.js").OrdinalColorConfig | import("../../../../models/colorMapping.js").ContinuousColorConfig | import("../../../../models/colorMapping.js").PiecewiseColorConfig;
|
|
214
|
-
} & import("../../../index.js").AxisGroups & Pick<import("../../../../hooks/useTicks.js").TickParams, "tickLabelPlacement" | "tickPlacement"
|
|
214
|
+
} & import("../../../index.js").AxisGroups & Pick<import("../../../../hooks/useTicks.js").TickParams, "tickLabelPlacement" | "tickPlacement">, "scale">> & {
|
|
215
215
|
position?: "left" | "none" | "right" | undefined;
|
|
216
216
|
height?: undefined;
|
|
217
217
|
width?: number | "auto" | undefined;
|
|
218
218
|
} & import("../../../../hooks/useTicks.js").TickParams & import("../../../index.js").AxisConfigExtension & {
|
|
219
219
|
zoom: import("./useChartCartesianAxis.types.js").DefaultizedZoomOptions | undefined;
|
|
220
|
-
}
|
|
220
|
+
} | undefined;
|
|
221
221
|
export declare const selectorChartDefaultXAxisId: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.js").UseChartSeriesConfigState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & 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 & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
|
|
222
222
|
cacheKey: import("../../models/index.js").ChartStateCacheKey;
|
|
223
223
|
}) => AxisId;
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.selectorDefaultYAxisTickNumber = exports.selectorDefaultXAxisTickNumber = exports.selectorChartZoomOptionsLookup = exports.selectorChartZoomMap = exports.selectorChartZoomIsInteracting = exports.selectorChartZoomAxisFilters = exports.selectorChartYScales = exports.selectorChartYAxisWithDomains = exports.selectorChartYAxis = exports.selectorChartXScales = exports.selectorChartXAxisWithDomains = exports.selectorChartXAxis = exports.selectorChartSeriesFlatbushMap = exports.selectorChartSeriesEmptyFlatbushMap = exports.selectorChartRawAxis = exports.selectorChartNormalizedYScales = exports.selectorChartNormalizedXScales = exports.selectorChartFilteredYDomains = exports.selectorChartFilteredXDomains = exports.selectorChartDefaultYAxisId = exports.selectorChartDefaultXAxisId = exports.selectorChartAxisZoomOptionsLookup = exports.selectorChartAxisZoomData = exports.selectorChartAxis = exports.createZoomMap = void 0;
|
|
8
8
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
9
|
-
var _store = require("@
|
|
9
|
+
var _store = require("@base-ui/utils/store");
|
|
10
10
|
var _useChartDimensions = require("../../corePlugins/useChartDimensions");
|
|
11
11
|
var _useChartSeries = require("../../corePlugins/useChartSeries");
|
|
12
12
|
var _computeAxisValue = require("./computeAxisValue");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import _extends from "@babel/runtime/helpers/
|
|
2
|
-
import { createSelector, createSelectorMemoized } from '@
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
import { createSelector, createSelectorMemoized } from '@base-ui/utils/store';
|
|
3
3
|
import { selectorChartDrawingArea } from "../../corePlugins/useChartDimensions/index.mjs";
|
|
4
4
|
import { selectorChartSeriesProcessed } from "../../corePlugins/useChartSeries/index.mjs";
|
|
5
5
|
import { computeAxisValue } from "./computeAxisValue.mjs";
|
|
@@ -39,7 +39,7 @@ export declare const selectorChartsHighlightYAxisValue: (args_0: import("../../c
|
|
|
39
39
|
}[];
|
|
40
40
|
export declare const selectorChartsHighlightXAxis: (args_0: import("../../corePlugins/useChartId/useChartId.types.mjs").UseChartIdState & import("../../corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.mjs").UseChartSeriesConfigState<keyof import("../../../index.mjs").ChartsSeriesConfig> & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.mjs").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.mjs").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.mjs").UseChartSeriesState<keyof import("../../../index.mjs").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.mjs").UseChartAnimationState & import("../../../index.mjs").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.mjs").UseChartCartesianAxisState> & {
|
|
41
41
|
cacheKey: import("../../models/index.mjs").ChartStateCacheKey;
|
|
42
|
-
}) => (
|
|
42
|
+
}) => (Omit<Omit<import("../../../index.mjs").DefaultedAxis<keyof import("../../../index.mjs").AxisScaleConfig, any, ChartsAxisProps>, "scaleType">, "offset"> & Required<Pick<Omit<import("../../../index.mjs").DefaultedAxis<keyof import("../../../index.mjs").AxisScaleConfig, any, ChartsAxisProps>, "scaleType">, "offset">> & ({
|
|
43
43
|
scaleType: 'log';
|
|
44
44
|
scale: import("@mui/x-charts-vendor/d3-scale").ScaleLogarithmic<number, number>;
|
|
45
45
|
colorMap?: import("../../../../models/colorMapping.mjs").ContinuousColorConfig | import("../../../../models/colorMapping.mjs").PiecewiseColorConfig;
|
|
@@ -68,14 +68,14 @@ export declare const selectorChartsHighlightXAxis: (args_0: import("../../corePl
|
|
|
68
68
|
scaleType: 'linear';
|
|
69
69
|
scale: import("@mui/x-charts-vendor/d3-scale").ScaleLinear<number, number>;
|
|
70
70
|
colorMap?: import("../../../../models/colorMapping.mjs").ContinuousColorConfig | import("../../../../models/colorMapping.mjs").PiecewiseColorConfig;
|
|
71
|
-
} |
|
|
71
|
+
} | {
|
|
72
72
|
scaleType: 'point';
|
|
73
73
|
ordinalTimeTicks?: import("@mui/x-charts/models").OrdinalTimeTicks;
|
|
74
74
|
scale: import("@mui/x-charts-vendor/d3-scale").ScalePoint<{
|
|
75
75
|
toString(): string;
|
|
76
76
|
}>;
|
|
77
77
|
colorMap?: import("../../../../models/colorMapping.mjs").OrdinalColorConfig | import("../../../../models/colorMapping.mjs").ContinuousColorConfig | import("../../../../models/colorMapping.mjs").PiecewiseColorConfig;
|
|
78
|
-
} & import("../../../index.mjs").AxisGroups
|
|
78
|
+
} & import("../../../index.mjs").AxisGroups | {
|
|
79
79
|
scaleType: 'band';
|
|
80
80
|
ordinalTimeTicks?: import("@mui/x-charts/models").OrdinalTimeTicks;
|
|
81
81
|
scale: import("@mui/x-charts-vendor/d3-scale").ScaleBand<{
|
|
@@ -84,7 +84,7 @@ export declare const selectorChartsHighlightXAxis: (args_0: import("../../corePl
|
|
|
84
84
|
categoryGapRatio: number;
|
|
85
85
|
barGapRatio: number;
|
|
86
86
|
colorMap?: import("../../../../models/colorMapping.mjs").OrdinalColorConfig | import("../../../../models/colorMapping.mjs").ContinuousColorConfig | import("../../../../models/colorMapping.mjs").PiecewiseColorConfig;
|
|
87
|
-
} & import("../../../index.mjs").AxisGroups & Pick<import("../../../../hooks/useTicks.mjs").TickParams, "tickLabelPlacement" | "tickPlacement">)
|
|
87
|
+
} & import("../../../index.mjs").AxisGroups & Pick<import("../../../../hooks/useTicks.mjs").TickParams, "tickLabelPlacement" | "tickPlacement">) & ({
|
|
88
88
|
colorScale?: import("@mui/x-charts-vendor/d3-scale").ScaleOrdinal<string | number | Date, string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleOrdinal<number, string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleSequential<string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleThreshold<number | Date, string | null>;
|
|
89
89
|
} | {
|
|
90
90
|
colorScale?: import("@mui/x-charts-vendor/d3-scale").ScaleOrdinal<string | number | Date, string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleOrdinal<number, string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleSequential<string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleThreshold<number | Date, string | null>;
|
|
@@ -102,7 +102,7 @@ export declare const selectorChartsHighlightXAxis: (args_0: import("../../corePl
|
|
|
102
102
|
colorScale?: import("@mui/x-charts-vendor/d3-scale").ScaleSequential<string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleThreshold<number | Date, string | null>;
|
|
103
103
|
} | {
|
|
104
104
|
colorScale?: import("@mui/x-charts-vendor/d3-scale").ScaleSequential<string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleThreshold<number, string | null>;
|
|
105
|
-
})
|
|
105
|
+
}) & {
|
|
106
106
|
tickNumber: number;
|
|
107
107
|
triggerTooltip?: boolean;
|
|
108
108
|
isFullCircle?: boolean;
|
|
@@ -117,7 +117,7 @@ export declare const selectorChartsHighlightXAxis: (args_0: import("../../corePl
|
|
|
117
117
|
})[];
|
|
118
118
|
export declare const selectorChartsHighlightYAxis: (args_0: import("../../corePlugins/useChartId/useChartId.types.mjs").UseChartIdState & import("../../corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.mjs").UseChartSeriesConfigState<keyof import("../../../index.mjs").ChartsSeriesConfig> & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.mjs").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.mjs").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.mjs").UseChartSeriesState<keyof import("../../../index.mjs").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.mjs").UseChartAnimationState & import("../../../index.mjs").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.mjs").UseChartCartesianAxisState> & {
|
|
119
119
|
cacheKey: import("../../models/index.mjs").ChartStateCacheKey;
|
|
120
|
-
}) => (
|
|
120
|
+
}) => (Omit<Omit<import("../../../index.mjs").DefaultedAxis<keyof import("../../../index.mjs").AxisScaleConfig, any, ChartsAxisProps>, "scaleType">, "offset"> & Required<Pick<Omit<import("../../../index.mjs").DefaultedAxis<keyof import("../../../index.mjs").AxisScaleConfig, any, ChartsAxisProps>, "scaleType">, "offset">> & ({
|
|
121
121
|
scaleType: 'log';
|
|
122
122
|
scale: import("@mui/x-charts-vendor/d3-scale").ScaleLogarithmic<number, number>;
|
|
123
123
|
colorMap?: import("../../../../models/colorMapping.mjs").ContinuousColorConfig | import("../../../../models/colorMapping.mjs").PiecewiseColorConfig;
|
|
@@ -146,14 +146,14 @@ export declare const selectorChartsHighlightYAxis: (args_0: import("../../corePl
|
|
|
146
146
|
scaleType: 'linear';
|
|
147
147
|
scale: import("@mui/x-charts-vendor/d3-scale").ScaleLinear<number, number>;
|
|
148
148
|
colorMap?: import("../../../../models/colorMapping.mjs").ContinuousColorConfig | import("../../../../models/colorMapping.mjs").PiecewiseColorConfig;
|
|
149
|
-
} |
|
|
149
|
+
} | {
|
|
150
150
|
scaleType: 'point';
|
|
151
151
|
ordinalTimeTicks?: import("@mui/x-charts/models").OrdinalTimeTicks;
|
|
152
152
|
scale: import("@mui/x-charts-vendor/d3-scale").ScalePoint<{
|
|
153
153
|
toString(): string;
|
|
154
154
|
}>;
|
|
155
155
|
colorMap?: import("../../../../models/colorMapping.mjs").OrdinalColorConfig | import("../../../../models/colorMapping.mjs").ContinuousColorConfig | import("../../../../models/colorMapping.mjs").PiecewiseColorConfig;
|
|
156
|
-
} & import("../../../index.mjs").AxisGroups
|
|
156
|
+
} & import("../../../index.mjs").AxisGroups | {
|
|
157
157
|
scaleType: 'band';
|
|
158
158
|
ordinalTimeTicks?: import("@mui/x-charts/models").OrdinalTimeTicks;
|
|
159
159
|
scale: import("@mui/x-charts-vendor/d3-scale").ScaleBand<{
|
|
@@ -162,7 +162,7 @@ export declare const selectorChartsHighlightYAxis: (args_0: import("../../corePl
|
|
|
162
162
|
categoryGapRatio: number;
|
|
163
163
|
barGapRatio: number;
|
|
164
164
|
colorMap?: import("../../../../models/colorMapping.mjs").OrdinalColorConfig | import("../../../../models/colorMapping.mjs").ContinuousColorConfig | import("../../../../models/colorMapping.mjs").PiecewiseColorConfig;
|
|
165
|
-
} & import("../../../index.mjs").AxisGroups & Pick<import("../../../../hooks/useTicks.mjs").TickParams, "tickLabelPlacement" | "tickPlacement">)
|
|
165
|
+
} & import("../../../index.mjs").AxisGroups & Pick<import("../../../../hooks/useTicks.mjs").TickParams, "tickLabelPlacement" | "tickPlacement">) & ({
|
|
166
166
|
colorScale?: import("@mui/x-charts-vendor/d3-scale").ScaleOrdinal<string | number | Date, string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleOrdinal<number, string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleSequential<string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleThreshold<number | Date, string | null>;
|
|
167
167
|
} | {
|
|
168
168
|
colorScale?: import("@mui/x-charts-vendor/d3-scale").ScaleOrdinal<string | number | Date, string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleOrdinal<number, string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleSequential<string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleThreshold<number | Date, string | null>;
|
|
@@ -180,7 +180,7 @@ export declare const selectorChartsHighlightYAxis: (args_0: import("../../corePl
|
|
|
180
180
|
colorScale?: import("@mui/x-charts-vendor/d3-scale").ScaleSequential<string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleThreshold<number | Date, string | null>;
|
|
181
181
|
} | {
|
|
182
182
|
colorScale?: import("@mui/x-charts-vendor/d3-scale").ScaleSequential<string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleThreshold<number, string | null>;
|
|
183
|
-
})
|
|
183
|
+
}) & {
|
|
184
184
|
tickNumber: number;
|
|
185
185
|
triggerTooltip?: boolean;
|
|
186
186
|
isFullCircle?: boolean;
|
|
@@ -39,7 +39,7 @@ export declare const selectorChartsHighlightYAxisValue: (args_0: import("../../c
|
|
|
39
39
|
}[];
|
|
40
40
|
export declare const selectorChartsHighlightXAxis: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.js").UseChartSeriesConfigState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & 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 & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
|
|
41
41
|
cacheKey: import("../../models/index.js").ChartStateCacheKey;
|
|
42
|
-
}) => (
|
|
42
|
+
}) => (Omit<Omit<import("../../../index.js").DefaultedAxis<keyof import("../../../index.js").AxisScaleConfig, any, ChartsAxisProps>, "scaleType">, "offset"> & Required<Pick<Omit<import("../../../index.js").DefaultedAxis<keyof import("../../../index.js").AxisScaleConfig, any, ChartsAxisProps>, "scaleType">, "offset">> & ({
|
|
43
43
|
scaleType: 'log';
|
|
44
44
|
scale: import("@mui/x-charts-vendor/d3-scale").ScaleLogarithmic<number, number>;
|
|
45
45
|
colorMap?: import("../../../../models/colorMapping.js").ContinuousColorConfig | import("../../../../models/colorMapping.js").PiecewiseColorConfig;
|
|
@@ -68,14 +68,14 @@ export declare const selectorChartsHighlightXAxis: (args_0: import("../../corePl
|
|
|
68
68
|
scaleType: 'linear';
|
|
69
69
|
scale: import("@mui/x-charts-vendor/d3-scale").ScaleLinear<number, number>;
|
|
70
70
|
colorMap?: import("../../../../models/colorMapping.js").ContinuousColorConfig | import("../../../../models/colorMapping.js").PiecewiseColorConfig;
|
|
71
|
-
} |
|
|
71
|
+
} | {
|
|
72
72
|
scaleType: 'point';
|
|
73
73
|
ordinalTimeTicks?: import("@mui/x-charts/models").OrdinalTimeTicks;
|
|
74
74
|
scale: import("@mui/x-charts-vendor/d3-scale").ScalePoint<{
|
|
75
75
|
toString(): string;
|
|
76
76
|
}>;
|
|
77
77
|
colorMap?: import("../../../../models/colorMapping.js").OrdinalColorConfig | import("../../../../models/colorMapping.js").ContinuousColorConfig | import("../../../../models/colorMapping.js").PiecewiseColorConfig;
|
|
78
|
-
} & import("../../../index.js").AxisGroups
|
|
78
|
+
} & import("../../../index.js").AxisGroups | {
|
|
79
79
|
scaleType: 'band';
|
|
80
80
|
ordinalTimeTicks?: import("@mui/x-charts/models").OrdinalTimeTicks;
|
|
81
81
|
scale: import("@mui/x-charts-vendor/d3-scale").ScaleBand<{
|
|
@@ -84,7 +84,7 @@ export declare const selectorChartsHighlightXAxis: (args_0: import("../../corePl
|
|
|
84
84
|
categoryGapRatio: number;
|
|
85
85
|
barGapRatio: number;
|
|
86
86
|
colorMap?: import("../../../../models/colorMapping.js").OrdinalColorConfig | import("../../../../models/colorMapping.js").ContinuousColorConfig | import("../../../../models/colorMapping.js").PiecewiseColorConfig;
|
|
87
|
-
} & import("../../../index.js").AxisGroups & Pick<import("../../../../hooks/useTicks.js").TickParams, "tickLabelPlacement" | "tickPlacement">)
|
|
87
|
+
} & import("../../../index.js").AxisGroups & Pick<import("../../../../hooks/useTicks.js").TickParams, "tickLabelPlacement" | "tickPlacement">) & ({
|
|
88
88
|
colorScale?: import("@mui/x-charts-vendor/d3-scale").ScaleOrdinal<string | number | Date, string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleOrdinal<number, string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleSequential<string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleThreshold<number | Date, string | null>;
|
|
89
89
|
} | {
|
|
90
90
|
colorScale?: import("@mui/x-charts-vendor/d3-scale").ScaleOrdinal<string | number | Date, string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleOrdinal<number, string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleSequential<string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleThreshold<number | Date, string | null>;
|
|
@@ -102,7 +102,7 @@ export declare const selectorChartsHighlightXAxis: (args_0: import("../../corePl
|
|
|
102
102
|
colorScale?: import("@mui/x-charts-vendor/d3-scale").ScaleSequential<string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleThreshold<number | Date, string | null>;
|
|
103
103
|
} | {
|
|
104
104
|
colorScale?: import("@mui/x-charts-vendor/d3-scale").ScaleSequential<string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleThreshold<number, string | null>;
|
|
105
|
-
})
|
|
105
|
+
}) & {
|
|
106
106
|
tickNumber: number;
|
|
107
107
|
triggerTooltip?: boolean;
|
|
108
108
|
isFullCircle?: boolean;
|
|
@@ -117,7 +117,7 @@ export declare const selectorChartsHighlightXAxis: (args_0: import("../../corePl
|
|
|
117
117
|
})[];
|
|
118
118
|
export declare const selectorChartsHighlightYAxis: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.js").UseChartSeriesConfigState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & 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 & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
|
|
119
119
|
cacheKey: import("../../models/index.js").ChartStateCacheKey;
|
|
120
|
-
}) => (
|
|
120
|
+
}) => (Omit<Omit<import("../../../index.js").DefaultedAxis<keyof import("../../../index.js").AxisScaleConfig, any, ChartsAxisProps>, "scaleType">, "offset"> & Required<Pick<Omit<import("../../../index.js").DefaultedAxis<keyof import("../../../index.js").AxisScaleConfig, any, ChartsAxisProps>, "scaleType">, "offset">> & ({
|
|
121
121
|
scaleType: 'log';
|
|
122
122
|
scale: import("@mui/x-charts-vendor/d3-scale").ScaleLogarithmic<number, number>;
|
|
123
123
|
colorMap?: import("../../../../models/colorMapping.js").ContinuousColorConfig | import("../../../../models/colorMapping.js").PiecewiseColorConfig;
|
|
@@ -146,14 +146,14 @@ export declare const selectorChartsHighlightYAxis: (args_0: import("../../corePl
|
|
|
146
146
|
scaleType: 'linear';
|
|
147
147
|
scale: import("@mui/x-charts-vendor/d3-scale").ScaleLinear<number, number>;
|
|
148
148
|
colorMap?: import("../../../../models/colorMapping.js").ContinuousColorConfig | import("../../../../models/colorMapping.js").PiecewiseColorConfig;
|
|
149
|
-
} |
|
|
149
|
+
} | {
|
|
150
150
|
scaleType: 'point';
|
|
151
151
|
ordinalTimeTicks?: import("@mui/x-charts/models").OrdinalTimeTicks;
|
|
152
152
|
scale: import("@mui/x-charts-vendor/d3-scale").ScalePoint<{
|
|
153
153
|
toString(): string;
|
|
154
154
|
}>;
|
|
155
155
|
colorMap?: import("../../../../models/colorMapping.js").OrdinalColorConfig | import("../../../../models/colorMapping.js").ContinuousColorConfig | import("../../../../models/colorMapping.js").PiecewiseColorConfig;
|
|
156
|
-
} & import("../../../index.js").AxisGroups
|
|
156
|
+
} & import("../../../index.js").AxisGroups | {
|
|
157
157
|
scaleType: 'band';
|
|
158
158
|
ordinalTimeTicks?: import("@mui/x-charts/models").OrdinalTimeTicks;
|
|
159
159
|
scale: import("@mui/x-charts-vendor/d3-scale").ScaleBand<{
|
|
@@ -162,7 +162,7 @@ export declare const selectorChartsHighlightYAxis: (args_0: import("../../corePl
|
|
|
162
162
|
categoryGapRatio: number;
|
|
163
163
|
barGapRatio: number;
|
|
164
164
|
colorMap?: import("../../../../models/colorMapping.js").OrdinalColorConfig | import("../../../../models/colorMapping.js").ContinuousColorConfig | import("../../../../models/colorMapping.js").PiecewiseColorConfig;
|
|
165
|
-
} & import("../../../index.js").AxisGroups & Pick<import("../../../../hooks/useTicks.js").TickParams, "tickLabelPlacement" | "tickPlacement">)
|
|
165
|
+
} & import("../../../index.js").AxisGroups & Pick<import("../../../../hooks/useTicks.js").TickParams, "tickLabelPlacement" | "tickPlacement">) & ({
|
|
166
166
|
colorScale?: import("@mui/x-charts-vendor/d3-scale").ScaleOrdinal<string | number | Date, string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleOrdinal<number, string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleSequential<string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleThreshold<number | Date, string | null>;
|
|
167
167
|
} | {
|
|
168
168
|
colorScale?: import("@mui/x-charts-vendor/d3-scale").ScaleOrdinal<string | number | Date, string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleOrdinal<number, string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleSequential<string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleThreshold<number | Date, string | null>;
|
|
@@ -180,7 +180,7 @@ export declare const selectorChartsHighlightYAxis: (args_0: import("../../corePl
|
|
|
180
180
|
colorScale?: import("@mui/x-charts-vendor/d3-scale").ScaleSequential<string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleThreshold<number | Date, string | null>;
|
|
181
181
|
} | {
|
|
182
182
|
colorScale?: import("@mui/x-charts-vendor/d3-scale").ScaleSequential<string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleThreshold<number, string | null>;
|
|
183
|
-
})
|
|
183
|
+
}) & {
|
|
184
184
|
tickNumber: number;
|
|
185
185
|
triggerTooltip?: boolean;
|
|
186
186
|
isFullCircle?: boolean;
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.selectorChartsHighlightYAxisValue = exports.selectorChartsHighlightYAxisIndex = exports.selectorChartsHighlightYAxis = exports.selectorChartsHighlightXAxisValue = exports.selectorChartsHighlightXAxisIndex = exports.selectorChartsHighlightXAxis = void 0;
|
|
8
8
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
9
|
-
var _store = require("@
|
|
9
|
+
var _store = require("@base-ui/utils/store");
|
|
10
10
|
var _useChartCartesianAxisRendering = require("./useChartCartesianAxisRendering.selectors");
|
|
11
11
|
var _useChartCartesianInteraction = require("./useChartCartesianInteraction.selectors");
|
|
12
12
|
var _useChartKeyboardNavigation = require("../useChartKeyboardNavigation/useChartKeyboardNavigation.selectors");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import _extends from "@babel/runtime/helpers/
|
|
2
|
-
import { createSelector, createSelectorMemoized } from '@
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
import { createSelector, createSelectorMemoized } from '@base-ui/utils/store';
|
|
3
3
|
import { selectorChartXAxis, selectorChartYAxis } from "./useChartCartesianAxisRendering.selectors.mjs";
|
|
4
4
|
import { selectorChartsInteractionXAxisIndex, selectorChartsInteractionXAxisValue, selectorChartsInteractionYAxisIndex, selectorChartsInteractionYAxisValue } from "./useChartCartesianInteraction.selectors.mjs";
|
|
5
5
|
import { selectorChartsKeyboardXAxisIndex, selectorChartsKeyboardYAxisIndex } from "../useChartKeyboardNavigation/useChartKeyboardNavigation.selectors.mjs";
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.selectorChartsInteractionYAxisValue = exports.selectorChartsInteractionYAxisIndex = exports.selectorChartsInteractionXAxisValue = exports.selectorChartsInteractionXAxisIndex = exports.selectorChartAxisInteraction = exports.selectChartsInteractionAxisIndex = void 0;
|
|
7
|
-
var _store = require("@
|
|
7
|
+
var _store = require("@base-ui/utils/store");
|
|
8
8
|
var _useChartInteraction = require("../useChartInteraction/useChartInteraction.selectors");
|
|
9
9
|
var _getAxisValue = require("./getAxisValue");
|
|
10
10
|
var _useChartCartesianAxisRendering = require("./useChartCartesianAxisRendering.selectors");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createSelector } from '@
|
|
1
|
+
import { createSelector } from '@base-ui/utils/store';
|
|
2
2
|
import { selectorChartsInteractionPointerX, selectorChartsInteractionPointerY } from "../useChartInteraction/useChartInteraction.selectors.mjs";
|
|
3
3
|
import { getAxisIndex, getAxisValue } from "./getAxisValue.mjs";
|
|
4
4
|
import { selectorChartXAxis, selectorChartYAxis } from "./useChartCartesianAxisRendering.selectors.mjs";
|
package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianTooltip.selectors.js
CHANGED
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.selectorChartsTooltipAxisPosition = exports.selectorChartsInteractionTooltipYAxes = exports.selectorChartsInteractionTooltipXAxes = exports.selectorChartsInteractionAxisTooltip = void 0;
|
|
7
|
-
var _store = require("@
|
|
7
|
+
var _store = require("@base-ui/utils/store");
|
|
8
8
|
var _isDeepEqual = require("@mui/x-internals/isDeepEqual");
|
|
9
9
|
var _useChartCartesianAxisRendering = require("./useChartCartesianAxisRendering.selectors");
|
|
10
10
|
var _useChartInteraction = require("../useChartInteraction");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createSelector, createSelectorMemoized, createSelectorMemoizedWithOptions } from '@
|
|
1
|
+
import { createSelector, createSelectorMemoized, createSelectorMemoizedWithOptions } from '@base-ui/utils/store';
|
|
2
2
|
import { isDeepEqual } from '@mui/x-internals/isDeepEqual';
|
|
3
3
|
import { selectorChartXAxis, selectorChartYAxis } from "./useChartCartesianAxisRendering.selectors.mjs";
|
|
4
4
|
import { selectorChartsInteractionPointerX, selectorChartsInteractionPointerY } from "../useChartInteraction/index.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
import _extends from "@babel/runtime/helpers/
|
|
3
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import useEnhancedEffect from '@mui/utils/useEnhancedEffect';
|
|
6
6
|
import useEventCallback from '@mui/utils/useEventCallback';
|
package/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.selectors.js
CHANGED
|
@@ -4,6 +4,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.selectorChartsIsVoronoiEnabled = void 0;
|
|
7
|
-
var _store = require("@
|
|
7
|
+
var _store = require("@base-ui/utils/store");
|
|
8
8
|
const selectVoronoi = state => state.voronoi;
|
|
9
9
|
const selectorChartsIsVoronoiEnabled = exports.selectorChartsIsVoronoiEnabled = (0, _store.createSelector)(selectVoronoi, voronoi => voronoi?.isVoronoiEnabled);
|
package/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.selectors.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { createSelector } from '@
|
|
1
|
+
import { createSelector } from '@base-ui/utils/store';
|
|
2
2
|
const selectVoronoi = state => state.voronoi;
|
|
3
3
|
export const selectorChartsIsVoronoiEnabled = createSelector(selectVoronoi, voronoi => voronoi?.isVoronoiEnabled);
|
|
@@ -10,7 +10,7 @@ var _warning = require("@mui/x-internals/warning");
|
|
|
10
10
|
var _useAssertModelConsistency = require("@mui/x-internals/useAssertModelConsistency");
|
|
11
11
|
var _useEventCallback = _interopRequireDefault(require("@mui/utils/useEventCallback"));
|
|
12
12
|
var _useEnhancedEffect = _interopRequireDefault(require("@mui/utils/useEnhancedEffect"));
|
|
13
|
-
var _fastObjectShallowCompare = require("@
|
|
13
|
+
var _fastObjectShallowCompare = require("@base-ui/utils/fastObjectShallowCompare");
|
|
14
14
|
var _useChartSeries = require("../../corePlugins/useChartSeries/useChartSeries");
|
|
15
15
|
var _cleanIdentifier = require("../../corePlugins/useChartSeriesConfig/utils/cleanIdentifier");
|
|
16
16
|
const useChartHighlight = ({
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import _extends from "@babel/runtime/helpers/
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import { warnOnce } from '@mui/x-internals/warning';
|
|
3
3
|
import { useAssertModelConsistency } from '@mui/x-internals/useAssertModelConsistency';
|
|
4
4
|
import useEventCallback from '@mui/utils/useEventCallback';
|
|
5
5
|
import useEnhancedEffect from '@mui/utils/useEnhancedEffect';
|
|
6
|
-
import { fastObjectShallowCompare } from '@
|
|
6
|
+
import { fastObjectShallowCompare } from '@base-ui/utils/fastObjectShallowCompare';
|
|
7
7
|
import { createIdentifierWithType } from "../../corePlugins/useChartSeries/useChartSeries.mjs";
|
|
8
8
|
import { cleanIdentifier } from "../../corePlugins/useChartSeriesConfig/utils/cleanIdentifier.mjs";
|
|
9
9
|
export const useChartHighlight = ({
|
|
@@ -7,7 +7,7 @@ exports.selectorChartsHighlightScopePerSeriesId = exports.selectorChartsHighligh
|
|
|
7
7
|
exports.selectorChartsHighlightState = selectorChartsHighlightState;
|
|
8
8
|
exports.selectorChartsHighlightStateCallback = selectorChartsHighlightStateCallback;
|
|
9
9
|
exports.selectorChartsHighlightedItem = void 0;
|
|
10
|
-
var _store = require("@
|
|
10
|
+
var _store = require("@base-ui/utils/store");
|
|
11
11
|
var _highlightStates = require("./highlightStates");
|
|
12
12
|
var _useChartKeyboardNavigation = require("../useChartKeyboardNavigation");
|
|
13
13
|
var _useChartSeries = require("../../corePlugins/useChartSeries/useChartSeries.selectors");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createSelector, createSelectorMemoized } from '@
|
|
1
|
+
import { createSelector, createSelectorMemoized } from '@base-ui/utils/store';
|
|
2
2
|
import { getSeriesHighlightedDataIndex, getSeriesUnfadedDataIndex, isSeriesFaded, isSeriesHighlighted } from "./highlightStates.mjs";
|
|
3
3
|
import { selectorChartsKeyboardItem } from "../useChartKeyboardNavigation/index.mjs";
|
|
4
4
|
import { selectorChartSeriesProcessed } from "../../corePlugins/useChartSeries/useChartSeries.selectors.mjs";
|
|
@@ -7,7 +7,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.useChartInteraction = void 0;
|
|
8
8
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
9
9
|
var _useEventCallback = _interopRequireDefault(require("@mui/utils/useEventCallback"));
|
|
10
|
-
var _fastObjectShallowCompare = require("@
|
|
10
|
+
var _fastObjectShallowCompare = require("@base-ui/utils/fastObjectShallowCompare");
|
|
11
11
|
const useChartInteraction = ({
|
|
12
12
|
store
|
|
13
13
|
}) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import _extends from "@babel/runtime/helpers/
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import useEventCallback from '@mui/utils/useEventCallback';
|
|
3
|
-
import { fastObjectShallowCompare } from '@
|
|
3
|
+
import { fastObjectShallowCompare } from '@base-ui/utils/fastObjectShallowCompare';
|
|
4
4
|
export const useChartInteraction = ({
|
|
5
5
|
store
|
|
6
6
|
}) => {
|
package/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.selectors.js
CHANGED
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.selectorChartsPointerType = exports.selectorChartsLastInteraction = exports.selectorChartsInteractionPointerY = exports.selectorChartsInteractionPointerX = exports.selectorChartsInteractionPointer = exports.selectorChartsInteractionIsInitialized = void 0;
|
|
7
|
-
var _store = require("@
|
|
7
|
+
var _store = require("@base-ui/utils/store");
|
|
8
8
|
const selectInteraction = state => state.interaction;
|
|
9
9
|
const selectorChartsInteractionIsInitialized = exports.selectorChartsInteractionIsInitialized = (0, _store.createSelector)(selectInteraction, interaction => interaction !== undefined);
|
|
10
10
|
const selectorChartsInteractionPointer = exports.selectorChartsInteractionPointer = (0, _store.createSelector)(selectInteraction, interaction => interaction?.pointer ?? null);
|
package/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.selectors.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createSelector } from '@
|
|
1
|
+
import { createSelector } from '@base-ui/utils/store';
|
|
2
2
|
const selectInteraction = state => state.interaction;
|
|
3
3
|
export const selectorChartsInteractionIsInitialized = createSelector(selectInteraction, interaction => interaction !== undefined);
|
|
4
4
|
export const selectorChartsInteractionPointer = createSelector(selectInteraction, interaction => interaction?.pointer ?? null);
|