@feedmepos/mf-hrm-portal 2.3.0-dev.12 → 2.3.0-dev.13

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 (32) hide show
  1. package/dist/{ApprovalCodeList--NA0toYU.js → ApprovalCodeList-D3egZFML.js} +2 -2
  2. package/dist/{AuditLogList-B-NaB6OX.js → AuditLogList-BzbaEsSj.js} +3 -3
  3. package/dist/{ConditionBuilderForm.vue_vue_type_script_setup_true_lang-AEr2bDPY.js → ConditionBuilderForm.vue_vue_type_script_setup_true_lang-Do52KbKm.js} +2 -2
  4. package/dist/{EmployeeList-idO38m7y.js → EmployeeList-BiM8dRwZ.js} +4 -4
  5. package/dist/{GrantUserList-B1S7yDKu.js → GrantUserList-Dj2ms20E.js} +3 -3
  6. package/dist/{Main-mcCvBPvJ.js → Main-C2z7Jf9A.js} +5 -5
  7. package/dist/{Main-cdf9NV8P.js → Main-DklZWoKj.js} +2 -2
  8. package/dist/{Main-D5cWrqP3.js → Main-DmpwTPaI.js} +9 -9
  9. package/dist/{PermissionSetList-3_f6sJpK.js → PermissionSetList-C-qgCcRO.js} +5 -5
  10. package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-Cmin3rlY.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-ggZB5zWW.js} +982 -982
  11. package/dist/{RoleList-ByQelhuG.js → RoleList-ohfin77B.js} +7 -7
  12. package/dist/{ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-e4YOu59G.js → ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-diuWysro.js} +1 -1
  13. package/dist/{ScheduleGeneralPage-TKWgkAoE.js → ScheduleGeneralPage-aCljFf21.js} +4 -4
  14. package/dist/{ScheduleModal.vue_vue_type_script_setup_true_lang-6bTAsmpp.js → ScheduleModal.vue_vue_type_script_setup_true_lang-x_-BYkcc.js} +3 -3
  15. package/dist/{SchedulePage-BpvgQYqL.js → SchedulePage-DdMHF6kX.js} +1234 -1226
  16. package/dist/{SchedulePositionPage-BjvKTHyY.js → SchedulePositionPage-CID91orD.js} +3 -3
  17. package/dist/{TeamMemberList-CJzF0wNK.js → TeamMemberList-DJIKL4dE.js} +6 -6
  18. package/dist/{TimesheetList-CJcSs_B1.js → TimesheetList-BPXWPNfT.js} +5 -5
  19. package/dist/{TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-zttvxhi-.js → TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-DVcV0knM.js} +2 -2
  20. package/dist/{app-DLiYhsK2.js → app-Bz8568j8.js} +127 -97
  21. package/dist/app.js +1 -1
  22. package/dist/{dayjs.min-ar-wg1yi.js → dayjs.min-DhSRKSu4.js} +1 -1
  23. package/dist/{employee-CmUfaF0i.js → employee-BM44u8b-.js} +3 -3
  24. package/dist/{iteration-uWvyRKkX.js → iteration-BHDxs89d.js} +1 -1
  25. package/dist/{lodash-BzVEbSHJ.js → lodash-DgSYLwYD.js} +1 -1
  26. package/dist/{role-R2KDFlIY.js → role-BMJ7LEHN.js} +1 -1
  27. package/dist/{rule-C6ELRd3E.js → rule-CCo7_ckA.js} +2 -2
  28. package/dist/src/views/scheduling/composables/remyPrompt.d.ts +4 -2
  29. package/dist/src/views/scheduling/composables/useScheduleOutlet.d.ts +1 -1
  30. package/dist/tsconfig.app.tsbuildinfo +1 -1
  31. package/dist/{useReportPermissions-B2U347Ey.js → useReportPermissions-C_Cd__n1.js} +3 -3
  32. package/package.json +3 -3
