@progress/kendo-react-dateinputs 13.3.0 → 13.4.0-develop.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (125) hide show
  1. package/PopupSettings.d.ts +22 -0
  2. package/calendar/components/Calendar.d.ts +202 -0
  3. package/calendar/components/Calendar.mjs +7 -7
  4. package/calendar/components/CalendarCell.d.ts +71 -0
  5. package/calendar/components/CalendarHeaderTitle.d.ts +38 -0
  6. package/calendar/components/CalendarNavigationItem.d.ts +39 -0
  7. package/calendar/components/CalendarWeekCell.d.ts +42 -0
  8. package/calendar/components/Header.d.ts +65 -0
  9. package/calendar/components/Header.mjs +3 -3
  10. package/calendar/components/HorizontalViewList.d.ts +80 -0
  11. package/calendar/components/HorizontalViewList.mjs +3 -3
  12. package/calendar/components/MultiViewCalendar.d.ts +226 -0
  13. package/calendar/components/MultiViewCalendar.js +1 -1
  14. package/calendar/components/MultiViewCalendar.mjs +17 -17
  15. package/calendar/components/Navigation.d.ts +85 -0
  16. package/calendar/components/TodayCommand.d.ts +46 -0
  17. package/calendar/components/TodayCommand.mjs +3 -3
  18. package/calendar/components/View.d.ts +101 -0
  19. package/calendar/components/ViewList.d.ts +128 -0
  20. package/calendar/models/ActiveView.d.ts +11 -0
  21. package/calendar/models/CalendarSettings.d.ts +256 -0
  22. package/calendar/models/CalendarViewEnum.d.ts +16 -0
  23. package/calendar/models/CellContext.d.ts +72 -0
  24. package/calendar/models/MultiViewCalendarMode.d.ts +16 -0
  25. package/calendar/models/MultiViewCalendarSettings.d.ts +129 -0
  26. package/calendar/models/NavigationAction.d.ts +22 -0
  27. package/calendar/models/SelectionRange.d.ts +24 -0
  28. package/calendar/models/SelectionRangeEnd.d.ts +11 -0
  29. package/calendar/models/ViewService.d.ts +32 -0
  30. package/calendar/models/WeekDaysFormat.d.ts +11 -0
  31. package/calendar/models/index.d.ts +18 -0
  32. package/calendar/services/BusViewService.d.ts +28 -0
  33. package/calendar/services/CenturyViewService.d.ts +32 -0
  34. package/calendar/services/CenturyViewService.mjs +4 -4
  35. package/calendar/services/DOMService.d.ts +36 -0
  36. package/calendar/services/DecadeViewService.d.ts +34 -0
  37. package/calendar/services/DecadeViewService.mjs +4 -4
  38. package/calendar/services/MonthViewService.d.ts +40 -0
  39. package/calendar/services/MonthViewService.mjs +2 -2
  40. package/calendar/services/NavigationService.d.ts +21 -0
  41. package/calendar/services/ScrollSyncService.d.ts +28 -0
  42. package/calendar/services/WeekNamesService.d.ts +17 -0
  43. package/calendar/services/YearViewService.d.ts +38 -0
  44. package/calendar/services/YearViewService.mjs +2 -2
  45. package/calendar/services/index.d.ts +17 -0
  46. package/calendar/utils/ScrollSync.d.ts +20 -0
  47. package/codemods/utils.js +1 -8
  48. package/codemods/v11/dateinput-handle.js +1 -8
  49. package/codemods/v11/datepicker-handle.js +1 -8
  50. package/common/AdaptiveMode.d.ts +22 -0
  51. package/common/ClearButton.d.ts +20 -0
  52. package/dateinput/DateInput.d.ts +248 -0
  53. package/dateinput/DateInput.js +1 -1
  54. package/dateinput/DateInput.mjs +63 -65
  55. package/dateinput/dateInputIntl.d.ts +30 -0
  56. package/dateinput/models/DateInputSettings.d.ts +107 -0
  57. package/dateinput/models/common-package-props.d.ts +34 -0
  58. package/dateinput/models/dateinput-options.d.ts +105 -0
  59. package/dateinput/models/format-placeholder.d.ts +46 -0
  60. package/dateinput/models/incremental-steps.d.ts +24 -0
  61. package/dateinput/models/index.d.ts +15 -0
  62. package/dateinput/models/kendo-date.d.ts +60 -0
  63. package/dateinput/models/mask.d.ts +14 -0
  64. package/dateinput/models/selection.d.ts +14 -0
  65. package/dateinput/utils.d.ts +31 -0
  66. package/datepicker/DatePicker.d.ts +279 -0
  67. package/datepicker/DatePicker.js +1 -1
  68. package/datepicker/DatePicker.mjs +68 -72
  69. package/datepicker/ToggleButton.d.ts +17 -0
  70. package/datepicker/models/DatePickerSettings.d.ts +248 -0
  71. package/datepicker/models/index.d.ts +9 -0
  72. package/daterangepicker/DateRangePicker.d.ts +357 -0
  73. package/daterangepicker/DateRangePicker.mjs +13 -13
  74. package/daterangepicker/models/DateRangePickerCalendarSettings.d.ts +13 -0
  75. package/daterangepicker/models/DateRangePickerDateInputSettings.d.ts +13 -0
  76. package/daterangepicker/models/DateRangePickerPopupSettings.d.ts +13 -0
  77. package/daterangepicker/models/DateRangePickerSettings.d.ts +129 -0
  78. package/daterangepicker/models/index.d.ts +12 -0
  79. package/datetimepicker/DateTimePicker.d.ts +420 -0
  80. package/datetimepicker/DateTimePicker.js +1 -1
  81. package/datetimepicker/DateTimePicker.mjs +16 -20
  82. package/datetimepicker/DateTimeSelector.d.ts +111 -0
  83. package/datetimepicker/DateTimeSelector.mjs +3 -3
  84. package/datetimepicker/models/DateTimePickerSettings.d.ts +154 -0
  85. package/datetimepicker/models/index.d.ts +9 -0
  86. package/dist/cdn/js/kendo-react-dateinputs.js +1 -1
  87. package/hooks/usePickerFloatingLabel.d.ts +27 -0
  88. package/index.d.mts +35 -4952
  89. package/index.d.ts +35 -4952
  90. package/messages/index.d.ts +132 -0
  91. package/package-metadata.d.ts +12 -0
  92. package/package-metadata.js +1 -1
  93. package/package-metadata.mjs +10 -16
  94. package/package.json +8 -8
  95. package/timepicker/TimeList.d.ts +97 -0
  96. package/timepicker/TimeList.js +5 -5
  97. package/timepicker/TimeList.mjs +122 -112
  98. package/timepicker/TimePart.d.ts +146 -0
  99. package/timepicker/TimePart.mjs +3 -3
  100. package/timepicker/TimePicker.d.ts +417 -0
  101. package/timepicker/TimePicker.js +1 -1
  102. package/timepicker/TimePicker.mjs +64 -68
  103. package/timepicker/TimeSelector.d.ts +149 -0
  104. package/timepicker/TimeSelector.mjs +3 -3
  105. package/timepicker/models/IncrementalSteps.d.ts +18 -0
  106. package/timepicker/models/ListItem.d.ts +14 -0
  107. package/timepicker/models/ListService.d.ts +22 -0
  108. package/timepicker/models/ListServiceSettings.d.ts +19 -0
  109. package/timepicker/models/TimePart.d.ts +17 -0
  110. package/timepicker/models/TimePickerSettings.d.ts +137 -0
  111. package/timepicker/models/index.d.ts +14 -0
  112. package/timepicker/services/DOMService.d.ts +18 -0
  113. package/timepicker/services/DayPeriodService.d.ts +54 -0
  114. package/timepicker/services/HoursService.d.ts +40 -0
  115. package/timepicker/services/MinutesService.d.ts +39 -0
  116. package/timepicker/services/SecondsService.d.ts +39 -0
  117. package/timepicker/services/index.d.ts +13 -0
  118. package/timepicker/utils.d.ts +63 -0
  119. package/timepicker/utils.mjs +1 -1
  120. package/utils.d.ts +103 -0
  121. package/utils.js +1 -1
  122. package/utils.mjs +46 -46
  123. package/virtualization/Virtualization.d.ts +125 -0
  124. package/virtualization/services/ScrollerService.d.ts +56 -0
  125. package/virtualization/services/index.d.ts +10 -0
