import{g as b,p as m,aD as h,aa as u,u as f,c as o,ah as c,x as d,aS as g,n as y,b as x,al as V,m as T,af as C,a as k}from"./index-C5GbdPxY.js";const P=m({fixedHeader:Boolean,fixedFooter:Boolean,height:[Number,String],hover:Boolean,striped:{type:String,default:null,validator:e=>["even","odd"].includes(e)},...k(),...C(),...T(),...V()},"VTable"),D=b()({name:"VTable",props:P(),setup(e,n){let{slots:a,emit:p}=n;const{themeClasses:i}=h(e),{densityClasses:r}=u(e);return f(()=>{const v={VCheckboxBtn:{density:e.density}};return o(e.tag,{class:x(["v-table",{"v-table--fixed-height":!!e.height,"v-table--fixed-header":e.fixedHeader,"v-table--fixed-footer":e.fixedFooter,"v-table--has-top":!!a.top,"v-table--has-bottom":!!a.bottom,"v-table--hover":e.hover,"v-table--striped-even":e.striped==="even","v-table--striped-odd":e.striped==="odd"},i.value,r.value,e.class]),style:y(e.style)},{default:()=>{var t,l;return[(t=a.top)==null?void 0:t.call(a),o(c,{defaults:v},{default:()=>{var s;return[a.default?d("div",{class:"v-table__wrapper",style:{height:g(e.height)}},[d("table",null,[a.default()])]):(s=a.wrapper)==null?void 0:s.call(a)]}}),(l=a.bottom)==null?void 0:l.call(a)]}})}),{}}});export{D as V,P as m};
