import{k as o,j as s}from"./index-D0iJORaS.js";import{a as l}from"./input-CcQzS21A.js";const r=o.forwardRef(({className:e,...a},t)=>s.jsx("div",{className:"relative w-full overflow-auto",children:s.jsx("table",{ref:t,className:l("w-full caption-bottom text-sm",e),...a})}));r.displayName="Table";const d=o.forwardRef(({className:e,...a},t)=>s.jsx("thead",{ref:t,className:l("[&_tr]:border-b",e),...a}));d.displayName="TableHeader";const m=o.forwardRef(({className:e,...a},t)=>s.jsx("tbody",{ref:t,className:l("[&_tr:last-child]:border-0",e),...a}));m.displayName="TableBody";const b=o.forwardRef(({className:e,...a},t)=>s.jsx("tfoot",{ref:t,className:l("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",e),...a}));b.displayName="TableFooter";const c=o.forwardRef(({className:e,...a},t)=>s.jsx("tr",{ref:t,className:l("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",e),...a}));c.displayName="TableRow";const f=o.forwardRef(({className:e,...a},t)=>s.jsx("th",{ref:t,className:l("h-10 px-2 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",e),...a}));f.displayName="TableHead";const i=o.forwardRef(({className:e,...a},t)=>s.jsx("td",{ref:t,className:l("p-2 align-middle [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",e),...a}));i.displayName="TableCell";const n=o.forwardRef(({className:e,...a},t)=>s.jsx("caption",{ref:t,className:l("mt-4 text-sm text-muted-foreground",e),...a}));n.displayName="TableCaption";export{r as T,m as a,i as b,f as c,d,c as e};
