@feedmepos/mf-hrm-portal 2.3.0-dev.7 → 2.3.0-dev.8

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-J-NC4Z5M.js → ApprovalCodeList-D5E_FN3f.js} +5 -5
  2. package/dist/{AuditLogList-B1Sb8HDk.js → AuditLogList-CqqiS2xW.js} +4 -4
  3. package/dist/{ConditionBuilderForm.vue_vue_type_script_setup_true_lang-BlXgJvsO.js → ConditionBuilderForm.vue_vue_type_script_setup_true_lang-DC_oQTsP.js} +2 -2
  4. package/dist/{EmployeeList-DprCwGC9.js → EmployeeList-ChMlGxmu.js} +6 -6
  5. package/dist/{GrantUserList-BWeZAzUC.js → GrantUserList-DA26W3K3.js} +6 -6
  6. package/dist/{Main-Dna6CkrV.js → Main-B27Qx8R2.js} +8 -8
  7. package/dist/{Main-BZCIlbf3.js → Main-C0gVAR92.js} +5 -5
  8. package/dist/{Main-CGlnX97k.js → Main-m39gMG-a.js} +11 -11
  9. package/dist/{PermissionSetList-DuJjihft.js → PermissionSetList-mdA65jmw.js} +7 -7
  10. package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-RI8tMDoe.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-Dp6bdEZp.js} +1219 -1219
  11. package/dist/{PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-fe-Rdwn4.js → PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-BVz6q3HE.js} +1 -1
  12. package/dist/{RoleList-Jn8EeYqo.js → RoleList-BPayuLxA.js} +9 -9
  13. package/dist/{ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-CV0DRK1L.js → ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-C_EQivMd.js} +1 -1
  14. package/dist/{ScheduleGeneralPage-DMMqTMQs.js → ScheduleGeneralPage-sAqR1-hf.js} +4 -4
  15. package/dist/{ScheduleModal.vue_vue_type_script_setup_true_lang-DLpFG65j.js → ScheduleModal.vue_vue_type_script_setup_true_lang-ABipaQiR.js} +622 -605
  16. package/dist/{SchedulePage-3MWnazgL.js → SchedulePage-DhbtCR8U.js} +6388 -6093
  17. package/dist/{SchedulePositionPage-B7S3G8gO.js → SchedulePositionPage-BUQy-Itg.js} +9 -9
  18. package/dist/{TeamMemberList-Bx_I5hO6.js → TeamMemberList-CIlvRlf8.js} +10 -10
  19. package/dist/{TimesheetList-DjDoOqih.js → TimesheetList-DFAfhWYG.js} +7 -7
  20. package/dist/{TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-pRgaW5ro.js → TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-QGzHuY7V.js} +3 -3
  21. package/dist/{app-uVAVK4Qd.js → app-C_EW9DFr.js} +20 -20
  22. package/dist/app.js +1 -1
  23. package/dist/{approval-code-C9DmR4Md.js → approval-code-DHsUgc4K.js} +1 -1
  24. package/dist/{dayjs.min-CdEA8bsz.js → dayjs.min-ibysRBBa.js} +1 -1
  25. package/dist/{employee-mq8mZRLE.js → employee-B1BQc4gB.js} +4 -4
  26. package/dist/{grant-user-Bv-pJ9Wt.js → grant-user-qzKHFTro.js} +1 -1
  27. package/dist/{iteration-B5TN8t9O.js → iteration-DQVB-iz0.js} +1 -1
  28. package/dist/{lodash-DxYGKySa.js → lodash-DOj41a0A.js} +1 -1
  29. package/dist/{restaurant-D7PEQjPY.js → restaurant-BbYRA_IT.js} +4 -3
  30. package/dist/{role-DiyMdYM9.js → role-B9MSLu4B.js} +2 -2
  31. package/dist/{rule-BGlU-EJ_.js → rule-e6okoXK6.js} +3 -3
  32. package/dist/src/api/schedule/index.d.ts +3 -1
  33. package/dist/src/types/schedule.d.ts +1 -1
  34. package/dist/src/views/scheduling/components/ScheduleOnboardingAssignPositionModal.vue.d.ts +6 -0
  35. package/dist/src/views/scheduling/components/SchedulePublishShareArt.vue.d.ts +2 -0
  36. package/dist/src/views/scheduling/composables/useScheduleDemandSheet.d.ts +0 -5
  37. package/dist/src/views/scheduling/composables/useScheduleOnboardingWizard.d.ts +126 -1
  38. package/dist/src/views/scheduling/schedule-store.d.ts +1 -0
  39. package/dist/style.css +1 -1
  40. package/dist/tsconfig.app.tsbuildinfo +1 -1
  41. package/dist/{useAppStore-d_nHyK5u.js → useAppStore-BoLkvkE2.js} +1 -1
  42. package/dist/{useLoading-JFoghhRz.js → useLoading-Ch1AUYT1.js} +1 -1
  43. package/dist/{useReportPermissions-CV0b4SBk.js → useReportPermissions-CJ9ey1bN.js} +3 -3
  44. package/package.json +1 -1
