Liferay.Loader.define("data-engine-js-components-web@1.0.55/js/core/thunks/formValidate.es",["module","exports","require","../../utils/evaluation.es","../../utils/visitors.es","../actions/eventTypes.es"],(function(e,a,t){window;Object.defineProperty(a,"__esModule",{value:!0}),a.default=function({activePage:e,defaultLanguageId:a,editingLanguageId:t,groupId:o,pages:u,portletNamespace:d,rules:l,viewMode:r}){return g=>(0,s.evaluate)(null,{defaultLanguageId:a,editingLanguageId:t,groupId:o,pages:u,portletNamespace:d,rules:l,viewMode:r}).then((a=>{let t=!0;return new i.PagesVisitor(a).mapFields((({valid:e})=>{e||(t=!1)}),!0,!0),t||g({payload:{newPages:a,pageIndex:e},type:n.EVENT_TYPES.PAGE.VALIDATION_FAILED}),Promise.resolve(t)}))};var s=t("../../utils/evaluation.es"),i=t("../../utils/visitors.es"),n=t("../actions/eventTypes.es")}));
//# sourceMappingURL=formValidate.es.js.map