@feedmepos/mf-hrm-portal 2.2.5-dev → 2.2.5-dev.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ApprovalCodeList-DgcWZ3SZ.js → ApprovalCodeList-BsDMMSIz.js} +4 -4
- package/dist/{AuditLogList-vWKMMGvd.js → AuditLogList-CGNZdtmn.js} +18 -17
- package/dist/{ConditionBuilderForm.vue_vue_type_script_setup_true_lang-DuhXogXK.js → ConditionBuilderForm.vue_vue_type_script_setup_true_lang-C6MoToqi.js} +2 -2
- package/dist/EmployeeList-B_OuDWWQ.js +787 -0
- 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-BAW0C1bA.js → GrantUserList-Bd0lXmFo.js} +5 -5
- package/dist/{Main-NzpdRNB3.js → Main-B66lSeOv.js} +5 -5
- package/dist/{Main-Wr6cTqfM.js → Main-CzHSNHsH.js} +2 -2
- package/dist/{Main-B7Nn8CLQ.js → Main-njRQ1tFk.js} +9 -9
- package/dist/PasscodePinField.vue_vue_type_script_setup_true_lang-CqG0v0Sz.js +243 -0
- package/dist/{PermissionSetList-D6AFOleD.js → PermissionSetList-GTI6Cwj5.js} +18 -18
- package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-Bzq2_BMn.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-C-QEQ-js.js} +1052 -1052
- package/dist/{RoleList-BuqpmXn_.js → RoleList-CmHgtM0m.js} +7 -7
- package/dist/ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-SFqxftRx.js +426 -0
- package/dist/ScheduleButton.vue_vue_type_script_setup_true_lang-CrWfo-zF.js +690 -0
- package/dist/ScheduleGeneralPage-DxFxJN5j.js +320 -0
- package/dist/SchedulePage-cJDI3-E7.js +14647 -0
- package/dist/SchedulePositionPage-n1wUShIM.js +293 -0
- package/dist/ScheduleSelect.vue_vue_type_script_setup_true_lang-B8W4sTsA.js +242 -0
- package/dist/SelectFilter-CG13h83-.js +264 -0
- package/dist/TeamMemberList-ByZt3VqN.js +1154 -0
- package/dist/{TimesheetList-B5FyVyCz.js → TimesheetList-Dv0-W--W.js} +54 -53
- package/dist/{TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-C99Jr6Ax.js → TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-DIo6h5-a.js} +2 -2
- package/dist/_plugin-vue_export-helper-CHgC5LLL.js +9 -0
- package/dist/{app-8samJY5z.js → app-SCXGJ95F.js} +3146 -2553
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-Ba4X_9nY.js → dayjs.min-DqMLPYv-.js} +1 -1
- package/dist/{employee-BcFgm8Rt.js → employee-DT_xYQkz.js} +3 -3
- package/dist/{iteration-Dhdew1jW.js → iteration-B5dB9ecy.js} +1 -1
- package/dist/{lodash-CJ3mHku0.js → lodash-CRHFapxI.js} +1 -1
- package/dist/{role-BViYS7RK.js → role-CJm8pXaw.js} +1 -1
- package/dist/{rule-Dxt1ZSQS.js → rule-AJm-eVzJ.js} +276 -272
- package/dist/src/api/schedule/index.d.ts +41 -0
- package/dist/src/components/form/OutletRoleAssignment.vue.d.ts +16 -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/helpers/outlet-role-assignment.d.ts +40 -0
- package/dist/src/helpers/rule.d.ts +15 -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 +3 -0
- package/dist/src/views/scheduling/SchedulePage.vue.d.ts +3 -0
- package/dist/src/views/scheduling/SchedulePositionPage.vue.d.ts +3 -0
- package/dist/src/views/scheduling/components/ScheduleAddEmployeeIdentitySection.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleAddEmployeeModal.vue.d.ts +10 -0
- package/dist/src/views/scheduling/components/ScheduleAddEmployeeModeStep.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleAddEmployeePosAccessSection.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleAddEmployeePositionsSection.vue.d.ts +10 -0
- package/dist/src/views/scheduling/components/ScheduleAddEmployeeSchedulingSection.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleAddPickPopover.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleAddPositionModal.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleAllShiftsRow.vue.d.ts +22 -0
- package/dist/src/views/scheduling/components/ScheduleAreaRows.vue.d.ts +34 -0
- package/dist/src/views/scheduling/components/ScheduleAssignEmployeePopover.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleAutoScheduleModal.vue.d.ts +10 -0
- package/dist/src/views/scheduling/components/ScheduleButton.vue.d.ts +23 -0
- package/dist/src/views/scheduling/components/ScheduleChangeEmployeeModal.vue.d.ts +8 -0
- package/dist/src/views/scheduling/components/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/ScheduleEmployeeMenu.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleFilterBar.vue.d.ts +18 -0
- package/dist/src/views/scheduling/components/ScheduleGapPopover.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleGridHeader.vue.d.ts +18 -0
- package/dist/src/views/scheduling/components/ScheduleGridSkeleton.vue.d.ts +2 -0
- package/dist/src/views/scheduling/components/ScheduleLeaveEditModal.vue.d.ts +8 -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 +9 -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 +54 -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 +35 -0
- package/dist/src/views/scheduling/components/ScheduleShiftHeadcountEditor.vue.d.ts +10 -0
- package/dist/src/views/scheduling/components/ScheduleShiftImpact.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleShiftMoreOptions.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleShiftPopover.vue.d.ts +16 -0
- package/dist/src/views/scheduling/components/ScheduleShiftRepeatDaysRow.vue.d.ts +8 -0
- package/dist/src/views/scheduling/components/ScheduleShiftSegmentsEditor.vue.d.ts +8 -0
- package/dist/src/views/scheduling/components/ScheduleShiftWhoPicker.vue.d.ts +25 -0
- package/dist/src/views/scheduling/components/ScheduleStackPopover.vue.d.ts +14 -0
- package/dist/src/views/scheduling/components/ScheduleStaffRail.vue.d.ts +18 -0
- package/dist/src/views/scheduling/components/ScheduleStaffRows.vue.d.ts +60 -0
- package/dist/src/views/scheduling/components/ScheduleStatsRow.vue.d.ts +12 -0
- package/dist/src/views/scheduling/components/ScheduleSwapShiftsModal.vue.d.ts +8 -0
- package/dist/src/views/scheduling/components/ScheduleTimePickerPopover.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleTopbar.vue.d.ts +20 -0
- package/dist/src/views/scheduling/composables/schedule-add-employee-form.d.ts +72 -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-popover-position.d.ts +16 -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/scheduleAutoSolver.d.ts +21 -0
- package/dist/src/views/scheduling/composables/useCollapsedList.d.ts +9 -0
- package/dist/src/views/scheduling/composables/useScheduleAddEmployee.d.ts +98 -0
- package/dist/src/views/scheduling/composables/useScheduleAddPick.d.ts +73 -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 +122 -0
- package/dist/src/views/scheduling/composables/useScheduleAutoSchedule.d.ts +143 -0
- package/dist/src/views/scheduling/composables/useScheduleBoard.d.ts +426 -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 +19 -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 +77 -0
- package/dist/src/views/scheduling/composables/useScheduleDemand.d.ts +76 -0
- package/dist/src/views/scheduling/composables/useScheduleDemandRow.d.ts +45 -0
- package/dist/src/views/scheduling/composables/useScheduleDemandSheet.d.ts +145 -0
- package/dist/src/views/scheduling/composables/useScheduleDragDrop.d.ts +22 -0
- package/dist/src/views/scheduling/composables/useScheduleEmployeeIdentity.d.ts +41 -0
- package/dist/src/views/scheduling/composables/useScheduleEmployeeMenu.d.ts +35 -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 +82 -0
- package/dist/src/views/scheduling/composables/useScheduleLeave.d.ts +70 -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 +1316 -0
- package/dist/src/views/scheduling/composables/useScheduleOpenShiftCard.d.ts +23 -0
- package/dist/src/views/scheduling/composables/useScheduleOutlet.d.ts +20 -0
- package/dist/src/views/scheduling/composables/useSchedulePositionModal.d.ts +50 -0
- package/dist/src/views/scheduling/composables/useSchedulePositions.d.ts +32 -0
- package/dist/src/views/scheduling/composables/useSchedulePublish.d.ts +93 -0
- package/dist/src/views/scheduling/composables/useScheduleRangeCalendar.d.ts +27 -0
- package/dist/src/views/scheduling/composables/useScheduleRoster.d.ts +189 -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 +163 -0
- package/dist/src/views/scheduling/composables/useScheduleShiftPopover.d.ts +181 -0
- package/dist/src/views/scheduling/composables/useScheduleStaffRail.d.ts +23 -0
- package/dist/src/views/scheduling/composables/useScheduleStatsRow.d.ts +25 -0
- package/dist/src/views/scheduling/composables/useScheduleTimePicker.d.ts +49 -0
- package/dist/src/views/scheduling/composables/useScheduleTopbar.d.ts +10 -0
- package/dist/src/views/scheduling/composables/useScheduleViewportFit.d.ts +9 -0
- package/dist/src/views/scheduling/data.d.ts +110 -0
- package/dist/src/views/scheduling/locales/index.d.ts +496 -0
- package/dist/src/views/scheduling/schedule-store.d.ts +151 -0
- package/dist/src/views/scheduling/types.d.ts +324 -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/src/views/team/member/TeamMemberMasterUser.vue.d.ts +12 -3
- package/dist/style.css +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{useReportPermissions-BiyAfGvZ.js → useReportPermissions-Cg3lV70m.js} +3 -3
- package/package.json +1 -1
- package/dist/EmployeeList-Cu4RxVQX.js +0 -889
- package/dist/PasscodePinField.vue_vue_type_script_setup_true_lang-BUI0Xsgc.js +0 -85
- package/dist/SelectFilter-ATOm0hdn.js +0 -269
- package/dist/TeamMemberList-M6HA9BWu.js +0 -1248
|
@@ -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,6 @@
|
|
|
1
|
+
import type { ScheduleEmployeeMenuApi } from '../composables/useScheduleEmployeeMenu';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
menu: ScheduleEmployeeMenuApi;
|
|
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 { 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,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,8 @@
|
|
|
1
|
+
import type { ScheduleLeaveApi } from '../composables/useScheduleLeave';
|
|
2
|
+
import { type ScheduleTimePickerApi } from '../composables/useScheduleTimePicker';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
leave: ScheduleLeaveApi;
|
|
5
|
+
timePicker: ScheduleTimePickerApi;
|
|
6
|
+
};
|
|
7
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,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,9 @@
|
|
|
1
|
+
import type { ScheduleOnboardingWizardApi } from '../composables/useScheduleOnboardingWizard';
|
|
2
|
+
import { type ScheduleTimePickerApi } from '../composables/useScheduleTimePicker';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
wizard: ScheduleOnboardingWizardApi;
|
|
5
|
+
outletName: string;
|
|
6
|
+
timePicker: ScheduleTimePickerApi;
|
|
7
|
+
};
|
|
8
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,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;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { ScheduleExportApi } from '../composables/useScheduleExport';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
exportApi: ScheduleExportApi;
|
|
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 { SchedulePublishApi } from '../composables/useSchedulePublish';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
board: ScheduleBoardApi;
|
|
5
|
+
publish: SchedulePublishApi;
|
|
6
|
+
};
|
|
7
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ScheduleAutoScheduleApi } from '../composables/useScheduleAutoSchedule';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
autoSchedule: ScheduleAutoScheduleApi;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
+
applied: (count: number) => any;
|
|
7
|
+
appliedAndPublish: (count: number) => any;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
9
|
+
onApplied?: ((count: number) => any) | undefined;
|
|
10
|
+
onAppliedAndPublish?: ((count: number) => any) | undefined;
|
|
11
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/** One row of the menu. `group` heads the rows that carry it — consecutive options sharing
|
|
2
|
+
* a group are drawn under one heading, the way an `<optgroup>` would. A disabled option is a
|
|
3
|
+
* statement rather than a choice ("No position yet" is the field saying the catalogue is
|
|
4
|
+
* empty), so it is dimmed and inert rather than offered and refused. */
|
|
5
|
+
export interface ScheduleSelectOption {
|
|
6
|
+
value: string;
|
|
7
|
+
label: string;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
group?: string;
|
|
10
|
+
/** Second line under the label. Any option carrying one switches the menu to the rich
|
|
11
|
+
* layout (bold name, muted hint, tick on the right), as V6.2's outlet menu does. */
|
|
12
|
+
hint?: string;
|
|
13
|
+
/** A command rather than a choice ("+ Add a new position…"): drawn in the brand colour, as
|
|
14
|
+
* V6.2 draws it, so it stops reading as one more thing the field could be set to. */
|
|
15
|
+
command?: boolean;
|
|
16
|
+
}
|
|
17
|
+
declare const _default: import("vue").DefineComponent<{
|
|
18
|
+
modelValue?: string;
|
|
19
|
+
options: ScheduleSelectOption[];
|
|
20
|
+
/** Multi-select: the menu stays open on a pick, rows show a tick for every value in
|
|
21
|
+
* `selected`, and a pick emits `toggle` instead of `update:modelValue`. Commands still
|
|
22
|
+
* close the menu and emit `update:modelValue`. */
|
|
23
|
+
multiple?: boolean;
|
|
24
|
+
selected?: string[];
|
|
25
|
+
/** Closed-control text while a multi-select has nothing picked. */
|
|
26
|
+
placeholder?: string;
|
|
27
|
+
disabled?: boolean;
|
|
28
|
+
/** Heading over the menu. Also switches to the rich layout. */
|
|
29
|
+
menuTitle?: string;
|
|
30
|
+
/** A filter box at the top of the menu, for lists long enough to hunt through (outlets). */
|
|
31
|
+
searchable?: boolean;
|
|
32
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
33
|
+
toggle: (value: string) => any;
|
|
34
|
+
"update:modelValue": (value: string) => any;
|
|
35
|
+
}, string, import("vue").PublicProps, Readonly<{
|
|
36
|
+
modelValue?: string;
|
|
37
|
+
options: ScheduleSelectOption[];
|
|
38
|
+
/** Multi-select: the menu stays open on a pick, rows show a tick for every value in
|
|
39
|
+
* `selected`, and a pick emits `toggle` instead of `update:modelValue`. Commands still
|
|
40
|
+
* close the menu and emit `update:modelValue`. */
|
|
41
|
+
multiple?: boolean;
|
|
42
|
+
selected?: string[];
|
|
43
|
+
/** Closed-control text while a multi-select has nothing picked. */
|
|
44
|
+
placeholder?: string;
|
|
45
|
+
disabled?: boolean;
|
|
46
|
+
/** Heading over the menu. Also switches to the rich layout. */
|
|
47
|
+
menuTitle?: string;
|
|
48
|
+
/** A filter box at the top of the menu, for lists long enough to hunt through (outlets). */
|
|
49
|
+
searchable?: boolean;
|
|
50
|
+
}> & Readonly<{
|
|
51
|
+
onToggle?: ((value: string) => any) | undefined;
|
|
52
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
53
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
54
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { useScheduleAddEmployee } from '../composables/useScheduleAddEmployee';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
wizard: ReturnType<typeof useScheduleAddEmployee>;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
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, {
|
|
8
|
+
editShift: (empId: number, dayIdx: number) => any;
|
|
9
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
10
|
+
onEditShift?: ((empId: number, dayIdx: number) => any) | undefined;
|
|
11
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { DaySlot, Proposal } from '../types';
|
|
2
|
+
import type { ScheduleBoardApi } from '../composables/useScheduleBoard';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
board: ScheduleBoardApi;
|
|
5
|
+
slot: DaySlot;
|
|
6
|
+
empId: number;
|
|
7
|
+
dayIdx: number;
|
|
8
|
+
/** Position in the VISIBLE column order — month-edge is a neighbour comparison. */
|
|
9
|
+
colIndex: number;
|
|
10
|
+
proposal?: Proposal | null;
|
|
11
|
+
};
|
|
12
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
|
+
drop: (empId: number, dayIdx: number, ev: DragEvent) => any;
|
|
14
|
+
addShift: (empId: number, dayIdx: number, anchor: HTMLElement) => any;
|
|
15
|
+
editShift: (empId: number, dayIdx: number) => any;
|
|
16
|
+
editLeave: (empId: number, dayIdx: number) => any;
|
|
17
|
+
dragStart: (empId: number, dayIdx: number, ev: DragEvent) => any;
|
|
18
|
+
dragEnd: () => any;
|
|
19
|
+
openMenu: (empId: number, dayIdx: number, anchor: HTMLElement) => any;
|
|
20
|
+
toggleProposal: (id: number) => any;
|
|
21
|
+
proposalDragStart: (id: number, ev: DragEvent) => any;
|
|
22
|
+
proposalDragEnd: () => any;
|
|
23
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
24
|
+
onDrop?: ((empId: number, dayIdx: number, ev: DragEvent) => any) | undefined;
|
|
25
|
+
onAddShift?: ((empId: number, dayIdx: number, anchor: HTMLElement) => any) | undefined;
|
|
26
|
+
onEditShift?: ((empId: number, dayIdx: number) => any) | undefined;
|
|
27
|
+
onEditLeave?: ((empId: number, dayIdx: number) => any) | undefined;
|
|
28
|
+
onDragStart?: ((empId: number, dayIdx: number, ev: DragEvent) => any) | undefined;
|
|
29
|
+
onDragEnd?: (() => any) | undefined;
|
|
30
|
+
onOpenMenu?: ((empId: number, dayIdx: number, anchor: HTMLElement) => any) | undefined;
|
|
31
|
+
onToggleProposal?: ((id: number) => any) | undefined;
|
|
32
|
+
onProposalDragStart?: ((id: number, ev: DragEvent) => any) | undefined;
|
|
33
|
+
onProposalDragEnd?: (() => any) | undefined;
|
|
34
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
35
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ScheduleShiftPopoverApi } from '../composables/useScheduleShiftPopover';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
popover: ScheduleShiftPopoverApi;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
+
newPosition: (assign: (name: string) => void) => any;
|
|
7
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
8
|
+
onNewPosition?: ((assign: (name: string) => void) => any) | undefined;
|
|
9
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { ScheduleShiftPopoverApi } from '../composables/useScheduleShiftPopover';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
popover: ScheduleShiftPopoverApi;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { ScheduleShiftPopoverApi } from '../composables/useScheduleShiftPopover';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
popover: ScheduleShiftPopoverApi;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { ScheduleBoardApi } from '../composables/useScheduleBoard';
|
|
2
|
+
import type { ScheduleShiftPopoverApi } from '../composables/useScheduleShiftPopover';
|
|
3
|
+
import type { ScheduleTimePickerApi } from '../composables/useScheduleTimePicker';
|
|
4
|
+
type __VLS_Props = {
|
|
5
|
+
board: ScheduleBoardApi;
|
|
6
|
+
popover: ScheduleShiftPopoverApi;
|
|
7
|
+
timePicker: ScheduleTimePickerApi;
|
|
8
|
+
};
|
|
9
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
+
newPosition: (assign: (name: string) => void) => any;
|
|
11
|
+
swap: (empId: number, dayIdx: number) => any;
|
|
12
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
13
|
+
onNewPosition?: ((assign: (name: string) => void) => any) | undefined;
|
|
14
|
+
onSwap?: ((empId: number, dayIdx: number) => any) | undefined;
|
|
15
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ScheduleBoardApi } from '../composables/useScheduleBoard';
|
|
2
|
+
import type { ScheduleShiftPopoverApi } from '../composables/useScheduleShiftPopover';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
board: ScheduleBoardApi;
|
|
5
|
+
popover: ScheduleShiftPopoverApi;
|
|
6
|
+
};
|
|
7
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ScheduleShiftPopoverApi } from '../composables/useScheduleShiftPopover';
|
|
2
|
+
import { type ScheduleTimePickerApi } from '../composables/useScheduleTimePicker';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
popover: ScheduleShiftPopoverApi;
|
|
5
|
+
timePicker: ScheduleTimePickerApi;
|
|
6
|
+
};
|
|
7
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { ScheduleBoardApi } from '../composables/useScheduleBoard';
|
|
2
|
+
import type { ScheduleShiftPopoverApi } from '../composables/useScheduleShiftPopover';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
board: ScheduleBoardApi;
|
|
5
|
+
popover: ScheduleShiftPopoverApi;
|
|
6
|
+
/** "Empty shift — leave it open" reads as a real option when this shift is free to stay
|
|
7
|
+
* unstaffed. A shift authored to answer a specific coverage gap has no such reading — it
|
|
8
|
+
* does nothing for that gap unstaffed — so its caller passes a placeholder that asks
|
|
9
|
+
* for a pick instead of offering to skip one. */
|
|
10
|
+
placeholder?: string;
|
|
11
|
+
/** Pairs with the placeholder above: the blank option itself becomes unpickable, so
|
|
12
|
+
* there's no way back to "nobody" once this select is showing. */
|
|
13
|
+
forceChoice?: boolean;
|
|
14
|
+
/** In the header this picker IS the heading — a name-sized control with an avatar next
|
|
15
|
+
* to it. Reused lower down as one field among Hours and Headcount, it has to take
|
|
16
|
+
* their treatment instead: a bordered, row-sized select with no avatar, since nobody
|
|
17
|
+
* is picked yet on a shift still being created. */
|
|
18
|
+
compact?: boolean;
|
|
19
|
+
};
|
|
20
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
21
|
+
placeholder: string;
|
|
22
|
+
compact: boolean;
|
|
23
|
+
forceChoice: boolean;
|
|
24
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
25
|
+
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { ScheduleBoardApi } from '../composables/useScheduleBoard';
|
|
2
|
+
import type { ScheduleAllShiftsRowApi } from '../composables/useScheduleAllShiftsRow';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
board: ScheduleBoardApi;
|
|
5
|
+
row: ScheduleAllShiftsRowApi;
|
|
6
|
+
};
|
|
7
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
|
+
editShift: (empId: number, dayIdx: number) => any;
|
|
9
|
+
openAssign: (openId: number) => any;
|
|
10
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
11
|
+
onEditShift?: ((empId: number, dayIdx: number) => any) | undefined;
|
|
12
|
+
onOpenAssign?: ((openId: number) => any) | undefined;
|
|
13
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { ScheduleStaffRailApi } from '../composables/useScheduleStaffRail';
|
|
2
|
+
import type { ScheduleAreaDragDropApi } from '../composables/useScheduleAreaDragDrop';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
rail: ScheduleStaffRailApi;
|
|
5
|
+
dragDrop: ScheduleAreaDragDropApi;
|
|
6
|
+
};
|
|
7
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
|
+
openEmployee: (empId: number) => any;
|
|
9
|
+
openEmployeeMenu: (empId: number, anchor: HTMLElement) => any;
|
|
10
|
+
addEmployee: () => any;
|
|
11
|
+
jumpToOpen: () => any;
|
|
12
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
13
|
+
onOpenEmployee?: ((empId: number) => any) | undefined;
|
|
14
|
+
onOpenEmployeeMenu?: ((empId: number, anchor: HTMLElement) => any) | undefined;
|
|
15
|
+
onAddEmployee?: (() => any) | undefined;
|
|
16
|
+
onJumpToOpen?: (() => any) | undefined;
|
|
17
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import type { Proposal } from '../types';
|
|
2
|
+
import type { ScheduleBoardApi } from '../composables/useScheduleBoard';
|
|
3
|
+
import type { ScheduleRosterApi } from '../composables/useScheduleRoster';
|
|
4
|
+
import type { ScheduleOpenShiftCardApi } from '../composables/useScheduleOpenShiftCard';
|
|
5
|
+
import type { ScheduleAllShiftsRowApi } from '../composables/useScheduleAllShiftsRow';
|
|
6
|
+
import type { ScheduleDemandRowApi } from '../composables/useScheduleDemandRow';
|
|
7
|
+
type __VLS_Props = {
|
|
8
|
+
board: ScheduleBoardApi;
|
|
9
|
+
roster: ScheduleRosterApi;
|
|
10
|
+
openShiftCard: ScheduleOpenShiftCardApi;
|
|
11
|
+
allShiftsRow: ScheduleAllShiftsRowApi;
|
|
12
|
+
demandRow: ScheduleDemandRowApi;
|
|
13
|
+
proposalAt?: (empId: number, dayIdx: number) => Proposal | undefined;
|
|
14
|
+
};
|
|
15
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
16
|
+
addShift: (empId: number, dayIdx: number, anchor: HTMLElement) => any;
|
|
17
|
+
editShift: (empId: number, dayIdx: number) => any;
|
|
18
|
+
editLeave: (empId: number, dayIdx: number) => any;
|
|
19
|
+
dragEnd: () => any;
|
|
20
|
+
toggleProposal: (id: number) => any;
|
|
21
|
+
proposalDragStart: (id: number, ev: DragEvent) => any;
|
|
22
|
+
proposalDragEnd: () => any;
|
|
23
|
+
openAssign: (openId: number) => any;
|
|
24
|
+
openOpenShiftMenu: (openId: number, anchor: HTMLElement) => any;
|
|
25
|
+
addOpenShift: (dayIdx: number) => any;
|
|
26
|
+
segEnter: (dayIdx: number, from: number, to: number, anchor: HTMLElement) => any;
|
|
27
|
+
segLeave: () => any;
|
|
28
|
+
segClick: (dayIdx: number, from: number, to: number, anchor: HTMLElement) => any;
|
|
29
|
+
segFocus: (dayIdx: number, from: number, to: number, anchor: HTMLElement) => any;
|
|
30
|
+
openEmployee: (empId: number) => any;
|
|
31
|
+
openEmployeeMenu: (empId: number, anchor: HTMLElement) => any;
|
|
32
|
+
dragShiftStart: (empId: number, dayIdx: number, ev: DragEvent) => any;
|
|
33
|
+
dropOnCell: (empId: number, dayIdx: number, ev: DragEvent) => any;
|
|
34
|
+
openCardMenu: (empId: number, dayIdx: number, anchor: HTMLElement) => any;
|
|
35
|
+
addEmployee: () => any;
|
|
36
|
+
openDemandSheet: (dayIdx: number) => any;
|
|
37
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
38
|
+
onAddShift?: ((empId: number, dayIdx: number, anchor: HTMLElement) => any) | undefined;
|
|
39
|
+
onEditShift?: ((empId: number, dayIdx: number) => any) | undefined;
|
|
40
|
+
onEditLeave?: ((empId: number, dayIdx: number) => any) | undefined;
|
|
41
|
+
onDragEnd?: (() => any) | undefined;
|
|
42
|
+
onToggleProposal?: ((id: number) => any) | undefined;
|
|
43
|
+
onProposalDragStart?: ((id: number, ev: DragEvent) => any) | undefined;
|
|
44
|
+
onProposalDragEnd?: (() => any) | undefined;
|
|
45
|
+
onOpenAssign?: ((openId: number) => any) | undefined;
|
|
46
|
+
onOpenOpenShiftMenu?: ((openId: number, anchor: HTMLElement) => any) | undefined;
|
|
47
|
+
onAddOpenShift?: ((dayIdx: number) => any) | undefined;
|
|
48
|
+
onSegEnter?: ((dayIdx: number, from: number, to: number, anchor: HTMLElement) => any) | undefined;
|
|
49
|
+
onSegLeave?: (() => any) | undefined;
|
|
50
|
+
onSegClick?: ((dayIdx: number, from: number, to: number, anchor: HTMLElement) => any) | undefined;
|
|
51
|
+
onSegFocus?: ((dayIdx: number, from: number, to: number, anchor: HTMLElement) => any) | undefined;
|
|
52
|
+
onOpenEmployee?: ((empId: number) => any) | undefined;
|
|
53
|
+
onOpenEmployeeMenu?: ((empId: number, anchor: HTMLElement) => any) | undefined;
|
|
54
|
+
onDragShiftStart?: ((empId: number, dayIdx: number, ev: DragEvent) => any) | undefined;
|
|
55
|
+
onDropOnCell?: ((empId: number, dayIdx: number, ev: DragEvent) => any) | undefined;
|
|
56
|
+
onOpenCardMenu?: ((empId: number, dayIdx: number, anchor: HTMLElement) => any) | undefined;
|
|
57
|
+
onAddEmployee?: (() => any) | undefined;
|
|
58
|
+
onOpenDemandSheet?: ((dayIdx: number) => any) | undefined;
|
|
59
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
60
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ScheduleBoardApi } from '../composables/useScheduleBoard';
|
|
2
|
+
import type { ScheduleCostRailApi } from '../composables/useScheduleCostRail';
|
|
3
|
+
import type { ScheduleStatsRowApi } from '../composables/useScheduleStatsRow';
|
|
4
|
+
import type { ScheduleViewMode } from '../composables/useScheduleFilterBar';
|
|
5
|
+
type __VLS_Props = {
|
|
6
|
+
board: ScheduleBoardApi;
|
|
7
|
+
costRail: ScheduleCostRailApi;
|
|
8
|
+
stats: ScheduleStatsRowApi;
|
|
9
|
+
mode: ScheduleViewMode;
|
|
10
|
+
};
|
|
11
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ScheduleBoardApi } from '../composables/useScheduleBoard';
|
|
2
|
+
import type { ScheduleShiftActionsApi } from '../composables/useScheduleShiftActions';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
board: ScheduleBoardApi;
|
|
5
|
+
actions: ScheduleShiftActionsApi;
|
|
6
|
+
};
|
|
7
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { ScheduleTimePickerApi } from '../composables/useScheduleTimePicker';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
timePicker: ScheduleTimePickerApi;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { ScheduleBoardApi } from '../composables/useScheduleBoard';
|
|
2
|
+
import type { ScheduleTopbarApi } from '../composables/useScheduleTopbar';
|
|
3
|
+
import type { ScheduleAutoScheduleApi } from '../composables/useScheduleAutoSchedule';
|
|
4
|
+
import type { ScheduleCopyWeekApi } from '../composables/useScheduleCopyWeek';
|
|
5
|
+
import type { ScheduleExportApi } from '../composables/useScheduleExport';
|
|
6
|
+
type __VLS_Props = {
|
|
7
|
+
board: ScheduleBoardApi;
|
|
8
|
+
topbar: ScheduleTopbarApi;
|
|
9
|
+
autoSchedule: ScheduleAutoScheduleApi;
|
|
10
|
+
copyWeek: ScheduleCopyWeekApi;
|
|
11
|
+
exportApi: ScheduleExportApi;
|
|
12
|
+
};
|
|
13
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
|
+
clear: (kind: "shifts" | "both" | "demand") => any;
|
|
15
|
+
"sch-status-click": () => any;
|
|
16
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
17
|
+
onClear?: ((kind: "shifts" | "both" | "demand") => any) | undefined;
|
|
18
|
+
"onSch-status-click"?: (() => any) | undefined;
|
|
19
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
20
|
+
export default _default;
|