@klinking/colander 0.0.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/formats/date.cjs +51 -48
- package/dist/formats/date.d.cts +10 -37
- package/dist/formats/date.d.mts +10 -37
- package/dist/formats/date.mjs +6 -2
- package/dist/formats/object.cjs +51 -48
- package/dist/formats/object.d.cts +10 -37
- package/dist/formats/object.d.mts +10 -37
- package/dist/formats/object.mjs +6 -2
- package/dist/formats/plain-date-time.cjs +51 -48
- package/dist/formats/plain-date-time.d.cts +10 -37
- package/dist/formats/plain-date-time.d.mts +10 -37
- package/dist/formats/plain-date-time.mjs +6 -2
- package/dist/formats/plain-date.cjs +51 -48
- package/dist/formats/plain-date.d.cts +10 -37
- package/dist/formats/plain-date.d.mts +10 -37
- package/dist/formats/plain-date.mjs +6 -2
- package/dist/formats/plain-month-day.cjs +51 -48
- package/dist/formats/plain-month-day.d.cts +10 -37
- package/dist/formats/plain-month-day.d.mts +10 -37
- package/dist/formats/plain-month-day.mjs +6 -2
- package/dist/formats/plain-year-month.cjs +51 -48
- package/dist/formats/plain-year-month.d.cts +10 -37
- package/dist/formats/plain-year-month.d.mts +10 -37
- package/dist/formats/plain-year-month.mjs +6 -2
- package/dist/formats/zoned-date-time.cjs +51 -48
- package/dist/formats/zoned-date-time.d.cts +10 -37
- package/dist/formats/zoned-date-time.d.mts +10 -37
- package/dist/formats/zoned-date-time.mjs +6 -2
- package/dist/index.cjs +47 -48
- package/dist/index.d.cts +11 -2
- package/dist/index.d.mts +11 -2
- package/dist/index.mjs +2 -2
- package/dist/{temporal-polyfill-DTx0VIX5.mjs → weeks-navigation-B-Nch3LS.mjs} +357 -562
- package/dist/{temporal-polyfill-DU8VfleL.cjs → weeks-navigation-FxcECgCR.cjs} +357 -568
- package/dist/{weeks-view-context-BN6qR-83.d.mts → weeks-view-context-BZeWx9N8.d.cts} +275 -258
- package/dist/{weeks-view-context-aHGgYkpt.d.cts → weeks-view-context-MVe1b-BS.d.mts} +275 -258
- package/package.json +20 -20
- package/src/calendar-context.ts +12 -5
- package/src/calendar-provider.test.tsx +18 -4
- package/src/calendar-provider.tsx +130 -35
- package/src/calendar-types.ts +21 -4
- package/src/compute-weeks-in-window.test.ts +9 -7
- package/src/context.ts +1 -1
- package/src/day-cell.test.tsx +109 -0
- package/src/day-cell.tsx +132 -49
- package/src/drag-handle.tsx +23 -24
- package/src/formats/date.ts +120 -56
- package/src/formats/formats.test.ts +8 -4
- package/src/formats/object.ts +120 -56
- package/src/formats/plain-date-time.ts +120 -56
- package/src/formats/plain-date.ts +120 -56
- package/src/formats/plain-month-day.ts +120 -56
- package/src/formats/plain-year-month.ts +120 -56
- package/src/formats/zoned-date-time.ts +120 -56
- package/src/grid-header.tsx +24 -18
- package/src/grid.event-perf.test.tsx +30 -13
- package/src/grid.perf.test.tsx +97 -33
- package/src/grid.tsx +75 -43
- package/src/index.ts +16 -4
- package/src/keyboard.test.ts +110 -42
- package/src/keyboard.ts +18 -7
- package/src/month-separator.test.tsx +3 -1
- package/src/month-separator.tsx +30 -9
- package/src/month-view-context.ts +8 -3
- package/src/month-view-types.ts +14 -10
- package/src/month-view.test.tsx +687 -68
- package/src/month-view.tsx +176 -71
- package/src/navigation.tsx +77 -47
- package/src/overflow.test.ts +15 -13
- package/src/overflow.ts +10 -2
- package/src/range-preview.tsx +37 -12
- package/src/resolve-first-week.test.ts +14 -10
- package/src/resolve-first-week.ts +6 -2
- package/src/root-selection.ts +185 -101
- package/src/selected-range.tsx +47 -22
- package/src/test-temporal.ts +0 -2
- package/src/types.ts +126 -103
- package/src/utils.bench.ts +30 -6
- package/src/utils.test.ts +203 -55
- package/src/utils.ts +156 -54
- package/src/view-context.ts +4 -1
- package/src/week-number.tsx +5 -8
- package/src/weeks-grid.tsx +45 -19
- package/src/weeks-keyboard.test.ts +6 -7
- package/src/weeks-keyboard.ts +8 -3
- package/src/weeks-navigation.tsx +21 -9
- package/src/weeks-view-context.ts +8 -3
- package/src/weeks-view-state.ts +100 -33
- package/src/weeks-view-types.ts +14 -8
- package/src/weeks-view.test.tsx +127 -19
- package/src/weeks-view.tsx +30 -12
- package/src/temporal-polyfill.test.ts +0 -317
- package/src/temporal-polyfill.ts +0 -566
|
@@ -1,49 +1,52 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
exports.
|
|
8
|
-
exports.
|
|
9
|
-
exports.
|
|
10
|
-
exports.
|
|
11
|
-
exports.
|
|
12
|
-
exports.
|
|
13
|
-
exports.
|
|
14
|
-
exports.
|
|
15
|
-
exports.
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
21
|
-
exports.
|
|
22
|
-
exports.
|
|
23
|
-
exports.
|
|
24
|
-
exports.
|
|
25
|
-
exports.
|
|
26
|
-
exports.
|
|
27
|
-
exports.
|
|
28
|
-
exports.
|
|
29
|
-
exports.
|
|
30
|
-
exports.
|
|
31
|
-
exports.
|
|
32
|
-
exports.
|
|
33
|
-
exports.
|
|
34
|
-
exports.
|
|
35
|
-
exports.
|
|
36
|
-
exports.
|
|
37
|
-
exports.
|
|
38
|
-
exports.
|
|
39
|
-
exports.
|
|
40
|
-
exports.
|
|
41
|
-
exports.
|
|
42
|
-
exports.
|
|
43
|
-
exports.
|
|
44
|
-
exports.
|
|
45
|
-
exports.
|
|
46
|
-
exports.
|
|
47
|
-
exports.
|
|
48
|
-
exports.
|
|
49
|
-
exports.
|
|
2
|
+
const require_weeks_navigation = require("../weeks-navigation-FxcECgCR.cjs");
|
|
3
|
+
//#region src/formats/plain-month-day.ts
|
|
4
|
+
const CalendarProvider = require_weeks_navigation.CalendarProvider;
|
|
5
|
+
const MonthView = require_weeks_navigation.MonthView;
|
|
6
|
+
//#endregion
|
|
7
|
+
exports.CalendarProvider = CalendarProvider;
|
|
8
|
+
exports.DateString = require_weeks_navigation.DateString;
|
|
9
|
+
exports.DayButton = require_weeks_navigation.DayButton;
|
|
10
|
+
exports.DayCellDataContext = require_weeks_navigation.DayCellDataContext;
|
|
11
|
+
exports.DayCellTemplate = require_weeks_navigation.DayCellTemplate;
|
|
12
|
+
exports.Grid = require_weeks_navigation.Grid;
|
|
13
|
+
exports.GridBody = require_weeks_navigation.GridBody;
|
|
14
|
+
exports.GridContext = require_weeks_navigation.GridContext;
|
|
15
|
+
exports.GridHeader = require_weeks_navigation.GridHeader;
|
|
16
|
+
exports.GridHeaderCell = require_weeks_navigation.GridHeaderCell;
|
|
17
|
+
exports.MonthSeparator = require_weeks_navigation.MonthSeparator;
|
|
18
|
+
exports.MonthSeparatorCell = require_weeks_navigation.MonthSeparatorCell;
|
|
19
|
+
exports.MonthSeparatorMonth = require_weeks_navigation.MonthSeparatorMonth;
|
|
20
|
+
exports.MonthSeparatorRow = require_weeks_navigation.MonthSeparatorRow;
|
|
21
|
+
exports.MonthSeparatorWeekCount = require_weeks_navigation.MonthSeparatorWeekCount;
|
|
22
|
+
exports.MonthSeparatorYear = require_weeks_navigation.MonthSeparatorYear;
|
|
23
|
+
exports.MonthView = MonthView;
|
|
24
|
+
exports.MonthViewRoot = require_weeks_navigation.MonthViewRoot;
|
|
25
|
+
exports.MonthYearString = require_weeks_navigation.MonthYearString;
|
|
26
|
+
exports.NextMonthButton = require_weeks_navigation.NextMonthButton;
|
|
27
|
+
exports.NextWeeksButton = require_weeks_navigation.NextWeeksButton;
|
|
28
|
+
exports.PrevMonthButton = require_weeks_navigation.PrevMonthButton;
|
|
29
|
+
exports.PrevWeeksButton = require_weeks_navigation.PrevWeeksButton;
|
|
30
|
+
exports.RangeEndDragHandle = require_weeks_navigation.RangeEndDragHandle;
|
|
31
|
+
exports.RangePreview = require_weeks_navigation.RangePreview;
|
|
32
|
+
exports.RangeSelected = require_weeks_navigation.RangeSelected;
|
|
33
|
+
exports.RangeStartDragHandle = require_weeks_navigation.RangeStartDragHandle;
|
|
34
|
+
exports.TimeString = require_weeks_navigation.TimeString;
|
|
35
|
+
exports.WeekCount = require_weeks_navigation.WeekCount;
|
|
36
|
+
exports.WeekDataContext = require_weeks_navigation.WeekDataContext;
|
|
37
|
+
exports.WeekNumberCell = require_weeks_navigation.WeekNumberCell;
|
|
38
|
+
exports.WeekNumberHeader = require_weeks_navigation.WeekNumberHeader;
|
|
39
|
+
exports.WeekTemplate = require_weeks_navigation.WeekTemplate;
|
|
40
|
+
exports.WeeksView = require_weeks_navigation.WeeksView;
|
|
41
|
+
exports.WeeksViewRoot = require_weeks_navigation.WeeksViewRoot;
|
|
42
|
+
exports.computePreviewRange = require_weeks_navigation.computePreviewRange;
|
|
43
|
+
exports.computeWeeksInWindow = require_weeks_navigation.computeWeeksInWindow;
|
|
44
|
+
exports.resolveFirstWeek = require_weeks_navigation.resolveFirstWeek;
|
|
45
|
+
exports.resolveFirstWeekSpec = require_weeks_navigation.resolveFirstWeekSpec;
|
|
46
|
+
exports.useCalendarStable = require_weeks_navigation.useCalendarStable;
|
|
47
|
+
exports.useCalendarState = require_weeks_navigation.useCalendarState;
|
|
48
|
+
exports.useMonthViewStable = require_weeks_navigation.useMonthViewStable;
|
|
49
|
+
exports.useMonthViewState = require_weeks_navigation.useMonthViewState;
|
|
50
|
+
exports.useViewContext = require_weeks_navigation.useViewContext;
|
|
51
|
+
exports.useWeeksViewStable = require_weeks_navigation.useWeeksViewStable;
|
|
52
|
+
exports.useWeeksViewState = require_weeks_navigation.useWeeksViewState;
|
|
@@ -1,45 +1,18 @@
|
|
|
1
|
-
import { $ as
|
|
1
|
+
import { $ as GridBody, $t as TimeStringState, A as VisibleMonth, At as GridHeaderProps, B as resolveFirstWeekSpec, Bt as PlainDateObject, C as WeekCountState, Ct as DayCellTemplateState, D as WeeksViewProps$1, Dt as GridBodyState, E as WeeksView, Et as GridBodyProps, F as WeekDescriptor, Ft as MonthYearStringProps, G as RangePreview, Gt as RangePreviewState, H as WeekNumberHeader, Ht as RangeEndDragHandleProps, I as computeWeeksInWindow, It as MonthYearStringState, J as MonthYearString, Jt as RangeStartDragHandleProps, K as RangeSelected, Kt as RangeSelectedProps, L as FirstWeekSpec, Lt as NavButtonState, M as WeeksViewStableContextValue, Mt as GridProps, N as WeeksViewStateContextValue, Nt as GridState, O as WeeksViewRoot, Ot as GridHeaderCellProps, P as WindowInfo, Pt as MonthData, Q as Grid, Qt as TimeStringProps, R as ScrollToWeekSnap, Rt as NextMonthButtonProps, S as WeekCountProps, St as DayCellTemplateProps, T as WeeksNavButtonState, Tt as DragHandleState, U as RangeEndDragHandle, Ut as RangeMode, V as WeekNumberCell, Vt as PrevMonthButtonProps, W as RangeStartDragHandle, Wt as RangePreviewProps, X as PrevMonthButton, Xt as RootState, Y as NextMonthButton, Yt as RawValueForFormat$1, Z as TimeString, Zt as TemporalNamespace, _ as NextWeeksButton, _t as DateStringProps, a as useMonthViewStable, an as WeekNumberHeaderProps, b as PrevWeeksButtonProps, bt as DayButtonProps, c as useCalendarState, cn as WeekTemplateProps, ct as MonthViewRootProps, d as MonthSeparatorCell, dn as GridContext, dt as MonthOverflowBehavior, en as ValueChangeMeta, et as WeekTemplate, f as MonthSeparatorMonth, fn as WeekDataContext, ft as OverflowBehavior, g as MonthSeparatorYear, gt as DateRange$1, h as MonthSeparatorWeekCount, ht as CalendarStateContextValue, i as useViewContext, in as WeekNumberCellState, it as GridHeaderCell, j as WeeksViewRootProps, jt as GridHeaderState, k as WeeksViewRootHandle, kt as GridHeaderCellState, l as computePreviewRange, ln as WeekTemplateState, lt as MonthViewStableContextValue, m as MonthSeparatorState, mt as CalendarStableContextValue, n as useWeeksViewState, nn as ValueFormat, nt as DayCellTemplate, o as useMonthViewState, on as WeekNumberHeaderState, ot as MonthViewProps$1, p as MonthSeparatorRow, pt as CalendarProviderProps$1, q as DateString, qt as RangeSelectedState, r as ViewContextValue, rn as WeekNumberCellProps, rt as GridHeader, s as useCalendarStable, sn as WeekStartDay, st as MonthViewRoot, t as useWeeksViewStable, tn as ValueForFormat$1, tt as DayButton, u as MonthSeparator, un as DayCellDataContext, ut as MonthViewStateContextValue, v as NextWeeksButtonProps, vt as DateStringState, w as WeeksNavButtonOwnProps, wt as DragHandleOwnProps, x as WeekCount, xt as DayButtonState, y as PrevWeeksButton, yt as DateValueObject, z as resolveFirstWeek, zt as OutsideDays } from "../weeks-view-context-BZeWx9N8.cjs";
|
|
2
|
+
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
3
|
|
|
3
4
|
//#region src/formats/plain-month-day.d.ts
|
|
4
5
|
type F = "PlainMonthDay";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
type GridHeaderCellProps = GridHeaderCellProps$1<F>;
|
|
11
|
-
type GridHeaderCellState = GridHeaderCellState$1<F>;
|
|
12
|
-
type GridBodyProps = GridBodyProps$1<F>;
|
|
13
|
-
type GridBodyState = GridBodyState$1<F>;
|
|
14
|
-
type WeekTemplateProps = WeekTemplateProps$1<F>;
|
|
15
|
-
type WeekTemplateState = WeekTemplateState$1<F>;
|
|
16
|
-
type DayCellTemplateProps = DayCellTemplateProps$1<F>;
|
|
17
|
-
type DayCellTemplateState = DayCellTemplateState$1<F>;
|
|
18
|
-
type DayButtonProps = DayButtonProps$1<F>;
|
|
19
|
-
type DayButtonState = DayButtonState$1<F>;
|
|
20
|
-
type RangeSelectedProps = RangeSelectedProps$1<F>;
|
|
21
|
-
type RangeSelectedState = RangeSelectedState$1<F>;
|
|
22
|
-
type RangePreviewProps = RangePreviewProps$1<F>;
|
|
23
|
-
type RangePreviewState = RangePreviewState$1<F>;
|
|
24
|
-
type DragHandleState = DragHandleState$1<F>;
|
|
25
|
-
type RangeStartDragHandleProps = RangeStartDragHandleProps$1<F>;
|
|
26
|
-
type RangeEndDragHandleProps = RangeEndDragHandleProps$1<F>;
|
|
27
|
-
type DateStringProps = DateStringProps$1<F>;
|
|
28
|
-
type DateStringState = DateStringState$1<F>;
|
|
29
|
-
type TimeStringProps = TimeStringProps$1<F>;
|
|
30
|
-
type TimeStringState = TimeStringState$1<F>;
|
|
31
|
-
type MonthYearStringProps = MonthYearStringProps$1<F>;
|
|
32
|
-
type MonthYearStringState = MonthYearStringState$1<F>;
|
|
33
|
-
type PrevMonthButtonProps = PrevMonthButtonProps$1<F>;
|
|
34
|
-
type NextMonthButtonProps = NextMonthButtonProps$1<F>;
|
|
35
|
-
type NavButtonState = NavButtonState$1<F>;
|
|
6
|
+
declare const CalendarProvider: (props: CalendarProviderProps$1<"PlainMonthDay">) => _$react_jsx_runtime0.JSX.Element;
|
|
7
|
+
declare const MonthView: {
|
|
8
|
+
(props: MonthViewProps$1<"PlainMonthDay">): _$react_jsx_runtime0.JSX.Element;
|
|
9
|
+
Root: typeof MonthViewRoot;
|
|
10
|
+
};
|
|
36
11
|
type DateRange = DateRange$1<F>;
|
|
37
12
|
type ValueForFormat = ValueForFormat$1<F>;
|
|
38
13
|
type RawValueForFormat = RawValueForFormat$1<F>;
|
|
39
|
-
type WeekNumberCellProps = WeekNumberCellProps$1<F>;
|
|
40
|
-
type WeekNumberCellState = WeekNumberCellState$1<F>;
|
|
41
|
-
type WeekNumberHeaderProps = WeekNumberHeaderProps$1<F>;
|
|
42
|
-
type WeekNumberHeaderState = WeekNumberHeaderState$1<F>;
|
|
43
14
|
type CalendarProviderProps = CalendarProviderProps$1<F>;
|
|
15
|
+
type MonthViewProps = MonthViewProps$1<F>;
|
|
16
|
+
type WeeksViewProps = WeeksViewProps$1<F>;
|
|
44
17
|
//#endregion
|
|
45
|
-
export { CalendarProvider, CalendarProviderProps, type CalendarStableContextValue, type CalendarStateContextValue, DateRange, DateString, DateStringProps, DateStringState, type DateValueObject, DayButton, DayButtonProps, DayButtonState, DayCellDataContext, DayCellTemplate, DayCellTemplateProps, DayCellTemplateState, type DragHandleOwnProps, DragHandleState, type FirstWeekSpec, Grid, GridBody, GridBodyProps, GridBodyState, GridContext, GridHeader, GridHeaderCell, GridHeaderCellProps, GridHeaderCellState, GridHeaderProps, GridHeaderState, GridProps, GridState, type MonthData, type MonthOverflowBehavior, MonthSeparator, MonthSeparatorCell, MonthSeparatorMonth, MonthSeparatorRow, type MonthSeparatorState, MonthSeparatorWeekCount, MonthSeparatorYear, MonthView,
|
|
18
|
+
export { CalendarProvider, CalendarProviderProps, type CalendarStableContextValue, type CalendarStateContextValue, DateRange, DateString, type DateStringProps, type DateStringState, type DateValueObject, DayButton, type DayButtonProps, type DayButtonState, DayCellDataContext, DayCellTemplate, type DayCellTemplateProps, type DayCellTemplateState, type DragHandleOwnProps, type DragHandleState, type FirstWeekSpec, Grid, GridBody, type GridBodyProps, type GridBodyState, GridContext, GridHeader, GridHeaderCell, type GridHeaderCellProps, type GridHeaderCellState, type GridHeaderProps, type GridHeaderState, type GridProps, type GridState, type MonthData, type MonthOverflowBehavior, MonthSeparator, MonthSeparatorCell, MonthSeparatorMonth, MonthSeparatorRow, type MonthSeparatorState, MonthSeparatorWeekCount, MonthSeparatorYear, MonthView, MonthViewProps, MonthViewRoot, type MonthViewRootProps, type MonthViewStableContextValue, type MonthViewStateContextValue, MonthYearString, type MonthYearStringProps, type MonthYearStringState, type NavButtonState, NextMonthButton, type NextMonthButtonProps, NextWeeksButton, type NextWeeksButtonProps, type OutsideDays, type OverflowBehavior, type PlainDateObject, PrevMonthButton, type PrevMonthButtonProps, PrevWeeksButton, type PrevWeeksButtonProps, RangeEndDragHandle, type RangeEndDragHandleProps, type RangeMode, RangePreview, type RangePreviewProps, type RangePreviewState, RangeSelected, type RangeSelectedProps, type RangeSelectedState, RangeStartDragHandle, type RangeStartDragHandleProps, RawValueForFormat, type RootState, type ScrollToWeekSnap, type TemporalNamespace, TimeString, type TimeStringProps, type TimeStringState, type ValueChangeMeta, ValueForFormat, type ValueFormat, type ViewContextValue, type VisibleMonth, WeekCount, type WeekCountProps, type WeekCountState, WeekDataContext, type WeekDescriptor, WeekNumberCell, type WeekNumberCellProps, type WeekNumberCellState, WeekNumberHeader, type WeekNumberHeaderProps, type WeekNumberHeaderState, type WeekStartDay, WeekTemplate, type WeekTemplateProps, type WeekTemplateState, type WeeksNavButtonOwnProps, type WeeksNavButtonState, WeeksView, WeeksViewProps, WeeksViewRoot, type WeeksViewRootHandle, type WeeksViewRootProps, type WeeksViewStableContextValue, type WeeksViewStateContextValue, type WindowInfo, computePreviewRange, computeWeeksInWindow, resolveFirstWeek, resolveFirstWeekSpec, useCalendarStable, useCalendarState, useMonthViewStable, useMonthViewState, useViewContext, useWeeksViewStable, useWeeksViewState };
|
|
@@ -1,45 +1,18 @@
|
|
|
1
|
-
import { $ as
|
|
1
|
+
import { $ as GridBody, $t as TimeStringState, A as VisibleMonth, At as GridHeaderProps, B as resolveFirstWeekSpec, Bt as PlainDateObject, C as WeekCountState, Ct as DayCellTemplateState, D as WeeksViewProps$1, Dt as GridBodyState, E as WeeksView, Et as GridBodyProps, F as WeekDescriptor, Ft as MonthYearStringProps, G as RangePreview, Gt as RangePreviewState, H as WeekNumberHeader, Ht as RangeEndDragHandleProps, I as computeWeeksInWindow, It as MonthYearStringState, J as MonthYearString, Jt as RangeStartDragHandleProps, K as RangeSelected, Kt as RangeSelectedProps, L as FirstWeekSpec, Lt as NavButtonState, M as WeeksViewStableContextValue, Mt as GridProps, N as WeeksViewStateContextValue, Nt as GridState, O as WeeksViewRoot, Ot as GridHeaderCellProps, P as WindowInfo, Pt as MonthData, Q as Grid, Qt as TimeStringProps, R as ScrollToWeekSnap, Rt as NextMonthButtonProps, S as WeekCountProps, St as DayCellTemplateProps, T as WeeksNavButtonState, Tt as DragHandleState, U as RangeEndDragHandle, Ut as RangeMode, V as WeekNumberCell, Vt as PrevMonthButtonProps, W as RangeStartDragHandle, Wt as RangePreviewProps, X as PrevMonthButton, Xt as RootState, Y as NextMonthButton, Yt as RawValueForFormat$1, Z as TimeString, Zt as TemporalNamespace, _ as NextWeeksButton, _t as DateStringProps, a as useMonthViewStable, an as WeekNumberHeaderProps, b as PrevWeeksButtonProps, bt as DayButtonProps, c as useCalendarState, cn as WeekTemplateProps, ct as MonthViewRootProps, d as MonthSeparatorCell, dn as GridContext, dt as MonthOverflowBehavior, en as ValueChangeMeta, et as WeekTemplate, f as MonthSeparatorMonth, fn as WeekDataContext, ft as OverflowBehavior, g as MonthSeparatorYear, gt as DateRange$1, h as MonthSeparatorWeekCount, ht as CalendarStateContextValue, i as useViewContext, in as WeekNumberCellState, it as GridHeaderCell, j as WeeksViewRootProps, jt as GridHeaderState, k as WeeksViewRootHandle, kt as GridHeaderCellState, l as computePreviewRange, ln as WeekTemplateState, lt as MonthViewStableContextValue, m as MonthSeparatorState, mt as CalendarStableContextValue, n as useWeeksViewState, nn as ValueFormat, nt as DayCellTemplate, o as useMonthViewState, on as WeekNumberHeaderState, ot as MonthViewProps$1, p as MonthSeparatorRow, pt as CalendarProviderProps$1, q as DateString, qt as RangeSelectedState, r as ViewContextValue, rn as WeekNumberCellProps, rt as GridHeader, s as useCalendarStable, sn as WeekStartDay, st as MonthViewRoot, t as useWeeksViewStable, tn as ValueForFormat$1, tt as DayButton, u as MonthSeparator, un as DayCellDataContext, ut as MonthViewStateContextValue, v as NextWeeksButtonProps, vt as DateStringState, w as WeeksNavButtonOwnProps, wt as DragHandleOwnProps, x as WeekCount, xt as DayButtonState, y as PrevWeeksButton, yt as DateValueObject, z as resolveFirstWeek, zt as OutsideDays } from "../weeks-view-context-MVe1b-BS.mjs";
|
|
2
|
+
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
3
|
|
|
3
4
|
//#region src/formats/plain-month-day.d.ts
|
|
4
5
|
type F = "PlainMonthDay";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
type GridHeaderCellProps = GridHeaderCellProps$1<F>;
|
|
11
|
-
type GridHeaderCellState = GridHeaderCellState$1<F>;
|
|
12
|
-
type GridBodyProps = GridBodyProps$1<F>;
|
|
13
|
-
type GridBodyState = GridBodyState$1<F>;
|
|
14
|
-
type WeekTemplateProps = WeekTemplateProps$1<F>;
|
|
15
|
-
type WeekTemplateState = WeekTemplateState$1<F>;
|
|
16
|
-
type DayCellTemplateProps = DayCellTemplateProps$1<F>;
|
|
17
|
-
type DayCellTemplateState = DayCellTemplateState$1<F>;
|
|
18
|
-
type DayButtonProps = DayButtonProps$1<F>;
|
|
19
|
-
type DayButtonState = DayButtonState$1<F>;
|
|
20
|
-
type RangeSelectedProps = RangeSelectedProps$1<F>;
|
|
21
|
-
type RangeSelectedState = RangeSelectedState$1<F>;
|
|
22
|
-
type RangePreviewProps = RangePreviewProps$1<F>;
|
|
23
|
-
type RangePreviewState = RangePreviewState$1<F>;
|
|
24
|
-
type DragHandleState = DragHandleState$1<F>;
|
|
25
|
-
type RangeStartDragHandleProps = RangeStartDragHandleProps$1<F>;
|
|
26
|
-
type RangeEndDragHandleProps = RangeEndDragHandleProps$1<F>;
|
|
27
|
-
type DateStringProps = DateStringProps$1<F>;
|
|
28
|
-
type DateStringState = DateStringState$1<F>;
|
|
29
|
-
type TimeStringProps = TimeStringProps$1<F>;
|
|
30
|
-
type TimeStringState = TimeStringState$1<F>;
|
|
31
|
-
type MonthYearStringProps = MonthYearStringProps$1<F>;
|
|
32
|
-
type MonthYearStringState = MonthYearStringState$1<F>;
|
|
33
|
-
type PrevMonthButtonProps = PrevMonthButtonProps$1<F>;
|
|
34
|
-
type NextMonthButtonProps = NextMonthButtonProps$1<F>;
|
|
35
|
-
type NavButtonState = NavButtonState$1<F>;
|
|
6
|
+
declare const CalendarProvider: (props: CalendarProviderProps$1<"PlainMonthDay">) => _$react_jsx_runtime0.JSX.Element;
|
|
7
|
+
declare const MonthView: {
|
|
8
|
+
(props: MonthViewProps$1<"PlainMonthDay">): _$react_jsx_runtime0.JSX.Element;
|
|
9
|
+
Root: typeof MonthViewRoot;
|
|
10
|
+
};
|
|
36
11
|
type DateRange = DateRange$1<F>;
|
|
37
12
|
type ValueForFormat = ValueForFormat$1<F>;
|
|
38
13
|
type RawValueForFormat = RawValueForFormat$1<F>;
|
|
39
|
-
type WeekNumberCellProps = WeekNumberCellProps$1<F>;
|
|
40
|
-
type WeekNumberCellState = WeekNumberCellState$1<F>;
|
|
41
|
-
type WeekNumberHeaderProps = WeekNumberHeaderProps$1<F>;
|
|
42
|
-
type WeekNumberHeaderState = WeekNumberHeaderState$1<F>;
|
|
43
14
|
type CalendarProviderProps = CalendarProviderProps$1<F>;
|
|
15
|
+
type MonthViewProps = MonthViewProps$1<F>;
|
|
16
|
+
type WeeksViewProps = WeeksViewProps$1<F>;
|
|
44
17
|
//#endregion
|
|
45
|
-
export { CalendarProvider, CalendarProviderProps, type CalendarStableContextValue, type CalendarStateContextValue, DateRange, DateString, DateStringProps, DateStringState, type DateValueObject, DayButton, DayButtonProps, DayButtonState, DayCellDataContext, DayCellTemplate, DayCellTemplateProps, DayCellTemplateState, type DragHandleOwnProps, DragHandleState, type FirstWeekSpec, Grid, GridBody, GridBodyProps, GridBodyState, GridContext, GridHeader, GridHeaderCell, GridHeaderCellProps, GridHeaderCellState, GridHeaderProps, GridHeaderState, GridProps, GridState, type MonthData, type MonthOverflowBehavior, MonthSeparator, MonthSeparatorCell, MonthSeparatorMonth, MonthSeparatorRow, type MonthSeparatorState, MonthSeparatorWeekCount, MonthSeparatorYear, MonthView,
|
|
18
|
+
export { CalendarProvider, CalendarProviderProps, type CalendarStableContextValue, type CalendarStateContextValue, DateRange, DateString, type DateStringProps, type DateStringState, type DateValueObject, DayButton, type DayButtonProps, type DayButtonState, DayCellDataContext, DayCellTemplate, type DayCellTemplateProps, type DayCellTemplateState, type DragHandleOwnProps, type DragHandleState, type FirstWeekSpec, Grid, GridBody, type GridBodyProps, type GridBodyState, GridContext, GridHeader, GridHeaderCell, type GridHeaderCellProps, type GridHeaderCellState, type GridHeaderProps, type GridHeaderState, type GridProps, type GridState, type MonthData, type MonthOverflowBehavior, MonthSeparator, MonthSeparatorCell, MonthSeparatorMonth, MonthSeparatorRow, type MonthSeparatorState, MonthSeparatorWeekCount, MonthSeparatorYear, MonthView, MonthViewProps, MonthViewRoot, type MonthViewRootProps, type MonthViewStableContextValue, type MonthViewStateContextValue, MonthYearString, type MonthYearStringProps, type MonthYearStringState, type NavButtonState, NextMonthButton, type NextMonthButtonProps, NextWeeksButton, type NextWeeksButtonProps, type OutsideDays, type OverflowBehavior, type PlainDateObject, PrevMonthButton, type PrevMonthButtonProps, PrevWeeksButton, type PrevWeeksButtonProps, RangeEndDragHandle, type RangeEndDragHandleProps, type RangeMode, RangePreview, type RangePreviewProps, type RangePreviewState, RangeSelected, type RangeSelectedProps, type RangeSelectedState, RangeStartDragHandle, type RangeStartDragHandleProps, RawValueForFormat, type RootState, type ScrollToWeekSnap, type TemporalNamespace, TimeString, type TimeStringProps, type TimeStringState, type ValueChangeMeta, ValueForFormat, type ValueFormat, type ViewContextValue, type VisibleMonth, WeekCount, type WeekCountProps, type WeekCountState, WeekDataContext, type WeekDescriptor, WeekNumberCell, type WeekNumberCellProps, type WeekNumberCellState, WeekNumberHeader, type WeekNumberHeaderProps, type WeekNumberHeaderState, type WeekStartDay, WeekTemplate, type WeekTemplateProps, type WeekTemplateState, type WeeksNavButtonOwnProps, type WeeksNavButtonState, WeeksView, WeeksViewProps, WeeksViewRoot, type WeeksViewRootHandle, type WeeksViewRootProps, type WeeksViewStableContextValue, type WeeksViewStateContextValue, type WindowInfo, computePreviewRange, computeWeeksInWindow, resolveFirstWeek, resolveFirstWeekSpec, useCalendarStable, useCalendarState, useMonthViewStable, useMonthViewState, useViewContext, useWeeksViewStable, useWeeksViewState };
|
|
@@ -1,2 +1,6 @@
|
|
|
1
|
-
import { A as
|
|
2
|
-
|
|
1
|
+
import { A as MonthSeparatorRow, B as useViewContext, C as DayButton, D as MonthSeparator, E as useWeeksViewState, F as DayCellDataContext, G as useCalendarStable, H as useMonthViewState, I as GridContext, K as useCalendarState, L as WeekDataContext, M as MonthSeparatorYear, N as GridHeader, O as MonthSeparatorCell, P as GridHeaderCell, R as MonthView$1, S as WeekTemplate, T as useWeeksViewStable, U as CalendarProvider$1, V as useMonthViewStable, W as computePreviewRange, _ as NextMonthButton, a as WeeksViewRoot, b as Grid, c as computeWeeksInWindow, d as RangeEndDragHandle, f as RangeStartDragHandle, g as MonthYearString, h as DateString, i as WeeksView, j as MonthSeparatorWeekCount, k as MonthSeparatorMonth, l as WeekNumberCell, m as RangeSelected, n as PrevWeeksButton, o as resolveFirstWeek, p as RangePreview, r as WeekCount, s as resolveFirstWeekSpec, t as NextWeeksButton, u as WeekNumberHeader, v as PrevMonthButton, w as DayCellTemplate, x as GridBody, y as TimeString, z as MonthViewRoot } from "../weeks-navigation-B-Nch3LS.mjs";
|
|
2
|
+
//#region src/formats/plain-month-day.ts
|
|
3
|
+
const CalendarProvider = CalendarProvider$1;
|
|
4
|
+
const MonthView = MonthView$1;
|
|
5
|
+
//#endregion
|
|
6
|
+
export { CalendarProvider, DateString, DayButton, DayCellDataContext, DayCellTemplate, Grid, GridBody, GridContext, GridHeader, GridHeaderCell, MonthSeparator, MonthSeparatorCell, MonthSeparatorMonth, MonthSeparatorRow, MonthSeparatorWeekCount, MonthSeparatorYear, MonthView, MonthViewRoot, MonthYearString, NextMonthButton, NextWeeksButton, PrevMonthButton, PrevWeeksButton, RangeEndDragHandle, RangePreview, RangeSelected, RangeStartDragHandle, TimeString, WeekCount, WeekDataContext, WeekNumberCell, WeekNumberHeader, WeekTemplate, WeeksView, WeeksViewRoot, computePreviewRange, computeWeeksInWindow, resolveFirstWeek, resolveFirstWeekSpec, useCalendarStable, useCalendarState, useMonthViewStable, useMonthViewState, useViewContext, useWeeksViewStable, useWeeksViewState };
|
|
@@ -1,49 +1,52 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
exports.
|
|
8
|
-
exports.
|
|
9
|
-
exports.
|
|
10
|
-
exports.
|
|
11
|
-
exports.
|
|
12
|
-
exports.
|
|
13
|
-
exports.
|
|
14
|
-
exports.
|
|
15
|
-
exports.
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
21
|
-
exports.
|
|
22
|
-
exports.
|
|
23
|
-
exports.
|
|
24
|
-
exports.
|
|
25
|
-
exports.
|
|
26
|
-
exports.
|
|
27
|
-
exports.
|
|
28
|
-
exports.
|
|
29
|
-
exports.
|
|
30
|
-
exports.
|
|
31
|
-
exports.
|
|
32
|
-
exports.
|
|
33
|
-
exports.
|
|
34
|
-
exports.
|
|
35
|
-
exports.
|
|
36
|
-
exports.
|
|
37
|
-
exports.
|
|
38
|
-
exports.
|
|
39
|
-
exports.
|
|
40
|
-
exports.
|
|
41
|
-
exports.
|
|
42
|
-
exports.
|
|
43
|
-
exports.
|
|
44
|
-
exports.
|
|
45
|
-
exports.
|
|
46
|
-
exports.
|
|
47
|
-
exports.
|
|
48
|
-
exports.
|
|
49
|
-
exports.
|
|
2
|
+
const require_weeks_navigation = require("../weeks-navigation-FxcECgCR.cjs");
|
|
3
|
+
//#region src/formats/plain-year-month.ts
|
|
4
|
+
const CalendarProvider = require_weeks_navigation.CalendarProvider;
|
|
5
|
+
const MonthView = require_weeks_navigation.MonthView;
|
|
6
|
+
//#endregion
|
|
7
|
+
exports.CalendarProvider = CalendarProvider;
|
|
8
|
+
exports.DateString = require_weeks_navigation.DateString;
|
|
9
|
+
exports.DayButton = require_weeks_navigation.DayButton;
|
|
10
|
+
exports.DayCellDataContext = require_weeks_navigation.DayCellDataContext;
|
|
11
|
+
exports.DayCellTemplate = require_weeks_navigation.DayCellTemplate;
|
|
12
|
+
exports.Grid = require_weeks_navigation.Grid;
|
|
13
|
+
exports.GridBody = require_weeks_navigation.GridBody;
|
|
14
|
+
exports.GridContext = require_weeks_navigation.GridContext;
|
|
15
|
+
exports.GridHeader = require_weeks_navigation.GridHeader;
|
|
16
|
+
exports.GridHeaderCell = require_weeks_navigation.GridHeaderCell;
|
|
17
|
+
exports.MonthSeparator = require_weeks_navigation.MonthSeparator;
|
|
18
|
+
exports.MonthSeparatorCell = require_weeks_navigation.MonthSeparatorCell;
|
|
19
|
+
exports.MonthSeparatorMonth = require_weeks_navigation.MonthSeparatorMonth;
|
|
20
|
+
exports.MonthSeparatorRow = require_weeks_navigation.MonthSeparatorRow;
|
|
21
|
+
exports.MonthSeparatorWeekCount = require_weeks_navigation.MonthSeparatorWeekCount;
|
|
22
|
+
exports.MonthSeparatorYear = require_weeks_navigation.MonthSeparatorYear;
|
|
23
|
+
exports.MonthView = MonthView;
|
|
24
|
+
exports.MonthViewRoot = require_weeks_navigation.MonthViewRoot;
|
|
25
|
+
exports.MonthYearString = require_weeks_navigation.MonthYearString;
|
|
26
|
+
exports.NextMonthButton = require_weeks_navigation.NextMonthButton;
|
|
27
|
+
exports.NextWeeksButton = require_weeks_navigation.NextWeeksButton;
|
|
28
|
+
exports.PrevMonthButton = require_weeks_navigation.PrevMonthButton;
|
|
29
|
+
exports.PrevWeeksButton = require_weeks_navigation.PrevWeeksButton;
|
|
30
|
+
exports.RangeEndDragHandle = require_weeks_navigation.RangeEndDragHandle;
|
|
31
|
+
exports.RangePreview = require_weeks_navigation.RangePreview;
|
|
32
|
+
exports.RangeSelected = require_weeks_navigation.RangeSelected;
|
|
33
|
+
exports.RangeStartDragHandle = require_weeks_navigation.RangeStartDragHandle;
|
|
34
|
+
exports.TimeString = require_weeks_navigation.TimeString;
|
|
35
|
+
exports.WeekCount = require_weeks_navigation.WeekCount;
|
|
36
|
+
exports.WeekDataContext = require_weeks_navigation.WeekDataContext;
|
|
37
|
+
exports.WeekNumberCell = require_weeks_navigation.WeekNumberCell;
|
|
38
|
+
exports.WeekNumberHeader = require_weeks_navigation.WeekNumberHeader;
|
|
39
|
+
exports.WeekTemplate = require_weeks_navigation.WeekTemplate;
|
|
40
|
+
exports.WeeksView = require_weeks_navigation.WeeksView;
|
|
41
|
+
exports.WeeksViewRoot = require_weeks_navigation.WeeksViewRoot;
|
|
42
|
+
exports.computePreviewRange = require_weeks_navigation.computePreviewRange;
|
|
43
|
+
exports.computeWeeksInWindow = require_weeks_navigation.computeWeeksInWindow;
|
|
44
|
+
exports.resolveFirstWeek = require_weeks_navigation.resolveFirstWeek;
|
|
45
|
+
exports.resolveFirstWeekSpec = require_weeks_navigation.resolveFirstWeekSpec;
|
|
46
|
+
exports.useCalendarStable = require_weeks_navigation.useCalendarStable;
|
|
47
|
+
exports.useCalendarState = require_weeks_navigation.useCalendarState;
|
|
48
|
+
exports.useMonthViewStable = require_weeks_navigation.useMonthViewStable;
|
|
49
|
+
exports.useMonthViewState = require_weeks_navigation.useMonthViewState;
|
|
50
|
+
exports.useViewContext = require_weeks_navigation.useViewContext;
|
|
51
|
+
exports.useWeeksViewStable = require_weeks_navigation.useWeeksViewStable;
|
|
52
|
+
exports.useWeeksViewState = require_weeks_navigation.useWeeksViewState;
|
|
@@ -1,45 +1,18 @@
|
|
|
1
|
-
import { $ as
|
|
1
|
+
import { $ as GridBody, $t as TimeStringState, A as VisibleMonth, At as GridHeaderProps, B as resolveFirstWeekSpec, Bt as PlainDateObject, C as WeekCountState, Ct as DayCellTemplateState, D as WeeksViewProps$1, Dt as GridBodyState, E as WeeksView, Et as GridBodyProps, F as WeekDescriptor, Ft as MonthYearStringProps, G as RangePreview, Gt as RangePreviewState, H as WeekNumberHeader, Ht as RangeEndDragHandleProps, I as computeWeeksInWindow, It as MonthYearStringState, J as MonthYearString, Jt as RangeStartDragHandleProps, K as RangeSelected, Kt as RangeSelectedProps, L as FirstWeekSpec, Lt as NavButtonState, M as WeeksViewStableContextValue, Mt as GridProps, N as WeeksViewStateContextValue, Nt as GridState, O as WeeksViewRoot, Ot as GridHeaderCellProps, P as WindowInfo, Pt as MonthData, Q as Grid, Qt as TimeStringProps, R as ScrollToWeekSnap, Rt as NextMonthButtonProps, S as WeekCountProps, St as DayCellTemplateProps, T as WeeksNavButtonState, Tt as DragHandleState, U as RangeEndDragHandle, Ut as RangeMode, V as WeekNumberCell, Vt as PrevMonthButtonProps, W as RangeStartDragHandle, Wt as RangePreviewProps, X as PrevMonthButton, Xt as RootState, Y as NextMonthButton, Yt as RawValueForFormat$1, Z as TimeString, Zt as TemporalNamespace, _ as NextWeeksButton, _t as DateStringProps, a as useMonthViewStable, an as WeekNumberHeaderProps, b as PrevWeeksButtonProps, bt as DayButtonProps, c as useCalendarState, cn as WeekTemplateProps, ct as MonthViewRootProps, d as MonthSeparatorCell, dn as GridContext, dt as MonthOverflowBehavior, en as ValueChangeMeta, et as WeekTemplate, f as MonthSeparatorMonth, fn as WeekDataContext, ft as OverflowBehavior, g as MonthSeparatorYear, gt as DateRange$1, h as MonthSeparatorWeekCount, ht as CalendarStateContextValue, i as useViewContext, in as WeekNumberCellState, it as GridHeaderCell, j as WeeksViewRootProps, jt as GridHeaderState, k as WeeksViewRootHandle, kt as GridHeaderCellState, l as computePreviewRange, ln as WeekTemplateState, lt as MonthViewStableContextValue, m as MonthSeparatorState, mt as CalendarStableContextValue, n as useWeeksViewState, nn as ValueFormat, nt as DayCellTemplate, o as useMonthViewState, on as WeekNumberHeaderState, ot as MonthViewProps$1, p as MonthSeparatorRow, pt as CalendarProviderProps$1, q as DateString, qt as RangeSelectedState, r as ViewContextValue, rn as WeekNumberCellProps, rt as GridHeader, s as useCalendarStable, sn as WeekStartDay, st as MonthViewRoot, t as useWeeksViewStable, tn as ValueForFormat$1, tt as DayButton, u as MonthSeparator, un as DayCellDataContext, ut as MonthViewStateContextValue, v as NextWeeksButtonProps, vt as DateStringState, w as WeeksNavButtonOwnProps, wt as DragHandleOwnProps, x as WeekCount, xt as DayButtonState, y as PrevWeeksButton, yt as DateValueObject, z as resolveFirstWeek, zt as OutsideDays } from "../weeks-view-context-BZeWx9N8.cjs";
|
|
2
|
+
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
3
|
|
|
3
4
|
//#region src/formats/plain-year-month.d.ts
|
|
4
5
|
type F = "PlainYearMonth";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
type GridHeaderCellProps = GridHeaderCellProps$1<F>;
|
|
11
|
-
type GridHeaderCellState = GridHeaderCellState$1<F>;
|
|
12
|
-
type GridBodyProps = GridBodyProps$1<F>;
|
|
13
|
-
type GridBodyState = GridBodyState$1<F>;
|
|
14
|
-
type WeekTemplateProps = WeekTemplateProps$1<F>;
|
|
15
|
-
type WeekTemplateState = WeekTemplateState$1<F>;
|
|
16
|
-
type DayCellTemplateProps = DayCellTemplateProps$1<F>;
|
|
17
|
-
type DayCellTemplateState = DayCellTemplateState$1<F>;
|
|
18
|
-
type DayButtonProps = DayButtonProps$1<F>;
|
|
19
|
-
type DayButtonState = DayButtonState$1<F>;
|
|
20
|
-
type RangeSelectedProps = RangeSelectedProps$1<F>;
|
|
21
|
-
type RangeSelectedState = RangeSelectedState$1<F>;
|
|
22
|
-
type RangePreviewProps = RangePreviewProps$1<F>;
|
|
23
|
-
type RangePreviewState = RangePreviewState$1<F>;
|
|
24
|
-
type DragHandleState = DragHandleState$1<F>;
|
|
25
|
-
type RangeStartDragHandleProps = RangeStartDragHandleProps$1<F>;
|
|
26
|
-
type RangeEndDragHandleProps = RangeEndDragHandleProps$1<F>;
|
|
27
|
-
type DateStringProps = DateStringProps$1<F>;
|
|
28
|
-
type DateStringState = DateStringState$1<F>;
|
|
29
|
-
type TimeStringProps = TimeStringProps$1<F>;
|
|
30
|
-
type TimeStringState = TimeStringState$1<F>;
|
|
31
|
-
type MonthYearStringProps = MonthYearStringProps$1<F>;
|
|
32
|
-
type MonthYearStringState = MonthYearStringState$1<F>;
|
|
33
|
-
type PrevMonthButtonProps = PrevMonthButtonProps$1<F>;
|
|
34
|
-
type NextMonthButtonProps = NextMonthButtonProps$1<F>;
|
|
35
|
-
type NavButtonState = NavButtonState$1<F>;
|
|
6
|
+
declare const CalendarProvider: (props: CalendarProviderProps$1<"PlainYearMonth">) => _$react_jsx_runtime0.JSX.Element;
|
|
7
|
+
declare const MonthView: {
|
|
8
|
+
(props: MonthViewProps$1<"PlainYearMonth">): _$react_jsx_runtime0.JSX.Element;
|
|
9
|
+
Root: typeof MonthViewRoot;
|
|
10
|
+
};
|
|
36
11
|
type DateRange = DateRange$1<F>;
|
|
37
12
|
type ValueForFormat = ValueForFormat$1<F>;
|
|
38
13
|
type RawValueForFormat = RawValueForFormat$1<F>;
|
|
39
|
-
type WeekNumberCellProps = WeekNumberCellProps$1<F>;
|
|
40
|
-
type WeekNumberCellState = WeekNumberCellState$1<F>;
|
|
41
|
-
type WeekNumberHeaderProps = WeekNumberHeaderProps$1<F>;
|
|
42
|
-
type WeekNumberHeaderState = WeekNumberHeaderState$1<F>;
|
|
43
14
|
type CalendarProviderProps = CalendarProviderProps$1<F>;
|
|
15
|
+
type MonthViewProps = MonthViewProps$1<F>;
|
|
16
|
+
type WeeksViewProps = WeeksViewProps$1<F>;
|
|
44
17
|
//#endregion
|
|
45
|
-
export { CalendarProvider, CalendarProviderProps, type CalendarStableContextValue, type CalendarStateContextValue, DateRange, DateString, DateStringProps, DateStringState, type DateValueObject, DayButton, DayButtonProps, DayButtonState, DayCellDataContext, DayCellTemplate, DayCellTemplateProps, DayCellTemplateState, type DragHandleOwnProps, DragHandleState, type FirstWeekSpec, Grid, GridBody, GridBodyProps, GridBodyState, GridContext, GridHeader, GridHeaderCell, GridHeaderCellProps, GridHeaderCellState, GridHeaderProps, GridHeaderState, GridProps, GridState, type MonthData, type MonthOverflowBehavior, MonthSeparator, MonthSeparatorCell, MonthSeparatorMonth, MonthSeparatorRow, type MonthSeparatorState, MonthSeparatorWeekCount, MonthSeparatorYear, MonthView,
|
|
18
|
+
export { CalendarProvider, CalendarProviderProps, type CalendarStableContextValue, type CalendarStateContextValue, DateRange, DateString, type DateStringProps, type DateStringState, type DateValueObject, DayButton, type DayButtonProps, type DayButtonState, DayCellDataContext, DayCellTemplate, type DayCellTemplateProps, type DayCellTemplateState, type DragHandleOwnProps, type DragHandleState, type FirstWeekSpec, Grid, GridBody, type GridBodyProps, type GridBodyState, GridContext, GridHeader, GridHeaderCell, type GridHeaderCellProps, type GridHeaderCellState, type GridHeaderProps, type GridHeaderState, type GridProps, type GridState, type MonthData, type MonthOverflowBehavior, MonthSeparator, MonthSeparatorCell, MonthSeparatorMonth, MonthSeparatorRow, type MonthSeparatorState, MonthSeparatorWeekCount, MonthSeparatorYear, MonthView, MonthViewProps, MonthViewRoot, type MonthViewRootProps, type MonthViewStableContextValue, type MonthViewStateContextValue, MonthYearString, type MonthYearStringProps, type MonthYearStringState, type NavButtonState, NextMonthButton, type NextMonthButtonProps, NextWeeksButton, type NextWeeksButtonProps, type OutsideDays, type OverflowBehavior, type PlainDateObject, PrevMonthButton, type PrevMonthButtonProps, PrevWeeksButton, type PrevWeeksButtonProps, RangeEndDragHandle, type RangeEndDragHandleProps, type RangeMode, RangePreview, type RangePreviewProps, type RangePreviewState, RangeSelected, type RangeSelectedProps, type RangeSelectedState, RangeStartDragHandle, type RangeStartDragHandleProps, RawValueForFormat, type RootState, type ScrollToWeekSnap, type TemporalNamespace, TimeString, type TimeStringProps, type TimeStringState, type ValueChangeMeta, ValueForFormat, type ValueFormat, type ViewContextValue, type VisibleMonth, WeekCount, type WeekCountProps, type WeekCountState, WeekDataContext, type WeekDescriptor, WeekNumberCell, type WeekNumberCellProps, type WeekNumberCellState, WeekNumberHeader, type WeekNumberHeaderProps, type WeekNumberHeaderState, type WeekStartDay, WeekTemplate, type WeekTemplateProps, type WeekTemplateState, type WeeksNavButtonOwnProps, type WeeksNavButtonState, WeeksView, WeeksViewProps, WeeksViewRoot, type WeeksViewRootHandle, type WeeksViewRootProps, type WeeksViewStableContextValue, type WeeksViewStateContextValue, type WindowInfo, computePreviewRange, computeWeeksInWindow, resolveFirstWeek, resolveFirstWeekSpec, useCalendarStable, useCalendarState, useMonthViewStable, useMonthViewState, useViewContext, useWeeksViewStable, useWeeksViewState };
|
|
@@ -1,45 +1,18 @@
|
|
|
1
|
-
import { $ as
|
|
1
|
+
import { $ as GridBody, $t as TimeStringState, A as VisibleMonth, At as GridHeaderProps, B as resolveFirstWeekSpec, Bt as PlainDateObject, C as WeekCountState, Ct as DayCellTemplateState, D as WeeksViewProps$1, Dt as GridBodyState, E as WeeksView, Et as GridBodyProps, F as WeekDescriptor, Ft as MonthYearStringProps, G as RangePreview, Gt as RangePreviewState, H as WeekNumberHeader, Ht as RangeEndDragHandleProps, I as computeWeeksInWindow, It as MonthYearStringState, J as MonthYearString, Jt as RangeStartDragHandleProps, K as RangeSelected, Kt as RangeSelectedProps, L as FirstWeekSpec, Lt as NavButtonState, M as WeeksViewStableContextValue, Mt as GridProps, N as WeeksViewStateContextValue, Nt as GridState, O as WeeksViewRoot, Ot as GridHeaderCellProps, P as WindowInfo, Pt as MonthData, Q as Grid, Qt as TimeStringProps, R as ScrollToWeekSnap, Rt as NextMonthButtonProps, S as WeekCountProps, St as DayCellTemplateProps, T as WeeksNavButtonState, Tt as DragHandleState, U as RangeEndDragHandle, Ut as RangeMode, V as WeekNumberCell, Vt as PrevMonthButtonProps, W as RangeStartDragHandle, Wt as RangePreviewProps, X as PrevMonthButton, Xt as RootState, Y as NextMonthButton, Yt as RawValueForFormat$1, Z as TimeString, Zt as TemporalNamespace, _ as NextWeeksButton, _t as DateStringProps, a as useMonthViewStable, an as WeekNumberHeaderProps, b as PrevWeeksButtonProps, bt as DayButtonProps, c as useCalendarState, cn as WeekTemplateProps, ct as MonthViewRootProps, d as MonthSeparatorCell, dn as GridContext, dt as MonthOverflowBehavior, en as ValueChangeMeta, et as WeekTemplate, f as MonthSeparatorMonth, fn as WeekDataContext, ft as OverflowBehavior, g as MonthSeparatorYear, gt as DateRange$1, h as MonthSeparatorWeekCount, ht as CalendarStateContextValue, i as useViewContext, in as WeekNumberCellState, it as GridHeaderCell, j as WeeksViewRootProps, jt as GridHeaderState, k as WeeksViewRootHandle, kt as GridHeaderCellState, l as computePreviewRange, ln as WeekTemplateState, lt as MonthViewStableContextValue, m as MonthSeparatorState, mt as CalendarStableContextValue, n as useWeeksViewState, nn as ValueFormat, nt as DayCellTemplate, o as useMonthViewState, on as WeekNumberHeaderState, ot as MonthViewProps$1, p as MonthSeparatorRow, pt as CalendarProviderProps$1, q as DateString, qt as RangeSelectedState, r as ViewContextValue, rn as WeekNumberCellProps, rt as GridHeader, s as useCalendarStable, sn as WeekStartDay, st as MonthViewRoot, t as useWeeksViewStable, tn as ValueForFormat$1, tt as DayButton, u as MonthSeparator, un as DayCellDataContext, ut as MonthViewStateContextValue, v as NextWeeksButtonProps, vt as DateStringState, w as WeeksNavButtonOwnProps, wt as DragHandleOwnProps, x as WeekCount, xt as DayButtonState, y as PrevWeeksButton, yt as DateValueObject, z as resolveFirstWeek, zt as OutsideDays } from "../weeks-view-context-MVe1b-BS.mjs";
|
|
2
|
+
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
3
|
|
|
3
4
|
//#region src/formats/plain-year-month.d.ts
|
|
4
5
|
type F = "PlainYearMonth";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
type GridHeaderCellProps = GridHeaderCellProps$1<F>;
|
|
11
|
-
type GridHeaderCellState = GridHeaderCellState$1<F>;
|
|
12
|
-
type GridBodyProps = GridBodyProps$1<F>;
|
|
13
|
-
type GridBodyState = GridBodyState$1<F>;
|
|
14
|
-
type WeekTemplateProps = WeekTemplateProps$1<F>;
|
|
15
|
-
type WeekTemplateState = WeekTemplateState$1<F>;
|
|
16
|
-
type DayCellTemplateProps = DayCellTemplateProps$1<F>;
|
|
17
|
-
type DayCellTemplateState = DayCellTemplateState$1<F>;
|
|
18
|
-
type DayButtonProps = DayButtonProps$1<F>;
|
|
19
|
-
type DayButtonState = DayButtonState$1<F>;
|
|
20
|
-
type RangeSelectedProps = RangeSelectedProps$1<F>;
|
|
21
|
-
type RangeSelectedState = RangeSelectedState$1<F>;
|
|
22
|
-
type RangePreviewProps = RangePreviewProps$1<F>;
|
|
23
|
-
type RangePreviewState = RangePreviewState$1<F>;
|
|
24
|
-
type DragHandleState = DragHandleState$1<F>;
|
|
25
|
-
type RangeStartDragHandleProps = RangeStartDragHandleProps$1<F>;
|
|
26
|
-
type RangeEndDragHandleProps = RangeEndDragHandleProps$1<F>;
|
|
27
|
-
type DateStringProps = DateStringProps$1<F>;
|
|
28
|
-
type DateStringState = DateStringState$1<F>;
|
|
29
|
-
type TimeStringProps = TimeStringProps$1<F>;
|
|
30
|
-
type TimeStringState = TimeStringState$1<F>;
|
|
31
|
-
type MonthYearStringProps = MonthYearStringProps$1<F>;
|
|
32
|
-
type MonthYearStringState = MonthYearStringState$1<F>;
|
|
33
|
-
type PrevMonthButtonProps = PrevMonthButtonProps$1<F>;
|
|
34
|
-
type NextMonthButtonProps = NextMonthButtonProps$1<F>;
|
|
35
|
-
type NavButtonState = NavButtonState$1<F>;
|
|
6
|
+
declare const CalendarProvider: (props: CalendarProviderProps$1<"PlainYearMonth">) => _$react_jsx_runtime0.JSX.Element;
|
|
7
|
+
declare const MonthView: {
|
|
8
|
+
(props: MonthViewProps$1<"PlainYearMonth">): _$react_jsx_runtime0.JSX.Element;
|
|
9
|
+
Root: typeof MonthViewRoot;
|
|
10
|
+
};
|
|
36
11
|
type DateRange = DateRange$1<F>;
|
|
37
12
|
type ValueForFormat = ValueForFormat$1<F>;
|
|
38
13
|
type RawValueForFormat = RawValueForFormat$1<F>;
|
|
39
|
-
type WeekNumberCellProps = WeekNumberCellProps$1<F>;
|
|
40
|
-
type WeekNumberCellState = WeekNumberCellState$1<F>;
|
|
41
|
-
type WeekNumberHeaderProps = WeekNumberHeaderProps$1<F>;
|
|
42
|
-
type WeekNumberHeaderState = WeekNumberHeaderState$1<F>;
|
|
43
14
|
type CalendarProviderProps = CalendarProviderProps$1<F>;
|
|
15
|
+
type MonthViewProps = MonthViewProps$1<F>;
|
|
16
|
+
type WeeksViewProps = WeeksViewProps$1<F>;
|
|
44
17
|
//#endregion
|
|
45
|
-
export { CalendarProvider, CalendarProviderProps, type CalendarStableContextValue, type CalendarStateContextValue, DateRange, DateString, DateStringProps, DateStringState, type DateValueObject, DayButton, DayButtonProps, DayButtonState, DayCellDataContext, DayCellTemplate, DayCellTemplateProps, DayCellTemplateState, type DragHandleOwnProps, DragHandleState, type FirstWeekSpec, Grid, GridBody, GridBodyProps, GridBodyState, GridContext, GridHeader, GridHeaderCell, GridHeaderCellProps, GridHeaderCellState, GridHeaderProps, GridHeaderState, GridProps, GridState, type MonthData, type MonthOverflowBehavior, MonthSeparator, MonthSeparatorCell, MonthSeparatorMonth, MonthSeparatorRow, type MonthSeparatorState, MonthSeparatorWeekCount, MonthSeparatorYear, MonthView,
|
|
18
|
+
export { CalendarProvider, CalendarProviderProps, type CalendarStableContextValue, type CalendarStateContextValue, DateRange, DateString, type DateStringProps, type DateStringState, type DateValueObject, DayButton, type DayButtonProps, type DayButtonState, DayCellDataContext, DayCellTemplate, type DayCellTemplateProps, type DayCellTemplateState, type DragHandleOwnProps, type DragHandleState, type FirstWeekSpec, Grid, GridBody, type GridBodyProps, type GridBodyState, GridContext, GridHeader, GridHeaderCell, type GridHeaderCellProps, type GridHeaderCellState, type GridHeaderProps, type GridHeaderState, type GridProps, type GridState, type MonthData, type MonthOverflowBehavior, MonthSeparator, MonthSeparatorCell, MonthSeparatorMonth, MonthSeparatorRow, type MonthSeparatorState, MonthSeparatorWeekCount, MonthSeparatorYear, MonthView, MonthViewProps, MonthViewRoot, type MonthViewRootProps, type MonthViewStableContextValue, type MonthViewStateContextValue, MonthYearString, type MonthYearStringProps, type MonthYearStringState, type NavButtonState, NextMonthButton, type NextMonthButtonProps, NextWeeksButton, type NextWeeksButtonProps, type OutsideDays, type OverflowBehavior, type PlainDateObject, PrevMonthButton, type PrevMonthButtonProps, PrevWeeksButton, type PrevWeeksButtonProps, RangeEndDragHandle, type RangeEndDragHandleProps, type RangeMode, RangePreview, type RangePreviewProps, type RangePreviewState, RangeSelected, type RangeSelectedProps, type RangeSelectedState, RangeStartDragHandle, type RangeStartDragHandleProps, RawValueForFormat, type RootState, type ScrollToWeekSnap, type TemporalNamespace, TimeString, type TimeStringProps, type TimeStringState, type ValueChangeMeta, ValueForFormat, type ValueFormat, type ViewContextValue, type VisibleMonth, WeekCount, type WeekCountProps, type WeekCountState, WeekDataContext, type WeekDescriptor, WeekNumberCell, type WeekNumberCellProps, type WeekNumberCellState, WeekNumberHeader, type WeekNumberHeaderProps, type WeekNumberHeaderState, type WeekStartDay, WeekTemplate, type WeekTemplateProps, type WeekTemplateState, type WeeksNavButtonOwnProps, type WeeksNavButtonState, WeeksView, WeeksViewProps, WeeksViewRoot, type WeeksViewRootHandle, type WeeksViewRootProps, type WeeksViewStableContextValue, type WeeksViewStateContextValue, type WindowInfo, computePreviewRange, computeWeeksInWindow, resolveFirstWeek, resolveFirstWeekSpec, useCalendarStable, useCalendarState, useMonthViewStable, useMonthViewState, useViewContext, useWeeksViewStable, useWeeksViewState };
|
|
@@ -1,2 +1,6 @@
|
|
|
1
|
-
import { A as
|
|
2
|
-
|
|
1
|
+
import { A as MonthSeparatorRow, B as useViewContext, C as DayButton, D as MonthSeparator, E as useWeeksViewState, F as DayCellDataContext, G as useCalendarStable, H as useMonthViewState, I as GridContext, K as useCalendarState, L as WeekDataContext, M as MonthSeparatorYear, N as GridHeader, O as MonthSeparatorCell, P as GridHeaderCell, R as MonthView$1, S as WeekTemplate, T as useWeeksViewStable, U as CalendarProvider$1, V as useMonthViewStable, W as computePreviewRange, _ as NextMonthButton, a as WeeksViewRoot, b as Grid, c as computeWeeksInWindow, d as RangeEndDragHandle, f as RangeStartDragHandle, g as MonthYearString, h as DateString, i as WeeksView, j as MonthSeparatorWeekCount, k as MonthSeparatorMonth, l as WeekNumberCell, m as RangeSelected, n as PrevWeeksButton, o as resolveFirstWeek, p as RangePreview, r as WeekCount, s as resolveFirstWeekSpec, t as NextWeeksButton, u as WeekNumberHeader, v as PrevMonthButton, w as DayCellTemplate, x as GridBody, y as TimeString, z as MonthViewRoot } from "../weeks-navigation-B-Nch3LS.mjs";
|
|
2
|
+
//#region src/formats/plain-year-month.ts
|
|
3
|
+
const CalendarProvider = CalendarProvider$1;
|
|
4
|
+
const MonthView = MonthView$1;
|
|
5
|
+
//#endregion
|
|
6
|
+
export { CalendarProvider, DateString, DayButton, DayCellDataContext, DayCellTemplate, Grid, GridBody, GridContext, GridHeader, GridHeaderCell, MonthSeparator, MonthSeparatorCell, MonthSeparatorMonth, MonthSeparatorRow, MonthSeparatorWeekCount, MonthSeparatorYear, MonthView, MonthViewRoot, MonthYearString, NextMonthButton, NextWeeksButton, PrevMonthButton, PrevWeeksButton, RangeEndDragHandle, RangePreview, RangeSelected, RangeStartDragHandle, TimeString, WeekCount, WeekDataContext, WeekNumberCell, WeekNumberHeader, WeekTemplate, WeeksView, WeeksViewRoot, computePreviewRange, computeWeeksInWindow, resolveFirstWeek, resolveFirstWeekSpec, useCalendarStable, useCalendarState, useMonthViewStable, useMonthViewState, useViewContext, useWeeksViewStable, useWeeksViewState };
|