Liferay.Loader.define("@liferay/object-js-components-web@1.0.33/components/FieldBase",["module","exports","require","@frontend-taglib-clay$clayui/form","@frontend-taglib-clay$clayui/icon","@frontend-taglib-clay$clayui/tooltip","liferay!frontend-js-react-web$classnames","liferay!frontend-js-react-web$react","./FieldFeedback","./FieldBase.scss"],(function(e,a,l){window;{Object.defineProperty(a,"__esModule",{value:!0}),a.FieldBase=function FieldBase({children:e,className:a,disabled:l,errorMessage:c,helpMessage:o,hideFeedback:u,id:f,label:m,required:b,tooltip:y,warningMessage:g}){return s.default.createElement(t.default.Group,{className:(0,i.default)(a,{"has-error":c,"has-warning":g&&!c})},m&&s.default.createElement("label",{className:(0,i.default)({disabled:l}),htmlFor:f},m,b&&s.default.createElement(RequiredMask,null)),y&&s.default.createElement(s.default.Fragment,null," ",s.default.createElement(n.ClayTooltipProvider,null,s.default.createElement("span",{"data-tooltip-align":"top",title:y},s.default.createElement(r.default,{className:"lfr-objects__field-base-tooltip-icon",symbol:"question-circle-full"})))),e,!u&&s.default.createElement(d.FieldFeedback,{errorMessage:c,helpMessage:o,warningMessage:g}))};var t=_interopRequireDefault(l("@frontend-taglib-clay$clayui/form")),r=_interopRequireDefault(l("@frontend-taglib-clay$clayui/icon")),n=l("@frontend-taglib-clay$clayui/tooltip"),i=_interopRequireDefault(l("liferay!frontend-js-react-web$classnames")),s=_interopRequireDefault(l("liferay!frontend-js-react-web$react")),d=l("./FieldFeedback");function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function RequiredMask(){return s.default.createElement(s.default.Fragment,null,s.default.createElement("span",{className:"ml-1 reference-mark text-warning"},s.default.createElement(r.default,{symbol:"asterisk"})),s.default.createElement("span",{className:"hide-accessible sr-only"},Liferay.Language.get("mandatory")))}l("./FieldBase.scss")}}));
//# sourceMappingURL=FieldBase.js.map