@feedmepos/mf-hrm-portal 2.3.0-dev.3 → 2.3.0-dev.31
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-SjyWZghY.js → ApprovalCodeList-CWch1fPp.js} +7 -7
- package/dist/{AuditLogList-aTI3QeO0.js → AuditLogList-Dghwxogp.js} +18 -19
- package/dist/{ConditionBuilderForm.vue_vue_type_script_setup_true_lang--JTV7non.js → ConditionBuilderForm.vue_vue_type_script_setup_true_lang-BrZD73bP.js} +2 -2
- package/dist/{EmployeeList-D2Q_2ZE0.js → EmployeeList-BSrQTgKS.js} +255 -266
- package/dist/{FormItem.vue_vue_type_script_setup_true_lang-CUnlKsxk.js → FormItem.vue_vue_type_script_setup_true_lang-BaoNK72R.js} +6 -6
- package/dist/{GrantUserList-6YXLPuHR.js → GrantUserList-Cqlm7SC8.js} +8 -8
- package/dist/{Main-dSqOeBRJ.js → Main-Cv6emTjo.js} +11 -11
- package/dist/{Main-B-a6F9g8.js → Main-Cy39OsdC.js} +8 -8
- package/dist/{Main-CFIWlIaC.js → Main-GFkUfBG7.js} +5 -5
- package/dist/{PermissionSetList-DxkaPCMs.js → PermissionSetList-DckK2K9d.js} +19 -18
- package/dist/PortalPermissionEditor.vue_vue_type_script_setup_true_lang-CLegdfVG.js +4167 -0
- package/dist/{PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-fe-Rdwn4.js → PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-DQcgZ0nF.js} +1 -1
- package/dist/ResponsiveContextMenu.vue_vue_type_script_setup_true_lang-mSJFKo7r.js +132 -0
- package/dist/{RoleList-DQZ_w5uM.js → RoleList-Bfpgb4WK.js} +21 -20
- package/dist/ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-Tqp7ALu_.js +530 -0
- package/dist/ScheduleGeneralPage-DpvA2Qmg.js +776 -0
- package/dist/ScheduleModal.vue_vue_type_script_setup_true_lang-DgXhOBUA.js +2457 -0
- package/dist/SchedulePage-DGBxv7Xl.js +19366 -0
- package/dist/{SchedulePositionPage-BGrZBU3g.js → SchedulePositionPage-CoDH-_GS.js} +79 -81
- package/dist/{SelectFilter-CG13h83-.js → SelectFilter-BmPl0nGk.js} +1 -1
- package/dist/{TeamMemberList-BiTHVJwE.js → TeamMemberList-C4sRgPCJ.js} +27 -27
- package/dist/{TimesheetList-CUkYacGW.js → TimesheetList-BvbGXbQJ.js} +52 -53
- package/dist/{TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-B1Y587O-.js → TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-CjlquA4w.js} +3 -3
- package/dist/{app-CAKCDrbJ.js → app-P7IBQlke.js} +2891 -2474
- package/dist/app.js +1 -1
- package/dist/{approval-code-C9DmR4Md.js → approval-code-BXUiojPH.js} +1 -1
- package/dist/{dayjs.min-CZ8QYRoc.js → dayjs.min-F98FDy4j.js} +1 -1
- package/dist/{employee-D56eWEFe.js → employee-1Xm80pW8.js} +51 -47
- package/dist/{grant-user-Bv-pJ9Wt.js → grant-user-CBJ3gEgW.js} +1 -1
- package/dist/{iteration-BVJdyLNq.js → iteration-BdSsaLV1.js} +1 -1
- package/dist/{lodash-BcIRkQPW.js → lodash-DbhAtFh7.js} +1 -1
- package/dist/object-Dwyg2LgX.js +16 -0
- package/dist/{restaurant-D7PEQjPY.js → restaurant-D2mfKHaH.js} +48 -48
- package/dist/{role-B-eZDaBX.js → role-BPGfYbnf.js} +2 -2
- package/dist/{rule-D6AIfx8b.js → rule-C3777WTe.js} +3 -3
- package/dist/src/api/employee/index.d.ts +2 -2
- package/dist/src/api/schedule/index.d.ts +17 -2
- package/dist/src/components/layout/SchedulePromoBanner.vue.d.ts +2 -0
- package/dist/src/composables/useDiscardConfirm.d.ts +3 -1
- package/dist/src/composables/useMessage.d.ts +8 -2
- 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/{ScheduleAssignEmployeePopover.vue.d.ts → ScheduleAutoScheduleDetailsModal.vue.d.ts} +2 -2
- 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/ScheduleOnboardingAssignPositionModal.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleOnboardingSettings.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/SchedulePublishShareArt.vue.d.ts +2 -0
- 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 +33 -0
- package/dist/src/views/scheduling/composables/onboarding-types.d.ts +2 -1
- package/dist/src/views/scheduling/composables/remyPrompt.d.ts +15 -0
- 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-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/useRemyAppStore.d.ts +16 -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 +126 -4
- package/dist/src/views/scheduling/composables/useScheduleBoard.d.ts +86 -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 +14 -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/useScheduleGapPopover.d.ts +2 -0
- 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 +425 -29
- 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 +3 -0
- 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 +362 -298
- package/dist/src/views/scheduling/schedule-store.d.ts +41 -12
- package/dist/src/views/scheduling/types.d.ts +33 -5
- package/dist/style.css +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{useAppStore-d_nHyK5u.js → useAppStore-DZCdxlCd.js} +1 -1
- package/dist/useDiscardConfirm-CzZSPyvh.js +28 -0
- package/dist/{useLoading-JFoghhRz.js → useLoading-Nygx2zn8.js} +1 -1
- package/dist/{useReportPermissions-DHA0jrIr.js → useReportPermissions-CW4Tk5tm.js} +3 -3
- package/package.json +3 -2
- package/dist/PortalPermissionEditor.vue_vue_type_script_setup_true_lang-DnKckKZ0.js +0 -4167
- package/dist/ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-Dr6QruG6.js +0 -470
- package/dist/ScheduleGeneralPage-CvskrXcV.js +0 -666
- package/dist/ScheduleModal.vue_vue_type_script_setup_true_lang-C4On5sVD.js +0 -2157
- package/dist/SchedulePage-CW-K836l.js +0 -18248
- 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/scheduleAutoSolver.d.ts +0 -23
- 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
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
import type { FdtoScheduleAssignment,
|
|
1
|
+
import type { FdtoScheduleAssignment, FdtoScheduleAutoScheduleApplyReq, FdtoScheduleAutoScheduleApplyResult, FdtoScheduleAutoScheduleCapabilities, FdtoScheduleAutoScheduleGenerateReq, FdtoScheduleAutoScheduleResult, FdtoScheduleBoard, FdtoScheduleBulkUpdateAssignmentStatusReq, FdtoScheduleBulkSaveAssignmentsReq, FdtoScheduleBulkSaveAssignmentsResult, FdtoScheduleBulkReplaceDemandReq, FdtoScheduleClearScheduleReq, FdtoScheduleCopyScheduleReq, FdtoScheduleCreateEmployeeProfileReq, FdtoScheduleEmployeeConfig, FdtoScheduleDemand, FdtoScheduleEmployee, FdtoSchedulePosition, FdtoScheduleSaveAssignmentReq, FdtoScheduleSaveDemandReq, FdtoScheduleSaveEmployeeConfigsReq, FdtoScheduleSavePositionReq, FdtoScheduleSaveScheduleDayReq, FdtoScheduleSaveSettingsReq, FdtoScheduleReplaceDemandReq, FdtoScheduleSettings, FdtoScheduleScheduleDay, FdtoScheduleUpdateEmployeeProfileReq, FdtoScheduleCompleteOnboardingReq, FdtoScheduleValidatePosAccessReq, FdtoScheduleCreateTimeOffReq, FdtoScheduleTimeOff, FdtoScheduleUpdateTimeOffStatusReq } from '@/types/schedule';
|
|
2
2
|
declare const ScheduleAPI: {
|
|
3
|
+
completeOnboarding(restaurantId: string, req: FdtoScheduleCompleteOnboardingReq): Promise<any>;
|
|
3
4
|
listEmployeeProfiles(employeeIds?: string[]): Promise<FdtoScheduleEmployee[]>;
|
|
4
5
|
listEmployeeConfigs(restaurantId: string): Promise<FdtoScheduleEmployeeConfig[]>;
|
|
5
6
|
saveEmployeeConfigs(restaurantId: string, req: FdtoScheduleSaveEmployeeConfigsReq): Promise<FdtoScheduleEmployeeConfig[]>;
|
|
6
7
|
getSettings(restaurantId: string): Promise<FdtoScheduleSettings>;
|
|
7
8
|
saveSettings(restaurantId: string, req: FdtoScheduleSaveSettingsReq): Promise<FdtoScheduleSettings>;
|
|
8
|
-
generateAutoSchedule(restaurantId: string, req:
|
|
9
|
+
generateAutoSchedule(restaurantId: string, req: FdtoScheduleAutoScheduleGenerateReq): Promise<FdtoScheduleAutoScheduleResult>;
|
|
10
|
+
getAutoScheduleCapabilities(restaurantId: string): Promise<FdtoScheduleAutoScheduleCapabilities>;
|
|
11
|
+
applyAutoSchedule(restaurantId: string, req: FdtoScheduleAutoScheduleApplyReq): Promise<FdtoScheduleAutoScheduleApplyResult>;
|
|
9
12
|
/** One outlet's whole board over `[from, to]` (inclusive, 'YYYY-MM-DD'). */
|
|
10
13
|
readBoard(restaurantId: string, from: string, to: string): Promise<FdtoScheduleBoard>;
|
|
11
14
|
createTimeOff(restaurantId: string, req: FdtoScheduleCreateTimeOffReq): Promise<FdtoScheduleTimeOff>;
|
|
@@ -15,6 +18,7 @@ declare const ScheduleAPI: {
|
|
|
15
18
|
createEmployeeProfile(_restaurantId: string, req: FdtoScheduleCreateEmployeeProfileReq): Promise<FdtoScheduleEmployee>;
|
|
16
19
|
/** Edits the employee's shared business-level scheduling profile. */
|
|
17
20
|
updateEmployeeProfile(_restaurantId: string, employeeId: string, req: FdtoScheduleUpdateEmployeeProfileReq): Promise<FdtoScheduleEmployee>;
|
|
21
|
+
validatePosAccess(req: FdtoScheduleValidatePosAccessReq): Promise<void>;
|
|
18
22
|
/** Positions are shared across the business. */
|
|
19
23
|
createPosition(req: FdtoScheduleSavePositionReq): Promise<FdtoSchedulePosition>;
|
|
20
24
|
updatePosition(id: string, req: FdtoScheduleSavePositionReq): Promise<FdtoSchedulePosition>;
|
|
@@ -32,6 +36,8 @@ declare const ScheduleAPI: {
|
|
|
32
36
|
}>;
|
|
33
37
|
/** Atomically replaces one date/weekday's flattened demand rows. */
|
|
34
38
|
replaceDemands(restaurantId: string, req: FdtoScheduleReplaceDemandReq): Promise<FdtoScheduleDemand[]>;
|
|
39
|
+
/** Atomically replaces several date/weekday demand generations. */
|
|
40
|
+
bulkReplaceDemands(restaurantId: string, req: FdtoScheduleBulkReplaceDemandReq): Promise<FdtoScheduleDemand[]>;
|
|
35
41
|
/** Replaces one date's note/holiday-mark. All three fields back to empty/false clears it. */
|
|
36
42
|
saveScheduleDay(restaurantId: string, date: string, req: FdtoScheduleSaveScheduleDayReq): Promise<FdtoScheduleScheduleDay | null>;
|
|
37
43
|
/** A one-off shift assignment. */
|
|
@@ -39,6 +45,10 @@ declare const ScheduleAPI: {
|
|
|
39
45
|
updateAssignment(restaurantId: string, id: string, req: FdtoScheduleSaveAssignmentReq): Promise<FdtoScheduleAssignment | null>;
|
|
40
46
|
/** Atomically applies assignment updates, creates, and deletes used by moves and swaps. */
|
|
41
47
|
bulkSaveAssignments(restaurantId: string, req: FdtoScheduleBulkSaveAssignmentsReq): Promise<FdtoScheduleBulkSaveAssignmentsResult>;
|
|
48
|
+
/** Replaces demand and/or assignments in one backend transaction. */
|
|
49
|
+
copySchedule(restaurantId: string, req: FdtoScheduleCopyScheduleReq): Promise<any>;
|
|
50
|
+
/** Clears demand and/or assignments in one backend transaction. */
|
|
51
|
+
clearSchedule(restaurantId: string, req: FdtoScheduleClearScheduleReq): Promise<any>;
|
|
42
52
|
/** Deletes a batch of assignments in one request — e.g. a shift split into several segments
|
|
43
53
|
* getting replaced wholesale. Deleting one assignment is just this with a single-id
|
|
44
54
|
* array. */
|
|
@@ -46,6 +56,11 @@ declare const ScheduleAPI: {
|
|
|
46
56
|
ok: true;
|
|
47
57
|
deletedCount: number;
|
|
48
58
|
}>;
|
|
59
|
+
/** Removes all assignments for an employee from the inclusive removal date onward. */
|
|
60
|
+
deleteEmployeeFutureAssignments(restaurantId: string, employeeId: string, from: string): Promise<{
|
|
61
|
+
ok: true;
|
|
62
|
+
deletedCount: number;
|
|
63
|
+
}>;
|
|
49
64
|
/** Flips a batch of assignments to one status in a single request — e.g. Publish sending
|
|
50
65
|
* every DRAFT shift on the board to PUBLISHED at once. */
|
|
51
66
|
bulkUpdateAssignmentStatus(restaurantId: string, req: FdtoScheduleBulkUpdateAssignmentStatusReq): Promise<FdtoScheduleAssignment[]>;
|
|
@@ -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,4 +1,10 @@
|
|
|
1
|
+
import { SnackbarPosition } from '@feedmepos/ui-library';
|
|
2
|
+
export interface MessageOptions {
|
|
3
|
+
/** Where the snackbar is anchored. Defaults to the library's own default (top-right). */
|
|
4
|
+
position?: SnackbarPosition;
|
|
5
|
+
}
|
|
1
6
|
export declare function useMessage(): {
|
|
2
|
-
success: (message: string) => void;
|
|
3
|
-
error: (message: string) => void;
|
|
7
|
+
success: (message: string, options?: MessageOptions) => void;
|
|
8
|
+
error: (message: string, options?: MessageOptions) => void;
|
|
4
9
|
};
|
|
10
|
+
export { SnackbarPosition };
|
|
@@ -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, FdtoScheduleAutoScheduleObjective, FdtoScheduleAutoScheduleProposal,
|
|
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;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ScheduleAutoScheduleApi } from '../composables/useScheduleAutoSchedule';
|
|
2
2
|
type __VLS_Props = {
|
|
3
|
-
|
|
3
|
+
autoSchedule: ScheduleAutoScheduleApi;
|
|
4
4
|
};
|
|
5
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
6
|
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;
|