import{j as e}from"./vendor-rThclpOQ.js";import{A as r,a as i,b as c}from"./avatar-BsP_s7dr.js";import{B as l}from"./button-ZcsoqUQn.js";import"./utils-8KAaAB9H.js";import"./index-DquVdLUg.js";const h=t=>{const{table:s}=t;return[{accessorKey:"profile",header:()=>e.jsx("div",{className:"pl-4",children:s.name}),cell:({row:a})=>e.jsxs("div",{className:"flex items-center gap-2 pl-4 capitalize",children:[e.jsxs(r,{children:[e.jsx(i,{src:a.original.user.photo||"",alt:a.original.user.name,className:"object-cover"}),e.jsx(c,{children:a.original.user.name.charAt(0)})]}),e.jsxs("div",{children:[e.jsx("p",{children:a.original.user.name}),e.jsx("p",{children:a.original.user.email})]})]})},{accessorKey:"amount",header:()=>e.jsx("div",{className:"text-center",children:s.payout_amount}),cell:({row:a})=>e.jsx("div",{className:"text-center capitalize",children:e.jsxs("p",{children:[a.original.amount,"$"]})})},{accessorKey:"method",header:()=>e.jsx("div",{className:"text-center",children:s.payout_method}),cell:({row:a})=>e.jsx("div",{className:"text-center capitalize",children:e.jsx("p",{children:a.original.payout_method})})},{accessorKey:"status",header:()=>e.jsx("div",{className:"text-center",children:s.status}),cell:({row:a})=>e.jsx("div",{className:"text-center capitalize",children:a.getValue("status")})},{id:"processed",header:()=>e.jsx("div",{className:"text-center",children:s.payout_date}),cell:({row:a})=>e.jsx("div",{className:"text-center",children:a.original.updated_at})},{id:"action",header:()=>e.jsx("div",{className:"pr-4 text-end",children:s.action}),cell:({row:a})=>e.jsx("div",{className:"pr-4 text-end",children:e.jsx(l,{children:s.print})})}]};export{h as default};
