@progress/kendo-react-scheduler 7.2.4-develop.3 → 7.2.4-develop.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Scheduler.js +8 -0
- package/Scheduler.mjs +389 -0
- package/components/BaseView.js +8 -0
- package/components/BaseView.mjs +61 -0
- package/components/CurrentTimeMarket.js +8 -0
- package/components/CurrentTimeMarket.mjs +110 -0
- package/components/DateHeaderCell.js +8 -0
- package/components/DateHeaderCell.mjs +43 -0
- package/components/SchedulerForm.js +8 -0
- package/components/SchedulerForm.mjs +119 -0
- package/components/SchedulerOccurrenceDialog.js +8 -0
- package/components/SchedulerOccurrenceDialog.mjs +48 -0
- package/components/SchedulerRemoveDialog.js +8 -0
- package/components/SchedulerRemoveDialog.mjs +50 -0
- package/components/ShowMoreItemsButton.js +8 -0
- package/components/ShowMoreItemsButton.mjs +49 -0
- package/components/TimeHeaderCell.js +8 -0
- package/components/TimeHeaderCell.mjs +43 -0
- package/components/footer/SchedulerFooter.js +8 -0
- package/components/footer/SchedulerFooter.mjs +35 -0
- package/components/footer/bussiness-hours/BussinessHours.js +8 -0
- package/components/footer/bussiness-hours/BussinessHours.mjs +31 -0
- package/components/header/SchedulerHeader.js +8 -0
- package/components/header/SchedulerHeader.mjs +35 -0
- package/components/header/navigation/NavigationDatePicker.js +8 -0
- package/components/header/navigation/NavigationDatePicker.mjs +113 -0
- package/components/header/navigation/SchedulerNavigation.js +8 -0
- package/components/header/navigation/SchedulerNavigation.mjs +32 -0
- package/components/header/view-selector/SchedulerViewSelector.js +8 -0
- package/components/header/view-selector/SchedulerViewSelector.mjs +32 -0
- package/components/header/view-selector/ViewSelectorItem.js +8 -0
- package/components/header/view-selector/ViewSelectorItem.mjs +39 -0
- package/components/header/view-selector/ViewSelectorList.js +8 -0
- package/components/header/view-selector/ViewSelectorList.mjs +65 -0
- package/constants/index.js +8 -0
- package/constants/index.mjs +28 -0
- package/context/SchedulerContext.js +8 -0
- package/context/SchedulerContext.mjs +78 -0
- package/context/SchedulerEditItemContext.js +8 -0
- package/context/SchedulerEditItemContext.mjs +51 -0
- package/context/SchedulerEditSlotContext.js +8 -0
- package/context/SchedulerEditSlotContext.mjs +25 -0
- package/context/SchedulerEditTaskContext.js +8 -0
- package/context/SchedulerEditTaskContext.mjs +16 -0
- package/context/SchedulerResourceIteratorContext.js +8 -0
- package/context/SchedulerResourceIteratorContext.mjs +16 -0
- package/context/SchedulerViewContext.js +8 -0
- package/context/SchedulerViewContext.mjs +60 -0
- package/dist/cdn/js/kendo-react-scheduler.js +8 -5
- package/editors/FilterableComboBox.js +8 -0
- package/editors/FilterableComboBox.mjs +37 -0
- package/editors/ResourceEditor.js +8 -0
- package/editors/ResourceEditor.mjs +71 -0
- package/editors/SchedulerFormEditor.js +8 -0
- package/editors/SchedulerFormEditor.mjs +368 -0
- package/editors/ZonedDateTime.js +8 -0
- package/editors/ZonedDateTime.mjs +44 -0
- package/hooks/use-items-focus.js +8 -0
- package/hooks/use-items-focus.mjs +42 -0
- package/hooks/use-items-selection.js +8 -0
- package/hooks/use-items-selection.mjs +67 -0
- package/hooks/use-slots-focus.js +8 -0
- package/hooks/use-slots-focus.mjs +49 -0
- package/hooks/use-slots-selection.js +8 -0
- package/hooks/use-slots-selection.mjs +37 -0
- package/hooks/useCellSync.js +8 -0
- package/hooks/useCellSync.mjs +29 -0
- package/hooks/useControlledState.js +8 -0
- package/hooks/useControlledState.mjs +21 -0
- package/hooks/useEditable.js +8 -0
- package/hooks/useEditable.mjs +24 -0
- package/hooks/useRowSync.js +8 -0
- package/hooks/useRowSync.mjs +32 -0
- package/hooks/useSchedulerItem.js +8 -0
- package/hooks/useSchedulerItem.mjs +31 -0
- package/hooks/useSchedulerSlot.js +8 -0
- package/hooks/useSchedulerSlot.mjs +31 -0
- package/hooks/useSlotExpand.js +8 -0
- package/hooks/useSlotExpand.mjs +67 -0
- package/index.d.mts +4220 -5
- package/index.d.ts +4220 -45
- package/index.js +8 -5
- package/index.mjs +145 -5878
- package/items/SchedulerEditItem.js +8 -0
- package/items/SchedulerEditItem.mjs +610 -0
- package/items/SchedulerItem.js +8 -0
- package/items/SchedulerItem.mjs +328 -0
- package/items/SchedulerItemContent.js +8 -0
- package/items/SchedulerItemContent.mjs +23 -0
- package/items/SchedulerProportionalViewItem.js +8 -0
- package/items/SchedulerProportionalViewItem.mjs +120 -0
- package/items/SchedulerViewItem.js +8 -0
- package/items/SchedulerViewItem.mjs +128 -0
- package/items/hooks/use-drag-item.js +8 -0
- package/items/hooks/use-drag-item.mjs +118 -0
- package/items/hooks/use-form-item.js +8 -0
- package/items/hooks/use-form-item.mjs +46 -0
- package/items/hooks/use-remove-item.js +8 -0
- package/items/hooks/use-remove-item.mjs +40 -0
- package/items/hooks/use-resize-item.js +8 -0
- package/items/hooks/use-resize-item.mjs +145 -0
- package/items/hooks/use-series.js +8 -0
- package/items/hooks/use-series.mjs +32 -0
- package/items/hooks/use-show-occurrence-dialog.js +8 -0
- package/items/hooks/use-show-occurrence-dialog.mjs +36 -0
- package/items/hooks/use-show-remove-item-dialog.js +8 -0
- package/items/hooks/use-show-remove-item-dialog.mjs +36 -0
- package/messages/index.js +8 -0
- package/messages/index.mjs +167 -0
- package/package-metadata.js +8 -0
- package/package-metadata.mjs +19 -0
- package/package.json +10 -10
- package/recurrence/RecurrenceEditor.js +8 -0
- package/recurrence/RecurrenceEditor.mjs +438 -0
- package/recurrence/RecurrenceFrequencyEditor.js +8 -0
- package/recurrence/RecurrenceFrequencyEditor.mjs +41 -0
- package/recurrence/RecurrenceRepeatOnWeekEditor.js +8 -0
- package/recurrence/RecurrenceRepeatOnWeekEditor.mjs +35 -0
- package/recurrence/common.js +8 -0
- package/recurrence/common.mjs +127 -0
- package/services/itemsService.js +8 -0
- package/services/itemsService.mjs +56 -0
- package/services/occurrenceService.js +8 -0
- package/services/occurrenceService.mjs +49 -0
- package/services/rangeService.js +8 -0
- package/services/rangeService.mjs +26 -0
- package/services/slotsService.js +8 -0
- package/services/slotsService.mjs +39 -0
- package/slots/SchedulerEditSlot.js +8 -0
- package/slots/SchedulerEditSlot.mjs +191 -0
- package/slots/SchedulerSlot.js +8 -0
- package/slots/SchedulerSlot.mjs +175 -0
- package/slots/SchedulerViewSlot.js +8 -0
- package/slots/SchedulerViewSlot.mjs +24 -0
- package/tasks/SchedulerEditTask.js +8 -0
- package/tasks/SchedulerEditTask.mjs +157 -0
- package/tasks/SchedulerTask.js +8 -0
- package/tasks/SchedulerTask.mjs +67 -0
- package/tasks/SchedulerViewTask.js +8 -0
- package/tasks/SchedulerViewTask.mjs +23 -0
- package/utils/index.js +8 -0
- package/utils/index.mjs +171 -0
- package/views/agenda/AgendaView.js +8 -0
- package/views/agenda/AgendaView.mjs +147 -0
- package/views/common/HorizontalResourceIterator.js +8 -0
- package/views/common/HorizontalResourceIterator.mjs +38 -0
- package/views/common/SchedulerDrag.js +8 -0
- package/views/common/SchedulerDrag.mjs +44 -0
- package/views/common/SchedulerResize.js +8 -0
- package/views/common/SchedulerResize.mjs +48 -0
- package/views/common/VerticalResourceIterator.js +8 -0
- package/views/common/VerticalResourceIterator.mjs +78 -0
- package/views/common/utils.js +8 -0
- package/views/common/utils.mjs +75 -0
- package/views/day/DayView.js +8 -0
- package/views/day/DayView.mjs +27 -0
- package/views/day/DayViewAllDayRowContent.js +8 -0
- package/views/day/DayViewAllDayRowContent.mjs +18 -0
- package/views/day/DayViewGroupRowContent.js +8 -0
- package/views/day/DayViewGroupRowContent.mjs +13 -0
- package/views/day/DayViewRowContent.js +8 -0
- package/views/day/DayViewRowContent.mjs +32 -0
- package/views/day/MultiDayView.js +8 -0
- package/views/day/MultiDayView.mjs +376 -0
- package/views/month/MonthView.js +8 -0
- package/views/month/MonthView.mjs +155 -0
- package/views/time/MultiDayTimelineView.js +8 -0
- package/views/time/MultiDayTimelineView.mjs +264 -0
- package/views/time/TimelineView.js +8 -0
- package/views/time/TimelineView.mjs +27 -0
- package/views/time/TimelineViewAllEventsRowContent.js +8 -0
- package/views/time/TimelineViewAllEventsRowContent.mjs +18 -0
- package/views/time/TimelineViewRowContent.js +8 -0
- package/views/time/TimelineViewRowContent.mjs +13 -0
- package/views/week/WeekView.js +8 -0
- package/views/week/WeekView.mjs +44 -0
- package/views/week/WorkWeekView.js +8 -0
- package/views/week/WorkWeekView.mjs +55 -0
- package/Scheduler.d.ts +0 -373
- package/components/BaseView.d.ts +0 -22
- package/components/CurrentTimeMarket.d.ts +0 -14
- package/components/DateHeaderCell.d.ts +0 -50
- package/components/SchedulerForm.d.ts +0 -75
- package/components/SchedulerOccurrenceDialog.d.ts +0 -46
- package/components/SchedulerRemoveDialog.d.ts +0 -42
- package/components/ShowMoreItemsButton.d.ts +0 -30
- package/components/TimeHeaderCell.d.ts +0 -50
- package/components/footer/SchedulerFooter.d.ts +0 -25
- package/components/footer/bussiness-hours/BussinessHours.d.ts +0 -17
- package/components/header/SchedulerHeader.d.ts +0 -22
- package/components/header/navigation/NavigationDatePicker.d.ts +0 -9
- package/components/header/navigation/SchedulerNavigation.d.ts +0 -28
- package/components/header/view-selector/SchedulerViewSelector.d.ts +0 -28
- package/components/header/view-selector/ViewSelectorItem.d.ts +0 -12
- package/components/header/view-selector/ViewSelectorList.d.ts +0 -7
- package/constants/index.d.ts +0 -58
- package/context/SchedulerContext.d.ts +0 -231
- package/context/SchedulerEditItemContext.d.ts +0 -172
- package/context/SchedulerEditSlotContext.d.ts +0 -51
- package/context/SchedulerEditTaskContext.d.ts +0 -33
- package/context/SchedulerResourceIteratorContext.d.ts +0 -20
- package/context/SchedulerViewContext.d.ts +0 -76
- package/context/index.d.ts +0 -9
- package/editors/FilterableComboBox.d.ts +0 -8
- package/editors/ResourceEditor.d.ts +0 -18
- package/editors/SchedulerFormEditor.d.ts +0 -498
- package/editors/ZonedDateTime.d.ts +0 -22
- package/hooks/index.d.ts +0 -14
- package/hooks/use-items-focus.d.ts +0 -27
- package/hooks/use-items-selection.d.ts +0 -35
- package/hooks/use-slots-focus.d.ts +0 -38
- package/hooks/use-slots-selection.d.ts +0 -28
- package/hooks/useAsyncMouseEnterLeave.d.ts +0 -15
- package/hooks/useCellSync.d.ts +0 -14
- package/hooks/useControlledState.d.ts +0 -17
- package/hooks/useEditable.d.ts +0 -7
- package/hooks/usePropOrState.d.ts +0 -6
- package/hooks/useRowSync.d.ts +0 -15
- package/hooks/useSchedulerItem.d.ts +0 -11
- package/hooks/useSchedulerSlot.d.ts +0 -11
- package/hooks/useSlotExpand.d.ts +0 -9
- package/hooks/useWorkHours.d.ts +0 -6
- package/items/SchedulerEditItem.d.ts +0 -417
- package/items/SchedulerItem.d.ts +0 -203
- package/items/SchedulerItemContent.d.ts +0 -15
- package/items/SchedulerProportionalViewItem.d.ts +0 -16
- package/items/SchedulerViewItem.d.ts +0 -37
- package/items/hooks/use-drag-item.d.ts +0 -46
- package/items/hooks/use-form-item.d.ts +0 -26
- package/items/hooks/use-remove-item.d.ts +0 -34
- package/items/hooks/use-resize-item.d.ts +0 -49
- package/items/hooks/use-series.d.ts +0 -27
- package/items/hooks/use-show-occurrence-dialog.d.ts +0 -31
- package/items/hooks/use-show-remove-item-dialog.d.ts +0 -31
- package/messages/index.d.ts +0 -240
- package/models/DataItem.d.ts +0 -12
- package/models/DateRange.d.ts +0 -22
- package/models/EditableProp.d.ts +0 -33
- package/models/Fields.d.ts +0 -21
- package/models/Group.d.ts +0 -12
- package/models/Item.d.ts +0 -68
- package/models/Occurrence.d.ts +0 -56
- package/models/Omit.d.ts +0 -8
- package/models/Orientation.d.ts +0 -6
- package/models/Range.d.ts +0 -14
- package/models/Rect.d.ts +0 -19
- package/models/Resource.d.ts +0 -12
- package/models/SchedulerGroup.d.ts +0 -17
- package/models/SchedulerHandle.d.ts +0 -12
- package/models/SchedulerModelFields.d.ts +0 -66
- package/models/SchedulerResource.d.ts +0 -37
- package/models/SchedulerView.d.ts +0 -80
- package/models/Slot.d.ts +0 -54
- package/models/events.d.ts +0 -87
- package/models/index.d.ts +0 -21
- package/package-metadata.d.ts +0 -9
- package/recurrence/RecurrenceEditor.d.ts +0 -16
- package/recurrence/RecurrenceFrequencyEditor.d.ts +0 -14
- package/recurrence/RecurrenceRepeatOnWeekEditor.d.ts +0 -17
- package/recurrence/common.d.ts +0 -61
- package/recurrence/types/EndRule.d.ts +0 -8
- package/recurrence/types/Frequency.d.ts +0 -8
- package/recurrence/types/FrequencyEntity.d.ts +0 -12
- package/recurrence/types/MonthEntity.d.ts +0 -11
- package/recurrence/types/OffsetPosition.d.ts +0 -8
- package/recurrence/types/OffsetPositionEntity.d.ts +0 -11
- package/recurrence/types/RepeatOnRule.d.ts +0 -8
- package/recurrence/types/WeekDayEntity.d.ts +0 -11
- package/recurrence/types/WeekDayRule.d.ts +0 -11
- package/reducers/editReducer.d.ts +0 -37
- package/reducers/index.d.ts +0 -5
- package/services/index.d.ts +0 -8
- package/services/itemsService.d.ts +0 -16
- package/services/occurrenceService.d.ts +0 -7
- package/services/rangeService.d.ts +0 -7
- package/services/slotsService.d.ts +0 -10
- package/slots/SchedulerEditSlot.d.ts +0 -56
- package/slots/SchedulerSlot.d.ts +0 -131
- package/slots/SchedulerViewSlot.d.ts +0 -50
- package/tasks/SchedulerEditTask.d.ts +0 -84
- package/tasks/SchedulerTask.d.ts +0 -61
- package/tasks/SchedulerViewTask.d.ts +0 -35
- package/utils/index.d.ts +0 -172
- package/views/agenda/AgendaView.d.ts +0 -96
- package/views/common/HorizontalResourceIterator.d.ts +0 -30
- package/views/common/SchedulerDrag.d.ts +0 -43
- package/views/common/SchedulerResize.d.ts +0 -45
- package/views/common/VerticalResourceIterator.d.ts +0 -25
- package/views/common/utils.d.ts +0 -38
- package/views/day/DayView.d.ts +0 -36
- package/views/day/DayViewAllDayRowContent.d.ts +0 -12
- package/views/day/DayViewGroupRowContent.d.ts +0 -12
- package/views/day/DayViewRowContent.d.ts +0 -17
- package/views/day/MultiDayView.d.ts +0 -175
- package/views/month/MonthView.d.ts +0 -98
- package/views/time/MultiDayTimelineView.d.ts +0 -179
- package/views/time/TimelineView.d.ts +0 -36
- package/views/time/TimelineViewAllEventsRowContent.d.ts +0 -11
- package/views/time/TimelineViewRowContent.d.ts +0 -11
- package/views/week/WeekView.d.ts +0 -106
- package/views/week/WorkWeekView.d.ts +0 -24
|
@@ -1,179 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as React from 'react';
|
|
6
|
-
import { DateRange, SchedulerViewProps, EditableProp, SchedulerViewDateRangeArgs } from '../../models';
|
|
7
|
-
import { Day } from '@progress/kendo-date-math';
|
|
8
|
-
import { SchedulerItemProps } from '../../items/SchedulerItem';
|
|
9
|
-
import { SchedulerEditSlotProps } from '../../slots/SchedulerEditSlot';
|
|
10
|
-
import { SchedulerSlotProps } from '../../slots/SchedulerSlot';
|
|
11
|
-
import { SchedulerEditItemProps } from '../../items/SchedulerEditItem';
|
|
12
|
-
import { SchedulerViewItemProps } from '../../items/SchedulerViewItem';
|
|
13
|
-
import { SchedulerViewSlotProps } from '../../slots/SchedulerViewSlot';
|
|
14
|
-
import { DateHeaderCellProps } from '../../components/DateHeaderCell';
|
|
15
|
-
import { TimeHeaderCellProps } from '../../components/TimeHeaderCell';
|
|
16
|
-
import { SchedulerFormProps } from '../../components/SchedulerForm';
|
|
17
|
-
/**
|
|
18
|
-
* @hidden
|
|
19
|
-
*/
|
|
20
|
-
export interface MultiDayTimelineViewProps extends SchedulerViewProps {
|
|
21
|
-
/**
|
|
22
|
-
* The number of steps (in days) to change, when using the back and forwards buttons in the toolbar navigation.
|
|
23
|
-
* The default value is 1 days.
|
|
24
|
-
*/
|
|
25
|
-
step?: number;
|
|
26
|
-
/**
|
|
27
|
-
* Specifies the number of days that the view will render.
|
|
28
|
-
* Defaults to `1`.
|
|
29
|
-
*/
|
|
30
|
-
numberOfDays?: number;
|
|
31
|
-
/**
|
|
32
|
-
* The long-date format for displaying the
|
|
33
|
-
* selected date in the Scheduler toolbar.
|
|
34
|
-
* Defaults to `{0:D} - {1:D}`
|
|
35
|
-
* ([more information](https://www.github.com/telerik/kendo-intl/blob/develop/docs/date-formatting/index.md))
|
|
36
|
-
*/
|
|
37
|
-
selectedDateFormat?: string;
|
|
38
|
-
/**
|
|
39
|
-
* The short-date format for displaying the
|
|
40
|
-
* selected date in the Scheduler toolbar.
|
|
41
|
-
* Defaults to `{0:d} - {1-d}`
|
|
42
|
-
* ([more information](https://www.github.com/telerik/kendo-intl/blob/develop/docs/date-formatting/index.md))
|
|
43
|
-
*/
|
|
44
|
-
selectedShortDateFormat?: string;
|
|
45
|
-
/**
|
|
46
|
-
* Overrides the general `editable` prop of the Scheduler for the specified view only.
|
|
47
|
-
*/
|
|
48
|
-
editable?: boolean | EditableProp;
|
|
49
|
-
/**
|
|
50
|
-
* The start time of the view. The TimelineView displays events which are visible after the start time.
|
|
51
|
-
* Accepts string values in the `HH:mm` format.
|
|
52
|
-
*/
|
|
53
|
-
startTime?: string;
|
|
54
|
-
/**
|
|
55
|
-
* The end time of the view. The TimelineView displays events which are visible before the end time.
|
|
56
|
-
* Accepts string values in the `HH:mm` format.
|
|
57
|
-
*/
|
|
58
|
-
endTime?: string;
|
|
59
|
-
/**
|
|
60
|
-
* The start time of the view when `showWorkHours` is set to `true`.
|
|
61
|
-
* Accepts string values in the `HH:mm` format.
|
|
62
|
-
*/
|
|
63
|
-
workDayStart?: string;
|
|
64
|
-
/** @hidden */
|
|
65
|
-
isWorkDayStart?: string;
|
|
66
|
-
/**
|
|
67
|
-
* The end time of the view when `showWorkHours` is set to `true`.
|
|
68
|
-
* Accepts string values in the `HH:mm` format.
|
|
69
|
-
*/
|
|
70
|
-
workDayEnd?: string;
|
|
71
|
-
/** @hidden */
|
|
72
|
-
isWorkDayEnd?: string;
|
|
73
|
-
/**
|
|
74
|
-
* The start of the work week.
|
|
75
|
-
*/
|
|
76
|
-
workWeekStart?: Day;
|
|
77
|
-
/**
|
|
78
|
-
* The end of the work week.
|
|
79
|
-
*/
|
|
80
|
-
workWeekEnd?: Day;
|
|
81
|
-
/**
|
|
82
|
-
* The number of divisions of the time slots.
|
|
83
|
-
*/
|
|
84
|
-
slotDivisions?: number;
|
|
85
|
-
/**
|
|
86
|
-
* The duration (in minutes) of the time slots.
|
|
87
|
-
*/
|
|
88
|
-
slotDuration?: number;
|
|
89
|
-
/**
|
|
90
|
-
* The width of a single time slot in pixels. Default is 100px.
|
|
91
|
-
*/
|
|
92
|
-
columnWidth?: number;
|
|
93
|
-
/**
|
|
94
|
-
* If set to `true`, the view will be shown in the business-hours mode only.
|
|
95
|
-
*
|
|
96
|
-
* This will always override the internal `showWorkHours` state.
|
|
97
|
-
*/
|
|
98
|
-
showWorkHours?: boolean;
|
|
99
|
-
/**
|
|
100
|
-
* Sets the initial business-hour mode. Default `true`.
|
|
101
|
-
*
|
|
102
|
-
* This option applies only the initial `showWorkHours` state.
|
|
103
|
-
*/
|
|
104
|
-
defaultShowWorkHours?: boolean;
|
|
105
|
-
/**
|
|
106
|
-
* Sets a custom `className` to the wrapping element of the `TimelineView`.
|
|
107
|
-
*/
|
|
108
|
-
className?: string;
|
|
109
|
-
/**
|
|
110
|
-
* Sets a custom `id` to the wrapping element of the `TimelineView`.
|
|
111
|
-
*/
|
|
112
|
-
id?: string;
|
|
113
|
-
/**
|
|
114
|
-
* Sets a custom `style` property to the wrapping element of the `TimelineView`.
|
|
115
|
-
*/
|
|
116
|
-
style?: React.CSSProperties;
|
|
117
|
-
/**
|
|
118
|
-
* Overrides the `item` prop of the Scheduler for the specified view only.
|
|
119
|
-
*/
|
|
120
|
-
item?: React.ComponentType<SchedulerItemProps>;
|
|
121
|
-
/**
|
|
122
|
-
* Overrides the `viewItem` prop of the Scheduler for the specified view only.
|
|
123
|
-
*/
|
|
124
|
-
viewItem?: React.ComponentType<SchedulerViewItemProps>;
|
|
125
|
-
/**
|
|
126
|
-
* Overrides the `editableItem` prop of the Scheduler for the specified view only.
|
|
127
|
-
*/
|
|
128
|
-
editItem?: React.ComponentType<SchedulerEditItemProps>;
|
|
129
|
-
/**
|
|
130
|
-
* Overrides the `slot` prop of the Scheduler for the specified view only.
|
|
131
|
-
*/
|
|
132
|
-
slot?: React.ComponentType<SchedulerSlotProps>;
|
|
133
|
-
/**
|
|
134
|
-
* Overrides the `viewSlot` prop of the Scheduler for the specified view only.
|
|
135
|
-
*/
|
|
136
|
-
viewSlot?: React.ComponentType<SchedulerViewSlotProps>;
|
|
137
|
-
/**
|
|
138
|
-
* Overrides the `editSlot` prop of the Scheduler for the specified view only.
|
|
139
|
-
*/
|
|
140
|
-
editSlot?: React.ComponentType<SchedulerEditSlotProps>;
|
|
141
|
-
form?: React.ComponentType<SchedulerFormProps>;
|
|
142
|
-
/**
|
|
143
|
-
* If set to `false` the "current time" marker of the scheduler would not be displayed.
|
|
144
|
-
*/
|
|
145
|
-
currentTimeMarker?: boolean;
|
|
146
|
-
/**
|
|
147
|
-
* Represents component based on the DateHeaderCellProps.
|
|
148
|
-
*/
|
|
149
|
-
dateHeaderCell?: React.ComponentType<DateHeaderCellProps>;
|
|
150
|
-
/**
|
|
151
|
-
* Represents component based on the TimeHeaderCellProps.
|
|
152
|
-
*/
|
|
153
|
-
timeHeaderCell?: React.ComponentType<TimeHeaderCellProps>;
|
|
154
|
-
}
|
|
155
|
-
/**
|
|
156
|
-
* @hidden
|
|
157
|
-
*/
|
|
158
|
-
export declare const MultiDayTimelineView: React.FunctionComponent<MultiDayTimelineViewProps>;
|
|
159
|
-
/** @hidden */
|
|
160
|
-
export declare const multiDayTimelineViewDefaultProps: {
|
|
161
|
-
name: string;
|
|
162
|
-
title: string;
|
|
163
|
-
currentTimeMarker: boolean;
|
|
164
|
-
dateRange: ({ date, numberOfDays, timezone }: SchedulerViewDateRangeArgs) => DateRange;
|
|
165
|
-
selectedDateFormat: string;
|
|
166
|
-
selectedShortDateFormat: string;
|
|
167
|
-
step: number;
|
|
168
|
-
numberOfDays: number;
|
|
169
|
-
startTime: string;
|
|
170
|
-
endTime: string;
|
|
171
|
-
isWorkDayStart: string;
|
|
172
|
-
isWorkDayEnd: string;
|
|
173
|
-
workWeekStart: Day;
|
|
174
|
-
workWeekEnd: Day;
|
|
175
|
-
slotDivisions: number;
|
|
176
|
-
slotDuration: number;
|
|
177
|
-
defaultShowWorkHours: boolean;
|
|
178
|
-
columnWidth: number;
|
|
179
|
-
};
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as React from 'react';
|
|
6
|
-
import { MultiDayTimelineViewProps } from './MultiDayTimelineView';
|
|
7
|
-
/**
|
|
8
|
-
* Represents the properties of the KendoReact [TimelineView]({% slug api_scheduler_timelineview %}) Component.
|
|
9
|
-
*/
|
|
10
|
-
export interface TimelineViewProps extends MultiDayTimelineViewProps {
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* Represents the KendoReact [TimelineView]({% slug timeline_view_scheduler %}) Component.
|
|
14
|
-
*/
|
|
15
|
-
export declare const TimelineView: React.FunctionComponent<TimelineViewProps>;
|
|
16
|
-
/** @hidden */
|
|
17
|
-
export declare const timeLineViewDefaultProps: {
|
|
18
|
-
name: string;
|
|
19
|
-
title: (localization: any) => any;
|
|
20
|
-
step: number;
|
|
21
|
-
slotDuration: number;
|
|
22
|
-
slotDivisions: number;
|
|
23
|
-
numberOfDays: number;
|
|
24
|
-
selectedDateFormat: string;
|
|
25
|
-
selectedShortDateFormat: string;
|
|
26
|
-
currentTimeMarker: boolean;
|
|
27
|
-
dateRange: ({ date, numberOfDays, timezone }: import("../../models").SchedulerViewDateRangeArgs) => import("../../models").DateRange;
|
|
28
|
-
startTime: string;
|
|
29
|
-
endTime: string;
|
|
30
|
-
isWorkDayStart: string;
|
|
31
|
-
isWorkDayEnd: string;
|
|
32
|
-
workWeekStart: import("@progress/kendo-date-math").Day;
|
|
33
|
-
workWeekEnd: import("@progress/kendo-date-math").Day;
|
|
34
|
-
defaultShowWorkHours: boolean;
|
|
35
|
-
columnWidth: number;
|
|
36
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as React from 'react';
|
|
6
|
-
/** @hidden */
|
|
7
|
-
export interface TimelineViewAllEventsRowContentProps {
|
|
8
|
-
children?: React.ReactNode;
|
|
9
|
-
}
|
|
10
|
-
/** @hidden */
|
|
11
|
-
export declare const TimelineViewAllEventsRowContent: React.FunctionComponent<TimelineViewAllEventsRowContentProps>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as React from 'react';
|
|
6
|
-
/** @hidden */
|
|
7
|
-
export interface TimelineViewRowContentProps {
|
|
8
|
-
children?: React.ReactNode;
|
|
9
|
-
}
|
|
10
|
-
/** @hidden */
|
|
11
|
-
export declare const TimelineViewRowContent: React.FunctionComponent<TimelineViewRowContentProps>;
|
package/views/week/WeekView.d.ts
DELETED
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as React from 'react';
|
|
6
|
-
import { MultiDayViewProps } from '../day/MultiDayView';
|
|
7
|
-
import { Day } from '@progress/kendo-date-math';
|
|
8
|
-
import { SchedulerViewDateRangeArgs, DateRange } from '../../models';
|
|
9
|
-
/**
|
|
10
|
-
* Represents the properties of the KendoReact [WeekView]({% slug api_scheduler_weekview %}) Component.
|
|
11
|
-
*/
|
|
12
|
-
export interface WeekViewProps extends MultiDayViewProps {
|
|
13
|
-
/**
|
|
14
|
-
* The long-date format for displaying the
|
|
15
|
-
* selected date in the Scheduler toolbar.
|
|
16
|
-
* Defaults to `{0:D} - {1:D}`
|
|
17
|
-
* ([more information](https://www.github.com/telerik/kendo-intl/blob/develop/docs/date-formatting/index.md))
|
|
18
|
-
*/
|
|
19
|
-
selectedDateFormat?: string;
|
|
20
|
-
/**
|
|
21
|
-
* The short-date format for displaying the
|
|
22
|
-
* selected date in the Scheduler toolbar.
|
|
23
|
-
* Defaults to `{0:d} - {1-d}`
|
|
24
|
-
* ([more information](https://www.github.com/telerik/kendo-intl/blob/develop/docs/date-formatting/index.md))
|
|
25
|
-
*/
|
|
26
|
-
selectedShortDateFormat?: string;
|
|
27
|
-
/**
|
|
28
|
-
* Overrides the general `editable` prop of the Scheduler for the specified view only.
|
|
29
|
-
*/
|
|
30
|
-
editable?: boolean;
|
|
31
|
-
/**
|
|
32
|
-
* The start time of the view. The WeekView displays events which are visible after the start time.
|
|
33
|
-
* Accepts string values in the `HH:mm` format.
|
|
34
|
-
*/
|
|
35
|
-
startTime?: string;
|
|
36
|
-
/**
|
|
37
|
-
* The end time of the view. The WeekView displays events which are visible before the end time.
|
|
38
|
-
* Accepts string values in the `HH:mm` format.
|
|
39
|
-
*/
|
|
40
|
-
endTime?: string;
|
|
41
|
-
/**
|
|
42
|
-
* The start time of the view when `showWorkHours` is set to `true`.
|
|
43
|
-
* Accepts string values in the `HH:mm` format.
|
|
44
|
-
*/
|
|
45
|
-
workDayStart?: string;
|
|
46
|
-
/**
|
|
47
|
-
* The end time of the view when `showWorkHours` is set to `true`.
|
|
48
|
-
* Accepts string values in the `HH:mm` format.
|
|
49
|
-
*/
|
|
50
|
-
workDayEnd?: string;
|
|
51
|
-
/**
|
|
52
|
-
* The start of the work week.
|
|
53
|
-
*/
|
|
54
|
-
workWeekStart?: Day;
|
|
55
|
-
/**
|
|
56
|
-
* The end of the work week.
|
|
57
|
-
*/
|
|
58
|
-
workWeekEnd?: Day;
|
|
59
|
-
/**
|
|
60
|
-
* The number of divisions of the time slots.
|
|
61
|
-
*/
|
|
62
|
-
slotDivisions?: number;
|
|
63
|
-
/**
|
|
64
|
-
* The duration (in minutes) of the time slots.
|
|
65
|
-
*/
|
|
66
|
-
slotDuration?: number;
|
|
67
|
-
/**
|
|
68
|
-
* If set to `true`, the view will be shown in the business-hours mode only.
|
|
69
|
-
*
|
|
70
|
-
* This will always override the internal `showWorkHours` state.
|
|
71
|
-
*/
|
|
72
|
-
showWorkHours?: boolean;
|
|
73
|
-
/**
|
|
74
|
-
* Sets the initial business-hour mode. Default `true`.
|
|
75
|
-
*
|
|
76
|
-
* This option applies only the initial `showWorkHours` state.
|
|
77
|
-
*/
|
|
78
|
-
defaultShowWorkHours?: boolean;
|
|
79
|
-
/**
|
|
80
|
-
* Sets a custom `className` to the wrapping element of the `DayView`.
|
|
81
|
-
*/
|
|
82
|
-
className?: string;
|
|
83
|
-
/**
|
|
84
|
-
* Sets a custom `id` to the wrapping element of the `DayView`.
|
|
85
|
-
*/
|
|
86
|
-
id?: string;
|
|
87
|
-
/**
|
|
88
|
-
* Sets a custom `style` property to the wrapping element of the `DayView`.
|
|
89
|
-
*/
|
|
90
|
-
style?: React.CSSProperties;
|
|
91
|
-
}
|
|
92
|
-
/**
|
|
93
|
-
* Represents the KendoReact [WeekView]({% slug week_views_scheduler %}) Component.
|
|
94
|
-
*/
|
|
95
|
-
export declare const WeekView: React.FunctionComponent<WeekViewProps>;
|
|
96
|
-
/** @hidden */
|
|
97
|
-
export declare const weekViewDefaultProps: {
|
|
98
|
-
name: string;
|
|
99
|
-
slotDuration: number;
|
|
100
|
-
slotDivisions: number;
|
|
101
|
-
numberOfDays: number;
|
|
102
|
-
dateRange: ({ intl, date, timezone }: SchedulerViewDateRangeArgs) => DateRange;
|
|
103
|
-
title: (localization: any) => any;
|
|
104
|
-
selectedDateFormat: string;
|
|
105
|
-
selectedShortDateFormat: string;
|
|
106
|
-
};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as React from 'react';
|
|
6
|
-
import { WeekViewProps } from './WeekView';
|
|
7
|
-
import { Day } from '@progress/kendo-date-math';
|
|
8
|
-
import { DateRange, SchedulerViewDateRangeArgs } from '../../models';
|
|
9
|
-
export interface WorkWeekViewProps extends WeekViewProps {
|
|
10
|
-
}
|
|
11
|
-
export declare const WorkWeekView: React.FunctionComponent<WorkWeekViewProps>;
|
|
12
|
-
/** @hidden */
|
|
13
|
-
export declare const workWeekDefaultProps: {
|
|
14
|
-
name: string;
|
|
15
|
-
slotDuration: number;
|
|
16
|
-
slotDivisions: number;
|
|
17
|
-
numberOfDays: number;
|
|
18
|
-
dateRange: ({ intl, date, timezone, ...other }: SchedulerViewDateRangeArgs) => DateRange;
|
|
19
|
-
title: (localization: any) => any;
|
|
20
|
-
workWeekStart: Day;
|
|
21
|
-
workWeekEnd: Day;
|
|
22
|
-
selectedDateFormat: string;
|
|
23
|
-
selectedShortDateFormat: string;
|
|
24
|
-
};
|