@cocoar/vue-calendar 3.2.0-beta.12 → 3.2.0-beta.46

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 (71) hide show
  1. package/dist/builders/calendar-builder-config.d.ts +38 -2
  2. package/dist/builders/calendar-builder-config.d.ts.map +1 -1
  3. package/dist/builders/calendar-builder-handlers.d.ts +26 -1
  4. package/dist/builders/calendar-builder-handlers.d.ts.map +1 -1
  5. package/dist/builders/calendar-builder-state.d.ts +31 -2
  6. package/dist/builders/calendar-builder-state.d.ts.map +1 -1
  7. package/dist/builders/calendar-builder.d.ts.map +1 -1
  8. package/dist/builders/internal/navigation.d.ts +3 -2
  9. package/dist/builders/internal/navigation.d.ts.map +1 -1
  10. package/dist/builders/internal/series-pipeline.d.ts.map +1 -1
  11. package/dist/builders/types.d.ts +77 -1
  12. package/dist/builders/types.d.ts.map +1 -1
  13. package/dist/components/CoarAgendaView.vue.d.ts.map +1 -1
  14. package/dist/components/CoarCalendar.vue.d.ts +13 -1
  15. package/dist/components/CoarCalendar.vue.d.ts.map +1 -1
  16. package/dist/components/CoarContinuousMonthView.vue.d.ts.map +1 -1
  17. package/dist/components/CoarDayView.vue.d.ts +13 -0
  18. package/dist/components/CoarDayView.vue.d.ts.map +1 -1
  19. package/dist/components/CoarMonthListView.vue.d.ts.map +1 -1
  20. package/dist/components/CoarMonthView.vue.d.ts.map +1 -1
  21. package/dist/components/CoarTimeGrid.vue.d.ts +13 -0
  22. package/dist/components/CoarTimeGrid.vue.d.ts.map +1 -1
  23. package/dist/components/CoarWeekView.vue.d.ts +13 -0
  24. package/dist/components/CoarWeekView.vue.d.ts.map +1 -1
  25. package/dist/components/CoarWorkWeekView.vue.d.ts +13 -0
  26. package/dist/components/CoarWorkWeekView.vue.d.ts.map +1 -1
  27. package/dist/components/internal/month/CoarMonthCell.vue.d.ts.map +1 -1
  28. package/dist/components/internal/time-grid/CoarCalendarBands.vue.d.ts +16 -0
  29. package/dist/components/internal/time-grid/CoarCalendarBands.vue.d.ts.map +1 -0
  30. package/dist/components/internal/time-grid/CoarTimeAxisMarker.vue.d.ts +8 -0
  31. package/dist/components/internal/time-grid/CoarTimeAxisMarker.vue.d.ts.map +1 -0
  32. package/dist/components/internal/time-grid/CoarTimeGridNowMarker.vue.d.ts +15 -8
  33. package/dist/components/internal/time-grid/CoarTimeGridNowMarker.vue.d.ts.map +1 -1
  34. package/dist/components/internal/time-grid/CoarTimeGridSurface.vue.d.ts +13 -0
  35. package/dist/components/internal/time-grid/CoarTimeGridSurface.vue.d.ts.map +1 -1
  36. package/dist/components/internal/time-grid/CoarTimeSelectionLayer.vue.d.ts +37 -0
  37. package/dist/components/internal/time-grid/CoarTimeSelectionLayer.vue.d.ts.map +1 -0
  38. package/dist/components/internal/time-rows/CoarTimeRows.vue.d.ts +67 -0
  39. package/dist/components/internal/time-rows/CoarTimeRows.vue.d.ts.map +1 -0
  40. package/dist/components/internal/time-rows/CoarTimeRowsEvent.vue.d.ts +61 -0
  41. package/dist/components/internal/time-rows/CoarTimeRowsEvent.vue.d.ts.map +1 -0
  42. package/dist/composables/surfaceTap.d.ts +38 -0
  43. package/dist/composables/surfaceTap.d.ts.map +1 -0
  44. package/dist/composables/useCalendarDnd.d.ts +50 -0
  45. package/dist/composables/useCalendarDnd.d.ts.map +1 -1
  46. package/dist/composables/useTimeGridDnd.d.ts +9 -1
  47. package/dist/composables/useTimeGridDnd.d.ts.map +1 -1
  48. package/dist/composables/useTimeGridOverlays.d.ts +74 -0
  49. package/dist/composables/useTimeGridOverlays.d.ts.map +1 -0
  50. package/dist/composables/useTimeGridPresentation.d.ts +215 -0
  51. package/dist/composables/useTimeGridPresentation.d.ts.map +1 -0
  52. package/dist/composables/useTimeGridSwipe.d.ts +5 -0
  53. package/dist/composables/useTimeGridSwipe.d.ts.map +1 -1
  54. package/dist/composables/useTimeSelection.d.ts +38 -0
  55. package/dist/composables/useTimeSelection.d.ts.map +1 -0
  56. package/dist/core/index.d.ts +2 -1
  57. package/dist/core/index.d.ts.map +1 -1
  58. package/dist/core/monthGridLayout.d.ts.map +1 -1
  59. package/dist/core/timeRowsLayout.d.ts +57 -0
  60. package/dist/core/timeRowsLayout.d.ts.map +1 -0
  61. package/dist/core/timeSelection.d.ts +92 -0
  62. package/dist/core/timeSelection.d.ts.map +1 -0
  63. package/dist/core/types.d.ts +8 -0
  64. package/dist/core/types.d.ts.map +1 -1
  65. package/dist/{core-DNwsMOSU.js → core-C3yGErWV.js} +230 -108
  66. package/dist/core.js +2 -2
  67. package/dist/index.d.ts +1 -1
  68. package/dist/index.d.ts.map +1 -1
  69. package/dist/index.js +3397 -1848
  70. package/dist/vue-calendar.css +1 -1
  71. package/package.json +3 -3