@@ -0,0 +1,357 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { default as PropTypes } from 'prop-types';
9
+ import { AdaptiveModeContextType } from '@progress/kendo-react-common';
10
+ import { DateInputHandle, DateInputProps } from '../dateinput/DateInput.js';
11
+ import { MultiViewCalendar, MultiViewCalendarHandle } from '../calendar/components/MultiViewCalendar.js';
12
+ import { SelectionRange } from '../calendar/models/index.js';
13
+ import { DateRangePickerSettings } from './models/index.js';
14
+ import * as React from 'react';
15
+ /**
16
+ * @hidden
17
+ */
18
+ export interface ReverseClickEvent {
19
+ syntheticEvent: React.SyntheticEvent<any>;
20
+ nativeEvent?: any;
21
+ }
22
+ /**
23
+ * The arguments for the `onChange` event of the DateRangePicker.
24
+ */
25
+ export interface DateRangePickerChangeEvent {
26
+ /** The React synthetic event. */
27
+ syntheticEvent: React.SyntheticEvent<any>;
28
+ /** The native DOM event. */
29
+ nativeEvent?: any;
30
+ /** The new selection `value`. */
31
+ value: SelectionRange;
32
+ /** The current popup state. */
33
+ show?: boolean;
34
+ /** The component instance that fired the event. */
35
+ target: DateRangePicker;
36
+ }
37
+ /**
38
+ * The arguments for the `onOpen` event of the DateRangePicker.
39
+ */
40
+ export interface DateRangePickerOpenEvent {
41
+ /** The component instance that fired the event. */
42
+ target: DateRangePicker;
43
+ }
44
+ /**
45
+ * The arguments for the `onClose` event of the DateRangePicker.
46
+ */
47
+ export interface DateRangePickerCloseEvent {
48
+ /** The component instance that fired the event. */
49
+ target: DateRangePicker;
50
+ }
51
+ /**
52
+ * Represents the props of the [KendoReact DateRangePicker component](https://www.telerik.com/kendo-react-ui/components/dateinputs/daterangepicker).
53
+ */
54
+ export interface DateRangePickerProps extends DateRangePickerSettings {
55
+ /**
56
+ * Override the validity state.
57
+ * If `valid` is set, ignore `required`.
58
+ * Part of [FormComponentProps](https://www.telerik.com/kendo-react-ui/components/common/api/formcomponentprops).
59
+ */
60
+ valid?: boolean;
61
+ /**
62
+ * Set the initial `value` when uncontrolled ([see example](https://www.telerik.com/kendo-react-ui/components/dateinputs/daterangepicker/default-value)).
63
+ */
64
+ defaultValue?: SelectionRange;
65
+ /**
66
+ * Fires when the user changes part of the range ([see example](https://www.telerik.com/kendo-react-ui/components/dateinputs/daterangepicker/controlled-state#toc-controlling-the-value)).
67
+ */
68
+ onChange?: (event: DateRangePickerChangeEvent) => void;
69
+ /**
70
+ * Fires when the popup opens.
71
+ */
72
+ onOpen?: (event: DateRangePickerOpenEvent) => void;
73
+ /**
74
+ * Fires when the popup closes.
75
+ */
76
+ onClose?: (event: DateRangePickerCloseEvent) => void;
77
+ /**
78
+ * Fires when the popup is about to cancel in ([adaptive mode](https://www.telerik.com/kendo-react-ui/components/dateinputs/daterangepicker/adaptive-rendering)).
79
+ */
80
+ onCancel?: (event: React.MouseEvent<HTMLButtonElement>) => void;
81
+ /**
82
+ * Set the selected range ([see example](https://www.telerik.com/kendo-react-ui/components/dateinputs/daterangepicker/controlled-state#toc-controlling-the-value)).
83
+ * Provide `start` and `end` valid `Date` values or `null`.
84
+ */
85
+ value?: SelectionRange;
86
+ /**
87
+ /**
88
+ * Enable adaptive popup rendering based on viewport width.
89
+ *
90
+ * @default `false`
91
+ */
92
+ adaptive?: boolean;
93
+ /**
94
+ /**
95
+ * Set the title text in the adaptive popup (action sheet).
96
+ * Use only when `adaptive` is `true`.
97
+ * If not set, it matches the `label`.
98
+ */
99
+ adaptiveTitle?: string;
100
+ /**
101
+ /**
102
+ * Set the subtitle text in the adaptive popup (action sheet).
103
+ * Use only when `adaptive` is `true`.
104
+ */
105
+ adaptiveSubtitle?: string;
106
+ /**
107
+ /**
108
+ * Show a clear button for start and end inputs. Clicking resets the range and fires `onChange`.
109
+ */
110
+ clearButton?: boolean;
111
+ /**
112
+ /**
113
+ * Apply the `autoFocus` attribute to the first input.
114
+ *
115
+ * @default `false`
116
+ */
117
+ autoFocus?: boolean;
118
+ /**
119
+ * @hidden
120
+ */
121
+ dir?: string;
122
+ /**
123
+ * Pass HTML attributes to the internal focusable input elements.
124
+ * Attributes required for core logic are ignored.
125
+ */
126
+ inputAttributes?: React.InputHTMLAttributes<HTMLInputElement>;
127
+ /**
128
+ * @hidden
129
+ * This prop is provided by the withAdaptiveModeContext HOC to subscribe to AdaptiveModeContext.
130
+ */
131
+ _adaptiveMode?: AdaptiveModeContextType;
132
+ }
133
+ /**
134
+ * @hidden
135
+ */
136
+ export interface DateRangePickerState {
137
+ show: boolean;
138
+ value: SelectionRange;
139
+ windowWidth?: number;
140
+ currentValue: SelectionRange;
141
+ }
142
+ /** @hidden */
143
+ export declare class DateRangePickerWithoutContext extends React.Component<DateRangePickerProps, DateRangePickerState> {
144
+ /**
145
+ * @hidden
146
+ */
147
+ static displayName: string;
148
+ /**
149
+ * @hidden
150
+ */
151
+ static propTypes: {
152
+ allowReverse: PropTypes.Requireable<boolean>;
153
+ calendarSettings: PropTypes.Requireable<any>;
154
+ className: PropTypes.Requireable<string>;
155
+ defaultShow: PropTypes.Requireable<boolean>;
156
+ defaultValue: PropTypes.Validator<SelectionRange>;
157
+ disabled: PropTypes.Requireable<boolean>;
158
+ endDateInputSettings: PropTypes.Requireable<PropTypes.InferProps<PropTypes.ValidationMap<DateInputProps<any>>>>;
159
+ focusedDate: PropTypes.Requireable<Date>;
160
+ format: PropTypes.Requireable<NonNullable<string | PropTypes.InferProps<{
161
+ skeleton: PropTypes.Requireable<string>;
162
+ pattern: PropTypes.Requireable<string>;
163
+ date: PropTypes.Requireable<string>;
164
+ time: PropTypes.Requireable<string>;
165
+ datetime: PropTypes.Requireable<string>;
166
+ era: PropTypes.Requireable<string>;
167
+ year: PropTypes.Requireable<string>;
168
+ month: PropTypes.Requireable<string>;
169
+ day: PropTypes.Requireable<string>;
170
+ weekday: PropTypes.Requireable<string>;
171
+ hour: PropTypes.Requireable<string>;
172
+ hour12: PropTypes.Requireable<boolean>;
173
+ minute: PropTypes.Requireable<string>;
174
+ second: PropTypes.Requireable<string>;
175
+ timeZoneName: PropTypes.Requireable<string>;
176
+ }> | null | undefined>>;
177
+ id: PropTypes.Requireable<string>;
178
+ ariaLabelledBy: PropTypes.Requireable<string>;
179
+ ariaDescribedBy: PropTypes.Requireable<string>;
180
+ max: PropTypes.Requireable<Date>;
181
+ min: PropTypes.Requireable<Date>;
182
+ onBlur: PropTypes.Requireable<(...args: any[]) => any>;
183
+ onChange: PropTypes.Requireable<(...args: any[]) => any>;
184
+ onFocus: PropTypes.Requireable<(...args: any[]) => any>;
185
+ popupSettings: PropTypes.Requireable<any>;
186
+ show: PropTypes.Requireable<boolean>;
187
+ startDateInputSettings: PropTypes.Requireable<any>;
188
+ style: PropTypes.Requireable<any>;
189
+ swapButton: PropTypes.Requireable<any>;
190
+ tabIndex: PropTypes.Requireable<number>;
191
+ dir: PropTypes.Requireable<string>;
192
+ value: PropTypes.Validator<SelectionRange>;
193
+ autoFocus: PropTypes.Requireable<boolean>;
194
+ inputAttributes: PropTypes.Requireable<object>;
195
+ };
196
+ /**
197
+ * @hidden
198
+ */
199
+ static defaultProps: {
200
+ allowReverse: boolean;
201
+ defaultShow: boolean;
202
+ defaultValue: SelectionRange;
203
+ disabled: boolean;
204
+ format: string;
205
+ max: Date;
206
+ min: Date;
207
+ swapButton: boolean;
208
+ autoFocus: boolean;
209
+ };
210
+ private _element;
211
+ private _calendar;
212
+ private _startDateInput;
213
+ private _endDateInput;
214
+ private valueDuringOnChange?;
215
+ private showDuringOnChange?;
216
+ private nextTickId;
217
+ private get _popupId();
218
+ private get _startInputId();
219
+ private get _endInputId();
220
+ private shouldFocusDateInput;
221
+ private shouldFocusCalendar;
222
+ private observerResize?;
223
+ private readonly showLicenseWatermark;
224
+ private readonly licenseMessage?;
225
+ constructor(props: DateRangePickerProps);
226
+ /**
227
+ * Gets the wrapping element of the DateRangePicker.
228
+ */
229
+ get element(): HTMLSpanElement | null;
230
+ /**
231
+ * Gets the start DateInput component inside the DatePicker component.
232
+ */
233
+ get startDateInput(): DateInputHandle | null;
234
+ /**
235
+ * Gets the end DateInput component inside the DatePicker component.
236
+ */
237
+ get endDateInput(): DateInputHandle | null;
238
+ /**
239
+ * Gets the MultiVieCalendar inside the DateRangePicker.
240
+ */
241
+ get calendar(): MultiViewCalendar | null;
242
+ /**
243
+ * Gets the value of the DateRangePicker.
244
+ */
245
+ get value(): SelectionRange;
246
+ /**
247
+ * Gets the popup state of the DateRangePicker.
248
+ */
249
+ /**
250
+ * Whether the popup of the DateRangePicker is currently open.
251
+ */
252
+ get show(): boolean;
253
+ protected get min(): Date;
254
+ protected get max(): Date;
255
+ private get document();
256
+ private get localizationService();
257
+ /**
258
+ * The mobile mode of the DateRangePicker.
259
+ */
260
+ get mobileMode(): boolean;
261
+ /**
262
+ * @hidden
263
+ */
264
+ componentDidMount(): void;
265
+ /**
266
+ * @hidden
267
+ */
268
+ componentDidUpdate(): void;
269
+ /**
270
+ * @hidden
271
+ */
272
+ componentWillUnmount(): void;
273
+ /**
274
+ * @hidden
275
+ */
276
+ focus: () => void;
277
+ /**
278
+ * @hidden
279
+ */
280
+ render(): React.JSX.Element;
281
+ protected setCalendarRef: (calendar: MultiViewCalendarHandle | null) => void;
282
+ protected focusCalendarElement: () => void;
283
+ protected focusDateInputElement(): void;
284
+ protected calculateValue: (props: DateRangePickerProps, state: DateRangePickerState) => SelectionRange;
285
+ protected calculateShow: (nextProps: DateRangePickerProps, nextState: DateRangePickerState) => boolean;
286
+ protected nextTick(f: () => any): void;
287
+ protected setShow(show: boolean): void;
288
+ private renderCalendar;
289
+ private renderPopup;
290
+ private renderAdaptivePopup;
291
+ private handleReverseClick;
292
+ private handleReverseMouseDown;
293
+ private handleFocus;
294
+ private handleClick;
295
+ private handleBlur;
296
+ private handleCancel;
297
+ private handleEndChange;
298
+ private handleStartChange;
299
+ private extractRangeFromValue;
300
+ private handleCalendarChange;
301
+ private handleKeyDown;
302
+ private handleChange;
303
+ private calculateMedia;
304
+ }
305
+ /**
306
+ * Represents the PropsContext of the `DateRangePicker` component.
307
+ * Used for global configuration of all `DateRangePicker` instances.
308
+ *
309
+ * For more information, refer to the [DateInputs Props Context](https://www.telerik.com/kendo-react-ui/components/dateinputs/props-context) article.
310
+ */
311
+ export declare const DateRangePickerPropsContext: React.Context<(p: DateRangePickerProps) => DateRangePickerProps>;
312
+ /**
313
+ * Represent the `ref` of the DateRangePicker component.
314
+ */
315
+ export interface DateRangePickerHandle extends Pick<DateRangePickerWithoutContext, keyof DateRangePickerWithoutContext> {
316
+ /**
317
+ * Gets the MultiVieCalendar inside the DateRangePicker.
318
+ */
319
+ calendar: MultiViewCalendar | null;
320
+ /**
321
+ * Returns the HTML element of the DateRangePicker component.
322
+ */
323
+ element: HTMLSpanElement | null;
324
+ /**
325
+ * Gets the end DateInput component inside the DateRangePicker component.
326
+ */
327
+ endDateInput: DateInputHandle | null;
328
+ /**
329
+ * Returns a boolean value indicating whether the DateRangePicker is in mobile mode.
330
+ */
331
+ mobileMode: boolean;
332
+ /**
333
+ * The props of the DateRangePickerHandle component.
334
+ */
335
+ props: Readonly<DateRangePickerProps>;
336
+ /**
337
+ * Whether the popup of the DateRangePicker is currently open.
338
+ */
339
+ show: boolean;
340
+ /**
341
+ * Gets the start DateInput component inside the DateRangePicker component.
342
+ */
343
+ startDateInput: DateInputHandle | null;
344
+ /**
345
+ * Gets the value of the DateRangePicker.
346
+ */
347
+ value: SelectionRange;
348
+ }
349
+ /** @hidden */
350
+ export type DateRangePicker = DateRangePickerHandle;
351
+ /**
352
+ * Represents the KendoReact DateRangePicker Component.
353
+ *
354
+ * Accepts properties of type [DateRangePickerProps](https://www.telerik.com/kendo-react-ui/components/dateinputs/api/daterangepickerprops).
355
+ * Obtaining the `ref` returns an object of type [DateRangePickerHandle](https://www.telerik.com/kendo-react-ui/components/dateinputs/api/daterangepickerhandle).
356
+ */
357
+ export declare const DateRangePicker: React.ForwardRefExoticComponent<DateRangePickerProps & React.RefAttributes<any>>;
@@ -9,15 +9,15 @@ import * as i from "react";
9
9
  import e from "prop-types";
