Liferay.Loader.define("portal-search-ranking-web@3.0.58/js/components/add_result/AddResultSearchBar.es",["module","exports","require","@frontend-taglib-clay$clayui/button","@frontend-taglib-clay$clayui/icon","@frontend-taglib-clay$clayui/layout","liferay!frontend-js-react-web$prop-types","liferay!frontend-js-react-web$react"],(function(e,a,t){window;{Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var r=_interopRequireDefault(t("@frontend-taglib-clay$clayui/button")),n=_interopRequireDefault(t("@frontend-taglib-clay$clayui/icon")),l=_interopRequireDefault(t("@frontend-taglib-clay$clayui/layout")),u=(t("liferay!frontend-js-react-web$prop-types"),_interopRequireDefault(t("liferay!frontend-js-react-web$react")));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const AddResultSearchBar=({onSearchKeyDown:e,onSearchQueryChange:a,onSearchSubmit:t,searchQuery:i})=>u.default.createElement(l.default.ContainerFluid,{className:"add-result-container"},u.default.createElement("div",{className:"management-bar navbar-expand-md"},u.default.createElement("div",{className:"navbar-form navbar-form-autofit"},u.default.createElement("div",{className:"input-group"},u.default.createElement("div",{className:"input-group-item"},u.default.createElement("input",{"aria-label":Liferay.Language.get("search-the-engine"),autoFocus:!0,className:"form-control input-group-inset input-group-inset-after",onChange:a,onKeyDown:e,placeholder:Liferay.Language.get("search-the-engine"),type:"text",value:i}),u.default.createElement("div",{className:"input-group-inset-item input-group-inset-item-after"},u.default.createElement(r.default,{displayType:"unstyled",onClick:t},u.default.createElement(n.default,{symbol:"search"}))))))));AddResultSearchBar.defaultProps={searchQuery:""};var i=AddResultSearchBar;a.default=i}}));
//# sourceMappingURL=AddResultSearchBar.es.js.map