Liferay.Loader.define("data-engine-js-components-web@1.0.89/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 FieldFeedback(e){let{errorMessage:t,helpMessage:r,warningMessage:l}=e,o=function _objectWithoutProperties(e,t){if(null==e)return{};var r,n,a=function _objectWithoutPropertiesLoose(e,t){if(null==e)return{};var r,n,a={},l=Object.keys(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}(e,["errorMessage","helpMessage","warningMessage"]);if(!t&&!r&&!l)return null;return a.default.createElement(n.default.FeedbackGroup,_extends({className:"lfr-de__field-feedback"},o),t&&a.default.createElement(n.default.FeedbackItem,null,a.default.createElement(n.default.FeedbackIndicator,{symbol:"exclamation-full"}),t),l&&!t&&a.default.createElement(n.default.FeedbackItem,null,a.default.createElement(n.default.FeedbackIndicator,{symbol:"warning-full"}),l),r&&a.default.createElement("div",null,r))};var n=_interopRequireDefault(r("@frontend-taglib-clay$clayui/form")),a=_interopRequireDefault(r("liferay!frontend-js-react-web$react"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _extends(){return(_extends=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)}r("./FieldFeedback.scss")}}));
//# sourceMappingURL=FieldFeedback.js.map