10
10
  import { Popup as A } from "@progress/kendo-react-popup";
11
11
  import { cloneDate as w } from "@progress/kendo-date-math";
12
- import { classNames as b, Keys as c, validatePackage as F, getLicenseMessage as P, canUseDOM as D, IconWrap as z, WatermarkOverlay as B, getActiveElement as L, createPropsContext as N, withIdHOC as V, withPropsContext as W, withAdaptiveModeContext as K } from "@progress/kendo-react-common";
12
+ import { withIdHOC as F, createPropsContext as P, classNames as b, Keys as c, validatePackage as z, getLicenseMessage as B, canUseDOM as D, IconWrap as L, WatermarkOverlay as N, getActiveElement as V, withPropsContext as W, withAdaptiveModeContext as K } from "@progress/kendo-react-common";
13
13
  import { provideLocalizationService as m, registerForLocalization as U } from "@progress/kendo-react-intl";
14
14
  import { arrowsSwapIcon as q } from "@progress/kendo-svg-icons";
15
15
  import { packageMetadata as I } from "../package-metadata.mjs";
16
16
  import { DateInput as f } from "../dateinput/DateInput.mjs";
17
17
  import { MultiViewCalendar as j } from "../calendar/components/MultiViewCalendar.mjs";
18
18
  import { EMPTY_SELECTIONRANGE as r } from "../calendar/models/SelectionRange.mjs";
