69 lines
1.7 KiB
TypeScript
69 lines
1.7 KiB
TypeScript
import { NavigationItemInterface } from '@/interfaces/NavigationItem.interface';
|
|
import i18n from '@/i18n';
|
|
|
|
export const NavigationItemStorage: NavigationItemInterface[] = [
|
|
{
|
|
title: i18n.t('GENERAL.DASHBOARD').toString(),
|
|
routerName: 'dashboard',
|
|
dropdownOptions: []
|
|
},
|
|
{
|
|
title: i18n.t('GENERAL.USERS').toString(),
|
|
routerName: 'userOverview',
|
|
dropdownOptions: [
|
|
{
|
|
title: 'NAVIGATION.DROPDOWN.ALL_USERS',
|
|
routerName: 'usersOverview',
|
|
icon: 'mdi-user'
|
|
},
|
|
{
|
|
title: 'NAVIGATION.DROPDOWN.CREATE_USER',
|
|
routerName: 'createUser',
|
|
icon: 'mdi-plus-circle-outline'
|
|
}
|
|
]
|
|
},
|
|
{
|
|
title: i18n.t('GENERAL.AREAS').toString(),
|
|
routerName: 'areasOverview',
|
|
dropdownOptions: [
|
|
{
|
|
title: 'NAVIGATION.DROPDOWN.ALL_AREAS',
|
|
routerName: 'areasOverview',
|
|
icon: 'mdi-account-multiple'
|
|
},
|
|
{
|
|
title: 'NAVIGATION.DROPDOWN.CREATE_AREA',
|
|
routerName: 'createArea',
|
|
icon: 'mdi-plus-circle-outline'
|
|
}
|
|
]
|
|
},
|
|
{
|
|
title: i18n.t('NAVIGATION.DROPDOWN.MISC').toString(),
|
|
routerName: 'entitiesOverview',
|
|
dropdownOptions: [
|
|
{
|
|
title: 'NAVIGATION.DROPDOWN.ALL_ENTITIES',
|
|
routerName: 'entitiesOverview',
|
|
icon: 'mdi-account-multiple'
|
|
},
|
|
{
|
|
title: 'NAVIGATION.DROPDOWN.CREATE_ENTITY',
|
|
routerName: 'createEntity',
|
|
icon: 'mdi-plus-circle-outline'
|
|
},
|
|
{
|
|
title: 'NAVIGATION.DROPDOWN.ALL_STATUS',
|
|
routerName: 'statusOverview',
|
|
icon: 'mdi-account-multiple'
|
|
},
|
|
{
|
|
title: 'NAVIGATION.DROPDOWN.CREATE_STATUS',
|
|
routerName: 'createStatus',
|
|
icon: 'mdi-plus-circle-outline'
|
|
}
|
|
]
|
|
}
|
|
];
|