@feedmepos/mf-hrm-portal 2.3.2-dev.8 → 2.3.2-dev.9

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 (44) hide show
  1. package/dist/{ApprovalCodeList-DIYhVMGW.js → ApprovalCodeList-gb0bre9J.js} +7 -7
  2. package/dist/{AuditLogList-DIc3Jgpr.js → AuditLogList-9cwS6bL7.js} +5 -5
  3. package/dist/{ConditionBuilderForm.vue_vue_type_script_setup_true_lang-4YsF7lXu.js → ConditionBuilderForm.vue_vue_type_script_setup_true_lang-DR-c15gr.js} +2 -2
  4. package/dist/{EmployeeList-iVg4pI9Y.js → EmployeeList-DjyoW1we.js} +8 -8
  5. package/dist/{FormSection.vue_vue_type_script_setup_true_lang-C9AE0EHw.js → FormSection.vue_vue_type_script_setup_true_lang-BBWlADve.js} +1 -1
  6. package/dist/{GrantUserList-8zmzFk9z.js → GrantUserList-yU2NqFVO.js} +8 -8
  7. package/dist/{Main-DYzFd_qa.js → Main-4KwMqF3h.js} +5 -5
  8. package/dist/{Main-gRu17-N6.js → Main-BS_Lk_eB.js} +11 -11
  9. package/dist/{Main-ClJox3pV.js → Main-BuG7SPnC.js} +10 -10
  10. package/dist/MyPosProfile-CuDzRaRS.js +360 -0
  11. package/dist/{PermissionSetList-CL42jQY4.js → PermissionSetList-D7SS1iAr.js} +24 -24
  12. package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-DkA0XbZw.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-u1UlV2Aw.js} +1044 -1044
  13. package/dist/{PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-CA87qQ4b.js → PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-CYkv2x_y.js} +1 -1
  14. package/dist/{RoleForm.vue_vue_type_script_setup_true_lang-B3N3hTcU.js → RoleForm.vue_vue_type_script_setup_true_lang-hiMgwiya.js} +9 -9
  15. package/dist/{RoleList-F9ZORhgE.js → RoleList-B3P-LQYV.js} +7 -7
  16. package/dist/{ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-B9NMhw9Z.js → ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang--dsZOhnv.js} +1 -1
  17. package/dist/{ScheduleGeneralPage-751cEUwS.js → ScheduleGeneralPage-Pq6ufiDu.js} +2 -2
  18. package/dist/{ScheduleModal.vue_vue_type_script_setup_true_lang-CBDNfiIM.js → ScheduleModal.vue_vue_type_script_setup_true_lang-DKFJLsTW.js} +4 -4
  19. package/dist/{SchedulePage-C-NcbGIl.js → SchedulePage-8EAOfiJx.js} +9 -9
  20. package/dist/{SchedulePositionPage-Ba0iiSRg.js → SchedulePositionPage-CGXeUnju.js} +3 -3
  21. package/dist/{SelectFilter-Dpsq165k.js → SelectFilter-C-UEVLla.js} +1 -1
  22. package/dist/{TeamMemberList-DZ0aRbxg.js → TeamMemberList-Bd1O44Ur.js} +90 -90
  23. package/dist/{TimesheetList-DO5T__dL.js → TimesheetList-CSCmigCM.js} +6 -6
  24. package/dist/{app-DXkKrcRn.js → app-BohKQtlz.js} +54 -14
  25. package/dist/app.js +1 -1
  26. package/dist/{approval-code-D2pGW-sI.js → approval-code-Bfvxsg8h.js} +1 -1
  27. package/dist/{dayjs.min-BAz84JAQ.js → dayjs.min-C0MqTPg1.js} +1 -1
  28. package/dist/{employee-yYhuhc9L.js → employee-DWxT78W2.js} +5 -5
  29. package/dist/{grant-user-B95RDjkR.js → grant-user-LZ3b6siI.js} +1 -1
  30. package/dist/{index-TrBkLxJe.js → index-DDDG-LHm.js} +1 -1
  31. package/dist/{lodash-DXRsZpTB.js → lodash-BRqMda7F.js} +1 -1
  32. package/dist/{member-grant-ByAQ1Qja.js → member-grant-a3AGCWfT.js} +2 -2
  33. package/dist/{restaurant-COSpCpTQ.js → restaurant-pL7vHt-H.js} +1 -1
  34. package/dist/{role-ZmCd2yG4.js → role--EKCVqho.js} +3 -3
  35. package/dist/{rule-Bty9eoI3.js → rule-Db3gFVHx.js} +71 -71
  36. package/dist/src/views/my-pos-profile/components/PasscodeChangedDialog.vue.d.ts +1 -1
  37. package/dist/src/views/my-pos-profile/locales/index.d.ts +40 -0
  38. package/dist/{timesheet-CFD6XPiG.js → timesheet-NYW1P4rf.js} +3 -3
  39. package/dist/tsconfig.app.tsbuildinfo +1 -1
  40. package/dist/{useAppStore-7O0GMkXY.js → useAppStore-DV13z6oc.js} +1 -1
  41. package/dist/{useLoading-BZXydjer.js → useLoading-Fcnnfywt.js} +1 -1
  42. package/dist/{useReportPermissions-Cn3ntCJ9.js → useReportPermissions-BcyVoKVq.js} +13 -13
  43. package/package.json +1 -1
  44. package/dist/MyPosProfile-ARRrolbz.js +0 -290