@@ -1,16 +1,16 @@
1
1
  import { computed as y, defineComponent as Pe, ref as V, watch as le, onMounted as Me, resolveComponent as F, createBlock as M, openBlock as v, unref as o, withCtx as g, createElementVNode as u, createVNode as c, createElementBlock as R, Fragment as P, createCommentVNode as _e, renderList as ne, normalizeClass as Ue, toDisplayString as $, h as A, createTextVNode as ge, resolveDynamicComponent as Ee, withModifiers as Ze, nextTick as De } from "vue";
2
- import { e as D } from "./iteration-uWvyRKkX.js";
2
+ import { e as D } from "./iteration-BHDxs89d.js";
3
3
  import { useI18n as Te } from "@feedmepos/mf-common";
4
4
  import { useBreakpoints as Be, useSnackbar as je, components as ye, useDialog as es, FmButtonColorThemeVariant as ss } from "@feedmepos/ui-library";
5
- import { D as ts, k as as, A as ls, S as os, _ as rs } from "./app-DLiYhsK2.js";
5
+ import { D as ts, k as as, A as ls, S as os, _ as rs } from "./app-Bz8568j8.js";
6
6
  import { _ as $e } from "./ResponsiveContextMenu.vue_vue_type_script_setup_true_lang-mSJFKo7r.js";
7
7
  import { _ as ns } from "./TableEmptyState.vue_vue_type_script_setup_true_lang-IfAZmWr0.js";
8
- import { r as ie, h as Ae, f as is, s as us, g as Ie, e as cs, a as oe } from "./rule-C6ELRd3E.js";
8
+ import { r as ie, h as Ae, f as is, s as us, g as Ie, e as cs, a as oe } from "./rule-CCo7_ckA.js";
9
9
  import { u as xe } from "./restaurant-BbYRA_IT.js";
10
- import { u as Oe } from "./role-R2KDFlIY.js";
11
- import { u as Ne } from "./useReportPermissions-B2U347Ey.js";
12
- import { l as re } from "./lodash-BzVEbSHJ.js";
13
- import { u as ms, _ as ds, a as Le } from "./ConditionBuilderForm.vue_vue_type_script_setup_true_lang-AEr2bDPY.js";
10
+ import { u as Oe } from "./role-BMJ7LEHN.js";
11
+ import { u as Ne } from "./useReportPermissions-C_Cd__n1.js";
12
+ import { l as re } from "./lodash-DgSYLwYD.js";
13
+ import { u as ms, _ as ds, a as Le } from "./ConditionBuilderForm.vue_vue_type_script_setup_true_lang-Do52KbKm.js";
14
14
  import { _ as be } from "./FormSection.vue_vue_type_script_setup_true_lang-DknXTYiK.js";
15
15
  import { u as ps } from "./useDiscardConfirm-CzZSPyvh.js";
16
16
  import { u as fs } from "./useLoading-Ch1AUYT1.js";
@@ -1,5 +1,5 @@
1
1
  import { ref as h, watch as ke, computed as S, reactive as Ie, nextTick as be, defineComponent as Pe, createBlock as Q, openBlock as I, withCtx as C, createElementVNode as n, createVNode as K, toDisplayString as f, unref as q, createElementBlock as N, withDirectives as ne, withKeys as we, vModelText as se, normalizeClass as oe, createTextVNode as M, createCommentVNode as G, Fragment as ie, renderList as Ne } from "vue";
2
- import { ar as X, au as $e, av as ue, f as R, aw as pe, ax as Ce, F as W, p as H, aq as Se, ao as O } from "./ScheduleModal.vue_vue_type_script_setup_true_lang-6bTAsmpp.js";
2
+ import { ar as X, au as $e, av as ue, f as R, aw as pe, ax as Ce, F as W, p as H, aq as Se, ao as O } from "./ScheduleModal.vue_vue_type_script_setup_true_lang-x_-BYkcc.js";
3
3
  import { useI18n as Ae } from "@feedmepos/mf-common";
