@feedmepos/mf-hrm-portal 2.2.5 → 2.3.0-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.
- package/dist/{ApprovalCodeList-Df5_U7Fj.js → ApprovalCodeList-CJaNPHZC.js} +7 -7
- package/dist/{AuditLogList-BT-YM-CP.js → AuditLogList-CHA98ZqW.js} +19 -18
- package/dist/{ConditionBuilderForm.vue_vue_type_script_setup_true_lang-Df3IHAyZ.js → ConditionBuilderForm.vue_vue_type_script_setup_true_lang-C7rvthEI.js} +2 -2
- package/dist/{EmployeeList-BfhG5ktC.js → EmployeeList-CVmMKt71.js} +31 -30
- package/dist/{FormItem.vue_vue_type_script_setup_true_lang-DPT2FoIc.js → FormItem.vue_vue_type_script_setup_true_lang-CUnlKsxk.js} +1 -1
- package/dist/{GrantUserList-B_WhIR9L.js → GrantUserList-MYjgt5-F.js} +8 -8
- package/dist/{Main-Cxwiaabw.js → Main-BgB9lD4K.js} +11 -11
- package/dist/{Main-DKOPDO1K.js → Main-C0cnqQ3B.js} +8 -8
- package/dist/{Main-CGrtJkUl.js → Main-hlcHtrsc.js} +5 -5
- package/dist/{PermissionSetList-CqiLsqaj.js → PermissionSetList-5f1WIaVa.js} +7 -7
- package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-CmNTqB0v.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-CFoTAGIX.js} +1340 -1340
- package/dist/{PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-Z-DH7ouY.js → PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-fe-Rdwn4.js} +1 -1
- package/dist/{RoleList-iudKGaCg.js → RoleList-DNR4miXr.js} +9 -9
- package/dist/ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-B4VUyKW3.js +470 -0
- package/dist/ScheduleGeneralPage-Cd5AlY4z.js +666 -0
- package/dist/ScheduleModal.vue_vue_type_script_setup_true_lang-Cf0l2MRg.js +2188 -0
- package/dist/SchedulePage-C8m0-m3l.js +18257 -0
- package/dist/SchedulePositionPage-DyRckyUx.js +264 -0
- package/dist/SelectFilter-CG13h83-.js +264 -0
- package/dist/{TeamMemberList-D_8d24Vw.js → TeamMemberList-mw5OveZG.js} +38 -37
- package/dist/{TimesheetList-VvIiAVLt.js → TimesheetList-BzXarZbM.js} +54 -53
- package/dist/{TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-Bmiz85Y3.js → TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-Dq5i4poN.js} +3 -3
- package/dist/_plugin-vue_export-helper-CHgC5LLL.js +9 -0
- package/dist/{app-CVqQjVFY.js → app-DSsdRLHg.js} +3252 -2475
- package/dist/app.js +1 -1
- package/dist/{approval-code-BRClD2HN.js → approval-code-C9DmR4Md.js} +1 -1
- package/dist/{dayjs.min-Bhe9FtFt.js → dayjs.min-B6xBXQtU.js} +1 -1
- package/dist/{employee-thZndJWE.js → employee-hMhzuqk1.js} +29 -28
- package/dist/{grant-user-Dhi3ilC_.js → grant-user-Bv-pJ9Wt.js} +1 -1
- package/dist/{iteration-Cd5fl3-x.js → iteration-B34AvpNC.js} +1 -1
- package/dist/{lodash-DiJ9xZIF.js → lodash-1Vyuy7Mu.js} +1 -1
- package/dist/{restaurant-DiYb0pCm.js → restaurant-D7PEQjPY.js} +258 -252
- package/dist/{role-DdizOTVB.js → role-DKOrgO6f.js} +2 -2
- package/dist/{rule-CYFm43rI.js → rule-CBzQ3GeV.js} +36 -36
- package/dist/src/api/restaurant/index.d.ts +2 -0
- package/dist/src/api/schedule/index.d.ts +55 -0
- package/dist/src/components/layout/PortalShell.vue.d.ts +12 -0
- package/dist/src/components/layout/withScheduleShell.d.ts +10 -0
- package/dist/src/composables/useMessage.d.ts +8 -2
- package/dist/src/router/shared.d.ts +4 -1
- package/dist/src/types/employee.d.ts +1 -0
- package/dist/src/types/schedule.d.ts +24 -0
- package/dist/src/views/scheduling/ScheduleGeneralPage.vue.d.ts +3 -0
- package/dist/src/views/scheduling/SchedulePage.vue.d.ts +3 -0
- package/dist/src/views/scheduling/SchedulePositionPage.vue.d.ts +3 -0
- package/dist/src/views/scheduling/components/ScheduleAddEmployeeIdentitySection.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleAddEmployeeModal.vue.d.ts +12 -0
- package/dist/src/views/scheduling/components/ScheduleAddEmployeeModeStep.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleAddEmployeePosAccessSection.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleAddEmployeePositionsSection.vue.d.ts +10 -0
- package/dist/src/views/scheduling/components/ScheduleAddEmployeeSchedulingSection.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleAddPickPopover.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleAddPositionModal.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleAllShiftsRow.vue.d.ts +22 -0
- package/dist/src/views/scheduling/components/ScheduleAreaRows.vue.d.ts +45 -0
- package/dist/src/views/scheduling/components/ScheduleAssignEmployeePopover.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleAutoScheduleDetailsModal.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleAutoScheduleModal.vue.d.ts +10 -0
- package/dist/src/views/scheduling/components/ScheduleBoardAreaRows.vue.d.ts +28 -0
- package/dist/src/views/scheduling/components/ScheduleBoardEditOverlays.vue.d.ts +19 -0
- package/dist/src/views/scheduling/components/ScheduleBoardEmployeeRows.vue.d.ts +38 -0
- package/dist/src/views/scheduling/components/ScheduleBoardGridHeader.vue.d.ts +24 -0
- package/dist/src/views/scheduling/components/ScheduleBoardInteractionOverlays.vue.d.ts +38 -0
- package/dist/src/views/scheduling/components/ScheduleBoardOnboardingOverlays.vue.d.ts +25 -0
- package/dist/src/views/scheduling/components/ScheduleBoardRails.vue.d.ts +17 -0
- package/dist/src/views/scheduling/components/ScheduleBoardToolbar.vue.d.ts +39 -0
- package/dist/src/views/scheduling/components/ScheduleBoardUtilityOverlays.vue.d.ts +22 -0
- package/dist/src/views/scheduling/components/ScheduleButton.vue.d.ts +23 -0
- package/dist/src/views/scheduling/components/ScheduleChangeEmployeeModal.vue.d.ts +8 -0
- package/dist/src/views/scheduling/components/ScheduleCloneOutletModal.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleCoach.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleCompletionDialog.vue.d.ts +15 -0
- package/dist/src/views/scheduling/components/ScheduleConfirmModal.vue.d.ts +32 -0
- package/dist/src/views/scheduling/components/ScheduleContextMenu.vue.d.ts +21 -0
- package/dist/src/views/scheduling/components/ScheduleCostRail.vue.d.ts +8 -0
- package/dist/src/views/scheduling/components/ScheduleCostRailEmptyArt.vue.d.ts +2 -0
- package/dist/src/views/scheduling/components/ScheduleDateRangePopover.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleDayNotePopover.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleDayTimeline.vue.d.ts +12 -0
- package/dist/src/views/scheduling/components/ScheduleDemandRow.vue.d.ts +23 -0
- package/dist/src/views/scheduling/components/ScheduleDemandSheet.vue.d.ts +10 -0
- package/dist/src/views/scheduling/components/ScheduleDotsIcon.vue.d.ts +2 -0
- package/dist/src/views/scheduling/components/ScheduleEmployeeDetailPanel.vue.d.ts +12 -0
- package/dist/src/views/scheduling/components/ScheduleEmployeeIdentity.vue.d.ts +17 -0
- package/dist/src/views/scheduling/components/ScheduleExportPreview.vue.d.ts +7 -0
- package/dist/src/views/scheduling/components/ScheduleFilterBar.vue.d.ts +18 -0
- package/dist/src/views/scheduling/components/ScheduleGapPopover.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleGridHeader.vue.d.ts +18 -0
- package/dist/src/views/scheduling/components/ScheduleGridSkeleton.vue.d.ts +2 -0
- package/dist/src/views/scheduling/components/ScheduleLeaveEditModal.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleLoadState.vue.d.ts +10 -0
- package/dist/src/views/scheduling/components/ScheduleModal.vue.d.ts +26 -0
- package/dist/src/views/scheduling/components/ScheduleOnboardingClosedDayConfirm.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleOnboardingDemandDays.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleOnboardingDemandFooter.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleOnboardingDemandHeader.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleOnboardingDoneArt.vue.d.ts +2 -0
- package/dist/src/views/scheduling/components/ScheduleOnboardingHoursProfileNotice.vue.d.ts +10 -0
- package/dist/src/views/scheduling/components/ScheduleOnboardingPositions.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleOnboardingReview.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleOnboardingWelcome.vue.d.ts +11 -0
- package/dist/src/views/scheduling/components/ScheduleOnboardingWizard.vue.d.ts +9 -0
- package/dist/src/views/scheduling/components/ScheduleOnboardingWizardFooter.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleOnboardingWizardHeader.vue.d.ts +11 -0
- package/dist/src/views/scheduling/components/SchedulePublishModal.vue.d.ts +8 -0
- package/dist/src/views/scheduling/components/ScheduleReviewBar.vue.d.ts +12 -0
- package/dist/src/views/scheduling/components/ScheduleSelect.vue.d.ts +60 -0
- package/dist/src/views/scheduling/components/ScheduleSelectExistingEmployeeModal.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleSetupBanner.vue.d.ts +12 -0
- package/dist/src/views/scheduling/components/ScheduleShiftCell.vue.d.ts +35 -0
- package/dist/src/views/scheduling/components/ScheduleShiftHeadcountEditor.vue.d.ts +10 -0
- package/dist/src/views/scheduling/components/ScheduleShiftImpact.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleShiftMoreOptions.vue.d.ts +8 -0
- package/dist/src/views/scheduling/components/ScheduleShiftPopover.vue.d.ts +16 -0
- package/dist/src/views/scheduling/components/ScheduleShiftRepeatDaysRow.vue.d.ts +8 -0
- package/dist/src/views/scheduling/components/ScheduleShiftSegmentsEditor.vue.d.ts +8 -0
- package/dist/src/views/scheduling/components/ScheduleShiftWhoPicker.vue.d.ts +25 -0
- package/dist/src/views/scheduling/components/ScheduleStackPopover.vue.d.ts +14 -0
- package/dist/src/views/scheduling/components/ScheduleStaffRail.vue.d.ts +16 -0
- package/dist/src/views/scheduling/components/ScheduleStaffRows.vue.d.ts +60 -0
- package/dist/src/views/scheduling/components/ScheduleStatsRow.vue.d.ts +12 -0
- package/dist/src/views/scheduling/components/ScheduleSwapShiftsModal.vue.d.ts +8 -0
- package/dist/src/views/scheduling/components/ScheduleTimePickerPopover.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleTopbar.vue.d.ts +20 -0
- package/dist/src/views/scheduling/composables/auto-schedule-mapping.d.ts +33 -0
- package/dist/src/views/scheduling/composables/onboarding-constants.d.ts +5 -0
- package/dist/src/views/scheduling/composables/onboarding-hours.d.ts +7 -0
- package/dist/src/views/scheduling/composables/onboarding-types.d.ts +50 -0
- package/dist/src/views/scheduling/composables/remyPrompt.d.ts +13 -0
- package/dist/src/views/scheduling/composables/schedule-add-employee-form.d.ts +78 -0
- package/dist/src/views/scheduling/composables/schedule-board-helpers.d.ts +59 -0
- package/dist/src/views/scheduling/composables/schedule-breaks.d.ts +9 -0
- package/dist/src/views/scheduling/composables/schedule-calendar.d.ts +7 -0
- package/dist/src/views/scheduling/composables/schedule-cost.d.ts +19 -0
- package/dist/src/views/scheduling/composables/schedule-day-meta.d.ts +23 -0
- package/dist/src/views/scheduling/composables/schedule-demand-domain.d.ts +11 -0
- package/dist/src/views/scheduling/composables/schedule-employee-profile.d.ts +7 -0
- package/dist/src/views/scheduling/composables/schedule-export-matrix.d.ts +14 -0
- package/dist/src/views/scheduling/composables/schedule-popover-position.d.ts +16 -0
- package/dist/src/views/scheduling/composables/schedule-shift-time.d.ts +26 -0
- package/dist/src/views/scheduling/composables/schedule-time.d.ts +8 -0
- package/dist/src/views/scheduling/composables/schedule-week-cache.d.ts +7 -0
- package/dist/src/views/scheduling/composables/useCollapsedList.d.ts +9 -0
- package/dist/src/views/scheduling/composables/useRemyAppStore.d.ts +10 -0
- package/dist/src/views/scheduling/composables/useScheduleAddEmployee.d.ts +102 -0
- package/dist/src/views/scheduling/composables/useScheduleAddPick.d.ts +81 -0
- package/dist/src/views/scheduling/composables/useScheduleAllShiftsRow.d.ts +77 -0
- package/dist/src/views/scheduling/composables/useScheduleAreaBoard.d.ts +63 -0
- package/dist/src/views/scheduling/composables/useScheduleAreaDragDrop.d.ts +18 -0
- package/dist/src/views/scheduling/composables/useScheduleAssign.d.ts +124 -0
- package/dist/src/views/scheduling/composables/useScheduleAssignmentMutations.d.ts +13 -0
- package/dist/src/views/scheduling/composables/useScheduleAutoSchedule.d.ts +289 -0
- package/dist/src/views/scheduling/composables/useScheduleBoard.d.ts +539 -0
- package/dist/src/views/scheduling/composables/useScheduleCellState.d.ts +27 -0
- package/dist/src/views/scheduling/composables/useScheduleClashDetection.d.ts +28 -0
- package/dist/src/views/scheduling/composables/useScheduleCloneOutletModal.d.ts +21 -0
- package/dist/src/views/scheduling/composables/useScheduleCoach.d.ts +80 -0
- package/dist/src/views/scheduling/composables/useScheduleCopyWeek.d.ts +19 -0
- package/dist/src/views/scheduling/composables/useScheduleCostRail.d.ts +48 -0
- package/dist/src/views/scheduling/composables/useScheduleDayNote.d.ts +45 -0
- package/dist/src/views/scheduling/composables/useScheduleDayTimeline.d.ts +100 -0
- package/dist/src/views/scheduling/composables/useScheduleDemand.d.ts +61 -0
- package/dist/src/views/scheduling/composables/useScheduleDemandRow.d.ts +47 -0
- package/dist/src/views/scheduling/composables/useScheduleDemandSheet.d.ts +156 -0
- package/dist/src/views/scheduling/composables/useScheduleDragDrop.d.ts +54 -0
- package/dist/src/views/scheduling/composables/useScheduleEmployeeAccess.d.ts +11 -0
- package/dist/src/views/scheduling/composables/useScheduleEmployeeAvailability.d.ts +13 -0
- package/dist/src/views/scheduling/composables/useScheduleEmployeeCandidates.d.ts +26 -0
- package/dist/src/views/scheduling/composables/useScheduleEmployeeCompensation.d.ts +7 -0
- package/dist/src/views/scheduling/composables/useScheduleEmployeeForm.d.ts +22 -0
- package/dist/src/views/scheduling/composables/useScheduleEmployeeIdentity.d.ts +50 -0
- package/dist/src/views/scheduling/composables/useScheduleEmployeeMenu.d.ts +38 -0
- package/dist/src/views/scheduling/composables/useScheduleEmployeePersistence.d.ts +25 -0
- package/dist/src/views/scheduling/composables/useScheduleEmployeeProfile.d.ts +16 -0
- package/dist/src/views/scheduling/composables/useScheduleEmployeeValidation.d.ts +18 -0
- package/dist/src/views/scheduling/composables/useScheduleExport.d.ts +51 -0
- package/dist/src/views/scheduling/composables/useScheduleFilterBar.d.ts +14 -0
- package/dist/src/views/scheduling/composables/useScheduleGapPopover.d.ts +77 -0
- package/dist/src/views/scheduling/composables/useScheduleLeave.d.ts +59 -0
- package/dist/src/views/scheduling/composables/useScheduleLegend.d.ts +15 -0
- package/dist/src/views/scheduling/composables/useScheduleOnboardingAvailability.d.ts +58 -0
- package/dist/src/views/scheduling/composables/useScheduleOnboardingDemand.d.ts +45 -0
- package/dist/src/views/scheduling/composables/useScheduleOnboardingEmployees.d.ts +187 -0
- package/dist/src/views/scheduling/composables/useScheduleOnboardingFlow.d.ts +9 -0
- package/dist/src/views/scheduling/composables/useScheduleOnboardingHours.d.ts +15 -0
- package/dist/src/views/scheduling/composables/useScheduleOnboardingNavigation.d.ts +11 -0
- package/dist/src/views/scheduling/composables/useScheduleOnboardingPersistence.d.ts +13 -0
- package/dist/src/views/scheduling/composables/useScheduleOnboardingWizard.d.ts +1145 -0
- package/dist/src/views/scheduling/composables/useScheduleOpenShiftCard.d.ts +23 -0
- package/dist/src/views/scheduling/composables/useScheduleOutlet.d.ts +22 -0
- package/dist/src/views/scheduling/composables/useSchedulePageActions.d.ts +18 -0
- package/dist/src/views/scheduling/composables/useSchedulePageBootstrap.d.ts +9 -0
- package/dist/src/views/scheduling/composables/useSchedulePageCellActions.d.ts +21 -0
- package/dist/src/views/scheduling/composables/useSchedulePageCellDrop.d.ts +18 -0
- package/dist/src/views/scheduling/composables/useSchedulePageClearActions.d.ts +20 -0
- package/dist/src/views/scheduling/composables/useSchedulePageEmployeeActions.d.ts +22 -0
- package/dist/src/views/scheduling/composables/useSchedulePageOverlays.d.ts +25 -0
- package/dist/src/views/scheduling/composables/useSchedulePdfExport.d.ts +19 -0
- package/dist/src/views/scheduling/composables/useSchedulePositionModal.d.ts +54 -0
- package/dist/src/views/scheduling/composables/useSchedulePositions.d.ts +29 -0
- package/dist/src/views/scheduling/composables/useSchedulePublish.d.ts +124 -0
- package/dist/src/views/scheduling/composables/useSchedulePublishPersistence.d.ts +11 -0
- package/dist/src/views/scheduling/composables/useScheduleRangeCalendar.d.ts +27 -0
- package/dist/src/views/scheduling/composables/useScheduleRoster.d.ts +247 -0
- package/dist/src/views/scheduling/composables/useScheduleSettings.d.ts +35 -0
- package/dist/src/views/scheduling/composables/useScheduleSetupBanner.d.ts +17 -0
- package/dist/src/views/scheduling/composables/useScheduleShiftActions.d.ts +207 -0
- package/dist/src/views/scheduling/composables/useScheduleShiftDraft.d.ts +62 -0
- package/dist/src/views/scheduling/composables/useScheduleShiftPersistence.d.ts +17 -0
- package/dist/src/views/scheduling/composables/useScheduleShiftPopover.d.ts +214 -0
- package/dist/src/views/scheduling/composables/useScheduleStatsRow.d.ts +27 -0
- package/dist/src/views/scheduling/composables/useScheduleTimePicker.d.ts +49 -0
- package/dist/src/views/scheduling/composables/useScheduleTour.d.ts +95 -0
- package/dist/src/views/scheduling/composables/useScheduleViewportFit.d.ts +9 -0
- package/dist/src/views/scheduling/country-rules/index.d.ts +24 -0
- package/dist/src/views/scheduling/data.d.ts +102 -0
- package/dist/src/views/scheduling/locales/index.d.ts +688 -0
- package/dist/src/views/scheduling/schedule-constants.d.ts +7 -0
- package/dist/src/views/scheduling/schedule-state.d.ts +703 -0
- package/dist/src/views/scheduling/schedule-store.d.ts +110 -0
- package/dist/src/views/scheduling/types.d.ts +356 -0
- package/dist/src/views/team/components/PortalConditionForm.vue.d.ts +2 -2
- package/dist/src/views/team/condition-builders/ConditionBuilderForm.vue.d.ts +2 -2
- package/dist/style.css +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{useAppStore-BGhlB1_1.js → useAppStore-d_nHyK5u.js} +1 -1
- package/dist/{useLoading-CvgqVDbF.js → useLoading-JFoghhRz.js} +1 -1
- package/dist/{useReportPermissions-hVMtRNmj.js → useReportPermissions-B2ev0j4w.js} +3 -3
- package/package.json +4 -2
- package/dist/SelectFilter-ATOm0hdn.js +0 -269
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { ScheduleOnboardingWizardApi } from '../composables/useScheduleOnboardingWizard';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
wizard: ScheduleOnboardingWizardApi;
|
|
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,6 @@
|
|
|
1
|
+
import type { ScheduleOnboardingWizardApi } from '../composables/useScheduleOnboardingWizard';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
wizard: ScheduleOnboardingWizardApi;
|
|
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,11 @@
|
|
|
1
|
+
import type { useScheduleSetupBanner } from '../composables/useScheduleSetupBanner';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
setupBanner: ReturnType<typeof useScheduleSetupBanner>;
|
|
4
|
+
outletName: string;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
+
setUp: () => any;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
9
|
+
onSetUp?: (() => any) | undefined;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ScheduleOnboardingWizardApi } from '../composables/useScheduleOnboardingWizard';
|
|
2
|
+
import { type ScheduleTimePickerApi } from '../composables/useScheduleTimePicker';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
wizard: ScheduleOnboardingWizardApi;
|
|
5
|
+
outletName: string;
|
|
6
|
+
timePicker: ScheduleTimePickerApi;
|
|
7
|
+
};
|
|
8
|
+
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>;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { ScheduleOnboardingWizardApi } from '../composables/useScheduleOnboardingWizard';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
wizard: ScheduleOnboardingWizardApi;
|
|
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,11 @@
|
|
|
1
|
+
import type { ScheduleOnboardingWizardApi } from '../composables/useScheduleOnboardingWizard';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
wizard: ScheduleOnboardingWizardApi;
|
|
4
|
+
outletName: string;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
+
close: () => any;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
9
|
+
onClose?: (() => any) | undefined;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ScheduleBoardApi } from '../composables/useScheduleBoard';
|
|
2
|
+
import type { SchedulePublishApi } from '../composables/useSchedulePublish';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
board: ScheduleBoardApi;
|
|
5
|
+
publish: SchedulePublishApi;
|
|
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,12 @@
|
|
|
1
|
+
import type { ScheduleAutoScheduleApi } from '../composables/useScheduleAutoSchedule';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
autoSchedule: ScheduleAutoScheduleApi;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
+
applied: (count: number) => any;
|
|
7
|
+
appliedAndPublish: (count: number) => any;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
9
|
+
onApplied?: ((count: number) => any) | undefined;
|
|
10
|
+
onAppliedAndPublish?: ((count: number) => any) | undefined;
|
|
11
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,60 @@
|
|
|
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
|
+
disabled?: boolean;
|
|
9
|
+
group?: string;
|
|
10
|
+
/** Second line under the label. Any option carrying one switches the menu to the rich
|
|
11
|
+
* layout (bold name, muted hint, tick on the right), as V6.2's outlet menu does. */
|
|
12
|
+
hint?: string;
|
|
13
|
+
/** A command rather than a choice ("+ Add a new position…"): drawn in the brand colour, as
|
|
14
|
+
* V6.2 draws it, so it stops reading as one more thing the field could be set to. */
|
|
15
|
+
command?: boolean;
|
|
16
|
+
}
|
|
17
|
+
declare const _default: import("vue").DefineComponent<{
|
|
18
|
+
modelValue?: string;
|
|
19
|
+
options: ScheduleSelectOption[];
|
|
20
|
+
/** Multi-select: the menu stays open on a pick, rows show a tick for every value in
|
|
21
|
+
* `selected`, and a pick emits `toggle` instead of `update:modelValue`. Commands still
|
|
22
|
+
* close the menu and emit `update:modelValue`. */
|
|
23
|
+
multiple?: boolean;
|
|
24
|
+
selected?: string[];
|
|
25
|
+
/** Closed-control text while a multi-select has nothing picked. */
|
|
26
|
+
placeholder?: string;
|
|
27
|
+
disabled?: boolean;
|
|
28
|
+
/** Heading over the menu. Also switches to the rich layout. */
|
|
29
|
+
menuTitle?: string;
|
|
30
|
+
/** A filter box at the top of the menu, for lists long enough to hunt through (outlets). */
|
|
31
|
+
searchable?: boolean;
|
|
32
|
+
/** Disable body teleporting for SSR or tests that want to keep the menu in the component tree. */
|
|
33
|
+
teleport?: boolean;
|
|
34
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
35
|
+
toggle: (value: string) => any;
|
|
36
|
+
"update:modelValue": (value: string) => any;
|
|
37
|
+
}, string, import("vue").PublicProps, Readonly<{
|
|
38
|
+
modelValue?: string;
|
|
39
|
+
options: ScheduleSelectOption[];
|
|
40
|
+
/** Multi-select: the menu stays open on a pick, rows show a tick for every value in
|
|
41
|
+
* `selected`, and a pick emits `toggle` instead of `update:modelValue`. Commands still
|
|
42
|
+
* close the menu and emit `update:modelValue`. */
|
|
43
|
+
multiple?: boolean;
|
|
44
|
+
selected?: string[];
|
|
45
|
+
/** Closed-control text while a multi-select has nothing picked. */
|
|
46
|
+
placeholder?: string;
|
|
47
|
+
disabled?: boolean;
|
|
48
|
+
/** Heading over the menu. Also switches to the rich layout. */
|
|
49
|
+
menuTitle?: string;
|
|
50
|
+
/** A filter box at the top of the menu, for lists long enough to hunt through (outlets). */
|
|
51
|
+
searchable?: boolean;
|
|
52
|
+
/** Disable body teleporting for SSR or tests that want to keep the menu in the component tree. */
|
|
53
|
+
teleport?: boolean;
|
|
54
|
+
}> & Readonly<{
|
|
55
|
+
onToggle?: ((value: string) => any) | undefined;
|
|
56
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
57
|
+
}>, {
|
|
58
|
+
teleport: boolean;
|
|
59
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
60
|
+
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,14 @@
|
|
|
1
|
+
import type { ScheduleBoardApi } from '../composables/useScheduleBoard';
|
|
2
|
+
import type { ScheduleAllShiftsRowApi } from '../composables/useScheduleAllShiftsRow';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
board: ScheduleBoardApi;
|
|
5
|
+
row: ScheduleAllShiftsRowApi;
|
|
6
|
+
};
|
|
7
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
|
+
editShift: (empId: number, dayIdx: number) => any;
|
|
9
|
+
openAssign: (openId: number) => any;
|
|
10
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
11
|
+
onEditShift?: ((empId: number, dayIdx: number) => any) | undefined;
|
|
12
|
+
onOpenAssign?: ((openId: number) => any) | undefined;
|
|
13
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
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,60 @@
|
|
|
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 { ScheduleOpenShiftCardApi } from '../composables/useScheduleOpenShiftCard';
|
|
6
|
+
import type { ScheduleAllShiftsRowApi } from '../composables/useScheduleAllShiftsRow';
|
|
7
|
+
import type { ScheduleDemandRowApi } from '../composables/useScheduleDemandRow';
|
|
8
|
+
type __VLS_Props = {
|
|
9
|
+
board: ScheduleBoardApi;
|
|
10
|
+
dragDrop: ScheduleDragDropApi;
|
|
11
|
+
roster: ScheduleRosterApi;
|
|
12
|
+
openShiftCard: ScheduleOpenShiftCardApi;
|
|
13
|
+
allShiftsRow: ScheduleAllShiftsRowApi;
|
|
14
|
+
demandRow: ScheduleDemandRowApi;
|
|
15
|
+
proposalAt?: (empId: number, dayIdx: number) => Proposal | undefined;
|
|
16
|
+
};
|
|
17
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
18
|
+
addEmployee: () => any;
|
|
19
|
+
addShift: (empId: number, dayIdx: number, anchor: HTMLElement) => any;
|
|
20
|
+
editShift: (empId: number, dayIdx: number, slotIndex?: number | undefined) => any;
|
|
21
|
+
editLeave: (empId: number, dayIdx: number) => any;
|
|
22
|
+
dragEnd: () => any;
|
|
23
|
+
toggleProposal: (id: number) => any;
|
|
24
|
+
proposalDragStart: (id: number, ev: DragEvent) => any;
|
|
25
|
+
proposalDragEnd: () => any;
|
|
26
|
+
openAssign: (openId: number) => any;
|
|
27
|
+
openOpenShiftMenu: (openId: number, anchor: HTMLElement) => any;
|
|
28
|
+
addOpenShift: (dayIdx: number) => any;
|
|
29
|
+
segEnter: (dayIdx: number, from: number, to: number, anchor: HTMLElement) => any;
|
|
30
|
+
segLeave: () => any;
|
|
31
|
+
segClick: (dayIdx: number, from: number, to: number, anchor: HTMLElement) => any;
|
|
32
|
+
segFocus: (dayIdx: number, from: number, to: number, anchor: HTMLElement) => any;
|
|
33
|
+
openEmployee: (empId: number) => any;
|
|
34
|
+
openEmployeeMenu: (empId: number, anchor: HTMLElement) => any;
|
|
35
|
+
dragShiftStart: (empId: number, dayIdx: number, ev: DragEvent, slotIndex: number) => any;
|
|
36
|
+
dropOnCell: (empId: number, dayIdx: number, ev: DragEvent) => any;
|
|
37
|
+
openDemandSheet: (dayIdx: number) => any;
|
|
38
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
39
|
+
onAddEmployee?: (() => any) | undefined;
|
|
40
|
+
onAddShift?: ((empId: number, dayIdx: number, anchor: HTMLElement) => any) | undefined;
|
|
41
|
+
onEditShift?: ((empId: number, dayIdx: number, slotIndex?: number | undefined) => any) | undefined;
|
|
42
|
+
onEditLeave?: ((empId: number, dayIdx: number) => any) | undefined;
|
|
43
|
+
onDragEnd?: (() => any) | undefined;
|
|
44
|
+
onToggleProposal?: ((id: number) => any) | undefined;
|
|
45
|
+
onProposalDragStart?: ((id: number, ev: DragEvent) => any) | undefined;
|
|
46
|
+
onProposalDragEnd?: (() => any) | undefined;
|
|
47
|
+
onOpenAssign?: ((openId: number) => any) | undefined;
|
|
48
|
+
onOpenOpenShiftMenu?: ((openId: number, anchor: HTMLElement) => any) | undefined;
|
|
49
|
+
onAddOpenShift?: ((dayIdx: number) => any) | undefined;
|
|
50
|
+
onSegEnter?: ((dayIdx: number, from: number, to: number, anchor: HTMLElement) => any) | undefined;
|
|
51
|
+
onSegLeave?: (() => any) | undefined;
|
|
52
|
+
onSegClick?: ((dayIdx: number, from: number, to: number, anchor: HTMLElement) => any) | undefined;
|
|
53
|
+
onSegFocus?: ((dayIdx: number, from: number, to: number, anchor: HTMLElement) => any) | undefined;
|
|
54
|
+
onOpenEmployee?: ((empId: number) => any) | undefined;
|
|
55
|
+
onOpenEmployeeMenu?: ((empId: number, anchor: HTMLElement) => any) | undefined;
|
|
56
|
+
onDragShiftStart?: ((empId: number, dayIdx: number, ev: DragEvent, slotIndex: number) => any) | undefined;
|
|
57
|
+
onDropOnCell?: ((empId: number, dayIdx: number, ev: DragEvent) => any) | undefined;
|
|
58
|
+
onOpenDemandSheet?: ((dayIdx: number) => any) | undefined;
|
|
59
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
60
|
+
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,33 @@
|
|
|
1
|
+
import type { FdtoScheduleAutoScheduleApplyReq, FdtoScheduleAutoScheduleObjective, FdtoScheduleAutoSchedulePlanner, 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): FdtoScheduleAutoScheduleApplyReq;
|
|
12
|
+
export interface ClassifiedExplanation {
|
|
13
|
+
kind: 'reject' | 'ai' | 'plain';
|
|
14
|
+
text: string;
|
|
15
|
+
}
|
|
16
|
+
/** Sorts one `result.explanations` line into what the Details panel renders it as. The matched
|
|
17
|
+
* prefix is stripped from `text` in every case — the panel re-adds its own label/marker for
|
|
18
|
+
* `reject` and `ai`, so the raw wire prefix never doubles up with it. */
|
|
19
|
+
export declare function classifyExplanation(line: string): ClassifiedExplanation;
|
|
20
|
+
/** Whether `error` is a server refusal whose own message is meant for the user: a client error
|
|
21
|
+
* (0 < status < 500). A network failure (0) or a server error (5xx) is not. */
|
|
22
|
+
export declare function isClientRefusal(error: unknown): error is ApiError;
|
|
23
|
+
/** A client-error refusal shows its own message; a network failure or 5xx shows the generic one. */
|
|
24
|
+
export declare function generateErrorMessage(error: unknown): string;
|
|
25
|
+
/** The result shown when "fill gaps" is off: nothing proposed, one explanation. */
|
|
26
|
+
export declare function fillGapsOffResult(week: {
|
|
27
|
+
from: string;
|
|
28
|
+
to: string;
|
|
29
|
+
}, objective: FdtoScheduleAutoScheduleObjective, allowOvertime: boolean): FdtoScheduleAutoScheduleResult;
|
|
30
|
+
/** The snackbar shown once a run finishes, whether it went to the server or (fill gaps off) was
|
|
31
|
+
* answered locally. `wallMs` is measured client-side around the request — it is what the manager
|
|
32
|
+
* actually waited, not just the server's own `timing.totalMs`. */
|
|
33
|
+
export declare function generateDoneMessage(result: FdtoScheduleAutoScheduleResult, requested: FdtoScheduleAutoSchedulePlanner, wallMs: number): string;
|
|
@@ -0,0 +1,5 @@
|
|
|
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__";
|
|
@@ -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,50 @@
|
|
|
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
|
+
second: string;
|
|
27
|
+
employment: TeamEmployment;
|
|
28
|
+
maxHours: string;
|
|
29
|
+
rate: string;
|
|
30
|
+
basis: TeamBasis;
|
|
31
|
+
}
|
|
32
|
+
export interface AvailDay {
|
|
33
|
+
on: boolean;
|
|
34
|
+
from: string;
|
|
35
|
+
to: string;
|
|
36
|
+
}
|
|
37
|
+
export interface AvailRow {
|
|
38
|
+
offDays: boolean[];
|
|
39
|
+
days: AvailDay[];
|
|
40
|
+
}
|
|
41
|
+
export interface ReviewRow {
|
|
42
|
+
step: ScheduleOnboardingStep;
|
|
43
|
+
title: string;
|
|
44
|
+
text: string;
|
|
45
|
+
sub?: string;
|
|
46
|
+
}
|
|
47
|
+
export interface IntroRecapRow {
|
|
48
|
+
label: string;
|
|
49
|
+
value: string;
|
|
50
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
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 sentence prefilled into the host Remy panel. Names the outlet the way a manager knows it;
|
|
12
|
+
* Remy resolves it to an id itself (hrm_find_outlet), so no identifier appears in the text. */
|
|
13
|
+
export declare function remyDemandPrompt(outletName: string, scope: RemyDemandScope): string;
|