Liferay.Loader.define("data-engine-js-components-web@1.0.79/js/core/components/FieldFeedback",["module","exports","require","@frontend-taglib-clay$clayui/form","liferay!frontend-js-react-web$react","./FieldFeedback.scss"],(function(e,t,r){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.FieldFeedback=function(e){let{errorMessage:t,helpMessage:r,warningMessage:l}=e,o=function(e,t){if(null==e)return{};var r,a,n=function(e,t){if(null==e)return{};var r,a,n={},l=Object.keys(e);for(a=0;a<l.length;a++)r=l[a],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a<l.length;a++)r=l[a],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,["errorMessage","helpMessage","warningMessage"]);if(!t&&!r&&!l)return null;return n.default.createElement(a.default.FeedbackGroup,c({className:"lfr-de__field-feedback"},o),t&&n.default.createElement(a.default.FeedbackItem,null,n.default.createElement(a.default.FeedbackIndicator,{symbol:"exclamation-full"}),t),l&&!t&&n.default.createElement(a.default.FeedbackItem,null,n.default.createElement(a.default.FeedbackIndicator,{symbol:"warning-full"}),l),r&&n.default.createElement("div",null,r))};var a=l(r("@frontend-taglib-clay$clayui/form")),n=l(r("liferay!frontend-js-react-web$react"));function l(e){return e&&e.__esModule?e:{default:e}}function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e}).apply(this,arguments)}r("./FieldFeedback.scss")}}));
//# sourceMappingURL=FieldFeedback.js.map