mirror of
https://github.com/documenso/documenso.git
synced 2025-11-15 17:21:41 +10:00
119 lines
2.5 KiB
TypeScript
119 lines
2.5 KiB
TypeScript
import { CheckCircle2, Clock, File, FileText, Inbox, Link, XCircle } from 'lucide-react';
|
|
|
|
export const statuses = [
|
|
{
|
|
value: 'INBOX',
|
|
label: 'Inbox',
|
|
icon: Inbox,
|
|
color: 'text-blue-700 dark:text-blue-300',
|
|
bgColor: 'bg-blue-100 dark:bg-blue-100 text-blue-700 dark:text-blue-700',
|
|
},
|
|
{
|
|
value: 'DRAFT',
|
|
label: 'Draft',
|
|
icon: File,
|
|
color: 'text-yellow-500 dark:text-yellow-300',
|
|
bgColor: 'bg-yellow-100 dark:bg-yellow-100 text-yellow-700 dark:text-yellow-700',
|
|
},
|
|
{
|
|
value: 'PENDING',
|
|
label: 'Pending',
|
|
icon: Clock,
|
|
color: 'text-blue-700 dark:text-blue-300',
|
|
bgColor: 'bg-blue-100 dark:bg-blue-100 text-blue-700 dark:text-blue-700',
|
|
},
|
|
{
|
|
value: 'COMPLETED',
|
|
label: 'Completed',
|
|
icon: CheckCircle2,
|
|
color: 'text-documenso-700 dark:text-documenso-300',
|
|
bgColor: 'bg-documenso-200 dark:bg-documenso-200 text-documenso-800 dark:text-documenso-800',
|
|
},
|
|
{
|
|
value: 'REJECTED',
|
|
label: 'Rejected',
|
|
icon: XCircle,
|
|
color: 'text-red-700 dark:text-red-300',
|
|
bgColor: 'bg-red-100 dark:bg-red-100 text-red-500 dark:text-red-700',
|
|
},
|
|
];
|
|
|
|
export const sources = [
|
|
{
|
|
value: 'TEMPLATE',
|
|
label: 'Template',
|
|
icon: FileText,
|
|
color: 'text-blue-700 dark:text-blue-300',
|
|
bgColor: 'bg-blue-100 dark:bg-blue-100 text-blue-700 dark:text-blue-700',
|
|
},
|
|
{
|
|
value: 'DIRECT_LINK',
|
|
label: 'Direct Link',
|
|
icon: Link,
|
|
color: 'text-green-700 dark:text-green-300',
|
|
bgColor: 'bg-green-100 dark:bg-green-100 text-green-700 dark:text-green-700',
|
|
},
|
|
];
|
|
|
|
export const timePeriods = [
|
|
{
|
|
value: 'today',
|
|
label: 'Today',
|
|
},
|
|
{
|
|
value: 'this-week',
|
|
label: 'This Week',
|
|
},
|
|
{
|
|
value: 'this-month',
|
|
label: 'This Month',
|
|
},
|
|
{
|
|
value: 'this-quarter',
|
|
label: 'This Quarter',
|
|
},
|
|
{
|
|
value: 'this-year',
|
|
label: 'This Year',
|
|
},
|
|
{
|
|
value: 'yesterday',
|
|
label: 'Yesterday',
|
|
},
|
|
{
|
|
value: 'last-week',
|
|
label: 'Last Week',
|
|
},
|
|
{
|
|
value: 'last-month',
|
|
label: 'Last Month',
|
|
},
|
|
{
|
|
value: 'last-quarter',
|
|
label: 'Last Quarter',
|
|
},
|
|
{
|
|
value: 'last-year',
|
|
label: 'Last Year',
|
|
},
|
|
{
|
|
value: 'all-time',
|
|
label: 'All Time',
|
|
},
|
|
];
|
|
|
|
export const timePeriodGroups = [
|
|
{
|
|
label: 'Present',
|
|
values: ['today', 'this-week', 'this-month', 'this-quarter', 'this-year'],
|
|
},
|
|
{
|
|
label: 'Past',
|
|
values: ['yesterday', 'last-week', 'last-month', 'last-quarter', 'last-year'],
|
|
},
|
|
{
|
|
label: '',
|
|
values: ['all-time'],
|
|
},
|
|
];
|