@@ -0,0 +1,74 @@
1
+ import { ComputedRef } from 'vue';
2
+ import { Temporal } from '../core';
3
+ import { CalendarBuilder } from '../builders/calendar-builder';
4
+ import { CalendarDraft, CalendarDraftSegment } from '../builders/types';
5
+ /** A mark on the time axis (`<CoarTimeAxisMarker>`). */
6
+ export type TimeAxisMark = {
7
+ type: 'time';
8
+ px: number;
9
+ label: string;
10
+ } | {
11
+ type: 'range';
12
+ startPx: number;
13
+ endPx: number;
14
+ startLabel: string;
15
+ endLabel: string;
16
+ durationLabel: string;
17
+ /** `'selection'` while dragging, `'draft'` for the host's draft. */
18
+ tone: 'selection' | 'draft';
19
+ };
20
+ /** A band resolved for one day, minutes of the day clipped to the visible range. */
21
+ export type ResolvedBand = {
22
+ type: 'range';
23
+ key: string;
24
+ kind: string;
25
+ start: number;
26
+ end: number;
27
+ appearance: 'tint' | 'hatch' | 'outline';
28
+ layer: 'below' | 'above';
29
+ color?: string;
30
+ label?: string;
31
+ } | {
32
+ type: 'line';
33
+ key: string;
34
+ kind: string;
35
+ at: number;
36
+ color?: string;
37
+ label?: string;
38
+ };
39
+ export interface UseTimeGridOverlaysOptions<TMeta extends Record<string, unknown>> {
40
+ builder: CalendarBuilder<TMeta>;
41
+ days: ComputedRef<ReadonlyArray<Temporal.PlainDate>>;
42
+ /** `[startHour, endHour]` of the rendered range. */
43
+ timeRange: ComputedRef<readonly [number, number]>;
44
+ timezone: ComputedRef<string>;
45
+ }
46
+ export declare function useTimeGridOverlays<TMeta extends Record<string, unknown>>(opts: UseTimeGridOverlaysOptions<TMeta>): {
47
+ bandsFor: (date: Temporal.PlainDate) => ResolvedBand[];
48
+ draft: ComputedRef<CalendarDraft | null>;
49
+ draftFor: (date: Temporal.PlainDate) => CalendarDraftSegment | null;
50
+ };
51
+ export interface AxisMarkInput {
52
+ /** The range being dragged, minutes of the day. */
53
+ drag: {
54
+ start: number;
55
+ end: number;
56
+ } | null;
57
+ /** The snapped time under the pointer (`hoverIndicator`). */
58
+ hoverMinute: number | null;
59
+ draft: CalendarDraft | null;
60
+ /** The draft's pieces on the visible days, in day order. */
61
+ draftSegments: ReadonlyArray<CalendarDraftSegment>;
62
+ timezone: string;
63
+ /** Pixel offset along the time axis of a minute of the day. */
64
+ toPx: (minuteOfDay: number) => number;
65
+ formatClock: (minuteOfDay: number) => string;
66
+ formatDuration: (minutes: number) => string;
67
+ }
68
+ /**
69
+ * What the time axis shows: a dragged range first, else the time under
70
+ * the pointer, else the draft — so the draft's times come back as soon
71
+ * as the pointer leaves the grid.
72
+ */
73
+ export declare function timeAxisMark(input: AxisMarkInput): TimeAxisMark | null;
74
+ //# sourceMappingURL=useTimeGridOverlays.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useTimeGridOverlays.d.ts","sourceRoot":"","sources":["../../src/composables/useTimeGridOverlays.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAqB,KAAK,WAAW,EAAE,MAAM,KAAK,CAAC;AAC1D,OAAO,EAAE,QAAQ,EAAuC,MAAM,SAAS,CAAC;AACxE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AACpE,OAAO,KAAK,EAAgB,aAAa,EAAE,oBAAoB,EAAE,MAAM,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,CAAC,SAAS,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IAClD,QAAQ,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;CAC/B;AAqCD,wBAAgB,mBAAmB,CAAC,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EACvE,IAAI,EAAE,0BAA0B,CAAC,KAAK,CAAC;qBAmBf,QAAQ,CAAC,SAAS,KAAG,YAAY,EAAE;;qBAuCnC,QAAQ,CAAC,SAAS,KAAG,oBAAoB,GAAG,IAAI;EAKzE;AAED,MAAM,WAAW,aAAa;IAC5B,mDAAmD;IACnD,IAAI,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC;IAC5C,6DAA6D;IAC7D,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,KAAK,EAAE,aAAa,GAAG,IAAI,CAAC;IAC5B,4DAA4D;IAC5D,aAAa,EAAE,aAAa,CAAC,oBAAoB,CAAC,CAAC;IACnD,QAAQ,EAAE,MAAM,CAAC;IACjB,+DAA+D;IAC/D,IAAI,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,MAAM,CAAC;IACtC,WAAW,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,MAAM,CAAC;IAC7C,cAAc,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,MAAM,CAAC;CAC7C;AAED;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,aAAa,GAAG,YAAY,GAAG,IAAI,CAgCtE"}
@@ -0,0 +1,215 @@
1
+ import { ComputedRef } from 'vue';
2
+ import { Temporal, CalendarEvent, EventTextContrastPolicy } from '../core';
3
+ import { TimeGridEventDropPayload } from './useTimeGridDnd';
4
+ export interface TimeGridPresentationState {
5
+ timezone: string;
6
+ locale: string | undefined;
7
+ dateStyle: 'short' | 'medium' | 'long' | 'full' | undefined;
8
+ timeStyle: 'short' | 'medium' | 'long' | undefined;
9
+ hour12: boolean | undefined;
10
+ eventTextContrast: EventTextContrastPolicy;
11
+ }
12
+ export interface UseTimeGridPresentationOptions {
13
+ state: ComputedRef<TimeGridPresentationState>;
14
+ /** `[startHour, endHour]` of the rendered range. */
15
+ timeRange: ComputedRef<readonly [number, number]>;
16
+ }
17
+ export declare function useTimeGridPresentation<TMeta extends Record<string, unknown> = Record<string, unknown>>(opts: UseTimeGridPresentationOptions): {
18
+ t: (key: string, params?: Record<string, unknown>, fallback?: string) => string;
19
+ locale: ComputedRef<string>;
20
+ today: import('vue').Ref<{
21
+ readonly era: string | undefined;
22
+ readonly eraYear: number | undefined;
23
+ readonly year: number;
24
+ readonly month: number;
25
+ readonly monthCode: string;
26
+ readonly day: number;
27
+ readonly calendarId: string;
28
+ readonly dayOfWeek: number;
29
+ readonly dayOfYear: number;
30
+ readonly weekOfYear: number | undefined;
31
+ readonly yearOfWeek: number | undefined;
32
+ readonly daysInWeek: number;
33
+ readonly daysInYear: number;
34
+ readonly daysInMonth: number;
35
+ readonly monthsInYear: number;
36
+ readonly inLeapYear: boolean;
37
+ equals: (other: Temporal.PlainDate | Temporal.PlainDateLike | string) => boolean;
38
+ with: (dateLike: Temporal.PlainDateLike, options?: Temporal.AssignmentOptions) => Temporal.PlainDate;
39
+ withCalendar: (calendar: Temporal.CalendarLike) => Temporal.PlainDate;
40
+ add: (durationLike: Temporal.Duration | Temporal.DurationLike | string, options?: Temporal.ArithmeticOptions) => Temporal.PlainDate;
41
+ subtract: (durationLike: Temporal.Duration | Temporal.DurationLike | string, options?: Temporal.ArithmeticOptions) => Temporal.PlainDate;
42
+ until: (other: Temporal.PlainDate | Temporal.PlainDateLike | string, options?: Temporal.DifferenceOptions<"year" | "month" | "week" | "day">) => Temporal.Duration;
43
+ since: (other: Temporal.PlainDate | Temporal.PlainDateLike | string, options?: Temporal.DifferenceOptions<"year" | "month" | "week" | "day">) => Temporal.Duration;
44
+ toPlainDateTime: (temporalTime?: Temporal.PlainTime | Temporal.PlainTimeLike | string) => Temporal.PlainDateTime;
45
+ toZonedDateTime: (timeZoneAndTime: string | {
46
+ timeZone: Temporal.TimeZoneLike;
47
+ plainTime?: Temporal.PlainTime | Temporal.PlainTimeLike | string;
48
+ }) => Temporal.ZonedDateTime;
49
+ toPlainYearMonth: () => Temporal.PlainYearMonth;
50
+ toPlainMonthDay: () => Temporal.PlainMonthDay;
51
+ toLocaleString: (locales?: Temporal.LocalesArgument, options?: globalThis.Intl.DateTimeFormatOptions) => string;
52
+ toJSON: () => string;
53
+ toString: (options?: Temporal.ShowCalendarOption) => string;
54
+ valueOf: () => never;
55
+ readonly [Symbol.toStringTag]: "Temporal.PlainDate";
56
+ }, Temporal.PlainDate | {
57
+ readonly era: string | undefined;
58
+ readonly eraYear: number | undefined;
59
+ readonly year: number;
60
+ readonly month: number;
61
+ readonly monthCode: string;
62
+ readonly day: number;
63
+ readonly calendarId: string;
64
+ readonly dayOfWeek: number;
65
+ readonly dayOfYear: number;
66
+ readonly weekOfYear: number | undefined;
67
+ readonly yearOfWeek: number | undefined;
68
+ readonly daysInWeek: number;
69
+ readonly daysInYear: number;
70
+ readonly daysInMonth: number;
71
+ readonly monthsInYear: number;
72
+ readonly inLeapYear: boolean;
73
+ equals: (other: Temporal.PlainDate | Temporal.PlainDateLike | string) => boolean;
74
+ with: (dateLike: Temporal.PlainDateLike, options?: Temporal.AssignmentOptions) => Temporal.PlainDate;
75
+ withCalendar: (calendar: Temporal.CalendarLike) => Temporal.PlainDate;
76
+ add: (durationLike: Temporal.Duration | Temporal.DurationLike | string, options?: Temporal.ArithmeticOptions) => Temporal.PlainDate;
77
+ subtract: (durationLike: Temporal.Duration | Temporal.DurationLike | string, options?: Temporal.ArithmeticOptions) => Temporal.PlainDate;
78
+ until: (other: Temporal.PlainDate | Temporal.PlainDateLike | string, options?: Temporal.DifferenceOptions<"year" | "month" | "week" | "day">) => Temporal.Duration;
79
+ since: (other: Temporal.PlainDate | Temporal.PlainDateLike | string, options?: Temporal.DifferenceOptions<"year" | "month" | "week" | "day">) => Temporal.Duration;
80
+ toPlainDateTime: (temporalTime?: Temporal.PlainTime | Temporal.PlainTimeLike | string) => Temporal.PlainDateTime;
81
+ toZonedDateTime: (timeZoneAndTime: string | {
82
+ timeZone: Temporal.TimeZoneLike;
83
+ plainTime?: Temporal.PlainTime | Temporal.PlainTimeLike | string;
84
+ }) => Temporal.ZonedDateTime;
85
+ toPlainYearMonth: () => Temporal.PlainYearMonth;
86
+ toPlainMonthDay: () => Temporal.PlainMonthDay;
87
+ toLocaleString: (locales?: Temporal.LocalesArgument, options?: globalThis.Intl.DateTimeFormatOptions) => string;
88
+ toJSON: () => string;
89
+ toString: (options?: Temporal.ShowCalendarOption) => string;
90
+ valueOf: () => never;
91
+ readonly [Symbol.toStringTag]: "Temporal.PlainDate";
92
+ }>;
93
+ now: import('vue').Ref<{
94
+ readonly era: string | undefined;
95
+ readonly eraYear: number | undefined;
96
+ readonly year: number;
97
+ readonly month: number;
98
+ readonly monthCode: string;
99
+ readonly day: number;
100
+ readonly hour: number;
101
+ readonly minute: number;
102
+ readonly second: number;
103
+ readonly millisecond: number;
104
+ readonly microsecond: number;
105
+ readonly nanosecond: number;
106
+ readonly timeZoneId: string;
107
+ readonly calendarId: string;
108
+ readonly dayOfWeek: number;
109
+ readonly dayOfYear: number;
110
+ readonly weekOfYear: number | undefined;
111
+ readonly yearOfWeek: number | undefined;
112
+ readonly hoursInDay: number;
113
+ readonly daysInWeek: number;
114
+ readonly daysInMonth: number;
115
+ readonly daysInYear: number;
116
+ readonly monthsInYear: number;
117
+ readonly inLeapYear: boolean;
118
+ readonly offsetNanoseconds: number;
119
+ readonly offset: string;
120
+ readonly epochMilliseconds: number;
121
+ readonly epochNanoseconds: bigint;
122
+ equals: (other: Temporal.ZonedDateTime | Temporal.ZonedDateTimeLike | string) => boolean;
123
+ with: (zonedDateTimeLike: Temporal.ZonedDateTimeLike, options?: Temporal.ZonedDateTimeAssignmentOptions) => Temporal.ZonedDateTime;
124
+ withPlainTime: (timeLike?: Temporal.PlainTime | Temporal.PlainTimeLike | string) => Temporal.ZonedDateTime;
125
+ withCalendar: (calendar: Temporal.CalendarLike) => Temporal.ZonedDateTime;
126
+ withTimeZone: (timeZone: Temporal.TimeZoneLike) => Temporal.ZonedDateTime;
127
+ add: (durationLike: Temporal.Duration | Temporal.DurationLike | string, options?: Temporal.ArithmeticOptions) => Temporal.ZonedDateTime;
128
+ subtract: (durationLike: Temporal.Duration | Temporal.DurationLike | string, options?: Temporal.ArithmeticOptions) => Temporal.ZonedDateTime;
129
+ until: (other: Temporal.ZonedDateTime | Temporal.ZonedDateTimeLike | string, options?: Temporal.DifferenceOptions<"year" | "month" | "week" | "day" | "hour" | "minute" | "second" | "millisecond" | "microsecond" | "nanosecond">) => Temporal.Duration;
130
+ since: (other: Temporal.ZonedDateTime | Temporal.ZonedDateTimeLike | string, options?: Temporal.DifferenceOptions<"year" | "month" | "week" | "day" | "hour" | "minute" | "second" | "millisecond" | "microsecond" | "nanosecond">) => Temporal.Duration;
131
+ round: (roundTo: Temporal.RoundTo<"day" | "hour" | "minute" | "second" | "millisecond" | "microsecond" | "nanosecond">) => Temporal.ZonedDateTime;
132
+ startOfDay: () => Temporal.ZonedDateTime;
133
+ getTimeZoneTransition: (direction: Temporal.TransitionDirection) => Temporal.ZonedDateTime | null;
134
+ toInstant: () => Temporal.Instant;
135
+ toPlainDateTime: () => Temporal.PlainDateTime;
136
+ toPlainDate: () => Temporal.PlainDate;
137
+ toPlainTime: () => Temporal.PlainTime;
138
+ toLocaleString: (locales?: Temporal.LocalesArgument, options?: globalThis.Intl.DateTimeFormatOptions) => string;
139
+ toJSON: () => string;
140
+ toString: (options?: Temporal.ZonedDateTimeToStringOptions) => string;
141
+ valueOf: () => never;
142
+ readonly [Symbol.toStringTag]: "Temporal.ZonedDateTime";
143
+ }, Temporal.ZonedDateTime | {
144
+ readonly era: string | undefined;
145
+ readonly eraYear: number | undefined;
146
+ readonly year: number;
147
+ readonly month: number;
148
+ readonly monthCode: string;
149
+ readonly day: number;
150
+ readonly hour: number;
151
+ readonly minute: number;
152
+ readonly second: number;
153
+ readonly millisecond: number;
154
+ readonly microsecond: number;
155
+ readonly nanosecond: number;
156
+ readonly timeZoneId: string;
157
+ readonly calendarId: string;
158
+ readonly dayOfWeek: number;
159
+ readonly dayOfYear: number;
160
+ readonly weekOfYear: number | undefined;
161
+ readonly yearOfWeek: number | undefined;
162
+ readonly hoursInDay: number;
163
+ readonly daysInWeek: number;
164
+ readonly daysInMonth: number;
165
+ readonly daysInYear: number;
166
+ readonly monthsInYear: number;
167
+ readonly inLeapYear: boolean;
168
+ readonly offsetNanoseconds: number;
169
+ readonly offset: string;
170
+ readonly epochMilliseconds: number;
171
+ readonly epochNanoseconds: bigint;
172
+ equals: (other: Temporal.ZonedDateTime | Temporal.ZonedDateTimeLike | string) => boolean;
173
+ with: (zonedDateTimeLike: Temporal.ZonedDateTimeLike, options?: Temporal.ZonedDateTimeAssignmentOptions) => Temporal.ZonedDateTime;
174
+ withPlainTime: (timeLike?: Temporal.PlainTime | Temporal.PlainTimeLike | string) => Temporal.ZonedDateTime;
175
+ withCalendar: (calendar: Temporal.CalendarLike) => Temporal.ZonedDateTime;
176
+ withTimeZone: (timeZone: Temporal.TimeZoneLike) => Temporal.ZonedDateTime;
177
+ add: (durationLike: Temporal.Duration | Temporal.DurationLike | string, options?: Temporal.ArithmeticOptions) => Temporal.ZonedDateTime;
178
+ subtract: (durationLike: Temporal.Duration | Temporal.DurationLike | string, options?: Temporal.ArithmeticOptions) => Temporal.ZonedDateTime;
179
+ until: (other: Temporal.ZonedDateTime | Temporal.ZonedDateTimeLike | string, options?: Temporal.DifferenceOptions<"year" | "month" | "week" | "day" | "hour" | "minute" | "second" | "millisecond" | "microsecond" | "nanosecond">) => Temporal.Duration;
180
+ since: (other: Temporal.ZonedDateTime | Temporal.ZonedDateTimeLike | string, options?: Temporal.DifferenceOptions<"year" | "month" | "week" | "day" | "hour" | "minute" | "second" | "millisecond" | "microsecond" | "nanosecond">) => Temporal.Duration;
181
+ round: (roundTo: Temporal.RoundTo<"day" | "hour" | "minute" | "second" | "millisecond" | "microsecond" | "nanosecond">) => Temporal.ZonedDateTime;
182
+ startOfDay: () => Temporal.ZonedDateTime;
183
+ getTimeZoneTransition: (direction: Temporal.TransitionDirection) => Temporal.ZonedDateTime | null;
184
+ toInstant: () => Temporal.Instant;
185
+ toPlainDateTime: () => Temporal.PlainDateTime;
186
+ toPlainDate: () => Temporal.PlainDate;
187
+ toPlainTime: () => Temporal.PlainTime;
188
+ toLocaleString: (locales?: Temporal.LocalesArgument, options?: globalThis.Intl.DateTimeFormatOptions) => string;
189
+ toJSON: () => string;
190
+ toString: (options?: Temporal.ZonedDateTimeToStringOptions) => string;
191
+ valueOf: () => never;
192
+ readonly [Symbol.toStringTag]: "Temporal.ZonedDateTime";
193
+ }>;
194
+ nowMinutesFromGridStart: ComputedRef<number | null>;
195
+ isToday: (date: Temporal.PlainDate) => boolean;
196
+ isWeekend: (date: Temporal.PlainDate) => boolean;
197
+ formatDayHeader: (date: Temporal.PlainDate) => string;
198
+ hourLabels: ComputedRef<{
199
+ hour: number;
200
+ label: string;
201
+ }[]>;
202
+ formatClock: (minuteOfDay: number) => string;
203
+ formatDuration: (minutes: number) => string;
204
+ cardTimeLabel: (event: CalendarEvent<TMeta>) => string;
205
+ cardLocation: (event: CalendarEvent<TMeta>) => string | undefined;
206
+ eventTitle: (event: CalendarEvent<TMeta>) => string;
207
+ eventBgFor: (event: CalendarEvent<TMeta>) => string;
208
+ eventBorderFor: (event: CalendarEvent<TMeta>) => string;
209
+ eventInkFor: (event: CalendarEvent<TMeta>) => string;
210
+ eventAriaLabel: (event: CalendarEvent<TMeta>) => string;
211
+ kbdPreviewAriaLabel: (event: CalendarEvent<TMeta>) => string;
212
+ a11y: import('./useA11yAnnouncer').UseA11yAnnouncerReturn;
213
+ onA11yAnnounce: (kind: "committed" | "cancelled", payload?: TimeGridEventDropPayload<TMeta>) => void;
214
+ };
215
+ //# sourceMappingURL=useTimeGridPresentation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useTimeGridPresentation.d.ts","sourceRoot":"","sources":["../../src/composables/useTimeGridPresentation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAA0D,KAAK,WAAW,EAAE,MAAM,KAAK,CAAC;AAE/F,OAAO,EACL,QAAQ,EAMR,KAAK,aAAa,EAClB,KAAK,uBAAuB,EAC7B,MAAM,SAAS,CAAC;AAGjB,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,kBAAkB,CAAC;AAEjE,MAAM,WAAW,yBAAyB;IACxC,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,SAAS,EAAE,OAAO,GAAG,QAAQ,GAAG,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;IAC5D,SAAS,EAAE,OAAO,GAAG,QAAQ,GAAG,MAAM,GAAG,SAAS,CAAC;IACnD,MAAM,EAAE,OAAO,GAAG,SAAS,CAAC;IAC5B,iBAAiB,EAAE,uBAAuB,CAAC;CAC5C;AAED,MAAM,WAAW,8BAA8B;IAC7C,KAAK,EAAE,WAAW,CAAC,yBAAyB,CAAC,CAAC;IAC9C,oDAAoD;IACpD,SAAS,EAAE,WAAW,CAAC,SAAS,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;CACnD;AAED,wBAAgB,uBAAuB,CACrC,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC/D,IAAI,EAAE,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBA6S6phB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAAD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBAtQ3qhB,QAAQ,CAAC,SAAS,KAAG,OAAO;sBAG1B,QAAQ,CAAC,SAAS,KAAG,OAAO;4BAiBtB,QAAQ,CAAC,SAAS,KAAG,MAAM;;cAelC,MAAM;eAAS,MAAM;;+BAiBX,MAAM,KAAG,MAAM;8BAKhB,MAAM,KAAG,MAAM;2BAgBlB,aAAa,CAAC,KAAK,CAAC,KAAG,MAAM;0BAG9B,aAAa,CAAC,KAAK,CAAC,KAAG,MAAM,GAAG,SAAS;wBAM3C,aAAa,CAAC,KAAK,CAAC,KAAG,MAAM;wBAQ7B,aAAa,CAAC,KAAK,CAAC,KAAG,MAAM;4BAMzB,aAAa,CAAC,KAAK,CAAC,KAAG,MAAM;yBAIhC,aAAa,CAAC,KAAK,CAAC,KAAG,MAAM;4BAuC1B,aAAa,CAAC,KAAK,CAAC,KAAG,MAAM;iCA+BxB,aAAa,CAAC,KAAK,CAAC,KAAG,MAAM;;2BAiDzD,WAAW,GAAG,WAAW,YACrB,wBAAwB,CAAC,KAAK,CAAC,KACxC,IAAI;EAwCR"}
@@ -36,6 +36,11 @@ export interface UseTimeGridSwipeReturn {
36
36
  * mouse / pen only with `allowMouse` (the day-header strip).
37
37
  */
38
38
  onPointerdown: (e: PointerEvent, options?: SwipePointerdownOptions) => boolean;
39
+ /**
40
+ * Give up a pointer that has not started panning (a long press took
41
+ * it for time-range selection): no page, no tap on release.
42
+ */
43
+ release: (pointerId: number) => void;
39
44
  }
