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

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 (27) hide show
  1. package/dist/{AuditLogList-CtneTBoV.js → AuditLogList-iF38fTa4.js} +44 -44
  2. package/dist/{EmployeeList-C7dIO8gr.js → EmployeeList-b-4gXdLJ.js} +8 -8
  3. package/dist/{FormItem.vue_vue_type_script_setup_true_lang-S4Mh4MvG.js → FormItem.vue_vue_type_script_setup_true_lang-DPT2FoIc.js} +1 -1
  4. package/dist/{Main-3gbHRwy4.js → Main-CpO2af9k.js} +6 -6
  5. package/dist/{Main-CU92m_i1.js → Main-DlPd49tp.js} +9 -9
  6. package/dist/{Main-D5PmpNiB.js → Main-DoJGIWDy.js} +6 -6
  7. package/dist/{PermissionSetList-Dej3hhUp.js → PermissionSetList-DPmzr_cs.js} +6 -6
  8. package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-C9fM3DpC.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-Dzmeg7P-.js} +534 -534
  9. package/dist/{PortalUserSearcher.vue_vue_type_style_index_0_scoped_a439fdd8_lang-DiCE_AYD.js → PortalUserSearcher.vue_vue_type_style_index_0_scoped_a439fdd8_lang-DX6io2IP.js} +1 -1
  10. package/dist/{RoleList-B98ExzJE.js → RoleList-C2viOZh7.js} +7 -7
  11. package/dist/{SelectFilter-C61IZSID.js → SelectFilter-ATOm0hdn.js} +37 -37
  12. package/dist/{TeamMemberList-YTHgBCoO.js → TeamMemberList-C4nZL41o.js} +9 -9
  13. package/dist/{TimesheetList-2HclOof1.js → TimesheetList--xN0jMmv.js} +7 -7
  14. package/dist/{TimesheetList.vue_vue_type_style_index_0_scoped_91afda4e_lang-BBHwVX-k.js → TimesheetList.vue_vue_type_style_index_0_scoped_91afda4e_lang-CzA-8C42.js} +2 -2
  15. package/dist/{app-CoIsLUsi.js → app-BsMht81f.js} +4 -4
  16. package/dist/app.js +1 -1
  17. package/dist/{dayjs.min-JqoERYFc.js → dayjs.min-CmJz0_dg.js} +1 -1
  18. package/dist/{employee-D_oJJt4e.js → employee-BaAu5Ucl.js} +3 -3
  19. package/dist/{iteration-CmwYwOHJ.js → iteration-Cch1v6Fm.js} +1 -1
  20. package/dist/{lodash-DISd2c6W.js → lodash-BcG3T12V.js} +1 -1
  21. package/dist/{rule-B4b6tRUV.js → rule-BmIUTy0V.js} +2 -2
  22. package/dist/style.css +1 -1
  23. package/dist/tsconfig.app.tsbuildinfo +1 -1
  24. package/dist/{useAppStore-m4x4qFHC.js → useAppStore-efPeNcbk.js} +1 -1
  25. package/dist/{useLoading-BcujhoYe.js → useLoading-DGQMmdnf.js} +1 -1
  26. package/dist/{useReportPermissions-bHlIA-k-.js → useReportPermissions-BeKk9bUR.js} +3 -3
  27. package/package.json +1 -1
@@ -1,13 +1,13 @@
1
1
  import { defineComponent as Xe, ref as f, computed as h, onMounted as Vt, onBeforeUnmount as Et, watch as Q, resolveComponent as C, createElementBlock as M, openBlock as y, createBlock as Z, createCommentVNode as N, createElementVNode as a, Fragment as ee, renderList as re, withCtx as K, createVNode as p, toDisplayString as i, unref as n, nextTick as Rt } from "vue";
2
- import { d as x } from "./dayjs.min-JqoERYFc.js";
2
+ import { d as x } from "./dayjs.min-CmJz0_dg.js";
3
3
  import { useI18n as Qe, useCoreStore as Ct } from "@feedmepos/mf-common";
4
- import { G as He, _ as Ut } from "./app-CoIsLUsi.js";
4
+ import { G as He, _ as Ut } from "./app-BsMht81f.js";
5
5
  import { components as We } from "@feedmepos/ui-library";