4
4
  function de() {
5
5
  return X.map((e) => ({ id: e.id, name: e.name }));
@@ -1,11 +1,11 @@
1
1
  import { ref as w, reactive as W, computed as E, defineComponent as T, createBlock as I, openBlock as p, withCtx as b, createElementVNode as e, createVNode as k, createElementBlock as m, Fragment as L, createTextVNode as H, toDisplayString as h, withDirectives as f, vModelText as g, createCommentVNode as N, renderList as V, onMounted as B, unref as l, normalizeClass as U } from "vue";
2
2
  import { useRouter as z } from "vue-router";
3
3
  import { useSnackbar as Y } from "@feedmepos/ui-library";
4
- import { R as q } from "./app-DLiYhsK2.js";
5
- import { b as v, o as M, M as A, g as G, aq as F, ao as x, as as j, at as J, ab as K, ap as Q } from "./ScheduleModal.vue_vue_type_script_setup_true_lang-6bTAsmpp.js";
6
- import "./iteration-uWvyRKkX.js";
4
+ import { R as q } from "./app-Bz8568j8.js";
5
+ import { b as v, o as M, M as A, g as G, aq as F, ao as x, as as j, at as J, ab as K, ap as Q } from "./ScheduleModal.vue_vue_type_script_setup_true_lang-x_-BYkcc.js";
6
+ import "./iteration-BHDxs89d.js";
7
7
  import { useCoreStore as X } from "@feedmepos/mf-common";
8
- import "./employee-CmUfaF0i.js";
8
+ import "./employee-BM44u8b-.js";
9
9
  const Z = [
10
10
  { key: "payrates", label: "Pay rates" },
11
11
  { key: "overtime", label: "Overtime" },
@@ -2,7 +2,7 @@ import { onMounted as Se, onBeforeUnmount as Le, ref as A, reactive as R, shallo
2
2
  import { useRoute as ga, useRouter as Da } from "vue-router";
3
3
  import { useCoreStore as Ve } from "@feedmepos/mf-common";
4
4
  import { g as v, b as f, u as wa } from "./restaurant-BbYRA_IT.js";
5
- import { E as Pe, u as Ke } from "./employee-CmUfaF0i.js";
5
+ import { E as Pe, u as Ke } from "./employee-BM44u8b-.js";
6
6
  function zn(e) {
7
7
  let a = null;
8
8
  function t() {
@@ -1842,7 +1842,7 @@ function $o() {
1842
1842
  }
1843
1843
  function Yo() {
1844
1844
  const e = Ve(), { restaurants: a, readRestaurants: t } = wa(), n = ga(), i = Da(), s = A(!1), l = $(
1845
- () => [...a.value].map((p) => ({ value: p._id, label: p.profile.name })).sort((p, H) => p.label.localeCompare(H.label))
1845
+ () => a.value.filter((p) => p.managable).map((p) => ({ value: p._id, label: p.profile.name })).sort((p, H) => p.label.localeCompare(H.label))
1846
1846
  ), o = () => {
1847
1847
  var p;
1848
1848
  return `hrm-schedule-outlet:${((p = e.currentBusiness.value) == null ? void 0 : p._id) ?? ""}`;
@@ -1856,7 +1856,7 @@ function Yo() {
1856
1856
  const E = (p) => !!p && l.value.some((H) => H.value === p);
1857
1857
  async function T() {
1858
1858
  var L;
1859
- await t(), xe.splice(0, xe.length, ...l.value.map((I) => I.label)), Object.keys(ne).forEach((I) => delete ne[I]), l.value.forEach((I) => ne[I.value] = I.label);
1859
+ await t(), xe.splice(0, xe.length, ...l.value.map((I) => I.label)), Object.keys(ne).forEach((I) => delete ne[I]), a.value.forEach((I) => ne[I._id] = I.profile.name);
1860
1860
  const p = localStorage.getItem(o()) ?? "", H = [m.value, p, u.value].find(E) ?? ((L = l.value[0]) == null ? void 0 : L.value) ?? "";
1861
1861
  return H && Be(H), s.value = !0, H;
1862
1862
  }