@@ -1,9 +1,9 @@
1
- import { defineComponent as M, ref as A, onMounted as x, computed as z, createElementBlock as a, openBlock as l, createElementVNode as o, createVNode as i, withCtx as d, unref as s, toDisplayString as c, createTextVNode as r, normalizeClass as h, createCommentVNode as E, withDirectives as S, withKeys as b, vModelText as P, Fragment as C, renderList as V, withModifiers as g } from "vue";
1
+ import { defineComponent as M, ref as A, onMounted as x, computed as z, createElementBlock as a, openBlock as l, createElementVNode as o, createVNode as i, withCtx as d, unref as s, toDisplayString as c, createTextVNode as r, normalizeClass as h, createCommentVNode as E, withDirectives as S, withKeys as k, vModelText as P, Fragment as C, renderList as V, withModifiers as g } from "vue";
2
2
  import { useRouter as F } from "vue-router";
3
3
  import { useSnackbar as B } from "@feedmepos/ui-library";
4
- import { R as I } from "./app-uVAVK4Qd.js";
5
- import { an as L, ao as O, a7 as R, ak as u, al as K } from "./ScheduleModal.vue_vue_type_script_setup_true_lang-DLpFG65j.js";
6
- import { u as T, a as U, _ as W } from "./ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-CV0DRK1L.js";
4
+ import { R as I } from "./app-C_EW9DFr.js";
5
+ import { ao as L, ap as O, a7 as R, al as u, am as K } from "./ScheduleModal.vue_vue_type_script_setup_true_lang-ABipaQiR.js";
6
+ import { u as T, a as U, _ as W } from "./ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-C_EQivMd.js";
7
7
  import { _ as j } from "./_plugin-vue_export-helper-CHgC5LLL.js";
8
8
  const q = { class: "main" }, H = {
9
9
  id: "viewPositions",
@@ -25,7 +25,7 @@ const q = { class: "main" }, H = {
25
25
  setup(ve) {
26
26
  const y = A(null);
27
27
  L(y);
28
- const _ = F(), w = B(), k = (f, e = "info") => w.open({ message: f, type: e }), t = T({ notify: k }), v = O(), m = U(void 0, { notify: k });
28
+ const _ = F(), w = B(), b = (f, e = "info") => w.open({ message: f, type: e }), t = T({ notify: b }), v = O(), m = U(void 0, { notify: b });
29
29
  x(async () => {
30
30
  await v.resolve() && await R(/* @__PURE__ */ new Date());
31
31
  });
@@ -126,8 +126,8 @@ const q = { class: "main" }, H = {
126
126
  placeholder: "New position name",
127
127
  autofocus: "",
128
128
  onKeyup: [
129
- e[2] || (e[2] = b((n) => s(t).confirmAdd(), ["enter"])),
130
- e[3] || (e[3] = b((n) => s(t).cancelAdd(), ["esc"]))
129
+ e[2] || (e[2] = k((n) => s(t).confirmAdd(), ["enter"])),
130
+ e[3] || (e[3] = k((n) => s(t).cancelAdd(), ["esc"]))
131
131
  ]
132
132
  }, null, 544), [
133
133
  [P, s(t).newName.value]
@@ -258,7 +258,7 @@ const q = { class: "main" }, H = {
258
258
  i(W, { modal: s(m) }, null, 8, ["modal"])
259
259
  ], 512));
260
260
  }
261
- }), be = /* @__PURE__ */ j(ce, [["__scopeId", "data-v-40bada6a"]]);
261
+ }), ke = /* @__PURE__ */ j(ce, [["__scopeId", "data-v-40bada6a"]]);
262
262
  export {
263
- be as default
263
+ ke as default
264
264
  };
@@ -3,20 +3,20 @@ 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
5
  import { S as ye } from "./SelectFilter-CG13h83-.js";
6
- import { v as Te, m as vs, O as fs, _ as bs, a as hs } from "./app-uVAVK4Qd.js";
6
+ import { v as Te, m as vs, O as fs, _ as bs, a as hs } from "./app-C_EW9DFr.js";
7
7
  import { u as ys, _ as gs } from "./useDiscardConfirm-DPhEV6v0.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
- import { u as He } from "./useLoading-JFoghhRz.js";
10
+ import { u as He } from "./useLoading-Ch1AUYT1.js";
11
11
  import { n as es } from "./string-VNuQNweN.js";
