|
1 | 1 | import { createSelector, createSelectorMemoized } from '@mui/x-internals/store'; |
2 | | -import type { |
3 | | - ChartItemIdentifier, |
4 | | - ChartSeriesDefaultized, |
5 | | - ChartSeriesType, |
6 | | -} from '../../../../models/seriesType/config'; |
| 2 | +import type { SeriesItemIdentifier } from '../../../../models/seriesType'; |
| 3 | +import type { ChartSeriesDefaultized, ChartSeriesType } from '../../../../models/seriesType/config'; |
7 | 4 | import { |
8 | 5 | type ProcessedSeries, |
9 | 6 | selectorChartSeriesConfig, |
@@ -78,7 +75,7 @@ const selectorChartsTooltipAxisConfig = createSelectorMemoized( |
78 | 75 | selectorChartRadiusAxis, |
79 | 76 | selectorChartSeriesProcessed, |
80 | 77 | function selectorChartsTooltipAxisConfig<T extends ChartSeriesType>( |
81 | | - identifier: ChartItemIdentifier<T> | null, |
| 78 | + identifier: SeriesItemIdentifier<T> | null, |
82 | 79 | { axis: xAxis, axisIds: xAxisIds }: ComputeResult<ChartsXAxisProps>, |
83 | 80 | { axis: yAxis, axisIds: yAxisIds }: ComputeResult<ChartsYAxisProps>, |
84 | 81 | rotationAxes: ComputePolarResult<ChartsRotationAxisProps>, |
@@ -128,7 +125,7 @@ export const selectorChartsTooltipItemPosition = createSelectorMemoized( |
128 | 125 | selectorChartsTooltipAxisConfig, |
129 | 126 |
|
130 | 127 | function selectorChartsTooltipItemPosition<T extends ChartSeriesType>( |
131 | | - identifier: ChartItemIdentifier<T> | null, |
| 128 | + identifier: SeriesItemIdentifier<T> | null, |
132 | 129 | drawingArea: ChartDrawingArea, |
133 | 130 | seriesConfig: ChartSeriesConfig<T>, |
134 | 131 | series: ProcessedSeries<T>, |
|
0 commit comments