/* empty css             *//* empty css                    */import{d as a,m as e,x as t,o as s,l,w as n,c as o,F as m,y as i,H as c,av as r,aw as u}from"./index-2b50ecca.js";const p=a({__name:"index",props:{meta:Object},emits:["change"],setup(a,{emit:p}){const b=a,g=e([]);e([]);const v=e({page:1,limit:5});b.meta&&b.meta;const $=a=>{v.value.page=Number(a)+1,p("change",v.value)};return t((()=>{(()=>{const a=b.meta.limit,e=b.meta.total,t=Math.ceil(e/a);for(let s=0;s<t;s++){const l=s*a+1;let n;n=s===t-1?l===e?`${e}`:`${l}-${e}`:`${l}-${s===t-1?e:(s+1)*a}`,g.value[s]={title:n,page:t},g.value}})()})),(a,e)=>{const t=r,p=u;return s(),l(p,{onTabChange:$},{default:n((()=>[(s(!0),o(m,null,i(g.value,((e,o)=>(s(),l(t,{label:e.title,key:o},{default:n((()=>[c(a.$slots,"content")])),_:2},1032,["label"])))),128))])),_:3})}}});export{p as _};
