@activecollab/components 2.0.576 → 2.0.578

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 (156) hide show
  1. package/dist/cjs/presentation/myWork/MyWorkTasks.js +83 -30
  2. package/dist/cjs/presentation/myWork/MyWorkTasks.js.map +1 -1
  3. package/dist/cjs/presentation/myWork/agendaGrid.js +1095 -0
  4. package/dist/cjs/presentation/myWork/agendaGrid.js.map +1 -0
  5. package/dist/cjs/presentation/reports/allReports.js +6 -0
  6. package/dist/cjs/presentation/reports/allReports.js.map +1 -1
  7. package/dist/cjs/presentation/reports/controls.js +6 -3
  8. package/dist/cjs/presentation/reports/controls.js.map +1 -1
  9. package/dist/cjs/presentation/reports/expenses.js +946 -0
  10. package/dist/cjs/presentation/reports/expenses.js.map +1 -0
  11. package/dist/cjs/presentation/shared/settings.js +6 -2
  12. package/dist/cjs/presentation/shared/settings.js.map +1 -1
  13. package/dist/cjs/presentation/shared/tokens.js +8 -1
  14. package/dist/cjs/presentation/shared/tokens.js.map +1 -1
  15. package/dist/cjs/presentation/timeboxes/AdjustmentList.js +31 -0
  16. package/dist/cjs/presentation/timeboxes/AdjustmentList.js.map +1 -0
  17. package/dist/cjs/presentation/timeboxes/AgendaDayView.js +1722 -0
  18. package/dist/cjs/presentation/timeboxes/AgendaDayView.js.map +1 -0
  19. package/dist/cjs/presentation/timeboxes/CapacityBar.js +54 -0
  20. package/dist/cjs/presentation/timeboxes/CapacityBar.js.map +1 -0
  21. package/dist/cjs/presentation/timeboxes/SimulationCard.js +47 -0
  22. package/dist/cjs/presentation/timeboxes/SimulationCard.js.map +1 -0
  23. package/dist/cjs/presentation/timeboxes/SimulationPanel.js +319 -0
  24. package/dist/cjs/presentation/timeboxes/SimulationPanel.js.map +1 -0
  25. package/dist/cjs/presentation/timeboxes/TimeRecordsSection.js +206 -0
  26. package/dist/cjs/presentation/timeboxes/TimeRecordsSection.js.map +1 -0
  27. package/dist/cjs/presentation/timeboxes/WorkloadView.js +887 -0
  28. package/dist/cjs/presentation/timeboxes/WorkloadView.js.map +1 -0
  29. package/dist/cjs/presentation/timeboxes/__tests__/timeboxes.test.js +699 -0
  30. package/dist/cjs/presentation/timeboxes/__tests__/timeboxes.test.js.map +1 -0
  31. package/dist/cjs/presentation/timeboxes/changes.js +293 -0
  32. package/dist/cjs/presentation/timeboxes/changes.js.map +1 -0
  33. package/dist/cjs/presentation/timeboxes/mockData.js +320 -0
  34. package/dist/cjs/presentation/timeboxes/mockData.js.map +1 -0
  35. package/dist/cjs/presentation/timeboxes/model.js +186 -0
  36. package/dist/cjs/presentation/timeboxes/model.js.map +1 -0
  37. package/dist/cjs/presentation/timeboxes/pillLook.js +72 -0
  38. package/dist/cjs/presentation/timeboxes/pillLook.js.map +1 -0
  39. package/dist/cjs/presentation/timeboxes/plan.js +181 -0
  40. package/dist/cjs/presentation/timeboxes/plan.js.map +1 -0
  41. package/dist/cjs/presentation/timeboxes/reducer.js +763 -0
  42. package/dist/cjs/presentation/timeboxes/reducer.js.map +1 -0
  43. package/dist/cjs/presentation/timeboxes/scheduler.js +147 -0
  44. package/dist/cjs/presentation/timeboxes/scheduler.js.map +1 -0
  45. package/dist/cjs/presentation/timeboxes/store.js +65 -0
  46. package/dist/cjs/presentation/timeboxes/store.js.map +1 -0
  47. package/dist/cjs/presentation/timeboxes/timeBlocks.js +1931 -0
  48. package/dist/cjs/presentation/timeboxes/timeBlocks.js.map +1 -0
  49. package/dist/cjs/presentation/timeboxes/timeboxSettings.js +369 -0
  50. package/dist/cjs/presentation/timeboxes/timeboxSettings.js.map +1 -0
  51. package/dist/cjs/presentation/timeboxes/tracked.js +189 -0
  52. package/dist/cjs/presentation/timeboxes/tracked.js.map +1 -0
  53. package/dist/esm/presentation/myWork/MyWorkTasks.d.ts +81 -1
  54. package/dist/esm/presentation/myWork/MyWorkTasks.d.ts.map +1 -1
  55. package/dist/esm/presentation/myWork/MyWorkTasks.js +76 -23
  56. package/dist/esm/presentation/myWork/MyWorkTasks.js.map +1 -1
  57. package/dist/esm/presentation/myWork/agendaGrid.d.ts +341 -0
  58. package/dist/esm/presentation/myWork/agendaGrid.d.ts.map +1 -0
  59. package/dist/esm/presentation/myWork/agendaGrid.js +1001 -0
  60. package/dist/esm/presentation/myWork/agendaGrid.js.map +1 -0
  61. package/dist/esm/presentation/reports/allReports.d.ts.map +1 -1
  62. package/dist/esm/presentation/reports/allReports.js +6 -0
  63. package/dist/esm/presentation/reports/allReports.js.map +1 -1
  64. package/dist/esm/presentation/reports/controls.d.ts +3 -1
  65. package/dist/esm/presentation/reports/controls.d.ts.map +1 -1
  66. package/dist/esm/presentation/reports/controls.js +6 -3
  67. package/dist/esm/presentation/reports/controls.js.map +1 -1
  68. package/dist/esm/presentation/reports/expenses.d.ts +62 -0
  69. package/dist/esm/presentation/reports/expenses.d.ts.map +1 -0
  70. package/dist/esm/presentation/reports/expenses.js +849 -0
  71. package/dist/esm/presentation/reports/expenses.js.map +1 -0
  72. package/dist/esm/presentation/shared/settings.d.ts +2 -0
  73. package/dist/esm/presentation/shared/settings.d.ts.map +1 -1
  74. package/dist/esm/presentation/shared/settings.js +5 -1
  75. package/dist/esm/presentation/shared/settings.js.map +1 -1
  76. package/dist/esm/presentation/shared/tokens.d.ts +6 -0
  77. package/dist/esm/presentation/shared/tokens.d.ts.map +1 -1
  78. package/dist/esm/presentation/shared/tokens.js +7 -0
  79. package/dist/esm/presentation/shared/tokens.js.map +1 -1
  80. package/dist/esm/presentation/timeboxes/AdjustmentList.d.ts +11 -0
  81. package/dist/esm/presentation/timeboxes/AdjustmentList.d.ts.map +1 -0
  82. package/dist/esm/presentation/timeboxes/AdjustmentList.js +22 -0
  83. package/dist/esm/presentation/timeboxes/AdjustmentList.js.map +1 -0
  84. package/dist/esm/presentation/timeboxes/AgendaDayView.d.ts +15 -0
  85. package/dist/esm/presentation/timeboxes/AgendaDayView.d.ts.map +1 -0
  86. package/dist/esm/presentation/timeboxes/AgendaDayView.js +1524 -0
  87. package/dist/esm/presentation/timeboxes/AgendaDayView.js.map +1 -0
  88. package/dist/esm/presentation/timeboxes/CapacityBar.d.ts +15 -0
  89. package/dist/esm/presentation/timeboxes/CapacityBar.d.ts.map +1 -0
  90. package/dist/esm/presentation/timeboxes/CapacityBar.js +48 -0
  91. package/dist/esm/presentation/timeboxes/CapacityBar.js.map +1 -0
  92. package/dist/esm/presentation/timeboxes/SimulationCard.d.ts +13 -0
  93. package/dist/esm/presentation/timeboxes/SimulationCard.d.ts.map +1 -0
  94. package/dist/esm/presentation/timeboxes/SimulationCard.js +41 -0
  95. package/dist/esm/presentation/timeboxes/SimulationCard.js.map +1 -0
  96. package/dist/esm/presentation/timeboxes/SimulationPanel.d.ts +18 -0
  97. package/dist/esm/presentation/timeboxes/SimulationPanel.d.ts.map +1 -0
  98. package/dist/esm/presentation/timeboxes/SimulationPanel.js +267 -0
  99. package/dist/esm/presentation/timeboxes/SimulationPanel.js.map +1 -0
  100. package/dist/esm/presentation/timeboxes/TimeRecordsSection.d.ts +14 -0
  101. package/dist/esm/presentation/timeboxes/TimeRecordsSection.d.ts.map +1 -0
  102. package/dist/esm/presentation/timeboxes/TimeRecordsSection.js +159 -0
  103. package/dist/esm/presentation/timeboxes/TimeRecordsSection.js.map +1 -0
  104. package/dist/esm/presentation/timeboxes/WorkloadView.d.ts +9 -0
  105. package/dist/esm/presentation/timeboxes/WorkloadView.d.ts.map +1 -0
  106. package/dist/esm/presentation/timeboxes/WorkloadView.js +761 -0
  107. package/dist/esm/presentation/timeboxes/WorkloadView.js.map +1 -0
  108. package/dist/esm/presentation/timeboxes/__tests__/timeboxes.test.d.ts +2 -0
  109. package/dist/esm/presentation/timeboxes/__tests__/timeboxes.test.d.ts.map +1 -0
  110. package/dist/esm/presentation/timeboxes/__tests__/timeboxes.test.js +640 -0
  111. package/dist/esm/presentation/timeboxes/__tests__/timeboxes.test.js.map +1 -0
  112. package/dist/esm/presentation/timeboxes/changes.d.ts +72 -0
  113. package/dist/esm/presentation/timeboxes/changes.d.ts.map +1 -0
  114. package/dist/esm/presentation/timeboxes/changes.js +224 -0
  115. package/dist/esm/presentation/timeboxes/changes.js.map +1 -0
  116. package/dist/esm/presentation/timeboxes/mockData.d.ts +16 -0
  117. package/dist/esm/presentation/timeboxes/mockData.d.ts.map +1 -0
  118. package/dist/esm/presentation/timeboxes/mockData.js +297 -0
  119. package/dist/esm/presentation/timeboxes/mockData.js.map +1 -0
  120. package/dist/esm/presentation/timeboxes/model.d.ts +136 -0
  121. package/dist/esm/presentation/timeboxes/model.d.ts.map +1 -0
  122. package/dist/esm/presentation/timeboxes/model.js +129 -0
  123. package/dist/esm/presentation/timeboxes/model.js.map +1 -0
  124. package/dist/esm/presentation/timeboxes/pillLook.d.ts +40 -0
  125. package/dist/esm/presentation/timeboxes/pillLook.d.ts.map +1 -0
  126. package/dist/esm/presentation/timeboxes/pillLook.js +65 -0
  127. package/dist/esm/presentation/timeboxes/pillLook.js.map +1 -0
  128. package/dist/esm/presentation/timeboxes/plan.d.ts +62 -0
  129. package/dist/esm/presentation/timeboxes/plan.d.ts.map +1 -0
  130. package/dist/esm/presentation/timeboxes/plan.js +116 -0
  131. package/dist/esm/presentation/timeboxes/plan.js.map +1 -0
  132. package/dist/esm/presentation/timeboxes/reducer.d.ts +203 -0
  133. package/dist/esm/presentation/timeboxes/reducer.d.ts.map +1 -0
  134. package/dist/esm/presentation/timeboxes/reducer.js +616 -0
  135. package/dist/esm/presentation/timeboxes/reducer.js.map +1 -0
  136. package/dist/esm/presentation/timeboxes/scheduler.d.ts +63 -0
  137. package/dist/esm/presentation/timeboxes/scheduler.d.ts.map +1 -0
  138. package/dist/esm/presentation/timeboxes/scheduler.js +120 -0
  139. package/dist/esm/presentation/timeboxes/scheduler.js.map +1 -0
  140. package/dist/esm/presentation/timeboxes/store.d.ts +23 -0
  141. package/dist/esm/presentation/timeboxes/store.d.ts.map +1 -0
  142. package/dist/esm/presentation/timeboxes/store.js +46 -0
  143. package/dist/esm/presentation/timeboxes/store.js.map +1 -0
  144. package/dist/esm/presentation/timeboxes/timeBlocks.d.ts +10 -0
  145. package/dist/esm/presentation/timeboxes/timeBlocks.d.ts.map +1 -0
  146. package/dist/esm/presentation/timeboxes/timeBlocks.js +1767 -0
  147. package/dist/esm/presentation/timeboxes/timeBlocks.js.map +1 -0
  148. package/dist/esm/presentation/timeboxes/timeboxSettings.d.ts +71 -0
  149. package/dist/esm/presentation/timeboxes/timeboxSettings.d.ts.map +1 -0
  150. package/dist/esm/presentation/timeboxes/timeboxSettings.js +302 -0
  151. package/dist/esm/presentation/timeboxes/timeboxSettings.js.map +1 -0
  152. package/dist/esm/presentation/timeboxes/tracked.d.ts +51 -0
  153. package/dist/esm/presentation/timeboxes/tracked.d.ts.map +1 -0
  154. package/dist/esm/presentation/timeboxes/tracked.js +136 -0
  155. package/dist/esm/presentation/timeboxes/tracked.js.map +1 -0
  156. package/package.json +1 -1
