@feedmepos/mf-hrm-portal 2.3.2-dev → 2.3.2-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 (295) hide show
  1. package/dist/{ApprovalCodeList-xOyDG5ug.js → ApprovalCodeList-RKU5B8SO.js} +14 -15
  2. package/dist/AuditLogList-DuDCMjGR.js +2026 -0
  3. package/dist/{ConditionBuilderForm.vue_vue_type_script_setup_true_lang-Cixg_icC.js → ConditionBuilderForm.vue_vue_type_script_setup_true_lang-pL2zRc67.js} +10 -10
  4. package/dist/{EmployeeList-BG2KPvOB.js → EmployeeList-nrYsS5uz.js} +196 -208
  5. package/dist/FormSection.vue_vue_type_script_setup_true_lang-7S2w36aY.js +90 -0
  6. package/dist/{GrantUserList-CUkuf3VV.js → GrantUserList-BSjeC4MC.js} +15 -16
  7. package/dist/{Main-Cg9SOzcz.js → Main-CpuHaXU6.js} +5 -5
  8. package/dist/{Main-BSHf8gTE.js → Main-DbdoVLCE.js} +12 -11
  9. package/dist/{Main-BcixH7R5.js → Main-DtmCBbTR.js} +1005 -999
  10. package/dist/MyPosProfile-CsTCfGNT.js +360 -0
  11. package/dist/{PermissionSetList-I3u2_qHR.js → PermissionSetList-B1c-uGZO.js} +82 -80
  12. package/dist/PortalPermissionEditor.vue_vue_type_script_setup_true_lang-Toq6qrLx.js +4208 -0
  13. package/dist/PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-D6Z9z_Yt.js +1831 -0
  14. package/dist/ResponsiveContextMenu.vue_vue_type_script_setup_true_lang-mSJFKo7r.js +132 -0
  15. package/dist/RoleForm.vue_vue_type_script_setup_true_lang-TWTVo_9Y.js +547 -0
  16. package/dist/RoleList-CwaGNsFy.js +265 -0
  17. package/dist/ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-C2ekVXdR.js +544 -0
  18. package/dist/ScheduleGeneralPage-BVtXmxtp.js +811 -0
  19. package/dist/ScheduleModal.vue_vue_type_script_setup_true_lang-DdsQ8v-5.js +2557 -0
  20. package/dist/SchedulePage-3qksmT2I.js +19446 -0
  21. package/dist/SchedulePositionPage-DAU20KPZ.js +282 -0
  22. package/dist/SelectFilter-BpzBwBmQ.js +263 -0
  23. package/dist/TeamMemberList-Bdpm40i3.js +2087 -0
  24. package/dist/TimesheetList-CL_eJp2h.js +437 -0
  25. package/dist/{app-CdrnR_Pw.js → app-DEZT4wdV.js} +14439 -5834
  26. package/dist/app.js +1 -1
  27. package/dist/{approval-code-Bwvwehz9.js → approval-code-BZTz5OXK.js} +4 -4
  28. package/dist/{dayjs.min-BO8bcI17.js → dayjs.min-B55I-uhI.js} +12 -12
  29. package/dist/employee-C6z5i6O4.js +172 -0
  30. package/dist/{grant-user-whFOaPZI.js → grant-user-B2rYztyf.js} +2 -2
  31. package/dist/{iteration-ZpERYj3o.js → index-Bfdseotz.js} +698 -726
  32. package/dist/iteration-CcXrOMQe.js +30 -0
  33. package/dist/{lodash-7SZBZ8VQ.js → lodash-B8bqa6a9.js} +1 -1
  34. package/dist/member-grant-BIpKkuu8.js +54 -0
  35. package/dist/object-Dwyg2LgX.js +16 -0
  36. package/dist/restaurant-ejyX2jEG.js +52 -0
  37. package/dist/role-C_t3DDlG.js +98 -0
  38. package/dist/rule-Ccopk8R_.js +843 -0
  39. package/dist/src/api/audit-log/index.d.ts +6 -0
  40. package/dist/src/api/employee/index.d.ts +3 -4
  41. package/dist/src/api/my-pos-profile/index.d.ts +1 -3
  42. package/dist/src/api/restaurant/index.d.ts +2 -0
  43. package/dist/src/api/schedule/index.d.ts +68 -0
  44. package/dist/src/api/sso-provider/index.d.ts +5 -0
  45. package/dist/src/api/staff-invite/index.d.ts +1 -2
  46. package/dist/src/api/timesheet/index.d.ts +1 -1
  47. package/dist/src/components/AppForm.vue.d.ts +2 -2
  48. package/dist/src/components/CheckboxInput.vue.d.ts +2 -2
  49. package/dist/src/components/layout/PortalShell.vue.d.ts +12 -0
  50. package/dist/src/components/layout/SchedulePromoBanner.vue.d.ts +2 -0
  51. package/dist/src/components/layout/withScheduleShell.d.ts +10 -0
  52. package/dist/src/composables/useDiscardConfirm.d.ts +3 -1
  53. package/dist/src/composables/useMessage.d.ts +8 -2
  54. package/dist/src/composables/useSsoProviders.d.ts +19 -0
  55. package/dist/src/composables/useStaffInviteProviders.d.ts +1 -12
  56. package/dist/src/helpers/permission-set.d.ts +1 -102
  57. package/dist/src/helpers/pos-assignment-rows.d.ts +2 -0
  58. package/dist/src/helpers/rule.d.ts +2 -2
  59. package/dist/src/helpers/staff-invite.d.ts +3 -0
  60. package/dist/src/router/shared.d.ts +3 -0
  61. package/dist/src/stores/approval-code.d.ts +1 -1
  62. package/dist/src/stores/employee.d.ts +15 -21
  63. package/dist/src/stores/grant-user.d.ts +1 -1
  64. package/dist/src/stores/permission-assignment.d.ts +2 -2
  65. package/dist/src/stores/permission-set.d.ts +2 -2
  66. package/dist/src/stores/restaurant.d.ts +63 -3
  67. package/dist/src/stores/role.d.ts +2 -2
  68. package/dist/src/stores/team.d.ts +1 -1
  69. package/dist/src/stores/timesheet.d.ts +68 -53
  70. package/dist/src/types/employee.d.ts +1 -0
  71. package/dist/src/types/my-pos-profile.d.ts +2 -3
  72. package/dist/src/types/schedule.d.ts +23 -0
  73. package/dist/src/types/sso-provider.d.ts +10 -0
  74. package/dist/src/types/timesheet.d.ts +3 -0
  75. package/dist/src/views/audit-log/constants.d.ts +9 -30
  76. package/dist/src/views/audit-log/locales/index.d.ts +528 -0
  77. package/dist/src/views/audit-log/pos-row.d.ts +27 -0
  78. package/dist/src/views/audit-log/useTraceIdDeepLink.d.ts +19 -0
  79. package/dist/src/views/hr/locales/index.d.ts +24 -4
  80. package/dist/src/views/hr/role/RoleForm.vue.d.ts +29 -2
  81. package/dist/src/views/my-pos-profile/components/PasscodeChangedDialog.vue.d.ts +1 -1
  82. package/dist/src/views/my-pos-profile/locales/index.d.ts +40 -4
  83. package/dist/src/views/scheduling/ScheduleGeneralPage.vue.d.ts +3 -0
  84. package/dist/src/views/scheduling/SchedulePage.vue.d.ts +3 -0
  85. package/dist/src/views/scheduling/SchedulePositionPage.vue.d.ts +3 -0
  86. package/dist/src/views/scheduling/components/ScheduleAddEmployeeIdentitySection.vue.d.ts +6 -0
  87. package/dist/src/views/scheduling/components/ScheduleAddEmployeeModal.vue.d.ts +12 -0
  88. package/dist/src/views/scheduling/components/ScheduleAddEmployeeModeStep.vue.d.ts +6 -0
  89. package/dist/src/views/scheduling/components/ScheduleAddEmployeePosAccessSection.vue.d.ts +6 -0
  90. package/dist/src/views/scheduling/components/ScheduleAddEmployeePositionsSection.vue.d.ts +10 -0
  91. package/dist/src/views/scheduling/components/ScheduleAddEmployeeSchedulingSection.vue.d.ts +6 -0
  92. package/dist/src/views/scheduling/components/ScheduleAddPickPopover.vue.d.ts +6 -0
  93. package/dist/src/views/scheduling/components/ScheduleAddPositionModal.vue.d.ts +6 -0
  94. package/dist/src/views/scheduling/components/ScheduleAreaRows.vue.d.ts +41 -0
  95. package/dist/src/views/scheduling/components/ScheduleAutoScheduleDetailsModal.vue.d.ts +6 -0
  96. package/dist/src/views/scheduling/components/ScheduleAutoScheduleDoneArt.vue.d.ts +2 -0
  97. package/dist/src/views/scheduling/components/ScheduleAutoScheduleModal.vue.d.ts +10 -0
  98. package/dist/src/views/scheduling/components/ScheduleBoardAreaRows.vue.d.ts +25 -0
  99. package/dist/src/views/scheduling/components/ScheduleBoardEditOverlays.vue.d.ts +17 -0
  100. package/dist/src/views/scheduling/components/ScheduleBoardEmployeeRows.vue.d.ts +31 -0
  101. package/dist/src/views/scheduling/components/ScheduleBoardGridHeader.vue.d.ts +29 -0
  102. package/dist/src/views/scheduling/components/ScheduleBoardInteractionOverlays.vue.d.ts +34 -0
  103. package/dist/src/views/scheduling/components/ScheduleBoardOnboardingOverlays.vue.d.ts +26 -0
  104. package/dist/src/views/scheduling/components/ScheduleBoardRails.vue.d.ts +17 -0
  105. package/dist/src/views/scheduling/components/ScheduleBoardToolbar.vue.d.ts +38 -0
  106. package/dist/src/views/scheduling/components/ScheduleBoardUtilityOverlays.vue.d.ts +22 -0
  107. package/dist/src/views/scheduling/components/ScheduleButton.vue.d.ts +23 -0
  108. package/dist/src/views/scheduling/components/ScheduleChangeEmployeeModal.vue.d.ts +8 -0
  109. package/dist/src/views/scheduling/components/ScheduleCloneOutletModal.vue.d.ts +6 -0
  110. package/dist/src/views/scheduling/components/ScheduleCoach.vue.d.ts +6 -0
  111. package/dist/src/views/scheduling/components/ScheduleCompletionDialog.vue.d.ts +15 -0
  112. package/dist/src/views/scheduling/components/ScheduleConfirmModal.vue.d.ts +33 -0
  113. package/dist/src/views/scheduling/components/ScheduleContextMenu.vue.d.ts +17 -0
  114. package/dist/src/views/scheduling/components/ScheduleCostRail.vue.d.ts +8 -0
  115. package/dist/src/views/scheduling/components/ScheduleCostRailEmptyArt.vue.d.ts +2 -0
  116. package/dist/src/views/scheduling/components/ScheduleDateRangePopover.vue.d.ts +6 -0
  117. package/dist/src/views/scheduling/components/ScheduleDayNotePopover.vue.d.ts +6 -0
  118. package/dist/src/views/scheduling/components/ScheduleDayTimeline.vue.d.ts +17 -0
  119. package/dist/src/views/scheduling/components/ScheduleDemandRow.vue.d.ts +23 -0
  120. package/dist/src/views/scheduling/components/ScheduleDemandSheet.vue.d.ts +10 -0
  121. package/dist/src/views/scheduling/components/ScheduleDotsIcon.vue.d.ts +2 -0
  122. package/dist/src/views/scheduling/components/ScheduleEmployeeDetailPanel.vue.d.ts +12 -0
  123. package/dist/src/views/scheduling/components/ScheduleEmployeeIdentity.vue.d.ts +17 -0
  124. package/dist/src/views/scheduling/components/ScheduleExportPreview.vue.d.ts +7 -0
  125. package/dist/src/views/scheduling/components/ScheduleFilterBar.vue.d.ts +18 -0
  126. package/dist/src/views/scheduling/components/ScheduleGapPopover.vue.d.ts +6 -0
  127. package/dist/src/views/scheduling/components/ScheduleGridHeader.vue.d.ts +18 -0
  128. package/dist/src/views/scheduling/components/ScheduleGridSkeleton.vue.d.ts +2 -0
  129. package/dist/src/views/scheduling/components/ScheduleLeaveEditModal.vue.d.ts +6 -0
  130. package/dist/src/views/scheduling/components/ScheduleLoadState.vue.d.ts +9 -0
  131. package/dist/src/views/scheduling/components/ScheduleModal.vue.d.ts +26 -0
  132. package/dist/src/views/scheduling/components/ScheduleOnboardingAssignPositionModal.vue.d.ts +6 -0
  133. package/dist/src/views/scheduling/components/ScheduleOnboardingClosedDayConfirm.vue.d.ts +6 -0
  134. package/dist/src/views/scheduling/components/ScheduleOnboardingDemandDays.vue.d.ts +6 -0
  135. package/dist/src/views/scheduling/components/ScheduleOnboardingDemandFooter.vue.d.ts +6 -0
  136. package/dist/src/views/scheduling/components/ScheduleOnboardingDemandHeader.vue.d.ts +6 -0
  137. package/dist/src/views/scheduling/components/ScheduleOnboardingDoneArt.vue.d.ts +2 -0
  138. package/dist/src/views/scheduling/components/ScheduleOnboardingHoursProfileNotice.vue.d.ts +10 -0
  139. package/dist/src/views/scheduling/components/ScheduleOnboardingPositions.vue.d.ts +6 -0
  140. package/dist/src/views/scheduling/components/ScheduleOnboardingReview.vue.d.ts +6 -0
  141. package/dist/src/views/scheduling/components/ScheduleOnboardingSettings.vue.d.ts +6 -0
  142. package/dist/src/views/scheduling/components/ScheduleOnboardingWelcome.vue.d.ts +11 -0
  143. package/dist/src/views/scheduling/components/ScheduleOnboardingWizard.vue.d.ts +9 -0
  144. package/dist/src/views/scheduling/components/ScheduleOnboardingWizardFooter.vue.d.ts +6 -0
  145. package/dist/src/views/scheduling/components/ScheduleOnboardingWizardHeader.vue.d.ts +11 -0
  146. package/dist/src/views/scheduling/components/SchedulePublishModal.vue.d.ts +8 -0
  147. package/dist/src/views/scheduling/components/SchedulePublishShareArt.vue.d.ts +2 -0
  148. package/dist/src/views/scheduling/components/ScheduleReviewBar.vue.d.ts +12 -0
  149. package/dist/src/views/scheduling/components/ScheduleSelect.vue.d.ts +70 -0
  150. package/dist/src/views/scheduling/components/ScheduleSelectExistingEmployeeModal.vue.d.ts +6 -0
  151. package/dist/src/views/scheduling/components/ScheduleSetupBanner.vue.d.ts +12 -0
  152. package/dist/src/views/scheduling/components/ScheduleShiftCell.vue.d.ts +35 -0
  153. package/dist/src/views/scheduling/components/ScheduleShiftHeadcountEditor.vue.d.ts +10 -0
  154. package/dist/src/views/scheduling/components/ScheduleShiftImpact.vue.d.ts +6 -0
  155. package/dist/src/views/scheduling/components/ScheduleShiftMoreOptions.vue.d.ts +8 -0
  156. package/dist/src/views/scheduling/components/ScheduleShiftPopover.vue.d.ts +16 -0
  157. package/dist/src/views/scheduling/components/ScheduleShiftRepeatDaysRow.vue.d.ts +8 -0
  158. package/dist/src/views/scheduling/components/ScheduleShiftSegmentsEditor.vue.d.ts +8 -0
  159. package/dist/src/views/scheduling/components/ScheduleShiftWhoPicker.vue.d.ts +25 -0
  160. package/dist/src/views/scheduling/components/ScheduleStaffRail.vue.d.ts +16 -0
  161. package/dist/src/views/scheduling/components/ScheduleStaffRows.vue.d.ts +50 -0
  162. package/dist/src/views/scheduling/components/ScheduleStatsRow.vue.d.ts +12 -0
  163. package/dist/src/views/scheduling/components/ScheduleSwapShiftsModal.vue.d.ts +8 -0
  164. package/dist/src/views/scheduling/components/ScheduleTimePickerPopover.vue.d.ts +6 -0
  165. package/dist/src/views/scheduling/components/ScheduleTopbar.vue.d.ts +20 -0
  166. package/dist/src/views/scheduling/composables/auto-schedule-mapping.d.ts +35 -0
  167. package/dist/src/views/scheduling/composables/onboarding-constants.d.ts +7 -0
  168. package/dist/src/views/scheduling/composables/onboarding-hours.d.ts +7 -0
  169. package/dist/src/views/scheduling/composables/onboarding-types.d.ts +51 -0
  170. package/dist/src/views/scheduling/composables/remyPrompt.d.ts +15 -0
  171. package/dist/src/views/scheduling/composables/schedule-add-employee-form.d.ts +82 -0
  172. package/dist/src/views/scheduling/composables/schedule-board-helpers.d.ts +63 -0
  173. package/dist/src/views/scheduling/composables/schedule-breaks.d.ts +9 -0
  174. package/dist/src/views/scheduling/composables/schedule-calendar.d.ts +17 -0
  175. package/dist/src/views/scheduling/composables/schedule-cost.d.ts +24 -0
  176. package/dist/src/views/scheduling/composables/schedule-currency.d.ts +22 -0
  177. package/dist/src/views/scheduling/composables/schedule-day-meta.d.ts +21 -0
  178. package/dist/src/views/scheduling/composables/schedule-demand-domain.d.ts +23 -0
  179. package/dist/src/views/scheduling/composables/schedule-employee-profile.d.ts +7 -0
  180. package/dist/src/views/scheduling/composables/schedule-error.d.ts +1 -0
  181. package/dist/src/views/scheduling/composables/schedule-export-matrix.d.ts +14 -0
  182. package/dist/src/views/scheduling/composables/schedule-leave-split.d.ts +9 -0
  183. package/dist/src/views/scheduling/composables/schedule-popover-position.d.ts +16 -0
  184. package/dist/src/views/scheduling/composables/schedule-quick-pick.d.ts +23 -0
  185. package/dist/src/views/scheduling/composables/schedule-shift-time.d.ts +29 -0
  186. package/dist/src/views/scheduling/composables/schedule-time.d.ts +8 -0
  187. package/dist/src/views/scheduling/composables/schedule-week-cache.d.ts +9 -0
  188. package/dist/src/views/scheduling/composables/useCollapsedList.d.ts +9 -0
  189. package/dist/src/views/scheduling/composables/useRemyAppStore.d.ts +16 -0
  190. package/dist/src/views/scheduling/composables/useScheduleAddEmployee.d.ts +137 -0
  191. package/dist/src/views/scheduling/composables/useScheduleAddPick.d.ts +75 -0
  192. package/dist/src/views/scheduling/composables/useScheduleAreaBoard.d.ts +50 -0
  193. package/dist/src/views/scheduling/composables/useScheduleAreaDragDrop.d.ts +11 -0
  194. package/dist/src/views/scheduling/composables/useScheduleAssignmentMutations.d.ts +13 -0
  195. package/dist/src/views/scheduling/composables/useScheduleAutoSchedule.d.ts +301 -0
  196. package/dist/src/views/scheduling/composables/useScheduleBoard.d.ts +615 -0
  197. package/dist/src/views/scheduling/composables/useScheduleCellState.d.ts +27 -0
  198. package/dist/src/views/scheduling/composables/useScheduleClashDetection.d.ts +28 -0
  199. package/dist/src/views/scheduling/composables/useScheduleCloneOutletModal.d.ts +21 -0
  200. package/dist/src/views/scheduling/composables/useScheduleCoach.d.ts +80 -0
  201. package/dist/src/views/scheduling/composables/useScheduleCopyWeek.d.ts +12 -0
  202. package/dist/src/views/scheduling/composables/useScheduleCostRail.d.ts +60 -0
  203. package/dist/src/views/scheduling/composables/useScheduleDayNote.d.ts +44 -0
  204. package/dist/src/views/scheduling/composables/useScheduleDayTimeline.d.ts +111 -0
  205. package/dist/src/views/scheduling/composables/useScheduleDemand.d.ts +59 -0
  206. package/dist/src/views/scheduling/composables/useScheduleDemandRow.d.ts +47 -0
  207. package/dist/src/views/scheduling/composables/useScheduleDemandSheet.d.ts +166 -0
  208. package/dist/src/views/scheduling/composables/useScheduleDragDrop.d.ts +55 -0
  209. package/dist/src/views/scheduling/composables/useScheduleEmployeeAccess.d.ts +24 -0
  210. package/dist/src/views/scheduling/composables/useScheduleEmployeeAvailability.d.ts +13 -0
  211. package/dist/src/views/scheduling/composables/useScheduleEmployeeCandidates.d.ts +49 -0
  212. package/dist/src/views/scheduling/composables/useScheduleEmployeeCompensation.d.ts +7 -0
  213. package/dist/src/views/scheduling/composables/useScheduleEmployeeForm.d.ts +22 -0
  214. package/dist/src/views/scheduling/composables/useScheduleEmployeeIdentity.d.ts +50 -0
  215. package/dist/src/views/scheduling/composables/useScheduleEmployeeMenu.d.ts +38 -0
  216. package/dist/src/views/scheduling/composables/useScheduleEmployeePersistence.d.ts +32 -0
  217. package/dist/src/views/scheduling/composables/useScheduleEmployeeProfile.d.ts +16 -0
  218. package/dist/src/views/scheduling/composables/useScheduleEmployeeValidation.d.ts +18 -0
  219. package/dist/src/views/scheduling/composables/useScheduleExport.d.ts +52 -0
  220. package/dist/src/views/scheduling/composables/useScheduleFilterBar.d.ts +14 -0
  221. package/dist/src/views/scheduling/composables/useScheduleGapPopover.d.ts +79 -0
  222. package/dist/src/views/scheduling/composables/useScheduleLeave.d.ts +60 -0
  223. package/dist/src/views/scheduling/composables/useScheduleLegend.d.ts +15 -0
  224. package/dist/src/views/scheduling/composables/useScheduleOnboardingAvailability.d.ts +58 -0
  225. package/dist/src/views/scheduling/composables/useScheduleOnboardingDemand.d.ts +45 -0
  226. package/dist/src/views/scheduling/composables/useScheduleOnboardingEmployees.d.ts +231 -0
  227. package/dist/src/views/scheduling/composables/useScheduleOnboardingFlow.d.ts +9 -0
  228. package/dist/src/views/scheduling/composables/useScheduleOnboardingHours.d.ts +15 -0
  229. package/dist/src/views/scheduling/composables/useScheduleOnboardingNavigation.d.ts +11 -0
  230. package/dist/src/views/scheduling/composables/useScheduleOnboardingPersistence.d.ts +13 -0
  231. package/dist/src/views/scheduling/composables/useScheduleOnboardingWizard.d.ts +1543 -0
  232. package/dist/src/views/scheduling/composables/useScheduleOutlet.d.ts +25 -0
  233. package/dist/src/views/scheduling/composables/useSchedulePageActions.d.ts +18 -0
  234. package/dist/src/views/scheduling/composables/useSchedulePageBootstrap.d.ts +9 -0
  235. package/dist/src/views/scheduling/composables/useSchedulePageCellActions.d.ts +21 -0
  236. package/dist/src/views/scheduling/composables/useSchedulePageCellDrop.d.ts +20 -0
  237. package/dist/src/views/scheduling/composables/useSchedulePageClearActions.d.ts +33 -0
  238. package/dist/src/views/scheduling/composables/useSchedulePageEmployeeActions.d.ts +22 -0
  239. package/dist/src/views/scheduling/composables/useSchedulePageOverlays.d.ts +21 -0
  240. package/dist/src/views/scheduling/composables/useSchedulePdfExport.d.ts +19 -0
  241. package/dist/src/views/scheduling/composables/useSchedulePositionModal.d.ts +55 -0
  242. package/dist/src/views/scheduling/composables/useSchedulePositions.d.ts +35 -0
  243. package/dist/src/views/scheduling/composables/useSchedulePublish.d.ts +127 -0
  244. package/dist/src/views/scheduling/composables/useSchedulePublishPersistence.d.ts +11 -0
  245. package/dist/src/views/scheduling/composables/useScheduleRangeCalendar.d.ts +27 -0
  246. package/dist/src/views/scheduling/composables/useScheduleRoster.d.ts +313 -0
  247. package/dist/src/views/scheduling/composables/useScheduleSettings.d.ts +40 -0
  248. package/dist/src/views/scheduling/composables/useScheduleSetupBanner.d.ts +17 -0
  249. package/dist/src/views/scheduling/composables/useScheduleShiftActions.d.ts +245 -0
  250. package/dist/src/views/scheduling/composables/useScheduleShiftDraft.d.ts +63 -0
  251. package/dist/src/views/scheduling/composables/useScheduleShiftPersistence.d.ts +17 -0
  252. package/dist/src/views/scheduling/composables/useScheduleShiftPopover.d.ts +255 -0
  253. package/dist/src/views/scheduling/composables/useScheduleStatsRow.d.ts +27 -0
  254. package/dist/src/views/scheduling/composables/useScheduleTimePicker.d.ts +49 -0
  255. package/dist/src/views/scheduling/composables/useScheduleTour.d.ts +95 -0
  256. package/dist/src/views/scheduling/composables/useScheduleViewportFit.d.ts +9 -0
  257. package/dist/src/views/scheduling/country-rules/index.d.ts +33 -0
  258. package/dist/src/views/scheduling/data.d.ts +123 -0
  259. package/dist/src/views/scheduling/locales/index.d.ts +6988 -0
  260. package/dist/src/views/scheduling/schedule-constants.d.ts +7 -0
  261. package/dist/src/views/scheduling/schedule-state.d.ts +767 -0
  262. package/dist/src/views/scheduling/schedule-store.d.ts +140 -0
  263. package/dist/src/views/scheduling/types.d.ts +381 -0
  264. package/dist/src/views/team/components/MemberGrantFields.vue.d.ts +2 -6
  265. package/dist/src/views/team/components/PortalConditionForm.vue.d.ts +2 -2
  266. package/dist/src/views/team/components/PosAssignmentRows.vue.d.ts +0 -2
  267. package/dist/src/views/team/condition-builders/ConditionBuilderForm.vue.d.ts +2 -2
  268. package/dist/src/views/team/member/AddMemberForm.vue.d.ts +0 -2
  269. package/dist/src/views/team/member/TeamMemberMasterUser.vue.d.ts +0 -2
  270. package/dist/style.css +1 -1
  271. package/dist/timesheet-CZHcebqS.js +76 -0
  272. package/dist/tsconfig.app.tsbuildinfo +1 -1
  273. package/dist/{useAppStore-CL6EEDuw.js → useAppStore-DfqsbhT2.js} +1 -1
  274. package/dist/useDiscardConfirm-CzZSPyvh.js +28 -0
  275. package/dist/{useLoading-BBjBUzGJ.js → useLoading-CQnX5WjI.js} +1 -1
  276. package/dist/useMessage-_ywT_N9X.js +17 -0
  277. package/dist/{useReportPermissions-Bg0fma6m.js → useReportPermissions-kTjftFk7.js} +13 -13
  278. package/package.json +7 -5
  279. package/dist/AuditLogList-Dd6HyFhk.js +0 -1777
  280. package/dist/FormItem.vue_vue_type_script_setup_true_lang-DPT2FoIc.js +0 -45
  281. package/dist/FormSection.vue_vue_type_script_setup_true_lang-DknXTYiK.js +0 -49
  282. package/dist/MyPosProfile-CN8Bj3aV.js +0 -301
  283. package/dist/PortalPermissionEditor.vue_vue_type_script_setup_true_lang-BBoRXQPn.js +0 -4243
  284. package/dist/PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-B5QDOF0L.js +0 -1840
  285. package/dist/RoleList-ALmAwN0U.js +0 -739
  286. package/dist/SelectFilter-ATOm0hdn.js +0 -269
  287. package/dist/TeamMemberList-DZfEnOs1.js +0 -2097
  288. package/dist/TimesheetList-CECFKt7H.js +0 -402
  289. package/dist/TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-RIyoAmeb.js +0 -58
  290. package/dist/employee-Dg-J9goA.js +0 -205
  291. package/dist/member-grant-C46lvrh2.js +0 -55
  292. package/dist/restaurant-CKhT6kgj.js +0 -45
  293. package/dist/role-C6hFKOfU.js +0 -93
  294. package/dist/rule-BlMymDXm.js +0 -788
  295. package/dist/useDiscardConfirm-DPhEV6v0.js +0 -157
