Liferay.Loader.define("dynamic-data-mapping-form-field-type@6.0.145/LocalizableText/InputComponent.es",["module","exports","require","@frontend-taglib-clay$clayui/form","liferay!frontend-js-react-web$react"],(function(e,t,a){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a("@frontend-taglib-clay$clayui/form"),l=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(a("liferay!frontend-js-react-web$react"));function _extends(){return(_extends=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e}).apply(this,arguments)}var _default=({displayStyle:e,fieldName:t,inputValue:a,name:r,onFieldBlurred:o,onFieldChanged:d,onFieldFocused:u,placeholder:i,readOnly:c})=>"multiline"===e?l.default.createElement(n.ClayInput.GroupItem,null,l.default.createElement("textarea",{className:"ddm-field-text form-control",disabled:c,id:"".concat(r,"inputValue"),onBlur:o,onChange:d,onFocus:u,placeholder:i,type:"text",value:a},a)):l.default.createElement(n.ClayInput.GroupItem,{append:!0},l.default.createElement("input",_extends({},"submitLabel"===t&&{maxLength:25},{className:"ddm-field-text form-control","data-testid":"visibleChangeInput",disabled:c,id:"".concat(r,"inputValue"),onBlur:o,onChange:d,onFocus:u,placeholder:i,type:"text",value:a})));t.default=_default}}));
//# sourceMappingURL=InputComponent.es.js.map