@feedmepos/mf-hrm-portal 2.0.8-dev.12 → 2.0.8-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 (28) hide show
  1. package/dist/AuditLogList-CEGtohT7.js +734 -0
  2. package/dist/{EmployeeList-CVnIGntI.js → EmployeeList-B5_KnyrU.js} +5 -5
  3. package/dist/{Main-q8IGKAH2.js → Main-Ayry4ijA.js} +6 -6
  4. package/dist/{Main-CMiYmjMk.js → Main-Dksmkrg_.js} +9 -9
  5. package/dist/{Main-bmpvqNUB.js → Main-g3IbbAEf.js} +4 -4
  6. package/dist/{PermissionSetList-0kvdLTQ2.js → PermissionSetList-BoqxRXoi.js} +28 -28
  7. package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-DdwUIbD4.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-B4ZJlGuT.js} +738 -738
  8. package/dist/{RoleList-DjxZzgZk.js → RoleList-Cx_JPfNr.js} +7 -7
  9. package/dist/{TeamMemberList-PmbUeFns.js → TeamMemberList-CDY7Y_qm.js} +8 -8
  10. package/dist/{TimesheetList-Cs_8p1TE.js → TimesheetList-BYieGfIy.js} +7 -7
  11. package/dist/{app-PYFafU8x.js → app-p4cgjZ-r.js} +104 -68
  12. package/dist/app.js +2 -2
  13. package/dist/{dayjs.min-DjR87Y9e.js → dayjs.min-BRO-vkLx.js} +1 -1
  14. package/dist/{employee-snwYlork.js → employee-CCBUMHaJ.js} +4 -4
  15. package/dist/{index-DPEw4kQP.js → index-rMjkDl2r.js} +1 -1
  16. package/dist/{index-QNkZDIo5.js → index-sEHzMXB6.js} +2 -2
  17. package/dist/{iteration-BwzU2yPh.js → iteration-CnyH8-jG.js} +1 -1
  18. package/dist/{lodash-8jIJCGdn.js → lodash-CKmCoqNR.js} +1 -1
  19. package/dist/src/api/audit-log/index.d.ts +1 -0
  20. package/dist/src/views/audit-log/locales/index.d.ts +36 -0
  21. package/dist/{team-Dl33dbDU.js → team-Mco_xubK.js} +1 -1
  22. package/dist/{timesheet-BVMwsxuV.js → timesheet-Bb0TM0P8.js} +3 -3
  23. package/dist/tsconfig.app.tsbuildinfo +1 -1
  24. package/dist/{useAppStore-gNcJGfxF.js → useAppStore-BCOsvBrB.js} +1 -1
  25. package/dist/{useLoading-DuapEOya.js → useLoading-BSoKX5sI.js} +1 -1
  26. package/dist/{useReportPermissions-C-f7TyvQ.js → useReportPermissions-D70w_EzG.js} +3 -3
  27. package/package.json +1 -1
  28. package/dist/AuditLogList-CZSE61OK.js +0 -708
