@progress/kendo-react-scheduler 7.0.0-develop.1 → 7.0.0-develop.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (126) hide show
  1. package/Scheduler.d.ts +362 -0
  2. package/components/BaseView.d.ts +22 -0
  3. package/components/CurrentTimeMarket.d.ts +19 -0
  4. package/components/DateHeaderCell.d.ts +46 -0
  5. package/components/SchedulerForm.d.ts +71 -0
  6. package/components/SchedulerOccurrenceDialog.d.ts +46 -0
  7. package/components/SchedulerRemoveDialog.d.ts +42 -0
  8. package/components/ShowMoreItemsButton.d.ts +30 -0
  9. package/components/TimeHeaderCell.d.ts +46 -0
  10. package/components/footer/SchedulerFooter.d.ts +25 -0
  11. package/components/footer/bussiness-hours/BussinessHours.d.ts +17 -0
  12. package/components/header/SchedulerHeader.d.ts +22 -0
  13. package/components/header/navigation/NavigationDatePicker.d.ts +9 -0
  14. package/components/header/navigation/SchedulerNavigation.d.ts +28 -0
  15. package/components/header/view-selector/SchedulerViewSelector.d.ts +28 -0
  16. package/components/header/view-selector/ViewSelectorItem.d.ts +12 -0
  17. package/components/header/view-selector/ViewSelectorList.d.ts +7 -0
  18. package/constants/index.d.ts +58 -0
  19. package/context/SchedulerContext.d.ts +231 -0
  20. package/context/SchedulerEditItemContext.d.ts +172 -0
  21. package/context/SchedulerEditSlotContext.d.ts +51 -0
  22. package/context/SchedulerEditTaskContext.d.ts +33 -0
  23. package/context/SchedulerResourceIteratorContext.d.ts +20 -0
  24. package/context/SchedulerViewContext.d.ts +76 -0
  25. package/context/index.d.ts +9 -0
  26. package/dist/cdn/js/kendo-react-scheduler.js +5 -0
  27. package/editors/FilterableComboBox.d.ts +8 -0
  28. package/editors/ResourceEditor.d.ts +18 -0
  29. package/editors/SchedulerFormEditor.d.ts +246 -0
  30. package/editors/ZonedDateTime.d.ts +22 -0
  31. package/hooks/index.d.ts +14 -0
  32. package/hooks/use-items-focus.d.ts +27 -0
  33. package/hooks/use-items-selection.d.ts +35 -0
  34. package/hooks/use-slots-focus.d.ts +38 -0
  35. package/hooks/use-slots-selection.d.ts +28 -0
  36. package/hooks/useAsyncMouseEnterLeave.d.ts +15 -0
  37. package/hooks/useCellSync.d.ts +14 -0
  38. package/hooks/useControlledState.d.ts +17 -0
  39. package/hooks/useEditable.d.ts +7 -0
  40. package/hooks/usePropOrState.d.ts +6 -0
  41. package/hooks/useRowSync.d.ts +15 -0
  42. package/hooks/useSchedulerItem.d.ts +11 -0
  43. package/hooks/useSchedulerSlot.d.ts +11 -0
  44. package/hooks/useSlotExpand.d.ts +9 -0
  45. package/hooks/useWorkHours.d.ts +6 -0
  46. package/index.d.ts +45 -0
  47. package/index.js +5 -0
  48. package/index.mjs +5880 -0
  49. package/items/SchedulerEditItem.d.ts +330 -0
  50. package/items/SchedulerItem.d.ts +203 -0
  51. package/items/SchedulerItemContent.d.ts +15 -0
  52. package/items/SchedulerProportionalViewItem.d.ts +12 -0
  53. package/items/SchedulerViewItem.d.ts +34 -0
  54. package/items/hooks/use-drag-item.d.ts +46 -0
  55. package/items/hooks/use-form-item.d.ts +26 -0
  56. package/items/hooks/use-remove-item.d.ts +34 -0
  57. package/items/hooks/use-resize-item.d.ts +49 -0
  58. package/items/hooks/use-series.d.ts +27 -0
  59. package/items/hooks/use-show-occurrence-dialog.d.ts +31 -0
  60. package/items/hooks/use-show-remove-item-dialog.d.ts +31 -0
  61. package/messages/index.d.ts +240 -0
  62. package/models/DataItem.d.ts +12 -0
  63. package/models/DateRange.d.ts +22 -0
  64. package/models/EditableProp.d.ts +33 -0
  65. package/models/Fields.d.ts +21 -0
  66. package/models/Group.d.ts +12 -0
  67. package/models/Item.d.ts +68 -0
  68. package/models/Occurrence.d.ts +56 -0
  69. package/models/Omit.d.ts +8 -0
  70. package/models/Orientation.d.ts +6 -0
  71. package/models/Range.d.ts +14 -0
  72. package/models/Rect.d.ts +19 -0
  73. package/models/Resource.d.ts +12 -0
  74. package/models/SchedulerGroup.d.ts +17 -0
  75. package/models/SchedulerHandle.d.ts +12 -0
  76. package/models/SchedulerModelFields.d.ts +66 -0
  77. package/models/SchedulerResource.d.ts +37 -0
  78. package/models/SchedulerView.d.ts +80 -0
  79. package/models/Slot.d.ts +54 -0
  80. package/models/events.d.ts +87 -0
  81. package/models/index.d.ts +21 -0
  82. package/package-metadata.d.ts +9 -0
  83. package/package.json +12 -17
  84. package/recurrence/RecurrenceEditor.d.ts +16 -0
  85. package/recurrence/RecurrenceFrequencyEditor.d.ts +14 -0
  86. package/recurrence/RecurrenceRepeatOnWeekEditor.d.ts +17 -0
  87. package/recurrence/common.d.ts +61 -0
  88. package/recurrence/types/EndRule.d.ts +8 -0
  89. package/recurrence/types/Frequency.d.ts +8 -0
  90. package/recurrence/types/FrequencyEntity.d.ts +12 -0
  91. package/recurrence/types/MonthEntity.d.ts +11 -0
  92. package/recurrence/types/OffsetPosition.d.ts +8 -0
  93. package/recurrence/types/OffsetPositionEntity.d.ts +11 -0
  94. package/recurrence/types/RepeatOnRule.d.ts +8 -0
  95. package/recurrence/types/WeekDayEntity.d.ts +11 -0
  96. package/recurrence/types/WeekDayRule.d.ts +11 -0
  97. package/services/index.d.ts +8 -0
  98. package/services/itemsService.d.ts +16 -0
  99. package/services/occurrenceService.d.ts +7 -0
  100. package/services/rangeService.d.ts +7 -0
  101. package/services/slotsService.d.ts +10 -0
  102. package/slots/SchedulerEditSlot.d.ts +52 -0
  103. package/slots/SchedulerSlot.d.ts +127 -0
  104. package/slots/SchedulerViewSlot.d.ts +46 -0
  105. package/tasks/SchedulerEditTask.d.ts +79 -0
  106. package/tasks/SchedulerTask.d.ts +61 -0
  107. package/tasks/SchedulerViewTask.d.ts +32 -0
  108. package/utils/index.d.ts +172 -0
  109. package/views/agenda/AgendaView.d.ts +83 -0
  110. package/views/common/HorizontalResourceIterator.d.ts +30 -0
  111. package/views/common/SchedulerDrag.d.ts +39 -0
  112. package/views/common/SchedulerResize.d.ts +41 -0
  113. package/views/common/VerticalResourceIterator.d.ts +25 -0
  114. package/views/common/utils.d.ts +38 -0
  115. package/views/day/DayView.d.ts +15 -0
  116. package/views/day/DayViewAllDayRowContent.d.ts +12 -0
  117. package/views/day/DayViewGroupRowContent.d.ts +12 -0
  118. package/views/day/DayViewRowContent.d.ts +17 -0
  119. package/views/day/MultiDayView.d.ts +175 -0
  120. package/views/month/MonthView.d.ts +86 -0
  121. package/views/time/MultiDayTimelineView.d.ts +179 -0
  122. package/views/time/TimelineView.d.ts +27 -0
  123. package/views/time/TimelineViewAllEventsRowContent.d.ts +11 -0
  124. package/views/time/TimelineViewRowContent.d.ts +11 -0
  125. package/views/week/WeekView.d.ts +106 -0
  126. package/views/week/WorkWeekView.d.ts +9 -0
@@ -0,0 +1,86 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 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 } 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>;
@@ -0,0 +1,179 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 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 defaultProps: {
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
+ };
@@ -0,0 +1,27 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 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 defaultProps: {
18
+ name: string;
19
+ title: (localization: any) => any;
20
+ dateRange: ({ date, numberOfDays, timezone }: import("../../models").SchedulerViewDateRangeArgs) => import("../../models").DateRange;
21
+ step: number;
22
+ slotDuration: number;
23
+ slotDivisions: number;
24
+ numberOfDays: number;
25
+ selectedDateFormat: string;
26
+ selectedShortDateFormat: string;
27
+ };
@@ -0,0 +1,11 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 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>;
@@ -0,0 +1,11 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 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>;
@@ -0,0 +1,106 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 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 defaultProps: {
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
+ };
@@ -0,0 +1,9 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 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
+ export interface WorkWeekViewProps extends WeekViewProps {
8
+ }
9
+ export declare const WorkWeekView: React.FunctionComponent<WorkWeekViewProps>;