oceanhelm 0.0.12 → 0.0.13
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 +2581 -1673
- package/dist/oceanhelm.es.js.map +1 -1
- package/dist/oceanhelm.umd.js +9 -1
- package/dist/oceanhelm.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/Reports.vue +2204 -484
- package/src/utils/sidebarConfig.js +39 -48
|
@@ -24,21 +24,20 @@ export const defaultMenuItems = [
|
|
|
24
24
|
icon: 'bi bi-compass',
|
|
25
25
|
action: 'guide',
|
|
26
26
|
roles: ['crew']
|
|
27
|
-
|
|
28
27
|
},
|
|
29
28
|
{
|
|
30
29
|
type: 'link',
|
|
31
30
|
label: 'Activity Log',
|
|
32
31
|
icon: 'bi bi-activity',
|
|
33
32
|
href: '/activity-log',
|
|
34
|
-
roles: ['owner']
|
|
33
|
+
roles: ['owner']
|
|
35
34
|
},
|
|
36
35
|
{
|
|
37
36
|
type: 'link',
|
|
38
37
|
label: 'People Manager',
|
|
39
38
|
icon: 'bi bi-person-plus',
|
|
40
39
|
href: '/app/people-manager',
|
|
41
|
-
roles: ['owner']
|
|
40
|
+
roles: ['owner']
|
|
42
41
|
},
|
|
43
42
|
{
|
|
44
43
|
type: 'text',
|
|
@@ -49,37 +48,51 @@ export const defaultMenuItems = [
|
|
|
49
48
|
label: 'Compliance',
|
|
50
49
|
roles: ['owner', 'staff', 'captain'],
|
|
51
50
|
icon: 'bi bi-list-ul',
|
|
51
|
+
children: [
|
|
52
|
+
{ label: 'Vessel Certification', action: 'vessel-cert' },
|
|
53
|
+
{ label: 'Reports', action: 'reports' },
|
|
54
|
+
{ label: 'Crew Certification', action: 'crew-cert' },
|
|
55
|
+
{ label: 'QHSE Compliance', action: 'qhse' },
|
|
56
|
+
{ label: 'Track Garbage', action: 'garbage' },
|
|
57
|
+
]
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
// ── HR MODULE ──────────────────────────────────────────────────────────
|
|
61
|
+
// Clock-in/out is office-only (owner + staff roles).
|
|
62
|
+
// Payroll and appraisal will also cover crew in a later release.
|
|
63
|
+
type: 'dropdown',
|
|
64
|
+
label: 'HR',
|
|
65
|
+
icon: 'bi bi-people-fill',
|
|
66
|
+
roles: ['owner', 'staff'],
|
|
52
67
|
children: [
|
|
53
68
|
{
|
|
54
|
-
label: '
|
|
55
|
-
action: '
|
|
69
|
+
label: 'Attendance',
|
|
70
|
+
action: 'hr-attendance',
|
|
71
|
+
roles: ['owner', 'staff'],
|
|
56
72
|
},
|
|
57
73
|
{
|
|
58
|
-
label: '
|
|
59
|
-
action: '
|
|
74
|
+
label: 'Payroll',
|
|
75
|
+
action: 'hr-payroll',
|
|
76
|
+
roles: ['owner', 'staff'],
|
|
60
77
|
},
|
|
61
78
|
{
|
|
62
|
-
label: '
|
|
63
|
-
action: '
|
|
79
|
+
label: 'Appraisals',
|
|
80
|
+
action: 'hr-appraisals',
|
|
81
|
+
roles: ['owner', 'staff'],
|
|
64
82
|
},
|
|
65
83
|
{
|
|
66
|
-
label: '
|
|
67
|
-
action: '
|
|
84
|
+
label: 'Leave Management',
|
|
85
|
+
action: 'hr-leave',
|
|
86
|
+
roles: ['owner', 'staff'],
|
|
68
87
|
},
|
|
69
88
|
{
|
|
70
|
-
label: '
|
|
71
|
-
action: '
|
|
89
|
+
label: 'Disciplinary Log', // Coming next
|
|
90
|
+
action: 'hr-disciplinary',
|
|
91
|
+
roles: ['owner'],
|
|
72
92
|
},
|
|
73
93
|
]
|
|
74
94
|
},
|
|
75
|
-
/*
|
|
76
|
-
{
|
|
77
|
-
type: 'link',
|
|
78
|
-
label: 'Business Intelligence',
|
|
79
|
-
icon: 'bi bi-graph-up-arrow',
|
|
80
|
-
href: '/app/analytics'
|
|
81
|
-
},
|
|
82
|
-
*/
|
|
95
|
+
/* ── end HR MODULE ── */
|
|
83
96
|
{
|
|
84
97
|
type: 'button',
|
|
85
98
|
label: 'Maintenance',
|
|
@@ -93,19 +106,9 @@ export const defaultMenuItems = [
|
|
|
93
106
|
icon: 'bi bi-people',
|
|
94
107
|
roles: ['owner', 'staff', 'captain'],
|
|
95
108
|
children: [
|
|
96
|
-
{
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
roles: ['owner', 'staff']
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
label: 'Get Crew by Vessel',
|
|
103
|
-
action: 'crew-by-vessel'
|
|
104
|
-
},
|
|
105
|
-
{
|
|
106
|
-
label: 'Schedule',
|
|
107
|
-
action: 'schedule'
|
|
108
|
-
},
|
|
109
|
+
{ label: 'All Crew', action: 'crew-all', roles: ['owner', 'staff'] },
|
|
110
|
+
{ label: 'Get Crew by Vessel', action: 'crew-by-vessel' },
|
|
111
|
+
{ label: 'Schedule', action: 'schedule' },
|
|
109
112
|
]
|
|
110
113
|
},
|
|
111
114
|
{
|
|
@@ -114,16 +117,8 @@ export const defaultMenuItems = [
|
|
|
114
117
|
icon: 'bi bi-clipboard-data',
|
|
115
118
|
roles: ['owner', 'staff', 'captain'],
|
|
116
119
|
children: [
|
|
117
|
-
{
|
|
118
|
-
|
|
119
|
-
action: 'inventory',
|
|
120
|
-
roles: ['owner', 'staff', 'captain']
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
label: 'Bunkering',
|
|
124
|
-
action: 'fuel',
|
|
125
|
-
roles: ['owner', 'staff', 'captain']
|
|
126
|
-
}
|
|
120
|
+
{ label: 'Parts Inventory', action: 'inventory', roles: ['owner', 'staff', 'captain'] },
|
|
121
|
+
{ label: 'Bunkering', action: 'fuel', roles: ['owner', 'staff', 'captain'] },
|
|
127
122
|
]
|
|
128
123
|
},
|
|
129
124
|
{
|
|
@@ -139,13 +134,11 @@ export const defaultMenuItems = [
|
|
|
139
134
|
icon: 'fas fa-ship',
|
|
140
135
|
action: 'coming-soon',
|
|
141
136
|
roles: ['owner', 'staff', 'captain']
|
|
142
|
-
|
|
143
137
|
},
|
|
144
138
|
{
|
|
145
139
|
type: 'button',
|
|
146
140
|
label: 'Vessel Log',
|
|
147
141
|
icon: 'bi bi-file-ruled',
|
|
148
|
-
// action: 'vessel-log',
|
|
149
142
|
action: 'coming-soon',
|
|
150
143
|
roles: ['owner', 'staff', 'captain']
|
|
151
144
|
},
|
|
@@ -155,7 +148,6 @@ export const defaultMenuItems = [
|
|
|
155
148
|
icon: 'bi bi-people',
|
|
156
149
|
action: 'crew-profile',
|
|
157
150
|
roles: ['crew']
|
|
158
|
-
|
|
159
151
|
},
|
|
160
152
|
{
|
|
161
153
|
type: 'button',
|
|
@@ -163,7 +155,6 @@ export const defaultMenuItems = [
|
|
|
163
155
|
icon: 'bi bi-book',
|
|
164
156
|
action: 'crew-training',
|
|
165
157
|
roles: ['crew']
|
|
166
|
-
|
|
167
158
|
},
|
|
168
159
|
{
|
|
169
160
|
type: 'button',
|