2 lines
894 B
JavaScript
2 lines
894 B
JavaScript
import{p as b,a2 as d,a3 as h,a5 as m,a6 as v,a7 as c,a9 as f,b7 as u,ad as g,F as t,b as T}from"./index-1fbf5a09.js";const x=b({fixedHeader:Boolean,fixedFooter:Boolean,height:[Number,String],hover:Boolean,...d(),...h(),...m(),...v()},"VTable"),V=c()({name:"VTable",props:x(),setup(a,r){let{slots:e}=r;const{themeClasses:n}=f(a),{densityClasses:i}=u(a);return g(()=>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},n.value,i.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};
|