@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
@@ -67,7 +67,31 @@ const DATE_TAB_BUTTON_SELECTOR = '.k-button.k-group-start';
67
67
  const TIME_TAB_BUTTON_SELECTOR = '.k-button.k-group-end';
68
68
  const TODAY_BUTTON_SELECTOR = '.k-button.k-calendar-nav-today';
69
69
  /**
70
- * Represents the [Kendo UI DateTimePicker component for Angular]({% slug overview_datetimepicker %}).
70
+ * Represents the Kendo UI DateTimePicker component for Angular.
71
+ * Allows users to select both date and time values from an interactive calendar and time selector.
72
+ *
73
+ * @example
74
+ * ```typescript
75
+ * @Component({
76
+ * selector: 'my-app',
77
+ * template: `
78
+ * <kendo-datetimepicker
79
+ * [(value)]="dateTimeValue"
80
+ * [format]="'g'"
81
+ * [min]="minDate"
82
+ * [max]="maxDate">
83
+ * </kendo-datetimepicker>
84
+ * `
85
+ * })
86
+ * export class AppComponent {
87
+ * public dateTimeValue: Date = new Date();
88
+ * public minDate: Date = new Date(2000, 0, 1);
89
+ * public maxDate: Date = new Date(2030, 11, 31);
90
+ * }
91
+ * ```
92
+ *
93
+ * @remarks
94
+ * Supported children components are: {@link DateTimePickerCustomMessagesComponent}.
71
95
  */
