@feedmepos/mf-hrm-portal 2.3.2-dev.2 → 2.3.2-dev.4

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 (42) hide show
  1. package/dist/{ApprovalCodeList-sHnINTik.js → ApprovalCodeList-BPTnWcra.js} +7 -7
  2. package/dist/{AuditLogList-C9C2emU9.js → AuditLogList-CvEF4bit.js} +6 -6
  3. package/dist/{ConditionBuilderForm.vue_vue_type_script_setup_true_lang-BbsPesWY.js → ConditionBuilderForm.vue_vue_type_script_setup_true_lang-CPX0sv64.js} +2 -2
  4. package/dist/{EmployeeList-D4oy5hXz.js → EmployeeList-CANPsrQY.js} +8 -8
  5. package/dist/{FormSection.vue_vue_type_script_setup_true_lang-Cl053Tg1.js → FormSection.vue_vue_type_script_setup_true_lang-mdfK9rtZ.js} +1 -1
  6. package/dist/{GrantUserList-LWpqhl-5.js → GrantUserList-DPj_6Wsg.js} +8 -8
  7. package/dist/{Main-BWKb-QIE.js → Main-BWRMirTY.js} +11 -11
  8. package/dist/{Main-PBJjfzBg.js → Main-Cob4hcf-.js} +5 -5
  9. package/dist/{Main-CVGiOYpC.js → Main-DXcSgkhR.js} +10 -10
  10. package/dist/{MyPosProfile-BQCBFMFw.js → MyPosProfile-Bp7-pATz.js} +1 -1
  11. package/dist/{PermissionSetList-D2qZVlF4.js → PermissionSetList-DvAW1q0c.js} +6 -6
  12. package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-ZSREAS1r.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-DmbI5vgH.js} +1051 -1051
  13. package/dist/{PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-DRGTxOMW.js → PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-C8hcooKP.js} +1 -1
  14. package/dist/{RoleForm.vue_vue_type_script_setup_true_lang-DFDTw0lj.js → RoleForm.vue_vue_type_script_setup_true_lang-Bq8-aBSv.js} +9 -9
  15. package/dist/{RoleList-DG0crFzW.js → RoleList-DsrHgU4s.js} +7 -7
  16. package/dist/{ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-Cs0rhCa3.js → ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-CRR18xmB.js} +1 -1
  17. package/dist/{ScheduleGeneralPage-C4J6jYtG.js → ScheduleGeneralPage-C_Kj9wmp.js} +2 -2
  18. package/dist/{ScheduleModal.vue_vue_type_script_setup_true_lang-3UqO6uPu.js → ScheduleModal.vue_vue_type_script_setup_true_lang-3oQ6lE86.js} +4 -4
  19. package/dist/{SchedulePage-ICzggri0.js → SchedulePage-9dFXxWwZ.js} +9 -9
  20. package/dist/{SchedulePositionPage-BshUCd_C.js → SchedulePositionPage-Dea5X8Sa.js} +3 -3
  21. package/dist/{SelectFilter-D9T0nFvG.js → SelectFilter-Dr9lB6Ta.js} +1 -1
  22. package/dist/{TeamMemberList-C970Iqlj.js → TeamMemberList-Bu9QNP9W.js} +12 -12
  23. package/dist/{TimesheetList-nxhr0EWj.js → TimesheetList-B98l028z.js} +8 -8
  24. package/dist/{TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-BLqgALLe.js → TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-DIQ7kjG8.js} +3 -3
  25. package/dist/{app-n6d4AmtP.js → app-BHQJX4L4.js} +23 -23
  26. package/dist/app.js +1 -1
  27. package/dist/{approval-code-1j1OoXt1.js → approval-code-w0rZJeYU.js} +1 -1
  28. package/dist/{dayjs.min-DdNivv4b.js → dayjs.min-C4H4diN8.js} +1 -1
  29. package/dist/{employee-BlfleiCU.js → employee-BEwUmdt6.js} +5 -5
  30. package/dist/{grant-user-BmTyexk3.js → grant-user-DdxPMH5_.js} +1 -1
  31. package/dist/{iteration-y_jodvfN.js → iteration-DBHifssn.js} +1 -1
  32. package/dist/{lodash-B2eWEGH4.js → lodash-DqZsWm-0.js} +1 -1
  33. package/dist/{member-grant-CzZUdO_s.js → member-grant-DOigVnBR.js} +2 -2
  34. package/dist/{restaurant-Dl6yx37M.js → restaurant-2xCb2x26.js} +1 -1
  35. package/dist/{role-DfZi7Ssk.js → role-C8STcmLJ.js} +3 -3
  36. package/dist/{rule-ChmhcGgA.js → rule-BkL34-Ma.js} +3 -3
  37. package/dist/src/views/hr/locales/index.d.ts +4 -4
  38. package/dist/tsconfig.app.tsbuildinfo +1 -1
  39. package/dist/{useAppStore-BPARQyvJ.js → useAppStore-BUmFt2dT.js} +1 -1
  40. package/dist/{useLoading-iPESFb6R.js → useLoading-oHRj4RgU.js} +1 -1
  41. package/dist/{useReportPermissions-By-BoJZb.js → useReportPermissions-CpcyfEuV.js} +3 -3
  42. package/package.json +2 -2
@@ -1,6 +1,6 @@
1
1
  import { computed as T, ref as x } from "vue";
