@progress/kendo-react-scheduler 7.2.4-develop.2 → 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,96 +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 { SchedulerViewProps, DateRange, SchedulerViewDateRangeArgs, EditableProp } from '../../models';
|
|
7
|
-
import { LocalizationService } from '@progress/kendo-react-intl';
|
|
8
|
-
import { SchedulerSlotProps } from '../../slots/SchedulerSlot';
|
|
9
|
-
import { SchedulerTaskProps } from '../../tasks/SchedulerTask';
|
|
10
|
-
import { SchedulerViewSlotProps } from '../../slots/SchedulerViewSlot';
|
|
11
|
-
import { SchedulerEditSlotProps } from '../../slots/SchedulerEditSlot';
|
|
12
|
-
/**
|
|
13
|
-
* Represents the properties of the KendoReact [AgendaView]({% slug api_scheduler_agendaview %}) Component.
|
|
14
|
-
*/
|
|
15
|
-
export interface AgendaViewProps extends SchedulerViewProps {
|
|
16
|
-
/**
|
|
17
|
-
* The number of steps (in days) to change, when using the back and forwards buttons in the toolbar navigation.
|
|
18
|
-
* The default value is 7 days.
|
|
19
|
-
*/
|
|
20
|
-
step?: number;
|
|
21
|
-
/**
|
|
22
|
-
* Specifies the number of days that the view will render.
|
|
23
|
-
* Defaults to `7`.
|
|
24
|
-
*/
|
|
25
|
-
numberOfDays?: number;
|
|
26
|
-
/**
|
|
27
|
-
* The long-date format for displaying the
|
|
28
|
-
* selected date in the Scheduler toolbar.
|
|
29
|
-
* Defaults to `{0:D} - {1:D}`
|
|
30
|
-
* ([more information](https://www.github.com/telerik/kendo-intl/blob/develop/docs/date-formatting/index.md))
|
|
31
|
-
*/
|
|
32
|
-
selectedDateFormat?: string;
|
|
33
|
-
/**
|
|
34
|
-
* The short-date format for displaying the
|
|
35
|
-
* selected date in the Scheduler toolbar.
|
|
36
|
-
* Defaults to `{0:d} - {1-d}`
|
|
37
|
-
* ([more information](https://www.github.com/telerik/kendo-intl/blob/develop/docs/date-formatting/index.md))
|
|
38
|
-
*/
|
|
39
|
-
selectedShortDateFormat?: string;
|
|
40
|
-
/**
|
|
41
|
-
* Sets a custom `className` to the wrapping element of the `AgendaView`.
|
|
42
|
-
*/
|
|
43
|
-
className?: string;
|
|
44
|
-
/**
|
|
45
|
-
* Sets a custom `id` to the wrapping element of the `AgendaView`.
|
|
46
|
-
*/
|
|
47
|
-
id?: string;
|
|
48
|
-
/**
|
|
49
|
-
* Sets a custom `style` property to the wrapping element of the `AgendaView`.
|
|
50
|
-
*/
|
|
51
|
-
style?: React.CSSProperties;
|
|
52
|
-
/**
|
|
53
|
-
* Overrides the general `editable` prop of the Scheduler for the specified view only.
|
|
54
|
-
*/
|
|
55
|
-
editable?: EditableProp;
|
|
56
|
-
/**
|
|
57
|
-
* Overrides the `task` prop of the Scheduler for the specified view only.
|
|
58
|
-
*/
|
|
59
|
-
task?: React.ComponentType<SchedulerTaskProps>;
|
|
60
|
-
/**
|
|
61
|
-
* Overrides the `viewTask` prop of the Scheduler for the specified view only.
|
|
62
|
-
*/
|
|
63
|
-
viewTask?: React.ComponentType<SchedulerTaskProps>;
|
|
64
|
-
/**
|
|
65
|
-
* Overrides the `editTask` prop of the Scheduler for the specified view only.
|
|
66
|
-
*/
|
|
67
|
-
editTask?: React.ComponentType<SchedulerTaskProps>;
|
|
68
|
-
/**
|
|
69
|
-
* Overrides the `slot` prop of the Scheduler for the specified view only.
|
|
70
|
-
*/
|
|
71
|
-
slot?: React.ComponentType<SchedulerSlotProps>;
|
|
72
|
-
/**
|
|
73
|
-
* Overrides the `viewSlot` prop of the Scheduler for the specified view only.
|
|
74
|
-
*/
|
|
75
|
-
viewSlot?: React.ComponentType<SchedulerViewSlotProps>;
|
|
76
|
-
/**
|
|
77
|
-
* Overrides the `editSlot` prop of the Scheduler for the specified view only.
|
|
78
|
-
*/
|
|
79
|
-
editSlot?: React.ComponentType<SchedulerEditSlotProps>;
|
|
80
|
-
}
|
|
81
|
-
/**
|
|
82
|
-
* Represents the KendoReact [AgendaView]({% slug agenda_view_scheduler %}) Component.
|
|
83
|
-
*/
|
|
84
|
-
export declare const AgendaView: React.FunctionComponent<AgendaViewProps>;
|
|
85
|
-
/** @hidden */
|
|
86
|
-
export declare const agendaViewDefaultProps: {
|
|
87
|
-
name: string;
|
|
88
|
-
title: (localization: LocalizationService) => string;
|
|
89
|
-
dateRange: ({ intl, date, numberOfDays, timezone }: SchedulerViewDateRangeArgs) => DateRange;
|
|
90
|
-
selectedDateFormat: string;
|
|
91
|
-
selectedShortDateFormat: string;
|
|
92
|
-
slotDuration: number;
|
|
93
|
-
slotDivision: number;
|
|
94
|
-
step: number;
|
|
95
|
-
numberOfDays: number;
|
|
96
|
-
};
|
|
@@ -1,30 +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 { SchedulerResource, SchedulerGroup } from '../../models';
|
|
7
|
-
/** @hidden */
|
|
8
|
-
export interface HorizontalResourceIteratorProps {
|
|
9
|
-
group?: SchedulerGroup;
|
|
10
|
-
resources?: SchedulerResource[];
|
|
11
|
-
nested?: boolean;
|
|
12
|
-
children: React.ReactNode;
|
|
13
|
-
rowContent?: React.ComponentType<any>;
|
|
14
|
-
childRowContent?: React.ComponentType<any>;
|
|
15
|
-
rowContentProps?: any;
|
|
16
|
-
}
|
|
17
|
-
/** @hidden */
|
|
18
|
-
export interface RenderResourcesArgs {
|
|
19
|
-
resources: any[];
|
|
20
|
-
nested: boolean;
|
|
21
|
-
children: React.ReactNode;
|
|
22
|
-
groupIndex: number;
|
|
23
|
-
rowContent: React.ComponentType<any>;
|
|
24
|
-
childRowContent: React.ComponentType<any>;
|
|
25
|
-
rowContentProps?: React.ComponentType<any>;
|
|
26
|
-
}
|
|
27
|
-
/** @hidden */
|
|
28
|
-
export declare const HorizontalResourceIterator: React.FunctionComponent<HorizontalResourceIteratorProps>;
|
|
29
|
-
/** @hidden */
|
|
30
|
-
export declare const DefaultRowContent: (props: any) => any;
|
|
@@ -1,43 +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 { DataItem } from '../../models';
|
|
7
|
-
import { SchedulerItemProps } from '../../items/SchedulerItem';
|
|
8
|
-
import { SchedulerViewItemProps } from '../../items/SchedulerViewItem';
|
|
9
|
-
/**
|
|
10
|
-
* Represents the props of the KendoReact [SchedulerDrag] component.
|
|
11
|
-
*/
|
|
12
|
-
export interface SchedulerDragProps {
|
|
13
|
-
/** @hidden */
|
|
14
|
-
ignoreIsAllDay?: boolean;
|
|
15
|
-
/**
|
|
16
|
-
* Specifies the `DataItem` to be visualized as a Drag item.
|
|
17
|
-
*/
|
|
18
|
-
dataItem: DataItem;
|
|
19
|
-
/**
|
|
20
|
-
* Specifies the orientation of the SchedulerItem inside the Drag.
|
|
21
|
-
*/
|
|
22
|
-
vertical?: boolean;
|
|
23
|
-
/**
|
|
24
|
-
* Overrides the default component responsible for visualizing a single item.
|
|
25
|
-
*
|
|
26
|
-
* The default Component is: [SchedulerItem].
|
|
27
|
-
*/
|
|
28
|
-
item?: React.ComponentType<SchedulerItemProps>;
|
|
29
|
-
/**
|
|
30
|
-
* Overrides the default component responsible for positioning the item inside the view.
|
|
31
|
-
*
|
|
32
|
-
* The default Component is: [SchedulerViewItem]().
|
|
33
|
-
*/
|
|
34
|
-
viewItem?: React.ComponentType<SchedulerViewItemProps>;
|
|
35
|
-
}
|
|
36
|
-
/**
|
|
37
|
-
* Represents the default `drag` component rendered by the [KendoReact SchedulerEditItem component].
|
|
38
|
-
*/
|
|
39
|
-
export declare const SchedulerDrag: React.FunctionComponent<SchedulerDragProps>;
|
|
40
|
-
export declare const schedulerDragDefaultProps: {
|
|
41
|
-
viewItem: React.ForwardRefExoticComponent<SchedulerViewItemProps & React.RefAttributes<import("../../items/SchedulerViewItem").SchedulerViewItemHandle>>;
|
|
42
|
-
item: React.ForwardRefExoticComponent<SchedulerItemProps & React.RefAttributes<import("../../items/SchedulerItem").SchedulerItemHandle>>;
|
|
43
|
-
};
|
|
@@ -1,45 +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 { DataItem } from '../../models';
|
|
7
|
-
import { SchedulerItemProps } from '../../items/SchedulerItem';
|
|
8
|
-
import { SchedulerViewItemProps } from '../../items/SchedulerViewItem';
|
|
9
|
-
/**
|
|
10
|
-
* Represents the props of the KendoReact [SchedulerResize]() component.
|
|
11
|
-
*/
|
|
12
|
-
export interface SchedulerResizeProps {
|
|
13
|
-
/** @hidden */
|
|
14
|
-
format?: string;
|
|
15
|
-
/** @hidden */
|
|
16
|
-
ignoreIsAllDay?: boolean;
|
|
17
|
-
/**
|
|
18
|
-
* Specifies the `DataItem` to be visualized as a Resize item.
|
|
19
|
-
*/
|
|
20
|
-
dataItem: DataItem;
|
|
21
|
-
/**
|
|
22
|
-
* Specifies the orientation of the SchedulerItem inside the Drag.
|
|
23
|
-
*/
|
|
24
|
-
vertical?: boolean;
|
|
25
|
-
/**
|
|
26
|
-
* Overrides the default component responsible for visualizing a single item.
|
|
27
|
-
*
|
|
28
|
-
* The default Component is: [SchedulerItem].
|
|
29
|
-
*/
|
|
30
|
-
item?: React.ComponentType<SchedulerItemProps>;
|
|
31
|
-
/**
|
|
32
|
-
* Overrides the default component responsible for positioning the item inside the view.
|
|
33
|
-
*
|
|
34
|
-
* The default Component is: [SchedulerViewItem]().
|
|
35
|
-
*/
|
|
36
|
-
viewItem?: React.ComponentType<SchedulerViewItemProps>;
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
* Represents the default `resize` component rendered by the [KendoReact SchedulerEditItem component]().
|
|
40
|
-
*/
|
|
41
|
-
export declare const SchedulerResize: React.FunctionComponent<SchedulerResizeProps>;
|
|
42
|
-
export declare const schedulerResizeDefaultProps: {
|
|
43
|
-
viewItem: React.ForwardRefExoticComponent<SchedulerViewItemProps & React.RefAttributes<import("../../items/SchedulerViewItem").SchedulerViewItemHandle>>;
|
|
44
|
-
item: React.ForwardRefExoticComponent<SchedulerItemProps & React.RefAttributes<import("../../items/SchedulerItem").SchedulerItemHandle>>;
|
|
45
|
-
};
|
|
@@ -1,25 +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 { SchedulerResource, SchedulerGroup } from '../../models';
|
|
7
|
-
/** @hidden */
|
|
8
|
-
export interface VerticalResourceIteratorProps {
|
|
9
|
-
group?: SchedulerGroup;
|
|
10
|
-
resources?: SchedulerResource[];
|
|
11
|
-
nested?: boolean;
|
|
12
|
-
wrapGroup?: boolean;
|
|
13
|
-
children?: React.ReactNode;
|
|
14
|
-
cellContent?: React.ReactNode;
|
|
15
|
-
}
|
|
16
|
-
/** @hidden */
|
|
17
|
-
export interface RenderResourcesArgs {
|
|
18
|
-
resources: any[];
|
|
19
|
-
children: React.ReactNode;
|
|
20
|
-
cellContent: React.ReactNode;
|
|
21
|
-
depth: number;
|
|
22
|
-
groupIndex: number;
|
|
23
|
-
}
|
|
24
|
-
/** @hidden */
|
|
25
|
-
export declare const VerticalResourceIterator: React.FunctionComponent<VerticalResourceIteratorProps>;
|
package/views/common/utils.d.ts
DELETED
|
@@ -1,38 +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 { Rect, SchedulerGroup, OptionalRect, Slot } from '../../models';
|
|
6
|
-
import { SchedulerResource } from '../../models/SchedulerResource';
|
|
7
|
-
/** @hidden */
|
|
8
|
-
export declare const last: (arr: any[]) => any;
|
|
9
|
-
/** @hidden */
|
|
10
|
-
export declare const toFlatGroupResources: (resources: SchedulerResource[], index?: number, depth?: number, parents?: any) => any[];
|
|
11
|
-
/** @hidden */
|
|
12
|
-
export declare const calculateEventRect: (slots: Slot[], vertical: any) => Rect | null;
|
|
13
|
-
/**
|
|
14
|
-
* @hidden
|
|
15
|
-
*/
|
|
16
|
-
export declare function toGroupResources(group?: SchedulerGroup, resources?: SchedulerResource[]): any[];
|
|
17
|
-
/**
|
|
18
|
-
* @hidden
|
|
19
|
-
* TODO Move to date-math
|
|
20
|
-
*/
|
|
21
|
-
export declare function addUTCDays(date: Date, offset: number): Date;
|
|
22
|
-
/**
|
|
23
|
-
* @hidden
|
|
24
|
-
* ResourceIterator:
|
|
25
|
-
*/
|
|
26
|
-
export declare const expandResources: (resources: any[], lastIndex?: number) => any[];
|
|
27
|
-
/**
|
|
28
|
-
* @hidden
|
|
29
|
-
*/
|
|
30
|
-
export declare const resourcesByIndex: (index: number, taskResources: any[], spans: any[]) => any[];
|
|
31
|
-
/** @hidden */
|
|
32
|
-
export declare const getRect: (el: HTMLElement | null) => Rect;
|
|
33
|
-
/** @hidden */
|
|
34
|
-
export declare const getPadding: (el: HTMLElement, horizontal?: boolean) => number;
|
|
35
|
-
/** @hidden */
|
|
36
|
-
export declare const getBorders: (el: HTMLElement, horizontal?: boolean) => number;
|
|
37
|
-
/** @hidden */
|
|
38
|
-
export declare const setRect: (el: HTMLElement | null, rect: OptionalRect, minHeightInsteadOfHeight?: boolean) => void;
|
package/views/day/DayView.d.ts
DELETED
|
@@ -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 { MultiDayViewProps } from '../day/MultiDayView';
|
|
7
|
-
/**
|
|
8
|
-
* Represents the properties of the [DayView]({% slug api_scheduler_dayviewprops %}) Component.
|
|
9
|
-
*/
|
|
10
|
-
export interface DayViewProps extends MultiDayViewProps {
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* Represents the KendoReact [DayView]({% slug day_view_scheduler %}) Component.
|
|
14
|
-
*/
|
|
15
|
-
export declare const DayView: React.FunctionComponent<DayViewProps>;
|
|
16
|
-
/** @hidden */
|
|
17
|
-
export declare const dayViewDefaultProps: {
|
|
18
|
-
name: string;
|
|
19
|
-
title: (localization: any) => any;
|
|
20
|
-
step: number;
|
|
21
|
-
numberOfDays: number;
|
|
22
|
-
slotDuration: number;
|
|
23
|
-
slotDivisions: 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
|
-
showCurrentTime: boolean;
|
|
35
|
-
defaultShowWorkHours: boolean;
|
|
36
|
-
};
|
|
@@ -1,12 +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 DayViewAllDayRowContentProps {
|
|
8
|
-
children?: React.ReactNode;
|
|
9
|
-
groupIndex?: number;
|
|
10
|
-
}
|
|
11
|
-
/** @hidden */
|
|
12
|
-
export declare const DayViewAllDayRowContent: (props: DayViewAllDayRowContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,12 +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 DayViewGroupRowContentArgs {
|
|
8
|
-
children?: React.ReactNode;
|
|
9
|
-
rangeIndex: number;
|
|
10
|
-
}
|
|
11
|
-
/** @hidden */
|
|
12
|
-
export declare const DayViewGroupRowContent: React.FunctionComponent<DayViewGroupRowContentArgs>;
|
|
@@ -1,17 +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 { Slot } from '../../models';
|
|
7
|
-
import { TimeHeaderCellProps } from '../../components/TimeHeaderCell';
|
|
8
|
-
/** @hidden */
|
|
9
|
-
export interface DayViewRowContentArgs {
|
|
10
|
-
children?: React.ReactNode;
|
|
11
|
-
slot: Slot;
|
|
12
|
-
isMaster?: boolean;
|
|
13
|
-
isLast?: boolean;
|
|
14
|
-
timeHeaderCell?: React.ComponentType<TimeHeaderCellProps>;
|
|
15
|
-
}
|
|
16
|
-
/** @hidden */
|
|
17
|
-
export declare const DayViewRowContent: (props: DayViewRowContentArgs) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,175 +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 { Day } from '@progress/kendo-date-math';
|
|
7
|
-
import { DateRange, SchedulerViewProps, SchedulerViewDateRangeArgs } from '../../models';
|
|
8
|
-
import { SchedulerItemProps } from '../../items/SchedulerItem';
|
|
9
|
-
import { SchedulerSlotProps } from '../../slots/SchedulerSlot';
|
|
10
|
-
import { SchedulerViewItemProps } from '../../items/SchedulerViewItem';
|
|
11
|
-
import { SchedulerViewSlotProps } from '../../slots/SchedulerViewSlot';
|
|
12
|
-
import { SchedulerEditSlotProps } from '../../slots/SchedulerEditSlot';
|
|
13
|
-
import { SchedulerEditItemProps } from '../../items/SchedulerEditItem';
|
|
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 MultiDayViewProps extends SchedulerViewProps {
|
|
21
|
-
/**
|
|
22
|
-
* The long-date format for displaying the
|
|
23
|
-
* selected date in the Scheduler toolbar.
|
|
24
|
-
* Defaults to `{0:D} - {1:D}`
|
|
25
|
-
* ([more information](https://www.github.com/telerik/kendo-intl/blob/develop/docs/date-formatting/index.md))
|
|
26
|
-
*/
|
|
27
|
-
selectedDateFormat?: string;
|
|
28
|
-
/**
|
|
29
|
-
* The short-date format for displaying the
|
|
30
|
-
* selected date in the Scheduler toolbar.
|
|
31
|
-
* Defaults to `{0:d} - {1-d}`
|
|
32
|
-
* ([more information](https://www.github.com/telerik/kendo-intl/blob/develop/docs/date-formatting/index.md))
|
|
33
|
-
*/
|
|
34
|
-
selectedShortDateFormat?: string;
|
|
35
|
-
/**
|
|
36
|
-
* Overrides the general `editable` prop of the Scheduler for the specified view only.
|
|
37
|
-
*/
|
|
38
|
-
editable?: boolean;
|
|
39
|
-
/**
|
|
40
|
-
* Specifies the number of days that the view will render.
|
|
41
|
-
* Defaults to `1`.
|
|
42
|
-
*/
|
|
43
|
-
numberOfDays?: number;
|
|
44
|
-
/**
|
|
45
|
-
* The start time of the view. The MultiDayView displays events which are visible after the start time.
|
|
46
|
-
* Accepts string values in the `HH:mm` format.
|
|
47
|
-
*/
|
|
48
|
-
startTime?: string;
|
|
49
|
-
/**
|
|
50
|
-
* The end time of the view. The MultiDayView displays events which are visible before the end time.
|
|
51
|
-
* Accepts string values in the `HH:mm` format.
|
|
52
|
-
*/
|
|
53
|
-
endTime?: string;
|
|
54
|
-
/**
|
|
55
|
-
* The number of steps (in days) to change, when using the back and forwards buttons in the toolbar navigation.
|
|
56
|
-
* The default value is 1 days.
|
|
57
|
-
*/
|
|
58
|
-
step?: number;
|
|
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
|
-
* If set to `true`, the view will be shown in the business-hours mode only.
|
|
91
|
-
*
|
|
92
|
-
* This will always override the internal `showWorkHours` state.
|
|
93
|
-
*/
|
|
94
|
-
showWorkHours?: boolean;
|
|
95
|
-
/**
|
|
96
|
-
* Sets the initial business-hour mode. Default `true`.
|
|
97
|
-
*
|
|
98
|
-
* This option applies only the initial `showWorkHours` state.
|
|
99
|
-
*/
|
|
100
|
-
defaultShowWorkHours?: boolean;
|
|
101
|
-
/**
|
|
102
|
-
* Sets a custom `className` to the wrapping element of the `DayView`.
|
|
103
|
-
*/
|
|
104
|
-
className?: string;
|
|
105
|
-
/**
|
|
106
|
-
* Sets a custom `id` to the wrapping element of the `DayView`.
|
|
107
|
-
*/
|
|
108
|
-
id?: string;
|
|
109
|
-
/**
|
|
110
|
-
* Sets a custom `style` property to the wrapping element of the `DayView`.
|
|
111
|
-
*/
|
|
112
|
-
style?: React.CSSProperties;
|
|
113
|
-
/**
|
|
114
|
-
* Overrides the `item` prop of the Scheduler for the specified view only.
|
|
115
|
-
*/
|
|
116
|
-
item?: React.ComponentType<SchedulerItemProps>;
|
|
117
|
-
/**
|
|
118
|
-
* Overrides the `viewItem` prop of the Scheduler for the specified view only.
|
|
119
|
-
*/
|
|
120
|
-
viewItem?: React.ComponentType<SchedulerViewItemProps>;
|
|
121
|
-
/**
|
|
122
|
-
* Overrides the `editableItem` prop of the Scheduler for the specified view only.
|
|
123
|
-
*/
|
|
124
|
-
editItem?: React.ComponentType<SchedulerEditItemProps>;
|
|
125
|
-
/**
|
|
126
|
-
* Overrides the `slot` prop of the Scheduler for the specified view only.
|
|
127
|
-
*/
|
|
128
|
-
slot?: React.ComponentType<SchedulerSlotProps>;
|
|
129
|
-
/**
|
|
130
|
-
* Overrides the `viewSlot` prop of the Scheduler for the specified view only.
|
|
131
|
-
*/
|
|
132
|
-
viewSlot?: React.ComponentType<SchedulerViewSlotProps>;
|
|
133
|
-
/**
|
|
134
|
-
* Overrides the `editSlot` prop of the Scheduler for the specified view only.
|
|
135
|
-
*/
|
|
136
|
-
editSlot?: React.ComponentType<SchedulerEditSlotProps>;
|
|
137
|
-
form?: React.ComponentType<SchedulerFormProps>;
|
|
138
|
-
/**
|
|
139
|
-
* If set to `false` the "current time" marker of the scheduler would not be displayed.
|
|
140
|
-
*/
|
|
141
|
-
currentTimeMarker?: boolean;
|
|
142
|
-
/**
|
|
143
|
-
* Represents component based on the DateHeaderCellProps.
|
|
144
|
-
*/
|
|
145
|
-
dateHeaderCell?: React.ComponentType<DateHeaderCellProps>;
|
|
146
|
-
/**
|
|
147
|
-
* Represents component based on the TimeHeaderCellProps.
|
|
148
|
-
*/
|
|
149
|
-
timeHeaderCell?: React.ComponentType<TimeHeaderCellProps>;
|
|
150
|
-
}
|
|
151
|
-
/**
|
|
152
|
-
* @hidden
|
|
153
|
-
*/
|
|
154
|
-
export declare const MultiDayView: React.FunctionComponent<MultiDayViewProps>;
|
|
155
|
-
/** @hidden */
|
|
156
|
-
export declare const multiDayViewDefaultProps: {
|
|
157
|
-
name: string;
|
|
158
|
-
title: string;
|
|
159
|
-
currentTimeMarker: boolean;
|
|
160
|
-
dateRange: ({ date, numberOfDays, timezone }: SchedulerViewDateRangeArgs) => DateRange;
|
|
161
|
-
selectedDateFormat: string;
|
|
162
|
-
selectedShortDateFormat: string;
|
|
163
|
-
numberOfDays: number;
|
|
164
|
-
startTime: string;
|
|
165
|
-
endTime: string;
|
|
166
|
-
isWorkDayStart: string;
|
|
167
|
-
isWorkDayEnd: string;
|
|
168
|
-
workWeekStart: Day;
|
|
169
|
-
workWeekEnd: Day;
|
|
170
|
-
step: number;
|
|
171
|
-
slotDivisions: number;
|
|
172
|
-
slotDuration: number;
|
|
173
|
-
showCurrentTime: boolean;
|
|
174
|
-
defaultShowWorkHours: boolean;
|
|
175
|
-
};
|
|
@@ -1,98 +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, SchedulerViewDateRangeArgs } from '../../models';
|
|
7
|
-
import { SchedulerEditSlotProps } from '../../slots/SchedulerEditSlot';
|
|
8
|
-
import { SchedulerItemProps } from '../../items/SchedulerItem';
|
|
9
|
-
import { SchedulerViewItemProps } from '../../items/SchedulerViewItem';
|
|
10
|
-
import { SchedulerEditItemProps } from '../../items/SchedulerEditItem';
|
|
11
|
-
import { SchedulerSlotProps } from '../../slots/SchedulerSlot';
|
|
12
|
-
import { SchedulerViewSlotProps } from '../../slots/SchedulerViewSlot';
|
|
13
|
-
import { DateHeaderCellProps } from '../../components/DateHeaderCell';
|
|
14
|
-
import { SchedulerFormProps } from '../../components/SchedulerForm';
|
|
15
|
-
/**
|
|
16
|
-
* Represents the props of the KendoReact [MonthView]({% slug api_scheduler_monthview %}) Component.
|
|
17
|
-
*/
|
|
18
|
-
export interface MonthViewProps extends SchedulerViewProps {
|
|
19
|
-
/**
|
|
20
|
-
* Sets the maximum number of `items` to be rendered in a single `slot`, before adding the `show-more` button.
|
|
21
|
-
*/
|
|
22
|
-
itemsPerSlot?: number;
|
|
23
|
-
/**
|
|
24
|
-
* The long-date format for displaying the
|
|
25
|
-
* selected date in the Scheduler toolbar.
|
|
26
|
-
* Defaults to `{0:Y}`
|
|
27
|
-
* ([more information](https://www.github.com/telerik/kendo-intl/blob/develop/docs/date-formatting/index.md))
|
|
28
|
-
*/
|
|
29
|
-
selectedDateFormat?: string;
|
|
30
|
-
/**
|
|
31
|
-
* The short-date format for displaying the
|
|
32
|
-
* selected date in the Scheduler toolbar.
|
|
33
|
-
* Defaults to `{0:Y}`
|
|
34
|
-
* ([more information](https://www.github.com/telerik/kendo-intl/blob/develop/docs/date-formatting/index.md))
|
|
35
|
-
*/
|
|
36
|
-
selectedShortDateFormat?: string;
|
|
37
|
-
/**
|
|
38
|
-
* Overrides the general `editable` prop of the Scheduler for the specified view only.
|
|
39
|
-
*/
|
|
40
|
-
editable?: boolean;
|
|
41
|
-
/**
|
|
42
|
-
* Sets a custom `className` to the wrapping element of the `DayView`.
|
|
43
|
-
*/
|
|
44
|
-
className?: string;
|
|
45
|
-
/**
|
|
46
|
-
* Sets a custom `id` to the wrapping element of the `DayView`.
|
|
47
|
-
*/
|
|
48
|
-
id?: string;
|
|
49
|
-
/**
|
|
50
|
-
* Sets a custom `style` property to the wrapping element of the `DayView`.
|
|
51
|
-
*/
|
|
52
|
-
style?: React.CSSProperties;
|
|
53
|
-
/**
|
|
54
|
-
* Overrides the `item` prop of the Scheduler for the specified view only.
|
|
55
|
-
*/
|
|
56
|
-
item?: React.ComponentType<SchedulerItemProps>;
|
|
57
|
-
/**
|
|
58
|
-
* Overrides the `viewItem` prop of the Scheduler for the specified view only.
|
|
59
|
-
*/
|
|
60
|
-
viewItem?: React.ComponentType<SchedulerViewItemProps>;
|
|
61
|
-
/**
|
|
62
|
-
* Overrides the `editableItem` prop of the Scheduler for the specified view only.
|
|
63
|
-
*/
|
|
64
|
-
editItem?: React.ComponentType<SchedulerEditItemProps>;
|
|
65
|
-
/**
|
|
66
|
-
* Overrides the `slot` prop of the Scheduler for the specified view only.
|
|
67
|
-
*/
|
|
68
|
-
slot?: React.ComponentType<SchedulerSlotProps>;
|
|
69
|
-
/**
|
|
70
|
-
* Overrides the `viewSlot` prop of the Scheduler for the specified view only.
|
|
71
|
-
*/
|
|
72
|
-
viewSlot?: React.ComponentType<SchedulerViewSlotProps>;
|
|
73
|
-
/**
|
|
74
|
-
* Overrides the `editSlot` prop of the Scheduler for the specified view only.
|
|
75
|
-
*/
|
|
76
|
-
editSlot?: React.ComponentType<SchedulerEditSlotProps>;
|
|
77
|
-
/**
|
|
78
|
-
* Represents component based on the DateHeaderCellProps.
|
|
79
|
-
*/
|
|
80
|
-
dateHeaderCell?: React.ComponentType<DateHeaderCellProps>;
|
|
81
|
-
form?: React.ComponentType<SchedulerFormProps>;
|
|
82
|
-
}
|
|
83
|
-
/**
|
|
84
|
-
* Represents the KendoReact [MonthView]({% slug month_view_scheduler %}) Component.
|
|
85
|
-
*/
|
|
86
|
-
export declare const MonthView: React.FunctionComponent<MonthViewProps>;
|
|
87
|
-
/** @hidden */
|
|
88
|
-
export declare const monthViewDefaultProps: {
|
|
89
|
-
name: string;
|
|
90
|
-
dateRange: ({ intl, date, timezone }: SchedulerViewDateRangeArgs) => DateRange;
|
|
91
|
-
slotDuration: number;
|
|
92
|
-
slotDivision: number;
|
|
93
|
-
itemsPerSlot: number;
|
|
94
|
-
numberOfDays: number;
|
|
95
|
-
title: (localization: any) => any;
|
|
96
|
-
selectedDateFormat: string;
|
|
97
|
-
selectedShortDateFormat: string;
|
|
98
|
-
};
|