@feedmepos/mf-hrm-portal 2.2.5-dev → 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.
Files changed (160) hide show
  1. package/dist/{ApprovalCodeList-DgcWZ3SZ.js → ApprovalCodeList-D0B_X3Sf.js} +4 -4
  2. package/dist/{AuditLogList-vWKMMGvd.js → AuditLogList-D9anf4YQ.js} +18 -17
  3. package/dist/{ConditionBuilderForm.vue_vue_type_script_setup_true_lang-DuhXogXK.js → ConditionBuilderForm.vue_vue_type_script_setup_true_lang-4oENMRO3.js} +2 -2
  4. package/dist/EmployeeList-DREDu3Ou.js +788 -0
  5. package/dist/{FormItem.vue_vue_type_script_setup_true_lang-DPT2FoIc.js → FormItem.vue_vue_type_script_setup_true_lang-CUnlKsxk.js} +1 -1
  6. package/dist/{GrantUserList-BAW0C1bA.js → GrantUserList-CLDshEN9.js} +5 -5
  7. package/dist/{Main-Wr6cTqfM.js → Main-DtMaG42L.js} +2 -2
  8. package/dist/{Main-NzpdRNB3.js → Main-QhQxU593.js} +5 -5
  9. package/dist/{Main-B7Nn8CLQ.js → Main-lqlb8tPw.js} +9 -9
  10. package/dist/PasscodePinField.vue_vue_type_script_setup_true_lang-CqG0v0Sz.js +243 -0
  11. package/dist/{PermissionSetList-D6AFOleD.js → PermissionSetList-BK8yBpJJ.js} +22 -21
  12. package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-Bzq2_BMn.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-uSdvH81B.js} +924 -923
  13. package/dist/{RoleList-BuqpmXn_.js → RoleList-D6AX6BqB.js} +7 -7
  14. package/dist/ScheduleGeneralPage-DAECTCDu.js +242 -0
  15. package/dist/SchedulePage-CdFR7JuO.js +10751 -0
  16. package/dist/SchedulePositionPage-DTtKg0sx.js +220 -0
  17. package/dist/ScheduleSelect.vue_vue_type_script_setup_true_lang-BiuUrr50.js +199 -0
  18. package/dist/SelectFilter-CG13h83-.js +264 -0
  19. package/dist/TeamMemberList-BM5JoR6J.js +1155 -0
  20. package/dist/{TimesheetList-B5FyVyCz.js → TimesheetList-Ch_f_PD5.js} +54 -53
  21. package/dist/{TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-C99Jr6Ax.js → TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-CxqxqwyD.js} +2 -2
  22. package/dist/_plugin-vue_export-helper-CHgC5LLL.js +9 -0
  23. package/dist/{app-8samJY5z.js → app-tDHL6k4G.js} +3092 -2499
  24. package/dist/app.js +1 -1
  25. package/dist/{dayjs.min-Ba4X_9nY.js → dayjs.min-B_XWc0Hu.js} +1 -1
  26. package/dist/employee-Bs_2vqBY.js +139 -0
  27. package/dist/index-Cz2b95YF.js +70 -0
  28. package/dist/{iteration-Dhdew1jW.js → index-jxRluZiW.js} +698 -726
  29. package/dist/iteration-CcXrOMQe.js +30 -0
  30. package/dist/{lodash-CJ3mHku0.js → lodash-D5vM3paU.js} +1 -1
  31. package/dist/{role-BViYS7RK.js → role-7ccipEEe.js} +4 -3
  32. package/dist/{rule-Dxt1ZSQS.js → rule-7faruCdz.js} +282 -277
  33. package/dist/src/api/schedule/index.d.ts +44 -0
  34. package/dist/src/components/form/OutletRoleAssignment.vue.d.ts +16 -0
  35. package/dist/src/components/layout/AppSidebar.vue.d.ts +2 -0
  36. package/dist/src/components/layout/PortalShell.vue.d.ts +12 -0
  37. package/dist/src/components/layout/withShell.d.ts +14 -0
  38. package/dist/src/helpers/outlet-role-assignment.d.ts +40 -0
  39. package/dist/src/helpers/rule.d.ts +15 -0
  40. package/dist/src/router/shared.d.ts +4 -1
  41. package/dist/src/types/schedule.d.ts +232 -0
  42. package/dist/src/views/scheduling/ScheduleGeneralPage.vue.d.ts +4 -0
  43. package/dist/src/views/scheduling/SchedulePage.vue.d.ts +4 -0
  44. package/dist/src/views/scheduling/SchedulePositionPage.vue.d.ts +4 -0
  45. package/dist/src/views/scheduling/components/ScheduleAddEmployeeIdentitySection.vue.d.ts +6 -0
  46. package/dist/src/views/scheduling/components/ScheduleAddEmployeeModal.vue.d.ts +6 -0
  47. package/dist/src/views/scheduling/components/ScheduleAddEmployeeModeStep.vue.d.ts +6 -0
  48. package/dist/src/views/scheduling/components/ScheduleAddEmployeePosAccessSection.vue.d.ts +6 -0
  49. package/dist/src/views/scheduling/components/ScheduleAddEmployeePositionsSection.vue.d.ts +6 -0
  50. package/dist/src/views/scheduling/components/ScheduleAddEmployeeSchedulingSection.vue.d.ts +6 -0
  51. package/dist/src/views/scheduling/components/ScheduleAddPickPopover.vue.d.ts +6 -0
  52. package/dist/src/views/scheduling/components/ScheduleAllShiftsRow.vue.d.ts +22 -0
  53. package/dist/src/views/scheduling/components/ScheduleAreaRows.vue.d.ts +34 -0
  54. package/dist/src/views/scheduling/components/ScheduleAssignEmployeePopover.vue.d.ts +6 -0
  55. package/dist/src/views/scheduling/components/ScheduleAutoScheduleModal.vue.d.ts +6 -0
  56. package/dist/src/views/scheduling/components/ScheduleChangeEmployeeModal.vue.d.ts +8 -0
  57. package/dist/src/views/scheduling/components/ScheduleConfirmModal.vue.d.ts +24 -0
  58. package/dist/src/views/scheduling/components/ScheduleCostRail.vue.d.ts +8 -0
  59. package/dist/src/views/scheduling/components/ScheduleDateRangePopover.vue.d.ts +6 -0
  60. package/dist/src/views/scheduling/components/ScheduleDayNotePopover.vue.d.ts +6 -0
  61. package/dist/src/views/scheduling/components/ScheduleDayTimeline.vue.d.ts +12 -0
  62. package/dist/src/views/scheduling/components/ScheduleDemandRow.vue.d.ts +23 -0
  63. package/dist/src/views/scheduling/components/ScheduleDemandSheet.vue.d.ts +10 -0
  64. package/dist/src/views/scheduling/components/ScheduleDotsIcon.vue.d.ts +2 -0
  65. package/dist/src/views/scheduling/components/ScheduleEmployeeDetailPanel.vue.d.ts +12 -0
  66. package/dist/src/views/scheduling/components/ScheduleEmployeeIdentity.vue.d.ts +17 -0
  67. package/dist/src/views/scheduling/components/ScheduleFilterBar.vue.d.ts +18 -0
  68. package/dist/src/views/scheduling/components/ScheduleGapPopover.vue.d.ts +6 -0
  69. package/dist/src/views/scheduling/components/ScheduleGridHeader.vue.d.ts +18 -0
  70. package/dist/src/views/scheduling/components/ScheduleLeaveEditModal.vue.d.ts +6 -0
  71. package/dist/src/views/scheduling/components/ScheduleLegendBar.vue.d.ts +6 -0
  72. package/dist/src/views/scheduling/components/ScheduleOnboardingWelcome.vue.d.ts +12 -0
  73. package/dist/src/views/scheduling/components/ScheduleOnboardingWizard.vue.d.ts +6 -0
  74. package/dist/src/views/scheduling/components/ScheduleOpenShiftCardMenu.vue.d.ts +14 -0
  75. package/dist/src/views/scheduling/components/SchedulePdfPreview.vue.d.ts +6 -0
  76. package/dist/src/views/scheduling/components/SchedulePublishModal.vue.d.ts +8 -0
  77. package/dist/src/views/scheduling/components/ScheduleReviewBar.vue.d.ts +12 -0
  78. package/dist/src/views/scheduling/components/ScheduleSelect.vue.d.ts +24 -0
  79. package/dist/src/views/scheduling/components/ScheduleSelectExistingEmployeeModal.vue.d.ts +6 -0
  80. package/dist/src/views/scheduling/components/ScheduleShiftCardMenu.vue.d.ts +12 -0
  81. package/dist/src/views/scheduling/components/ScheduleShiftCell.vue.d.ts +31 -0
  82. package/dist/src/views/scheduling/components/ScheduleShiftHeadcountEditor.vue.d.ts +6 -0
  83. package/dist/src/views/scheduling/components/ScheduleShiftImpact.vue.d.ts +6 -0
  84. package/dist/src/views/scheduling/components/ScheduleShiftMoreOptions.vue.d.ts +6 -0
  85. package/dist/src/views/scheduling/components/ScheduleShiftPopover.vue.d.ts +14 -0
  86. package/dist/src/views/scheduling/components/ScheduleShiftRepeatDaysRow.vue.d.ts +8 -0
  87. package/dist/src/views/scheduling/components/ScheduleShiftSegmentsEditor.vue.d.ts +8 -0
  88. package/dist/src/views/scheduling/components/ScheduleShiftWhoPicker.vue.d.ts +25 -0
  89. package/dist/src/views/scheduling/components/ScheduleStackPopover.vue.d.ts +14 -0
  90. package/dist/src/views/scheduling/components/ScheduleStaffRail.vue.d.ts +16 -0
  91. package/dist/src/views/scheduling/components/ScheduleStaffRows.vue.d.ts +54 -0
  92. package/dist/src/views/scheduling/components/ScheduleStatsRow.vue.d.ts +12 -0
  93. package/dist/src/views/scheduling/components/ScheduleSwapShiftsModal.vue.d.ts +8 -0
  94. package/dist/src/views/scheduling/components/ScheduleTimePickerPopover.vue.d.ts +6 -0
  95. package/dist/src/views/scheduling/components/ScheduleTopbar.vue.d.ts +22 -0
  96. package/dist/src/views/scheduling/composables/schedule-add-employee-form.d.ts +67 -0
  97. package/dist/src/views/scheduling/composables/schedule-board-helpers.d.ts +38 -0
  98. package/dist/src/views/scheduling/composables/schedule-day-meta.d.ts +29 -0
  99. package/dist/src/views/scheduling/composables/schedule-employee-profile.d.ts +7 -0
  100. package/dist/src/views/scheduling/composables/schedule-shift-time.d.ts +14 -0
  101. package/dist/src/views/scheduling/composables/schedule-week-cache.d.ts +10 -0
  102. package/dist/src/views/scheduling/composables/useScheduleAddEmployee.d.ts +86 -0
  103. package/dist/src/views/scheduling/composables/useScheduleAddPick.d.ts +66 -0
  104. package/dist/src/views/scheduling/composables/useScheduleAllShiftsRow.d.ts +77 -0
  105. package/dist/src/views/scheduling/composables/useScheduleAreaBoard.d.ts +50 -0
  106. package/dist/src/views/scheduling/composables/useScheduleAreaDragDrop.d.ts +18 -0
  107. package/dist/src/views/scheduling/composables/useScheduleAssign.d.ts +113 -0
  108. package/dist/src/views/scheduling/composables/useScheduleAutoSchedule.d.ts +136 -0
  109. package/dist/src/views/scheduling/composables/useScheduleBoard.d.ts +415 -0
  110. package/dist/src/views/scheduling/composables/useScheduleCellState.d.ts +27 -0
  111. package/dist/src/views/scheduling/composables/useScheduleClashDetection.d.ts +18 -0
  112. package/dist/src/views/scheduling/composables/useScheduleCopyWeek.d.ts +17 -0
  113. package/dist/src/views/scheduling/composables/useScheduleCostRail.d.ts +43 -0
  114. package/dist/src/views/scheduling/composables/useScheduleDayNote.d.ts +48 -0
  115. package/dist/src/views/scheduling/composables/useScheduleDayTimeline.d.ts +82 -0
  116. package/dist/src/views/scheduling/composables/useScheduleDemand.d.ts +68 -0
  117. package/dist/src/views/scheduling/composables/useScheduleDemandRow.d.ts +45 -0
  118. package/dist/src/views/scheduling/composables/useScheduleDemandSheet.d.ts +139 -0
  119. package/dist/src/views/scheduling/composables/useScheduleDragDrop.d.ts +22 -0
  120. package/dist/src/views/scheduling/composables/useScheduleEmployeeIdentity.d.ts +32 -0
  121. package/dist/src/views/scheduling/composables/useScheduleEmployeeProfile.d.ts +16 -0
  122. package/dist/src/views/scheduling/composables/useScheduleExport.d.ts +26 -0
  123. package/dist/src/views/scheduling/composables/useScheduleFilterBar.d.ts +14 -0
  124. package/dist/src/views/scheduling/composables/useScheduleGapPopover.d.ts +80 -0
  125. package/dist/src/views/scheduling/composables/useScheduleLeave.d.ts +20 -0
  126. package/dist/src/views/scheduling/composables/useScheduleLegend.d.ts +15 -0
  127. package/dist/src/views/scheduling/composables/useScheduleLegendBar.d.ts +35 -0
  128. package/dist/src/views/scheduling/composables/useScheduleOnboardingWizard.d.ts +179 -0
  129. package/dist/src/views/scheduling/composables/useScheduleOpenShiftCard.d.ts +23 -0
  130. package/dist/src/views/scheduling/composables/useScheduleOutlet.d.ts +19 -0
  131. package/dist/src/views/scheduling/composables/useSchedulePositions.d.ts +32 -0
  132. package/dist/src/views/scheduling/composables/useSchedulePublish.d.ts +91 -0
  133. package/dist/src/views/scheduling/composables/useScheduleRangeCalendar.d.ts +18 -0
  134. package/dist/src/views/scheduling/composables/useScheduleRoster.d.ts +183 -0
  135. package/dist/src/views/scheduling/composables/useScheduleSettings.d.ts +54 -0
  136. package/dist/src/views/scheduling/composables/useScheduleSetupBanner.d.ts +18 -0
  137. package/dist/src/views/scheduling/composables/useScheduleShiftActions.d.ts +225 -0
  138. package/dist/src/views/scheduling/composables/useScheduleShiftPopover.d.ts +174 -0
  139. package/dist/src/views/scheduling/composables/useScheduleStaffRail.d.ts +20 -0
  140. package/dist/src/views/scheduling/composables/useScheduleStatsRow.d.ts +25 -0
  141. package/dist/src/views/scheduling/composables/useScheduleTimePicker.d.ts +44 -0
  142. package/dist/src/views/scheduling/composables/useScheduleTopbar.d.ts +10 -0
  143. package/dist/src/views/scheduling/data.d.ts +105 -0
  144. package/dist/src/views/scheduling/locales/index.d.ts +496 -0
  145. package/dist/src/views/scheduling/schedule-store.d.ts +116 -0
  146. package/dist/src/views/scheduling/types.d.ts +311 -0
  147. package/dist/src/views/team/components/PortalConditionForm.vue.d.ts +2 -2
  148. package/dist/src/views/team/condition-builders/ConditionBuilderForm.vue.d.ts +2 -2
  149. package/dist/src/views/team/member/TeamMemberMasterUser.vue.d.ts +12 -3
  150. package/dist/style.css +1 -1
  151. package/dist/tsconfig.app.tsbuildinfo +1 -1
  152. package/dist/{useReportPermissions-BiyAfGvZ.js → useReportPermissions-FieO4EAD.js} +3 -3
  153. package/dist/useScheduleOutlet-CmIG5dwQ.js +557 -0
  154. package/dist/useSchedulePositions-DPVAgdB2.js +103 -0
  155. package/package.json +1 -1
  156. package/dist/EmployeeList-Cu4RxVQX.js +0 -889
  157. package/dist/PasscodePinField.vue_vue_type_script_setup_true_lang-BUI0Xsgc.js +0 -85
  158. package/dist/SelectFilter-ATOm0hdn.js +0 -269
  159. package/dist/TeamMemberList-M6HA9BWu.js +0 -1248
  160. package/dist/employee-BcFgm8Rt.js +0 -204
