export { decorateTerm } from "./ui" ; export { middleware , reduceSessions } from "./store/reducer" ; import { getAutocomplete , getSessionByUid } from "./store/reducer" ; export const mapTermsState = ( state , map ) => { return { ... map , autocomplete : getAutocomplete ( state . sessions ) } ; } ; export const getTermGroupProps = ( uid , parentProps , props ) => { return { ... props , autocomplete : parentProps . autocomplete } ; } ; export const getTermProps = ( uid , parentProps , props ) => { return { ... props , context : getSessionByUid ( parentProps , uid ) } ; } ;