@@ -1,17 +1,17 @@
1
1
  import { defineComponent as Z, ref as v, computed as h, watch as ue, resolveComponent as b, createBlock as de, openBlock as ee, unref as r, withCtx as C, createVNode as m, createElementVNode as P, toDisplayString as J, nextTick as pe, onMounted as fe, createElementBlock as ve, Fragment as Se, h as S } from "vue";
2
2
  import { useI18n as se, useCoreStore as he } from "@feedmepos/mf-common";
3
3
  import { useSnackbar as oe, useDialog as te, useBreakpoints as ne, components as Q } from "@feedmepos/ui-library";
4
- import { v as X, _ as be, n as _e } from "./app-DXkKrcRn.js";
4
+ import { v as X, _ as be, n as _e } from "./app-BohKQtlz.js";
5
5
  import { _ as ge } from "./TableEmptyState.vue_vue_type_script_setup_true_lang-IfAZmWr0.js";
6
6
  import { _ as ye } from "./ResponsiveContextMenu.vue_vue_type_script_setup_true_lang-mSJFKo7r.js";
7
- import { u as ie, y as M, a as ae, p as Y, E as Pe, q as we, P as A, T as xe, F as Fe, I as ke, N as Ce, m as Ie } from "./rule-Bty9eoI3.js";
8
- import { l as $ } from "./lodash-DXRsZpTB.js";
9
- import "./index-TrBkLxJe.js";
7
+ import { u as ie, P as M, a as ae, p as Y, $ as Pe, H as we, R as A, B as xe, x as Fe, T as ke, E as Ce, m as Ie } from "./rule-Db3gFVHx.js";
8
+ import { l as $ } from "./lodash-BRqMda7F.js";
9
+ import "./index-DDDG-LHm.js";
10
10
  import { u as Ve } from "./useDiscardConfirm-CzZSPyvh.js";
11
- import { u as Re } from "./useLoading-BZXydjer.js";
11
+ import { u as Re } from "./useLoading-Fcnnfywt.js";
12
12
  import { c as je } from "./iteration-CcXrOMQe.js";
