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

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 (137) hide show
  1. package/dist/{ApprovalCodeList-cG0zmQVJ.js → ApprovalCodeList-SjyWZghY.js} +2 -2
  2. package/dist/{AuditLogList-BTifJhO1.js → AuditLogList-aTI3QeO0.js} +3 -3
  3. package/dist/{ConditionBuilderForm.vue_vue_type_script_setup_true_lang-qr5TwLTK.js → ConditionBuilderForm.vue_vue_type_script_setup_true_lang--JTV7non.js} +2 -2
  4. package/dist/{EmployeeList-DzcMtxJ3.js → EmployeeList-D2Q_2ZE0.js} +4 -4
  5. package/dist/{GrantUserList-D5b7tJ8Y.js → GrantUserList-6YXLPuHR.js} +3 -3
  6. package/dist/{Main-DFwdAWqn.js → Main-B-a6F9g8.js} +5 -5
  7. package/dist/{Main-B2r59IOW.js → Main-CFIWlIaC.js} +2 -2
  8. package/dist/{Main-DkLBemi7.js → Main-dSqOeBRJ.js} +9 -9
  9. package/dist/{PermissionSetList-B80hrfMW.js → PermissionSetList-DxkaPCMs.js} +5 -5
  10. package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-DjNcJQM9.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-DnKckKZ0.js} +1165 -1165
  11. package/dist/{RoleList-DHO4JRKF.js → RoleList-DQZ_w5uM.js} +7 -7
  12. package/dist/ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-Dr6QruG6.js +470 -0
  13. package/dist/{ScheduleGeneralPage-WlBM8bxV.js → ScheduleGeneralPage-CvskrXcV.js} +273 -236
  14. package/dist/ScheduleModal.vue_vue_type_script_setup_true_lang-C4On5sVD.js +2157 -0
  15. package/dist/SchedulePage-CW-K836l.js +18248 -0
  16. package/dist/{SchedulePositionPage-C0hrO11d.js → SchedulePositionPage-BGrZBU3g.js} +67 -66
  17. package/dist/{TeamMemberList-CgFWLRBM.js → TeamMemberList-BiTHVJwE.js} +6 -6
  18. package/dist/{TimesheetList-Dp40G-0I.js → TimesheetList-CUkYacGW.js} +5 -5
  19. package/dist/{TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-BFjrMhUG.js → TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-B1Y587O-.js} +2 -2
  20. package/dist/{app-CmBSTvaI.js → app-CAKCDrbJ.js} +657 -577
  21. package/dist/app.js +1 -1
  22. package/dist/{dayjs.min-CfL2DQ3d.js → dayjs.min-CZ8QYRoc.js} +1 -1
  23. package/dist/{employee-DQcHjoij.js → employee-D56eWEFe.js} +28 -27
  24. package/dist/{iteration-BlavheWG.js → iteration-BVJdyLNq.js} +1 -1
  25. package/dist/{lodash-QerqayrJ.js → lodash-BcIRkQPW.js} +1 -1
  26. package/dist/{role-RM2YLO7n.js → role-B-eZDaBX.js} +1 -1
  27. package/dist/{rule-DjlvYIuP.js → rule-D6AIfx8b.js} +2 -2
  28. package/dist/src/api/schedule/index.d.ts +6 -4
  29. package/dist/src/components/layout/withScheduleShell.d.ts +10 -0
  30. package/dist/src/composables/useMessage.d.ts +2 -8
  31. package/dist/src/types/employee.d.ts +1 -0
  32. package/dist/src/types/schedule.d.ts +1 -1
  33. package/dist/src/views/scheduling/components/ScheduleBoardAreaRows.vue.d.ts +28 -0
  34. package/dist/src/views/scheduling/components/ScheduleBoardEditOverlays.vue.d.ts +19 -0
  35. package/dist/src/views/scheduling/components/ScheduleBoardEmployeeRows.vue.d.ts +38 -0
  36. package/dist/src/views/scheduling/components/ScheduleBoardGridHeader.vue.d.ts +24 -0
  37. package/dist/src/views/scheduling/components/ScheduleBoardInteractionOverlays.vue.d.ts +38 -0
  38. package/dist/src/views/scheduling/components/ScheduleBoardOnboardingOverlays.vue.d.ts +25 -0
  39. package/dist/src/views/scheduling/components/ScheduleBoardRails.vue.d.ts +17 -0
  40. package/dist/src/views/scheduling/components/ScheduleBoardToolbar.vue.d.ts +39 -0
  41. package/dist/src/views/scheduling/components/ScheduleBoardUtilityOverlays.vue.d.ts +22 -0
  42. package/dist/src/views/scheduling/components/{ScheduleOnboardingComplete.vue.d.ts → ScheduleCompletionDialog.vue.d.ts} +8 -3
  43. package/dist/src/views/scheduling/components/{ScheduleOpenShiftCardMenu.vue.d.ts → ScheduleContextMenu.vue.d.ts} +10 -3
  44. package/dist/src/views/scheduling/components/{SchedulePdfPreview.vue.d.ts → ScheduleExportPreview.vue.d.ts} +1 -0
  45. package/dist/src/views/scheduling/components/ScheduleLoadState.vue.d.ts +10 -0
  46. package/dist/src/views/scheduling/components/ScheduleModal.vue.d.ts +26 -0
  47. package/dist/src/views/scheduling/components/{ScheduleExportDoneDialog.vue.d.ts → ScheduleOnboardingClosedDayConfirm.vue.d.ts} +2 -2
  48. package/dist/src/views/scheduling/components/{ScheduleAutoScheduleDetailsModal.vue.d.ts → ScheduleOnboardingDemandDays.vue.d.ts} +2 -2
  49. package/dist/src/views/scheduling/components/{ScheduleEmployeeMenu.vue.d.ts → ScheduleOnboardingDemandFooter.vue.d.ts} +2 -2
  50. package/dist/src/views/scheduling/components/ScheduleOnboardingDemandHeader.vue.d.ts +6 -0
  51. package/dist/src/views/scheduling/components/ScheduleOnboardingHoursProfileNotice.vue.d.ts +10 -0
  52. package/dist/src/views/scheduling/components/ScheduleOnboardingPositions.vue.d.ts +6 -0
  53. package/dist/src/views/scheduling/components/ScheduleOnboardingReview.vue.d.ts +6 -0
  54. package/dist/src/views/scheduling/components/ScheduleOnboardingWizardFooter.vue.d.ts +6 -0
  55. package/dist/src/views/scheduling/components/ScheduleOnboardingWizardHeader.vue.d.ts +11 -0
  56. package/dist/src/views/scheduling/components/ScheduleSelect.vue.d.ts +7 -1
  57. package/dist/src/views/scheduling/components/ScheduleSetupBanner.vue.d.ts +12 -0
  58. package/dist/src/views/scheduling/components/ScheduleShiftPopover.vue.d.ts +2 -2
  59. package/dist/src/views/scheduling/components/ScheduleStaffRail.vue.d.ts +4 -4
  60. package/dist/src/views/scheduling/components/ScheduleStaffRows.vue.d.ts +2 -2
  61. package/dist/src/views/scheduling/components/ScheduleTopbar.vue.d.ts +3 -3
  62. package/dist/src/views/scheduling/composables/onboarding-types.d.ts +1 -1
  63. package/dist/src/views/scheduling/composables/schedule-board-helpers.d.ts +1 -1
  64. package/dist/src/views/scheduling/composables/schedule-breaks.d.ts +7 -1
  65. package/dist/src/views/scheduling/composables/schedule-calendar.d.ts +7 -0
  66. package/dist/src/views/scheduling/composables/schedule-cost.d.ts +19 -0
  67. package/dist/src/views/scheduling/composables/schedule-demand-domain.d.ts +11 -0
  68. package/dist/src/views/scheduling/composables/schedule-export-matrix.d.ts +14 -0
  69. package/dist/src/views/scheduling/composables/schedule-time.d.ts +8 -0
  70. package/dist/src/views/scheduling/composables/schedule-week-cache.d.ts +1 -4
  71. package/dist/src/views/scheduling/composables/scheduleAutoSolver.d.ts +23 -0
  72. package/dist/src/views/scheduling/composables/useScheduleAddEmployee.d.ts +14 -13
  73. package/dist/src/views/scheduling/composables/useScheduleAssign.d.ts +3 -1
  74. package/dist/src/views/scheduling/composables/useScheduleAssignmentMutations.d.ts +13 -0
  75. package/dist/src/views/scheduling/composables/useScheduleAutoSchedule.d.ts +4 -114
  76. package/dist/src/views/scheduling/composables/useScheduleBoard.d.ts +18 -2
  77. package/dist/src/views/scheduling/composables/useScheduleCloneOutletModal.d.ts +3 -1
  78. package/dist/src/views/scheduling/composables/useScheduleCostRail.d.ts +6 -1
  79. package/dist/src/views/scheduling/composables/useScheduleDayNote.d.ts +1 -1
  80. package/dist/src/views/scheduling/composables/useScheduleDemand.d.ts +4 -19
  81. package/dist/src/views/scheduling/composables/useScheduleDemandSheet.d.ts +12 -2
  82. package/dist/src/views/scheduling/composables/useScheduleEmployeeAccess.d.ts +11 -0
  83. package/dist/src/views/scheduling/composables/useScheduleEmployeeAvailability.d.ts +13 -0
  84. package/dist/src/views/scheduling/composables/useScheduleEmployeeCandidates.d.ts +26 -0
  85. package/dist/src/views/scheduling/composables/useScheduleEmployeeCompensation.d.ts +7 -0
  86. package/dist/src/views/scheduling/composables/useScheduleEmployeeForm.d.ts +22 -0
  87. package/dist/src/views/scheduling/composables/useScheduleEmployeeIdentity.d.ts +9 -0
  88. package/dist/src/views/scheduling/composables/useScheduleEmployeeMenu.d.ts +6 -3
  89. package/dist/src/views/scheduling/composables/useScheduleEmployeePersistence.d.ts +25 -0
  90. package/dist/src/views/scheduling/composables/useScheduleEmployeeValidation.d.ts +18 -0
  91. package/dist/src/views/scheduling/composables/useScheduleExport.d.ts +19 -11
  92. package/dist/src/views/scheduling/composables/useScheduleGapPopover.d.ts +3 -6
  93. package/dist/src/views/scheduling/composables/useScheduleOnboardingAvailability.d.ts +58 -0
  94. package/dist/src/views/scheduling/composables/useScheduleOnboardingDemand.d.ts +45 -0
  95. package/dist/src/views/scheduling/composables/useScheduleOnboardingEmployees.d.ts +187 -0
  96. package/dist/src/views/scheduling/composables/useScheduleOnboardingHours.d.ts +15 -0
  97. package/dist/src/views/scheduling/composables/useScheduleOnboardingNavigation.d.ts +11 -0
  98. package/dist/src/views/scheduling/composables/useScheduleOnboardingWizard.d.ts +64 -487
  99. package/dist/src/views/scheduling/composables/useSchedulePageActions.d.ts +18 -0
  100. package/dist/src/views/scheduling/composables/useSchedulePageCellActions.d.ts +21 -0
  101. package/dist/src/views/scheduling/composables/useSchedulePageCellDrop.d.ts +18 -0
  102. package/dist/src/views/scheduling/composables/useSchedulePageEmployeeActions.d.ts +22 -0
  103. package/dist/src/views/scheduling/composables/useSchedulePageOverlays.d.ts +10 -3
  104. package/dist/src/views/scheduling/composables/useSchedulePdfExport.d.ts +19 -0
  105. package/dist/src/views/scheduling/composables/useSchedulePositionModal.d.ts +3 -1
  106. package/dist/src/views/scheduling/composables/useSchedulePositions.d.ts +3 -1
  107. package/dist/src/views/scheduling/composables/useSchedulePublish.d.ts +7 -1
  108. package/dist/src/views/scheduling/composables/useSchedulePublishPersistence.d.ts +11 -0
  109. package/dist/src/views/scheduling/composables/useScheduleRoster.d.ts +6 -0
  110. package/dist/src/views/scheduling/composables/useScheduleSettings.d.ts +2 -24
  111. package/dist/src/views/scheduling/composables/useScheduleShiftActions.d.ts +6 -1
  112. package/dist/src/views/scheduling/composables/useScheduleShiftDraft.d.ts +62 -0
  113. package/dist/src/views/scheduling/composables/useScheduleShiftPersistence.d.ts +17 -0
  114. package/dist/src/views/scheduling/composables/useScheduleShiftPopover.d.ts +10 -5
  115. package/dist/src/views/scheduling/composables/useScheduleStatsRow.d.ts +4 -1
  116. package/dist/src/views/scheduling/composables/useScheduleTour.d.ts +6 -4
  117. package/dist/src/views/scheduling/country-rules/index.d.ts +24 -0
  118. package/dist/src/views/scheduling/data.d.ts +11 -6
  119. package/dist/src/views/scheduling/locales/index.d.ts +80 -0
  120. package/dist/src/views/scheduling/schedule-constants.d.ts +7 -0
  121. package/dist/src/views/scheduling/schedule-state.d.ts +134 -110
  122. package/dist/src/views/scheduling/schedule-store.d.ts +6 -5
  123. package/dist/src/views/scheduling/types.d.ts +5 -3
  124. package/dist/style.css +1 -1
  125. package/dist/tsconfig.app.tsbuildinfo +1 -1
  126. package/dist/{useReportPermissions-Bl6Br79r.js → useReportPermissions-DHA0jrIr.js} +3 -3
  127. package/package.json +1 -1
  128. package/dist/ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-B-XtB64L.js +0 -452
  129. package/dist/SchedulePage-Nm0krGVU.js +0 -17056
  130. package/dist/ScheduleSelect.vue_vue_type_script_setup_true_lang-DTDXir_7.js +0 -1150
  131. package/dist/src/components/layout/AppSidebar.vue.d.ts +0 -2
  132. package/dist/src/components/layout/withShell.d.ts +0 -14
  133. package/dist/src/views/scheduling/components/ScheduleShiftCardMenu.vue.d.ts +0 -12
  134. package/dist/src/views/scheduling/components/ScheduleTourAllSet.vue.d.ts +0 -6
  135. package/dist/src/views/scheduling/composables/auto-schedule-mapping.d.ts +0 -33
  136. package/dist/src/views/scheduling/composables/useScheduleStaffRail.d.ts +0 -17
  137. package/dist/src/views/scheduling/composables/useScheduleTopbar.d.ts +0 -10
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-CAKCDrbJ.js";
2
2
  export {
3
3
  e as FmApp,
4
4
  r as i18nMessages,
@@ -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-CAKCDrbJ.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-CZ8QYRoc.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";
4
+ import { s as E } from "./iteration-BVJdyLNq.js";
5
5
  import { b as l, g as f, u as I } from "./restaurant-D7PEQjPY.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-B-eZDaBX.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,4 +1,4 @@
1
- import { f as B } from "./app-CmBSTvaI.js";
1
+ import { f as B } from "./app-CAKCDrbJ.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-CAKCDrbJ.js";
2
2
  var Jr = { exports: {} };
3
3
  /**
4
4
  * @license
@@ -1,7 +1,7 @@
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";
4
+ import { s as v } from "./iteration-BVJdyLNq.js";
5
5
  import { g as f, b as p, u as I } from "./restaurant-D7PEQjPY.js";
6
6
  const R = {
7
7
  async readRoles() {
@@ -1,5 +1,5 @@
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-BVJdyLNq.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-CAKCDrbJ.js";
3
3
  import { s as se } from "./utils-BZkjJbju.js";
4
4
  import { g, b as v, q as x, u as te } from "./restaurant-D7PEQjPY.js";
5
5
  import { defineStore as z, storeToRefs as K } from "pinia";
@@ -1,13 +1,11 @@
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, FdtoScheduleAutoScheduleReq, FdtoScheduleAutoScheduleResult, FdtoScheduleBoard, FdtoScheduleBulkUpdateAssignmentStatusReq, FdtoScheduleBulkSaveAssignmentsReq, FdtoScheduleBulkSaveAssignmentsResult, FdtoScheduleCreateEmployeeProfileReq, FdtoScheduleEmployeeConfig, FdtoScheduleDemand, FdtoScheduleEmployee, FdtoSchedulePosition, FdtoScheduleSaveAssignmentReq, FdtoScheduleSaveDemandReq, FdtoScheduleSaveEmployeeConfigsReq, FdtoScheduleSavePositionReq, FdtoScheduleSaveScheduleDayReq, FdtoScheduleSaveSettingsReq, FdtoScheduleReplaceDemandReq, FdtoScheduleSettings, FdtoScheduleScheduleDay, FdtoScheduleUpdateEmployeeProfileReq, FdtoScheduleCreateTimeOffReq, FdtoScheduleTimeOff, FdtoScheduleUpdateTimeOffStatusReq } from '@/types/schedule';
2
2
  declare const ScheduleAPI: {
3
3
  listEmployeeProfiles(employeeIds?: string[]): Promise<FdtoScheduleEmployee[]>;
4
4
  listEmployeeConfigs(restaurantId: string): Promise<FdtoScheduleEmployeeConfig[]>;
5
5
  saveEmployeeConfigs(restaurantId: string, req: FdtoScheduleSaveEmployeeConfigsReq): Promise<FdtoScheduleEmployeeConfig[]>;
6
6
  getSettings(restaurantId: string): Promise<FdtoScheduleSettings>;
7
7
  saveSettings(restaurantId: string, req: FdtoScheduleSaveSettingsReq): Promise<FdtoScheduleSettings>;
8
- generateAutoSchedule(restaurantId: string, req: FdtoScheduleAutoScheduleGenerateReq): Promise<FdtoScheduleAutoScheduleResult>;
9
- getAutoScheduleCapabilities(restaurantId: string): Promise<FdtoScheduleAutoScheduleCapabilities>;
10
- applyAutoSchedule(restaurantId: string, req: FdtoScheduleAutoScheduleApplyReq): Promise<FdtoScheduleAutoScheduleApplyResult>;
8
+ generateAutoSchedule(restaurantId: string, req: FdtoScheduleAutoScheduleReq): Promise<FdtoScheduleAutoScheduleResult>;
11
9
  /** One outlet's whole board over `[from, to]` (inclusive, 'YYYY-MM-DD'). */
12
10
  readBoard(restaurantId: string, from: string, to: string): Promise<FdtoScheduleBoard>;
13
11
  createTimeOff(restaurantId: string, req: FdtoScheduleCreateTimeOffReq): Promise<FdtoScheduleTimeOff>;
@@ -32,11 +30,15 @@ declare const ScheduleAPI: {
32
30
  ok: true;
33
31
  deletedCount: number;
34
32
  }>;
33
+ /** Atomically replaces one date/weekday's flattened demand rows. */
34
+ replaceDemands(restaurantId: string, req: FdtoScheduleReplaceDemandReq): Promise<FdtoScheduleDemand[]>;
35
35
  /** Replaces one date's note/holiday-mark. All three fields back to empty/false clears it. */
36
36
  saveScheduleDay(restaurantId: string, date: string, req: FdtoScheduleSaveScheduleDayReq): Promise<FdtoScheduleScheduleDay | null>;
37
37
  /** A one-off shift assignment. */
38
38
  createAssignment(restaurantId: string, req: FdtoScheduleSaveAssignmentReq): Promise<FdtoScheduleAssignment>;
39
39
  updateAssignment(restaurantId: string, id: string, req: FdtoScheduleSaveAssignmentReq): Promise<FdtoScheduleAssignment | null>;
40
+ /** Atomically applies assignment updates, creates, and deletes used by moves and swaps. */
41
+ bulkSaveAssignments(restaurantId: string, req: FdtoScheduleBulkSaveAssignmentsReq): Promise<FdtoScheduleBulkSaveAssignmentsResult>;
40
42
  /** Deletes a batch of assignments in one request — e.g. a shift split into several segments
41
43
  * getting replaced wholesale. Deleting one assignment is just this with a single-id
42
44
  * 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
+ };
@@ -1,10 +1,4 @@
1
- import { SnackbarPosition } from '@feedmepos/ui-library';
2
- export interface MessageOptions {
3
- /** Where the snackbar is anchored. Defaults to the library's own default (top-right). */
4
- position?: SnackbarPosition;
5
- }
6
1
  export declare function useMessage(): {
7
- success: (message: string, options?: MessageOptions) => void;
8
- error: (message: string, options?: MessageOptions) => void;
2
+ success: (message: string) => void;
3
+ error: (message: string) => void;
9
4
  };
