@feedmepos/mf-hrm-portal 2.3.2-dev → 2.3.2-dev.2

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 (268) hide show
  1. package/dist/{ApprovalCodeList-xOyDG5ug.js → ApprovalCodeList-sHnINTik.js} +14 -15
  2. package/dist/AuditLogList-C9C2emU9.js +1950 -0
  3. package/dist/{ConditionBuilderForm.vue_vue_type_script_setup_true_lang-Cixg_icC.js → ConditionBuilderForm.vue_vue_type_script_setup_true_lang-BbsPesWY.js} +2 -2
  4. package/dist/{EmployeeList-BG2KPvOB.js → EmployeeList-D4oy5hXz.js} +196 -208
  5. package/dist/FormSection.vue_vue_type_script_setup_true_lang-Cl053Tg1.js +90 -0
  6. package/dist/{GrantUserList-CUkuf3VV.js → GrantUserList-LWpqhl-5.js} +15 -16
  7. package/dist/{Main-BcixH7R5.js → Main-BWKb-QIE.js} +11 -11
  8. package/dist/{Main-BSHf8gTE.js → Main-CVGiOYpC.js} +12 -11
  9. package/dist/{Main-Cg9SOzcz.js → Main-PBJjfzBg.js} +5 -5
  10. package/dist/{MyPosProfile-CN8Bj3aV.js → MyPosProfile-BQCBFMFw.js} +1 -1
  11. package/dist/{PermissionSetList-I3u2_qHR.js → PermissionSetList-D2qZVlF4.js} +32 -31
  12. package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-BBoRXQPn.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-ZSREAS1r.js} +927 -927
  13. package/dist/PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-DRGTxOMW.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-DFDTw0lj.js +547 -0
  16. package/dist/RoleList-DG0crFzW.js +274 -0
  17. package/dist/ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-Cs0rhCa3.js +544 -0
  18. package/dist/ScheduleGeneralPage-C4J6jYtG.js +811 -0
  19. package/dist/ScheduleModal.vue_vue_type_script_setup_true_lang-3UqO6uPu.js +2557 -0
  20. package/dist/SchedulePage-ICzggri0.js +19458 -0
  21. package/dist/SchedulePositionPage-BshUCd_C.js +282 -0
  22. package/dist/SelectFilter-D9T0nFvG.js +264 -0
  23. package/dist/TeamMemberList-C970Iqlj.js +2086 -0
  24. package/dist/{TimesheetList-CECFKt7H.js → TimesheetList-nxhr0EWj.js} +10 -10
  25. package/dist/{TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-RIyoAmeb.js → TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-BLqgALLe.js} +3 -3
  26. package/dist/{app-CdrnR_Pw.js → app-n6d4AmtP.js} +12373 -4651
  27. package/dist/app.js +1 -1
  28. package/dist/{approval-code-Bwvwehz9.js → approval-code-1j1OoXt1.js} +1 -1
  29. package/dist/{dayjs.min-BO8bcI17.js → dayjs.min-DdNivv4b.js} +26 -26
  30. package/dist/{employee-Dg-J9goA.js → employee-BlfleiCU.js} +40 -35
  31. package/dist/{grant-user-whFOaPZI.js → grant-user-BmTyexk3.js} +1 -1
  32. package/dist/{iteration-ZpERYj3o.js → iteration-y_jodvfN.js} +1 -1
  33. package/dist/{lodash-7SZBZ8VQ.js → lodash-B2eWEGH4.js} +1 -1
  34. package/dist/{member-grant-C46lvrh2.js → member-grant-CzZUdO_s.js} +2 -2
  35. package/dist/object-Dwyg2LgX.js +16 -0
  36. package/dist/restaurant-Dl6yx37M.js +51 -0
  37. package/dist/{role-C6hFKOfU.js → role-DfZi7Ssk.js} +3 -3
  38. package/dist/{rule-BlMymDXm.js → rule-ChmhcGgA.js} +13 -13
  39. package/dist/src/api/audit-log/index.d.ts +4 -0
  40. package/dist/src/api/employee/index.d.ts +2 -2
  41. package/dist/src/api/restaurant/index.d.ts +2 -0
  42. package/dist/src/api/schedule/index.d.ts +68 -0
  43. package/dist/src/api/sso-provider/index.d.ts +5 -0
  44. package/dist/src/api/staff-invite/index.d.ts +1 -2
  45. package/dist/src/components/AppForm.vue.d.ts +2 -2
  46. package/dist/src/components/CheckboxInput.vue.d.ts +2 -2
  47. package/dist/src/components/layout/PortalShell.vue.d.ts +12 -0
  48. package/dist/src/components/layout/SchedulePromoBanner.vue.d.ts +2 -0
  49. package/dist/src/components/layout/withScheduleShell.d.ts +10 -0
  50. package/dist/src/composables/useDiscardConfirm.d.ts +3 -1
  51. package/dist/src/composables/useMessage.d.ts +8 -2
  52. package/dist/src/composables/useSsoProviders.d.ts +19 -0
  53. package/dist/src/composables/useStaffInviteProviders.d.ts +1 -12
  54. package/dist/src/helpers/pos-assignment-rows.d.ts +2 -0
  55. package/dist/src/helpers/staff-invite.d.ts +3 -0
  56. package/dist/src/router/shared.d.ts +3 -0
  57. package/dist/src/stores/employee.d.ts +12 -12
  58. package/dist/src/types/employee.d.ts +1 -0
  59. package/dist/src/types/schedule.d.ts +23 -0
  60. package/dist/src/types/sso-provider.d.ts +10 -0
  61. package/dist/src/views/audit-log/constants.d.ts +9 -30
  62. package/dist/src/views/audit-log/locales/index.d.ts +488 -0
  63. package/dist/src/views/audit-log/pos-row.d.ts +27 -0
  64. package/dist/src/views/hr/locales/index.d.ts +20 -0
  65. package/dist/src/views/hr/role/RoleForm.vue.d.ts +29 -2
  66. package/dist/src/views/scheduling/ScheduleGeneralPage.vue.d.ts +3 -0
  67. package/dist/src/views/scheduling/SchedulePage.vue.d.ts +3 -0
  68. package/dist/src/views/scheduling/SchedulePositionPage.vue.d.ts +3 -0
  69. package/dist/src/views/scheduling/components/ScheduleAddEmployeeIdentitySection.vue.d.ts +6 -0
  70. package/dist/src/views/scheduling/components/ScheduleAddEmployeeModal.vue.d.ts +12 -0
  71. package/dist/src/views/scheduling/components/ScheduleAddEmployeeModeStep.vue.d.ts +6 -0
  72. package/dist/src/views/scheduling/components/ScheduleAddEmployeePosAccessSection.vue.d.ts +6 -0
  73. package/dist/src/views/scheduling/components/ScheduleAddEmployeePositionsSection.vue.d.ts +10 -0
  74. package/dist/src/views/scheduling/components/ScheduleAddEmployeeSchedulingSection.vue.d.ts +6 -0
  75. package/dist/src/views/scheduling/components/ScheduleAddPickPopover.vue.d.ts +6 -0
  76. package/dist/src/views/scheduling/components/ScheduleAddPositionModal.vue.d.ts +6 -0
  77. package/dist/src/views/scheduling/components/ScheduleAreaRows.vue.d.ts +41 -0
  78. package/dist/src/views/scheduling/components/ScheduleAutoScheduleDetailsModal.vue.d.ts +6 -0
  79. package/dist/src/views/scheduling/components/ScheduleAutoScheduleDoneArt.vue.d.ts +2 -0
  80. package/dist/src/views/scheduling/components/ScheduleAutoScheduleModal.vue.d.ts +10 -0
  81. package/dist/src/views/scheduling/components/ScheduleBoardAreaRows.vue.d.ts +25 -0
  82. package/dist/src/views/scheduling/components/ScheduleBoardEditOverlays.vue.d.ts +17 -0
  83. package/dist/src/views/scheduling/components/ScheduleBoardEmployeeRows.vue.d.ts +31 -0
  84. package/dist/src/views/scheduling/components/ScheduleBoardGridHeader.vue.d.ts +29 -0
  85. package/dist/src/views/scheduling/components/ScheduleBoardInteractionOverlays.vue.d.ts +34 -0
  86. package/dist/src/views/scheduling/components/ScheduleBoardOnboardingOverlays.vue.d.ts +26 -0
  87. package/dist/src/views/scheduling/components/ScheduleBoardRails.vue.d.ts +17 -0
  88. package/dist/src/views/scheduling/components/ScheduleBoardToolbar.vue.d.ts +38 -0
  89. package/dist/src/views/scheduling/components/ScheduleBoardUtilityOverlays.vue.d.ts +22 -0
  90. package/dist/src/views/scheduling/components/ScheduleButton.vue.d.ts +23 -0
  91. package/dist/src/views/scheduling/components/ScheduleChangeEmployeeModal.vue.d.ts +8 -0
  92. package/dist/src/views/scheduling/components/ScheduleCloneOutletModal.vue.d.ts +6 -0
  93. package/dist/src/views/scheduling/components/ScheduleCoach.vue.d.ts +6 -0
  94. package/dist/src/views/scheduling/components/ScheduleCompletionDialog.vue.d.ts +15 -0
  95. package/dist/src/views/scheduling/components/ScheduleConfirmModal.vue.d.ts +33 -0
  96. package/dist/src/views/scheduling/components/ScheduleContextMenu.vue.d.ts +17 -0
  97. package/dist/src/views/scheduling/components/ScheduleCostRail.vue.d.ts +8 -0
  98. package/dist/src/views/scheduling/components/ScheduleCostRailEmptyArt.vue.d.ts +2 -0
  99. package/dist/src/views/scheduling/components/ScheduleDateRangePopover.vue.d.ts +6 -0
  100. package/dist/src/views/scheduling/components/ScheduleDayNotePopover.vue.d.ts +6 -0
  101. package/dist/src/views/scheduling/components/ScheduleDayTimeline.vue.d.ts +17 -0
  102. package/dist/src/views/scheduling/components/ScheduleDemandRow.vue.d.ts +23 -0
  103. package/dist/src/views/scheduling/components/ScheduleDemandSheet.vue.d.ts +10 -0
  104. package/dist/src/views/scheduling/components/ScheduleDotsIcon.vue.d.ts +2 -0
  105. package/dist/src/views/scheduling/components/ScheduleEmployeeDetailPanel.vue.d.ts +12 -0
  106. package/dist/src/views/scheduling/components/ScheduleEmployeeIdentity.vue.d.ts +17 -0
  107. package/dist/src/views/scheduling/components/ScheduleExportPreview.vue.d.ts +7 -0
  108. package/dist/src/views/scheduling/components/ScheduleFilterBar.vue.d.ts +18 -0
  109. package/dist/src/views/scheduling/components/ScheduleGapPopover.vue.d.ts +6 -0
  110. package/dist/src/views/scheduling/components/ScheduleGridHeader.vue.d.ts +18 -0
  111. package/dist/src/views/scheduling/components/ScheduleGridSkeleton.vue.d.ts +2 -0
  112. package/dist/src/views/scheduling/components/ScheduleLeaveEditModal.vue.d.ts +6 -0
  113. package/dist/src/views/scheduling/components/ScheduleLoadState.vue.d.ts +9 -0
  114. package/dist/src/views/scheduling/components/ScheduleModal.vue.d.ts +26 -0
  115. package/dist/src/views/scheduling/components/ScheduleOnboardingAssignPositionModal.vue.d.ts +6 -0
  116. package/dist/src/views/scheduling/components/ScheduleOnboardingClosedDayConfirm.vue.d.ts +6 -0
  117. package/dist/src/views/scheduling/components/ScheduleOnboardingDemandDays.vue.d.ts +6 -0
  118. package/dist/src/views/scheduling/components/ScheduleOnboardingDemandFooter.vue.d.ts +6 -0
  119. package/dist/src/views/scheduling/components/ScheduleOnboardingDemandHeader.vue.d.ts +6 -0
  120. package/dist/src/views/scheduling/components/ScheduleOnboardingDoneArt.vue.d.ts +2 -0
  121. package/dist/src/views/scheduling/components/ScheduleOnboardingHoursProfileNotice.vue.d.ts +10 -0
  122. package/dist/src/views/scheduling/components/ScheduleOnboardingPositions.vue.d.ts +6 -0
  123. package/dist/src/views/scheduling/components/ScheduleOnboardingReview.vue.d.ts +6 -0
  124. package/dist/src/views/scheduling/components/ScheduleOnboardingSettings.vue.d.ts +6 -0
  125. package/dist/src/views/scheduling/components/ScheduleOnboardingWelcome.vue.d.ts +11 -0
  126. package/dist/src/views/scheduling/components/ScheduleOnboardingWizard.vue.d.ts +9 -0
  127. package/dist/src/views/scheduling/components/ScheduleOnboardingWizardFooter.vue.d.ts +6 -0
  128. package/dist/src/views/scheduling/components/ScheduleOnboardingWizardHeader.vue.d.ts +11 -0
  129. package/dist/src/views/scheduling/components/SchedulePublishModal.vue.d.ts +8 -0
  130. package/dist/src/views/scheduling/components/SchedulePublishShareArt.vue.d.ts +2 -0
  131. package/dist/src/views/scheduling/components/ScheduleReviewBar.vue.d.ts +12 -0
  132. package/dist/src/views/scheduling/components/ScheduleSelect.vue.d.ts +70 -0
  133. package/dist/src/views/scheduling/components/ScheduleSelectExistingEmployeeModal.vue.d.ts +6 -0
  134. package/dist/src/views/scheduling/components/ScheduleSetupBanner.vue.d.ts +12 -0
  135. package/dist/src/views/scheduling/components/ScheduleShiftCell.vue.d.ts +35 -0
  136. package/dist/src/views/scheduling/components/ScheduleShiftHeadcountEditor.vue.d.ts +10 -0
  137. package/dist/src/views/scheduling/components/ScheduleShiftImpact.vue.d.ts +6 -0
  138. package/dist/src/views/scheduling/components/ScheduleShiftMoreOptions.vue.d.ts +8 -0
  139. package/dist/src/views/scheduling/components/ScheduleShiftPopover.vue.d.ts +16 -0
  140. package/dist/src/views/scheduling/components/ScheduleShiftRepeatDaysRow.vue.d.ts +8 -0
  141. package/dist/src/views/scheduling/components/ScheduleShiftSegmentsEditor.vue.d.ts +8 -0
  142. package/dist/src/views/scheduling/components/ScheduleShiftWhoPicker.vue.d.ts +25 -0
  143. package/dist/src/views/scheduling/components/ScheduleStaffRail.vue.d.ts +16 -0
  144. package/dist/src/views/scheduling/components/ScheduleStaffRows.vue.d.ts +50 -0
  145. package/dist/src/views/scheduling/components/ScheduleStatsRow.vue.d.ts +12 -0
  146. package/dist/src/views/scheduling/components/ScheduleSwapShiftsModal.vue.d.ts +8 -0
  147. package/dist/src/views/scheduling/components/ScheduleTimePickerPopover.vue.d.ts +6 -0
  148. package/dist/src/views/scheduling/components/ScheduleTopbar.vue.d.ts +20 -0
  149. package/dist/src/views/scheduling/composables/auto-schedule-mapping.d.ts +35 -0
  150. package/dist/src/views/scheduling/composables/onboarding-constants.d.ts +7 -0
  151. package/dist/src/views/scheduling/composables/onboarding-hours.d.ts +7 -0
  152. package/dist/src/views/scheduling/composables/onboarding-types.d.ts +51 -0
  153. package/dist/src/views/scheduling/composables/remyPrompt.d.ts +15 -0
  154. package/dist/src/views/scheduling/composables/schedule-add-employee-form.d.ts +82 -0
  155. package/dist/src/views/scheduling/composables/schedule-board-helpers.d.ts +63 -0
  156. package/dist/src/views/scheduling/composables/schedule-breaks.d.ts +9 -0
  157. package/dist/src/views/scheduling/composables/schedule-calendar.d.ts +17 -0
  158. package/dist/src/views/scheduling/composables/schedule-cost.d.ts +24 -0
  159. package/dist/src/views/scheduling/composables/schedule-currency.d.ts +22 -0
  160. package/dist/src/views/scheduling/composables/schedule-day-meta.d.ts +21 -0
  161. package/dist/src/views/scheduling/composables/schedule-demand-domain.d.ts +23 -0
  162. package/dist/src/views/scheduling/composables/schedule-employee-profile.d.ts +7 -0
  163. package/dist/src/views/scheduling/composables/schedule-error.d.ts +1 -0
  164. package/dist/src/views/scheduling/composables/schedule-export-matrix.d.ts +14 -0
  165. package/dist/src/views/scheduling/composables/schedule-leave-split.d.ts +9 -0
  166. package/dist/src/views/scheduling/composables/schedule-popover-position.d.ts +16 -0
  167. package/dist/src/views/scheduling/composables/schedule-quick-pick.d.ts +23 -0
  168. package/dist/src/views/scheduling/composables/schedule-shift-time.d.ts +29 -0
  169. package/dist/src/views/scheduling/composables/schedule-time.d.ts +8 -0
  170. package/dist/src/views/scheduling/composables/schedule-week-cache.d.ts +9 -0
  171. package/dist/src/views/scheduling/composables/useCollapsedList.d.ts +9 -0
  172. package/dist/src/views/scheduling/composables/useRemyAppStore.d.ts +16 -0
  173. package/dist/src/views/scheduling/composables/useScheduleAddEmployee.d.ts +137 -0
  174. package/dist/src/views/scheduling/composables/useScheduleAddPick.d.ts +75 -0
  175. package/dist/src/views/scheduling/composables/useScheduleAreaBoard.d.ts +50 -0
  176. package/dist/src/views/scheduling/composables/useScheduleAreaDragDrop.d.ts +11 -0
  177. package/dist/src/views/scheduling/composables/useScheduleAssignmentMutations.d.ts +13 -0
  178. package/dist/src/views/scheduling/composables/useScheduleAutoSchedule.d.ts +301 -0
  179. package/dist/src/views/scheduling/composables/useScheduleBoard.d.ts +615 -0
  180. package/dist/src/views/scheduling/composables/useScheduleCellState.d.ts +27 -0
  181. package/dist/src/views/scheduling/composables/useScheduleClashDetection.d.ts +28 -0
  182. package/dist/src/views/scheduling/composables/useScheduleCloneOutletModal.d.ts +21 -0
  183. package/dist/src/views/scheduling/composables/useScheduleCoach.d.ts +80 -0
  184. package/dist/src/views/scheduling/composables/useScheduleCopyWeek.d.ts +12 -0
  185. package/dist/src/views/scheduling/composables/useScheduleCostRail.d.ts +60 -0
  186. package/dist/src/views/scheduling/composables/useScheduleDayNote.d.ts +44 -0
  187. package/dist/src/views/scheduling/composables/useScheduleDayTimeline.d.ts +111 -0
  188. package/dist/src/views/scheduling/composables/useScheduleDemand.d.ts +59 -0
  189. package/dist/src/views/scheduling/composables/useScheduleDemandRow.d.ts +47 -0
  190. package/dist/src/views/scheduling/composables/useScheduleDemandSheet.d.ts +166 -0
  191. package/dist/src/views/scheduling/composables/useScheduleDragDrop.d.ts +55 -0
  192. package/dist/src/views/scheduling/composables/useScheduleEmployeeAccess.d.ts +24 -0
  193. package/dist/src/views/scheduling/composables/useScheduleEmployeeAvailability.d.ts +13 -0
  194. package/dist/src/views/scheduling/composables/useScheduleEmployeeCandidates.d.ts +49 -0
  195. package/dist/src/views/scheduling/composables/useScheduleEmployeeCompensation.d.ts +7 -0
  196. package/dist/src/views/scheduling/composables/useScheduleEmployeeForm.d.ts +22 -0
  197. package/dist/src/views/scheduling/composables/useScheduleEmployeeIdentity.d.ts +50 -0
  198. package/dist/src/views/scheduling/composables/useScheduleEmployeeMenu.d.ts +38 -0
  199. package/dist/src/views/scheduling/composables/useScheduleEmployeePersistence.d.ts +32 -0
  200. package/dist/src/views/scheduling/composables/useScheduleEmployeeProfile.d.ts +16 -0
  201. package/dist/src/views/scheduling/composables/useScheduleEmployeeValidation.d.ts +18 -0
  202. package/dist/src/views/scheduling/composables/useScheduleExport.d.ts +52 -0
  203. package/dist/src/views/scheduling/composables/useScheduleFilterBar.d.ts +14 -0
  204. package/dist/src/views/scheduling/composables/useScheduleGapPopover.d.ts +79 -0
  205. package/dist/src/views/scheduling/composables/useScheduleLeave.d.ts +60 -0
  206. package/dist/src/views/scheduling/composables/useScheduleLegend.d.ts +15 -0
  207. package/dist/src/views/scheduling/composables/useScheduleOnboardingAvailability.d.ts +58 -0
  208. package/dist/src/views/scheduling/composables/useScheduleOnboardingDemand.d.ts +45 -0
  209. package/dist/src/views/scheduling/composables/useScheduleOnboardingEmployees.d.ts +231 -0
  210. package/dist/src/views/scheduling/composables/useScheduleOnboardingFlow.d.ts +9 -0
  211. package/dist/src/views/scheduling/composables/useScheduleOnboardingHours.d.ts +15 -0
  212. package/dist/src/views/scheduling/composables/useScheduleOnboardingNavigation.d.ts +11 -0
  213. package/dist/src/views/scheduling/composables/useScheduleOnboardingPersistence.d.ts +13 -0
  214. package/dist/src/views/scheduling/composables/useScheduleOnboardingWizard.d.ts +1543 -0
  215. package/dist/src/views/scheduling/composables/useScheduleOutlet.d.ts +25 -0
  216. package/dist/src/views/scheduling/composables/useSchedulePageActions.d.ts +18 -0
  217. package/dist/src/views/scheduling/composables/useSchedulePageBootstrap.d.ts +9 -0
  218. package/dist/src/views/scheduling/composables/useSchedulePageCellActions.d.ts +21 -0
  219. package/dist/src/views/scheduling/composables/useSchedulePageCellDrop.d.ts +20 -0
  220. package/dist/src/views/scheduling/composables/useSchedulePageClearActions.d.ts +33 -0
  221. package/dist/src/views/scheduling/composables/useSchedulePageEmployeeActions.d.ts +22 -0
  222. package/dist/src/views/scheduling/composables/useSchedulePageOverlays.d.ts +21 -0
  223. package/dist/src/views/scheduling/composables/useSchedulePdfExport.d.ts +19 -0
  224. package/dist/src/views/scheduling/composables/useSchedulePositionModal.d.ts +55 -0
  225. package/dist/src/views/scheduling/composables/useSchedulePositions.d.ts +35 -0
  226. package/dist/src/views/scheduling/composables/useSchedulePublish.d.ts +127 -0
  227. package/dist/src/views/scheduling/composables/useSchedulePublishPersistence.d.ts +11 -0
  228. package/dist/src/views/scheduling/composables/useScheduleRangeCalendar.d.ts +27 -0
  229. package/dist/src/views/scheduling/composables/useScheduleRoster.d.ts +313 -0
  230. package/dist/src/views/scheduling/composables/useScheduleSettings.d.ts +40 -0
  231. package/dist/src/views/scheduling/composables/useScheduleSetupBanner.d.ts +17 -0
  232. package/dist/src/views/scheduling/composables/useScheduleShiftActions.d.ts +245 -0
  233. package/dist/src/views/scheduling/composables/useScheduleShiftDraft.d.ts +63 -0
  234. package/dist/src/views/scheduling/composables/useScheduleShiftPersistence.d.ts +17 -0
  235. package/dist/src/views/scheduling/composables/useScheduleShiftPopover.d.ts +255 -0
  236. package/dist/src/views/scheduling/composables/useScheduleStatsRow.d.ts +27 -0
  237. package/dist/src/views/scheduling/composables/useScheduleTimePicker.d.ts +49 -0
  238. package/dist/src/views/scheduling/composables/useScheduleTour.d.ts +95 -0
  239. package/dist/src/views/scheduling/composables/useScheduleViewportFit.d.ts +9 -0
  240. package/dist/src/views/scheduling/country-rules/index.d.ts +33 -0
  241. package/dist/src/views/scheduling/data.d.ts +123 -0
  242. package/dist/src/views/scheduling/locales/index.d.ts +6988 -0
  243. package/dist/src/views/scheduling/schedule-constants.d.ts +7 -0
  244. package/dist/src/views/scheduling/schedule-state.d.ts +767 -0
  245. package/dist/src/views/scheduling/schedule-store.d.ts +140 -0
  246. package/dist/src/views/scheduling/types.d.ts +381 -0
  247. package/dist/src/views/team/components/MemberGrantFields.vue.d.ts +2 -6
  248. package/dist/src/views/team/components/PortalConditionForm.vue.d.ts +2 -2
  249. package/dist/src/views/team/components/PosAssignmentRows.vue.d.ts +0 -2
  250. package/dist/src/views/team/condition-builders/ConditionBuilderForm.vue.d.ts +2 -2
  251. package/dist/src/views/team/member/AddMemberForm.vue.d.ts +0 -2
  252. package/dist/src/views/team/member/TeamMemberMasterUser.vue.d.ts +0 -2
  253. package/dist/style.css +1 -1
  254. package/dist/tsconfig.app.tsbuildinfo +1 -1
  255. package/dist/{useAppStore-CL6EEDuw.js → useAppStore-BPARQyvJ.js} +1 -1
  256. package/dist/useDiscardConfirm-CzZSPyvh.js +28 -0
  257. package/dist/{useLoading-BBjBUzGJ.js → useLoading-iPESFb6R.js} +1 -1
  258. package/dist/{useReportPermissions-Bg0fma6m.js → useReportPermissions-By-BoJZb.js} +5 -5
  259. package/package.json +5 -3
  260. package/dist/AuditLogList-Dd6HyFhk.js +0 -1777
  261. package/dist/FormItem.vue_vue_type_script_setup_true_lang-DPT2FoIc.js +0 -45
  262. package/dist/FormSection.vue_vue_type_script_setup_true_lang-DknXTYiK.js +0 -49
  263. package/dist/PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-B5QDOF0L.js +0 -1840
  264. package/dist/RoleList-ALmAwN0U.js +0 -739
  265. package/dist/SelectFilter-ATOm0hdn.js +0 -269
  266. package/dist/TeamMemberList-DZfEnOs1.js +0 -2097
  267. package/dist/restaurant-CKhT6kgj.js +0 -45
  268. package/dist/useDiscardConfirm-DPhEV6v0.js +0 -157
