@feedmepos/mf-hrm-portal 2.3.0-dev.26 → 2.3.0-dev.27

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 (33) hide show
  1. package/dist/{ApprovalCodeList-BErlk4ha.js → ApprovalCodeList-9t065tKN.js} +4 -4
  2. package/dist/{AuditLogList-Chvwt0ar.js → AuditLogList-wi-YospA.js} +4 -4
  3. package/dist/{ConditionBuilderForm.vue_vue_type_script_setup_true_lang-2u2WyZdb.js → ConditionBuilderForm.vue_vue_type_script_setup_true_lang-B2sR4Jl_.js} +2 -2
  4. package/dist/{EmployeeList-CGD1h2OK.js → EmployeeList-vNUbxRAf.js} +6 -6
  5. package/dist/{FormItem.vue_vue_type_script_setup_true_lang-BuGNer42.js → FormItem.vue_vue_type_script_setup_true_lang-Dw18lkLN.js} +1 -1
  6. package/dist/{GrantUserList-DzpqTaSY.js → GrantUserList-gV8g9WRs.js} +5 -5
  7. package/dist/{Main-CPyn7NFE.js → Main-C_EO7R35.js} +5 -5
  8. package/dist/{Main-DAGEZQlr.js → Main-CpsgrQ62.js} +2 -2
  9. package/dist/{Main-iNdaHQX2.js → Main-e8pCFHE9.js} +9 -9
  10. package/dist/{PermissionSetList-Db8_PEwm.js → PermissionSetList-CaMe_Vx5.js} +5 -5
  11. package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-BjUf9foK.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-NePY_DmQ.js} +1180 -1180
  12. package/dist/{RoleList-CQi7_guB.js → RoleList-CoLyFxEW.js} +7 -7
  13. package/dist/{ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-D5wnGhBH.js → ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-B2GCHn1o.js} +1 -1
  14. package/dist/{ScheduleGeneralPage-Box_itY2.js → ScheduleGeneralPage-CeufiOO_.js} +2 -2
  15. package/dist/{ScheduleModal.vue_vue_type_script_setup_true_lang-3XOtfHXG.js → ScheduleModal.vue_vue_type_script_setup_true_lang-BNcWdn4j.js} +2 -2
  16. package/dist/{SchedulePage-D5ech6qY.js → SchedulePage-CbSyzav2.js} +571 -554
  17. package/dist/{SchedulePositionPage-Df5K6dRn.js → SchedulePositionPage-BBDvRQKw.js} +3 -3
  18. package/dist/{SelectFilter-CnL5hOUi.js → SelectFilter-CiClywD5.js} +1 -1
  19. package/dist/{TeamMemberList-BJDrGXAU.js → TeamMemberList-D0rP6zcU.js} +7 -7
  20. package/dist/{TimesheetList-DjasY9Ga.js → TimesheetList-BBYaDVDR.js} +6 -6
  21. package/dist/{TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-BipggXKS.js → TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-CyEATJm5.js} +2 -2
  22. package/dist/{app-6RyACUtu.js → app-E5Ze22zP.js} +8 -8
  23. package/dist/app.js +1 -1
  24. package/dist/{dayjs.min-dR2BNXww.js → dayjs.min-6b1EMXsV.js} +1 -1
  25. package/dist/{employee-CZII8yO4.js → employee-VUvqsIQQ.js} +3 -3
  26. package/dist/{iteration-BrBn3q_q.js → iteration-5EYx4UwX.js} +1 -1
  27. package/dist/{lodash-CiDhR4Jm.js → lodash-Bhc--fjw.js} +1 -1
  28. package/dist/{role-DzoAHzTj.js → role-DrCCb7SL.js} +1 -1
  29. package/dist/{rule-DucHSUev.js → rule-u9O2gGGd.js} +2 -2
  30. package/dist/style.css +1 -1
  31. package/dist/tsconfig.app.tsbuildinfo +1 -1
  32. package/dist/{useReportPermissions-B0VLybQf.js → useReportPermissions-BNvKQMu4.js} +3 -3
  33. package/package.json +3 -3
@@ -1,19 +1,19 @@
1
1
  import { reactive as Ye, watch as pt, ref as V, computed as O, onUnmounted as pa, shallowRef as As, onBeforeUnmount as Ut, onMounted as Gt, defineComponent as ze, createElementBlock as f, openBlock as v, createElementVNode as t, Fragment as Y, renderList as ce, createStaticVNode as wt, createCommentVNode as U, normalizeClass as Z, createVNode as F, toDisplayString as b, withCtx as ae, createTextVNode as N, nextTick as Xt, normalizeStyle as Fe, unref as R, withModifiers as je, withKeys as Ft, createBlock as Xe, withDirectives as et, vModelText as rt, vModelCheckbox as Cn, vShow as Rs, isRef as Pa } from "vue";
2
2
  import { useRouter as po, onBeforeRouteLeave as Is } from "vue-router";
3
3
  import { useSnackbar as un, SnackbarPosition as Da, components as Ls } from "@feedmepos/ui-library";
4
- import { d as xn, p as bt, w as yo, o as Rt, i as Hn, c as Hs, a as go, P as _t, R as Pn, b as Pe, s as gt, e as Zt, f as Ns, h as Bs, g as bo, j as ko, r as qt, k as kt, l as Kn, m as wo, n as Fs, S as Us, q as Rn, t as Ws, u as za, v as ft, W as Ee, A as Wn, U as js, C as Vs, x as Dn, y as qs, z as Ys, B as sn, D as Ma, E as ya, F as Qt, G as He, H as pn, I as $o, J as Ht, K as Ot, L as Ea, M as Oa, N as Gs, O as In, Q as Ks, T as oa, V as Js, X as Nn, Y as sa, Z as Jn, _ as la, $ as So, a0 as Ta, a1 as Aa, a2 as hn, a3 as Ra, a4 as Ia, a5 as Co, a6 as ia, a7 as Xs, a8 as Zs, a9 as Qs, aa as _s, ab as on, ac as el, ad as tl, ae as nl, af as xo, ag as Bn, ah as al, ai as Vt, aj as Fn, ak as La, al as ga, am as ra, an as ol, ao as ba, ap as sl, aq as ll, ar as il, as as se, at as ct, au as gn, av as Po, aw as rl, ax as ul } from "./ScheduleModal.vue_vue_type_script_setup_true_lang-3XOtfHXG.js";
4
+ import { d as xn, p as bt, w as yo, o as Rt, i as Hn, c as Hs, a as go, P as _t, R as Pn, b as Pe, s as gt, e as Zt, f as Ns, h as Bs, g as bo, j as ko, r as qt, k as kt, l as Kn, m as wo, n as Fs, S as Us, q as Rn, t as Ws, u as za, v as ft, W as Ee, A as Wn, U as js, C as Vs, x as Dn, y as qs, z as Ys, B as sn, D as Ma, E as ya, F as Qt, G as He, H as pn, I as $o, J as Ht, K as Ot, L as Ea, M as Oa, N as Gs, O as In, Q as Ks, T as oa, V as Js, X as Nn, Y as sa, Z as Jn, _ as la, $ as So, a0 as Ta, a1 as Aa, a2 as hn, a3 as Ra, a4 as Ia, a5 as Co, a6 as ia, a7 as Xs, a8 as Zs, a9 as Qs, aa as _s, ab as on, ac as el, ad as tl, ae as nl, af as xo, ag as Bn, ah as al, ai as Vt, aj as Fn, ak as La, al as ga, am as ra, an as ol, ao as ba, ap as sl, aq as ll, ar as il, as as se, at as ct, au as gn, av as Po, aw as rl, ax as ul } from "./ScheduleModal.vue_vue_type_script_setup_true_lang-BNcWdn4j.js";
5
5
  import { useCoreStore as Do, useI18n as En } from "@feedmepos/mf-common";
6
- import "./iteration-BrBn3q_q.js";
7
- import { t as ua, j as da } from "./rule-DucHSUev.js";
8
- import { E as zo, u as dl } from "./employee-CZII8yO4.js";
6
+ import "./iteration-5EYx4UwX.js";
7
+ import { t as ua, j as da } from "./rule-u9O2gGGd.js";
8
+ import { E as zo, u as dl } from "./employee-VUvqsIQQ.js";
9
9
  import { c as Mo } from "./object-Dwyg2LgX.js";
10
- import { R as Eo, a as dn } from "./app-6RyACUtu.js";
10
+ import { R as Eo, a as dn } from "./app-E5Ze22zP.js";
11
11
  import { u as cl } from "./useDiscardConfirm-CzZSPyvh.js";
12
- import { u as ca } from "./role-DzoAHzTj.js";
12
+ import { u as ca } from "./role-DrCCb7SL.js";
13
13
  import { u as vl, A as ml } from "./restaurant-D2mfKHaH.js";
14
14
  import { u as hl } from "./useLoading-Nygx2zn8.js";
15
15
  import { useAppStore as fl } from "@feedmepos/mf-remy-panel";
16
- import { u as pl, _ as yl, a as gl } from "./ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-D5wnGhBH.js";
16
+ import { u as pl, _ as yl, a as gl } from "./ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-B2GCHn1o.js";
17
17
  function bl(e) {
18
18
  return {
19
19
  employees: go(e),
@@ -13812,16 +13812,20 @@ Max 5 days / week`
13812
13812
  }, Gy = { class: "ce-body" }, Ky = {
13813
13813
  key: 1,
13814
13814
  class: "ce-step"
13815
- }, Jy = { class: "am-foot" }, Xy = {
13815
+ }, Jy = {
13816
+ key: 0,
13817
+ class: "ce-hydrating",
13818
+ "aria-live": "polite"
13819
+ }, Xy = { class: "am-foot" }, Zy = {
13816
13820
  id: "ceFootNote",
13817
13821
  class: "am-cost-preview"
13818
- }, Zy = {
13822
+ }, Qy = {
13819
13823
  key: 0,
13820
13824
  style: { "font-size": "12px", color: "var(--text-3)" }
13821
- }, Qy = {
13825
+ }, _y = {
13822
13826
  key: 1,
13823
13827
  style: { "font-size": "12px", color: "var(--text-3)" }
13824
- }, _y = { class: "am-foot-btns" }, e1 = /* @__PURE__ */ ze({
13828
+ }, e1 = { class: "am-foot-btns" }, t1 = /* @__PURE__ */ ze({
13825
13829
  __name: "ScheduleAddEmployeeModal",
13826
13830
  props: {
13827
13831
  wizard: {}
@@ -13874,20 +13878,33 @@ Max 5 days / week`
13874
13878
  key: 0,
13875
13879
  wizard: e.wizard
13876
13880
  }, null, 8, ["wizard"])) : (v(), f("div", Ky, [
13877
- F(Wp, { wizard: e.wizard }, null, 8, ["wizard"]),
13878
- F(by, { wizard: e.wizard }, null, 8, ["wizard"]),
13879
- F(Cy, {
13880
- wizard: e.wizard,
13881
- onNewPosition: l[1] || (l[1] = (i) => o("newPosition", i))
13882
- }, null, 8, ["wizard"]),
13883
- F(Vy, { wizard: e.wizard }, null, 8, ["wizard"])
13881
+ e.wizard.selectingExisting.value ? (v(), f("div", Jy, [
13882
+ (v(), f(Y, null, ce(4, (i) => t("div", {
13883
+ key: i,
13884
+ class: "ce-hydrating-section"
13885
+ }, [...l[9] || (l[9] = [
13886
+ t("div", { class: "ce-hydrating-title" }, null, -1),
13887
+ t("div", { class: "ce-hydrating-row" }, [
13888
+ t("div", { class: "ce-hydrating-block" }),
13889
+ t("div", { class: "ce-hydrating-block" })
13890
+ ], -1)
13891
+ ])])), 64))
13892
+ ])) : (v(), f(Y, { key: 1 }, [
13893
+ F(Wp, { wizard: e.wizard }, null, 8, ["wizard"]),
13894
+ F(by, { wizard: e.wizard }, null, 8, ["wizard"]),
13895
+ F(Cy, {
13896
+ wizard: e.wizard,
13897
+ onNewPosition: l[1] || (l[1] = (i) => o("newPosition", i))
13898
+ }, null, 8, ["wizard"]),
13899
+ F(Vy, { wizard: e.wizard }, null, 8, ["wizard"])
13900
+ ], 64))
13884
13901
  ]))
13885
13902
  ]),
13886
13903
  t("div", {
13887
13904
  class: Z(["ce-err", { show: e.wizard.saveError.value }]),
13888
13905
  style: { padding: "0 24px", "margin-top": "0" }
13889
13906
  }, b(e.wizard.saveError.value), 3),
13890
- t("div", Jy, [
13907
+ t("div", Xy, [
13891
13908
  e.wizard.isEditing.value ? (v(), Xe(se, {
13892
13909
  key: 0,
13893
13910
  hierarchy: "danger-ghost",
@@ -13896,7 +13913,7 @@ Max 5 days / week`
13896
13913
  type: "button",
13897
13914
  onClick: l[2] || (l[2] = (i) => o("remove", e.wizard.editingEmployeeId.value))
13898
13915
  }, {
13899
- default: ae(() => [...l[9] || (l[9] = [
13916
+ default: ae(() => [...l[10] || (l[10] = [
13900
13917
  t("svg", {
13901
13918
  width: "14",
13902
13919
  height: "14",
@@ -13922,13 +13939,13 @@ Max 5 days / week`
13922
13939
  ])]),
13923
13940
  _: 1
13924
13941
  })) : U("", !0),
