@feedmepos/mf-hrm-portal 2.2.5 → 2.3.0-dev.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ApprovalCodeList-Df5_U7Fj.js → ApprovalCodeList-BLA2rhLB.js} +7 -7
- package/dist/{AuditLogList-BT-YM-CP.js → AuditLogList-DBYdZhZl.js} +19 -18
- package/dist/{ConditionBuilderForm.vue_vue_type_script_setup_true_lang-Df3IHAyZ.js → ConditionBuilderForm.vue_vue_type_script_setup_true_lang-CtCEzPbE.js} +2 -2
- package/dist/{EmployeeList-BfhG5ktC.js → EmployeeList-CA7DWLmy.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-BYnegeEr.js} +8 -8
- package/dist/{Main-DKOPDO1K.js → Main-BeXx0hAc.js} +8 -8
- package/dist/{Main-CGrtJkUl.js → Main-Dh-gZSaa.js} +5 -5
- package/dist/{Main-Cxwiaabw.js → Main-NDK7LUmm.js} +11 -11
- package/dist/{PermissionSetList-CqiLsqaj.js → PermissionSetList-DDIacDpQ.js} +7 -7
- package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-CmNTqB0v.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-ONMn3v_f.js} +875 -875
- 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-BVz6q3HE.js} +1 -1
- package/dist/{RoleList-iudKGaCg.js → RoleList-B30FHIzu.js} +9 -9
- package/dist/ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-CRRguWTG.js +492 -0
- package/dist/ScheduleGeneralPage-8gEeZbFR.js +776 -0
- package/dist/ScheduleModal.vue_vue_type_script_setup_true_lang-TfxTAjO8.js +2252 -0
- package/dist/SchedulePage-DQ0VXWWi.js +17832 -0
- package/dist/SchedulePositionPage-oGIDGneA.js +264 -0
- package/dist/SelectFilter-CG13h83-.js +264 -0
- package/dist/{TeamMemberList-D_8d24Vw.js → TeamMemberList-Drj6R4Y3.js} +38 -37
- package/dist/{TimesheetList-VvIiAVLt.js → TimesheetList-CDQfN5LE.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-Bx-6hjs7.js} +3 -3
- package/dist/_plugin-vue_export-helper-CHgC5LLL.js +9 -0
- package/dist/{app-CVqQjVFY.js → app-DWe_4-ct.js} +3256 -2475
- package/dist/app.js +1 -1
- package/dist/{approval-code-BRClD2HN.js → approval-code-DHsUgc4K.js} +1 -1
- package/dist/{dayjs.min-Bhe9FtFt.js → dayjs.min-QSwC9dtX.js} +1 -1
- package/dist/{employee-thZndJWE.js → employee-Bb2b3dP6.js} +29 -28
- package/dist/{grant-user-Dhi3ilC_.js → grant-user-qzKHFTro.js} +1 -1
- package/dist/{iteration-Cd5fl3-x.js → iteration-TDU7bFxZ.js} +1 -1
- package/dist/{lodash-DiJ9xZIF.js → lodash-D3Ns5VMN.js} +1 -1
- package/dist/{restaurant-DiYb0pCm.js → restaurant-BbYRA_IT.js} +259 -252
- package/dist/{role-DdizOTVB.js → role-D57Le_-U.js} +2 -2
- package/dist/{rule-CYFm43rI.js → rule-DzesUEX7.js} +36 -36
- package/dist/src/api/restaurant/index.d.ts +2 -0
- package/dist/src/api/schedule/index.d.ts +58 -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 +23 -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/ScheduleAreaRows.vue.d.ts +37 -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 +23 -0
- package/dist/src/views/scheduling/components/ScheduleBoardEditOverlays.vue.d.ts +17 -0
- package/dist/src/views/scheduling/components/ScheduleBoardEmployeeRows.vue.d.ts +31 -0
- package/dist/src/views/scheduling/components/ScheduleBoardGridHeader.vue.d.ts +24 -0
- package/dist/src/views/scheduling/components/ScheduleBoardInteractionOverlays.vue.d.ts +32 -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 +38 -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 +17 -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 +9 -0
- package/dist/src/views/scheduling/components/ScheduleModal.vue.d.ts +26 -0
- package/dist/src/views/scheduling/components/ScheduleOnboardingAssignPositionModal.vue.d.ts +6 -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/SchedulePublishShareArt.vue.d.ts +2 -0
- package/dist/src/views/scheduling/components/ScheduleReviewBar.vue.d.ts +12 -0
- package/dist/src/views/scheduling/components/ScheduleSelect.vue.d.ts +70 -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/ScheduleStaffRail.vue.d.ts +16 -0
- package/dist/src/views/scheduling/components/ScheduleStaffRows.vue.d.ts +50 -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 +82 -0
- package/dist/src/views/scheduling/composables/schedule-board-helpers.d.ts +63 -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 +21 -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 +15 -0
- package/dist/src/views/scheduling/composables/useScheduleAddEmployee.d.ts +114 -0
- package/dist/src/views/scheduling/composables/useScheduleAddPick.d.ts +81 -0
- package/dist/src/views/scheduling/composables/useScheduleAreaBoard.d.ts +50 -0
- package/dist/src/views/scheduling/composables/useScheduleAreaDragDrop.d.ts +12 -0
- package/dist/src/views/scheduling/composables/useScheduleAssignmentMutations.d.ts +13 -0
- package/dist/src/views/scheduling/composables/useScheduleAutoSchedule.d.ts +292 -0
- package/dist/src/views/scheduling/composables/useScheduleBoard.d.ts +562 -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 +44 -0
- package/dist/src/views/scheduling/composables/useScheduleDayTimeline.d.ts +97 -0
- package/dist/src/views/scheduling/composables/useScheduleDemand.d.ts +59 -0
- package/dist/src/views/scheduling/composables/useScheduleDemandRow.d.ts +47 -0
- package/dist/src/views/scheduling/composables/useScheduleDemandSheet.d.ts +159 -0
- package/dist/src/views/scheduling/composables/useScheduleDragDrop.d.ts +54 -0
- package/dist/src/views/scheduling/composables/useScheduleEmployeeAccess.d.ts +16 -0
- package/dist/src/views/scheduling/composables/useScheduleEmployeeAvailability.d.ts +13 -0
- package/dist/src/views/scheduling/composables/useScheduleEmployeeCandidates.d.ts +27 -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 +29 -0
- package/dist/src/views/scheduling/composables/useScheduleEmployeeProfile.d.ts +16 -0
- package/dist/src/views/scheduling/composables/useScheduleEmployeeValidation.d.ts +20 -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 +79 -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 +205 -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 +1345 -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 +21 -0
- package/dist/src/views/scheduling/composables/useSchedulePdfExport.d.ts +19 -0
- package/dist/src/views/scheduling/composables/useSchedulePositionModal.d.ts +55 -0
- package/dist/src/views/scheduling/composables/useSchedulePositions.d.ts +29 -0
- package/dist/src/views/scheduling/composables/useSchedulePublish.d.ts +126 -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 +267 -0
- package/dist/src/views/scheduling/composables/useScheduleSettings.d.ts +40 -0
- package/dist/src/views/scheduling/composables/useScheduleSetupBanner.d.ts +17 -0
- package/dist/src/views/scheduling/composables/useScheduleShiftActions.d.ts +217 -0
- package/dist/src/views/scheduling/composables/useScheduleShiftDraft.d.ts +63 -0
- package/dist/src/views/scheduling/composables/useScheduleShiftPersistence.d.ts +17 -0
- package/dist/src/views/scheduling/composables/useScheduleShiftPopover.d.ts +226 -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 +106 -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 +767 -0
- package/dist/src/views/scheduling/schedule-store.d.ts +118 -0
- package/dist/src/views/scheduling/types.d.ts +373 -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-BoLkvkE2.js} +1 -1
- package/dist/{useLoading-CvgqVDbF.js → useLoading-Ch1AUYT1.js} +1 -1
- package/dist/{useReportPermissions-hVMtRNmj.js → useReportPermissions-Cmuead1K.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,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,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
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,70 @@
|
|
|
1
|
+
/** One row of the menu. `group` heads the rows that carry it — consecutive options sharing
|
|
2
|
+
* a group are drawn under one heading, the way an `<optgroup>` would. A disabled option is a
|
|
3
|
+
* statement rather than a choice ("No position yet" is the field saying the catalogue is
|
|
4
|
+
* empty), so it is dimmed and inert rather than offered and refused. */
|
|
5
|
+
export interface ScheduleSelectOption {
|
|
6
|
+
value: string;
|
|
7
|
+
label: string;
|
|
8
|
+
/** Stable identity used when two options can share the same display value. */
|
|
9
|
+
id?: string;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
group?: string;
|
|
12
|
+
/** Second line under the label. Any option carrying one switches the menu to the rich
|
|
13
|
+
* layout (bold name, muted hint, tick on the right), as V6.2's outlet menu does. */
|
|
14
|
+
hint?: string;
|
|
15
|
+
/** A command rather than a choice ("+ Add a new position…"): drawn in the brand colour, as
|
|
16
|
+
* V6.2 draws it, so it stops reading as one more thing the field could be set to. */
|
|
17
|
+
command?: boolean;
|
|
18
|
+
}
|
|
19
|
+
declare const _default: import("vue").DefineComponent<{
|
|
20
|
+
modelValue?: string;
|
|
21
|
+
options: ScheduleSelectOption[];
|
|
22
|
+
/** Multi-select: the menu stays open on a pick, rows show a tick for every value in
|
|
23
|
+
* `selected`, and a pick emits `toggle` instead of `update:modelValue`. Commands still
|
|
24
|
+
* close the menu and emit `update:modelValue`. */
|
|
25
|
+
multiple?: boolean;
|
|
26
|
+
selected?: string[];
|
|
27
|
+
/** Stable selected identity for single-select menus whose labels may be duplicated. */
|
|
28
|
+
selectedId?: string;
|
|
29
|
+
/** Closed-control text while a multi-select has nothing picked. */
|
|
30
|
+
placeholder?: string;
|
|
31
|
+
/** Optional closed-control text for a selected value that is not available in the menu. */
|
|
32
|
+
selectedLabel?: string;
|
|
33
|
+
disabled?: boolean;
|
|
34
|
+
/** Heading over the menu. Also switches to the rich layout. */
|
|
35
|
+
menuTitle?: string;
|
|
36
|
+
/** A filter box at the top of the menu, for lists long enough to hunt through (outlets). */
|
|
37
|
+
searchable?: boolean;
|
|
38
|
+
/** Disable body teleporting for SSR or tests that want to keep the menu in the component tree. */
|
|
39
|
+
teleport?: boolean;
|
|
40
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
41
|
+
toggle: (value: string) => any;
|
|
42
|
+
"update:modelValue": (value: string) => any;
|
|
43
|
+
}, string, import("vue").PublicProps, Readonly<{
|
|
44
|
+
modelValue?: string;
|
|
45
|
+
options: ScheduleSelectOption[];
|
|
46
|
+
/** Multi-select: the menu stays open on a pick, rows show a tick for every value in
|
|
47
|
+
* `selected`, and a pick emits `toggle` instead of `update:modelValue`. Commands still
|
|
48
|
+
* close the menu and emit `update:modelValue`. */
|
|
49
|
+
multiple?: boolean;
|
|
50
|
+
selected?: string[];
|
|
51
|
+
/** Stable selected identity for single-select menus whose labels may be duplicated. */
|
|
52
|
+
selectedId?: string;
|
|
53
|
+
/** Closed-control text while a multi-select has nothing picked. */
|
|
54
|
+
placeholder?: string;
|
|
55
|
+
/** Optional closed-control text for a selected value that is not available in the menu. */
|
|
56
|
+
selectedLabel?: string;
|
|
57
|
+
disabled?: boolean;
|
|
58
|
+
/** Heading over the menu. Also switches to the rich layout. */
|
|
59
|
+
menuTitle?: string;
|
|
60
|
+
/** A filter box at the top of the menu, for lists long enough to hunt through (outlets). */
|
|
61
|
+
searchable?: boolean;
|
|
62
|
+
/** Disable body teleporting for SSR or tests that want to keep the menu in the component tree. */
|
|
63
|
+
teleport?: boolean;
|
|
64
|
+
}> & Readonly<{
|
|
65
|
+
onToggle?: ((value: string) => any) | undefined;
|
|
66
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
67
|
+
}>, {
|
|
68
|
+
teleport: boolean;
|
|
69
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
70
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { useScheduleAddEmployee } from '../composables/useScheduleAddEmployee';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
wizard: ReturnType<typeof useScheduleAddEmployee>;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
open: boolean;
|
|
3
|
+
outletName: string;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
+
setup: () => any;
|
|
7
|
+
dismiss: () => any;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
9
|
+
onSetup?: (() => any) | undefined;
|
|
10
|
+
onDismiss?: (() => any) | undefined;
|
|
11
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { DaySlot, Proposal } from '../types';
|
|
2
|
+
import type { ScheduleBoardApi } from '../composables/useScheduleBoard';
|
|
3
|
+
import type { ScheduleDragDropApi } from '../composables/useScheduleDragDrop';
|
|
4
|
+
type __VLS_Props = {
|
|
5
|
+
board: ScheduleBoardApi;
|
|
6
|
+
dragDrop: ScheduleDragDropApi;
|
|
7
|
+
slot: DaySlot;
|
|
8
|
+
empId: number;
|
|
9
|
+
dayIdx: number;
|
|
10
|
+
/** Position in the VISIBLE column order — month-edge is a neighbour comparison. */
|
|
11
|
+
colIndex: number;
|
|
12
|
+
proposal?: Proposal | null;
|
|
13
|
+
};
|
|
14
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
|
+
drop: (empId: number, dayIdx: number, ev: DragEvent) => any;
|
|
16
|
+
addShift: (empId: number, dayIdx: number, anchor: HTMLElement) => any;
|
|
17
|
+
editShift: (empId: number, dayIdx: number, slotIndex: number) => any;
|
|
18
|
+
editLeave: (empId: number, dayIdx: number) => any;
|
|
19
|
+
dragStart: (empId: number, dayIdx: number, ev: DragEvent, slotIndex: number) => any;
|
|
20
|
+
dragEnd: () => any;
|
|
21
|
+
toggleProposal: (id: number) => any;
|
|
22
|
+
proposalDragStart: (id: number, ev: DragEvent) => any;
|
|
23
|
+
proposalDragEnd: () => any;
|
|
24
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
25
|
+
onDrop?: ((empId: number, dayIdx: number, ev: DragEvent) => any) | undefined;
|
|
26
|
+
onAddShift?: ((empId: number, dayIdx: number, anchor: HTMLElement) => any) | undefined;
|
|
27
|
+
onEditShift?: ((empId: number, dayIdx: number, slotIndex: number) => any) | undefined;
|
|
28
|
+
onEditLeave?: ((empId: number, dayIdx: number) => any) | undefined;
|
|
29
|
+
onDragStart?: ((empId: number, dayIdx: number, ev: DragEvent, slotIndex: number) => any) | undefined;
|
|
30
|
+
onDragEnd?: (() => any) | undefined;
|
|
31
|
+
onToggleProposal?: ((id: number) => any) | undefined;
|
|
32
|
+
onProposalDragStart?: ((id: number, ev: DragEvent) => any) | undefined;
|
|
33
|
+
onProposalDragEnd?: (() => any) | undefined;
|
|
34
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
35
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ScheduleShiftPopoverApi } from '../composables/useScheduleShiftPopover';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
popover: ScheduleShiftPopoverApi;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
+
newPosition: (assign: (name: string) => void) => any;
|
|
7
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
8
|
+
onNewPosition?: ((assign: (name: string) => void) => any) | undefined;
|
|
9
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { ScheduleShiftPopoverApi } from '../composables/useScheduleShiftPopover';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
popover: ScheduleShiftPopoverApi;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ScheduleShiftPopoverApi } from '../composables/useScheduleShiftPopover';
|
|
2
|
+
import { type ScheduleTimePickerApi } from '../composables/useScheduleTimePicker';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
popover: ScheduleShiftPopoverApi;
|
|
5
|
+
timePicker: ScheduleTimePickerApi;
|
|
6
|
+
};
|
|
7
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { ScheduleBoardApi } from '../composables/useScheduleBoard';
|
|
2
|
+
import type { ScheduleShiftPopoverApi } from '../composables/useScheduleShiftPopover';
|
|
3
|
+
import type { ScheduleTimePickerApi } from '../composables/useScheduleTimePicker';
|
|
4
|
+
type __VLS_Props = {
|
|
5
|
+
board: ScheduleBoardApi;
|
|
6
|
+
popover: ScheduleShiftPopoverApi;
|
|
7
|
+
timePicker: ScheduleTimePickerApi;
|
|
8
|
+
};
|
|
9
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
+
swap: (empId: number, dayIdx: number) => any;
|
|
11
|
+
newPosition: (assign: (name: string) => void) => any;
|
|
12
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
13
|
+
onSwap?: ((empId: number, dayIdx: number) => any) | undefined;
|
|
14
|
+
onNewPosition?: ((assign: (name: string) => void) => any) | undefined;
|
|
15
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ScheduleBoardApi } from '../composables/useScheduleBoard';
|
|
2
|
+
import type { ScheduleShiftPopoverApi } from '../composables/useScheduleShiftPopover';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
board: ScheduleBoardApi;
|
|
5
|
+
popover: ScheduleShiftPopoverApi;
|
|
6
|
+
};
|
|
7
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ScheduleShiftPopoverApi } from '../composables/useScheduleShiftPopover';
|
|
2
|
+
import { type ScheduleTimePickerApi } from '../composables/useScheduleTimePicker';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
popover: ScheduleShiftPopoverApi;
|
|
5
|
+
timePicker: ScheduleTimePickerApi;
|
|
6
|
+
};
|
|
7
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { ScheduleBoardApi } from '../composables/useScheduleBoard';
|
|
2
|
+
import type { ScheduleShiftPopoverApi } from '../composables/useScheduleShiftPopover';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
board: ScheduleBoardApi;
|
|
5
|
+
popover: ScheduleShiftPopoverApi;
|
|
6
|
+
/** "Empty shift — leave it open" reads as a real option when this shift is free to stay
|
|
7
|
+
* unstaffed. A shift authored to answer a specific coverage gap has no such reading — it
|
|
8
|
+
* does nothing for that gap unstaffed — so its caller passes a placeholder that asks
|
|
9
|
+
* for a pick instead of offering to skip one. */
|
|
10
|
+
placeholder?: string;
|
|
11
|
+
/** Pairs with the placeholder above: the blank option itself becomes unpickable, so
|
|
12
|
+
* there's no way back to "nobody" once this select is showing. */
|
|
13
|
+
forceChoice?: boolean;
|
|
14
|
+
/** In the header this picker IS the heading — a name-sized control with an avatar next
|
|
15
|
+
* to it. Reused lower down as one field among Hours and Headcount, it has to take
|
|
16
|
+
* their treatment instead: a bordered, row-sized select with no avatar, since nobody
|
|
17
|
+
* is picked yet on a shift still being created. */
|
|
18
|
+
compact?: boolean;
|
|
19
|
+
};
|
|
20
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
21
|
+
placeholder: string;
|
|
22
|
+
compact: boolean;
|
|
23
|
+
forceChoice: boolean;
|
|
24
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
25
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { ScheduleCostRailApi } from '../composables/useScheduleCostRail';
|
|
2
|
+
import type { ScheduleAreaDragDropApi } from '../composables/useScheduleAreaDragDrop';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
rail: ScheduleCostRailApi;
|
|
5
|
+
dragDrop: ScheduleAreaDragDropApi;
|
|
6
|
+
};
|
|
7
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
|
+
addEmployee: () => any;
|
|
9
|
+
openEmployee: (empId: number) => any;
|
|
10
|
+
openEmployeeMenu: (empId: number, anchor: HTMLElement) => any;
|
|
11
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
12
|
+
onAddEmployee?: (() => any) | undefined;
|
|
13
|
+
onOpenEmployee?: ((empId: number) => any) | undefined;
|
|
14
|
+
onOpenEmployeeMenu?: ((empId: number, anchor: HTMLElement) => any) | undefined;
|
|
15
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import type { Proposal } from '../types';
|
|
2
|
+
import type { ScheduleBoardApi } from '../composables/useScheduleBoard';
|
|
3
|
+
import type { ScheduleDragDropApi } from '../composables/useScheduleDragDrop';
|
|
4
|
+
import type { ScheduleRosterApi } from '../composables/useScheduleRoster';
|
|
5
|
+
import type { ScheduleDemandRowApi } from '../composables/useScheduleDemandRow';
|
|
6
|
+
type __VLS_Props = {
|
|
7
|
+
board: ScheduleBoardApi;
|
|
8
|
+
dragDrop: ScheduleDragDropApi;
|
|
9
|
+
roster: ScheduleRosterApi;
|
|
10
|
+
demandRow: ScheduleDemandRowApi;
|
|
11
|
+
proposalAt?: (empId: number, dayIdx: number) => Proposal | undefined;
|
|
12
|
+
};
|
|
13
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
|
+
addEmployee: () => any;
|
|
15
|
+
addShift: (empId: number, dayIdx: number, anchor: HTMLElement) => any;
|
|
16
|
+
editShift: (empId: number, dayIdx: number, slotIndex?: number | undefined) => any;
|
|
17
|
+
editLeave: (empId: number, dayIdx: number) => any;
|
|
18
|
+
dragEnd: () => any;
|
|
19
|
+
toggleProposal: (id: number) => any;
|
|
20
|
+
proposalDragStart: (id: number, ev: DragEvent) => any;
|
|
21
|
+
proposalDragEnd: () => any;
|
|
22
|
+
segEnter: (dayIdx: number, from: number, to: number, anchor: HTMLElement) => any;
|
|
23
|
+
segLeave: () => any;
|
|
24
|
+
segClick: (dayIdx: number, from: number, to: number, anchor: HTMLElement) => any;
|
|
25
|
+
segFocus: (dayIdx: number, from: number, to: number, anchor: HTMLElement) => any;
|
|
26
|
+
openEmployee: (empId: number) => any;
|
|
27
|
+
openEmployeeMenu: (empId: number, anchor: HTMLElement) => any;
|
|
28
|
+
dragShiftStart: (empId: number, dayIdx: number, ev: DragEvent, slotIndex: number) => any;
|
|
29
|
+
dropOnCell: (empId: number, dayIdx: number, ev: DragEvent) => any;
|
|
30
|
+
openDemandSheet: (dayIdx: number) => any;
|
|
31
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
32
|
+
onAddEmployee?: (() => any) | undefined;
|
|
33
|
+
onAddShift?: ((empId: number, dayIdx: number, anchor: HTMLElement) => any) | undefined;
|
|
34
|
+
onEditShift?: ((empId: number, dayIdx: number, slotIndex?: number | undefined) => any) | undefined;
|
|
35
|
+
onEditLeave?: ((empId: number, dayIdx: number) => any) | undefined;
|
|
36
|
+
onDragEnd?: (() => any) | undefined;
|
|
37
|
+
onToggleProposal?: ((id: number) => any) | undefined;
|
|
38
|
+
onProposalDragStart?: ((id: number, ev: DragEvent) => any) | undefined;
|
|
39
|
+
onProposalDragEnd?: (() => any) | undefined;
|
|
40
|
+
onSegEnter?: ((dayIdx: number, from: number, to: number, anchor: HTMLElement) => any) | undefined;
|
|
41
|
+
onSegLeave?: (() => any) | undefined;
|
|
42
|
+
onSegClick?: ((dayIdx: number, from: number, to: number, anchor: HTMLElement) => any) | undefined;
|
|
43
|
+
onSegFocus?: ((dayIdx: number, from: number, to: number, anchor: HTMLElement) => any) | undefined;
|
|
44
|
+
onOpenEmployee?: ((empId: number) => any) | undefined;
|
|
45
|
+
onOpenEmployeeMenu?: ((empId: number, anchor: HTMLElement) => any) | undefined;
|
|
46
|
+
onDragShiftStart?: ((empId: number, dayIdx: number, ev: DragEvent, slotIndex: number) => any) | undefined;
|
|
47
|
+
onDropOnCell?: ((empId: number, dayIdx: number, ev: DragEvent) => any) | undefined;
|
|
48
|
+
onOpenDemandSheet?: ((dayIdx: number) => any) | undefined;
|
|
49
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
50
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ScheduleBoardApi } from '../composables/useScheduleBoard';
|
|
2
|
+
import type { ScheduleCostRailApi } from '../composables/useScheduleCostRail';
|
|
3
|
+
import type { ScheduleStatsRowApi } from '../composables/useScheduleStatsRow';
|
|
4
|
+
import type { ScheduleViewMode } from '../composables/useScheduleFilterBar';
|
|
5
|
+
type __VLS_Props = {
|
|
6
|
+
board: ScheduleBoardApi;
|
|
7
|
+
costRail: ScheduleCostRailApi;
|
|
8
|
+
stats: ScheduleStatsRowApi;
|
|
9
|
+
mode: ScheduleViewMode;
|
|
10
|
+
};
|
|
11
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ScheduleBoardApi } from '../composables/useScheduleBoard';
|
|
2
|
+
import type { ScheduleShiftActionsApi } from '../composables/useScheduleShiftActions';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
board: ScheduleBoardApi;
|
|
5
|
+
actions: ScheduleShiftActionsApi;
|
|
6
|
+
};
|
|
7
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { ScheduleTimePickerApi } from '../composables/useScheduleTimePicker';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
timePicker: ScheduleTimePickerApi;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { ScheduleBoardApi } from '../composables/useScheduleBoard';
|
|
2
|
+
import type { ScheduleTopbarApi } from '../composables/useSchedulePageOverlays';
|
|
3
|
+
import type { ScheduleAutoScheduleApi } from '../composables/useScheduleAutoSchedule';
|
|
4
|
+
import type { ScheduleCopyWeekApi } from '../composables/useScheduleCopyWeek';
|
|
5
|
+
import type { ScheduleExportApi } from '../composables/useScheduleExport';
|
|
6
|
+
type __VLS_Props = {
|
|
7
|
+
board: ScheduleBoardApi;
|
|
8
|
+
topbar: ScheduleTopbarApi;
|
|
9
|
+
autoSchedule: ScheduleAutoScheduleApi;
|
|
10
|
+
copyWeek: ScheduleCopyWeekApi;
|
|
11
|
+
exportApi: ScheduleExportApi;
|
|
12
|
+
};
|
|
13
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
|
+
clear: (kind: "shifts" | "demand" | "both") => any;
|
|
15
|
+
"sch-status-click": () => any;
|
|
16
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
17
|
+
onClear?: ((kind: "shifts" | "demand" | "both") => any) | undefined;
|
|
18
|
+
"onSch-status-click"?: (() => any) | undefined;
|
|
19
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
20
|
+
export default _default;
|
|
@@ -0,0 +1,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;
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import type { EmployeeAvailHours } from '../types';
|
|
2
|
+
import type { FdtoScheduleUpdateEmployeeProfileReq } from '@/types/schedule';
|
|
3
|
+
export type ScheduleAddEmployeeStep = 'mode' | 'details';
|
|
4
|
+
export type ScheduleAddEmployeeMode = 'new' | 'existing';
|
|
5
|
+
export interface ScheduleAddEmployeeForm {
|
|
6
|
+
name: string;
|
|
7
|
+
mobile: string;
|
|
8
|
+
dial: string;
|
|
9
|
+
employment: 'full' | 'part';
|
|
10
|
+
locations: string[];
|
|
11
|
+
payBasis: 'hourly' | 'monthly';
|
|
12
|
+
payAmount: string;
|
|
13
|
+
maxHours: string;
|
|
14
|
+
maxHoursPerDay: string;
|
|
15
|
+
minHours: string;
|
|
16
|
+
workingHoursEnabled: boolean;
|
|
17
|
+
overtimeEnabled: boolean;
|
|
18
|
+
/** Blank means no employee override; the outlet overtime setting is inherited. */
|
|
19
|
+
maxHoursPerMonth: string;
|
|
20
|
+
/** For a part-timer: days they CAN work. For a full-timer: days they're OFF — the
|
|
21
|
+
* mockup inverts the same array's meaning by employment type. */
|
|
22
|
+
availDays: boolean[];
|
|
23
|
+
availHours: EmployeeAvailHours[];
|
|
24
|
+
preferences: string;
|
|
25
|
+
primaryPosition: string;
|
|
26
|
+
secondaryPositions: string[];
|
|
27
|
+
seniority: '' | 'senior' | 'junior';
|
|
28
|
+
passcode: string[];
|
|
29
|
+
masterUser: boolean;
|
|
30
|
+
/** Required by the POS for a master user. */
|
|
31
|
+
masterCode: string;
|
|
32
|
+
/** Gates the fields below it — someone can be fully scheduled with this off. */
|
|
33
|
+
posAccessEnabled: boolean;
|
|
34
|
+
/** WHAT the passcode opens the till as, and WHERE — a row per outlet. Not restricted to the
|
|
35
|
+
* outlets picked in Work locations above: a floating manager can be rostered at one outlet
|
|
36
|
+
* and hold POS admin at several others. */
|
|
37
|
+
posRoles: {
|
|
38
|
+
outlet: string;
|
|
39
|
+
roleId: string;
|
|
40
|
+
}[];
|
|
41
|
+
}
|
|
42
|
+
/** A salaried month, for converting a monthly figure into the hourly one the cost rail
|
|
43
|
+
* actually reads. Ported verbatim from the mockup's MONTH_HOURS. */
|
|
44
|
+
export declare const MONTH_HOURS = 173;
|
|
45
|
+
/** A freshly-ticked worked day defaults to the whole day rather than the outlet's current
|
|
46
|
+
* trading hours — trading hours can change, and narrowing a person's stated availability to
|
|
47
|
+
* whatever the outlet happens to trade today isn't something this form should assume for them.
|
|
48
|
+
* `23:59`, not `24:00`: a part-timer's per-day fields are native `<input type="time">`s, which
|
|
49
|
+
* only accept `00:00`–`23:59` — `24:00` would render as blank there despite being a valid
|
|
50
|
+
* `FdtoScheduleTime` on the wire. */
|
|
51
|
+
export declare function defaultAvailHours(): EmployeeAvailHours;
|
|
52
|
+
export declare function blankForm(): ScheduleAddEmployeeForm;
|
|
53
|
+
/** Coverage and Auto-Schedule are still authored per role, so a role is derived from the
|
|
54
|
+
* primary position rather than asked for twice. Unlike position, Employee.role is one of a
|
|
55
|
+
* fixed small set the grid groups by, so an unrecognised (or unset) position falls back to
|
|
56
|
+
* the first known role instead of leaving the record without one. */
|
|
57
|
+
export declare function roleFromPosition(position: string): string;
|
|
58
|
+
export declare function generateCode(): string;
|
|
59
|
+
/** `raw` is typed `string` because that's the form field's declared type, but Vue 3 casts
|
|
60
|
+
* `v-model` on an `<input type="number">` to an actual `number` regardless — the DOM does this
|
|
61
|
+
* itself, independent of the `.number` modifier, so the runtime value disagrees with the type
|
|
62
|
+
* the moment someone types a digit. `String()` first is what makes `.trim()` safe either way. */
|
|
63
|
+
export declare function parsePositiveInt(raw: string, min: number, max: number): number | undefined;
|
|
64
|
+
export declare function parseNonNegativeInt(raw: string, max: number): number | undefined;
|
|
65
|
+
export declare function initials(name: string): string;
|
|
66
|
+
export declare function isPartTimeForm(form: ScheduleAddEmployeeForm): boolean;
|
|
67
|
+
/** `availDays[i]` always means "is this a working day" — the same convention the board model
|
|
68
|
+
* and `ScheduleEmployeeDetailPanel` read (a day off is one marked NOT worked), regardless of
|
|
69
|
+
* employment type. Only the full-time TOGGLE BUTTON is framed as "mark a day off" rather than
|
|
70
|
+
* "mark a work day" — see `useScheduleAddEmployee`'s `dayLit`, which flips this value for
|
|
71
|
+
* that button's pressed state without touching what's actually stored. */
|
|
72
|
+
export declare function dayIsWorkedInForm(form: ScheduleAddEmployeeForm, i: number): boolean;
|
|
73
|
+
/** Days this form currently marks as worked, converted to Mongo's weekday convention. */
|
|
74
|
+
export declare function availabilityPayload(form: ScheduleAddEmployeeForm): Array<{
|
|
75
|
+
dayOfWeek: number;
|
|
76
|
+
start: string;
|
|
77
|
+
end: string;
|
|
78
|
+
}>;
|
|
79
|
+
/** The EmployeeProfile fields `createExisting` and `updateExisting` both send — everything but
|
|
80
|
+
* `employeeId`, which only the create path has (an update targets one already known from the
|
|
81
|
+
* URL). Shared here so the two payloads cannot silently drift apart. */
|
|
82
|
+
export declare function toEmployeeProfileFields(form: ScheduleAddEmployeeForm, name: string, payAmountNumber: number): FdtoScheduleUpdateEmployeeProfileReq;
|