package/dist/app.js CHANGED
@@ -1,4 +1,4 @@
1
- import { F as e, E as o, H as p } from "./app-CdrnR_Pw.js";
1
+ import { H as e, F as o, I as p } from "./app-n6d4AmtP.js";
2
2
  export {
3
3
  e as FmApp,
4
4
  o as i18nMessages,
@@ -1,6 +1,6 @@
1
1
  import { defineStore as C } from "pinia";
2
2
  import { ref as l } from "vue";
3
- import { g as p, b as s } from "./app-CdrnR_Pw.js";
3
+ import { g as p, b as s } from "./app-n6d4AmtP.js";
4
4
  const n = {
5
5
  async getApprovalCodes() {
6
6
  return p(await s("approval-codes").get(""));
@@ -1,10 +1,10 @@
1
- import { h as Q, j as K } from "./app-CdrnR_Pw.js";
1
+ import { y as Q, x as K } from "./app-n6d4AmtP.js";
2
2
  var E = { exports: {} };
3
3
  (function(V, X) {
4
- (function(W, k) {
5
- V.exports = k();
4
+ (function(W, x) {
5
+ V.exports = x();
6
6
  })(K, function() {
7
- var W = 1e3, k = 6e4, N = 36e5, A = "millisecond", S = "second", w = "minute", O = "hour", M = "day", T = "week", m = "month", U = "quarter", v = "year", _ = "date", J = "Invalid Date", q = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, B = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, G = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(s) {
7
+ var W = 1e3, x = 6e4, N = 36e5, A = "millisecond", S = "second", w = "minute", O = "hour", M = "day", T = "week", m = "month", U = "quarter", y = "year", _ = "date", J = "Invalid Date", q = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, B = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, G = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(s) {
8
8
  var n = ["th", "st", "nd", "rd"], t = s % 100;
9
9
  return "[" + s + (n[(t - 20) % 10] || n[t] || n[0]) + "]";
10
10
  } }, I = function(s, n, t) {
@@ -20,16 +20,16 @@ var E = { exports: {} };
20
20
  }, a: function(s) {
21
21
  return s < 0 ? Math.ceil(s) || 0 : Math.floor(s);
22
22
  }, p: function(s) {
23
- return { M: m, y: v, w: T, d: M, D: _, h: O, m: w, s: S, ms: A, Q: U }[s] || String(s || "").toLowerCase().replace(/s$/, "");
23
+ return { M: m, y, w: T, d: M, D: _, h: O, m: w, s: S, ms: A, Q: U }[s] || String(s || "").toLowerCase().replace(/s$/, "");
24
24
  }, u: function(s) {
25
25
  return s === void 0;
26
- } }, x = "en", D = {};
27
- D[x] = G;
26
+ } }, k = "en", D = {};
27
+ D[k] = G;
28
28
  var Z = "$isDayjsObject", F = function(s) {
29
29
  return s instanceof C || !(!s || !s[Z]);
30
30
  }, j = function s(n, t, r) {
31
31
  var e;
32
- if (!n) return x;
32
+ if (!n) return k;
33
33
  if (typeof n == "string") {
34
34
  var i = n.toLowerCase();
35
35
  D[i] && (e = i), t && (D[i] = t, e = i);
@@ -39,7 +39,7 @@ var E = { exports: {} };
39
39
  var o = n.name;
40
40
  D[o] = n, e = o;
41
41
  }
42
- return !r && e && (x = e), e || !r && x;
42
+ return !r && e && (k = e), e || !r && k;
43
43
  }, f = function(s, n) {
44
44
  if (F(s)) return s.clone();
45
45
  var t = typeof n == "object" ? n : {};
@@ -90,13 +90,13 @@ var E = { exports: {} };
90
90
  return this.$d.getTime();
91
91
  }, n.startOf = function(t, r) {
92
92
  var e = this, i = !!a.u(r) || r, u = a.p(t), o = function(p, $) {
93
- var y = a.w(e.$u ? Date.UTC(e.$y, $, p) : new Date(e.$y, $, p), e);
94
- return i ? y : y.endOf(M);
93
+ var v = a.w(e.$u ? Date.UTC(e.$y, $, p) : new Date(e.$y, $, p), e);
94
+ return i ? v : v.endOf(M);
95
95
  }, c = function(p, $) {
96
96
  return a.w(e.toDate()[p].apply(e.toDate("s"), (i ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice($)), e);
97
97
  }, h = this.$W, d = this.$M, l = this.$D, b = "set" + (this.$u ? "UTC" : "");
98
98
  switch (u) {
99
- case v:
99
+ case y:
100
100
  return i ? o(1, 0) : o(31, 11);
101
101
  case m:
102
102
  return i ? o(1, d) : o(0, d + 1);
@@ -118,8 +118,8 @@ var E = { exports: {} };
118
118
  }, n.endOf = function(t) {
119
119
  return this.startOf(t, !1);
120
120
  }, n.$set = function(t, r) {
121
- var e, i = a.p(t), u = "set" + (this.$u ? "UTC" : ""), o = (e = {}, e[M] = u + "Date", e[_] = u + "Date", e[m] = u + "Month", e[v] = u + "FullYear", e[O] = u + "Hours", e[w] = u + "Minutes", e[S] = u + "Seconds", e[A] = u + "Milliseconds", e)[i], c = i === M ? this.$D + (r - this.$W) : r;
122
- if (i === m || i === v) {
121
+ var e, i = a.p(t), u = "set" + (this.$u ? "UTC" : ""), o = (e = {}, e[M] = u + "Date", e[_] = u + "Date", e[m] = u + "Month", e[y] = u + "FullYear", e[O] = u + "Hours", e[w] = u + "Minutes", e[S] = u + "Seconds", e[A] = u + "Milliseconds", e)[i], c = i === M ? this.$D + (r - this.$W) : r;
122
+ if (i === m || i === y) {
123
123
  var h = this.clone().set(_, 1);
124
124
  h.$d[o](c), h.init(), this.$d = h.set(_, Math.min(this.$D, h.daysInMonth())).$d;
125
125
  } else o && this.$d[o](c);
@@ -136,26 +136,26 @@ var E = { exports: {} };
136
136
  return a.w(l.date(l.date() + Math.round(d * t)), i);
137
137
  };
138
138
  if (u === m) return this.set(m, this.$M + t);
139
- if (u === v) return this.set(v, this.$y + t);
139
+ if (u === y) return this.set(y, this.$y + t);
140
140
  if (u === M) return o(1);
141
141
  if (u === T) return o(7);
142
- var c = (e = {}, e[w] = k, e[O] = N, e[S] = W, e)[u] || 1, h = this.$d.getTime() + t * c;
142
+ var c = (e = {}, e[w] = x, e[O] = N, e[S] = W, e)[u] || 1, h = this.$d.getTime() + t * c;
143
143
  return a.w(h, this);
144
144
  }, n.subtract = function(t, r) {
145
145
  return this.add(-1 * t, r);
146
146
  }, n.format = function(t) {
147
147
  var r = this, e = this.$locale();
148
148
  if (!this.isValid()) return e.invalidDate || J;
149
- var i = t || "YYYY-MM-DDTHH:mm:ssZ", u = a.z(this), o = this.$H, c = this.$m, h = this.$M, d = e.weekdays, l = e.months, b = e.meridiem, g = function($, y, H, L) {
150
- return $ && ($[y] || $(r, i)) || H[y].slice(0, L);
149
+ var i = t || "YYYY-MM-DDTHH:mm:ssZ", u = a.z(this), o = this.$H, c = this.$m, h = this.$M, d = e.weekdays, l = e.months, b = e.meridiem, g = function($, v, H, L) {
150
+ return $ && ($[v] || $(r, i)) || H[v].slice(0, L);
151
151
  }, Y = function($) {
152
152
  return a.s(o % 12 || 12, $, "0");
153
- }, p = b || function($, y, H) {
153
+ }, p = b || function($, v, H) {
154
154
  var L = $ < 12 ? "AM" : "PM";
155
155
  return H ? L.toLowerCase() : L;
156
156
  };
157
- return i.replace(B, function($, y) {
158
- return y || function(H) {
157
+ return i.replace(B, function($, v) {
158
+ return v || function(H) {
159
159
  switch (H) {
160
160
  case "YY":
161
161
  return String(r.$y).slice(-2);
@@ -212,11 +212,11 @@ var E = { exports: {} };
212
212
  }, n.utcOffset = function() {
213
213
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
214
214
  }, n.diff = function(t, r, e) {
215
- var i, u = this, o = a.p(r), c = f(t), h = (c.utcOffset() - this.utcOffset()) * k, d = this - c, l = function() {
215
+ var i, u = this, o = a.p(r), c = f(t), h = (c.utcOffset() - this.utcOffset()) * x, d = this - c, l = function() {
216
216
  return a.m(u, c);
217
217
  };
218
218
  switch (o) {
219
- case v:
219
+ case y:
220
220
  i = l() / 12;
221
221
  break;
222
222
  case m:
@@ -235,7 +235,7 @@ var E = { exports: {} };
235
235
  i = d / N;
236
236
  break;
237
237
  case w:
238
- i = d / k;
238
+ i = d / x;
239
239
  break;
240
240
  case S:
241
241
  i = d / W;
@@ -264,7 +264,7 @@ var E = { exports: {} };
264
264
  return this.$d.toUTCString();
265
265
  }, s;
266
266
  }(), z = C.prototype;
267
- return f.prototype = z, [["$ms", A], ["$s", S], ["$m", w], ["$H", O], ["$W", M], ["$M", m], ["$y", v], ["$D", _]].forEach(function(s) {
267
+ return f.prototype = z, [["$ms", A], ["$s", S], ["$m", w], ["$H", O], ["$W", M], ["$M", m], ["$y", y], ["$D", _]].forEach(function(s) {
268
268
  z[s[1]] = function(n) {
269
269
  return this.$g(n, s[0], s[1]);
270
270
  };
@@ -272,7 +272,7 @@ var E = { exports: {} };
272
272
  return s.$i || (s(n, C, f), s.$i = !0), f;
273
273
  }, f.locale = j, f.isDayjs = F, f.unix = function(s) {
274
274
  return f(1e3 * s);
275
- }, f.en = D[x], f.Ls = D, f.p = {}, f;
275
+ }, f.en = D[k], f.Ls = D, f.p = {}, f;
276
276
  });
277
277
  })(E);
278
278
  var R = E.exports;
@@ -1,34 +1,39 @@
1
- import { d as g } from "./dayjs.min-BO8bcI17.js";
1
+ import { d as g } from "./dayjs.min-DdNivv4b.js";
2
2
  import { defineStore as $, storeToRefs as x } from "pinia";
3
- import { ref as m } from "vue";
4
- import { s as E } from "./iteration-ZpERYj3o.js";
5
- import { b as l, g as f } from "./app-CdrnR_Pw.js";
3
+ import { ref as y } from "vue";
4
+ import { s as E } from "./iteration-y_jodvfN.js";
5
+ import { b as l, g as m } from "./app-n6d4AmtP.js";
6
6
  import { i as v } from "./utils-BZkjJbju.js";
7
- import { u as _ } from "./role-C6hFKOfU.js";
8
- import { u as I } from "./restaurant-CKhT6kgj.js";
7
+ import { u as P } from "./role-DfZi7Ssk.js";
8
+ import { u as I } from "./restaurant-Dl6yx37M.js";
9
9
  const o = {
10
10
  async readEmployees() {
11
- return f(await l().get("/pos-users"));
11
+ return m(await l().get("/pos-users"));
12
12
  },
13
13
  async readEmployeesPage(e) {
14
- var t, p;
15
- return f(
14
+ var t, i;
15
+ return m(
16
16
  await l().get("/pos-users/paged", {
17
17
  params: {
18
18
  limit: e.limit,
19
19
  offset: e.offset,
20
20
  search: e.search,
21
21
  restaurantIds: (t = e.restaurantIds) != null && t.length ? e.restaurantIds : void 0,
22
- roleIds: (p = e.roleIds) != null && p.length ? e.roleIds : void 0
22
+ roleIds: (i = e.roleIds) != null && i.length ? e.roleIds : void 0,
23
+ includeEmptyPasscode: e.includeEmptyPasscode || void 0
23
24
  }
24
25
  })
25
26
  );
26
27
  },
27
28
  async createEmployee(e) {
28
- await l().post("/pos-users", e);
29
+ return m(
30
+ await l().post("/pos-users", e)
31
+ ).employeeId;
29
32
  },
30
33
  async createMasterEmployee(e) {
31
- await l().post("/pos-users/master-user", e);
34
+ return m(
35
+ await l().post("/pos-users/master-user", e)
36
+ ).employeeId;
32
37
  },
33
38
  async migrateToMasterEmployee(e, t) {
34
39
  await l().put(`/pos-users/migrate/${e}`, t);
@@ -60,7 +65,7 @@ const o = {
60
65
  });
61
66
  },
62
67
  async generateEmployeePasscode(e) {
63
- return `${f(
68
+ return `${m(
64
69
  await l().post("/pos-users/generate-passcode", {
65
70
  restaurantIds: e.restaurantIds,
66
71
  excludePosUserId: e.excludePosUserId
@@ -72,8 +77,8 @@ const o = {
72
77
  }
73
78
  };
74
79
  async function T(e) {
75
- const t = _().roles.value, { restaurants: p } = I(), c = new Map(
76
- p.value.map((a) => [a._id, a.profile.name])
80
+ const t = P().roles.value, { restaurants: i } = I(), c = new Map(
81
+ i.value.map((a) => [a._id, a.profile.name])
77
82
  ), u = new Map(t.map((a) => [a._id, a.name])), r = /* @__PURE__ */ new Map();
78
83
  for (const a of e) {
79
84
  const n = {
@@ -91,16 +96,16 @@ async function T(e) {
91
96
  });
92
97
  continue;
93
98
  }
94
- d.restaurants.some((y) => y.restaurantId === a.restaurantId) || (d.restaurants = E([...d.restaurants, n], {
99
+ d.restaurants.some((f) => f.restaurantId === a.restaurantId) || (d.restaurants = E([...d.restaurants, n], {
95
100
  selector: "restaurantName"
96
101
  }));
97
102
  }
98
103
  return E([...r.values()], { selector: "name" });
99
104
  }
100
105
  function M(e) {
101
- const { restaurants: t } = I(), p = _().roles.value, c = new Map(
106
+ const { restaurants: t } = I(), i = P().roles.value, c = new Map(
102
107
  t.value.map((a) => [a._id, a])
103
- ), u = new Map(p.map((a) => [a._id, a.name])), r = e.restaurantRole[0];
108
+ ), u = new Map(i.map((a) => [a._id, a.name])), r = e.restaurantRole[0];
104
109
  return {
105
110
  _id: e._id,
106
111
  name: e.name,
@@ -127,7 +132,7 @@ function M(e) {
127
132
  };
128
133
  }
129
134
  const h = $("employee", () => {
130
- const e = I(), t = m([]), p = m([]), c = m(0), u = m(!1);
135
+ const e = I(), t = y([]), i = y([]), c = y(0), u = y(!1);
131
136
  async function r() {
132
137
  try {
133
138
  u.value = !0, await e.readRestaurants();
@@ -140,52 +145,52 @@ const h = $("employee", () => {
140
145
  async function a(s) {
141
146
  try {
142
147
  u.value = !0, await e.readRestaurants();
143
- const i = await o.readEmployeesPage(s);
144
- p.value = i.items.map(M), c.value = i.total;
148
+ const p = await o.readEmployeesPage(s);
149
+ i.value = p.items.map(M), c.value = p.total;
145
150
  } finally {
146
151
  u.value = !1;
147
152
  }
148
153
  }
149
- async function n(s, i) {
154
+ async function n(s, p) {
150
155
  await e.readRestaurants();
151
- const w = i ?? (await o.readEmployeesPage({ ...s, limit: 1, offset: 0 })).total;
156
+ const w = p ?? (await o.readEmployeesPage({ ...s, limit: 1, offset: 0 })).total;
152
157
  return w === 0 ? [] : (await o.readEmployeesPage({ ...s, limit: w, offset: 0 })).items.map(M);
153
158
  }
154
159
  async function d(s) {
155
- await o.createEmployee(s);
160
+ return o.createEmployee(s);
156
161
  }
157
- async function y(s, i) {
158
- await o.updateEmployee(s, i);
162
+ async function f(s, p) {
163
+ await o.updateEmployee(s, p);
159
164
  }
160
- async function P(s) {
165
+ async function _(s) {
161
166
  await o.deleteEmployee(s);
162
167
  }
163
168
  async function U(s) {
164
169
  await o.deleteMasterEmployee(s);
165
170
  }
166
171
  async function Y(s) {
167
- await o.createMasterEmployee(s);
172
+ return o.createMasterEmployee(s);
168
173
  }
169
- async function N(s, i) {
170
- await o.updateMasterEmployee(s, i);
174
+ async function N(s, p) {
175
+ await o.updateMasterEmployee(s, p);
171
176
  }
172
- async function S(s, i) {
173
- await o.migrateToMasterEmployee(s, i);
177
+ async function S(s, p) {
178
+ await o.migrateToMasterEmployee(s, p);
174
179
  }
175
180
  async function D() {
176
181
  await o.syncUsersMeta();
177
182
  }
178
183
  return {
179
184
  employees: t,
180
- listEmployees: p,
185
+ listEmployees: i,
181
186
  totalEmployees: c,
182
187
  isLoading: u,
183
188
  readEmployees: r,
184
189
  readEmployeesPage: a,
185
190
  readAllEmployeesPage: n,
186
191
  createEmployee: d,
187
- updateEmployee: y,
188
- deleteEmployee: P,
192
+ updateEmployee: f,
193
+ deleteEmployee: _,
189
194
  createMasterEmployee: Y,
190
195
  updateMasterEmployee: N,
191
196
  deleteMasterEmployee: U,
@@ -1,6 +1,6 @@
1
1
  import { defineStore as f } from "pinia";
2
2
  import { ref as u } from "vue";
3
- import { g as s, e as v, b as o } from "./app-CdrnR_Pw.js";
3
+ import { g as s, h as v, b as o } from "./app-n6d4AmtP.js";
4
4
  const c = {
5
5
  async getGrantUsers() {
6
6
  return s(await o("grant").get(""));
@@ -1,4 +1,4 @@
1
- import { j as B } from "./app-CdrnR_Pw.js";
1
+ import { x as B } from "./app-n6d4AmtP.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 { j as jt } from "./app-CdrnR_Pw.js";
1
+ import { x as jt } from "./app-n6d4AmtP.js";
2
2
  var Jr = { exports: {} };
3
3
  /**
4
4
  * @license
@@ -1,5 +1,5 @@
1
- import { m as i, w as u } from "./app-CdrnR_Pw.js";
2
- import { n as a, l as m, q as l, o as d, m as p } from "./rule-BlMymDXm.js";
1
+ import { m as i, s as u } from "./app-n6d4AmtP.js";
2
+ import { n as a, l as m, q as l, o as d, m as p } from "./rule-ChmhcGgA.js";
3
3
  const f = [
4
4
  i.Subject.Business.restaurant,
5
5
  i.Subject.Business.role,
@@ -0,0 +1,16 @@
1
+ import { toRaw as n } from "vue";
2
+ function t(r) {
3
+ return JSON.parse(JSON.stringify(r));
4
+ }
5
+ function o(r) {
6
+ if (typeof structuredClone > "u")
7
+ return t(r);
8
+ try {
9
+ return structuredClone(n(r));
10
+ } catch {
11
+ return t(r);
12
+ }
13
+ }
14
+ export {
15
+ o as c
16
+ };
@@ -0,0 +1,51 @@
1
+ import { defineStore as p, storeToRefs as m } from "pinia";
2
+ import { ref as o } from "vue";
3
+ import { useCoreStore as R } from "@feedmepos/mf-common";
4
+ import { b as d, g } from "./app-n6d4AmtP.js";
5
+ const y = {
6
+ async readRestaurants() {
7
+ return g(await d().get("/hr-restaurants"));
8
+ },
9
+ async saveOperationalHours(e, n) {
10
+ await d(`restaurants/${e}/schedules`).patch(
11
+ "operational-hours",
12
+ { operatingHours: n }
13
+ );
14
+ }
15
+ }, w = p("restaurant", () => {
16
+ const { currentBusiness: e } = R(), n = o([]), l = o(!1), u = o(null);
17
+ let a = null, t = null;
18
+ async function v(i = !1) {
19
+ var c, f;
20
+ const s = ((c = e.value) == null ? void 0 : c._id) ?? ((f = e.value) == null ? void 0 : f.id) ?? null;
21
+ if (!s) {
22
+ n.value = [], u.value = null, a = null, t = null;
23
+ return;
24
+ }
25
+ if (u.value && u.value !== s && (n.value = [], u.value = null), t && t !== s && (a = null, t = null), !i && u.value === s) return;
26
+ if (!i && a && t === s)
27
+ return await a;
28
+ let r = null;
29
+ try {
30
+ l.value = !0, r = (async () => {
31
+ n.value = await y.readRestaurants(), u.value = s;
32
+ })(), a = r, t = s, await r;
33
+ } finally {
34
+ a === r && (a = null, t = null), l.value = !1;
35
+ }
36
+ }
37
+ return {
38
+ restaurants: n,
39
+ isLoading: l,
40
+ readRestaurants: v
41
+ };
42
+ }), B = () => {
43
+ const e = w();
44
+ return {
45
+ ...e,
46
+ ...m(e)
47
+ };
48
+ };
49
+ export {
50
+ B as u
51
+ };
@@ -1,9 +1,9 @@
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-ZpERYj3o.js";
5
- import { g as f, b as p } from "./app-CdrnR_Pw.js";
6
- import { u as I } from "./restaurant-CKhT6kgj.js";
4
+ import { s as v } from "./iteration-y_jodvfN.js";
5
+ import { g as f, b as p } from "./app-n6d4AmtP.js";
6
+ import { u as I } from "./restaurant-Dl6yx37M.js";
7
7
  const R = {
8
8
  async readRoles() {
9
9
  return f(await p().get("/pos-roles"));
@@ -1,10 +1,10 @@
1
- import { s as W, c as q, e as y } from "./iteration-ZpERYj3o.js";
2
- import { g, b as v, y as O, v as z, m as _, z as F, l as x, C as S, O as ee, D as B } from "./app-CdrnR_Pw.js";
1
+ import { s as W, c as q, e as y } from "./iteration-y_jodvfN.js";
2
+ import { g, b as v, z as O, q as z, m as _, C as F, v as x, E as S, O as ee, D as B } from "./app-n6d4AmtP.js";
3
3
  import { s as se } from "./utils-BZkjJbju.js";
4
4
  import { defineStore as V, storeToRefs as K } from "pinia";
5
5
  import { ref as h, computed as J } from "vue";
6
6
  import { useCoreStore as X } from "@feedmepos/mf-common";
7
- import { u as te } from "./restaurant-CKhT6kgj.js";
7
+ import { u as te } from "./restaurant-Dl6yx37M.js";
8
8
  const E = "/permission-sets", N = {
9
9
  async read() {
10
10
  return g(await v().get(E));
@@ -759,18 +759,18 @@ function Se(e, s = []) {
759
759
  export {
760
760
  G as N,
761
761
  Q as P,
762
- pe as R,
763
- Me as a,
764
- de as b,
762
+ oe as R,
763
+ ge as a,
764
+ Te as b,
765
765
  H as c,
766
- ge as d,
767
- Le as e,
768
- Fe as f,
769
- Je as g,
766
+ fe as d,
767
+ Fe as e,
768
+ Me as f,
769
+ de as g,
770
770
  Be as h,
771
- oe as i,
772
- Te as j,
773
- fe as k,
771
+ Je as i,
772
+ Le as j,
773
+ pe as k,
774
774
  Ne as l,
775
775
  Ae as m,
776
776
  Ue as n,
@@ -12,6 +12,8 @@ declare const AuditLogAPI: {
12
12
  search?: string;
13
13
  searchUserIds?: string[];
14
14
  searchSubjects?: string[];
15
+ sources?: string[];
16
+ restaurantIds?: string[];
15
17
  }): Promise<number>;
16
18
  read(params?: {
17
19
  limit?: number;
@@ -27,6 +29,8 @@ declare const AuditLogAPI: {
27
29
  search?: string;
28
30
  searchUserIds?: string[];
29
31
  searchSubjects?: string[];
32
+ sources?: string[];
33
+ restaurantIds?: string[];
30
34
  }): Promise<AuditLogEntry[]>;
31
35
  /**
32
36
  * FeedMe-admin options for the User filter. `actors` is the named admin list (internal
@@ -7,8 +7,8 @@ export interface IGeneratePasscodeParams {
7
7
  declare const EmployeeAPI: {
8
8
  readEmployees(): Promise<IFdtoPosUser[]>;
9
9
  readEmployeesPage(query: IReadEmployeesPageReq): Promise<IFdtoEmployeePage>;
10
- createEmployee(dto: FdtoUpdatePosUserReq): Promise<void>;
11
- createMasterEmployee(dto: FdtoUpdatePosMasterUserReq): Promise<void>;
10
+ createEmployee(dto: FdtoUpdatePosUserReq): Promise<string>;
11
+ createMasterEmployee(dto: FdtoUpdatePosMasterUserReq): Promise<string>;
12
12
  migrateToMasterEmployee(employeeId: string, dto: FdtoUpdatePosMasterUserReq): Promise<void>;
13
13
  updateEmployee(employeeId: string, dto: FdtoUpdatePosUserReq): Promise<void>;
14
14
  updateMasterEmployee(employeeId: string, dto: FdtoUpdatePosMasterUserReq): Promise<void>;
@@ -1,5 +1,7 @@
1
1
  import type { HrmRestaurant } from '@/types/restaurant';
2
+ import type { FdtoScheduleDayOperatingHours } from '@feedmepos/hrm-schedule-contract';
2
3
  declare const RestaurantAPI: {
3
4
  readRestaurants(): Promise<HrmRestaurant[]>;
5
+ saveOperationalHours(restaurantId: string, operatingHours: FdtoScheduleDayOperatingHours[]): Promise<void>;
4
6
  };
5
7
  export default RestaurantAPI;
@@ -0,0 +1,68 @@
1
+ import type { FdtoScheduleAssignment, FdtoScheduleAutoScheduleApplyReq, FdtoScheduleAutoScheduleApplyResult, FdtoScheduleAutoScheduleCapabilities, FdtoScheduleAutoScheduleGenerateReq, FdtoScheduleAutoScheduleResult, FdtoScheduleBoard, FdtoScheduleBulkUpdateAssignmentStatusReq, FdtoScheduleBulkSaveAssignmentsReq, FdtoScheduleBulkSaveAssignmentsResult, FdtoScheduleBulkReplaceDemandReq, FdtoScheduleClearScheduleReq, FdtoScheduleCopyScheduleReq, FdtoScheduleCreateEmployeeProfileReq, FdtoScheduleEmployeeConfig, FdtoScheduleDemand, FdtoScheduleEmployee, FdtoSchedulePosition, FdtoScheduleSaveAssignmentReq, FdtoScheduleSaveDemandReq, FdtoScheduleSaveEmployeeConfigsReq, FdtoScheduleSavePositionReq, FdtoScheduleSaveScheduleDayReq, FdtoScheduleSaveSettingsReq, FdtoScheduleReplaceDemandReq, FdtoScheduleSettings, FdtoScheduleScheduleDay, FdtoScheduleUpdateEmployeeProfileReq, FdtoScheduleCompleteOnboardingReq, FdtoScheduleValidatePosAccessReq, FdtoScheduleCreateTimeOffReq, FdtoScheduleTimeOff, FdtoScheduleUpdateTimeOffStatusReq } from '@/types/schedule';
2
+ declare const ScheduleAPI: {
3
+ completeOnboarding(restaurantId: string, req: FdtoScheduleCompleteOnboardingReq): Promise<any>;
4
+ listEmployeeProfiles(employeeIds?: string[]): Promise<FdtoScheduleEmployee[]>;
5
+ listEmployeeConfigs(restaurantId: string): Promise<FdtoScheduleEmployeeConfig[]>;
6
+ saveEmployeeConfigs(restaurantId: string, req: FdtoScheduleSaveEmployeeConfigsReq): Promise<FdtoScheduleEmployeeConfig[]>;
7
+ getSettings(restaurantId: string): Promise<FdtoScheduleSettings>;
8
+ saveSettings(restaurantId: string, req: FdtoScheduleSaveSettingsReq): Promise<FdtoScheduleSettings>;
9
+ generateAutoSchedule(restaurantId: string, req: FdtoScheduleAutoScheduleGenerateReq): Promise<FdtoScheduleAutoScheduleResult>;
10
+ getAutoScheduleCapabilities(restaurantId: string): Promise<FdtoScheduleAutoScheduleCapabilities>;
11
+ applyAutoSchedule(restaurantId: string, req: FdtoScheduleAutoScheduleApplyReq): Promise<FdtoScheduleAutoScheduleApplyResult>;
12
+ /** One outlet's whole board over `[from, to]` (inclusive, 'YYYY-MM-DD'). */
13
+ readBoard(restaurantId: string, from: string, to: string): Promise<FdtoScheduleBoard>;
14
+ createTimeOff(restaurantId: string, req: FdtoScheduleCreateTimeOffReq): Promise<FdtoScheduleTimeOff>;
15
+ updateTimeOffStatus(restaurantId: string, id: string, req: FdtoScheduleUpdateTimeOffStatusReq): Promise<FdtoScheduleTimeOff | null>;
16
+ deleteTimeOff(restaurantId: string, id: string): Promise<void>;
17
+ /** Creates or updates the employee's shared business-level scheduling profile. */
18
+ createEmployeeProfile(_restaurantId: string, req: FdtoScheduleCreateEmployeeProfileReq): Promise<FdtoScheduleEmployee>;
19
+ /** Edits the employee's shared business-level scheduling profile. */
20
+ updateEmployeeProfile(_restaurantId: string, employeeId: string, req: FdtoScheduleUpdateEmployeeProfileReq): Promise<FdtoScheduleEmployee>;
21
+ validatePosAccess(req: FdtoScheduleValidatePosAccessReq): Promise<void>;
22
+ /** Positions are shared across the business. */
23
+ createPosition(req: FdtoScheduleSavePositionReq): Promise<FdtoSchedulePosition>;
24
+ updatePosition(id: string, req: FdtoScheduleSavePositionReq): Promise<FdtoSchedulePosition>;
25
+ /** Deleting one position is `deletePositions` with a single-id array — the backend's
26
+ * `DELETE positions/:id` route is gone; this is now `DELETE positions?ids=`. */
27
+ deletePosition(id: string): Promise<void>;
28
+ /** Creates one flat demand interval. */
29
+ createDemand(restaurantId: string, req: FdtoScheduleSaveDemandReq): Promise<FdtoScheduleDemand>;
30
+ /** Deletes a batch of demands in one request — e.g. `saveDemand` replacing a whole
31
+ * day/weekday's demand rows wholesale. Deleting one demand is just this with a single-id
32
+ * array. */
33
+ deleteDemands(restaurantId: string, ids: string[]): Promise<{
34
+ ok: true;
35
+ deletedCount: number;
36
+ }>;
37
+ /** Atomically replaces one date/weekday's flattened demand rows. */
38
+ replaceDemands(restaurantId: string, req: FdtoScheduleReplaceDemandReq): Promise<FdtoScheduleDemand[]>;
39
+ /** Atomically replaces several date/weekday demand generations. */
40
+ bulkReplaceDemands(restaurantId: string, req: FdtoScheduleBulkReplaceDemandReq): Promise<FdtoScheduleDemand[]>;
41
+ /** Replaces one date's note/holiday-mark. All three fields back to empty/false clears it. */
42
+ saveScheduleDay(restaurantId: string, date: string, req: FdtoScheduleSaveScheduleDayReq): Promise<FdtoScheduleScheduleDay | null>;
43
+ /** A one-off shift assignment. */
44
+ createAssignment(restaurantId: string, req: FdtoScheduleSaveAssignmentReq): Promise<FdtoScheduleAssignment>;
45
+ updateAssignment(restaurantId: string, id: string, req: FdtoScheduleSaveAssignmentReq): Promise<FdtoScheduleAssignment | null>;
46
+ /** Atomically applies assignment updates, creates, and deletes used by moves and swaps. */
47
+ bulkSaveAssignments(restaurantId: string, req: FdtoScheduleBulkSaveAssignmentsReq): Promise<FdtoScheduleBulkSaveAssignmentsResult>;
48
+ /** Replaces demand and/or assignments in one backend transaction. */
49
+ copySchedule(restaurantId: string, req: FdtoScheduleCopyScheduleReq): Promise<any>;
50
+ /** Clears demand and/or assignments in one backend transaction. */
51
+ clearSchedule(restaurantId: string, req: FdtoScheduleClearScheduleReq): Promise<any>;
52
+ /** Deletes a batch of assignments in one request — e.g. a shift split into several segments
53
+ * getting replaced wholesale. Deleting one assignment is just this with a single-id
54
+ * array. */
55
+ deleteAssignments(restaurantId: string, ids: string[]): Promise<{
56
+ ok: true;
57
+ deletedCount: number;
58
+ }>;
59
+ /** Removes all assignments for an employee from the inclusive removal date onward. */
60
+ deleteEmployeeFutureAssignments(restaurantId: string, employeeId: string, from: string): Promise<{
61
+ ok: true;
62
+ deletedCount: number;
63
+ }>;
64
+ /** Flips a batch of assignments to one status in a single request — e.g. Publish sending
65
+ * every DRAFT shift on the board to PUBLISHED at once. */
66
+ bulkUpdateAssignmentStatus(restaurantId: string, req: FdtoScheduleBulkUpdateAssignmentStatusReq): Promise<FdtoScheduleAssignment[]>;
67
+ };
68
+ export default ScheduleAPI;
@@ -0,0 +1,5 @@
1
+ import type { IFdtoSsoProvider } from '@/types/sso-provider';
2
+ declare const SsoProviderAPI: {
3
+ readProviders(): Promise<IFdtoSsoProvider[]>;
4
+ };
5
+ export default SsoProviderAPI;
@@ -1,6 +1,5 @@
1
- import type { IFdtoCreateStaffInviteReq, IFdtoCreateStaffInviteRes, IFdtoResendStaffInviteRes, IFdtoStaffInvite, IFdtoStaffInviteLookup, IFdtoStaffInviteProvider, IFdtoUpdateStaffInviteReq } from '@/types/staff-invite';
1
+ import type { IFdtoCreateStaffInviteReq, IFdtoCreateStaffInviteRes, IFdtoResendStaffInviteRes, IFdtoStaffInvite, IFdtoStaffInviteLookup, IFdtoUpdateStaffInviteReq } from '@/types/staff-invite';
2
2
  declare const StaffInviteAPI: {
3
- readProviders(): Promise<IFdtoStaffInviteProvider[]>;
4
3
  readInvites(status?: IFdtoStaffInvite["status"]): Promise<IFdtoStaffInvite[]>;
5
4
  lookup(key: {
6
5
  mobile: string;
@@ -12,7 +12,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
12
12
  default: undefined;
13
13
  };
14
14
  required: {
15
- type: (StringConstructor | BooleanConstructor)[];
15
+ type: (BooleanConstructor | StringConstructor)[];
16
16
  default: boolean;
17
17
  };
18
18
  inline: {
@@ -25,7 +25,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
25
25
  default: undefined;
26
26
  };
27
27
  required: {
28
- type: (StringConstructor | BooleanConstructor)[];
28
+ type: (BooleanConstructor | StringConstructor)[];
29
29
  default: boolean;
30
30
  };
31
31
  inline: {