@feedmepos/mf-hrm-portal 2.3.0-dev.14 → 2.3.0-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 (60) hide show
  1. package/dist/{ApprovalCodeList-C9dauQ81.js → ApprovalCodeList-CY0ox1dX.js} +4 -4
  2. package/dist/{AuditLogList-zW_N_ECT.js → AuditLogList-CBkA-KQT.js} +4 -4
  3. package/dist/{ConditionBuilderForm.vue_vue_type_script_setup_true_lang-DJuO1qPX.js → ConditionBuilderForm.vue_vue_type_script_setup_true_lang-B8cb8yqV.js} +2 -2
  4. package/dist/{EmployeeList-8jkHTd7q.js → EmployeeList-0PrcuHPJ.js} +6 -6
  5. package/dist/{FormItem.vue_vue_type_script_setup_true_lang-CJc_g0tW.js → FormItem.vue_vue_type_script_setup_true_lang-rjDE1B4E.js} +1 -1
  6. package/dist/{GrantUserList-Dj55GA7O.js → GrantUserList-Dw923P2j.js} +5 -5
  7. package/dist/{Main-BQNkTyET.js → Main-BqX7n1ik.js} +9 -9
  8. package/dist/{Main-0TfvGJ4N.js → Main-C0bcn2NY.js} +5 -5
  9. package/dist/{Main-CuUG6svQ.js → Main-Dpf2KdSH.js} +2 -2
  10. package/dist/{PermissionSetList-BsLi-TOK.js → PermissionSetList-xrI130SW.js} +5 -5
  11. package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-C2l8nWx2.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-3_8qycrF.js} +1087 -1087
  12. package/dist/{RoleList-DLDcyVWT.js → RoleList-DPkG5dg9.js} +7 -7
  13. package/dist/{ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-CUXUPfRc.js → ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-DYLLW46A.js} +111 -111
  14. package/dist/{ScheduleGeneralPage-BhYI6O9g.js → ScheduleGeneralPage-CISbuAff.js} +86 -87
  15. package/dist/{ScheduleModal.vue_vue_type_script_setup_true_lang-BLBLBtNG.js → ScheduleModal.vue_vue_type_script_setup_true_lang-BeTuMw3f.js} +931 -823
  16. package/dist/SchedulePage-Dn6_TiBS.js +18757 -0
  17. package/dist/{SchedulePositionPage-Byt6nmUj.js → SchedulePositionPage-Cu3WRfH-.js} +16 -16
  18. package/dist/{SelectFilter-1fh00OZW.js → SelectFilter-ssnRUIN6.js} +1 -1
  19. package/dist/{TeamMemberList-CyUX8Afk.js → TeamMemberList-DTqNCDJb.js} +7 -7
  20. package/dist/{TimesheetList-Q4FeNgOT.js → TimesheetList-CA19TmKm.js} +6 -6
  21. package/dist/{TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-C3iU4Zmc.js → TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-B1jnsZpD.js} +2 -2
  22. package/dist/{app-TuHQoM7K.js → app-3xGY2Rn0.js} +1535 -1283
  23. package/dist/app.js +1 -1
  24. package/dist/{dayjs.min-DXnA8GYn.js → dayjs.min-C_c8OoEU.js} +1 -1
  25. package/dist/{employee-Ctnil3cD.js → employee-Dt0y51t3.js} +3 -3
  26. package/dist/{iteration-BxOzv27y.js → iteration-C4YvbrCe.js} +1 -1
  27. package/dist/{lodash-CKT_RxJs.js → lodash-huRs3Cbj.js} +1 -1
  28. package/dist/{role-CNEJPyaD.js → role-fM58UmtC.js} +1 -1
  29. package/dist/{rule-FbuHv6Gh.js → rule-CCN0QCPF.js} +2 -2
  30. package/dist/src/views/audit-log/locales/index.d.ts +252 -0
  31. package/dist/src/views/scheduling/components/ScheduleAreaRows.vue.d.ts +2 -0
  32. package/dist/src/views/scheduling/components/ScheduleBoardAreaRows.vue.d.ts +1 -0
  33. package/dist/src/views/scheduling/components/ScheduleOnboardingSettings.vue.d.ts +6 -0
  34. package/dist/src/views/scheduling/composables/schedule-demand-domain.d.ts +13 -1
  35. package/dist/src/views/scheduling/composables/schedule-error.d.ts +3 -0
  36. package/dist/src/views/scheduling/composables/schedule-quick-pick.d.ts +22 -0
  37. package/dist/src/views/scheduling/composables/useScheduleAddEmployee.d.ts +5 -2
  38. package/dist/src/views/scheduling/composables/useScheduleAddPick.d.ts +3 -11
  39. package/dist/src/views/scheduling/composables/useScheduleAutoSchedule.d.ts +7 -0
  40. package/dist/src/views/scheduling/composables/useScheduleBoard.d.ts +45 -1
  41. package/dist/src/views/scheduling/composables/useScheduleCostRail.d.ts +10 -0
  42. package/dist/src/views/scheduling/composables/useScheduleDayTimeline.d.ts +2 -2
  43. package/dist/src/views/scheduling/composables/useScheduleDragDrop.d.ts +1 -0
  44. package/dist/src/views/scheduling/composables/useScheduleEmployeeAccess.d.ts +14 -6
  45. package/dist/src/views/scheduling/composables/useScheduleEmployeeCandidates.d.ts +3 -0
  46. package/dist/src/views/scheduling/composables/useScheduleEmployeeValidation.d.ts +0 -2
  47. package/dist/src/views/scheduling/composables/useScheduleOnboardingEmployees.d.ts +23 -0
  48. package/dist/src/views/scheduling/composables/useScheduleOnboardingWizard.d.ts +160 -3
  49. package/dist/src/views/scheduling/composables/useScheduleRoster.d.ts +44 -0
  50. package/dist/src/views/scheduling/composables/useScheduleSetupBanner.d.ts +2 -2
  51. package/dist/src/views/scheduling/composables/useScheduleShiftActions.d.ts +22 -0
  52. package/dist/src/views/scheduling/composables/useScheduleShiftPopover.d.ts +26 -2
  53. package/dist/src/views/scheduling/country-rules/index.d.ts +8 -3
  54. package/dist/src/views/scheduling/schedule-store.d.ts +7 -7
  55. package/dist/src/views/scheduling/types.d.ts +5 -0
  56. package/dist/style.css +1 -1
  57. package/dist/tsconfig.app.tsbuildinfo +1 -1
  58. package/dist/{useReportPermissions-lemBrd1S.js → useReportPermissions-BlX_Mk5f.js} +3 -3
  59. package/package.json +1 -1
  60. package/dist/SchedulePage-DPU4taJt.js +0 -18041
