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