You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 lines
673 B

import{_ as p,o as r,c as _,h as a,w as s,y as g,I as u,P as d}from"./index.86346b70.js";const x={__name:"PaginationCom",props:{page:Number,total:Number,per:Number},emits:["changePage"],setup(e,{emit:c}){const i=t=>{c("changePage",t)};return(t,n)=>{const o=u,l=d;return r(),_("div",null,[a(l,{class:"page-com",modelValue:e.page,"onUpdate:modelValue":n[0]||(n[0]=m=>g(page)?page.value=m:null),"total-items":e.total,"items-per-page":e.per,"force-ellipses":"",onChange:i},{"prev-text":s(()=>[a(o,{name:"arrow-left"})]),"next-text":s(()=>[a(o,{name:"arrow"})]),_:1},8,["modelValue","total-items","items-per-page"])])}}},f=p(x,[["__scopeId","data-v-fad15263"]]);export{f as P};