import { GlobalChartState } from '../../../../state/chart_state' ; import { createCustomCachedSelector } from '../../../../state/create_selector' ; import { getSettingsSpecSelector } from '../../../../state/selectors/get_settings_specs' ; import { computeSeriesDomains } from '../utils/utils' ; import { getScaleConfigsFromSpecsSelector } from './get_api_scale_configs' ; import { getSeriesSpecsSelector , getSmallMultiplesIndexOrderSelector } from './get_specs' ; const getDeselectedSeriesSelector = ( state ) => state . interactions . deselectedDataSeries ; internal export const computeSeriesDomainsSelector = createCustomCachedSelector ( [ getSeriesSpecsSelector , getScaleConfigsFromSpecsSelector , getDeselectedSeriesSelector , getSettingsSpecSelector , getSmallMultiplesIndexOrderSelector , ] , computeSeriesDomains ) ;