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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/dist/{ApprovalCodeList-3wBWXPam.js → ApprovalCodeList-BErlk4ha.js} +4 -4
  2. package/dist/{AuditLogList-Dlph1SCP.js → AuditLogList-Chvwt0ar.js} +4 -4
  3. package/dist/{ConditionBuilderForm.vue_vue_type_script_setup_true_lang-CJW-spxu.js → ConditionBuilderForm.vue_vue_type_script_setup_true_lang-2u2WyZdb.js} +2 -2
  4. package/dist/{EmployeeList-RAaFG8p6.js → EmployeeList-CGD1h2OK.js} +6 -6
  5. package/dist/{FormItem.vue_vue_type_script_setup_true_lang-BaMXEfJr.js → FormItem.vue_vue_type_script_setup_true_lang-BuGNer42.js} +1 -1
  6. package/dist/{GrantUserList-CxL7ELvs.js → GrantUserList-DzpqTaSY.js} +5 -5
  7. package/dist/{Main-Ccg399Ra.js → Main-CPyn7NFE.js} +5 -5
  8. package/dist/{Main-D19GDYjL.js → Main-DAGEZQlr.js} +2 -2
  9. package/dist/{Main-DQcp3NRa.js → Main-iNdaHQX2.js} +9 -9
  10. package/dist/{PermissionSetList-CdQjM54-.js → PermissionSetList-Db8_PEwm.js} +5 -5
  11. package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-CzUGRJe4.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-BjUf9foK.js} +985 -985
  12. package/dist/{RoleList-DTyp8dcV.js → RoleList-CQi7_guB.js} +7 -7
  13. package/dist/{ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-BOg6mQYF.js → ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-D5wnGhBH.js} +47 -47
  14. package/dist/{ScheduleGeneralPage-Cn_jBdfC.js → ScheduleGeneralPage-Box_itY2.js} +2 -2
  15. package/dist/{ScheduleModal.vue_vue_type_script_setup_true_lang-BbSv92Ry.js → ScheduleModal.vue_vue_type_script_setup_true_lang-3XOtfHXG.js} +511 -493
  16. package/dist/{SchedulePage-CTAIOE59.js → SchedulePage-D5ech6qY.js} +7318 -7345
  17. package/dist/{SchedulePositionPage-BIXuH4Pk.js → SchedulePositionPage-Df5K6dRn.js} +8 -8
  18. package/dist/{SelectFilter-DvWwcdKo.js → SelectFilter-CnL5hOUi.js} +1 -1
  19. package/dist/{TeamMemberList-CqTvtoGc.js → TeamMemberList-BJDrGXAU.js} +7 -7
  20. package/dist/{TimesheetList-CanJSlhF.js → TimesheetList-DjasY9Ga.js} +6 -6
  21. package/dist/{TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-UAdvuPmt.js → TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-BipggXKS.js} +2 -2
  22. package/dist/{app-CTAbM1YW.js → app-6RyACUtu.js} +8 -8
  23. package/dist/app.js +1 -1
  24. package/dist/{dayjs.min-Bv1ruj1a.js → dayjs.min-dR2BNXww.js} +1 -1
  25. package/dist/{employee-D-jow9b7.js → employee-CZII8yO4.js} +3 -3
  26. package/dist/{iteration-KG5GZWLu.js → iteration-BrBn3q_q.js} +1 -1
  27. package/dist/{lodash-BCapmkFh.js → lodash-CiDhR4Jm.js} +1 -1
  28. package/dist/{role-Dx1RfQ1m.js → role-DzoAHzTj.js} +1 -1
  29. package/dist/{rule-D8e9LFze.js → rule-DucHSUev.js} +2 -2
  30. package/dist/src/api/schedule/index.d.ts +5 -0
  31. package/dist/src/views/scheduling/composables/useScheduleAddEmployee.d.ts +17 -0
  32. package/dist/src/views/scheduling/composables/useScheduleAutoSchedule.d.ts +3 -3
  33. package/dist/src/views/scheduling/composables/useScheduleEmployeeCandidates.d.ts +23 -4
  34. package/dist/src/views/scheduling/composables/useScheduleEmployeePersistence.d.ts +2 -0
  35. package/dist/src/views/scheduling/composables/useScheduleOnboardingEmployees.d.ts +1 -1
  36. package/dist/src/views/scheduling/composables/useScheduleOnboardingWizard.d.ts +17 -0
  37. package/dist/src/views/scheduling/schedule-state.d.ts +12 -12
  38. package/dist/src/views/scheduling/schedule-store.d.ts +3 -1
  39. package/dist/style.css +1 -1
  40. package/dist/tsconfig.app.tsbuildinfo +1 -1
  41. package/dist/{useReportPermissions-DXiMU0Is.js → useReportPermissions-B0VLybQf.js} +3 -3
  42. package/package.json +1 -1