19
- import { nullable as h, MAX_DATE as G, MIN_DATE as H } from "../utils.mjs";
20
- import { dateRangePickerCancel as C, messages as l, dateRangePickerSet as S, start as E, end as y, separator as x, swapStartEnd as p } from "../messages/index.mjs";
19
+ import { nullable as h, MIN_DATE as G, MAX_DATE as H } from "../utils.mjs";
20
+ import { dateRangePickerSet as C, messages as l, dateRangePickerCancel as S, start as E, end as y, separator as x, swapStartEnd as p } from "../messages/index.mjs";
21
21
  import { Button as X } from "@progress/kendo-react-buttons";
22
22
  import { AdaptiveMode as Y } from "../common/AdaptiveMode.mjs";
23
23
  import { ActionSheetContent as Z } from "@progress/kendo-react-layout";
@@ -72,11 +72,11 @@ const o = class o extends i.Component {
72
72
  windowWidth: t,
73
73
  footer: {
74
74
  cancelText: this.localizationService.toLanguageString(
75
- C,
76
- l[C]
75
+ S,
76
+ l[S]
77
77
  ),
78
78
  onCancel: this.handleCancel,
79
- applyText: this.localizationService.toLanguageString(S, l[S]),
79
+ applyText: this.localizationService.toLanguageString(C, l[C]),
80
80
  onApply: this.handleBlur
81
81
  }
82
82
  };