@@ -0,0 +1,70 @@
1
+ /** One row of the menu. `group` heads the rows that carry it — consecutive options sharing
2
+ * a group are drawn under one heading, the way an `<optgroup>` would. A disabled option is a
3
+ * statement rather than a choice ("No position yet" is the field saying the catalogue is
4
+ * empty), so it is dimmed and inert rather than offered and refused. */
5
+ export interface ScheduleSelectOption {
6
+ value: string;
7
+ label: string;
8
+ /** Stable identity used when two options can share the same display value. */
9
+ id?: string;
10
+ disabled?: boolean;
11
+ group?: string;
12
+ /** Second line under the label. Any option carrying one switches the menu to the rich
13
+ * layout (bold name, muted hint, tick on the right), as V6.2's outlet menu does. */
14
+ hint?: string;
15
+ /** A command rather than a choice ("+ Add a new position…"): drawn in the brand colour, as
16
+ * V6.2 draws it, so it stops reading as one more thing the field could be set to. */
17
+ command?: boolean;
18
+ }
19
+ declare const _default: import("vue").DefineComponent<{
20
+ modelValue?: string;
21
+ options: ScheduleSelectOption[];
22
+ /** Multi-select: the menu stays open on a pick, rows show a tick for every value in
23
+ * `selected`, and a pick emits `toggle` instead of `update:modelValue`. Commands still
24
+ * close the menu and emit `update:modelValue`. */
25
+ multiple?: boolean;
26
+ selected?: string[];
27
+ /** Stable selected identity for single-select menus whose labels may be duplicated. */
28
+ selectedId?: string;
29
+ /** Closed-control text while a multi-select has nothing picked. */
30
+ placeholder?: string;
31
+ /** Optional closed-control text for a selected value that is not available in the menu. */
32
+ selectedLabel?: string;
33
+ disabled?: boolean;
34
+ /** Heading over the menu. Also switches to the rich layout. */
35
+ menuTitle?: string;
36
+ /** A filter box at the top of the menu, for lists long enough to hunt through (outlets). */
37
+ searchable?: boolean;
38
+ /** Disable body teleporting for SSR or tests that want to keep the menu in the component tree. */
39
+ teleport?: boolean;
40
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
41
+ toggle: (value: string) => any;
42
+ "update:modelValue": (value: string) => any;
43
+ }, string, import("vue").PublicProps, Readonly<{
44
+ modelValue?: string;
45
+ options: ScheduleSelectOption[];
46
+ /** Multi-select: the menu stays open on a pick, rows show a tick for every value in
47
+ * `selected`, and a pick emits `toggle` instead of `update:modelValue`. Commands still
48
+ * close the menu and emit `update:modelValue`. */
49
+ multiple?: boolean;
50
+ selected?: string[];
51
+ /** Stable selected identity for single-select menus whose labels may be duplicated. */
52
+ selectedId?: string;
53
+ /** Closed-control text while a multi-select has nothing picked. */
54
+ placeholder?: string;
55
+ /** Optional closed-control text for a selected value that is not available in the menu. */
56
+ selectedLabel?: string;
57
+ disabled?: boolean;
58
+ /** Heading over the menu. Also switches to the rich layout. */
59
+ menuTitle?: string;
60
+ /** A filter box at the top of the menu, for lists long enough to hunt through (outlets). */
61
+ searchable?: boolean;
62
+ /** Disable body teleporting for SSR or tests that want to keep the menu in the component tree. */
63
+ teleport?: boolean;
64
+ }> & Readonly<{
65
+ onToggle?: ((value: string) => any) | undefined;
66
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
67
+ }>, {
68
+ teleport: boolean;
69
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
70
+ export default _default;
@@ -0,0 +1,6 @@
1
+ import type { useScheduleAddEmployee } from '../composables/useScheduleAddEmployee';
2
+ type __VLS_Props = {
3
+ wizard: ReturnType<typeof useScheduleAddEmployee>;
4
+ };
5
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
6
+ export default _default;
@@ -0,0 +1,12 @@
1
+ type __VLS_Props = {
2
+ open: boolean;
3
+ outletName: string;
4
+ };
5
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
+ setup: () => any;
7
+ dismiss: () => any;
8
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
9
+ onSetup?: (() => any) | undefined;
10
+ onDismiss?: (() => any) | undefined;
11
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
+ export default _default;
@@ -0,0 +1,35 @@
1
+ import type { DaySlot, Proposal } from '../types';
2
+ import type { ScheduleBoardApi } from '../composables/useScheduleBoard';
3
+ import type { ScheduleDragDropApi } from '../composables/useScheduleDragDrop';
4
+ type __VLS_Props = {
5
+ board: ScheduleBoardApi;
6
+ dragDrop: ScheduleDragDropApi;
7
+ slot: DaySlot;
8
+ empId: number;
9
+ dayIdx: number;
10
+ /** Position in the VISIBLE column order — month-edge is a neighbour comparison. */
11
+ colIndex: number;
12
+ proposal?: Proposal | null;
13
+ };
14
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
15
+ drop: (empId: number, dayIdx: number, ev: DragEvent) => any;
16
+ addShift: (empId: number, dayIdx: number, anchor: HTMLElement) => any;
17
+ editShift: (empId: number, dayIdx: number, slotIndex: number) => any;
18
+ editLeave: (empId: number, dayIdx: number) => any;
19
+ dragStart: (empId: number, dayIdx: number, ev: DragEvent, slotIndex: number) => any;
20
+ dragEnd: () => any;
21
+ toggleProposal: (id: number) => any;
22
+ proposalDragStart: (id: number, ev: DragEvent) => any;
23
+ proposalDragEnd: () => any;
24
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
25
+ onDrop?: ((empId: number, dayIdx: number, ev: DragEvent) => any) | undefined;
26
+ onAddShift?: ((empId: number, dayIdx: number, anchor: HTMLElement) => any) | undefined;
27
+ onEditShift?: ((empId: number, dayIdx: number, slotIndex: number) => any) | undefined;
28
+ onEditLeave?: ((empId: number, dayIdx: number) => any) | undefined;
29
+ onDragStart?: ((empId: number, dayIdx: number, ev: DragEvent, slotIndex: number) => any) | undefined;
30
+ onDragEnd?: (() => any) | undefined;
31
+ onToggleProposal?: ((id: number) => any) | undefined;
32
+ onProposalDragStart?: ((id: number, ev: DragEvent) => any) | undefined;
33
+ onProposalDragEnd?: (() => any) | undefined;
34
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
35
+ export default _default;
@@ -0,0 +1,10 @@
1
+ import type { ScheduleShiftPopoverApi } from '../composables/useScheduleShiftPopover';
2
+ type __VLS_Props = {
3
+ popover: ScheduleShiftPopoverApi;
4
+ };
5
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
+ newPosition: (assign: (name: string) => void) => any;
7
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
8
+ onNewPosition?: ((assign: (name: string) => void) => any) | undefined;
9
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
+ export default _default;
@@ -0,0 +1,6 @@
1
+ import type { ScheduleShiftPopoverApi } from '../composables/useScheduleShiftPopover';
2
+ type __VLS_Props = {
3
+ popover: ScheduleShiftPopoverApi;
4
+ };
5
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
6
+ export default _default;
@@ -0,0 +1,8 @@
1
+ import type { ScheduleShiftPopoverApi } from '../composables/useScheduleShiftPopover';
2
+ import { type ScheduleTimePickerApi } from '../composables/useScheduleTimePicker';
3
+ type __VLS_Props = {
4
+ popover: ScheduleShiftPopoverApi;
5
+ timePicker: ScheduleTimePickerApi;
6
+ };
7
+ 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>;
8
+ export default _default;
@@ -0,0 +1,16 @@
1
+ import type { ScheduleBoardApi } from '../composables/useScheduleBoard';
2
+ import type { ScheduleShiftPopoverApi } from '../composables/useScheduleShiftPopover';
3
+ import { type ScheduleTimePickerApi } from '../composables/useScheduleTimePicker';
4
+ type __VLS_Props = {
5
+ board: ScheduleBoardApi;
6
+ popover: ScheduleShiftPopoverApi;
7
+ timePicker: ScheduleTimePickerApi;
8
+ };
9
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
+ swap: (empId: number, dayIdx: number) => any;
11
+ newPosition: (assign: (name: string) => void) => any;
12
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
13
+ onSwap?: ((empId: number, dayIdx: number) => any) | undefined;
14
+ onNewPosition?: ((assign: (name: string) => void) => any) | undefined;
15
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
16
+ export default _default;
@@ -0,0 +1,8 @@
1
+ import type { ScheduleBoardApi } from '../composables/useScheduleBoard';
2
+ import type { ScheduleShiftPopoverApi } from '../composables/useScheduleShiftPopover';
3
+ type __VLS_Props = {
4
+ board: ScheduleBoardApi;
5
+ popover: ScheduleShiftPopoverApi;
6
+ };
7
+ 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>;
8
+ export default _default;
@@ -0,0 +1,8 @@
1
+ import type { ScheduleShiftPopoverApi } from '../composables/useScheduleShiftPopover';
2
+ import { type ScheduleTimePickerApi } from '../composables/useScheduleTimePicker';
3
+ type __VLS_Props = {
4
+ popover: ScheduleShiftPopoverApi;
5
+ timePicker: ScheduleTimePickerApi;
6
+ };
7
+ 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>;
8
+ export default _default;
@@ -0,0 +1,25 @@
1
+ import type { ScheduleBoardApi } from '../composables/useScheduleBoard';
2
+ import type { ScheduleShiftPopoverApi } from '../composables/useScheduleShiftPopover';
3
+ type __VLS_Props = {
4
+ board: ScheduleBoardApi;
5
+ popover: ScheduleShiftPopoverApi;
6
+ /** "Empty shift — leave it open" reads as a real option when this shift is free to stay
7
+ * unstaffed. A shift authored to answer a specific coverage gap has no such reading — it
8
+ * does nothing for that gap unstaffed — so its caller passes a placeholder that asks
9
+ * for a pick instead of offering to skip one. */
10
+ placeholder?: string;
11
+ /** Pairs with the placeholder above: the blank option itself becomes unpickable, so
12
+ * there's no way back to "nobody" once this select is showing. */
13
+ forceChoice?: boolean;
14
+ /** In the header this picker IS the heading — a name-sized control with an avatar next
15
+ * to it. Reused lower down as one field among Hours and Headcount, it has to take
16
+ * their treatment instead: a bordered, row-sized select with no avatar, since nobody
17
+ * is picked yet on a shift still being created. */
18
+ compact?: boolean;
19
+ };
20
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
21
+ placeholder: string;
22
+ compact: boolean;
23
+ forceChoice: boolean;
24
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
25
+ export default _default;
@@ -0,0 +1,16 @@
1
+ import type { ScheduleCostRailApi } from '../composables/useScheduleCostRail';
2
+ import type { ScheduleAreaDragDropApi } from '../composables/useScheduleAreaDragDrop';
3
+ type __VLS_Props = {
4
+ rail: ScheduleCostRailApi;
5
+ dragDrop: ScheduleAreaDragDropApi;
6
+ };
7
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
+ addEmployee: () => any;
9
+ openEmployee: (empId: number) => any;
10
+ openEmployeeMenu: (empId: number, anchor: HTMLElement) => any;
11
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
12
+ onAddEmployee?: (() => any) | undefined;
13
+ onOpenEmployee?: ((empId: number) => any) | undefined;
14
+ onOpenEmployeeMenu?: ((empId: number, anchor: HTMLElement) => any) | undefined;
15
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
16
+ export default _default;
@@ -0,0 +1,50 @@
1
+ import type { Proposal } from '../types';
2
+ import type { ScheduleBoardApi } from '../composables/useScheduleBoard';
3
+ import type { ScheduleDragDropApi } from '../composables/useScheduleDragDrop';
4
+ import type { ScheduleRosterApi } from '../composables/useScheduleRoster';
5
+ import type { ScheduleDemandRowApi } from '../composables/useScheduleDemandRow';
6
+ type __VLS_Props = {
7
+ board: ScheduleBoardApi;
8
+ dragDrop: ScheduleDragDropApi;
9
+ roster: ScheduleRosterApi;
10
+ demandRow: ScheduleDemandRowApi;
11
+ proposalAt?: (empId: number, dayIdx: number) => Proposal | undefined;
12
+ };
13
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
+ addEmployee: () => any;
15
+ addShift: (empId: number, dayIdx: number, anchor: HTMLElement) => any;
16
+ editShift: (empId: number, dayIdx: number, slotIndex?: number | undefined) => any;
17
+ editLeave: (empId: number, dayIdx: number) => any;
18
+ dragEnd: () => any;
19
+ toggleProposal: (id: number) => any;
20
+ proposalDragStart: (id: number, ev: DragEvent) => any;
21
+ proposalDragEnd: () => any;
22
+ segEnter: (dayIdx: number, from: number, to: number, anchor: HTMLElement) => any;
23
+ segLeave: () => any;
24
+ segClick: (dayIdx: number, from: number, to: number, anchor: HTMLElement) => any;
25
+ segFocus: (dayIdx: number, from: number, to: number, anchor: HTMLElement) => any;
26
+ openEmployee: (empId: number) => any;
27
+ openEmployeeMenu: (empId: number, anchor: HTMLElement) => any;
28
+ dragShiftStart: (empId: number, dayIdx: number, ev: DragEvent, slotIndex: number) => any;
29
+ dropOnCell: (empId: number, dayIdx: number, ev: DragEvent) => any;
30
+ openDemandSheet: (dayIdx: number) => any;
31
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
32
+ onAddEmployee?: (() => any) | undefined;
33
+ onAddShift?: ((empId: number, dayIdx: number, anchor: HTMLElement) => any) | undefined;
34
+ onEditShift?: ((empId: number, dayIdx: number, slotIndex?: number | undefined) => any) | undefined;
35
+ onEditLeave?: ((empId: number, dayIdx: number) => any) | undefined;
36
+ onDragEnd?: (() => any) | undefined;
37
+ onToggleProposal?: ((id: number) => any) | undefined;
38
+ onProposalDragStart?: ((id: number, ev: DragEvent) => any) | undefined;
39
+ onProposalDragEnd?: (() => any) | undefined;
40
+ onSegEnter?: ((dayIdx: number, from: number, to: number, anchor: HTMLElement) => any) | undefined;
41
+ onSegLeave?: (() => any) | undefined;
42
+ onSegClick?: ((dayIdx: number, from: number, to: number, anchor: HTMLElement) => any) | undefined;
43
+ onSegFocus?: ((dayIdx: number, from: number, to: number, anchor: HTMLElement) => any) | undefined;
44
+ onOpenEmployee?: ((empId: number) => any) | undefined;
45
+ onOpenEmployeeMenu?: ((empId: number, anchor: HTMLElement) => any) | undefined;
46
+ onDragShiftStart?: ((empId: number, dayIdx: number, ev: DragEvent, slotIndex: number) => any) | undefined;
47
+ onDropOnCell?: ((empId: number, dayIdx: number, ev: DragEvent) => any) | undefined;
48
+ onOpenDemandSheet?: ((dayIdx: number) => any) | undefined;
49
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
50
+ export default _default;
@@ -0,0 +1,12 @@
1
+ import type { ScheduleBoardApi } from '../composables/useScheduleBoard';
2
+ import type { ScheduleCostRailApi } from '../composables/useScheduleCostRail';
3
+ import type { ScheduleStatsRowApi } from '../composables/useScheduleStatsRow';
4
+ import type { ScheduleViewMode } from '../composables/useScheduleFilterBar';
5
+ type __VLS_Props = {
6
+ board: ScheduleBoardApi;
7
+ costRail: ScheduleCostRailApi;
8
+ stats: ScheduleStatsRowApi;
9
+ mode: ScheduleViewMode;
10
+ };
11
+ 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>;
12
+ export default _default;
@@ -0,0 +1,8 @@
1
+ import type { ScheduleBoardApi } from '../composables/useScheduleBoard';
2
+ import type { ScheduleShiftActionsApi } from '../composables/useScheduleShiftActions';
3
+ type __VLS_Props = {
4
+ board: ScheduleBoardApi;
5
+ actions: ScheduleShiftActionsApi;
6
+ };
7
+ 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>;
8
+ export default _default;
@@ -0,0 +1,6 @@
1
+ import type { ScheduleTimePickerApi } from '../composables/useScheduleTimePicker';
2
+ type __VLS_Props = {
3
+ timePicker: ScheduleTimePickerApi;
4
+ };
5
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
6
+ export default _default;
@@ -0,0 +1,20 @@
1
+ import type { ScheduleBoardApi } from '../composables/useScheduleBoard';
2
+ import type { ScheduleTopbarApi } from '../composables/useSchedulePageOverlays';
3
+ import type { ScheduleAutoScheduleApi } from '../composables/useScheduleAutoSchedule';
4
+ import type { ScheduleCopyWeekApi } from '../composables/useScheduleCopyWeek';
5
+ import type { ScheduleExportApi } from '../composables/useScheduleExport';
6
+ type __VLS_Props = {
7
+ board: ScheduleBoardApi;
8
+ topbar: ScheduleTopbarApi;
9
+ autoSchedule: ScheduleAutoScheduleApi;
10
+ copyWeek: ScheduleCopyWeekApi;
11
+ exportApi: ScheduleExportApi;
12
+ };
13
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
+ clear: (kind: "shifts" | "demand" | "both") => any;
15
+ "sch-status-click": () => any;
16
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
17
+ onClear?: ((kind: "shifts" | "demand" | "both") => any) | undefined;
18
+ "onSch-status-click"?: (() => any) | undefined;
19
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
20
+ export default _default;
@@ -0,0 +1,35 @@
1
+ import type { FdtoScheduleAutoScheduleApplyReq, FdtoScheduleAutoScheduleObjective, FdtoScheduleAutoScheduleProposal, FdtoScheduleAutoScheduleResult } from '@/types/schedule';
2
+ import { ApiError } from '@/api';
3
+ import type { Proposal } from '../types';
4
+ /** ISO date of `dayIdx` in the week starting `weekKey` (YYYY-MM-DD, local arithmetic). */
5
+ export declare function dateOfProposal(weekKey: string, dayIdx: number): string;
6
+ /** Server proposals → board proposals for the week whose Monday is `weekKey`. A proposal whose
7
+ * date is not one of `dateKeyOf(0..RANGE_LEN-1)` or whose employee the board does not hold is
8
+ * dropped. Ids come from `nextId` so they stay unique across weeks. */
9
+ export declare function proposalsFromResult(proposals: FdtoScheduleAutoScheduleProposal[], weekKey: string, dateKeyOf: (dayIdx: number) => string | null, nextId: () => number, holds: (empId: number) => boolean): Proposal[];
10
+ /** The apply body for the accepted proposals, each re-dated from its own week and day. */
11
+ export declare function applyRequestOf(proposals: Proposal[], allowOvertime: boolean, status?: FdtoScheduleAutoScheduleApplyReq['status']): FdtoScheduleAutoScheduleApplyReq;
12
+ /** The `t` from `useI18n()`, passed into these pure helpers so they stay free of Vue setup. */
13
+ export type TranslateFn = (key: string, params?: Record<string, unknown>) => string;
14
+ export interface ClassifiedExplanation {
15
+ kind: 'reject' | 'ai' | 'plain';
16
+ text: string;
17
+ }
18
+ /** Sorts one `result.explanations` line into what the Details panel renders it as. The matched
19
+ * prefix is stripped from `text` in every case — the panel re-adds its own label/marker for
20
+ * `reject` and `ai`, so the raw wire prefix never doubles up with it. */
21
+ export declare function classifyExplanation(line: string): ClassifiedExplanation;
22
+ /** Whether `error` is a server refusal whose own message is meant for the user: a client error
23
+ * (0 < status < 500). A network failure (0) or a server error (5xx) is not. */
24
+ export declare function isClientRefusal(error: unknown): error is ApiError;
25
+ /** A client-error refusal shows its own message; a network failure or 5xx shows the generic one. */
26
+ export declare function generateErrorMessage(error: unknown, t: TranslateFn): string;
27
+ /** The result shown when "fill gaps" is off: nothing proposed, one explanation. */
28
+ export declare function fillGapsOffResult(week: {
29
+ from: string;
30
+ to: string;
31
+ }, objective: FdtoScheduleAutoScheduleObjective, allowOvertime: boolean, t: TranslateFn): FdtoScheduleAutoScheduleResult;
32
+ /** The snackbar shown once a run finishes, whether it went to the server or (fill gaps off) was
33
+ * answered locally. `wallMs` is measured client-side around the request — it is what the manager
34
+ * actually waited, not just the server's own `timing.totalMs`. */
35
+ export declare function generateDoneMessage(result: FdtoScheduleAutoScheduleResult, wallMs: number, t: TranslateFn): string;
@@ -0,0 +1,7 @@
1
+ import type { ScheduleOnboardingStep } from './onboarding-types';
2
+ export declare const ONBOARDING_STEPS: ScheduleOnboardingStep[];
3
+ export declare const SKIPPABLE_ONBOARDING_STEPS: ScheduleOnboardingStep[];
4
+ export declare const COMMON_POSITION_SUGGESTIONS: string[];
5
+ export declare const ANY_POSITION_KEY = "__any__";
6
+ /** i18n key for a Monday-first weekday index's short name (WEEKDAYS in ../data stays English). */
7
+ export declare function weekdayKey(dayIdx: number): string;
@@ -0,0 +1,7 @@
1
+ import type { ScheduleRules } from '../types';
2
+ import type { ScheduleOnboardingDayHours } from './onboarding-types';
3
+ import type { FdtoScheduleDayOperatingHours } from '@feedmepos/hrm-schedule-contract';
4
+ /** Converts persisted outlet hours into the wizard's editable draft shape. */
5
+ export declare function onboardingHoursFromRules(rules: ScheduleRules): ScheduleOnboardingDayHours[];
6
+ /** Converts the grid's Monday-first draft back to the restaurant profile's Sunday-first wire shape. */
7
+ export declare function onboardingHoursToProfile(hours: ScheduleOnboardingDayHours[]): FdtoScheduleDayOperatingHours[];
@@ -0,0 +1,51 @@
1
+ export type ScheduleOnboardingStep = 'hours' | 'staffing' | 'positions' | 'employees' | 'availability' | 'review';
2
+ export interface ScheduleOnboardingSession {
3
+ from: string;
4
+ to: string;
5
+ }
6
+ export interface ScheduleOnboardingDayHours {
7
+ open: boolean;
8
+ sessions: ScheduleOnboardingSession[];
9
+ }
10
+ export interface ScheduleOnboardingRange {
11
+ from: string;
12
+ to: string;
13
+ /** Blank until typed: an unset range asks for nobody. */
14
+ n: number | null;
15
+ roles: Array<{
16
+ position: string;
17
+ n: number | null;
18
+ }>;
19
+ }
20
+ export type TeamEmployment = 'full' | 'part';
21
+ export type TeamBasis = 'monthly' | 'hourly';
22
+ export interface TeamRow {
23
+ picked: boolean;
24
+ /** '' means "Any position" — a person with none. */
25
+ position: string;
26
+ /** Additional positions this employee also covers. */
27
+ second: string[];
28
+ employment: TeamEmployment;
29
+ maxHours: string;
30
+ rate: string;
31
+ basis: TeamBasis;
32
+ }
33
+ export interface AvailDay {
34
+ on: boolean;
35
+ from: string;
36
+ to: string;
37
+ }
38
+ export interface AvailRow {
39
+ offDays: boolean[];
40
+ days: AvailDay[];
41
+ }
42
+ export interface ReviewRow {
43
+ step: ScheduleOnboardingStep;
44
+ title: string;
45
+ text: string;
46
+ sub?: string;
47
+ }
48
+ export interface IntroRecapRow {
49
+ label: string;
50
+ value: string;
51
+ }
@@ -0,0 +1,15 @@
1
+ export type RemyDemandScope = {
2
+ mode: 'day';
3
+ isoDate: string;
4
+ label: string;
5
+ } | {
6
+ mode: 'weekday';
7
+ weekday: string;
8
+ } | {
9
+ mode: 'weekdays';
10
+ };
11
+ /** The text prefilled into the host Remy panel: one line naming the outlet and day, which the
12
+ * user continues with their demand. The "attach a roster image or describe it in words" guidance
13
+ * lives on the sheet's Ask Remy tooltip, not here. Names the outlet the way a manager knows it;
14
+ * Remy resolves it to an id itself (hrm_find_outlet), so no outlet id appears in the text. */
15
+ export declare function remyDemandPrompt(outletName: string, scope: RemyDemandScope): string;
@@ -0,0 +1,82 @@
1
+ import type { EmployeeAvailHours } from '../types';
2
+ import type { FdtoScheduleUpdateEmployeeProfileReq } from '@/types/schedule';
3
+ export type ScheduleAddEmployeeStep = 'mode' | 'details';
4
+ export type ScheduleAddEmployeeMode = 'new' | 'existing';
5
+ export interface ScheduleAddEmployeeForm {
6
+ name: string;
7
+ mobile: string;
8
+ dial: string;
9
+ employment: 'full' | 'part';
10
+ locations: string[];
11
+ payBasis: 'hourly' | 'monthly';
12
+ payAmount: string;
13
+ maxHours: string;
14
+ maxHoursPerDay: string;
15
+ minHours: string;
16
+ workingHoursEnabled: boolean;
17
+ overtimeEnabled: boolean;
18
+ /** Blank means no employee override; the outlet overtime setting is inherited. */
19
+ maxHoursPerMonth: string;
20
+ /** For a part-timer: days they CAN work. For a full-timer: days they're OFF — the
21
+ * mockup inverts the same array's meaning by employment type. */
22
+ availDays: boolean[];
23
+ availHours: EmployeeAvailHours[];
24
+ preferences: string;
25
+ primaryPosition: string;
26
+ secondaryPositions: string[];
27
+ seniority: '' | 'senior' | 'junior';
28
+ passcode: string[];
29
+ masterUser: boolean;
30
+ /** Required by the POS for a master user. */
31
+ masterCode: string;
32
+ /** Gates the fields below it — someone can be fully scheduled with this off. */
33
+ posAccessEnabled: boolean;
34
+ /** WHAT the passcode opens the till as, and WHERE — a row per outlet. Not restricted to the
35
+ * outlets picked in Work locations above: a floating manager can be rostered at one outlet
36
+ * and hold POS admin at several others. */
37
+ posRoles: {
38
+ outlet: string;
39
+ roleId: string;
40
+ }[];
41
+ }
42
+ /** A salaried month, for converting a monthly figure into the hourly one the cost rail
43
+ * actually reads. Ported verbatim from the mockup's MONTH_HOURS. */
44
+ export declare const MONTH_HOURS = 173;
45
+ /** A freshly-ticked worked day defaults to the whole day rather than the outlet's current
46
+ * trading hours — trading hours can change, and narrowing a person's stated availability to
47
+ * whatever the outlet happens to trade today isn't something this form should assume for them.
48
+ * `23:59`, not `24:00`: a part-timer's per-day fields are native `<input type="time">`s, which
49
+ * only accept `00:00`–`23:59` — `24:00` would render as blank there despite being a valid
50
+ * `FdtoScheduleTime` on the wire. */
51
+ export declare function defaultAvailHours(): EmployeeAvailHours;
52
+ export declare function blankForm(): ScheduleAddEmployeeForm;
53
+ /** Coverage and Auto-Schedule are still authored per role, so a role is derived from the
54
+ * primary position rather than asked for twice. Unlike position, Employee.role is one of a
55
+ * fixed small set the grid groups by, so an unrecognised (or unset) position falls back to
56
+ * the first known role instead of leaving the record without one. */
57
+ export declare function roleFromPosition(position: string): string;
58
+ export declare function generateCode(): string;
59
+ /** `raw` is typed `string` because that's the form field's declared type, but Vue 3 casts
60
+ * `v-model` on an `<input type="number">` to an actual `number` regardless — the DOM does this
61
+ * itself, independent of the `.number` modifier, so the runtime value disagrees with the type
62
+ * the moment someone types a digit. `String()` first is what makes `.trim()` safe either way. */
63
+ export declare function parsePositiveInt(raw: string, min: number, max: number): number | undefined;
64
+ export declare function parseNonNegativeInt(raw: string, max: number): number | undefined;
65
+ export declare function initials(name: string): string;
66
+ export declare function isPartTimeForm(form: ScheduleAddEmployeeForm): boolean;
67
+ /** `availDays[i]` always means "is this a working day" — the same convention the board model
68
+ * and `ScheduleEmployeeDetailPanel` read (a day off is one marked NOT worked), regardless of
69
+ * employment type. Only the full-time TOGGLE BUTTON is framed as "mark a day off" rather than
70
+ * "mark a work day" — see `useScheduleAddEmployee`'s `dayLit`, which flips this value for
71
+ * that button's pressed state without touching what's actually stored. */
72
+ export declare function dayIsWorkedInForm(form: ScheduleAddEmployeeForm, i: number): boolean;
73
+ /** Days this form currently marks as worked, converted to Mongo's weekday convention. */
74
+ export declare function availabilityPayload(form: ScheduleAddEmployeeForm): Array<{
75
+ dayOfWeek: number;
76
+ start: string;
77
+ end: string;
78
+ }>;
79
+ /** The EmployeeProfile fields `createExisting` and `updateExisting` both send — everything but
80
+ * `employeeId`, which only the create path has (an update targets one already known from the
81
+ * URL). Shared here so the two payloads cannot silently drift apart. */
82
+ export declare function toEmployeeProfileFields(form: ScheduleAddEmployeeForm, name: string, payAmountNumber: number, t: (key: string) => string): FdtoScheduleUpdateEmployeeProfileReq;
@@ -0,0 +1,63 @@
1
+ import type { DaySlot, Employee, LeaveSlot, WorkSlot } from '../types';
2
+ import type { FdtoScheduleSaveAssignmentReq } from '@/types/schedule';
3
+ export { isoDateKey } from './schedule-calendar';
4
+ /** dayjs-free local-date key — matches on the browser's local Y/M/D, not UTC, so this stays
5
+ * correct regardless of timezone. */
6
+ export declare function isWorkSlot(slot: DaySlot): slot is WorkSlot;
7
+ export declare function isLeaveSlot(slot: DaySlot): slot is LeaveSlot;
8
+ export declare function workSlotsOf(day: DaySlot): WorkSlot[];
9
+ /** Whether two periods occupy any of the same working time. Endpoints that touch are
10
+ * back-to-back, not a conflict. Overnight ranges use the shared clock rules. */
11
+ export declare function shiftsOverlap(a: Pick<WorkSlot, 'start' | 'end'>, b: Pick<WorkSlot, 'start' | 'end'>): boolean;
12
+ export declare function overlapsAnotherSlot(slots: WorkSlot[], target: WorkSlot): boolean;
13
+ /** The inverse of `workSlotsOf` — bare slot for one, the array for two or more, so a day
14
+ * that's back down to its last period reads as a normal single shift again rather than a
15
+ * one-element array everything else has to unwrap. */
16
+ export declare function collapseSlots(slots: WorkSlot[]): WorkSlot | WorkSlot[] | null;
17
+ /** Whether a day's periods are genuinely one shift split across a gap — same `splitGroupId`,
18
+ * set only by the popover's "+ Split" — versus two or more independent shifts that happen to
19
+ * land on the same day (a swap override, say). The card/popover both branch on this: a
20
+ * genuine split draws and edits as one shift; anything else stays separate, card per shift. */
21
+ export declare function isGenuineSplitGroup(slots: WorkSlot[]): boolean;
22
+ /** A WorkSlot, in the shape ScheduleShiftAssignments actually stores. `pending` is the only status
23
+ * this board's own writers ever set on a fresh slot (see commitShift's callers) — `ot` is
24
+ * derived at cost-rail time, never authored, so it has nowhere sensible to map but PUBLISHED. */
25
+ export declare function toAssignmentReq(employeeId: string, date: string, slot: WorkSlot): FdtoScheduleSaveAssignmentReq;
26
+ /** Which coverage-position (a RULES.coverage.full key, e.g. 'grill', 'customer service') a
27
+ * work slot's `role` counts toward for area-view grouping and cost-by-position breakdowns.
28
+ * The shift popover's "Position needed" field writes a coverage-position key directly into
29
+ * `role` for anything authored through it — so a role that's already a coverage key is
30
+ * used as-is. Seed data instead recorded a station label ('FOH', 'Kitchen', ...), which
31
+ * ROLE_POSITIONS translates to that station's first/primary position. This can't tell a
32
+ * Kitchen employee's grill shifts apart from their prep shifts when the seed data only
33
+ * ever recorded the station — that distinction only exists once a shift is authored (or
34
+ * re-saved) through the popover, which does record the specific position. */
35
+ export declare function positionKeyOf(role: string): string;
36
+ /** The hours this employee is contracted to in a week — what "18h / 44h" measures against.
37
+ * Stated per person on their own profile now that ScheduleSettings carries pay rates alone, so
38
+ * there is no venue-wide full/part pair to fall back to: somebody nobody has agreed hours with
39
+ * reads 0, which is the truth rather than a default they never signed. */
40
+ export declare function contractCapFor(emp: Employee): number;
41
+ /** Whether `hours` runs past what this person is contracted to.
42
+ *
43
+ * A cap of 0 means no hours were ever agreed, which is NOT a contract of zero hours: read
44
+ * naively, `hours > 0` makes every rostered minute overtime, flags everybody on the cost rail's
45
+ * over-contract list and makes copy-week refuse every shift. An unknown limit cannot be
46
+ * exceeded, so it is treated as no limit and the question is answered false. */
47
+ export declare function overContract(emp: Employee, hours: number): boolean;
48
+ export declare function isPartTime(emp: Employee): boolean;
49
+ /** Colour keys off the POSITION's rank in the alphabetical position list, looped every six —
50
+ * position 7 repeats position 1's colour, which is expected once a page holds more than six.
51
+ * Unset ("Any position") isn't a real position at all, so it skips the rotation entirely and is
52
+ * always stone, the one of the seven neutral enough to read as "no position". A role no longer in
53
+ * the list (e.g. since deleted) falls back to the first band rather than erroring.
54
+ *
55
+ * Rotation by name, not a keyword lookup — a position is whatever the outlet typed into the
56
+ * Positions page, so there's no fixed vocabulary ("cashier", "kitchen", ...) to match against.
57
+ *
58
+ * Shared by the employee view's own card and the area view's position-row header + card, so the
59
+ * same position never disagrees on its colour anywhere on the board. */
60
+ export declare function positionColorClass(role: string): string;
61
+ /** Which weekday (0 = Mon) is today, relative to no particular week — used to seed
62
+ * focusDayIdx whenever "today" needs a weekday index rather than a date. */
63
+ export declare function todayWeekdayIdx(): number;
@@ -0,0 +1,9 @@
1
+ import type { FdtoScheduleBreak } from '@/types/schedule';
2
+ import type { WorkSlot } from '../types';
3
+ type BreakSource = FdtoScheduleBreak[] | Pick<WorkSlot, 'breaks' | 'breakMins'> | undefined;
4
+ export declare function breakMinutesOf(source: BreakSource): number;
5
+ /** Net paid minutes. Legacy board slots only have `breakMins`; persisted slots use the richer
6
+ * break array, so both representations pass through this function. */
7
+ export declare function paidMinutesOf(slot: Pick<WorkSlot, 'start' | 'end' | 'breaks' | 'breakMins'>, gross?: number): number;
8
+ export declare function durationBreaksOf(minutes: number | undefined): FdtoScheduleBreak[];
9
+ export {};