@feedmepos/mf-hrm-portal 2.0.24-dev.13 → 2.0.24-dev.14

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 (34) hide show
  1. package/dist/AuditLogList-CtneTBoV.js +1145 -0
  2. package/dist/{EmployeeList-DSotV-7r.js → EmployeeList-C7dIO8gr.js} +78 -78
  3. package/dist/{FormItem.vue_vue_type_script_setup_true_lang-D3MOFOUI.js → FormItem.vue_vue_type_script_setup_true_lang-S4Mh4MvG.js} +1 -1
  4. package/dist/{Main-DiqWFbg6.js → Main-3gbHRwy4.js} +6 -6
  5. package/dist/{Main-pf8KD_ew.js → Main-CU92m_i1.js} +9 -9
  6. package/dist/{Main-Du7lPAnd.js → Main-D5PmpNiB.js} +6 -6
  7. package/dist/{PermissionSetList-BkP_yWYv.js → PermissionSetList-Dej3hhUp.js} +6 -6
  8. package/dist/PortalPermissionEditor.vue_vue_type_script_setup_true_lang-C9fM3DpC.js +3457 -0
  9. package/dist/{PortalUserSearcher.vue_vue_type_style_index_0_scoped_a439fdd8_lang-CwHZrP4X.js → PortalUserSearcher.vue_vue_type_style_index_0_scoped_a439fdd8_lang-DiCE_AYD.js} +1 -1
  10. package/dist/{RoleList-i0HAJQ9A.js → RoleList-B98ExzJE.js} +7 -7
  11. package/dist/SelectFilter-C61IZSID.js +269 -0
  12. package/dist/{TeamMemberList-BUCacyhN.js → TeamMemberList-YTHgBCoO.js} +12 -12
  13. package/dist/{TimesheetList-BASAcu4x.js → TimesheetList-2HclOof1.js} +10 -10
  14. package/dist/{TimesheetList.vue_vue_type_style_index_0_scoped_d7ed31d7_lang-BcXV31j3.js → TimesheetList.vue_vue_type_style_index_0_scoped_91afda4e_lang-BBHwVX-k.js} +2 -2
  15. package/dist/{app-BFiZ8ZXX.js → app-CoIsLUsi.js} +222 -203
  16. package/dist/app.js +1 -1
  17. package/dist/{dayjs.min-UHgMNuVS.js → dayjs.min-JqoERYFc.js} +1 -1
  18. package/dist/{employee-CzYb5bvh.js → employee-D_oJJt4e.js} +3 -3
  19. package/dist/{iteration-BjUlb3UE.js → iteration-CmwYwOHJ.js} +1 -1
  20. package/dist/{lodash-B-oxtG88.js → lodash-DISd2c6W.js} +1 -1
  21. package/dist/{rule-C0LG2tV9.js → rule-B4b6tRUV.js} +2 -2
  22. package/dist/src/api/audit-log/index.d.ts +17 -0
  23. package/dist/src/components/form/SelectFilter.vue.d.ts +3 -0
  24. package/dist/src/stores/team.d.ts +4 -1
  25. package/dist/src/views/audit-log/locales/index.d.ts +24 -16
  26. package/dist/style.css +1 -1
  27. package/dist/tsconfig.app.tsbuildinfo +1 -1
  28. package/dist/{useAppStore-C59yWeEW.js → useAppStore-m4x4qFHC.js} +1 -1
  29. package/dist/{useLoading-CTdlaX4S.js → useLoading-BcujhoYe.js} +1 -1
  30. package/dist/{useReportPermissions-BZcS5o0u.js → useReportPermissions-bHlIA-k-.js} +3 -3
  31. package/package.json +2 -2
  32. package/dist/AuditLogList-_jMTq9y8.js +0 -1037
  33. package/dist/PortalPermissionEditor.vue_vue_type_script_setup_true_lang-BURg3zZO.js +0 -3457
  34. package/dist/SelectFilter-DUj7GBtT.js +0 -251
package/dist/app.js CHANGED
@@ -1,4 +1,4 @@
1
- import { f as e, i as r, r as o } from "./app-BFiZ8ZXX.js";
1
+ import { f as e, i as r, r as o } from "./app-CoIsLUsi.js";
2
2
  export {
3
3
  e as FmApp,
4
4
  r as i18nMessages,
@@ -1,4 +1,4 @@
1
- import { g as Q, c as K } from "./app-BFiZ8ZXX.js";
1
+ import { g as Q, c as K } from "./app-CoIsLUsi.js";
2
2
  var E = { exports: {} };
3
3
  (function(V, X) {
4
4
  (function(W, k) {
@@ -1,9 +1,9 @@
1
- import { d as g } from "./dayjs.min-UHgMNuVS.js";
1
+ import { d as g } from "./dayjs.min-JqoERYFc.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-BjUlb3UE.js";
4
+ import { b as l, g as f, u as w, s as E } from "./iteration-CmwYwOHJ.js";
5
5
  import { i as v } from "./utils-BZkjJbju.js";
6
- import { u as _ } from "./useAppStore-C59yWeEW.js";
6
+ import { u as _ } from "./useAppStore-m4x4qFHC.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-BFiZ8ZXX.js";
4
+ import { c as U } from "./app-CoIsLUsi.js";
5
5
  function Ur(e, n) {
6
6
  return function() {
7
7
  return e.apply(n, arguments);
@@ -1,4 +1,4 @@
1
- import { c as jt } from "./app-BFiZ8ZXX.js";
1
+ import { c as jt } from "./app-CoIsLUsi.js";
2
2
  var Jr = { exports: {} };
3
3
  /**
4
4
  * @license
@@ -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-BjUlb3UE.js";
2
- import { e as R, P as x, b as F, l as j, k as Z, d as J } from "./app-BFiZ8ZXX.js";
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-CmwYwOHJ.js";
2
+ import { e as R, P as x, b as F, l as j, k as Z, d as J } from "./app-CoIsLUsi.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
- changeDetails: string;
114
- eventType: string;
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
- changeDetails: string;
247
- eventType: string;
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
- changeDetails: string;
381
- eventType: string;
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
- changeDetails: string;
515
- eventType: string;
522
+ eventDetails: string;
523
+ actionDescription: string;
516
524
  metadata: string;
517
525
  reason: string;
518
526
  resolvedFrom: string;
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- .employee-list-table[data-v-cefb09f9] [class~=gap-24]>div:first-child{display:none}.timesheet-user-view[data-v-d7ed31d7] .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-5566060e] [class~=gap-24]>div:first-child{display:none}.audit-log-action-label[data-v-5566060e]{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-5566060e]::-webkit-scrollbar{display:none}.audit-log-operation-label-detail[data-v-5566060e]{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-5566060e]::-webkit-scrollbar{display:none}
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-a0d27858] [class~=gap-24]>div:first-child{display:none}.audit-log-action-label[data-v-a0d27858]{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-a0d27858]::-webkit-scrollbar{display:none}.audit-log-operation-label-detail[data-v-a0d27858]{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-a0d27858]::-webkit-scrollbar{display:none}