@feedmepos/mf-hrm-portal 2.0.8-dev.1 → 2.0.8-dev.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.
Files changed (32) hide show
  1. package/dist/AuditLogList-CYoUWLEX.js +708 -0
  2. package/dist/{EmployeeList-DuRlCrqN.js → EmployeeList-DFocs_BJ.js} +5 -5
  3. package/dist/{Main-QpKV1hdj.js → Main-C2gZX1AT.js} +4 -4
  4. package/dist/{Main-D4ueBOl0.js → Main-CZAGXvvi.js} +6 -6
  5. package/dist/{Main-BfDH3uAt.js → Main-DkkkR5h8.js} +9 -9
  6. package/dist/{PermissionSetList-DfAZmUkI.js → PermissionSetList-DZ2P4mKk.js} +5 -5
  7. package/dist/PortalPermissionEditor.vue_vue_type_script_setup_true_lang-D5_uFNqA.js +3471 -0
  8. package/dist/{RoleList-D4mup6LW.js → RoleList-C21eCooe.js} +7 -7
  9. package/dist/{TeamMemberList-D9rTKS5N.js → TeamMemberList-BEJpfmbN.js} +8 -8
  10. package/dist/{TimesheetList-CBudjg1y.js → TimesheetList-Bq0z6v_2.js} +7 -7
  11. package/dist/{app-BO9lM0sJ.js → app-B285_m2n.js} +683 -503
  12. package/dist/app.js +1 -1
  13. package/dist/{dayjs.min-lY-LRZuh.js → dayjs.min-BxzxUB_-.js} +1 -1
  14. package/dist/{employee-DXp_u8jd.js → employee-m_0kWAh4.js} +4 -4
  15. package/dist/{index-BigKo-lS.js → index-BnHa9Fqh.js} +1 -1
  16. package/dist/{index-DAuOIotV.js → index-Bq0fqdmL.js} +2 -2
  17. package/dist/{iteration-DgaP-HFg.js → iteration-DwHZ7vH4.js} +1 -1
  18. package/dist/{lodash-Mhrrz947.js → lodash-C_oqURUo.js} +1 -1
  19. package/dist/src/composables/useBasePermission.d.ts +37 -0
  20. package/dist/src/helpers/permission-sync.d.ts +12 -0
  21. package/dist/src/views/audit-log/locales/index.d.ts +140 -0
  22. package/dist/src/views/team/components/BasePermission.vue.d.ts +1 -1
  23. package/dist/style.css +1 -1
  24. package/dist/{team-oeTIbsa-.js → team-DfLxBGup.js} +1 -1
  25. package/dist/{timesheet-B4XO3Kjx.js → timesheet-kIuiHl_B.js} +3 -3
  26. package/dist/tsconfig.app.tsbuildinfo +1 -1
  27. package/dist/{useAppStore-Cu5QCTlx.js → useAppStore-Gfzjp5eI.js} +1 -1
  28. package/dist/{useLoading-DKnxkHGF.js → useLoading-DGTaKnpg.js} +1 -1
  29. package/dist/{useReportPermissions-B_w5FiAK.js → useReportPermissions-CDY1iQtG.js} +3 -3
  30. package/package.json +2 -2
  31. package/dist/AuditLogList-YGP3G14A.js +0 -493
  32. package/dist/PortalPermissionEditor.vue_vue_type_script_setup_true_lang-DokyDyxJ.js +0 -3432
