@feedmepos/mf-hrm-portal 2.3.2-dev.7 → 2.3.2-dev.8
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/{ApprovalCodeList-Bw0E-hZl.js → ApprovalCodeList-DIYhVMGW.js} +7 -7
- package/dist/{AuditLogList-CA-_t77n.js → AuditLogList-DIc3Jgpr.js} +795 -719
- package/dist/{ConditionBuilderForm.vue_vue_type_script_setup_true_lang-LtjNCAFN.js → ConditionBuilderForm.vue_vue_type_script_setup_true_lang-4YsF7lXu.js} +2 -2
- package/dist/{EmployeeList-D_bX0EhQ.js → EmployeeList-iVg4pI9Y.js} +8 -8
- package/dist/{FormSection.vue_vue_type_script_setup_true_lang-CyZxQa-b.js → FormSection.vue_vue_type_script_setup_true_lang-C9AE0EHw.js} +1 -1
- package/dist/{GrantUserList-Cg7ITk_M.js → GrantUserList-8zmzFk9z.js} +8 -8
- package/dist/{Main-D5wi42fp.js → Main-ClJox3pV.js} +10 -10
- package/dist/{Main-Bl-Ocx1G.js → Main-DYzFd_qa.js} +5 -5
- package/dist/{Main-BaB4vgI5.js → Main-gRu17-N6.js} +1005 -999
- package/dist/{MyPosProfile-CUG_201f.js → MyPosProfile-ARRrolbz.js} +1 -1
- package/dist/{PermissionSetList-kgG9H3DX.js → PermissionSetList-CL42jQY4.js} +13 -12
- package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-y1YcZpGA.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-DkA0XbZw.js} +648 -647
- package/dist/{PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-fQyCtDXM.js → PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-CA87qQ4b.js} +1 -1
- package/dist/{RoleForm.vue_vue_type_script_setup_true_lang-3Q8udk43.js → RoleForm.vue_vue_type_script_setup_true_lang-B3N3hTcU.js} +9 -9
- package/dist/{RoleList-Cmz97HHP.js → RoleList-F9ZORhgE.js} +7 -7
- package/dist/{ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-CggEy3OI.js → ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-B9NMhw9Z.js} +1 -1
- package/dist/{ScheduleGeneralPage-B39k3SQH.js → ScheduleGeneralPage-751cEUwS.js} +2 -2
- package/dist/{ScheduleModal.vue_vue_type_script_setup_true_lang-C5j3D4eF.js → ScheduleModal.vue_vue_type_script_setup_true_lang-CBDNfiIM.js} +4 -4
- package/dist/{SchedulePage-AVmRkFi1.js → SchedulePage-C-NcbGIl.js} +189 -201
- package/dist/{SchedulePositionPage-3rE-O8CG.js → SchedulePositionPage-Ba0iiSRg.js} +3 -3
- package/dist/{SelectFilter-R7ry_GEg.js → SelectFilter-Dpsq165k.js} +1 -1
- package/dist/{TeamMemberList-CvDnIILn.js → TeamMemberList-DZ0aRbxg.js} +28 -27
- package/dist/TimesheetList-DO5T__dL.js +437 -0
- package/dist/{app-DKUCzcrc.js → app-DXkKrcRn.js} +38 -10
- package/dist/app.js +1 -1
- package/dist/{approval-code-nsETgIry.js → approval-code-D2pGW-sI.js} +4 -4
- package/dist/{dayjs.min-CtULWW1N.js → dayjs.min-BAz84JAQ.js} +1 -1
- package/dist/employee-yYhuhc9L.js +172 -0
- package/dist/{grant-user-Dpa_Rl6j.js → grant-user-B95RDjkR.js} +2 -2
- package/dist/{iteration-DpHBtiyr.js → index-TrBkLxJe.js} +698 -726
- package/dist/iteration-CcXrOMQe.js +30 -0
- package/dist/{lodash-YaHCUo_F.js → lodash-DXRsZpTB.js} +1 -1
- package/dist/{member-grant-CEokFI3_.js → member-grant-ByAQ1Qja.js} +2 -2
- package/dist/{restaurant-CDFKqEFm.js → restaurant-COSpCpTQ.js} +2 -2
- package/dist/{role-DyBVVlEA.js → role-ZmCd2yG4.js} +8 -7
- package/dist/{rule-xErZqYmH.js → rule-Bty9eoI3.js} +38 -37
- package/dist/src/api/audit-log/index.d.ts +2 -0
- package/dist/src/api/employee/index.d.ts +1 -2
- package/dist/src/stores/approval-code.d.ts +1 -1
- package/dist/src/stores/employee.d.ts +3 -9
- package/dist/src/stores/grant-user.d.ts +1 -1
- package/dist/src/stores/permission-assignment.d.ts +2 -2
- package/dist/src/stores/permission-set.d.ts +2 -2
- package/dist/src/stores/restaurant.d.ts +2 -2
- package/dist/src/stores/role.d.ts +2 -2
- package/dist/src/stores/team.d.ts +1 -1
- package/dist/src/stores/timesheet.d.ts +62 -47
- package/dist/src/types/timesheet.d.ts +3 -0
- package/dist/src/views/audit-log/locales/index.d.ts +28 -0
- package/dist/src/views/audit-log/useTraceIdDeepLink.d.ts +19 -0
- package/dist/style.css +1 -1
- package/dist/timesheet-CFD6XPiG.js +76 -0
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{useAppStore-BqsvPsPB.js → useAppStore-7O0GMkXY.js} +1 -1
- package/dist/{useLoading-BS1bnZg1.js → useLoading-BZXydjer.js} +1 -1
- package/dist/useMessage-_ywT_N9X.js +17 -0
- package/dist/{useReportPermissions-DJEhkyGc.js → useReportPermissions-Cn3ntCJ9.js} +3 -3
- package/package.json +3 -3
- package/dist/TimesheetList-DYoglTi8.js +0 -401
- package/dist/TimesheetList.vue_vue_type_style_index_0_scoped_d0c6fd51_lang-DBpzyQ17.js +0 -63
- package/dist/employee-DlsSqR3i.js +0 -210
|
@@ -5,13 +5,14 @@ export declare const useTimesheetStore: () => {
|
|
|
5
5
|
end: string;
|
|
6
6
|
totalMin: number;
|
|
7
7
|
duration: string;
|
|
8
|
-
restaurantId: string;
|
|
9
|
-
restaurantName: string;
|
|
10
|
-
endedAt?: string | null | undefined | undefined;
|
|
11
8
|
user: {
|
|
12
9
|
name: string;
|
|
13
10
|
id: string;
|
|
11
|
+
code?: string | undefined;
|
|
14
12
|
};
|
|
13
|
+
restaurantId: string;
|
|
14
|
+
restaurantName: string;
|
|
15
|
+
endedAt?: string | null | undefined | undefined;
|
|
15
16
|
_id: string;
|
|
16
17
|
startedAt: string;
|
|
17
18
|
}[], Timesheet[] | {
|
|
@@ -19,13 +20,14 @@ export declare const useTimesheetStore: () => {
|
|
|
19
20
|
end: string;
|
|
20
21
|
totalMin: number;
|
|
21
22
|
duration: string;
|
|
22
|
-
restaurantId: string;
|
|
23
|
-
restaurantName: string;
|
|
24
|
-
endedAt?: string | null | undefined | undefined;
|
|
25
23
|
user: {
|
|
26
24
|
name: string;
|
|
27
25
|
id: string;
|
|
26
|
+
code?: string | undefined;
|
|
28
27
|
};
|
|
28
|
+
restaurantId: string;
|
|
29
|
+
restaurantName: string;
|
|
30
|
+
endedAt?: string | null | undefined | undefined;
|
|
29
31
|
_id: string;
|
|
30
32
|
startedAt: string;
|
|
31
33
|
}[]>;
|
|
@@ -35,13 +37,14 @@ export declare const useTimesheetStore: () => {
|
|
|
35
37
|
end: string;
|
|
36
38
|
totalMin: number;
|
|
37
39
|
duration: string;
|
|
38
|
-
restaurantId: string;
|
|
39
|
-
restaurantName: string;
|
|
40
|
-
endedAt?: string | null | undefined | undefined;
|
|
41
40
|
user: {
|
|
42
41
|
name: string;
|
|
43
42
|
id: string;
|
|
43
|
+
code?: string | undefined;
|
|
44
44
|
};
|
|
45
|
+
restaurantId: string;
|
|
46
|
+
restaurantName: string;
|
|
47
|
+
endedAt?: string | null | undefined | undefined;
|
|
45
48
|
_id: string;
|
|
46
49
|
startedAt: string;
|
|
47
50
|
}[];
|
|
@@ -51,13 +54,14 @@ export declare const useTimesheetStore: () => {
|
|
|
51
54
|
end: string;
|
|
52
55
|
totalMin: number;
|
|
53
56
|
duration: string;
|
|
54
|
-
restaurantId: string;
|
|
55
|
-
restaurantName: string;
|
|
56
|
-
endedAt?: string | null | undefined | undefined;
|
|
57
57
|
user: {
|
|
58
58
|
name: string;
|
|
59
59
|
id: string;
|
|
60
|
+
code?: string | undefined;
|
|
60
61
|
};
|
|
62
|
+
restaurantId: string;
|
|
63
|
+
restaurantName: string;
|
|
64
|
+
endedAt?: string | null | undefined | undefined;
|
|
61
65
|
_id: string;
|
|
62
66
|
startedAt: string;
|
|
63
67
|
}[], Timesheet[] | {
|
|
@@ -65,13 +69,14 @@ export declare const useTimesheetStore: () => {
|
|
|
65
69
|
end: string;
|
|
66
70
|
totalMin: number;
|
|
67
71
|
duration: string;
|
|
68
|
-
restaurantId: string;
|
|
69
|
-
restaurantName: string;
|
|
70
|
-
endedAt?: string | null | undefined | undefined;
|
|
71
72
|
user: {
|
|
72
73
|
name: string;
|
|
73
74
|
id: string;
|
|
75
|
+
code?: string | undefined;
|
|
74
76
|
};
|
|
77
|
+
restaurantId: string;
|
|
78
|
+
restaurantName: string;
|
|
79
|
+
endedAt?: string | null | undefined | undefined;
|
|
75
80
|
_id: string;
|
|
76
81
|
startedAt: string;
|
|
77
82
|
}[]>;
|
|
@@ -84,13 +89,14 @@ export declare const useTimesheetStore: () => {
|
|
|
84
89
|
end: string;
|
|
85
90
|
totalMin: number;
|
|
86
91
|
duration: string;
|
|
87
|
-
restaurantId: string;
|
|
88
|
-
restaurantName: string;
|
|
89
|
-
endedAt?: string | null | undefined | undefined;
|
|
90
92
|
user: {
|
|
91
93
|
name: string;
|
|
92
94
|
id: string;
|
|
95
|
+
code?: string | undefined;
|
|
93
96
|
};
|
|
97
|
+
restaurantId: string;
|
|
98
|
+
restaurantName: string;
|
|
99
|
+
endedAt?: string | null | undefined | undefined;
|
|
94
100
|
_id: string;
|
|
95
101
|
startedAt: string;
|
|
96
102
|
}[];
|
|
@@ -101,13 +107,14 @@ export declare const useTimesheetStore: () => {
|
|
|
101
107
|
end: string;
|
|
102
108
|
totalMin: number;
|
|
103
109
|
duration: string;
|
|
104
|
-
restaurantId: string;
|
|
105
|
-
restaurantName: string;
|
|
106
|
-
endedAt?: string | null | undefined | undefined;
|
|
107
110
|
user: {
|
|
108
111
|
name: string;
|
|
109
112
|
id: string;
|
|
113
|
+
code?: string | undefined;
|
|
110
114
|
};
|
|
115
|
+
restaurantId: string;
|
|
116
|
+
restaurantName: string;
|
|
117
|
+
endedAt?: string | null | undefined | undefined;
|
|
111
118
|
_id: string;
|
|
112
119
|
startedAt: string;
|
|
113
120
|
}[];
|
|
@@ -119,13 +126,14 @@ export declare const useTimesheetStore: () => {
|
|
|
119
126
|
end: string;
|
|
120
127
|
totalMin: number;
|
|
121
128
|
duration: string;
|
|
122
|
-
restaurantId: string;
|
|
123
|
-
restaurantName: string;
|
|
124
|
-
endedAt?: string | null | undefined | undefined;
|
|
125
129
|
user: {
|
|
126
130
|
name: string;
|
|
127
131
|
id: string;
|
|
132
|
+
code?: string | undefined;
|
|
128
133
|
};
|
|
134
|
+
restaurantId: string;
|
|
135
|
+
restaurantName: string;
|
|
136
|
+
endedAt?: string | null | undefined | undefined;
|
|
129
137
|
_id: string;
|
|
130
138
|
startedAt: string;
|
|
131
139
|
}[], Timesheet[] | {
|
|
@@ -133,13 +141,14 @@ export declare const useTimesheetStore: () => {
|
|
|
133
141
|
end: string;
|
|
134
142
|
totalMin: number;
|
|
135
143
|
duration: string;
|
|
136
|
-
restaurantId: string;
|
|
137
|
-
restaurantName: string;
|
|
138
|
-
endedAt?: string | null | undefined | undefined;
|
|
139
144
|
user: {
|
|
140
145
|
name: string;
|
|
141
146
|
id: string;
|
|
147
|
+
code?: string | undefined;
|
|
142
148
|
};
|
|
149
|
+
restaurantId: string;
|
|
150
|
+
restaurantName: string;
|
|
151
|
+
endedAt?: string | null | undefined | undefined;
|
|
143
152
|
_id: string;
|
|
144
153
|
startedAt: string;
|
|
145
154
|
}[]>;
|
|
@@ -148,19 +157,20 @@ export declare const useTimesheetStore: () => {
|
|
|
148
157
|
}, "timesheets">>, options?: {
|
|
149
158
|
detached?: boolean;
|
|
150
159
|
} & import("vue").WatchOptions): () => void;
|
|
151
|
-
$onAction(callback: import("pinia").StoreOnActionListener<"timesheet", Pick<{
|
|
160
|
+
$onAction(callback: import("pinia").StoreOnActionListener<"hrm-timesheet", Pick<{
|
|
152
161
|
timesheets: import("vue").Ref<{
|
|
153
162
|
start: string;
|
|
154
163
|
end: string;
|
|
155
164
|
totalMin: number;
|
|
156
165
|
duration: string;
|
|
157
|
-
restaurantId: string;
|
|
158
|
-
restaurantName: string;
|
|
159
|
-
endedAt?: string | null | undefined | undefined;
|
|
160
166
|
user: {
|
|
161
167
|
name: string;
|
|
162
168
|
id: string;
|
|
169
|
+
code?: string | undefined;
|
|
163
170
|
};
|
|
171
|
+
restaurantId: string;
|
|
172
|
+
restaurantName: string;
|
|
173
|
+
endedAt?: string | null | undefined | undefined;
|
|
164
174
|
_id: string;
|
|
165
175
|
startedAt: string;
|
|
166
176
|
}[], Timesheet[] | {
|
|
@@ -168,13 +178,14 @@ export declare const useTimesheetStore: () => {
|
|
|
168
178
|
end: string;
|
|
169
179
|
totalMin: number;
|
|
170
180
|
duration: string;
|
|
171
|
-
restaurantId: string;
|
|
172
|
-
restaurantName: string;
|
|
173
|
-
endedAt?: string | null | undefined | undefined;
|
|
174
181
|
user: {
|
|
175
182
|
name: string;
|
|
176
183
|
id: string;
|
|
184
|
+
code?: string | undefined;
|
|
177
185
|
};
|
|
186
|
+
restaurantId: string;
|
|
187
|
+
restaurantName: string;
|
|
188
|
+
endedAt?: string | null | undefined | undefined;
|
|
178
189
|
_id: string;
|
|
179
190
|
startedAt: string;
|
|
180
191
|
}[]>;
|
|
@@ -186,13 +197,14 @@ export declare const useTimesheetStore: () => {
|
|
|
186
197
|
end: string;
|
|
187
198
|
totalMin: number;
|
|
188
199
|
duration: string;
|
|
189
|
-
restaurantId: string;
|
|
190
|
-
restaurantName: string;
|
|
191
|
-
endedAt?: string | null | undefined | undefined;
|
|
192
200
|
user: {
|
|
193
201
|
name: string;
|
|
194
202
|
id: string;
|
|
203
|
+
code?: string | undefined;
|
|
195
204
|
};
|
|
205
|
+
restaurantId: string;
|
|
206
|
+
restaurantName: string;
|
|
207
|
+
endedAt?: string | null | undefined | undefined;
|
|
196
208
|
_id: string;
|
|
197
209
|
startedAt: string;
|
|
198
210
|
}[], Timesheet[] | {
|
|
@@ -200,13 +212,14 @@ export declare const useTimesheetStore: () => {
|
|
|
200
212
|
end: string;
|
|
201
213
|
totalMin: number;
|
|
202
214
|
duration: string;
|
|
203
|
-
restaurantId: string;
|
|
204
|
-
restaurantName: string;
|
|
205
|
-
endedAt?: string | null | undefined | undefined;
|
|
206
215
|
user: {
|
|
207
216
|
name: string;
|
|
208
217
|
id: string;
|
|
218
|
+
code?: string | undefined;
|
|
209
219
|
};
|
|
220
|
+
restaurantId: string;
|
|
221
|
+
restaurantName: string;
|
|
222
|
+
endedAt?: string | null | undefined | undefined;
|
|
210
223
|
_id: string;
|
|
211
224
|
startedAt: string;
|
|
212
225
|
}[]>;
|
|
@@ -218,13 +231,14 @@ export declare const useTimesheetStore: () => {
|
|
|
218
231
|
end: string;
|
|
219
232
|
totalMin: number;
|
|
220
233
|
duration: string;
|
|
221
|
-
restaurantId: string;
|
|
222
|
-
restaurantName: string;
|
|
223
|
-
endedAt?: string | null | undefined | undefined;
|
|
224
234
|
user: {
|
|
225
235
|
name: string;
|
|
226
236
|
id: string;
|
|
237
|
+
code?: string | undefined;
|
|
227
238
|
};
|
|
239
|
+
restaurantId: string;
|
|
240
|
+
restaurantName: string;
|
|
241
|
+
endedAt?: string | null | undefined | undefined;
|
|
228
242
|
_id: string;
|
|
229
243
|
startedAt: string;
|
|
230
244
|
}[], Timesheet[] | {
|
|
@@ -232,13 +246,14 @@ export declare const useTimesheetStore: () => {
|
|
|
232
246
|
end: string;
|
|
233
247
|
totalMin: number;
|
|
234
248
|
duration: string;
|
|
235
|
-
restaurantId: string;
|
|
236
|
-
restaurantName: string;
|
|
237
|
-
endedAt?: string | null | undefined | undefined;
|
|
238
249
|
user: {
|
|
239
250
|
name: string;
|
|
240
251
|
id: string;
|
|
252
|
+
code?: string | undefined;
|
|
241
253
|
};
|
|
254
|
+
restaurantId: string;
|
|
255
|
+
restaurantName: string;
|
|
256
|
+
endedAt?: string | null | undefined | undefined;
|
|
242
257
|
_id: string;
|
|
243
258
|
startedAt: string;
|
|
244
259
|
}[]>;
|
|
@@ -246,7 +261,7 @@ export declare const useTimesheetStore: () => {
|
|
|
246
261
|
updateTimesheet: (timesheet: IFdtoTimesheet, start: string, end: string) => Promise<void>;
|
|
247
262
|
}, "readTimesheet" | "updateTimesheet">>, detached?: boolean): () => void;
|
|
248
263
|
$dispose(): void;
|
|
249
|
-
$id: "timesheet";
|
|
264
|
+
$id: "hrm-timesheet";
|
|
250
265
|
_customProperties: Set<string>;
|
|
251
266
|
readTimesheet: (start: Date, end: Date, restaurantIds?: string[]) => Promise<void>;
|
|
252
267
|
updateTimesheet: (timesheet: IFdtoTimesheet, start: string, end: string) => Promise<void>;
|
|
@@ -130,7 +130,14 @@ export declare const i18nMessages: {
|
|
|
130
130
|
requestPath: string;
|
|
131
131
|
traceId: string;
|
|
132
132
|
};
|
|
133
|
+
deepLink: {
|
|
134
|
+
notFound: string;
|
|
135
|
+
loadFailed: string;
|
|
136
|
+
};
|
|
133
137
|
detail: {
|
|
138
|
+
copyLink: string;
|
|
139
|
+
linkCopied: string;
|
|
140
|
+
linkCopyFailed: string;
|
|
134
141
|
header: string;
|
|
135
142
|
date: string;
|
|
136
143
|
timestamp: string;
|
|
@@ -480,7 +487,14 @@ export declare const i18nMessages: {
|
|
|
480
487
|
requestPath: string;
|
|
481
488
|
traceId: string;
|
|
482
489
|
};
|
|
490
|
+
deepLink: {
|
|
491
|
+
notFound: string;
|
|
492
|
+
loadFailed: string;
|
|
493
|
+
};
|
|
483
494
|
detail: {
|
|
495
|
+
copyLink: string;
|
|
496
|
+
linkCopied: string;
|
|
497
|
+
linkCopyFailed: string;
|
|
484
498
|
header: string;
|
|
485
499
|
date: string;
|
|
486
500
|
timestamp: string;
|
|
@@ -831,7 +845,14 @@ export declare const i18nMessages: {
|
|
|
831
845
|
requestPath: string;
|
|
832
846
|
traceId: string;
|
|
833
847
|
};
|
|
848
|
+
deepLink: {
|
|
849
|
+
notFound: string;
|
|
850
|
+
loadFailed: string;
|
|
851
|
+
};
|
|
834
852
|
detail: {
|
|
853
|
+
copyLink: string;
|
|
854
|
+
linkCopied: string;
|
|
855
|
+
linkCopyFailed: string;
|
|
835
856
|
header: string;
|
|
836
857
|
date: string;
|
|
837
858
|
timestamp: string;
|
|
@@ -1182,7 +1203,14 @@ export declare const i18nMessages: {
|
|
|
1182
1203
|
requestPath: string;
|
|
1183
1204
|
traceId: string;
|
|
1184
1205
|
};
|
|
1206
|
+
deepLink: {
|
|
1207
|
+
notFound: string;
|
|
1208
|
+
loadFailed: string;
|
|
1209
|
+
};
|
|
1185
1210
|
detail: {
|
|
1211
|
+
copyLink: string;
|
|
1212
|
+
linkCopied: string;
|
|
1213
|
+
linkCopyFailed: string;
|
|
1186
1214
|
header: string;
|
|
1187
1215
|
date: string;
|
|
1188
1216
|
timestamp: string;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { type Ref } from 'vue';
|
|
2
|
+
import type { AuditLogEntry } from '@/types/audit-log';
|
|
3
|
+
interface Options {
|
|
4
|
+
logs: Ref<AuditLogEntry[]>;
|
|
5
|
+
selectedLog: Ref<AuditLogEntry | null>;
|
|
6
|
+
isSheetOpen: Ref<boolean>;
|
|
7
|
+
/** Current business id; the lookup waits until this is available. */
|
|
8
|
+
businessId: () => string | undefined;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Keeps the open request-log side sheet in sync with `?traceId=` in the URL, so a log can
|
|
12
|
+
* be shared as a link (and survives reload / back / forward).
|
|
13
|
+
*/
|
|
14
|
+
export declare function useTraceIdDeepLink({ logs, selectedLog, isSheetOpen, businessId }: Options): {
|
|
15
|
+
onSheetOpened: (row: AuditLogEntry) => void;
|
|
16
|
+
onSheetClosed: () => void;
|
|
17
|
+
copyLink: () => Promise<void>;
|
|
18
|
+
};
|
|
19
|
+
export {};
|