/**
 * @ReduxAction Sets whether all AdapTable UI elements are hidden
 */
export const USER_INTERFACE_SET_HIDE_ADAPTABLE_UI = 'USER_INTERFACE_SET_HIDE_ADAPTABLE_UI';
export const UserInterfaceSetHideAdaptableUI = (hideAdaptableUI) => ({
    type: USER_INTERFACE_SET_HIDE_ADAPTABLE_UI,
    hideAdaptableUI,
});
const initialState = {
    HideAdaptableUI: false,
};
export const UserInterfaceReducer = (state = initialState, action) => {
    switch (action.type) {
        case USER_INTERFACE_SET_HIDE_ADAPTABLE_UI:
            return Object.assign({}, state, {
                HideAdaptableUI: action.hideAdaptableUI,
            });
        default:
            return state;
    }
};
