import{A as d,B as h,aG as m,aT as b,I as v,d as t,L as f,M as c,aR as u,P as g,aU as T}from"./main-CJbVOHh0.js";const x=h({fixedHeader:Boolean,fixedFooter:Boolean,height:[Number,String],hover:Boolean,...g(),...u(),...c(),...f()},"VTable"),V=d()({name:"VTable",props:x(),setup(a,r){let{slots:e,emit:y}=r;const{themeClasses:i}=m(a),{densityClasses:n}=b(a);return v(()=>t(a.tag,{class:["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,n.value,a.class],style:a.style},{default:()=>{var o,l,s;return[(o=e.top)==null?void 0:o.call(e),e.default?t("div",{class:"v-table__wrapper",style:{height:T(a.height)}},[t("table",null,[e.default()])]):(l=e.wrapper)==null?void 0:l.call(e),(s=e.bottom)==null?void 0:s.call(e)]}})),{}}});export{V};
