@progress/kendo-angular-dateinputs 19.1.2-develop.3 → 19.1.2-develop.5

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 (93) hide show
  1. package/calendar/calendar.component.d.ts +40 -56
  2. package/calendar/calendar.module.d.ts +10 -21
  3. package/calendar/calendars.module.d.ts +10 -21
  4. package/calendar/localization/calendar-custom-messages.component.d.ts +9 -1
  5. package/calendar/localization/multiview-calendar-custom-messages.component.d.ts +9 -1
  6. package/calendar/models/orientation.d.ts +10 -1
  7. package/calendar/models/selection-range-end.type.d.ts +11 -1
  8. package/calendar/models/selection-range.interface.d.ts +18 -3
  9. package/calendar/models/selection.d.ts +19 -4
  10. package/calendar/models/type.d.ts +7 -3
  11. package/calendar/models/view.type.d.ts +12 -1
  12. package/calendar/multiview-calendar.component.d.ts +49 -40
  13. package/calendar/multiview-calendar.module.d.ts +1 -0
  14. package/calendar/templates/cell-template.directive.d.ts +16 -19
  15. package/calendar/templates/century-cell-template.directive.d.ts +15 -19
  16. package/calendar/templates/decade-cell-template.directive.d.ts +15 -19
  17. package/calendar/templates/footer-template.directive.d.ts +16 -17
  18. package/calendar/templates/header-template.directive.d.ts +19 -18
  19. package/calendar/templates/header-title-template.directive.d.ts +15 -18
  20. package/calendar/templates/month-cell-template.directive.d.ts +15 -17
  21. package/calendar/templates/navigation-item-template.directive.d.ts +15 -18
  22. package/calendar/templates/weeknumber-cell-template.directive.d.ts +15 -17
  23. package/calendar/templates/year-cell-template.directive.d.ts +15 -20
  24. package/codemods/utils.js +0 -3
  25. package/dateinput/dateinput.component.d.ts +50 -119
  26. package/dateinput/dateinput.module.d.ts +15 -2
  27. package/dateinput/localization/dateinput-custom-messages.component.d.ts +18 -1
  28. package/dateinput/models/format-placeholder.model.d.ts +15 -20
  29. package/dateinput/models/format-settings.model.d.ts +14 -4
  30. package/dateinput/models/incremental-steps.model.d.ts +16 -1
  31. package/datepicker/datepicker.component.d.ts +68 -127
  32. package/datepicker/datepicker.module.d.ts +11 -2
  33. package/datepicker/localization/datepicker-custom-messages.component.d.ts +11 -1
  34. package/daterange/auto-correct-on.type.d.ts +2 -1
  35. package/daterange/date-range-end-input.directive.d.ts +25 -24
  36. package/daterange/date-range-popup-template.directive.d.ts +13 -2
  37. package/daterange/date-range-popup.component.d.ts +83 -73
  38. package/daterange/date-range-selection.directive.d.ts +10 -9
  39. package/daterange/date-range-start-input.directive.d.ts +29 -27
  40. package/daterange/date-range.component.d.ts +4 -6
  41. package/daterange/date-range.service.d.ts +27 -27
  42. package/datetimepicker/datetimepicker.component.d.ts +91 -79
  43. package/datetimepicker/datetimepicker.module.d.ts +16 -2
  44. package/datetimepicker/localization/datetimepicker-custom-messages.component.d.ts +10 -1
  45. package/esm2022/calendar/calendar.component.mjs +40 -56
  46. package/esm2022/calendar/calendar.module.mjs +10 -21
  47. package/esm2022/calendar/calendars.module.mjs +10 -21
  48. package/esm2022/calendar/localization/calendar-custom-messages.component.mjs +9 -1
  49. package/esm2022/calendar/localization/multiview-calendar-custom-messages.component.mjs +9 -1
  50. package/esm2022/calendar/models/selection-range.interface.mjs +2 -0
  51. package/esm2022/calendar/models/selection.mjs +11 -0
  52. package/esm2022/calendar/multiview-calendar.component.mjs +49 -40
  53. package/esm2022/calendar/multiview-calendar.module.mjs +1 -0
  54. package/esm2022/calendar/templates/cell-template.directive.mjs +16 -19
  55. package/esm2022/calendar/templates/century-cell-template.directive.mjs +15 -19
  56. package/esm2022/calendar/templates/decade-cell-template.directive.mjs +15 -19
  57. package/esm2022/calendar/templates/footer-template.directive.mjs +16 -17
  58. package/esm2022/calendar/templates/header-template.directive.mjs +19 -18
  59. package/esm2022/calendar/templates/header-title-template.directive.mjs +15 -18
  60. package/esm2022/calendar/templates/month-cell-template.directive.mjs +15 -17
  61. package/esm2022/calendar/templates/navigation-item-template.directive.mjs +15 -18
  62. package/esm2022/calendar/templates/weeknumber-cell-template.directive.mjs +15 -17
  63. package/esm2022/calendar/templates/year-cell-template.directive.mjs +15 -20
  64. package/esm2022/dateinput/dateinput.component.mjs +57 -126
  65. package/esm2022/dateinput/dateinput.module.mjs +15 -2
  66. package/esm2022/dateinput/localization/dateinput-custom-messages.component.mjs +18 -1
  67. package/esm2022/datepicker/datepicker.component.mjs +71 -130
  68. package/esm2022/datepicker/datepicker.module.mjs +11 -2
  69. package/esm2022/datepicker/localization/datepicker-custom-messages.component.mjs +11 -1
  70. package/esm2022/daterange/date-range-end-input.directive.mjs +25 -24
  71. package/esm2022/daterange/date-range-popup-template.directive.mjs +13 -2
  72. package/esm2022/daterange/date-range-popup.component.mjs +83 -73
  73. package/esm2022/daterange/date-range-selection.directive.mjs +10 -9
  74. package/esm2022/daterange/date-range-start-input.directive.mjs +29 -27
  75. package/esm2022/daterange/date-range.component.mjs +4 -6
  76. package/esm2022/daterange/date-range.service.mjs +27 -27
  77. package/esm2022/datetimepicker/datetimepicker.component.mjs +94 -82
  78. package/esm2022/datetimepicker/datetimepicker.module.mjs +16 -2
  79. package/esm2022/datetimepicker/localization/datetimepicker-custom-messages.component.mjs +10 -1
  80. package/esm2022/package-metadata.mjs +2 -2
  81. package/esm2022/timepicker/localization/messages.mjs +14 -14
  82. package/esm2022/timepicker/localization/timepicker-custom-messages.component.mjs +12 -1
  83. package/esm2022/timepicker/timepicker.component.mjs +57 -119
  84. package/esm2022/timepicker/timepicker.module.mjs +13 -2
  85. package/esm2022/timepicker/timeselector.component.mjs +24 -40
  86. package/fesm2022/progress-kendo-angular-dateinputs.mjs +913 -1015
  87. package/package.json +13 -12
  88. package/popup-settings.model.d.ts +3 -10
  89. package/timepicker/localization/messages.d.ts +14 -14
  90. package/timepicker/localization/timepicker-custom-messages.component.d.ts +12 -1
  91. package/timepicker/timepicker.component.d.ts +53 -115
  92. package/timepicker/timepicker.module.d.ts +13 -2
  93. package/timepicker/timeselector.component.d.ts +24 -40