@@ -0,0 +1,341 @@
1
+ import React, { ReactElement, ReactNode } from "react";
2
+ import { MyTasksGroupBy } from "./MyWorkTasks";
3
+ import { ViewSwitcherView } from "../../components/ViewSwitcher";
4
+ /**
5
+ * The My Work Agenda's calendar pieces, shared by the "My work calendar" and
6
+ * the time blocks presentations (timeboxes/timeBlocks): dates, the in-paper
7
+ * toolbar, the week/day header cells, the All Day lane row and its pills, the hour grid,
8
+ * the timed event box, the day split, the options menu and the My Work tab
9
+ * bar with the Agenda view menu.
10
+ *
11
+ * Mirrors src/components/MyWork/Agenda (AgendaToolbar, AgendaDayHeader,
12
+ * AgendaTimeGrid, agendaCalendarProps) and src/styles/calendar.less.
13
+ */
14
+ export declare const SECONDS_PER_DAY = 86400;
15
+ /** Unix seconds at UTC midnight — the shape task `start_on` / `due_on` take. */
16
+ export declare const utcMidnight: (year: number, month: number, day: number) => number;
17
+ /** Whole days since the epoch; every grid position is one of these. */
18
+ export declare const toDayNumber: (seconds: number) => number;
19
+ export declare const toDate: (dayNumber: number) => Date;
20
+ /** An event's "YYYY-MM-DD" (for-screen payload), read for placement only. */
21
+ export declare const isoToDayNumber: (iso: string) => number;
22
+ /** An event's "HH:mm:ss", as minutes after midnight, for placement only. */
23
+ export declare const clockToMinutes: (clock: string) => number;
24
+ /** The app's 12-hour clock: "09:00 AM". */
25
+ export declare const formatTimeOfDay: (minutes: number) => string;
26
+ /** Weeks start on Monday, as the user's Calendar page does. */
27
+ export declare const mondayOf: (dayNumber: number) => number;
28
+ export declare const isoWeekNumber: (dayNumber: number) => number;
29
+ export declare const SHORT_DAYS: string[];
30
+ export declare const LONG_DAYS: string[];
31
+ export declare const SHORT_MONTHS: string[];
32
+ export declare const LONG_MONTHS: string[];
33
+ export declare const longDayOf: (dayNumber: number) => string;
34
+ export declare const shortDayOf: (dayNumber: number) => string;
35
+ export declare const isWeekendDay: (dayNumber: number) => boolean;
36
+ export interface MockCalendarEvent {
37
+ id: number;
38
+ class: "CalendarEvent";
39
+ name: string;
40
+ calendar_id: number;
41
+ calendar_name: string;
42
+ /** The calendar's colour, as the payload carries it on each event. */
43
+ color: string;
44
+ /** "YYYY-MM-DD"; both ends inclusive. */
45
+ starts_on: string;
46
+ ends_on: string;
47
+ /** "HH:mm:ss"; both null on an all-day event. */
48
+ starts_on_time: string | null;
49
+ ends_on_time: string | null;
50
+ repeat_event: "dont" | "daily" | "weekly" | "monthly" | "yearly";
51
+ is_participant: boolean;
52
+ /** The event's Meeting Link (CalendarEvent.jsx), or null. */
53
+ meeting_url: string | null;
54
+ }
55
+ export interface ViewOptions {
56
+ showTasks: boolean;
57
+ showEvents: boolean;
58
+ showCompleted: boolean;
59
+ showSubtasks: boolean;
60
+ showNonWorking: boolean;
61
+ showWeekNumbers: boolean;
62
+ showTaskIds: boolean;
63
+ }
64
+ /** A task, a subtask or an event, placed on the grid's day axis. */
65
+ export interface GridEntry {
66
+ key: string;
67
+ kind: "task" | "subtask" | "event";
68
+ name: string;
69
+ startDay: number;
70
+ endDay: number;
71
+ /** Project colour for a task or subtask, calendar colour for an event
72
+ (data colours). */
73
+ color: string;
74
+ completed: boolean;
75
+ important: boolean;
76
+ /** Event only: is the logged user taking part (medium name) or not (grey). */
77
+ participant: boolean;
78
+ /** Task only: the "#ID" it shows (the Tasks tab's show_id mode). */
79
+ taskNumber?: number;
80
+ /** Event only: the Meeting Link, when the event has one. */
81
+ meetingUrl?: string;
82
+ /** Event only: minutes after midnight; undefined on an all-day event. */
83
+ startMinute?: number;
84
+ endMinute?: number;
85
+ }
86
+ export declare const isTimed: (entry: GridEntry) => boolean;
87
+ /** On one day: events, then tasks, then subtasks. */
88
+ export declare const KIND_RANK: Record<GridEntry["kind"], number>;
89
+ /** One entry inside one row of days, clamped to it and given a lane. */
90
+ export interface LaneSegment extends GridEntry {
91
+ from: number;
92
+ to: number;
93
+ continuesPrior: boolean;
94
+ continuesAfter: boolean;
95
+ lane: number;
96
+ }
97
+ /**
98
+ * The order rbc's month row packs in, cut to the row: earlier first, then —
99
+ * on the same day — events, tasks, then subtasks, all-day before timed, longer before
100
+ * shorter, earlier time first. Events lead a cell without starving the tasks
101
+ * that began earlier in the week of a lane.
102
+ */
103
+ export declare const segmentOrder: (a: LaneSegment, b: LaneSegment) => number;
104
+ /** Lanes per row, not per day, so a span keeps its lane across the week. */
105
+ export declare const assignLanes: (entries: GridEntry[], firstDay: number, dayCount: number) => LaneSegment[];
106
+ /** Month: week-number gutter (.show-week-number in calendar.less). */
107
+ export declare const WEEK_NUMBER_GUTTER = 50;
108
+ /** Week / day: the hour gutter (.rbc-time-gutter). */
109
+ export declare const TIME_GUTTER = 96;
110
+ /** A lane, as on the Calendar page: the 22px pill, its 2px margin-bottom
111
+ (.rbc-event) and the segment's 1px bottom padding (.rbc-row-segment).
112
+ Tasks and subtasks take the same lane, so every row lines up. */
113
+ export declare const LANE_STEP = 25;
114
+ /** Month cells show four lanes, then "+N more" (ProjectCalendar.jsx). */
115
+ export declare const MONTH_VISIBLE_LANES = 4;
116
+ /** The week / day All Day row shows ten lanes, then "+N more" (rbc's
117
+ allDayMaxRows, which the Calendar page sets to 2 for events alone). */
118
+ export declare const ALL_DAY_VISIBLE_LANES = 10;
119
+ /** 24px date line + four lanes + the 20px "+N more" line. */
120
+ export declare const MONTH_ROW_MIN_HEIGHT: number;
121
+ /** The Calendar page's hour: 73px per two-hour slot group, rounded down. */
122
+ export declare const HOUR_HEIGHT = 36;
123
+ /** The hour the week and day grids open on (calendar_starting_hours). */
124
+ export declare const SCROLL_TO_HOUR = 7;
125
+ export declare const CALENDAR_TOOLBAR_HEIGHT = 40;
126
+ export declare const StyledMyWorkTabs: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & import("../..").IHeaderProps & React.RefAttributes<HTMLDivElement>>, any, {}, never>;
127
+ export declare const StyledMyCalendarPaper: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & import("../..").IPaperProps & React.RefAttributes<HTMLDivElement>>, any, {}, never>;
128
+ export declare const StyledMyCalendarToolbar: import("styled-components").StyledComponent<"div", any, {}, never>;
129
+ export declare const StyledDayHeaders: import("styled-components").StyledComponent<"div", any, {}, never>;
130
+ export declare const StyledLaneRow: import("styled-components").StyledComponent<"div", any, {}, never>;
131
+ export declare const StyledPill: import("styled-components").StyledComponent<"div", any, {}, never>;
132
+ export declare const StyledTextTrigger: import("styled-components").StyledComponent<"div", any, {}, never>;
133
+ export declare const StyledHourGrid: import("styled-components").StyledComponent<"div", any, {}, never>;
134
+ export declare const StyledTimedEvent: import("styled-components").StyledComponent<"div", any, {}, never>;
135
+ export declare const StyledDaySplit: import("styled-components").StyledComponent<"div", any, {}, never>;
136
+ export declare const DAY_GRID_MIN_WIDTH = 260;
137
+ export declare const DAY_GRID_MAX_WIDTH = 780;
138
+ export declare const DAY_GRID_WIDTH_STORAGE_KEY = "presentation.myWorkCalendar.dayGridWidth";
139
+ export declare const StyledMyOptionsList: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<import("../..").ListProps & {
140
+ children?: ReactNode | undefined;
141
+ } & React.HTMLAttributes<HTMLUListElement> & React.RefAttributes<HTMLUListElement>> & {
142
+ Item: React.ForwardRefExoticComponent<import("../..").ListItemProps & {
143
+ children?: ReactNode | undefined;
144
+ } & React.HTMLAttributes<HTMLLIElement> & React.RefAttributes<HTMLLIElement>>;
145
+ Separator: {
146
+ ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
147
+ displayName: string;
148
+ };
149
+ }, any, {}, never>;
150
+ export declare const StyledMyOptionsItem: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<import("../..").ListItemProps & {
151
+ children?: ReactNode | undefined;
152
+ } & React.HTMLAttributes<HTMLLIElement> & React.RefAttributes<HTMLLIElement>>, any, {}, never>;
153
+ export declare const percentOf: (part: number, whole: number) => string;
154
+ export interface PillProps {
155
+ segment: LaneSegment;
156
+ style: React.CSSProperties;
157
+ /** The task's #number ahead of its name (WeekTaskNumber). */
158
+ showTaskId?: boolean;
159
+ }
160
+ /**
161
+ * Marks an event apart from a task at a glance: the DS calendar icon at 12px,
162
+ * in the event's calendar colour (a data colour, through style, as the
163
+ * project calendar tints its subtask glyph).
164
+ */
165
+ export declare const EventGlyph: {
166
+ ({ color }: {
167
+ color: string;
168
+ }): ReactElement;
169
+ displayName: string;
170
+ };
171
+ export type MeetingService = "zoom" | "meet" | "teams" | "webex";
172
+ export declare const MEETING_SERVICE_NAMES: Record<MeetingService, string>;
173
+ /** Which service a Meeting Link points at, read off its host at render time;
174
+ null for a link to anything else. */
175
+ export declare const meetingServiceOf: (url: string) => MeetingService | null;
176
+ export declare const MEETING_LOGOS: Record<MeetingService, ReactElement>;
177
+ /** The meeting service's logo, with its name on hover; nothing when the link
178
+ is not a known service. */
179
+ export declare const MeetingServiceIcon: {
180
+ ({ url, }: {
181
+ url: string;
182
+ }): ReactElement | null;
183
+ displayName: string;
184
+ };
185
+ /**
186
+ * A task is MonthPill.jsx: the name in Caption 1, red when important, struck
187
+ * through and faded when completed. An event is MonthEvent.jsx: the name in
188
+ * Caption 1 medium (tertiary when the user is not a participant) and the
189
+ * start time on the right when it is timed.
190
+ */
191
+ export declare const CalendarPill: {
192
+ ({ segment, style, showTaskId, }: PillProps): ReactElement;
193
+ displayName: string;
194
+ };
195
+ /**
196
+ * A timed event in the hour grid (DayEvent.jsx with the agenda's leading
197
+ * glyph): the name, then "start – end". The caller places it; under 36px
198
+ * there is room for the name only.
199
+ */
200
+ export declare const TimedEventBox: {
201
+ ({ entry, style, compact, className, }: {
202
+ entry: GridEntry;
203
+ style: React.CSSProperties;
204
+ compact: boolean;
205
+ className?: string;
206
+ }): ReactElement;
207
+ displayName: string;
208
+ };
209
+ export interface LaneRowProps {
210
+ days: number[];
211
+ entries: GridEntry[];
212
+ /** The day the today tint goes on. */
213
+ today: number;
214
+ /** Weekend or global day off, when the view shows non-working days. */
215
+ isNonWorking: (day: number) => boolean;
216
+ /** Month: the day-off name on a date line, when shown. */
217
+ dayOffNameOf?: (day: number) => string | undefined;
218
+ gutterWidth: number;
219
+ gutter: ReactNode;
220
+ /** Draws a segment instead of the default CalendarPill; null keeps the
221
+ default. */
222
+ renderSegment?: (segment: LaneSegment, style: React.CSSProperties) => ReactNode;
223
+ /** Month: the month shown, so other days read as off-range, and dates. */
224
+ month?: number;
225
+ /** Lanes shown before "+N more": four in a month cell, ten in the All Day
226
+ row. */
227
+ maxLanes?: number;
228
+ /** "+N more" opens the day view of the day it sits under. */
229
+ onShowMore?: (day: number) => void;
230
+ /** Task pills carry their #number, as the project calendar's week does.
231
+ The month shows it too — a departure from the app's month, which shows
232
+ the name alone. */
233
+ showTaskIds?: boolean;
234
+ className: string;
235
+ }
236
+ export declare const LaneRow: {
237
+ ({ days, entries, today, isNonWorking, dayOffNameOf, gutterWidth, gutter, renderSegment, month, maxLanes, onShowMore, showTaskIds, className, }: LaneRowProps): ReactElement;
238
+ displayName: string;
239
+ };
240
+ /** Week / day header cells, as the project calendar's WeekDayHeader; the
241
+ bar under the date is the caller's (WeekDueBar on the Agenda). */
242
+ export declare const DatedHeaders: {
243
+ ({ days, today: todayDay, isNonWorking, renderBar, }: {
244
+ days: number[];
245
+ today: number;
246
+ isNonWorking: (day: number) => boolean;
247
+ renderBar: (day: number) => ReactNode;
248
+ }): ReactElement;
249
+ displayName: string;
250
+ };
251
+ export interface Placed<T> {
252
+ item: T;
253
+ column: number;
254
+ columns: number;
255
+ }
256
+ /** Side-by-side columns for overlapping timed items in one day
257
+ (react-big-calendar's overlap layout). */
258
+ export declare const placeSideBySide: <T>(items: T[], startOf: (item: T) => number, endOf: (item: T) => number) => Placed<T>[];
259
+ export type CalendarMode = "day" | "week" | "month";
260
+ export declare const MY_CALENDAR_OPTION_ROWS: {
261
+ key: keyof ViewOptions;
262
+ label: string;
263
+ }[];
264
+ export declare const MY_CALENDAR_DEV_ROWS: {
265
+ key: keyof ViewOptions;
266
+ label: string;
267
+ }[];
268
+ /** ProjectCalendarOptionsMenu: the gear, 260px, Label + Checkbox rows. */
269
+ export interface CalendarOptionsAction {
270
+ key: string;
271
+ label: string;
272
+ icon: ReactElement;
273
+ onSelect: () => void;
274
+ }
275
+ export declare const MyCalendarOptionsMenu: {
276
+ ({ options, onToggle, onOpenListSettings, actions, }: {
277
+ options: ViewOptions;
278
+ onToggle: (key: keyof ViewOptions) => void;
279
+ /** Day view only: the day list's List Settings, as on the My Work lists. */
280
+ onOpenListSettings?: () => void;
281
+ /** More settings entries, listed after List Settings. */
282
+ actions?: CalendarOptionsAction[];
283
+ }): ReactElement;
284
+ displayName: string;
285
+ };
286
+ export declare const MODE_SWITCH: {
287
+ mode: CalendarMode;
288
+ label: string;
289
+ icon: ReactElement;
290
+ }[];
291
+ export type MyWorkTab = "tasks" | "timesheet" | "teams" | "activity" | "availability" | "agenda";
292
+ export declare const MY_WORK_TABS: {
293
+ key: MyWorkTab;
294
+ label: string;
295
+ }[];
296
+ export declare const TabCountChip: ({ count, active, }: {
297
+ count: number;
298
+ active: boolean;
299
+ }) => ReactElement;
300
+ export interface MyWorkTabsProps {
301
+ active: MyWorkTab;
302
+ onSelect: (tab: MyWorkTab) => void;
303
+ tasksCount: number;
304
+ controls?: ReactNode;
305
+ }
306
+ /** MyWorkPageShell.jsx's tab bar, with Agenda after Tasks; the calendar
307
+ views live in the Agenda tab's view menu. */
308
+ export declare const MyWorkTabs: {
309
+ ({ active, onSelect, tasksCount, controls, }: MyWorkTabsProps): ReactElement;
310
+ displayName: string;
311
+ };
312
+ export declare const periodLabelFor: (mode: CalendarMode, anchor: number) => string;
313
+ export declare const stepAnchor: (mode: CalendarMode, anchor: number, direction: 1 | -1) => number;
314
+ /** The page's bottom padding under the paper (StyledPageBody). */
315
+ export declare const PAGE_BOTTOM_GAP = 32;
316
+ /**
317
+ * The height that takes an element from where it starts down to the
318
+ * viewport's bottom, less the page's bottom padding; null while inactive.
319
+ * The shell lets a page grow with its content, so a paper that must hold the
320
+ * viewport's height measures it.
321
+ */
322
+ export declare const useViewportFillHeight: (ref: React.RefObject<HTMLElement>, active: boolean) => number | null;
323
+ export type AgendaView = MyTasksGroupBy | CalendarMode;
324
+ type AgendaMainView = "project" | "dates" | "calendar";
325
+ export declare const AGENDA_MAIN_VIEWS: ViewSwitcherView[];
326
+ export declare const AGENDA_SECOND_VIEWS: Record<Exclude<AgendaMainView, "project">, {
327
+ id: AgendaView;
328
+ label: string;
329
+ icon: ReactElement;
330
+ }[]>;
331
+ export declare const agendaMainViewOf: (view: AgendaView) => AgendaMainView;
332
+ export declare const isCalendarView: (view: AgendaView) => view is CalendarMode;
333
+ /** MyWork/Agenda/AgendaViewSwitch.jsx: the second menu remembers the last view of its group. */
334
+ export declare const AgendaViewSwitch: ({ view, onChange, }: {
335
+ view: AgendaView;
336
+ onChange: (view: AgendaView) => void;
337
+ }) => ReactElement;
338
+ /** MyWork/Agenda/AgendaFilters.jsx: one search and one filter for all views. */
339
+ export declare const AgendaFilter: () => ReactElement;
340
+ export {};
341
+ //# sourceMappingURL=agendaGrid.d.ts.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