@feedmepos/mf-hrm-portal 2.3.0-dev → 2.3.0-dev.10

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 (155) hide show
  1. package/dist/{ApprovalCodeList-cG0zmQVJ.js → ApprovalCodeList-BLA2rhLB.js} +5 -5
  2. package/dist/{AuditLogList-BTifJhO1.js → AuditLogList-DBYdZhZl.js} +4 -4
  3. package/dist/{ConditionBuilderForm.vue_vue_type_script_setup_true_lang-qr5TwLTK.js → ConditionBuilderForm.vue_vue_type_script_setup_true_lang-CtCEzPbE.js} +2 -2
  4. package/dist/{EmployeeList-DzcMtxJ3.js → EmployeeList-CA7DWLmy.js} +6 -6
  5. package/dist/{GrantUserList-D5b7tJ8Y.js → GrantUserList-BYnegeEr.js} +6 -6
  6. package/dist/{Main-DFwdAWqn.js → Main-BeXx0hAc.js} +8 -8
  7. package/dist/{Main-B2r59IOW.js → Main-Dh-gZSaa.js} +5 -5
  8. package/dist/{Main-DkLBemi7.js → Main-NDK7LUmm.js} +11 -11
  9. package/dist/{PermissionSetList-B80hrfMW.js → PermissionSetList-DDIacDpQ.js} +7 -7
  10. package/dist/PortalPermissionEditor.vue_vue_type_script_setup_true_lang-ONMn3v_f.js +4167 -0
  11. package/dist/{PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-fe-Rdwn4.js → PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-BVz6q3HE.js} +1 -1
  12. package/dist/{RoleList-DHO4JRKF.js → RoleList-B30FHIzu.js} +9 -9
  13. package/dist/ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-CRRguWTG.js +492 -0
  14. package/dist/ScheduleGeneralPage-8gEeZbFR.js +776 -0
  15. package/dist/ScheduleModal.vue_vue_type_script_setup_true_lang-TfxTAjO8.js +2252 -0
  16. package/dist/SchedulePage-DQ0VXWWi.js +17832 -0
  17. package/dist/{SchedulePositionPage-C0hrO11d.js → SchedulePositionPage-oGIDGneA.js} +66 -65
  18. package/dist/{TeamMemberList-CgFWLRBM.js → TeamMemberList-Drj6R4Y3.js} +10 -10
  19. package/dist/{TimesheetList-Dp40G-0I.js → TimesheetList-CDQfN5LE.js} +7 -7
  20. package/dist/{TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-BFjrMhUG.js → TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-Bx-6hjs7.js} +3 -3
  21. package/dist/{app-CmBSTvaI.js → app-DWe_4-ct.js} +678 -594
  22. package/dist/app.js +1 -1
  23. package/dist/{approval-code-C9DmR4Md.js → approval-code-DHsUgc4K.js} +1 -1
  24. package/dist/{dayjs.min-CfL2DQ3d.js → dayjs.min-QSwC9dtX.js} +1 -1
  25. package/dist/{employee-DQcHjoij.js → employee-Bb2b3dP6.js} +29 -28
  26. package/dist/{grant-user-Bv-pJ9Wt.js → grant-user-qzKHFTro.js} +1 -1
  27. package/dist/{iteration-BlavheWG.js → iteration-TDU7bFxZ.js} +1 -1
  28. package/dist/{lodash-QerqayrJ.js → lodash-D3Ns5VMN.js} +1 -1
  29. package/dist/{restaurant-D7PEQjPY.js → restaurant-BbYRA_IT.js} +4 -3
  30. package/dist/{role-RM2YLO7n.js → role-D57Le_-U.js} +2 -2
  31. package/dist/{rule-DjlvYIuP.js → rule-DzesUEX7.js} +3 -3
  32. package/dist/src/api/schedule/index.d.ts +8 -1
  33. package/dist/src/components/layout/withScheduleShell.d.ts +10 -0
  34. package/dist/src/types/employee.d.ts +1 -0
  35. package/dist/src/types/schedule.d.ts +3 -4
  36. package/dist/src/views/scheduling/components/ScheduleAreaRows.vue.d.ts +0 -8
  37. package/dist/src/views/scheduling/components/ScheduleBoardAreaRows.vue.d.ts +23 -0
  38. package/dist/src/views/scheduling/components/ScheduleBoardEditOverlays.vue.d.ts +17 -0
  39. package/dist/src/views/scheduling/components/ScheduleBoardEmployeeRows.vue.d.ts +31 -0
  40. package/dist/src/views/scheduling/components/ScheduleBoardGridHeader.vue.d.ts +24 -0
  41. package/dist/src/views/scheduling/components/ScheduleBoardInteractionOverlays.vue.d.ts +32 -0
  42. package/dist/src/views/scheduling/components/ScheduleBoardOnboardingOverlays.vue.d.ts +25 -0
  43. package/dist/src/views/scheduling/components/ScheduleBoardRails.vue.d.ts +17 -0
  44. package/dist/src/views/scheduling/components/ScheduleBoardToolbar.vue.d.ts +38 -0
  45. package/dist/src/views/scheduling/components/ScheduleBoardUtilityOverlays.vue.d.ts +22 -0
  46. package/dist/src/views/scheduling/components/{ScheduleOnboardingComplete.vue.d.ts → ScheduleCompletionDialog.vue.d.ts} +8 -3
  47. package/dist/src/views/scheduling/components/{ScheduleShiftCardMenu.vue.d.ts → ScheduleContextMenu.vue.d.ts} +7 -2
  48. package/dist/src/views/scheduling/components/{SchedulePdfPreview.vue.d.ts → ScheduleExportPreview.vue.d.ts} +1 -0
  49. package/dist/src/views/scheduling/components/ScheduleLoadState.vue.d.ts +9 -0
  50. package/dist/src/views/scheduling/components/ScheduleModal.vue.d.ts +26 -0
  51. package/dist/src/views/scheduling/components/{ScheduleExportDoneDialog.vue.d.ts → ScheduleOnboardingAssignPositionModal.vue.d.ts} +2 -2
  52. package/dist/src/views/scheduling/components/{ScheduleAssignEmployeePopover.vue.d.ts → ScheduleOnboardingClosedDayConfirm.vue.d.ts} +2 -2
  53. package/dist/src/views/scheduling/components/{ScheduleEmployeeMenu.vue.d.ts → ScheduleOnboardingDemandDays.vue.d.ts} +2 -2
  54. package/dist/src/views/scheduling/components/ScheduleOnboardingDemandFooter.vue.d.ts +6 -0
  55. package/dist/src/views/scheduling/components/ScheduleOnboardingDemandHeader.vue.d.ts +6 -0
  56. package/dist/src/views/scheduling/components/ScheduleOnboardingHoursProfileNotice.vue.d.ts +10 -0
  57. package/dist/src/views/scheduling/components/ScheduleOnboardingPositions.vue.d.ts +6 -0
  58. package/dist/src/views/scheduling/components/ScheduleOnboardingReview.vue.d.ts +6 -0
  59. package/dist/src/views/scheduling/components/ScheduleOnboardingWizardFooter.vue.d.ts +6 -0
  60. package/dist/src/views/scheduling/components/ScheduleOnboardingWizardHeader.vue.d.ts +11 -0
  61. package/dist/src/views/scheduling/components/ScheduleSelect.vue.d.ts +17 -1
  62. package/dist/src/views/scheduling/components/ScheduleSetupBanner.vue.d.ts +12 -0
  63. package/dist/src/views/scheduling/components/ScheduleShiftPopover.vue.d.ts +2 -2
  64. package/dist/src/views/scheduling/components/ScheduleStaffRail.vue.d.ts +4 -4
  65. package/dist/src/views/scheduling/components/ScheduleStaffRows.vue.d.ts +2 -12
  66. package/dist/src/views/scheduling/components/ScheduleTopbar.vue.d.ts +3 -3
  67. package/dist/src/views/scheduling/composables/onboarding-types.d.ts +1 -1
  68. package/dist/src/views/scheduling/composables/remyPrompt.d.ts +13 -0
  69. package/dist/src/views/scheduling/composables/schedule-add-employee-form.d.ts +12 -8
  70. package/dist/src/views/scheduling/composables/schedule-board-helpers.d.ts +5 -1
  71. package/dist/src/views/scheduling/composables/schedule-breaks.d.ts +7 -1
  72. package/dist/src/views/scheduling/composables/schedule-calendar.d.ts +7 -0
  73. package/dist/src/views/scheduling/composables/schedule-cost.d.ts +19 -0
  74. package/dist/src/views/scheduling/composables/schedule-day-meta.d.ts +1 -3
  75. package/dist/src/views/scheduling/composables/schedule-demand-domain.d.ts +11 -0
  76. package/dist/src/views/scheduling/composables/schedule-export-matrix.d.ts +14 -0
  77. package/dist/src/views/scheduling/composables/schedule-time.d.ts +8 -0
  78. package/dist/src/views/scheduling/composables/schedule-week-cache.d.ts +1 -4
  79. package/dist/src/views/scheduling/composables/useRemyAppStore.d.ts +15 -0
  80. package/dist/src/views/scheduling/composables/useScheduleAddEmployee.d.ts +34 -21
  81. package/dist/src/views/scheduling/composables/useScheduleAreaBoard.d.ts +0 -13
  82. package/dist/src/views/scheduling/composables/useScheduleAreaDragDrop.d.ts +2 -8
  83. package/dist/src/views/scheduling/composables/useScheduleAssignmentMutations.d.ts +13 -0
  84. package/dist/src/views/scheduling/composables/useScheduleAutoSchedule.d.ts +3 -0
  85. package/dist/src/views/scheduling/composables/useScheduleBoard.d.ts +50 -11
  86. package/dist/src/views/scheduling/composables/useScheduleCloneOutletModal.d.ts +3 -1
  87. package/dist/src/views/scheduling/composables/useScheduleCostRail.d.ts +6 -1
  88. package/dist/src/views/scheduling/composables/useScheduleDayNote.d.ts +1 -2
  89. package/dist/src/views/scheduling/composables/useScheduleDayTimeline.d.ts +0 -3
  90. package/dist/src/views/scheduling/composables/useScheduleDemand.d.ts +7 -24
  91. package/dist/src/views/scheduling/composables/useScheduleDemandSheet.d.ts +19 -5
  92. package/dist/src/views/scheduling/composables/useScheduleEmployeeAccess.d.ts +16 -0
  93. package/dist/src/views/scheduling/composables/useScheduleEmployeeAvailability.d.ts +13 -0
  94. package/dist/src/views/scheduling/composables/useScheduleEmployeeCandidates.d.ts +27 -0
  95. package/dist/src/views/scheduling/composables/useScheduleEmployeeCompensation.d.ts +7 -0
  96. package/dist/src/views/scheduling/composables/useScheduleEmployeeForm.d.ts +22 -0
  97. package/dist/src/views/scheduling/composables/useScheduleEmployeeIdentity.d.ts +9 -0
  98. package/dist/src/views/scheduling/composables/useScheduleEmployeeMenu.d.ts +6 -3
  99. package/dist/src/views/scheduling/composables/useScheduleEmployeePersistence.d.ts +29 -0
  100. package/dist/src/views/scheduling/composables/useScheduleEmployeeValidation.d.ts +20 -0
  101. package/dist/src/views/scheduling/composables/useScheduleExport.d.ts +19 -11
  102. package/dist/src/views/scheduling/composables/useScheduleGapPopover.d.ts +5 -6
  103. package/dist/src/views/scheduling/composables/useScheduleOnboardingAvailability.d.ts +58 -0
  104. package/dist/src/views/scheduling/composables/useScheduleOnboardingDemand.d.ts +45 -0
  105. package/dist/src/views/scheduling/composables/useScheduleOnboardingEmployees.d.ts +205 -0
  106. package/dist/src/views/scheduling/composables/useScheduleOnboardingHours.d.ts +15 -0
  107. package/dist/src/views/scheduling/composables/useScheduleOnboardingNavigation.d.ts +11 -0
  108. package/dist/src/views/scheduling/composables/useScheduleOnboardingWizard.d.ts +306 -529
  109. package/dist/src/views/scheduling/composables/useSchedulePageActions.d.ts +18 -0
  110. package/dist/src/views/scheduling/composables/useSchedulePageCellActions.d.ts +21 -0
  111. package/dist/src/views/scheduling/composables/useSchedulePageCellDrop.d.ts +18 -0
  112. package/dist/src/views/scheduling/composables/useSchedulePageEmployeeActions.d.ts +22 -0
  113. package/dist/src/views/scheduling/composables/useSchedulePageOverlays.d.ts +10 -7
  114. package/dist/src/views/scheduling/composables/useSchedulePdfExport.d.ts +19 -0
  115. package/dist/src/views/scheduling/composables/useSchedulePositionModal.d.ts +4 -1
  116. package/dist/src/views/scheduling/composables/useSchedulePositions.d.ts +4 -2
  117. package/dist/src/views/scheduling/composables/useSchedulePublish.d.ts +9 -1
  118. package/dist/src/views/scheduling/composables/useSchedulePublishPersistence.d.ts +11 -0
  119. package/dist/src/views/scheduling/composables/useScheduleRoster.d.ts +30 -4
  120. package/dist/src/views/scheduling/composables/useScheduleSettings.d.ts +8 -25
  121. package/dist/src/views/scheduling/composables/useScheduleShiftActions.d.ts +18 -3
  122. package/dist/src/views/scheduling/composables/useScheduleShiftDraft.d.ts +63 -0
  123. package/dist/src/views/scheduling/composables/useScheduleShiftPersistence.d.ts +17 -0
  124. package/dist/src/views/scheduling/composables/useScheduleShiftPopover.d.ts +25 -8
  125. package/dist/src/views/scheduling/composables/useScheduleStatsRow.d.ts +4 -1
  126. package/dist/src/views/scheduling/composables/useScheduleTour.d.ts +6 -4
  127. package/dist/src/views/scheduling/country-rules/index.d.ts +24 -0
  128. package/dist/src/views/scheduling/data.d.ts +16 -7
  129. package/dist/src/views/scheduling/locales/index.d.ts +80 -0
  130. package/dist/src/views/scheduling/schedule-constants.d.ts +7 -0
  131. package/dist/src/views/scheduling/schedule-state.d.ts +104 -16
  132. package/dist/src/views/scheduling/schedule-store.d.ts +17 -6
  133. package/dist/src/views/scheduling/types.d.ts +27 -5
  134. package/dist/style.css +1 -1
  135. package/dist/tsconfig.app.tsbuildinfo +1 -1
  136. package/dist/{useAppStore-d_nHyK5u.js → useAppStore-BoLkvkE2.js} +1 -1
  137. package/dist/{useLoading-JFoghhRz.js → useLoading-Ch1AUYT1.js} +1 -1
  138. package/dist/{useReportPermissions-Bl6Br79r.js → useReportPermissions-Cmuead1K.js} +3 -3
  139. package/package.json +2 -1
  140. package/dist/PortalPermissionEditor.vue_vue_type_script_setup_true_lang-DjNcJQM9.js +0 -4167
  141. package/dist/ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-B-XtB64L.js +0 -452
  142. package/dist/ScheduleGeneralPage-WlBM8bxV.js +0 -629
  143. package/dist/SchedulePage-Nm0krGVU.js +0 -17056
  144. package/dist/ScheduleSelect.vue_vue_type_script_setup_true_lang-DTDXir_7.js +0 -1150
  145. package/dist/src/components/layout/withShell.d.ts +0 -14
  146. package/dist/src/views/scheduling/components/ScheduleAllShiftsRow.vue.d.ts +0 -22
  147. package/dist/src/views/scheduling/components/ScheduleOpenShiftCardMenu.vue.d.ts +0 -14
  148. package/dist/src/views/scheduling/components/ScheduleStackPopover.vue.d.ts +0 -14
  149. package/dist/src/views/scheduling/components/ScheduleTourAllSet.vue.d.ts +0 -6
  150. package/dist/src/views/scheduling/composables/useScheduleAllShiftsRow.d.ts +0 -77
  151. package/dist/src/views/scheduling/composables/useScheduleAssign.d.ts +0 -122
  152. package/dist/src/views/scheduling/composables/useScheduleOpenShiftCard.d.ts +0 -23
  153. package/dist/src/views/scheduling/composables/useScheduleStaffRail.d.ts +0 -17
  154. package/dist/src/views/scheduling/composables/useScheduleTopbar.d.ts +0 -10
  155. /package/dist/src/{components/layout/AppSidebar.vue.d.ts → views/scheduling/components/SchedulePublishShareArt.vue.d.ts} +0 -0