@@ -0,0 +1,44 @@
1
+ import type { FdtoScheduleAssignment, FdtoScheduleAutoScheduleReq, FdtoScheduleAutoScheduleResult, FdtoScheduleBoard, FdtoScheduleBulkUpdateAssignmentStatusReq, FdtoScheduleCreateEmployeeProfileReq, FdtoScheduleDemand, FdtoScheduleEmployee, FdtoSchedulePosition, FdtoScheduleSaveAssignmentReq, FdtoScheduleSaveDemandReq, FdtoScheduleSavePositionReq, FdtoScheduleSaveScheduleDayReq, FdtoScheduleScheduleDay, FdtoScheduleUpdateEmployeeProfileReq } from '@/types/schedule';
2
+ declare const ScheduleAPI: {
3
+ generateAutoSchedule(restaurantId: string, req: FdtoScheduleAutoScheduleReq): Promise<FdtoScheduleAutoScheduleResult>;
4
+ /** One outlet's whole board over `[from, to]` (inclusive, 'YYYY-MM-DD'). */
5
+ readBoard(restaurantId: string, from: string, to: string): Promise<FdtoScheduleBoard>;
6
+ /** Creates or updates the employee's shared business-level scheduling profile. */
7
+ createEmployeeProfile(_restaurantId: string, req: FdtoScheduleCreateEmployeeProfileReq): Promise<FdtoScheduleEmployee>;
8
+ /** Edits the employee's shared business-level scheduling profile. */
9
+ updateEmployeeProfile(_restaurantId: string, employeeId: string, req: FdtoScheduleUpdateEmployeeProfileReq): Promise<FdtoScheduleEmployee>;
10
+ /** Positions are shared across the business. */
11
+ createPosition(req: FdtoScheduleSavePositionReq): Promise<FdtoSchedulePosition>;
12
+ updatePosition(id: string, req: FdtoScheduleSavePositionReq): Promise<FdtoSchedulePosition>;
13
+ /** Deleting one position is `deletePositions` with a single-id array — the backend's
14
+ * `DELETE positions/:id` route is gone; this is now `DELETE positions?ids=`. */
15
+ deletePosition(id: string): Promise<void>;
16
+ /** Creates one flat demand interval. */
17
+ createDemand(restaurantId: string, req: FdtoScheduleSaveDemandReq): Promise<FdtoScheduleDemand>;
18
+ /** Deletes a batch of demands in one request — e.g. `saveDemand` replacing a whole
19
+ * day/weekday's demand rows wholesale. Deleting one demand is just this with a single-id
20
+ * array. */
21
+ deleteDemands(restaurantId: string, ids: string[]): Promise<{
22
+ ok: true;
23
+ deletedCount: number;
24
+ }>;
25
+ /** Replaces one date's note/holiday-mark. All three fields back to empty/false clears it. */
26
+ saveScheduleDay(restaurantId: string, date: string, req: FdtoScheduleSaveScheduleDayReq): Promise<FdtoScheduleScheduleDay | null>;
27
+ /** A one-off shift assignment. */
28
+ createAssignment(restaurantId: string, req: FdtoScheduleSaveAssignmentReq): Promise<FdtoScheduleAssignment>;
29
+ updateAssignment(restaurantId: string, id: string, req: FdtoScheduleSaveAssignmentReq): Promise<FdtoScheduleAssignment | null>;
30
+ /** Deletes a batch of assignments in one request — e.g. a shift split into several segments
31
+ * getting replaced wholesale. Deleting one assignment is just this with a single-id
32
+ * array. */
33
+ deleteAssignments(restaurantId: string, ids: string[]): Promise<{
34
+ ok: true;
35
+ deletedCount: number;
36
+ }>;
37
+ /** Flips a batch of assignments to one status in a single request — e.g. Publish sending
38
+ * every DRAFT shift on the board to PUBLISHED at once. */
39
+ bulkUpdateAssignmentStatus(restaurantId: string, req: FdtoScheduleBulkUpdateAssignmentStatusReq): Promise<FdtoScheduleAssignment[]>;
40
+ devResetOutlet(restaurantId: string): Promise<{
41
+ removed: number;
42
+ }>;
43
+ };
44
+ export default ScheduleAPI;
@@ -0,0 +1,16 @@
1
+ import { type OutletRoleAssignmentProps, type OutletRoleRow } from '@/helpers/outlet-role-assignment';
2
+ declare const _default: <T extends OutletRoleRow>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
3
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
4
+ readonly "onUpdate:modelValue"?: ((rows: T[]) => any) | undefined;
5
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:modelValue"> & OutletRoleAssignmentProps<T> & Partial<{}>> & import("vue").PublicProps;
6
+ expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
7
+ attrs: any;
8
+ slots: {};
9
+ emit: (evt: "update:modelValue", rows: T[]) => void;
10
+ }>) => import("vue").VNode & {
11
+ __ctx?: Awaited<typeof __VLS_setup>;
12
+ };
13
+ export default _default;
14
+ type __VLS_PrettifyLocal<T> = {
15
+ [K in keyof T]: T[K];
16
+ } & {};
@@ -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
+ declare var __VLS_1: {};
2
+ type __VLS_Slots = {} & {
3
+ default?: (props: typeof __VLS_1) => any;
4
+ };
5
+ declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
7
+ export default _default;
8
+ type __VLS_WithSlots<T, S> = T & {
9
+ new (): {
10
+ $slots: S;
11
+ };
12
+ };
@@ -0,0 +1,14 @@
1
+ import { type Component } from 'vue';
2
+ /**
3
+ * Wraps a route component in the app-wide sidebar + full-bleed shell (pixel-matched
4
+ * to the Scheduling mockup). Mirrors the `withPermission`/`withLoading` HOC pattern
5
+ * so it composes with them in router/shared.ts.
6
+ */
7
+ export declare function withShell(Comp: Component): {
8
+ inheritAttrs: boolean;
9
+ setup(_: unknown, { attrs }: {
10
+ attrs: Record<string, unknown>;
11
+ }): () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
12
+ [key: string]: any;
13
+ }>;
14
+ };
@@ -0,0 +1,40 @@
1
+ import type { HrmRestaurant } from '@/types/restaurant';
2
+ import type { Role } from '@/types/role';
3
+ export interface OutletRoleRow {
4
+ restaurantId: string;
5
+ roleId: string;
6
+ }
7
+ export interface SelectOption {
8
+ label: string;
9
+ value: string;
10
+ disabled: boolean;
11
+ }
12
+ export interface AssignmentRules {
13
+ /** Whether this role may be picked at this outlet (caller policy). */
14
+ isRoleUsable: (role: Role, restaurantId: string) => boolean;
15
+ /** Locked rows cannot be edited or removed. */
16
+ isRestaurantLocked: (restaurantId: string) => boolean;
17
+ }
18
+ /**
19
+ * Props of OutletRoleAssignment.vue. Exported from here (not declared in the
20
+ * SFC) so the generated component declaration can reference it.
21
+ */
22
+ export interface OutletRoleAssignmentProps<T extends OutletRoleRow> {
23
+ modelValue: T[];
24
+ restaurants: HrmRestaurant[];
25
+ roles: Role[];
26
+ isRoleUsable: (role: Role, restaurantId: string) => boolean;
27
+ isRestaurantLocked?: (restaurantId: string) => boolean;
28
+ createRow: () => T;
29
+ title: string;
30
+ restaurantLabel: string;
31
+ roleLabel: string;
32
+ addLabel: string;
33
+ removeLabel: string;
34
+ }
35
+ export declare function selectedRestaurantIds(rows: OutletRoleRow[]): string[];
36
+ export declare function buildRestaurantOptions(restaurants: HrmRestaurant[], rows: OutletRoleRow[], currentRestaurantId: string): SelectOption[];
37
+ export declare function buildRoleOptions(roles: Role[], restaurantId: string, currentRoleId: string, rules: AssignmentRules): SelectOption[];
38
+ export declare function pickRoleForRestaurant(roles: Role[], restaurantId: string, currentRoleId: string, rules: AssignmentRules): string;
39
+ export declare function canAddAssignment(restaurants: HrmRestaurant[], rows: OutletRoleRow[]): boolean;
40
+ export declare function removeAssignment<T extends OutletRoleRow>(rows: T[], index: number, createRow: () => T, rules: AssignmentRules): T[];
@@ -20,6 +20,21 @@ export declare function ruleExtension(rule: FdoPermissionRule): {
20
20
  };
