-
Notifications
You must be signed in to change notification settings - Fork 3
/
app.menu.config.ts
71 lines (68 loc) · 2.07 KB
/
app.menu.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
import { MenuRootItem } from 'ontimize-web-ngx';
import { AccountsCardComponent } from './accounts-card/accounts-card.component';
import { BranchesCardComponent } from './branches-card/branches-card.component';
import { CustomersCardComponent } from './customers-card/customers-card.component';
import { EmployeesCardComponent } from './employees-card/employees-card.component';
export const MENU_CONFIG: MenuRootItem[] = [
{ id: 'home', name: 'HOME', icon: 'dashboard', route: '/main/home' },
{
id: 'data', name: 'DATA_', icon: 'remove_red_eye', opened: true,
items: [
{
id: 'customers',
name: 'CUSTOMERS',
tooltip: 'CUSTOMERS_CONTENT',
route: '/main/customers',
icon: 'people',
image: 'assets/images/ic_clientes.png',
component: CustomersCardComponent
},
{
id: 'accounts',
name: 'ACCOUNTS',
tooltip: 'ACCOUNTS_CONTENT',
route: '/main/accounts',
icon: 'credit_card',
image: 'assets/images/ic_cuentas.png',
component: AccountsCardComponent
},
{
id: 'branches',
name: 'BRANCHES',
tooltip: 'BRANCHES_CONTENT',
route: '/main/branches',
icon: 'account_balance',
image: 'assets/images/ic_sucursales.png',
component: BranchesCardComponent
},
{
id: 'employees',
name: 'EMPLOYEES',
tooltip: 'EMPLOYEES_CONTENT',
route: '/main/employees',
icon: 'person',
image: 'assets/images/ic_empleados.png',
component: EmployeesCardComponent
}
]
},
{
id: 'management', name: 'MANAGEMENT', icon: 'info_outline', opened: false,
items: [
{
id: 'reports',
name: 'REPORTS',
tooltip: 'REPORTS_CONTENT',
route: '/main/reports',
icon: 'description'
}
]
},
{ id: 'logout', name: 'LOGOUT', route: '/login', icon: 'power_settings_new', confirm: 'yes' }
];
export const MENU_COMPONENTS = [
AccountsCardComponent,
CustomersCardComponent,
BranchesCardComponent,
EmployeesCardComponent
];