import{u as n,m as d,a as h}from"./tag-Dx3OexMp.js";import{v,w as b}from"./VAvatar-x_79C0tA.js";import{v as f,x as c,aq as u,a as g,a6 as x,J as y,C as T,e as l,a7 as V}from"./index-CTxlYqj4.js";const p=c({fixedHeader:Boolean,fixedFooter:Boolean,height:[Number,String],hover:Boolean,...h(),...b(),...d(),...T()},"VTable"),w=f()({name:"VTable",props:p(),setup(a,r){let{slots:e,emit:C}=r;const{themeClasses:i}=u(a),{densityClasses:m}=v(a);return n(()=>g(a.tag,{class:y(["v-table",{"v-table--fixed-height":!!a.height,"v-table--fixed-header":a.fixedHeader,"v-table--fixed-footer":a.fixedFooter,"v-table--has-top":!!e.top,"v-table--has-bottom":!!e.bottom,"v-table--hover":a.hover},i.value,m.value,a.class]),style:x(a.style)},{default:()=>{var t,o,s;return[(t=e.top)==null?void 0:t.call(e),e.default?l("div",{class:"v-table__wrapper",style:{height:V(a.height)}},[l("table",null,[e.default()])]):(o=e.wrapper)==null?void 0:o.call(e),(s=e.bottom)==null?void 0:s.call(e)]}})),{}}});export{w as V,p as m};
