Liferay.Loader.define("@liferay/search-experiences-web@3.0.7/sxp_blueprint_admin/js/edit_sxp_blueprint/configuration_tab/index",["module","exports","require","@frontend-taglib-clay$clayui/form","@frontend-taglib-clay$clayui/layout","liferay!frontend-js-react-web$classnames","liferay!frontend-js-react-web$react","../../../schemas/advanced-configuration.schema.json","../../../schemas/aggregation-configuration.schema.json","../../../schemas/highlight-configuration.schema.json","../../../schemas/parameter-configuration.schema.json","../../../schemas/sort-configuration.schema.json","../../shared/CodeMirrorEditor","../../shared/LearnMessage"],(function(e,a,t){window;{Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n=m(t("@frontend-taglib-clay$clayui/form")),l=m(t("@frontend-taglib-clay$clayui/layout")),r=m(t("liferay!frontend-js-react-web$classnames")),i=m(t("liferay!frontend-js-react-web$react")),o=m(t("../../../schemas/advanced-configuration.schema.json")),u=m(t("../../../schemas/aggregation-configuration.schema.json")),c=m(t("../../../schemas/highlight-configuration.schema.json")),s=m(t("../../../schemas/parameter-configuration.schema.json")),f=m(t("../../../schemas/sort-configuration.schema.json")),d=m(t("../../shared/CodeMirrorEditor")),g=m(t("../../shared/LearnMessage"));function m(e){return e&&e.__esModule?e:{default:e}}const e={advancedConfig:o.default,aggregationConfig:u.default,highlightConfig:c.default,parameterConfig:s.default,sortConfig:f.default};function h({advancedConfig:a,aggregationConfig:t,errors:o,highlightConfig:u,parameterConfig:c,setFieldTouched:s,setFieldValue:f,sortConfig:m,touched:h}){const p=(a,t)=>i.default.createElement("div",{className:(0,r.default)({"has-error":h[a]&&o[a]}),onBlur:()=>s(a)},i.default.createElement(d.default,{autocompleteSchema:e[a],onChange:e=>f(a,e),value:t}),h[a]&&o[a]&&i.default.createElement(n.default.FeedbackGroup,null,i.default.createElement(n.default.FeedbackItem,null,i.default.createElement(n.default.FeedbackIndicator,{symbol:"exclamation-full"}),o[a])));return i.default.createElement(l.default.ContainerFluid,{className:"builder",size:"xl"},i.default.createElement("div",{className:"builder-content-shift"},i.default.createElement("div",{className:"sheet sheet-lg"},i.default.createElement("h2",{className:"sheet-title"},Liferay.Language.get("configuration")),i.default.createElement("div",{className:"sheet-text"},i.default.createElement("span",{className:"help-text"},Liferay.Language.get("enter-additional-blueprints-configuration-settings-below-refer-to-the-documentation-for-help")),i.default.createElement(g.default,{resourceKey:"search-blueprint-configuration"})),i.default.createElement(n.default.Group,null,i.default.createElement("label",null,Liferay.Language.get("aggregation-configuration")),i.default.createElement("div",{className:"sheet-text"},i.default.createElement("span",{className:"help-text"},Liferay.Language.get("aggregation-configuration-description")),i.default.createElement(g.default,{resourceKey:"aggregation-configuration"})),p("aggregationConfig",t)),i.default.createElement(n.default.Group,null,i.default.createElement("label",null,Liferay.Language.get("highlight-configuration")),i.default.createElement("div",{className:"sheet-text"},i.default.createElement("span",{className:"help-text"},Liferay.Language.get("highlight-configuration-description")),i.default.createElement(g.default,{resourceKey:"highlight-configuration"})),p("highlightConfig",u)),i.default.createElement(n.default.Group,null,i.default.createElement("label",null,Liferay.Language.get("sort-configuration")),i.default.createElement("div",{className:"sheet-text"},i.default.createElement("span",{className:"help-text"},Liferay.Language.get("sort-configuration-description")),i.default.createElement(g.default,{resourceKey:"sort-configuration"})),p("sortConfig",m)),i.default.createElement(n.default.Group,null,i.default.createElement("label",null,Liferay.Language.get("parameter-configuration")),i.default.createElement("div",{className:"sheet-text"},i.default.createElement("span",{className:"help-text"},Liferay.Language.get("parameter-configuration-description")),i.default.createElement(g.default,{resourceKey:"parameter-configuration"})),p("parameterConfig",c)),i.default.createElement(n.default.Group,null,i.default.createElement("label",null,Liferay.Language.get("advanced-configuration")),i.default.createElement("div",{className:"sheet-text"},i.default.createElement("span",{className:"help-text"},Liferay.Language.get("advanced-configuration-description")),i.default.createElement(g.default,{resourceKey:"advanced-configuration"})),p("advancedConfig",a)))))}var p=i.default.memo(h);a.default=p}}));
//# sourceMappingURL=index.js.map