13925
- t("div", Xy, [
13926
- e.wizard.step.value === "mode" ? (v(), f("span", Zy, b(e.wizard.footerHint.value), 1)) : e.wizard.form.primaryPosition ? U("", !0) : (v(), f("span", Qy, [...l[10] || (l[10] = [
13942
+ t("div", Zy, [
13943
+ e.wizard.step.value === "mode" ? (v(), f("span", Qy, b(e.wizard.footerHint.value), 1)) : e.wizard.form.primaryPosition ? U("", !0) : (v(), f("span", _y, [...l[11] || (l[11] = [
13927
13944
  t("b", null, "Any position", -1),
13928
13945
  N(" until a primary is set ", -1)
13929
13946
  ])]))
13930
13947
  ]),
13931
- t("div", _y, [
13948
+ t("div", e1, [
13932
13949
  e.wizard.step.value === "mode" ? (v(), f(Y, { key: 0 }, [
13933
13950
  F(se, {
13934
13951
  hierarchy: "secondary",
@@ -13937,7 +13954,7 @@ Max 5 days / week`
13937
13954
  type: "button",
13938
13955
  onClick: l[3] || (l[3] = (i) => e.wizard.close())
13939
13956
  }, {
13940
- default: ae(() => [...l[11] || (l[11] = [
13957
+ default: ae(() => [...l[12] || (l[12] = [
13941
13958
  N("Cancel", -1)
13942
13959
  ])]),
13943
13960
  _: 1
@@ -13949,7 +13966,7 @@ Max 5 days / week`
13949
13966
  type: "button",
13950
13967
  onClick: l[4] || (l[4] = (i) => e.wizard.next())
13951
13968
  }, {
13952
- default: ae(() => [...l[12] || (l[12] = [
13969
+ default: ae(() => [...l[13] || (l[13] = [
13953
13970
  N(" Continue ", -1)
13954
13971
  ])]),
13955
13972
  _: 1
@@ -13987,16 +14004,16 @@ Max 5 days / week`
13987
14004
  _: 1
13988
14005
  }, 8, ["open"]));
13989
14006
  }
13990
- }), t1 = { class: "se-modal" }, n1 = { class: "se-head" }, a1 = { class: "se-body" }, o1 = { class: "se-search" }, s1 = { class: "se-table" }, l1 = { class: "se-list" }, i1 = {
14007
+ }), n1 = { class: "se-modal" }, a1 = { class: "se-head" }, o1 = { class: "se-body" }, s1 = { class: "se-search" }, l1 = { class: "se-table" }, i1 = { class: "se-list" }, r1 = {
13991
14008
  key: 1,
13992
14009
  class: "se-empty is-error"
13993
- }, r1 = {
14010
+ }, u1 = {
13994
14011
  key: 2,
13995
14012
  class: "se-empty"
13996
- }, u1 = ["checked", "onChange"], d1 = { class: "se-name" }, c1 = {
14013
+ }, d1 = ["checked", "onChange"], c1 = { class: "se-name" }, v1 = {
13997
14014
  key: 0,
13998
14015
  class: "se-pagination"
13999
- }, v1 = { class: "se-foot" }, m1 = /* @__PURE__ */ ze({
14016
+ }, m1 = { class: "se-foot" }, h1 = /* @__PURE__ */ ze({
14000
14017
  __name: "ScheduleSelectExistingEmployeeModal",
14001
14018
  props: {
14002
14019
  wizard: {}
@@ -14024,8 +14041,8 @@ Max 5 days / week`
14024
14041
  class: "modal-overlay open",
14025
14042
  onClick: k[6] || (k[6] = je((D) => e.wizard.closeSelectExisting(), ["self"]))
14026
14043
  }, [
14027
- t("div", t1, [
14028
- t("div", n1, [
14044
+ t("div", n1, [
14045
+ t("div", a1, [
14029
14046
  k[8] || (k[8] = t("div", { class: "se-head-text" }, [
14030
14047
  t("div", { class: "se-title" }, "Select Existing Employee"),
14031
14048
  t("div", { class: "se-sub" }, "These people are in the POS but not in scheduling yet.")
@@ -14057,8 +14074,8 @@ Max 5 days / week`
14057
14074
  _: 1
14058
14075
  })
14059
14076
  ]),
14060
- t("div", a1, [
14061
- t("div", o1, [
14077
+ t("div", o1, [
14078
+ t("div", s1, [
14062
14079
  k[9] || (k[9] = t("svg", {
14063
14080
  width: "15",
14064
14081
  height: "15",
@@ -14088,9 +14105,9 @@ Max 5 days / week`
14088
14105
  [rt, n.value]
14089
14106
  ])
14090
14107
  ]),
14091
- t("div", s1, [
14108
+ t("div", l1, [
14092
14109
  k[13] || (k[13] = t("div", { class: "se-thead" }, "Employee", -1)),
14093
- t("div", l1, [
14110
+ t("div", i1, [
14094
14111
  e.wizard.candidatesLoading.value ? (v(), f(Y, { key: 0 }, ce(7, (D) => t("div", {
14095
14112
  key: D,
14096
14113
  class: "se-row se-skeleton",
@@ -14098,7 +14115,7 @@ Max 5 days / week`
14098
14115
  }, [...k[10] || (k[10] = [
14099
14116
  t("span", { class: "se-skeleton-radio" }, null, -1),
14100
14117
  t("span", { class: "se-skeleton-name" }, null, -1)
14101
- ])])), 64)) : e.wizard.candidatesError.value ? (v(), f("p", i1, b(e.wizard.candidatesError.value), 1)) : e.wizard.candidates.value.length ? (v(!0), f(Y, { key: 3 }, ce(e.wizard.candidates.value, (D) => (v(), f("label", {
14118
+ ])])), 64)) : e.wizard.candidatesError.value ? (v(), f("p", r1, b(e.wizard.candidatesError.value), 1)) : e.wizard.candidates.value.length ? (v(!0), f(Y, { key: 3 }, ce(e.wizard.candidates.value, (D) => (v(), f("label", {
14102
14119
  key: D.employeeId,
14103
14120
  class: "se-row"
14104
14121
  }, [
@@ -14109,11 +14126,11 @@ Max 5 days / week`
14109
14126
  checked: o.value === D.employeeId,
14110
14127
  onChange: (y) => o.value = D.employeeId,
14111
14128
  "data-platform": "desktop"
14112
- }, null, 40, u1),
14113
- t("span", d1, b(D.name), 1)
14114
- ]))), 128)) : (v(), f("p", r1, " No employees available. "))
14129
+ }, null, 40, d1),
14130
+ t("span", c1, b(D.name), 1)
14131
+ ]))), 128)) : (v(), f("p", u1, " No employees available. "))
14115
14132
  ]),
14116
- u.value ? (v(), f("div", c1, [
14133
+ u.value ? (v(), f("div", v1, [
14117
14134
  F(se, {
14118
14135
  hierarchy: "ghost",
14119
14136
  size: "sm",
@@ -14142,7 +14159,7 @@ Max 5 days / week`
14142
14159
  ])) : U("", !0)
14143
14160
  ])
14144
14161
  ]),
14145
- t("div", v1, [
14162
+ t("div", m1, [
14146
14163
  F(se, {
14147
14164
  hierarchy: "secondary",
14148
14165
  size: "sm",
@@ -14172,18 +14189,18 @@ Max 5 days / week`
14172
14189
  ])
14173
14190
  ])) : U("", !0);
14174
14191
  }
14175
- }), h1 = { class: "am-head" }, f1 = { class: "ce-body" }, p1 = {
14192
+ }), f1 = { class: "am-head" }, p1 = { class: "ce-body" }, y1 = {
14176
14193
  key: 0,
14177
14194
  class: "sw-side"
14178
- }, y1 = { class: "sw-who" }, g1 = { class: "sw-nm" }, b1 = { class: "sw-when" }, k1 = { class: "sw-arrow" }, w1 = {
14195
+ }, g1 = { class: "sw-who" }, b1 = { class: "sw-nm" }, k1 = { class: "sw-when" }, w1 = { class: "sw-arrow" }, $1 = {
14179
14196
  key: 1,
14180
14197
  class: "ch-pick",
14181
14198
  role: "radiogroup",
14182
14199
  "aria-label": "Who works it instead"
14183
- }, $1 = ["onClick"], S1 = { class: "ch-main" }, C1 = { class: "ch-nm" }, x1 = { class: "ch-why" }, P1 = { class: "ch-tag position" }, D1 = { class: "ch-hrs" }, z1 = {
14200
+ }, S1 = ["onClick"], C1 = { class: "ch-main" }, x1 = { class: "ch-nm" }, P1 = { class: "ch-why" }, D1 = { class: "ch-tag position" }, z1 = { class: "ch-hrs" }, M1 = {
14184
14201
  key: 2,
14185
14202
  class: "sw-none"
14186
- }, M1 = { class: "am-foot" }, E1 = { class: "am-foot-btns" }, O1 = /* @__PURE__ */ ze({
14203
+ }, E1 = { class: "am-foot" }, O1 = { class: "am-foot-btns" }, T1 = /* @__PURE__ */ ze({
14187
14204
  __name: "ScheduleChangeEmployeeModal",
14188
14205
  props: {
14189
14206
  board: {},
@@ -14205,7 +14222,7 @@ Max 5 days / week`
14205
14222
  default: ae(() => {
14206
14223
  var i, g;
14207
14224
  return [
14208
- t("div", h1, [
14225
+ t("div", f1, [
14209
14226
  l[3] || (l[3] = t("div", {
14210
14227
  id: "schedule-change-employee-title",
14211
14228
  class: "am-title"
@@ -14216,23 +14233,23 @@ Max 5 days / week`
14216
14233
  onClick: l[0] || (l[0] = (x) => e.actions.closeChange())
14217
14234
  }, "Close")
14218
14235
  ]),
14219
- t("div", f1, [
14220
- n.value && s.value ? (v(), f("div", p1, [
14236
+ t("div", p1, [
14237
+ n.value && s.value ? (v(), f("div", y1, [
14221
14238
  t("span", {
14222
14239
  class: "sc-av",
14223
14240
  style: Fe(R(Mn)(n.value.color))
14224
14241
  }, b(n.value.initials), 5),
14225
- t("div", y1, [
14226
- t("div", g1, b(n.value.name), 1),
14227
- t("div", b1, b(o.value) + " · " + b(s.value.start) + "–" + b(s.value.end) + " · " + b(s.value.role), 1)
14242
+ t("div", g1, [
14243
+ t("div", b1, b(n.value.name), 1),
14244
+ t("div", k1, b(o.value) + " · " + b(s.value.start) + "–" + b(s.value.end) + " · " + b(s.value.role), 1)
14228
14245
  ]),
14229
14246
  l[4] || (l[4] = t("span", { class: "sw-side-note" }, "on it now", -1))
14230
14247
  ])) : U("", !0),
14231
- t("div", k1, [
14248
+ t("div", w1, [
14232
14249
  l[5] || (l[5] = N(" Change to · needs ", -1)),
14233
14250
  t("b", null, b((i = s.value) == null ? void 0 : i.role), 1)
14234
14251
  ]),
14235
- e.actions.changeCandidates.value.length ? (v(), f("div", w1, [
14252
+ e.actions.changeCandidates.value.length ? (v(), f("div", $1, [
14236
14253
  (v(!0), f(Y, null, ce(e.actions.changeCandidates.value, (x) => (v(), f("button", {
14237
14254
  key: x.id,
14238
14255
  type: "button",
@@ -14245,22 +14262,22 @@ Max 5 days / week`
14245
14262
  class: "ch-av",
14246
14263
  style: Fe(R(Mn)(x.color))
14247
14264
  }, b(x.initials), 5),
14248
- t("span", S1, [
14249
- t("span", C1, b(x.name), 1),
14250
- t("span", x1, [
14251
- t("span", P1, b(x.role), 1)
14265
+ t("span", C1, [
14266
+ t("span", x1, b(x.name), 1),
14267
+ t("span", P1, [
14268
+ t("span", D1, b(x.role), 1)
14252
14269
  ])
14253
14270
  ]),
14254
- t("span", D1, [
14271
+ t("span", z1, [
14255
14272
  N(b(x.weekHours) + "h ", 1),
14256
14273
  l[6] || (l[6] = t("small", null, "this week", -1))
14257
14274
  ])
14258
- ], 8, $1))), 128))
14259
- ])) : (v(), f("div", z1, " Nobody else holds " + b((g = s.value) == null ? void 0 : g.role) + " and is free " + b(o.value) + ". ", 1))
14275
+ ], 8, S1))), 128))
14276
+ ])) : (v(), f("div", M1, " Nobody else holds " + b((g = s.value) == null ? void 0 : g.role) + " and is free " + b(o.value) + ". ", 1))
14260
14277
  ]),
14261
- t("div", M1, [
14278
+ t("div", E1, [
14262
14279
  l[8] || (l[8] = t("div", { class: "am-cost-preview" }, null, -1)),
14263
- t("div", E1, [
14280
+ t("div", O1, [
14264
14281
  F(se, {
14265
14282
  hierarchy: "secondary",
14266
14283
  size: "sm",
@@ -14280,37 +14297,37 @@ Max 5 days / week`
14280
14297
  _: 1
14281
14298
  }, 8, ["open"]));
14282
14299
  }
14283
- }), T1 = { class: "am-head" }, A1 = {
14300
+ }), A1 = { class: "am-head" }, R1 = {
14284
14301
  id: "schedule-swap-title",
14285
14302
  class: "am-title"
14286
- }, R1 = { class: "ce-body" }, I1 = {
14303
+ }, I1 = { class: "ce-body" }, L1 = {
14287
14304
  key: 0,
14288
14305
  class: "sw-side"
14289
- }, L1 = { class: "sw-who" }, H1 = { class: "sw-nm" }, N1 = { class: "sw-when" }, B1 = ["aria-label"], F1 = {
14306
+ }, H1 = { class: "sw-who" }, N1 = { class: "sw-nm" }, B1 = { class: "sw-when" }, F1 = ["aria-label"], U1 = {
14290
14307
  key: 0,
14291
14308
  class: "ch-sec"
14292
- }, U1 = { class: "ch-n" }, W1 = { class: "ch-sec-note" }, j1 = ["aria-checked", "data-selection", "title", "onClick"], V1 = { class: "ch-main" }, q1 = { class: "ch-nm" }, Y1 = { class: "ch-why" }, G1 = { class: "ch-tag skill" }, K1 = {
14309
+ }, W1 = { class: "ch-n" }, j1 = { class: "ch-sec-note" }, V1 = ["aria-checked", "data-selection", "title", "onClick"], q1 = { class: "ch-main" }, Y1 = { class: "ch-nm" }, G1 = { class: "ch-why" }, K1 = { class: "ch-tag skill" }, J1 = {
14293
14310
  key: 0,
14294
14311
  class: "ch-tag warn"
14295
- }, J1 = {
14312
+ }, X1 = {
14296
14313
  key: 0,
14297
14314
  class: "sw-none"
14298
- }, X1 = {
14315
+ }, Z1 = {
14299
14316
  key: 1,
14300
14317
  class: "sw-prev"
14301
- }, Z1 = { class: "sw-move" }, Q1 = { class: "sw-move" }, _1 = { class: "sw-facts" }, eg = { key: 0 }, tg = {
14318
+ }, Q1 = { class: "sw-move" }, _1 = { class: "sw-move" }, eg = { class: "sw-facts" }, tg = { key: 0 }, ng = {
14302
14319
  key: 1,
14303
14320
  class: "sw-warn"
14304
- }, ng = { key: 2 }, ag = {
14321
+ }, ag = { key: 2 }, og = {
14305
14322
  key: 3,
14306
14323
  class: "sw-warn"
14307
- }, og = {
14324
+ }, sg = {
14308
14325
  key: 0,
14309
14326
  class: "sw-ok"
14310
- }, sg = { key: 1 }, lg = {
14327
+ }, lg = { key: 1 }, ig = {
14311
14328
  key: 2,
14312
14329
  class: "sw-none"
14313
- }, ig = { class: "am-foot" }, rg = { class: "am-cost-preview" }, ug = { class: "am-foot-btns" }, dg = /* @__PURE__ */ ze({
14330
+ }, rg = { class: "am-foot" }, ug = { class: "am-cost-preview" }, dg = { class: "am-foot-btns" }, cg = /* @__PURE__ */ ze({
14314
14331
  __name: "ScheduleSwapShiftsModal",
14315
14332
  props: {
14316
14333
  board: {},
@@ -14362,8 +14379,8 @@ Max 5 days / week`
14362
14379
  onClose: T[4] || (T[4] = (I) => e.actions.closeSwap())
14363
14380
  }, {
14364
14381
  default: ae(() => [
14365
- t("div", T1, [
14366
- t("div", A1, b(e.actions.swap.kind === "position" ? "Swap positions" : "Swap shifts"), 1),
14382
+ t("div", A1, [
14383
+ t("div", R1, b(e.actions.swap.kind === "position" ? "Swap positions" : "Swap shifts"), 1),
14367
14384
  F(se, {
14368
14385
  hierarchy: "ghost",
14369
14386
  size: "xs",
@@ -14390,15 +14407,15 @@ Max 5 days / week`
14390
14407
  _: 1
14391
14408
  })
14392
14409
  ]),
14393
- t("div", R1, [
14394
- n.value && s.value ? (v(), f("div", I1, [
14410
+ t("div", I1, [
14411
+ n.value && s.value ? (v(), f("div", L1, [
14395
14412
  t("span", {
14396
14413
  class: "sc-av",
14397
14414
  style: Fe(R(Mn)(n.value.color))
14398
14415
  }, b(n.value.initials), 5),
14399
- t("div", L1, [
14400
- t("div", H1, b(n.value.name), 1),
14401
- t("div", N1, b(o.value) + " · " + b(h(s.value)), 1)
14416
+ t("div", H1, [
14417
+ t("div", N1, b(n.value.name), 1),
14418
+ t("div", B1, b(o.value) + " · " + b(h(s.value)), 1)
14402
14419
  ])
14403
14420
  ])) : U("", !0),
14404
14421
  T[19] || (T[19] = t("div", { class: "sw-arrow" }, "Swap with", -1)),
@@ -14426,10 +14443,10 @@ Max 5 days / week`
14426
14443
  key: I.label
14427
14444
  }, [
14428
14445
  I.items.length ? (v(), f(Y, { key: 0 }, [
14429
- e.actions.swapPreset.value ? U("", !0) : (v(), f("div", F1, [
14446
+ e.actions.swapPreset.value ? U("", !0) : (v(), f("div", U1, [
14430
14447
  N(b(I.label), 1),
14431
- t("span", U1, b(I.items.length), 1),
14432
- t("span", W1, b(I.note), 1)
14448
+ t("span", W1, b(I.items.length), 1),
14449
+ t("span", j1, b(I.note), 1)
14433
14450
  ])),
14434
14451
  (v(!0), f(Y, null, ce(I.items, (A) => {
14435
14452
  var W, K, q, G;
@@ -14447,11 +14464,11 @@ Max 5 days / week`
14447
14464
  class: "ch-av",
14448
14465
  style: Fe(R(Mn)(A.emp.color))
14449
14466
  }, b(A.emp.initials), 5),
14450
- t("span", V1, [
14451
- t("span", q1, b(c(A.emp)) + " · " + b(i(A.dayIdx)) + " · " + b((q = A.slot[0]) == null ? void 0 : q.start) + "–" + b((G = A.slot[0]) == null ? void 0 : G.end), 1),
14452
- t("span", Y1, [
14453
- t("span", G1, b(p(A.slot[0])), 1),
14454
- A.soft && !e.actions.swapPreset.value ? (v(), f("span", K1, [
14467
+ t("span", q1, [
14468
+ t("span", Y1, b(c(A.emp)) + " · " + b(i(A.dayIdx)) + " · " + b((q = A.slot[0]) == null ? void 0 : q.start) + "–" + b((G = A.slot[0]) == null ? void 0 : G.end), 1),
14469
+ t("span", G1, [
14470
+ t("span", K1, b(p(A.slot[0])), 1),
14471
+ A.soft && !e.actions.swapPreset.value ? (v(), f("span", J1, [
14455
14472
  T[6] || (T[6] = t("span", { "aria-hidden": "true" }, "⚠", -1)),
14456
14473
  N(" " + b(A.soft), 1)
14457
14474
  ])) : U("", !0)
@@ -14461,29 +14478,29 @@ Max 5 days / week`
14461
14478
  class: "ch-tick",
14462
14479
  "aria-hidden": "true"
14463
14480
  }, "✓", -1))
14464
- ], 10, j1);
14481
+ ], 10, V1);
14465
14482
  }), 128))
14466
14483
  ], 64)) : U("", !0)
14467
14484
  ], 64))), 128)),
14468
- E.value.length ? U("", !0) : (v(), f("div", J1, "No shift matches that search."))
14469
- ], 10, B1),
14470
- r.value && d.value && n.value ? (v(), f("div", X1, [
14485
+ E.value.length ? U("", !0) : (v(), f("div", X1, "No shift matches that search."))
14486
+ ], 10, F1),
14487
+ r.value && d.value && n.value ? (v(), f("div", Z1, [
14471
14488
  T[18] || (T[18] = t("div", { class: "sw-prev-h" }, "After the swap", -1)),
14472
- t("div", Z1, [
14489
+ t("div", Q1, [
14473
14490
  t("b", null, b(c(n.value)), 1),
14474
14491
  t("span", null, "→ " + b(i(d.value.dayIdx)) + " " + b(h(d.value.slot[0])), 1)
14475
14492
  ]),
14476
- t("div", Q1, [
14493
+ t("div", _1, [
14477
14494
  t("b", null, b(c(d.value.emp)), 1),
14478
14495
  t("span", null, "→ " + b(o.value) + " " + b(h(s.value)), 1)
14479
14496
  ]),
14480
- t("dl", _1, [
14497
+ t("dl", eg, [
14481
14498
  T[15] || (T[15] = t("dt", null, "Day", -1)),
14482
- d.value.dayIdx === e.actions.swap.dayIdx ? (v(), f("dd", eg, [
14499
+ d.value.dayIdx === e.actions.swap.dayIdx ? (v(), f("dd", tg, [
14483
14500
  T[8] || (T[8] = t("b", { class: "sw-ok" }, "Same day", -1)),
14484
14501
  T[9] || (T[9] = t("span", { class: "sw-sep" }, "·", -1)),
14485
14502
  N(b(o.value), 1)
14486
- ])) : (v(), f("dd", tg, [
14503
+ ])) : (v(), f("dd", ng, [
14487
14504
  t("b", null, b(c(n.value)), 1),
14488
14505
  N(" " + b(o.value) + " → " + b(i(d.value.dayIdx)) + " ", 1),
14489
14506
  T[10] || (T[10] = t("span", { class: "sw-sep" }, "·", -1)),
@@ -14491,11 +14508,11 @@ Max 5 days / week`
14491
14508
  N(" " + b(i(d.value.dayIdx)) + " → " + b(o.value), 1)
14492
14509
  ])),
14493
14510
  T[16] || (T[16] = t("dt", null, "Hours", -1)),
14494
- Math.abs(r.value.hTheirs - r.value.hMine) < 0.01 ? (v(), f("dd", ng, [
14511
+ Math.abs(r.value.hTheirs - r.value.hMine) < 0.01 ? (v(), f("dd", ag, [
14495
14512
  T[11] || (T[11] = t("b", { class: "sw-ok" }, "No change", -1)),
14496
14513
  T[12] || (T[12] = t("span", { class: "sw-sep" }, "·", -1)),
14497
14514
  N("Both " + b(k(r.value.hMine)), 1)
14498
- ])) : (v(), f("dd", ag, [
14515
+ ])) : (v(), f("dd", og, [
14499
14516
  t("b", null, b(c(n.value)), 1),
14500
14517
  N(" " + b(D(r.value.hTheirs - r.value.hMine)) + " ", 1),
14501
14518
  T[13] || (T[13] = t("span", { class: "sw-sep" }, "·", -1)),
@@ -14506,21 +14523,21 @@ Max 5 days / week`
14506
14523
  t("dd", {
14507
14524
  class: Z({ up: r.value.delta > 0.5, down: r.value.delta < -0.5 })
14508
14525
  }, [
14509
- Math.abs(r.value.delta) < 0.5 ? (v(), f("b", og, "Unchanged")) : (v(), f("b", sg, b(r.value.delta > 0 ? "+" : "−") + b(y(Math.abs(r.value.delta))), 1)),
14526
+ Math.abs(r.value.delta) < 0.5 ? (v(), f("b", sg, "Unchanged")) : (v(), f("b", lg, b(r.value.delta > 0 ? "+" : "−") + b(y(Math.abs(r.value.delta))), 1)),
14510
14527
  T[14] || (T[14] = t("span", { class: "sw-sep" }, "·", -1)),
14511
14528
  N(b(y(r.value.before)) + " → " + b(y(r.value.after)), 1)
14512
14529
  ], 2)
14513
14530
  ])
14514
14531
  ])) : U("", !0)
14515
- ], 64)) : (v(), f("div", lg, " Nobody else in this outlet has a shift this week that can be swapped with this one. "))
14532
+ ], 64)) : (v(), f("div", ig, " Nobody else in this outlet has a shift this week that can be swapped with this one. "))
14516
14533
  ]),
14517
- t("div", ig, [
14518
- t("div", rg, [
14534
+ t("div", rg, [
14535
+ t("div", ug, [
14519
14536
  n.value && d.value ? (v(), f(Y, { key: 0 }, [
14520
14537
  N(b(c(n.value)) + " ⇄ " + b(c(d.value.emp)), 1)
14521
14538
  ], 64)) : U("", !0)
14522
14539
  ]),
14523
- t("div", ug, [
14540
+ t("div", dg, [
14524
14541
  F(se, {
14525
14542
  hierarchy: "secondary",
14526
14543
  size: "sm",
@@ -14552,26 +14569,26 @@ Max 5 days / week`
14552
14569
  _: 1
14553
14570
  }, 8, ["open"]));
14554
14571
  }
14555
- }), cg = { class: "auto-modal am-setup" }, vg = { class: "am-head" }, mg = {
14572
+ }), vg = { class: "auto-modal am-setup" }, mg = { class: "am-head" }, hg = {
14556
14573
  id: "amBody",
14557
14574
  class: "am-body"
14558
- }, hg = ["tabindex", "aria-disabled", "aria-checked", "onClick", "onKeydown"], fg = { class: "as-opt-txt" }, pg = ["tabindex", "aria-disabled", "aria-checked", "onClick", "onKeydown"], yg = { class: "as-opt-txt" }, gg = {
14575
+ }, fg = ["tabindex", "aria-disabled", "aria-checked", "onClick", "onKeydown"], pg = { class: "as-opt-txt" }, yg = ["tabindex", "aria-disabled", "aria-checked", "onClick", "onKeydown"], gg = { class: "as-opt-txt" }, bg = {
14559
14576
  key: 0,
14560
14577
  class: "as-rec"
14561
- }, bg = ["checked", "disabled"], kg = {
14578
+ }, kg = ["checked", "disabled"], wg = {
14562
14579
  key: 1,
14563
14580
  class: "as-lede"
14564
- }, wg = {
14581
+ }, $g = {
14565
14582
  key: 2,
14566
14583
  class: "as-lede"
14567
- }, $g = {
14584
+ }, Sg = {
14568
14585
  key: 3,
14569
14586
  class: "as-lede",
14570
14587
  style: { color: "var(--text-error)" }
14571
- }, Sg = { class: "am-foot" }, Cg = {
14588
+ }, Cg = { class: "am-foot" }, xg = {
14572
14589
  id: "amFootBtns",
14573
14590
  class: "am-foot-btns"
14574
- }, xg = { class: "auto-modal am-slim" }, Pg = { class: "am-head" }, Dg = { class: "am-body" }, zg = { class: "auto-block" }, Mg = { class: "ab-txt" }, Eg = { class: "ab-d" }, Og = { class: "am-foot" }, Tg = { class: "am-foot-btns" }, Ag = /* @__PURE__ */ ze({
14591
+ }, Pg = { class: "auto-modal am-slim" }, Dg = { class: "am-head" }, zg = { class: "am-body" }, Mg = { class: "auto-block" }, Eg = { class: "ab-txt" }, Og = { class: "ab-d" }, Tg = { class: "am-foot" }, Ag = { class: "am-foot-btns" }, Rg = /* @__PURE__ */ ze({
14575
14592
  __name: "ScheduleAutoScheduleModal",
14576
14593
  props: {
14577
14594
  autoSchedule: {}
@@ -14634,8 +14651,8 @@ Max 5 days / week`
14634
14651
  class: "modal-overlay open",
14635
14652
  onClick: p[4] || (p[4] = je((h) => e.autoSchedule.closeWizard(), ["self"]))
14636
14653
  }, [
14637
- t("div", cg, [
14638
- t("div", vg, [
14654
+ t("div", vg, [
14655
+ t("div", mg, [
14639
14656
  p[12] || (p[12] = t("div", {
14640
14657
  id: "amTitle",
14641
14658
  class: "am-title"
@@ -14655,7 +14672,7 @@ Max 5 days / week`
14655
14672
  _: 1
14656
14673
  })
14657
14674
  ]),
14658
- t("div", mg, [
14675
+ t("div", hg, [
14659
14676
  p[17] || (p[17] = t("div", { class: "as-lede" }, " We'll build your schedule based on staffing demand, team availability, scheduling rules, and your usual scheduling patterns. ", -1)),
14660
14677
  e.autoSchedule.plannerChoice.value ? (v(), f(Y, { key: 0 }, [
14661
14678
  p[14] || (p[14] = t("div", { class: "as-sec" }, "Planner", -1)),
@@ -14691,11 +14708,11 @@ Max 5 days / week`
14691
14708
  })
14692
14709
  ])
14693
14710
  ], -1)),
14694
- t("span", fg, [
14711
+ t("span", pg, [
14695
14712
  t("b", null, b(h.name), 1),
14696
14713
  t("small", null, b(h.hint), 1)
14697
14714
  ])
14698
- ], 42, hg))), 128))
14715
+ ], 42, fg))), 128))
14699
14716
  ], 64)) : U("", !0),
14700
14717
  p[18] || (p[18] = t("div", { class: "as-sec" }, "What should we prioritize?", -1)),
14701
14718
  (v(!0), f(Y, null, ce(l.value, (h) => (v(), f("div", {
@@ -14730,14 +14747,14 @@ Max 5 days / week`
14730
14747
  })
14731
14748
  ])
14732
14749
  ], -1)),
14733
- t("span", yg, [
14750
+ t("span", gg, [
14734
14751
  t("b", null, [
14735
14752
  N(b(h.name) + " ", 1),
14736
- h.recommended ? (v(), f("span", gg, "Recommended")) : U("", !0)
14753
+ h.recommended ? (v(), f("span", bg, "Recommended")) : U("", !0)
14737
14754
  ]),
14738
14755
  t("small", null, b(h.hint), 1)
14739
14756
  ])
14740
- ], 42, pg))), 128)),
14757
+ ], 42, yg))), 128)),
14741
14758
  p[19] || (p[19] = t("div", { class: "as-sec" }, "Overtime", -1)),
14742
14759
  t("label", {
14743
14760
  class: Z(["as-opt", { "is-on": e.autoSchedule.options.allowOvertime, "is-locked": x.value }]),
@@ -14750,22 +14767,22 @@ Max 5 days / week`
14750
14767
  checked: e.autoSchedule.options.allowOvertime,
14751
14768
  disabled: x.value,
14752
14769
  onChange: p[1] || (p[1] = (h) => e.autoSchedule.options.allowOvertime = h.target.checked)
14753
- }, null, 40, bg),
14770
+ }, null, 40, kg),
14754
14771
  p[16] || (p[16] = t("span", { class: "as-opt-txt" }, [
14755
14772
  t("b", null, "Allow overtime"),
14756
14773
  t("small", null, "Lets a person go past their weekly maximum hours. Off by default, so staff already at their cap are skipped.")
14757
14774
  ], -1))
14758
14775
  ], 2),
14759
- e.autoSchedule.hasDemand.value && !e.autoSchedule.gapCount.value ? (v(), f("p", kg, " Nothing to fill this range — coverage is met. ")) : U("", !0),
14760
- e.autoSchedule.reviewMode.value ? (v(), f("p", wg, " There are suggestions waiting. Apply or discard them before generating again. ")) : U("", !0),
14761
- e.autoSchedule.generateError.value ? (v(), f("p", $g, b(e.autoSchedule.generateError.value), 1)) : U("", !0)
14776
+ e.autoSchedule.hasDemand.value && !e.autoSchedule.gapCount.value ? (v(), f("p", wg, " Nothing to fill this range — coverage is met. ")) : U("", !0),
14777
+ e.autoSchedule.reviewMode.value ? (v(), f("p", $g, " There are suggestions waiting. Apply or discard them before generating again. ")) : U("", !0),
14778
+ e.autoSchedule.generateError.value ? (v(), f("p", Sg, b(e.autoSchedule.generateError.value), 1)) : U("", !0)
14762
14779
  ]),
14763
- t("div", Sg, [
14780
+ t("div", Cg, [
14764
14781
  p[21] || (p[21] = t("div", {
14765
14782
  id: "amCostPreview",
14766
14783
  class: "am-cost-preview"
14767
14784
  }, null, -1)),
14768
- t("div", Cg, [
14785
+ t("div", xg, [
14769
14786
  F(se, {
14770
14787
  hierarchy: "secondary",
14771
14788
  size: "sm",
@@ -14811,8 +14828,8 @@ Max 5 days / week`
14811
14828
  class: "modal-overlay open",
14812
14829
  onClick: p[10] || (p[10] = je((h) => e.autoSchedule.noDemandOpen.value = !1, ["self"]))
14813
14830
  }, [
14814
- t("div", xg, [
14815
- t("div", Pg, [
14831
+ t("div", Pg, [
14832
+ t("div", Dg, [
14816
14833
  p[23] || (p[23] = t("div", { class: "am-title" }, "No staffing demand set", -1)),
14817
14834
  F(se, {
14818
14835
  hierarchy: "secondary",
@@ -14829,18 +14846,18 @@ Max 5 days / week`
14829
14846
  _: 1
14830
14847
  })
14831
14848
  ]),
14832
- t("div", Dg, [
14833
- t("div", zg, [
14849
+ t("div", zg, [
14850
+ t("div", Mg, [
14834
14851
  p[25] || (p[25] = wt('<div class="ab-ic" aria-hidden="true"><svg width="18" height="18" viewBox="0 0 16 16" fill="none"><circle cx="8" cy="8" r="6.6" stroke="currentColor" stroke-width="1.4"></circle><path d="M8 5v3.4" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"></path><circle cx="8" cy="11" r=".85" fill="currentColor"></circle></svg></div>', 1)),
14835
- t("div", Mg, [
14836
- t("div", Eg, " Auto-Schedule works from staffing demand, and no day from " + b(e.autoSchedule.rangeLabel.value) + " has any set, so there is nothing for it to aim at. ", 1),
14852
+ t("div", Eg, [
14853
+ t("div", Og, " Auto-Schedule works from staffing demand, and no day from " + b(e.autoSchedule.rangeLabel.value) + " has any set, so there is nothing for it to aim at. ", 1),
14837
14854
  p[24] || (p[24] = t("div", { class: "ab-note" }, " Set demand on any day from the Staffing demand row at the top of the grid. ", -1))
14838
14855
  ])
14839
14856
  ])
14840
14857
  ]),
14841
- t("div", Og, [
14858
+ t("div", Tg, [
14842
14859
  p[28] || (p[28] = t("div", { class: "am-cost-preview" }, null, -1)),
14843
- t("div", Tg, [
14860
+ t("div", Ag, [
14844
14861
  F(se, {
14845
14862
  hierarchy: "secondary",
14846
14863
  size: "sm",
@@ -14871,15 +14888,15 @@ Max 5 days / week`
14871
14888
  ])) : U("", !0)
14872
14889
  ], 64));
14873
14890
  }
14874
- }), Rg = {
14891
+ }), Ig = {
14875
14892
  class: "ce-modal asd-modal",
14876
14893
  role: "dialog",
14877
14894
  "aria-modal": "true",
14878
14895
  "aria-labelledby": "asdTitle"
14879
- }, Ig = { class: "am-head" }, Lg = { class: "ce-body asd-body" }, Hg = { class: "asd-sub" }, Ng = { class: "asd-list" }, Bg = { key: 0 }, Fg = {
14896
+ }, Lg = { class: "am-head" }, Hg = { class: "ce-body asd-body" }, Ng = { class: "asd-sub" }, Bg = { class: "asd-list" }, Fg = { key: 0 }, Ug = {
14880
14897
  key: 1,
14881
14898
  class: "rv-details-tag"
14882
- }, Ug = /* @__PURE__ */ ze({
14899
+ }, Wg = /* @__PURE__ */ ze({
14883
14900
  __name: "ScheduleAutoScheduleDetailsModal",
14884
14901
  props: {
14885
14902
  autoSchedule: {}
@@ -14906,8 +14923,8 @@ Max 5 days / week`
14906
14923
  class: "modal-overlay open",
14907
14924
  onClick: D[1] || (D[1] = je((y) => g(), ["self"]))
14908
14925
  }, [
14909
- t("div", Rg, [
14910
- t("div", Ig, [
14926
+ t("div", Ig, [
14927
+ t("div", Lg, [
14911
14928
  D[3] || (D[3] = t("div", {
14912
14929
  id: "asdTitle",
14913
14930
  class: "am-title"
@@ -14927,14 +14944,14 @@ Max 5 days / week`
14927
14944
  _: 1
14928
14945
  })
14929
14946
  ]),
14930
- t("div", Lg, [
14931
- t("p", Hg, b(l.value) + " · " + b(i.value), 1),
14932
- t("ul", Ng, [
14947
+ t("div", Hg, [
14948
+ t("p", Ng, b(l.value) + " · " + b(i.value), 1),
14949
+ t("ul", Bg, [
14933
14950
  (v(!0), f(Y, null, ce(s.value, (y, p) => (v(), f("li", {
14934
14951
  key: p,
14935
14952
  class: Z(["rv-details-item", `rv-details-${y.kind}`])
14936
14953
  }, [
14937
- y.kind === "reject" ? (v(), f("b", Bg, "Would reject")) : y.kind === "ai" ? (v(), f("span", Fg, "AI")) : U("", !0),
14954
+ y.kind === "reject" ? (v(), f("b", Fg, "Would reject")) : y.kind === "ai" ? (v(), f("span", Ug, "AI")) : U("", !0),
14938
14955
  N(" " + b(y.text), 1)
14939
14956
  ], 2))), 128))
14940
14957
  ])
@@ -14942,7 +14959,7 @@ Max 5 days / week`
14942
14959
  ])
14943
14960
  ])) : U("", !0);
14944
14961
  }
14945
- }), Wg = /* @__PURE__ */ dn(Ug, [["__scopeId", "data-v-b3e5fa48"]]), jg = /* @__PURE__ */ ze({
14962
+ }), jg = /* @__PURE__ */ dn(Wg, [["__scopeId", "data-v-b3e5fa48"]]), Vg = /* @__PURE__ */ ze({
14946
14963
  __name: "ScheduleBoardInteractionOverlays",
14947
14964
  props: {
14948
14965
  board: {},
@@ -14986,37 +15003,37 @@ Max 5 days / week`
14986
15003
  kind: "employee",
14987
15004
  "employee-menu": e.employeeMenu
14988
15005
  }, null, 8, ["employee-menu"]),
14989
- F(e1, {
15006
+ F(t1, {
14990
15007
  wizard: e.addEmployee,
14991
15008
  onNewPosition: e.onNewPosition,
14992
15009
  onRemove: e.onRemoveFromScheduling
14993
15010
  }, null, 8, ["wizard", "onNewPosition", "onRemove"]),
14994
- F(m1, { wizard: e.addEmployee }, null, 8, ["wizard"]),
15011
+ F(h1, { wizard: e.addEmployee }, null, 8, ["wizard"]),
14995
15012
  F(vo, {
14996
15013
  kind: "shift",
14997
15014
  board: e.board,
14998
15015
  actions: e.shiftActions,
14999
15016
  onEditShift: e.onEditShift
15000
15017
  }, null, 8, ["board", "actions", "onEditShift"]),
15001
- F(O1, {
15018
+ F(T1, {
15002
15019
  board: e.board,
15003
15020
  actions: e.shiftActions
15004
15021
  }, null, 8, ["board", "actions"]),
15005
- F(dg, {
15022
+ F(cg, {
15006
15023
  board: e.board,
15007
15024
  actions: e.shiftActions
15008
15025
  }, null, 8, ["board", "actions"]),
15009
- F(Ag, {
15026
+ F(Rg, {
15010
15027
  "auto-schedule": e.autoSchedule,
15011
15028
  onSetDemand: n[0] || (n[0] = (o) => {
15012
15029
  var s;
15013
15030
  return e.demandSheet.openFor(((s = e.board.visibleDays.value[0]) == null ? void 0 : s.dayIdx) ?? 0);
15014
15031
  })
15015
15032
  }, null, 8, ["auto-schedule"]),
15016
- F(Wg, { "auto-schedule": e.autoSchedule }, null, 8, ["auto-schedule"])
15033
+ F(jg, { "auto-schedule": e.autoSchedule }, null, 8, ["auto-schedule"])
15017
15034
  ], 64));
15018
15035
  }
15019
- }), Vg = { class: "obaw-card" }, qg = { class: "obaw-copy" }, Yg = { class: "obaw-head" }, Gg = { class: "obaw-eyebrow" }, Kg = { class: "obaw-outlet" }, Jg = { class: "obaw-title" }, Xg = { class: "obaw-sub" }, Zg = { class: "obaw-acts" }, Qg = { class: "obaw-media" }, _g = { class: "obaw-media-lbl" }, eb = { class: "obad-caps" }, tb = { class: "obad-cap" }, nb = { class: "obad-cap" }, ab = { class: "obad-cap" }, ob = /* @__PURE__ */ ze({
15036
+ }), qg = { class: "obaw-card" }, Yg = { class: "obaw-copy" }, Gg = { class: "obaw-head" }, Kg = { class: "obaw-eyebrow" }, Jg = { class: "obaw-outlet" }, Xg = { class: "obaw-title" }, Zg = { class: "obaw-sub" }, Qg = { class: "obaw-acts" }, _g = { class: "obaw-media" }, eb = { class: "obaw-media-lbl" }, tb = { class: "obad-caps" }, nb = { class: "obad-cap" }, ab = { class: "obad-cap" }, ob = { class: "obad-cap" }, sb = /* @__PURE__ */ ze({
15020
15037
  __name: "ScheduleOnboardingWelcome",
15021
15038
  props: {
15022
15039
  setupBanner: {},
@@ -15028,11 +15045,11 @@ Max 5 days / week`
15028
15045
  return (s, u) => (v(), f("div", {
15029
15046
  class: Z(["modal-overlay", { open: e.setupBanner.welcomeOpen.value }])
15030
15047
  }, [
15031
- t("div", Vg, [
15032
- t("div", qg, [
15033
- t("div", Yg, [
15034
- t("div", Gg, b(R(o)("scheduling.welcome.eyebrow")), 1),
15035
- t("div", Kg, [
15048
+ t("div", qg, [
15049
+ t("div", Yg, [
15050
+ t("div", Gg, [
15051
+ t("div", Kg, b(R(o)("scheduling.welcome.eyebrow")), 1),
15052
+ t("div", Jg, [
15036
15053
  u[2] || (u[2] = t("svg", {
15037
15054
  width: "14",
15038
15055
  height: "14",
@@ -15059,9 +15076,9 @@ Max 5 days / week`
15059
15076
  ])
15060
15077
  ])
15061
15078
  ]),
15062
- t("div", Jg, b(R(o)("scheduling.welcome.title")), 1),
15063
- t("div", Xg, b(R(o)("scheduling.welcome.subtitle")), 1),
15064
- t("div", Zg, [
15079
+ t("div", Xg, b(R(o)("scheduling.welcome.title")), 1),
15080
+ t("div", Zg, b(R(o)("scheduling.welcome.subtitle")), 1),
15081
+ t("div", Qg, [
15065
15082
  F(se, {
15066
15083
  hierarchy: "primary",
15067
15084
  size: "sm",
@@ -15088,8 +15105,8 @@ Max 5 days / week`
15088
15105
  })
15089
15106
  ])
15090
15107
  ]),
15091
- t("div", Qg, [
15092
- t("div", _g, b(R(o)("scheduling.welcome.previewLabel")), 1),
15108
+ t("div", _g, [
15109
+ t("div", eb, b(R(o)("scheduling.welcome.previewLabel")), 1),
15093
15110
  u[6] || (u[6] = t("svg", {
15094
15111
  class: "il",
15095
15112
  viewBox: "0 0 380 250",
@@ -15446,22 +15463,22 @@ Max 5 days / week`
15446
15463
  d: "M20 162C20.96 167.04 20.96 167.04 26 168C20.96 168.96 20.96 168.96 20 174C19.04 168.96 19.04 168.96 14 168C19.04 167.04 19.04 167.04 20 162Z"
15447
15464
  })
15448
15465
  ], -1)),
15449
- t("div", eb, [
15450
- t("div", tb, [
15466
+ t("div", tb, [
15467
+ t("div", nb, [
15451
15468
  u[3] || (u[3] = t("em", null, "1.", -1)),
15452
15469
  t("span", null, [
15453
15470
  t("b", null, b(R(o)("scheduling.welcome.cap1Label")), 1),
15454
15471
  N(". " + b(R(o)("scheduling.welcome.cap1Description")), 1)
15455
15472
  ])
15456
15473
  ]),
15457
- t("div", nb, [
15474
+ t("div", ab, [
15458
15475
  u[4] || (u[4] = t("em", null, "2.", -1)),
15459
15476
  t("span", null, [
15460
15477
  t("b", null, b(R(o)("scheduling.welcome.cap2Label")), 1),
15461
15478
  N(". " + b(R(o)("scheduling.welcome.cap2Description")), 1)
15462
15479
  ])
15463
15480
  ]),
15464
- t("div", ab, [
15481
+ t("div", ob, [
15465
15482
  u[5] || (u[5] = t("em", null, "3.", -1)),
15466
15483
  t("span", null, [
15467
15484
  t("b", null, b(R(o)("scheduling.welcome.cap3Label")), 1),
@@ -15473,7 +15490,7 @@ Max 5 days / week`
15473
15490
  ])
15474
15491
  ], 2));
15475
15492
  }
15476
- }), sb = { class: "obawz-head" }, lb = { class: "obawz-crumb" }, ib = { class: "obawz-outlet" }, rb = { class: "js-oba-outlet" }, ub = { class: "of" }, db = { class: "obawz-pips" }, cb = ["aria-current", "title", "onClick"], vb = { class: "lbl" }, mb = { class: "n" }, hb = { class: "t" }, fb = /* @__PURE__ */ ze({
15493
+ }), lb = { class: "obawz-head" }, ib = { class: "obawz-crumb" }, rb = { class: "obawz-outlet" }, ub = { class: "js-oba-outlet" }, db = { class: "of" }, cb = { class: "obawz-pips" }, vb = ["aria-current", "title", "onClick"], mb = { class: "lbl" }, hb = { class: "n" }, fb = { class: "t" }, pb = /* @__PURE__ */ ze({
15477
15494
  __name: "ScheduleOnboardingWizardHeader",
15478
15495
  props: {
15479
15496
  wizard: {},
@@ -15489,10 +15506,10 @@ Max 5 days / week`
15489
15506
  o.value = !1, n("close");
15490
15507
  }
15491
15508
  return (l, i) => (v(), f(Y, null, [
15492
- t("div", sb, [
15493
- t("div", lb, [
15509
+ t("div", lb, [
15510
+ t("div", ib, [
15494
15511
  i[3] || (i[3] = t("span", null, "Setting up scheduling", -1)),
15495
- t("span", ib, [
15512
+ t("span", rb, [
15496
15513
  i[1] || (i[1] = t("svg", {
15497
15514
  width: "14",
15498
15515
  height: "14",
@@ -15513,9 +15530,9 @@ Max 5 days / week`
15513
15530
  "stroke-linejoin": "round"
15514
15531
  })
15515
15532
  ], -1)),
15516
- t("b", rb, b(e.outletName), 1)
15533
+ t("b", ub, b(e.outletName), 1)
15517
15534
  ]),
15518
- t("span", ub, "Step " + b(e.wizard.stepIndex.value + 1) + " of " + b(e.wizard.totalSteps), 1),
15535
+ t("span", db, "Step " + b(e.wizard.stepIndex.value + 1) + " of " + b(e.wizard.totalSteps), 1),
15519
15536
  F(se, {
15520
15537
  hierarchy: "ghost",
15521
15538
  size: "sm",
@@ -15529,7 +15546,7 @@ Max 5 days / week`
15529
15546
  _: 1
15530
15547
  })
15531
15548
  ]),
15532
- t("div", db, [
15549
+ t("div", cb, [
15533
15550
  (v(!0), f(Y, null, ce(e.wizard.steps, (g, x) => (v(), f("button", {
15534
15551
  key: g,
15535
15552
  type: "button",
@@ -15539,11 +15556,11 @@ Max 5 days / week`
15539
15556
  onClick: (k) => e.wizard.jump(x)
15540
15557
  }, [
15541
15558
  i[4] || (i[4] = t("span", { class: "bar" }, null, -1)),
15542
- t("span", vb, [
15543
- t("span", mb, b(x + 1), 1),
15544
- t("span", hb, b(R(so)[g]), 1)
15559
+ t("span", mb, [
15560
+ t("span", hb, b(x + 1), 1),
15561
+ t("span", fb, b(R(so)[g]), 1)
15545
15562
  ])
15546
- ], 10, cb))), 128))
15563
+ ], 10, vb))), 128))
15547
15564
  ])
15548
15565
  ]),
15549
15566
  F(en, {
@@ -15558,7 +15575,7 @@ Max 5 days / week`
15558
15575
  }, null, 8, ["open"])
15559
15576
  ], 64));
15560
15577
  }
15561
- }), pb = { class: "obawz-block" }, yb = { class: "obawz-review" }, gb = { key: 0 }, bb = /* @__PURE__ */ ze({
15578
+ }), yb = { class: "obawz-block" }, gb = { class: "obawz-review" }, bb = { key: 0 }, kb = /* @__PURE__ */ ze({
15562
15579
  __name: "ScheduleOnboardingReview",
15563
15580
  props: {
15564
15581
  wizard: {}
@@ -15567,8 +15584,8 @@ Max 5 days / week`
15567
15584
  return (a, n) => (v(), f(Y, null, [
15568
15585
  n[1] || (n[1] = t("div", { class: "obawz-q" }, "Ready to create your schedule", -1)),
15569
15586
  n[2] || (n[2] = t("div", { class: "obawz-sub" }, " Review everything before we build your first schedule. Nothing is published until you say so. ", -1)),
15570
- t("div", pb, [
15571
- t("dl", yb, [
15587
+ t("div", yb, [
15588
+ t("dl", gb, [
15572
15589
  (v(!0), f(Y, null, ce(e.wizard.reviewRows.value, (o) => (v(), f("div", {
15573
15590
  key: o.step,
15574
15591
  class: "obawz-rv"
@@ -15576,7 +15593,7 @@ Max 5 days / week`
15576
15593
  t("dt", null, b(o.title), 1),
15577
15594
  t("dd", null, [
15578
15595
  N(b(o.text), 1),
15579
- o.sub ? (v(), f("small", gb, b(o.sub), 1)) : U("", !0)
15596
+ o.sub ? (v(), f("small", bb, b(o.sub), 1)) : U("", !0)
15580
15597
  ]),
15581
15598
  F(se, {
15582
15599
  hierarchy: "ghost",
@@ -15596,7 +15613,7 @@ Max 5 days / week`
15596
15613
  ])
15597
15614
  ], 64));
15598
15615
  }
15599
- }), kb = /* @__PURE__ */ ze({
15616
+ }), wb = /* @__PURE__ */ ze({
15600
15617
  __name: "ScheduleOnboardingWizardFooter",
15601
15618
  props: {
15602
15619
  wizard: {}
@@ -15648,11 +15665,11 @@ Max 5 days / week`
15648
15665
  }, 8, ["disabled"])
15649
15666
  ], 2));
15650
15667
  }
15651
- }), wb = { class: "obawz-block" }, $b = { class: "obaf-ops" }, Sb = { class: "obaf-ops-t" }, Cb = {
15668
+ }), $b = { class: "obawz-block" }, Sb = { class: "obaf-ops" }, Cb = { class: "obaf-ops-t" }, xb = {
15652
15669
  key: 0,
15653
15670
  class: "obaf-sync",
15654
15671
  role: "status"
15655
- }, xb = /* @__PURE__ */ ze({
15672
+ }, Pb = /* @__PURE__ */ ze({
15656
15673
  __name: "ScheduleOnboardingHoursProfileNotice",
15657
15674
  props: {
15658
15675
  outletName: {},
@@ -15661,10 +15678,10 @@ Max 5 days / week`
15661
15678
  emits: ["reset"],
15662
15679
  setup(e, { emit: a }) {
15663
15680
  const n = a;
15664
- return (o, s) => (v(), f("div", wb, [
15681
+ return (o, s) => (v(), f("div", $b, [
15665
15682
  s[7] || (s[7] = t("div", { class: "obawz-lbl" }, "From your Restaurant Info", -1)),
15666
- t("div", $b, [
15667
- t("div", Sb, [
15683
+ t("div", Sb, [
15684
+ t("div", Cb, [
15668
15685
  t("b", null, b(e.outletName), 1),
15669
15686
  s[1] || (s[1] = N(" opens these hours according to ", -1)),
15670
15687
  s[2] || (s[2] = t("b", null, "Restaurant Info", -1)),
@@ -15685,7 +15702,7 @@ Max 5 days / week`
15685
15702
  _: 1
15686
15703
  }, 8, ["disabled"])
15687
15704
  ]),
15688
- e.hoursMatchProfile ? U("", !0) : (v(), f("div", Cb, [
15705
+ e.hoursMatchProfile ? U("", !0) : (v(), f("div", xb, [
15689
15706
  s[6] || (s[6] = wt('<span class="obaf-sync-ic" aria-hidden="true"><svg width="15" height="15" viewBox="0 0 16 16" fill="none"><circle cx="8" cy="8" r="6.6" stroke="currentColor" stroke-width="1.4"></circle><path d="M8 7.2v3.9" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"></path><circle cx="8" cy="4.9" r=".9" fill="currentColor"></circle></svg></span>', 1)),
15690
15707
  t("span", null, [
15691
15708
  s[5] || (s[5] = t("b", null, "These changes also update Restaurant Info.", -1)),
@@ -15694,23 +15711,23 @@ Max 5 days / week`
15694
15711
  ]))
15695
15712
  ]));
15696
15713
  }
15697
- }), Pb = {
15714
+ }), Db = {
15698
15715
  class: "obawz-sec obawz-sec-pos",
15699
15716
  "aria-label": "Positions"
15700
- }, Db = { class: "obawz-sec-head" }, zb = { class: "obawz-sec-meta" }, Mb = { class: "obawz-block" }, Eb = { class: "obawz-dmpos" }, Ob = { class: "obawz-tags" }, Tb = ["title", "onClick"], Ab = {
15717
+ }, zb = { class: "obawz-sec-head" }, Mb = { class: "obawz-sec-meta" }, Eb = { class: "obawz-block" }, Ob = { class: "obawz-dmpos" }, Tb = { class: "obawz-tags" }, Ab = ["title", "onClick"], Rb = {
15701
15718
  key: 0,
15702
15719
  class: "obawz-empty"
15703
- }, Rb = { class: "obawz-dmpos-add" }, Ib = ["onClick"], Lb = {
15720
+ }, Ib = { class: "obawz-dmpos-add" }, Lb = ["onClick"], Hb = {
15704
15721
  key: 0,
15705
15722
  class: "obawz-dmany over"
15706
- }, Hb = /* @__PURE__ */ ze({
15723
+ }, Nb = /* @__PURE__ */ ze({
15707
15724
  __name: "ScheduleOnboardingPositions",
15708
15725
  props: {
15709
15726
  wizard: {}
15710
15727
  },
15711
15728
  setup(e) {
15712
- return (a, n) => (v(), f("section", Pb, [
15713
- t("header", Db, [
15729
+ return (a, n) => (v(), f("section", Db, [
15730
+ t("header", zb, [
15714
15731
  n[3] || (n[3] = t("span", {
15715
15732
  class: "obawz-sec-n",
15716
15733
  "aria-hidden": "true"
@@ -15719,11 +15736,11 @@ Max 5 days / week`
15719
15736
  t("h3", { class: "obawz-sec-title" }, "Positions"),
15720
15737
  t("p", { class: "obawz-sec-desc" }, "The stations a time range can ask for. Optional, without any, anyone can cover a shift.")
15721
15738
  ], -1)),
15722
- t("span", zb, b(e.wizard.positions.count.value ? `${e.wizard.positions.count.value} added` : "Optional"), 1)
15739
+ t("span", Mb, b(e.wizard.positions.count.value ? `${e.wizard.positions.count.value} added` : "Optional"), 1)
15723
15740
  ]),
15724
- t("div", Mb, [
15725
- t("div", Eb, [
15726
- t("div", Ob, [
15741
+ t("div", Eb, [
15742
+ t("div", Ob, [
15743
+ t("div", Tb, [
15727
15744
  (v(!0), f(Y, null, ce(e.wizard.positions.positions.value, (o) => (v(), f("span", {
15728
15745
  key: o.id,
15729
15746
  class: "obawz-tag"
@@ -15733,11 +15750,11 @@ Max 5 days / week`
15733
15750
  type: "button",
15734
15751
  title: `Remove ${o.name}`,
15735
15752
  onClick: (s) => e.wizard.removePosition(o.id)
15736
- }, "×", 8, Tb)
15753
+ }, "×", 8, Ab)
15737
15754
  ]))), 128)),
15738
- e.wizard.positions.count.value ? U("", !0) : (v(), f("span", Ab, "None yet. Add the ones a range has to be staffed by."))
15755
+ e.wizard.positions.count.value ? U("", !0) : (v(), f("span", Rb, "None yet. Add the ones a range has to be staffed by."))
15739
15756
  ]),
15740
- t("div", Rb, [
15757
+ t("div", Ib, [
15741
15758
  et(t("input", {
15742
15759
  id: "obaWzPosNew",
15743
15760
  "onUpdate:modelValue": n[0] || (n[0] = (o) => e.wizard.positions.newName.value = o),
@@ -15765,17 +15782,17 @@ Max 5 days / week`
15765
15782
  type: "button",
15766
15783
  class: "obawz-sugchip",
15767
15784
  onClick: (s) => e.wizard.addPositionNamed(o)
15768
- }, "+ " + b(o), 9, Ib))), 128))
15785
+ }, "+ " + b(o), 9, Lb))), 128))
15769
15786
  ]),
15770
- e.wizard.positions.error.value ? (v(), f("div", Lb, b(e.wizard.positions.error.value), 1)) : U("", !0)
15787
+ e.wizard.positions.error.value ? (v(), f("div", Hb, b(e.wizard.positions.error.value), 1)) : U("", !0)
15771
15788
  ])
15772
15789
  ])
15773
15790
  ]));
15774
15791
  }
15775
- }), Nb = { class: "obawz-block" }, Bb = {
15792
+ }), Bb = { class: "obawz-block" }, Fb = {
15776
15793
  class: "obawz-dmtabs",
15777
15794
  role: "tablist"
15778
- }, Fb = ["aria-selected", "title", "onClick"], Ub = { class: "d" }, Wb = { class: "v" }, jb = /* @__PURE__ */ ze({
15795
+ }, Ub = ["aria-selected", "title", "onClick"], Wb = { class: "d" }, jb = { class: "v" }, Vb = /* @__PURE__ */ ze({
15779
15796
  __name: "ScheduleOnboardingDemandDays",
15780
15797
  props: {
15781
15798
  wizard: {}
@@ -15790,8 +15807,8 @@ Max 5 days / week`
15790
15807
  const u = a.wizard.board.dayDates.value[s];
15791
15808
  return u ? It(u) : !1;
15792
15809
  }
15793
- return (s, u) => (v(), f("div", Nb, [
15794
- t("div", Bb, [
15810
+ return (s, u) => (v(), f("div", Bb, [
15811
+ t("div", Fb, [
15795
15812
  (v(!0), f(Y, null, ce(R(Ee), (l, i) => (v(), f("button", {
15796
15813
  key: l,
15797
15814
  type: "button",
@@ -15808,16 +15825,16 @@ Max 5 days / week`
15808
15825
  title: e.wizard.isShut(i) ? `${l} is marked closed — demand can still be set here` : void 0,
15809
15826
  onClick: (g) => e.wizard.selectDay(i)
15810
15827
  }, [
15811
- t("span", Ub, [
15828
+ t("span", Wb, [
15812
15829
  N(b(l) + " ", 1),
15813
15830
  t("small", null, b(n(i)), 1)
15814
15831
  ]),
15815
- t("span", Wb, b(e.wizard.dmPeak(i) ? `${e.wizard.dmPeak(i)} at peak` : e.wizard.isShut(i) ? "Closed" : "Not set"), 1)
15816
- ], 10, Fb))), 128))
15832
+ t("span", jb, b(e.wizard.dmPeak(i) ? `${e.wizard.dmPeak(i)} at peak` : e.wizard.isShut(i) ? "Closed" : "Not set"), 1)
15833
+ ], 10, Ub))), 128))
15817
15834
  ])
15818
15835
  ]));
15819
15836
  }
15820
- }), Vb = { class: "obawz-block" }, qb = { class: "obawz-lbl" }, Yb = /* @__PURE__ */ ze({
15837
+ }), qb = { class: "obawz-block" }, Yb = { class: "obawz-lbl" }, Gb = /* @__PURE__ */ ze({
15821
15838
  __name: "ScheduleOnboardingDemandHeader",
15822
15839
  props: {
15823
15840
  wizard: {}
@@ -15828,8 +15845,8 @@ Max 5 days / week`
15828
15845
  var s;
15829
15846
  return ((s = a.wizard.board.dayDates.value[o]) == null ? void 0 : s.toLocaleDateString("en-GB", { day: "numeric", month: "short" })) ?? "";
15830
15847
  }
15831
- return (o, s) => (v(), f("div", Vb, [
15832
- t("div", qb, [
15848
+ return (o, s) => (v(), f("div", qb, [
15849
+ t("div", Yb, [
15833
15850
  N(b(R(Ee)[e.wizard.dmDay.value]) + " " + b(n(e.wizard.dmDay.value)) + " · ", 1),
15834
15851
  e.wizard.isShut(e.wizard.dmDay.value) ? (v(), f(Y, { key: 0 }, [
15835
15852
  N("closed")
@@ -15839,22 +15856,22 @@ Max 5 days / week`
15839
15856
  ])
15840
15857
  ]));
15841
15858
  }
15842
- }), Gb = { class: "obawz-dmfoot" }, Kb = {
15859
+ }), Kb = { class: "obawz-dmfoot" }, Jb = {
15843
15860
  key: 0,
15844
15861
  class: "obawz-dmcopy"
15845
- }, Jb = /* @__PURE__ */ ze({
15862
+ }, Xb = /* @__PURE__ */ ze({
15846
15863
  __name: "ScheduleOnboardingDemandFooter",
15847
15864
  props: {
15848
15865
  wizard: {}
15849
15866
  },
15850
15867
  setup(e) {
15851
- return (a, n) => (v(), f("div", Gb, [
15868
+ return (a, n) => (v(), f("div", Kb, [
15852
15869
  t("button", {
15853
15870
  type: "button",
15854
15871
  class: "obawz-add",
15855
15872
  onClick: n[0] || (n[0] = (o) => e.wizard.addRange())
15856
15873
  }, "+ Add time range"),
15857
- e.wizard.demand[e.wizard.dmDay.value].length && e.wizard.openDays.value.length > 1 ? (v(), f("span", Kb, [
15874
+ e.wizard.demand[e.wizard.dmDay.value].length && e.wizard.openDays.value.length > 1 ? (v(), f("span", Jb, [
15858
15875
  t("span", null, "Copy " + b(R(Ee)[e.wizard.dmDay.value]) + " to", 1),
15859
15876
  t("button", {
15860
15877
  type: "button",
@@ -15871,10 +15888,10 @@ Max 5 days / week`
15871
15888
  ])) : U("", !0)
15872
15889
  ]));
15873
15890
  }
15874
- }), Xb = {
15891
+ }), Zb = {
15875
15892
  class: "obawz-sec obawz-sec-settings",
15876
15893
  "aria-label": "Global scheduling settings"
15877
- }, Zb = { class: "obawz-settings-grid" }, Qb = { class: "obawz-settings-card" }, _b = { class: "obawz-settings-card-body" }, ek = { class: "obawz-settings-group" }, tk = { class: "obawz-settings-group" }, nk = { class: "obawz-settings-card" }, ak = { class: "obawz-settings-card-body" }, ok = { for: "onboarding-ot-cap" }, sk = { class: "obawz-settings-card" }, lk = { class: "obawz-settings-card-body" }, ik = { for: "onboarding-min-hours-day" }, rk = { for: "onboarding-max-hours-day" }, uk = { for: "onboarding-max-hours-week" }, dk = /* @__PURE__ */ ze({
15894
+ }, Qb = { class: "obawz-settings-grid" }, _b = { class: "obawz-settings-card" }, ek = { class: "obawz-settings-card-body" }, tk = { class: "obawz-settings-group" }, nk = { class: "obawz-settings-group" }, ak = { class: "obawz-settings-card" }, ok = { class: "obawz-settings-card-body" }, sk = { for: "onboarding-ot-cap" }, lk = { class: "obawz-settings-card" }, ik = { class: "obawz-settings-card-body" }, rk = { for: "onboarding-min-hours-day" }, uk = { for: "onboarding-max-hours-day" }, dk = { for: "onboarding-max-hours-week" }, ck = /* @__PURE__ */ ze({
15878
15895
  __name: "ScheduleOnboardingSettings",
15879
15896
  props: {
15880
15897
  wizard: {}
@@ -15883,16 +15900,16 @@ Max 5 days / week`
15883
15900
  function a(n, o, s) {
15884
15901
  (n[o] == null || n[o] < 1) && (n[o] = 1), s.target.value = String(n[o]);
15885
15902
  }
15886
- return (n, o) => (v(), f("section", Xb, [
15903
+ return (n, o) => (v(), f("section", Zb, [
15887
15904
  o[39] || (o[39] = wt('<header class="obawz-sec-head"><span class="obawz-sec-n" aria-hidden="true">3</span><div class="obawz-sec-txt"><h3 class="obawz-sec-title">Global scheduling settings</h3><p class="obawz-sec-desc sp-panel-desc">Set outlet defaults for pay and hours.</p></div></header>', 1)),
15888
- t("div", Zb, [
15889
- t("div", Qb, [
15905
+ t("div", Qb, [
15906
+ t("div", _b, [
15890
15907
  o[28] || (o[28] = t("div", { class: "obawz-settings-card-hd" }, [
15891
15908
  t("strong", null, "Pay rates"),
15892
15909
  t("small", null, "Regular and overtime pay multipliers.")
15893
15910
  ], -1)),
15894
- t("div", _b, [
15895
- t("div", ek, [
15911
+ t("div", ek, [
15912
+ t("div", tk, [
15896
15913
  o[20] || (o[20] = t("strong", null, "Overtime rate", -1)),
15897
15914
  o[21] || (o[21] = t("small", { class: "sp-panel-desc" }, "Multiplier on overtime hours.", -1)),
15898
15915
  t("label", null, [
@@ -15956,7 +15973,7 @@ Max 5 days / week`
15956
15973
  o[19] || (o[19] = N(" ×", -1))
15957
15974
  ])
15958
15975
  ]),
15959
- t("div", tk, [
15976
+ t("div", nk, [
15960
15977
  o[26] || (o[26] = t("strong", null, "Regular rate", -1)),
15961
15978
  o[27] || (o[27] = t("small", { class: "sp-panel-desc" }, "Multiplier on ordinary hours.", -1)),
15962
15979
  t("label", null, [
@@ -16002,13 +16019,13 @@ Max 5 days / week`
16002
16019
  ])
16003
16020
  ])
16004
16021
  ]),
16005
- t("div", nk, [
16022
+ t("div", ak, [
16006
16023
  o[31] || (o[31] = t("div", { class: "obawz-settings-card-hd" }, [
16007
16024
  t("strong", null, "Overtime"),
16008
16025
  t("small", null, "Monthly overtime limit.")
16009
16026
  ], -1)),
16010
- t("div", ak, [
16011
- t("label", ok, [
16027
+ t("div", ok, [
16028
+ t("label", sk, [
16012
16029
  o[29] || (o[29] = N("Monthly OT cap ", -1)),
16013
16030
  et(t("input", {
16014
16031
  id: "onboarding-ot-cap",
@@ -16031,13 +16048,13 @@ Max 5 days / week`
16031
16048
  ])
16032
16049
  ])
16033
16050
  ]),
16034
- t("div", sk, [
16051
+ t("div", lk, [
16035
16052
  o[38] || (o[38] = t("div", { class: "obawz-settings-card-hd" }, [
16036
16053
  t("strong", null, "Working hours"),
16037
16054
  t("small", null, "Default employee hour limits.")
16038
16055
  ], -1)),
16039
- t("div", lk, [
16040
- t("label", ik, [
16056
+ t("div", ik, [
16057
+ t("label", rk, [
16041
16058
  o[32] || (o[32] = N("Min hours per day ", -1)),
16042
16059
  et(t("input", {
16043
16060
  id: "onboarding-min-hours-day",
@@ -16058,7 +16075,7 @@ Max 5 days / week`
16058
16075
  ]),
16059
16076
  o[33] || (o[33] = N(" hours", -1))
16060
16077
  ]),
16061
- t("label", rk, [
16078
+ t("label", uk, [
16062
16079
  o[34] || (o[34] = N("Max hours per day ", -1)),
16063
16080
  et(t("input", {
16064
16081
  id: "onboarding-max-hours-day",
@@ -16079,7 +16096,7 @@ Max 5 days / week`
16079
16096
  ]),
16080
16097
  o[35] || (o[35] = N(" hours", -1))
16081
16098
  ]),
16082
- t("label", uk, [
16099
+ t("label", dk, [
16083
16100
  o[36] || (o[36] = N("Max hours per week ", -1)),
16084
16101
  et(t("input", {
16085
16102
  id: "onboarding-max-hours-week",
@@ -16105,7 +16122,7 @@ Max 5 days / week`
16105
16122
  ])
16106
16123
  ]));
16107
16124
  }
16108
- }), ck = /* @__PURE__ */ ze({
16125
+ }), vk = /* @__PURE__ */ ze({
16109
16126
  __name: "ScheduleOnboardingClosedDayConfirm",
16110
16127
  props: {
16111
16128
  wizard: {}
@@ -16120,21 +16137,21 @@ Max 5 days / week`
16120
16137
  onClose: n[1] || (n[1] = (o) => e.wizard.dayClosedConfirm.close())
16121
16138
  }, null, 8, ["open", "title", "message", "confirm-label"]));
16122
16139
  }
16123
- }), vk = {
16140
+ }), mk = {
16124
16141
  class: "obapp",
16125
16142
  role: "dialog",
16126
16143
  "aria-modal": "true",
16127
16144
  "aria-labelledby": "obaPpTitle"
16128
- }, mk = { class: "obapp-hd" }, hk = {
16145
+ }, hk = { class: "obapp-hd" }, fk = {
16129
16146
  id: "obaPpTitle",
16130
16147
  class: "obapp-t"
16131
- }, fk = { class: "obapp-search" }, pk = { id: "obaPpBody" }, yk = {
16148
+ }, pk = { class: "obapp-search" }, yk = { id: "obaPpBody" }, gk = {
16132
16149
  key: 0,
16133
16150
  class: "obapp-all"
16134
- }, gk = ["checked", ".indeterminate"], bk = { class: "obapp-list" }, kk = ["checked", "onChange"], wk = { class: "obapp-av" }, $k = { class: "obapp-id" }, Sk = { class: "obapp-ty" }, Ck = {
16151
+ }, bk = ["checked", ".indeterminate"], kk = { class: "obapp-list" }, wk = ["checked", "onChange"], $k = { class: "obapp-av" }, Sk = { class: "obapp-id" }, Ck = { class: "obapp-ty" }, xk = {
16135
16152
  key: 0,
16136
16153
  class: "obapp-empty"
16137
- }, xk = { class: "obapp-foot" }, Pk = { class: "obapp-n" }, Dk = /* @__PURE__ */ ze({
16154
+ }, Pk = { class: "obapp-foot" }, Dk = { class: "obapp-n" }, zk = /* @__PURE__ */ ze({
16138
16155
  __name: "ScheduleOnboardingAssignPositionModal",
16139
16156
  props: {
16140
16157
  wizard: {}
@@ -16156,10 +16173,10 @@ Max 5 days / week`
16156
16173
  onClick: l[5] || (l[5] = je((i) => e.wizard.closePositionPicker(), ["self"])),
16157
16174
  onKeydown: s
16158
16175
  }, [
16159
- t("div", vk, [
16160
- t("div", mk, [
16176
+ t("div", mk, [
16177
+ t("div", hk, [
16161
16178
  t("div", null, [
16162
- t("div", hk, " Assign employees to " + b(e.wizard.posPickerLabel.value), 1),
16179
+ t("div", fk, " Assign employees to " + b(e.wizard.posPickerLabel.value), 1),
16163
16180
  l[6] || (l[6] = t("div", { class: "obapp-s" }, " Tick everyone who works this position. It becomes their main position, or one more they cover if they already have one. ", -1))
16164
16181
  ]),
16165
16182
  F(se, {
@@ -16177,7 +16194,7 @@ Max 5 days / week`
16177
16194
  _: 1
16178
16195
  })
16179
16196
  ]),
16180
- t("div", fk, [
16197
+ t("div", pk, [
16181
16198
  l[8] || (l[8] = t("svg", {
16182
16199
  width: "14",
16183
16200
  height: "14",
@@ -16209,8 +16226,8 @@ Max 5 days / week`
16209
16226
  [rt, e.wizard.posPickQuery.value]
16210
16227
  ])
16211
16228
  ]),
16212
- t("div", pk, [
16213
- e.wizard.pickerCandidates.value.length ? (v(), f("label", yk, [
16229
+ t("div", yk, [
16230
+ e.wizard.pickerCandidates.value.length ? (v(), f("label", gk, [
16214
16231
  t("input", {
16215
16232
  class: "sch-checkbox",
16216
16233
  type: "checkbox",
@@ -16218,11 +16235,11 @@ Max 5 days / week`
16218
16235
  checked: e.wizard.pickerAllChecked.value,
16219
16236
  ".indeterminate": !e.wizard.pickerAllChecked.value && e.wizard.pickerSomeChecked.value,
16220
16237
  onChange: l[2] || (l[2] = (i) => e.wizard.pickerToggleAll(i.target.checked))
16221
- }, null, 40, gk),
16238
+ }, null, 40, bk),
16222
16239
  t("span", null, "Select all" + b(e.wizard.posPickQuery.value ? " results" : ""), 1),
16223
16240
  t("em", null, b(e.wizard.pickerCandidates.value.length) + " " + b(e.wizard.pickerCandidates.value.length === 1 ? "person" : "people"), 1)
16224
16241
  ])) : U("", !0),
16225
- t("ul", bk, [
16242
+ t("ul", kk, [
16226
16243
  (v(!0), f(Y, null, ce(e.wizard.pickerCandidates.value, (i) => (v(), f("li", {
16227
16244
  key: i.id,
16228
16245
  class: Z({ on: e.wizard.posPickSelected.value.has(i.id) })
@@ -16234,19 +16251,19 @@ Max 5 days / week`
16234
16251
  "data-platform": "desktop",
16235
16252
  checked: e.wizard.posPickSelected.value.has(i.id),
16236
16253
  onChange: (g) => e.wizard.pickerToggleOne(i.id, g.target.checked)
16237
- }, null, 40, kk),
16238
- t("span", wk, b(i.initials), 1),
16239
- t("span", $k, [
16254
+ }, null, 40, wk),
16255
+ t("span", $k, b(i.initials), 1),
16256
+ t("span", Sk, [
16240
16257
  t("b", null, b(i.name), 1),
16241
16258
  t("small", null, b(o(i.positions)), 1)
16242
16259
  ]),
16243
- t("span", Sk, b(n(i.employmentType)), 1)
16260
+ t("span", Ck, b(n(i.employmentType)), 1)
16244
16261
  ])
16245
16262
  ], 2))), 128)),
16246
- e.wizard.pickerCandidates.value.length ? U("", !0) : (v(), f("li", Ck, b(e.wizard.posPickQuery.value ? `Nobody matches "${e.wizard.posPickQuery.value}".` : "Everyone is already on this position."), 1))
16263
+ e.wizard.pickerCandidates.value.length ? U("", !0) : (v(), f("li", xk, b(e.wizard.posPickQuery.value ? `Nobody matches "${e.wizard.posPickQuery.value}".` : "Everyone is already on this position."), 1))
16247
16264
  ]),
16248
- t("div", xk, [
16249
- t("span", Pk, [
16265
+ t("div", Pk, [
16266
+ t("span", Dk, [
16250
16267
  e.wizard.posPickSelected.value.size ? (v(), f(Y, { key: 0 }, [
16251
16268
  t("b", null, b(e.wizard.posPickSelected.value.size), 1),
16252
16269
  l[9] || (l[9] = N(" selected ", -1))
@@ -16284,98 +16301,98 @@ Max 5 days / week`
16284
16301
  ])
16285
16302
  ], 32)) : U("", !0);
16286
16303
  }
16287
- }), zk = {
16304
+ }), Mk = {
16288
16305
  key: 0,
16289
16306
  id: "obaWiz",
16290
16307
  class: "obawz open"
16291
- }, Mk = { class: "obawz-scroll" }, Ek = { class: "obawz-card" }, Ok = { class: "obawz-body" }, Tk = { class: "obawz-block" }, Ak = { class: "obaf-hrs" }, Rk = { class: "obaf-hday" }, Ik = { class: "obaf-hname" }, Lk = ["aria-checked", "aria-label", "title", "onClick"], Hk = {
16308
+ }, Ek = { class: "obawz-scroll" }, Ok = { class: "obawz-card" }, Tk = { class: "obawz-body" }, Ak = { class: "obawz-block" }, Rk = { class: "obaf-hrs" }, Ik = { class: "obaf-hday" }, Lk = { class: "obaf-hname" }, Hk = ["aria-checked", "aria-label", "title", "onClick"], Nk = {
16292
16309
  key: 0,
16293
16310
  class: "obaf-hsess"
16294
- }, Nk = ["aria-label", "aria-expanded", "onClick"], Bk = ["aria-label", "aria-expanded", "onClick"], Fk = {
16311
+ }, Bk = ["aria-label", "aria-expanded", "onClick"], Fk = ["aria-label", "aria-expanded", "onClick"], Uk = {
16295
16312
  class: "obawz-sec obawz-sec-dm",
16296
16313
  "aria-label": "Demand by day"
16297
- }, Uk = { class: "obawz-sec-head" }, Wk = { class: "obawz-sec-meta" }, jk = { class: "obawz-block" }, Vk = { class: "sp-card obawz-dmcard" }, qk = { class: "obawz-dmrow" }, Yk = ["aria-label", "aria-expanded", "onClick"], Gk = ["aria-label", "aria-expanded", "onClick"], Kk = ["value", "aria-label", "onChange"], Jk = { class: "obawz-unit" }, Xk = {
16314
+ }, Wk = { class: "obawz-sec-head" }, jk = { class: "obawz-sec-meta" }, Vk = { class: "obawz-block" }, qk = { class: "sp-card obawz-dmcard" }, Yk = { class: "obawz-dmrow" }, Gk = ["aria-label", "aria-expanded", "onClick"], Kk = ["aria-label", "aria-expanded", "onClick"], Jk = ["value", "aria-label", "onChange"], Xk = { class: "obawz-unit" }, Zk = {
16298
16315
  key: 0,
16299
16316
  class: "obawz-dmroles"
16300
- }, Zk = ["value", "aria-label", "onInput", "onBlur"], Qk = {
16317
+ }, Qk = ["value", "aria-label", "onInput", "onBlur"], _k = {
16301
16318
  key: 0,
16302
16319
  class: "obawz-empty"
16303
- }, _k = {
16320
+ }, ew = {
16304
16321
  key: 0,
16305
16322
  class: "note warn obawz-demand-note"
16306
- }, ew = { class: "obawz-block" }, tw = { class: "obawz-lbl" }, nw = { class: "obawz-tags" }, aw = ["title"], ow = ["onClick"], sw = { class: "obawz-addrow obawz-addrow-sm" }, lw = {
16323
+ }, tw = { class: "obawz-block" }, nw = { class: "obawz-lbl" }, aw = { class: "obawz-tags" }, ow = ["title"], sw = ["onClick"], lw = { class: "obawz-addrow obawz-addrow-sm" }, iw = {
16307
16324
  key: 0,
16308
16325
  class: "obawz-dmany over"
16309
- }, iw = {
16326
+ }, rw = {
16310
16327
  class: "obawz-picks",
16311
16328
  style: { "margin-top": "var(--fm-spacing-10)" }
16312
- }, rw = ["title", "onClick"], uw = { class: "obawz-block sep" }, dw = { class: "obawz-pgrid" }, cw = { class: "obawz-pcard-hd" }, vw = { class: "obawz-pcount" }, mw = {
16329
+ }, uw = ["title", "onClick"], dw = { class: "obawz-block sep" }, cw = { class: "obawz-pgrid" }, vw = { class: "obawz-pcard-hd" }, mw = { class: "obawz-pcount" }, hw = {
16313
16330
  key: 0,
16314
16331
  class: "obawz-pempty"
16315
- }, hw = {
16332
+ }, fw = {
16316
16333
  key: 1,
16317
16334
  class: "obawz-plist"
16318
- }, fw = { class: "nm" }, pw = ["title", "aria-label", "onClick"], yw = ["aria-label", "aria-expanded", "onClick"], gw = { class: "obawz-block" }, bw = { class: "obawz-tbar" }, kw = { class: "obawz-tbar-all" }, ww = ["checked", "indeterminate"], $w = {
16335
+ }, pw = { class: "nm" }, yw = ["title", "aria-label", "onClick"], gw = ["aria-label", "aria-expanded", "onClick"], bw = { class: "obawz-block" }, kw = { class: "obawz-tbar" }, ww = { class: "obawz-tbar-all" }, $w = ["checked", "indeterminate"], Sw = {
16319
16336
  key: 0,
16320
16337
  class: "obawz-bulk2"
16321
- }, Sw = { class: "obawz-bulk2-hd" }, Cw = { class: "obawz-scope" }, xw = ["onClick"], Pw = { class: "obawz-bulkn" }, Dw = { class: "obawz-bulk2-grid" }, zw = { class: "obawz-bulkf" }, Mw = { class: "obawz-bulkf" }, Ew = { class: "obawz-bulkf" }, Ow = { class: "seg sm" }, Tw = { class: "obawz-bulkf" }, Aw = { class: "obawz-bulkf" }, Rw = { class: "obawz-money" }, Iw = { class: "obawz-bulk2-foot" }, Lw = { class: "sp-card obawz-tbl" }, Hw = { class: "obawz-pick" }, Nw = ["onUpdate:modelValue", "aria-label"], Bw = { class: "obawz-idw" }, Fw = { class: "obawz-who" }, Uw = {
16338
+ }, Cw = { class: "obawz-bulk2-hd" }, xw = { class: "obawz-scope" }, Pw = ["onClick"], Dw = { class: "obawz-bulkn" }, zw = { class: "obawz-bulk2-grid" }, Mw = { class: "obawz-bulkf" }, Ew = { class: "obawz-bulkf" }, Ow = { class: "obawz-bulkf" }, Tw = { class: "seg sm" }, Aw = { class: "obawz-bulkf" }, Rw = { class: "obawz-bulkf" }, Iw = { class: "obawz-money" }, Lw = { class: "obawz-bulk2-foot" }, Hw = { class: "sp-card obawz-tbl" }, Nw = { class: "obawz-pick" }, Bw = ["onUpdate:modelValue", "aria-label"], Fw = { class: "obawz-idw" }, Uw = { class: "obawz-who" }, Ww = {
16322
16339
  key: 0,
16323
16340
  class: "obawz-flag quiet"
16324
- }, Ww = {
16341
+ }, jw = {
16325
16342
  class: "obawz-cell",
16326
16343
  "data-l": "Position",
16327
16344
  "data-f": "pos"
16328
- }, jw = {
16345
+ }, Vw = {
16329
16346
  class: "obawz-cell",
16330
16347
  "data-l": "Also covers"
16331
- }, Vw = {
16348
+ }, qw = {
16332
16349
  class: "obawz-cell works",
16333
16350
  "data-l": "Employment"
16334
- }, qw = { class: "seg sm" }, Yw = ["onClick"], Gw = ["onClick"], Kw = {
16351
+ }, Yw = { class: "seg sm" }, Gw = ["onClick"], Kw = ["onClick"], Jw = {
16335
16352
  class: "obawz-cell",
16336
16353
  "data-l": "Hours / week"
16337
- }, Jw = { class: "obawz-hrs" }, Xw = ["aria-label", "title", "placeholder", "value", "onInput"], Zw = {
16354
+ }, Xw = { class: "obawz-hrs" }, Zw = ["aria-label", "title", "placeholder", "value", "onInput"], Qw = {
16338
16355
  class: "obawz-cell pay",
16339
16356
  "data-l": "Pay",
16340
16357
  "data-f": "pay"
16341
- }, Qw = { class: "obawz-money" }, _w = ["step", "aria-label", "value", "onInput"], e0 = {
16358
+ }, _w = { class: "obawz-money" }, e0 = ["step", "aria-label", "value", "onInput"], t0 = {
16342
16359
  key: 1,
16343
16360
  class: "obawz-outnote"
16344
- }, t0 = {
16361
+ }, n0 = {
16345
16362
  key: 0,
16346
16363
  class: "obawz-empty",
16347
16364
  style: { padding: "var(--fm-spacing-14)" }
16348
- }, n0 = { class: "obawz-block" }, a0 = {
16365
+ }, a0 = { class: "obawz-block" }, o0 = {
16349
16366
  class: "obawz-av2-seg",
16350
16367
  role: "tablist"
16351
- }, o0 = ["aria-selected"], s0 = ["aria-selected"], l0 = { class: "obawz-av2-hint" }, i0 = {
16368
+ }, s0 = ["aria-selected"], l0 = ["aria-selected"], i0 = { class: "obawz-av2-hint" }, r0 = {
16352
16369
  key: 0,
16353
16370
  class: "obawz-block"
16354
- }, r0 = {
16371
+ }, u0 = {
16355
16372
  key: 1,
16356
16373
  class: "obawz-block"
16357
- }, u0 = {
16374
+ }, d0 = {
16358
16375
  key: 0,
16359
16376
  class: "obawz-tbar"
16360
- }, d0 = { class: "obawz-tbar-all" }, c0 = ["checked", "indeterminate"], v0 = {
16377
+ }, c0 = { class: "obawz-tbar-all" }, v0 = ["checked", "indeterminate"], m0 = {
16361
16378
  key: 1,
16362
16379
  class: "obawz-bulk2"
16363
- }, m0 = { class: "obawz-bulk2-hd" }, h0 = { class: "obawz-bulk2-who" }, f0 = { class: "obawz-bulkn" }, p0 = { class: "obawz-bulk2-grid obawz-bulk2-av" }, y0 = { class: "obawz-bulkf" }, g0 = { class: "l" }, b0 = { class: "obawz-days sm" }, k0 = ["title"], w0 = ["onClick"], $0 = { class: "obawz-bulkf" }, S0 = { class: "obawz-bulkf" }, C0 = { class: "obawz-bulk2-foot" }, x0 = { class: "note" }, P0 = { class: "obawz-av2-who" }, D0 = ["onUpdate:modelValue", "aria-label"], z0 = { class: "obawz-av2-av" }, M0 = { class: "obawz-av2-id" }, E0 = { class: "obawz-av2-days" }, O0 = ["title"], T0 = ["aria-pressed", "title", "onClick"], A0 = ["aria-pressed", "title", "onClick"], R0 = {
16380
+ }, h0 = { class: "obawz-bulk2-hd" }, f0 = { class: "obawz-bulk2-who" }, p0 = { class: "obawz-bulkn" }, y0 = { class: "obawz-bulk2-grid obawz-bulk2-av" }, g0 = { class: "obawz-bulkf" }, b0 = { class: "l" }, k0 = { class: "obawz-days sm" }, w0 = ["title"], $0 = ["onClick"], S0 = { class: "obawz-bulkf" }, C0 = { class: "obawz-bulkf" }, x0 = { class: "obawz-bulk2-foot" }, P0 = { class: "note" }, D0 = { class: "obawz-av2-who" }, z0 = ["onUpdate:modelValue", "aria-label"], M0 = { class: "obawz-av2-av" }, E0 = { class: "obawz-av2-id" }, O0 = { class: "obawz-av2-days" }, T0 = ["title"], A0 = ["aria-pressed", "title", "onClick"], R0 = ["aria-pressed", "title", "onClick"], I0 = {
16364
16381
  key: 0,
16365
16382
  class: "obawz-av2-hrs"
16366
- }, I0 = {
16383
+ }, L0 = {
16367
16384
  key: 0,
16368
16385
  class: "obawz-av2-none"
16369
- }, L0 = {
16386
+ }, H0 = {
16370
16387
  key: 1,
16371
16388
  class: "obawz-av2-none"
16372
- }, H0 = ["aria-label", "onClick"], N0 = ["aria-label", "onClick"], B0 = {
16389
+ }, N0 = ["aria-label", "onClick"], B0 = ["aria-label", "onClick"], F0 = {
16373
16390
  key: 1,
16374
16391
  class: "obawz-av2-per"
16375
- }, F0 = ["aria-label", "onClick"], U0 = ["aria-label", "onClick"], W0 = {
16392
+ }, U0 = ["aria-label", "onClick"], W0 = ["aria-label", "onClick"], j0 = {
16376
16393
  key: 0,
16377
16394
  class: "obawz-av2-row obawz-av2-foot"
16378
- }, j0 = { class: "obawz-av2-who" }, V0 = { class: "obawz-av2-id" }, q0 = { class: "obawz-av2-days" }, Y0 = /* @__PURE__ */ ze({
16395
+ }, V0 = { class: "obawz-av2-who" }, q0 = { class: "obawz-av2-id" }, Y0 = { class: "obawz-av2-days" }, G0 = /* @__PURE__ */ ze({
16379
16396
  __name: "ScheduleOnboardingWizard",
16380
16397
  props: {
16381
16398
  wizard: {},
@@ -16451,32 +16468,32 @@ Max 5 days / week`
16451
16468
  `oba-${d}-${r}-${c}`
16452
16469
  );
16453
16470
  }
16454
- return (P, d) => e.wizard.open.value ? (v(), f("div", zk, [
16455
- F(fb, {
16471
+ return (P, d) => e.wizard.open.value ? (v(), f("div", Mk, [
16472
+ F(pb, {
16456
16473
  wizard: e.wizard,
16457
16474
  "outlet-name": e.outletName,
16458
16475
  onClose: d[0] || (d[0] = (r) => e.wizard.close())
16459
16476
  }, null, 8, ["wizard", "outlet-name"]),
16460
- t("div", Mk, [
16461
- t("div", Ek, [
16462
- t("div", Ok, [
16477
+ t("div", Ek, [
16478
+ t("div", Ok, [
16479
+ t("div", Tk, [
16463
16480
  e.wizard.step.value === "hours" ? (v(), f(Y, { key: 0 }, [
16464
16481
  d[30] || (d[30] = t("div", { class: "obawz-q" }, "When are you open?", -1)),
16465
16482
  d[31] || (d[31] = t("div", { class: "obawz-sub" }, " We filled in your opening hours from Restaurant Info. Check them, add sessions if needed, and leave closed days empty. ", -1)),
16466
- F(xb, {
16483
+ F(Pb, {
16467
16484
  "outlet-name": e.outletName,
16468
16485
  "hours-match-profile": e.wizard.hoursMatchProfile.value,
16469
16486
  onReset: d[1] || (d[1] = (r) => e.wizard.resetHours())
16470
16487
  }, null, 8, ["outlet-name", "hours-match-profile"]),
16471
- t("div", Tk, [
16488
+ t("div", Ak, [
16472
16489
  d[29] || (d[29] = t("div", { class: "obawz-lbl" }, "Your operational hours", -1)),
16473
- t("div", Ak, [
16490
+ t("div", Rk, [
16474
16491
  (v(!0), f(Y, null, ce(e.wizard.hours, (r, c) => (v(), f("div", {
16475
16492
  key: c,
16476
16493
  class: "obaf-hrow"
16477
16494
  }, [
16478
- t("div", Rk, [
16479
- t("span", Ik, b(R(Ee)[c]), 1),
16495
+ t("div", Ik, [
16496
+ t("span", Lk, b(R(Ee)[c]), 1),
16480
16497
  t("button", {
16481
16498
  "data-size": "md",
16482
16499
  type: "button",
@@ -16486,12 +16503,12 @@ Max 5 days / week`
16486
16503
  "aria-label": `${R(Ee)[c]} · ${r.open ? "open" : "closed"}`,
16487
16504
  title: `Mark ${R(Ee)[c]} ${r.open ? "closed" : "open"}`,
16488
16505
  onClick: (C) => e.wizard.toggleDay(c)
16489
- }, null, 10, Lk),
16506
+ }, null, 10, Hk),
16490
16507
  t("span", {
16491
16508
  class: Z(["obaf-hstate", { on: r.open }])
16492
16509
  }, b(r.open ? "Open" : "Closed"), 3)
16493
16510
  ]),
16494
- r.open ? (v(), f("div", Hk, [
16511
+ r.open ? (v(), f("div", Nk, [
16495
16512
  (v(!0), f(Y, null, ce(r.sessions, (C, S) => (v(), f("div", {
16496
16513
  key: S,
16497
16514
  class: "obaf-hs"
@@ -16502,7 +16519,7 @@ Max 5 days / week`
16502
16519
  "aria-label": `${R(Ee)[c]} opens`,
16503
16520
  "aria-expanded": e.timePicker.isOpenFor(`oba-${c}-${S}-from`),
16504
16521
  onClick: (T) => z(T.currentTarget, c, S, "from")
16505
- }, b(R(mt)(C.from)), 9, Nk),
16522
+ }, b(R(mt)(C.from)), 9, Bk),
16506
16523
  d[27] || (d[27] = t("span", { class: "obaf-hdash" }, "–", -1)),
16507
16524
  t("button", {
16508
16525
  type: "button",
@@ -16510,7 +16527,7 @@ Max 5 days / week`
16510
16527
  "aria-label": `${R(Ee)[c]} closes`,
16511
16528
  "aria-expanded": e.timePicker.isOpenFor(`oba-${c}-${S}-to`),
16512
16529
  onClick: (T) => z(T.currentTarget, c, S, "to")
16513
- }, b(R(mt)(C.to)), 9, Bk),
16530
+ }, b(R(mt)(C.to)), 9, Fk),
16514
16531
  r.sessions.length > 1 ? (v(), Xe(se, {
16515
16532
  key: 0,
16516
16533
  hierarchy: "ghost",
@@ -16548,9 +16565,9 @@ Max 5 days / week`
16548
16565
  ], 64)) : e.wizard.step.value === "staffing" ? (v(), f(Y, { key: 1 }, [
16549
16566
  d[39] || (d[39] = t("div", { class: "obawz-q" }, "What does your first week need?", -1)),
16550
16567
  d[40] || (d[40] = t("div", { class: "obawz-sub" }, " Set how many people you need across each day of your first week. Break a range down by position if some of it needs a particular skill, the positions you name here carry over to the next step. ", -1)),
16551
- F(Hb, { wizard: e.wizard }, null, 8, ["wizard"]),
16552
- t("section", Fk, [
16553
- t("header", Uk, [
16568
+ F(Nb, { wizard: e.wizard }, null, 8, ["wizard"]),
16569
+ t("section", Uk, [
16570
+ t("header", Wk, [
16554
16571
  d[32] || (d[32] = t("span", {
16555
16572
  class: "obawz-sec-n",
16556
16573
  "aria-hidden": "true"
@@ -16559,24 +16576,24 @@ Max 5 days / week`
16559
16576
  t("h3", { class: "obawz-sec-title" }, "Demand by day"),
16560
16577
  t("p", { class: "obawz-sec-desc" }, " How many people you need, and when. Pick a day, then set its time ranges. ")
16561
16578
  ], -1)),
16562
- t("span", Wk, b(e.wizard.daysSet.value) + " of " + b(e.wizard.openDays.value.length) + " days set", 1)
16579
+ t("span", jk, b(e.wizard.daysSet.value) + " of " + b(e.wizard.openDays.value.length) + " days set", 1)
16563
16580
  ]),
16564
- F(jb, { wizard: e.wizard }, null, 8, ["wizard"]),
16565
- F(Yb, { wizard: e.wizard }, null, 8, ["wizard"]),
16566
- t("div", jk, [
16567
- t("div", Vk, [
16581
+ F(Vb, { wizard: e.wizard }, null, 8, ["wizard"]),
16582
+ F(Gb, { wizard: e.wizard }, null, 8, ["wizard"]),
16583
+ t("div", Vk, [
16584
+ t("div", qk, [
16568
16585
  (v(!0), f(Y, null, ce(e.wizard.demand[e.wizard.dmDay.value], (r, c) => (v(), f("div", {
16569
16586
  key: c,
16570
16587
  class: "obawz-dmper"
16571
16588
  }, [
16572
- t("div", qk, [
16589
+ t("div", Yk, [
16573
16590
  t("button", {
16574
16591
  type: "button",
16575
16592
  class: "sch-input obaf-htime tp-btn",
16576
16593
  "aria-label": `Range ${c + 1} starts`,
16577
16594
  "aria-expanded": e.timePicker.isOpenFor(`oba-dm-${c}-from`),
16578
16595
  onClick: (C) => m(C.currentTarget, c, "from")
16579
- }, b(R(mt)(r.from)), 9, Yk),
16596
+ }, b(R(mt)(r.from)), 9, Gk),
16580
16597
  d[35] || (d[35] = t("span", { class: "obaf-hdash" }, "–", -1)),
16581
16598
  t("button", {
16582
16599
  type: "button",
@@ -16584,7 +16601,7 @@ Max 5 days / week`
16584
16601
  "aria-label": `Range ${c + 1} ends`,
16585
16602
  "aria-expanded": e.timePicker.isOpenFor(`oba-dm-${c}-to`),
16586
16603
  onClick: (C) => m(C.currentTarget, c, "to")
16587
- }, b(R(mt)(r.to)), 9, Gk),
16604
+ }, b(R(mt)(r.to)), 9, Kk),
16588
16605
  d[36] || (d[36] = t("span", { class: "obawz-dmneed" }, "Needs", -1)),
16589
16606
  t("input", {
16590
16607
  class: "sch-input sp-num obawz-dmn",
@@ -16597,8 +16614,8 @@ Max 5 days / week`
16597
16614
  placeholder: "0",
16598
16615
  "aria-label": `People needed from ${R(mt)(r.from)}`,
16599
16616
  onChange: (C) => e.wizard.setRangeCount(c, C.target.value)
16600
- }, null, 40, Kk),
16601
- t("span", Jk, b(r.n === 1 ? "person" : "people"), 1),
16617
+ }, null, 40, Jk),
16618
+ t("span", Xk, b(r.n === 1 ? "person" : "people"), 1),
16602
16619
  F(se, {
16603
16620
  hierarchy: "secondary",
16604
16621
  size: "xs",
@@ -16615,7 +16632,7 @@ Max 5 days / week`
16615
16632
  _: 1
16616
16633
  }, 8, ["aria-label", "onClick"])
16617
16634
  ]),
16618
- r.roles.length ? (v(), f("div", Xk, [
16635
+ r.roles.length ? (v(), f("div", Zk, [
16619
16636
  (v(!0), f(Y, null, ce(r.roles, (C, S) => (v(), f("div", {
16620
16637
  key: S,
16621
16638
  class: "obawz-dmrole"
@@ -16637,7 +16654,7 @@ Max 5 days / week`
16637
16654
  "aria-label": `How many ${C.position}`,
16638
16655
  onInput: (T) => M(e.wizard.dmDay.value, c, S, T.target.value),
16639
16656
  onBlur: (T) => w(e.wizard.dmDay.value, c, S, T.target.value)
16640
- }, null, 40, Zk),
16657
+ }, null, 40, Qk),
16641
16658
  F(se, {
16642
16659
  hierarchy: "secondary",
16643
16660
  size: "xs",
@@ -16675,23 +16692,23 @@ Max 5 days / week`
16675
16692
  _: 2
16676
16693
  }, 1032, ["disabled", "title", "onClick"])
16677
16694
  ]))), 128)),
16678
- e.wizard.demand[e.wizard.dmDay.value].length ? U("", !0) : (v(), f("div", Qk, " No time ranges yet. ")),
16679
- F(Jb, { wizard: e.wizard }, null, 8, ["wizard"])
16695
+ e.wizard.demand[e.wizard.dmDay.value].length ? U("", !0) : (v(), f("div", _k, " No time ranges yet. ")),
16696
+ F(Xb, { wizard: e.wizard }, null, 8, ["wizard"])
16680
16697
  ])
16681
16698
  ]),
16682
- e.wizard.note.value ? (v(), f("div", _k, b(e.wizard.note.value), 1)) : U("", !0)
16699
+ e.wizard.note.value ? (v(), f("div", ew, b(e.wizard.note.value), 1)) : U("", !0)
16683
16700
  ]),
16684
- F(dk, { wizard: e.wizard }, null, 8, ["wizard"])
16701
+ F(ck, { wizard: e.wizard }, null, 8, ["wizard"])
16685
16702
  ], 64)) : e.wizard.step.value === "positions" ? (v(), f(Y, { key: 2 }, [
16686
16703
  d[44] || (d[44] = t("div", { class: "obawz-q" }, "What positions do you schedule?", -1)),
16687
16704
  d[45] || (d[45] = t("div", { class: "obawz-sub" }, " Positions you named in staffing demand are already here. Add any others, then choose who works each one. A person can hold a main position and multiple positions they also cover. ", -1)),
16688
- t("div", ew, [
16689
- t("div", tw, "Your positions · " + b(e.wizard.positions.count.value + 1), 1),
16690
- t("div", nw, [
16705
+ t("div", tw, [
16706
+ t("div", nw, "Your positions · " + b(e.wizard.positions.count.value + 1), 1),
16707
+ t("div", aw, [
16691
16708
  t("span", {
16692
16709
  class: "obawz-tag any",
16693
16710
  title: R(a)("scheduling.common.anyPosition")
16694
- }, b(R(a)("scheduling.common.anyPosition")), 9, aw),
16711
+ }, b(R(a)("scheduling.common.anyPosition")), 9, ow),
16695
16712
  (v(!0), f(Y, null, ce(e.wizard.positions.positions.value, (r) => (v(), f("span", {
16696
16713
  key: r.id,
16697
16714
  class: "obawz-tag"
@@ -16701,10 +16718,10 @@ Max 5 days / week`
16701
16718
  type: "button",
16702
16719
  title: "Remove",
16703
16720
  onClick: (c) => e.wizard.removePosition(r.id)
16704
- }, " × ", 8, ow)
16721
+ }, " × ", 8, sw)
16705
16722
  ]))), 128))
16706
16723
  ]),
16707
- t("div", sw, [
16724
+ t("div", lw, [
16708
16725
  et(t("input", {
16709
16726
  id: "obaWzPosNew",
16710
16727
  "onUpdate:modelValue": d[2] || (d[2] = (r) => e.wizard.positions.newName.value = r),
@@ -16728,8 +16745,8 @@ Max 5 days / week`
16728
16745
  _: 1
16729
16746
  }, 8, ["disabled"])
16730
16747
  ]),
16731
- e.wizard.positions.error.value ? (v(), f("div", lw, b(e.wizard.positions.error.value), 1)) : U("", !0),
16732
- t("div", iw, [
16748
+ e.wizard.positions.error.value ? (v(), f("div", iw, b(e.wizard.positions.error.value), 1)) : U("", !0),
16749
+ t("div", rw, [
16733
16750
  (v(!0), f(Y, null, ce(e.wizard.remainingCommon.value, (r) => (v(), f("button", {
16734
16751
  key: r,
16735
16752
  type: "button",
@@ -16739,12 +16756,12 @@ Max 5 days / week`
16739
16756
  }, [
16740
16757
  d[42] || (d[42] = t("span", null, "+", -1)),
16741
16758
  N(b(r), 1)
16742
- ], 8, rw))), 128))
16759
+ ], 8, uw))), 128))
16743
16760
  ])
16744
16761
  ]),
16745
- t("div", uw, [
16762
+ t("div", dw, [
16746
16763
  d[43] || (d[43] = t("div", { class: "obawz-lbl" }, "Who works each position", -1)),
16747
- t("div", dw, [
16764
+ t("div", cw, [
16748
16765
  (v(!0), f(Y, null, ce([
16749
16766
  { key: e.wizard.ANY_POSITION_KEY, name: R(a)("scheduling.common.anyPosition") },
16750
16767
  ...e.wizard.positions.positions.value.map((r) => ({ key: r.name, name: r.name }))
@@ -16752,40 +16769,40 @@ Max 5 days / week`
16752
16769
  key: r.key,
16753
16770
  class: "obawz-pcard"
16754
16771
  }, [
16755
- t("div", cw, [
16772
+ t("div", vw, [
16756
16773
  t("b", null, b(r.name), 1),
16757
- t("span", vw, b(e.wizard.holdersOf(r.key).length ? `${e.wizard.holdersOf(r.key).length} ${e.wizard.holdersOf(r.key).length === 1 ? "person" : "people"}` : "Nobody yet"), 1)
16774
+ t("span", mw, b(e.wizard.holdersOf(r.key).length ? `${e.wizard.holdersOf(r.key).length} ${e.wizard.holdersOf(r.key).length === 1 ? "person" : "people"}` : "Nobody yet"), 1)
16758
16775
  ]),
16759
- e.wizard.holdersOf(r.key).length ? (v(), f("ul", hw, [
16776
+ e.wizard.holdersOf(r.key).length ? (v(), f("ul", fw, [
16760
16777
  (v(!0), f(Y, null, ce(e.wizard.holdersOf(r.key), (c) => (v(), f("li", {
16761
16778
  key: c.id
16762
16779
  }, [
16763
- t("span", fw, b(c.name), 1),
16780
+ t("span", pw, b(c.name), 1),
16764
16781
  r.key !== e.wizard.ANY_POSITION_KEY ? (v(), f("button", {
16765
16782
  key: 0,
16766
16783
  type: "button",
16767
16784
  title: `Take ${c.name} off ${r.name}`,
16768
16785
  "aria-label": `Take ${c.name} off ${r.name}`,
16769
16786
  onClick: (C) => e.wizard.unassign(c.id, r.key)
16770
- }, " × ", 8, pw)) : U("", !0)
16787
+ }, " × ", 8, yw)) : U("", !0)
16771
16788
  ]))), 128))
16772
- ])) : (v(), f("div", mw, " Nobody on this position yet. ")),
16789
+ ])) : (v(), f("div", hw, " Nobody on this position yet. ")),
16773
16790
  t("button", {
16774
16791
  type: "button",
16775
16792
  class: "sch-input obawz-in obawz-passign",
16776
16793
  "aria-label": `Assign employees to ${r.name}`,
16777
16794
  "aria-expanded": e.wizard.posPicker.value === r.key,
16778
16795
  onClick: (c) => e.wizard.openPositionPicker(r.key, r.name)
16779
- }, " + Assign employees ", 8, yw)
16796
+ }, " + Assign employees ", 8, gw)
16780
16797
  ]))), 128))
16781
16798
  ])
16782
16799
  ])
16783
16800
  ], 64)) : e.wizard.step.value === "employees" ? (v(), f(Y, { key: 3 }, [
16784
16801
  d[60] || (d[60] = t("div", { class: "obawz-q" }, "Which employees are on the schedule?", -1)),
16785
16802
  d[61] || (d[61] = t("div", { class: "obawz-sub" }, " Tick the people you want to schedule and fill in their position, employment type and weekly hours. Pay is optional. You can add it later. ", -1)),
16786
- t("div", gw, [
16787
- t("div", bw, [
16788
- t("label", kw, [
16803
+ t("div", bw, [
16804
+ t("div", kw, [
16805
+ t("label", ww, [
16789
16806
  t("input", {
16790
16807
  "data-platform": "desktop",
16791
16808
  class: "sch-checkbox",
@@ -16794,7 +16811,7 @@ Max 5 days / week`
16794
16811
  indeterminate: e.wizard.teamSomePicked.value,
16795
16812
  "aria-label": "Select everyone",
16796
16813
  onChange: d[5] || (d[5] = (r) => e.wizard.pickAll(r.target.checked))
16797
- }, null, 40, ww),
16814
+ }, null, 40, $w),
16798
16815
  t("span", null, [
16799
16816
  t("b", null, b(e.wizard.teamPicked.value), 1),
16800
16817
  N(" of " + b(e.wizard.teamRows.value.length) + " selected", 1)
@@ -16841,21 +16858,21 @@ Max 5 days / week`
16841
16858
  _: 1
16842
16859
  })
16843
16860
  ]),
16844
- e.wizard.bulkOpen.value ? (v(), f("div", $w, [
16845
- t("div", Sw, [
16861
+ e.wizard.bulkOpen.value ? (v(), f("div", Sw, [
16862
+ t("div", Cw, [
16846
16863
  d[49] || (d[49] = t("span", { class: "l" }, "Apply to", -1)),
16847
- t("div", Cw, [
16864
+ t("div", xw, [
16848
16865
  (v(), f(Y, null, ce(y, (r) => t("button", {
16849
16866
  key: r.v,
16850
16867
  type: "button",
16851
16868
  class: Z({ on: e.wizard.bulk.scope === r.v }),
16852
16869
  onClick: (c) => e.wizard.bulk.scope = r.v
16853
- }, b(r.t), 11, xw)), 64))
16870
+ }, b(r.t), 11, Pw)), 64))
16854
16871
  ]),
16855
- t("span", Pw, b(e.wizard.bulkCount.value) + " " + b(e.wizard.bulkCount.value === 1 ? "person" : "people"), 1)
16872
+ t("span", Dw, b(e.wizard.bulkCount.value) + " " + b(e.wizard.bulkCount.value === 1 ? "person" : "people"), 1)
16856
16873
  ]),
16857
- t("div", Dw, [
16858
- t("label", zw, [
16874
+ t("div", zw, [
16875
+ t("label", Mw, [
16859
16876
  d[50] || (d[50] = t("span", { class: "l" }, "Position", -1)),
16860
16877
  F(ct, {
16861
16878
  modelValue: e.wizard.bulk.position,
@@ -16865,7 +16882,7 @@ Max 5 days / week`
16865
16882
  "aria-label": "Position"
16866
16883
  }, null, 8, ["modelValue", "options"])
16867
16884
  ]),
16868
- t("label", Mw, [
16885
+ t("label", Ew, [
16869
16886
  d[51] || (d[51] = t("span", { class: "l" }, "Also covers", -1)),
16870
16887
  F(ct, {
16871
16888
  modelValue: e.wizard.bulk.second,
@@ -16875,9 +16892,9 @@ Max 5 days / week`
16875
16892
  "aria-label": "Also covers"
16876
16893
  }, null, 8, ["modelValue", "options"])
16877
16894
  ]),
16878
- t("div", Ew, [
16895
+ t("div", Ow, [
16879
16896
  d[52] || (d[52] = t("span", { class: "l" }, "Employment", -1)),
16880
- t("div", Ow, [
16897
+ t("div", Tw, [
16881
16898
  t("button", {
16882
16899
  type: "button",
16883
16900
  class: Z(["sch-chip seg-btn", { on: e.wizard.bulk.employment === "" }]),
@@ -16895,7 +16912,7 @@ Max 5 days / week`
16895
16912
  }, " Part ", 2)
16896
16913
  ])
16897
16914
  ]),
16898
- t("label", Tw, [
16915
+ t("label", Aw, [
16899
16916
  d[53] || (d[53] = t("span", { class: "l" }, "Hours / week", -1)),
16900
16917
  et(t("input", {
16901
16918
  "onUpdate:modelValue": d[13] || (d[13] = (r) => e.wizard.bulk.maxHours = r),
@@ -16908,12 +16925,12 @@ Max 5 days / week`
16908
16925
  [rt, e.wizard.bulk.maxHours]
16909
16926
  ])
16910
16927
  ]),
16911
- t("div", Aw, [
16928
+ t("div", Rw, [
16912
16929
  d[55] || (d[55] = t("span", { class: "l" }, [
16913
16930
  N("Pay "),
16914
16931
  t("span", { class: "obawz-optb" }, "Optional")
16915
16932
  ], -1)),
16916
- t("div", Rw, [
16933
+ t("div", Iw, [
16917
16934
  d[54] || (d[54] = t("span", { class: "obawz-cur" }, "RM", -1)),
16918
16935
  et(t("input", {
16919
16936
  "onUpdate:modelValue": d[14] || (d[14] = (r) => e.wizard.bulk.rate = r),
@@ -16935,7 +16952,7 @@ Max 5 days / week`
16935
16952
  ])
16936
16953
  ])
16937
16954
  ]),
16938
- t("div", Iw, [
16955
+ t("div", Lw, [
16939
16956
  d[56] || (d[56] = t("span", { class: "note" }, "Only filled fields are saved. Blank ones leave each person as they are.", -1)),
16940
16957
  F(se, {
16941
16958
  hierarchy: "secondary",
@@ -16964,7 +16981,7 @@ Max 5 days / week`
16964
16981
  }, 8, ["disabled"])
16965
16982
  ])
16966
16983
  ])) : U("", !0),
16967
- t("div", Lw, [
16984
+ t("div", Hw, [
16968
16985
  d[59] || (d[59] = t("div", { class: "obawz-trow obawz-thead" }, [
16969
16986
  t("span", { class: "obawz-who" }, "Employee"),
16970
16987
  t("span", null, "Position"),
@@ -16980,23 +16997,23 @@ Max 5 days / week`
16980
16997
  key: r.id,
16981
16998
  class: Z(["obawz-trow", { out: !c.picked }])
16982
16999
  }, [
16983
- t("label", Hw, [
17000
+ t("label", Nw, [
16984
17001
  et(t("input", {
16985
17002
  "onUpdate:modelValue": (C) => c.picked = C,
16986
17003
  "data-platform": "desktop",
16987
17004
  class: "sch-checkbox",
16988
17005
  type: "checkbox",
16989
17006
  "aria-label": `Schedule ${r.name}`
16990
- }, null, 8, Nw), [
17007
+ }, null, 8, Bw), [
16991
17008
  [Cn, c.picked]
16992
17009
  ]),
16993
- t("span", Bw, [
16994
- t("span", Fw, b(r.name), 1),
16995
- c.picked ? (v(), f("span", Uw)) : U("", !0)
17010
+ t("span", Fw, [
17011
+ t("span", Uw, b(r.name), 1),
17012
+ c.picked ? (v(), f("span", Ww)) : U("", !0)
16996
17013
  ])
16997
17014
  ]),
16998
17015
  c.picked ? (v(), f(Y, { key: 0 }, [
16999
- t("div", Ww, [
17016
+ t("div", jw, [
17000
17017
  F(ct, {
17001
17018
  "model-value": c.position || e.wizard.ANY_POSITION_KEY,
17002
17019
  class: "obawz-in lead",
@@ -17005,7 +17022,7 @@ Max 5 days / week`
17005
17022
  "onUpdate:modelValue": (C) => e.wizard.setPosition(r.id, C)
17006
17023
  }, null, 8, ["model-value", "options", "aria-label", "onUpdate:modelValue"])
17007
17024
  ]),
17008
- t("div", jw, [
17025
+ t("div", Vw, [
17009
17026
  F(ct, {
17010
17027
  multiple: "",
17011
17028
  selected: c.second,
@@ -17018,22 +17035,22 @@ Max 5 days / week`
17018
17035
  onToggle: (C) => e.wizard.toggleSecond(r.id, C)
17019
17036
  }, null, 8, ["selected", "class", "options", "selected-label", "aria-label", "title", "onToggle"])
17020
17037
  ]),
17021
- t("div", Vw, [
17022
- t("div", qw, [
17038
+ t("div", qw, [
17039
+ t("div", Yw, [
17023
17040
  t("button", {
17024
17041
  type: "button",
17025
17042
  class: Z(["sch-chip seg-btn", { on: c.employment === "full" }]),
17026
17043
  onClick: (C) => e.wizard.setEmployment(r.id, "full")
17027
- }, b(R(a)("scheduling.common.fullTime")), 11, Yw),
17044
+ }, b(R(a)("scheduling.common.fullTime")), 11, Gw),
17028
17045
  t("button", {
17029
17046
  type: "button",
17030
17047
  class: Z(["sch-chip seg-btn", { on: c.employment === "part" }]),
17031
17048
  onClick: (C) => e.wizard.setEmployment(r.id, "part")
17032
- }, b(R(a)("scheduling.common.partTime")), 11, Gw)
17049
+ }, b(R(a)("scheduling.common.partTime")), 11, Kw)
17033
17050
  ])
17034
17051
  ]),
17035
- t("div", Kw, [
17036
- t("div", Jw, [
17052
+ t("div", Jw, [
17053
+ t("div", Xw, [
17037
17054
  t("input", {
17038
17055
  class: "sch-input sp-num obawz-max",
17039
17056
  type: "number",
@@ -17044,12 +17061,12 @@ Max 5 days / week`
17044
17061
  placeholder: `${e.wizard.maxHoursFor(c.employment) ?? ""}`,
17045
17062
  value: c.maxHours,
17046
17063
  onInput: (C) => e.wizard.setHours(r.id, C.target.value)
17047
- }, null, 40, Xw),
17064
+ }, null, 40, Zw),
17048
17065
  d[57] || (d[57] = t("span", null, "h", -1))
17049
17066
  ])
17050
17067
  ]),
17051
- t("div", Zw, [
17052
- t("div", Qw, [
17068
+ t("div", Qw, [
17069
+ t("div", _w, [
17053
17070
  d[58] || (d[58] = t("span", { class: "obawz-cur" }, "RM", -1)),
17054
17071
  t("input", {
17055
17072
  class: "sch-input obawz-amt",
@@ -17060,7 +17077,7 @@ Max 5 days / week`
17060
17077
  "aria-label": `${r.name}. Pay (optional)`,
17061
17078
  value: c.rate,
17062
17079
  onInput: (C) => e.wizard.setRate(r.id, C.target.value)
17063
- }, null, 40, _w),
17080
+ }, null, 40, e0),
17064
17081
  F(ct, {
17065
17082
  modelValue: c.basis,
17066
17083
  "onUpdate:modelValue": (C) => c.basis = C,
@@ -17070,9 +17087,9 @@ Max 5 days / week`
17070
17087
  }, null, 8, ["modelValue", "onUpdate:modelValue", "aria-label"])
17071
17088
  ])
17072
17089
  ])
17073
- ], 64)) : (v(), f("div", e0, " Not selected: " + b(r.name.split(" ")[0]) + " is left as they are. Tick to set them up. ", 1))
17090
+ ], 64)) : (v(), f("div", t0, " Not selected: " + b(r.name.split(" ")[0]) + " is left as they are. Tick to set them up. ", 1))
17074
17091
  ], 2))), 128)),
17075
- e.wizard.teamRows.value.length ? U("", !0) : (v(), f("div", t0, " POS has not handed over anybody yet. "))
17092
+ e.wizard.teamRows.value.length ? U("", !0) : (v(), f("div", n0, " POS has not handed over anybody yet. "))
17076
17093
  ])
17077
17094
  ])
17078
17095
  ], 64)) : e.wizard.step.value === "availability" ? (v(), f(Y, { key: 4 }, [
@@ -17085,8 +17102,8 @@ Max 5 days / week`
17085
17102
  t("br"),
17086
17103
  N("You can skip this and add it later. ")
17087
17104
  ], -1)),
17088
- t("div", n0, [
17089
- t("div", a0, [
17105
+ t("div", a0, [
17106
+ t("div", o0, [
17090
17107
  e.wizard.avFulls.value.length ? (v(), f("button", {
17091
17108
  key: 0,
17092
17109
  type: "button",
@@ -17097,7 +17114,7 @@ Max 5 days / week`
17097
17114
  }, [
17098
17115
  N(b(R(a)("scheduling.common.fullTime")) + " ", 1),
17099
17116
  t("span", null, b(e.wizard.avFullDone.value) + "/" + b(e.wizard.avFulls.value.length) + " set", 1)
17100
- ], 10, o0)) : U("", !0),
17117
+ ], 10, s0)) : U("", !0),
17101
17118
  e.wizard.avParts.value.length ? (v(), f("button", {
17102
17119
  key: 1,
17103
17120
  type: "button",
@@ -17108,13 +17125,13 @@ Max 5 days / week`
17108
17125
  }, [
17109
17126
  N(b(R(a)("scheduling.common.partTime")) + " ", 1),
17110
17127
  t("span", null, b(e.wizard.avPartDone.value) + "/" + b(e.wizard.avParts.value.length) + " set", 1)
17111
- ], 10, s0)) : U("", !0)
17128
+ ], 10, l0)) : U("", !0)
17112
17129
  ]),
17113
- t("div", l0, b(e.wizard.avTab.value === "full" ? "Full-timers work whenever you are open. Tap the days each person has off." : "Part-timers start available on every open day. Tap a day to mark it unavailable, then set their hours."), 1)
17130
+ t("div", i0, b(e.wizard.avTab.value === "full" ? "Full-timers work whenever you are open. Tap the days each person has off." : "Part-timers start available on every open day. Tap a day to mark it unavailable, then set their hours."), 1)
17114
17131
  ]),
17115
- e.wizard.avGroup.value.length ? (v(), f("div", r0, [
17116
- e.wizard.avGroup.value.length > 1 ? (v(), f("div", u0, [
17117
- t("label", d0, [
17132
+ e.wizard.avGroup.value.length ? (v(), f("div", u0, [
17133
+ e.wizard.avGroup.value.length > 1 ? (v(), f("div", d0, [
17134
+ t("label", c0, [
17118
17135
  t("input", {
17119
17136
  "data-platform": "desktop",
17120
17137
  class: "sch-checkbox",
@@ -17123,7 +17140,7 @@ Max 5 days / week`
17123
17140
  indeterminate: e.wizard.avSelected.value.length > 0 && e.wizard.avSelected.value.length < e.wizard.avGroup.value.length,
17124
17141
  "aria-label": "Select everyone",
17125
17142
  onChange: d[20] || (d[20] = (r) => e.wizard.avPickAll(r.target.checked))
17126
- }, null, 40, c0),
17143
+ }, null, 40, v0),
17127
17144
  t("span", null, [
17128
17145
  t("b", null, b(e.wizard.avSelected.value.length), 1),
17129
17146
  N(" of " + b(e.wizard.avGroup.value.length) + " selected", 1)
@@ -17158,16 +17175,16 @@ Max 5 days / week`
17158
17175
  _: 1
17159
17176
  }, 8, ["class", "aria-expanded"])
17160
17177
  ])) : U("", !0),
17161
- e.wizard.avBulkOpen.value && e.wizard.avGroup.value.length > 1 ? (v(), f("div", v0, [
17162
- t("div", m0, [
17178
+ e.wizard.avBulkOpen.value && e.wizard.avGroup.value.length > 1 ? (v(), f("div", m0, [
17179
+ t("div", h0, [
17163
17180
  d[65] || (d[65] = t("span", { class: "l" }, "Apply to", -1)),
17164
- t("span", h0, b(e.wizard.avSelected.value.length === e.wizard.avGroup.value.length ? `Everyone on ${e.wizard.avTab.value === "full" ? "full" : "part"} time` : `${e.wizard.avSelected.value.length} selected`), 1),
17165
- t("span", f0, b(e.wizard.avSelected.value.length) + " " + b(e.wizard.avSelected.value.length === 1 ? "person" : "people"), 1)
17181
+ t("span", f0, b(e.wizard.avSelected.value.length === e.wizard.avGroup.value.length ? `Everyone on ${e.wizard.avTab.value === "full" ? "full" : "part"} time` : `${e.wizard.avSelected.value.length} selected`), 1),
17182
+ t("span", p0, b(e.wizard.avSelected.value.length) + " " + b(e.wizard.avSelected.value.length === 1 ? "person" : "people"), 1)
17166
17183
  ]),
17167
- t("div", p0, [
17168
- t("div", y0, [
17169
- t("span", g0, b(e.wizard.avTab.value === "full" ? "Rest days" : "Days they can work"), 1),
17170
- t("div", b0, [
17184
+ t("div", y0, [
17185
+ t("div", g0, [
17186
+ t("span", b0, b(e.wizard.avTab.value === "full" ? "Rest days" : "Days they can work"), 1),
17187
+ t("div", k0, [
17171
17188
  (v(!0), f(Y, null, ce(R(Ee), (r, c) => (v(), f(Y, { key: r }, [
17172
17189
  e.wizard.isShut(c) ? (v(), f("button", {
17173
17190
  key: 0,
@@ -17178,7 +17195,7 @@ Max 5 days / week`
17178
17195
  }, [
17179
17196
  N(b(r), 1),
17180
17197
  d[66] || (d[66] = t("small", null, "Closed", -1))
17181
- ], 8, k0)) : (v(), f("button", {
17198
+ ], 8, w0)) : (v(), f("button", {
17182
17199
  key: 1,
17183
17200
  type: "button",
17184
17201
  class: Z(["obawz-day", {
@@ -17192,12 +17209,12 @@ Max 5 days / week`
17192
17209
  e.wizard.avBulk[e.wizard.avTab.value === "full" ? "off" : "on"][c],
17193
17210
  e.wizard.avTab.value === "full"
17194
17211
  )), 1)
17195
- ], 10, w0))
17212
+ ], 10, $0))
17196
17213
  ], 64))), 128))
17197
17214
  ])
17198
17215
  ]),
17199
17216
  e.wizard.avTab.value === "part" ? (v(), f(Y, { key: 0 }, [
17200
- t("label", $0, [
17217
+ t("label", S0, [
17201
17218
  d[67] || (d[67] = t("span", { class: "l" }, "From", -1)),
17202
17219
  et(t("input", {
17203
17220
  "onUpdate:modelValue": d[22] || (d[22] = (r) => e.wizard.avBulk.from = r),
@@ -17208,7 +17225,7 @@ Max 5 days / week`
17208
17225
  [rt, e.wizard.avBulk.from]
17209
17226
  ])
17210
17227
  ]),
17211
- t("label", S0, [
17228
+ t("label", C0, [
17212
17229
  d[68] || (d[68] = t("span", { class: "l" }, "To", -1)),
17213
17230
  et(t("input", {
17214
17231
  "onUpdate:modelValue": d[23] || (d[23] = (r) => e.wizard.avBulk.to = r),
@@ -17221,8 +17238,8 @@ Max 5 days / week`
17221
17238
  ])
17222
17239
  ], 64)) : U("", !0)
17223
17240
  ]),
17224
- t("div", C0, [
17225
- t("span", x0, b(e.wizard.avTab.value === "full" ? "Only the days you set are saved. Other days stay as they are." : "Only what you set is saved. Leave hours blank to keep each person’s own."), 1),
17241
+ t("div", x0, [
17242
+ t("span", P0, b(e.wizard.avTab.value === "full" ? "Only the days you set are saved. Other days stay as they are." : "Only what you set is saved. Leave hours blank to keep each person’s own."), 1),
17226
17243
  F(se, {
17227
17244
  hierarchy: "secondary",
17228
17245
  size: "sm",
@@ -17263,7 +17280,7 @@ Max 5 days / week`
17263
17280
  } : {}
17264
17281
  ])
17265
17282
  }, [
17266
- t("div", P0, [
17283
+ t("div", D0, [
17267
17284
  e.wizard.avGroup.value.length > 1 ? et((v(), f("input", {
17268
17285
  key: 0,
17269
17286
  "onUpdate:modelValue": (c) => e.wizard.avPicked[r.id] = c,
@@ -17271,11 +17288,11 @@ Max 5 days / week`
17271
17288
  class: "sch-checkbox",
17272
17289
  type: "checkbox",
17273
17290
  "aria-label": `Select ${r.name}`
17274
- }, null, 8, D0)), [
17291
+ }, null, 8, z0)), [
17275
17292
  [Cn, e.wizard.avPicked[r.id]]
17276
17293
  ]) : U("", !0),
17277
- t("span", z0, b(r.initials), 1),
17278
- t("span", M0, [
17294
+ t("span", M0, b(r.initials), 1),
17295
+ t("span", E0, [
17279
17296
  t("b", null, b(r.name), 1),
17280
17297
  t("small", {
17281
17298
  class: Z({
@@ -17284,45 +17301,45 @@ Max 5 days / week`
17284
17301
  }, b(e.wizard.avTab.value === "full" ? e.wizard.avFullSub(r.id) : e.wizard.avPartSummary(r.id)), 3)
17285
17302
  ])
17286
17303
  ]),
17287
- t("div", E0, [
17304
+ t("div", O0, [
17288
17305
  (v(!0), f(Y, null, ce(R(Ee), (c, C) => (v(), f(Y, { key: c }, [
17289
17306
  e.wizard.isShut(C) ? (v(), f("span", {
17290
17307
  key: 0,
17291
17308
  class: "obawz-av2-d shut",
17292
17309
  title: `${c}. Closed`
17293
- }, b(c), 9, O0)) : e.wizard.avTab.value === "full" ? (v(), f("button", {
17310
+ }, b(c), 9, T0)) : e.wizard.avTab.value === "full" ? (v(), f("button", {
17294
17311
  key: 1,
17295
17312
  type: "button",
17296
17313
  class: Z(["obawz-av2-d", { rest: e.wizard.avail[r.id].offDays[C] }]),
17297
17314
  "aria-pressed": e.wizard.avail[r.id].offDays[C],
17298
17315
  title: `${r.name} · ${e.wizard.avail[r.id].offDays[C] ? "rest day" : "works"} ${c}`,
17299
17316
  onClick: (S) => e.wizard.toggleOff(r.id, C)
17300
- }, b(c), 11, T0)) : (v(), f("button", {
17317
+ }, b(c), 11, A0)) : (v(), f("button", {
17301
17318
  key: 2,
17302
17319
  type: "button",
17303
17320
  class: Z(["obawz-av2-d", { can: e.wizard.avail[r.id].days[C].on }]),
17304
17321
  "aria-pressed": e.wizard.avail[r.id].days[C].on,
17305
17322
  title: `${r.name} · ${e.wizard.avail[r.id].days[C].on ? "can work" : "unavailable"} ${c}`,
17306
17323
  onClick: (S) => e.wizard.toggleCan(r.id, C)
17307
- }, b(c), 11, A0))
17324
+ }, b(c), 11, R0))
17308
17325
  ], 64))), 128))
17309
17326
  ]),
17310
- e.wizard.avTab.value === "part" ? (v(), f("div", R0, [
17311
- e.wizard.canDays(r.id).length ? e.wizard.avShowsByDay(r.id) ? (v(), f("span", L0, "Hours vary by day")) : (v(), f(Y, { key: 2 }, [
17327
+ e.wizard.avTab.value === "part" ? (v(), f("div", I0, [
17328
+ e.wizard.canDays(r.id).length ? e.wizard.avShowsByDay(r.id) ? (v(), f("span", H0, "Hours vary by day")) : (v(), f(Y, { key: 2 }, [
17312
17329
  t("button", {
17313
17330
  type: "button",
17314
17331
  class: "sch-input obaf-htime tp-btn obawz-av2-t",
17315
17332
  "aria-label": `${r.name} starts`,
17316
17333
  onClick: (c) => h(c.currentTarget, r.id, null, "from")
17317
- }, b(R(mt)(e.wizard.avail[r.id].days[e.wizard.canDays(r.id)[0]].from)), 9, H0),
17334
+ }, b(R(mt)(e.wizard.avail[r.id].days[e.wizard.canDays(r.id)[0]].from)), 9, N0),
17318
17335
  d[70] || (d[70] = t("span", { class: "obaf-hdash" }, "–", -1)),
17319
17336
  t("button", {
17320
17337
  type: "button",
17321
17338
  class: "sch-input obaf-htime tp-btn obawz-av2-t",
17322
17339
  "aria-label": `${r.name} finishes`,
17323
17340
  onClick: (c) => h(c.currentTarget, r.id, null, "to")
17324
- }, b(R(mt)(e.wizard.avail[r.id].days[e.wizard.canDays(r.id)[0]].to)), 9, N0)
17325
- ], 64)) : (v(), f("span", I0, "Pick a day first")),
17341
+ }, b(R(mt)(e.wizard.avail[r.id].days[e.wizard.canDays(r.id)[0]].to)), 9, B0)
17342
+ ], 64)) : (v(), f("span", L0, "Pick a day first")),
17326
17343
  e.wizard.canDays(r.id).length > 1 ? (v(), Xe(se, {
17327
17344
  key: 3,
17328
17345
  hierarchy: "secondary",
@@ -17338,7 +17355,7 @@ Max 5 days / week`
17338
17355
  _: 2
17339
17356
  }, 1032, ["aria-pressed", "onClick"])) : U("", !0)
17340
17357
  ])) : U("", !0),
17341
- e.wizard.avTab.value === "part" && e.wizard.avShowsByDay(r.id) && e.wizard.canDays(r.id).length ? (v(), f("div", B0, [
17358
+ e.wizard.avTab.value === "part" && e.wizard.avShowsByDay(r.id) && e.wizard.canDays(r.id).length ? (v(), f("div", F0, [
17342
17359
  (v(!0), f(Y, null, ce(e.wizard.canDays(r.id), (c) => (v(), f("div", {
17343
17360
  key: c,
17344
17361
  class: "obawz-av2-pd"
@@ -17349,25 +17366,25 @@ Max 5 days / week`
17349
17366
  class: "sch-input obaf-htime tp-btn obawz-av2-t",
17350
17367
  "aria-label": `${r.name} ${R(Ee)[c]} starts`,
17351
17368
  onClick: (C) => h(C.currentTarget, r.id, c, "from")
17352
- }, b(R(mt)(e.wizard.avail[r.id].days[c].from)), 9, F0),
17369
+ }, b(R(mt)(e.wizard.avail[r.id].days[c].from)), 9, U0),
17353
17370
  d[71] || (d[71] = t("span", { class: "obaf-hdash" }, "–", -1)),
17354
17371
  t("button", {
17355
17372
  type: "button",
17356
17373
  class: "sch-input obaf-htime tp-btn obawz-av2-t",
17357
17374
  "aria-label": `${r.name} ${R(Ee)[c]} finishes`,
17358
17375
  onClick: (C) => h(C.currentTarget, r.id, c, "to")
17359
- }, b(R(mt)(e.wizard.avail[r.id].days[c].to)), 9, U0)
17376
+ }, b(R(mt)(e.wizard.avail[r.id].days[c].to)), 9, W0)
17360
17377
  ]))), 128))
17361
17378
  ])) : U("", !0)
17362
17379
  ], 2))), 128)),
17363
- e.wizard.avTab.value === "full" ? (v(), f("div", W0, [
17364
- t("div", j0, [
17365
- t("span", V0, [
17380
+ e.wizard.avTab.value === "full" ? (v(), f("div", j0, [
17381
+ t("div", V0, [
17382
+ t("span", q0, [
17366
17383
  d[72] || (d[72] = t("b", null, "Off on each day", -1)),
17367
17384
  t("small", null, "Across " + b(e.wizard.avFulls.value.length) + " full-timer" + b(e.wizard.avFulls.value.length === 1 ? "" : "s"), 1)
17368
17385
  ])
17369
17386
  ]),
17370
- t("div", q0, [
17387
+ t("div", Y0, [
17371
17388
  (v(!0), f(Y, null, ce(R(Ee), (r, c) => (v(), f("span", {
17372
17389
  key: r,
17373
17390
  class: Z(["obawz-av2-n", { on: (e.wizard.avOffCount(c) ?? 0) > 0 }])
@@ -17375,25 +17392,25 @@ Max 5 days / week`
17375
17392
  ])
17376
17393
  ])) : U("", !0)
17377
17394
  ], 2)
17378
- ])) : (v(), f("div", i0, [...d[62] || (d[62] = [
17395
+ ])) : (v(), f("div", r0, [...d[62] || (d[62] = [
17379
17396
  t("div", { class: "obawz-empty" }, "Nobody on the team yet. Go back a step.", -1)
17380
17397
  ])]))
17381
- ], 64)) : (v(), Xe(bb, {
17398
+ ], 64)) : (v(), Xe(kb, {
17382
17399
  key: 5,
17383
17400
  wizard: e.wizard
17384
17401
  }, null, 8, ["wizard"]))
17385
17402
  ]),
17386
- F(kb, { wizard: e.wizard }, null, 8, ["wizard"])
17403
+ F(wb, { wizard: e.wizard }, null, 8, ["wizard"])
17387
17404
  ]),
17388
- F(ck, { wizard: e.wizard }, null, 8, ["wizard"]),
17389
- F(Dk, { wizard: e.wizard }, null, 8, ["wizard"])
17405
+ F(vk, { wizard: e.wizard }, null, 8, ["wizard"]),
17406
+ F(zk, { wizard: e.wizard }, null, 8, ["wizard"])
17390
17407
  ])
17391
17408
  ])) : U("", !0);
17392
17409
  }
17393
- }), G0 = /* @__PURE__ */ dn(Y0, [["__scopeId", "data-v-0398ec68"]]), K0 = {
17410
+ }), K0 = /* @__PURE__ */ dn(G0, [["__scopeId", "data-v-0398ec68"]]), J0 = {
17394
17411
  key: 0,
17395
17412
  class: "coach-count"
17396
- }, J0 = { class: "coach-title" }, X0 = { class: "coach-body" }, Z0 = { class: "coach-actions" }, Q0 = /* @__PURE__ */ ze({
17413
+ }, X0 = { class: "coach-title" }, Z0 = { class: "coach-body" }, Q0 = { class: "coach-actions" }, _0 = /* @__PURE__ */ ze({
17397
17414
  __name: "ScheduleCoach",
17398
17415
  props: {
17399
17416
  coach: {}
@@ -17459,10 +17476,10 @@ Max 5 days / week`
17459
17476
  e.coach.arrow.side === "top" || e.coach.arrow.side === "bottom" ? { left: `${e.coach.arrow.offset}px` } : { top: `${e.coach.arrow.offset}px` }
17460
17477
  )
17461
17478
  }, null, 6),
17462
- e.coach.tip.value.count ? (v(), f("div", K0, b(e.coach.tip.value.count), 1)) : U("", !0),
17463
- t("div", J0, b(e.coach.tip.value.title), 1),
17464
- t("div", X0, b(e.coach.tip.value.body), 1),
17465
- t("div", Z0, [
17479
+ e.coach.tip.value.count ? (v(), f("div", J0, b(e.coach.tip.value.count), 1)) : U("", !0),
17480
+ t("div", X0, b(e.coach.tip.value.title), 1),
17481
+ t("div", Z0, b(e.coach.tip.value.body), 1),
17482
+ t("div", Q0, [
17466
17483
  F(se, {
17467
17484
  hierarchy: "ghost",
17468
17485
  size: "sm",
@@ -17492,7 +17509,7 @@ Max 5 days / week`
17492
17509
  ], 4)) : U("", !0)
17493
17510
  ], 2));
17494
17511
  }
17495
- }), _0 = /* @__PURE__ */ ze({
17512
+ }), e$ = /* @__PURE__ */ ze({
17496
17513
  __name: "ScheduleBoardOnboardingOverlays",
17497
17514
  props: {
17498
17515
  setupBanner: {},
@@ -17512,12 +17529,12 @@ Max 5 days / week`
17512
17529
  },
17513
17530
  setup(e) {
17514
17531
  return (a, n) => (v(), f(Y, null, [
17515
- F(ob, {
17532
+ F(sb, {
17516
17533
  "setup-banner": e.setupBanner,
17517
17534
  "outlet-name": e.outletName,
17518
17535
  onSetUp: e.onboardingFlow.onWelcomeSetUp
17519
17536
  }, null, 8, ["setup-banner", "outlet-name", "onSetUp"]),
17520
- F(G0, {
17537
+ F(K0, {
17521
17538
  wizard: e.onboardingWizard,
17522
17539
  "outlet-name": e.outletName,
17523
17540
  "time-picker": e.timePicker
@@ -17528,7 +17545,7 @@ Max 5 days / week`
17528
17545
  tour: e.tour,
17529
17546
  "auto-schedule": e.autoSchedule
17530
17547
  }, null, 8, ["wizard", "tour", "auto-schedule"]),
17531
- F(Q0, {
17548
+ F(_0, {
17532
17549
  coach: e.tour.coach
17533
17550
  }, null, 8, ["coach"]),
17534
17551
  F(Un, {
@@ -17546,7 +17563,7 @@ Max 5 days / week`
17546
17563
  }, null, 8, ["open", "title", "message", "confirm-label", "loading", "onConfirm", "onClose"])
17547
17564
  ], 64));
17548
17565
  }
17549
- }), e$ = {
17566
+ }), t$ = {
17550
17567
  key: 1,
17551
17568
  width: "14",
17552
17569
  height: "14",
@@ -17582,7 +17599,7 @@ Max 5 days / week`
17582
17599
  }, [
17583
17600
  n.value ? (v(), f(Y, { key: 0 }, [
17584
17601
  N(b(n.value.initials), 1)
17585
- ], 64)) : (v(), f("svg", e$, [...l[0] || (l[0] = [
17602
+ ], 64)) : (v(), f("svg", t$, [...l[0] || (l[0] = [
17586
17603
  t("circle", {
17587
17604
  cx: "8",
17588
17605
  cy: "6",
@@ -17608,14 +17625,14 @@ Max 5 days / week`
17608
17625
  ], 64);
17609
17626
  };
17610
17627
  }
17611
- }), t$ = {
17628
+ }), n$ = {
17612
17629
  key: 0,
17613
17630
  class: "sp2-ic"
17614
- }, n$ = {
17631
+ }, a$ = {
17615
17632
  key: 1,
17616
17633
  class: "sp2-ic",
17617
17634
  "aria-hidden": "true"
17618
- }, a$ = { class: "sp2-lbl" }, o$ = { class: "sp2-times" }, s$ = ["aria-label", "aria-expanded", "onClick"], l$ = ["aria-label", "aria-expanded", "onClick"], i$ = /* @__PURE__ */ ze({
17635
+ }, o$ = { class: "sp2-lbl" }, s$ = { class: "sp2-times" }, l$ = ["aria-label", "aria-expanded", "onClick"], i$ = ["aria-label", "aria-expanded", "onClick"], r$ = /* @__PURE__ */ ze({
17619
17636
  __name: "ScheduleShiftSegmentsEditor",
17620
17637
  props: {
17621
17638
  popover: {},
@@ -17644,7 +17661,7 @@ Max 5 days / week`
17644
17661
  key: R(n)(l),
17645
17662
  class: Z(["sp2-row", { "sp2-split-row": i > 0 }])
17646
17663
  }, [
17647
- i === 0 ? (v(), f("span", t$, [...u[0] || (u[0] = [
17664
+ i === 0 ? (v(), f("span", n$, [...u[0] || (u[0] = [
17648
17665
  t("svg", {
17649
17666
  width: "15",
17650
17667
  height: "15",
@@ -17666,18 +17683,18 @@ Max 5 days / week`
17666
17683
  "stroke-linejoin": "round"
17667
17684
  })
17668
17685
  ], -1)
17669
- ])])) : (v(), f("span", n$, [...u[1] || (u[1] = [
17686
+ ])])) : (v(), f("span", a$, [...u[1] || (u[1] = [
17670
17687
  t("span", { class: "sp2-split-tick" }, null, -1)
17671
17688
  ])])),
17672
- t("span", a$, b(i === 0 ? "Hours" : "Then"), 1),
17673
- t("div", o$, [
17689
+ t("span", o$, b(i === 0 ? "Hours" : "Then"), 1),
17690
+ t("div", s$, [
17674
17691
  t("button", {
17675
17692
  type: "button",
17676
17693
  class: "sch-input sp2-time tp-btn",
17677
17694
  "aria-label": i === 0 ? "Start time" : "Second period start",
17678
17695
  "aria-expanded": e.timePicker.isOpenFor(`seg-${i}-start`),
17679
17696
  onClick: (g) => o(g.currentTarget, l, "start", `seg-${i}-start`)
17680
- }, b(R(mt)(l.start)), 9, s$),
17697
+ }, b(R(mt)(l.start)), 9, l$),
17681
17698
  u[3] || (u[3] = t("span", { class: "sp2-dash" }, "–", -1)),
17682
17699
  t("button", {
17683
17700
  type: "button",
@@ -17685,7 +17702,7 @@ Max 5 days / week`
17685
17702
  "aria-label": i === 0 ? "End time" : "Second period end",
17686
17703
  "aria-expanded": e.timePicker.isOpenFor(`seg-${i}-end`),
17687
17704
  onClick: (g) => o(g.currentTarget, l, "end", `seg-${i}-end`)
17688
- }, b(R(mt)(l.end)), 9, l$),
17705
+ }, b(R(mt)(l.end)), 9, i$),
17689
17706
  i > 0 ? (v(), Xe(se, {
17690
17707
  key: 0,
17691
17708
  hierarchy: "ghost",
@@ -17705,7 +17722,7 @@ Max 5 days / week`
17705
17722
  ])
17706
17723
  ], 2))), 128));
17707
17724
  }
17708
- }), r$ = { class: "sp2-row sp2-rep-row sp2-pos-row" }, u$ = { class: "sp2-roles" }, ho = "__new_position__", d$ = /* @__PURE__ */ ze({
17725
+ }), u$ = { class: "sp2-row sp2-rep-row sp2-pos-row" }, d$ = { class: "sp2-roles" }, ho = "__new_position__", c$ = /* @__PURE__ */ ze({
17709
17726
  __name: "ScheduleShiftHeadcountEditor",
17710
17727
  props: {
17711
17728
  popover: {}
@@ -17735,9 +17752,9 @@ Max 5 days / week`
17735
17752
  function i(g) {
17736
17753
  return g && l.value.some((x) => x.value === g) ? g : "";
17737
17754
  }
17738
- return (g, x) => (v(), f("div", r$, [
17755
+ return (g, x) => (v(), f("div", u$, [
17739
17756
  x[0] || (x[0] = wt('<span class="sp2-ic"><svg width="15" height="15" viewBox="0 0 16 16" fill="none"><circle cx="5.6" cy="5.4" r="2.3" stroke="currentColor" stroke-width="1.4"></circle><path d="M1.8 13a4 4 0 017.6 0" stroke="currentColor" stroke-width="1.4" stroke-linecap="round"></path><circle cx="11.4" cy="5.8" r="1.8" stroke="currentColor" stroke-width="1.4"></circle><path d="M11 12.6a3.4 3.4 0 013.2-3.3" stroke="currentColor" stroke-width="1.4" stroke-linecap="round"></path></svg></span><span class="sp2-lbl">Position</span>', 2)),
17740
- t("div", u$, [
17757
+ t("div", d$, [
17741
17758
  (v(!0), f(Y, null, ce(e.popover.roles.value, (k, D) => (v(), f("div", {
17742
17759
  key: R(o)(k),
17743
17760
  class: "sp2-role"
@@ -17753,13 +17770,13 @@ Max 5 days / week`
17753
17770
  ])
17754
17771
  ]));
17755
17772
  }
17756
- }), c$ = {
17773
+ }), v$ = {
17757
17774
  key: 0,
17758
17775
  class: "sp2-impact"
17759
- }, v$ = { class: "sp2-imp-top" }, m$ = { class: "sp2-imp-ttl" }, h$ = { class: "sp2-imp-when" }, f$ = { class: "sp2-imp-fig" }, p$ = { class: "was" }, y$ = { class: "sp2-imp-bars" }, g$ = { class: "sp2-imp-brow" }, b$ = { class: "sp2-imp-bar" }, k$ = {
17776
+ }, m$ = { class: "sp2-imp-top" }, h$ = { class: "sp2-imp-ttl" }, f$ = { class: "sp2-imp-when" }, p$ = { class: "sp2-imp-fig" }, y$ = { class: "was" }, g$ = { class: "sp2-imp-bars" }, b$ = { class: "sp2-imp-brow" }, k$ = { class: "sp2-imp-bar" }, w$ = {
17760
17777
  key: 0,
17761
17778
  class: "sp2-imp-brow"
17762
- }, w$ = { class: "sp2-imp-bar" }, $$ = { class: "sp2-imp-hours" }, S$ = /* @__PURE__ */ ze({
17779
+ }, $$ = { class: "sp2-imp-bar" }, S$ = { class: "sp2-imp-hours" }, C$ = /* @__PURE__ */ ze({
17763
17780
  __name: "ScheduleShiftImpact",
17764
17781
  props: {
17765
17782
  popover: {}
@@ -17789,14 +17806,14 @@ Max 5 days / week`
17789
17806
  cls: ""
17790
17807
  } : { text: "Fully covered once this is saved", cls: "is-done" } : { text: "", cls: "" };
17791
17808
  });
17792
- return (y, p) => n.value ? (v(), f("div", c$, [
17793
- t("div", v$, [
17794
- t("div", m$, [
17809
+ return (y, p) => n.value ? (v(), f("div", v$, [
17810
+ t("div", m$, [
17811
+ t("div", h$, [
17795
17812
  p[0] || (p[0] = t("div", { class: "sp2-imp-h" }, "Coverage impact", -1)),
17796
- t("div", h$, "Thinnest stretch · " + b(n.value.when), 1)
17813
+ t("div", f$, "Thinnest stretch · " + b(n.value.when), 1)
17797
17814
  ]),
17798
- t("div", f$, [
17799
- t("span", p$, b(n.value.before.scheduled) + " / " + b(n.value.before.required), 1),
17815
+ t("div", p$, [
17816
+ t("span", y$, b(n.value.before.scheduled) + " / " + b(n.value.before.required), 1),
17800
17817
  o.value ? U("", !0) : (v(), f(Y, { key: 0 }, [
17801
17818
  p[1] || (p[1] = t("span", { class: "arr" }, "→", -1)),
17802
17819
  t("span", {
@@ -17805,10 +17822,10 @@ Max 5 days / week`
17805
17822
  ], 64))
17806
17823
  ])
17807
17824
  ]),
17808
- t("div", y$, [
17809
- t("div", g$, [
17825
+ t("div", g$, [
17826
+ t("div", b$, [
17810
17827
  p[2] || (p[2] = t("i", null, "Now", -1)),
17811
- t("div", b$, [
17828
+ t("div", k$, [
17812
17829
  (v(!0), f(Y, null, ce(l.value, (h) => (v(), f("div", {
17813
17830
  key: h.key,
17814
17831
  class: Z(["dm-seg", h.state]),
@@ -17821,9 +17838,9 @@ Max 5 days / week`
17821
17838
  t("b", null, b(n.value.pctBefore) + "%", 1)
17822
17839
  ], 2)
17823
17840
  ]),
17824
- o.value ? U("", !0) : (v(), f("div", k$, [
17841
+ o.value ? U("", !0) : (v(), f("div", w$, [
17825
17842
  p[3] || (p[3] = t("i", null, "After", -1)),
17826
- t("div", w$, [
17843
+ t("div", $$, [
17827
17844
  (v(!0), f(Y, null, ce(i.value, (h) => (v(), f("div", {
17828
17845
  key: h.key,
17829
17846
  class: Z(["dm-seg", h.state]),
@@ -17836,7 +17853,7 @@ Max 5 days / week`
17836
17853
  t("b", null, b(n.value.pctAfter) + "%", 1)
17837
17854
  ], 2)
17838
17855
  ])),
17839
- t("div", $$, [
17856
+ t("div", S$, [
17840
17857
  t("span", null, b(k.value[0]), 1),
17841
17858
  t("span", null, b(k.value[1]), 1)
17842
17859
  ])
@@ -17846,13 +17863,13 @@ Max 5 days / week`
17846
17863
  }, b(D.value.text), 3)
17847
17864
  ])) : U("", !0);
17848
17865
  }
17849
- }), C$ = {
17866
+ }), x$ = {
17850
17867
  key: 0,
17851
17868
  class: "sp2-more-row sp2-row"
17852
- }, x$ = { class: "sp2-more-row sp2-break-row sp2-row" }, P$ = {
17869
+ }, P$ = { class: "sp2-more-row sp2-break-row sp2-row" }, D$ = {
17853
17870
  key: 1,
17854
17871
  class: "sp2-more-row sp2-row sp2-brk-row"
17855
- }, D$ = { class: "sp2-brk" }, z$ = ["aria-expanded"], M$ = ["aria-expanded"], E$ = { class: "sp2-brk-eq" }, O$ = 30, T$ = /* @__PURE__ */ ze({
17872
+ }, z$ = { class: "sp2-brk" }, M$ = ["aria-expanded"], E$ = ["aria-expanded"], O$ = { class: "sp2-brk-eq" }, T$ = 30, A$ = /* @__PURE__ */ ze({
17856
17873
  __name: "ScheduleShiftMoreOptions",
17857
17874
  props: {
17858
17875
  popover: {},
@@ -17925,7 +17942,7 @@ Max 5 days / week`
17925
17942
  const d = a.popover.breakCustomUnit.value === "hrs" ? Math.round(a.popover.breakCustomMins.value * 60) : Math.round(a.popover.breakCustomMins.value), r = ((c = a.popover.segments.value[0]) == null ? void 0 : c.start) ?? a.popover.breakStartTime.value;
17926
17943
  a.popover.breakStartTime.value = r, a.popover.breakEndTime.value = k(
17927
17944
  r,
17928
- d > 0 ? d : O$
17945
+ d > 0 ? d : T$
17929
17946
  ), m();
17930
17947
  }
17931
17948
  function E() {
@@ -18007,7 +18024,7 @@ Max 5 days / week`
18007
18024
  _: 1
18008
18025
  }, 8, ["aria-expanded"]),
18009
18026
  o.value ? (v(), f(Y, { key: 0 }, [
18010
- e.popover.isAssigned.value ? U("", !0) : (v(), f("div", C$, [
18027
+ e.popover.isAssigned.value ? U("", !0) : (v(), f("div", x$, [
18011
18028
  r[5] || (r[5] = wt('<span class="sp2-ic"><svg width="15" height="15" viewBox="0 0 16 16" fill="none"><circle cx="8" cy="5.4" r="2.6" stroke="currentColor" stroke-width="1.4"></circle><path d="M3 13.4a5 5 0 0110 0" stroke="currentColor" stroke-width="1.4" stroke-linecap="round"></path></svg></span><span class="sp2-lbl">Employee type</span>', 2)),
18012
18029
  F(ct, {
18013
18030
  modelValue: e.popover.empType.value,
@@ -18017,7 +18034,7 @@ Max 5 days / week`
18017
18034
  "aria-label": "Employment type this shift asks for"
18018
18035
  }, null, 8, ["modelValue"])
18019
18036
  ])),
18020
- t("div", x$, [
18037
+ t("div", P$, [
18021
18038
  r[6] || (r[6] = wt('<span class="sp2-ic"><svg width="15" height="15" viewBox="0 0 16 16" fill="none"><path d="M2.5 5.5h8v3a3 3 0 01-3 3h-2a3 3 0 01-3-3v-3z" stroke="currentColor" stroke-width="1.4" stroke-linejoin="round"></path><path d="M10.5 6.5h1.6a1.4 1.4 0 010 2.8h-1.6" stroke="currentColor" stroke-width="1.4"></path><path d="M2 14h9" stroke="currentColor" stroke-width="1.4" stroke-linecap="round"></path></svg></span><span class="sp2-lbl">Unpaid break</span>', 2)),
18022
18039
  F(ct, {
18023
18040
  class: "sp2-sel",
@@ -18026,17 +18043,17 @@ Max 5 days / week`
18026
18043
  "onUpdate:modelValue": i
18027
18044
  }, null, 8, ["model-value"])
18028
18045
  ]),
18029
- e.popover.breakChoice.value === "custom" ? (v(), f("div", P$, [
18046
+ e.popover.breakChoice.value === "custom" ? (v(), f("div", D$, [
18030
18047
  r[8] || (r[8] = t("span", { class: "sp2-ic" }, null, -1)),
18031
18048
  r[9] || (r[9] = t("span", { class: "sp2-lbl" }, null, -1)),
18032
- t("div", D$, [
18049
+ t("div", z$, [
18033
18050
  t("button", {
18034
18051
  type: "button",
18035
18052
  class: "sch-input sp2-time tp-btn",
18036
18053
  "aria-label": "Break start time",
18037
18054
  "aria-expanded": e.timePicker.isOpenFor("break-start"),
18038
18055
  onClick: r[2] || (r[2] = (c) => P(c.currentTarget, "start", "break-start"))
18039
- }, b(R(mt)(e.popover.breakStartTime.value)), 9, z$),
18056
+ }, b(R(mt)(e.popover.breakStartTime.value)), 9, M$),
18040
18057
  r[7] || (r[7] = t("span", { class: "sp2-dash" }, "–", -1)),
18041
18058
  t("button", {
18042
18059
  type: "button",
@@ -18044,14 +18061,14 @@ Max 5 days / week`
18044
18061
  "aria-label": "Break end time",
18045
18062
  "aria-expanded": e.timePicker.isOpenFor("break-end"),
18046
18063
  onClick: r[3] || (r[3] = (c) => P(c.currentTarget, "end", "break-end"))
18047
- }, b(R(mt)(e.popover.breakEndTime.value)), 9, M$),
18048
- t("span", E$, "= " + b(z(M.value)) + " unpaid", 1)
18064
+ }, b(R(mt)(e.popover.breakEndTime.value)), 9, E$),
18065
+ t("span", O$, "= " + b(z(M.value)) + " unpaid", 1)
18049
18066
  ])
18050
18067
  ])) : U("", !0)
18051
18068
  ], 64)) : U("", !0)
18052
18069
  ], 64));
18053
18070
  }
18054
- }), A$ = { class: "sp2-row sp2-rep-row" }, R$ = { class: "sp2-rep" }, I$ = { class: "sp2-rep-days" }, L$ = ["aria-pressed", "disabled", "title", "onClick"], H$ = /* @__PURE__ */ ze({
18071
+ }), R$ = { class: "sp2-row sp2-rep-row" }, I$ = { class: "sp2-rep" }, L$ = { class: "sp2-rep-days" }, H$ = ["aria-pressed", "disabled", "title", "onClick"], N$ = /* @__PURE__ */ ze({
18055
18072
  __name: "ScheduleShiftRepeatDaysRow",
18056
18073
  props: {
18057
18074
  board: {},
@@ -18090,10 +18107,10 @@ Max 5 days / week`
18090
18107
  (i, g) => g !== n.popover.dayIdx.value && !o(g)
18091
18108
  );
18092
18109
  }
18093
- return (i, g) => (v(), f("div", A$, [
18110
+ return (i, g) => (v(), f("div", R$, [
18094
18111
  g[2] || (g[2] = wt('<span class="sp2-ic"><svg width="15" height="15" viewBox="0 0 16 16" fill="none"><path d="M2.6 8a5.4 5.4 0 019.2-3.8M13.4 8a5.4 5.4 0 01-9.2 3.8" stroke="currentColor" stroke-width="1.4" stroke-linecap="round"></path><path d="M11.4 1.9v2.6H8.8M4.6 14.1v-2.6h2.6" stroke="currentColor" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"></path></svg></span><span class="sp2-lbl">Copy shift to</span>', 2)),
18095
- t("div", R$, [
18096
- t("div", I$, [
18112
+ t("div", I$, [
18113
+ t("div", L$, [
18097
18114
  (v(!0), f(Y, null, ce(R(Ee), (x, k) => (v(), f("button", {
18098
18115
  key: x,
18099
18116
  type: "button",
@@ -18102,7 +18119,7 @@ Max 5 days / week`
18102
18119
  disabled: k === e.popover.dayIdx.value || o(k),
18103
18120
  title: s(k),
18104
18121
  onClick: (D) => u(k)
18105
- }, b(x), 11, L$))), 128))
18122
+ }, b(x), 11, H$))), 128))
18106
18123
  ]),
18107
18124
  F(se, {
18108
18125
  hierarchy: "ghost",
@@ -18119,47 +18136,47 @@ Max 5 days / week`
18119
18136
  ])
18120
18137
  ]));
18121
18138
  }
18122
- }), N$ = { class: "sp2-head" }, B$ = {
18139
+ }), B$ = { class: "sp2-head" }, F$ = {
18123
18140
  key: 0,
18124
18141
  class: "sp2-head-title"
18125
- }, F$ = {
18142
+ }, U$ = {
18126
18143
  key: 0,
18127
18144
  class: "sp2-gap"
18128
- }, U$ = {
18145
+ }, W$ = {
18129
18146
  key: 1,
18130
18147
  class: "sp2-conflict"
18131
- }, W$ = { class: "sp2-conflict-list" }, j$ = {
18148
+ }, j$ = { class: "sp2-conflict-list" }, V$ = {
18132
18149
  key: 0,
18133
18150
  class: "sp2-warn-line"
18134
- }, V$ = {
18151
+ }, q$ = {
18135
18152
  key: 1,
18136
18153
  class: "sp2-warn-line"
18137
- }, q$ = {
18154
+ }, Y$ = {
18138
18155
  key: 2,
18139
18156
  class: "sp2-conflict",
18140
18157
  role: "alert"
18141
- }, Y$ = {
18158
+ }, G$ = {
18142
18159
  key: 3,
18143
18160
  class: "sp2-conflict"
18144
- }, G$ = {
18161
+ }, K$ = {
18145
18162
  key: 4,
18146
18163
  class: "sp2-grant"
18147
- }, K$ = { class: "sp2-grant-lbl" }, J$ = { class: "sp2-grant-txt" }, X$ = { class: "sp2-body" }, Z$ = {
18164
+ }, J$ = { class: "sp2-grant-lbl" }, X$ = { class: "sp2-grant-txt" }, Z$ = { class: "sp2-body" }, Q$ = {
18148
18165
  key: 0,
18149
18166
  class: "sp2-row"
18150
- }, Q$ = { class: "sp2-val" }, _$ = {
18167
+ }, _$ = { class: "sp2-val" }, e2 = {
18151
18168
  key: 1,
18152
18169
  class: "sp2-row sp2-assign-row"
18153
- }, e2 = { class: "sp2-assign-slot" }, t2 = { class: "sp2-row" }, n2 = {
18170
+ }, t2 = { class: "sp2-assign-slot" }, n2 = { class: "sp2-row" }, a2 = {
18154
18171
  key: 3,
18155
18172
  class: "sp2-row"
18156
- }, a2 = {
18173
+ }, o2 = {
18157
18174
  key: 4,
18158
18175
  class: "sp2-row"
18159
- }, o2 = { class: "sp2-row" }, s2 = {
18176
+ }, s2 = { class: "sp2-row" }, l2 = {
18160
18177
  key: 0,
18161
18178
  class: "sp2-row"
18162
- }, l2 = { key: 0 }, i2 = { class: "sp2-foot" }, r2 = { class: "sp2-total" }, fo = "__new_position__", u2 = /* @__PURE__ */ ze({
18179
+ }, i2 = { key: 0 }, r2 = { class: "sp2-foot" }, u2 = { class: "sp2-total" }, fo = "__new_position__", d2 = /* @__PURE__ */ ze({
18163
18180
  __name: "ScheduleShiftPopover",
18164
18181
  props: {
18165
18182
  board: {},
@@ -18253,14 +18270,14 @@ Max 5 days / week`
18253
18270
  t("div", {
18254
18271
  class: Z(["shift-pop as-modal", { "is-gap": !!e.popover.gapNote.value }])
18255
18272
  }, [
18256
- t("div", N$, [
18257
- m.value ? (v(), f("div", B$, b($.value), 1)) : (v(), Xe(mo, {
18273
+ t("div", B$, [
18274
+ m.value ? (v(), f("div", F$, b($.value), 1)) : (v(), Xe(mo, {
18258
18275
  key: 1,
18259
18276
  board: e.board,
18260
18277
  popover: e.popover
18261
18278
  }, null, 8, ["board", "popover"]))
18262
18279
  ]),
18263
- e.popover.gapNote.value ? (v(), f("div", F$, [
18280
+ e.popover.gapNote.value ? (v(), f("div", U$, [
18264
18281
  c[15] || (c[15] = t("svg", {
18265
18282
  width: "14",
18266
18283
  height: "14",
@@ -18287,7 +18304,7 @@ Max 5 days / week`
18287
18304
  N(b(e.popover.gapNote.value), 1)
18288
18305
  ])
18289
18306
  ])) : U("", !0),
18290
- e.popover.conflictNote.value || e.popover.availabilityConflictNote.value || e.popover.showGrantSkill.value ? (v(), f("div", U$, [
18307
+ e.popover.conflictNote.value || e.popover.availabilityConflictNote.value || e.popover.showGrantSkill.value ? (v(), f("div", W$, [
18291
18308
  c[18] || (c[18] = t("svg", {
18292
18309
  width: "14",
18293
18310
  height: "14",
@@ -18308,18 +18325,18 @@ Max 5 days / week`
18308
18325
  "stroke-linecap": "round"
18309
18326
  })
18310
18327
  ], -1)),
18311
- t("div", W$, [
18312
- e.popover.conflictNote.value || e.popover.availabilityConflictNote.value ? (v(), f("div", j$, [
18328
+ t("div", j$, [
18329
+ e.popover.conflictNote.value || e.popover.availabilityConflictNote.value ? (v(), f("div", V$, [
18313
18330
  c[16] || (c[16] = t("strong", null, "Availability conflict:", -1)),
18314
18331
  N(" " + b(e.popover.conflictNote.value || e.popover.availabilityConflictNote.value), 1)
18315
18332
  ])) : U("", !0),
18316
- e.popover.showGrantSkill.value ? (v(), f("div", V$, [
18333
+ e.popover.showGrantSkill.value ? (v(), f("div", q$, [
18317
18334
  c[17] || (c[17] = t("strong", null, "Position conflict:", -1)),
18318
18335
  N(" " + b((C = l.value) == null ? void 0 : C.name.split(" ")[0]) + " does not hold " + b(e.popover.role.value) + ", the position this shift covers. ", 1)
18319
18336
  ])) : U("", !0)
18320
18337
  ])
18321
18338
  ])) : U("", !0),
18322
- e.popover.requiresAssignment.value && !e.popover.isAssigned.value ? (v(), f("div", q$, [...c[19] || (c[19] = [
18339
+ e.popover.requiresAssignment.value && !e.popover.isAssigned.value ? (v(), f("div", Y$, [...c[19] || (c[19] = [
18323
18340
  t("svg", {
18324
18341
  width: "14",
18325
18342
  height: "14",
@@ -18345,7 +18362,7 @@ Max 5 days / week`
18345
18362
  N(": choose an employee before saving this shift.")
18346
18363
  ], -1)
18347
18364
  ])])) : U("", !0),
18348
- y.value ? (v(), f("div", Y$, [
18365
+ y.value ? (v(), f("div", G$, [
18349
18366
  c[21] || (c[21] = t("svg", {
18350
18367
  width: "14",
18351
18368
  height: "14",
@@ -18371,8 +18388,8 @@ Max 5 days / week`
18371
18388
  N(": " + b(e.popover.role.value) + " is no longer active.", 1)
18372
18389
  ])
18373
18390
  ])) : U("", !0),
18374
- e.popover.showGrantSkill.value ? (v(), f("div", G$, [
18375
- t("label", K$, [
18391
+ e.popover.showGrantSkill.value ? (v(), f("div", K$, [
18392
+ t("label", J$, [
18376
18393
  et(t("input", {
18377
18394
  "onUpdate:modelValue": c[0] || (c[0] = (I) => e.popover.grantSkill.value = I),
18378
18395
  class: "sch-checkbox",
@@ -18381,21 +18398,21 @@ Max 5 days / week`
18381
18398
  }, null, 512), [
18382
18399
  [Cn, e.popover.grantSkill.value]
18383
18400
  ]),
18384
- t("span", J$, [
18401
+ t("span", X$, [
18385
18402
  t("b", null, "Add " + b(e.popover.role.value), 1),
18386
18403
  N(" to " + b((S = l.value) == null ? void 0 : S.name.split(" ")[0]) + "'s profile ", 1),
18387
18404
  c[22] || (c[22] = t("small", null, "They don't hold this position yet — assigning them here says they can do it.", -1))
18388
18405
  ])
18389
18406
  ])
18390
18407
  ])) : U("", !0),
18391
- t("div", X$, [
18392
- e.popover.isNew.value ? U("", !0) : (v(), f("div", Z$, [
18408
+ t("div", Z$, [
18409
+ e.popover.isNew.value ? U("", !0) : (v(), f("div", Q$, [
18393
18410
  c[23] || (c[23] = wt('<span class="sp2-ic"><svg width="15" height="15" viewBox="0 0 16 16" fill="none"><rect x="2" y="3" width="12" height="11" rx="1.5" stroke="currentColor" stroke-width="1.4"></rect><path d="M5 1v3M11 1v3M2 7h12" stroke="currentColor" stroke-width="1.4" stroke-linecap="round"></path></svg></span><span class="sp2-lbl">Date</span>', 2)),
18394
- t("div", Q$, b(h.value), 1)
18411
+ t("div", _$, b(h.value), 1)
18395
18412
  ])),
18396
- e.popover.isNewOpenShift.value ? (v(), f("div", _$, [
18413
+ e.popover.isNewOpenShift.value ? (v(), f("div", e2, [
18397
18414
  c[24] || (c[24] = wt('<span class="sp2-ic"><svg width="15" height="15" viewBox="0 0 16 16" fill="none"><circle cx="8" cy="5.6" r="2.6" stroke="currentColor" stroke-width="1.4"></circle><path d="M3 13.4a5 5 0 0110 0" stroke="currentColor" stroke-width="1.4" stroke-linecap="round"></path></svg></span><span class="sp2-lbl">Assign to</span>', 2)),
18398
- t("div", e2, [
18415
+ t("div", t2, [
18399
18416
  F(mo, {
18400
18417
  board: e.board,
18401
18418
  popover: e.popover,
@@ -18405,11 +18422,11 @@ Max 5 days / week`
18405
18422
  }, null, 8, ["board", "popover", "placeholder", "force-choice"])
18406
18423
  ])
18407
18424
  ])) : U("", !0),
18408
- F(i$, {
18425
+ F(r$, {
18409
18426
  popover: e.popover,
18410
18427
  "time-picker": e.timePicker
18411
18428
  }, null, 8, ["popover", "time-picker"]),
18412
- t("div", t2, [
18429
+ t("div", n2, [
18413
18430
  c[25] || (c[25] = t("span", { class: "sp2-ic" }, [
18414
18431
  t("svg", {
18415
18432
  width: "15",
@@ -18435,12 +18452,12 @@ Max 5 days / week`
18435
18452
  [rt, e.popover.name.value]
18436
18453
  ])
18437
18454
  ]),
18438
- e.popover.isNewOpenShift.value ? (v(), Xe(d$, {
18455
+ e.popover.isNewOpenShift.value ? (v(), Xe(c$, {
18439
18456
  key: 2,
18440
18457
  popover: e.popover,
18441
18458
  onNewPosition: c[2] || (c[2] = (I) => o("newPosition", I))
18442
18459
  }, null, 8, ["popover"])) : U("", !0),
18443
- e.popover.isSingleOpenRecord.value ? (v(), f("div", n2, [
18460
+ e.popover.isSingleOpenRecord.value ? (v(), f("div", a2, [
18444
18461
  c[27] || (c[27] = t("span", { class: "sp2-ic" }, [
18445
18462
  t("svg", {
18446
18463
  width: "15",
@@ -18465,7 +18482,7 @@ Max 5 days / week`
18465
18482
  "aria-label": "Experience this shift asks for"
18466
18483
  }, null, 8, ["modelValue"])
18467
18484
  ])) : U("", !0),
18468
- e.popover.isAssigned.value ? (v(), f("div", a2, [
18485
+ e.popover.isAssigned.value ? (v(), f("div", o2, [
18469
18486
  c[29] || (c[29] = wt('<span class="sp2-ic"><svg width="15" height="15" viewBox="0 0 16 16" fill="none"><circle cx="5.6" cy="5.4" r="2.3" stroke="currentColor" stroke-width="1.4"></circle><path d="M1.8 13a4 4 0 017.6 0" stroke="currentColor" stroke-width="1.4" stroke-linecap="round"></path><circle cx="11.4" cy="5.8" r="1.8" stroke="currentColor" stroke-width="1.4"></circle><path d="M11 12.6a3.4 3.4 0 013.2-3.3" stroke="currentColor" stroke-width="1.4" stroke-linecap="round"></path></svg></span><span class="sp2-lbl">Position</span>', 2)),
18470
18487
  F(ct, {
18471
18488
  "model-value": e.popover.role.value,
@@ -18481,7 +18498,7 @@ Max 5 days / week`
18481
18498
  }, null, 8, ["model-value", "options", "selected-id", "selected-label"])
18482
18499
  ])) : U("", !0),
18483
18500
  e.popover.isSingleOpenRecord.value ? (v(), f(Y, { key: 5 }, [
18484
- t("div", o2, [
18501
+ t("div", s2, [
18485
18502
  c[30] || (c[30] = wt('<span class="sp2-ic"><svg width="15" height="15" viewBox="0 0 16 16" fill="none"><circle cx="5.6" cy="5.4" r="2.3" stroke="currentColor" stroke-width="1.4"></circle><path d="M1.8 13a4 4 0 017.6 0" stroke="currentColor" stroke-width="1.4" stroke-linecap="round"></path><circle cx="11.4" cy="5.8" r="1.8" stroke="currentColor" stroke-width="1.4"></circle><path d="M11 12.6a3.4 3.4 0 013.2-3.3" stroke="currentColor" stroke-width="1.4" stroke-linecap="round"></path></svg></span><span class="sp2-lbl">Position</span>', 2)),
18486
18503
  F(ct, {
18487
18504
  "model-value": e.popover.role.value,
@@ -18496,7 +18513,7 @@ Max 5 days / week`
18496
18513
  })
18497
18514
  }, null, 8, ["model-value", "options", "selected-id", "selected-label"])
18498
18515
  ]),
18499
- e.popover.isEditingOpenShift.value ? (v(), f("div", s2, [
18516
+ e.popover.isEditingOpenShift.value ? (v(), f("div", l2, [
18500
18517
  c[31] || (c[31] = t("span", { class: "sp2-ic" }, null, -1)),
18501
18518
  c[32] || (c[32] = t("span", { class: "sp2-lbl" }, "Headcount", -1)),
18502
18519
  et(t("input", {
@@ -18515,12 +18532,12 @@ Max 5 days / week`
18515
18532
  ])
18516
18533
  ])) : U("", !0)
18517
18534
  ], 64)) : U("", !0),
18518
- F(S$, { popover: e.popover }, null, 8, ["popover"]),
18519
- F(T$, {
18535
+ F(C$, { popover: e.popover }, null, 8, ["popover"]),
18536
+ F(A$, {
18520
18537
  popover: e.popover,
18521
18538
  "time-picker": e.timePicker
18522
18539
  }, null, 8, ["popover", "time-picker"]),
18523
- F(H$, {
18540
+ F(N$, {
18524
18541
  board: e.board,
18525
18542
  popover: e.popover
18526
18543
  }, null, 8, ["board", "popover"]),
@@ -18532,15 +18549,15 @@ Max 5 days / week`
18532
18549
  class: "sp2-warn-line"
18533
18550
  }, [
18534
18551
  (v(!0), f(Y, null, ce(I, (W, K) => (v(), f(Y, { key: K }, [
18535
- W.emphasis ? (v(), f("strong", l2, b(W.text), 1)) : (v(), f(Y, { key: 1 }, [
18552
+ W.emphasis ? (v(), f("strong", i2, b(W.text), 1)) : (v(), f(Y, { key: 1 }, [
18536
18553
  N(b(W.text), 1)
18537
18554
  ], 64))
18538
18555
  ], 64))), 128))
18539
18556
  ]))), 128))
18540
18557
  ], 2)
18541
18558
  ]),
18542
- t("div", i2, [
18543
- t("div", r2, [
18559
+ t("div", r2, [
18560
+ t("div", u2, [
18544
18561
  c[33] || (c[33] = t("small", null, "Total", -1)),
18545
18562
  t("b", null, b(e.popover.totalLabel.value), 1)
18546
18563
  ]),
@@ -18636,26 +18653,26 @@ Max 5 days / week`
18636
18653
  ])) : U("", !0);
18637
18654
  };
18638
18655
  }
18639
- }), d2 = { class: "am-head" }, c2 = {
18656
+ }), c2 = { class: "am-head" }, v2 = {
18640
18657
  id: "lvTitle",
18641
18658
  class: "am-title"
18642
- }, v2 = {
18659
+ }, m2 = {
18643
18660
  id: "lvBody",
18644
18661
  class: "ce-body"
18645
- }, m2 = { class: "lv-when" }, h2 = { class: "lv-row" }, f2 = {
18662
+ }, h2 = { class: "lv-when" }, f2 = { class: "lv-row" }, p2 = {
18646
18663
  key: 0,
18647
18664
  class: "lv-row lv-row-top"
18648
- }, p2 = { class: "lv-opts" }, y2 = { class: "lv-row lv-row-top" }, g2 = {
18665
+ }, y2 = { class: "lv-opts" }, g2 = { class: "lv-row lv-row-top" }, b2 = {
18649
18666
  class: "lv-opts",
18650
18667
  role: "radiogroup",
18651
18668
  "aria-label": "How much of the day the leave covers"
18652
- }, b2 = ["aria-checked", "onClick"], k2 = { class: "lv-opt-nm" }, w2 = {
18669
+ }, k2 = ["aria-checked", "onClick"], w2 = { class: "lv-opt-nm" }, $2 = {
18653
18670
  key: 1,
18654
18671
  class: "lv-sum"
18655
- }, $2 = { class: "am-foot" }, S2 = {
18672
+ }, S2 = { class: "am-foot" }, C2 = {
18656
18673
  id: "lvFoot",
18657
18674
  class: "am-cost-preview"
18658
- }, C2 = { class: "am-foot-btns" }, x2 = /* @__PURE__ */ ze({
18675
+ }, x2 = { class: "am-foot-btns" }, P2 = /* @__PURE__ */ ze({
18659
18676
  __name: "ScheduleLeaveEditModal",
18660
18677
  props: {
18661
18678
  leave: {}
@@ -18700,8 +18717,8 @@ Max 5 days / week`
18700
18717
  default: ae(() => {
18701
18718
  var p, h;
18702
18719
  return [
18703
- t("div", d2, [
18704
- t("div", c2, b(i.value) + " · " + b(u.value), 1),
18720
+ t("div", c2, [
18721
+ t("div", v2, b(i.value) + " · " + b(u.value), 1),
18705
18722
  F(se, {
18706
18723
  hierarchy: "ghost",
18707
18724
  size: "xs",
@@ -18728,9 +18745,9 @@ Max 5 days / week`
18728
18745
  _: 1
18729
18746
  })
18730
18747
  ]),
18731
- t("div", v2, [
18732
- t("div", m2, b(e.leave.dayLabel.value), 1),
18733
- t("div", h2, [
18748
+ t("div", m2, [
18749
+ t("div", h2, b(e.leave.dayLabel.value), 1),
18750
+ t("div", f2, [
18734
18751
  y[7] || (y[7] = t("span", { class: "lv-lbl" }, "Type", -1)),
18735
18752
  F(ct, {
18736
18753
  modelValue: e.leave.state.selection,
@@ -18740,13 +18757,13 @@ Max 5 days / week`
18740
18757
  "aria-label": "Time off type"
18741
18758
  }, null, 8, ["modelValue", "options"])
18742
18759
  ]),
18743
- (p = e.leave.activeSlot.value) != null && p.note ? (v(), f("div", f2, [
18760
+ (p = e.leave.activeSlot.value) != null && p.note ? (v(), f("div", p2, [
18744
18761
  y[8] || (y[8] = t("span", { class: "lv-lbl" }, "Note", -1)),
18745
- t("div", p2, b(e.leave.activeSlot.value.note), 1)
18762
+ t("div", y2, b(e.leave.activeSlot.value.note), 1)
18746
18763
  ])) : U("", !0),
18747
- t("div", y2, [
18764
+ t("div", g2, [
18748
18765
  y[10] || (y[10] = t("span", { class: "lv-lbl" }, "Covers", -1)),
18749
- t("div", g2, [
18766
+ t("div", b2, [
18750
18767
  (v(!0), f(Y, null, ce(e.leave.options.value, (m) => (v(), f("button", {
18751
18768
  key: m.mode,
18752
18769
  type: "button",
@@ -18759,20 +18776,20 @@ Max 5 days / week`
18759
18776
  class: "lv-opt-dot",
18760
18777
  "aria-hidden": "true"
18761
18778
  }, null, -1)),
18762
- t("span", k2, b(m.name), 1)
18763
- ], 10, b2))), 128))
18779
+ t("span", w2, b(m.name), 1)
18780
+ ], 10, k2))), 128))
18764
18781
  ])
18765
18782
  ]),
18766
- (h = e.leave.activeSlot.value) != null && h.bal ? (v(), f("div", w2, [
18783
+ (h = e.leave.activeSlot.value) != null && h.bal ? (v(), f("div", $2, [
18767
18784
  t("b", null, b(e.leave.activeSlot.value.bal.used), 1),
18768
18785
  y[11] || (y[11] = N(" of ", -1)),
18769
18786
  t("b", null, b(e.leave.activeSlot.value.bal.entitled), 1),
18770
18787
  N(" " + b(e.leave.activeSlot.value.bal.type) + " days used ", 1)
18771
18788
  ])) : U("", !0)
18772
18789
  ]),
18773
- t("div", $2, [
18774
- t("div", S2, b(e.leave.valid.value ? `${e.leave.selectionLabel.value} · ${e.leave.coverText.value}` : "Set the hours"), 1),
18775
- t("div", C2, [
18790
+ t("div", S2, [
18791
+ t("div", C2, b(e.leave.valid.value ? `${e.leave.selectionLabel.value} · ${e.leave.coverText.value}` : "Set the hours"), 1),
18792
+ t("div", x2, [
18776
18793
  e.leave.state.isNew ? U("", !0) : (v(), Xe(se, {
18777
18794
  key: 0,
18778
18795
  hierarchy: "secondary",
@@ -18835,7 +18852,7 @@ Max 5 days / week`
18835
18852
  _: 1
18836
18853
  }, 8, ["open"]));
18837
18854
  }
18838
- }), P2 = /* @__PURE__ */ ze({
18855
+ }), D2 = /* @__PURE__ */ ze({
18839
18856
  __name: "ScheduleBoardEditOverlays",
18840
18857
  props: {
18841
18858
  board: {},
@@ -18848,14 +18865,14 @@ Max 5 days / week`
18848
18865
  },
18849
18866
  setup(e) {
18850
18867
  return (a, n) => (v(), f(Y, null, [
18851
- F(u2, {
18868
+ F(d2, {
18852
18869
  board: e.board,
18853
18870
  popover: e.popover,
18854
18871
  "time-picker": e.timePicker,
18855
18872
  onSwap: n[0] || (n[0] = (o, s) => e.shiftActions.openSwap(o, s)),
18856
18873
  onNewPosition: e.onNewPosition
18857
18874
  }, null, 8, ["board", "popover", "time-picker", "onNewPosition"]),
18858
- F(x2, { leave: e.leave }, null, 8, ["leave"]),
18875
+ F(P2, { leave: e.leave }, null, 8, ["leave"]),
18859
18876
  F(en, {
18860
18877
  open: e.clash.state.open,
18861
18878
  title: e.clash.state.title ?? "This might conflict",
@@ -18867,12 +18884,12 @@ Max 5 days / week`
18867
18884
  }, null, 8, ["open", "title", "message", "confirm-label"])
18868
18885
  ], 64));
18869
18886
  }
18870
- }), D2 = ["aria-busy"], z2 = { class: "main" }, M2 = { class: "schedule-body" }, E2 = {
18887
+ }), z2 = ["aria-busy"], M2 = { class: "main" }, E2 = { class: "schedule-body" }, O2 = {
18871
18888
  key: 0,
18872
18889
  class: "schedule-copy-loading",
18873
18890
  role: "status",
18874
18891
  "aria-live": "polite"
18875
- }, O2 = { class: "schedule-copy-loading-card" }, K2 = /* @__PURE__ */ ze({
18892
+ }, T2 = { class: "schedule-copy-loading-card" }, J2 = /* @__PURE__ */ ze({
18876
18893
  __name: "SchedulePage",
18877
18894
  setup(e) {
18878
18895
  const a = V(null);
@@ -19058,7 +19075,7 @@ Max 5 days / week`
19058
19075
  class: "sch",
19059
19076
  "aria-busy": R(Ze).isCopying.value || R(vt).staffingSaving.value
19060
19077
  }, [
19061
- t("div", z2, [
19078
+ t("div", M2, [
19062
19079
  F(Gv, {
19063
19080
  board: R(o),
19064
19081
  topbar: R(Ke),
@@ -19077,7 +19094,7 @@ Max 5 days / week`
19077
19094
  onApplied: R(ve),
19078
19095
  onAppliedAndPublish: R(Oe)
19079
19096
  }, null, 8, ["board", "topbar", "auto-schedule", "copy-week", "export-api", "calendar", "filter-bar", "outlet", "roster", "error", "on-sched-status-click", "on-coming-soon", "on-retry", "on-clear", "onApplied", "onAppliedAndPublish"]),
19080
- t("div", M2, [
19097
+ t("div", E2, [
19081
19098
  R(st) ? (v(), Xe(zr, { key: 0 })) : U("", !0),
19082
19099
  F(Or, {
19083
19100
  open: R(tt).open.value,
@@ -19182,7 +19199,7 @@ Max 5 days / week`
19182
19199
  }, null, 8, ["cost-rail", "board"])
19183
19200
  ])
19184
19201
  ]),
19185
- F(P2, {
19202
+ F(D2, {
19186
19203
  board: R(o),
19187
19204
  popover: R(y),
19188
19205
  "time-picker": R(p),
@@ -19193,7 +19210,7 @@ Max 5 days / week`
19193
19210
  Pa(B) ? B.value = $e : B = $e, R(X).openNew();
19194
19211
  }
19195
19212
  }, null, 8, ["board", "popover", "time-picker", "shift-actions", "leave", "clash", "on-new-position"]),
19196
- F(_0, {
19213
+ F(e$, {
19197
19214
  "setup-banner": R(tt),
19198
19215
  "outlet-name": yt.value,
19199
19216
  "onboarding-flow": R($t),
@@ -19209,7 +19226,7 @@ Max 5 days / week`
19209
19226
  "on-confirm-clear": R(x),
19210
19227
  "on-close-clear": () => i.value = null
19211
19228
  }, null, 8, ["setup-banner", "outlet-name", "onboarding-flow", "onboarding-wizard", "time-picker", "tour", "auto-schedule", "clear-open", "clear-title", "clear-message", "clear-confirm-label", "clear-loading", "on-confirm-clear", "on-close-clear"]),
19212
- F(jg, {
19229
+ F(Vg, {
19213
19230
  board: R(o),
19214
19231
  "employee-profile": R(w),
19215
19232
  "employee-menu": R(W),
@@ -19252,8 +19269,8 @@ Max 5 days / week`
19252
19269
  "time-picker": R(p),
19253
19270
  gap: R(Se)
19254
19271
  }, null, 8, ["board", "add-pick", "publish", "export-api", "day-note", "demand-sheet", "position-modal", "time-picker", "gap"]),
19255
- R(Ze).isCopying.value || R(vt).staffingSaving.value ? (v(), f("div", E2, [
19256
- t("div", O2, [
19272
+ R(Ze).isCopying.value || R(vt).staffingSaving.value ? (v(), f("div", O2, [
19273
+ t("div", T2, [
19257
19274
  he[2] || (he[2] = t("span", {
19258
19275
  class: "schedule-copy-spinner",
19259
19276
  "aria-hidden": "true"
@@ -19261,9 +19278,9 @@ Max 5 days / week`
19261
19278
  t("span", null, b(R(vt).staffingSaving.value ? "Creating schedule…" : "Copying schedule…"), 1)
19262
19279
  ])
19263
19280
  ])) : U("", !0)
19264
- ], 8, D2));
19281
+ ], 8, z2));
19265
19282
  }
19266
19283
  });
19267
19284
  export {
19268
- K2 as default
19285
+ J2 as default
19269
19286
  };