oceanhelm 0.0.10 → 0.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/oceanhelm.es.js +1111 -811
- package/dist/oceanhelm.es.js.map +1 -1
- package/dist/oceanhelm.umd.js +1 -1
- package/dist/oceanhelm.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/CrewManagement.vue +71 -20
- package/src/components/DashHead.vue +10 -0
- package/src/components/Reports.vue +612 -0
- package/src/index.js +3 -1
- package/src/utils/sidebarConfig.js +38 -13
|
@@ -14,9 +14,18 @@ export const defaultMenuItems = [
|
|
|
14
14
|
type: 'link',
|
|
15
15
|
label: 'Home',
|
|
16
16
|
icon: 'bi bi-speedometer2',
|
|
17
|
+
roles: ['owner', 'staff', 'captain'],
|
|
17
18
|
href: '/app/dashboard',
|
|
18
19
|
active: true
|
|
19
20
|
},
|
|
21
|
+
{
|
|
22
|
+
type: 'button',
|
|
23
|
+
label: 'Guide',
|
|
24
|
+
icon: 'bi bi-compass',
|
|
25
|
+
action: 'guide',
|
|
26
|
+
// roles: ['crew']
|
|
27
|
+
|
|
28
|
+
},
|
|
20
29
|
{
|
|
21
30
|
type: 'link',
|
|
22
31
|
label: 'Activity Log',
|
|
@@ -38,6 +47,7 @@ export const defaultMenuItems = [
|
|
|
38
47
|
{
|
|
39
48
|
type: 'dropdown',
|
|
40
49
|
label: 'Compliance',
|
|
50
|
+
roles: ['owner', 'staff', 'captain'],
|
|
41
51
|
icon: 'bi bi-list-ul',
|
|
42
52
|
children: [
|
|
43
53
|
{
|
|
@@ -47,13 +57,6 @@ export const defaultMenuItems = [
|
|
|
47
57
|
{
|
|
48
58
|
type: 'separator'
|
|
49
59
|
},
|
|
50
|
-
{
|
|
51
|
-
label: 'Crew Certification',
|
|
52
|
-
action: 'crew-cert'
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
type: 'separator'
|
|
56
|
-
},
|
|
57
60
|
{
|
|
58
61
|
label: 'Reports',
|
|
59
62
|
action: 'reports'
|
|
@@ -72,12 +75,14 @@ export const defaultMenuItems = [
|
|
|
72
75
|
type: 'button',
|
|
73
76
|
label: 'Maintenance',
|
|
74
77
|
icon: 'bi bi-tools',
|
|
75
|
-
action: 'maintenance'
|
|
78
|
+
action: 'maintenance',
|
|
79
|
+
roles: ['owner', 'staff', 'captain']
|
|
76
80
|
},
|
|
77
81
|
{
|
|
78
82
|
type: 'dropdown',
|
|
79
83
|
label: 'Crew Management',
|
|
80
84
|
icon: 'bi bi-people',
|
|
85
|
+
roles: ['owner', 'staff', 'captain'],
|
|
81
86
|
children: [
|
|
82
87
|
{
|
|
83
88
|
label: 'All Crew',
|
|
@@ -97,25 +102,30 @@ export const defaultMenuItems = [
|
|
|
97
102
|
type: 'link',
|
|
98
103
|
label: 'Inventory Management',
|
|
99
104
|
icon: 'bi bi-clipboard-data',
|
|
100
|
-
href: '/app/inventory'
|
|
105
|
+
href: '/app/inventory',
|
|
106
|
+
roles: ['owner', 'staff', 'captain']
|
|
101
107
|
},
|
|
102
108
|
{
|
|
103
109
|
type: 'link',
|
|
104
110
|
label: 'Requisition Processing',
|
|
105
111
|
icon: 'bi bi-calendar-check',
|
|
106
|
-
href: '/app/requisition'
|
|
112
|
+
href: '/app/requisition',
|
|
113
|
+
roles: ['owner', 'staff', 'captain']
|
|
107
114
|
},
|
|
108
115
|
{
|
|
109
116
|
type: 'button',
|
|
110
117
|
label: 'Voyage Manager',
|
|
111
118
|
icon: 'fas fa-ship',
|
|
112
|
-
action: 'coming-soon'
|
|
119
|
+
action: 'coming-soon',
|
|
120
|
+
roles: ['owner', 'staff', 'captain']
|
|
121
|
+
|
|
113
122
|
},
|
|
114
123
|
{
|
|
115
124
|
type: 'button',
|
|
116
125
|
label: 'Vessel Log',
|
|
117
126
|
icon: 'bi bi-file-ruled',
|
|
118
|
-
action: 'vessel-log'
|
|
127
|
+
action: 'vessel-log',
|
|
128
|
+
roles: ['owner', 'staff', 'captain']
|
|
119
129
|
},
|
|
120
130
|
{
|
|
121
131
|
type: 'button',
|
|
@@ -124,10 +134,25 @@ export const defaultMenuItems = [
|
|
|
124
134
|
action: 'settings',
|
|
125
135
|
roles: ['owner', 'staff']
|
|
126
136
|
},
|
|
137
|
+
{
|
|
138
|
+
type: 'button',
|
|
139
|
+
label: 'Profile',
|
|
140
|
+
icon: 'bi bi-people',
|
|
141
|
+
action: 'crew-profile',
|
|
142
|
+
// roles: ['crew']
|
|
143
|
+
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
type: 'button',
|
|
147
|
+
label: 'Schedule',
|
|
148
|
+
icon: 'bi bi-card-checklist',
|
|
149
|
+
action: 'schedule',
|
|
150
|
+
// roles: ['crew']
|
|
151
|
+
},
|
|
127
152
|
{
|
|
128
153
|
type: 'button',
|
|
129
154
|
label: 'Help & Support',
|
|
130
155
|
icon: 'bi bi-question-circle',
|
|
131
|
-
action: 'help'
|
|
156
|
+
action: 'help',
|
|
132
157
|
}
|
|
133
158
|
]
|