package/dist/app.js CHANGED
@@ -1,4 +1,4 @@
1
- import { h as a, e as r, r as o } from "./app-BO9lM0sJ.js";
1
+ import { e as a, d as r, r as o } from "./app-B285_m2n.js";
2
2
  export {
3
3
  a as FmApp,
4
4
  r as i18nMessages,
@@ -1,4 +1,4 @@
1
- import { g as Q, c as K } from "./app-BO9lM0sJ.js";
1
+ import { g as Q, c as K } from "./app-B285_m2n.js";
2
2
  var E = { exports: {} };
3
3
  (function(V, X) {
4
4
  (function(W, k) {
@@ -1,10 +1,10 @@
1
- import { d as T } from "./dayjs.min-lY-LRZuh.js";
1
+ import { d as T } from "./dayjs.min-BxzxUB_-.js";
2
2
  import { defineStore as _, storeToRefs as U } from "pinia";
3
3
  import { ref as I } from "vue";
4
4
  import { useCoreStore as $ } from "@feedmepos/mf-common";
5
- import { b as r, g as o, s as v } from "./iteration-DgaP-HFg.js";
6
- import { t as b, i as S } from "./index-DAuOIotV.js";
7
- import { u as x } from "./useAppStore-Cu5QCTlx.js";
5
+ import { b as r, g as o, s as v } from "./iteration-DwHZ7vH4.js";
6
+ import { t as b, i as S } from "./index-Bq0fqdmL.js";
7
+ import { u as x } from "./useAppStore-Gfzjp5eI.js";
8
8
  const n = {
9
9
  async readEmployees() {
10
10
  return o(await r().get("/pos-users"));
@@ -2,7 +2,7 @@ var oe = Object.defineProperty;
2
2
  var se = (_, h, y) => h in _ ? oe(_, h, { enumerable: !0, configurable: !0, writable: !0, value: y }) : _[h] = y;
3
3
  var ot = (_, h, y) => se(_, typeof h != "symbol" ? h + "" : h, y);
4
4
  import { readonly as Nt, ref as Rt } from "vue";
5
- import { c as st } from "./app-BO9lM0sJ.js";
5
+ import { c as st } from "./app-B285_m2n.js";
6
6
  var Pt = { exports: {} };
7
7
  (function(_, h) {
8
8
  (function(y, p) {
@@ -1,5 +1,5 @@
1
- import { g as b, b as g, d as X, e as j, s as L, q as M } from "./iteration-DgaP-HFg.js";
2
- import { d as J, u as R, a as F, i as D, b as S, N as Q } from "./app-BO9lM0sJ.js";
1
+ import { g as b, b as g, d as X, e as j, s as L, q as M } from "./iteration-DwHZ7vH4.js";
2
+ import { u as J, b as R, a as F, i as D, y as S, N as Q } from "./app-B285_m2n.js";
3
3
  import { defineStore as x, storeToRefs as k } from "pinia";
4
4
  import { ref as h, computed as N } from "vue";
5
5
  import { useCoreStore as q } from "@feedmepos/mf-common";
@@ -1,4 +1,4 @@
1
- import { c as U } from "./app-BO9lM0sJ.js";
1
+ import { c as U } from "./app-B285_m2n.js";
2
2
  import { useCoreStore as To, baseClientInstance as jr, FeedMeAuth as Zs } from "@feedmepos/mf-common";
3
3
  var Ys = {}, _n = {}, _ = {}, zo = {}, $i = {}, eo = {}, ui = {};
4
4
  (function(e) {
@@ -1,4 +1,4 @@
1
- import { c as jt } from "./app-BO9lM0sJ.js";
1
+ import { c as jt } from "./app-B285_m2n.js";
2
2
  var Jr = { exports: {} };
3
3
  /**
4
4
  * @license
@@ -0,0 +1,37 @@
1
+ import { type ComputedRef, type Ref } from 'vue';
2
+ import { type IFdtoPortalPermissionsWithVisibilityCondition } from '@feedmepos/hrm-permission';
3
+ import type { FdoPermissionRule } from '@feedmepos/core/entity';
4
+ export type CategoryGroup = {
5
+ category: string;
6
+ options: {
7
+ label: string;
8
+ value: string;
9
+ }[];
10
+ selectedSubjects: string[];
11
+ isMultiAction: boolean;
12
+ actionColumns: string[];
13
+ permissionActionsMap: Map<string, string[]>;
14
+ selectedActionsMap: Map<string, Set<string>>;
15
+ coverSubject: string | null;
16
+ coverSelectedActions: Set<string>;
17
+ coverCoversAll: boolean;
18
+ };
19
+ export declare function useBasePermission(modelValue: Readonly<Ref<FdoPermissionRule[]>>, allPermissions: ComputedRef<IFdtoPortalPermissionsWithVisibilityCondition[]>, excludedSubjects: Readonly<Ref<string[]>>, emit: (event: 'update:model-value', value: FdoPermissionRule[]) => void): {
20
+ categoryGroups: ComputedRef<CategoryGroup[]>;
21
+ toggleCategory: (category: string, subjects: unknown[]) => void;
22
+ isAllManageChecked: (group: CategoryGroup) => boolean;
23
+ toggleAllManage: (group: CategoryGroup) => void;
24
+ isManageChecked: (group: CategoryGroup, subject: string) => boolean;
25
+ isManageIndeterminate: (group: CategoryGroup, subject: string) => boolean;
26
+ toggleManage: (_group: CategoryGroup, subject: string, checked: boolean) => void;
27
+ hasNonManageActions: (group: CategoryGroup, subject: string) => boolean;
28
+ isActionChecked: (group: CategoryGroup, subject: string, action: string) => boolean;
29
+ isRowFullyCoveredByCover: (group: CategoryGroup, subject: string) => boolean;
30
+ isActionCoveredByCover: (group: CategoryGroup, subject: string, action: string) => boolean;
31
+ permissionDefinesAction: (group: CategoryGroup, subject: string, action: string) => boolean;
32
+ toggleAction: (subject: string, action: string, checked: boolean) => void;
33
+ isAllActionChecked: (group: CategoryGroup, action: string) => boolean;
34
+ isAllActionIndeterminate: (group: CategoryGroup, action: string) => boolean;
35
+ toggleAllAction: (group: CategoryGroup, action: string, checked: boolean) => void;
36
+ actionLabel: (action: string) => string;
37
+ };
@@ -0,0 +1,12 @@
1
+ import type { FdoPermissionRule } from '@feedmepos/core/entity';
2
+ /**
3
+ * Keeps the `manage` action in sync with non-manage actions for a given subject.
4
+ *
5
+ * - Adds `manage` when every non-manage action in `definedActions` is selected.
6
+ * - Removes `manage` (and splices the rule if it becomes empty) when any
7
+ * non-manage action is unselected.
8
+ * - No-op when the subject defines only `manage` (or no non-manage actions).
9
+ *
10
+ * Mutates `newRules` in place.
11
+ */
12
+ export declare function applyManageSync(newRules: FdoPermissionRule[], subject: string, definedActions: string[]): void;
@@ -4,6 +4,7 @@ export declare const i18nMessages: {
4
4
  'en-US': {
5
5
  auditLog: {
6
6
  title: string;
7
+ export: string;
7
8
  dateRange: {
8
9
  placeholder: string;
9
10
  };
@@ -29,12 +30,15 @@ export declare const i18nMessages: {
29
30
  columns: {
30
31
  timestamp: string;
31
32
  user: string;
33
+ role: string;
32
34
  subject: string;
33
35
  action: string;
34
36
  operation: string;
35
37
  outcome: string;
36
38
  };
37
39
  outcome: {
40
+ success: string;
41
+ failed: string;
38
42
  allowed: string;
39
43
  denied: string;
40
44
  skipped: string;
@@ -48,21 +52,52 @@ export declare const i18nMessages: {
48
52
  prevPage: string;
49
53
  nextPage: string;
50
54
  };
55
+ exportSettings: {
56
+ title: string;
57
+ };
58
+ exportFields: {
59
+ timestamp: string;
60
+ userName: string;
61
+ userPhone: string;
62
+ subject: string;
63
+ action: string;
64
+ operation: string;
65
+ outcome: string;
66
+ businessId: string;
67
+ restaurantId: string;
68
+ country: string;
69
+ resolvedFrom: string;
70
+ requestMethod: string;
71
+ requestPath: string;
72
+ };
51
73
  detail: {
52
74
  header: string;
75
+ date: string;
53
76
  timestamp: string;
54
77
  user: string;
55
78
  email: string;
56
79
  action: string;
57
80
  operation: string;
81
+ role: string;
58
82
  subject: string;
59
83
  field: string;
60
84
  outcome: string;
61
85
  business: string;
62
86
  restaurant: string;
87
+ changeDetails: string;
88
+ eventType: string;
63
89
  metadata: string;
64
90
  reason: string;
65
91
  resolvedFrom: string;
92
+ resolvedFromValue: {
93
+ admin: string;
94
+ staff: string;
95
+ permissionSet: string;
96
+ systemPermissionSet: string;
97
+ custom: string;
98
+ noMatch: string;
99
+ unknown: string;
100
+ };
66
101
  permissionSet: string;
67
102
  permissionTrace: string;
68
103
  decisivePermission: string;
@@ -76,6 +111,7 @@ export declare const i18nMessages: {
76
111
  'zh-CN': {
77
112
  auditLog: {
78
113
  title: string;
114
+ export: string;
79
115
  dateRange: {
80
116
  placeholder: string;
81
117
  };
@@ -101,12 +137,15 @@ export declare const i18nMessages: {
101
137
  columns: {
102
138
  timestamp: string;
103
139
  user: string;
140
+ role: string;
104
141
  subject: string;
105
142
  action: string;
106
143
  operation: string;
107
144
  outcome: string;
108
145
  };
109
146
  outcome: {
147
+ success: string;
148
+ failed: string;
110
149
  allowed: string;
111
150
  denied: string;
112
151
  skipped: string;
@@ -120,21 +159,52 @@ export declare const i18nMessages: {
120
159
  prevPage: string;
121
160
  nextPage: string;
122
161
  };
162
+ exportSettings: {
163
+ title: string;
164
+ };
165
+ exportFields: {
166
+ timestamp: string;
167
+ userName: string;
168
+ userPhone: string;
169
+ subject: string;
170
+ action: string;
171
+ operation: string;
172
+ outcome: string;
173
+ businessId: string;
174
+ restaurantId: string;
175
+ country: string;
176
+ resolvedFrom: string;
177
+ requestMethod: string;
178
+ requestPath: string;
179
+ };
123
180
  detail: {
124
181
  header: string;
182
+ date: string;
125
183
  timestamp: string;
126
184
  user: string;
127
185
  email: string;
128
186
  action: string;
129
187
  operation: string;
188
+ role: string;
130
189
  subject: string;
131
190
  field: string;
132
191
  outcome: string;
133
192
  business: string;
134
193
  restaurant: string;
194
+ changeDetails: string;
195
+ eventType: string;
135
196
  metadata: string;
136
197
  reason: string;
137
198
  resolvedFrom: string;
199
+ resolvedFromValue: {
200
+ admin: string;
201
+ staff: string;
202
+ permissionSet: string;
203
+ systemPermissionSet: string;
204
+ custom: string;
205
+ noMatch: string;
206
+ unknown: string;
207
+ };
138
208
  permissionSet: string;
139
209
  permissionTrace: string;
140
210
  decisivePermission: string;
@@ -149,6 +219,7 @@ export declare const i18nMessages: {
149
219
  'th-TH': {
150
220
  auditLog: {
151
221
  title: string;
222
+ export: string;
152
223
  dateRange: {
153
224
  placeholder: string;
154
225
  };
@@ -174,12 +245,15 @@ export declare const i18nMessages: {
174
245
  columns: {
175
246
  timestamp: string;
176
247
  user: string;
248
+ role: string;
177
249
  subject: string;
178
250
  action: string;
179
251
  operation: string;
180
252
  outcome: string;
181
253
  };
182
254
  outcome: {
255
+ success: string;
256
+ failed: string;
183
257
  allowed: string;
184
258
  denied: string;
185
259
  skipped: string;
@@ -193,21 +267,52 @@ export declare const i18nMessages: {
193
267
  prevPage: string;
194
268
  nextPage: string;
195
269
  };
270
+ exportSettings: {
271
+ title: string;
272
+ };
273
+ exportFields: {
274
+ timestamp: string;
275
+ userName: string;
276
+ userPhone: string;
277
+ subject: string;
278
+ action: string;
279
+ operation: string;
280
+ outcome: string;
281
+ businessId: string;
282
+ restaurantId: string;
283
+ country: string;
284
+ resolvedFrom: string;
285
+ requestMethod: string;
286
+ requestPath: string;
287
+ };
196
288
  detail: {
197
289
  header: string;
290
+ date: string;
198
291
  timestamp: string;
199
292
  user: string;
200
293
  email: string;
201
294
  action: string;
202
295
  operation: string;
296
+ role: string;
203
297
  subject: string;
204
298
  field: string;
205
299
  outcome: string;
206
300
  business: string;
207
301
  restaurant: string;
302
+ changeDetails: string;
303
+ eventType: string;
208
304
  metadata: string;
209
305
  reason: string;
210
306
  resolvedFrom: string;
307
+ resolvedFromValue: {
308
+ admin: string;
309
+ staff: string;
310
+ permissionSet: string;
311
+ systemPermissionSet: string;
312
+ custom: string;
313
+ noMatch: string;
314
+ unknown: string;
315
+ };
211
316
  permissionSet: string;
212
317
  permissionTrace: string;
213
318
  decisivePermission: string;
@@ -222,6 +327,7 @@ export declare const i18nMessages: {
222
327
  'zh-Hant': {
223
328
  auditLog: {
224
329
  title: string;
330
+ export: string;
225
331
  dateRange: {
226
332
  placeholder: string;
227
333
  };
@@ -247,12 +353,15 @@ export declare const i18nMessages: {
247
353
  columns: {
248
354
  timestamp: string;
249
355
  user: string;
356
+ role: string;
250
357
  subject: string;
251
358
  action: string;
252
359
  operation: string;
253
360
  outcome: string;
254
361
  };
255
362
  outcome: {
363
+ success: string;
364
+ failed: string;
256
365
  allowed: string;
257
366
  denied: string;
258
367
  skipped: string;
@@ -266,21 +375,52 @@ export declare const i18nMessages: {
266
375
  prevPage: string;
267
376
  nextPage: string;
268
377
  };
378
+ exportSettings: {
379
+ title: string;
380
+ };
381
+ exportFields: {
382
+ timestamp: string;
383
+ userName: string;
384
+ userPhone: string;
385
+ subject: string;
386
+ action: string;
387
+ operation: string;
388
+ outcome: string;
389
+ businessId: string;
390
+ restaurantId: string;
391
+ country: string;
392
+ resolvedFrom: string;
393
+ requestMethod: string;
394
+ requestPath: string;
395
+ };
269
396
  detail: {
270
397
  header: string;
398
+ date: string;
271
399
  timestamp: string;
272
400
  user: string;
273
401
  email: string;
274
402
  action: string;
275
403
  operation: string;
404
+ role: string;
276
405
  subject: string;
277
406
  field: string;
278
407
  outcome: string;
279
408
  business: string;
280
409
  restaurant: string;
410
+ changeDetails: string;
411
+ eventType: string;
281
412
  metadata: string;
282
413
  reason: string;
283
414
  resolvedFrom: string;
415
+ resolvedFromValue: {
416
+ admin: string;
417
+ staff: string;
418
+ permissionSet: string;
419
+ systemPermissionSet: string;
420
+ custom: string;
421
+ noMatch: string;
422
+ unknown: string;
423
+ };
284
424
  permissionSet: string;
285
425
  permissionTrace: string;
286
426
  decisivePermission: string;
@@ -1,5 +1,5 @@
1
1
  import { type PropType } from 'vue';
2
- import { type IFdtoPortalPermissionsWithVisibilityCondition } from '@feedmepos/hrm-permission';
2
+ import type { IFdtoPortalPermissionsWithVisibilityCondition } from '@feedmepos/hrm-permission';
3
3
  import type { FdoPermissionRule } from '@feedmepos/core/entity';
4
4
  declare var __VLS_9: `checkbox-${string}-append`, __VLS_10: {
5
5
  option: import("@/components/CheckboxInput.vue").CheckboxOption;
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- .user-info-icon[data-v-c2c7ed35]{flex-shrink:0;cursor:pointer;font-size:.75rem;font-weight:600;line-height:1rem;letter-spacing:.02em;text-decoration-line:none;color:var(--fm-color-neutral-white);display:flex;align-items:center;justify-content:center;background:linear-gradient(201deg,#fc9b40 10.3%,#ff6052 98.36%)}.user-info-icon--md[data-v-c2c7ed35]{height:2.25rem;width:2.25rem;border-radius:8px}.user-info-icon--lg[data-v-c2c7ed35]{height:48px;width:48px;border-radius:16px}.profile-menu[data-v-c2c7ed35]{width:280px;padding-top:12px;padding-bottom:12px}.profile-menu--profile[data-v-c2c7ed35]>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(8px * var(--tw-space-x-reverse));margin-left:calc(8px * calc(1 - var(--tw-space-x-reverse)))}.profile-menu--profile[data-v-c2c7ed35]{padding:16px 16px 12px;border-radius:8px;display:flex;align-items:center;border-width:1px;border-color:var(--fm-color-neutral-gray-200)}.profile-menu--profile .profile-displayName[data-v-c2c7ed35]{font-size:1rem;font-weight:400;line-height:1.25rem;letter-spacing:.005em;text-decoration-line:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-menu--profile .profile-email[data-v-c2c7ed35],.profile-menu--profile .profile-phone[data-v-c2c7ed35]{font-size:.875rem;font-weight:400;line-height:1.125rem;letter-spacing:.0125em;text-decoration-line:none;color:var(--fm-color-neutral-gray-300);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.audit-log-operation-label-table{display:block;width:100%;max-width:100%;max-height:6.25rem;overflow-y:auto;white-space:pre-line;word-break:break-word;line-height:1.25rem;scrollbar-width:none;-ms-overflow-style:none}.audit-log-operation-label-table::-webkit-scrollbar{display:none}.audit-log-operation-label-detail{max-height:6.875rem;overflow-y:auto;white-space:pre-line;word-break:break-word;line-height:1.375rem;scrollbar-width:none;-ms-overflow-style:none}.audit-log-operation-label-detail::-webkit-scrollbar{display:none}
1
+ .user-info-icon[data-v-c2c7ed35]{flex-shrink:0;cursor:pointer;font-size:.75rem;font-weight:600;line-height:1rem;letter-spacing:.02em;text-decoration-line:none;color:var(--fm-color-neutral-white);display:flex;align-items:center;justify-content:center;background:linear-gradient(201deg,#fc9b40 10.3%,#ff6052 98.36%)}.user-info-icon--md[data-v-c2c7ed35]{height:2.25rem;width:2.25rem;border-radius:8px}.user-info-icon--lg[data-v-c2c7ed35]{height:48px;width:48px;border-radius:16px}.profile-menu[data-v-c2c7ed35]{width:280px;padding-top:12px;padding-bottom:12px}.profile-menu--profile[data-v-c2c7ed35]>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(8px * var(--tw-space-x-reverse));margin-left:calc(8px * calc(1 - var(--tw-space-x-reverse)))}.profile-menu--profile[data-v-c2c7ed35]{padding:16px 16px 12px;border-radius:8px;display:flex;align-items:center;border-width:1px;border-color:var(--fm-color-neutral-gray-200)}.profile-menu--profile .profile-displayName[data-v-c2c7ed35]{font-size:1rem;font-weight:400;line-height:1.25rem;letter-spacing:.005em;text-decoration-line:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-menu--profile .profile-email[data-v-c2c7ed35],.profile-menu--profile .profile-phone[data-v-c2c7ed35]{font-size:.875rem;font-weight:400;line-height:1.125rem;letter-spacing:.0125em;text-decoration-line:none;color:var(--fm-color-neutral-gray-300);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.audit-log-action-label{display:block;width:100%;max-width:100%;max-height:6.25rem;overflow-y:auto;white-space:pre-line;word-break:break-word;line-height:1.25rem;scrollbar-width:none;-ms-overflow-style:none}.audit-log-action-label::-webkit-scrollbar{display:none}.audit-log-operation-label-detail{max-height:6.875rem;overflow-y:auto;white-space:pre-line;word-break:break-word;line-height:1.375rem;scrollbar-width:none;-ms-overflow-style:none}.audit-log-operation-label-detail::-webkit-scrollbar{display:none}
@@ -1,6 +1,6 @@
1
1
  import { defineStore as d } from "pinia";
2
2
  import { ref as s, computed as o } from "vue";
3
- import { t as f } from "./index-DAuOIotV.js";
3
+ import { t as f } from "./index-Bq0fqdmL.js";
4
4
  const I = d("team", () => {
5
5
  const r = s([]), a = s(!1), m = o(
6
6
  () => Object.fromEntries(r.value.map((e) => [e.doc.userId, e.name]))
@@ -1,8 +1,8 @@
1
- import { d as i } from "./dayjs.min-lY-LRZuh.js";
1
+ import { d as i } from "./dayjs.min-BxzxUB_-.js";
2
2
  import { defineStore as p, storeToRefs as T } from "pinia";
3
3
  import { ref as l } from "vue";
4
- import { b as c, g as y, s as S } from "./iteration-DgaP-HFg.js";
5
- import { i as u, b as g } from "./index-DAuOIotV.js";
4
+ import { b as c, g as y, s as S } from "./iteration-DwHZ7vH4.js";
5
+ import { i as u, b as g } from "./index-Bq0fqdmL.js";
6
6
  const f = {
7
7
  async readTimesheets(t, e) {
8
8
  return y(await c().get(`timesheet?start=${t}&end=${e}`));