@@ -150,7 +150,7 @@ const o = class o extends i.Component {
150
150
  n.call(void 0, d);
151
151
  }
152
152
  this.valueDuringOnChange = void 0;
153
- }, this.showLicenseWatermark = !F(I, { component: "DateRangePicker" }), this.licenseMessage = P(I), this.state = {
153
+ }, this.showLicenseWatermark = !z(I, { component: "DateRangePicker" }), this.licenseMessage = B(I), this.state = {
154
154
  show: this.props.show || this.props.defaultShow || o.defaultProps.defaultShow,
155
155
  value: this.props.value || this.props.defaultValue || o.defaultProps.defaultValue,
156
156
  currentValue: r
@@ -303,7 +303,7 @@ const o = class o extends i.Component {
303
303
  l[p]
304
304
  )
305
305
  },
306
- /* @__PURE__ */ i.createElement(z, { style: { transform: "rotate(90deg)" }, name: "arrows-swap", icon: q })
306
+ /* @__PURE__ */ i.createElement(L, { style: { transform: "rotate(90deg)" }, name: "arrows-swap", icon: q })
307
307
  );
308
308
  return /* @__PURE__ */ i.createElement(i.Fragment, null, /* @__PURE__ */ i.createElement(
309
309
  "span",
@@ -344,12 +344,12 @@ const o = class o extends i.Component {
344
344
  }
345
345
  ),
346
346
  !this.mobileMode && this.renderPopup()
347
- ), this.mobileMode && this.renderAdaptivePopup(), this.showLicenseWatermark && /* @__PURE__ */ i.createElement(B, { message: this.licenseMessage }));
347
+ ), this.mobileMode && this.renderAdaptivePopup(), this.showLicenseWatermark && /* @__PURE__ */ i.createElement(N, { message: this.licenseMessage }));
348
348
  }
