share route itens

This commit is contained in:
2025-11-24 19:11:20 -03:00
parent 4db2123bc5
commit 21840506b0
31 changed files with 460 additions and 703 deletions

View File

@@ -0,0 +1,61 @@
import {
CheckCircleIcon,
ClockAlertIcon,
RotateCcwIcon,
CircleXIcon,
ClockIcon,
BanIcon,
type LucideIcon
} from 'lucide-react'
export const statuses: Record<
string,
{ icon: LucideIcon; color?: string; label: string }
> = {
PENDING: {
icon: ClockIcon,
label: 'Pendente',
color: 'text-blue-400 [&_svg]:text-blue-500'
},
PAID: {
icon: CheckCircleIcon,
color: 'text-green-400 [&_svg]:text-green-500',
label: 'Pago'
},
REFUNDED: {
icon: RotateCcwIcon,
color: 'text-orange-400 [&_svg]:text-orange-500',
label: 'Estornado'
},
EXPIRED: {
icon: ClockAlertIcon,
color: 'text-orange-400 [&_svg]:text-orange-500',
label: 'Expirado'
},
CANCELED: {
icon: CircleXIcon,
color: 'text-red-400 [&_svg]:text-red-500',
label: 'Cancelado'
},
DECLINED: {
icon: BanIcon,
color: 'text-red-400 [&_svg]:text-red-500',
label: 'Negado'
}
}
export const labels: Record<string, string> = {
PENDING: 'Pendente',
PAID: 'Pago',
DECLINED: 'Negado',
EXPIRED: 'Expirado',
REFUNDED: 'Estornado',
CANCELED: 'Cancelado'
}
export const methods: Record<string, string> = {
BANK_SLIP: 'Boleto bancário',
MANUAL: 'Depósito bancário',
CREDIT_CARD: 'Cartão de crédito',
PIX: 'Pix'
}