Liferay.Loader.define("style-book-web@2.0.76/js/style-book-editor/StyleErrorsModal",["module","exports","require","@frontend-taglib-clay$clayui/button","@frontend-taglib-clay$clayui/modal","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.StyleErrorsModal=function StyleErrorsModal({onCloseModal:e,onPublish:t}){const{observer:r,onClose:o}=(0,l.useModal)({onClose:e});return n.default.createElement(l.default,{"aria-label":Liferay.Language.get("style-errors-detected"),observer:r,status:"warning"},n.default.createElement(l.default.Header,null,Liferay.Language.get("style-errors-detected")),n.default.createElement(l.default.Body,null,n.default.createElement("p",{className:"text-secondary"},Liferay.Language.get("some-of-the-fields-have-invalid-values-if-you-continue-publishing-the-latest-valid-values-will-display"))),n.default.createElement(l.default.Footer,{last:n.default.createElement(a.default.Group,{spaced:!0},n.default.createElement(a.default,{displayType:"secondary",onClick:o},Liferay.Language.get("cancel")),n.default.createElement(a.default,{displayType:"warning",onClick:t},Liferay.Language.get("continue")))}))};var a=_interopRequireDefault(r("@frontend-taglib-clay$clayui/button")),l=function _interopRequireWildcard(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_getRequireWildcardCache();if(t&&t.has(e))return t.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if(Object.prototype.hasOwnProperty.call(e,l)){var n=a?Object.getOwnPropertyDescriptor(e,l):null;n&&(n.get||n.set)?Object.defineProperty(r,l,n):r[l]=e[l]}r.default=e,t&&t.set(e,r);return r}(r("@frontend-taglib-clay$clayui/modal")),n=(_interopRequireDefault(r("liferay!frontend-js-react-web$prop-types")),_interopRequireDefault(r("liferay!frontend-js-react-web$react")));function _getRequireWildcardCache(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _getRequireWildcardCache=function _getRequireWildcardCache(){return e},e}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}}}));
//# sourceMappingURL=StyleErrorsModal.js.map