40
45
  export interface SwipePointerdownOptions {
41
46
  /** Deferred click semantics, fired on release when the pointer never moved. */
@@ -1 +1 @@
1
- {"version":3,"file":"useTimeGridSwipe.d.ts","sourceRoot":"","sources":["../../src/composables/useTimeGridSwipe.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AAEH,OAAO,EAAkC,KAAK,GAAG,EAAE,MAAM,KAAK,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'vue';
2
+ import { Temporal, CalendarEvent, MinuteRange } from '../core';
3
+ import { CalendarBuilder } from '../builders/calendar-builder';
4
+ import { TimedAxisAdapter } from './useCalendarDnd';
5
+ /** Mouse travel (px) after which a press is a drag, not a click. */
6
+ export declare const DRAG_THRESHOLD_PX = 4;
7
+ /** Touch / pen hold (ms) that starts a selection drag. */
8
+ export declare const LONG_PRESS_MS = 500;
9
+ export interface UseTimeSelectionOptions<TMeta extends Record<string, unknown>> {
10
+ builder: CalendarBuilder<TMeta>;
11
+ axis: TimedAxisAdapter;
12
+ /** `[startHour, endHour]` of the rendered range. */
13
+ timeRange: ComputedRef<readonly [number, number]>;
14
+ slotDuration: ComputedRef<number>;
15
+ timezone: ComputedRef<string>;
16
+ /** The live events (not the drag preview). */
17
+ events: () => ReadonlyArray<CalendarEvent<TMeta>>;
18
+ /** A long press took a touch pointer: stop the surface's own gesture on it. */
19
+ onClaim?: (pointerId: number) => void;
20
+ }
21
+ /** What the grid draws in a day: the hover proposal or the dragged range. */
22
+ export interface DaySelection extends MinuteRange {
23
+ phase: 'hover' | 'drag';
24
+ }
25
+ export declare function useTimeSelection<TMeta extends Record<string, unknown>>(opts: UseTimeSelectionOptions<TMeta>): {
26
+ onPointermove: (e: PointerEvent) => void;
27
+ onPointerleave: () => void;
28
+ onSurfacePointerdown: (e: PointerEvent, click: () => void) => (() => void) | null;
29
+ selectionFor: (date: Temporal.PlainDate) => DaySelection | null;
30
+ dragSelection: ComputedRef<(MinuteRange & {
31
+ date: Temporal.PlainDate;
32
+ }) | null>;
33
+ hoverMinute: ComputedRef<number | null>;
34
+ /** A press is being dragged (mouse past the threshold, or after a long press). */
35
+ selecting: ComputedRef<boolean>;
36
+ cancel: () => void;
37
+ };
38
+ //# sourceMappingURL=useTimeSelection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useTimeSelection.d.ts","sourceRoot":"","sources":["../../src/composables/useTimeSelection.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;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,CAAC,GAAG,IAAI;yBAmE1D,QAAQ,CAAC,SAAS,KAAG,YAAY,GAAG,IAAI;;cAhBd,QAAQ,CAAC,SAAS;;;IAwCtE,kFAAkF;;kBAvHpE,IAAI;EA2HrB"}
@@ -9,7 +9,7 @@
9
9
  * `@cocoar/vue-calendar/recurrence` subpath so apps that don't use
10
10
  * recurring series don't pull the engine into the main bundle.
11
11
  */
12
- export type { CalendarEvent, CalendarDayMode, CalendarMonthDensity, CalendarView, ViewWindow, ResolvedLocale, RecurringSeries, RecurrencePattern, RecurrenceExpansionWindow, } from './types';
12
+ export type { CalendarEvent, CalendarDayMode, CalendarTimeGridOrientation, CalendarMonthDensity, CalendarView, ViewWindow, ResolvedLocale, RecurringSeries, RecurrencePattern, RecurrenceExpansionWindow, } from './types';
13
13
  export { isTimedEvent, isAllDayEvent, validateCalendarEvent } from './types';
14
14
  export { Temporal, type DayOfWeek, detectFirstDayOfWeekFromLocale, detectHour12FromLocale, detectBrowserTimezone, startOfWeek, endOfWeek, startOfMonth, endOfMonth, isoWeekNumber, weekDates, workWeekDates, monthGridDates, localizedWeekdayNames, dateKey, eventStartDateInZone, todayInZone, nowInZone, buildFormatOptions, type FormatOverrides, parseScheduledTime, parsePlainDate, formatScheduledTime, type ScheduledTimeWire, type DstPolicy, } from './temporal';
15
15
  export { computeViewWindow, daysInWindow, windowDayCount, windowContainsDate, navigateCursor, DEFAULT_WORK_DAYS, type ViewWindowOptions, } from './viewWindow';
@@ -21,6 +21,7 @@ export { capAllDayBand, allDayBandLanes, DEFAULT_ALL_DAY_MAX_VISIBLE_LANES, type
21
21
  export { contentAwareCascadeFrames, type CascadeItem, type CascadeFrame } from './cascadeLayout';
22
22
  export { eventTextColor, eventInkColor, type EventTextContrastPolicy, type EventTextColorOptions, type EventInkOptions, } from './eventTextContrast';
23
23
  export { layoutDayEvents, layoutAllDayBand, type DayLayoutOptions, type AllDayBandOptions, type PositionedEvent, type AllDayBar, } from './timeGridLayout';
24
+ export { busyMinutesOn, defaultSelectionPolicy, freeRangeAt, gapOrDurationPolicy, minuteOfDayToZoned, snapToSlot, type GapOrDurationPolicyOptions, type MinuteRange, type TimeSelectionBusy, type TimeSelectionContext, type TimeSelectionPolicy, } from './timeSelection';
24
25
  export { layoutMonthGrid, capMonthCellPills, capMonthRowLanes, monthCellPillLimit, MONTH_DEFAULT_MAX_VISIBLE_LANES, type MonthRowLaneCap, MONTH_STACKED_VISIBLE_PILLS, MONTH_COMPACT_VISIBLE_PILLS, type MonthCellPillCap, type MonthLayout, type MonthLayoutOptions, type MonthWeekRow, type MonthMultiDayBar, type MonthCellPill, } from './monthGridLayout';
25
26
  export { buildAgendaItems, type AgendaItem, type AgendaHeaderItem, type AgendaEventItem, type AgendaLayoutOptions, } from './agendaLayout';
26
27
  export { layoutTimeline, type TimelineLayout, type TimelineLayoutOptions, type TimelineRow, type TimelineBar, } from './timelineLayout';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/core/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,YAAY,EACV,aAAa,EACb,eAAe,EACf,oBAAoB,EACpB,YAAY,EACZ,UAAU,EACV,cAAc,EAEd,eAAe,EACf,iBAAiB,EACjB,yBAAyB,GAC1B,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAC7E,OAAO,EACL,QAAQ,EACR,KAAK,SAAS,EACd,8BAA8B,EAC9B,sBAAsB,EACtB,qBAAqB,EACrB,WAAW,EACX,SAAS,EACT,YAAY,EACZ,UAAU,EACV,aAAa,EACb,SAAS,EACT,aAAa,EACb,cAAc,EACd,qBAAqB,EACrB,OAAO,EACP,oBAAoB,EACpB,WAAW,EACX,SAAS,EACT,kBAAkB,EAClB,KAAK,eAAe,EAEpB,kBAAkB,EAClB,cAAc,EACd,mBAAmB,EACnB,KAAK,iBAAiB,EACtB,KAAK,SAAS,GACf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,EAC3B,KAAK,gBAAgB,EACrB,KAAK,WAAW,EAChB,KAAK,kBAAkB,EACvB,KAAK,YAAY,EACjB,KAAK,gBAAgB,EACrB,KAAK,aAAa,GACnB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,gBAAgB,EAChB,KAAK,UAAU,EACf,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACpB,KAAK,mBAAmB,GACzB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACL,cAAc,EACd,KAAK,cAAc,EACnB,KAAK,qBAAqB,EAC1B,KAAK,WAAW,EAChB,KAAK,WAAW,GACjB,MAAM,kBAAkB,CAAC;AAK1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EACL,iBAAiB,EACjB,iBAAiB,EACjB,uBAAuB,EACvB,KAAK,OAAO,EACZ,KAAK,OAAO,GACb,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,0BAA0B,EAC1B,KAAK,aAAa,EAClB,KAAK,cAAc,EACnB,KAAK,YAAY,GAClB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,sBAAsB,EACtB,yBAAyB,EACzB,KAAK,WAAW,EAChB,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,GACtB,MAAM,eAAe,CAAC;AAOvB,OAAO,EACL,gBAAgB,EAChB,gBAAgB,EAChB,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,KAAK,UAAU,GAChB,MAAM,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/core/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,YAAY,EACV,aAAa,EACb,eAAe,EACf,2BAA2B,EAC3B,oBAAoB,EACpB,YAAY,EACZ,UAAU,EACV,cAAc,EAEd,eAAe,EACf,iBAAiB,EACjB,yB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AC,EAC5C,QAAQ,EAAE,MAAM,GAAG,IAAI,GACtB,eAAe,CAAC,KAAK,CAAC,CAmBxB;AAID;;;;;;GAMG;AACH,wBAAgB,eAAe,CAAC,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC7F,MAAM,EAAE,aAAa,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC,EAC3C,IAAI,EAAE,kBAAkB,GACvB,WAAW,CAAC,KAAK,CAAC,CA2JpB"}
@@ -0,0 +1,57 @@
1
+ import { CalendarEvent } from './types';
2
+ import { Temporal } from './temporal';
3
+ import { PositionedEvent } from './timeGridLayout';
4
+ export interface TimeRowsGeometry {
5
+ /** Height of one lane (one card), px. */
6
+ laneHeightPx: number;
7
+ /** Vertical gap between two lanes, px. */
8
+ laneGapPx: number;
9
+ /** Padding above the first and below the last lane, px. */
10
+ rowPaddingPx: number;
11
+ /** A row is never shorter than this, px. */
12
+ minRowHeightPx: number;
13
+ }
14
+ export interface TimeRowsLayoutOptions extends TimeRowsGeometry {
15
+ days: ReadonlyArray<Temporal.PlainDate>;
16
+ /** Visible hour range, `[startHour, endHour]`. */
17
+ timeRange: readonly [number, number];
18
+ /** Display zone. */
19
+ timezone: string;
20
+ /** Kept on the last lane of its cluster (drag preview), as in `layoutDayEvents`. */
21
+ priorityId?: string;
22
+ /**
23
+ * Extra floor per row, px — e.g. what the row's label cell needs for
24
+ * its all-day chips. The row is the larger of this and its lanes.
25
+ */
26
+ rowMinHeightPx?: (date: Temporal.PlainDate) => number;
27
+ }
28
+ export interface TimeRow<TMeta extends Record<string, unknown> = Record<string, unknown>> {
29
+ date: Temporal.PlainDate;
30
+ /** Timed events of the day; `lane` counts downwards inside the row. */
31
+ positioned: PositionedEvent<TMeta>[];
32
+ /** Lanes the row is sized for (at least 1). */
33
+ laneCount: number;
34
+ /** Offset of the row from the top of the first row, px. */
35
+ topPx: number;
36
+ heightPx: number;
37
+ }
38
+ export interface TimeRowsLayout<TMeta extends Record<string, unknown> = Record<string, unknown>> {
39
+ rows: TimeRow<TMeta>[];
40
+ /** Sum of all row heights, px. */
41
+ totalHeightPx: number;
42
+ }
43
+ /** Height of a row with `laneCount` lanes. */
44
+ export declare function timeRowHeightPx(laneCount: number, g: TimeRowsGeometry): number;
45
+ /** Top of `lane` inside its row, px. */
46
+ export declare function timeRowLaneTopPx(lane: number, g: TimeRowsGeometry): number;
47
+ export declare function layoutTimeRows<TMeta extends Record<string, unknown> = Record<string, unknown>>(events: ReadonlyArray<CalendarEvent<TMeta>>, opts: TimeRowsLayoutOptions): TimeRowsLayout<TMeta>;
48
+ /**
49
+ * Pixels per minute along the shared axis: `pixelsPerHour`, stretched
50
+ * so the visible range fills `availableWidthPx` when it would be
51
+ * narrower (fit-to-width). `availableWidthPx <= 0` (not measured yet)
52
+ * keeps `pixelsPerHour`.
53
+ */
54
+ export declare function timeRowsPxPerMinute(pixelsPerHour: number, totalHours: number, availableWidthPx: number): number;
55
+ /** Index of the row under `y` (px from the top of the first row), or `null` outside. */
56
+ export declare function rowIndexAtY(rows: ReadonlyArray<Pick<TimeRow, 'topPx' | 'heightPx'>>, y: number): number | null;
57
+ //# sourceMappingURL=timeRowsLayout.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"timeRowsLayout.d.ts","sourceRoot":"","sources":["../../src/core/timeRowsLayout.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAC7C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAC3C,OAAO,EAAmB,KAAK,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAEzE,MAAM,WAAW,gBAAgB;IAC/B,yCAAyC;IACzC,YAAY,EAAE,MAAM,CAAC;IACrB,0CAA0C;IAC1C,SAAS,EAAE,MAAM,CAAC;IAClB,2DAA2D;IAC3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MAAM,CAE1E;AAED,wBAAgB,cAAc,CAAC,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC5F,MAAM,EAAE,aAAa,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC,EAC3C,IAAI,EAAE,qBAAqB,GAC1B,cAAc,CAAC,KAAK,CAAC,CAgBvB;AAED;;;;;GAKG;AACH,wBAAgB,mBAAmB,CACjC,aAAa,EAAE,MAAM,EACrB,UAAU,EAAE,MAAM,EAClB,gBAAgB,EAAE,MAAM,GACvB,MAAM,CAIR;AAED,wFAAwF;AACxF,wBAAgB,WAAW,CACzB,IAAI,EAAE,aAAa,CAAC,IAAI,CAAC,OAAO,EAAE,OAAO,GAAG,UAAU,CAAC,CAAC,EACxD,CAAC,EAAE,MAAM,GACR,MAAM,GAAG,IAAI,CAMf"}
@@ -0,0 +1,92 @@
1
+ import { Temporal, DstPolicy } from './temporal';
2
+ import { CalendarEvent } from './types';
3
+ /** A range in minutes of the day, end exclusive. */
4
+ export interface MinuteRange {
5
+ start: number;
6
+ end: number;
7
+ }
8
+ /** A timed event of the day, projected to minutes of the day. */
9
+ export interface TimeSelectionBusy<TMeta extends Record<string, unknown> = Record<string, unknown>> {
10
+ start: number;
11
+ end: number;
12
+ event: CalendarEvent<TMeta>;
13
+ }
14
+ /** What a policy gets for one pointer position. */
15
+ export interface TimeSelectionContext<TMeta extends Record<string, unknown> = Record<string, unknown>> {
16
+ /**
17
+ * `'hover'`: what a click would select (drawn under a mouse);
18
+ * `'click'`: the click / tap itself; `'drag'`: a range being dragged
19
+ * from `anchorMinute` to `minute`.
20
+ */
21
+ phase: 'hover' | 'click' | 'drag';
22
+ /** The day of the selection (the day pressed, while dragging). */
23
+ date: Temporal.PlainDate;
24
+ /** Minute of the day under the pointer, unsnapped. */
25
+ minute: number;
26
+ /** `'drag'` only: minute of the day where the press started, unsnapped. */
27
+ anchorMinute?: number;
28
+ /** `builder.slotDuration()`, minutes. */
29
+ slotDuration: number;
30
+ /** The visible time range of the day (`builder.timeRange()`), minutes of the day. */
31
+ bounds: MinuteRange;
32
+ /** The day's timed events, sorted by start, clipped to the day. */
33
+ busy: ReadonlyArray<TimeSelectionBusy<TMeta>>;
34
+ }
35
+ /**
36
+ * Decides what a pointer position selects: a range in minutes of the
37
+ * day, or `null` for nothing (nothing drawn, no hook).
38
+ */
39
+ export type TimeSelectionPolicy<TMeta extends Record<string, unknown> = Record<string, unknown>> = (ctx: TimeSelectionContext<TMeta>) => MinuteRange | null;
40
+ /** `minute` rounded to the nearest multiple of `slot`. */
41
+ export declare function snapToSlot(minute: number, slot: number): number;
42
+ /**
43
+ * The timed events of `day`, as minutes of that day in `timezone`
44
+ * (multi-day events clipped at midnight), sorted by start. All-day
45
+ * events are not busy time.
46
+ */
47
+ export declare function busyMinutesOn<TMeta extends Record<string, unknown> = Record<string, unknown>>(events: ReadonlyArray<CalendarEvent<TMeta>>, day: Temporal.PlainDate, timezone: string): TimeSelectionBusy<TMeta>[];
48
+ /**
49
+ * The free range around `minute`: from the end of the event before it
50
+ * (else `bounds.start`) to the start of the next one (else
51
+ * `bounds.end`). `null` when `minute` lies inside an event.
52
+ */
53
+ export declare function freeRangeAt(busy: ReadonlyArray<MinuteRange>, minute: number, bounds?: MinuteRange): MinuteRange | null;
54
+ /**
55
+ * The calendar's default policy. Hover / click: the slot under the
56
+ * pointer (the same slot `onTimeClick` reports). Drag: both ends
57
+ * snapped to the slot grid, events ignored.
58
+ */
59
+ export declare function defaultSelectionPolicy<TMeta extends Record<string, unknown> = Record<string, unknown>>(): TimeSelectionPolicy<TMeta>;
60
+ export interface GapOrDurationPolicyOptions {
61
+ /** Length of a click selection where no gap applies, minutes. */
62
+ minutes: number;
63
+ /**
64
+ * `false` (default): a selection never covers an event — clicks on
65
+ * an event select nothing, drags stop at the neighbouring events.
66
+ * `true`: events are ignored (`minutes` from the pointer, drags
67
+ * anywhere).
68
+ */
69
+ overlap?: boolean;
70
+ }
71
+ /**
72
+ * Booking-style policy:
73
+ *
74
+ * - **Hover / click between two events:** the whole gap.
75
+ * - **Otherwise:** `minutes` from the pointer's time rounded to the
76
+ * slot grid, at most up to the next event. A start less than one
77
+ * slot after an event's end joins that end directly.
78
+ * - **On an event:** nothing.
79
+ * - **Drag:** both ends snapped to the slot grid, limited to the free
80
+ * range around where the press started.
81
+ *
82
+ * With `overlap: true` events are ignored: `minutes` from the rounded
83
+ * time, drags as in `defaultSelectionPolicy`.
84
+ */
85
+ export declare function gapOrDurationPolicy<TMeta extends Record<string, unknown> = Record<string, unknown>>(options: GapOrDurationPolicyOptions): TimeSelectionPolicy<TMeta>;
86
+ /**
87
+ * `minute` of `date` as a `ZonedDateTime` in `timezone` (`1440` = the
88
+ * next midnight). Wall times in a spring-forward gap resolve by
89
+ * `dstPolicy`; `'reject'` returns `null` there.
90
+ */
91
+ export declare function minuteOfDayToZoned(date: Temporal.PlainDate, minute: number, timezone: string, dstPolicy?: DstPolicy): Temporal.ZonedDateTime | null;
92
+ //# sourceMappingURL=timeSelection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"timeSelection.d.ts","sourceRoot":"","sources":["../../src/core/timeSelection.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAE5C,oDAAoD;AACpD,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;CACb;AAED,iEAAiE;AACjE,MAAM,WAAW,iBAAiB,CAAC,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAChG,KAAK,EAAE,MAAM,C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AC,EAAE,CAI5B;AAED;;;;GAIG;AACH,wBAAgB,WAAW,CACzB,IAAI,EAAE,aAAa,CAAC,WAAW,CAAC,EAChC,MAAM,EAAE,MAAM,EACd,MAAM,GAAE,WAAsB,GAC7B,WAAW,GAAG,IAAI,CAWpB;AAED;;;;GAIG;AACH,wBAAgB,sBAAsB,CACpC,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAC5D,mBAAmB,CAAC,KAAK,CAAC,CAa9B;AAED,MAAM,WAAW,0BAA0B;IACzC,iEAAiE;IACjE,OAAO,EAAE,MAAM,CAAC;IAChB;;;;;OAKG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,mBAAmB,CACjC,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC/D,OAAO,EAAE,0BAA0B,GAAG,mBAAmB,CAAC,KAAK,CAAC,CAwCjE;AAED;;;;GAIG;AACH,wBAAgB,kBAAkB,CAChC,IAAI,EAAE,QAAQ,CAAC,SAAS,EACxB,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,MAAM,EAChB,SAAS,GAAE,SAAwB,GAClC,QAAQ,CAAC,aAAa,GAAG,IAAI,CAY/B"}
@@ -97,6 +97,14 @@ export type CalendarView = 'month' | 'monthList' | 'week' | 'workWeek' | 'day' |
97
97
  export type CalendarMonthDensity = 'compact' | 'stacked' | 'details';
98
98
  /** Day-level display choices. Multi-day derives 1…7 columns from width. */
99
99
  export type CalendarDayMode = 'single' | 'multiDay';
100
+ /**
101
+ * Orientation of the time-grid views (`week`, `workWeek`, `day`).
102
+ * `vertical`: days as columns, time running down (default).
103
+ * `horizontal`: days as rows, time running left → right on one shared
104
+ * axis. A presentation knob like `monthDensity` / `dayMode`: the view's
105
+ * window, paging and hooks are the same in both orientations.
106
+ */
107
+ export type CalendarTimeGridOrientation = 'vertical' | 'horizontal';
100
108
  /**
101
109
  * A visible date range bounded to a single view mode.
102
110
  *
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/core/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAIjD;;;;;;;;;;;GAWG;AACH,MAAM,WAAW,aAAa,CAAC,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAC5F;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;;;;;;;OAQG;IACH,KAAK,EAAE,QAAQ,CAAC,aAAa,GAAG,QAAQ,CAAC,SAAS,CAAC;IAEnD;;;;;;;;;;;;OAYG;IACH,GAAG,CAAC,EAAE,QAAQ,CAAC,aAAa,GAAG,QAAQ,CAAC,SAAS,CAAC;IAQlD;;;;;;;OAOG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC;CACd;AAID;;;;;;GAMG;AACH,wBAAgB,YAAY,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC5D,CAAC,EAAE,aAAa,CAAC,CAAC,CAAC,GAClB,CAAC,IAAI,aAAa,CAAC,CAAC,CAAC,GAAG;IACzB,KAAK,EAAE,QAAQ,CAAC,aAAa,CAAC;IAC9B,GAAG,CAAC,EAAE,QAAQ,CAAC,aAAa,CAAC;CAC9B,CAEA;AAED;;GAEG;AACH,wBAAgB,aAAa,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC7D,CAAC,EAAE,aAAa,CAAC,CAAC,CAAC,GAClB,CAAC,IAAI,aAAa,CAAC,CAAC,CAAC,GAAG;IACzB,KAAK,EAAE,QAAQ,CAAC,SAAS,CAAC;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