var x=Object.defineProperty;var m=Object.getOwnPropertySymbols;var n=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable;var i=(e,t,a)=>t in e?x(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a,l=(e,t)=>{for(var a in t||(t={}))n.call(t,a)&&i(e,a,t[a]);if(m)for(var a of m(t))f.call(t,a)&&i(e,a,t[a]);return e};var r=(e,t)=>{var a={};for(var o in e)n.call(e,o)&&t.indexOf(o)<0&&(a[o]=e[o]);if(e!=null&&m)for(var o of m(e))t.indexOf(o)<0&&f.call(e,o)&&(a[o]=e[o]);return a};import{r as b,j as d,c}from"./index-C7Y5J1TO.js";const p=b.forwardRef((o,a)=>{var s=o,{className:e}=s,t=r(s,["className"]);return d.jsx("div",{className:"relative w-full overflow-auto",children:d.jsx("table",l({ref:a,className:c("w-full caption-bottom text-sm",e)},t))})});p.displayName="Table";const N=b.forwardRef((o,a)=>{var s=o,{className:e}=s,t=r(s,["className"]);return d.jsx("thead",l({ref:a,className:c("[&_tr]:border-b",e)},t))});N.displayName="TableHeader";const T=b.forwardRef((o,a)=>{var s=o,{className:e}=s,t=r(s,["className"]);return d.jsx("tbody",l({ref:a,className:c("[&_tr:last-child]:border-0",e)},t))});T.displayName="TableBody";const w=b.forwardRef((o,a)=>{var s=o,{className:e}=s,t=r(s,["className"]);return d.jsx("tfoot",l({ref:a,className:c("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",e)},t))});w.displayName="TableFooter";const h=b.forwardRef((o,a)=>{var s=o,{className:e}=s,t=r(s,["className"]);return d.jsx("tr",l({ref:a,className:c("border-b transition-colors odd:bg-white even:bg-accent hover:bg-muted/50 data-[state=selected]:bg-muted",e)},t))});h.displayName="TableRow";const u=b.forwardRef((o,a)=>{var s=o,{className:e}=s,t=r(s,["className"]);return d.jsx("th",l({ref:a,className:c("h-10 px-2 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",e)},t))});u.displayName="TableHead";const y=b.forwardRef((o,a)=>{var s=o,{className:e}=s,t=r(s,["className"]);return d.jsx("td",l({ref:a,className:c("p-2 align-middle [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",e)},t))});y.displayName="TableCell";const j=b.forwardRef((o,a)=>{var s=o,{className:e}=s,t=r(s,["className"]);return d.jsx("caption",l({ref:a,className:c("mt-4 text-sm text-muted-foreground",e)},t))});j.displayName="TableCaption";export{p as T,N as a,h as b,u as c,T as d,y as e};
