import { namespacedWireCommit , namespacedWireDispatch } from '../../wiring/namespaced-wires.factory' ; import { NamespacedWireCommit } from '../../wiring/namespaced-wiring.types' ; import { createWiring } from '../../wiring/wiring.utils' ; /**
 * `searchBox`  XModuleName .
 *
 *  internal const moduleName = 'searchBox' ; /**
 * WireCommit for  SearchBoxXModule .
 *
 *  internal const wireCommit = namespacedWireCommit ( moduleName ) ; /**
 * WireDispatch for  SearchBoxXModule .
 *
 *  internal const wireDispatch = namespacedWireDispatch ( moduleName ) ; public const setSearchBoxQuery = wireCommit ( 'setQuery' ) ; public const clearSearchBoxQuery = wireCommit ( 'setQuery' , '' ) ; public const setUrlParams = wireDispatch ( 'setUrlParams' ) ; internal export const searchBoxWiring = createWiring ( { UserIsTypingAQuery : { setSearchBoxQuery } , UserAcceptedAQuery : { setSearchBoxQuery } , UserPressedClearSearchBoxButton : { clearSearchBoxQuery } , ParamsLoadedFromUrl : { setUrlParams } } ) ;