VTable.c59a0e01.js 1.2 KB

1
  1. var m=Object.defineProperty;var i=Object.getOwnPropertySymbols;var v=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable;var b=(a,t,e)=>t in a?m(a,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):a[t]=e,o=(a,t)=>{for(var e in t||(t={}))v.call(t,e)&&b(a,e,t[e]);if(i)for(var e of i(t))c.call(t,e)&&b(a,e,t[e]);return a};import{q as f,ap as u,bt as T,aR as g,aS as x,x as y,aT as V,bu as k,E as p,b as l,at as P}from"./index.6c36cb53.js";const C=f(o(o(o(o({fixedHeader:Boolean,fixedFooter:Boolean,height:[Number,String],hover:Boolean},u()),T()),g()),x()),"VTable"),D=y()({name:"VTable",props:C(),setup(a,t){let{slots:e,emit:B}=t;const{themeClasses:h}=V(a),{densityClasses:d}=k(a);return p(()=>l(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},h.value,d.value,a.class],style:a.style},{default:()=>{var s,r,n;return[(s=e.top)==null?void 0:s.call(e),e.default?l("div",{class:"v-table__wrapper",style:{height:P(a.height)}},[l("table",null,[e.default()])]):(r=e.wrapper)==null?void 0:r.call(e),(n=e.bottom)==null?void 0:n.call(e)]}})),{}}});export{D as V};