import { createStoreEmitters } from '../../../store' ; import { isStringEmpty } from '../../../utils/string' ; import { searchBoxXStoreModule } from './module' ; /**
 *  StoreEmitters For the search-box module.
 *
 *  internal export const searchBoxEmitters = createStoreEmitters ( searchBoxXStoreModule , { SearchBoxQueryChanged : ( _ , getters ) => getters . trimmedQuery , UserClearedQuery : { selector : state => state . query , filter : isStringEmpty } } ) ;