@@ -1,16 +1,16 @@
1
1
  import { computed as y, defineComponent as Pe, ref as V, watch as le, onMounted as Me, resolveComponent as F, createBlock as M, openBlock as v, unref as o, withCtx as g, createElementVNode as u, createVNode as c, createElementBlock as R, Fragment as P, createCommentVNode as _e, renderList as ne, normalizeClass as Ue, toDisplayString as $, h as A, createTextVNode as ge, resolveDynamicComponent as Ee, withModifiers as Ze, nextTick as De } from "vue";
2
- import { e as D } from "./iteration-KG5GZWLu.js";
2
+ import { e as D } from "./iteration-BrBn3q_q.js";
3
3
  import { useI18n as Te } from "@feedmepos/mf-common";
4
4
  import { useBreakpoints as Be, useSnackbar as je, components as ye, useDialog as es, FmButtonColorThemeVariant as ss } from "@feedmepos/ui-library";
5
- import { D as ts, k as as, A as ls, S as os, _ as rs } from "./app-CTAbM1YW.js";
5
+ import { D as ts, k as as, A as ls, S as os, _ as rs } from "./app-6RyACUtu.js";
6
6
  import { _ as $e } from "./ResponsiveContextMenu.vue_vue_type_script_setup_true_lang-mSJFKo7r.js";
7
7
  import { _ as ns } from "./TableEmptyState.vue_vue_type_script_setup_true_lang-IfAZmWr0.js";
8
- import { r as ie, h as Ae, f as is, s as us, g as Ie, e as cs, a as oe } from "./rule-D8e9LFze.js";
8
+ import { r as ie, h as Ae, f as is, s as us, g as Ie, e as cs, a as oe } from "./rule-DucHSUev.js";
9
9
  import { u as xe } from "./restaurant-D2mfKHaH.js";
10
- import { u as Oe } from "./role-Dx1RfQ1m.js";
11
- import { u as Ne } from "./useReportPermissions-DXiMU0Is.js";
12
- import { l as re } from "./lodash-BCapmkFh.js";
13
- import { u as ms, _ as ds, a as Le } from "./ConditionBuilderForm.vue_vue_type_script_setup_true_lang-CJW-spxu.js";
10
+ import { u as Oe } from "./role-DzoAHzTj.js";
11
+ import { u as Ne } from "./useReportPermissions-B0VLybQf.js";
12
+ import { l as re } from "./lodash-CiDhR4Jm.js";
13
+ import { u as ms, _ as ds, a as Le } from "./ConditionBuilderForm.vue_vue_type_script_setup_true_lang-2u2WyZdb.js";
14
14
  import { _ as be } from "./FormSection.vue_vue_type_script_setup_true_lang-DknXTYiK.js";
15
15
  import { u as ps } from "./useDiscardConfirm-CzZSPyvh.js";
16
16
  import { u as fs } from "./useLoading-Nygx2zn8.js";
