@feedmepos/mf-hrm-portal 2.0.24 → 2.0.25-dev
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/AuditLogList-NOjQWc0n.js +1145 -0
- package/dist/{EmployeeList-DCjDgFLf.js → EmployeeList-CLAEc_Dl.js} +78 -78
- package/dist/{FormItem.vue_vue_type_script_setup_true_lang-D3MOFOUI.js → FormItem.vue_vue_type_script_setup_true_lang-DPT2FoIc.js} +1 -1
- package/dist/{Main-B-4Hty-_.js → Main-CnLbqtUE.js} +1142 -1138
- package/dist/{Main-DWXAa4Zw.js → Main-DaG5Gqo3.js} +6 -6
- package/dist/Main-zga1U6eC.js +94 -0
- package/dist/{PermissionSetList-DE1vPSOS.js → PermissionSetList-4T-K3P1Y.js} +6 -6
- package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-DWqxG7LZ.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-SBojB1i0.js} +1094 -1094
- package/dist/{PortalUserSearcher.vue_vue_type_style_index_0_scoped_a439fdd8_lang-Duq1Ltmf.js → PortalUserSearcher.vue_vue_type_style_index_0_scoped_a439fdd8_lang-Sn93AcEd.js} +1 -1
- package/dist/{RoleList-CDZ0CwPn.js → RoleList-Dz7Vwovj.js} +7 -7
- package/dist/SelectFilter-ATOm0hdn.js +269 -0
- package/dist/{TeamMemberList-CGN9PqHo.js → TeamMemberList-DYGEd5pe.js} +12 -12
- package/dist/{TimesheetList-CENyYssG.js → TimesheetList-nAeY6i18.js} +10 -10
- package/dist/{TimesheetList.vue_vue_type_style_index_0_scoped_d7ed31d7_lang-B1bqLX3y.js → TimesheetList.vue_vue_type_style_index_0_scoped_91afda4e_lang-Bd74jnJu.js} +2 -2
- package/dist/{app-CpPiF3az.js → app-DhjOMwb9.js} +655 -634
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-DROzhzjn.js → dayjs.min-Bd3JE67B.js} +1 -1
- package/dist/{employee-hCtzhfBQ.js → employee-B3aJC3BG.js} +3 -3
- package/dist/{iteration-CHhRGYug.js → iteration-gb-z-6D3.js} +3 -3
- package/dist/{lodash-BHaHINha.js → lodash-BOwvb210.js} +1 -1
- package/dist/{rule-CKp_xSn-.js → rule-CkP2wcOa.js} +2 -2
- package/dist/src/api/audit-log/index.d.ts +17 -0
- package/dist/src/components/form/SelectFilter.vue.d.ts +3 -0
- package/dist/src/stores/team.d.ts +4 -1
- package/dist/src/views/audit-log/locales/index.d.ts +24 -16
- package/dist/src/views/hr/locales/index.d.ts +4 -0
- package/dist/src/views/team/locales/index.d.ts +4 -0
- package/dist/style.css +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{useAppStore-DT1XvZDd.js → useAppStore-ByWfAgOH.js} +1 -1
- package/dist/{useLoading-CPT4hekh.js → useLoading-cyuvXo-X.js} +1 -1
- package/dist/{useReportPermissions-DeR0m-om.js → useReportPermissions-Blkuv4SJ.js} +3 -3
- package/package.json +1 -1
- package/dist/AuditLogList-DiVmHoNT.js +0 -1037
- package/dist/Main-D1Pazgt0.js +0 -90
- package/dist/SelectFilter-DUj7GBtT.js +0 -251
package/dist/app.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { d as g } from "./dayjs.min-
|
|
1
|
+
import { d as g } from "./dayjs.min-Bd3JE67B.js";
|
|
2
2
|
import { defineStore as $, storeToRefs as T } from "pinia";
|
|
3
3
|
import { ref as m } from "vue";
|
|
4
|
-
import { b as l, g as f, u as w, s as E } from "./iteration-
|
|
4
|
+
import { b as l, g as f, u as w, s as E } from "./iteration-gb-z-6D3.js";
|
|
5
5
|
import { i as v } from "./utils-BZkjJbju.js";
|
|
6
|
-
import { u as _ } from "./useAppStore-
|
|
6
|
+
import { u as _ } from "./useAppStore-ByWfAgOH.js";
|
|
7
7
|
const o = {
|
|
8
8
|
async readEmployees() {
|
|
9
9
|
return f(await l().get("/pos-users"));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineStore as Gs, storeToRefs as Hs } from "pinia";
|
|
2
2
|
import { ref as eo } from "vue";
|
|
3
3
|
import { useCoreStore as ui, baseClientInstance as Dr, FeedMeAuth as qs } from "@feedmepos/mf-common";
|
|
4
|
-
import { c as U } from "./app-
|
|
4
|
+
import { c as U } from "./app-DhjOMwb9.js";
|
|
5
5
|
function Ur(e, n) {
|
|
6
6
|
return function() {
|
|
7
7
|
return e.apply(n, arguments);
|
|
@@ -1820,9 +1820,9 @@ const sa = (e) => (n) => {
|
|
|
1820
1820
|
throw new Error("Invalid business");
|
|
1821
1821
|
}, Vc = () => {
|
|
1822
1822
|
var a;
|
|
1823
|
-
const n = (a = ui().currentCountry.value) == null ? void 0 : a.toLowerCase(), i = "
|
|
1823
|
+
const n = (a = ui().currentCountry.value) == null ? void 0 : a.toLowerCase(), i = "feedmeapidev.com", o = !n || n === "my" ? `https://query-engine.${i}` : `https://query-engine.${n}.${i}`;
|
|
1824
1824
|
return sa(o)("");
|
|
1825
|
-
}, Zc = () => sa("https://account.
|
|
1825
|
+
}, Zc = () => sa("https://account.feedmedev.cc/api")(""), Yc = () => Dr("user/bypass/validate/");
|
|
1826
1826
|
function vl(e) {
|
|
1827
1827
|
return e.data;
|
|
1828
1828
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as b, b as v, q as L, u as H, s as k, d as Y, e as h } from "./iteration-
|
|
2
|
-
import { e as R, P as x, b as F, l as j, k as Z, d as J } from "./app-
|
|
1
|
+
import { g as b, b as v, q as L, u as H, s as k, d as Y, e as h } from "./iteration-gb-z-6D3.js";
|
|
2
|
+
import { e as R, P as x, b as F, l as j, k as Z, d as J } from "./app-DhjOMwb9.js";
|
|
3
3
|
import { s as q } from "./utils-BZkjJbju.js";
|
|
4
4
|
import { defineStore as W, storeToRefs as V } from "pinia";
|
|
5
5
|
import { ref as S, computed as C } from "vue";
|
|
@@ -8,6 +8,7 @@ declare const AuditLogAPI: {
|
|
|
8
8
|
subjectPrefixes?: string[];
|
|
9
9
|
actions?: string[];
|
|
10
10
|
outcomes?: string[];
|
|
11
|
+
feedmeAdminActors?: boolean;
|
|
11
12
|
}): Promise<number>;
|
|
12
13
|
read(params?: {
|
|
13
14
|
limit?: number;
|
|
@@ -19,6 +20,22 @@ declare const AuditLogAPI: {
|
|
|
19
20
|
subjectPrefixes?: string[];
|
|
20
21
|
actions?: string[];
|
|
21
22
|
outcomes?: string[];
|
|
23
|
+
feedmeAdminActors?: boolean;
|
|
22
24
|
}): Promise<AuditLogEntry[]>;
|
|
25
|
+
/**
|
|
26
|
+
* FeedMe-admin options for the User filter. `actors` is the named admin list (internal
|
|
27
|
+
* viewers only; empty for merchants). `showFeedmeAdminFilter` indicates whether to offer
|
|
28
|
+
* the "FeedMe Admin" catch-all (only when the business has relevant admin activity).
|
|
29
|
+
*/
|
|
30
|
+
getFeedmeAdminFilter(params?: {
|
|
31
|
+
from?: string;
|
|
32
|
+
to?: string;
|
|
33
|
+
}): Promise<{
|
|
34
|
+
actors: {
|
|
35
|
+
userId: string;
|
|
36
|
+
name: string;
|
|
37
|
+
}[];
|
|
38
|
+
showFeedmeAdminFilter: boolean;
|
|
39
|
+
}>;
|
|
23
40
|
};
|
|
24
41
|
export default AuditLogAPI;
|
|
@@ -4,6 +4,9 @@ export interface BaseOption {
|
|
|
4
4
|
export interface SelectFilterOption {
|
|
5
5
|
label: string;
|
|
6
6
|
value: any;
|
|
7
|
+
/** Optional group/section label. When any option has a `group`, the menu renders
|
|
8
|
+
* section headers with per-group counts. Order groups by ordering `items`. */
|
|
9
|
+
group?: string;
|
|
7
10
|
[key: string]: any;
|
|
8
11
|
}
|
|
9
12
|
export interface Props {
|
|
@@ -94,13 +94,14 @@ declare const useTeamStore: import("pinia").StoreDefinition<"team", Pick<{
|
|
|
94
94
|
};
|
|
95
95
|
}[]>;
|
|
96
96
|
isLoading: import("vue").Ref<boolean, boolean>;
|
|
97
|
+
hasLoaded: import("vue").Ref<boolean, boolean>;
|
|
97
98
|
userIdToName: import("vue").ComputedRef<Record<string, string>>;
|
|
98
99
|
userIdToEmail: import("vue").ComputedRef<Record<string, string>>;
|
|
99
100
|
userIdToPhone: import("vue").ComputedRef<Record<string, string>>;
|
|
100
101
|
readTeamMembers: ({ force }?: {
|
|
101
102
|
force?: boolean | undefined;
|
|
102
103
|
}) => Promise<void>;
|
|
103
|
-
}, "isLoading" | "members">, Pick<{
|
|
104
|
+
}, "isLoading" | "members" | "hasLoaded">, Pick<{
|
|
104
105
|
members: import("vue").Ref<{
|
|
105
106
|
id: string;
|
|
106
107
|
name: string;
|
|
@@ -195,6 +196,7 @@ declare const useTeamStore: import("pinia").StoreDefinition<"team", Pick<{
|
|
|
195
196
|
};
|
|
196
197
|
}[]>;
|
|
197
198
|
isLoading: import("vue").Ref<boolean, boolean>;
|
|
199
|
+
hasLoaded: import("vue").Ref<boolean, boolean>;
|
|
198
200
|
userIdToName: import("vue").ComputedRef<Record<string, string>>;
|
|
199
201
|
userIdToEmail: import("vue").ComputedRef<Record<string, string>>;
|
|
200
202
|
userIdToPhone: import("vue").ComputedRef<Record<string, string>>;
|
|
@@ -296,6 +298,7 @@ declare const useTeamStore: import("pinia").StoreDefinition<"team", Pick<{
|
|
|
296
298
|
};
|
|
297
299
|
}[]>;
|
|
298
300
|
isLoading: import("vue").Ref<boolean, boolean>;
|
|
301
|
+
hasLoaded: import("vue").Ref<boolean, boolean>;
|
|
299
302
|
userIdToName: import("vue").ComputedRef<Record<string, string>>;
|
|
300
303
|
userIdToEmail: import("vue").ComputedRef<Record<string, string>>;
|
|
301
304
|
userIdToPhone: import("vue").ComputedRef<Record<string, string>>;
|
|
@@ -19,6 +19,9 @@ export declare const i18nMessages: {
|
|
|
19
19
|
dateRange: {
|
|
20
20
|
placeholder: string;
|
|
21
21
|
};
|
|
22
|
+
user: {
|
|
23
|
+
feedmeAdmin: string;
|
|
24
|
+
};
|
|
22
25
|
filter: {
|
|
23
26
|
user_placeholder: string;
|
|
24
27
|
selected_user_prefix: string;
|
|
@@ -46,12 +49,12 @@ export declare const i18nMessages: {
|
|
|
46
49
|
payment: string;
|
|
47
50
|
menu: string;
|
|
48
51
|
crm: string;
|
|
52
|
+
other: string;
|
|
49
53
|
more: string;
|
|
50
54
|
};
|
|
51
55
|
columns: {
|
|
52
56
|
timestamp: string;
|
|
53
57
|
user: string;
|
|
54
|
-
role: string;
|
|
55
58
|
subject: string;
|
|
56
59
|
action: string;
|
|
57
60
|
operation: string;
|
|
@@ -104,14 +107,13 @@ export declare const i18nMessages: {
|
|
|
104
107
|
email: string;
|
|
105
108
|
action: string;
|
|
106
109
|
operation: string;
|
|
107
|
-
role: string;
|
|
108
110
|
subject: string;
|
|
109
111
|
field: string;
|
|
110
112
|
outcome: string;
|
|
111
113
|
business: string;
|
|
112
114
|
restaurant: string;
|
|
113
|
-
|
|
114
|
-
|
|
115
|
+
eventDetails: string;
|
|
116
|
+
actionDescription: string;
|
|
115
117
|
metadata: string;
|
|
116
118
|
reason: string;
|
|
117
119
|
resolvedFrom: string;
|
|
@@ -152,6 +154,9 @@ export declare const i18nMessages: {
|
|
|
152
154
|
dateRange: {
|
|
153
155
|
placeholder: string;
|
|
154
156
|
};
|
|
157
|
+
user: {
|
|
158
|
+
feedmeAdmin: string;
|
|
159
|
+
};
|
|
155
160
|
filter: {
|
|
156
161
|
user_placeholder: string;
|
|
157
162
|
selected_user_prefix: string;
|
|
@@ -179,12 +184,12 @@ export declare const i18nMessages: {
|
|
|
179
184
|
payment: string;
|
|
180
185
|
menu: string;
|
|
181
186
|
crm: string;
|
|
187
|
+
other: string;
|
|
182
188
|
more: string;
|
|
183
189
|
};
|
|
184
190
|
columns: {
|
|
185
191
|
timestamp: string;
|
|
186
192
|
user: string;
|
|
187
|
-
role: string;
|
|
188
193
|
subject: string;
|
|
189
194
|
action: string;
|
|
190
195
|
operation: string;
|
|
@@ -237,14 +242,13 @@ export declare const i18nMessages: {
|
|
|
237
242
|
email: string;
|
|
238
243
|
action: string;
|
|
239
244
|
operation: string;
|
|
240
|
-
role: string;
|
|
241
245
|
subject: string;
|
|
242
246
|
field: string;
|
|
243
247
|
outcome: string;
|
|
244
248
|
business: string;
|
|
245
249
|
restaurant: string;
|
|
246
|
-
|
|
247
|
-
|
|
250
|
+
eventDetails: string;
|
|
251
|
+
actionDescription: string;
|
|
248
252
|
metadata: string;
|
|
249
253
|
reason: string;
|
|
250
254
|
resolvedFrom: string;
|
|
@@ -286,6 +290,9 @@ export declare const i18nMessages: {
|
|
|
286
290
|
dateRange: {
|
|
287
291
|
placeholder: string;
|
|
288
292
|
};
|
|
293
|
+
user: {
|
|
294
|
+
feedmeAdmin: string;
|
|
295
|
+
};
|
|
289
296
|
filter: {
|
|
290
297
|
user_placeholder: string;
|
|
291
298
|
selected_user_prefix: string;
|
|
@@ -313,12 +320,12 @@ export declare const i18nMessages: {
|
|
|
313
320
|
payment: string;
|
|
314
321
|
menu: string;
|
|
315
322
|
crm: string;
|
|
323
|
+
other: string;
|
|
316
324
|
more: string;
|
|
317
325
|
};
|
|
318
326
|
columns: {
|
|
319
327
|
timestamp: string;
|
|
320
328
|
user: string;
|
|
321
|
-
role: string;
|
|
322
329
|
subject: string;
|
|
323
330
|
action: string;
|
|
324
331
|
operation: string;
|
|
@@ -371,14 +378,13 @@ export declare const i18nMessages: {
|
|
|
371
378
|
email: string;
|
|
372
379
|
action: string;
|
|
373
380
|
operation: string;
|
|
374
|
-
role: string;
|
|
375
381
|
subject: string;
|
|
376
382
|
field: string;
|
|
377
383
|
outcome: string;
|
|
378
384
|
business: string;
|
|
379
385
|
restaurant: string;
|
|
380
|
-
|
|
381
|
-
|
|
386
|
+
eventDetails: string;
|
|
387
|
+
actionDescription: string;
|
|
382
388
|
metadata: string;
|
|
383
389
|
reason: string;
|
|
384
390
|
resolvedFrom: string;
|
|
@@ -420,6 +426,9 @@ export declare const i18nMessages: {
|
|
|
420
426
|
dateRange: {
|
|
421
427
|
placeholder: string;
|
|
422
428
|
};
|
|
429
|
+
user: {
|
|
430
|
+
feedmeAdmin: string;
|
|
431
|
+
};
|
|
423
432
|
filter: {
|
|
424
433
|
user_placeholder: string;
|
|
425
434
|
selected_user_prefix: string;
|
|
@@ -447,12 +456,12 @@ export declare const i18nMessages: {
|
|
|
447
456
|
payment: string;
|
|
448
457
|
menu: string;
|
|
449
458
|
crm: string;
|
|
459
|
+
other: string;
|
|
450
460
|
more: string;
|
|
451
461
|
};
|
|
452
462
|
columns: {
|
|
453
463
|
timestamp: string;
|
|
454
464
|
user: string;
|
|
455
|
-
role: string;
|
|
456
465
|
subject: string;
|
|
457
466
|
action: string;
|
|
458
467
|
operation: string;
|
|
@@ -505,14 +514,13 @@ export declare const i18nMessages: {
|
|
|
505
514
|
email: string;
|
|
506
515
|
action: string;
|
|
507
516
|
operation: string;
|
|
508
|
-
role: string;
|
|
509
517
|
subject: string;
|
|
510
518
|
field: string;
|
|
511
519
|
outcome: string;
|
|
512
520
|
business: string;
|
|
513
521
|
restaurant: string;
|
|
514
|
-
|
|
515
|
-
|
|
522
|
+
eventDetails: string;
|
|
523
|
+
actionDescription: string;
|
|
516
524
|
metadata: string;
|
|
517
525
|
reason: string;
|
|
518
526
|
resolvedFrom: string;
|
|
@@ -5,6 +5,7 @@ export declare const i18nMessages: {
|
|
|
5
5
|
hr: {
|
|
6
6
|
employee: {
|
|
7
7
|
title: string;
|
|
8
|
+
subtitle: string;
|
|
8
9
|
exportButtonLabel: string;
|
|
9
10
|
createButtonLabel: string;
|
|
10
11
|
columns: {
|
|
@@ -208,6 +209,7 @@ export declare const i18nMessages: {
|
|
|
208
209
|
hr: {
|
|
209
210
|
employee: {
|
|
210
211
|
title: string;
|
|
212
|
+
subtitle: string;
|
|
211
213
|
exportButtonLabel: string;
|
|
212
214
|
createButtonLabel: string;
|
|
213
215
|
columns: {
|
|
@@ -411,6 +413,7 @@ export declare const i18nMessages: {
|
|
|
411
413
|
hr: {
|
|
412
414
|
employee: {
|
|
413
415
|
title: string;
|
|
416
|
+
subtitle: string;
|
|
414
417
|
exportButtonLabel: string;
|
|
415
418
|
createButtonLabel: string;
|
|
416
419
|
columns: {
|
|
@@ -613,6 +616,7 @@ export declare const i18nMessages: {
|
|
|
613
616
|
hr: {
|
|
614
617
|
employee: {
|
|
615
618
|
title: string;
|
|
619
|
+
subtitle: string;
|
|
616
620
|
exportButtonLabel: string;
|
|
617
621
|
createButtonLabel: string;
|
|
618
622
|
columns: {
|
|
@@ -4,6 +4,7 @@ export declare const i18nMessages: {
|
|
|
4
4
|
'en-US': {
|
|
5
5
|
team: {
|
|
6
6
|
title: string;
|
|
7
|
+
subtitle: string;
|
|
7
8
|
actions: {
|
|
8
9
|
addMember: string;
|
|
9
10
|
updateMember: string;
|
|
@@ -234,6 +235,7 @@ export declare const i18nMessages: {
|
|
|
234
235
|
'zh-CN': {
|
|
235
236
|
team: {
|
|
236
237
|
title: string;
|
|
238
|
+
subtitle: string;
|
|
237
239
|
actions: {
|
|
238
240
|
addMember: string;
|
|
239
241
|
updateMember: string;
|
|
@@ -464,6 +466,7 @@ export declare const i18nMessages: {
|
|
|
464
466
|
'th-TH': {
|
|
465
467
|
team: {
|
|
466
468
|
title: string;
|
|
469
|
+
subtitle: string;
|
|
467
470
|
actions: {
|
|
468
471
|
addMember: string;
|
|
469
472
|
updateMember: string;
|
|
@@ -694,6 +697,7 @@ export declare const i18nMessages: {
|
|
|
694
697
|
'zh-Hant': {
|
|
695
698
|
team: {
|
|
696
699
|
title: string;
|
|
700
|
+
subtitle: string;
|
|
697
701
|
actions: {
|
|
698
702
|
addMember: string;
|
|
699
703
|
updateMember: string;
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.employee-list-table[data-v-
|
|
1
|
+
.employee-list-table[data-v-202bbc71] [class~=gap-24]>div:first-child{display:none}.timesheet-user-view[data-v-91afda4e] .basis-72{display:none}.user-info-icon[data-v-a439fdd8]{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-a439fdd8]{height:2.25rem;width:2.25rem;border-radius:8px}.user-info-icon--lg[data-v-a439fdd8]{height:48px;width:48px;border-radius:16px}.profile-menu[data-v-a439fdd8]{width:280px;padding-top:12px;padding-bottom:12px}.profile-menu--profile[data-v-a439fdd8]>: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-a439fdd8]{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-a439fdd8]{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-a439fdd8],.profile-menu--profile .profile-phone[data-v-a439fdd8]{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-list-table[data-v-e7378504] [class~=gap-24]>div:first-child{display:none}.audit-log-action-label[data-v-e7378504]{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[data-v-e7378504]::-webkit-scrollbar{display:none}.audit-log-operation-label-detail[data-v-e7378504]{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[data-v-e7378504]::-webkit-scrollbar{display:none}
|