@feedmepos/mf-hrm-portal 2.3.0-dev.8 → 2.3.0
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-D5E_FN3f.js → ApprovalCodeList-DwubNElp.js} +7 -7
- package/dist/{AuditLogList-CqqiS2xW.js → AuditLogList-CTeMbyHL.js} +18 -19
- package/dist/{ConditionBuilderForm.vue_vue_type_script_setup_true_lang-DC_oQTsP.js → ConditionBuilderForm.vue_vue_type_script_setup_true_lang-CmLLNcB4.js} +2 -2
- package/dist/{EmployeeList-ChMlGxmu.js → EmployeeList-DEAJPx9F.js} +255 -266
- package/dist/{FormItem.vue_vue_type_script_setup_true_lang-CUnlKsxk.js → FormItem.vue_vue_type_script_setup_true_lang-OAvd6eHM.js} +6 -6
- package/dist/{GrantUserList-DA26W3K3.js → GrantUserList-Dx4jF2qJ.js} +8 -8
- package/dist/{Main-C0gVAR92.js → Main-BirWXk7o.js} +5 -5
- package/dist/{Main-m39gMG-a.js → Main-C2PBSCte.js} +11 -11
- package/dist/{Main-B27Qx8R2.js → Main-CL5JYCPg.js} +8 -8
- package/dist/{PermissionSetList-mdA65jmw.js → PermissionSetList-BtYcqPiO.js} +19 -18
- package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-Dp6bdEZp.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-BXw4aX39.js} +1211 -1211
- package/dist/{PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-BVz6q3HE.js → PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-DaAx79pC.js} +1 -1
- package/dist/ResponsiveContextMenu.vue_vue_type_script_setup_true_lang-mSJFKo7r.js +132 -0
- package/dist/{RoleList-BPayuLxA.js → RoleList-YS_LBfoJ.js} +21 -20
- package/dist/ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-BorKuXxL.js +530 -0
- package/dist/ScheduleGeneralPage-C1p2mivt.js +780 -0
- package/dist/ScheduleModal.vue_vue_type_script_setup_true_lang-CnKzVz3I.js +2457 -0
- package/dist/SchedulePage-BP7x7JAl.js +19485 -0
- package/dist/{SchedulePositionPage-BUQy-Itg.js → SchedulePositionPage-BogOQZVW.js} +78 -80
- package/dist/{SelectFilter-CG13h83-.js → SelectFilter-Dh3eY1hV.js} +1 -1
- package/dist/{TeamMemberList-CIlvRlf8.js → TeamMemberList-Bv6_2bzs.js} +27 -27
- package/dist/{TimesheetList-DFAfhWYG.js → TimesheetList-B3BmpH0I.js} +52 -53
- package/dist/{TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-QGzHuY7V.js → TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-C4rbnZh1.js} +3 -3
- package/dist/{app-C_EW9DFr.js → app-CyS8c8dx.js} +2879 -2462
- package/dist/app.js +1 -1
- package/dist/{approval-code-DHsUgc4K.js → approval-code-BIpLingm.js} +1 -1
- package/dist/{dayjs.min-ibysRBBa.js → dayjs.min-BRlEc3-d.js} +1 -1
- package/dist/{employee-B1BQc4gB.js → employee-CcdjLOLQ.js} +51 -47
- package/dist/{grant-user-qzKHFTro.js → grant-user-uZmvD_bw.js} +1 -1
- package/dist/{iteration-DQVB-iz0.js → iteration-CL1RDmws.js} +1 -1
- package/dist/{lodash-DOj41a0A.js → lodash-C00ieagp.js} +1 -1
- package/dist/object-Dwyg2LgX.js +16 -0
- package/dist/{restaurant-BbYRA_IT.js → restaurant-CHpkjUPy.js} +46 -47
- package/dist/{role-B9MSLu4B.js → role-DtatkKp9.js} +2 -2
- package/dist/{rule-e6okoXK6.js → rule-DJJMpkoG.js} +3 -3
- package/dist/src/api/employee/index.d.ts +2 -2
- package/dist/src/api/schedule/index.d.ts +12 -1
- package/dist/src/components/layout/SchedulePromoBanner.vue.d.ts +2 -0
- package/dist/src/composables/useDiscardConfirm.d.ts +3 -1
- package/dist/src/stores/employee.d.ts +12 -12
- package/dist/src/types/schedule.d.ts +3 -4
- package/dist/src/views/audit-log/locales/index.d.ts +252 -0
- package/dist/src/views/scheduling/components/ScheduleAreaRows.vue.d.ts +4 -8
- package/dist/src/views/scheduling/components/ScheduleAutoScheduleDoneArt.vue.d.ts +2 -0
- package/dist/src/views/scheduling/components/ScheduleBoardAreaRows.vue.d.ts +1 -4
- package/dist/src/views/scheduling/components/ScheduleBoardEditOverlays.vue.d.ts +0 -2
- package/dist/src/views/scheduling/components/ScheduleBoardEmployeeRows.vue.d.ts +0 -7
- package/dist/src/views/scheduling/components/ScheduleBoardGridHeader.vue.d.ts +5 -0
- package/dist/src/views/scheduling/components/ScheduleBoardInteractionOverlays.vue.d.ts +2 -6
- package/dist/src/views/scheduling/components/ScheduleBoardOnboardingOverlays.vue.d.ts +1 -0
- package/dist/src/views/scheduling/components/ScheduleBoardToolbar.vue.d.ts +0 -1
- package/dist/src/views/scheduling/components/ScheduleCompletionDialog.vue.d.ts +1 -1
- package/dist/src/views/scheduling/components/ScheduleConfirmModal.vue.d.ts +4 -1
- package/dist/src/views/scheduling/components/ScheduleContextMenu.vue.d.ts +1 -5
- package/dist/src/views/scheduling/components/ScheduleDayTimeline.vue.d.ts +5 -0
- package/dist/src/views/scheduling/components/ScheduleLoadState.vue.d.ts +0 -1
- package/dist/src/views/scheduling/components/{ScheduleAssignEmployeePopover.vue.d.ts → ScheduleOnboardingSettings.vue.d.ts} +2 -2
- package/dist/src/views/scheduling/components/ScheduleSelect.vue.d.ts +10 -0
- package/dist/src/views/scheduling/components/ScheduleShiftPopover.vue.d.ts +1 -1
- package/dist/src/views/scheduling/components/ScheduleStaffRows.vue.d.ts +0 -10
- package/dist/src/views/scheduling/composables/auto-schedule-mapping.d.ts +3 -3
- package/dist/src/views/scheduling/composables/onboarding-types.d.ts +2 -1
- package/dist/src/views/scheduling/composables/remyPrompt.d.ts +4 -2
- package/dist/src/views/scheduling/composables/schedule-add-employee-form.d.ts +12 -8
- package/dist/src/views/scheduling/composables/schedule-board-helpers.d.ts +4 -0
- package/dist/src/views/scheduling/composables/schedule-day-meta.d.ts +1 -3
- package/dist/src/views/scheduling/composables/schedule-demand-domain.d.ts +13 -1
- package/dist/src/views/scheduling/composables/schedule-error.d.ts +1 -0
- package/dist/src/views/scheduling/composables/schedule-leave-split.d.ts +5 -0
- package/dist/src/views/scheduling/composables/schedule-quick-pick.d.ts +22 -0
- package/dist/src/views/scheduling/composables/schedule-shift-time.d.ts +3 -0
- package/dist/src/views/scheduling/composables/schedule-week-cache.d.ts +3 -1
- package/dist/src/views/scheduling/composables/useRemyAppStore.d.ts +1 -0
- package/dist/src/views/scheduling/composables/useScheduleAddEmployee.d.ts +46 -11
- package/dist/src/views/scheduling/composables/useScheduleAddPick.d.ts +3 -11
- package/dist/src/views/scheduling/composables/useScheduleAreaBoard.d.ts +0 -13
- package/dist/src/views/scheduling/composables/useScheduleAreaDragDrop.d.ts +2 -9
- package/dist/src/views/scheduling/composables/useScheduleAutoSchedule.d.ts +25 -13
- package/dist/src/views/scheduling/composables/useScheduleBoard.d.ts +87 -11
- package/dist/src/views/scheduling/composables/useScheduleCopyWeek.d.ts +3 -10
- package/dist/src/views/scheduling/composables/useScheduleCostRail.d.ts +13 -1
- package/dist/src/views/scheduling/composables/useScheduleDayNote.d.ts +0 -1
- package/dist/src/views/scheduling/composables/useScheduleDayTimeline.d.ts +16 -5
- package/dist/src/views/scheduling/composables/useScheduleDemand.d.ts +3 -5
- package/dist/src/views/scheduling/composables/useScheduleDemandSheet.d.ts +18 -3
- package/dist/src/views/scheduling/composables/useScheduleDragDrop.d.ts +1 -0
- package/dist/src/views/scheduling/composables/useScheduleEmployeeAccess.d.ts +20 -7
- package/dist/src/views/scheduling/composables/useScheduleEmployeeAvailability.d.ts +1 -1
- package/dist/src/views/scheduling/composables/useScheduleEmployeeCandidates.d.ts +26 -3
- package/dist/src/views/scheduling/composables/useScheduleEmployeePersistence.d.ts +7 -0
- package/dist/src/views/scheduling/composables/useScheduleEmployeeValidation.d.ts +2 -2
- package/dist/src/views/scheduling/composables/useScheduleExport.d.ts +1 -0
- package/dist/src/views/scheduling/composables/useScheduleGapPopover.d.ts +2 -0
- package/dist/src/views/scheduling/composables/useScheduleLeave.d.ts +5 -1
- package/dist/src/views/scheduling/composables/useScheduleOnboardingDemand.d.ts +1 -1
- package/dist/src/views/scheduling/composables/useScheduleOnboardingEmployees.d.ts +48 -4
- package/dist/src/views/scheduling/composables/useScheduleOnboardingWizard.d.ts +302 -30
- package/dist/src/views/scheduling/composables/useScheduleOutlet.d.ts +11 -8
- package/dist/src/views/scheduling/composables/useSchedulePageActions.d.ts +1 -1
- package/dist/src/views/scheduling/composables/useSchedulePageCellDrop.d.ts +3 -1
- package/dist/src/views/scheduling/composables/useSchedulePageClearActions.d.ts +1 -0
- package/dist/src/views/scheduling/composables/useSchedulePageOverlays.d.ts +0 -4
- package/dist/src/views/scheduling/composables/useSchedulePositionModal.d.ts +1 -0
- package/dist/src/views/scheduling/composables/useSchedulePositions.d.ts +7 -1
- package/dist/src/views/scheduling/composables/useSchedulePublish.d.ts +4 -1
- package/dist/src/views/scheduling/composables/useScheduleRoster.d.ts +70 -4
- package/dist/src/views/scheduling/composables/useScheduleSettings.d.ts +7 -2
- package/dist/src/views/scheduling/composables/useScheduleSetupBanner.d.ts +2 -2
- package/dist/src/views/scheduling/composables/useScheduleShiftActions.d.ts +41 -3
- package/dist/src/views/scheduling/composables/useScheduleShiftDraft.d.ts +1 -0
- package/dist/src/views/scheduling/composables/useScheduleShiftPopover.d.ts +47 -6
- package/dist/src/views/scheduling/country-rules/index.d.ts +9 -4
- package/dist/src/views/scheduling/data.d.ts +22 -1
- package/dist/src/views/scheduling/locales/index.d.ts +28 -0
- package/dist/src/views/scheduling/schedule-state.d.ts +276 -212
- package/dist/src/views/scheduling/schedule-store.d.ts +37 -11
- package/dist/src/views/scheduling/types.d.ts +30 -5
- package/dist/style.css +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{useAppStore-BoLkvkE2.js → useAppStore-Bp0PwbAN.js} +1 -1
- package/dist/useDiscardConfirm-CzZSPyvh.js +28 -0
- package/dist/{useLoading-Ch1AUYT1.js → useLoading-sgL8DRUz.js} +1 -1
- package/dist/{useReportPermissions-CJ9ey1bN.js → useReportPermissions-DI-xg3OX.js} +3 -3
- package/package.json +2 -2
- package/dist/ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-C_EQivMd.js +0 -470
- package/dist/ScheduleGeneralPage-sAqR1-hf.js +0 -666
- package/dist/ScheduleModal.vue_vue_type_script_setup_true_lang-ABipaQiR.js +0 -2205
- package/dist/SchedulePage-DhbtCR8U.js +0 -18546
- package/dist/_plugin-vue_export-helper-CHgC5LLL.js +0 -9
- package/dist/src/views/scheduling/components/ScheduleAllShiftsRow.vue.d.ts +0 -22
- package/dist/src/views/scheduling/components/ScheduleStackPopover.vue.d.ts +0 -14
- package/dist/src/views/scheduling/composables/useScheduleAllShiftsRow.d.ts +0 -77
- package/dist/src/views/scheduling/composables/useScheduleAssign.d.ts +0 -124
- package/dist/src/views/scheduling/composables/useScheduleOpenShiftCard.d.ts +0 -23
- package/dist/useDiscardConfirm-DPhEV6v0.js +0 -157
|
@@ -377,10 +377,10 @@ export declare const useEmployeeStore: () => {
|
|
|
377
377
|
readEmployees: () => Promise<void>;
|
|
378
378
|
readEmployeesPage: (query: IReadEmployeesPageReq) => Promise<void>;
|
|
379
379
|
readAllEmployeesPage: (query: Omit<IReadEmployeesPageReq, "limit" | "offset">, knownTotal?: number) => Promise<Employee[]>;
|
|
380
|
-
createEmployee: (dto: FdtoUpdatePosUserReq) => Promise<
|
|
380
|
+
createEmployee: (dto: FdtoUpdatePosUserReq) => Promise<string>;
|
|
381
381
|
updateEmployee: (userId: string, dto: FdtoUpdatePosUserReq) => Promise<void>;
|
|
382
382
|
deleteEmployee: (employee: Employee) => Promise<void>;
|
|
383
|
-
createMasterEmployee: (dto: FdtoUpdatePosMasterUserReq) => Promise<
|
|
383
|
+
createMasterEmployee: (dto: FdtoUpdatePosMasterUserReq) => Promise<string>;
|
|
384
384
|
updateMasterEmployee: (userId: string, dto: FdtoUpdatePosMasterUserReq) => Promise<void>;
|
|
385
385
|
deleteMasterEmployee: (employee: Employee) => Promise<void>;
|
|
386
386
|
migrateToMasterUser: (userId: string, dto: FdtoUpdatePosMasterUserReq) => Promise<void>;
|
|
@@ -695,10 +695,10 @@ export declare const useEmployeeStore: () => {
|
|
|
695
695
|
readEmployees: () => Promise<void>;
|
|
696
696
|
readEmployeesPage: (query: IReadEmployeesPageReq) => Promise<void>;
|
|
697
697
|
readAllEmployeesPage: (query: Omit<IReadEmployeesPageReq, "limit" | "offset">, knownTotal?: number) => Promise<Employee[]>;
|
|
698
|
-
createEmployee: (dto: FdtoUpdatePosUserReq) => Promise<
|
|
698
|
+
createEmployee: (dto: FdtoUpdatePosUserReq) => Promise<string>;
|
|
699
699
|
updateEmployee: (userId: string, dto: FdtoUpdatePosUserReq) => Promise<void>;
|
|
700
700
|
deleteEmployee: (employee: Employee) => Promise<void>;
|
|
701
|
-
createMasterEmployee: (dto: FdtoUpdatePosMasterUserReq) => Promise<
|
|
701
|
+
createMasterEmployee: (dto: FdtoUpdatePosMasterUserReq) => Promise<string>;
|
|
702
702
|
updateMasterEmployee: (userId: string, dto: FdtoUpdatePosMasterUserReq) => Promise<void>;
|
|
703
703
|
deleteMasterEmployee: (employee: Employee) => Promise<void>;
|
|
704
704
|
migrateToMasterUser: (userId: string, dto: FdtoUpdatePosMasterUserReq) => Promise<void>;
|
|
@@ -858,10 +858,10 @@ export declare const useEmployeeStore: () => {
|
|
|
858
858
|
readEmployees: () => Promise<void>;
|
|
859
859
|
readEmployeesPage: (query: IReadEmployeesPageReq) => Promise<void>;
|
|
860
860
|
readAllEmployeesPage: (query: Omit<IReadEmployeesPageReq, "limit" | "offset">, knownTotal?: number) => Promise<Employee[]>;
|
|
861
|
-
createEmployee: (dto: FdtoUpdatePosUserReq) => Promise<
|
|
861
|
+
createEmployee: (dto: FdtoUpdatePosUserReq) => Promise<string>;
|
|
862
862
|
updateEmployee: (userId: string, dto: FdtoUpdatePosUserReq) => Promise<void>;
|
|
863
863
|
deleteEmployee: (employee: Employee) => Promise<void>;
|
|
864
|
-
createMasterEmployee: (dto: FdtoUpdatePosMasterUserReq) => Promise<
|
|
864
|
+
createMasterEmployee: (dto: FdtoUpdatePosMasterUserReq) => Promise<string>;
|
|
865
865
|
updateMasterEmployee: (userId: string, dto: FdtoUpdatePosMasterUserReq) => Promise<void>;
|
|
866
866
|
deleteMasterEmployee: (employee: Employee) => Promise<void>;
|
|
867
867
|
migrateToMasterUser: (userId: string, dto: FdtoUpdatePosMasterUserReq) => Promise<void>;
|
|
@@ -1018,10 +1018,10 @@ export declare const useEmployeeStore: () => {
|
|
|
1018
1018
|
readEmployees: () => Promise<void>;
|
|
1019
1019
|
readEmployeesPage: (query: IReadEmployeesPageReq) => Promise<void>;
|
|
1020
1020
|
readAllEmployeesPage: (query: Omit<IReadEmployeesPageReq, "limit" | "offset">, knownTotal?: number) => Promise<Employee[]>;
|
|
1021
|
-
createEmployee: (dto: FdtoUpdatePosUserReq) => Promise<
|
|
1021
|
+
createEmployee: (dto: FdtoUpdatePosUserReq) => Promise<string>;
|
|
1022
1022
|
updateEmployee: (userId: string, dto: FdtoUpdatePosUserReq) => Promise<void>;
|
|
1023
1023
|
deleteEmployee: (employee: Employee) => Promise<void>;
|
|
1024
|
-
createMasterEmployee: (dto: FdtoUpdatePosMasterUserReq) => Promise<
|
|
1024
|
+
createMasterEmployee: (dto: FdtoUpdatePosMasterUserReq) => Promise<string>;
|
|
1025
1025
|
updateMasterEmployee: (userId: string, dto: FdtoUpdatePosMasterUserReq) => Promise<void>;
|
|
1026
1026
|
deleteMasterEmployee: (employee: Employee) => Promise<void>;
|
|
1027
1027
|
migrateToMasterUser: (userId: string, dto: FdtoUpdatePosMasterUserReq) => Promise<void>;
|
|
@@ -1178,10 +1178,10 @@ export declare const useEmployeeStore: () => {
|
|
|
1178
1178
|
readEmployees: () => Promise<void>;
|
|
1179
1179
|
readEmployeesPage: (query: IReadEmployeesPageReq) => Promise<void>;
|
|
1180
1180
|
readAllEmployeesPage: (query: Omit<IReadEmployeesPageReq, "limit" | "offset">, knownTotal?: number) => Promise<Employee[]>;
|
|
1181
|
-
createEmployee: (dto: FdtoUpdatePosUserReq) => Promise<
|
|
1181
|
+
createEmployee: (dto: FdtoUpdatePosUserReq) => Promise<string>;
|
|
1182
1182
|
updateEmployee: (userId: string, dto: FdtoUpdatePosUserReq) => Promise<void>;
|
|
1183
1183
|
deleteEmployee: (employee: Employee) => Promise<void>;
|
|
1184
|
-
createMasterEmployee: (dto: FdtoUpdatePosMasterUserReq) => Promise<
|
|
1184
|
+
createMasterEmployee: (dto: FdtoUpdatePosMasterUserReq) => Promise<string>;
|
|
1185
1185
|
updateMasterEmployee: (userId: string, dto: FdtoUpdatePosMasterUserReq) => Promise<void>;
|
|
1186
1186
|
deleteMasterEmployee: (employee: Employee) => Promise<void>;
|
|
1187
1187
|
migrateToMasterUser: (userId: string, dto: FdtoUpdatePosMasterUserReq) => Promise<void>;
|
|
@@ -1193,10 +1193,10 @@ export declare const useEmployeeStore: () => {
|
|
|
1193
1193
|
readEmployees: () => Promise<void>;
|
|
1194
1194
|
readEmployeesPage: (query: IReadEmployeesPageReq) => Promise<void>;
|
|
1195
1195
|
readAllEmployeesPage: (query: Omit<IReadEmployeesPageReq, "limit" | "offset">, knownTotal?: number) => Promise<Employee[]>;
|
|
1196
|
-
createEmployee: (dto: FdtoUpdatePosUserReq) => Promise<
|
|
1196
|
+
createEmployee: (dto: FdtoUpdatePosUserReq) => Promise<string>;
|
|
1197
1197
|
updateEmployee: (userId: string, dto: FdtoUpdatePosUserReq) => Promise<void>;
|
|
1198
1198
|
deleteEmployee: (employee: Employee) => Promise<void>;
|
|
1199
|
-
createMasterEmployee: (dto: FdtoUpdatePosMasterUserReq) => Promise<
|
|
1199
|
+
createMasterEmployee: (dto: FdtoUpdatePosMasterUserReq) => Promise<string>;
|
|
1200
1200
|
updateMasterEmployee: (userId: string, dto: FdtoUpdatePosMasterUserReq) => Promise<void>;
|
|
1201
1201
|
deleteMasterEmployee: (employee: Employee) => Promise<void>;
|
|
1202
1202
|
migrateToMasterUser: (userId: string, dto: FdtoUpdatePosMasterUserReq) => Promise<void>;
|
|
@@ -5,12 +5,11 @@
|
|
|
5
5
|
* only view-model commands that intentionally do not cross HTTP (for example
|
|
6
6
|
* replacing a period made up of several persisted demand rows).
|
|
7
7
|
*/
|
|
8
|
-
export type { FdtoScheduleAssignment, FdtoScheduleAutoScheduleApplyReq, FdtoScheduleAutoScheduleApplyResult, FdtoScheduleAutoScheduleCapabilities, FdtoScheduleAutoScheduleGenerateReq, FdtoScheduleAutoScheduleObjective, FdtoScheduleAutoSchedulePlanner, FdtoScheduleAutoScheduleProposal, FdtoScheduleAutoScheduleRejection, FdtoScheduleAutoScheduleResult, FdtoScheduleAutoScheduleTiming, FdtoScheduleAutoScheduleUnfilledNeed, FdtoScheduleBoard, FdtoScheduleBulkUpdateAssignmentStatusReq, FdtoScheduleBulkSaveAssignmentsReq, FdtoScheduleBulkSaveAssignmentsResult, FdtoScheduleBulkReplaceDemandReq, FdtoScheduleBreak, FdtoScheduleCreateEmployeeProfileReq, FdtoScheduleEmployeeConfig, FdtoScheduleDayOperatingHours, FdtoScheduleDemand, FdtoScheduleEmployee, FdtoScheduleOptionalDateRange, FdtoSchedulePayRate, FdtoSchedulePosition, FdtoSchedulePositionRef, FdtoSchedulePositionSelectorReq, FdtoScheduleRestaurantProfile, FdtoScheduleSaveAssignmentReq, FdtoScheduleSaveDemandReq, FdtoScheduleReplaceDemandReq, FdtoScheduleSaveEmployeeConfigsReq, FdtoScheduleSavePositionReq, FdtoScheduleSaveScheduleDayReq, FdtoScheduleSaveSettingsReq, FdtoScheduleScheduleDay, FdtoScheduleSettings, FdtoScheduleUpdateEmployeeProfileReq, FdtoScheduleCreateTimeOffReq, FdtoScheduleTimeOff, FdtoScheduleTimeOffDayPart, FdtoScheduleTimeOffQuery, FdtoScheduleTimeOffStatus, FdtoScheduleTimeOffType, FdtoScheduleUpdateTimeOffStatusReq, } from '@feedmepos/hrm-schedule-contract';
|
|
9
|
-
/** UI-level replacement command. The store expands these periods into flat
|
|
8
|
+
export type { FdtoScheduleAssignment, FdtoScheduleAutoScheduleApplyReq, FdtoScheduleAutoScheduleApplyResult, FdtoScheduleAutoScheduleCapabilities, FdtoScheduleAutoScheduleGenerateReq, FdtoScheduleAutoScheduleObjective, FdtoScheduleAutoSchedulePlanner, FdtoScheduleAutoScheduleProposal, FdtoScheduleAutoScheduleRejection, FdtoScheduleAutoScheduleResult, FdtoScheduleAutoScheduleTiming, FdtoScheduleAutoScheduleUnfilledNeed, FdtoScheduleBoard, FdtoScheduleBulkUpdateAssignmentStatusReq, FdtoScheduleBulkSaveAssignmentsReq, FdtoScheduleBulkSaveAssignmentsResult, FdtoScheduleBulkReplaceDemandReq, FdtoScheduleClearScheduleReq, FdtoScheduleCopyScheduleReq, FdtoScheduleCompleteOnboardingReq, FdtoScheduleBreak, FdtoScheduleCreateEmployeeProfileReq, FdtoScheduleEmployeeConfig, FdtoScheduleDayOperatingHours, FdtoScheduleDemand, FdtoScheduleEmployee, FdtoScheduleOptionalDateRange, FdtoSchedulePayRate, FdtoSchedulePosition, FdtoSchedulePositionRef, FdtoSchedulePositionSelectorReq, FdtoScheduleRestaurantProfile, FdtoScheduleSaveAssignmentReq, FdtoScheduleSaveDemandReq, FdtoScheduleReplaceDemandReq, FdtoScheduleSaveEmployeeConfigsReq, FdtoScheduleSavePositionReq, FdtoScheduleSaveScheduleDayReq, FdtoScheduleSaveSettingsReq, FdtoScheduleScheduleDay, FdtoScheduleSettings, FdtoScheduleUpdateEmployeeProfileReq, FdtoScheduleValidatePosAccessReq, FdtoScheduleCreateTimeOffReq, FdtoScheduleTimeOff, FdtoScheduleTimeOffDayPart, FdtoScheduleTimeOffQuery, FdtoScheduleTimeOffStatus, FdtoScheduleTimeOffType, FdtoScheduleUpdateTimeOffStatusReq, } from '@feedmepos/hrm-schedule-contract';
|
|
9
|
+
/** UI-level date replacement command. The store expands these periods into flat
|
|
10
10
|
* ShiftDemand rows before calling the shared HTTP contract. */
|
|
11
11
|
export interface ScheduleReplaceDemandReq {
|
|
12
|
-
date
|
|
13
|
-
dayOfWeek?: number;
|
|
12
|
+
date: string;
|
|
14
13
|
periods: Array<{
|
|
15
14
|
startTime: string;
|
|
16
15
|
endTime: string;
|
|
@@ -222,6 +222,69 @@ export declare const i18nMessages: {
|
|
|
222
222
|
view: string;
|
|
223
223
|
update: string;
|
|
224
224
|
};
|
|
225
|
+
"schedule-shift": {
|
|
226
|
+
create: string;
|
|
227
|
+
update: string;
|
|
228
|
+
"bulk-save": string;
|
|
229
|
+
publish: string;
|
|
230
|
+
unpublish: string;
|
|
231
|
+
confirm: string;
|
|
232
|
+
delete: string;
|
|
233
|
+
"auto-apply": string;
|
|
234
|
+
};
|
|
235
|
+
"schedule-demand": {
|
|
236
|
+
create: string;
|
|
237
|
+
update: string;
|
|
238
|
+
replace: string;
|
|
239
|
+
delete: string;
|
|
240
|
+
};
|
|
241
|
+
"schedule-time-off": {
|
|
242
|
+
create: string;
|
|
243
|
+
"update-status": string;
|
|
244
|
+
delete: string;
|
|
245
|
+
};
|
|
246
|
+
"schedule-day": {
|
|
247
|
+
save: string;
|
|
248
|
+
delete: string;
|
|
249
|
+
};
|
|
250
|
+
"schedule-settings": {
|
|
251
|
+
update: string;
|
|
252
|
+
};
|
|
253
|
+
"schedule-employee-config": {
|
|
254
|
+
update: string;
|
|
255
|
+
};
|
|
256
|
+
"schedule-operating-hours": {
|
|
257
|
+
update: string;
|
|
258
|
+
};
|
|
259
|
+
"schedule-position": {
|
|
260
|
+
create: string;
|
|
261
|
+
update: string;
|
|
262
|
+
delete: string;
|
|
263
|
+
};
|
|
264
|
+
"schedule-employee": {
|
|
265
|
+
create: string;
|
|
266
|
+
delete: string;
|
|
267
|
+
};
|
|
268
|
+
"schedule-shift-item": {
|
|
269
|
+
create: string;
|
|
270
|
+
update: string;
|
|
271
|
+
delete: string;
|
|
272
|
+
publish: string;
|
|
273
|
+
unpublish: string;
|
|
274
|
+
confirm: string;
|
|
275
|
+
};
|
|
276
|
+
"schedule-demand-item": {
|
|
277
|
+
create: string;
|
|
278
|
+
update: string;
|
|
279
|
+
delete: string;
|
|
280
|
+
};
|
|
281
|
+
"schedule-time-off-item": {
|
|
282
|
+
create: string;
|
|
283
|
+
approve: string;
|
|
284
|
+
reject: string;
|
|
285
|
+
cancel: string;
|
|
286
|
+
delete: string;
|
|
287
|
+
};
|
|
225
288
|
};
|
|
226
289
|
};
|
|
227
290
|
};
|
|
@@ -448,6 +511,69 @@ export declare const i18nMessages: {
|
|
|
448
511
|
view: string;
|
|
449
512
|
update: string;
|
|
450
513
|
};
|
|
514
|
+
"schedule-shift": {
|
|
515
|
+
create: string;
|
|
516
|
+
update: string;
|
|
517
|
+
"bulk-save": string;
|
|
518
|
+
publish: string;
|
|
519
|
+
unpublish: string;
|
|
520
|
+
confirm: string;
|
|
521
|
+
delete: string;
|
|
522
|
+
"auto-apply": string;
|
|
523
|
+
};
|
|
524
|
+
"schedule-demand": {
|
|
525
|
+
create: string;
|
|
526
|
+
update: string;
|
|
527
|
+
replace: string;
|
|
528
|
+
delete: string;
|
|
529
|
+
};
|
|
530
|
+
"schedule-time-off": {
|
|
531
|
+
create: string;
|
|
532
|
+
"update-status": string;
|
|
533
|
+
delete: string;
|
|
534
|
+
};
|
|
535
|
+
"schedule-day": {
|
|
536
|
+
save: string;
|
|
537
|
+
delete: string;
|
|
538
|
+
};
|
|
539
|
+
"schedule-settings": {
|
|
540
|
+
update: string;
|
|
541
|
+
};
|
|
542
|
+
"schedule-employee-config": {
|
|
543
|
+
update: string;
|
|
544
|
+
};
|
|
545
|
+
"schedule-operating-hours": {
|
|
546
|
+
update: string;
|
|
547
|
+
};
|
|
548
|
+
"schedule-position": {
|
|
549
|
+
create: string;
|
|
550
|
+
update: string;
|
|
551
|
+
delete: string;
|
|
552
|
+
};
|
|
553
|
+
"schedule-employee": {
|
|
554
|
+
create: string;
|
|
555
|
+
delete: string;
|
|
556
|
+
};
|
|
557
|
+
"schedule-shift-item": {
|
|
558
|
+
create: string;
|
|
559
|
+
update: string;
|
|
560
|
+
delete: string;
|
|
561
|
+
publish: string;
|
|
562
|
+
unpublish: string;
|
|
563
|
+
confirm: string;
|
|
564
|
+
};
|
|
565
|
+
"schedule-demand-item": {
|
|
566
|
+
create: string;
|
|
567
|
+
update: string;
|
|
568
|
+
delete: string;
|
|
569
|
+
};
|
|
570
|
+
"schedule-time-off-item": {
|
|
571
|
+
create: string;
|
|
572
|
+
approve: string;
|
|
573
|
+
reject: string;
|
|
574
|
+
cancel: string;
|
|
575
|
+
delete: string;
|
|
576
|
+
};
|
|
451
577
|
};
|
|
452
578
|
};
|
|
453
579
|
};
|
|
@@ -674,6 +800,69 @@ export declare const i18nMessages: {
|
|
|
674
800
|
view: string;
|
|
675
801
|
update: string;
|
|
676
802
|
};
|
|
803
|
+
"schedule-shift": {
|
|
804
|
+
create: string;
|
|
805
|
+
update: string;
|
|
806
|
+
"bulk-save": string;
|
|
807
|
+
publish: string;
|
|
808
|
+
unpublish: string;
|
|
809
|
+
confirm: string;
|
|
810
|
+
delete: string;
|
|
811
|
+
"auto-apply": string;
|
|
812
|
+
};
|
|
813
|
+
"schedule-demand": {
|
|
814
|
+
create: string;
|
|
815
|
+
update: string;
|
|
816
|
+
replace: string;
|
|
817
|
+
delete: string;
|
|
818
|
+
};
|
|
819
|
+
"schedule-time-off": {
|
|
820
|
+
create: string;
|
|
821
|
+
"update-status": string;
|
|
822
|
+
delete: string;
|
|
823
|
+
};
|
|
824
|
+
"schedule-day": {
|
|
825
|
+
save: string;
|
|
826
|
+
delete: string;
|
|
827
|
+
};
|
|
828
|
+
"schedule-settings": {
|
|
829
|
+
update: string;
|
|
830
|
+
};
|
|
831
|
+
"schedule-employee-config": {
|
|
832
|
+
update: string;
|
|
833
|
+
};
|
|
834
|
+
"schedule-operating-hours": {
|
|
835
|
+
update: string;
|
|
836
|
+
};
|
|
837
|
+
"schedule-position": {
|
|
838
|
+
create: string;
|
|
839
|
+
update: string;
|
|
840
|
+
delete: string;
|
|
841
|
+
};
|
|
842
|
+
"schedule-employee": {
|
|
843
|
+
create: string;
|
|
844
|
+
delete: string;
|
|
845
|
+
};
|
|
846
|
+
"schedule-shift-item": {
|
|
847
|
+
create: string;
|
|
848
|
+
update: string;
|
|
849
|
+
delete: string;
|
|
850
|
+
publish: string;
|
|
851
|
+
unpublish: string;
|
|
852
|
+
confirm: string;
|
|
853
|
+
};
|
|
854
|
+
"schedule-demand-item": {
|
|
855
|
+
create: string;
|
|
856
|
+
update: string;
|
|
857
|
+
delete: string;
|
|
858
|
+
};
|
|
859
|
+
"schedule-time-off-item": {
|
|
860
|
+
create: string;
|
|
861
|
+
approve: string;
|
|
862
|
+
reject: string;
|
|
863
|
+
cancel: string;
|
|
864
|
+
delete: string;
|
|
865
|
+
};
|
|
677
866
|
};
|
|
678
867
|
};
|
|
679
868
|
};
|
|
@@ -900,6 +1089,69 @@ export declare const i18nMessages: {
|
|
|
900
1089
|
view: string;
|
|
901
1090
|
update: string;
|
|
902
1091
|
};
|
|
1092
|
+
"schedule-shift": {
|
|
1093
|
+
create: string;
|
|
1094
|
+
update: string;
|
|
1095
|
+
"bulk-save": string;
|
|
1096
|
+
publish: string;
|
|
1097
|
+
unpublish: string;
|
|
1098
|
+
confirm: string;
|
|
1099
|
+
delete: string;
|
|
1100
|
+
"auto-apply": string;
|
|
1101
|
+
};
|
|
1102
|
+
"schedule-demand": {
|
|
1103
|
+
create: string;
|
|
1104
|
+
update: string;
|
|
1105
|
+
replace: string;
|
|
1106
|
+
delete: string;
|
|
1107
|
+
};
|
|
1108
|
+
"schedule-time-off": {
|
|
1109
|
+
create: string;
|
|
1110
|
+
"update-status": string;
|
|
1111
|
+
delete: string;
|
|
1112
|
+
};
|
|
1113
|
+
"schedule-day": {
|
|
1114
|
+
save: string;
|
|
1115
|
+
delete: string;
|
|
1116
|
+
};
|
|
1117
|
+
"schedule-settings": {
|
|
1118
|
+
update: string;
|
|
1119
|
+
};
|
|
1120
|
+
"schedule-employee-config": {
|
|
1121
|
+
update: string;
|
|
1122
|
+
};
|
|
1123
|
+
"schedule-operating-hours": {
|
|
1124
|
+
update: string;
|
|
1125
|
+
};
|
|
1126
|
+
"schedule-position": {
|
|
1127
|
+
create: string;
|
|
1128
|
+
update: string;
|
|
1129
|
+
delete: string;
|
|
1130
|
+
};
|
|
1131
|
+
"schedule-employee": {
|
|
1132
|
+
create: string;
|
|
1133
|
+
delete: string;
|
|
1134
|
+
};
|
|
1135
|
+
"schedule-shift-item": {
|
|
1136
|
+
create: string;
|
|
1137
|
+
update: string;
|
|
1138
|
+
delete: string;
|
|
1139
|
+
publish: string;
|
|
1140
|
+
unpublish: string;
|
|
1141
|
+
confirm: string;
|
|
1142
|
+
};
|
|
1143
|
+
"schedule-demand-item": {
|
|
1144
|
+
create: string;
|
|
1145
|
+
update: string;
|
|
1146
|
+
delete: string;
|
|
1147
|
+
};
|
|
1148
|
+
"schedule-time-off-item": {
|
|
1149
|
+
create: string;
|
|
1150
|
+
approve: string;
|
|
1151
|
+
reject: string;
|
|
1152
|
+
cancel: string;
|
|
1153
|
+
delete: string;
|
|
1154
|
+
};
|
|
903
1155
|
};
|
|
904
1156
|
};
|
|
905
1157
|
};
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import type { ScheduleBoardApi } from '../composables/useScheduleBoard';
|
|
2
2
|
import type { ScheduleAreaBoardApi } from '../composables/useScheduleAreaBoard';
|
|
3
|
-
import type { ScheduleOpenShiftCardApi } from '../composables/useScheduleOpenShiftCard';
|
|
4
3
|
import type { ScheduleAreaDragDropApi } from '../composables/useScheduleAreaDragDrop';
|
|
5
4
|
import type { ScheduleDragDropApi } from '../composables/useScheduleDragDrop';
|
|
6
5
|
import type { ScheduleDemandRowApi } from '../composables/useScheduleDemandRow';
|
|
7
6
|
type __VLS_Props = {
|
|
8
7
|
board: ScheduleBoardApi;
|
|
9
8
|
areaBoard: ScheduleAreaBoardApi;
|
|
10
|
-
openShiftCard: ScheduleOpenShiftCardApi;
|
|
11
9
|
dragDrop: ScheduleAreaDragDropApi;
|
|
12
10
|
/** A card's own drag — dropping it on another card offers a swap, dropping it on empty cell
|
|
13
11
|
* space moves it to that day, the same two gestures the employee view's grid has. Distinct
|
|
@@ -17,29 +15,27 @@ type __VLS_Props = {
|
|
|
17
15
|
};
|
|
18
16
|
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
19
17
|
editShift: (empId: number, dayIdx: number) => any;
|
|
20
|
-
openAssign: (openId: number) => any;
|
|
21
|
-
openOpenShiftMenu: (openId: number, anchor: HTMLElement) => any;
|
|
22
18
|
segEnter: (dayIdx: number, from: number, to: number, anchor: HTMLElement) => any;
|
|
23
19
|
segLeave: () => any;
|
|
24
20
|
segClick: (dayIdx: number, from: number, to: number, anchor: HTMLElement) => any;
|
|
25
21
|
segFocus: (dayIdx: number, from: number, to: number, anchor: HTMLElement) => any;
|
|
26
22
|
openDemandSheet: (dayIdx: number) => any;
|
|
27
23
|
openNewShift: (dayIdx: number, position: string) => any;
|
|
24
|
+
openPositionDrop: (dayIdx: number, position: string) => any;
|
|
28
25
|
addPosition: () => any;
|
|
29
26
|
scheduleByPerson: () => any;
|
|
30
|
-
openSwap: (fromEmpId: number, fromDayIdx: number, toEmpId: number, toDayIdx: number, slotIndex: number) => any;
|
|
27
|
+
openSwap: (fromEmpId: number, fromDayIdx: number, toEmpId: number, toDayIdx: number, slotIndex: number, targetSlotIndex: number) => any;
|
|
31
28
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
32
29
|
onEditShift?: ((empId: number, dayIdx: number) => any) | undefined;
|
|
33
|
-
onOpenAssign?: ((openId: number) => any) | undefined;
|
|
34
|
-
onOpenOpenShiftMenu?: ((openId: number, anchor: HTMLElement) => any) | undefined;
|
|
35
30
|
onSegEnter?: ((dayIdx: number, from: number, to: number, anchor: HTMLElement) => any) | undefined;
|
|
36
31
|
onSegLeave?: (() => any) | undefined;
|
|
37
32
|
onSegClick?: ((dayIdx: number, from: number, to: number, anchor: HTMLElement) => any) | undefined;
|
|
38
33
|
onSegFocus?: ((dayIdx: number, from: number, to: number, anchor: HTMLElement) => any) | undefined;
|
|
39
34
|
onOpenDemandSheet?: ((dayIdx: number) => any) | undefined;
|
|
40
35
|
onOpenNewShift?: ((dayIdx: number, position: string) => any) | undefined;
|
|
36
|
+
onOpenPositionDrop?: ((dayIdx: number, position: string) => any) | undefined;
|
|
41
37
|
onAddPosition?: (() => any) | undefined;
|
|
42
38
|
onScheduleByPerson?: (() => any) | undefined;
|
|
43
|
-
onOpenSwap?: ((fromEmpId: number, fromDayIdx: number, toEmpId: number, toDayIdx: number, slotIndex: number) => any) | undefined;
|
|
39
|
+
onOpenSwap?: ((fromEmpId: number, fromDayIdx: number, toEmpId: number, toDayIdx: number, slotIndex: number, targetSlotIndex: number) => any) | undefined;
|
|
44
40
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
45
41
|
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;
|
|
@@ -1,20 +1,17 @@
|
|
|
1
1
|
import type { ScheduleBoardApi } from '../composables/useScheduleBoard';
|
|
2
2
|
import type { ScheduleAreaBoardApi } from '../composables/useScheduleAreaBoard';
|
|
3
|
-
import type { ScheduleOpenShiftCardApi } from '../composables/useScheduleOpenShiftCard';
|
|
4
3
|
import type { ScheduleAreaDragDropApi } from '../composables/useScheduleAreaDragDrop';
|
|
5
4
|
import type { ScheduleDragDropApi } from '../composables/useScheduleDragDrop';
|
|
6
5
|
import type { ScheduleDemandRowApi } from '../composables/useScheduleDemandRow';
|
|
7
6
|
type __VLS_Props = {
|
|
8
7
|
board: ScheduleBoardApi;
|
|
9
8
|
areaBoard: ScheduleAreaBoardApi;
|
|
10
|
-
openShiftCard: ScheduleOpenShiftCardApi;
|
|
11
9
|
dragDrop: ScheduleAreaDragDropApi;
|
|
12
10
|
shiftDragDrop: ScheduleDragDropApi;
|
|
13
11
|
demandRow: ScheduleDemandRowApi;
|
|
14
12
|
onEditShift: (...args: any[]) => void;
|
|
15
|
-
onOpenAssign: (...args: any[]) => void;
|
|
16
13
|
onOpenNewShift: (...args: any[]) => void;
|
|
17
|
-
|
|
14
|
+
onOpenPositionDrop: (...args: any[]) => void;
|
|
18
15
|
onOpenDemandSheet: (...args: any[]) => void;
|
|
19
16
|
onSegEnter: (...args: any[]) => void;
|
|
20
17
|
onSegLeave: (...args: any[]) => void;
|
|
@@ -2,7 +2,6 @@ import type { ScheduleBoardApi } from '../composables/useScheduleBoard';
|
|
|
2
2
|
import type { ScheduleShiftPopoverApi } from '../composables/useScheduleShiftPopover';
|
|
3
3
|
import type { ScheduleTimePickerApi } from '../composables/useScheduleTimePicker';
|
|
4
4
|
import type { ScheduleShiftActionsApi } from '../composables/useScheduleShiftActions';
|
|
5
|
-
import type { ScheduleAssignApi } from '../composables/useScheduleAssign';
|
|
6
5
|
import type { ScheduleLeaveApi } from '../composables/useScheduleLeave';
|
|
7
6
|
import type { ScheduleClashDetectionApi } from '../composables/useScheduleClashDetection';
|
|
8
7
|
type __VLS_Props = {
|
|
@@ -10,7 +9,6 @@ type __VLS_Props = {
|
|
|
10
9
|
popover: ScheduleShiftPopoverApi;
|
|
11
10
|
timePicker: ScheduleTimePickerApi;
|
|
12
11
|
shiftActions: ScheduleShiftActionsApi;
|
|
13
|
-
assign: ScheduleAssignApi;
|
|
14
12
|
leave: ScheduleLeaveApi;
|
|
15
13
|
clash: ScheduleClashDetectionApi;
|
|
16
14
|
onNewPosition: (assign: (name: string) => void) => void;
|
|
@@ -1,16 +1,12 @@
|
|
|
1
1
|
import type { ScheduleBoardApi } from '../composables/useScheduleBoard';
|
|
2
2
|
import type { ScheduleDragDropApi } from '../composables/useScheduleDragDrop';
|
|
3
3
|
import type { ScheduleRosterApi } from '../composables/useScheduleRoster';
|
|
4
|
-
import type { ScheduleOpenShiftCardApi } from '../composables/useScheduleOpenShiftCard';
|
|
5
|
-
import type { ScheduleAllShiftsRowApi } from '../composables/useScheduleAllShiftsRow';
|
|
6
4
|
import type { ScheduleDemandRowApi } from '../composables/useScheduleDemandRow';
|
|
7
5
|
import type { ScheduleAutoScheduleApi } from '../composables/useScheduleAutoSchedule';
|
|
8
6
|
type __VLS_Props = {
|
|
9
7
|
board: ScheduleBoardApi;
|
|
10
8
|
dragDrop: ScheduleDragDropApi;
|
|
11
9
|
roster: ScheduleRosterApi;
|
|
12
|
-
openShiftCard: ScheduleOpenShiftCardApi;
|
|
13
|
-
allShiftsRow: ScheduleAllShiftsRowApi;
|
|
14
10
|
demandRow: ScheduleDemandRowApi;
|
|
15
11
|
autoSchedule: ScheduleAutoScheduleApi;
|
|
16
12
|
onAddShift: (...args: any[]) => void;
|
|
@@ -23,11 +19,8 @@ type __VLS_Props = {
|
|
|
23
19
|
onDropCell: (...args: any[]) => void;
|
|
24
20
|
onProposalDragStart: (...args: any[]) => void;
|
|
25
21
|
onProposalDragEnd: () => void;
|
|
26
|
-
onOpenAssign: (...args: any[]) => void;
|
|
27
|
-
onOpenOpenShiftMenu: (...args: any[]) => void;
|
|
28
22
|
onToggleProposal: (...args: any[]) => void;
|
|
29
23
|
onAddEmployee: () => void;
|
|
30
|
-
onAddOpenShift: (...args: any[]) => void;
|
|
31
24
|
onOpenDemandSheet: (...args: any[]) => void;
|
|
32
25
|
onSegEnter: (...args: any[]) => void;
|
|
33
26
|
onSegLeave: () => void;
|
|
@@ -5,6 +5,7 @@ import type { useScheduleStatsRow } from '../composables/useScheduleStatsRow';
|
|
|
5
5
|
import type { ScheduleDayTimelineApi } from '../composables/useScheduleDayTimeline';
|
|
6
6
|
import type { ScheduleRosterApi } from '../composables/useScheduleRoster';
|
|
7
7
|
import type { ScheduleAreaDragDropApi } from '../composables/useScheduleAreaDragDrop';
|
|
8
|
+
import type { ScheduleDragDropApi } from '../composables/useScheduleDragDrop';
|
|
8
9
|
type ScheduleLegendApi = ReturnType<typeof useScheduleLegend>;
|
|
9
10
|
type ScheduleStatsRowApi = ReturnType<typeof useScheduleStatsRow>;
|
|
10
11
|
type __VLS_Props = {
|
|
@@ -15,6 +16,10 @@ type __VLS_Props = {
|
|
|
15
16
|
dayTimeline: ScheduleDayTimelineApi;
|
|
16
17
|
roster: ScheduleRosterApi;
|
|
17
18
|
areaDragDrop: ScheduleAreaDragDropApi;
|
|
19
|
+
shiftDragDrop: ScheduleDragDropApi;
|
|
20
|
+
onDropEmployee: (employeeId: number, event: DragEvent, slotIndex?: number) => void;
|
|
21
|
+
onDropPosition: (employeeId: number, event: DragEvent, slotIndex?: number) => void;
|
|
22
|
+
onDropPositionCell: (position: string, event: DragEvent) => void;
|
|
18
23
|
mode: 'employee' | 'area';
|
|
19
24
|
onScroll: (delta: number) => void;
|
|
20
25
|
onComingSoon: () => void;
|
|
@@ -6,10 +6,8 @@ import type { SchedulePositionModalApi } from '../composables/useSchedulePositio
|
|
|
6
6
|
import type { ScheduleShiftActionsApi } from '../composables/useScheduleShiftActions';
|
|
7
7
|
import type { ScheduleShiftPopoverApi } from '../composables/useScheduleShiftPopover';
|
|
8
8
|
import type { ScheduleAutoScheduleApi } from '../composables/useScheduleAutoSchedule';
|
|
9
|
+
import type { ScheduleTourApi } from '../composables/useScheduleTour';
|
|
9
10
|
import type { ScheduleDemandSheetApi } from '../composables/useScheduleDemandSheet';
|
|
10
|
-
import type { ScheduleAllShiftsRowApi } from '../composables/useScheduleAllShiftsRow';
|
|
11
|
-
import type { ScheduleAssignApi } from '../composables/useScheduleAssign';
|
|
12
|
-
import type { ScheduleOpenShiftCardApi } from '../composables/useScheduleOpenShiftCard';
|
|
13
11
|
type ScheduleEmployeeProfileApi = ReturnType<typeof useScheduleEmployeeProfile>;
|
|
14
12
|
type __VLS_Props = {
|
|
15
13
|
board: ScheduleBoardApi;
|
|
@@ -20,10 +18,8 @@ type __VLS_Props = {
|
|
|
20
18
|
shiftActions: ScheduleShiftActionsApi;
|
|
21
19
|
popover: ScheduleShiftPopoverApi;
|
|
22
20
|
autoSchedule: ScheduleAutoScheduleApi;
|
|
21
|
+
tour: ScheduleTourApi;
|
|
23
22
|
demandSheet: ScheduleDemandSheetApi;
|
|
24
|
-
allShiftsRow: ScheduleAllShiftsRowApi;
|
|
25
|
-
assign: ScheduleAssignApi;
|
|
26
|
-
openShiftCard: ScheduleOpenShiftCardApi;
|
|
27
23
|
removeEmployeeOpen: boolean;
|
|
28
24
|
removeEmployeeName: string;
|
|
29
25
|
onEditEmployee: () => void;
|
|
@@ -4,7 +4,7 @@ import type { ScheduleAutoScheduleApi } from '../composables/useScheduleAutoSche
|
|
|
4
4
|
import type { ScheduleExportApi } from '../composables/useScheduleExport';
|
|
5
5
|
import type { SchedulePublishApi } from '../composables/useSchedulePublish';
|
|
6
6
|
type __VLS_Props = {
|
|
7
|
-
kind: 'onboarding' | 'tour' | 'export' | 'publish-share';
|
|
7
|
+
kind: 'onboarding' | 'tour' | 'auto-schedule' | 'export' | 'publish-share';
|
|
8
8
|
wizard?: ScheduleOnboardingWizardApi;
|
|
9
9
|
tour?: ScheduleTourApi;
|
|
10
10
|
autoSchedule?: ScheduleAutoScheduleApi;
|
|
@@ -2,6 +2,7 @@ type __VLS_Props = {
|
|
|
2
2
|
open: boolean;
|
|
3
3
|
title: string;
|
|
4
4
|
message: string;
|
|
5
|
+
affectedDates?: string[];
|
|
5
6
|
/** `clash-q` gives the message an orange warning-callout background instead of plain text —
|
|
6
7
|
* used by the "might conflict" dialog, kept as an opt-in rather than the default look. */
|
|
7
8
|
messageClass?: string;
|
|
@@ -10,6 +11,7 @@ type __VLS_Props = {
|
|
|
10
11
|
* consequence of pressing the button. Omitted entirely when there's nothing to point to. */
|
|
11
12
|
note?: string;
|
|
12
13
|
confirmLabel?: string;
|
|
14
|
+
loading?: boolean;
|
|
13
15
|
cancelLabel?: string;
|
|
14
16
|
tone?: 'primary' | 'danger';
|
|
15
17
|
/** The "!" mark is for dialogs guarding something irreversible — a reversible action
|
|
@@ -24,9 +26,10 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
24
26
|
onConfirm?: (() => any) | undefined;
|
|
25
27
|
}>, {
|
|
26
28
|
icon: boolean;
|
|
29
|
+
loading: boolean;
|
|
27
30
|
confirmLabel: string;
|
|
28
|
-
tone: "primary" | "danger";
|
|
29
31
|
messageClass: string;
|
|
30
32
|
cancelLabel: string;
|
|
33
|
+
tone: "primary" | "danger";
|
|
31
34
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
32
35
|
export default _default;
|
|
@@ -1,21 +1,17 @@
|
|
|
1
1
|
import type { ScheduleBoardApi } from '../composables/useScheduleBoard';
|
|
2
2
|
import type { ScheduleShiftActionsApi } from '../composables/useScheduleShiftActions';
|
|
3
|
-
import type { ScheduleOpenShiftCardApi } from '../composables/useScheduleOpenShiftCard';
|
|
4
3
|
import type { ScheduleShiftPopoverApi } from '../composables/useScheduleShiftPopover';
|
|
5
4
|
import type { ScheduleEmployeeMenuApi } from '../composables/useScheduleEmployeeMenu';
|
|
6
5
|
type __VLS_Props = {
|
|
7
|
-
kind: 'shift' | '
|
|
6
|
+
kind: 'shift' | 'employee';
|
|
8
7
|
board?: ScheduleBoardApi;
|
|
9
8
|
actions?: ScheduleShiftActionsApi;
|
|
10
|
-
openShiftMenu?: ScheduleOpenShiftCardApi;
|
|
11
9
|
popover?: ScheduleShiftPopoverApi;
|
|
12
10
|
employeeMenu?: ScheduleEmployeeMenuApi;
|
|
13
11
|
};
|
|
14
12
|
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
13
|
editShift: (empId: number, dayIdx: number, slotIndex: number) => any;
|
|
16
|
-
assign: (openId: number) => any;
|
|
17
14
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
18
15
|
onEditShift?: ((empId: number, dayIdx: number, slotIndex: number) => any) | undefined;
|
|
19
|
-
onAssign?: ((openId: number) => any) | undefined;
|
|
20
16
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
21
17
|
export default _default;
|
|
@@ -2,11 +2,16 @@ import type { ScheduleDayTimelineApi } from '../composables/useScheduleDayTimeli
|
|
|
2
2
|
import type { ScheduleRosterApi } from '../composables/useScheduleRoster';
|
|
3
3
|
import type { ScheduleViewMode } from '../composables/useScheduleFilterBar';
|
|
4
4
|
import type { ScheduleAreaDragDropApi } from '../composables/useScheduleAreaDragDrop';
|
|
5
|
+
import type { ScheduleDragDropApi } from '../composables/useScheduleDragDrop';
|
|
5
6
|
type __VLS_Props = {
|
|
6
7
|
timeline: ScheduleDayTimelineApi;
|
|
7
8
|
roster: ScheduleRosterApi;
|
|
8
9
|
mode: ScheduleViewMode;
|
|
9
10
|
dragDrop?: ScheduleAreaDragDropApi;
|
|
11
|
+
shiftDragDrop?: ScheduleDragDropApi;
|
|
12
|
+
onDropEmployee?: (employeeId: number, event: DragEvent, slotIndex?: number) => void;
|
|
13
|
+
onDropPosition?: (employeeId: number, event: DragEvent, slotIndex?: number) => void;
|
|
14
|
+
onDropPositionCell?: (position: string, event: DragEvent) => void;
|
|
10
15
|
};
|
|
11
16
|
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
17
|
export default _default;
|