@@ -1,6 +1,6 @@
1
- import { ref as I, watch as ce, computed as O, reactive as we, nextTick as Pe, defineComponent as pe, createBlock as te, openBlock as k, withCtx as M, createElementVNode as s, createVNode as q, toDisplayString as g, unref as X, createElementBlock as C, withDirectives as ve, withKeys as Ne, vModelText as fe, normalizeClass as ye, createTextVNode as V, createCommentVNode as Y, Fragment as he, renderList as $e } from "vue";
2
- import { au as se, p as z, ax as ge, ay as ne, az as ke, u as Se, aA as Ce, I as le, e as Z, at as xe, ar as W } from "./ScheduleModal.vue_vue_type_script_setup_true_lang-BbSv92Ry.js";
3
- import { useI18n as Ae } from "@feedmepos/mf-common";
1
+ import { ref as I, watch as ce, computed as O, reactive as we, nextTick as Pe, defineComponent as pe, createBlock as te, openBlock as k, withCtx as M, createElementVNode as s, createVNode as q, toDisplayString as g, unref as X, createElementBlock as C, withDirectives as ve, withKeys as Ne, vModelText as fe, normalizeClass as ye, createTextVNode as B, createCommentVNode as Y, Fragment as he, renderList as $e } from "vue";
2
+ import { av as se, p as z, ay as ge, az as ne, aA as ke, u as Se, aB as Ce, I as le, e as Z, au as Ae, as as V } from "./ScheduleModal.vue_vue_type_script_setup_true_lang-3XOtfHXG.js";
3
+ import { useI18n as xe } from "@feedmepos/mf-common";
4
4
  function Ie() {
5
5
  return se.map((e) => ({ id: e.id, name: e.name }));
6
6
  }
@@ -23,26 +23,26 @@ function la(e = {}) {
23
23
  }
24
24
  );
25
25
  const r = I(!1), P = I(""), w = I(null), p = I(!1), b = I(null);
