@feedmepos/mf-hrm-portal 2.2.5-dev.3 → 2.2.5-dev.4
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-BuIPVwsl.js → ApprovalCodeList-D0B_X3Sf.js} +4 -4
- package/dist/{AuditLogList-l3fv_3jD.js → AuditLogList-D9anf4YQ.js} +18 -17
- package/dist/{ConditionBuilderForm.vue_vue_type_script_setup_true_lang-BYY9dMSQ.js → ConditionBuilderForm.vue_vue_type_script_setup_true_lang-4oENMRO3.js} +2 -2
- package/dist/{EmployeeList-HjNxPBcN.js → EmployeeList-DREDu3Ou.js} +29 -27
- 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-B91EBl82.js → GrantUserList-CLDshEN9.js} +5 -5
- package/dist/{Main-DeqJPnm7.js → Main-DtMaG42L.js} +2 -2
- package/dist/{Main-TuG-h_qY.js → Main-QhQxU593.js} +5 -5
- package/dist/{Main-C_tQuQsU.js → Main-lqlb8tPw.js} +9 -9
- package/dist/{PermissionSetList-qVaYkiQ4.js → PermissionSetList-BK8yBpJJ.js} +11 -10
- package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-DcpNr0M4.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-uSdvH81B.js} +676 -675
- package/dist/{RoleList-CM0m4nya.js → RoleList-D6AX6BqB.js} +7 -7
- package/dist/ScheduleGeneralPage-DAECTCDu.js +242 -0
- package/dist/SchedulePage-CdFR7JuO.js +10751 -0
- package/dist/SchedulePositionPage-DTtKg0sx.js +220 -0
- package/dist/ScheduleSelect.vue_vue_type_script_setup_true_lang-BiuUrr50.js +199 -0
- package/dist/SelectFilter-CG13h83-.js +264 -0
- package/dist/{TeamMemberList-GkMQuyoE.js → TeamMemberList-BM5JoR6J.js} +36 -34
- package/dist/{TimesheetList-Ci2r3AOF.js → TimesheetList-Ch_f_PD5.js} +54 -53
- package/dist/{TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-QbQ7tbJP.js → TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-CxqxqwyD.js} +2 -2
- package/dist/_plugin-vue_export-helper-CHgC5LLL.js +9 -0
- package/dist/{app-MXDLzWd6.js → app-tDHL6k4G.js} +2884 -2299
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-DRqYbe11.js → dayjs.min-B_XWc0Hu.js} +1 -1
- package/dist/employee-Bs_2vqBY.js +139 -0
- package/dist/index-Cz2b95YF.js +70 -0
- package/dist/{iteration-CtN8sidV.js → index-jxRluZiW.js} +698 -726
- package/dist/iteration-CcXrOMQe.js +30 -0
- package/dist/{lodash-BwY7earz.js → lodash-D5vM3paU.js} +1 -1
- package/dist/{role-Ds1yN3BN.js → role-7ccipEEe.js} +4 -3
- package/dist/{rule-DkG2eGGH.js → rule-7faruCdz.js} +71 -70
- package/dist/src/api/schedule/index.d.ts +44 -0
- package/dist/src/components/layout/AppSidebar.vue.d.ts +2 -0
- package/dist/src/components/layout/PortalShell.vue.d.ts +12 -0
- package/dist/src/components/layout/withShell.d.ts +14 -0
- package/dist/src/router/shared.d.ts +4 -1
- package/dist/src/types/schedule.d.ts +232 -0
- package/dist/src/views/scheduling/ScheduleGeneralPage.vue.d.ts +4 -0
- package/dist/src/views/scheduling/SchedulePage.vue.d.ts +4 -0
- package/dist/src/views/scheduling/SchedulePositionPage.vue.d.ts +4 -0
- package/dist/src/views/scheduling/components/ScheduleAddEmployeeIdentitySection.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleAddEmployeeModal.vue.d.ts +6 -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 +6 -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/ScheduleAllShiftsRow.vue.d.ts +22 -0
- package/dist/src/views/scheduling/components/ScheduleAreaRows.vue.d.ts +34 -0
- package/dist/src/views/scheduling/components/ScheduleAssignEmployeePopover.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleAutoScheduleModal.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleChangeEmployeeModal.vue.d.ts +8 -0
- package/dist/src/views/scheduling/components/ScheduleConfirmModal.vue.d.ts +24 -0
- package/dist/src/views/scheduling/components/ScheduleCostRail.vue.d.ts +8 -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/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/ScheduleLeaveEditModal.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleLegendBar.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleOnboardingWelcome.vue.d.ts +12 -0
- package/dist/src/views/scheduling/components/ScheduleOnboardingWizard.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleOpenShiftCardMenu.vue.d.ts +14 -0
- package/dist/src/views/scheduling/components/SchedulePdfPreview.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/SchedulePublishModal.vue.d.ts +8 -0
- package/dist/src/views/scheduling/components/ScheduleReviewBar.vue.d.ts +12 -0
- package/dist/src/views/scheduling/components/ScheduleSelect.vue.d.ts +24 -0
- package/dist/src/views/scheduling/components/ScheduleSelectExistingEmployeeModal.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleShiftCardMenu.vue.d.ts +12 -0
- package/dist/src/views/scheduling/components/ScheduleShiftCell.vue.d.ts +31 -0
- package/dist/src/views/scheduling/components/ScheduleShiftHeadcountEditor.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleShiftImpact.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleShiftMoreOptions.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleShiftPopover.vue.d.ts +14 -0
- package/dist/src/views/scheduling/components/ScheduleShiftRepeatDaysRow.vue.d.ts +8 -0
- package/dist/src/views/scheduling/components/ScheduleShiftSegmentsEditor.vue.d.ts +8 -0
- package/dist/src/views/scheduling/components/ScheduleShiftWhoPicker.vue.d.ts +25 -0
- package/dist/src/views/scheduling/components/ScheduleStackPopover.vue.d.ts +14 -0
- package/dist/src/views/scheduling/components/ScheduleStaffRail.vue.d.ts +16 -0
- package/dist/src/views/scheduling/components/ScheduleStaffRows.vue.d.ts +54 -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 +22 -0
- package/dist/src/views/scheduling/composables/schedule-add-employee-form.d.ts +67 -0
- package/dist/src/views/scheduling/composables/schedule-board-helpers.d.ts +38 -0
- package/dist/src/views/scheduling/composables/schedule-day-meta.d.ts +29 -0
- package/dist/src/views/scheduling/composables/schedule-employee-profile.d.ts +7 -0
- package/dist/src/views/scheduling/composables/schedule-shift-time.d.ts +14 -0
- package/dist/src/views/scheduling/composables/schedule-week-cache.d.ts +10 -0
- package/dist/src/views/scheduling/composables/useScheduleAddEmployee.d.ts +86 -0
- package/dist/src/views/scheduling/composables/useScheduleAddPick.d.ts +66 -0
- package/dist/src/views/scheduling/composables/useScheduleAllShiftsRow.d.ts +77 -0
- package/dist/src/views/scheduling/composables/useScheduleAreaBoard.d.ts +50 -0
- package/dist/src/views/scheduling/composables/useScheduleAreaDragDrop.d.ts +18 -0
- package/dist/src/views/scheduling/composables/useScheduleAssign.d.ts +113 -0
- package/dist/src/views/scheduling/composables/useScheduleAutoSchedule.d.ts +136 -0
- package/dist/src/views/scheduling/composables/useScheduleBoard.d.ts +415 -0
- package/dist/src/views/scheduling/composables/useScheduleCellState.d.ts +27 -0
- package/dist/src/views/scheduling/composables/useScheduleClashDetection.d.ts +18 -0
- package/dist/src/views/scheduling/composables/useScheduleCopyWeek.d.ts +17 -0
- package/dist/src/views/scheduling/composables/useScheduleCostRail.d.ts +43 -0
- package/dist/src/views/scheduling/composables/useScheduleDayNote.d.ts +48 -0
- package/dist/src/views/scheduling/composables/useScheduleDayTimeline.d.ts +82 -0
- package/dist/src/views/scheduling/composables/useScheduleDemand.d.ts +68 -0
- package/dist/src/views/scheduling/composables/useScheduleDemandRow.d.ts +45 -0
- package/dist/src/views/scheduling/composables/useScheduleDemandSheet.d.ts +139 -0
- package/dist/src/views/scheduling/composables/useScheduleDragDrop.d.ts +22 -0
- package/dist/src/views/scheduling/composables/useScheduleEmployeeIdentity.d.ts +32 -0
- package/dist/src/views/scheduling/composables/useScheduleEmployeeProfile.d.ts +16 -0
- package/dist/src/views/scheduling/composables/useScheduleExport.d.ts +26 -0
- package/dist/src/views/scheduling/composables/useScheduleFilterBar.d.ts +14 -0
- package/dist/src/views/scheduling/composables/useScheduleGapPopover.d.ts +80 -0
- package/dist/src/views/scheduling/composables/useScheduleLeave.d.ts +20 -0
- package/dist/src/views/scheduling/composables/useScheduleLegend.d.ts +15 -0
- package/dist/src/views/scheduling/composables/useScheduleLegendBar.d.ts +35 -0
- package/dist/src/views/scheduling/composables/useScheduleOnboardingWizard.d.ts +179 -0
- package/dist/src/views/scheduling/composables/useScheduleOpenShiftCard.d.ts +23 -0
- package/dist/src/views/scheduling/composables/useScheduleOutlet.d.ts +19 -0
- package/dist/src/views/scheduling/composables/useSchedulePositions.d.ts +32 -0
- package/dist/src/views/scheduling/composables/useSchedulePublish.d.ts +91 -0
- package/dist/src/views/scheduling/composables/useScheduleRangeCalendar.d.ts +18 -0
- package/dist/src/views/scheduling/composables/useScheduleRoster.d.ts +183 -0
- package/dist/src/views/scheduling/composables/useScheduleSettings.d.ts +54 -0
- package/dist/src/views/scheduling/composables/useScheduleSetupBanner.d.ts +18 -0
- package/dist/src/views/scheduling/composables/useScheduleShiftActions.d.ts +225 -0
- package/dist/src/views/scheduling/composables/useScheduleShiftPopover.d.ts +174 -0
- package/dist/src/views/scheduling/composables/useScheduleStaffRail.d.ts +20 -0
- package/dist/src/views/scheduling/composables/useScheduleStatsRow.d.ts +25 -0
- package/dist/src/views/scheduling/composables/useScheduleTimePicker.d.ts +44 -0
- package/dist/src/views/scheduling/composables/useScheduleTopbar.d.ts +10 -0
- package/dist/src/views/scheduling/data.d.ts +105 -0
- package/dist/src/views/scheduling/locales/index.d.ts +496 -0
- package/dist/src/views/scheduling/schedule-store.d.ts +116 -0
- package/dist/src/views/scheduling/types.d.ts +311 -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/{useReportPermissions-B_YakoB-.js → useReportPermissions-FieO4EAD.js} +3 -3
- package/dist/useScheduleOutlet-CmIG5dwQ.js +557 -0
- package/dist/useSchedulePositions-DPVAgdB2.js +103 -0
- package/package.json +1 -1
- package/dist/SelectFilter-ATOm0hdn.js +0 -269
- package/dist/employee-zsQMMIVM.js +0 -204
|
@@ -0,0 +1,232 @@
|
|
|
1
|
+
export interface FdtoSchedulePosition {
|
|
2
|
+
id: string;
|
|
3
|
+
name: string;
|
|
4
|
+
}
|
|
5
|
+
/** Creates or renames a position — see the backend DTO of the same name. Positions are
|
|
6
|
+
* business-level, not per-outlet, so this carries nothing that names one. */
|
|
7
|
+
export interface FdtoScheduleSavePositionReq {
|
|
8
|
+
name: string;
|
|
9
|
+
}
|
|
10
|
+
export interface FdtoSchedulePositionRef {
|
|
11
|
+
positionId: string;
|
|
12
|
+
positionName: string;
|
|
13
|
+
}
|
|
14
|
+
/** What a create/update request names a position by — see the backend DTO of the same name.
|
|
15
|
+
* `positionId` wins server-side when it resolves; `positionName` is what every picker on this
|
|
16
|
+
* board actually has to offer (see `POSITIONS`/`positionIdOf` in `data.ts`), so it's always
|
|
17
|
+
* sent too, as the fallback a stale or not-yet-loaded id catalogue would need. */
|
|
18
|
+
export interface FdtoSchedulePositionSelectorReq {
|
|
19
|
+
positionId?: string;
|
|
20
|
+
positionName: string;
|
|
21
|
+
}
|
|
22
|
+
/** Multipliers on an hour's pay, by the kind of day it falls on. A NORMAL day carries only an
|
|
23
|
+
* overtime multiplier — its ordinary hours are 1× by definition. */
|
|
24
|
+
export interface FdtoSchedulePayRate {
|
|
25
|
+
NORMAL: {
|
|
26
|
+
overtime: number;
|
|
27
|
+
};
|
|
28
|
+
REST_DAY: {
|
|
29
|
+
regular: number;
|
|
30
|
+
overtime: number;
|
|
31
|
+
};
|
|
32
|
+
PUBLIC_HOLIDAY: {
|
|
33
|
+
regular: number;
|
|
34
|
+
overtime: number;
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
export interface FdtoScheduleSettings {
|
|
38
|
+
payRate: FdtoSchedulePayRate;
|
|
39
|
+
}
|
|
40
|
+
/** When the outlet trades, from its own Restaurants profile — ScheduleSettings no longer
|
|
41
|
+
* carries it. `dayOfWeek` is JS `getDay()` (0 = Sunday). A closed day carries no windows; an
|
|
42
|
+
* open day carries one or more `{start, end}` windows (a lunch/dinner split reads as two, not
|
|
43
|
+
* one that spans the gap between them). */
|
|
44
|
+
export interface FdtoScheduleDayOperatingHours {
|
|
45
|
+
dayOfWeek: number;
|
|
46
|
+
closed: boolean;
|
|
47
|
+
hours: Array<{
|
|
48
|
+
start: string;
|
|
49
|
+
end: string;
|
|
50
|
+
}>;
|
|
51
|
+
}
|
|
52
|
+
export interface FdtoScheduleRestaurantProfile {
|
|
53
|
+
operatingHours: FdtoScheduleDayOperatingHours[];
|
|
54
|
+
}
|
|
55
|
+
/** Creates or updates the employee's business-level scheduling profile through POST /employees. */
|
|
56
|
+
export interface FdtoScheduleCreateEmployeeProfileReq {
|
|
57
|
+
employeeId: string;
|
|
58
|
+
employeeName: string;
|
|
59
|
+
employmentType?: 'FULLTIME' | 'PARTTIME';
|
|
60
|
+
workingHour?: number;
|
|
61
|
+
wage?: {
|
|
62
|
+
type: 'HOURLY' | 'MONTHLY';
|
|
63
|
+
amount: number;
|
|
64
|
+
};
|
|
65
|
+
primaryPosition?: FdtoSchedulePositionSelectorReq;
|
|
66
|
+
secondaryPositions?: FdtoSchedulePositionSelectorReq[];
|
|
67
|
+
availability?: Array<{
|
|
68
|
+
dayOfWeek: number;
|
|
69
|
+
start: string;
|
|
70
|
+
end: string;
|
|
71
|
+
}>;
|
|
72
|
+
}
|
|
73
|
+
/** Editable profile fields. The API helper adds employeeId to the POST /employees body. */
|
|
74
|
+
export type FdtoScheduleUpdateEmployeeProfileReq = Omit<FdtoScheduleCreateEmployeeProfileReq, 'employeeId'>;
|
|
75
|
+
export interface FdtoScheduleEmployee {
|
|
76
|
+
employeeId: string;
|
|
77
|
+
name: string;
|
|
78
|
+
employmentType: 'FULLTIME' | 'PARTTIME';
|
|
79
|
+
workingHour: number;
|
|
80
|
+
wage: {
|
|
81
|
+
type: 'HOURLY' | 'MONTHLY';
|
|
82
|
+
amount: number;
|
|
83
|
+
};
|
|
84
|
+
primaryPosition: FdtoSchedulePositionRef | null;
|
|
85
|
+
secondaryPositions: FdtoSchedulePositionRef[];
|
|
86
|
+
availability: Array<{
|
|
87
|
+
dayOfWeek: number;
|
|
88
|
+
start: string;
|
|
89
|
+
end: string;
|
|
90
|
+
}>;
|
|
91
|
+
}
|
|
92
|
+
export interface FdtoScheduleAssignment {
|
|
93
|
+
id: string;
|
|
94
|
+
employeeId: string;
|
|
95
|
+
position: FdtoSchedulePositionRef | null;
|
|
96
|
+
date: string;
|
|
97
|
+
startTime: string;
|
|
98
|
+
endTime: string;
|
|
99
|
+
breakMinutes: number;
|
|
100
|
+
status: 'DRAFT' | 'PUBLISHED' | 'CONFIRMED';
|
|
101
|
+
}
|
|
102
|
+
/** Creates or replaces one plain assignment — see the backend DTO of the same name for the
|
|
103
|
+
* full contract. */
|
|
104
|
+
export interface FdtoScheduleSaveAssignmentReq {
|
|
105
|
+
employeeId: string;
|
|
106
|
+
date: string;
|
|
107
|
+
startTime: string;
|
|
108
|
+
endTime: string;
|
|
109
|
+
breakMinutes?: number;
|
|
110
|
+
position?: FdtoSchedulePositionSelectorReq;
|
|
111
|
+
status?: 'DRAFT' | 'PUBLISHED' | 'CONFIRMED';
|
|
112
|
+
}
|
|
113
|
+
/** Flips a batch of existing assignments to one status in a single request — see the backend
|
|
114
|
+
* DTO of the same name. */
|
|
115
|
+
export interface FdtoScheduleBulkUpdateAssignmentStatusReq {
|
|
116
|
+
ids: string[];
|
|
117
|
+
status: 'DRAFT' | 'PUBLISHED' | 'CONFIRMED';
|
|
118
|
+
}
|
|
119
|
+
export type FdtoScheduleAutoScheduleObjective = 'BALANCED' | 'SERVICE' | 'LOWER_COST' | 'STABLE_HOURS';
|
|
120
|
+
export interface FdtoScheduleAutoScheduleReq {
|
|
121
|
+
from: string;
|
|
122
|
+
to: string;
|
|
123
|
+
objective: FdtoScheduleAutoScheduleObjective;
|
|
124
|
+
fillDemandGaps: boolean;
|
|
125
|
+
allowOvertime?: boolean;
|
|
126
|
+
minimumCoveragePercent?: number;
|
|
127
|
+
}
|
|
128
|
+
export interface FdtoScheduleAutoScheduleProposal {
|
|
129
|
+
employeeId: string;
|
|
130
|
+
date: string;
|
|
131
|
+
startTime: string;
|
|
132
|
+
endTime: string;
|
|
133
|
+
position: string;
|
|
134
|
+
}
|
|
135
|
+
export interface FdtoScheduleAutoScheduleResult {
|
|
136
|
+
proposals: FdtoScheduleAutoScheduleProposal[];
|
|
137
|
+
unfilledCount: number;
|
|
138
|
+
metrics: {
|
|
139
|
+
minimumCoveragePercent: number;
|
|
140
|
+
recommendedCoveragePercent: number;
|
|
141
|
+
totalHours: number;
|
|
142
|
+
estimatedLabourCost: number | null;
|
|
143
|
+
costCoveragePercent: number;
|
|
144
|
+
overtimeHours: number;
|
|
145
|
+
targetHoursVariance: number;
|
|
146
|
+
unfilledIntervals: number;
|
|
147
|
+
};
|
|
148
|
+
readiness: {
|
|
149
|
+
ready: boolean;
|
|
150
|
+
capabilities: string[];
|
|
151
|
+
issues: Array<{
|
|
152
|
+
code: string;
|
|
153
|
+
severity: 'BLOCKER' | 'WARNING' | 'INFO';
|
|
154
|
+
message: string;
|
|
155
|
+
}>;
|
|
156
|
+
coverage: {
|
|
157
|
+
position: number;
|
|
158
|
+
availability: number;
|
|
159
|
+
wage: number;
|
|
160
|
+
targetHours: number;
|
|
161
|
+
};
|
|
162
|
+
};
|
|
163
|
+
explanations: string[];
|
|
164
|
+
solver: string;
|
|
165
|
+
}
|
|
166
|
+
export interface FdtoScheduleDemand {
|
|
167
|
+
id: string;
|
|
168
|
+
date: string | null;
|
|
169
|
+
dayOfWeek: number | null;
|
|
170
|
+
startTime: string;
|
|
171
|
+
endTime: string;
|
|
172
|
+
headcount: number;
|
|
173
|
+
position: FdtoSchedulePositionRef | null;
|
|
174
|
+
}
|
|
175
|
+
/** Creates or updates one flat demand interval for a date OR standing weekday. */
|
|
176
|
+
export interface FdtoScheduleSaveDemandReq {
|
|
177
|
+
date?: string;
|
|
178
|
+
dayOfWeek?: number;
|
|
179
|
+
startTime: string;
|
|
180
|
+
endTime: string;
|
|
181
|
+
headcount: number;
|
|
182
|
+
position?: FdtoSchedulePositionSelectorReq;
|
|
183
|
+
}
|
|
184
|
+
/** UI-level replacement command. The store expands these periods into flat ShiftDemand rows. */
|
|
185
|
+
export interface ScheduleReplaceDemandReq {
|
|
186
|
+
date?: string;
|
|
187
|
+
dayOfWeek?: number;
|
|
188
|
+
periods: Array<{
|
|
189
|
+
startTime: string;
|
|
190
|
+
endTime: string;
|
|
191
|
+
headcount: number;
|
|
192
|
+
roles?: Array<{
|
|
193
|
+
positionId?: string;
|
|
194
|
+
positionName: string;
|
|
195
|
+
headcount: number;
|
|
196
|
+
}>;
|
|
197
|
+
}>;
|
|
198
|
+
}
|
|
199
|
+
/** Whatever a manager has authored about one DATE — a titled note, and whether it bills at the
|
|
200
|
+
* holiday rate — see the backend DTO of the same name. A date nothing has ever been set on
|
|
201
|
+
* reads the same as one whose document was deleted after being cleared back to empty. */
|
|
202
|
+
export interface FdtoScheduleScheduleDay {
|
|
203
|
+
id: string;
|
|
204
|
+
date: string;
|
|
205
|
+
title: string;
|
|
206
|
+
description: string;
|
|
207
|
+
isPublicHoliday: boolean;
|
|
208
|
+
}
|
|
209
|
+
/** Replaces one date's note/holiday-mark in one write — see the backend DTO of the same name.
|
|
210
|
+
* All three fields back to empty/false clears it. */
|
|
211
|
+
export interface FdtoScheduleSaveScheduleDayReq {
|
|
212
|
+
title?: string;
|
|
213
|
+
description?: string;
|
|
214
|
+
isPublicHoliday?: boolean;
|
|
215
|
+
}
|
|
216
|
+
export interface FdtoScheduleBoard {
|
|
217
|
+
outlet: {
|
|
218
|
+
id: string;
|
|
219
|
+
name: string;
|
|
220
|
+
};
|
|
221
|
+
range: {
|
|
222
|
+
from: string;
|
|
223
|
+
to: string;
|
|
224
|
+
};
|
|
225
|
+
settings: FdtoScheduleSettings;
|
|
226
|
+
restaurantProfile: FdtoScheduleRestaurantProfile;
|
|
227
|
+
positions: FdtoSchedulePosition[];
|
|
228
|
+
employees: FdtoScheduleEmployee[];
|
|
229
|
+
assignments: FdtoScheduleAssignment[];
|
|
230
|
+
demands: FdtoScheduleDemand[];
|
|
231
|
+
days: FdtoScheduleScheduleDay[];
|
|
232
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import './scheduling-tokens.css';
|
|
2
|
+
import './scheduling.css';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import './scheduling-tokens.css';
|
|
2
|
+
import './scheduling.css';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import './scheduling-tokens.css';
|
|
2
|
+
import './scheduling.css';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
4
|
+
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,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,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,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,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,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,6 @@
|
|
|
1
|
+
import type { ScheduleAddPickApi } from '../composables/useScheduleAddPick';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
addPick: ScheduleAddPickApi;
|
|
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,22 @@
|
|
|
1
|
+
import type { ScheduleBoardApi } from '../composables/useScheduleBoard';
|
|
2
|
+
import type { ScheduleAllShiftsRowApi } from '../composables/useScheduleAllShiftsRow';
|
|
3
|
+
import type { ScheduleOpenShiftCardApi } from '../composables/useScheduleOpenShiftCard';
|
|
4
|
+
type __VLS_Props = {
|
|
5
|
+
board: ScheduleBoardApi;
|
|
6
|
+
row: ScheduleAllShiftsRowApi;
|
|
7
|
+
openShiftCard: ScheduleOpenShiftCardApi;
|
|
8
|
+
};
|
|
9
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
+
editShift: (empId: number, dayIdx: number) => any;
|
|
11
|
+
openAssign: (openId: number) => any;
|
|
12
|
+
openOpenShiftMenu: (openId: number, anchor: HTMLElement) => any;
|
|
13
|
+
addOpenShift: (dayIdx: number) => any;
|
|
14
|
+
openStack: (dayIdx: number, anchor: HTMLElement) => any;
|
|
15
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
16
|
+
onEditShift?: ((empId: number, dayIdx: number) => any) | undefined;
|
|
17
|
+
onOpenAssign?: ((openId: number) => any) | undefined;
|
|
18
|
+
onOpenOpenShiftMenu?: ((openId: number, anchor: HTMLElement) => any) | undefined;
|
|
19
|
+
onAddOpenShift?: ((dayIdx: number) => any) | undefined;
|
|
20
|
+
onOpenStack?: ((dayIdx: number, anchor: HTMLElement) => any) | undefined;
|
|
21
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
22
|
+
export default _default;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { ScheduleBoardApi } from '../composables/useScheduleBoard';
|
|
2
|
+
import type { ScheduleAreaBoardApi } from '../composables/useScheduleAreaBoard';
|
|
3
|
+
import type { ScheduleOpenShiftCardApi } from '../composables/useScheduleOpenShiftCard';
|
|
4
|
+
import type { ScheduleAreaDragDropApi } from '../composables/useScheduleAreaDragDrop';
|
|
5
|
+
import type { ScheduleDemandRowApi } from '../composables/useScheduleDemandRow';
|
|
6
|
+
type __VLS_Props = {
|
|
7
|
+
board: ScheduleBoardApi;
|
|
8
|
+
areaBoard: ScheduleAreaBoardApi;
|
|
9
|
+
openShiftCard: ScheduleOpenShiftCardApi;
|
|
10
|
+
dragDrop: ScheduleAreaDragDropApi;
|
|
11
|
+
demandRow: ScheduleDemandRowApi;
|
|
12
|
+
};
|
|
13
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
|
+
editShift: (empId: number, dayIdx: number) => any;
|
|
15
|
+
openAssign: (openId: number) => any;
|
|
16
|
+
openOpenShiftMenu: (openId: number, anchor: HTMLElement) => any;
|
|
17
|
+
segEnter: (dayIdx: number, from: number, to: number, anchor: HTMLElement) => any;
|
|
18
|
+
segLeave: () => any;
|
|
19
|
+
segClick: (dayIdx: number, from: number, to: number, anchor: HTMLElement) => any;
|
|
20
|
+
segFocus: (dayIdx: number, from: number, to: number, anchor: HTMLElement) => any;
|
|
21
|
+
openDemandSheet: (dayIdx: number) => any;
|
|
22
|
+
openNewShift: (dayIdx: number, position: string) => any;
|
|
23
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
24
|
+
onEditShift?: ((empId: number, dayIdx: number) => any) | undefined;
|
|
25
|
+
onOpenAssign?: ((openId: number) => any) | undefined;
|
|
26
|
+
onOpenOpenShiftMenu?: ((openId: number, anchor: HTMLElement) => any) | undefined;
|
|
27
|
+
onSegEnter?: ((dayIdx: number, from: number, to: number, anchor: HTMLElement) => any) | undefined;
|
|
28
|
+
onSegLeave?: (() => any) | undefined;
|
|
29
|
+
onSegClick?: ((dayIdx: number, from: number, to: number, anchor: HTMLElement) => any) | undefined;
|
|
30
|
+
onSegFocus?: ((dayIdx: number, from: number, to: number, anchor: HTMLElement) => any) | undefined;
|
|
31
|
+
onOpenDemandSheet?: ((dayIdx: number) => any) | undefined;
|
|
32
|
+
onOpenNewShift?: ((dayIdx: number, position: string) => any) | undefined;
|
|
33
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
34
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { useScheduleAssign } from '../composables/useScheduleAssign';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
assign: ReturnType<typeof useScheduleAssign>;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { 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, {}, 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 { 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,24 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
open: boolean;
|
|
3
|
+
title: string;
|
|
4
|
+
message: string;
|
|
5
|
+
/** `clash-q` gives the message an orange warning-callout background instead of plain text —
|
|
6
|
+
* used by the "might conflict" dialog, kept as an opt-in rather than the default look. */
|
|
7
|
+
messageClass?: string;
|
|
8
|
+
confirmLabel?: string;
|
|
9
|
+
cancelLabel?: string;
|
|
10
|
+
tone?: 'primary' | 'danger';
|
|
11
|
+
};
|
|
12
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
|
+
close: () => any;
|
|
14
|
+
confirm: () => any;
|
|
15
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
16
|
+
onClose?: (() => any) | undefined;
|
|
17
|
+
onConfirm?: (() => any) | undefined;
|
|
18
|
+
}>, {
|
|
19
|
+
messageClass: string;
|
|
20
|
+
confirmLabel: string;
|
|
21
|
+
cancelLabel: string;
|
|
22
|
+
tone: "primary" | "danger";
|
|
23
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
24
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { useScheduleCostRail } from '../composables/useScheduleCostRail';
|
|
2
|
+
import type { ScheduleBoardApi } from '../composables/useScheduleBoard';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
costRail: ReturnType<typeof useScheduleCostRail>;
|
|
5
|
+
board: ScheduleBoardApi;
|
|
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 { useScheduleRangeCalendar } from '../composables/useScheduleRangeCalendar';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
calendar: ReturnType<typeof useScheduleRangeCalendar>;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { ScheduleDayNoteApi } from '../composables/useScheduleDayNote';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
dayNote: ScheduleDayNoteApi;
|
|
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
|
+
import type { ScheduleDayTimelineApi } from '../composables/useScheduleDayTimeline';
|
|
2
|
+
import type { ScheduleRosterApi } from '../composables/useScheduleRoster';
|
|
3
|
+
import type { ScheduleViewMode } from '../composables/useScheduleFilterBar';
|
|
4
|
+
import type { ScheduleAreaDragDropApi } from '../composables/useScheduleAreaDragDrop';
|
|
5
|
+
type __VLS_Props = {
|
|
6
|
+
timeline: ScheduleDayTimelineApi;
|
|
7
|
+
roster: ScheduleRosterApi;
|
|
8
|
+
mode: ScheduleViewMode;
|
|
9
|
+
dragDrop?: ScheduleAreaDragDropApi;
|
|
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,23 @@
|
|
|
1
|
+
import type { ScheduleBoardApi } from '../composables/useScheduleBoard';
|
|
2
|
+
import type { ScheduleDemandRowApi } from '../composables/useScheduleDemandRow';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
board: ScheduleBoardApi;
|
|
5
|
+
row: ScheduleDemandRowApi;
|
|
6
|
+
/** The position view has no frozen name column, so the lead block has nowhere to sit —
|
|
7
|
+
* placing it anyway would land it in Monday's track and push every day along one. */
|
|
8
|
+
mode: 'area' | 'employee';
|
|
9
|
+
};
|
|
10
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
|
+
openSheet: (dayIdx: number) => any;
|
|
12
|
+
segEnter: (dayIdx: number, from: number, to: number, anchor: HTMLElement) => any;
|
|
13
|
+
segLeave: () => any;
|
|
14
|
+
segClick: (dayIdx: number, from: number, to: number, anchor: HTMLElement) => any;
|
|
15
|
+
segFocus: (dayIdx: number, from: number, to: number, anchor: HTMLElement) => any;
|
|
16
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
17
|
+
onOpenSheet?: ((dayIdx: number) => any) | undefined;
|
|
18
|
+
onSegEnter?: ((dayIdx: number, from: number, to: number, anchor: HTMLElement) => any) | undefined;
|
|
19
|
+
onSegLeave?: (() => any) | undefined;
|
|
20
|
+
onSegClick?: ((dayIdx: number, from: number, to: number, anchor: HTMLElement) => any) | undefined;
|
|
21
|
+
onSegFocus?: ((dayIdx: number, from: number, to: number, anchor: HTMLElement) => any) | undefined;
|
|
22
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
23
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ScheduleDemandSheetApi } from '../composables/useScheduleDemandSheet';
|
|
2
|
+
import { type ScheduleTimePickerApi } from '../composables/useScheduleTimePicker';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
sheet: ScheduleDemandSheetApi;
|
|
5
|
+
/** Positions the breakdown rows can name. */
|
|
6
|
+
positions: string[];
|
|
7
|
+
timePicker: ScheduleTimePickerApi;
|
|
8
|
+
};
|
|
9
|
+
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>;
|
|
10
|
+
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 { useScheduleEmployeeProfile } from '../composables/useScheduleEmployeeProfile';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
profile: ReturnType<typeof useScheduleEmployeeProfile>;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
+
remove: () => any;
|
|
7
|
+
edit: () => any;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
9
|
+
onRemove?: (() => any) | undefined;
|
|
10
|
+
onEdit?: (() => any) | undefined;
|
|
11
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { ScheduleEmployeeLoad } from '../composables/useScheduleEmployeeIdentity';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
load: ScheduleEmployeeLoad;
|
|
4
|
+
/** Adds "· per week" to the load label where the visible span is longer than a week. */
|
|
5
|
+
perWeek?: boolean;
|
|
6
|
+
/** The ⋯ button. Hosts that have nothing to hang off it pass false. */
|
|
7
|
+
menu?: boolean;
|
|
8
|
+
};
|
|
9
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
+
openMenu: (empId: number, anchor: HTMLElement) => any;
|
|
11
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
12
|
+
onOpenMenu?: ((empId: number, anchor: HTMLElement) => any) | undefined;
|
|
13
|
+
}>, {
|
|
14
|
+
menu: boolean;
|
|
15
|
+
perWeek: boolean;
|
|
16
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { ScheduleBoardApi } from '../composables/useScheduleBoard';
|
|
2
|
+
import type { ScheduleFilterBarApi } from '../composables/useScheduleFilterBar';
|
|
3
|
+
import type { ScheduleRosterApi } from '../composables/useScheduleRoster';
|
|
4
|
+
import type { ScheduleOutletApi } from '../composables/useScheduleOutlet';
|
|
5
|
+
import type { useScheduleRangeCalendar } from '../composables/useScheduleRangeCalendar';
|
|
6
|
+
type __VLS_Props = {
|
|
7
|
+
board: ScheduleBoardApi;
|
|
8
|
+
calendar: ReturnType<typeof useScheduleRangeCalendar>;
|
|
9
|
+
filterBar: ScheduleFilterBarApi;
|
|
10
|
+
outlet: ScheduleOutletApi;
|
|
11
|
+
roster: ScheduleRosterApi;
|
|
12
|
+
};
|
|
13
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
|
+
comingSoon: () => any;
|
|
15
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
16
|
+
onComingSoon?: (() => any) | undefined;
|
|
17
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { ScheduleGapPopoverApi } from '../composables/useScheduleGapPopover';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
gap: ScheduleGapPopoverApi;
|
|
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,18 @@
|
|
|
1
|
+
import type { ScheduleBoardApi } from '../composables/useScheduleBoard';
|
|
2
|
+
import type { useScheduleLegend } from '../composables/useScheduleLegend';
|
|
3
|
+
import type { ScheduleViewMode } from '../composables/useScheduleFilterBar';
|
|
4
|
+
type __VLS_Props = {
|
|
5
|
+
board: ScheduleBoardApi;
|
|
6
|
+
legend: ReturnType<typeof useScheduleLegend>;
|
|
7
|
+
mode: ScheduleViewMode;
|
|
8
|
+
};
|
|
9
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
+
scroll: (delta: number) => any;
|
|
11
|
+
comingSoon: () => any;
|
|
12
|
+
openDayNote: (dayIdx: number, anchor: HTMLElement) => any;
|
|
13
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
14
|
+
onScroll?: ((delta: number) => any) | undefined;
|
|
15
|
+
onComingSoon?: (() => any) | undefined;
|
|
16
|
+
onOpenDayNote?: ((dayIdx: number, anchor: HTMLElement) => any) | undefined;
|
|
17
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { useScheduleLeave } from '../composables/useScheduleLeave';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
leave: ReturnType<typeof useScheduleLeave>;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { ScheduleLegendBarApi } from '../composables/useScheduleLegendBar';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
legendBar: ScheduleLegendBarApi;
|
|
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
|
+
import type { useScheduleSetupBanner } from '../composables/useScheduleSetupBanner';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
setupBanner: ReturnType<typeof useScheduleSetupBanner>;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
+
setUp: () => any;
|
|
7
|
+
uploadSchedule: () => any;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
9
|
+
onSetUp?: (() => any) | undefined;
|
|
10
|
+
onUploadSchedule?: (() => any) | undefined;
|
|
11
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { ScheduleOnboardingWizardApi } from '../composables/useScheduleOnboardingWizard';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
wizard: ScheduleOnboardingWizardApi;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { ScheduleBoardApi } from '../composables/useScheduleBoard';
|
|
2
|
+
import type { ScheduleOpenShiftCardApi } from '../composables/useScheduleOpenShiftCard';
|
|
3
|
+
import type { ScheduleShiftPopoverApi } from '../composables/useScheduleShiftPopover';
|
|
4
|
+
type __VLS_Props = {
|
|
5
|
+
board: ScheduleBoardApi;
|
|
6
|
+
menu: ScheduleOpenShiftCardApi;
|
|
7
|
+
popover: ScheduleShiftPopoverApi;
|
|
8
|
+
};
|
|
9
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
+
assign: (openId: number) => any;
|
|
11
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
12
|
+
onAssign?: ((openId: number) => any) | undefined;
|
|
13
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
export default _default;
|