12
- import { l as Pe } from "./lodash-DxYGKySa.js";
13
- import { c as he } from "./iteration-B5TN8t9O.js";
14
- import { t as _e, u as ss, c as Ae, b as qe, m as $e, d as ts, p as Ge, i as Is, j as Ke, k as ws, l as Vs, n as ks, o as Rs, q as Cs } from "./rule-BGlU-EJ_.js";
15
- import { u as as } from "./role-DiyMdYM9.js";
16
- import { u as ls, i as $s } from "./PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-fe-Rdwn4.js";
17
- import "./useAppStore-d_nHyK5u.js";
18
- import { g as ze, b as We, u as os } from "./restaurant-D7PEQjPY.js";
19
- import { _ as Ms } from "./PortalPermissionEditor.vue_vue_type_script_setup_true_lang-RI8tMDoe.js";
12
+ import { l as Pe } from "./lodash-DOj41a0A.js";
13
+ import { c as he } from "./iteration-DQVB-iz0.js";
14
+ import { t as _e, u as ss, c as Ae, b as qe, m as $e, d as ts, p as Ge, i as Is, j as Ke, k as ws, l as Vs, n as ks, o as Rs, q as Cs } from "./rule-e6okoXK6.js";
15
+ import { u as as } from "./role-B9MSLu4B.js";
16
+ import { u as ls, i as $s } from "./PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-BVz6q3HE.js";
17
+ import "./useAppStore-BoLkvkE2.js";
18
+ import { g as ze, b as We, u as os } from "./restaurant-BbYRA_IT.js";
19
+ import { _ as Ms } from "./PortalPermissionEditor.vue_vue_type_script_setup_true_lang-Dp6bdEZp.js";
20
20
  import { _ as Ns } from "./_plugin-vue_export-helper-CHgC5LLL.js";
21
21
  var Ue = /* @__PURE__ */ ((o) => (o.Update = "Update", o.Remove = "Remove", o))(Ue || {});
22
22
  const Ie = "__unassigned__";
@@ -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 r, 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-CdEA8bsz.js";
2
+ import { d as v } from "./dayjs.min-ibysRBBa.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
5
  import { S as De } from "./SelectFilter-CG13h83-.js";
6
- import { _ as Se } from "./app-uVAVK4Qd.js";
6
+ import { _ as Se } from "./app-C_EW9DFr.js";
7
7
  import { _ as Ve } from "./TableEmptyState.vue_vue_type_script_setup_true_lang-IfAZmWr0.js";
8
- import { u as ke } from "./useLoading-JFoghhRz.js";
9
- import { g as Ce, s as Fe } from "./iteration-B5TN8t9O.js";
8
+ import { u as ke } from "./useLoading-Ch1AUYT1.js";
9
+ import { g as Ce, s as Fe } from "./iteration-DQVB-iz0.js";
10
10
  import { f as Ye } from "./utils-BZkjJbju.js";
11
11
  import { n as Le } from "./string-VNuQNweN.js";
12
- import { u as Me } from "./employee-mq8mZRLE.js";
13
- import { u as Te } from "./restaurant-D7PEQjPY.js";
14
- import { u as Ie } from "./TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-pRgaW5ro.js";
12
+ import { u as Me } from "./employee-B1BQc4gB.js";
13
+ import { u as Te } from "./restaurant-BbYRA_IT.js";
14
+ import { u as Ie } from "./TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-QGzHuY7V.js";
15
15
  import { _ as Re } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