@@ -2,16 +2,16 @@ import { toRaw as Me, defineComponent as _e, ref as g, computed as w, watch as b
2
2
  import { useCoreStore as Fe, useI18n as we, RestaurantSelector as ce } from "@feedmepos/mf-common";
3
3
  import { useSnackbar as xe, components as Ue, useDialog as Ne, useBreakpoints as Be, FmButtonVariant as De } from "@feedmepos/ui-library";
4
4
  import { S as pe } from "./SelectFilter-DUj7GBtT.js";
5
- import { _ as Pe } from "./app-PYFafU8x.js";
5
+ import { _ as Pe } from "./app-p4cgjZ-r.js";
6
6
  import { H as Te } from "./HorizontalSplitter-o860F4xM.js";
7
7
  import { _ as ze } from "./index.vue_vue_type_script_setup_true_lang-Vc5ARO29.js";
8
8
  import { u as ke } from "./useSearch-B6WK1LBB.js";
9
- import { u as Se, E as Ae } from "./employee-snwYlork.js";
10
- import { l as je } from "./lodash-8jIJCGdn.js";
9
+ import { u as Se, E as Ae } from "./employee-CCBUMHaJ.js";
10
+ import { l as je } from "./lodash-CKmCoqNR.js";
11
11
  import { _ as ve, a as fe } from "./FormSection.vue_vue_type_script_setup_true_lang-BVb8c4YU.js";
12
12
  import { u as Ke, a as Ge } from "./useRestaurantMap-e9fQJiLC.js";
13
- import { u as qe } from "./useLoading-DuapEOya.js";
14
- import { u as ue } from "./useAppStore-gNcJGfxF.js";
13
+ import { u as qe } from "./useLoading-BSoKX5sI.js";
14
+ import { u as ue } from "./useAppStore-BCOsvBrB.js";
15
15
  function ye(I) {
16
16
  return JSON.parse(JSON.stringify(I));
17
17
  }
@@ -4,14 +4,14 @@ import { useI18n as N } from "@feedmepos/mf-common";
4
4
  import { _ as g } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
5
5
  import { _ as h } from "./PageLayout.vue_vue_type_script_setup_true_lang-HKK4cbW8.js";
6
6
  import "@feedmepos/ui-library";
7
- import "./index-QNkZDIo5.js";
8
- import "./iteration-BwzU2yPh.js";
9
- import { R as v } from "./app-PYFafU8x.js";
10
- import "./useAppStore-gNcJGfxF.js";
11
- import "./index-DPEw4kQP.js";
7
+ import "./index-sEHzMXB6.js";
8
+ import "./iteration-CnyH8-jG.js";
9
+ import { R as v } from "./app-p4cgjZ-r.js";
10
+ import "./useAppStore-BCOsvBrB.js";
11
+ import "./index-rMjkDl2r.js";
12
12
  /* empty css */
13
13
  /* empty css */
14
- import "./team-Dl33dbDU.js";
14
+ import "./team-Mco_xubK.js";
15
15
  const w = { class: "space-y-24" }, Q = /* @__PURE__ */ V({
16
16
  __name: "Main",
17
17
  setup(x) {
@@ -3,17 +3,17 @@ import { useRouter as of, useRoute as cf } from "vue-router";
3
3
  import { useCoreStore as hf, useI18n as uf } from "@feedmepos/mf-common";
4
4
  import { _ as vf } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
5
5
  import { _ as pf } from "./PageLayout.vue_vue_type_script_setup_true_lang-HKK4cbW8.js";
6
- import { u as df } from "./useAppStore-gNcJGfxF.js";
6
+ import { u as df } from "./useAppStore-BCOsvBrB.js";
7
7
  import "@feedmepos/ui-library";
8
8
  /* empty css */
9
- import { u as mf } from "./employee-snwYlork.js";
10
- import "./lodash-8jIJCGdn.js";
11
- import "./iteration-BwzU2yPh.js";
12
- import { R as vt } from "./app-PYFafU8x.js";
13
- import "./index-QNkZDIo5.js";
14
- import "./useReportPermissions-C-f7TyvQ.js";
15
- import "./dayjs.min-DjR87Y9e.js";
16
- import "./timesheet-BVMwsxuV.js";
9
+ import { u as mf } from "./employee-CCBUMHaJ.js";
10
+ import "./lodash-CKmCoqNR.js";
11
+ import "./iteration-CnyH8-jG.js";
12
+ import { R as vt } from "./app-p4cgjZ-r.js";
13
+ import "./index-sEHzMXB6.js";
14
+ import "./useReportPermissions-D70w_EzG.js";
15
+ import "./dayjs.min-BRO-vkLx.js";
16
+ import "./timesheet-Bb0TM0P8.js";
17
17
  var In = {};
18
18
  /*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */
19
19
  var jt = {};
@@ -1,16 +1,16 @@
1
1
  import { ref as S, defineComponent as J, computed as F, watch as ce, resolveComponent as h, createElementBlock as D, openBlock as I, Fragment as W, renderSlot as ge, createVNode as n, unref as s, withCtx as x, createElementVNode as l, toDisplayString as k, createBlock as K, isRef as ae, renderList as fe, createCommentVNode as ve, withModifiers as se, createTextVNode as re, normalizeClass as _e, h as _ } from "vue";
2
2
  import { useCoreStore as Q, useI18n as X, RestaurantSelector as oe } from "@feedmepos/mf-common";
3
3
  import { _ as ye } from "./PageLayout.vue_vue_type_script_setup_true_lang-HKK4cbW8.js";
4
- import { u as Y } from "./useAppStore-gNcJGfxF.js";
4
+ import { u as Y } from "./useAppStore-BCOsvBrB.js";
5
5
  import { defineStore as Ue } from "pinia";
6
- import { g as z, a as he, b as O } from "./iteration-BwzU2yPh.js";
6
+ import { g as z, a as he, b as O } from "./iteration-CnyH8-jG.js";
7
7
  import { useSnackbar as ie, components as E, useDialog as xe, useBreakpoints as be, FmButtonVariant as q } from "@feedmepos/ui-library";
8
8
  import { S as ne } from "./SelectFilter-DUj7GBtT.js";
9
- import { _ as we } from "./app-PYFafU8x.js";
9
+ import { _ as we } from "./app-p4cgjZ-r.js";
10
10
  import { H as ke } from "./HorizontalSplitter-o860F4xM.js";
11
11
  import { _ as Ve } from "./index.vue_vue_type_script_setup_true_lang-Vc5ARO29.js";
12
12
  import { u as Fe } from "./useSearch-B6WK1LBB.js";
13
- import { u as ue } from "./useLoading-DuapEOya.js";
13
+ import { u as ue } from "./useLoading-BSoKX5sI.js";
14
14
  import { _ as Ie, a as le } from "./FormSection.vue_vue_type_script_setup_true_lang-BVb8c4YU.js";
15
15
  const H = {
16
16
  async getGrantUsers() {
@@ -1,12 +1,12 @@
1
- import { defineComponent as q, computed as S, resolveComponent as u, createElementBlock as E, openBlock as g, createElementVNode as y, createVNode as r, toDisplayString as N, unref as c, withCtx as P, createTextVNode as te, Fragment as X, renderList as oe, ref as b, createBlock as H, nextTick as ne, onMounted as ie, h as z } from "vue";
1
+ import { defineComponent as q, computed as S, resolveComponent as u, createElementBlock as E, openBlock as P, createElementVNode as y, createVNode as r, toDisplayString as N, unref as c, withCtx as h, createTextVNode as te, Fragment as X, renderList as oe, ref as b, createBlock as H, nextTick as ne, onMounted as ie, h as z } from "vue";
2
2
  import { useI18n as M, useCoreStore as ae } from "@feedmepos/mf-common";
3
3
  import { useSnackbar as Q, useDialog as le, useBreakpoints as re, components as me, FmButtonColorThemeVariant as ce, FmButtonVariant as ue } from "@feedmepos/ui-library";
4
4
  import { _ as de } from "./index.vue_vue_type_script_setup_true_lang-Vc5ARO29.js";
5
- import { j as K, w as pe, u as Y, c as Z, p as G, k as fe, d as ve, m as A, n as Se, o as _e, s as be, q as he } from "./index-QNkZDIo5.js";
6
- import { A as Pe } from "./iteration-BwzU2yPh.js";
7
- import { u as ge } from "./useLoading-DuapEOya.js";
8
- import { i as J } from "./app-PYFafU8x.js";
9
- import { a as ye } from "./PortalPermissionEditor.vue_vue_type_script_setup_true_lang-DdwUIbD4.js";
5
+ import { j as K, w as pe, u as Y, c as Z, p as G, k as fe, d as ve, m as A, n as Se, o as _e, s as be, q as ge } from "./index-sEHzMXB6.js";
6
+ import { A as he } from "./iteration-CnyH8-jG.js";
7
+ import { u as Pe } from "./useLoading-BSoKX5sI.js";
8
+ import { a as J } from "./app-p4cgjZ-r.js";
9
+ import { a as ye } from "./PortalPermissionEditor.vue_vue_type_script_setup_true_lang-B4ZJlGuT.js";
10
10
  const Fe = { class: "flex flex-row items-center gap-8" }, Ve = /* @__PURE__ */ q({
11
11
  __name: "PermissionWithTooltip",
12
12
  props: {
@@ -18,23 +18,23 @@ const Fe = { class: "flex flex-row items-center gap-8" }, Ve = /* @__PURE__ */ q
18
18
  setup($) {
19
19
  const { customReportPermissions: k } = K(), t = $, i = S(() => pe(t.modelValue, k.value)), { t: l } = M();
20
20
  return (R, C) => {
21
- const h = u("FmIcon"), F = u("FmTooltip");
22
- return g(), E("div", Fe, [
21
+ const g = u("FmIcon"), F = u("FmTooltip");
22
+ return P(), E("div", Fe, [
23
23
  y("span", null, N(c(l)("team.labels.allowed", { count: i.value.length })), 1),
24
24
  r(F, {
25
25
  variant: "plain",
26
26
  placement: "top"
27
27
  }, {
28
- content: P(() => [
28
+ content: h(() => [
29
29
  y("div", null, [
30
30
  te(N(c(l)("team.labels.permission")) + " ", 1),
31
- (g(!0), E(X, null, oe(i.value, (m, a) => (g(), E("div", {
31
+ (P(!0), E(X, null, oe(i.value, (m, a) => (P(), E("div", {
32
32
  key: `${m}-${a}`
33
33
  }, " - " + N(m), 1))), 128))
34
34
  ])
35
35
  ]),
36
- default: P(() => [
37
- r(h, {
36
+ default: h(() => [
37
+ r(g, {
38
38
  name: "info",
39
39
  class: "cursor-pointer text-fm-color-neutral-gray-300"
40
40
  })
@@ -56,7 +56,7 @@ const Fe = { class: "flex flex-row items-center gap-8" }, Ve = /* @__PURE__ */ q
56
56
  const t = $, { t: i } = M(), l = b(!1), R = S(() => {
57
57
  var e;
58
58
  return (e = t.modelValue) != null && e.id ? i("permissionSet.form.update.title") : i("permissionSet.form.create.title");
59
- }), C = b(), h = Q(), F = ge(h), m = Y(), a = b({ ...t.modelValue }), d = b([]), p = b([]), D = [(e) => !!e || "Permission set name is required"], U = S(() => {
59
+ }), C = b(), g = Q(), F = Pe(g), m = Y(), a = b({ ...t.modelValue }), d = b([]), p = b([]), D = [(e) => !!e || "Permission set name is required"], U = S(() => {
60
60
  var e;
61
61
  return (e = t.modelValue) != null && e.id ? i("permissionSet.form.update.confirmButtonLabel") : i("permissionSet.form.create.confirmButtonLabel");
62
62
  }), W = S(
@@ -91,7 +91,7 @@ const Fe = { class: "flex flex-row items-center gap-8" }, Ve = /* @__PURE__ */ q
91
91
  }
92
92
  function I() {
93
93
  const e = A(V.value), s = n.value ? f.value : o, v = Se(p.value, s), w = _e(v, j.value), x = be(w);
94
- return he(e, x);
94
+ return ge(e, x);
95
95
  }
96
96
  function ee() {
97
97
  p.value = A(V.value);
@@ -126,16 +126,16 @@ const Fe = { class: "flex flex-row items-center gap-8" }, Ve = /* @__PURE__ */ q
126
126
  trigger: O
127
127
  }), (e, s) => {
128
128
  const v = u("FmTextField"), w = u("FmSelect"), x = u("FmForm"), T = u("FmButton"), B = u("FmSideSheet");
129
- return g(), H(B, {
129
+ return P(), H(B, {
130
130
  modelValue: l.value,
131
131
  "onUpdate:modelValue": s[4] || (s[4] = (_) => l.value = _),
132
132
  "max-width": 560,
133
133
  "dismiss-away": ""
134
134
  }, {
135
- "side-sheet-header": P(() => [
135
+ "side-sheet-header": h(() => [
136
136
  y("p", we, N(R.value), 1)
137
137
  ]),
138
- "side-sheet-footer": P(() => [
138
+ "side-sheet-footer": h(() => [
139
139
  y("div", xe, [
140
140
  r(T, {
141
141
  label: U.value,
@@ -152,12 +152,12 @@ const Fe = { class: "flex flex-row items-center gap-8" }, Ve = /* @__PURE__ */ q
152
152
  }, null, 8, ["label"])
153
153
  ])
154
154
  ]),
155
- default: P(() => [
155
+ default: h(() => [
156
156
  r(x, {
157
157
  ref_key: "formRef",
158
158
  ref: C
159
159
  }, {
160
- default: P(() => [
160
+ default: h(() => [
161
161
  r(v, {
162
162
  modelValue: a.value.name,
163
163
  "onUpdate:modelValue": s[0] || (s[0] = (_) => a.value.name = _),
@@ -199,10 +199,10 @@ const Fe = { class: "flex flex-row items-center gap-8" }, Ve = /* @__PURE__ */ q
199
199
  }, Ie = { class: "pb-64" }, We = /* @__PURE__ */ q({
200
200
  __name: "PermissionSetList",
201
201
  setup($, { expose: k }) {
202
- const { t } = M(), { fetchCustomReportPermissions: i } = K(), l = Q(), R = le(), { breakpoints: C } = re(), h = b(""), F = S(() => {
202
+ const { t } = M(), { fetchCustomReportPermissions: i } = K(), l = Q(), R = le(), { breakpoints: C } = re(), g = b(""), F = S(() => {
203
203
  var n;
204
204
  return (n = d.value) == null ? void 0 : n.filter((o) => {
205
- const f = h.value.toLowerCase();
205
+ const f = g.value.toLowerCase();
206
206
  return o.name.toLowerCase().includes(f);
207
207
  });
208
208
  }), m = b(), a = Y(), d = S(
@@ -276,7 +276,7 @@ const Fe = { class: "flex flex-row items-center gap-8" }, Ve = /* @__PURE__ */ q
276
276
  type: "success"
277
277
  });
278
278
  } catch (o) {
279
- const f = o instanceof Pe && o.status === 409 ? o.message.includes("referenced by") ? t("permissionSet.form.delete.setReferencedConflictError", {
279
+ const f = o instanceof he && o.status === 409 ? o.message.includes("referenced by") ? t("permissionSet.form.delete.setReferencedConflictError", {
280
280
  permissionSetName: n.name
281
281
  }) : t("permissionSet.form.delete.conflictError", { permissionSetName: n.name }) : o instanceof Error ? o.message : `${o}`;
282
282
  l.open({ message: f, type: "error" });
@@ -290,7 +290,7 @@ const Fe = { class: "flex flex-row items-center gap-8" }, Ve = /* @__PURE__ */ q
290
290
  create: V
291
291
  }), (n, o) => {
292
292
  const f = u("FmSearch"), j = u("FmTable"), O = u("FullWrapper");
293
- return g(), E(X, null, [
293
+ return P(), E(X, null, [
294
294
  r(ke, {
295
295
  ref_key: "permissionSetFormRef",
296
296
  ref: m,
@@ -299,17 +299,17 @@ const Fe = { class: "flex flex-row items-center gap-8" }, Ve = /* @__PURE__ */ q
299
299
  y("div", Re, [
300
300
  y("div", Ce, [
301
301
  r(f, {
302
- modelValue: h.value,
303
- "onUpdate:modelValue": o[0] || (o[0] = (I) => h.value = I),
302
+ modelValue: g.value,
303
+ "onUpdate:modelValue": o[0] || (o[0] = (I) => g.value = I),
304
304
  class: "w-[320px] xs:w-full",
305
305
  autofocus: "",
306
306
  placeholder: c(t)("permissionSet.search.placeholder")
307
307
  }, null, 8, ["modelValue", "placeholder"])
308
308
  ]),
309
- d.value.length > 0 ? (g(), E("div", je, [
309
+ d.value.length > 0 ? (P(), E("div", je, [
310
310
  y("div", Ie, [
311
311
  r(O, null, {
312
- default: P(() => [
312
+ default: h(() => [
313
313
  r(j, {
314
314
  "column-defs": W,
315
315
  "row-data": F.value,
@@ -323,7 +323,7 @@ const Fe = { class: "flex flex-row items-center gap-8" }, Ve = /* @__PURE__ */ q
323
323
  _: 1
324
324
  })
325
325
  ])
326
- ])) : (g(), H(c(de), {
326
+ ])) : (P(), H(c(de), {
327
327
  key: 1,
328
328
  title: c(t)("permissionSet.noData.title"),
329
329
  subtitle: c(t)("permissionSet.noData.subtitle")