6
- import { g as Ie, b as Ae } from "./iteration-CmwYwOHJ.js";
7
- import { S as be, _ as $t } from "./SelectFilter-C61IZSID.js";
6
+ import { g as Ae, b as Fe } from "./iteration-Cch1v6Fm.js";
7
+ import { S as be, _ as $t } from "./SelectFilter-ATOm0hdn.js";
8
8
  import { _ as Nt } from "./PageLayout.vue_vue_type_script_setup_true_lang-HKK4cbW8.js";
9
9
  import { _ as Yt } from "./index.vue_vue_type_script_setup_true_lang-Vc5ARO29.js";
10
- import { t as Bt, p as Je } from "./rule-B4b6tRUV.js";
10
+ import { t as Bt, p as Je } from "./rule-BmIUTy0V.js";
11
11
  import { defineStore as Kt } from "pinia";
12
12
  const ue = [
13
13
  { key: "all", label: "All", subjectPrefixes: [] },
@@ -19,7 +19,7 @@ const ue = [
19
19
  { key: "crm", label: "CRM", subjectPrefixes: ["business::crm", "crm"] }
20
20
  // Add more as modules are revamped with new actionguard:
21
21
  // { key: 'restaurantOperation', label: 'Restaurant Operation', subjectPrefixes: ['restaurant'] },
22
- ], Fe = "/audit-logs", pe = {
22
+ ], Me = "/audit-logs", pe = {
23
23
  async count(l) {
24
24
  var L, j, I, w, s;
25
25
  const o = {
@@ -32,8 +32,8 @@ const ue = [
32
32
  ...(s = l == null ? void 0 : l.outcomes) != null && s.length ? { outcomes: l.outcomes } : {},
33
33
  ...l != null && l.feedmeAdminActors ? { feedmeAdminActors: !0 } : {}
34
34
  };
35
- return (await Ie(
36
- await Ae().get(`${Fe}/count`, {
35
+ return (await Ae(
36
+ await Fe().get(`${Me}/count`, {
37
37
  params: o,
38
38
  paramsSerializer: (D) => {
39
39
  const P = new URLSearchParams();
@@ -60,8 +60,8 @@ const ue = [
60
60
  ...(I = l == null ? void 0 : l.actions) != null && I.length ? { actions: l.actions } : {},
61
61
  ...(w = l == null ? void 0 : l.outcomes) != null && w.length ? { outcomes: l.outcomes } : {}
62
62
  };
63
- return Ie(
64
- await Ae().get(Fe, {
63
+ return Ae(
64
+ await Fe().get(Me, {
65
65
  params: o,
66
66
  // Serialize arrays as repeated params: key=val1&key=val2
67
67
  // (NestJS @Query expects this; axios default adds brackets which break matching)
@@ -86,8 +86,8 @@ const ue = [
86
86
  ...l != null && l.from ? { from: l.from } : {},
87
87
  ...l != null && l.to ? { to: l.to } : {}
88
88
  };
89
- return Ie(
90
- await Ae().get(`${Fe}/actors`, { params: o })
89
+ return Ae(
90
+ await Fe().get(`${Me}/actors`, { params: o })
91
91
  );
92
92
  }
93
93
  }, zt = { class: "flex h-[46px] items-center gap-8 rounded-sm px-16 hover:bg-fm-color-opacity-sm" }, qt = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, Ht = {
@@ -368,7 +368,7 @@ const ue = [
368
368
  class: "text-xs text-fm-color-typo-secondary"
369
369
  }, lo = {
370
370
  class: "mt-4 max-h-[400px] overflow-auto rounded bg-gray-100 p-8 font-mono text-xs leading-relaxed shadow-inner whitespace-pre-wrap break-all"
371
- }, ie = 100, Me = 1e3, he = "__feedmeAdmin__", oo = "D MMM YYYY h:mm A", ao = "YYYY-MM-DD HH:mm", V = "YYYY-MM-DD", Ge = "audit-log-export-fields", so = /* @__PURE__ */ Xe({
371
+ }, ie = 100, De = 1e3, he = "__feedmeAdmin__", oo = "D MMM YYYY h:mm A", ao = "YYYY-MM-DD HH:mm", V = "YYYY-MM-DD", Ge = "audit-log-export-fields", so = /* @__PURE__ */ Xe({
372
372
  __name: "AuditLogList",
373
373
  setup(l) {
374
374
  const {
@@ -428,7 +428,7 @@ const ue = [
428
428
  const t = H.indexOf(e);
429
429
  return t === -1 ? H.length : t;
430
430
  }
431
- const De = h(() => ue.map(({
431
+ const Oe = h(() => ue.map(({
432
432
  key: e
433
433
  }) => ({
434
434
  label: o(`auditLog.modules.${e}`),
@@ -448,7 +448,7 @@ const ue = [
448
448
  userIds: e.filter((t) => t !== he),
449
449
  feedmeAdminActors: e.includes(he)
450
450
  };
451
- }), Oe = h(() => {
451
+ }), Te = h(() => {
452
452
  const e = Je.flatMap((r) => d(r.subject).map((F) => ({
453
453
  label: r.label,
454
454
  value: F
@@ -466,7 +466,7 @@ const ue = [
466
466
  });
467
467
  }
468
468
  return g.sort((r, F) => oe($(r.value)) - oe($(F.value)));
469
- }), et = h(() => ae.value ? Oe.value : Oe.value.filter((e) => $(e.value) === T.value));
469
+ }), et = h(() => ae.value ? Te.value : Te.value.filter((e) => $(e.value) === T.value));
470
470
  function tt(e, t) {
471
471
  const u = t.toLowerCase();
472
472
  return e.label.toLowerCase().includes(u) || e.value.replace(/^business::/, "").toLowerCase().includes(u) ? !0 : e.value.toLowerCase().includes(u);
@@ -500,10 +500,10 @@ const ue = [
500
500
  var e;
501
501
  return ((e = c.sessionUser.value) == null ? void 0 : e.isInternal) ?? !1;
502
502
  });
503
- function Te(e) {
503
+ function je(e) {
504
504
  return !_e.value && e === "skipped" ? "allowed" : e;
505
505
  }
506
- function je(e) {
506
+ function xe(e) {
507
507
  return !(e != null && e.length) || _e.value ? e : e.includes("allowed") ? [.../* @__PURE__ */ new Set([...e, "skipped"])] : e;
508
508
  }
509
509
  const ot = h(() => [{
@@ -586,7 +586,7 @@ const ue = [
586
586
  endDate: x().subtract(1, "month").endOf("month").format(V)
587
587
  }
588
588
  }]);
589
- function xe(e) {
589
+ function Le(e) {
590
590
  var t;
591
591
  return ((t = Je.find((u) => u.subject === e)) == null ? void 0 : t.label) ?? He[e];
592
592
  }
@@ -614,13 +614,13 @@ const ue = [
614
614
  return e.metadata.operationLabel ?? Ee(e.action);
615
615
  }
616
616
  function ct(e) {
617
- return xe(e.subject) ?? e.subject;
617
+ return Le(e.subject) ?? e.subject;
618
618
  }
619
- function Le(e) {
620
- return me.value[Te(e)];
619
+ function Se(e) {
620
+ return me.value[je(e)];
621
621
  }
622
622
  function Ce(e) {
623
- return nt[Te(e)] ?? "neutral";
623
+ return nt[je(e)] ?? "neutral";
624
624
  }
625
625
  function mt(e) {
626
626
  return at.value[e] ?? e;
@@ -632,7 +632,7 @@ const ue = [
632
632
  const t = String(e ?? "");
633
633
  return `"${(/^[=+\-@\t\r]/.test(t) ? `'${t}` : t).replace(/"/g, '""')}"`;
634
634
  }
635
- const Se = [{
635
+ const we = [{
636
636
  key: "timestamp",
637
637
  labelKey: "auditLog.exportFields.timestamp",
638
638
  getValue: (e) => Ve(e.timestamp),
@@ -650,7 +650,7 @@ const ue = [
650
650
  }, {
651
651
  key: "subject",
652
652
  labelKey: "auditLog.exportFields.subject",
653
- getValue: (e) => xe(e.subject) ?? e.subject,
653
+ getValue: (e) => Le(e.subject) ?? e.subject,
654
654
  defaultSelected: !0
655
655
  }, {
656
656
  key: "action",
@@ -665,7 +665,7 @@ const ue = [
665
665
  }, {
666
666
  key: "outcome",
667
667
  labelKey: "auditLog.exportFields.outcome",
668
- getValue: (e) => Le(e.outcome),
668
+ getValue: (e) => Se(e.outcome),
669
669
  defaultSelected: !0
670
670
  }, {
671
671
  key: "businessId",
@@ -716,7 +716,7 @@ const ue = [
716
716
  }
717
717
  } catch {
718
718
  }
719
- return new Set(Se.filter((e) => e.defaultSelected).map((e) => e.key));
719
+ return new Set(we.filter((e) => e.defaultSelected).map((e) => e.key));
720
720
  }
721
721
  const G = f(vt());
722
722
  function gt(e) {
@@ -761,20 +761,20 @@ const ue = [
761
761
  actions: O.value
762
762
  } : {},
763
763
  ...(u = S.value) != null && u.length ? {
764
- outcomes: je(S.value)
764
+ outcomes: xe(S.value)
765
765
  } : {}
766
766
  }, Ye = [];
767
767
  let Be = 0;
768
768
  for (; ; ) {
769
769
  const R = await pe.read({
770
770
  ...X,
771
- limit: Me,
771
+ limit: De,
772
772
  offset: Be
773
773
  });
774
- if (Ye.push(...R), R.length < Me) break;
775
- Be += Me;
774
+ if (Ye.push(...R), R.length < De) break;
775
+ Be += De;
776
776
  }
777
- const Ke = Se.filter((R) => G.value.has(R.key)), wt = Ke.map((R) => o(R.labelKey)), kt = Ye.map((R) => Ke.map((Pt) => Pt.getValue(R) ?? "")), ke = -(/* @__PURE__ */ new Date()).getTimezoneOffset(), It = ke >= 0 ? "+" : "-", At = String(Math.floor(Math.abs(ke) / 60)).padStart(2, "0"), Ft = String(Math.abs(ke) % 60).padStart(2, "0"), Mt = `UTC${It}${At}:${Ft}`, ze = ((g = c.currentBusiness.value) == null ? void 0 : g.name) || "", Dt = [F, B].filter(Boolean).join(" – "), Ot = [...[[o("auditLog.title")], [`${o("auditLog.frontMatter.date")}: ${Dt}`], ...ze ? [[`${o("auditLog.frontMatter.business")}: ${ze}`]] : [], [`${o("auditLog.frontMatter.generatedBy")}: ${x().format("DD MMM YYYY, HH:mm")} (${Mt})`], []].map((R) => R.map(Ue).join(",")), ...[wt, ...kt].map((R) => R.map(Ue).join(","))].join(`
777
+ const Ke = we.filter((R) => G.value.has(R.key)), wt = Ke.map((R) => o(R.labelKey)), kt = Ye.map((R) => Ke.map((Pt) => Pt.getValue(R) ?? "")), Ie = -(/* @__PURE__ */ new Date()).getTimezoneOffset(), It = Ie >= 0 ? "+" : "-", At = String(Math.floor(Math.abs(Ie) / 60)).padStart(2, "0"), Ft = String(Math.abs(Ie) % 60).padStart(2, "0"), Mt = `UTC${It}${At}:${Ft}`, ze = ((g = c.currentBusiness.value) == null ? void 0 : g.name) || "", Dt = [F, B].filter(Boolean).join(" – "), Ot = [...[[o("auditLog.title")], [`${o("auditLog.frontMatter.date")}: ${Dt}`], ...ze ? [[`${o("auditLog.frontMatter.business")}: ${ze}`]] : [], [`${o("auditLog.frontMatter.generatedBy")}: ${x().format("DD MMM YYYY, HH:mm")} (${Mt})`], []].map((R) => R.map(Ue).join(",")), ...[wt, ...kt].map((R) => R.map(Ue).join(","))].join(`
778
778
  `), Tt = `audit-log_${(((r = c.currentBusiness.value) == null ? void 0 : r.name) || "business").replace(/[^a-z0-9_-]+/gi, "_")}_${x().format("YYYYMMDD_HHmmss")}.csv`, jt = new Blob([`\uFEFF${Ot}`], {
779
779
  type: "text/csv;charset=utf-8;"
780
780
  }), qe = window.URL.createObjectURL(jt), ne = document.createElement("a");
@@ -816,7 +816,7 @@ const ue = [
816
816
  header: () => o("auditLog.columns.subject"),
817
817
  cell(e) {
818
818
  const t = e.row.original;
819
- return xe(t.subject) ?? t.subject;
819
+ return Le(t.subject) ?? t.subject;
820
820
  }
821
821
  }, {
822
822
  accessorKey: "action",
@@ -837,7 +837,7 @@ const ue = [
837
837
  const t = e.row.original;
838
838
  return p(We.FmChip, {
839
839
  variant: Ce(t.outcome),
840
- label: Le(t.outcome),
840
+ label: Se(t.outcome),
841
841
  compact: !0
842
842
  }, null);
843
843
  }
@@ -878,7 +878,7 @@ const ue = [
878
878
  actions: O.value
879
879
  } : {},
880
880
  ...(u = S.value) != null && u.length ? {
881
- outcomes: je(S.value)
881
+ outcomes: xe(S.value)
882
882
  } : {}
883
883
  });
884
884
  w.value = W, ye.value = W.length === ie;
@@ -927,7 +927,7 @@ const ue = [
927
927
  actions: O.value
928
928
  } : {},
929
929
  ...(F = S.value) != null && F.length ? {
930
- outcomes: S.value
930
+ outcomes: xe(S.value)
931
931
  } : {}
932
932
  });
933
933
  }
@@ -939,17 +939,17 @@ const ue = [
939
939
  }), Q(T, () => {
940
940
  k.value = void 0;
941
941
  });
942
- let we = !1;
942
+ let ke = !1;
943
943
  async function yt({
944
944
  pageIndex: e
945
945
  }) {
946
946
  var t;
947
- if ((t = c.currentBusiness.value) != null && t._id && e !== 0 && !we) {
948
- we = !0, z.value = e + 1;
947
+ if ((t = c.currentBusiness.value) != null && t._id && e !== 0 && !ke) {
948
+ ke = !0, z.value = e + 1;
949
949
  try {
950
950
  await $e();
951
951
  } finally {
952
- we = !1;
952
+ ke = !1;
953
953
  }
954
954
  }
955
955
  }
@@ -1026,7 +1026,7 @@ const ue = [
1026
1026
  "aria-label": n(o)("auditLog.exportSettings.title"),
1027
1027
  disabled: I.value
1028
1028
  }, null, 8, ["aria-label", "disabled"])]),
1029
- default: K(() => [a("div", Xt, [a("p", Qt, i(n(o)("auditLog.exportSettings.title")), 1), (y(), M(ee, null, re(Se, (b) => p(r, {
1029
+ default: K(() => [a("div", Xt, [a("p", Qt, i(n(o)("auditLog.exportSettings.title")), 1), (y(), M(ee, null, re(we, (b) => p(r, {
1030
1030
  key: b.key,
1031
1031
  label: n(o)(b.labelKey),
1032
1032
  "has-checkbox": "",
@@ -1039,7 +1039,7 @@ const ue = [
1039
1039
  default: K(() => [a("div", Zt, [a("div", el, [p(Jt, {
1040
1040
  modelValue: T.value,
1041
1041
  "onUpdate:modelValue": t[0] || (t[0] = (b) => T.value = b),
1042
- items: De.value
1042
+ items: Oe.value
1043
1043
  }, null, 8, ["modelValue", "items"]), a("div", tl, [p(W, {
1044
1044
  modelValue: m.value,
1045
1045
  "onUpdate:modelValue": t[1] || (t[1] = (b) => m.value = b),
@@ -1125,7 +1125,7 @@ const ue = [
1125
1125
  }, {
1126
1126
  default: K(() => [s.value ? (y(), M("div", nl, [a("div", ul, [a("div", il, [a("p", rl, i(ct(s.value)), 1)]), p(B, {
1127
1127
  variant: Ce(s.value.outcome),
1128
- label: Le(s.value.outcome),
1128
+ label: Se(s.value.outcome),
1129
1129
  compact: ""
1130
1130
  }, null, 8, ["variant", "label"])]), a("div", dl, [a("div", cl, [a("div", null, [a("p", ml, i(n(o)("auditLog.detail.date")), 1), a("p", fl, i(dt(s.value.timestamp)), 1)]), a("div", null, [a("p", vl, i(n(o)("auditLog.detail.user")), 1), a("p", gl, i(ve(s.value)), 1)]), a("div", null, [a("p", bl, i(n(o)("auditLog.detail.email")), 1), a("p", pl, i(rt(s.value)), 1)]), s.value.field ? (y(), M("div", hl, [a("p", yl, i(n(o)("auditLog.detail.field")), 1), a("p", _l, i(s.value.field), 1)])) : N("", !0), a("div", null, [a("p", xl, i(n(o)("auditLog.detail.business")), 1), a("p", Ll, i(s.value.businessId || "-"), 1)]), a("div", null, [a("p", Sl, i(n(o)("auditLog.detail.restaurant")), 1), a("p", wl, i(s.value.restaurantId || "-"), 1)])])]), a("div", kl, [a("div", Il, [a("p", Al, i(n(o)("auditLog.detail.eventDetails")), 1)]), t[8] || (t[8] = a("hr", {
1131
1131
  class: "border-fm-color-border-default"
@@ -1139,7 +1139,7 @@ const ue = [
1139
1139
  }, 8, ["header", "model-value"])], 64);
1140
1140
  };
1141
1141
  }
1142
- }), _o = /* @__PURE__ */ $t(so, [["__scopeId", "data-v-a0d27858"]]);
1142
+ }), _o = /* @__PURE__ */ $t(so, [["__scopeId", "data-v-e7378504"]]);
1143
1143
  export {
1144
1144
  _o as default
1145
1145
  };
@@ -1,18 +1,18 @@
1
1
  import { toRaw as Te, defineComponent as $e, ref as v, computed as k, watch as X, resolveComponent as g, createElementBlock as P, openBlock as h, Fragment as de, renderSlot as je, createVNode as n, unref as o, withCtx as b, createElementVNode as m, createBlock as j, createCommentVNode as G, toDisplayString as K, renderList as Me, withKeys as ke, withModifiers as ee, normalizeClass as Le, onUnmounted as Ge, isRef as Ee, createTextVNode as qe, h as ie } from "vue";
2
2
  import { useI18n as Ae, useCoreStore as He } from "@feedmepos/mf-common";
3
3
  import { useSnackbar as Pe, components as De, useDialog as Je, useBreakpoints as We } from "@feedmepos/ui-library";
4
- import { S as ce, _ as Qe } from "./SelectFilter-C61IZSID.js";
5
- import { _ as Ye, a as Ze } from "./app-CoIsLUsi.js";
6
- import { _ as Fe, u as Xe, H as ea } from "./FormItem.vue_vue_type_script_setup_true_lang-S4Mh4MvG.js";
4
+ import { S as ce, _ as Qe } from "./SelectFilter-ATOm0hdn.js";
5
+ import { _ as Ye, a as Ze } from "./app-BsMht81f.js";
6
+ import { _ as Fe, u as Xe, H as ea } from "./FormItem.vue_vue_type_script_setup_true_lang-DPT2FoIc.js";
7
7
  import { u as aa, _ as ta } from "./useDiscardConfirm-DPhEV6v0.js";
8
8
  import { _ as la } from "./index.vue_vue_type_script_setup_true_lang-Vc5ARO29.js";
9
9
  import { u as sa, _ as Ve } from "./useDebounce-CWb5QR9G.js";
10
- import { u as Ne, E as oa } from "./employee-D_oJJt4e.js";
11
- import { u as ze } from "./iteration-CmwYwOHJ.js";
12
- import { l as ra } from "./lodash-DISd2c6W.js";
10
+ import { u as Ne, E as oa } from "./employee-BaAu5Ucl.js";
11
+ import { u as ze } from "./iteration-Cch1v6Fm.js";
12
+ import { l as ra } from "./lodash-BcG3T12V.js";
13
13
  import { _ as Se } from "./FormSection.vue_vue_type_script_setup_true_lang-DknXTYiK.js";
14
- import { u as Oe } from "./useLoading-BcujhoYe.js";
15
- import { u as we } from "./useAppStore-m4x4qFHC.js";
14
+ import { u as Oe } from "./useLoading-DGQMmdnf.js";
15
+ import { u as we } from "./useAppStore-efPeNcbk.js";
16
16
  /* empty css */
17
17
  function Ce(B) {
18
18
  return JSON.parse(JSON.stringify(B));
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as r, openBlock as c, createElementVNode as o, ref as m, computed as f, defineComponent as p, renderSlot as a, createCommentVNode as _, toDisplayString as i } from "vue";
2
- import { _ as y } from "./SelectFilter-C61IZSID.js";
2
+ import { _ as y } from "./SelectFilter-ATOm0hdn.js";
3
3
  const h = {};
4
4
  function v(t, e) {
5
5
  return c(), r("div", null, [...e[0] || (e[0] = [
@@ -3,14 +3,14 @@ import { useRouter as y, useRoute as g } from "vue-router";
3
3
  import { useI18n as k } from "@feedmepos/mf-common";
4
4
  import { _ as F } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
5
5
  import { _ as N } from "./PageLayout.vue_vue_type_script_setup_true_lang-HKK4cbW8.js";
6
- import { u as h } from "./iteration-CmwYwOHJ.js";
6
+ import { u as h } from "./iteration-Cch1v6Fm.js";
7
7
  import "@feedmepos/ui-library";
8
- import "./rule-B4b6tRUV.js";
9
- import "./lodash-DISd2c6W.js";
10
- import "./useAppStore-m4x4qFHC.js";
11
- import { R as v } from "./app-CoIsLUsi.js";
8
+ import "./rule-BmIUTy0V.js";
9
+ import "./lodash-BcG3T12V.js";
10
+ import "./useAppStore-efPeNcbk.js";
11
+ import { R as v } from "./app-BsMht81f.js";
12
12
  /* empty css */
13
- import "./PortalUserSearcher.vue_vue_type_style_index_0_scoped_a439fdd8_lang-DiCE_AYD.js";
13
+ import "./PortalUserSearcher.vue_vue_type_style_index_0_scoped_a439fdd8_lang-DX6io2IP.js";
14
14
  const w = { class: "space-y-24" }, Q = /* @__PURE__ */ T({
15
15
  __name: "Main",
16
16
  setup(x) {
@@ -4,17 +4,17 @@ import { useCoreStore as cf, useI18n as hf } from "@feedmepos/mf-common";
4
4
  import { useSnackbar as uf } from "@feedmepos/ui-library";
5
5
  import { _ as vf } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
6
6
  import { _ as pf } from "./PageLayout.vue_vue_type_script_setup_true_lang-HKK4cbW8.js";
7
- import { u as df } from "./iteration-CmwYwOHJ.js";
8
- import { u as mf } from "./useAppStore-m4x4qFHC.js";
7
+ import { u as df } from "./iteration-Cch1v6Fm.js";
8
+ import { u as mf } from "./useAppStore-efPeNcbk.js";
9
9
  /* empty css */
10
- import "./employee-D_oJJt4e.js";
11
- import "./lodash-DISd2c6W.js";
10
+ import "./employee-BaAu5Ucl.js";
11
+ import "./lodash-BcG3T12V.js";
12
12
  /* empty css */
13
- import { R as vt } from "./app-CoIsLUsi.js";
14
- import "./rule-B4b6tRUV.js";
15
- import "./useReportPermissions-bHlIA-k-.js";
16
- import "./dayjs.min-JqoERYFc.js";
17
- import "./TimesheetList.vue_vue_type_style_index_0_scoped_91afda4e_lang-BBHwVX-k.js";
13
+ import { R as vt } from "./app-BsMht81f.js";
14
+ import "./rule-BmIUTy0V.js";
15
+ import "./useReportPermissions-BeKk9bUR.js";
16
+ import "./dayjs.min-CmJz0_dg.js";
17
+ import "./TimesheetList.vue_vue_type_style_index_0_scoped_91afda4e_lang-CzA-8C42.js";
18
18
  var In = {};
19
19
  /*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */
20
20
  var Zt = {};
@@ -2,14 +2,14 @@ import { ref as I, defineComponent as Q, computed as F, watch as ie, resolveComp
2
2
  import { useI18n as X, useCoreStore as ye } from "@feedmepos/mf-common";
3
3
  import { useSnackbar as Y, components as M, useDialog as Ue, useBreakpoints as he, FmButtonVariant as q } from "@feedmepos/ui-library";
4
4
  import { _ as xe } from "./PageLayout.vue_vue_type_script_setup_true_lang-HKK4cbW8.js";
5
- import { u as Z } from "./useAppStore-m4x4qFHC.js";
6
- import { g as z, a as be, b as H, u as ee } from "./iteration-CmwYwOHJ.js";
5
+ import { u as Z } from "./useAppStore-efPeNcbk.js";
6
+ import { g as z, a as be, b as H, u as ee } from "./iteration-Cch1v6Fm.js";
7
7
  import { defineStore as ke } from "pinia";
8
- import { S as D } from "./SelectFilter-C61IZSID.js";
9
- import { _ as we } from "./app-CoIsLUsi.js";
10
- import { _ as ce, u as Fe, H as Ve } from "./FormItem.vue_vue_type_script_setup_true_lang-S4Mh4MvG.js";
8
+ import { S as D } from "./SelectFilter-ATOm0hdn.js";
9
+ import { _ as we } from "./app-BsMht81f.js";
10
+ import { _ as ce, u as Fe, H as Ve } from "./FormItem.vue_vue_type_script_setup_true_lang-DPT2FoIc.js";
11
11
  import { _ as Se } from "./index.vue_vue_type_script_setup_true_lang-Vc5ARO29.js";
12
- import { u as ue } from "./useLoading-BcujhoYe.js";
12
+ import { u as ue } from "./useLoading-DGQMmdnf.js";
13
13
  import { _ as Ie } from "./FormSection.vue_vue_type_script_setup_true_lang-DknXTYiK.js";
14
14
  const W = {
15
15
  async getGrantUsers() {
@@ -3,12 +3,12 @@ import { useI18n as Q, useCoreStore as ue } from "@feedmepos/mf-common";
3
3
  import { useSnackbar as Y, useDialog as de, useBreakpoints as pe, components as J } from "@feedmepos/ui-library";
4
4
  import { _ as fe } from "./index.vue_vue_type_script_setup_true_lang-Vc5ARO29.js";
5
5
  import { u as ve, _ as Se } from "./useDiscardConfirm-DPhEV6v0.js";
6
- import { u as Z, c as ee, d as se, p as X, i as be, b as _e, m as D, l as he, n as Pe, s as ge, o as ye, v as we } from "./rule-B4b6tRUV.js";
7
- import { l as q } from "./lodash-DISd2c6W.js";
8
- import { d as Fe, A as ke } from "./iteration-CmwYwOHJ.js";
9
- import { u as xe } from "./useLoading-BcujhoYe.js";
10
- import { b as G } from "./app-CoIsLUsi.js";
11
- import { _ as Ce } from "./PortalPermissionEditor.vue_vue_type_script_setup_true_lang-C9fM3DpC.js";
6
+ import { u as Z, c as ee, d as se, p as X, i as be, b as _e, m as D, l as he, n as Pe, s as ge, o as ye, v as we } from "./rule-BmIUTy0V.js";
7
+ import { l as q } from "./lodash-BcG3T12V.js";
8
+ import { d as Fe, A as ke } from "./iteration-Cch1v6Fm.js";
9
+ import { u as xe } from "./useLoading-DGQMmdnf.js";
10
+ import { b as G } from "./app-BsMht81f.js";
11
+ import { _ as Ce } from "./PortalPermissionEditor.vue_vue_type_script_setup_true_lang-Dzmeg7P-.js";
12
12
  const Ve = { class: "flex w-full items-center justify-between" }, Re = { class: "fm-typo-en-title-md-600" }, Ie = { class: "flex items-center justify-start gap-8" }, je = /* @__PURE__ */ H({
13
13
  __name: "PermissionSetForm",
14
14
  props: {