import { MapStoreState } from '../reducers/store' ; import { FLYOUT_STATE } from '../reducers/ui' ; import { DRAW_MODE } from '../../common/constants' ; export const getFlyoutDisplay = ( { ui } ) : FLYOUT_STATE => ui . flyoutDisplay ; export const getDrawMode = ( { ui } ) : DRAW_MODE => ui . drawMode ; export const getIsLayerTOCOpen = ( { ui } ) : boolean => ui . isLayerTOCOpen ; export const getIsTimesliderOpen = ( { ui } ) : boolean => ui . isTimesliderOpen ; export const getOpenTOCDetails = ( { ui } ) : string [ ] => ui . openTOCDetails ; export const getIsFullScreen = ( { ui } ) : boolean => ui . isFullScreen ; export const getIsReadOnly = ( { ui } ) : boolean => ui . isReadOnly ;