13
- import { _ as Ee } from "./PortalPermissionEditor.vue_vue_type_script_setup_true_lang-DkA0XbZw.js";
14
- const $e = { class: "flex w-full items-center justify-between" }, Le = { class: "fm-typo-en-title-md-600" }, Be = { class: "fm-typo-en-title-sm-600 mt-24" }, Te = { class: "flex items-center justify-start gap-8" }, Ae = /* @__PURE__ */ Z({
13
+ import { _ as Ee } from "./PortalPermissionEditor.vue_vue_type_script_setup_true_lang-u1UlV2Aw.js";
14
+ const $e = { class: "flex w-full items-center justify-between" }, Be = { class: "fm-typo-en-title-md-600" }, Le = { class: "fm-typo-en-title-sm-600 mt-24" }, Te = { class: "flex items-center justify-start gap-8" }, Ae = /* @__PURE__ */ Z({
15
15
  __name: "PermissionSetForm",
16
16
  props: {
17
17
  modelValue: {
@@ -20,10 +20,10 @@ const $e = { class: "flex w-full items-center justify-between" }, Le = { class:
20
20
  }
21
21
  },
22
22
  setup(K, { expose: D }) {
23
- const o = K, { t: i } = se(), f = v(!1), L = h(() => {
23
+ const o = K, { t: i } = se(), f = v(!1), B = h(() => {
24
24
  var e;
25
25
  return (e = o.modelValue) != null && e.id ? i("permissionSet.form.update.title") : i("permissionSet.form.create.title");
26
- }), I = v(), N = oe(), w = te(), { breakpoints: V } = ne(), R = Re(N), l = ie(), d = v({ ...o.modelValue }), a = v([]), p = v([]), B = [(e) => !!e || i("permissionSet.form.nameRequired")], q = h(() => {
26
+ }), I = v(), N = oe(), w = te(), { breakpoints: V } = ne(), R = Re(N), l = ie(), d = v({ ...o.modelValue }), a = v([]), p = v([]), L = [(e) => !!e || i("permissionSet.form.nameRequired")], q = h(() => {
27
27
  var e;
28
28
  return (e = o.modelValue) != null && e.id ? i("permissionSet.form.update.confirmButtonLabel") : i("permissionSet.form.create.confirmButtonLabel");
29
29
  }), z = h(
@@ -77,23 +77,23 @@ const $e = { class: "flex w-full items-center justify-between" }, Le = { class:
77
77
  const e = A(j.value), s = c.value ? g.value : _, u = xe(p.value, s), x = Fe(u, O.value), F = ke(x);
78
78
  return Ce(e, F);
79
79
  }
80
- function G(e) {
80
+ function H(e) {
81
81
  return A(
82
82
  M(e, l.permissionSets.value)
83
83
  );
84
84
  }
85
- function H(e) {
86
- p.value = G(e);
85
+ function G(e) {
86
+ p.value = H(e);
87
87
  }
88
88
  function le(e) {
89
89
  const s = [...e ?? []];
90
90
  if ($.isEqual(s, a.value)) return;
91
91
  const u = !$.isEqual(
92
92
  p.value,
93
- G(a.value)
93
+ H(a.value)
94
94
  );
95
95
  if (a.value = s, !u) {
96
- H(s);
96
+ G(s);
97
97
  return;
98
98
  }
99
99
  w.open({
@@ -109,7 +109,7 @@ const $e = { class: "flex w-full items-center justify-between" }, Le = { class:
109
109
  close: !0
110
110
  }
111
111
  }).onPrimary(() => {
112
- H(s), w.close();
112
+ G(s), w.close();
113
113
  });
114
114
  }
115
115
  async function me() {
@@ -151,7 +151,7 @@ const $e = { class: "flex w-full items-center justify-between" }, Le = { class:
151
151
  }, {
152
152
  "side-sheet-header": C(() => [
153
153
  P("div", $e, [
154
- P("p", Le, J(L.value), 1),
154
+ P("p", Be, J(B.value), 1),
155
155
  m(u, {
156
156
  name: "close",
157
157
  size: "md",
@@ -188,7 +188,7 @@ const $e = { class: "flex w-full items-center justify-between" }, Le = { class:
188
188
  "onUpdate:modelValue": s[0] || (s[0] = (E) => d.value.name = E),
189
189
  label: r(i)("permissionSet.form.name"),
190
190
  placeholder: r(i)("permissionSet.form.namePlaceholder"),
191
- rules: B
191
+ rules: L
192
192
  }, null, 8, ["modelValue", "label", "placeholder"]),
193
193
  m(F, {
194
194
  "model-value": a.value,
@@ -201,7 +201,7 @@ const $e = { class: "flex w-full items-center justify-between" }, Le = { class:
201
201
  class: "mt-16",
202
202
  "onUpdate:modelValue": le
203
203
  }, null, 8, ["model-value", "items", "label", "placeholder"]),
204
- P("div", Be, J(r(i)("team.memberForm.permissions.title")), 1),
204
+ P("div", Le, J(r(i)("team.memberForm.permissions.title")), 1),
205
205
  m(Ee, {
206
206
  modelValue: p.value,
207
207
  "onUpdate:modelValue": s[1] || (s[1] = (E) => p.value = E),
@@ -219,7 +219,7 @@ const $e = { class: "flex w-full items-center justify-between" }, Le = { class:
219
219
  }), De = { class: "space-y-8" }, Ne = { class: "flex justify-end xs:px-16" }, qe = { class: "flex flex-col h-full overflow-auto" }, es = /* @__PURE__ */ Z({
220
220
  __name: "PermissionSetList",
221
221
  setup(K, { expose: D }) {
222
- const { t: o } = se(), { customReportPermissions: i, fetchCustomReportPermissions: f } = ae(), L = oe(), I = te(), { breakpoints: N } = ne(), w = v(""), V = h(() => {
222
+ const { t: o } = se(), { customReportPermissions: i, fetchCustomReportPermissions: f } = ae(), B = oe(), I = te(), { breakpoints: N } = ne(), w = v(""), V = h(() => {
223
223
  var n;
224
224
  return (n = d.value) == null ? void 0 : n.filter((t) => {
225
225
  const c = w.value.toLowerCase();
@@ -231,7 +231,7 @@ const $e = { class: "flex w-full items-center justify-between" }, Le = { class:
231
231
  async function p() {
232
232
  await l.readPermissionSets();
233
233
  }
234
- function B(n) {
234
+ function L(n) {
235
235
  var t;
236
236
  a.value = n, (t = R.value) == null || t.trigger();
237
237
  }
@@ -291,7 +291,7 @@ const $e = { class: "flex w-full items-center justify-between" }, Le = { class:
291
291
  [
292
292
  S(ye, {
293
293
  items: [
294
- { label: o("common.update"), onClick: () => B(t) },
294
+ { label: o("common.update"), onClick: () => L(t) },
295
295
  {
296
296
  label: o("common.remove"),
297
297
  onClick: () => j(t),
@@ -322,7 +322,7 @@ const $e = { class: "flex w-full items-center justify-between" }, Le = { class:
322
322
  secondaryActions: { text: o("common.cancel"), close: !0 }
323
323
  }).onPrimary(async () => {
324
324
  try {
325
- await l.deletePermissionSet(n.id), L.open({
325
+ await l.deletePermissionSet(n.id), B.open({
326
326
  message: o("permissionSet.form.delete.successMessage", { permissionSetName: n.name }),
327
327
  type: "success"
328
328
  });
@@ -330,7 +330,7 @@ const $e = { class: "flex w-full items-center justify-between" }, Le = { class:
330
330
  const c = t instanceof _e && t.status === 409 ? t.message.includes("referenced by") ? o("permissionSet.form.delete.setReferencedConflictError", {
331
331
  permissionSetName: n.name
332
332
  }) : o("permissionSet.form.delete.conflictError", { permissionSetName: n.name }) : t instanceof Error ? t.message : `${t}`;
333
- L.open({ message: c, type: "error" });
333
+ B.open({ message: c, type: "error" });
334
334
  }
335
335
  I.close();
336
336
  });
@@ -376,7 +376,7 @@ const $e = { class: "flex w-full items-center justify-between" }, Le = { class:
376
376
  "pin-header-row": "",
377
377
  "hide-footer": "",
378
378
  "shrink-at": !1,
379
- onRowClick: t[1] || (t[1] = (g) => B(g.original))
379
+ onRowClick: t[1] || (t[1] = (g) => L(g.original))
380
380
  }, null, 8, ["row-data", "page-size", "loading"])
381
381
  ]),
382
382
  _: 1