72
96
  export class DateTimePickerComponent extends MultiTabStop {
73
97
  popupService;
@@ -132,15 +156,16 @@ export class DateTimePickerComponent extends MultiTabStop {
132
156
  weekDaysFormat = "short";
133
157
  /**
134
158
  * Displays the days that fall out of the current month in the Calendar ([see example]({% slug datetimepicker_calendar_options %}#toc-displaying-other-month-days)).
135
- * The default values per Calendar type are:
136
- * - `infinite` - false
137
- * - `classic` - true
159
+ * You can set this to show or hide days from other months.
160
+ *
161
+ * For infinite Calendar the default value is `false`, while for classic Calendar it is `true`.
138
162
  */
139
163
  showOtherMonthDays;
140
164
  /**
141
- * Specifies the value of the DateTimePicker component.
165
+ * Sets the value of the DateTimePicker component.
166
+ * You can set a specific date and time for the picker to display and use.
142
167
  *
143
- * > The `value` has to be a valid [JavaScript `Date`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Date) instance or `null`.
168
+ * The `value` has to be a valid [JavaScript `Date`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Date) instance or `null`.
144
169
  */
145
170
  set value(value) {
146
171
  this.verifyValue(value);
@@ -153,13 +178,12 @@ export class DateTimePickerComponent extends MultiTabStop {
153
178
  }
154
179
  /**
155
180
  * Specifies the date format for displaying the input value
156
- * ([see example]({% slug formats_datetimepicker %}))
181
+ * ([see example]({% slug formats_datetimepicker %})).
157
182
  *
158
- * Format value options:
159
- * - `string` - Provide a `string` if a single format is going to be used regardless whether the input is focused or blurred.
160
- * - [`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.
183
+ * When using a string format, the same format is applied regardless of whether the input is focused or blurred.
184
+ * When using a FormatSettings object, you can specify different inputFormat and displayFormat values for focused and blurred states.
161
185
  *
162
- * > If a [`FormatSettings`]({% slug api_dateinputs_formatsettings %}) object is provided, the `displayFormat` value will be used for the popup TimePicker.
186
+ * If a FormatSettings object is provided, the displayFormat value will be used for the popup TimePicker.
163
187
  */
164
188
  set format(format) {
165
189
  this._format = format;
@@ -175,6 +199,7 @@ export class DateTimePickerComponent extends MultiTabStop {
175
199
  *
176
200
  * The default value is 68, indicating that typing any value less than 69
177
201
  * will be assumed to be 20xx, while 69 and larger will be assumed to be 19xx.
202
+ * @default 68
178
203
  */
179
204
  twoDigitYearMax = TWO_DIGIT_YEAR_MAX;
180
205
  /**
@@ -203,10 +228,9 @@ export class DateTimePickerComponent extends MultiTabStop {
203
228
  * Configures the popup settings of the DateTimePicker
204
229
  * ([see example]({% slug datetimepicker_popup_options %}#toc-customizing-the-popup)).
205
230
  *
206
- * The available options are:
207
- * - `animate: Boolean`&mdash;Controls the popup animation. By default, the open and close animations are enabled.
208
- * - `appendTo: 'root' | 'component' | ViewContainerRef`&mdash;Controls the popup container. By default, the popup will be appended to the root component.
209
- * - `popupClass: String`&mdash;Specifies a list of CSS classes that are used to style the popup.
231
+ * The available options are animate which controls the popup animation and by default, the open and close animations are enabled.
232
+ * The `appendTo` option controls the popup container and by default, the popup will be appended to the root component.
233
+ * The `popupClass` option specifies a list of CSS classes that are used to style the popup.
210
234
  */
211
235
  set popupSettings(settings) {
212
236
  this._popupSettings = Object.assign({}, { animate: true }, settings);
@@ -215,39 +239,46 @@ export class DateTimePickerComponent extends MultiTabStop {
215
239
  return this._popupSettings;
216
240
  }
217
241
  /**
218
- * Sets the title of the input element of the DateTimePicker and the title text rendered
219
- * in the header of the popup(action sheet). Applicable only when [`AdaptiveMode` is set to `auto`](slug:api_dateinputs_adaptivemode).
242
+ * Specifies the title of the input element of the DateTimePicker and the title text rendered
243
+ * in the header of the popup (action sheet). Applicable only when [`AdaptiveMode` is set to `auto`](slug:api_dateinputs_adaptivemode).
244
+ * @default ''
220
245
  */
221
246
  adaptiveTitle = '';
222
247
  /**
223
- * Sets the subtitle text rendered in the header of the popup(action sheet).
248
+ * Specifies the subtitle text rendered in the header of the popup (action sheet).
224
249
  * Applicable only when [`AdaptiveMode` is set to `auto`](slug:api_dateinputs_adaptivemode).
250
+ * @default ''
225
251
  */
226
252
  adaptiveSubtitle = '';
227
253
  /**
228
- * Sets or gets the `disabled` property of the DateTimePicker and determines whether the component is active
254
+ * Specifies the `disabled` property of the DateTimePicker and determines whether the component is active
229
255
  * ([see example]({% slug disabled_datetimepicker %})).
230
256
  * To learn how to disable the component in reactive forms, refer to the article on [Forms Support](slug:formssupport_datetimepicker#toc-managing-the-datetimepicker-disabled-state-in-reactive-forms).
257
+ * @default false
231
258
  */
232
259
  disabled = false;
233
260
  /**
234
- * Sets the read-only state of the DateTimePicker
261
+ * Specifies the read-only state of the DateTimePicker
235
262
  * ([see example]({% slug readonly_datetimepicker %}#toc-read-only-datetimepicker)).
263
+ * @default false
236
264
  *
237
265
  * @default false
238
266
  */
239
267
  readonly = false;
240
268
  /**
241
- * Sets the read-only state of the DateTimePicker input field
269
+ * Determines whether the input field of the DateTimePicker is read-only
242
270
  * ([see example]({% slug readonly_datetimepicker %}#toc-read-only-input)).
243
271
  *
244
- * > Note that if you set the [`readonly`]({% slug api_dateinputs_datetimepickercomponent %}#toc-readonly) property value to `true`,
272
+ * If you set the [`readonly`]({% slug api_dateinputs_datetimepickercomponent %}#toc-readonly) property value to `true`,
245
273
  * the input will be rendered in a read-only state regardless of the `readOnlyInput` value.
274
+ *
275
+ * @default false
246
276
  */
247
277
  readOnlyInput = false;
248
278
  /**
249
279
  * Determines whether to display the **Cancel** button in the popup
250
280
  * ([see example]({% slug datetimepicker_popup_options %}#toc-toggling-the-cancel-button)).
281
+ * @default true
251
282
  */
252
283
  cancelButton = true;
253
284
  /**
@@ -273,17 +304,14 @@ export class DateTimePickerComponent extends MultiTabStop {
273
304
  /**
274
305
  * Specifies the Calendar type.
275
306
  *
276
- * The possible values are:
277
- * - `infinite` (default)
278
- * - `classic`
279
- *
307
+ * @default 'infinite'
280
308
  */
281
309
  calendarType = 'infinite';
282
310
  /**
283
311
  * Determines whether to enable animation when navigating to previous/next Calendar view.
284
312
  * Applies to the [`classic`]({% slug api_dateinputs_datetimepickercomponent %}#toc-calendartype) Calendar only.
285
313
  *
286
- * > 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.
314
+ * The 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.
287
315
  *
288
316
  * @default false
289
317
  */
@@ -291,6 +319,7 @@ export class DateTimePickerComponent extends MultiTabStop {
291
319
  /**
292
320
  * Determines whether to display a week number column in the `month` view of the popup Calendar
293
321
  * ([see example]({% slug datetimepicker_calendar_options %}#toc-week-number-column)).
322
+ * @default false
294
323
  */
295
324
  weekNumber = false;
296
325
  /**
@@ -322,24 +351,25 @@ export class DateTimePickerComponent extends MultiTabStop {
322
351
  return this._max;
323
352
  }
324
353
  /**
325
- * Determines whether the built-in min or max validators are enforced when validating a form
354
+ * Determines whether the built-in `min` or `max` validators are enforced when validating a form
326
355
  * ([see example](slug:dateranges_datetimepicker)).
327
356
  *
328
357
  * @default true
329
358
  */
330
359
  rangeValidation = true;
331
360
  /**
332
- * Determines whether the built-in validator for disabled
333
- * date ranges is enforced when validating a form
361
+ * Determines whether the built-in validator for disabled date ranges is enforced when validating a form
334
362
  * ([see example](slug:disabled_dates_datetimepicker)).
363
+ * @default true
335
364
  */
336
365
  disabledDatesValidation = true;
337
366
  /**
338
- * Determines whether the built-in validation for incomplete dates is to be enforced when a form is being validated.
367
+ * Determines whether the built-in validation for incomplete dates is enforced when validating a form.
368
+ * @default false
339
369
  */
340
370
  incompleteDateValidation = false;
341
371
  /**
342
- * Determines whether to autocorrect invalid segments automatically.
372
+ * Determines whether to auto correct invalid segments automatically.
343
373
  *
344
374
  * @default true
345
375
  */
@@ -351,39 +381,40 @@ export class DateTimePickerComponent extends MultiTabStop {
351
381
  */
352
382
  autoSwitchParts = true;
353
383
  /**
354
- * A string array representing custom keys, which will move the focus to the next date format segment.
384
+ * Specifies custom keys that move the focus to the next date format segment.
355
385
  */
356
386
  autoSwitchKeys = [];
357
387
  /**
358
- * Indicates whether the mouse scroll can be used to increase/decrease the time segments values.
388
+ * Determines whether you can use the mouse scroll to increase or decrease the time segment values.
359
389
  *
360
390
  * @default true
361
391
  */
362
392
  enableMouseWheel = true;
363
393
  /**
364
- * Determines if the users should see a blinking caret inside the Date Input when possible.
394
+ * Determines whether you can see a blinking caret inside the DateInput when possible.
365
395
  *
366
396
  * @default false
367
397
  */
368
398
  allowCaretMode = false;
369
399
  /**
370
- * If set to `true`, renders a clear button after the input text or DateTimePicker value has been changed.
400
+ * Renders a clear button when set to `true` after the input text or DateTimePicker value has been changed.
371
401
  * Clicking this button resets the value of the component to `null` and triggers the `valueChange` event.
372
402
  * @default false
373
403
  */
374
404
  clearButton = false;
375
405
  /**
376
- * When enabled, the DateTimePicker will autofill the rest of the date to the current date when the component loses focus.
406
+ * Auto fills the rest of the date to the current date when the component loses focus.
377
407
  *
378
408
  * @default false
379
409
  */
380
410
  autoFill = false;
381
411
  /**
382
- * Enables or disables the adaptive mode. By default the adaptive rendering is disabled.
412
+ * Enables or disables the adaptive mode. The adaptive rendering is disabled by default.
413
+ * @default 'none'
383
414
  */
384
415
  adaptiveMode = 'none';
385
416
  /**
386
- * Sets the HTML attributes of the inner focusable input element. Attributes which are essential for certain component functionalities cannot be changed.
417
+ * Specifies the HTML attributes of the inner focusable input element. You cannot change attributes that are essential for certain component functionalities.
387
418
  */
388
419
  inputAttributes;
389
420
  /**
@@ -418,7 +449,7 @@ export class DateTimePickerComponent extends MultiTabStop {
418
449
  */
419
450
  escape = new EventEmitter();
420
451
  /**
421
- * Indicates whether the component is currently open. That is when the popup or actionSheet is open.
452
+ * Indicates whether the component is currently open. This is when the popup or action sheet is open.
422
453
  */
423
454
  get isOpen() {
424
455
  return this.actionSheet?.expanded || isPresent(this.popupRef);
@@ -439,7 +470,7 @@ export class DateTimePickerComponent extends MultiTabStop {
439
470
  this._isActive = value;
440
471
  }
441
472
  /**
442
- * Sets the active tab on opening the popup
473
+ * Specifies the active tab when opening the popup
443
474
  * ([see example]({% slug datetimepicker_popup_options %}#toc-setting-the-default-tab)).
444
475
  */
445
476
  set defaultTab(tab) {
@@ -450,19 +481,13 @@ export class DateTimePickerComponent extends MultiTabStop {
450
481
  return this._defaultTab;
451
482
  }
452
483
  /**
453
- * Sets the size of the component.
454
- *
455
- * The possible values are:
456
- * * `small`
457
- * * `medium` (Default)
458
- * * `large`
459
- * * `none`
484
+ * Specifies the size of the component.
460
485
  *
461
486
  */
462
487
  set size(size) {
463
488
  this.renderer.removeClass(this.wrapper.nativeElement, getSizeClass('input', this.size));
464
489
  this.renderer.removeClass(this.toggleButton.nativeElement, getSizeClass('button', this.size));
465
- const newSize = size ? size : DEFAULT_SIZE;
490
+ const newSize = size || DEFAULT_SIZE;
466
491
  if (newSize !== 'none') {
467
492
  this.renderer.addClass(this.wrapper.nativeElement, getSizeClass('input', newSize));
468
493
  this.renderer.addClass(this.toggleButton.nativeElement, getSizeClass('button', newSize));
@@ -473,19 +498,12 @@ export class DateTimePickerComponent extends MultiTabStop {
473
498
  return this._size;
474
499
  }
475
500
  /**
476
- * Sets the border radius of the component.
477
- *
478
- * The possible values are:
479
- * * `small`
480
- * * `medium` (Default)
481
- * * `large`
482
- * * `full`
483
- * * `none`
501
+ * Specifies the border radius of the component.
484
502
  *
485
503
  */
486
504
  set rounded(rounded) {
487
505
  this.renderer.removeClass(this.wrapper.nativeElement, getRoundedClass(this.rounded));
488
- const newRounded = rounded ? rounded : DEFAULT_ROUNDED;
506
+ const newRounded = rounded || DEFAULT_ROUNDED;
489
507
  if (newRounded !== 'none') {
490
508
  this.renderer.addClass(this.wrapper.nativeElement, getRoundedClass(newRounded));
491
509
  }
@@ -495,20 +513,14 @@ export class DateTimePickerComponent extends MultiTabStop {
495
513
  return this._rounded;
496
514
  }
497
515
  /**
498
- * Sets the fillMode of the component.
499
- *
500
- * The possible values are:
501
- * * `solid` (Default)
502
- * * `flat`
503
- * * `outline`
504
- * * `none`
516
+ * Specifies the fill mode of the component.
505
517
  *
506
518
  */
507
519
  set fillMode(fillMode) {
508
520
  this.renderer.removeClass(this.wrapper.nativeElement, getFillModeClass('input', this.fillMode));
509
521
  this.renderer.removeClass(this.toggleButton.nativeElement, getFillModeClass('button', this.fillMode));
510
522
  this.renderer.removeClass(this.toggleButton.nativeElement, `k-button-${this.fillMode}-base`);
511
- const newFillMode = fillMode ? fillMode : DEFAULT_FILL_MODE;
523
+ const newFillMode = fillMode || DEFAULT_FILL_MODE;
512
524
  if (newFillMode !== 'none') {
513
525
  this.renderer.addClass(this.wrapper.nativeElement, getFillModeClass('input', newFillMode));
514
526
  this.renderer.addClass(this.toggleButton.nativeElement, getFillModeClass('button', newFillMode));
@@ -829,8 +841,8 @@ export class DateTimePickerComponent extends MultiTabStop {
829
841
  this.subscriptions.unsubscribe();
830
842
  }
831
843
  /**
832
- * * If the popup is closed, focuses the DateTimePicker input.
833
- * * If the popup is open, the focus is moved to its content.
844
+ * Focuses the DateTimePicker input if the popup is closed.
845
+ * Moves the focus to the popup content if the popup is open.
834
846
  */
835
847
  focus() {
836
848
  if (this.disabled) {
@@ -844,7 +856,7 @@ export class DateTimePickerComponent extends MultiTabStop {
844
856
  }
845
857
  }
846
858
  /**
847
- * Blurs the DateTimePicker.
859
+ * Blurs the DateTimePicker component.
848
860
  */
849
861
  blur() {
850
862
  if (this.isOpen && this.activeTabComponent.isActive) {
@@ -855,8 +867,8 @@ export class DateTimePickerComponent extends MultiTabStop {
855
867
  }
856
868
  }
857
869
  /**
858
- * Toggles the visibility of the popup or actionSheet.
859
- * If you use the `toggle` method to show or hide the popup or actionSheet,
870
+ * Toggles the visibility of the popup or action sheet.
871
+ * If you use the `toggle` method to show or hide the popup or action sheet,
860
872
  * the `open` and `close` events do not fire.
861
873
  *
862
874
  * @param show - The state of the popup.
@@ -1264,10 +1276,10 @@ export class DateTimePickerComponent extends MultiTabStop {
1264
1276
  }
1265
1277
  }
1266
1278
  /**
1267
- * Extracts the time slots and the literals that are not preceded by date parts
1268
- * and concatenates the resulting parts into a string.
1269
- * If the provided format value does not contain any time parts,
1270
- * returns the designated format of the default popup component of the TimePicker.
1279
+ * Extracts the time slots and literals that are not preceded by date parts
1280
+ * and combines the resulting parts into a string.
1281
+ * If the provided `format` value does not contain any time parts,
1282
+ * returns the designated format of the default popup component of the `TimePicker`.
1271
1283
  */
1272
1284
  getTimeSelectorFormat(format) {
1273
1285
  const timeSelectorFormat = this.intl
@@ -1278,7 +1290,7 @@ export class DateTimePickerComponent extends MultiTabStop {
1278
1290
  }
1279
1291
  /**
1280
1292
  * Extracts the `displayFormat` from the provided `string | FormatSettings` value.
1281
- * Fallbacks to the default input value, if a falsy value param is passed.
1293
+ * Falls back to the default input value if a falsy value parameter is passed.
1282
1294
  */
1283
1295
  getDisplayFormat(format) {
1284
1296
  if (!format) {
@@ -1294,7 +1306,7 @@ export class DateTimePickerComponent extends MultiTabStop {
1294
1306
  /**
1295
1307
  * The filter expression that filters out all format parts
1296
1308
  * except for `hour`, `minute`, `second`, `dayperiod`, and specific literals.
1297
- * Literals will be left only if they are not preceded by date parts.
1309
+ * Literals remain only if they are not preceded by date parts.
1298
1310
  */
1299
1311
  timeFormatPartFilter(part, index, parts) {
1300
1312
  const previousPart = index >= 1 && parts[index - 1];
@@ -1404,8 +1416,8 @@ export class DateTimePickerComponent extends MultiTabStop {
1404
1416
  this.valueChange.emit(cloneDate(value));
1405
1417
  }
1406
1418
  /**
1407
- * Indicates whether the focus target is part of this component,
1408
- * that is, whether the focus target is inside the component or in the popup.
1419
+ * Indicates whether the focus target is part of this component.
1420
+ * Checks whether the focus target is inside the component or in the popup.
1409
1421
  */
1410
1422
  focusTargetInComponent(event) {
1411
1423
  if (!isPresent(event)) {
@@ -1428,7 +1440,7 @@ export class DateTimePickerComponent extends MultiTabStop {
1428
1440
  this.calendarValue = isInCalendarRange ? getDate(value) : null;
1429
1441
  }
1430
1442
  /**
1431
- * If the popup is available, runs a popup change detection.
1443
+ * Runs a popup change detection if the popup is available.
1432
1444
  */
1433
1445
  detectPopupChanges() {
1434
1446
  if (!this.isOpen || this.isAdaptive) {
@@ -1437,8 +1449,8 @@ export class DateTimePickerComponent extends MultiTabStop {
1437
1449
  this.popupRef.popup.changeDetectorRef.detectChanges();
1438
1450
  }
1439
1451
  /**
1440
- * Depending on the predicate `runInZone` value that is passed,
1441
- * runs the provided function either in the Angular or in the current zone.
1452
+ * Runs the provided function either in the Angular zone or in the current zone.
1453
+ * The execution zone depends on the predicate `runInZone` value that is passed.
1442
1454
  */
1443
1455
  run(runInZone, fn) {
1444
1456
  if (runInZone) {
@@ -36,8 +36,22 @@ import * as i12 from "../calendar/templates/year-cell-template.directive";
36
36
  import * as i13 from "@progress/kendo-angular-common";
37
37
  // IMPORTANT: NgModule export kept for backwards compatibility
38
38
  /**
39
- * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
40
- * definition for the DateTimePicker component.
39
+ * Required for adding all DateTimePicker features in [NgModule-based](link:site.data.urls.angular['ngmoduleapi']) Angular applications.
40
+ *
41
+ * @example
42
+ * ```typescript
43
+ * import { NgModule } from '@angular/core';
44
+ * import { BrowserModule } from '@angular/platform-browser';
45
+ * import { DateTimePickerModule } from '@progress/kendo-angular-dateinputs';
46
+ *
47
+ * @NgModule({
48
+ * imports: [
49
+ * BrowserModule,
50
+ * DateTimePickerModule
51
+ * ]
52
+ * })
53
+ * export class AppModule { }
54
+ * ```
41
55
  */
42
56
  export class DateTimePickerModule {
43
57
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DateTimePickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
@@ -8,7 +8,16 @@ import { DateTimePickerMessages } from './messages';
8
8
  import * as i0 from "@angular/core";
9
9
  import * as i1 from "@progress/kendo-angular-l10n";
10
10
  /**
11
- * Custom component messages override default component messages ([see example]({% slug globalization_dateinputs %}#toc-custom-messages)).
11
+ * Allows you to override the default messages of the DateTimePicker component ([see example]({% slug globalization_dateinputs %}#toc-custom-messages)).
12
+ *
13
+ * @example
14
+ * ```html
15
+ * <kendo-datetimepicker>
16
+ * <kendo-datetimepicker-messages
17
+ * toggle="Open calendar">
18
+ * </kendo-datetimepicker-messages>
19
+ * </kendo-datetimepicker>
20
+ * ```
12
21
  */
13
22
  export class DateTimePickerCustomMessagesComponent extends DateTimePickerMessages {
14
23
  service;
@@ -10,7 +10,7 @@ export const packageMetadata = {
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCode: 'KENDOUIANGULAR',
12
12
  productCodes: ['KENDOUIANGULAR'],
13
- publishDate: 1750152543,
14
- version: '19.1.2-develop.3',
13
+ publishDate: 1750430884,
14
+ version: '19.1.2-develop.5',
15
15
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
16
16
  };
@@ -10,59 +10,59 @@ import * as i0 from "@angular/core";
10
10
  */
11
11
  export class TimePickerMessages extends ComponentMessages {
12
12
  /**
13
- * The text of the **Accept** button in the popup footer of the TimeList.
13
+ * Specifies the text of the **Accept** button in the popup footer of the TimeList.
14
14
  */
15
15
  accept;
16
16
  /**
17
- * The label of the **Accept** button in the popup footer of the TimeList.
17
+ * Specifies the label of the **Accept** button in the popup footer of the TimeList.
18
18
  */
19
19
  acceptLabel;
20
20
  /**
21
- * The text of the **Cancel** button in the popup footer of the TimeList.
21
+ * Specifies the text of the **Cancel** button in the popup footer of the TimeList.
22
22
  */
23
23
  cancel;
24
24
  /**
25
- * The label of the **Cancel** button in the popup footer of the TimeList.
25
+ * Specifies the label of the **Cancel** button in the popup footer of the TimeList.
26
26
  */
27
27
  cancelLabel;
28
28
  /**
29
- * The text of the **Now** button in the popup header of the TimeList.
29
+ * Specifies the text of the **Now** button in the popup header of the TimeList.
30
30
  */
31
31
  now;
32
32
  /**
33
- * The label of the **Now** button in the popup header of the TimeList.
33
+ * Specifies the label of the **Now** button in the popup header of the TimeList.
34
34
  */
35
35
  nowLabel;
36
36
  /**
37
- * The title of the **Toggle** button of the TimePicker.
37
+ * Specifies the title of the **Toggle** button of the TimePicker.
38
38
  */
39
39
  toggle;
40
40
  /**
41
- * The label of the **Hour** part in the TimePicker.
41
+ * Specifies the label of the **Hour** part in the TimePicker.
42
42
  */
43
43
  hour;
44
44
  /**
45
- * The label of the **Minute** part in the TimePicker.
45
+ * Specifies the label of the **Minute** part in the TimePicker.
46
46
  */
47
47
  minute;
48
48
  /**
49
- * The label of the **Second** part in the TimePicker.
49
+ * Specifies the label of the **Second** part in the TimePicker.
50
50
  */
51
51
  second;
52
52
  /**
53
- * The label of the **Millisecond** part in the TimePicker.
53
+ * Specifies the label of the **Millisecond** part in the TimePicker.
54
54
  */
55
55
  millisecond;
56
56
  /**
57
- * The label of the **Dayperiod** part in the TimePicker.
57
+ * Specifies the label of the **Dayperiod** part in the TimePicker.
58
58
  */
59
59
  dayperiod;
60
60
  /**
61
- * The title of the **Clear** button of the TimePicker.
61
+ * Specifies the title of the **Clear** button of the TimePicker.
62
62
  */
63
63
  clearTitle;
64
64
  /**
65
- * The title of the Close button of the ActionSheet that is rendered instead of the Popup when using small screen devices in adaptive mode.
65
+ * Specifies the title of the **Close** button of the ActionSheet that renders instead of the popup when using small screen devices in adaptive mode.
66
66
  */
67
67
  adaptiveCloseButtonTitle;
68
68
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TimePickerMessages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
@@ -8,7 +8,18 @@ import { TimePickerMessages } from './messages';
8
8
  import * as i0 from "@angular/core";
9
9
  import * as i1 from "@progress/kendo-angular-l10n";
10
10
  /**
11
- * Custom component messages override default component messages ([see example]({% slug globalization_dateinputs %}#toc-custom-messages)).
11
+ * Represents the Kendo UI TimePicker custom messages component for Angular. Allows you to override default component messages ([see example]({% slug globalization_dateinputs %}#toc-custom-messages)).
12
+ *
13
+ * @example
14
+ * ```html
15
+ * <kendo-timepicker>
16
+ * <kendo-timepicker-messages
17
+ * accept="Apply"
18
+ * cancel="Close"
19
+ * now="Current time">
20
+ * </kendo-timepicker-messages>
21
+ * </kendo-timepicker>
22
+ * ```
12
23
  */
13
24
  export class TimePickerCustomMessagesComponent extends TimePickerMessages {
14
25
  service;