@@ -61,140 +61,161 @@ export declare class DateRangePopupComponent implements OnInit, OnDestroy {
61
61
  */
62
62
  showCalendarHeader: boolean;
63
63
  /**
64
- * Sets or gets the `focusedDate` property of the MultiViewCalendar and
65
- * defines the focused date of the component
66
- * ([see example]({% slug dates_multiviewcalendar %}#toc-focused-dates)).
64
+ * Specifies the focused date of the MultiViewCalendar component.
65
+ * Defines which date receives focus when the component loads ([see example]({% slug dates_multiviewcalendar %}#toc-focused-dates)).
67
66
  *
68
- * > If the MultiViewCalendar is out of the min or max range, it normalizes the defined `focusedDate`.
67
+ * If the MultiViewCalendar is out of the min or max range, it normalizes the defined `focusedDate`.
69
68
  */
70
69
  focusedDate: Date;
71
70
  /**
72
- * Sets the dates of the MultiViewCalendar that will be disabled
73
- * ([see example]({% slug disabled_dates_multiviewcalendar %})).
71
+ * Specifies the dates in the MultiViewCalendar that you want to disable ([see example]({% slug disabled_dates_multiviewcalendar %})).
74
72
  */
75
73
  disabledDates: ((date: Date) => boolean) | Date[] | Day[];
76
74
  /**
77
- * Defines the active view that the MultiViewCalendar initially renders
78
- * ([see example]({% slug viewoptions_multiviewcalendar %})).
75
+ * Specifies the initial view that the MultiViewCalendar displays when it loads ([see example]({% slug viewoptions_multiviewcalendar %})).
79
76
  * By default, the active view is `month`.
80
77
  *
81
- * > You have to set `activeView` within the `topView`-`bottomView` range.
78
+ * You have to set `activeView` within the `topView`-`bottomView` range.
79
+ *
80
+ * @default 'month
82
81
  */
83
82
  activeView: CalendarView;
84
83
  /**
85
- * Defines the bottommost view, to which the user can navigate
86
- * ([see example](slug:viewdepth_multiviewcalendar)).
84
+ * Specifies the lowest view level that users can navigate to ([see example](slug:viewdepth_multiviewcalendar)).
85
+ *
86
+ * @default 'month'
87
87
  */
88
88
  bottomView: CalendarView;
89
89
  /**
90
- * Defines the topmost view, to which the user can navigate.
90
+ * Specifies the highest view level that users can navigate to ([see example](slug:viewdepth_multiviewcalendar)).
91
+ *
92
+ * @default 'century'
91
93
  */
92
94
  topView: CalendarView;
93
95
  /**
94
- * Sets or gets the `min` property of the MultiViewCalendar and
95
- * defines the minimum allowed date value.
96
- * By default, the `min` value is `1900-1-1`.
96
+ * Specifies the minimum date that users can select ([see example]({% slug dates_multiviewcalendar %}#toc-focused-dates)).
97
+ *
98
+ * @default '1900-01-01'
97
99
  */
98
100
  min: Date;
99
101
  /**
100
- * Sets or gets the `max` property of the MultiViewCalendar and
101
- * defines the maximum allowed date value.
102
- * By default, the `max` value is `2099-12-31`.
102
+ * Specifies the maximum date that users can select ([see example]({% slug dates_multiviewcalendar %}#toc-focused-dates)).
103
+ *
104
+ * @default '2099-12-31'
103
105
  */
104
106
  max: Date;
105
107
  /**
106
- * Allows reverse selection.
107
- * If `allowReverse` is set to `true`, the component skips the validation of whether the start date is after the end date.
108
+ * Determines whether users can select dates in reverse order.
109
+ * When you set `allowReverse` to `true`, the component does not validate if the start date comes after the end date.
108
110
  *
109
111
  * @default false
110
112
  */
111
113
  allowReverse: boolean;
112
114
  /**
113
- * Determines whether to enable animation when navigating to previous/next view.
115
+ * Determines whether to animate transitions when users navigate between views.
116
+ *
114
117
  * @default false
115
118
  */
116
119
  animateNavigation: boolean;
117
120
  /**
118
- * Sets or gets the `disabled` property of the MultiViewCalendar and
119
- * determines whether the component is active
120
- * ([see example]({% slug disabled_multiviewcalendar %})).
121
+ * Determines whether the MultiViewCalendar is interactive ([see example]({% slug disabled_multiviewcalendar %})).
122
+ * When you set `disabled` to `true`, users cannot interact with the component.
123
+ *
124
+ * @default false
121
125
  */
122
126
  disabled: boolean;
123
127
  /**
124
- * Sets or gets the `views` property of the MultiViewCalendar and
125
- * defines the number of rendered months.
128
+ * Specifies the number of calendar views to display side by side.
126
129
  *
127
130
  * @default 2
128
131
  */
129
132
  views: number;
130
133
  /**
131
- * Determines whether to display a week number column in the `month` view
132
- * ([see example]({% slug weeknumcolumn_multiviewcalendar %})).
134
+ * Determines whether to display week numbers in the `month` view ([see example]({% slug weeknumcolumn_multiviewcalendar %})).
135
+ *
136
+ * @default false
133
137
  */
134
138
  weekNumber: boolean;
135
139
  /**
136
- * Controls the popup animation.
137
- * By default, the opening and closing animations are enabled.
140
+ * Controls the popup animations.
141
+ * When you set `animate` to `true`, the popup displays opening and closing animations.
138
142
  * For more information about controlling the popup animations,
139
143
  * refer to the article on [animations]({% slug animations_popup %}).
144
+ *
145
+ * @default true
140
146
  */
141
147
  animate: boolean | PopupAnimation;
142
148
  /**
143
- * Specifies the element that will be used as an anchor. The popup opens next to that element.
149
+ * Specifies the element that serves as an anchor for the popup.
150
+ * The popup opens next to this element.
144
151
  * For more information, refer to the section on
145
152
  * [aligning to specific components]({% slug alignmentpositioning_popup %}#toc-aligning-to-components).
146
153
  */
147
154
  anchor: ElementRef;
148
155
  /**
149
- * Specifies the anchor pivot point.
156
+ * Specifies the alignment point for the anchor element.
150
157
  * For more information, refer to the section on
151
158
  * [positioning]({% slug alignmentpositioning_popup %}#toc-positioning).
152
159
  */
153
160
  anchorAlign: Align;
154
161
  /**
155
- * Determines whether to display a header for every view (for example the month name).
162
+ * Determines whether to display a header for each view ([see example]({% slug viewheader_multiviewcalendar %})).
163
+ * For example, displays the month name in the month view.
156
164
  *
157
165
  * @default false
158
166
  */
159
167
  showViewHeader: boolean;
160
168
  /**
161
- * Displays the days that fall out of the current month ([see example]({% slug viewoptions_multiviewcalendar %}#toc-displaying-other-month-days)).
169
+ * Determines whether to display days from adjacent months in the current month view ([see example]({% slug viewoptions_multiviewcalendar %}#toc-displaying-other-month-days)).
170
+ *
162
171
  * @default false
163
172
  */
164
173
  showOtherMonthDays: boolean;
165
174
  /**
166
- * Controls the popup container. By default, the popup is appended to the root component.
175
+ * Specifies where to render the popup container.
176
+ * By default, the popup renders in the root component.
177
+ *
178
+ * @default 'root'
167
179
  */
168
180
  appendTo: 'root' | 'component' | ViewContainerRef;
169
181
  /**
170
- * Configures the collision behavior of the popup.
182
+ * Configures how the popup behaves when it encounters viewport boundaries.
171
183
  * For more information, refer to the article on
172
184
  * [viewport boundary detection]({% slug viewportboundarydetection_popup %}).
185
+ *
186
+ * @default { horizontal: 'fit', vertical: 'flip' }
173
187
  */
174
188
  collision: Collision;
175
189
  /**
176
- * Specifies the pivot point of the popup.
190
+ * Specifies the alignment point for the popup element.
177
191
  * For more information, refer to the section on
178
192
  * [positioning]({% slug alignmentpositioning_popup %}#toc-positioning).
179
193
  */
180
194
  popupAlign: Align;
181
195
  /**
182
- * Specifies the margin value that will be added to the popup dimensions in pixels
183
- * and leaves a blank space between the popup and the anchor.
196
+ * Specifies the margin around the popup in pixels.
197
+ * Creates empty space between the popup and its anchor element.
184
198
  */
185
199
  margin: Margin;
186
200
  /**
187
- * Enables or disables the adaptive mode. By default the adaptive rendering is disabled.
201
+ * Determines whether the component uses adaptive rendering for different screen sizes.
202
+ * By default, adaptive rendering is disabled.
203
+ *
204
+ * @default 'none'
188
205
  */
189
206
  adaptiveMode: AdaptiveMode;
190
207
  /**
191
- * Sets the title of the input element of the DateRangePopup and the title text rendered
192
- * in the header of the popup(action sheet). Applicable only when [`AdaptiveMode` is set to `auto`](slug:api_dateinputs_adaptivemode).
208
+ * Specifies the title text for the input element and the header of the action sheet.
209
+ * Applies only when [`AdaptiveMode` is set to `auto`](slug:api_dateinputs_adaptivemode).
210
+ *
211
+ * @default ""
193
212
  */
194
213
  adaptiveTitle: string;
195
214
  /**
196
- * Sets the subtitle text rendered in the header of the popup(action sheet).
197
- * Applicable only when [`AdaptiveMode` is set to `auto`](slug:api_dateinputs_adaptivemode).
215
+ * Specifies the subtitle text displayed in the header of the action sheet.
216
+ * Applies only when [`AdaptiveMode` is set to `auto`](slug:api_dateinputs_adaptivemode).
217
+ *
218
+ * @default ""
198
219
  */
199
220
  adaptiveSubtitle: string;
200
221
  /**
@@ -202,52 +223,41 @@ export declare class DateRangePopupComponent implements OnInit, OnDestroy {
202
223
  *
203
224
  * TODO: Make visible when the Infinite Calendar is fixed to set properly the size option.
204
225
  * Sets the size of the component.
205
- *
206
- * The possible values are:
207
- * * `small`
208
- * * `medium` (Default)
209
- * * `large`
210
- * * `none`
211
- *
226
+ * @default 'medium'
212
227
  */
213
228
  size: DateInputSize;
214
229
  /**
215
- * Fires each time the popup is about to open
216
- * ([see example](slug:popup_daterange#toc-events)).
217
- * This event is preventable. If you cancel the event, the popup will remain closed.
230
+ * Fires when the popup is about to open ([see example](slug:popup_daterange#toc-events)).
231
+ * You can prevent this event to keep the popup closed.
218
232
  */
219
233
  open: EventEmitter<PreventableEvent>;
220
234
  /**
221
- * Fires each time the popup is about to close
222
- * ([see example](slug:popup_daterange#toc-events)).
223
- * This event is preventable. If you cancel the event, the popup will remain open.
235
+ * Fires when the popup is about to close ([see example](slug:popup_daterange#toc-events)).
236
+ * You can prevent this event to keep the popup open.
224
237
  */
225
238
  close: EventEmitter<PreventableEvent>;
226
239
  /**
227
- * Fires each time the calendar element is blurred
228
- * ([see example](slug:popup_daterange#toc-events)).
240
+ * Fires when the calendar element loses focus ([see example](slug:popup_daterange#toc-events)).
229
241
  */
230
242
  onBlur: EventEmitter<null>;
231
243
  /**
232
- * Fires each time the calendar element is focused
233
- * ([see example](slug:popup_daterange#toc-events)).
244
+ * Fires when the calendar element receives focus ([see example](slug:popup_daterange#toc-events)).
234
245
  */
235
246
  onFocus: EventEmitter<null>;
236
247
  /**
237
- * Fires each time the popup is closed either on `ESC` keypress or on leaving the viewport
238
- * ([see example](slug:popup_daterange#toc-events)).
248
+ * Fires when the popup closes due to an `ESC` keypress or when it leaves the viewport ([see example](slug:popup_daterange#toc-events)).
239
249
  */
240
250
  cancel: EventEmitter<null>;
241
251
  /**
242
- * The active calendar that is visible in the popup
252
+ * Gets the active calendar that displays in the popup.
243
253
  *
244
- * > When the popup is closed, the property returns `null`.
254
+ * When the popup is closed, the property returns `null`.
245
255
  */
246
256
  get calendar(): MultiViewCalendarComponent;
247
257
  set calendar(calendar: MultiViewCalendarComponent);
248
258
  /**
249
259
  * Gets the active state of the component.
250
- * When the opened calendar is active, returns `true`.
260
+ * Returns `true` when the opened calendar is active.
251
261
  */
252
262
  get isActive(): boolean;
253
263
  /**
@@ -304,25 +314,25 @@ export declare class DateRangePopupComponent implements OnInit, OnDestroy {
304
314
  */
305
315
  onRangeSelectionChange(rangeSelection: any): void;
306
316
  /**
307
- * Opens the popup component and focuses the calendar.
317
+ * Opens the popup component and focuses the calendar.
308
318
  */
309
319
  activate(): void;
310
320
  /**
311
- * Focuses the calendar (if available).
321
+ * Focuses the calendar if it is available.
312
322
  */
313
323
  focus(): void;
314
324
  /**
315
- * Checks if a focused element ids placed inside the popup.
325
+ * Checks if a focused element is inside the popup.
316
326
  *
317
- * @return boolean;
327
+ * @returns {boolean} Returns `true` if the focused element is inside the popup.
318
328
  */
319
329
  hasActiveContent(): boolean;
320
330
  /**
321
- * Toggles the visibility of the popup or actionSheet.
322
- * If you use the `toggle` method to show or hide the popup or actionSheet,
331
+ * Toggles the visibility of the popup or action sheet.
332
+ * When you use the `toggle` method to show or hide the popup or action sheet,
323
333
  * the `open` and `close` events do not fire.
324
334
  *
325
- * @param show The state of the popup.
335
+ * @param {boolean} show The state of the popup.
326
336
  */
327
337
  toggle(show?: boolean): void;
328
338
  /**
@@ -10,9 +10,9 @@ import { SelectionRangeEnd } from '../calendar/models/selection-range-end.type';
10
10
  import { AutoCorrectOn } from './auto-correct-on.type';
11
11
  import * as i0 from "@angular/core";
12
12
  /**
13
- * A directive which manages the MultiViewCalendar range selection.
13
+ * Manages the MultiViewCalendar range selection.
14
14
  * This directive will be `deprecated` in a future version.
15
- * We recommend using the MultiViewCalendar [range selection]({% slug selection_multiviewcalendar %}#toc-range-selection).
15
+ * Use the MultiViewCalendar [range selection]({% slug selection_multiviewcalendar %}#toc-range-selection) instead.
16
16
  */
17
17
  export declare class DateRangeSelectionDirective implements OnInit {
18
18
  private calendar;
@@ -21,15 +21,17 @@ export declare class DateRangeSelectionDirective implements OnInit {
21
21
  private dateRangeService;
22
22
  /**
23
23
  * Specifies the auto-correction behavior. If the start date is greater than the end date,
24
- * the directive fixes the date range to a single date either on input change or on blur
24
+ * the directive corrects the date range to a single date either on input change or on blur
25
25
  * ([see example](slug:autocorrect_daterange#toc-calendar-selection-directive)).
26
26
  *
27
- * By default, the auto-correction is triggered on change.
27
+ * By default, the auto-correction triggers on change.
28
28
  * To disable this behavior, set the `autoCorrectOn` property to `none`.
29
+ *
30
+ * @default 'change'
29
31
  */
30
32
  autoCorrectOn: AutoCorrectOn;
31
33
  /**
32
- * Gets or sets the selection range of the calendar. When a new range is set,
34
+ * Gets or sets the selection range of the calendar. When you set a new range,
33
35
  * the connected DateRangeService notifies all related parties.
34
36
  */
35
37
  get selectionRange(): SelectionRange;
@@ -39,8 +41,7 @@ export declare class DateRangeSelectionDirective implements OnInit {
39
41
  * user interaction. When a new active end is set, the connected DateRangeService notifies all related parties.
40
42
  */
41
43
  /**
42
- * Specifies which end of the selection range will be marked as active. The active end gets modified upon user
43
- * interaction. When a new active end is set, the wired DateRangeService notifies all related components. For
44
+ * Specifies which end of the selection range is marked as active. The active end gets modified when you interact with the component. When you set a new active end, the wired DateRangeService notifies all related components. For
44
45
  * example, the start and end DateInput components.
45
46
  *
46
47
  * > If the selection range is undefined, the value is ignored.
@@ -53,12 +54,12 @@ export declare class DateRangeSelectionDirective implements OnInit {
53
54
  */
54
55
  shouldSetRange: boolean;
55
56
  /**
56
- * Fires when the active range end is changed. For more information, refer to
57
+ * Fires when the active range end changes. For more information, refer to
57
58
  * the section on [events](slug:events_multiviewcalendar).
58
59
  */
59
60
  activeRangeEndChange: EventEmitter<SelectionRangeEnd>;
60
61
  /**
61
- * Fires when the selection range is changed. For more information, refer to
62
+ * Fires when the selection range changes. For more information, refer to
62
63
  * the section on [events](slug:events_multiviewcalendar).
63
64
  */
64
65
  selectionRangeChange: EventEmitter<SelectionRange>;
@@ -10,46 +10,48 @@ import { DateRangeService } from './date-range.service';
10
10
  import { SelectionRange } from '../calendar/models/selection-range.interface';
11
11
  import * as i0 from "@angular/core";
12
12
  /**
13
- * A directive which manages the start selection range.
13
+ * Represents a directive that manages the start selection range for date range inputs.
14
14
  *
15
- * > You can use the DateRangeStartInputDirective only with a DateInput component.
15
+ * You can use the DateRangeStartInputDirective only with a DateInput component.
16
+ *
17
+ * @example
18
+ * ```typescript
19
+ * @Component({
20
+ * selector: 'my-app',
21
+ * template: `
22
+ * <kendo-daterange>
23
+ * <kendo-dateinput kendoDateRangeStartInput [(value)]="startDate"></kendo-dateinput>
24
+ * <kendo-dateinput kendoDateRangeEndInput [(value)]="endDate"></kendo-dateinput>
25
+ * </kendo-daterange>
26
+ * `
27
+ * })
28
+ * export class AppComponent {
29
+ * public startDate: Date = new Date();
30
+ * public endDate: Date = new Date();
31
+ * }
32
+ * ```
33
+ *
34
+ * @remarks
35
+ * Applied to: {@link DateInputComponent}
16
36
  */
17
37
  export declare class DateRangeStartInputDirective extends DateRangeInput implements OnInit, OnDestroy {
18
38
  private rangeService;
19
39
  private dateInput;
20
40
  renderer: Renderer2;
21
41
  /**
22
- * Specifies the auto-correction behavior. If the start date is greater than the end date,
23
- * the directive fixes the date range to a single date either on input change or on blur
24
- * ([see example](slug:autocorrect_daterange#toc-input-directives)).
42
+ * Specifies when the component automatically corrects invalid date ranges.
43
+ * When the start date is greater than the end date, the component fixes the range to a single date either on input change or on blur ([see example](slug:autocorrect_daterange#toc-input-directives)).
25
44
  *
26
45
  * By default, the component does not perform any auto-correction.
46
+ *
27
47
  */
28
48
  autoCorrectOn: AutoCorrectOn;
29
49
  /**
30
- * Specifies the navigation behavior of the calendar when the active end is changed on input focus.
31
- * When enabled, the calendar navigates to the value of the focused input. Otherwise, the calendar
32
- * displays the last picked date.
33
- *
34
- * By default, the automatic navigation behavior on input focus is disabled.
50
+ * Determines how the calendar navigates when you focus on the input.
51
+ * When you set `navigateCalendarOnFocus` to `true`, the calendar moves to the value of the focused input.
52
+ * When you set it to `false`, the calendar shows the last selected date.
35
53
  *
36
- * @example
37
- * ```ts
38
- * _@Component({
39
- * selector: 'my-app',
40
- * template: `
41
- * <h5>Toggle input focus to see the calendar navigating between range ends.</h5>
42
- * <kendo-daterange>
43
- * <kendo-dateinput kendoDateRangeStartInput [navigateCalendarOnFocus]="true" [(value)]="start"></kendo-dateinput>
44
- * <kendo-dateinput kendoDateRangeEndInput [navigateCalendarOnFocus]="true" [(value)]="end"></kendo-dateinput>
45
- * </kendo-daterange>
46
- * `
47
- * })
48
- * export class AppComponent {
49
- * public start: Date = new Date(2018, 3, 10);
50
- * public end: Date = new Date(2018, 10, 20);
51
- * }
52
- * ```
54
+ * @default false
53
55
  */
54
56
  navigateCalendarOnFocus: boolean;
55
57
  constructor(rangeService: DateRangeService, dateInput: DateInputComponent, element: ElementRef, renderer: Renderer2, zone: NgZone);
@@ -24,6 +24,9 @@ import * as i0 from "@angular/core";
24
24
  * public dateRange: any = { start: null, end: null };
25
25
  * }
26
26
  * ```
27
+ *
28
+ * @remarks
29
+ * Supported children components are: {@link DateRangePopupComponent}, {@link DateRangePopupCustomMessagesComponent}, {@link DateInputComponent}.
27
30
  */
28
31
  export declare class DateRangeComponent implements AfterContentInit, OnDestroy {
29
32
  private dateRangeService;
@@ -33,12 +36,7 @@ export declare class DateRangeComponent implements AfterContentInit, OnDestroy {
33
36
  * TODO: Make visible when the Infinite Calendar is fixed to set properly the size option.
34
37
  * Sets the size of the component.
35
38
  *
36
- * The possible values are:
37
- * * `small`
38
- * * `medium` (Default)
39
- * * `large`
40
- * * `none`
41
- *
39
+ * @default 'medium'
42
40
  */
43
41
  size: DateInputSize;
44
42
  /**
@@ -10,35 +10,35 @@ import { SelectionRangeEnd } from '../calendar/models/selection-range-end.type';
10
10
  import { SelectionRange } from '../calendar/models/selection-range.interface';
11
11
  import * as i0 from "@angular/core";
12
12
  /**
13
- * A service that handles the communication between the components that are placed inside the DateRangeComponent.
14
- * For example, the start and end `DateInput` and `DateRangePopup` components.
13
+ * Manages communication between components inside the DateRangeComponent.
14
+ * For example, handles interactions between the start and end DateInput components and the DateRangePopup component.
15
15
  */
16
16
  export declare class DateRangeService {
17
17
  private renderer?;
18
18
  /**
19
- * An Observable instance that notifies when the `activeRangeEnd` state is changed.
19
+ * Notifies when the `activeRangeEnd` state changes.
20
20
  */
21
21
  activeRangeEnd$: BehaviorSubject<SelectionRangeEnd>;
22
22
  /**
23
- * An Observable instance that notifies when the `focusedDate` is changed.
23
+ * Notifies when the `focusedDate` changes.
24
24
  */
25
25
  focusedDate$: BehaviorSubject<Date>;
26
26
  /**
27
- * An Observable instance that notifies when the end `DateInput` component is changed.
28
- * For example, when a new end `DateInput` is attached or when the old one is detached.
27
+ * Notifies when the end DateInput component changes.
28
+ * For example, when you attach a new end `DateInput` or detach the old one.
29
29
  */
30
30
  endInput$: BehaviorSubject<DateInputComponent>;
31
31
  /**
32
- * An Observable instance that notifies when the start `DateInput` component is changed.
33
- * For example, when a new start `DateInput` is attached or the old one is detached.
32
+ * Notifies when the start DateInput component changes.
33
+ * For example, when you attach a new start `DateInput` or detach the old one.
34
34
  */
35
35
  startInput$: BehaviorSubject<DateInputComponent>;
36
36
  /**
37
- * An Observable instance that notifies when the `DateRangePopup` component is changed.
37
+ * Notifies when the `DateRangePopup` component changes.
38
38
  */
39
39
  dateRangePopup$: BehaviorSubject<DateRangePopupComponent>;
40
40
  /**
41
- * An Observable instance that notifies when the state of the selection range is changed.
41
+ * Notifies when the selection range state changes.
42
42
  */
43
43
  range$: BehaviorSubject<SelectionRange>;
44
44
  /**
@@ -50,13 +50,13 @@ export declare class DateRangeService {
50
50
  */
51
51
  get focusedDate(): Date;
52
52
  /**
53
- * Gets the `min` range value.
54
- * The `min` value is extracted from the `start` DateInput value or the `min` value of the Calendar.
53
+ * Gets the minimum range value.
54
+ * Takes the `min` value from the start DateInput component or the `min` value of the calendar.
55
55
  */
56
56
  get min(): Date;
57
57
  /**
58
- * Gets the `max` range value.
59
- * The `max` value is extracted from the `end` DateInput value or the `max` value of the Calendar.
58
+ * Gets the maximum range value.
59
+ * Takes the `max` value from the end DateInput component or the `max` value of the calendar.
60
60
  */
61
61
  get max(): Date;
62
62
  /**
@@ -76,8 +76,8 @@ export declare class DateRangeService {
76
76
  /** @hidden */
77
77
  constructor(renderer?: Renderer2);
78
78
  /**
79
- * Activates the registered `DateRangePopup` component.
80
- * The method opens the popup and focuses the calendar.
79
+ * Opens the registered DateRangePopup component.
80
+ * Opens the popup and focuses the calendar.
81
81
  */
82
82
  activatePopup(): void;
83
83
  /**
@@ -97,39 +97,39 @@ export declare class DateRangeService {
97
97
  */
98
98
  cancelPopup(): void;
99
99
  /**
100
- * Completes all observables to mitigate possible memory leaks.
101
- * Calls the method when a component that uses it is destroyed.
100
+ * Completes all observables to prevent memory leaks.
101
+ * Call this method when you destroy a component that uses the service.
102
102
  */
103
103
  destroy(): void;
104
104
  /**
105
- * Returns `true` when an active component that is placed inside the `DateRangeComponent` is detected.
106
- * For example, the opened popup or the focused DateInput.
105
+ * Checks if any component inside the DateRangeComponent is active.
106
+ * For example, detects an open popup or a focused DateInput component.
107
107
  *
108
- * @returns `true` if an active component is present.
108
+ * @returns {boolean} Returns `true` if an active component is present.
109
109
  */
110
110
  hasActiveComponent(): boolean;
111
111
  /**
112
- * Registers a new start `DateInput` component. Notifies all `startInput$` listeners.
112
+ * Registers a new start DateInput component and notifies all `startInput$` listeners.
113
113
  */
114
114
  registerStartInput(startInput: DateInputComponent): void;
115
115
  /**
116
- * Registers a new end `DateInput` component. Notifies all `endInput$` listeners.
116
+ * Registers a new end `DateInput` component and notifies all `endInput$` listeners.
117
117
  */
118
118
  registerEndInput(endInput: DateInputComponent): void;
119
119
  /**
120
- * Registers a new `DateRangePopup` component. Notifies all `dateRangePopup$` listeners.
120
+ * Registers a new `DateRangePopup` component and notifies all `dateRangePopup$` listeners.
121
121
  */
122
122
  registerPopup(dateRangePopup: DateRangePopupComponent): void;
123
123
  /**
124
- * Updates the `activeRangeEnd` value. Notifies all `activeRangeEnd$` listeners.
124
+ * Updates the `activeRangeEnd` value and notifies all `activeRangeEnd$` listeners.
125
125
  */
126
126
  setActiveRangeEnd(activeRange: SelectionRangeEnd): void;
127
127
  /**
128
- * Updates the focused date. Notifies all `focusedDate$` listeners.
128
+ * Updates the focused date and notifies all `focusedDate$` listeners.
129
129
  */
130
130
  setFocusedDate(value: Date): void;
131
131
  /**
132
- * Updates the selection range. Notifies all `range$` listeners.
132
+ * Updates the selection range and notifies all `range$` listeners.
133
133
  */
134
134
  setRange(range?: SelectionRange): void;
135
135
  static ɵfac: i0.ɵɵFactoryDeclaration<DateRangeService, [{ optional: true; }]>;