import{r as e,j as t}from"./app-a12cf07d.js";import{i as a}from"./local-6367da78.js";import{P as s}from"./index-6dbbb2c5.js";class o extends e.Component{constructor(e){super(e),this.pageChange=({current:e,pageSize:t})=>{this.props.onChange(e)}}render(){const e=this.props;return t.jsx("div",{className:["reset-t-pagination-box",a()?"reset-t-pagination__mobile":""].join(" "),children:t.jsx(s,{foldedMaxPageBtn:2,maxPageBtn:3,className:["reset-t-pagination"].join(" "),defaultCurrent:e.pageNum,defaultPageSize:e.pageSize,pageSizeOptions:[],pageEllipsisMode:"mid",showFirstAndLastPageBtn:!1,showJumper:!1,showPageNumber:!0,showPreviousAndNextBtn:!0,size:"medium",theme:"default",total:e.total,totalContent:!0,onChange:this.pageChange})})}}export{o as P};
