@feedmepos/mf-hrm-portal 2.3.2-dev.3 → 2.3.2-dev.5

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 (99) hide show
  1. package/dist/{ApprovalCodeList-D3U4nvlF.js → ApprovalCodeList-NYJNwdDZ.js} +14 -15
  2. package/dist/{AuditLogList-qGCW7tf0.js → AuditLogList-Ghn4aBnn.js} +12 -12
  3. package/dist/ConditionBuilderForm.vue_vue_type_script_setup_true_lang-BxZ9t3MZ.js +459 -0
  4. package/dist/EmployeeList-jc8LTznV.js +896 -0
  5. package/dist/FormSection.vue_vue_type_script_setup_true_lang-DLgm6oCz.js +90 -0
  6. package/dist/{GrantUserList-C71pal0N.js → GrantUserList-BtPTpypR.js} +15 -16
  7. package/dist/Main-BF8hlYeV.js +101 -0
  8. package/dist/{Main-CCdTWngg.js → Main-BizCV-_x.js} +11 -11
  9. package/dist/{Main-BWJPyEU1.js → Main-McMZU_cR.js} +5 -5
  10. package/dist/MyPosProfile-BjeCnBvL.js +290 -0
  11. package/dist/PasscodePinField.vue_vue_type_script_setup_true_lang-TXPEqa46.js +126 -0
  12. package/dist/{PermissionSetList-BS-oBunI.js → PermissionSetList-NWLoqFHC.js} +45 -46
  13. package/dist/PortalPermissionEditor.vue_vue_type_script_setup_true_lang-UPcpeVD5.js +4243 -0
  14. package/dist/PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-nwpdr7T7.js +1831 -0
  15. package/dist/RoleForm.vue_vue_type_script_setup_true_lang-eT-dPsOX.js +547 -0
  16. package/dist/RoleList-CIfN10zu.js +274 -0
  17. package/dist/{ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-BXihM4sl.js → ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-CMTXC_UR.js} +1 -1
  18. package/dist/{ScheduleGeneralPage-DpNvWNGs.js → ScheduleGeneralPage-8vS1DUrk.js} +2 -2
  19. package/dist/{ScheduleModal.vue_vue_type_script_setup_true_lang-DIYLOF9N.js → ScheduleModal.vue_vue_type_script_setup_true_lang-Br4AcF1g.js} +187 -186
  20. package/dist/{SchedulePage-QW-cYvu2.js → SchedulePage-DqbE1PoV.js} +13 -13
  21. package/dist/{SchedulePositionPage-BtFfVo2N.js → SchedulePositionPage-DUnkT0Tp.js} +3 -3
  22. package/dist/{SelectFilter-BXeVKgHN.js → SelectFilter-voMj4_j1.js} +1 -1
  23. package/dist/TeamMemberList-DoEOWNDC.js +2086 -0
  24. package/dist/{TimesheetList-D-bESKe5.js → TimesheetList-BBv2SV96.js} +9 -9
  25. package/dist/{TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-D0zAVqCa.js → TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-h-bWBmpI.js} +3 -3
  26. package/dist/{app-D-MUq9Ab.js → app-CDCO87ji.js} +6389 -3455
  27. package/dist/app.js +3 -3
  28. package/dist/{approval-code-BXUiojPH.js → approval-code-CLE9s5dL.js} +1 -1
  29. package/dist/{dayjs.min-BZ1pM-6M.js → dayjs.min-BW6-XAUB.js} +21 -21
  30. package/dist/{employee-HQEU8fjb.js → employee-BaCU-FLC.js} +48 -47
  31. package/dist/{grant-user-CBJ3gEgW.js → grant-user-DMtilLJx.js} +1 -1
  32. package/dist/{iteration-ogxW2-Tv.js → iteration-CPLGGFBb.js} +1 -1
  33. package/dist/{lodash-Def4gaas.js → lodash-snXoiw60.js} +1 -1
  34. package/dist/member-grant-CJyOr-q0.js +55 -0
  35. package/dist/restaurant-BMlLIUqe.js +51 -0
  36. package/dist/{role-JDoDFVd9.js → role-DqcBOWHL.js} +5 -4
  37. package/dist/{rule-DPtqlnz-.js → rule-B5YNhGJ4.js} +105 -100
  38. package/dist/src/api/my-pos-profile/index.d.ts +3 -0
  39. package/dist/src/api/sso-provider/index.d.ts +5 -0
  40. package/dist/src/api/staff-invite/index.d.ts +16 -0
  41. package/dist/src/components/CollapsibleWrapper.vue.d.ts +11 -3
  42. package/dist/src/components/form/SegmentedTabs.vue.d.ts +23 -0
  43. package/dist/src/composables/useMenuAccess.d.ts +56 -0
  44. package/dist/src/composables/useSsoProviders.d.ts +19 -0
  45. package/dist/src/composables/useStaffInviteProviders.d.ts +8 -0
  46. package/dist/src/helpers/member-grant.d.ts +36 -0
  47. package/dist/src/helpers/my-pos-profile.d.ts +37 -0
  48. package/dist/src/helpers/pos-assignment-rows.d.ts +28 -0
  49. package/dist/src/helpers/staff-invite.d.ts +54 -0
  50. package/dist/src/helpers/string.d.ts +10 -1
  51. package/dist/src/router/menu-access-guard.d.ts +17 -0
  52. package/dist/src/router/shared.d.ts +3 -1
  53. package/dist/src/stores/restaurant.d.ts +7 -7
  54. package/dist/src/stores/team.d.ts +30 -0
  55. package/dist/src/types/my-pos-profile.d.ts +24 -0
  56. package/dist/src/types/sso-provider.d.ts +10 -0
  57. package/dist/src/types/staff-invite.d.ts +100 -0
  58. package/dist/src/types/team.d.ts +17 -1
  59. package/dist/src/views/hr/locales/index.d.ts +20 -0
  60. package/dist/src/views/hr/role/RoleForm.vue.d.ts +29 -2
  61. package/dist/src/views/my-pos-profile/MyPosProfile.vue.d.ts +2 -0
  62. package/dist/src/views/my-pos-profile/components/PasscodeChangedDialog.vue.d.ts +4 -0
  63. package/dist/src/views/my-pos-profile/locales/index.d.ts +196 -0
  64. package/dist/src/views/scheduling/composables/useScheduleOnboardingAvailability.d.ts +1 -1
  65. package/dist/src/views/scheduling/composables/useScheduleOnboardingWizard.d.ts +1 -1
  66. package/dist/src/views/scheduling/composables/useScheduleShiftDraft.d.ts +1 -1
  67. package/dist/src/views/scheduling/composables/useScheduleShiftPopover.d.ts +1 -1
  68. package/dist/src/views/team/components/BasePermission.vue.d.ts +11 -0
  69. package/dist/src/views/team/components/ConditionPermission.vue.d.ts +11 -0
  70. package/dist/src/views/team/components/MemberGrantFields.vue.d.ts +51 -0
  71. package/dist/src/views/team/{member/MemberInfo.vue.d.ts → components/MemberStatusBadge.vue.d.ts} +2 -2
  72. package/dist/src/views/team/components/PortalPermissionEditor.vue.d.ts +21 -0
  73. package/dist/src/views/team/components/PosAssignmentRows.vue.d.ts +44 -0
  74. package/dist/src/views/team/components/PosRolePermission.vue.d.ts +11 -0
  75. package/dist/src/views/team/locales/index.d.ts +716 -0
  76. package/dist/src/views/team/member/AddMemberForm.vue.d.ts +48 -3
  77. package/dist/src/views/team/member/ExistingMemberNotice.vue.d.ts +11 -0
  78. package/dist/src/views/team/member/MemberDetailsCard.vue.d.ts +35 -0
  79. package/dist/src/views/team/member/MemberHeaderCard.vue.d.ts +19 -0
  80. package/dist/src/views/team/member/TeamMemberList.vue.d.ts +1 -0
  81. package/dist/string-DZQ1uNjn.js +22 -0
  82. package/dist/style.css +1 -1
  83. package/dist/tsconfig.app.tsbuildinfo +1 -1
  84. package/dist/{useAppStore-DZCdxlCd.js → useAppStore-pKAGQL6q.js} +1 -1
  85. package/dist/{useLoading-Nygx2zn8.js → useLoading-D67DIqfk.js} +1 -1
  86. package/dist/{useReportPermissions-CxV7Dz1B.js → useReportPermissions-CfgnE0NY.js} +5 -5
  87. package/package.json +1 -1
  88. package/dist/ConditionBuilderForm.vue_vue_type_script_setup_true_lang-B0VcRYUg.js +0 -438
  89. package/dist/EmployeeList-Bd73xDCX.js +0 -776
  90. package/dist/FormItem.vue_vue_type_script_setup_true_lang-cLEnrtC6.js +0 -45
  91. package/dist/FormSection.vue_vue_type_script_setup_true_lang-DknXTYiK.js +0 -49
  92. package/dist/Main-DGf0bQvy.js +0 -96
  93. package/dist/PasscodePinField.vue_vue_type_script_setup_true_lang-CqG0v0Sz.js +0 -243
  94. package/dist/PortalPermissionEditor.vue_vue_type_script_setup_true_lang-CkOAT-oX.js +0 -4167
  95. package/dist/PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-DQcgZ0nF.js +0 -35
  96. package/dist/RoleList-B_7UnVNb.js +0 -740
  97. package/dist/TeamMemberList-DoisBYnk.js +0 -1154
  98. package/dist/restaurant-D2mfKHaH.js +0 -1880
  99. package/dist/string-VNuQNweN.js +0 -15