@@ -1,9 +1,9 @@
1
- import { defineComponent as M, ref as A, onMounted as S, computed as x, createElementBlock as i, openBlock as l, createElementVNode as o, createVNode as n, createStaticVNode as z, withCtx as d, unref as s, toDisplayString as c, createTextVNode as r, normalizeClass as b, createCommentVNode as E, withDirectives as P, withKeys as k, vModelText as V, Fragment as _, renderList as F, withModifiers as g } from "vue";
1
+ import { defineComponent as M, ref as A, onMounted as S, computed as x, createElementBlock as i, openBlock as l, createElementVNode as o, createVNode as n, createStaticVNode as z, withCtx as d, unref as s, toDisplayString as c, createTextVNode as r, normalizeClass as h, createCommentVNode as E, withDirectives as P, withKeys as k, vModelText as V, Fragment as w, renderList as F, withModifiers as g } from "vue";
2
2
  import { useRouter as B } from "vue-router";
3
3
  import { useSnackbar as I } from "@feedmepos/ui-library";
4
- import { R as L, a as O } from "./app-TuHQoM7K.js";
5
- import { au as R, av as K, ad as T, aq as u, ar as U } from "./ScheduleModal.vue_vue_type_script_setup_true_lang-BLBLBtNG.js";
6
- import { u as W, a as j, _ as q } from "./ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-CUXUPfRc.js";
4
+ import { R as L, a as O } from "./app-3xGY2Rn0.js";
5
+ import { av as R, aw as K, ag as T, ar as u, as as U } from "./ScheduleModal.vue_vue_type_script_setup_true_lang-BeTuMw3f.js";
6
+ import { u as W, a as j, _ as q } from "./ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-DYLLW46A.js";
7
7
  const H = { class: "main" }, G = {
8
8
  id: "viewPositions",
9
9
  class: "view"
@@ -22,9 +22,9 @@ const H = { class: "main" }, G = {
22
22
  }, ce = { class: "q" }, ve = /* @__PURE__ */ M({
23
23
  __name: "SchedulePositionPage",
24
24
  setup(fe) {
25
- const h = A(null);
26
- R(h);
27
- const w = B(), C = I(), y = (p, e = "info") => C.open({ message: p, type: e }), t = W({ notify: y }), v = K(), f = j(void 0, { notify: y });
25
+ const y = A(null);
26
+ R(y);
27
+ const _ = B(), C = I(), b = (p, e = "info") => C.open({ message: p, type: e }), t = W({ notify: b }), v = K(), f = j(void 0, { notify: b });
28
28
  S(async () => {
29
29
  await v.resolve() && await T(/* @__PURE__ */ new Date());
30
30
  });
@@ -35,11 +35,11 @@ const H = { class: "main" }, G = {
35
35
  v.switchTo(p, /* @__PURE__ */ new Date());
36
36
  }
37
37
  function N() {
38
- w.push({ name: L.SCHEDULE });
38
+ _.push({ name: L.SCHEDULE });
39
39
  }
40
40
  return (p, e) => (l(), i("div", {
41
41
  ref_key: "rootEl",
42
- ref: h,
42
+ ref: y,
43
43
  class: "sch"
44
44
  }, [
45
45
  o("div", H, [
@@ -72,7 +72,7 @@ const H = { class: "main" }, G = {
72
72
  ])]),
73
73
  _: 1
74
74
  }),
75
- e[9] || (e[9] = z('<div class="sp-title-row" data-v-44eafb8f><div class="sp-title" data-v-44eafb8f>Position</div><span class="page-tags" data-v-44eafb8f><span class="sch-badge page-tag-premium" data-color="brand" data-v-44eafb8f>Premium</span><span class="sch-badge" data-color="info" data-v-44eafb8f>Free until 31 Dec 2026</span></span></div><div class="sp-sub" data-v-44eafb8f>What your staff can do — the same catalogue across every outlet.</div>', 2)),
75
+ e[9] || (e[9] = z('<div class="sp-title-row" data-v-9fa5fc95><div class="sp-title" data-v-9fa5fc95>Position</div><span class="page-tags" data-v-9fa5fc95><span class="sch-badge page-tag-premium" data-color="brand" data-v-9fa5fc95>Premium</span><span class="sch-badge" data-color="info" data-v-9fa5fc95>Free until 31 Dec 2026</span></span></div><div class="sp-sub" data-v-9fa5fc95>What your employees can do — the same catalogue across every outlet.</div>', 2)),
76
76
  o("div", Q, [
77
77
  e[8] || (e[8] = o("span", { class: "outlet-bar-lbl" }, "Outlet", -1)),
78
78
  n(U, {
@@ -107,7 +107,7 @@ const H = { class: "main" }, G = {
107
107
  })
108
108
  ]),
109
109
  o("div", {
110
- class: b(["ce-err", { show: s(t).error.value }])
110
+ class: h(["ce-err", { show: s(t).error.value }])
111
111
  }, c(s(t).error.value), 3),
112
112
  o("div", te, [
113
113
  !s(t).positions.value.length && !s(t).isAdding.value ? (l(), i("div", oe, [...e[13] || (e[13] = [
@@ -158,9 +158,9 @@ const H = { class: "main" }, G = {
158
158
  _: 1
159
159
  }, 8, ["disabled"])
160
160
  ])) : E("", !0),
161
- (l(!0), i(_, null, F(s(t).positions.value, (a) => (l(), i("div", {
161
+ (l(!0), i(w, null, F(s(t).positions.value, (a) => (l(), i("div", {
162
162
  key: a.id,
163
- class: b(["cfg-row", { "is-clickable": s(t).pendingDeleteId.value !== a.id }]),
163
+ class: h(["cfg-row", { "is-clickable": s(t).pendingDeleteId.value !== a.id }]),
164
164
  onClick: (m) => s(t).pendingDeleteId.value !== a.id && s(f).openEdit(a.id, a.name)
165
165
  }, [
166
166
  o("div", de, [
@@ -194,9 +194,9 @@ const H = { class: "main" }, G = {
194
194
  ])]),
195
195
  _: 1
196
196
  }, 8, ["disabled"])
197
- ])) : (l(), i(_, { key: 1 }, [
197
+ ])) : (l(), i(w, { key: 1 }, [
198
198
  o("span", {
199
- class: b(["cfg-used", { none: !s(t).usageCountFor(a.id) }])
199
+ class: h(["cfg-used", { none: !s(t).usageCountFor(a.id) }])
200
200
  }, c(s(t).usageCountFor(a.id) ? `${s(t).usageCountFor(a.id)} staff` : "unused"), 3),
201
201
  n(u, {
202
202
  hierarchy: "secondary",
@@ -256,7 +256,7 @@ const H = { class: "main" }, G = {
256
256
  n(q, { modal: s(f) }, null, 8, ["modal"])
257
257
  ], 512));
258
258
  }
259
- }), ke = /* @__PURE__ */ O(ve, [["__scopeId", "data-v-44eafb8f"]]);
259
+ }), ke = /* @__PURE__ */ O(ve, [["__scopeId", "data-v-9fa5fc95"]]);
260
260
  export {
261
261
  ke as default
262
262
  };
@@ -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-TuHQoM7K.js";
4
+ import { a as ae } from "./app-3xGY2Rn0.js";
5
5
  function ue(r, u, _ = r) {
6
6
  const t = $(!0), C = v(() => {
7
7
  if (!t.value && !u.value)
@@ -2,22 +2,22 @@ import { defineComponent as we, resolveComponent as F, createElementBlock as L,
2
2
  import { useI18n as Ve, useCoreStore as Ze } from "@feedmepos/mf-common";
3
3
  import { useSnackbar as Le, useDialog as Qe, useBreakpoints as Ye, components as Oe } from "@feedmepos/ui-library";
4
4
  import { u as ps } from "./useDebounce-B8ZPVS5C.js";
5
- import { S as ye } from "./SelectFilter-1fh00OZW.js";
6
- import { a as vs, v as Te, m as fs, O as bs, _ as hs, b as ys } from "./app-TuHQoM7K.js";
5
+ import { S as ye } from "./SelectFilter-ssnRUIN6.js";
6
+ import { a as vs, v as Te, m as fs, O as bs, _ as hs, b as ys } from "./app-3xGY2Rn0.js";
7
7
  import { _ as gs } from "./ResponsiveContextMenu.vue_vue_type_script_setup_true_lang-mSJFKo7r.js";
8
8
  import { _ as _s } from "./TableEmptyState.vue_vue_type_script_setup_true_lang-IfAZmWr0.js";
9
9
  import { s as Us, _ as Ss, a as xs, b as Fs, c as Ps } from "./PasscodePinField.vue_vue_type_script_setup_true_lang-CqG0v0Sz.js";
10
10
  import { u as He } from "./useLoading-Ch1AUYT1.js";
11
11
  import { u as Is } from "./useDiscardConfirm-CzZSPyvh.js";
12
12
  import { n as es } from "./string-VNuQNweN.js";
13
- import { l as Pe } from "./lodash-CKT_RxJs.js";
14
- import { c as he } from "./iteration-BxOzv27y.js";
15
- import { t as _e, u as ss, c as Ae, b as qe, m as $e, d as ts, p as Ge, i as ws, j as Ke, k as Vs, l as ks, n as Rs, o as Cs, q as $s } from "./rule-FbuHv6Gh.js";
16
- import { u as as } from "./role-CNEJPyaD.js";
13
+ import { l as Pe } from "./lodash-huRs3Cbj.js";
14
+ import { c as he } from "./iteration-C4YvbrCe.js";
15
+ import { t as _e, u as ss, c as Ae, b as qe, m as $e, d as ts, p as Ge, i as ws, j as Ke, k as Vs, l as ks, n as Rs, o as Cs, q as $s } from "./rule-CCN0QCPF.js";
16
+ import { u as as } from "./role-fM58UmtC.js";
17
17
  import { u as ls, i as Ms } from "./PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-BVz6q3HE.js";
18
18
  import "./useAppStore-BoLkvkE2.js";
19
19
  import { g as ze, b as We, u as os } from "./restaurant-BbYRA_IT.js";
20
- import { _ as Ns } from "./PortalPermissionEditor.vue_vue_type_script_setup_true_lang-C2l8nWx2.js";
20
+ import { _ as Ns } from "./PortalPermissionEditor.vue_vue_type_script_setup_true_lang-3_8qycrF.js";
21
21
  var Ue = /* @__PURE__ */ ((o) => (o.Update = "Update", o.Remove = "Remove", o))(Ue || {});
22
22
  const Ie = "__unassigned__";
23
23
  function Je(o) {
@@ -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-DXnA8GYn.js";
2
+ import { d as v } from "./dayjs.min-C_c8OoEU.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-1fh00OZW.js";
6
- import { _ as Se, a as Ve } from "./app-TuHQoM7K.js";
5
+ import { S as De } from "./SelectFilter-ssnRUIN6.js";
6
+ import { _ as Se, a as Ve } from "./app-3xGY2Rn0.js";
7
7
  import { _ as ke } from "./TableEmptyState.vue_vue_type_script_setup_true_lang-IfAZmWr0.js";
8
8
  import { u as Ce } from "./useLoading-Ch1AUYT1.js";
9
- import { g as Fe, s as Ye } from "./iteration-BxOzv27y.js";
9
+ import { g as Fe, s as Ye } from "./iteration-C4YvbrCe.js";
10
10
  import { f as Le } from "./utils-BZkjJbju.js";
11
11
  import { n as Me } from "./string-VNuQNweN.js";
12
- import { u as Te } from "./employee-Ctnil3cD.js";
12
+ import { u as Te } from "./employee-Dt0y51t3.js";
13
13
  import { u as Ie } from "./restaurant-BbYRA_IT.js";
14
- import { u as Re } from "./TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-C3iU4Zmc.js";
14
+ import { u as Re } from "./TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-B1jnsZpD.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-DXnA8GYn.js";
1
+ import { d as i } from "./dayjs.min-C_c8OoEU.js";
2
2
  import { defineStore as p, storeToRefs as T } from "pinia";
3
3
  import { ref as l } from "vue";
4
4
  import { b as c, g as y } from "./restaurant-BbYRA_IT.js";
5
- import { s as S } from "./iteration-BxOzv27y.js";
5
+ import { s as S } from "./iteration-C4YvbrCe.js";
6
6
  import { i as f, f as g } from "./utils-BZkjJbju.js";
7
7
  const u = {
8
8
  async readTimesheets(t, e) {