349
349
  focusDateInputElement() {
350
350
  if (!document || !this.startDateInput || !this.startDateInput.element || !this.endDateInput || !this.endDateInput.element)
351
351
  return;
352
- const a = L(document);
352
+ const a = V(document);
353
353
  (this.value.start === null || this.value.end !== null) && a !== this.endDateInput.element ? this.startDateInput.element.focus({ preventScroll: !0 }) : a !== this.startDateInput.element && this.endDateInput.element.focus({ preventScroll: !0 });
354
354
  }
355
355
  nextTick(a) {
@@ -427,13 +427,13 @@ o.displayName = "DateRangePicker", o.propTypes = {
427
427
  defaultValue: r,
428
428
  disabled: !1,
429
429
  format: "d",
430
- max: G,
431
- min: H,
430
+ max: H,
431
+ min: G,
432
432
  swapButton: !1,
433
433
  autoFocus: !1
434
434
  };
435
435
  let u = o;
436
- const J = N(), Q = V(
436
+ const J = P(), Q = F(
437
437
  W(
438
438
  J,
439
439
  K(u)
@@ -0,0 +1,13 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { MultiViewCalendarSettings } from '../../calendar/models/MultiViewCalendarSettings.js';
9
+ /**
10
+ * Represents the settings that can be passed to the MultiViewCalendar inside the DateRangePicker.
11
+ */
12
+ export interface DateRangePickerCalendarSettings extends Omit<MultiViewCalendarSettings, 'showOtherMonthDays'> {
13
+ }
@@ -0,0 +1,13 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { DateInputSettings } from '../../dateinput/models/DateInputSettings.js';
9
+ /**
10
+ * Represents the settings that can be passed to the DateInput inside the DateRangePicker.
11
+ */
12
+ export interface DateRangePickerDateInputSettings extends DateInputSettings {
13
+ }
@@ -0,0 +1,13 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { PopupProps } from '@progress/kendo-react-popup';
9
+ /**
10
+ * Represents the settings that can be passed to the Popup inside the DateRangePicker.
11
+ */
12
+ export interface DateRangePickerPopupSettings extends PopupProps {
13
+ }
@@ -0,0 +1,129 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { DateRangePickerCalendarSettings } from './DateRangePickerCalendarSettings.js';
9
+ import { DateRangePickerDateInputSettings } from './DateRangePickerDateInputSettings.js';
10
+ import { DateRangePickerPopupSettings } from './DateRangePickerPopupSettings.js';
11
+ import { DateInputProps } from '../../dateinput/DateInput.js';
12
+ import { MultiViewCalendarProps } from '../../calendar/components/MultiViewCalendar.js';
13
+ import { PopupProps } from '@progress/kendo-react-popup';
14
+ import { DateFormatOptions } from '@progress/kendo-react-intl';
15
+ /**
16
+ * @hidden
17
+ */
18
+ export interface DateRangePickerSettings {
19
+ /**
20
+ * Enables the customization or the override of the default start DateInput which is rendered by the DateRangePicker
21
+ * ([see example](https://www.telerik.com/kendo-react-ui/components/dateinputs/daterangepicker/custom-rendering#toc-customizing-the-dateinputs)).
22
+ */
23
+ startDateInput?: React.ComponentType<DateInputProps<any>>;
24
+ /**
25
+ * Enables the customization or the override of the default end DateInput which is rendered by the DateRangePicker
26
+ * ([see example](https://www.telerik.com/kendo-react-ui/components/dateinputs/daterangepicker/custom-rendering#toc-customizing-the-calendar)).
27
+ */
28
+ endDateInput?: React.ComponentType<DateInputProps<any>>;
29
+ /**
30
+ * Enables the customization or the override of the default Popup which is rendered by the DateRangePicker
31
+ * ([see example](https://www.telerik.com/kendo-react-ui/components/dateinputs/daterangepicker/custom-rendering#toc-customizing-the-popup)).
32
+ */
33
+ popup?: React.ComponentType<PopupProps>;
34
+ /**
35
+ * Enables the customization or the override of the default Calendar which is rendered by the DateRangePicker.
36
+ */
37
+ calendar?: React.ComponentType<MultiViewCalendarProps<any>>;
38
+ /**
39
+ * If `allowReverse` is set to `true`, the component skips the validation of whether the `from` value is after the `to` value ([see example](https://www.telerik.com/kendo-react-ui/components/dateinputs/daterangepicker/reverse)).
40
+ *
41
+ * > If the [`calendarSettings`](#toc-calendarsettings) property is set, its `allowReverse` will take precedence.
42
+ */
43
+ allowReverse?: boolean;
44
+ /**
45
+ * Represents the additional props that can be passed to the [MultiViewCalendar](https://www.telerik.com/kendo-react-ui/components/dateinputs/multiviewcalendar) inside the DateRangePicker ([see example](https://www.telerik.com/kendo-react-ui/components/dateinputs/daterangepicker/child-settings#toc-configuring-the-multiviewcalendar)).
46
+ */
47
+ calendarSettings?: DateRangePickerCalendarSettings;
48
+ /**
49
+ * Sets the `className` of the DateRangePicker.
50
+ */
51
+ className?: string;
52
+ /**
53
+ * Sets the default state of the DateRangePicker upon render ([see example](https://www.telerik.com/kendo-react-ui/components/dateinputs/daterangepicker/default-value)).
54
+ */
55
+ defaultShow?: boolean;
56
+ /**
57
+ * Determines whether the DateRangePicker is disabled ([see example](https://www.telerik.com/kendo-react-ui/components/dateinputs/daterangepicker/disabled-state)).
58
+ */
59
+ disabled?: boolean;
60
+ /**
61
+ * Represents the additional props that can be passed to the end-date [DateInput](https://www.telerik.com/kendo-react-ui/components/dateinputs/dateinput) inside the DateRangePicker ([see example](https://www.telerik.com/kendo-react-ui/components/dateinputs/daterangepicker/child-settings#toc-configuring-dateinputs)).
62
+ */
63
+ endDateInputSettings?: DateRangePickerDateInputSettings;
64
+ /**
65
+ * Specifies the focused date of the DateRangePicker ([see example](https://www.telerik.com/kendo-react-ui/components/dateinputs/daterangepicker/focused-date)).
66
+ */
67
+ focusedDate?: Date;
68
+ /**
69
+ * Specifies the `date` format which is used for formatting the value of the DateInput ([see example](https://www.telerik.com/kendo-react-ui/components/dateinputs/dateinput/formats)).
70
+ *
71
+ * > If [`startDateInputSettings`](#toc-startdateinputsettings) or [`endDateInputSettings`](#toc-enddateinputsettings) are set, their `format` will take precedence.
72
+ */
73
+ format?: string | DateFormatOptions;
74
+ /**
75
+ * Specifies the `id` of the DateRangePicker.
76
+ */
77
+ id?: string;
78
+ /**
79
+ * Identifies the element(s) which will describe the component, similar to [HTML aria-describedby attribute](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Techniques/Using_the_aria-describedby_attribute).
80
+ * For example these elements could contain error or hint message.
81
+ */
82
+ ariaDescribedBy?: string;
83
+ /**
84
+ * Identifies the element(s) which will label the component.
85
+ */
86
+ ariaLabelledBy?: string;
87
+ /**
88
+ * Specifies the greatest valid date ([see example](https://www.telerik.com/kendo-react-ui/components/dateinputs/daterangepicker/date-ranges)).
89
+ */
90
+ max?: Date;
91
+ /**
92
+ * Specifies the smallest valid date ([see example](https://www.telerik.com/kendo-react-ui/components/dateinputs/daterangepicker/date-ranges)).
93
+ */
94
+ min?: Date;
95
+ /**
96
+ * Fires each time any of the DateRangePicker elements gets blurred.
97
+ */
98
+ onBlur?: (event: React.FocusEvent<any>) => void;
99
+ /**
100
+ * Fires each time the user focuses any of the DateRangePicker elements.
101
+ */
102
+ onFocus?: (event: React.FocusEvent<any>) => void;
103
+ /**
104
+ * Represents the additional props that will be passed to the [Popup](https://www.telerik.com/kendo-react-ui/components/popup) inside the DateRangePicker ([see example](https://www.telerik.com/kendo-react-ui/components/dateinputs/daterangepicker/child-settings#toc-configuring-the-popup)).
105
+ */
106
+ popupSettings?: DateRangePickerPopupSettings;
107
+ /**
108
+ * Specifies if the calendar will be displayed ([see example](https://www.telerik.com/kendo-react-ui/components/dateinputs/daterangepicker/controlled-state#toc-controlling-the-popup-state)).
109
+ */
110
+ show?: boolean;
111
+ /**
112
+ * Represents the additional props that will be passed to the start-date [DateInput](https://www.telerik.com/kendo-react-ui/components/dateinputs/dateinput) inside the DateRangePicker ([see example](https://www.telerik.com/kendo-react-ui/components/dateinputs/daterangepicker/child-settings#toc-configuring-dateinputs)).
113
+ */
114
+ startDateInputSettings?: DateRangePickerDateInputSettings;
115
+ /**
116
+ * Specifies the additional styles that will be applied to the wrapping DateRangePicker element.
117
+ */
118
+ style?: React.CSSProperties;
119
+ /**
120
+ * Determines whether the DateRangePicker will display a **Swap Value** button ([see example](https://www.telerik.com/kendo-react-ui/components/dateinputs/daterangepicker/reverse#toc-swapping-start-and-end-dates-in-ranges)).
121
+ *
122
+ * > The DateRangePicker will display the swap button only if the [`allowReverse`](#toc-allowreverse) property is also set to `true`.
123
+ */
124
+ swapButton?: boolean;
125
+ /**
126
+ * Sets the `tabIndex` property of the DatePicker.
127
+ */
128
+ tabIndex?: number;
129
+ }
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { DateRangePickerCalendarSettings } from './DateRangePickerCalendarSettings.js';
9
+ import { DateRangePickerDateInputSettings } from './DateRangePickerDateInputSettings.js';
10
+ import { DateRangePickerSettings } from './DateRangePickerSettings.js';
11
+ import { DateRangePickerPopupSettings } from './DateRangePickerPopupSettings.js';
12
+ export { DateRangePickerCalendarSettings, DateRangePickerDateInputSettings, DateRangePickerSettings, DateRangePickerPopupSettings };