oceanhelm 0.0.9 → 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 +1577 -876
- 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/ConfigurableSidebar.vue +1 -2
- package/src/components/CrewManagement.vue +1060 -54
- 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 +45 -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',
|
|
@@ -24,6 +33,13 @@ export const defaultMenuItems = [
|
|
|
24
33
|
href: '/activity-log',
|
|
25
34
|
roles: ['owner'] // Role-based visibility
|
|
26
35
|
},
|
|
36
|
+
{
|
|
37
|
+
type: 'link',
|
|
38
|
+
label: 'People Manager',
|
|
39
|
+
icon: 'bi bi-person-plus',
|
|
40
|
+
href: '/app/people-manager',
|
|
41
|
+
roles: ['owner'] // Role-based visibility
|
|
42
|
+
},
|
|
27
43
|
{
|
|
28
44
|
type: 'text',
|
|
29
45
|
label: 'Modules'
|
|
@@ -31,6 +47,7 @@ export const defaultMenuItems = [
|
|
|
31
47
|
{
|
|
32
48
|
type: 'dropdown',
|
|
33
49
|
label: 'Compliance',
|
|
50
|
+
roles: ['owner', 'staff', 'captain'],
|
|
34
51
|
icon: 'bi bi-list-ul',
|
|
35
52
|
children: [
|
|
36
53
|
{
|
|
@@ -40,13 +57,6 @@ export const defaultMenuItems = [
|
|
|
40
57
|
{
|
|
41
58
|
type: 'separator'
|
|
42
59
|
},
|
|
43
|
-
{
|
|
44
|
-
label: 'Crew Certification',
|
|
45
|
-
action: 'crew-cert'
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
type: 'separator'
|
|
49
|
-
},
|
|
50
60
|
{
|
|
51
61
|
label: 'Reports',
|
|
52
62
|
action: 'reports'
|
|
@@ -65,12 +75,14 @@ export const defaultMenuItems = [
|
|
|
65
75
|
type: 'button',
|
|
66
76
|
label: 'Maintenance',
|
|
67
77
|
icon: 'bi bi-tools',
|
|
68
|
-
action: 'maintenance'
|
|
78
|
+
action: 'maintenance',
|
|
79
|
+
roles: ['owner', 'staff', 'captain']
|
|
69
80
|
},
|
|
70
81
|
{
|
|
71
82
|
type: 'dropdown',
|
|
72
83
|
label: 'Crew Management',
|
|
73
84
|
icon: 'bi bi-people',
|
|
85
|
+
roles: ['owner', 'staff', 'captain'],
|
|
74
86
|
children: [
|
|
75
87
|
{
|
|
76
88
|
label: 'All Crew',
|
|
@@ -90,25 +102,30 @@ export const defaultMenuItems = [
|
|
|
90
102
|
type: 'link',
|
|
91
103
|
label: 'Inventory Management',
|
|
92
104
|
icon: 'bi bi-clipboard-data',
|
|
93
|
-
href: '/app/inventory'
|
|
105
|
+
href: '/app/inventory',
|
|
106
|
+
roles: ['owner', 'staff', 'captain']
|
|
94
107
|
},
|
|
95
108
|
{
|
|
96
109
|
type: 'link',
|
|
97
110
|
label: 'Requisition Processing',
|
|
98
111
|
icon: 'bi bi-calendar-check',
|
|
99
|
-
href: '/app/requisition'
|
|
112
|
+
href: '/app/requisition',
|
|
113
|
+
roles: ['owner', 'staff', 'captain']
|
|
100
114
|
},
|
|
101
115
|
{
|
|
102
116
|
type: 'button',
|
|
103
117
|
label: 'Voyage Manager',
|
|
104
118
|
icon: 'fas fa-ship',
|
|
105
|
-
action: 'coming-soon'
|
|
119
|
+
action: 'coming-soon',
|
|
120
|
+
roles: ['owner', 'staff', 'captain']
|
|
121
|
+
|
|
106
122
|
},
|
|
107
123
|
{
|
|
108
124
|
type: 'button',
|
|
109
125
|
label: 'Vessel Log',
|
|
110
126
|
icon: 'bi bi-file-ruled',
|
|
111
|
-
action: 'vessel-log'
|
|
127
|
+
action: 'vessel-log',
|
|
128
|
+
roles: ['owner', 'staff', 'captain']
|
|
112
129
|
},
|
|
113
130
|
{
|
|
114
131
|
type: 'button',
|
|
@@ -117,10 +134,25 @@ export const defaultMenuItems = [
|
|
|
117
134
|
action: 'settings',
|
|
118
135
|
roles: ['owner', 'staff']
|
|
119
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
|
+
},
|
|
120
152
|
{
|
|
121
153
|
type: 'button',
|
|
122
154
|
label: 'Help & Support',
|
|
123
155
|
icon: 'bi bi-question-circle',
|
|
124
|
-
action: 'help'
|
|
156
|
+
action: 'help',
|
|
125
157
|
}
|
|
126
158
|
]
|