import{c as u,l,r as o}from"./vue-vendor-81Zqb-7t.js";function v(s=20){const e=o(1),a=o(s),t=o(0),n=l({page:e,pageSize:a,total:t}),r=u(()=>Math.ceil(t.value/a.value));return{currentPage:e,pageSize:a,total:t,pagination:n,totalPages:r,resetPage:()=>{e.value=1},setTotal:c=>{t.value=c}}}export{v as u};