21
21
  export declare function getMaxDiscount(rules: FdoPermissionRule[]): number;
22
22
  export declare function getManagableRestaurantIds(rules: (FdoPermissionRule | RawRule)[]): string[] | null;
23
+ export interface MasterUserAccess {
24
+ /** null = every restaurant, [] = none */
25
+ restaurantIds: string[] | null;
26
+ /** null = every role, [] = none */
27
+ roleIds: string[] | null;
28
+ }
29
+ /**
30
+ * Outlets and POS roles a team member may be assigned as a master user.
31
+ * The business owner is unrestricted regardless of stored rules: their rules
32
+ * are not editable in the portal and legacy documents often lack the
33
+ * `restaurant` / `business::role` subjects this derivation depends on.
34
+ */
35
+ export declare function resolveMasterUserAccess(rules: (FdoPermissionRule | RawRule)[], options: {
36
+ isOwner: boolean;
37
+ }): MasterUserAccess;
23
38
  export declare function hasAdminRule(rules: FdoPermissionRule[]): boolean;
24
39
  export declare function usableRoleIds(rules: (FdoPermissionRule | RawRule)[]): string[] | null;
25
40
  export declare function extractReportExtraCondition(rule: FdoPermissionRule): Record<string, unknown> | undefined;
@@ -10,7 +10,10 @@ export declare enum RouteName {
10
10
  TEAM_ROLE = "team-role",
11
11
  POS_ACCESS = "pos-access",
12
12
  POS_GRANT = "pos-grant",
13
- APPROVAL_CODE = "approval-code"
13
+ APPROVAL_CODE = "approval-code",
14
+ SCHEDULE = "schedule",
15
+ SCHEDULE_POSITION = "schedule-position",
16
+ SCHEDULE_GENERAL = "schedule-general"
14
17
  }
15
18
  declare const routes: RouteRecordRaw[];
16
19
  export { routes };
@@ -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;