@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
@@ -37,7 +37,26 @@ import { WeekDaysFormat } from '../common/models/week-days-format';
37
37
  import { AdaptiveSize, AdaptiveService } from '@progress/kendo-angular-utils';
38
38
  import * as i0 from "@angular/core";
39
39
  /**
40
- * Represents the [Kendo UI DatePicker component for Angular](slug:overview_datepicker).
40
+ * Represents the Kendo UI DatePicker component for Angular.
41
+ * Provides a user-friendly way to select dates with a calendar popup ([see example](slug:overview_datepicker)).
42
+ *
43
+ * @example
44
+ * ```ts
45
+ * @Component({
46
+ * selector: 'my-app',
47
+ * template: `
48
+ * <kendo-datepicker
49
+ * [value]="selectedDate"
50
+ * </kendo-datepicker>
51
+ * `
52
+ * })
53
+ * export class AppComponent {
54
+ * selectedDate = new Date();
55
+ * }
56
+ * ```
57
+ *
58
+ * @remarks
59
+ * Supported children components are: {@link DatePickerCustomMessagesComponent}.
41
60
  */
42
61
  export declare class DatePickerComponent extends MultiTabStop implements ControlValueAccessor, OnInit, AfterViewInit, OnChanges, OnDestroy, Validator {
43
62
  zone: NgZone;
@@ -71,13 +90,14 @@ export declare class DatePickerComponent extends MultiTabStop implements Control
71
90
  */
72
91
  set cellTemplateRef(template: CellTemplateDirective);
73
92
  /**
74
- * If set to `true`, renders a clear button after the input text or DatePicker value has been changed.
75
- * Clicking this button resets the value of the component to `null` and triggers the `valueChange` event.
93
+ * Renders a clear button when set to `true` after the input text or DatePicker value changes.
94
+ * Click this button to reset the component value to `null` and trigger the `valueChange` event.
76
95
  * @default false
77
96
  */
78
97
  clearButton: boolean;
79
98
  /**
80
- * Sets the HTML attributes of the inner focusable input element. Attributes which are essential for certain component functionalities cannot be changed.
99
+ * Specifies the HTML attributes of the inner focusable input element.
100
+ * You cannot change attributes that are essential for certain component functionalities.
81
101
  */
82
102
  inputAttributes: {
83
103
  [key: string]: string;
@@ -147,7 +167,7 @@ export declare class DatePickerComponent extends MultiTabStop implements Control
147
167
  */
148
168
  set footerTemplateRef(template: FooterTemplateDirective);
149
169
  /**
150
- * Toggles the visibility of the Calendar footer.
170
+ * Controls the visibility of the Calendar footer.
151
171
  * @default false
152
172
  */
153
173
  footer: boolean;
@@ -160,62 +180,53 @@ export declare class DatePickerComponent extends MultiTabStop implements Control
160
180
  */
161
181
  set navigationItemTemplateRef(template: NavigationItemTemplateDirective);
162
182
  /**
163
- * Sets the format of the displayed Calendar week days' names.
183
+ * Specifies the format of the displayed Calendar week days' names.
164
184
  * @default 'short'
165
185
  */
166
186
  weekDaysFormat?: WeekDaysFormat;
167
187
  /**
168
- * Displays the days that fall out of the current month in the Calendar ([see example]({% slug viewoptions_calendar %}#toc-displaying-other-month-days)).
169
- * The default values per Calendar type are:
170
- * - `infinite` - false
171
- * - `classic` - true
188
+ * Shows the days that fall outside the current month in the Calendar ([see example]({% slug viewoptions_calendar %}#toc-displaying-other-month-days)).
189
+ * The default value is `false` for infinite Calendar type and `true` for classic Calendar type.
172
190
  */
173
191
  showOtherMonthDays: boolean;
174
192
  /**
175
- * Defines the active view that the Calendar initially renders
176
- * ([see example]({% slug viewoptions_calendar %}#toc-active-view)).
177
- * By default, the active view is `month`.
193
+ * Specifies the active view that the Calendar initially renders ([see example]({% slug viewoptions_calendar %}#toc-active-view)).
178
194
  *
179
- * > You have to set `activeView` within the `topView`-`bottomView` range.
195
+ * You have to set `activeView` within the `topView`-`bottomView` range.
196
+ * @default 'month'
180
197
  */
181
198
  activeView: CalendarView;
182
199
  /**
183
- * Defines the bottommost Calendar view to which the user can navigate
184
- * ([see example](slug:datepicker_calendar_options#toc-view-selection-depth)).
200
+ * Specifies the bottommost Calendar view to which you can navigate ([see example](slug:datepicker_calendar_options#toc-view-selection-depth)).
201
+ * @default 'month'
185
202
  */
186
203
  bottomView: CalendarView;
187
204
  /**
188
- * Defines the topmost Calendar view to which the user can navigate
189
- * ([see example](slug:datepicker_calendar_options#toc-view-selection-depth)).
205
+ * Specifies the topmost Calendar view to which you can navigate ([see example](slug:datepicker_calendar_options#toc-view-selection-depth)).
206
+ * @default 'century'
190
207
  */
191
208
  topView: CalendarView;
192
209
  /**
193
210
  * Specifies the Calendar type.
194
- *
195
- * The possible values are:
196
- * - `infinite` (default)
197
- * - `classic`
198
- *
211
+ * @default 'infinite'
199
212
  */
200
213
  calendarType: CalendarType;
201
214
  /**
202
215
  * Determines whether to enable animation when navigating to previous/next Calendar view.
203
216
  * Applies to the [`classic`]({% slug api_dateinputs_datepickercomponent %}#toc-calendartype) Calendar only.
204
217
  *
205
- * > This feature uses the [Web Animations API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Animations_API). In order to run the animation in browsers that do not support it, you need the `web-animations-js` polyfill.
218
+ * This feature uses the [Web Animations API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Animations_API). In order to run the animation in browsers that do not support it, you need the `web-animations-js` polyfill.
206
219
  *
207
220
  * @default false
208
221
  */
209
222
  animateCalendarNavigation: boolean;
210
223
  /**
211
- * Sets or gets the `disabled` property of the DatePicker and determines whether the component is active
212
- * ([see example]({% slug disabled_datepicker %})).
224
+ * Specifies or gets the `disabled` property of the DatePicker and determines whether the component is active ([see example]({% slug disabled_datepicker %})).
213
225
  * To learn how to disable the component in reactive forms, refer to the article on [Forms Support](slug:formssupport_datepicker#toc-managing-the-datepicker-disabled-state-in-reactive-forms).
214
226
  */
215
227
  disabled: boolean;
216
228
  /**
217
- * Sets the read-only state of the DatePicker
218
- * ([see example]({% slug readonly_datepicker %}#toc-read-only-datepicker)).
229
+ * Specifies the read-only state of the DatePicker ([see example]({% slug readonly_datepicker %}#toc-read-only-datepicker)).
219
230
  *
220
231
  * @default false
221
232
  */
@@ -224,17 +235,16 @@ export declare class DatePickerComponent extends MultiTabStop implements Control
224
235
  * Sets the read-only state of the DatePicker input field
225
236
  * ([see example]({% slug readonly_datepicker %}#toc-read-only-input)).
226
237
  *
227
- * > Note that if you set the [`readonly`]({% slug api_dateinputs_datepickercomponent %}#toc-readonly) property value to `true`,
238
+ * If you set the [`readonly`]({% slug api_dateinputs_datepickercomponent %}#toc-readonly) property value to `true`,
228
239
  * the input will be rendered in a read-only state regardless of the `readOnlyInput` value.
229
240
  */
230
241
  readOnlyInput: boolean;
231
242
  /**
232
243
  * Configures the popup options of the DatePicker.
233
244
  *
234
- * The available options are:
235
- * - `animate: Boolean`&mdash;Controls the popup animation. By default, the open and close animations are enabled.
236
- * - `appendTo: 'root' | 'component' | ViewContainerRef`&mdash;Controls the popup container. By default, the popup will be appended to the root component.
237
- * - `popupClass: String`&mdash;Specifies a list of CSS classes that are used to style the popup.
245
+ * The available options are animate which controls the popup animation and by default, the open and close animations are enabled.
246
+ * The appendTo option controls the popup container and by default, the popup will be appended to the root component.
247
+ * The popupClass option specifies a list of CSS classes that are used to style the popup.
238
248
  */
239
249
  set popupSettings(settings: PopupSettings);
240
250
  get popupSettings(): PopupSettings;
@@ -249,17 +259,18 @@ export declare class DatePickerComponent extends MultiTabStop implements Control
249
259
  /**
250
260
  * Specifies the smallest valid date
251
261
  * ([see example]({% slug dateranges_datepicker %})).
252
- * By default, the `min` value is `1900-1-1`.
262
+ * @default 1900-1-1
253
263
  */
254
264
  min: Date;
255
265
  /**
256
266
  * Specifies the biggest valid date
257
267
  * ([see example]({% slug dateranges_datepicker %})).
258
- * By default, the `max` value is `2099-12-31`.
268
+ * @default 2099-12-31
259
269
  */
260
270
  max: Date;
261
271
  /**
262
272
  * Determines whether the built-in validation for incomplete dates is to be enforced when a form is being validated.
273
+ * @default false
263
274
  */
264
275
  incompleteDateValidation: boolean;
265
276
  /**
@@ -299,13 +310,13 @@ export declare class DatePickerComponent extends MultiTabStop implements Control
299
310
  /**
300
311
  * Specifies the focused date of the Calendar component
301
312
  * ([see example](slug:datepicker_calendar_options#toc-focused-dates)).
313
+ * @default null
302
314
  */
303
315
  focusedDate: Date;
304
316
  /**
305
317
  * Specifies the value of the DatePicker component.
306
318
  *
307
- * > The `value` has to be a valid
308
- * [JavaScript `Date`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Date) instance or `null`.
319
+ * The `value` has to be a valid [JavaScript `Date`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Date) instance or `null`.
309
320
  */
310
321
  set value(value: Date | null);
311
322
  get value(): Date | null;
@@ -313,9 +324,8 @@ export declare class DatePickerComponent extends MultiTabStop implements Control
313
324
  * Specifies the date format that is used to display the input value
314
325
  * ([see example]({% slug formats_datepicker %})).
315
326
  *
316
- * Format value options:
317
- * - `string` - Provide a `string` if a single format is going to be used regardless whether the input is focused or blurred.
318
- * - [`FormatSettings`]({% slug api_dateinputs_formatsettings %}) - To display different formats when the component is focused or blurred, provide a settings object with specified `inputFormat` and `displayFormat` values.
327
+ * Format value options include string to provide a single format that is used regardless whether the input is focused or blurred.
328
+ * FormatSettings can be used to display different formats when the component is focused or blurred by providing a settings object with specified inputFormat and displayFormat values.
319
329
  */
320
330
  format: string | FormatSettings;
321
331
  /**
@@ -324,69 +334,25 @@ export declare class DatePickerComponent extends MultiTabStop implements Control
324
334
  *
325
335
  * The default value is 68, indicating that typing any value less than 69
326
336
  * will be assumed to be 20xx, while 69 and larger will be assumed to be 19xx.
337
+ * @default 68
327
338
  */
328
339
  twoDigitYearMax: number;
329
340
  /**
330
341
  * Defines the descriptions of the format sections in the input field.
331
342
  * ([more information and examples]({% slug placeholders_datepicker %})).
332
343
  *
333
- * @example
334
- * ```ts
335
- * _@Component({
336
- * selector: 'my-app',
337
- * template: `
338
- * <div class="row example-wrapper" [style.min-height.px]="450">
339
- * <div class="col-xs-12 col-md-6 example-col">
340
- * <p>Full-length format description:</p>
341
- * <kendo-datepicker formatPlaceholder="wide"></kendo-datepicker>
342
- * </div>
343
- *
344
- * <div class="col-xs-12 col-md-6 example-col">
345
- * <p>Narrow-length format description:</p>
346
- * <kendo-datepicker formatPlaceholder="narrow"></kendo-datepicker>
347
- * </div>
348
- *
349
- * <div class="col-xs-12 col-md-6 example-col">
350
- * <p>Short-length format description:</p>
351
- * <kendo-datepicker formatPlaceholder="short"></kendo-datepicker>
352
- * </div>
353
- *
354
- * <div class="col-xs-12 col-md-6 example-col">
355
- * <p>Display defined format:</p>
356
- * <kendo-datepicker format="MM/dd/yyyy" formatPlaceholder="formatPattern"></kendo-datepicker>
357
- * </div>
358
- *
359
- * <div class="col-xs-12 col-md-6 example-col">
360
- * <p>Custom defined format descriptions</p>
361
- * <kendo-datepicker format="MM/dd/yyyy"
362
- * [formatPlaceholder]="{ year: 'y', month: 'M', day: 'd' }"
363
- * ></kendo-datepicker>
364
- * </div>
365
- * </div>
366
- * `
367
- * })
368
- * export class AppComponent { }
369
- * ```
370
344
  */
371
345
  formatPlaceholder: DateInputFormatPlaceholder;
372
346
  /**
373
347
  * Specifies the hint the DatePicker displays when its value is `null`.
374
348
  * ([more information and exaples]({% slug placeholders_datepicker %})).
375
- *
376
- * @example
377
- * ```ts
378
- * _@Component({
379
- * selector: 'my-app',
380
- * template: `
381
- * <kendo-datepicker placeholder="Enter birth date..."></kendo-datepicker>
382
- * `
383
- * })
384
- * export class AppComponent { }
385
- * ```
349
+ * @default null
386
350
  */
387
351
  placeholder: string;
388
352
  /**
389
- * Sets or gets the `tabindex` property of the DatePicker.
353
+ * Sets the `tabindex` of the DatePicker.
354
+ * This property is used to set the order in which the DatePicker will receive focus when navigating through the page using the Tab key.
355
+ * @default 0
390
356
  */
391
357
  tabindex: number;
392
358
  /**
@@ -403,11 +369,13 @@ export declare class DatePickerComponent extends MultiTabStop implements Control
403
369
  /**
404
370
  * Sets the title of the input element of the DatePicker and the title text rendered
405
371
  * in the header of the popup(action sheet). Applicable only when [`AdaptiveMode` is set to `auto`](slug:api_dateinputs_adaptivemode).
372
+ * @default ""
406
373
  */
407
374
  adaptiveTitle: string;
408
375
  /**
409
376
  * Sets the subtitle text rendered in the header of the popup(action sheet).
410
377
  * Applicable only when [`AdaptiveMode` is set to `auto`](slug:api_dateinputs_adaptivemode).
378
+ * @default ""
411
379
  */
412
380
  adaptiveSubtitle: string;
413
381
  /**
@@ -420,52 +388,37 @@ export declare class DatePickerComponent extends MultiTabStop implements Control
420
388
  * Determines whether the built-in validator for disabled
421
389
  * date ranges is enforced when validating a form
422
390
  * ([see example]( slug:disabled_dates_datepicker#toc-using-a-function)).
391
+ * @default true
423
392
  */
424
393
  disabledDatesValidation: boolean;
425
394
  /**
426
395
  * Determines whether to display a week number column in the `month` view of the Calendar
427
396
  * ([see example](slug:datepicker_calendar_options#toc-week-number-column)).
397
+ * @default false
428
398
  */
429
399
  weekNumber: boolean;
430
400
  /**
431
401
  * Sets the size of the component.
432
- *
433
- * The possible values are:
434
- * * `small`
435
- * * `medium` (Default)
436
- * * `large`
437
- * * `none`
438
- *
402
+ * @default 'medium'
439
403
  */
440
404
  set size(size: DateInputSize);
441
405
  get size(): DateInputSize;
442
406
  /**
443
- * Sets the border radius of the component.
444
- *
445
- * The possible values are:
446
- * * `small`
447
- * * `medium` (Default)
448
- * * `large`
449
- * * `full`
450
- * * `none`
451
- *
407
+ * Specifies the border radius of the component.
408
+ * @default 'medium'
452
409
  */
453
410
  set rounded(rounded: DateInputRounded);
454
411
  get rounded(): DateInputRounded;
455
412
  /**
456
- * Sets the fillMode of the component.
457
- *
458
- * The possible values are:
459
- * * `solid` (Default)
460
- * * `flat`
461
- * * `outline`
462
- * * `none`
463
- *
413
+ * Specifies the fillMode of the component.
414
+ * @default 'solid'
464
415
  */
465
416
  set fillMode(fillMode: DateInputFillMode);
466
417
  get fillMode(): DateInputFillMode;
467
418
  /**
468
- * Enables or disables the adaptive mode. By default the adaptive rendering is disabled.
419
+ * Specifies whether to enable adaptive rendering. When enabled, the DatePicker automatically switches between a calendar popup on larger screens and an ActionSheet on mobile devices.
420
+ *
421
+ * @default 'none'
469
422
  */
470
423
  adaptiveMode: AdaptiveMode;
471
424
  /**
@@ -607,18 +560,6 @@ export declare class DatePickerComponent extends MultiTabStop implements Control
607
560
  handleActionSheetClick(e: PointerEvent): void;
608
561
  /**
609
562
  * Focuses the DatePicker component.
610
- *
611
- * @example
612
- * ```ts
613
- * _@Component({
614
- * selector: 'my-app',
615
- * template: `
616
- * <button (click)="datepicker.focus()">Focus date picker</button>
617
- * <kendo-datepicker #datepicker></kendo-datepicker>
618
- * `
619
- * })
620
- * export class AppComponent { }
621
- * ```
622
563
  */
623
564
  focus(): void;
624
565
  /**
@@ -630,7 +571,7 @@ export declare class DatePickerComponent extends MultiTabStop implements Control
630
571
  * If you use the `toggle` method to show or hide the popup or actionSheet,
631
572
  * the `open` and `close` events do not fire.
632
573
  *
633
- * @param show - The state of the popup.
574
+ * @param show The state of the popup.
634
575
  */
635
576
  toggle(show?: boolean): void;
636
577
  /**
@@ -17,8 +17,17 @@ import * as i11 from "../calendar/templates/weeknumber-cell-template.directive";
17
17
  import * as i12 from "../calendar/templates/year-cell-template.directive";
18
18
  import * as i13 from "@progress/kendo-angular-common";
19
19
  /**
20
- * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
21
- * definition for the DatePicker component.
20
+ * Required for adding all DatePicker features in [NgModule-based](link:site.data.urls.angular['ngmoduleapi']) Angular applications.
21
+ *
22
+ * @example
23
+ * ```typescript
24
+ * import { DatePickerModule } from '@progress/kendo-angular-dateinputs';
25
+ *
26
+ * @NgModule({
27
+ * imports: [DatePickerModule]
28
+ * })
29
+ * export class AppModule { }
30
+ * ```
22
31
  */
23
32
  export declare class DatePickerModule {
24
33
  static ɵfac: i0.ɵɵFactoryDeclaration<DatePickerModule, never>;
@@ -6,7 +6,17 @@ import { LocalizationService } from '@progress/kendo-angular-l10n';
6
6
  import { DatePickerMessages } from './messages';
7
7
  import * as i0 from "@angular/core";
8
8
  /**
9
- * Custom component messages override default component messages ([see example]({% slug globalization_dateinputs %}#toc-custom-messages)).
9
+ * Allows you to override the default localization messages of the DatePicker component ([see example]({% slug globalization_dateinputs %}#toc-custom-messages)).
10
+ *
11
+ * @example
12
+ * ```html
13
+ * <kendo-datepicker>
14
+ * <kendo-datepicker-messages
15
+ * today="Today"
16
+ * toggle="Open calendar">
17
+ * </kendo-datepicker-messages>
18
+ * </kendo-datepicker>
19
+ * ```
10
20
  */
11
21
  export declare class DatePickerCustomMessagesComponent extends DatePickerMessages {
12
22
  protected service: LocalizationService;
@@ -3,6 +3,7 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  /**
6
- * The literal type that defines which of the auto-correction options is enabled.
6
+ * Defines the auto-correction options for date range inputs.
7
+ * Use `blur` to correct on focus loss, `change` to correct on value change, or `none` to disable auto-correction.
7
8
  */
8
9
  export type AutoCorrectOn = 'blur' | 'change' | 'none';
@@ -10,44 +10,45 @@ 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 end range selection.
13
+ * Manages the end date selection in a date range.
14
14
  *
15
- * > You can use the DateRangeEndInputDirective only with a DateInput component.
15
+ * You can use the `DateRangeEndInputDirective` 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 DateRangeEndInputDirective extends DateRangeInput implements OnInit, OnDestroy {
18
38
  private rangeService;
19
39
  private dateInput;
20
40
  /**
21
- * Specifies the auto-correction behavior. If the start date is greater than the end date, the
22
- * directive fixes the date range to a single date either on input change or on blur
23
- * ([see example](slug:autocorrect_daterange#toc-input-directives)).
41
+ * Specifies the auto-correction behavior. If the start date is greater than the end date, the directive fixes the date range to a single date either on input change or on blur ([see example](slug:autocorrect_daterange#toc-input-directives)).
24
42
  *
25
43
  * By default, the component does not perform any auto-correction.
44
+ *
26
45
  */
27
46
  autoCorrectOn: AutoCorrectOn;
28
47
  /**
29
48
  * Specifies the navigation behavior of the calendar when the active end is changed on input focus. When enabled,
30
49
  * the calendar navigates to the value of the focused input. Otherwise, the calendar displays the last picked date.
31
50
  *
32
- * By default, the automatic navigation behavior on input focus is disabled.
33
- *
34
- * @example
35
- * ```ts
36
- * _@Component({
37
- * selector: 'my-app',
38
- * template: `
39
- * <h5>Toggle input focus to see the calendar navigating between range ends.</h5>
40
- * <kendo-daterange>
41
- * <kendo-dateinput kendoDateRangeStartInput [navigateCalendarOnFocus]="true" [(value)]="start"></kendo-dateinput>
42
- * <kendo-dateinput kendoDateRangeEndInput [navigateCalendarOnFocus]="true" [(value)]="end"></kendo-dateinput>
43
- * </kendo-daterange>
44
- * `
45
- * })
46
- * export class AppComponent {
47
- * public start: Date = new Date(2018, 3, 10);
48
- * public end: Date = new Date(2018, 10, 20);
49
- * }
50
- * ```
51
+ * @default false
51
52
  */
52
53
  navigateCalendarOnFocus: boolean;
53
54
  constructor(rangeService: DateRangeService, dateInput: DateInputComponent, element: ElementRef, renderer: Renderer2, zone: NgZone);
@@ -5,8 +5,19 @@
5
5
  import { TemplateRef } from '@angular/core';
6
6
  import * as i0 from "@angular/core";
7
7
  /**
8
- * A directive which renders the content of the DateRange Popup. To define the cell template, nest an
9
- * `<ng-template>` tag with the `kendoRangePopupTemplate` directive inside the component tag.
8
+ * Renders the content of the DateRange Popup.
9
+ * To define the popup template, nest an `<ng-template>` tag with the `kendoDateRangePopupTemplate` directive inside the component tag.
10
+ *
11
+ * @example
12
+ * ```html
13
+ * <kendo-daterange>
14
+ * <ng-template kendoDateRangePopupTemplate>
15
+ * <div class="custom-popup-content">
16
+ * Custom content for the DateRange Popup
17
+ * </div>
18
+ * </ng-template>
19
+ * </kendo-daterange>
20
+ * ```
10
21
  */
11
22
  export declare class DateRangePopupTemplateDirective {
12
23
  templateRef: TemplateRef<any>;