import{_ as s}from"./index.195d4b6e.js";import{d as g,r,o as i,a as l,i as u}from"./vendor.26ab8f26.js";const d=g({components:{},props:{modelValue:{type:Object,default:()=>({})},pageSizes:{type:Array,default:()=>[10,20,30,40]},layout:{type:String,default:"total, sizes, prev, pager, next, jumper"}},emits:["change"],setup(e,{emit:a}){return{sizeChange:()=>{e.modelValue.page=1,a("change")},pageChange:()=>{a("change")}}}}),m={class:"pagination"};function z(e,a,o,t,C,h){const p=r("el-pagination");return i(),l("div",m,[u(p,{currentPage:e.modelValue.page,"onUpdate:currentPage":a[0]||(a[0]=n=>e.modelValue.page=n),pageSize:e.modelValue.size,"onUpdate:pageSize":a[1]||(a[1]=n=>e.modelValue.size=n),"page-sizes":e.pageSizes,layout:e.layout,total:e.modelValue.count,"hide-on-single-page":"",onSizeChange:e.sizeChange,onCurrentChange:e.pageChange},null,8,["currentPage","pageSize","page-sizes","layout","total","onSizeChange","onCurrentChange"])])}var y=s(d,[["render",z]]);export{y as P};
