import"./rolldown-runtime-BM3Ffeng.js";import{S as e}from"./element-plus-vendor-BF9PNysW.js";import{I as t,O as n,Pt as r,et as i}from"./vue-vendor-DMUmTARL.js";import{l as a}from"./index-y6crcKNt.js";var o=t({__name:`AdminPagination`,props:{page:{},limit:{},total:{},pageSizes:{default:()=>[10,50,100,200,1e3,99999999]}},emits:[`update:page`,`update:limit`,`change`],setup(t,{emit:o}){let s=a(),c=o,l=e=>{c(`update:page`,e),c(`change`)},u=e=>{c(`update:limit`,e),c(`update:page`,1),c(`change`)};return(a,o)=>{let c=e;return i(),n(c,{class:`mt-3`,background:``,"page-size":t.limit,layout:r(s).adminTable.pager.layout,size:r(s).adminTable.pager.size,"pager-count":r(s).adminTable.pager.pagerCount,"current-page":t.page,"page-sizes":t.pageSizes,total:t.total,onCurrentChange:l,onSizeChange:u},null,8,[`page-size`,`layout`,`size`,`pager-count`,`current-page`,`page-sizes`,`total`])}}});export{o as t};