10
- export { SnackbarPosition };
@@ -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,7 +5,7 @@
5
5
  * only view-model commands that intentionally do not cross HTTP (for example
6
6
  * replacing a period made up of several persisted demand rows).
7
7
  */
8
- export type { FdtoScheduleAssignment, FdtoScheduleAutoScheduleApplyReq, FdtoScheduleAutoScheduleApplyResult, FdtoScheduleAutoScheduleCapabilities, FdtoScheduleAutoScheduleGenerateReq, FdtoScheduleAutoScheduleObjective, FdtoScheduleAutoSchedulePlanner, FdtoScheduleAutoScheduleProposal, FdtoScheduleAutoScheduleRejection, FdtoScheduleAutoScheduleResult, FdtoScheduleAutoScheduleTiming, FdtoScheduleAutoScheduleUnfilledNeed, FdtoScheduleBoard, FdtoScheduleBulkUpdateAssignmentStatusReq, 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';
8
+ export type { FdtoScheduleAssignment, FdtoScheduleAutoScheduleObjective, FdtoScheduleAutoScheduleProposal, FdtoScheduleAutoScheduleReq, FdtoScheduleAutoScheduleResult, FdtoScheduleBoard, FdtoScheduleBulkUpdateAssignmentStatusReq, FdtoScheduleBulkSaveAssignmentsReq, FdtoScheduleBulkSaveAssignmentsResult, FdtoScheduleBreak, FdtoScheduleCreateEmployeeProfileReq, FdtoScheduleEmployeeConfig, FdtoScheduleDayOperatingHours, FdtoScheduleDemand, FdtoScheduleEmployee, FdtoScheduleOptionalDateRange, FdtoSchedulePayRate, FdtoSchedulePosition, FdtoSchedulePositionRef, FdtoSchedulePositionSelectorReq, FdtoScheduleRestaurantProfile, FdtoScheduleSaveAssignmentReq, FdtoScheduleSaveDemandReq, FdtoScheduleReplaceDemandReq, FdtoScheduleSaveEmployeeConfigsReq, FdtoScheduleSavePositionReq, FdtoScheduleSaveScheduleDayReq, FdtoScheduleSaveSettingsReq, FdtoScheduleScheduleDay, FdtoScheduleSettings, FdtoScheduleUpdateEmployeeProfileReq, FdtoScheduleCreateTimeOffReq, FdtoScheduleTimeOff, FdtoScheduleTimeOffDayPart, FdtoScheduleTimeOffQuery, FdtoScheduleTimeOffStatus, FdtoScheduleTimeOffType, FdtoScheduleUpdateTimeOffStatusReq, } from '@feedmepos/hrm-schedule-contract';
9
9
  /** UI-level replacement command. The store expands these periods into flat
10
10
  * ShiftDemand rows before calling the shared HTTP contract. */
11
11
  export interface ScheduleReplaceDemandReq {
@@ -0,0 +1,28 @@
1
+ import type { ScheduleBoardApi } from '../composables/useScheduleBoard';
2
+ import type { ScheduleAreaBoardApi } from '../composables/useScheduleAreaBoard';
3
+ import type { ScheduleOpenShiftCardApi } from '../composables/useScheduleOpenShiftCard';
4
+ import type { ScheduleAreaDragDropApi } from '../composables/useScheduleAreaDragDrop';
5
+ import type { ScheduleDragDropApi } from '../composables/useScheduleDragDrop';
6
+ import type { ScheduleDemandRowApi } from '../composables/useScheduleDemandRow';
7
+ type __VLS_Props = {
8
+ board: ScheduleBoardApi;
9
+ areaBoard: ScheduleAreaBoardApi;
10
+ openShiftCard: ScheduleOpenShiftCardApi;
11
+ dragDrop: ScheduleAreaDragDropApi;
12
+ shiftDragDrop: ScheduleDragDropApi;
13
+ demandRow: ScheduleDemandRowApi;
14
+ onEditShift: (...args: any[]) => void;
15
+ onOpenAssign: (...args: any[]) => void;
16
+ onOpenNewShift: (...args: any[]) => void;
17
+ onOpenOpenShiftMenu: (...args: any[]) => void;
18
+ onOpenDemandSheet: (...args: any[]) => void;
19
+ onSegEnter: (...args: any[]) => void;
20
+ onSegLeave: (...args: any[]) => void;
21
+ onSegClick: (...args: any[]) => void;
22
+ onSegFocus: (...args: any[]) => void;
23
+ onAddPosition: (...args: any[]) => void;
24
+ onScheduleByPerson: (...args: any[]) => void;
25
+ onOpenSwap: (...args: any[]) => void;
26
+ };
27
+ 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>;
28
+ export default _default;
@@ -0,0 +1,19 @@
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 { ScheduleAssignApi } from '../composables/useScheduleAssign';
6
+ import type { ScheduleLeaveApi } from '../composables/useScheduleLeave';
7
+ import type { ScheduleClashDetectionApi } from '../composables/useScheduleClashDetection';
8
+ type __VLS_Props = {
9
+ board: ScheduleBoardApi;
10
+ popover: ScheduleShiftPopoverApi;
11
+ timePicker: ScheduleTimePickerApi;
12
+ shiftActions: ScheduleShiftActionsApi;
13
+ assign: ScheduleAssignApi;
14
+ leave: ScheduleLeaveApi;
15
+ clash: ScheduleClashDetectionApi;
16
+ onNewPosition: (assign: (name: string) => void) => void;
17
+ };
18
+ 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>;
19
+ export default _default;
@@ -0,0 +1,38 @@
1
+ import type { ScheduleBoardApi } from '../composables/useScheduleBoard';
2
+ import type { ScheduleDragDropApi } from '../composables/useScheduleDragDrop';
3
+ import type { ScheduleRosterApi } from '../composables/useScheduleRoster';
4
+ import type { ScheduleOpenShiftCardApi } from '../composables/useScheduleOpenShiftCard';
5
+ import type { ScheduleAllShiftsRowApi } from '../composables/useScheduleAllShiftsRow';
6
+ import type { ScheduleDemandRowApi } from '../composables/useScheduleDemandRow';
7
+ import type { ScheduleAutoScheduleApi } from '../composables/useScheduleAutoSchedule';
8
+ type __VLS_Props = {
9
+ board: ScheduleBoardApi;
10
+ dragDrop: ScheduleDragDropApi;
11
+ roster: ScheduleRosterApi;
12
+ openShiftCard: ScheduleOpenShiftCardApi;
13
+ allShiftsRow: ScheduleAllShiftsRowApi;
14
+ demandRow: ScheduleDemandRowApi;
15
+ autoSchedule: ScheduleAutoScheduleApi;
16
+ onAddShift: (...args: any[]) => void;
17
+ onEditShift: (...args: any[]) => void;
18
+ onEditLeave: (...args: any[]) => void;
19
+ onOpenEmployee: (...args: any[]) => void;
20
+ onOpenEmployeeMenu: (...args: any[]) => void;
21
+ onDragShiftStart: (...args: any[]) => void;
22
+ onDragEnd: () => void;
23
+ onDropCell: (...args: any[]) => void;
24
+ onProposalDragStart: (...args: any[]) => void;
25
+ onProposalDragEnd: () => void;
26
+ onOpenAssign: (...args: any[]) => void;
27
+ onOpenOpenShiftMenu: (...args: any[]) => void;
28
+ onToggleProposal: (...args: any[]) => void;
29
+ onAddEmployee: () => void;
30
+ onAddOpenShift: (...args: any[]) => void;
31
+ onOpenDemandSheet: (...args: any[]) => void;
32
+ onSegEnter: (...args: any[]) => void;
33
+ onSegLeave: () => void;
34
+ onSegClick: (...args: any[]) => void;
35
+ onSegFocus: (...args: any[]) => void;
36
+ };
37
+ 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>;
38
+ 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,38 @@
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
+ import type { ScheduleAllShiftsRowApi } from '../composables/useScheduleAllShiftsRow';
11
+ import type { ScheduleAssignApi } from '../composables/useScheduleAssign';
12
+ import type { ScheduleOpenShiftCardApi } from '../composables/useScheduleOpenShiftCard';
13
+ type ScheduleEmployeeProfileApi = ReturnType<typeof useScheduleEmployeeProfile>;
14
+ type __VLS_Props = {
15
+ board: ScheduleBoardApi;
16
+ employeeProfile: ScheduleEmployeeProfileApi;
17
+ employeeMenu: ScheduleEmployeeMenuApi;
18
+ addEmployee: ScheduleAddEmployeeApi;
19
+ positionModal: SchedulePositionModalApi;
20
+ shiftActions: ScheduleShiftActionsApi;
21
+ popover: ScheduleShiftPopoverApi;
22
+ autoSchedule: ScheduleAutoScheduleApi;
23
+ demandSheet: ScheduleDemandSheetApi;
24
+ allShiftsRow: ScheduleAllShiftsRowApi;
25
+ assign: ScheduleAssignApi;
26
+ openShiftCard: ScheduleOpenShiftCardApi;
27
+ removeEmployeeOpen: boolean;
28
+ removeEmployeeName: string;
29
+ onEditEmployee: () => void;
30
+ onRemoveEmployee: () => void;
31
+ onConfirmRemoveEmployee: () => void;
32
+ onCloseRemoveEmployee: () => void;
33
+ onNewPosition: (target: 'primary' | 'secondary') => void;
34
+ onRemoveFromScheduling: (id: number | null) => void;
35
+ onEditShift: (empId: number, dayIdx: number, slotIndex?: number) => void;
36
+ };
37
+ 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>;
38
+ 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,39 @@
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
+ loading: boolean;
26
+ error: string | null;
27
+ onSchedStatusClick: () => void;
28
+ onComingSoon: () => void;
29
+ onRetry: () => void;
30
+ onClear: (kind: ClearKind) => void;
31
+ };
32
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
33
+ applied: (count: number) => any;
34
+ "applied-and-publish": (count: number) => any;
35
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
36
+ onApplied?: ((count: number) => any) | undefined;
37
+ "onApplied-and-publish"?: ((count: number) => any) | undefined;
38
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
39
+ 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;
@@ -1,14 +1,21 @@
1
1
  import type { ScheduleBoardApi } from '../composables/useScheduleBoard';
2
+ import type { ScheduleShiftActionsApi } from '../composables/useScheduleShiftActions';
2
3
  import type { ScheduleOpenShiftCardApi } from '../composables/useScheduleOpenShiftCard';
3
4
  import type { ScheduleShiftPopoverApi } from '../composables/useScheduleShiftPopover';
5
+ import type { ScheduleEmployeeMenuApi } from '../composables/useScheduleEmployeeMenu';
4
6
  type __VLS_Props = {
5
- board: ScheduleBoardApi;
6
- menu: ScheduleOpenShiftCardApi;
7
- popover: ScheduleShiftPopoverApi;
7
+ kind: 'shift' | 'open-shift' | 'employee';
8
+ board?: ScheduleBoardApi;
9
+ actions?: ScheduleShiftActionsApi;
10
+ openShiftMenu?: ScheduleOpenShiftCardApi;
11
+ popover?: ScheduleShiftPopoverApi;
12
+ employeeMenu?: ScheduleEmployeeMenuApi;
8
13
  };
9
14
  declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
15
+ editShift: (empId: number, dayIdx: number, slotIndex: number) => any;
10
16
  assign: (openId: number) => any;
11
17
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
18
+ onEditShift?: ((empId: number, dayIdx: number, slotIndex: number) => any) | undefined;
12
19
  onAssign?: ((openId: number) => any) | undefined;
13
20
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
21
  export default _default;
@@ -1,6 +1,7 @@
1
1
  import type { ScheduleExportApi } from '../composables/useScheduleExport';
2
2
  type __VLS_Props = {
3
3
  exportApi: ScheduleExportApi;
4
+ format: 'pdf' | 'jpg';
4
5
  };
5
6
  declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
6
7
  export default _default;
@@ -0,0 +1,10 @@
1
+ type __VLS_Props = {
2
+ loading: boolean;
3
+ error: string | null;
4
+ };
5
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
+ retry: () => any;
7
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
8
+ onRetry?: (() => any) | undefined;
9
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
+ export default _default;