@@ -2,18 +2,18 @@ import { reactive as Xe, watch as Ct, computed as L, ref as Y, onUnmounted as To
2
2
  import { useRouter as Ma, onBeforeRouteLeave as Qs } from "vue-router";
3
3
  import { useSnackbar as bn, SnackbarPosition as jo, components as Zs } from "@feedmepos/ui-library";
4
4
  import { useCoreStore as Oo, useI18n as me } from "@feedmepos/mf-common";
5
- import { d as Ln, p as Dt, w as Ta, o as Nt, i as Sn, c as _s, a as Oa, P as rn, R as In, b as Me, s as Et, e as on, f as el, h as tl, g as Aa, j as Ra, r as en, k as zt, l as so, m as La, n as nl, q as It, S as ol, t as qn, u as al, v as fo, x as kt, y as qo, z as mn, A as Qn, U as Ia, C as sl, W as Ge, B as Hn, D as ll, E as il, F as pn, G as Ao, H as an, I as qe, J as En, K as Ha, L as Ut, M as Lt, N as lo, O as io, Q as Yo, T as Yn, V as rl, X as yo, Y as dl, Z as Gn, _ as bo, $ as ro, a0 as ko, a1 as Na, a2 as Ko, a3 as Go, a4 as xn, a5 as Jo, a6 as Xo, a7 as Fa, a8 as wo, a9 as ul, aa as Ba, ab as cl, ac as vn, ad as hl, ae as ml, af as vl, ag as pl, ah as Ua, ai as Jn, aj as gl, ak as _t, al as Xn, am as Qo, an as Ro, ao as Lo, ap as $o, aq as fl, ar as Io, as as yl, at as bl, au as kl, av as re, aw as wl, ax as wt, ay as Pn, az as Wa, aA as $l, aB as Sl, aC as Zo } from "./ScheduleModal.vue_vue_type_script_setup_true_lang-DIYLOF9N.js";
6
- import "./iteration-ogxW2-Tv.js";
7
- import { t as So, j as xo } from "./rule-DPtqlnz-.js";
8
- import { E as Va, u as xl } from "./employee-HQEU8fjb.js";
5
+ import { d as Ln, p as Dt, w as Ta, o as Nt, i as Sn, c as _s, a as Oa, P as rn, R as In, b as Me, s as Et, e as on, f as el, h as tl, g as Aa, j as Ra, r as en, k as zt, l as so, m as La, n as nl, q as It, S as ol, t as qn, u as al, v as fo, x as kt, y as qo, z as mn, A as Qn, U as Ia, C as sl, W as Ge, B as Hn, D as ll, E as il, F as pn, G as Ao, H as an, I as qe, J as En, K as Ha, L as Ut, M as Lt, N as lo, O as io, Q as Yo, T as Yn, V as rl, X as yo, Y as dl, Z as Gn, _ as bo, $ as ro, a0 as ko, a1 as Na, a2 as Ko, a3 as Go, a4 as xn, a5 as Jo, a6 as Xo, a7 as Fa, a8 as wo, a9 as ul, aa as Ba, ab as cl, ac as vn, ad as hl, ae as ml, af as vl, ag as pl, ah as Ua, ai as Jn, aj as gl, ak as _t, al as Xn, am as Qo, an as Ro, ao as Lo, ap as $o, aq as fl, ar as Io, as as yl, at as bl, au as kl, av as re, aw as wl, ax as wt, ay as Pn, az as Wa, aA as $l, aB as Sl, aC as Zo } from "./ScheduleModal.vue_vue_type_script_setup_true_lang-Br4AcF1g.js";
6
+ import "./iteration-CPLGGFBb.js";
7
+ import { t as So, b as xo } from "./rule-B5YNhGJ4.js";
8
+ import { E as Va, u as xl } from "./employee-BaCU-FLC.js";
9
9
  import { c as Cl } from "./object-Dwyg2LgX.js";
10
- import { R as ja, a as Un } from "./app-D-MUq9Ab.js";
11
- import { u as El } from "./useDiscardConfirm-CzZSPyvh.js";
12
- import { u as Co } from "./role-JDoDFVd9.js";
13
- import { u as Dl, A as Pl } from "./restaurant-D2mfKHaH.js";
14
- import { u as zl } from "./useLoading-Nygx2zn8.js";
10
+ import { R as ja, l as El, a as Un } from "./app-CDCO87ji.js";
11
+ import { u as Dl } from "./useDiscardConfirm-CzZSPyvh.js";
12
+ import { u as Co } from "./role-DqcBOWHL.js";
13
+ import { u as Pl } from "./restaurant-BMlLIUqe.js";
14
+ import { u as zl } from "./useLoading-D67DIqfk.js";
15
15
  import { useAppStore as Ml } from "@feedmepos/mf-remy-panel";
16
- import { u as Tl, _ as Ol, a as Al } from "./ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-BXihM4sl.js";
16
+ import { u as Tl, _ as Ol, a as Al } from "./ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-CMTXC_UR.js";
17
17
  function Rl(e) {
18
18
  return {
19
19
  employees: Oa(e),
@@ -2485,7 +2485,7 @@ function Si(e, n = {}) {
2485
2485
  return s.value === null ? !0 : s.value ? s.value.includes(P._id) : P.isUsable;
2486
2486
  }
2487
2487
  function k(P) {
2488
- const O = ho(P), h = Dl().restaurants.value.find((f) => f._id === O);
2488
+ const O = ho(P), h = Pl().restaurants.value.find((f) => f._id === O);
2489
2489
  return h != null && h.managable ? l.value === null || l.value === void 0 ? !0 : l.value.includes(O ?? "") : !1;
2490
2490
  }
2491
2491
  return {
@@ -2773,7 +2773,7 @@ function Ci(e, n = {}) {
2773
2773
  function H() {
2774
2774
  l.value = !1, k.value = !1, A.value = !1, C.value = null, x.closeSelectExisting(), v.value = null;
2775
2775
  }
2776
- const B = El(h, H, { zIndex: 1e3 });
2776
+ const B = Dl(h, H, { zIndex: 1e3 });
2777
2777
  function Q(ae) {
2778
2778
  C.value = null, ae === "new" && u.value === "existing" && (Object.assign(d, Tn()), f.value && (d.locations = [f.value]), R.value = null, T.value = null, b.value = [], D.value = [], P.value = O()), u.value = ae;
2779
2779
  }
@@ -3380,7 +3380,7 @@ function Ii(e) {
3380
3380
  return e.startsWith(ia) ? { kind: "reject", text: e.slice(ia.length) } : e.startsWith(ra) ? { kind: "ai", text: e.slice(ra.length) } : { kind: "plain", text: e };
3381
3381
  }
3382
3382
  function Za(e) {
3383
- return e instanceof Pl && e.status > 0 && e.status < 500;
3383
+ return e instanceof El && e.status > 0 && e.status < 500;
3384
3384
  }
3385
3385
  function Hi(e, n) {
3386
3386
  return Za(e) ? e.message : n("scheduling.autoSchedule.errors.generateFailed");
@@ -2,9 +2,9 @@ import { defineComponent as S, ref as x, onMounted as N, computed as z, createEl
2
2
  import { useRouter as B } from "vue-router";
3
3
  import { useSnackbar as I } from "@feedmepos/ui-library";
4
4
  import { useI18n as O } from "@feedmepos/mf-common";
5
- import { R as L, a as T } from "./app-D-MUq9Ab.js";
6
- import { aA as U, aB as H, ai as R, av as h, ax as j } from "./ScheduleModal.vue_vue_type_script_setup_true_lang-DIYLOF9N.js";
7
- import { u as K, a as q, _ as Q } from "./ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-BXihM4sl.js";
5
+ import { R as L, a as T } from "./app-CDCO87ji.js";
6
+ import { aA as U, aB as H, ai as R, av as h, ax as j } from "./ScheduleModal.vue_vue_type_script_setup_true_lang-Br4AcF1g.js";
7
+ import { u as K, a as q, _ as Q } from "./ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-CMTXC_UR.js";
8
8
  const W = { class: "main" }, G = {
9
9
  id: "viewPositions",
10
10
  class: "view"
@@ -1,7 +1,7 @@
1
1
  import { ref as $, computed as v, defineComponent as X, watch as Y, nextTick as Z, resolveComponent as F, createElementBlock as d, openBlock as c, createElementVNode as A, createVNode as b, renderSlot as z, withCtx as O, createCommentVNode as x, normalizeStyle as ee, Fragment as S, createBlock as T, unref as k, renderList as R, toDisplayString as N, normalizeClass as le, withModifiers as te } from "vue";
2
2
  import "@feedmepos/ui-library";
3
3
  /* empty css */
4
- import { a as ae } from "./app-D-MUq9Ab.js";
4
+ import { a as ae } from "./app-CDCO87ji.js";
5
5
  function ue(r, u, _ = r) {
6
6
  const t = $(!0), C = v(() => {
7
7
  if (!t.value && !u.value)