refactor: move value to constant

This commit is contained in:
Thanaphon Frappet 2024-10-01 11:36:17 +07:00
parent 0fd01f6a34
commit 9aee87776f
2 changed files with 32 additions and 19 deletions

View file

@ -1,5 +1,35 @@
import { QTableProps } from 'quasar';
export const dialogCreateCustomerItem = [
{
icon: 'mdi:office-building',
text: 'customer.employerLegalEntity',
iconColor: '--purple-10',
color: 'var(--purple-8-hsl)',
},
{
icon: 'heroicons:user-solid',
text: 'customer.employerNaturalPerson',
iconColor: '--green-11',
color: 'var(--green-9-hsl)',
},
];
export const formMenuIcon = <
{ icon: string; color: string; bgColor: string }[]
>[
{
icon: 'mdi-office-building-outline',
color: 'hsl(var(--info-bg))',
bgColor: 'var(--surface-1)',
},
{
icon: 'mdi-briefcase-outline',
color: 'hsl(var(--info-bg))',
bgColor: 'var(--surface-1)',
},
];
export const countryCode = [
{
label: 'thai',