Liferay.Loader.define("data-engine-js-components-web@1.0.75/js/custom/form/reducers/paginationReducer.es",["module","exports","require","../eventTypes"],(function(e,t,a){window;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){switch(t.type){case n.EVENT_TYPES.PAGINATION.NEXT:{const{activePage:t,pages:a}=e;return{activePage:Math.min(t+1,a.length-1)}}case n.EVENT_TYPES.PAGINATION.CHANGE:{const{activePage:t}=e;return{activePage:Math.max(t-1,0)}}default:return e}};var n=a("../eventTypes")}));
//# sourceMappingURL=paginationReducer.es.js.map