import { setUrlParams } from './actions/set-url-params.action' ; import { SearchBoxXStoreModule } from './types' ; /**
 *  XStoreModule For the search-box module.
 *
 *  internal export const searchBoxXStoreModule = { state : ( ) => ( { query : '' } ) , getters : { trimmedQuery ( state ) { return state . query . trim ( ) ; } } , mutations : { setQuery ( state , newQuery ) { state . query = newQuery ; } } , actions : { setUrlParams } } ;