"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var s=require('./../../../ext-esm/tslib/tslib.es6.js'),o=require("react/jsx-runtime"),e=require("react"),c=require("@material-ui/core"),n=require("../../../icons/iconParkIcons.js");require("../../../icons/customIcons/icons/AddMessage.js"),require("../../../icons/customIcons/icons/Attention.js"),require("../../../icons/customIcons/icons/Collapse.js"),require("../../../icons/customIcons/icons/Dashboard.js"),require("../../../icons/customIcons/icons/Expand.js"),require("../../../icons/customIcons/icons/FolderClosed.js"),require("../../../icons/customIcons/icons/FolderClosedFilled.js"),require("../../../icons/customIcons/icons/FolderOpened.js"),require("../../../icons/customIcons/icons/GreaterOrEqual.js"),require("../../../icons/customIcons/icons/LessOrEqual.js"),require("../../../icons/customIcons/icons/Search.js"),require("../../../icons/customIcons/icons/Wellhub.js"),require("../../../icons/customIcons/icons/MultiRuler.js"),require("../../../icons/customIcons/icons/Checkbox.js"),require("../../../icons/customIcons/icons/CheckboxChecked.js"),require("../../../icons/customIcons/icons/CheckboxIndeterminate.js"),require("../../../icons/customIcons/icons/Radio.js"),require("../../../icons/customIcons/icons/RadioChecked.js"),require("../../../icons/customIcons/icons/SimulFrac.js"),require("../../../icons/customIcons/icons/ZipperFrac.js"),require("../../../icons/customIcons/icons/CautionFilled.js"),require("../../../icons/customIcons/icons/MoreApp.js");var i=require("../../IconButton/index.js"),r=c.makeStyles((function(s){return{icon:{color:s.palette.primary.text6}}})),u=e.forwardRef((function(e,c){var u=e.backIconButtonProps,t=e.count,a=e.nextIconButtonProps,l=e.onChangePage,m=e.page,j=e.rowsPerPage,d=s.__rest(e,["backIconButtonProps","count","nextIconButtonProps","onChangePage","page","rowsPerPage"]),I=-1!==t&&m>=Math.ceil(t/j)-1,q=r();return o.jsxs("div",s.__assign({ref:c},d,{children:[o.jsx(i,s.__assign({onClick:function(s){l(s,m-1)},disabled:0===m},u,{children:o.jsx(n.LeftIcon,{size:"small",className:q.icon})})),o.jsx(i,s.__assign({onClick:function(s){l(s,m+1)},disabled:I},a,{children:o.jsx(n.RightIcon,{size:"small",className:q.icon})}))]}))}));exports.TablePaginationActions=u;
