Liferay.Loader.define("@liferay/frontend-data-set-web@1.0.31/data_renderers/InputTextRenderer",["module","exports","require","@frontend-taglib-clay$clayui/form","liferay!frontend-js-react-web$prop-types","liferay!frontend-js-react-web$react"],(function(e,t,r){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r("@frontend-taglib-clay$clayui/form"),a=(l(r("liferay!frontend-js-react-web$prop-types")),l(r("liferay!frontend-js-react-web$react")));function l(e){return e&&e.__esModule?e:{default:e}}function u(){return(u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var p=function({options:e={},updateItem:t,value:r}){const{appendText:l,inputProps:p,prependText:o}=e;return a.default.createElement(n.ClayInput.Group,{small:!0},o&&a.default.createElement(n.ClayInput.GroupItem,{prepend:!0,shrink:!0},o),a.default.createElement(n.ClayInput.GroupItem,{append:l,prepend:o},a.default.createElement(n.ClayInput,u({onChange:e=>{t(e.target.value)},value:null!=r?r:""},p))),l&&a.default.createElement(n.ClayInput.GroupItem,{append:!0,shrink:!0},a.default.createElement(n.ClayInput.GroupText,null,l)))};t.default=p}}));
//# sourceMappingURL=InputTextRenderer.js.map