Liferay.Loader.define("dynamic-data-mapping-form-web@4.0.150/admin/js/pages/ErrorList",["module","exports","require","@frontend-taglib-clay$clayui/alert","liferay!frontend-js-react-web$classnames","liferay!frontend-js-react-web$react"],(function(e,a,r){window;{Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var t=_interopRequireDefault(r("@frontend-taglib-clay$clayui/alert")),n=_interopRequireDefault(r("liferay!frontend-js-react-web$classnames")),l=_interopRequireDefault(r("liferay!frontend-js-react-web$react"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var _default=({errorMessages:e=[],onRemove:a,sidebarOpen:r})=>{const handleRemove=e=>()=>null==a?void 0:a(e);return e.length?l.default.createElement("div",{className:"container-fluid container-fluid-max-xl"},l.default.createElement("div",{className:(0,n.default)("ddm-form-web__exception-container",{"ddm-form-web__exception-container--sidebar-open":r})},e.map(((e,r)=>l.default.createElement(t.default,{className:"alert-dismissible",displayType:"danger",key:r,onClose:a&&handleRemove(r),title:"".concat(Liferay.Language.get("error"),":")},e))))):null};a.default=_default}}));
//# sourceMappingURL=ErrorList.js.map