26
- function x(l) {
26
+ function A(l) {
27
27
  var y, $;
28
28
  const c = new Set(ke.value.map((T) => T._id)), N = /* @__PURE__ */ new Set();
29
29
  for (const T of ((y = z.value) == null ? void 0 : y.employees) ?? [])
30
30
  c.has(T.employeeId) && ((($ = T.primaryPosition) == null ? void 0 : $.positionId) === l || T.secondaryPositions.some((ae) => ae.positionId === l)) && N.add(T.employeeId);
31
31
  return N.size;
32
32
  }
33
- function B(l) {
33
+ function W(l) {
34
34
  return n.value.some((c) => c.name.toLowerCase() === l.toLowerCase());
35
35
  }
36
36
  function D() {
37
37
  r.value = !0, P.value = "", w.value = null, b.value = null;
38
38
  }
39
- function A() {
39
+ function x() {
40
40
  r.value = !1, P.value = "";
41
41
  }
42
42
  async function F() {
43
43
  var c, N;
44
44
  const l = P.value.trim().slice(0, 40);
45
- if (!(!l || B(l))) {
45
+ if (!(!l || W(l))) {
46
46
  p.value = !0, b.value = null;
47
47
  try {
48
48
  e.deferWrites ? (f.push(l), n.value = [...n.value, { id: `onboarding-draft-${++i}`, name: l }]) : await ne({ name: l }), r.value = !1, P.value = "", (c = e.notify) == null || c.call(e, "Position added", "success");
@@ -106,9 +106,9 @@ function la(e = {}) {
106
106
  pendingDeleteId: w,
107
107
  saving: p,
108
108
  error: b,
109
- usageCountFor: x,
109
+ usageCountFor: A,
110
110
  startAdd: D,
111
- cancelAdd: A,
111
+ cancelAdd: x,
112
112
  confirmAdd: F,
113
113
  askDelete: _,
114
114
  cancelDelete: G,
@@ -124,9 +124,9 @@ function Ee(e) {
124
124
  return n.length ? (n[0][0] + (((f = n[1]) == null ? void 0 : f[0]) ?? "")).toUpperCase() : "??";
125
125
  }
126
126
  function na(e, n = {}) {
127
- const f = I(!1), a = I(""), i = I(""), r = we({}), P = I(!1), w = I(null), p = I(null), b = I(!1), x = I(null);
128
- let B = "", D = /* @__PURE__ */ new Set();
129
- const A = O(() => {
127
+ const f = I(!1), a = I(""), i = I(""), r = we({}), P = I(!1), w = I(null), p = I(null), b = I(!1), A = I(null);
128
+ let W = "", D = /* @__PURE__ */ new Set();
129
+ const x = O(() => {
130
130
  var m;
131
131
  const t = new Map((((m = z.value) == null ? void 0 : m.employees) ?? []).map((v) => [v.employeeId, v]));
132
132
  return ke.value.map((v) => {
@@ -145,25 +145,25 @@ function na(e, n = {}) {
145
145
  });
146
146
  }), F = O(() => {
147
147
  const t = i.value.trim().toLowerCase();
148
- return A.value.filter((m) => !t || m.name.toLowerCase().includes(t));
148
+ return x.value.filter((m) => !t || m.name.toLowerCase().includes(t));
149
149
  }), _ = O(
150
- () => A.value.filter((t) => r[t.employeeId]).map((t) => t.employeeId)
150
+ () => x.value.filter((t) => r[t.employeeId]).map((t) => t.employeeId)
151
151
  ), G = O(
152
152
  () => F.value.length > 0 && F.value.every((t) => r[t.employeeId])
153
153
  ), E = O(() => a.value.trim().slice(0, 40)), H = O(
154
154
  () => !!E.value && se.some(
155
- (t) => t.id !== x.value && t.name.toLowerCase() === E.value.toLowerCase()
155
+ (t) => t.id !== A.value && t.name.toLowerCase() === E.value.toLowerCase()
156
156
  )
157
157
  ), J = O(() => !!E.value && !H.value && !P.value);
158
158
  function K() {
159
- a.value = "", i.value = "", Object.keys(r).forEach((t) => delete r[t]), w.value = null, b.value = !1, p.value = null, x.value = null, B = "", D = /* @__PURE__ */ new Set();
159
+ a.value = "", i.value = "", Object.keys(r).forEach((t) => delete r[t]), w.value = null, b.value = !1, p.value = null, A.value = null, W = "", D = /* @__PURE__ */ new Set();
160
160
  }
161
161
  function ee() {
162
162
  K(), f.value = !0;
163
163
  }
164
164
  function l(t, m) {
165
- K(), x.value = t, a.value = m, B = m, D = new Set(
166
- A.value.filter((v) => v.heldPositionIds.includes(t)).map((v) => v.employeeId)
165
+ K(), A.value = t, a.value = m, W = m, D = new Set(
166
+ x.value.filter((v) => v.heldPositionIds.includes(t)).map((v) => v.employeeId)
167
167
  ), D.forEach((v) => r[v] = !0), f.value = !0;
168
168
  }
169
169
  function c() {
@@ -193,7 +193,7 @@ function na(e, n = {}) {
193
193
  var j;
194
194
  const t = E.value;
195
195
  await ne({ name: t }), await Pe(), e == null || e(t);
196
- const m = A.value.filter((u) => r[u.employeeId]), d = (await Promise.allSettled(
196
+ const m = x.value.filter((u) => r[u.employeeId]), d = (await Promise.allSettled(
197
197
  m.map((u) => {
198
198
  var o;
199
199
  const L = (o = z.value) == null ? void 0 : o.employees.find((h) => h.employeeId === u.employeeId);
@@ -213,9 +213,9 @@ function na(e, n = {}) {
213
213
  var L;
214
214
  const m = E.value;
215
215
  await Ce(t, { name: m }), e == null || e(m);
216
- const v = A.value.filter(
216
+ const v = x.value.filter(
217
217
  (o) => r[o.employeeId] && !D.has(o.employeeId)
218
- ), d = A.value.filter(
218
+ ), d = x.value.filter(
219
219
  (o) => !r[o.employeeId] && D.has(o.employeeId)
220
220
  ), u = (await Promise.allSettled([
221
221
  ...v.map((o) => {
@@ -229,8 +229,8 @@ function na(e, n = {}) {
229
229
  ...d.map((o) => {
230
230
  var de, ue, me, re;
231
231
  const h = (de = z.value) == null ? void 0 : de.employees.find((S) => S.employeeId === o.employeeId), U = ((h == null ? void 0 : h.secondaryPositions) ?? []).filter(
232
- (S) => S.positionId !== t && (S.positionId || S.positionName !== B)
233
- ), Q = ((ue = h == null ? void 0 : h.primaryPosition) == null ? void 0 : ue.positionId) === t || !((me = h == null ? void 0 : h.primaryPosition) != null && me.positionId) && ((re = h == null ? void 0 : h.primaryPosition) == null ? void 0 : re.positionName) === B, R = Q ? U.shift() : void 0;
232
+ (S) => S.positionId !== t && (S.positionId || S.positionName !== W)
233
+ ), Q = ((ue = h == null ? void 0 : h.primaryPosition) == null ? void 0 : ue.positionId) === t || !((me = h == null ? void 0 : h.primaryPosition) != null && me.positionId) && ((re = h == null ? void 0 : h.primaryPosition) == null ? void 0 : re.positionName) === W, R = Q ? U.shift() : void 0;
234
234
  return le(o.employeeId, {
235
235
  employeeName: o.name,
236
236
  ...Q ? {
@@ -253,9 +253,9 @@ function na(e, n = {}) {
253
253
  if (!J.value) return !1;
254
254
  P.value = !0, w.value = null;
255
255
  try {
256
- return await (x.value ? ae(x.value) : T());
256
+ return await (A.value ? ae(A.value) : T());
257
257
  } catch (m) {
258
- return w.value = m instanceof Error ? m.message : `Could not ${x.value ? "save" : "add"} this position`, (t = n.notify) == null || t.call(n, w.value, "error"), !1;
258
+ return w.value = m instanceof Error ? m.message : `Could not ${A.value ? "save" : "add"} this position`, (t = n.notify) == null || t.call(n, w.value, "error"), !1;
259
259
  } finally {
260
260
  P.value = !1;
261
261
  }
@@ -275,13 +275,13 @@ function na(e, n = {}) {
275
275
  error: w,
276
276
  done: p,
277
277
  nameError: b,
278
- people: A,
278
+ people: x,
279
279
  visible: F,
280
280
  pickedIds: _,
281
281
  allPicked: G,
282
282
  nameTaken: H,
283
283
  canSave: J,
284
- editingId: x,
284
+ editingId: A,
285
285
  openNew: ee,
286
286
  openEdit: l,
287
287
  close: c,
@@ -298,7 +298,7 @@ const Te = { class: "am-head" }, Me = {
298
298
  }, Oe = { class: "ce-body" }, ze = { key: 0 }, De = { class: "ce-field" }, je = {
299
299
  class: "ce-field asg-field",
300
300
  style: { "margin-bottom": "0" }
301
- }, Le = { class: "asg-head" }, Ve = { class: "asg-count" }, We = { class: "asg-list position-asg-list" }, Be = ["checked", "onChange"], Fe = { class: "asg-av" }, Ke = { class: "asg-id" }, Re = ["title"], Ue = { class: "asg-sub" }, qe = { key: 1 }, Ge = {
301
+ }, Le = { class: "asg-head" }, Be = { class: "asg-count" }, Ve = { class: "asg-list position-asg-list" }, We = ["checked", "onChange"], Fe = { class: "asg-av" }, Ke = { class: "asg-id" }, Re = ["title"], Ue = { class: "asg-sub" }, qe = { key: 1 }, Ge = {
302
302
  key: 0,
303
303
  class: "asg-sub",
304
304
  style: { padding: "10px" }
@@ -317,8 +317,8 @@ const Te = { class: "am-head" }, Me = {
317
317
  modal: {}
318
318
  },
319
319
  setup(e) {
320
- const { t: n } = Ae();
321
- return (f, a) => (k(), te(xe, {
320
+ const { t: n } = xe();
321
+ return (f, a) => (k(), te(Ae, {
322
322
  open: e.modal.open.value,
323
323
  "panel-class": "ce-modal",
324
324
  "panel-style": "width: min(480px, 95vw)",
@@ -328,7 +328,7 @@ const Te = { class: "am-head" }, Me = {
328
328
  default: M(() => [
329
329
  s("div", Te, [
330
330
  s("div", Me, g(e.modal.editingId.value ? X(n)("scheduling.positionModal.editTitle") : X(n)("scheduling.positionModal.addTitle")), 1),
331
- q(W, {
331
+ q(V, {
332
332
  hierarchy: "ghost",
333
333
  size: "xs",
334
334
  "icon-only": "",
@@ -392,7 +392,7 @@ const Te = { class: "am-head" }, Me = {
392
392
  s("div", je, [
393
393
  s("div", Le, [
394
394
  a[14] || (a[14] = s("span", { class: "asg-lbl" }, "Employees with this position", -1)),
395
- q(W, {
395
+ q(V, {
396
396
  hierarchy: "ghost",
397
397
  size: "sm",
398
398
  class: "ce-add-link asg-all",
@@ -400,11 +400,11 @@ const Te = { class: "am-head" }, Me = {
400
400
  onClick: a[4] || (a[4] = (i) => e.modal.toggleAll())
401
401
  }, {
402
402
  default: M(() => [
403
- V(g(e.modal.allPicked.value ? "Clear all" : "Select all"), 1)
403
+ B(g(e.modal.allPicked.value ? "Clear all" : "Select all"), 1)
404
404
  ]),
405
405
  _: 1
406
406
  }),
407
- s("span", Ve, g(e.modal.pickedIds.value.length) + " selected", 1)
407
+ s("span", Be, g(e.modal.pickedIds.value.length) + " selected", 1)
408
408
  ]),
409
409
  ve(s("input", {
410
410
  "onUpdate:modelValue": a[5] || (a[5] = (i) => e.modal.search.value = i),
@@ -414,7 +414,7 @@ const Te = { class: "am-head" }, Me = {
414
414
  }, null, 512), [
415
415
  [fe, e.modal.search.value]
416
416
  ]),
417
- s("div", We, [
417
+ s("div", Ve, [
418
418
  (k(!0), C(he, null, $e(e.modal.visible.value, (i) => (k(), C("label", {
419
419
  key: i.employeeId,
420
420
  class: "asg-row"
@@ -425,7 +425,7 @@ const Te = { class: "am-head" }, Me = {
425
425
  checked: !!e.modal.picks[i.employeeId],
426
426
  onChange: (r) => e.modal.toggle(i.employeeId),
427
427
  "data-platform": "desktop"
428
- }, null, 40, Be),
428
+ }, null, 40, We),
429
429
  s("span", Fe, g(i.initials), 1),
430
430
  s("span", Ke, [
431
431
  s("span", {
@@ -434,7 +434,7 @@ const Te = { class: "am-head" }, Me = {
434
434
  }, g(i.name), 9, Re),
435
435
  s("span", Ue, [
436
436
  i.held.length ? (k(), C(he, { key: 0 }, [
437
- V(g(i.held.join(", ")), 1)
437
+ B(g(i.held.join(", ")), 1)
438
438
  ], 64)) : (k(), C("i", qe, "No positions added"))
439
439
  ])
440
440
  ])
@@ -451,7 +451,7 @@ const Te = { class: "am-head" }, Me = {
451
451
  s("div", Ye, [
452
452
  a[19] || (a[19] = s("div", { class: "am-cost-preview" }, null, -1)),
453
453
  e.modal.done.value ? (k(), C("div", _e, [
454
- e.modal.editingId.value ? Y("", !0) : (k(), te(W, {
454
+ e.modal.editingId.value ? Y("", !0) : (k(), te(V, {
455
455
  key: 0,
456
456
  hierarchy: "secondary",
457
457
  size: "sm",
@@ -460,11 +460,11 @@ const Te = { class: "am-head" }, Me = {
460
460
  onClick: a[9] || (a[9] = (i) => e.modal.another())
461
461
  }, {
462
462
  default: M(() => [...a[18] || (a[18] = [
463
- V("Add another", -1)
463
+ B("Add another", -1)
464
464
  ])]),
465
465
  _: 1
466
466
  })),
467
- q(W, {
467
+ q(V, {
468
468
  hierarchy: "primary",
469
469
  size: "sm",
470
470
  class: "am-btn am-btn-primary",
@@ -472,12 +472,12 @@ const Te = { class: "am-head" }, Me = {
472
472
  onClick: a[10] || (a[10] = (i) => e.modal.close())
473
473
  }, {
474
474
  default: M(() => [
475
- V(g(X(n)("scheduling.common.done")), 1)
475
+ B(g(X(n)("scheduling.common.done")), 1)
476
476
  ]),
477
477
  _: 1
478
478
  })
479
479
  ])) : (k(), C("div", Ze, [
480
- q(W, {
480
+ q(V, {
481
481
  hierarchy: "secondary",
482
482
  size: "sm",
483
483
  class: "am-btn am-btn-sec",
@@ -485,11 +485,11 @@ const Te = { class: "am-head" }, Me = {
485
485
  onClick: a[6] || (a[6] = (i) => e.modal.close())
486
486
  }, {
487
487
  default: M(() => [
488
- V(g(X(n)("scheduling.common.cancel")), 1)
488
+ B(g(X(n)("scheduling.common.cancel")), 1)
489
489
  ]),
490
490
  _: 1
491
491
  }),
492
- e.modal.editingId.value ? Y("", !0) : (k(), te(W, {
492
+ e.modal.editingId.value ? Y("", !0) : (k(), te(V, {
493
493
  key: 0,
494
494
  hierarchy: "secondary",
495
495
  size: "sm",
@@ -499,11 +499,11 @@ const Te = { class: "am-head" }, Me = {
499
499
  onClick: a[7] || (a[7] = (i) => e.modal.saveAndAnother())
500
500
  }, {
501
501
  default: M(() => [...a[17] || (a[17] = [
502
- V(" Save & add another ", -1)
502
+ B(" Save & add another ", -1)
503
503
  ])]),
504
504
  _: 1
505
505
  }, 8, ["disabled"])),
506
- q(W, {
506
+ q(V, {
507
507
  hierarchy: "primary",
508
508
  size: "sm",
509
509
  class: "am-btn am-btn-primary",
@@ -512,7 +512,7 @@ const Te = { class: "am-head" }, Me = {
512
512
  onClick: a[8] || (a[8] = (i) => e.modal.save())
513
513
  }, {
514
514
  default: M(() => [
515
- V(g(e.modal.editingId.value ? e.modal.saving.value ? "Saving…" : "Save changes" : e.modal.saving.value ? "Adding…" : "Add position"), 1)
515
+ B(g(e.modal.editingId.value ? e.modal.saving.value ? "Saving…" : "Save changes" : e.modal.saving.value ? "Adding…" : "Add position"), 1)
516
516
  ]),
517
517
  _: 1
518
518
  }, 8, ["disabled"])
@@ -1,8 +1,8 @@
1
1
  import { ref as w, reactive as B, computed as N, defineComponent as T, createBlock as I, openBlock as p, withCtx as k, createElementVNode as e, createVNode as b, createElementBlock as m, Fragment as L, createTextVNode as H, toDisplayString as h, withDirectives as f, vModelText as g, createCommentVNode as A, renderList as V, onMounted as z, createStaticVNode as Y, unref as l, normalizeClass as U } from "vue";
2
2
  import { useRouter as q } from "vue-router";
3
3
  import { useSnackbar as F } from "@feedmepos/ui-library";
4
- import { R as G } from "./app-CTAbM1YW.js";
5
- import { b as v, o as $, Q as j, a0 as W, p as E, g as J, at as Q, ar as x, av as K, aw as X, ag as Z, as as _ } from "./ScheduleModal.vue_vue_type_script_setup_true_lang-BbSv92Ry.js";
4
+ import { R as G } from "./app-6RyACUtu.js";
5
+ import { b as v, o as $, Q as j, $ as W, p as E, g as J, au as Q, as as x, aw as K, ax as X, ag as Z, at as _ } from "./ScheduleModal.vue_vue_type_script_setup_true_lang-3XOtfHXG.js";
6
6
  import { useCoreStore as ee } from "@feedmepos/mf-common";
7
7
  const se = [
8
8
  { key: "payrates", label: "Pay rates" },