16
  function $e(x, a) {
17
17
  return ["years", "months"].find((S) => {
@@ -1,8 +1,8 @@
1
- import { d as i } from "./dayjs.min-CdEA8bsz.js";
1
+ import { d as i } from "./dayjs.min-ibysRBBa.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 "./restaurant-D7PEQjPY.js";
5
- import { s as S } from "./iteration-B5TN8t9O.js";
4
+ import { b as c, g as y } from "./restaurant-BbYRA_IT.js";
5
+ import { s as S } from "./iteration-DQVB-iz0.js";
6
6
  import { i as f, f as g } from "./utils-BZkjJbju.js";
7
7
  const u = {
8
8
  async readTimesheets(t, e) {
@@ -6100,9 +6100,9 @@ const On = {
6100
6100
  demandAndShifts: "Demand + employee shifts",
6101
6101
  demandOnly: "Demand only",
6102
6102
  clear: "Clear",
6103
- clearShiftsAndDemand: "Clear shifts & demand",
6104
- clearShifts: "Clear shifts",
6105
- clearDemand: "Clear demand",
6103
+ clearShiftsAndDemand: "Shifts & demand",
6104
+ clearShifts: "Shifts",
6105
+ clearDemand: "Demand",
6106
6106
  pdfDescription: "A4 landscape. Preview, then save",
6107
6107
  imageDescription: "One picture of the schedule. Send it to the team",
6108
6108
  exportSchedule: "Export schedule",
@@ -6274,9 +6274,9 @@ const On = {
6274
6274
  demandAndShifts: "Demand + employee shifts",
6275
6275
  demandOnly: "Demand only",
6276
6276
  clear: "Clear",
6277
- clearShiftsAndDemand: "Clear shifts & demand",
6278
- clearShifts: "Clear shifts",
6279
- clearDemand: "Clear demand",
6277
+ clearShiftsAndDemand: "Shifts & demand",
6278
+ clearShifts: "Shifts",
6279
+ clearDemand: "Demand",
6280
6280
  pdfDescription: "A4 landscape. Preview, then save",
6281
6281
  imageDescription: "One picture of the schedule. Send it to the team",
6282
6282
  exportSchedule: "Export schedule",
@@ -6448,9 +6448,9 @@ const On = {
6448
6448
  demandAndShifts: "Demand + employee shifts",
6449
6449
  demandOnly: "Demand only",
6450
6450
  clear: "Clear",
6451
- clearShiftsAndDemand: "Clear shifts & demand",
6452
- clearShifts: "Clear shifts",
6453
- clearDemand: "Clear demand",
6451
+ clearShiftsAndDemand: "Shifts & demand",
6452
+ clearShifts: "Shifts",
6453
+ clearDemand: "Demand",
6454
6454
  pdfDescription: "A4 landscape. Preview, then save",
6455
6455
  imageDescription: "One picture of the schedule. Send it to the team",
6456
6456
  exportSchedule: "Export schedule",
@@ -6622,9 +6622,9 @@ const On = {
6622
6622
  demandAndShifts: "Demand + employee shifts",
6623
6623
  demandOnly: "Demand only",
6624
6624
  clear: "Clear",
6625
- clearShiftsAndDemand: "Clear shifts & demand",
6626
- clearShifts: "Clear shifts",
6627
- clearDemand: "Clear demand",
6625
+ clearShiftsAndDemand: "Shifts & demand",
6626
+ clearShifts: "Shifts",
6627
+ clearDemand: "Demand",
6628
6628
  pdfDescription: "A4 landscape. Preview, then save",
6629
6629
  imageDescription: "One picture of the schedule. Send it to the team",
6630
6630
  exportSchedule: "Export schedule",
@@ -9833,16 +9833,16 @@ const _e = (e) => ({
9833
9833
  }
9834
9834
  ]
9835
9835
  }
9836
- }), jc = ot(pe(() => import("./Main-CGlnX97k.js"))), Ec = ot(pe(() => import("./Main-Dna6CkrV.js"))), Pc = ot(
9837
- pe(() => import("./AuditLogList-B1Sb8HDk.js"))
9838
- ), Oc = ot(pe(() => import("./Main-BZCIlbf3.js"))), Gc = pe(() => import("./ApprovalCodeList-J-NC4Z5M.js")), Yc = pe(() => import("./GrantUserList-BWeZAzUC.js")), Vc = pe(() => import("./EmployeeList-DprCwGC9.js")), Fc = pe(() => import("./RoleList-Jn8EeYqo.js")), Sc = pe(() => import("./TimesheetList-DjDoOqih.js")), kc = pe(() => import("./TeamMemberList-Bx_I5hO6.js")), Rc = pe(
9839
- () => import("./PermissionSetList-DuJjihft.js")
9836
+ }), jc = ot(pe(() => import("./Main-m39gMG-a.js"))), Ec = ot(pe(() => import("./Main-B27Qx8R2.js"))), Pc = ot(
9837
+ pe(() => import("./AuditLogList-CqqiS2xW.js"))
9838
+ ), Oc = ot(pe(() => import("./Main-C0gVAR92.js"))), Gc = pe(() => import("./ApprovalCodeList-D5E_FN3f.js")), Yc = pe(() => import("./GrantUserList-DA26W3K3.js")), Vc = pe(() => import("./EmployeeList-ChMlGxmu.js")), Fc = pe(() => import("./RoleList-BPayuLxA.js")), Sc = pe(() => import("./TimesheetList-DFAfhWYG.js")), kc = pe(() => import("./TeamMemberList-CIlvRlf8.js")), Rc = pe(
9839
+ () => import("./PermissionSetList-mdA65jmw.js")
9840
9840
  ), Hc = Ws(
9841
- ot(pe(() => import("./SchedulePage-3MWnazgL.js")))
9841
+ ot(pe(() => import("./SchedulePage-DhbtCR8U.js")))
9842
9842
  ), Ic = Ws(
9843
- ot(pe(() => import("./SchedulePositionPage-B7S3G8gO.js")))
9843
+ ot(pe(() => import("./SchedulePositionPage-BUQy-Itg.js")))
9844
9844
  ), Tc = Ws(
9845
- ot(pe(() => import("./ScheduleGeneralPage-DMMqTMQs.js")))
9845
+ ot(pe(() => import("./ScheduleGeneralPage-sAqR1-hf.js")))
9846
9846
  ), ou = [
9847
9847
  {
9848
9848
  path: "/",
@@ -10888,7 +10888,7 @@ const iu = /* @__PURE__ */ at({
10888
10888
  };
10889
10889
  }
10890
10890
  });
10891
- var xs = { name: "@feedmepos/mf-hrm-portal", version: "2.3.0-dev.7", mode: "fmmf" };
10891
+ var xs = { name: "@feedmepos/mf-hrm-portal", version: "2.3.0-dev.8", mode: "fmmf" };
10892
10892
  console.log(
10893
10893
  `%c${xs.name}%c v${xs.version} %c${xs.mode}`,
10894
10894
  "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, i as r, r as o } from "./app-uVAVK4Qd.js";
1
+ import { h as e, i as r, r as o } from "./app-C_EW9DFr.js";
2
2
  export {
3
3
  e as FmApp,
4
4
  r 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 "./restaurant-D7PEQjPY.js";
3
+ import { g as p, b as s } from "./restaurant-BbYRA_IT.js";
4
4
  const n = {
5
5
  async getApprovalCodes() {
6
6
  return p(await s("approval-codes").get(""));
@@ -1,4 +1,4 @@
1
- import { g as Q, f as K } from "./app-uVAVK4Qd.js";
1
+ import { g as Q, f as K } from "./app-C_EW9DFr.js";
2
2
  var E = { exports: {} };
3
3
  (function(V, X) {
4
4
  (function(W, k) {
@@ -1,10 +1,10 @@
1
- import { d as g } from "./dayjs.min-CdEA8bsz.js";
1
+ import { d as g } from "./dayjs.min-ibysRBBa.js";
2
2
  import { defineStore as $, storeToRefs as x } from "pinia";
3
3
  import { ref as m } from "vue";
4
- import { s as E } from "./iteration-B5TN8t9O.js";
5
- import { b as l, g as f, u as I } from "./restaurant-D7PEQjPY.js";
4
+ import { s as E } from "./iteration-DQVB-iz0.js";
5
+ import { b as l, g as f, u as I } from "./restaurant-BbYRA_IT.js";
6
6
  import { i as v } from "./utils-BZkjJbju.js";
7
- import { u as P } from "./role-DiyMdYM9.js";
7
+ import { u as P } from "./role-B9MSLu4B.js";
8
8
  const o = {
9
9
  async readEmployees() {
10
10
  return f(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, a as v, b as o } from "./restaurant-D7PEQjPY.js";
3
+ import { g as s, a as v, b as o } from "./restaurant-BbYRA_IT.js";
4
4
  const c = {
5
5
  async getGrantUsers() {
6
6
  return s(await o("grant").get(""));
@@ -1,4 +1,4 @@
1
- import { f as B } from "./app-uVAVK4Qd.js";
1
+ import { f as B } from "./app-C_EW9DFr.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 { f as jt } from "./app-uVAVK4Qd.js";
1
+ import { f as jt } from "./app-C_EW9DFr.js";
2
2
  var Jr = { exports: {} };
3
3
  /**
4
4
  * @license
@@ -1830,9 +1830,10 @@ const nr = {
1830
1830
  return tr(await Ve().get("/hr-restaurants"));
1831
1831
  },
1832
1832
  async saveOperationalHours(e, t) {
1833
- await Ve().patch(`/hr-restaurants/${e}/operational-hours`, {
1834
- operatingHours: t
1835
- });
1833
+ await Ve(`restaurants/${e}/schedules`).patch(
1834
+ "operational-hours",
1835
+ { operatingHours: t }
1836
+ );
1836
1837
  }
1837
1838
  }, rr = gt("restaurant", () => {
1838
1839
  const { currentBusiness: e } = re(), t = fe([]), n = fe(!1), r = fe(null);
@@ -1,8 +1,8 @@
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-B5TN8t9O.js";
5
- import { g as f, b as p, u as I } from "./restaurant-D7PEQjPY.js";
4
+ import { s as v } from "./iteration-DQVB-iz0.js";
5
+ import { g as f, b as p, u as I } from "./restaurant-BbYRA_IT.js";
6
6
  const R = {
7
7
  async readRoles() {
8
8
  return f(await p().get("/pos-roles"));
@@ -1,7 +1,7 @@
1
- import { s as W, c as q, e as y } from "./iteration-B5TN8t9O.js";
2
- import { e as O, b as V, c as _, v as F, n as h, O as ee, D as M } from "./app-uVAVK4Qd.js";
1
+ import { s as W, c as q, e as y } from "./iteration-DQVB-iz0.js";
2
+ import { e as O, b as V, c as _, v as F, n as h, O as ee, D as M } from "./app-C_EW9DFr.js";
3
3
  import { s as se } from "./utils-BZkjJbju.js";
4
- import { g, b as v, q as x, u as te } from "./restaurant-D7PEQjPY.js";
4
+ import { g, b as v, q as x, u as te } from "./restaurant-BbYRA_IT.js";
5
5
  import { defineStore as z, storeToRefs as K } from "pinia";
6
6
  import { ref as S, computed as T } from "vue";
7
7
  import { useCoreStore as X } from "@feedmepos/mf-common";
@@ -1,4 +1,4 @@
1
- import type { FdtoScheduleAssignment, FdtoScheduleAutoScheduleApplyReq, FdtoScheduleAutoScheduleApplyResult, FdtoScheduleAutoScheduleCapabilities, FdtoScheduleAutoScheduleGenerateReq, FdtoScheduleAutoScheduleResult, FdtoScheduleBoard, FdtoScheduleBulkUpdateAssignmentStatusReq, FdtoScheduleBulkSaveAssignmentsReq, FdtoScheduleBulkSaveAssignmentsResult, FdtoScheduleCreateEmployeeProfileReq, FdtoScheduleEmployeeConfig, FdtoScheduleDemand, FdtoScheduleEmployee, FdtoSchedulePosition, FdtoScheduleSaveAssignmentReq, FdtoScheduleSaveDemandReq, FdtoScheduleSaveEmployeeConfigsReq, FdtoScheduleSavePositionReq, FdtoScheduleSaveScheduleDayReq, FdtoScheduleSaveSettingsReq, FdtoScheduleReplaceDemandReq, FdtoScheduleSettings, FdtoScheduleScheduleDay, FdtoScheduleUpdateEmployeeProfileReq, FdtoScheduleCreateTimeOffReq, FdtoScheduleTimeOff, FdtoScheduleUpdateTimeOffStatusReq } from '@/types/schedule';
1
+ import type { FdtoScheduleAssignment, FdtoScheduleAutoScheduleApplyReq, FdtoScheduleAutoScheduleApplyResult, FdtoScheduleAutoScheduleCapabilities, FdtoScheduleAutoScheduleGenerateReq, FdtoScheduleAutoScheduleResult, FdtoScheduleBoard, FdtoScheduleBulkUpdateAssignmentStatusReq, FdtoScheduleBulkSaveAssignmentsReq, FdtoScheduleBulkSaveAssignmentsResult, FdtoScheduleBulkReplaceDemandReq, FdtoScheduleCreateEmployeeProfileReq, FdtoScheduleEmployeeConfig, FdtoScheduleDemand, FdtoScheduleEmployee, FdtoSchedulePosition, FdtoScheduleSaveAssignmentReq, FdtoScheduleSaveDemandReq, FdtoScheduleSaveEmployeeConfigsReq, FdtoScheduleSavePositionReq, FdtoScheduleSaveScheduleDayReq, FdtoScheduleSaveSettingsReq, FdtoScheduleReplaceDemandReq, FdtoScheduleSettings, FdtoScheduleScheduleDay, FdtoScheduleUpdateEmployeeProfileReq, FdtoScheduleCreateTimeOffReq, FdtoScheduleTimeOff, FdtoScheduleUpdateTimeOffStatusReq } from '@/types/schedule';
2
2
  declare const ScheduleAPI: {
3
3
  listEmployeeProfiles(employeeIds?: string[]): Promise<FdtoScheduleEmployee[]>;
4
4
  listEmployeeConfigs(restaurantId: string): Promise<FdtoScheduleEmployeeConfig[]>;
@@ -34,6 +34,8 @@ declare const ScheduleAPI: {
34
34
  }>;
35
35
  /** Atomically replaces one date/weekday's flattened demand rows. */
36
36
  replaceDemands(restaurantId: string, req: FdtoScheduleReplaceDemandReq): Promise<FdtoScheduleDemand[]>;
37
+ /** Atomically replaces several date/weekday demand generations. */
38
+ bulkReplaceDemands(restaurantId: string, req: FdtoScheduleBulkReplaceDemandReq): Promise<FdtoScheduleDemand[]>;
37
39
  /** Replaces one date's note/holiday-mark. All three fields back to empty/false clears it. */
38
40
  saveScheduleDay(restaurantId: string, date: string, req: FdtoScheduleSaveScheduleDayReq): Promise<FdtoScheduleScheduleDay | null>;
39
41
  /** A one-off shift assignment. */
@@ -5,7 +5,7 @@
5
5
  * only view-model commands that intentionally do not cross HTTP (for example
6
6
  * replacing a period made up of several persisted demand rows).
7
7
  */
8
- export type { FdtoScheduleAssignment, FdtoScheduleAutoScheduleApplyReq, FdtoScheduleAutoScheduleApplyResult, FdtoScheduleAutoScheduleCapabilities, FdtoScheduleAutoScheduleGenerateReq, FdtoScheduleAutoScheduleObjective, FdtoScheduleAutoSchedulePlanner, FdtoScheduleAutoScheduleProposal, FdtoScheduleAutoScheduleRejection, FdtoScheduleAutoScheduleResult, FdtoScheduleAutoScheduleTiming, FdtoScheduleAutoScheduleUnfilledNeed, FdtoScheduleBoard, FdtoScheduleBulkUpdateAssignmentStatusReq, FdtoScheduleBulkSaveAssignmentsReq, FdtoScheduleBulkSaveAssignmentsResult, FdtoScheduleBreak, FdtoScheduleCreateEmployeeProfileReq, FdtoScheduleEmployeeConfig, FdtoScheduleDayOperatingHours, FdtoScheduleDemand, FdtoScheduleEmployee, FdtoScheduleOptionalDateRange, FdtoSchedulePayRate, FdtoSchedulePosition, FdtoSchedulePositionRef, FdtoSchedulePositionSelectorReq, FdtoScheduleRestaurantProfile, FdtoScheduleSaveAssignmentReq, FdtoScheduleSaveDemandReq, FdtoScheduleReplaceDemandReq, FdtoScheduleSaveEmployeeConfigsReq, FdtoScheduleSavePositionReq, FdtoScheduleSaveScheduleDayReq, FdtoScheduleSaveSettingsReq, FdtoScheduleScheduleDay, FdtoScheduleSettings, FdtoScheduleUpdateEmployeeProfileReq, FdtoScheduleCreateTimeOffReq, FdtoScheduleTimeOff, FdtoScheduleTimeOffDayPart, FdtoScheduleTimeOffQuery, FdtoScheduleTimeOffStatus, FdtoScheduleTimeOffType, FdtoScheduleUpdateTimeOffStatusReq, } from '@feedmepos/hrm-schedule-contract';
8
+ export type { FdtoScheduleAssignment, FdtoScheduleAutoScheduleApplyReq, FdtoScheduleAutoScheduleApplyResult, FdtoScheduleAutoScheduleCapabilities, FdtoScheduleAutoScheduleGenerateReq, FdtoScheduleAutoScheduleObjective, FdtoScheduleAutoSchedulePlanner, FdtoScheduleAutoScheduleProposal, FdtoScheduleAutoScheduleRejection, FdtoScheduleAutoScheduleResult, FdtoScheduleAutoScheduleTiming, FdtoScheduleAutoScheduleUnfilledNeed, FdtoScheduleBoard, FdtoScheduleBulkUpdateAssignmentStatusReq, FdtoScheduleBulkSaveAssignmentsReq, FdtoScheduleBulkSaveAssignmentsResult, FdtoScheduleBulkReplaceDemandReq, FdtoScheduleBreak, FdtoScheduleCreateEmployeeProfileReq, FdtoScheduleEmployeeConfig, FdtoScheduleDayOperatingHours, FdtoScheduleDemand, FdtoScheduleEmployee, FdtoScheduleOptionalDateRange, FdtoSchedulePayRate, FdtoSchedulePosition, FdtoSchedulePositionRef, FdtoSchedulePositionSelectorReq, FdtoScheduleRestaurantProfile, FdtoScheduleSaveAssignmentReq, FdtoScheduleSaveDemandReq, FdtoScheduleReplaceDemandReq, FdtoScheduleSaveEmployeeConfigsReq, FdtoScheduleSavePositionReq, FdtoScheduleSaveScheduleDayReq, FdtoScheduleSaveSettingsReq, FdtoScheduleScheduleDay, FdtoScheduleSettings, FdtoScheduleUpdateEmployeeProfileReq, FdtoScheduleCreateTimeOffReq, FdtoScheduleTimeOff, FdtoScheduleTimeOffDayPart, FdtoScheduleTimeOffQuery, FdtoScheduleTimeOffStatus, FdtoScheduleTimeOffType, FdtoScheduleUpdateTimeOffStatusReq, } from '@feedmepos/hrm-schedule-contract';
9
9
  /** UI-level replacement command. The store expands these periods into flat
10
10
  * ShiftDemand rows before calling the shared HTTP contract. */
11
11
  export interface ScheduleReplaceDemandReq {
@@ -0,0 +1,6 @@
1
+ import type { ScheduleOnboardingWizardApi } from '../composables/useScheduleOnboardingWizard';
2
+ type __VLS_Props = {
3
+ wizard: ScheduleOnboardingWizardApi;
4
+ };
5
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
6
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -52,11 +52,6 @@ export declare function useScheduleDemandSheet(board: ScheduleBoardApi, demand:
52
52
  key: "weekdays";
53
53
  label: string;
54
54
  sub: string;
55
- } | {
56
- on: boolean;
57
- key: "custom";
58
- label: string;
59
- sub: string;
60
55
  })[]>;
61
56
  weekdayButtons: import("vue").ComputedRef<{
62
57
  i: number;
@@ -1039,7 +1039,132 @@ export declare function useScheduleOnboardingWizard(board: ScheduleBoardApi, add
1039
1039
  masterUser?: boolean | undefined;
1040
1040
  }[];
1041
1041
  posPicker: import("vue").Ref<string | null, string | null>;
1042
- togglePicker: (key: string) => void;
1042
+ posPickerLabel: import("vue").Ref<string, string>;
1043
+ posPickQuery: import("vue").Ref<string, string>;
1044
+ posPickSelected: import("vue").Ref<Set<number> & Omit<Set<number>, keyof Set<any>>, Set<number> | (Set<number> & Omit<Set<number>, keyof Set<any>>)>;
1045
+ pickerCandidates: import("vue").ComputedRef<{
1046
+ id: number;
1047
+ sourceId: string;
1048
+ name: string;
1049
+ employmentType: "FULLTIME" | "PARTTIME";
1050
+ role: string;
1051
+ initials: string;
1052
+ color: string;
1053
+ weekHours: number;
1054
+ pct: number;
1055
+ contractHours?: number | undefined;
1056
+ rate: number;
1057
+ positions: string[];
1058
+ shifts: ({
1059
+ start: string;
1060
+ end: string;
1061
+ role: string;
1062
+ status: import("../types").ShiftStatus;
1063
+ clock?: {
1064
+ in: string | null;
1065
+ out: string | null;
1066
+ status: "on-time" | "late" | "early-out" | "absent";
1067
+ } | undefined;
1068
+ conflict?: boolean | undefined;
1069
+ conflictReason?: string | undefined;
1070
+ openId?: number | undefined;
1071
+ breakMins?: number | undefined;
1072
+ breaks?: ({
1073
+ type: "DURATION";
1074
+ minutes: number;
1075
+ breakPayType: "PAID" | "UNPAID";
1076
+ } | {
1077
+ type: "TIME_RANGE";
1078
+ startTime: string;
1079
+ endTime: string;
1080
+ breakPayType: "PAID" | "UNPAID";
1081
+ })[] | undefined;
1082
+ assignmentId?: string | undefined;
1083
+ updatedAt?: string | undefined;
1084
+ splitGroupId?: string | undefined;
1085
+ } | {
1086
+ timeOff: "approved" | "pending";
1087
+ requestId?: string | undefined;
1088
+ type?: "OFF_DAY" | "LEAVE" | undefined;
1089
+ leaveType?: "ANNUAL" | "MEDICAL" | "EMERGENCY" | "UNPAID" | undefined;
1090
+ reason: string;
1091
+ half?: boolean | undefined;
1092
+ halfPart?: "AM" | "PM" | undefined;
1093
+ from?: string | undefined;
1094
+ to?: string | undefined;
1095
+ appliedOn?: string | undefined;
1096
+ note?: string | undefined;
1097
+ cert?: {
1098
+ name: string;
1099
+ size: string;
1100
+ } | null | undefined;
1101
+ bal?: {
1102
+ type: string;
1103
+ entitled: number;
1104
+ used: number;
1105
+ } | undefined;
1106
+ } | {
1107
+ start: string;
1108
+ end: string;
1109
+ role: string;
1110
+ status: import("../types").ShiftStatus;
1111
+ clock?: {
1112
+ in: string | null;
1113
+ out: string | null;
1114
+ status: "on-time" | "late" | "early-out" | "absent";
1115
+ } | undefined;
1116
+ conflict?: boolean | undefined;
1117
+ conflictReason?: string | undefined;
1118
+ openId?: number | undefined;
1119
+ breakMins?: number | undefined;
1120
+ breaks?: ({
1121
+ type: "DURATION";
1122
+ minutes: number;
1123
+ breakPayType: "PAID" | "UNPAID";
1124
+ } | {
1125
+ type: "TIME_RANGE";
1126
+ startTime: string;
1127
+ endTime: string;
1128
+ breakPayType: "PAID" | "UNPAID";
1129
+ })[] | undefined;
1130
+ assignmentId?: string | undefined;
1131
+ updatedAt?: string | undefined;
1132
+ splitGroupId?: string | undefined;
1133
+ }[] | null)[];
1134
+ remarks: {
1135
+ author: string;
1136
+ date: string;
1137
+ type: "note" | "warning" | "praise";
1138
+ text: string;
1139
+ }[];
1140
+ section: string;
1141
+ compGroup?: string | undefined;
1142
+ mobile?: string | undefined;
1143
+ dial?: string | undefined;
1144
+ locations?: string[] | undefined;
1145
+ payBasis?: "hourly" | "monthly" | undefined;
1146
+ payAmount?: number | undefined;
1147
+ maxHours?: number | undefined;
1148
+ maxOtHours?: number | undefined;
1149
+ minHours?: number | undefined;
1150
+ otAfterDaily?: number | undefined;
1151
+ preferences?: string[] | undefined;
1152
+ seniority?: "senior" | "junior" | "" | undefined;
1153
+ availDays?: boolean[] | undefined;
1154
+ availHours?: {
1155
+ from: string;
1156
+ to: string;
1157
+ }[] | undefined;
1158
+ passcode?: string | undefined;
1159
+ masterUser?: boolean | undefined;
1160
+ }[]>;
1161
+ pickerAllChecked: import("vue").ComputedRef<boolean>;
1162
+ pickerSomeChecked: import("vue").ComputedRef<boolean>;
1163
+ openPositionPicker: (key: string, label: string) => void;
1164
+ closePositionPicker: () => void;
1165
+ pickerToggleOne: (empId: number, checked: boolean) => void;
1166
+ pickerToggleAll: (checked: boolean) => void;
1167
+ applyPositionPicker: () => Promise<void>;
1043
1168
  assignTo: (empId: number, key: string) => Promise<void>;
1044
1169
  unassign: (empId: number, key: string) => Promise<void>;
1045
1170
  employeeCount: import("vue").ComputedRef<number>;
@@ -81,6 +81,7 @@ export declare function saveScheduleDay(date: string, req: FdtoScheduleSaveSched
81
81
  * Position-specific headcount becomes its own row; any remaining headcount becomes an
82
82
  * unpositioned row for the same time range. */
83
83
  export declare function saveDemand(req: ScheduleReplaceDemandReq): Promise<void>;
84
+ export declare function saveDemandsBulk(requests: ScheduleReplaceDemandReq[]): Promise<void>;
84
85
  /** Copies one date's own demand rows onto another date, as that date's own rows. A date that
85
86
  * already has demand of its own is left alone (nothing is overwritten), and a source date with
86
87
  * none has nothing to copy: the standing weekday rule already covers the same weekday in every