2
2
  import { useCoreStore as N0 } from "@feedmepos/mf-common";
3
- import { g as C0, b as G0, T as B0, m as d0, j as k0, k as j0 } from "./app-n6d4AmtP.js";
3
+ import { g as C0, b as G0, T as B0, m as d0, j as k0, k as j0 } from "./app-BHQJX4L4.js";
4
4
  const U0 = {
5
5
  async readProviders() {
6
6
  return C0(await G0("sso-providers").get(""));
@@ -1,16 +1,16 @@
1
1
  import { defineComponent as ze, computed as y, ref as C, watch as q, onMounted as Le, resolveComponent as w, createBlock as E, openBlock as h, unref as o, withCtx as V, createElementVNode as c, createVNode as _, toDisplayString as M, createElementBlock as S, Fragment as z, renderList as ee, createCommentVNode as te, normalizeClass as he } from "vue";
2
- import { l as W } from "./lodash-B2eWEGH4.js";
3
- import { e as be } from "./iteration-y_jodvfN.js";
2
+ import { l as W } from "./lodash-DqZsWm-0.js";
3
+ import { e as be } from "./iteration-DBHifssn.js";
4
4
  import { useI18n as Ne } from "@feedmepos/mf-common";
5
5
  import { useBreakpoints as Ke, useSnackbar as Te, components as qe } from "@feedmepos/ui-library";
6
- import { u as We, _ as Ge, a as _e } from "./ConditionBuilderForm.vue_vue_type_script_setup_true_lang-BbsPesWY.js";
6
+ import { u as We, _ as Ge, a as _e } from "./ConditionBuilderForm.vue_vue_type_script_setup_true_lang-CPX0sv64.js";
7
7
  import { u as Je } from "./useDiscardConfirm-CzZSPyvh.js";
8
- import { u as He } from "./useLoading-iPESFb6R.js";
9
- import { u as Qe } from "./useReportPermissions-By-BoJZb.js";
10
- import { D as Xe, l as Ye, A as Ze, S as et } from "./app-n6d4AmtP.js";
11
- import { r as ae, h as tt, e as at, s as st, i as ge, j as lt } from "./rule-ChmhcGgA.js";
12
- import { u as rt } from "./restaurant-Dl6yx37M.js";
13
- import { u as ot } from "./role-DfZi7Ssk.js";
8
+ import { u as He } from "./useLoading-oHRj4RgU.js";
9
+ import { u as Qe } from "./useReportPermissions-CpcyfEuV.js";
10
+ import { D as Xe, l as Ye, A as Ze, S as et } from "./app-BHQJX4L4.js";
11
+ import { r as ae, h as tt, e as at, s as st, i as ge, j as lt } from "./rule-BkL34-Ma.js";
12
+ import { u as rt } from "./restaurant-2xCb2x26.js";
13
+ import { u as ot } from "./role-C8STcmLJ.js";
14
14
  function Tt(d) {
15
15
  const n = [];
16
16
  for (const { restaurantId: m, roleId: a } of d) {
@@ -1,15 +1,15 @@
1
1
  import { computed as g, defineComponent as se, ref as U, onMounted as te, resolveComponent as x, createElementBlock as $, openBlock as h, Fragment as A, createBlock as R, createElementVNode as r, createVNode as m, unref as a, withCtx as b, h as u, renderList as ne, toDisplayString as p, createTextVNode as T, resolveDynamicComponent as z, withModifiers as re, nextTick as K } from "vue";
2
- import { e as d } from "./iteration-y_jodvfN.js";
2
+ import { e as d } from "./iteration-DBHifssn.js";
3
3
  import { useI18n as ae } from "@feedmepos/mf-common";
4
4
  import { useDialog as le, useSnackbar as ie, useBreakpoints as ce, components as D, FmButtonColorThemeVariant as me } from "@feedmepos/ui-library";
5
- import { _ as ue } from "./app-n6d4AmtP.js";
5
+ import { _ as ue } from "./app-BHQJX4L4.js";
6
6
  import { _ as W } from "./ResponsiveContextMenu.vue_vue_type_script_setup_true_lang-mSJFKo7r.js";
7
7
  import { _ as de } from "./TableEmptyState.vue_vue_type_script_setup_true_lang-IfAZmWr0.js";
8
- import { f as w, r as pe, h as fe } from "./rule-ChmhcGgA.js";
9
- import { u as j } from "./restaurant-Dl6yx37M.js";
10
- import { u as _e } from "./role-DfZi7Ssk.js";
11
- import { u as he } from "./useReportPermissions-By-BoJZb.js";
12
- import { _ as ve } from "./RoleForm.vue_vue_type_script_setup_true_lang-DFDTw0lj.js";
8
+ import { f as w, r as pe, h as fe } from "./rule-BkL34-Ma.js";
9
+ import { u as j } from "./restaurant-2xCb2x26.js";
10
+ import { u as _e } from "./role-C8STcmLJ.js";
11
+ import { u as he } from "./useReportPermissions-CpcyfEuV.js";
12
+ import { _ as ve } from "./RoleForm.vue_vue_type_script_setup_true_lang-Bq8-aBSv.js";
13
13
  function ge() {
14
14
  const B = j();
15
15
  return g(() => {
@@ -1,6 +1,6 @@
1
1
  import { ref as k, watch as he, computed as z, reactive as Pe, nextTick as we, defineComponent as Ne, createBlock as ne, openBlock as b, withCtx as T, createElementVNode as i, createVNode as H, toDisplayString as v, unref as o, createElementBlock as E, withDirectives as fe, withKeys as Ce, vModelText as ye, normalizeClass as ge, createTextVNode as V, createCommentVNode as Z, Fragment as Ie, renderList as Se } from "vue";
2
2
  import { useI18n as ie } from "@feedmepos/mf-common";
3
- import { az as oe, p as D, aD as ke, aE as se, aF as pe, y as Ee, aG as $e, K as te, e as _, ay as xe, av as W } from "./ScheduleModal.vue_vue_type_script_setup_true_lang-3UqO6uPu.js";
3
+ import { az as oe, p as D, aD as ke, aE as se, aF as pe, y as Ee, aG as $e, K as te, e as _, ay as xe, av as W } from "./ScheduleModal.vue_vue_type_script_setup_true_lang-3oQ6lE86.js";
4
4
  function be() {
5
5
  return oe.map((e) => ({ id: e.id, name: e.name }));
6
6
  }
@@ -2,8 +2,8 @@ import { ref as b, reactive as Y, computed as L, defineComponent as N, createBlo
2
2
  import { useRouter as K } from "vue-router";
3
3
  import { useSnackbar as j } from "@feedmepos/ui-library";
4
4
  import { useCoreStore as F, useI18n as E } from "@feedmepos/mf-common";
5
- import { R as G } from "./app-n6d4AmtP.js";
6
- import { b as g, o as A, g as V, V as J, a1 as z, p as U, ay as Q, av as C, aA as X, aB as Z, ai as ee, ax as se } from "./ScheduleModal.vue_vue_type_script_setup_true_lang-3UqO6uPu.js";
5
+ import { R as G } from "./app-BHQJX4L4.js";
6
+ import { b as g, o as A, g as V, V as J, a1 as z, p as U, ay as Q, av as C, aA as X, aB as Z, ai as ee, ax as se } from "./ScheduleModal.vue_vue_type_script_setup_true_lang-3oQ6lE86.js";
7
7
  const te = [
8
8
  { key: "payrates", labelKey: "scheduling.general.payRates" },
9
9
  { key: "overtime", labelKey: "scheduling.general.overtime" },
@@ -1,10 +1,10 @@
1
1
  import { onMounted as Re, onBeforeUnmount as $e, ref as S, reactive as T, shallowRef as Ae, watch as Be, computed as Y, defineComponent as xe, createElementBlock as M, openBlock as C, renderSlot as Xe, useAttrs as pa, nextTick as ke, normalizeClass as he, createElementVNode as x, createBlock as ha, mergeProps as va, toDisplayString as z, Teleport as ga, createCommentVNode as G, withDirectives as Da, unref as Ee, vModelText as wa, Fragment as be, renderList as Ha, createTextVNode as Aa, withModifiers as Ea, normalizeStyle as ba } from "vue";
2
2
  import { useRoute as Pa, useRouter as Sa } from "vue-router";
3
3
  import { useCoreStore as Je, useI18n as ka } from "@feedmepos/mf-common";
4
- import { u as Ca } from "./restaurant-Dl6yx37M.js";
5
- import { g, b as p } from "./app-n6d4AmtP.js";
6
- import { E as Ce, u as Ze } from "./employee-BlfleiCU.js";
7
- import { t as Fe, d as Ma } from "./rule-ChmhcGgA.js";
4
+ import { u as Ca } from "./restaurant-2xCb2x26.js";
5
+ import { g, b as p } from "./app-BHQJX4L4.js";
6
+ import { E as Ce, u as Ze } from "./employee-BEwUmdt6.js";
7
+ import { t as Fe, d as Ma } from "./rule-BkL34-Ma.js";
8
8
  function io(e) {
9
9
  let a = null;
10
10
  function t() {
@@ -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-3UqO6uPu.js";
6
- import "./iteration-y_jodvfN.js";
7
- import { t as So, b as xo } from "./rule-ChmhcGgA.js";
8
- import { E as Va, u as xl } from "./employee-BlfleiCU.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-3oQ6lE86.js";
6
+ import "./iteration-DBHifssn.js";
7
+ import { t as So, b as xo } from "./rule-BkL34-Ma.js";
8
+ import { E as Va, u as xl } from "./employee-BEwUmdt6.js";
9
9
  import { c as Cl } from "./object-Dwyg2LgX.js";
10
- import { R as ja, n as El, a as Un } from "./app-n6d4AmtP.js";
10
+ import { R as ja, n as El, a as Un } from "./app-BHQJX4L4.js";
11
11
  import { u as Dl } from "./useDiscardConfirm-CzZSPyvh.js";
12
- import { u as Co } from "./role-DfZi7Ssk.js";
13
- import { u as Pl } from "./restaurant-Dl6yx37M.js";
14
- import { u as zl } from "./useLoading-iPESFb6R.js";
12
+ import { u as Co } from "./role-C8STcmLJ.js";
13
+ import { u as Pl } from "./restaurant-2xCb2x26.js";
14
+ import { u as zl } from "./useLoading-oHRj4RgU.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-Cs0rhCa3.js";
16
+ import { u as Tl, _ as Ol, a as Al } from "./ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-CRR18xmB.js";
17
17
  function Rl(e) {
18
18
  return {
19
19
  employees: Oa(e),
@@ -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-n6d4AmtP.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-3UqO6uPu.js";
7
- import { u as K, a as q, _ as Q } from "./ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-Cs0rhCa3.js";
5
+ import { R as L, a as T } from "./app-BHQJX4L4.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-3oQ6lE86.js";
7
+ import { u as K, a as q, _ as Q } from "./ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-CRR18xmB.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-n6d4AmtP.js";
4
+ import { a as ae } from "./app-BHQJX4L4.js";
5
5
  function ue(r, u, _ = r) {
6
6
  const t = $(!0), C = v(() => {
7
7
  if (!t.value && !u.value)
@@ -2,23 +2,23 @@ import { defineComponent as oe, mergeModels as Qt, useModel as es, createElement
2
2
  import { useI18n as ce, useCoreStore as He } from "@feedmepos/mf-common";
3
3
  import { useSnackbar as ot, useDialog as Ft, useBreakpoints as $t, components as Qe, SnackbarPosition as et } from "@feedmepos/ui-library";
4
4
  import { u as ls } from "./useDebounce-B8ZPVS5C.js";
5
- import { S as ie } from "./SelectFilter-D9T0nFvG.js";
6
- import { g as be, b as ye, a as Ct, v as ft, O as os, _ as rs, c as ns } from "./app-n6d4AmtP.js";
5
+ import { S as ie } from "./SelectFilter-Dr9lB6Ta.js";
6
+ import { g as be, b as ye, a as Ct, v as ft, O as os, _ as rs, c as ns } from "./app-BHQJX4L4.js";
7
7
  import { _ as bt } from "./ResponsiveContextMenu.vue_vue_type_script_setup_true_lang-mSJFKo7r.js";
8
8
  import { _ as is } from "./TableEmptyState.vue_vue_type_script_setup_true_lang-IfAZmWr0.js";
9
9
  import { s as us, _ as ms, d as ds, e as cs } from "./PasscodePinField.vue_vue_type_script_setup_true_lang-TXPEqa46.js";
10
- import { u as Dt } from "./useLoading-iPESFb6R.js";
10
+ import { u as Dt } from "./useLoading-oHRj4RgU.js";
11
11
  import { u as ps } from "./useDiscardConfirm-CzZSPyvh.js";
12
- import { w as vs, h as fs, b as bs, E as ys, t as gs } from "./member-grant-CzZUdO_s.js";
13
- import { a as Ye, i as rt, t as Re, b as Xe, D as Nt, E as Et, h as Te, u as hs, s as yt, c as ze, d as xs, e as gt } from "./PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-DRGTxOMW.js";
12
+ import { w as vs, h as fs, b as bs, E as ys, t as gs } from "./member-grant-DOigVnBR.js";
13
+ import { a as Ye, i as rt, t as Re, b as Xe, D as Nt, E as Et, h as Te, u as hs, s as yt, c as ze, d as xs, e as gt } from "./PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-C8hcooKP.js";
14
14
  import { n as nt } from "./string-DZQ1uNjn.js";
15
- import { c as Ve } from "./iteration-y_jodvfN.js";
16
- import { l as Le } from "./lodash-B2eWEGH4.js";
17
- import { _ as ht } from "./PortalPermissionEditor.vue_vue_type_script_setup_true_lang-ZSREAS1r.js";
18
- import { t as Pe, u as At, c as tt, g as xt, m as st, a as Ot, p as _t, R as _s, b as Ut, d as Us } from "./rule-ChmhcGgA.js";
19
- import { t as Is, s as ws, a as It, c as ks, r as Ss, b as Vs, d as wt, _ as Ps, p as Rs } from "./RoleForm.vue_vue_type_script_setup_true_lang-DFDTw0lj.js";
20
- import { u as Lt } from "./restaurant-Dl6yx37M.js";
21
- import { u as Tt } from "./role-DfZi7Ssk.js";
15
+ import { c as Ve } from "./iteration-DBHifssn.js";
16
+ import { l as Le } from "./lodash-DqZsWm-0.js";
17
+ import { _ as ht } from "./PortalPermissionEditor.vue_vue_type_script_setup_true_lang-DmbI5vgH.js";
18
+ import { t as Pe, u as At, c as tt, g as xt, m as st, a as Ot, p as _t, R as _s, b as Ut, d as Us } from "./rule-BkL34-Ma.js";
19
+ import { t as Is, s as ws, a as It, c as ks, r as Ss, b as Vs, d as wt, _ as Ps, p as Rs } from "./RoleForm.vue_vue_type_script_setup_true_lang-Bq8-aBSv.js";
20
+ import { u as Lt } from "./restaurant-2xCb2x26.js";
21
+ import { u as Tt } from "./role-C8STcmLJ.js";
22
22
  var Ee = /* @__PURE__ */ ((l) => (l.Update = "Update", l.Remove = "Remove", l))(Ee || {});
23
23
  const Be = "__unassigned__";
24
24
  function kt(l) {
@@ -1,17 +1,17 @@
1
1
  import { ref as d, computed as g, defineComponent as pe, onMounted as fe, watch as Z, resolveComponent as u, createElementBlock as P, openBlock as E, Fragment as ee, createVNode as l, createElementVNode as i, unref as n, withCtx as b, createCommentVNode as ve, toDisplayString as O, createTextVNode as he, isRef as ge, renderList as we, createBlock as te, nextTick as ye } from "vue";
2
- import { d as v } from "./dayjs.min-DdNivv4b.js";
2
+ import { d as v } from "./dayjs.min-C4H4diN8.js";
3
3
  import { useI18n as _e } from "@feedmepos/mf-common";
4
4
  import { useSnackbar as be, components as xe } from "@feedmepos/ui-library";
5
- import { S as De } from "./SelectFilter-D9T0nFvG.js";
6
- import { _ as Se, a as Ve } from "./app-n6d4AmtP.js";
5
+ import { S as De } from "./SelectFilter-Dr9lB6Ta.js";
6
+ import { _ as Se, a as Ve } from "./app-BHQJX4L4.js";
7
7
  import { _ as ke } from "./TableEmptyState.vue_vue_type_script_setup_true_lang-IfAZmWr0.js";
8
- import { u as Ce } from "./useLoading-iPESFb6R.js";
9
- import { g as Fe, s as Ye } from "./iteration-y_jodvfN.js";
8
+ import { u as Ce } from "./useLoading-oHRj4RgU.js";
9
+ import { g as Fe, s as Ye } from "./iteration-DBHifssn.js";
10
10
  import { f as Le } from "./utils-BZkjJbju.js";
11
11
  import { n as Me } from "./string-DZQ1uNjn.js";
12
- import { u as Te } from "./employee-BlfleiCU.js";
13
- import { u as Ie } from "./restaurant-Dl6yx37M.js";
14
- import { u as Re } from "./TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-BLqgALLe.js";
12
+ import { u as Te } from "./employee-BEwUmdt6.js";
13
+ import { u as Ie } from "./restaurant-2xCb2x26.js";
14
+ import { u as Re } from "./TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-DIQ7kjG8.js";
15
15
  function $e(x, a) {
16
16
  return ["years", "months"].find((S) => {
17
17
  const V = x.startOf(S), p = x.endOf(S);
@@ -1,8 +1,8 @@
1
- import { d as i } from "./dayjs.min-DdNivv4b.js";
1
+ import { d as i } from "./dayjs.min-C4H4diN8.js";
2
2
  import { defineStore as p, storeToRefs as T } from "pinia";
3
3
  import { ref as l } from "vue";
4
- import { b as c, g as y } from "./app-n6d4AmtP.js";
5
- import { s as S } from "./iteration-y_jodvfN.js";
4
+ import { b as c, g as y } from "./app-BHQJX4L4.js";
5
+ import { s as S } from "./iteration-DBHifssn.js";
6
6
  import { i as f, f as g } from "./utils-BZkjJbju.js";
7
7
  const u = {
8
8
  async readTimesheets(t, e) {
@@ -4138,7 +4138,7 @@ const tn = {
4138
4138
  deposit: "Deposit",
4139
4139
  delivery: "Delivery",
4140
4140
  counterRecord: "Counter Record",
4141
- restaurantSetting: "Restaurant Setting",
4141
+ setting: "Setting",
4142
4142
  display: "Display",
4143
4143
  printer: "Printer",
4144
4144
  table: "Table",
@@ -4354,7 +4354,7 @@ const tn = {
4354
4354
  deposit: "เงินมัดจำ",
4355
4355
  delivery: "การจัดส่ง",
4356
4356
  counterRecord: "จัดการรอบการขาย",
4357
- restaurantSetting: "การตั้งค่าร้านอาหาร",
4357
+ setting: "การตั้งค่า",
4358
4358
  display: "จอแสดงผล",
4359
4359
  printer: "เครื่องพิมพ์",
4360
4360
  table: "โต๊ะ",
@@ -4569,7 +4569,7 @@ const tn = {
4569
4569
  deposit: "押金",
4570
4570
  delivery: "外卖",
4571
4571
  counterRecord: "收银记录",
4572
- restaurantSetting: "餐厅设置",
4572
+ setting: "设置",
4573
4573
  display: "显示屏",
4574
4574
  printer: "打印机",
4575
4575
  table: "桌台",
@@ -4785,7 +4785,7 @@ const tn = {
4785
4785
  deposit: "押金",
4786
4786
  delivery: "外賣",
4787
4787
  counterRecord: "收銀記錄",
4788
- restaurantSetting: "餐廳設置",
4788
+ setting: "設置",
4789
4789
  display: "顯示屏",
4790
4790
  printer: "打印機",
4791
4791
  table: "桌台",
@@ -14523,7 +14523,7 @@ Max 5 days / week`,
14523
14523
  "th-TH": Xd,
14524
14524
  "zh-Hant": Jd
14525
14525
  };
14526
- var U = /* @__PURE__ */ ((e) => (e.Order = "order", e.Refund = "refund", e.Drawer = "drawer", e.Menu = "menu", e.Inventory = "inventory", e.Deposit = "deposit", e.Delivery = "delivery", e.CounterRecord = "counterRecord", e.Counter = "counter", e.RestaurantSetting = "restaurantSetting", e.Display = "display", e.Printer = "printer", e.Table = "table", e.Employee = "employee", e.System = "system", e.Tax = "tax", e.PaymentType = "paymentType", e.FaceId = "faceId", e.MallIntegration = "mallIntegration", e.Report = "report", e))(U || {}), st = /* @__PURE__ */ ((e) => (e.Discount = "discount", e.Payment = "payment", e.ClaimDeposit = "claimDeposit", e.ChangePrice = "changePrice", e.Void = "void_", e.WaiveServiceCharge = "waiveServiceCharge", e.Resend = "resend", e.ChangePaymentType = "changePaymentType", e))(st || {}), L = /* @__PURE__ */ ((e) => (e.manage = "manage", e.create = "create", e.read = "read", e.update = "update", e.delete = "delete", e))(L || {}), ge = /* @__PURE__ */ ((e) => (e.Closeup = "closeup", e.Counter = "counter", e.HourlySales = "hourlySales", e.DailySales = "dailySales", e.ProductSales = "productSales", e.SourceProductSales = "sourceProductSales", e.UserProductSales = "userProductSales", e.CategorySales = "categorySales", e.AddonSales = "addonSales", e.SlotSales = "slotSales", e.Drawer = "drawer", e.Discount = "discount", e.Refund = "refund", e.Void = "void_", e.Timesheet = "timesheet", e.CounterPayment = "counterPayment", e))(ge || {});
14526
+ var U = /* @__PURE__ */ ((e) => (e.Order = "order", e.Refund = "refund", e.Drawer = "drawer", e.Menu = "menu", e.Inventory = "inventory", e.Deposit = "deposit", e.Delivery = "delivery", e.CounterRecord = "counterRecord", e.Counter = "counter", e.Setting = "setting", e.Display = "display", e.Printer = "printer", e.Table = "table", e.Employee = "employee", e.System = "system", e.Tax = "tax", e.PaymentType = "paymentType", e.FaceId = "faceId", e.MallIntegration = "mallIntegration", e.Report = "report", e))(U || {}), st = /* @__PURE__ */ ((e) => (e.Discount = "discount", e.Payment = "payment", e.ClaimDeposit = "claimDeposit", e.ChangePrice = "changePrice", e.Void = "void_", e.WaiveServiceCharge = "waiveServiceCharge", e.Resend = "resend", e.ChangePaymentType = "changePaymentType", e))(st || {}), L = /* @__PURE__ */ ((e) => (e.manage = "manage", e.create = "create", e.read = "read", e.update = "update", e.delete = "delete", e))(L || {}), ge = /* @__PURE__ */ ((e) => (e.Closeup = "closeup", e.Counter = "counter", e.HourlySales = "hourlySales", e.DailySales = "dailySales", e.ProductSales = "productSales", e.SourceProductSales = "sourceProductSales", e.UserProductSales = "userProductSales", e.CategorySales = "categorySales", e.AddonSales = "addonSales", e.SlotSales = "slotSales", e.Drawer = "drawer", e.Discount = "discount", e.Refund = "refund", e.Void = "void_", e.Timesheet = "timesheet", e.CounterPayment = "counterPayment", e))(ge || {});
14527
14527
  const sh = {
14528
14528
  // General
14529
14529
  restaurant: {
@@ -15217,10 +15217,10 @@ const sh = {
15217
15217
  label: "",
15218
15218
  subject: U.Order,
15219
15219
  actions: [L.update],
15220
- // 'void_' (not 'void') — POS saves role/ability data straight to CouchDB, and
15221
- // 'void' is a reserved word in the POS Flutter/Dart client, so the identifier
15222
- // POS actually evaluates against (and sends to the approval-code validate
15223
- // endpoint) is already 'void_'. Keep in sync with approval-code-rules.ts.
15220
+ // 'void_' is hrm's canonical spelling; POS V7 writes and sends 'void' and
15221
+ // role docs carry both. hrm-backend (normalize-void-permissions.ts) and the
15222
+ // Go evaluator (go/casl/normalize.go) normalise 'void' -> 'void_' one-way,
15223
+ // so this row matches either. Keep in sync with approval-code-rules.ts.
15224
15224
  conditions: { operation: st.Void },
15225
15225
  inverted: !1,
15226
15226
  reason: null
@@ -15339,7 +15339,7 @@ const sh = {
15339
15339
  },
15340
15340
  {
15341
15341
  label: "",
15342
- subject: U.RestaurantSetting,
15342
+ subject: U.Setting,
15343
15343
  actions: [L.manage],
15344
15344
  conditions: null,
15345
15345
  inverted: !1,
@@ -15517,9 +15517,9 @@ const sh = {
15517
15517
  label: "",
15518
15518
  subject: U.Report,
15519
15519
  actions: [L.read],
15520
- // 'void_' (not 'void') to match the report-query service's permissionKey and the
15521
- // value already persisted in CouchDB — 'void' is a reserved word in the POS
15522
- // Flutter/Dart client. See pos-role.service.ts / pos-role.helpers.ts.
15520
+ // 'void_' matches the report-query service's permissionKey and hrm-written
15521
+ // role docs; V7-written docs say 'void' and are normalised on read. See
15522
+ // pos-types.ts (PosReportName.Void) and normalize-void-permissions.ts.
15523
15523
  conditions: { name: ge.Void },
15524
15524
  inverted: !1,
15525
15525
  reason: ""
@@ -19614,20 +19614,20 @@ const gt = (e) => ({
19614
19614
  }
19615
19615
  ]
19616
19616
  }
19617
- }), Ap = qt(kt(we(() => import("./Main-BWKb-QIE.js")))), vp = qt(kt(we(() => import("./Main-CVGiOYpC.js")))), bp = qt(
19618
- kt(we(() => import("./AuditLogList-C9C2emU9.js")))
19617
+ }), Ap = qt(kt(we(() => import("./Main-BWRMirTY.js")))), vp = qt(kt(we(() => import("./Main-DXcSgkhR.js")))), bp = qt(
19618
+ kt(we(() => import("./AuditLogList-CvEF4bit.js")))
19619
19619
  ), wp = qt(
19620
- kt(we(() => import("./Main-PBJjfzBg.js")))
19620
+ kt(we(() => import("./Main-Cob4hcf-.js")))
19621
19621
  ), Cp = qt(
19622
- we(() => import("./MyPosProfile-BQCBFMFw.js"))
19623
- ), Sp = we(() => import("./ApprovalCodeList-sHnINTik.js")), Pp = we(() => import("./GrantUserList-LWpqhl-5.js")), Dp = we(() => import("./EmployeeList-D4oy5hXz.js")), Mp = we(() => import("./RoleList-DG0crFzW.js")), kp = we(() => import("./TimesheetList-nxhr0EWj.js")), Op = we(() => import("./TeamMemberList-C970Iqlj.js")), Bp = we(
19624
- () => import("./PermissionSetList-D2qZVlF4.js")
19622
+ we(() => import("./MyPosProfile-Bp7-pATz.js"))
19623
+ ), Sp = we(() => import("./ApprovalCodeList-BPTnWcra.js")), Pp = we(() => import("./GrantUserList-DPj_6Wsg.js")), Dp = we(() => import("./EmployeeList-CANPsrQY.js")), Mp = we(() => import("./RoleList-DsrHgU4s.js")), kp = we(() => import("./TimesheetList-B98l028z.js")), Op = we(() => import("./TeamMemberList-Bu9QNP9W.js")), Bp = we(
19624
+ () => import("./PermissionSetList-DvAW1q0c.js")
19625
19625
  ), Tp = Xs(
19626
- kt(we(() => import("./SchedulePage-ICzggri0.js")))
19626
+ kt(we(() => import("./SchedulePage-9dFXxWwZ.js")))
19627
19627
  ), xp = Xs(
19628
- kt(we(() => import("./SchedulePositionPage-BshUCd_C.js")))
19628
+ kt(we(() => import("./SchedulePositionPage-Dea5X8Sa.js")))
19629
19629
  ), Ep = Xs(
19630
- kt(we(() => import("./ScheduleGeneralPage-C4J6jYtG.js")))
19630
+ kt(we(() => import("./ScheduleGeneralPage-C_Kj9wmp.js")))
19631
19631
  ), Rh = [
19632
19632
  // Landing: waits for menu access, then opens the first page the user can open.
19633
19633
  // Declared before the Employee parent (same path) so it wins the exact '/' match.
@@ -20738,7 +20738,7 @@ const Nh = /* @__PURE__ */ nt({
20738
20738
  };
20739
20739
  }
20740
20740
  });
20741
- var fs = { name: "@feedmepos/mf-hrm-portal", version: "2.3.2-dev.2", mode: "fmmf" };
20741
+ var fs = { name: "@feedmepos/mf-hrm-portal", version: "2.3.2-dev.4", mode: "fmmf" };
20742
20742
  console.log(
20743
20743
  `%c${fs.name}%c v${fs.version} %c${fs.mode}`,
20744
20744
  "background:#1f1f1f;color:#fff;padding:2px 6px;border-radius:3px 0 0 3px",
package/dist/app.js CHANGED
@@ -1,4 +1,4 @@
1
- import { H as e, F as o, I as p } from "./app-n6d4AmtP.js";
1
+ import { H as e, F as o, I as p } from "./app-BHQJX4L4.js";
2
2
  export {
3
3
  e as FmApp,
4
4
  o as i18nMessages,
@@ -1,6 +1,6 @@
1
1
  import { defineStore as C } from "pinia";
2
2
  import { ref as l } from "vue";
3
- import { g as p, b as s } from "./app-n6d4AmtP.js";
3
+ import { g as p, b as s } from "./app-BHQJX4L4.js";
4
4
  const n = {
5
5
  async getApprovalCodes() {
6
6
  return p(await s("approval-codes").get(""));
@@ -1,4 +1,4 @@
1
- import { y as Q, x as K } from "./app-n6d4AmtP.js";
1
+ import { y as Q, x as K } from "./app-BHQJX4L4.js";
2
2
  var E = { exports: {} };
3
3
  (function(V, X) {
4
4
  (function(W, x) {
@@ -1,11 +1,11 @@
1
- import { d as g } from "./dayjs.min-DdNivv4b.js";
1
+ import { d as g } from "./dayjs.min-C4H4diN8.js";
2
2
  import { defineStore as $, storeToRefs as x } from "pinia";
3
3
  import { ref as y } from "vue";
4
- import { s as E } from "./iteration-y_jodvfN.js";
5
- import { b as l, g as m } from "./app-n6d4AmtP.js";
4
+ import { s as E } from "./iteration-DBHifssn.js";
5
+ import { b as l, g as m } from "./app-BHQJX4L4.js";
6
6
  import { i as v } from "./utils-BZkjJbju.js";
7
- import { u as P } from "./role-DfZi7Ssk.js";
8
- import { u as I } from "./restaurant-Dl6yx37M.js";
7
+ import { u as P } from "./role-C8STcmLJ.js";
8
+ import { u as I } from "./restaurant-2xCb2x26.js";
9
9
  const o = {
10
10
  async readEmployees() {
11
11
  return m(await l().get("/pos-users"));
@@ -1,6 +1,6 @@
1
1
  import { defineStore as f } from "pinia";
2
2
  import { ref as u } from "vue";
3
- import { g as s, h as v, b as o } from "./app-n6d4AmtP.js";
3
+ import { g as s, h as v, b as o } from "./app-BHQJX4L4.js";
4
4
  const c = {
5
5
  async getGrantUsers() {
6
6
  return s(await o("grant").get(""));
@@ -1,4 +1,4 @@
1
- import { x as B } from "./app-n6d4AmtP.js";
1
+ import { x as B } from "./app-BHQJX4L4.js";
2
2
  var ma = {}, Zt = {}, l = {}, ji = {}, Ei = {}, Ii = {}, Dn = {};
3
3
  (function(e) {
4
4
  Object.defineProperty(e, "__esModule", { value: !0 }), e.getParsedType = e.ZodParsedType = e.util = void 0;
@@ -1,4 +1,4 @@
1
- import { x as jt } from "./app-n6d4AmtP.js";
1
+ import { x as jt } from "./app-BHQJX4L4.js";
2
2
  var Jr = { exports: {} };
3
3
  /**
4
4
  * @license
@@ -1,5 +1,5 @@
1
- import { m as i, s as u } from "./app-n6d4AmtP.js";
2
- import { n as a, l as m, q as l, o as d, m as p } from "./rule-ChmhcGgA.js";
1
+ import { m as i, s as u } from "./app-BHQJX4L4.js";
2
+ import { n as a, l as m, q as l, o as d, m as p } from "./rule-BkL34-Ma.js";
3
3
  const f = [
4
4
  i.Subject.Business.restaurant,
5
5
  i.Subject.Business.role,
@@ -1,7 +1,7 @@
1
1
  import { defineStore as p, storeToRefs as m } from "pinia";
2
2
  import { ref as o } from "vue";
3
3
  import { useCoreStore as R } from "@feedmepos/mf-common";
4
- import { b as d, g } from "./app-n6d4AmtP.js";
4
+ import { b as d, g } from "./app-BHQJX4L4.js";
5
5
  const y = {
6
6
  async readRestaurants() {
7
7
  return g(await d().get("/hr-restaurants"));
@@ -1,9 +1,9 @@
1
1
  import { defineStore as x, storeToRefs as b } from "pinia";
2
2
  import { ref as w } from "vue";
3
3
  import { useCoreStore as B } from "@feedmepos/mf-common";
4
- import { s as v } from "./iteration-y_jodvfN.js";
5
- import { g as f, b as p } from "./app-n6d4AmtP.js";
6
- import { u as I } from "./restaurant-Dl6yx37M.js";
4
+ import { s as v } from "./iteration-DBHifssn.js";
5
+ import { g as f, b as p } from "./app-BHQJX4L4.js";
6
+ import { u as I } from "./restaurant-2xCb2x26.js";
7
7
  const R = {
8
8
  async readRoles() {
9
9
  return f(await p().get("/pos-roles"));
@@ -1,10 +1,10 @@
1
- import { s as W, c as q, e as y } from "./iteration-y_jodvfN.js";
2
- import { g, b as v, z as O, q as z, m as _, C as F, v as x, E as S, O as ee, D as B } from "./app-n6d4AmtP.js";
1
+ import { s as W, c as q, e as y } from "./iteration-DBHifssn.js";
2
+ import { g, b as v, z as O, q as z, m as _, C as F, v as x, E as S, O as ee, D as B } from "./app-BHQJX4L4.js";
3
3
  import { s as se } from "./utils-BZkjJbju.js";
4
4
  import { defineStore as V, storeToRefs as K } from "pinia";
5
5
  import { ref as h, computed as J } from "vue";
6
6
  import { useCoreStore as X } from "@feedmepos/mf-common";
7
- import { u as te } from "./restaurant-Dl6yx37M.js";
7
+ import { u as te } from "./restaurant-2xCb2x26.js";
8
8
  const E = "/permission-sets", N = {
9
9
  async read() {
10
10
  return g(await v().get(E));
@@ -134,7 +134,7 @@ export declare const i18nMessages: {
134
134
  deposit: string;
135
135
  delivery: string;
136
136
  counterRecord: string;
137
- restaurantSetting: string;
137
+ setting: string;
138
138
  display: string;
139
139
  printer: string;
140
140
  table: string;
@@ -347,7 +347,7 @@ export declare const i18nMessages: {
347
347
  deposit: string;
348
348
  delivery: string;
349
349
  counterRecord: string;
350
- restaurantSetting: string;
350
+ setting: string;
351
351
  display: string;
352
352
  printer: string;
353
353
  table: string;
@@ -560,7 +560,7 @@ export declare const i18nMessages: {
560
560
  deposit: string;
561
561
  delivery: string;
562
562
  counterRecord: string;
563
- restaurantSetting: string;
563
+ setting: string;
564
564
  display: string;
565
565
  printer: string;
566
566
  table: string;
@@ -772,7 +772,7 @@ export declare const i18nMessages: {
772
772
  deposit: string;
773
773
  delivery: string;
774
774
  counterRecord: string;
775
- restaurantSetting: string;
775
+ setting: string;
776
776
  display: string;
777
777
  printer: string;
778
778
  table: string;