import { Award, BadgeDollarSign, Handshake, Shield } from 'lucide-vue-next'
import { h } from 'vue'

import type { FacetedFilterOption } from '@/components/data-table'

export const callTypes: (FacetedFilterOption & { style: string })[] = [
  {
    label: 'Active',
    value: 'active',
    style: 'bg-teal-100/30 text-teal-900 dark:text-teal-200 border-teal-200',
  },
  {
    label: 'Inactive',
    value: 'inactive',
    style: 'bg-neutral-300/40 border-neutral-300',
  },
  {
    label: 'Invited',
    value: 'invited',
    style: 'bg-sky-200/40 text-sky-900 dark:text-sky-100 border-sky-300',
  },
  {
    label: 'Suspended',
    value: 'suspended',
    style: 'bg-destructive/10 dark:bg-destructive/50 text-destructive dark:text-primary border-destructive/10',
  },
]

export const userTypes: FacetedFilterOption[] = [
  {
    label: 'Superadmin',
    value: 'superadmin',
    icon: h(BadgeDollarSign),
  },
  {
    label: 'Admin',
    value: 'admin',
    icon: h(Handshake),
  },
  {
    label: 'Manager',
    value: 'manager',
    icon: h(Award),
  },
  {
    label: 'Cashier',
    value: 'cashier',
    icon: h(Shield),
  },
] as const