package/dist/app.js CHANGED
@@ -1,4 +1,4 @@
1
- import { h as e, i as r, r as o } from "./app-CmBSTvaI.js";
1
+ import { h as e, i as r, r as o } from "./app-DWe_4-ct.js";
2
2
  export {
3
3
  e as FmApp,
4
4
  r as i18nMessages,
@@ -1,6 +1,6 @@
1
1
  import { defineStore as C } from "pinia";
2
2
  import { ref as l } from "vue";
3
- import { g as p, b as s } from "./restaurant-D7PEQjPY.js";
3
+ import { g as p, b as s } from "./restaurant-BbYRA_IT.js";
4
4
  const n = {
5
5
  async getApprovalCodes() {
6
6
  return p(await s("approval-codes").get(""));
@@ -1,4 +1,4 @@
1
- import { g as Q, f as K } from "./app-CmBSTvaI.js";
1
+ import { g as Q, f as K } from "./app-DWe_4-ct.js";
2
2
  var E = { exports: {} };
3
3
  (function(V, X) {
4
4
  (function(W, k) {
@@ -1,10 +1,10 @@
1
- import { d as g } from "./dayjs.min-CfL2DQ3d.js";
1
+ import { d as g } from "./dayjs.min-QSwC9dtX.js";
2
2
  import { defineStore as $, storeToRefs as x } from "pinia";
3
3
  import { ref as m } from "vue";
4
- import { s as E } from "./iteration-BlavheWG.js";
5
- import { b as l, g as f, u as I } from "./restaurant-D7PEQjPY.js";
4
+ import { s as E } from "./iteration-TDU7bFxZ.js";
5
+ import { b as l, g as f, u as I } from "./restaurant-BbYRA_IT.js";
6
6
  import { i as v } from "./utils-BZkjJbju.js";
7
- import { u as _ } from "./role-RM2YLO7n.js";
7
+ import { u as P } from "./role-D57Le_-U.js";
8
8
  const o = {
9
9
  async readEmployees() {
10
10
  return f(await l().get("/pos-users"));
@@ -18,7 +18,8 @@ const o = {
18
18
  offset: e.offset,
19
19
  search: e.search,
20
20
  restaurantIds: (s = e.restaurantIds) != null && s.length ? e.restaurantIds : void 0,
21
- roleIds: (p = e.roleIds) != null && p.length ? e.roleIds : void 0
21
+ roleIds: (p = e.roleIds) != null && p.length ? e.roleIds : void 0,
22
+ includeEmptyPasscode: e.includeEmptyPasscode || void 0
22
23
  }
23
24
  })
24
25
  );
@@ -71,17 +72,17 @@ const o = {
71
72
  }
72
73
  };
73
74
  async function T(e) {
74
- const s = _().roles.value, { restaurants: p } = I(), c = new Map(
75
+ const s = P().roles.value, { restaurants: p } = I(), d = new Map(
75
76
  p.value.map((a) => [a._id, a.profile.name])
76
- ), u = new Map(s.map((a) => [a._id, a.name])), r = /* @__PURE__ */ new Map();
77
+ ), c = new Map(s.map((a) => [a._id, a.name])), r = /* @__PURE__ */ new Map();
77
78
  for (const a of e) {
78
79
  const n = {
79
80
  restaurantId: a.restaurantId,
80
- restaurantName: c.get(a.restaurantId) || "",
81
+ restaurantName: d.get(a.restaurantId) || "",
81
82
  roleId: a.role,
82
- roleName: u.get(a.role) || ""
83
- }, d = r.get(a._id);
84
- if (!d) {
83
+ roleName: c.get(a.role) || ""
84
+ }, u = r.get(a._id);
85
+ if (!u) {
85
86
  r.set(a._id, {
86
87
  ...a,
87
88
  isRestricted: !1,
@@ -90,16 +91,16 @@ async function T(e) {
90
91
  });
91
92
  continue;
92
93
  }
93
- d.restaurants.some((y) => y.restaurantId === a.restaurantId) || (d.restaurants = E([...d.restaurants, n], {
94
+ u.restaurants.some((y) => y.restaurantId === a.restaurantId) || (u.restaurants = E([...u.restaurants, n], {
94
95
  selector: "restaurantName"
95
96
  }));
96
97
  }
97
98
  return E([...r.values()], { selector: "name" });
98
99
  }
99
100
  function M(e) {
100
- const { restaurants: s } = I(), p = _().roles.value, c = new Map(
101
+ const { restaurants: s } = I(), p = P().roles.value, d = new Map(
101
102
  s.value.map((a) => [a._id, a])
102
- ), u = new Map(p.map((a) => [a._id, a.name])), r = e.restaurantRole[0];
103
+ ), c = new Map(p.map((a) => [a._id, a.name])), r = e.restaurantRole[0];
103
104
  return {
104
105
  _id: e._id,
105
106
  name: e.name,
@@ -112,13 +113,13 @@ function M(e) {
112
113
  since: g(v(e._id)).format("DD/MM/YYYY"),
113
114
  restaurants: E(
114
115
  e.restaurantRole.map((a) => {
115
- const n = c.get(a.restaurantId);
116
+ const n = d.get(a.restaurantId);
116
117
  return {
117
118
  restaurantId: a.restaurantId,
118
119
  restaurantName: (n == null ? void 0 : n.profile.name) || "",
119
120
  restaurantCode: (n == null ? void 0 : n.profile.code) ?? void 0,
120
121
  roleId: a.roleId,
121
- roleName: u.get(a.roleId) || ""
122
+ roleName: c.get(a.roleId) || ""
122
123
  };
123
124
  }),
124
125
  { selector: "restaurantName" }
@@ -126,23 +127,23 @@ function M(e) {
126
127
  };
127
128
  }
128
129
  const h = $("employee", () => {
129
- const e = I(), s = m([]), p = m([]), c = m(0), u = m(!1);
130
+ const e = I(), s = m([]), p = m([]), d = m(0), c = m(!1);
130
131
  async function r() {
131
132
  try {
132
- u.value = !0, await e.readRestaurants();
133
+ c.value = !0, await e.readRestaurants();
133
134
  const t = await o.readEmployees();
134
135
  s.value = await T(t);
135
136
  } finally {
136
- u.value = !1;
137
+ c.value = !1;
137
138
  }
138
139
  }
139
140
  async function a(t) {
140
141
  try {
141
- u.value = !0, await e.readRestaurants();
142
+ c.value = !0, await e.readRestaurants();
142
143
  const i = await o.readEmployeesPage(t);
143
- p.value = i.items.map(M), c.value = i.total;
144
+ p.value = i.items.map(M), d.value = i.total;
144
145
  } finally {
145
- u.value = !1;
146
+ c.value = !1;
146
147
  }
147
148
  }
148
149
  async function n(t, i) {
@@ -150,13 +151,13 @@ const h = $("employee", () => {
150
151
  const w = i ?? (await o.readEmployeesPage({ ...t, limit: 1, offset: 0 })).total;
151
152
  return w === 0 ? [] : (await o.readEmployeesPage({ ...t, limit: w, offset: 0 })).items.map(M);
152
153
  }
153
- async function d(t) {
154
+ async function u(t) {
154
155
  await o.createEmployee(t);
155
156
  }
156
157
  async function y(t, i) {
157
158
  await o.updateEmployee(t, i);
158
159
  }
159
- async function P(t) {
160
+ async function _(t) {
160
161
  await o.deleteEmployee(t);
161
162
  }
162
163
  async function U(t) {
@@ -177,14 +178,14 @@ const h = $("employee", () => {
177
178
  return {
178
179
  employees: s,
179
180
  listEmployees: p,
180
- totalEmployees: c,
181
- isLoading: u,
181
+ totalEmployees: d,
182
+ isLoading: c,
182
183
  readEmployees: r,
183
184
  readEmployeesPage: a,
184
185
  readAllEmployeesPage: n,
185
- createEmployee: d,
186
+ createEmployee: u,
186
187
  updateEmployee: y,
187
- deleteEmployee: P,
188
+ deleteEmployee: _,
188
189
  createMasterEmployee: Y,
189
190
  updateMasterEmployee: N,
190
191
  deleteMasterEmployee: U,
@@ -1,6 +1,6 @@
1
1
  import { defineStore as f } from "pinia";
2
2
  import { ref as u } from "vue";
3
- import { g as s, a as v, b as o } from "./restaurant-D7PEQjPY.js";
3
+ import { g as s, a as v, b as o } from "./restaurant-BbYRA_IT.js";
4
4
  const c = {
5
5
  async getGrantUsers() {
6
6
  return s(await o("grant").get(""));
@@ -1,4 +1,4 @@
1
- import { f as B } from "./app-CmBSTvaI.js";
1
+ import { f as B } from "./app-DWe_4-ct.js";
2
2
  var ma = {}, Zt = {}, l = {}, ji = {}, Ei = {}, Ii = {}, Dn = {};
3
3
  (function(e) {
4
4
  Object.defineProperty(e, "__esModule", { value: !0 }), e.getParsedType = e.ZodParsedType = e.util = void 0;
@@ -1,4 +1,4 @@
1
- import { f as jt } from "./app-CmBSTvaI.js";
1
+ import { f as jt } from "./app-DWe_4-ct.js";
2
2
  var Jr = { exports: {} };
3
3
  /**
4
4
  * @license
@@ -1830,9 +1830,10 @@ const nr = {
1830
1830
  return tr(await Ve().get("/hr-restaurants"));
1831
1831
  },
1832
1832
  async saveOperationalHours(e, t) {
1833
- await Ve().patch(`/hr-restaurants/${e}/operational-hours`, {
1834
- operatingHours: t
1835
- });
1833
+ await Ve(`restaurants/${e}/schedules`).patch(
1834
+ "operational-hours",
1835
+ { operatingHours: t }
1836
+ );
1836
1837
  }
1837
1838
  }, rr = gt("restaurant", () => {
1838
1839
  const { currentBusiness: e } = re(), t = fe([]), n = fe(!1), r = fe(null);
@@ -1,8 +1,8 @@
1
1
  import { defineStore as x, storeToRefs as b } from "pinia";
2
2
  import { ref as w } from "vue";
3
3
  import { useCoreStore as B } from "@feedmepos/mf-common";
4
- import { s as v } from "./iteration-BlavheWG.js";
5
- import { g as f, b as p, u as I } from "./restaurant-D7PEQjPY.js";
4
+ import { s as v } from "./iteration-TDU7bFxZ.js";
5
+ import { g as f, b as p, u as I } from "./restaurant-BbYRA_IT.js";
6
6
  const R = {
7
7
  async readRoles() {
8
8
  return f(await p().get("/pos-roles"));
@@ -1,7 +1,7 @@
1
- import { s as W, c as q, e as y } from "./iteration-BlavheWG.js";
2
- import { e as O, b as V, c as _, v as F, n as h, O as ee, D as M } from "./app-CmBSTvaI.js";
1
+ import { s as W, c as q, e as y } from "./iteration-TDU7bFxZ.js";
2
+ import { e as O, b as V, c as _, v as F, n as h, O as ee, D as M } from "./app-DWe_4-ct.js";
3
3
  import { s as se } from "./utils-BZkjJbju.js";
4
- import { g, b as v, q as x, u as te } from "./restaurant-D7PEQjPY.js";
4
+ import { g, b as v, q as x, u as te } from "./restaurant-BbYRA_IT.js";
5
5
  import { defineStore as z, storeToRefs as K } from "pinia";
6
6
  import { ref as S, computed as T } from "vue";
7
7
  import { useCoreStore as X } from "@feedmepos/mf-common";
@@ -1,4 +1,4 @@
1
- import type { FdtoScheduleAssignment, FdtoScheduleAutoScheduleApplyReq, FdtoScheduleAutoScheduleApplyResult, FdtoScheduleAutoScheduleCapabilities, FdtoScheduleAutoScheduleGenerateReq, FdtoScheduleAutoScheduleResult, FdtoScheduleBoard, FdtoScheduleBulkUpdateAssignmentStatusReq, FdtoScheduleCreateEmployeeProfileReq, FdtoScheduleEmployeeConfig, FdtoScheduleDemand, FdtoScheduleEmployee, FdtoSchedulePosition, FdtoScheduleSaveAssignmentReq, FdtoScheduleSaveDemandReq, FdtoScheduleSaveEmployeeConfigsReq, FdtoScheduleSavePositionReq, FdtoScheduleSaveScheduleDayReq, FdtoScheduleSaveSettingsReq, FdtoScheduleSettings, FdtoScheduleScheduleDay, FdtoScheduleUpdateEmployeeProfileReq, FdtoScheduleCreateTimeOffReq, FdtoScheduleTimeOff, FdtoScheduleUpdateTimeOffStatusReq } from '@/types/schedule';
1
+ import type { FdtoScheduleAssignment, FdtoScheduleAutoScheduleApplyReq, FdtoScheduleAutoScheduleApplyResult, FdtoScheduleAutoScheduleCapabilities, FdtoScheduleAutoScheduleGenerateReq, FdtoScheduleAutoScheduleResult, FdtoScheduleBoard, FdtoScheduleBulkUpdateAssignmentStatusReq, FdtoScheduleBulkSaveAssignmentsReq, FdtoScheduleBulkSaveAssignmentsResult, FdtoScheduleBulkReplaceDemandReq, FdtoScheduleCreateEmployeeProfileReq, FdtoScheduleEmployeeConfig, FdtoScheduleDemand, FdtoScheduleEmployee, FdtoSchedulePosition, FdtoScheduleSaveAssignmentReq, FdtoScheduleSaveDemandReq, FdtoScheduleSaveEmployeeConfigsReq, FdtoScheduleSavePositionReq, FdtoScheduleSaveScheduleDayReq, FdtoScheduleSaveSettingsReq, FdtoScheduleReplaceDemandReq, FdtoScheduleSettings, FdtoScheduleScheduleDay, FdtoScheduleUpdateEmployeeProfileReq, FdtoScheduleValidatePosAccessReq, FdtoScheduleCreateTimeOffReq, FdtoScheduleTimeOff, FdtoScheduleUpdateTimeOffStatusReq } from '@/types/schedule';
2
2
  declare const ScheduleAPI: {
3
3
  listEmployeeProfiles(employeeIds?: string[]): Promise<FdtoScheduleEmployee[]>;
4
4
  listEmployeeConfigs(restaurantId: string): Promise<FdtoScheduleEmployeeConfig[]>;
@@ -17,6 +17,7 @@ declare const ScheduleAPI: {
17
17
  createEmployeeProfile(_restaurantId: string, req: FdtoScheduleCreateEmployeeProfileReq): Promise<FdtoScheduleEmployee>;
18
18
  /** Edits the employee's shared business-level scheduling profile. */
19
19
  updateEmployeeProfile(_restaurantId: string, employeeId: string, req: FdtoScheduleUpdateEmployeeProfileReq): Promise<FdtoScheduleEmployee>;
20
+ validatePosAccess(req: FdtoScheduleValidatePosAccessReq): Promise<void>;
20
21
  /** Positions are shared across the business. */
21
22
  createPosition(req: FdtoScheduleSavePositionReq): Promise<FdtoSchedulePosition>;
22
23
  updatePosition(id: string, req: FdtoScheduleSavePositionReq): Promise<FdtoSchedulePosition>;
@@ -32,11 +33,17 @@ declare const ScheduleAPI: {
32
33
  ok: true;
33
34
  deletedCount: number;
34
35
  }>;
36
+ /** Atomically replaces one date/weekday's flattened demand rows. */
37
+ replaceDemands(restaurantId: string, req: FdtoScheduleReplaceDemandReq): Promise<FdtoScheduleDemand[]>;
38
+ /** Atomically replaces several date/weekday demand generations. */
39
+ bulkReplaceDemands(restaurantId: string, req: FdtoScheduleBulkReplaceDemandReq): Promise<FdtoScheduleDemand[]>;
35
40
  /** Replaces one date's note/holiday-mark. All three fields back to empty/false clears it. */
36
41
  saveScheduleDay(restaurantId: string, date: string, req: FdtoScheduleSaveScheduleDayReq): Promise<FdtoScheduleScheduleDay | null>;
37
42
  /** A one-off shift assignment. */
38
43
  createAssignment(restaurantId: string, req: FdtoScheduleSaveAssignmentReq): Promise<FdtoScheduleAssignment>;
39
44
  updateAssignment(restaurantId: string, id: string, req: FdtoScheduleSaveAssignmentReq): Promise<FdtoScheduleAssignment | null>;
45
+ /** Atomically applies assignment updates, creates, and deletes used by moves and swaps. */
46
+ bulkSaveAssignments(restaurantId: string, req: FdtoScheduleBulkSaveAssignmentsReq): Promise<FdtoScheduleBulkSaveAssignmentsResult>;
40
47
  /** Deletes a batch of assignments in one request — e.g. a shift split into several segments
41
48
  * getting replaced wholesale. Deleting one assignment is just this with a single-id
42
49
  * array. */
@@ -0,0 +1,10 @@
1
+ import { type Component } from 'vue';
2
+ /** Wrap a scheduling route in the layout needed by the scheduling board's full-bleed CSS. */
3
+ export declare function withScheduleShell(Comp: Component): {
4
+ inheritAttrs: boolean;
5
+ setup(_: unknown, { attrs }: {
6
+ attrs: Record<string, unknown>;
7
+ }): () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
8
+ [key: string]: any;
9
+ }>;
10
+ };
@@ -26,6 +26,7 @@ export interface IReadEmployeesPageReq {
26
26
  search?: string;
27
27
  restaurantIds?: string[];
28
28
  roleIds?: string[];
29
+ includeEmptyPasscode?: boolean;
29
30
  }
30
31
  export interface IFdtoEmployeePage {
31
32
  items: IFdtoPosUserSummary[];
@@ -5,12 +5,11 @@
5
5
  * only view-model commands that intentionally do not cross HTTP (for example
6
6
  * replacing a period made up of several persisted demand rows).
7
7
  */
8
- export type { FdtoScheduleAssignment, FdtoScheduleAutoScheduleApplyReq, FdtoScheduleAutoScheduleApplyResult, FdtoScheduleAutoScheduleCapabilities, FdtoScheduleAutoScheduleGenerateReq, FdtoScheduleAutoScheduleObjective, FdtoScheduleAutoSchedulePlanner, FdtoScheduleAutoScheduleProposal, FdtoScheduleAutoScheduleRejection, FdtoScheduleAutoScheduleResult, FdtoScheduleAutoScheduleTiming, FdtoScheduleAutoScheduleUnfilledNeed, FdtoScheduleBoard, FdtoScheduleBulkUpdateAssignmentStatusReq, FdtoScheduleBreak, FdtoScheduleCreateEmployeeProfileReq, FdtoScheduleEmployeeConfig, FdtoScheduleDayOperatingHours, FdtoScheduleDemand, FdtoScheduleEmployee, FdtoScheduleOptionalDateRange, FdtoSchedulePayRate, FdtoSchedulePosition, FdtoSchedulePositionRef, FdtoSchedulePositionSelectorReq, FdtoScheduleRestaurantProfile, FdtoScheduleSaveAssignmentReq, FdtoScheduleSaveDemandReq, FdtoScheduleSaveEmployeeConfigsReq, FdtoScheduleSavePositionReq, FdtoScheduleSaveScheduleDayReq, FdtoScheduleSaveSettingsReq, FdtoScheduleScheduleDay, FdtoScheduleSettings, FdtoScheduleUpdateEmployeeProfileReq, FdtoScheduleCreateTimeOffReq, FdtoScheduleTimeOff, FdtoScheduleTimeOffDayPart, FdtoScheduleTimeOffQuery, FdtoScheduleTimeOffStatus, FdtoScheduleTimeOffType, FdtoScheduleUpdateTimeOffStatusReq, } from '@feedmepos/hrm-schedule-contract';
9
- /** UI-level replacement command. The store expands these periods into flat
8
+ export type { FdtoScheduleAssignment, FdtoScheduleAutoScheduleApplyReq, FdtoScheduleAutoScheduleApplyResult, FdtoScheduleAutoScheduleCapabilities, FdtoScheduleAutoScheduleGenerateReq, FdtoScheduleAutoScheduleObjective, FdtoScheduleAutoSchedulePlanner, FdtoScheduleAutoScheduleProposal, FdtoScheduleAutoScheduleRejection, FdtoScheduleAutoScheduleResult, FdtoScheduleAutoScheduleTiming, FdtoScheduleAutoScheduleUnfilledNeed, FdtoScheduleBoard, FdtoScheduleBulkUpdateAssignmentStatusReq, FdtoScheduleBulkSaveAssignmentsReq, FdtoScheduleBulkSaveAssignmentsResult, FdtoScheduleBulkReplaceDemandReq, FdtoScheduleBreak, FdtoScheduleCreateEmployeeProfileReq, FdtoScheduleEmployeeConfig, FdtoScheduleDayOperatingHours, FdtoScheduleDemand, FdtoScheduleEmployee, FdtoScheduleOptionalDateRange, FdtoSchedulePayRate, FdtoSchedulePosition, FdtoSchedulePositionRef, FdtoSchedulePositionSelectorReq, FdtoScheduleRestaurantProfile, FdtoScheduleSaveAssignmentReq, FdtoScheduleSaveDemandReq, FdtoScheduleReplaceDemandReq, FdtoScheduleSaveEmployeeConfigsReq, FdtoScheduleSavePositionReq, FdtoScheduleSaveScheduleDayReq, FdtoScheduleSaveSettingsReq, FdtoScheduleScheduleDay, FdtoScheduleSettings, FdtoScheduleUpdateEmployeeProfileReq, FdtoScheduleValidatePosAccessReq, FdtoScheduleCreateTimeOffReq, FdtoScheduleTimeOff, FdtoScheduleTimeOffDayPart, FdtoScheduleTimeOffQuery, FdtoScheduleTimeOffStatus, FdtoScheduleTimeOffType, FdtoScheduleUpdateTimeOffStatusReq, } from '@feedmepos/hrm-schedule-contract';
9
+ /** UI-level date replacement command. The store expands these periods into flat
10
10
  * ShiftDemand rows before calling the shared HTTP contract. */
11
11
  export interface ScheduleReplaceDemandReq {
12
- date?: string;
13
- dayOfWeek?: number;
12
+ date: string;
14
13
  periods: Array<{
15
14
  startTime: string;
16
15
  endTime: string;
@@ -1,13 +1,11 @@
1
1
  import type { ScheduleBoardApi } from '../composables/useScheduleBoard';
2
2
  import type { ScheduleAreaBoardApi } from '../composables/useScheduleAreaBoard';
3
- import type { ScheduleOpenShiftCardApi } from '../composables/useScheduleOpenShiftCard';
4
3
  import type { ScheduleAreaDragDropApi } from '../composables/useScheduleAreaDragDrop';
5
4
  import type { ScheduleDragDropApi } from '../composables/useScheduleDragDrop';
6
5
  import type { ScheduleDemandRowApi } from '../composables/useScheduleDemandRow';
7
6
  type __VLS_Props = {
8
7
  board: ScheduleBoardApi;
9
8
  areaBoard: ScheduleAreaBoardApi;
10
- openShiftCard: ScheduleOpenShiftCardApi;
11
9
  dragDrop: ScheduleAreaDragDropApi;
12
10
  /** A card's own drag — dropping it on another card offers a swap, dropping it on empty cell
13
11
  * space moves it to that day, the same two gestures the employee view's grid has. Distinct
@@ -17,27 +15,21 @@ type __VLS_Props = {
17
15
  };
18
16
  declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
19
17
  editShift: (empId: number, dayIdx: number) => any;
20
- openAssign: (openId: number) => any;
21
- openOpenShiftMenu: (openId: number, anchor: HTMLElement) => any;
22
18
  segEnter: (dayIdx: number, from: number, to: number, anchor: HTMLElement) => any;
23
19
  segLeave: () => any;
24
20
  segClick: (dayIdx: number, from: number, to: number, anchor: HTMLElement) => any;
25
21
  segFocus: (dayIdx: number, from: number, to: number, anchor: HTMLElement) => any;
26
22
  openDemandSheet: (dayIdx: number) => any;
27
- openNewShift: (dayIdx: number, position: string) => any;
28
23
  addPosition: () => any;
29
24
  scheduleByPerson: () => any;
30
25
  openSwap: (fromEmpId: number, fromDayIdx: number, toEmpId: number, toDayIdx: number, slotIndex: number) => any;
31
26
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
32
27
  onEditShift?: ((empId: number, dayIdx: number) => any) | undefined;
33
- onOpenAssign?: ((openId: number) => any) | undefined;
34
- onOpenOpenShiftMenu?: ((openId: number, anchor: HTMLElement) => any) | undefined;
35
28
  onSegEnter?: ((dayIdx: number, from: number, to: number, anchor: HTMLElement) => any) | undefined;
36
29
  onSegLeave?: (() => any) | undefined;
37
30
  onSegClick?: ((dayIdx: number, from: number, to: number, anchor: HTMLElement) => any) | undefined;
38
31
  onSegFocus?: ((dayIdx: number, from: number, to: number, anchor: HTMLElement) => any) | undefined;
39
32
  onOpenDemandSheet?: ((dayIdx: number) => any) | undefined;
40
- onOpenNewShift?: ((dayIdx: number, position: string) => any) | undefined;
41
33
  onAddPosition?: (() => any) | undefined;
42
34
  onScheduleByPerson?: (() => any) | undefined;
43
35
  onOpenSwap?: ((fromEmpId: number, fromDayIdx: number, toEmpId: number, toDayIdx: number, slotIndex: number) => any) | undefined;
@@ -0,0 +1,23 @@
1
+ import type { ScheduleBoardApi } from '../composables/useScheduleBoard';
2
+ import type { ScheduleAreaBoardApi } from '../composables/useScheduleAreaBoard';
3
+ import type { ScheduleAreaDragDropApi } from '../composables/useScheduleAreaDragDrop';
4
+ import type { ScheduleDragDropApi } from '../composables/useScheduleDragDrop';
5
+ import type { ScheduleDemandRowApi } from '../composables/useScheduleDemandRow';
6
+ type __VLS_Props = {
7
+ board: ScheduleBoardApi;
8
+ areaBoard: ScheduleAreaBoardApi;
9
+ dragDrop: ScheduleAreaDragDropApi;
10
+ shiftDragDrop: ScheduleDragDropApi;
11
+ demandRow: ScheduleDemandRowApi;
12
+ onEditShift: (...args: any[]) => void;
13
+ onOpenDemandSheet: (...args: any[]) => void;
14
+ onSegEnter: (...args: any[]) => void;
15
+ onSegLeave: (...args: any[]) => void;
16
+ onSegClick: (...args: any[]) => void;
17
+ onSegFocus: (...args: any[]) => void;
18
+ onAddPosition: (...args: any[]) => void;
19
+ onScheduleByPerson: (...args: any[]) => void;
20
+ onOpenSwap: (...args: any[]) => void;
21
+ };
22
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
23
+ export default _default;
@@ -0,0 +1,17 @@
1
+ import type { ScheduleBoardApi } from '../composables/useScheduleBoard';
2
+ import type { ScheduleShiftPopoverApi } from '../composables/useScheduleShiftPopover';
3
+ import type { ScheduleTimePickerApi } from '../composables/useScheduleTimePicker';
4
+ import type { ScheduleShiftActionsApi } from '../composables/useScheduleShiftActions';
5
+ import type { ScheduleLeaveApi } from '../composables/useScheduleLeave';
6
+ import type { ScheduleClashDetectionApi } from '../composables/useScheduleClashDetection';
7
+ type __VLS_Props = {
8
+ board: ScheduleBoardApi;
9
+ popover: ScheduleShiftPopoverApi;
10
+ timePicker: ScheduleTimePickerApi;
11
+ shiftActions: ScheduleShiftActionsApi;
12
+ leave: ScheduleLeaveApi;
13
+ clash: ScheduleClashDetectionApi;
14
+ onNewPosition: (assign: (name: string) => void) => void;
15
+ };
16
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
+ export default _default;
@@ -0,0 +1,31 @@
1
+ import type { ScheduleBoardApi } from '../composables/useScheduleBoard';
2
+ import type { ScheduleDragDropApi } from '../composables/useScheduleDragDrop';
3
+ import type { ScheduleRosterApi } from '../composables/useScheduleRoster';
4
+ import type { ScheduleDemandRowApi } from '../composables/useScheduleDemandRow';
5
+ import type { ScheduleAutoScheduleApi } from '../composables/useScheduleAutoSchedule';
6
+ type __VLS_Props = {
7
+ board: ScheduleBoardApi;
8
+ dragDrop: ScheduleDragDropApi;
9
+ roster: ScheduleRosterApi;
10
+ demandRow: ScheduleDemandRowApi;
11
+ autoSchedule: ScheduleAutoScheduleApi;
12
+ onAddShift: (...args: any[]) => void;
13
+ onEditShift: (...args: any[]) => void;
14
+ onEditLeave: (...args: any[]) => void;
15
+ onOpenEmployee: (...args: any[]) => void;
16
+ onOpenEmployeeMenu: (...args: any[]) => void;
17
+ onDragShiftStart: (...args: any[]) => void;
18
+ onDragEnd: () => void;
19
+ onDropCell: (...args: any[]) => void;
20
+ onProposalDragStart: (...args: any[]) => void;
21
+ onProposalDragEnd: () => void;
22
+ onToggleProposal: (...args: any[]) => void;
23
+ onAddEmployee: () => void;
24
+ onOpenDemandSheet: (...args: any[]) => void;
25
+ onSegEnter: (...args: any[]) => void;
26
+ onSegLeave: () => void;
27
+ onSegClick: (...args: any[]) => void;
28
+ onSegFocus: (...args: any[]) => void;
29
+ };
30
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
31
+ export default _default;
@@ -0,0 +1,24 @@
1
+ import type { ScheduleBoardApi } from '../composables/useScheduleBoard';
2
+ import type { useScheduleLegend } from '../composables/useScheduleLegend';
3
+ import type { ScheduleCostRailApi } from '../composables/useScheduleCostRail';
4
+ import type { useScheduleStatsRow } from '../composables/useScheduleStatsRow';
5
+ import type { ScheduleDayTimelineApi } from '../composables/useScheduleDayTimeline';
6
+ import type { ScheduleRosterApi } from '../composables/useScheduleRoster';
7
+ import type { ScheduleAreaDragDropApi } from '../composables/useScheduleAreaDragDrop';
8
+ type ScheduleLegendApi = ReturnType<typeof useScheduleLegend>;
9
+ type ScheduleStatsRowApi = ReturnType<typeof useScheduleStatsRow>;
10
+ type __VLS_Props = {
11
+ board: ScheduleBoardApi;
12
+ legend: ScheduleLegendApi;
13
+ costRail: ScheduleCostRailApi;
14
+ stats: ScheduleStatsRowApi;
15
+ dayTimeline: ScheduleDayTimelineApi;
16
+ roster: ScheduleRosterApi;
17
+ areaDragDrop: ScheduleAreaDragDropApi;
18
+ mode: 'employee' | 'area';
19
+ onScroll: (delta: number) => void;
20
+ onComingSoon: () => void;
21
+ onOpenDayNote: (dayIdx: number, anchor: HTMLElement) => void;
22
+ };
23
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
24
+ export default _default;
@@ -0,0 +1,32 @@
1
+ import type { ScheduleBoardApi } from '../composables/useScheduleBoard';
2
+ import type { useScheduleEmployeeProfile } from '../composables/useScheduleEmployeeProfile';
3
+ import type { ScheduleEmployeeMenuApi } from '../composables/useScheduleEmployeeMenu';
4
+ import type { ScheduleAddEmployeeApi } from '../composables/useScheduleAddEmployee';
5
+ import type { SchedulePositionModalApi } from '../composables/useSchedulePositionModal';
6
+ import type { ScheduleShiftActionsApi } from '../composables/useScheduleShiftActions';
7
+ import type { ScheduleShiftPopoverApi } from '../composables/useScheduleShiftPopover';
8
+ import type { ScheduleAutoScheduleApi } from '../composables/useScheduleAutoSchedule';
9
+ import type { ScheduleDemandSheetApi } from '../composables/useScheduleDemandSheet';
10
+ type ScheduleEmployeeProfileApi = ReturnType<typeof useScheduleEmployeeProfile>;
11
+ type __VLS_Props = {
12
+ board: ScheduleBoardApi;
13
+ employeeProfile: ScheduleEmployeeProfileApi;
14
+ employeeMenu: ScheduleEmployeeMenuApi;
15
+ addEmployee: ScheduleAddEmployeeApi;
16
+ positionModal: SchedulePositionModalApi;
17
+ shiftActions: ScheduleShiftActionsApi;
18
+ popover: ScheduleShiftPopoverApi;
19
+ autoSchedule: ScheduleAutoScheduleApi;
20
+ demandSheet: ScheduleDemandSheetApi;
21
+ removeEmployeeOpen: boolean;
22
+ removeEmployeeName: string;
23
+ onEditEmployee: () => void;
24
+ onRemoveEmployee: () => void;
25
+ onConfirmRemoveEmployee: () => void;
26
+ onCloseRemoveEmployee: () => void;
27
+ onNewPosition: (target: 'primary' | 'secondary') => void;
28
+ onRemoveFromScheduling: (id: number | null) => void;
29
+ onEditShift: (empId: number, dayIdx: number, slotIndex?: number) => void;
30
+ };
31
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
32
+ export default _default;
@@ -0,0 +1,25 @@
1
+ import type { useScheduleSetupBanner } from '../composables/useScheduleSetupBanner';
2
+ import type { useScheduleOnboardingFlow } from '../composables/useScheduleOnboardingFlow';
3
+ import type { ScheduleOnboardingWizardApi } from '../composables/useScheduleOnboardingWizard';
4
+ import type { ScheduleTimePickerApi } from '../composables/useScheduleTimePicker';
5
+ import type { ScheduleTourApi } from '../composables/useScheduleTour';
6
+ import type { ScheduleAutoScheduleApi } from '../composables/useScheduleAutoSchedule';
7
+ type ScheduleSetupBannerApi = ReturnType<typeof useScheduleSetupBanner>;
8
+ type ScheduleOnboardingFlowApi = ReturnType<typeof useScheduleOnboardingFlow>;
9
+ type __VLS_Props = {
10
+ setupBanner: ScheduleSetupBannerApi;
11
+ outletName: string;
12
+ onboardingFlow: ScheduleOnboardingFlowApi;
13
+ onboardingWizard: ScheduleOnboardingWizardApi;
14
+ timePicker: ScheduleTimePickerApi;
15
+ tour: ScheduleTourApi;
16
+ autoSchedule: ScheduleAutoScheduleApi;
17
+ clearOpen: boolean;
18
+ clearTitle: string;
19
+ clearMessage: string;
20
+ clearConfirmLabel: string;
21
+ onConfirmClear: () => void;
22
+ onCloseClear: () => void;
23
+ };
24
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
25
+ export default _default;
@@ -0,0 +1,17 @@
1
+ import type { ScheduleBoardApi } from '../composables/useScheduleBoard';
2
+ import type { ScheduleFilterBarApi } from '../composables/useScheduleFilterBar';
3
+ import type { ScheduleCostRailApi } from '../composables/useScheduleCostRail';
4
+ import type { ScheduleAreaDragDropApi } from '../composables/useScheduleAreaDragDrop';
5
+ import type { ScheduleEmployeeMenuApi } from '../composables/useScheduleEmployeeMenu';
6
+ import type { ScheduleAddEmployeeApi } from '../composables/useScheduleAddEmployee';
7
+ type __VLS_Props = {
8
+ board: ScheduleBoardApi;
9
+ filterBar: ScheduleFilterBarApi;
10
+ costRail: ScheduleCostRailApi;
11
+ areaDragDrop: ScheduleAreaDragDropApi;
12
+ employeeMenu: ScheduleEmployeeMenuApi;
13
+ addEmployee: ScheduleAddEmployeeApi;
14
+ onOpenEmployee: (empId: number) => void;
15
+ };
16
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
+ export default _default;
@@ -0,0 +1,38 @@
1
+ import type { useSchedulePageOverlays } from '../composables/useSchedulePageOverlays';
2
+ import type { ScheduleBoardApi } from '../composables/useScheduleBoard';
3
+ import type { ScheduleAutoScheduleApi } from '../composables/useScheduleAutoSchedule';
4
+ import type { ScheduleCopyWeekApi } from '../composables/useScheduleCopyWeek';
5
+ import type { ScheduleExportApi } from '../composables/useScheduleExport';
6
+ import type { ScheduleFilterBarApi } from '../composables/useScheduleFilterBar';
7
+ import type { useScheduleRangeCalendar } from '../composables/useScheduleRangeCalendar';
8
+ import type { useScheduleOutlet } from '../composables/useScheduleOutlet';
9
+ import type { useScheduleRoster } from '../composables/useScheduleRoster';
10
+ import type { ClearKind } from '../composables/useSchedulePageClearActions';
11
+ type SchedulePageOverlaysApi = ReturnType<typeof useSchedulePageOverlays>;
12
+ type ScheduleRangeCalendarApi = ReturnType<typeof useScheduleRangeCalendar>;
13
+ type ScheduleOutletApi = ReturnType<typeof useScheduleOutlet>;
14
+ type ScheduleRosterApi = ReturnType<typeof useScheduleRoster>;
15
+ type __VLS_Props = {
16
+ board: ScheduleBoardApi;
17
+ topbar: SchedulePageOverlaysApi['topbar'];
18
+ autoSchedule: ScheduleAutoScheduleApi;
19
+ copyWeek: ScheduleCopyWeekApi;
20
+ exportApi: ScheduleExportApi;
21
+ calendar: ScheduleRangeCalendarApi;
22
+ filterBar: ScheduleFilterBarApi;
23
+ outlet: ScheduleOutletApi;
24
+ roster: ScheduleRosterApi;
25
+ error: string | null;
26
+ onSchedStatusClick: () => void;
27
+ onComingSoon: () => void;
28
+ onRetry: () => void;
29
+ onClear: (kind: ClearKind) => void;
30
+ };
31
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
32
+ applied: (count: number) => any;
33
+ "applied-and-publish": (count: number) => any;
34
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
35
+ onApplied?: ((count: number) => any) | undefined;
36
+ "onApplied-and-publish"?: ((count: number) => any) | undefined;
37
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
38
+ export default _default;
@@ -0,0 +1,22 @@
1
+ import type { ScheduleBoardApi } from '../composables/useScheduleBoard';
2
+ import type { ScheduleAddPickApi } from '../composables/useScheduleAddPick';
3
+ import type { SchedulePublishApi } from '../composables/useSchedulePublish';
4
+ import type { ScheduleExportApi } from '../composables/useScheduleExport';
5
+ import type { ScheduleDayNoteApi } from '../composables/useScheduleDayNote';
6
+ import type { ScheduleDemandSheetApi } from '../composables/useScheduleDemandSheet';
7
+ import type { SchedulePositionModalApi } from '../composables/useSchedulePositionModal';
8
+ import type { ScheduleTimePickerApi } from '../composables/useScheduleTimePicker';
9
+ import type { ScheduleGapPopoverApi } from '../composables/useScheduleGapPopover';
10
+ type __VLS_Props = {
11
+ addPick: ScheduleAddPickApi;
12
+ publish: SchedulePublishApi;
13
+ exportApi: ScheduleExportApi;
14
+ dayNote: ScheduleDayNoteApi;
15
+ demandSheet: ScheduleDemandSheetApi;
16
+ positionModal: SchedulePositionModalApi;
17
+ timePicker: ScheduleTimePickerApi;
18
+ gap: ScheduleGapPopoverApi;
19
+ board: ScheduleBoardApi;
20
+ };
21
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
22
+ export default _default;
@@ -1,10 +1,15 @@
1
1
  import type { ScheduleOnboardingWizardApi } from '../composables/useScheduleOnboardingWizard';
2
2
  import type { ScheduleTourApi } from '../composables/useScheduleTour';
3
3
  import type { ScheduleAutoScheduleApi } from '../composables/useScheduleAutoSchedule';
4
+ import type { ScheduleExportApi } from '../composables/useScheduleExport';
5
+ import type { SchedulePublishApi } from '../composables/useSchedulePublish';
4
6
  type __VLS_Props = {
5
- wizard: ScheduleOnboardingWizardApi;
6
- tour: ScheduleTourApi;
7
- autoSchedule: ScheduleAutoScheduleApi;
7
+ kind: 'onboarding' | 'tour' | 'export' | 'publish-share';
8
+ wizard?: ScheduleOnboardingWizardApi;
9
+ tour?: ScheduleTourApi;
10
+ autoSchedule?: ScheduleAutoScheduleApi;
11
+ exportApi?: ScheduleExportApi;
12
+ publish?: SchedulePublishApi;
8
13
  };
9
14
  declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
15
  export default _default;