@progress/kendo-react-scheduler 13.3.0 → 13.4.0-develop.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/Scheduler.d.ts +597 -0
- package/Scheduler.js +1 -1
- package/Scheduler.mjs +1 -1
- package/components/BaseView.d.ts +25 -0
- package/components/BaseView.js +1 -1
- package/components/BaseView.mjs +3 -3
- package/components/CurrentTimeMarket.d.ts +17 -0
- package/components/DateHeaderCell.d.ts +53 -0
- package/components/SchedulerForm.d.ts +87 -0
- package/components/SchedulerForm.mjs +3 -3
- package/components/SchedulerOccurrenceDialog.d.ts +58 -0
- package/components/SchedulerOccurrenceDialog.mjs +2 -2
- package/components/SchedulerRemoveDialog.d.ts +54 -0
- package/components/ShowMoreItemsButton.d.ts +33 -0
- package/components/TimeHeaderCell.d.ts +53 -0
- package/components/footer/SchedulerFooter.d.ts +37 -0
- package/components/footer/bussiness-hours/BussinessHours.d.ts +20 -0
- package/components/header/SchedulerHeader.d.ts +34 -0
- package/components/header/navigation/NavigationDatePicker.d.ts +12 -0
- package/components/header/navigation/SchedulerNavigation.d.ts +31 -0
- package/components/header/view-selector/SchedulerViewSelector.d.ts +31 -0
- package/components/header/view-selector/ViewSelectorItem.d.ts +16 -0
- package/components/header/view-selector/ViewSelectorList.d.ts +10 -0
- package/constants/index.d.ts +61 -0
- package/constants/index.js +1 -1
- package/constants/index.mjs +9 -9
- package/context/SchedulerContext.d.ts +234 -0
- package/context/SchedulerEditItemContext.d.ts +199 -0
- package/context/SchedulerEditSlotContext.d.ts +54 -0
- package/context/SchedulerEditTaskContext.d.ts +36 -0
- package/context/SchedulerResourceIteratorContext.d.ts +23 -0
- package/context/SchedulerViewContext.d.ts +97 -0
- package/context/index.d.ts +12 -0
- package/dist/cdn/js/kendo-react-scheduler.js +1 -1
- package/editors/FilterableComboBox.d.ts +12 -0
- package/editors/ResourceEditor.d.ts +22 -0
- package/editors/SchedulerFormEditor.d.ts +495 -0
- package/editors/SchedulerFormEditor.mjs +3 -3
- package/editors/ZonedDateTime.d.ts +25 -0
- package/editors/common.d.ts +19 -0
- package/hooks/index.d.ts +17 -0
- package/hooks/use-items-focus.d.ts +39 -0
- package/hooks/use-items-selection.d.ts +47 -0
- package/hooks/use-slots-focus.d.ts +47 -0
- package/hooks/use-slots-selection.d.ts +37 -0
- package/hooks/useAsyncMouseEnterLeave.d.ts +18 -0
- package/hooks/useCellSync.d.ts +17 -0
- package/hooks/useControlledState.d.ts +20 -0
- package/hooks/useEditable.d.ts +10 -0
- package/hooks/usePropOrState.d.ts +9 -0
- package/hooks/useRowSync.d.ts +18 -0
- package/hooks/useSchedulerItem.d.ts +14 -0
- package/hooks/useSchedulerSlot.d.ts +14 -0
- package/hooks/useSlotExpand.d.ts +12 -0
- package/hooks/useWorkHours.d.ts +9 -0
- package/index.d.mts +41 -4703
- package/index.d.ts +41 -4703
- package/items/SchedulerEditItem.d.ts +453 -0
- package/items/SchedulerEditItem.mjs +7 -7
- package/items/SchedulerItem.d.ts +222 -0
- package/items/SchedulerItemContent.d.ts +18 -0
- package/items/SchedulerProportionalViewItem.d.ts +19 -0
- package/items/SchedulerViewItem.d.ts +46 -0
- package/items/hooks/use-drag-item.d.ts +51 -0
- package/items/hooks/use-form-item.d.ts +25 -0
- package/items/hooks/use-remove-item.d.ts +33 -0
- package/items/hooks/use-resize-item.d.ts +57 -0
- package/items/hooks/use-series.d.ts +30 -0
- package/items/hooks/use-show-occurrence-dialog.d.ts +34 -0
- package/items/hooks/use-show-remove-item-dialog.d.ts +34 -0
- package/messages/index.d.ts +243 -0
- package/models/DataItem.d.ts +15 -0
- package/models/DateRange.d.ts +25 -0
- package/models/EditableProp.d.ts +36 -0
- package/models/Fields.d.ts +60 -0
- package/models/Group.d.ts +21 -0
- package/models/Item.d.ts +71 -0
- package/models/NavigationAction.d.ts +65 -0
- package/models/Occurrence.d.ts +59 -0
- package/models/Omit.d.ts +11 -0
- package/models/Orientation.d.ts +9 -0
- package/models/Range.d.ts +17 -0
- package/models/Rect.d.ts +22 -0
- package/models/Resource.d.ts +15 -0
- package/models/SchedulerGroup.d.ts +20 -0
- package/models/SchedulerHandle.d.ts +21 -0
- package/models/SchedulerModelFields.d.ts +69 -0
- package/models/SchedulerResource.d.ts +40 -0
- package/models/SchedulerView.d.ts +103 -0
- package/models/Slot.d.ts +57 -0
- package/models/events.d.ts +96 -0
- package/models/index.d.ts +26 -0
- package/package-metadata.d.ts +12 -0
- package/package-metadata.js +1 -1
- package/package-metadata.mjs +9 -16
- package/package.json +11 -11
- package/recurrence/RecurrenceEditor.d.ts +19 -0
- package/recurrence/RecurrenceEditor.mjs +3 -3
- package/recurrence/RecurrenceFrequencyEditor.d.ts +17 -0
- package/recurrence/RecurrenceRepeatOnWeekEditor.d.ts +20 -0
- package/recurrence/common.d.ts +64 -0
- package/recurrence/types/EndRule.d.ts +11 -0
- package/recurrence/types/Frequency.d.ts +11 -0
- package/recurrence/types/FrequencyEntity.d.ts +15 -0
- package/recurrence/types/MonthEntity.d.ts +14 -0
- package/recurrence/types/OffsetPosition.d.ts +11 -0
- package/recurrence/types/OffsetPositionEntity.d.ts +14 -0
- package/recurrence/types/RepeatOnRule.d.ts +11 -0
- package/recurrence/types/WeekDayEntity.d.ts +14 -0
- package/recurrence/types/WeekDayRule.d.ts +14 -0
- package/recurrence/utils/index.d.ts +7 -0
- package/reducers/editReducer.d.ts +40 -0
- package/reducers/index.d.ts +8 -0
- package/services/index.d.ts +11 -0
- package/services/itemsService.d.ts +19 -0
- package/services/occurrenceService.d.ts +10 -0
- package/services/occurrenceService.js +1 -1
- package/services/occurrenceService.mjs +12 -10
- package/services/rangeService.d.ts +10 -0
- package/services/slotsService.d.ts +13 -0
- package/slots/SchedulerEditSlot.d.ts +62 -0
- package/slots/SchedulerSlot.d.ts +140 -0
- package/slots/SchedulerViewSlot.d.ts +56 -0
- package/tasks/SchedulerEditTask.d.ts +93 -0
- package/tasks/SchedulerTask.d.ts +70 -0
- package/tasks/SchedulerViewTask.d.ts +44 -0
- package/utils/index.d.ts +177 -0
- package/views/agenda/AgendaView.d.ts +97 -0
- package/views/agenda/AgendaView.js +1 -1
- package/views/agenda/AgendaView.mjs +2 -2
- package/views/agenda/AgendaViewHeaderItem.d.ts +15 -0
- package/views/common/HorizontalResourceIterator.d.ts +33 -0
- package/views/common/HorizontalResourceIterator.js +1 -1
- package/views/common/HorizontalResourceIterator.mjs +33 -39
- package/views/common/SchedulerDrag.d.ts +46 -0
- package/views/common/SchedulerResize.d.ts +48 -0
- package/views/common/VerticalResourceIterator.d.ts +28 -0
- package/views/common/VerticalResourceIterator.js +1 -1
- package/views/common/VerticalResourceIterator.mjs +21 -21
- package/views/common/utils.d.ts +41 -0
- package/views/day/DayView.d.ts +38 -0
- package/views/day/DayView.mjs +3 -3
- package/views/day/DayViewAllDayRowContent.d.ts +15 -0
- package/views/day/DayViewGroupRowContent.d.ts +15 -0
- package/views/day/DayViewRowContent.d.ts +20 -0
- package/views/day/MultiDayView.d.ts +179 -0
- package/views/day/MultiDayView.mjs +8 -8
- package/views/month/MonthView.d.ts +104 -0
- package/views/month/MonthView.js +1 -1
- package/views/month/MonthView.mjs +5 -5
- package/views/time/MultiDayTimelineView.d.ts +183 -0
- package/views/time/MultiDayTimelineView.mjs +5 -5
- package/views/time/TimelineView.d.ts +38 -0
- package/views/time/TimelineView.mjs +3 -3
- package/views/time/TimelineViewAllEventsRowContent.d.ts +14 -0
- package/views/time/TimelineViewRowContent.d.ts +14 -0
- package/views/week/WeekView.d.ts +109 -0
- package/views/week/WeekView.mjs +1 -1
- package/views/week/WorkWeekView.d.ts +27 -0
- package/views/week/WorkWeekView.mjs +1 -1
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { MultiDayTimelineViewProps } from './MultiDayTimelineView.js';
|
|
9
|
+
import * as React from 'react';
|
|
10
|
+
/**
|
|
11
|
+
* Represents the properties of the KendoReact [TimelineView](https://www.telerik.com/kendo-react-ui/components/scheduler/api/timelineview) Component.
|
|
12
|
+
*/
|
|
13
|
+
export interface TimelineViewProps extends MultiDayTimelineViewProps {
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Represents the KendoReact [TimelineView](https://www.telerik.com/kendo-react-ui/components/scheduler/views/timeline) Component.
|
|
17
|
+
*/
|
|
18
|
+
export declare const TimelineView: React.FunctionComponent<TimelineViewProps>;
|
|
19
|
+
/** @hidden */
|
|
20
|
+
export declare const timeLineViewDefaultProps: {
|
|
21
|
+
name: string;
|
|
22
|
+
title: (localization: any) => any;
|
|
23
|
+
slotDuration: number;
|
|
24
|
+
slotDivisions: number;
|
|
25
|
+
numberOfDays: number;
|
|
26
|
+
selectedDateFormat: string;
|
|
27
|
+
selectedShortDateFormat: string;
|
|
28
|
+
currentTimeMarker: boolean;
|
|
29
|
+
dateRange: ({ date, numberOfDays, timezone }: import('../..').SchedulerViewDateRangeArgs) => import('../..').DateRange;
|
|
30
|
+
startTime: string;
|
|
31
|
+
endTime: string;
|
|
32
|
+
isWorkDayStart: string;
|
|
33
|
+
isWorkDayEnd: string;
|
|
34
|
+
workWeekStart: import('@progress/kendo-date-math').Day;
|
|
35
|
+
workWeekEnd: import('@progress/kendo-date-math').Day;
|
|
36
|
+
defaultShowWorkHours: boolean;
|
|
37
|
+
columnWidth: number;
|
|
38
|
+
};
|
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
8
|
import * as t from "react";
|
|
9
|
-
import {
|
|
9
|
+
import { multiDayTimelineViewDefaultProps as m, MultiDayTimelineView as a } from "./MultiDayTimelineView.mjs";
|
|
10
10
|
import { timelineViewTitle as i, messages as o } from "../../messages/index.mjs";
|
|
11
|
-
const l = (e) => /* @__PURE__ */ t.createElement(
|
|
12
|
-
...
|
|
11
|
+
const l = (e) => /* @__PURE__ */ t.createElement(a, { ...e }), s = {
|
|
12
|
+
...m,
|
|
13
13
|
name: "timeline",
|
|
14
14
|
title: (e) => e.toLanguageString(i, o[i]),
|
|
15
15
|
slotDuration: 60,
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import * as React from 'react';
|
|
9
|
+
/** @hidden */
|
|
10
|
+
export interface TimelineViewAllEventsRowContentProps {
|
|
11
|
+
children?: React.ReactNode;
|
|
12
|
+
}
|
|
13
|
+
/** @hidden */
|
|
14
|
+
export declare const TimelineViewAllEventsRowContent: React.FunctionComponent<TimelineViewAllEventsRowContentProps>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import * as React from 'react';
|
|
9
|
+
/** @hidden */
|
|
10
|
+
export interface TimelineViewRowContentProps {
|
|
11
|
+
children?: React.ReactNode;
|
|
12
|
+
}
|
|
13
|
+
/** @hidden */
|
|
14
|
+
export declare const TimelineViewRowContent: React.FunctionComponent<TimelineViewRowContentProps>;
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { MultiDayViewProps } from '../day/MultiDayView.js';
|
|
9
|
+
import { Day } from '@progress/kendo-date-math';
|
|
10
|
+
import { SchedulerViewDateRangeArgs, DateRange } from '../../models/index.js';
|
|
11
|
+
import * as React from 'react';
|
|
12
|
+
/**
|
|
13
|
+
* Represents the properties of the KendoReact [WeekView](https://www.telerik.com/kendo-react-ui/components/scheduler/api/weekview) Component.
|
|
14
|
+
*/
|
|
15
|
+
export interface WeekViewProps extends Omit<MultiDayViewProps, 'step' | 'numberOfDays'> {
|
|
16
|
+
/**
|
|
17
|
+
* The long-date format for displaying the
|
|
18
|
+
* selected date in the Scheduler toolbar.
|
|
19
|
+
* Defaults to `{0:D} - {1:D}`
|
|
20
|
+
* ([more information](https://www.github.com/telerik/kendo-intl/blob/develop/docs/date-formatting/index.md))
|
|
21
|
+
*/
|
|
22
|
+
selectedDateFormat?: string;
|
|
23
|
+
/**
|
|
24
|
+
* The short-date format for displaying the
|
|
25
|
+
* selected date in the Scheduler toolbar.
|
|
26
|
+
* Defaults to `{0:d} - {1-d}`
|
|
27
|
+
* ([more information](https://www.github.com/telerik/kendo-intl/blob/develop/docs/date-formatting/index.md))
|
|
28
|
+
*/
|
|
29
|
+
selectedShortDateFormat?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Overrides the general `editable` prop of the Scheduler for the specified view only.
|
|
32
|
+
*/
|
|
33
|
+
editable?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* The start time of the view. The WeekView displays events which are visible after the start time.
|
|
36
|
+
* Accepts string values in the `HH:mm` format.
|
|
37
|
+
*/
|
|
38
|
+
startTime?: string;
|
|
39
|
+
/**
|
|
40
|
+
* The end time of the view. The WeekView displays events which are visible before the end time.
|
|
41
|
+
* Accepts string values in the `HH:mm` format.
|
|
42
|
+
*/
|
|
43
|
+
endTime?: string;
|
|
44
|
+
/**
|
|
45
|
+
* The start time of the view when `showWorkHours` is set to `true`.
|
|
46
|
+
* Accepts string values in the `HH:mm` format.
|
|
47
|
+
*/
|
|
48
|
+
workDayStart?: string;
|
|
49
|
+
/**
|
|
50
|
+
* The end time of the view when `showWorkHours` is set to `true`.
|
|
51
|
+
* Accepts string values in the `HH:mm` format.
|
|
52
|
+
*/
|
|
53
|
+
workDayEnd?: string;
|
|
54
|
+
/**
|
|
55
|
+
* The start of the work week.
|
|
56
|
+
*/
|
|
57
|
+
workWeekStart?: Day;
|
|
58
|
+
/**
|
|
59
|
+
* The end of the work week.
|
|
60
|
+
*/
|
|
61
|
+
workWeekEnd?: Day;
|
|
62
|
+
/**
|
|
63
|
+
* The number of divisions of the time slots.
|
|
64
|
+
*/
|
|
65
|
+
slotDivisions?: number;
|
|
66
|
+
/**
|
|
67
|
+
* The duration (in minutes) of the time slots.
|
|
68
|
+
*/
|
|
69
|
+
slotDuration?: number;
|
|
70
|
+
/**
|
|
71
|
+
* If set to `true`, the view will be shown in the business-hours mode only.
|
|
72
|
+
*
|
|
73
|
+
* This will always override the internal `showWorkHours` state.
|
|
74
|
+
*/
|
|
75
|
+
showWorkHours?: boolean;
|
|
76
|
+
/**
|
|
77
|
+
* Sets the initial business-hour mode. Default `true`.
|
|
78
|
+
*
|
|
79
|
+
* This option applies only the initial `showWorkHours` state.
|
|
80
|
+
*/
|
|
81
|
+
defaultShowWorkHours?: boolean;
|
|
82
|
+
/**
|
|
83
|
+
* Sets a custom `className` to the wrapping element of the `DayView`.
|
|
84
|
+
*/
|
|
85
|
+
className?: string;
|
|
86
|
+
/**
|
|
87
|
+
* Sets a custom `id` to the wrapping element of the `DayView`.
|
|
88
|
+
*/
|
|
89
|
+
id?: string;
|
|
90
|
+
/**
|
|
91
|
+
* Sets a custom `style` property to the wrapping element of the `DayView`.
|
|
92
|
+
*/
|
|
93
|
+
style?: React.CSSProperties;
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* Represents the KendoReact [WeekView](https://www.telerik.com/kendo-react-ui/components/scheduler/views/week) Component.
|
|
97
|
+
*/
|
|
98
|
+
export declare const WeekView: React.FunctionComponent<WeekViewProps>;
|
|
99
|
+
/** @hidden */
|
|
100
|
+
export declare const weekViewDefaultProps: {
|
|
101
|
+
name: string;
|
|
102
|
+
slotDuration: number;
|
|
103
|
+
slotDivisions: number;
|
|
104
|
+
numberOfDays: number;
|
|
105
|
+
dateRange: ({ intl, date, timezone }: SchedulerViewDateRangeArgs) => DateRange;
|
|
106
|
+
title: (localization: any) => any;
|
|
107
|
+
selectedDateFormat: string;
|
|
108
|
+
selectedShortDateFormat: string;
|
|
109
|
+
};
|
package/views/week/WeekView.mjs
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
import * as w from "react";
|
|
9
9
|
import { MultiDayView as p } from "../day/MultiDayView.mjs";
|
|
10
10
|
import { DAYS_IN_WEEK_COUNT as t } from "../../constants/index.mjs";
|
|
11
|
-
import { ZonedDate as r,
|
|
11
|
+
import { ZonedDate as r, getDate as c, firstDayInWeek as g, addDays as E } from "@progress/kendo-date-math";
|
|
12
12
|
import { weekViewTitle as i, messages as u } from "../../messages/index.mjs";
|
|
13
13
|
import { toUTCDateTime as m } from "../../utils/index.mjs";
|
|
14
14
|
const k = (e) => /* @__PURE__ */ w.createElement(p, { ...e, step: t, numberOfDays: t }), y = (e) => c(e), _ = (e, a) => c(E(e, a)), S = ({ intl: e, date: a, timezone: o }) => {
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { WeekViewProps } from './WeekView.js';
|
|
9
|
+
import { Day } from '@progress/kendo-date-math';
|
|
10
|
+
import { DateRange, SchedulerViewDateRangeArgs } from '../../models/index.js';
|
|
11
|
+
import * as React from 'react';
|
|
12
|
+
export interface WorkWeekViewProps extends WeekViewProps {
|
|
13
|
+
}
|
|
14
|
+
export declare const WorkWeekView: React.FunctionComponent<WorkWeekViewProps>;
|
|
15
|
+
/** @hidden */
|
|
16
|
+
export declare const workWeekDefaultProps: {
|
|
17
|
+
name: string;
|
|
18
|
+
slotDuration: number;
|
|
19
|
+
slotDivisions: number;
|
|
20
|
+
numberOfDays: number;
|
|
21
|
+
dateRange: ({ intl, date, timezone, ...other }: SchedulerViewDateRangeArgs) => DateRange;
|
|
22
|
+
title: (localization: any) => any;
|
|
23
|
+
workWeekStart: Day;
|
|
24
|
+
workWeekEnd: Day;
|
|
25
|
+
selectedDateFormat: string;
|
|
26
|
+
selectedShortDateFormat: string;
|
|
27
|
+
};
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
8
|
import * as u from "react";
|
|
9
|
-
import {
|
|
9
|
+
import { Day as a, MS_PER_DAY as S, ZonedDate as d, getDate as p, addDays as T } from "@progress/kendo-date-math";
|
|
10
10
|
import { DAYS_IN_WEEK_COUNT as i } from "../../constants/index.mjs";
|
|
11
11
|
import { MultiDayView as E } from "../day/MultiDayView.mjs";
|
|
12
12
|
import { workWeekViewTitle as c, messages as R } from "../../messages/index.mjs";
|