imbric-theme 0.3.1 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- package/.storybook/main.js +1 -1
- package/atoms/AlertModal/AlertModal.js +77 -0
- package/atoms/AlertModal/AlertModal.module.css +3 -0
- package/atoms/AlertModal/AlertModal.stories.js +30 -0
- package/atoms/AlertModal/constants.js +4 -0
- package/atoms/AlertModal/index.js +3 -0
- package/atoms/Button/Button.js +5 -2
- package/atoms/Button/Button.module.css +6 -3
- package/atoms/Checkbox/Checkbox.js +49 -0
- package/atoms/Checkbox/Checkbox.module.css +3 -0
- package/atoms/Checkbox/Checkbox.stories.js +28 -0
- package/atoms/Checkbox/constants.js +1 -0
- package/atoms/Checkbox/index.js +3 -0
- package/atoms/Heading/Heading.js +1 -1
- package/atoms/Heading/Heading.module.css +4 -0
- package/atoms/Heading/constants.js +1 -1
- package/atoms/Icon/constants.js +30 -6
- package/atoms/Icon/file-download-svgrepo-com.svg +13 -0
- package/atoms/Input/Input.js +21 -5
- package/atoms/Input/Input.module.css +26 -6
- package/atoms/Input/Input.stories.js +8 -2
- package/atoms/Input/__snapshots__/Input.stories.js.snap +5 -5
- package/atoms/Input/constants.js +1 -1
- package/atoms/Label/Label.js +31 -0
- package/atoms/Label/Label.module.css +38 -0
- package/atoms/Label/Label.stories.js +26 -0
- package/atoms/Label/constants.js +1 -0
- package/atoms/Label/index.js +3 -0
- package/atoms/Paragraph/Paragraph.module.css +4 -0
- package/index.js +20 -1
- package/jest.config.js +1 -1
- package/layout/DynamicTable/DynamicTable.js +207 -0
- package/layout/DynamicTable/DynamicTable.module.css +62 -0
- package/layout/DynamicTable/DynamicTable.stories.js +30 -0
- package/layout/DynamicTable/constants.js +840 -0
- package/layout/DynamicTable/index.js +3 -0
- package/layout/Navbar/Navbar.js +19 -11
- package/layout/Navbar/Navbar.module.css +4 -2
- package/layout/Navbar/Navbar.stories.js +2 -1
- package/layout/Sidebar/Sidebar.js +5 -3
- package/layout/Sidebar/Sidebar.module.css +1 -10
- package/layout/Sidebar/Sidebar.stories.js +1 -1
- package/layout/Sidebar/constants.js +228 -205
- package/molecules/CheckList/CheckList.js +135 -0
- package/molecules/CheckList/CheckList.module.css +94 -0
- package/molecules/CheckList/CheckList.stories.js +25 -0
- package/molecules/CheckList/constants.js +23 -0
- package/molecules/CheckList/index.js +3 -0
- package/molecules/ColumnTable/ColumnTable.js +123 -0
- package/molecules/ColumnTable/ColumnTable.module.css +9 -0
- package/molecules/ColumnTable/ColumnTable.stories.js +29 -0
- package/molecules/ColumnTable/constants.js +1 -0
- package/molecules/ColumnTable/index.js +3 -0
- package/molecules/DatePicker/DatePicker.js +223 -0
- package/molecules/DatePicker/DatePicker.module.css +38 -0
- package/molecules/DatePicker/DatePicker.stories.js +23 -0
- package/molecules/DatePicker/constants.js +3 -0
- package/molecules/DatePicker/index.js +3 -0
- package/molecules/Dropdown/Dropdown.js +25 -22
- package/molecules/Dropdown/Dropdown.module.css +21 -3
- package/molecules/DynamicSelect/DynamicSelect.js +109 -0
- package/molecules/DynamicSelect/DynamicSelect.module.css +10 -0
- package/molecules/DynamicSelect/DynamicSelect.stories.js +32 -0
- package/molecules/DynamicSelect/constants.js +7 -0
- package/molecules/DynamicSelect/index.js +3 -0
- package/molecules/Error/Error.js +2 -2
- package/molecules/Error/Error.module.css +3 -2
- package/molecules/ItemMenu/ItemMenu.js +34 -31
- package/molecules/ItemMenu/ItemMenu.module.css +13 -4
- package/molecules/ItemMenu/ItemMenu.stories.js +2 -1
- package/molecules/ItemMenu/constants.js +3 -0
- package/molecules/RowTable/RowTable.js +22 -0
- package/molecules/RowTable/RowTable.module.css +3 -0
- package/molecules/RowTable/RowTable.stories.js +23 -0
- package/molecules/RowTable/constants.js +1 -0
- package/molecules/RowTable/index.js +3 -0
- package/package.json +11 -2
- package/pages/Login/Login.js +102 -0
- package/pages/Login/Login.module.css +5 -0
- package/pages/Login/Login.stories.js +23 -0
- package/pages/Login/constants.js +1 -0
- package/pages/Login/index.js +3 -0
- package/pages/Login/validation/loginSchema.js +5 -0
- package/public/static/logologin.svg +16 -0
- package/scripts/create-component.js +2 -1
- package/storybook-static/0.263f852f.iframe.bundle.js +1 -0
- package/storybook-static/0.91dbd3f3aa2099d25061.manager.bundle.js +1 -0
- package/storybook-static/1.17e9ac7e.iframe.bundle.js +3 -0
- package/storybook-static/1.17e9ac7e.iframe.bundle.js.LICENSE.txt +8 -0
- package/storybook-static/1.17e9ac7e.iframe.bundle.js.map +1 -0
- package/storybook-static/2.cc4000c2.iframe.bundle.js +1 -0
- package/storybook-static/3.e9f95d01.iframe.bundle.js +1 -0
- package/storybook-static/4.be0a752c9f5176d6eec1.manager.bundle.js +2 -0
- package/storybook-static/4.be0a752c9f5176d6eec1.manager.bundle.js.LICENSE.txt +8 -0
- package/storybook-static/5.8efdde123acaf8fbb100.manager.bundle.js +1 -0
- package/storybook-static/6.2f82294ae0b087aecb24.manager.bundle.js +2 -0
- package/storybook-static/6.2f82294ae0b087aecb24.manager.bundle.js.LICENSE.txt +12 -0
- package/storybook-static/7.97068037.iframe.bundle.js +1 -0
- package/storybook-static/7.fa9452d2609e8a00f314.manager.bundle.js +1 -0
- package/storybook-static/8.66f5ef1c66fc4628f127.manager.bundle.js +1 -0
- package/storybook-static/8.b545d602.iframe.bundle.js +3 -0
- package/storybook-static/8.b545d602.iframe.bundle.js.LICENSE.txt +12 -0
- package/storybook-static/8.b545d602.iframe.bundle.js.map +1 -0
- package/storybook-static/9.269ed917.iframe.bundle.js +1 -0
- package/storybook-static/favicon.ico +0 -0
- package/storybook-static/iframe.html +348 -0
- package/storybook-static/index.html +59 -0
- package/storybook-static/main.157061c9.iframe.bundle.js +1 -0
- package/storybook-static/main.5a07347846ccf2d7e5dc.manager.bundle.js +1 -0
- package/storybook-static/runtime~main.a14e6e62.iframe.bundle.js +1 -0
- package/storybook-static/runtime~main.f78c3fae275fc212c109.manager.bundle.js +1 -0
- package/storybook-static/static/logo.svg +19 -0
- package/storybook-static/static/logologin.svg +16 -0
- package/storybook-static/static/logotipo.svg +50 -0
- package/storybook-static/static/logotipoS.svg +26 -0
- package/storybook-static/vendors~main.720e76f4.iframe.bundle.js +3 -0
- package/storybook-static/vendors~main.720e76f4.iframe.bundle.js.LICENSE.txt +110 -0
- package/storybook-static/vendors~main.720e76f4.iframe.bundle.js.map +1 -0
- package/storybook-static/vendors~main.fcd0b2a3431ddf75f5f7.manager.bundle.js +2 -0
- package/storybook-static/vendors~main.fcd0b2a3431ddf75f5f7.manager.bundle.js.LICENSE.txt +101 -0
- package/styles/globals.css +590 -3
- package/styles/tokens.css +2 -1
- package/tokens/index.js +2 -1
package/layout/Navbar/Navbar.js
CHANGED
@@ -6,16 +6,14 @@ import withStyles from '../../hocs/withStyles'
|
|
6
6
|
import Heading from '../../atoms/Heading/Heading'
|
7
7
|
import Tabs from '../../molecules/Tabs/Tabs'
|
8
8
|
|
9
|
-
export const Navbar = ({ getStyles,
|
9
|
+
export const Navbar = ({ getStyles, viewTabsNav, viewOptionsNav, children, linkLogout }) => {
|
10
10
|
return (
|
11
11
|
<>
|
12
|
-
<header className={getStyles('navbar'
|
13
|
-
'is-playground': isPlayground,
|
14
|
-
})}>
|
12
|
+
<header className={getStyles('navbar')}>
|
15
13
|
|
16
14
|
<Heading
|
17
|
-
color="
|
18
|
-
size="
|
15
|
+
color="base"
|
16
|
+
size="xs"
|
19
17
|
weight="light"
|
20
18
|
isInline
|
21
19
|
>
|
@@ -50,14 +48,21 @@ export const Navbar = ({ getStyles, isPlayground, children }) => {
|
|
50
48
|
view: true
|
51
49
|
}
|
52
50
|
]}
|
53
|
-
viewTabs
|
51
|
+
viewTabs={viewTabsNav}
|
54
52
|
/>
|
55
53
|
|
56
54
|
|
57
55
|
{/* <div className={getStyles('navbar__title', 'navbar__item')}>Taksee</div> */}
|
58
56
|
{/* <div className={getStyles('navbar__item')}>Legal</div>
|
59
57
|
<div className={getStyles('navbar__item')}>User Guide</div> */}
|
60
|
-
|
58
|
+
|
59
|
+
{viewOptionsNav ? (
|
60
|
+
<div onClick={linkLogout} className={getStyles('navbar__item', { 'is-playground': viewTabsNav })}>
|
61
|
+
Logout
|
62
|
+
</div>
|
63
|
+
) : null}
|
64
|
+
|
65
|
+
|
61
66
|
</header>
|
62
67
|
|
63
68
|
|
@@ -67,12 +72,15 @@ export const Navbar = ({ getStyles, isPlayground, children }) => {
|
|
67
72
|
|
68
73
|
Navbar.propTypes = {
|
69
74
|
getStyles: PropTypes.func.isRequired,
|
70
|
-
children: PropTypes.
|
71
|
-
|
75
|
+
children: PropTypes.any.isRequired,
|
76
|
+
viewTabsNav: PropTypes.bool,
|
77
|
+
viewOptionsNav: PropTypes.bool,
|
78
|
+
linkLogout: PropTypes.string,
|
72
79
|
}
|
73
80
|
|
74
81
|
Navbar.defaultProps = {
|
75
|
-
|
82
|
+
viewTabsNav: false,
|
83
|
+
viewOptionsNav: true,
|
76
84
|
getStyles: () => { },
|
77
85
|
}
|
78
86
|
|
@@ -6,13 +6,15 @@
|
|
6
6
|
|
7
7
|
.navbar {
|
8
8
|
display: flex;
|
9
|
-
flex-shrink: 0;
|
10
9
|
align-items: center;
|
10
|
+
justify-content: space-between;
|
11
|
+
flex-shrink: 0;
|
11
12
|
color: #000;
|
12
|
-
background-color: #FFFFFF;
|
13
13
|
box-shadow: 0px 1px 4px rgb(100 116 139 / 12%);
|
14
14
|
width: calc(100%);
|
15
15
|
padding-left: 18px;
|
16
|
+
min-height: 51px;
|
17
|
+
background-color: #f2fcfc;
|
16
18
|
}
|
17
19
|
|
18
20
|
.navbar__title {
|
@@ -2,7 +2,7 @@ import React, { ReactNode, useRef, useState, useEffect } from 'react'
|
|
2
2
|
import PropTypes from 'prop-types'
|
3
3
|
import withStyles from '../../hocs/withStyles'
|
4
4
|
|
5
|
-
import { options } from './constants'
|
5
|
+
// import { options } from './constants'
|
6
6
|
|
7
7
|
import styles from './Sidebar.module.css'
|
8
8
|
|
@@ -11,7 +11,7 @@ import Icon from '../../atoms/Icon'
|
|
11
11
|
import Divider from '../../atoms/Divider'
|
12
12
|
import ItemMenu from '../../molecules/ItemMenu/ItemMenu'
|
13
13
|
|
14
|
-
export const Sidebar = ({ getStyles, menuCollapseView }) => {
|
14
|
+
export const Sidebar = ({ getStyles, menuCollapseView, options }) => {
|
15
15
|
|
16
16
|
|
17
17
|
return (
|
@@ -57,13 +57,15 @@ export const Sidebar = ({ getStyles, menuCollapseView }) => {
|
|
57
57
|
|
58
58
|
<ul>
|
59
59
|
|
60
|
-
{options.
|
60
|
+
{options.map((item, index) => (
|
61
61
|
item.view ?
|
62
62
|
<ItemMenu
|
63
63
|
key={index}
|
64
64
|
icon={item.icon}
|
65
65
|
subMenu={item.viewSubMenu}
|
66
66
|
itemSubmenu={item.submenu}
|
67
|
+
itemHref={item.href}
|
68
|
+
itemActive={item.active}
|
67
69
|
>
|
68
70
|
{item.text}
|
69
71
|
</ItemMenu>
|
@@ -95,6 +95,7 @@
|
|
95
95
|
.pro-sidebar-content {
|
96
96
|
flex-grow: 1;
|
97
97
|
margin-top: 38px;
|
98
|
+
background-color: #f2fcfc;
|
98
99
|
}
|
99
100
|
|
100
101
|
.pro-sidebar-inner .pro-sidebar-layout ul {
|
@@ -177,16 +178,6 @@
|
|
177
178
|
color: #adadad;
|
178
179
|
}
|
179
180
|
|
180
|
-
.pro-menu a:before {
|
181
|
-
content: '';
|
182
|
-
position: absolute;
|
183
|
-
top: 0;
|
184
|
-
right: 0;
|
185
|
-
bottom: 0;
|
186
|
-
left: 0;
|
187
|
-
background-color: transparent;
|
188
|
-
}
|
189
|
-
|
190
181
|
.pro-menu a:hover {
|
191
182
|
color: #d8d8d8;
|
192
183
|
}
|
@@ -1,205 +1,228 @@
|
|
1
|
-
export const options =
|
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
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
1
|
+
export const options = [
|
2
|
+
{
|
3
|
+
active: false,
|
4
|
+
href: '/',
|
5
|
+
icon: 'home',
|
6
|
+
text: 'Home',
|
7
|
+
view: true,
|
8
|
+
viewSubMenu: false,
|
9
|
+
},
|
10
|
+
{
|
11
|
+
active: false,
|
12
|
+
href: '/activity/activity-taxi',
|
13
|
+
icon: 'activity',
|
14
|
+
submenu: [
|
15
|
+
{
|
16
|
+
active: false,
|
17
|
+
href: '/activity/activity-taxi',
|
18
|
+
text: 'Taxi',
|
19
|
+
view: true,
|
20
|
+
},
|
21
|
+
{
|
22
|
+
active: false,
|
23
|
+
href: '/activity/activity-parking',
|
24
|
+
text: 'Parking',
|
25
|
+
view: true,
|
26
|
+
},
|
27
|
+
{
|
28
|
+
active: false,
|
29
|
+
href: '/activity/activity-sharing',
|
30
|
+
text: 'Sharing',
|
31
|
+
view: true,
|
32
|
+
},
|
33
|
+
{
|
34
|
+
active: false,
|
35
|
+
href: '/activity/activity-public-transport',
|
36
|
+
text: 'Public transport',
|
37
|
+
view: true,
|
38
|
+
},
|
39
|
+
{
|
40
|
+
active: false,
|
41
|
+
href: '/activity/activity-kilometer-sheet',
|
42
|
+
text: 'Kilometer sheet',
|
43
|
+
view: true,
|
44
|
+
},
|
45
|
+
],
|
46
|
+
text: 'Activity',
|
47
|
+
view: true,
|
48
|
+
viewSubMenu: true,
|
49
|
+
},
|
50
|
+
{
|
51
|
+
active: false,
|
52
|
+
href: '/staff/staff-add',
|
53
|
+
icon: 'staff',
|
54
|
+
submenu: [
|
55
|
+
{
|
56
|
+
active: false,
|
57
|
+
href: '/staff/staff-add',
|
58
|
+
text: 'Staff Add',
|
59
|
+
view: true,
|
60
|
+
},
|
61
|
+
{
|
62
|
+
active: false,
|
63
|
+
href: '/staff/staff-view',
|
64
|
+
text: 'Staff View',
|
65
|
+
view: true,
|
66
|
+
},
|
67
|
+
{
|
68
|
+
active: false,
|
69
|
+
href: '/staff/staff-group',
|
70
|
+
text: 'Staff Group',
|
71
|
+
view: true,
|
72
|
+
},
|
73
|
+
],
|
74
|
+
text: 'Staff',
|
75
|
+
view: true,
|
76
|
+
viewSubMenu: true,
|
77
|
+
},
|
78
|
+
{
|
79
|
+
active: false,
|
80
|
+
href: '/services',
|
81
|
+
icon: 'travelPrograms',
|
82
|
+
text: 'Services',
|
83
|
+
view: true,
|
84
|
+
viewSubMenu: false,
|
85
|
+
},
|
86
|
+
{
|
87
|
+
active: false,
|
88
|
+
href: '/billing',
|
89
|
+
icon: 'billing',
|
90
|
+
text: 'Billing',
|
91
|
+
view: true,
|
92
|
+
viewSubMenu: false,
|
93
|
+
},
|
94
|
+
{
|
95
|
+
active: false,
|
96
|
+
href: '/setting/setting-company',
|
97
|
+
icon: 'setting',
|
98
|
+
submenu: [
|
99
|
+
{
|
100
|
+
active: false,
|
101
|
+
href: '/setting/setting-company',
|
102
|
+
text: 'Company',
|
103
|
+
view: true,
|
104
|
+
},
|
105
|
+
{
|
106
|
+
active: false,
|
107
|
+
href: '/setting/setting-wallet',
|
108
|
+
text: 'Wallet',
|
109
|
+
view: true,
|
110
|
+
},
|
111
|
+
],
|
112
|
+
text: 'Setting',
|
113
|
+
view: true,
|
114
|
+
viewSubMenu: true,
|
115
|
+
},
|
116
|
+
{
|
117
|
+
active: false,
|
118
|
+
href: '/order-taxi',
|
119
|
+
icon: 'orderTaxi',
|
120
|
+
text: 'Order Taxi',
|
121
|
+
view: true,
|
122
|
+
viewSubMenu: false,
|
123
|
+
},
|
124
|
+
{
|
125
|
+
active: false,
|
126
|
+
href: '/dashboards',
|
127
|
+
icon: 'dashboardsUwa',
|
128
|
+
text: 'Dashboards',
|
129
|
+
view: true,
|
130
|
+
viewSubMenu: false,
|
131
|
+
},
|
132
|
+
{
|
133
|
+
active: false,
|
134
|
+
href: '/projects',
|
135
|
+
icon: 'projectsUwa',
|
136
|
+
text: 'Projects',
|
137
|
+
view: true,
|
138
|
+
viewSubMenu: false,
|
139
|
+
},
|
140
|
+
{
|
141
|
+
active: false,
|
142
|
+
href: '/permissions/permissions-manage-staff',
|
143
|
+
icon: 'permissions',
|
144
|
+
submenu: [
|
145
|
+
{
|
146
|
+
active: false,
|
147
|
+
href: '/permissions/permissions-manage-staff',
|
148
|
+
text: 'Permissions',
|
149
|
+
view: true,
|
150
|
+
},
|
151
|
+
],
|
152
|
+
text: 'Permissions',
|
153
|
+
view: true,
|
154
|
+
viewSubMenu: true,
|
155
|
+
},
|
156
|
+
{
|
157
|
+
active: false,
|
158
|
+
href: '#',
|
159
|
+
icon: 'analytics',
|
160
|
+
submenu: [
|
161
|
+
{
|
162
|
+
active: false,
|
163
|
+
href: '/analytics/analytics-dashboard',
|
164
|
+
text: 'Dashboard',
|
165
|
+
view: true,
|
166
|
+
},
|
167
|
+
{
|
168
|
+
active: false,
|
169
|
+
href: '/analytics/analytics-taxi',
|
170
|
+
text: 'Taxi',
|
171
|
+
view: true,
|
172
|
+
},
|
173
|
+
{
|
174
|
+
active: false,
|
175
|
+
href: '/analytics/analytics-tollsparking',
|
176
|
+
text: 'Parking',
|
177
|
+
view: true,
|
178
|
+
},
|
179
|
+
],
|
180
|
+
text: 'Analytics',
|
181
|
+
view: true,
|
182
|
+
viewSubMenu: true,
|
183
|
+
},
|
184
|
+
{
|
185
|
+
active: false,
|
186
|
+
href: '#',
|
187
|
+
icon: 'legal',
|
188
|
+
submenu: [
|
189
|
+
{
|
190
|
+
active: false,
|
191
|
+
href: '/legal/dashboard',
|
192
|
+
text: 'Privacy policy',
|
193
|
+
view: true,
|
194
|
+
},
|
195
|
+
{
|
196
|
+
active: false,
|
197
|
+
href: '/legal/taxi',
|
198
|
+
text: 'General terms',
|
199
|
+
view: true,
|
200
|
+
},
|
201
|
+
{
|
202
|
+
active: false,
|
203
|
+
href: '/legal/tollsparking',
|
204
|
+
text: 'Particular terms',
|
205
|
+
view: true,
|
206
|
+
},
|
207
|
+
],
|
208
|
+
text: 'Legal',
|
209
|
+
view: true,
|
210
|
+
viewSubMenu: true,
|
211
|
+
},
|
212
|
+
{
|
213
|
+
active: false,
|
214
|
+
href: '/home',
|
215
|
+
icon: 'info',
|
216
|
+
text: 'User Guide',
|
217
|
+
view: true,
|
218
|
+
viewSubMenu: false,
|
219
|
+
},
|
220
|
+
{
|
221
|
+
active: false,
|
222
|
+
href: '/home',
|
223
|
+
icon: 'profile',
|
224
|
+
text: 'My profile',
|
225
|
+
view: true,
|
226
|
+
viewSubMenu: false,
|
227
|
+
},
|
228
|
+
]
|