Liferay.Loader.define("@liferay/search-experiences-web@3.0.30/sxp_blueprint_admin/js/shared/sxp_element/FieldInput",["module","exports","require","liferay!frontend-js-react-web$react","./FieldRow"],(function(e,t,r){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=_interopRequireDefault(r("liferay!frontend-js-react-web$react")),o=_interopRequireDefault(r("./FieldRow"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(r),!0).forEach((function(t){_defineProperty(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ownKeys(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function _defineProperty(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var i=function FieldInput({disabled:e,id:t,indexFields:r,name:i,setFieldTouched:l,setFieldValue:a,showBoost:d,value:u}){return n.default.createElement("div",{className:"single-field"},n.default.createElement(o.default,{boost:(null==u?void 0:u.boost)||1,disabled:e,field:(null==u?void 0:u.field)||"",id:t,indexFields:r,languageIdPosition:(null==u?void 0:u.languageIdPosition)||-1,locale:(null==u?void 0:u.locale)||"",onBlur:()=>{l(i)},onChange:e=>{a(i,_objectSpread(_objectSpread({},u),e))},showBoost:d}))};t.default=i}}));
//# sourceMappingURL=FieldInput.js.map