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

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 (91) hide show
  1. package/calendar/calendar.component.d.ts +37 -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 +46 -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/dateinput/dateinput.component.d.ts +43 -119
  25. package/dateinput/dateinput.module.d.ts +15 -2
  26. package/dateinput/localization/dateinput-custom-messages.component.d.ts +18 -1
  27. package/dateinput/models/format-placeholder.model.d.ts +15 -20
  28. package/dateinput/models/format-settings.model.d.ts +14 -4
  29. package/dateinput/models/incremental-steps.model.d.ts +16 -1
  30. package/datepicker/datepicker.component.d.ts +65 -127
  31. package/datepicker/datepicker.module.d.ts +11 -2
  32. package/datepicker/localization/datepicker-custom-messages.component.d.ts +11 -1
  33. package/daterange/auto-correct-on.type.d.ts +2 -1
  34. package/daterange/date-range-end-input.directive.d.ts +22 -24
  35. package/daterange/date-range-popup-template.directive.d.ts +13 -2
  36. package/daterange/date-range-popup.component.d.ts +83 -73
  37. package/daterange/date-range-selection.directive.d.ts +10 -9
  38. package/daterange/date-range-start-input.directive.d.ts +26 -27
  39. package/daterange/date-range.component.d.ts +1 -6
  40. package/daterange/date-range.service.d.ts +27 -27
  41. package/datetimepicker/datetimepicker.component.d.ts +88 -79
  42. package/datetimepicker/datetimepicker.module.d.ts +16 -2
  43. package/datetimepicker/localization/datetimepicker-custom-messages.component.d.ts +10 -1
  44. package/esm2022/calendar/calendar.component.mjs +37 -56
  45. package/esm2022/calendar/calendar.module.mjs +10 -21
  46. package/esm2022/calendar/calendars.module.mjs +10 -21
  47. package/esm2022/calendar/localization/calendar-custom-messages.component.mjs +9 -1
  48. package/esm2022/calendar/localization/multiview-calendar-custom-messages.component.mjs +9 -1
  49. package/esm2022/calendar/models/selection-range.interface.mjs +2 -0
  50. package/esm2022/calendar/models/selection.mjs +11 -0
  51. package/esm2022/calendar/multiview-calendar.component.mjs +46 -40
  52. package/esm2022/calendar/multiview-calendar.module.mjs +1 -0
  53. package/esm2022/calendar/templates/cell-template.directive.mjs +16 -19
  54. package/esm2022/calendar/templates/century-cell-template.directive.mjs +15 -19
  55. package/esm2022/calendar/templates/decade-cell-template.directive.mjs +15 -19
  56. package/esm2022/calendar/templates/footer-template.directive.mjs +16 -17
  57. package/esm2022/calendar/templates/header-template.directive.mjs +19 -18
  58. package/esm2022/calendar/templates/header-title-template.directive.mjs +15 -18
  59. package/esm2022/calendar/templates/month-cell-template.directive.mjs +15 -17
  60. package/esm2022/calendar/templates/navigation-item-template.directive.mjs +15 -18
  61. package/esm2022/calendar/templates/weeknumber-cell-template.directive.mjs +15 -17
  62. package/esm2022/calendar/templates/year-cell-template.directive.mjs +15 -20
  63. package/esm2022/dateinput/dateinput.component.mjs +44 -120
  64. package/esm2022/dateinput/dateinput.module.mjs +15 -2
  65. package/esm2022/dateinput/localization/dateinput-custom-messages.component.mjs +18 -1
  66. package/esm2022/datepicker/datepicker.component.mjs +65 -127
  67. package/esm2022/datepicker/datepicker.module.mjs +11 -2
  68. package/esm2022/datepicker/localization/datepicker-custom-messages.component.mjs +11 -1
  69. package/esm2022/daterange/date-range-end-input.directive.mjs +22 -24
  70. package/esm2022/daterange/date-range-popup-template.directive.mjs +13 -2
  71. package/esm2022/daterange/date-range-popup.component.mjs +83 -73
  72. package/esm2022/daterange/date-range-selection.directive.mjs +10 -9
  73. package/esm2022/daterange/date-range-start-input.directive.mjs +26 -27
  74. package/esm2022/daterange/date-range.component.mjs +1 -6
  75. package/esm2022/daterange/date-range.service.mjs +27 -27
  76. package/esm2022/datetimepicker/datetimepicker.component.mjs +88 -79
  77. package/esm2022/datetimepicker/datetimepicker.module.mjs +16 -2
  78. package/esm2022/datetimepicker/localization/datetimepicker-custom-messages.component.mjs +10 -1
  79. package/esm2022/package-metadata.mjs +2 -2
  80. package/esm2022/timepicker/localization/messages.mjs +14 -14
  81. package/esm2022/timepicker/localization/timepicker-custom-messages.component.mjs +12 -1
  82. package/esm2022/timepicker/timepicker.component.mjs +54 -119
  83. package/esm2022/timepicker/timepicker.module.mjs +13 -2
  84. package/esm2022/timepicker/timeselector.component.mjs +24 -40
  85. package/fesm2022/progress-kendo-angular-dateinputs.mjs +870 -1003
  86. package/package.json +13 -12
  87. package/timepicker/localization/messages.d.ts +14 -14
  88. package/timepicker/localization/timepicker-custom-messages.component.d.ts +12 -1
  89. package/timepicker/timepicker.component.d.ts +50 -115
  90. package/timepicker/timepicker.module.d.ts +13 -2
  91. package/timepicker/timeselector.component.d.ts +24 -40
@@ -47,6 +47,19 @@ const ACCEPT_BUTTON_SELECTOR = '.k-button.k-time-accept';
47
47
  const CANCEL_BUTTON_SELECTOR = '.k-button.k-time-cancel';
48
48
  /**
49
49
  * Represents the [Kendo UI TimePicker component for Angular](slug:overview_timepicker).
50
+ *
51
+ * @example
52
+ * ```typescript
53
+ * @Component({
54
+ * selector: 'my-app',
55
+ * template: `
56
+ * <kendo-timepicker [(value)]="selectedTime"></kendo-timepicker>
57
+ * `
58
+ * })
59
+ * export class AppComponent {
60
+ * public selectedTime: Date = new Date();
61
+ * }
62
+ * ```
50
63
  */
51
64
  export class TimePickerComponent extends MultiTabStop {
52
65
  bus;
@@ -73,14 +86,15 @@ export class TimePickerComponent extends MultiTabStop {
73
86
  */
74
87
  focusableId;
75
88
  /**
76
- * Sets or gets the `disabled` property of the TimePicker and
77
- * determines whether the component is active
89
+ * Determines whether the TimePicker is disabled
78
90
  * ([see example]({% slug disabled_timepicker %})).
79
91
  * To learn how to disable the component in reactive forms, refer to the article on [Forms Support](slug:formssupport_timepicker#toc-managing-the-timepicker-disabled-state-in-reactive-forms).
92
+ *
93
+ * @default false
80
94
  */
81
95
  disabled = false;
82
96
  /**
83
- * Sets the read-only state of the TimePicker
97
+ * Determines the read-only state of the TimePicker
84
98
  * ([see example]({% slug readonly_timepicker %}#toc-read-only-timepicker)).
85
99
  *
86
100
  * @default false
@@ -90,8 +104,9 @@ export class TimePickerComponent extends MultiTabStop {
90
104
  * Sets the read-only state of the TimePicker input field
91
105
  * ([see example]({% slug readonly_timepicker %}#toc-read-only-input)).
92
106
  *
93
- * > Note that if you set the [`readonly`]({% slug api_dateinputs_timepickercomponent %}#toc-readonly) property value to `true`,
107
+ * If you set the [`readonly`]({% slug api_dateinputs_timepickercomponent %}#toc-readonly) property value to `true`,
94
108
  * the input will be rendered in a read-only state regardless of the `readOnlyInput` value.
109
+ * @default false
95
110
  */
96
111
  readOnlyInput = false;
97
112
  /**
@@ -103,72 +118,26 @@ export class TimePickerComponent extends MultiTabStop {
103
118
  /**
104
119
  * Specifies the time format that is used to display the input value
105
120
  * ([see example]({% slug formats_timepicker %})).
121
+ * @default 't'
106
122
  */
107
123
  format = 't';
108
124
  /**
109
125
  * Defines the descriptions of the format sections in the input field.
110
126
  * For more information, refer to the article on
111
127
  * [placeholders]({% slug placeholders_timepicker %}).
112
- *
113
- * @example
114
- * ```ts
115
- * _@Component({
116
- * selector: 'my-app',
117
- * template: `
118
- * <div class="row example-wrapper" [style.min-height.px]="450">
119
- * <div class="col-xs-12 col-md-6 example-col">
120
- * <p>Full-length format description:</p>
121
- * <kendo-timepicker formatPlaceholder="wide"></kendo-timepicker>
122
- * </div>
123
- *
124
- * <div class="col-xs-12 col-md-6 example-col">
125
- * <p>Narrow-length format description:</p>
126
- * <kendo-timepicker formatPlaceholder="narrow"></kendo-timepicker>
127
- * </div>
128
- *
129
- * <div class="col-xs-12 col-md-6 example-col">
130
- * <p>Short-length format description:</p>
131
- * <kendo-timepicker formatPlaceholder="short"></kendo-timepicker>
132
- * </div>
133
- *
134
- * <div class="col-xs-12 col-md-6 example-col">
135
- * <p>Display defined format:</p>
136
- * <kendo-timepicker format="HH:mm:ss" formatPlaceholder="formatPattern"></kendo-timepicker>
137
- * </div>
138
- *
139
- * <div class="col-xs-12 col-md-6 example-col">
140
- * <p>Custom defined format descriptions</p>
141
- * <kendo-timepicker format="HH:mm:ss"
142
- * [formatPlaceholder]="{ hour: 'H', minute: 'm', second: 's' }"
143
- * ></kendo-timepicker>
144
- * </div>
145
- * </div>
146
- * `
147
- * })
148
- * export class AppComponent { }
149
- * ```
150
128
  */
151
129
  formatPlaceholder;
152
130
  /**
153
131
  * Specifies the hint the TimePicker displays when its value is `null`.
154
132
  * For more information, refer to the article on
155
133
  * [placeholders]({% slug placeholders_timepicker %}).
156
- *
157
- * @example
158
- * ```ts
159
- * _@Component({
160
- * selector: 'my-app',
161
- * template: `
162
- * <kendo-timepicker placeholder="Enter start..."></kendo-timepicker>
163
- * `
164
- * })
165
- * export class AppComponent { }
166
- * ```
134
+ * @default null
167
135
  */
168
136
  placeholder = null;
169
137
  /**
170
138
  * Specifies the smallest valid time value
171
139
  * ([see example]({% slug timeranges_timepicker %})).
140
+ * @default `00:00:00`
172
141
  */
173
142
  set min(min) {
174
143
  this._min = cloneDate(min || MIN_TIME);
@@ -179,6 +148,7 @@ export class TimePickerComponent extends MultiTabStop {
179
148
  /**
180
149
  * Specifies the biggest valid time value
181
150
  * ([see example]({% slug timeranges_timepicker %})).
151
+ * @default `23:59:59`
182
152
  */
183
153
  set max(max) {
184
154
  this._max = cloneDate(max || MAX_TIME);
@@ -188,6 +158,8 @@ export class TimePickerComponent extends MultiTabStop {
188
158
  }
189
159
  /**
190
160
  * Determines whether the built-in validation for incomplete dates is to be enforced when a form is being validated.
161
+ *
162
+ * @default false
191
163
  */
192
164
  incompleteDateValidation = false;
193
165
  /**
@@ -214,12 +186,16 @@ export class TimePickerComponent extends MultiTabStop {
214
186
  allowCaretMode = false;
215
187
  /**
216
188
  * Determines whether to display the **Cancel** button in the popup.
189
+ *
190
+ * @default true
217
191
  */
218
192
  cancelButton = true;
219
193
  /**
220
194
  * Determines whether to display the **Now** button in the popup.
221
195
  *
222
- * > If the current time is out of range or the incremental step is greater than `1`, the **Now** button will be hidden.
196
+ * If the current time is out of range or the incremental step is greater than `1`, the **Now** button will be hidden.
197
+ *
198
+ * @default true
223
199
  */
224
200
  nowButton = true;
225
201
  /**
@@ -227,21 +203,7 @@ export class TimePickerComponent extends MultiTabStop {
227
203
  * For more information, refer to the article on
228
204
  * [incremental steps]({% slug incrementalsteps_timepicker %}).
229
205
  *
230
- * > If the incremental step is greater than `1`, the **Now** button will be hidden.
231
- *
232
- * @example
233
- * ```ts
234
- * _@Component({
235
- * selector: 'my-app',
236
- * template: `
237
- * <kendo-timepicker format="HH:mm:ss" [steps]="steps"></kendo-timepicker>
238
- * `
239
- * })
240
- * class AppComponent {
241
- * public steps = { hour: 2, minute: 15, second: 15, millisecond: 10 };
242
- * }
243
- * ```
244
- *
206
+ * If the incremental step is greater than `1`, the **Now** button will be hidden.
245
207
  */
246
208
  set steps(steps) {
247
209
  this._steps = steps || {};
@@ -252,10 +214,9 @@ export class TimePickerComponent extends MultiTabStop {
252
214
  /**
253
215
  * Configures the popup of the TimePicker.
254
216
  *
255
- * The available options are:
256
- * - `animate: Boolean`&mdash;Controls the popup animation. By default, the open and close animations are enabled.
257
- * - `appendTo: 'root' | 'component' | ViewContainerRef`&mdash;Controls the popup container. By default, the popup will be appended to the root component.
258
- * - `popupClass: String`&mdash;Specifies a list of CSS classes that are used to style the popup.
217
+ * The available options are animate which controls the popup animation and by default, the open and close animations are enabled.
218
+ * The `appendTo` option controls the popup container and by default, the popup will be appended to the root component.
219
+ * The `popupClass` option specifies a list of CSS classes that are used to style the popup.
259
220
  */
260
221
  set popupSettings(settings) {
261
222
  this._popupSettings = Object.assign({}, { animate: true }, settings);
@@ -264,7 +225,8 @@ export class TimePickerComponent extends MultiTabStop {
264
225
  return this._popupSettings;
265
226
  }
266
227
  /**
267
- * Sets or gets the `tabindex` property of the TimePicker.
228
+ * Sets the tabindex of the TimePicker component.
229
+ * @default 0
268
230
  */
269
231
  tabindex = 0;
270
232
  /**
@@ -294,13 +256,14 @@ export class TimePickerComponent extends MultiTabStop {
294
256
  */
295
257
  rangeValidation = true;
296
258
  /**
297
- * Enables or disables the adaptive mode. By default the adaptive rendering is disabled.
259
+ * Determines whether the TimePicker is in adaptive mode.
260
+ * @default 'none'
298
261
  */
299
262
  adaptiveMode = 'none';
300
263
  /**
301
- * Specifies the value of the TimePicker component.
264
+ * Determines whether the TimePicker is in adaptive mode.
302
265
  *
303
- * > The `value` has to be a valid [JavaScript `Date`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Date) instance or `null`.
266
+ * The `value` has to be a valid [JavaScript `Date`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Date) instance or `null`.
304
267
  */
305
268
  set value(value) {
306
269
  this.verifyValue(value);
@@ -311,13 +274,7 @@ export class TimePickerComponent extends MultiTabStop {
311
274
  }
312
275
  /**
313
276
  * Sets the size of the component.
314
- *
315
- * The possible values are:
316
- * * `small`
317
- * * `medium` (Default)
318
- * * `large`
319
- * * `none`
320
- *
277
+ * @default 'medium'
321
278
  */
322
279
  set size(size) {
323
280
  this.renderer.removeClass(this.wrapper.nativeElement, getSizeClass('input', this.size));
@@ -333,14 +290,8 @@ export class TimePickerComponent extends MultiTabStop {
333
290
  return this._size;
334
291
  }
335
292
  /**
336
- * Sets the border radius of the component.
337
- *
338
- * The possible values are:
339
- * * `small`
340
- * * `medium` (Default)
341
- * * `large`
342
- * * `full`
343
- * * `none`
293
+ * Sets the rounded styling of the component.
294
+ * @default 'medium'
344
295
  *
345
296
  */
346
297
  set rounded(rounded) {
@@ -356,13 +307,7 @@ export class TimePickerComponent extends MultiTabStop {
356
307
  }
357
308
  /**
358
309
  * Sets the fillMode of the component.
359
- *
360
- * The possible values are:
361
- * * `solid` (Default)
362
- * * `flat`
363
- * * `outline`
364
- * * `none`
365
- *
310
+ * @default 'solid'
366
311
  */
367
312
  set fillMode(fillMode) {
368
313
  this.renderer.removeClass(this.wrapper.nativeElement, getFillModeClass('input', this.fillMode));
@@ -670,33 +615,22 @@ export class TimePickerComponent extends MultiTabStop {
670
615
  /**
671
616
  * Focuses the TimePicker component.
672
617
  *
673
- * @example
674
- * ```ts
675
- * _@Component({
676
- * selector: 'my-app',
677
- * template: `
678
- * <button (click)="timepicker.focus()">Focus time picker</button>
679
- * <kendo-timepicker #timepicker></kendo-timepicker>
680
- * `
681
- * })
682
- * export class AppComponent { }
683
- * ```
684
618
  */
685
619
  focus() {
686
620
  this.dateInput.focus();
687
621
  }
688
622
  /**
689
623
  * Blurs the TimePicker component.
624
+ *
690
625
  */
691
626
  blur() {
692
627
  (this.timeSelector || this.dateInput)['blur']();
693
628
  }
694
629
  /**
695
- * Toggles the visibility of the popup or actionSheet.
696
- * If you use the `toggle` method to show or hide the popup or actionSheet,
697
- * the `open` and `close` events do not fire.
630
+ * Toggles the visibility of the popup or ActionSheet.
631
+ * If you use the `toggle` method to show or hide the popup or ActionSheet, the `open` and `close` events do not fire.
698
632
  *
699
- * @param show - The state of the popup.
633
+ * @param {boolean} show The state of the popup.
700
634
  */
701
635
  toggle(show) {
702
636
  if (this.disabled || this.readonly) {
@@ -707,7 +641,8 @@ export class TimePickerComponent extends MultiTabStop {
707
641
  });
708
642
  }
709
643
  /**
710
- * Indicates whether the component is currently open. That is when the popup or actionSheet is open.
644
+ * Returns whether the component is currently open.
645
+ * That is when the popup or ActionSheet is open.
711
646
  */
712
647
  get isOpen() {
713
648
  return this.show;
@@ -1190,7 +1125,7 @@ export class TimePickerComponent extends MultiTabStop {
1190
1125
  <ng-container #container></ng-container>
1191
1126
 
1192
1127
  <kendo-resize-sensor *ngIf="isAdaptiveModeEnabled" (resize)="onResize()"></kendo-resize-sensor>
1193
- <kendo-actionsheet
1128
+ <kendo-actionsheet
1194
1129
  #actionSheet
1195
1130
  (overlayClick)="show=false"
1196
1131
  (collapse)="handleActionSheetCollapse()"
@@ -1231,7 +1166,7 @@ export class TimePickerComponent extends MultiTabStop {
1231
1166
  <ng-container *ngTemplateOutlet="timeSelectorTemplate"></ng-container>
1232
1167
  </div>
1233
1168
  <div class="k-actions k-actions-stretched k-actions-horizontal k-actionsheet-footer">
1234
- <button kendoButton
1169
+ <button kendoButton
1235
1170
  type="button"
1236
1171
  (click)="handleReject()"
1237
1172
  size="large"
@@ -1428,7 +1363,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
1428
1363
  <ng-container #container></ng-container>
1429
1364
 
1430
1365
  <kendo-resize-sensor *ngIf="isAdaptiveModeEnabled" (resize)="onResize()"></kendo-resize-sensor>
1431
- <kendo-actionsheet
1366
+ <kendo-actionsheet
1432
1367
  #actionSheet
1433
1368
  (overlayClick)="show=false"
1434
1369
  (collapse)="handleActionSheetCollapse()"
@@ -1469,7 +1404,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
1469
1404
  <ng-container *ngTemplateOutlet="timeSelectorTemplate"></ng-container>
1470
1405
  </div>
1471
1406
  <div class="k-actions k-actions-stretched k-actions-horizontal k-actionsheet-footer">
1472
- <button kendoButton
1407
+ <button kendoButton
1473
1408
  type="button"
1474
1409
  (click)="handleReject()"
1475
1410
  size="large"
@@ -20,8 +20,19 @@ import * as i2 from "./timepicker.component";
20
20
  import * as i3 from "@progress/kendo-angular-common";
21
21
  // IMPORTANT: NgModule export kept for backwards compatibility
22
22
  /**
23
- * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
24
- * definition for the TimePicker component.
23
+ * Required for adding all TimePicker features in NgModule-based Angular applications.
24
+ *
25
+ * @example
26
+ * ```typescript
27
+ * import { NgModule } from '@angular/core';
28
+ * import { TimePickerModule } from '@progress/kendo-angular-dateinputs';
29
+ *
30
+ * @NgModule({
31
+ * imports: [TimePickerModule],
32
+ * // ...
33
+ * })
34
+ * export class AppModule { }
35
+ * ```
25
36
  */
26
37
  export class TimePickerModule {
27
38
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TimePickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
@@ -62,62 +62,58 @@ export class TimeSelectorComponent {
62
62
  return this.disabled;
63
63
  }
64
64
  /**
65
- * Specifies the time format used to display the time list columns.
65
+ * Specifies the time format that displays the time list columns.
66
+ *
67
+ * @default 't'
66
68
  */
67
69
  format = 't';
68
70
  /**
69
- * Specifies the smallest valid time value.
71
+ * Sets the smallest valid time value.
70
72
  */
71
73
  min = cloneDate(MIN_TIME);
72
74
  /**
73
- * Specifies the biggest valid time value.
75
+ * Sets the largest valid time value.
74
76
  */
75
77
  max = cloneDate(MAX_TIME);
76
78
  /**
77
- * Determines whether to display the **Cancel** button in the popup.
79
+ * Controls the display of the **Cancel** button in the popup.
80
+ *
81
+ * @default true
78
82
  */
79
83
  cancelButton = true;
80
84
  /**
81
- * Determines whether to display the **Set** button in the popup.
85
+ * Controls the display of the **Set** button in the popup.
86
+ *
87
+ * @default true
82
88
  */
83
89
  setButton = true;
84
90
  /**
85
- * Determines whether to display the **Now** button in the popup.
91
+ * Controls the display of the **Now** button in the popup.
86
92
  *
87
- * > If the current time is out of range or the incremental step is greater than `1`, the **Now** button will be hidden.
93
+ * When the current time is out of range or the incremental step is greater than `1`, the **Now** button is hidden.
94
+ *
95
+ * @default true
88
96
  */
89
97
  nowButton = true;
90
98
  /**
91
- * Sets or gets the `disabled` property of the TimeSelector and determines whether the component is active.
99
+ * Sets the `disabled` property of the `TimeSelector` and controls whether the component is active.
100
+ *
101
+ * @default false
92
102
  */
93
103
  disabled = false;
94
104
  /**
95
- * Needed in order to set it in the dom service so that timeselector height can be properly calculated
105
+ * Sets the adaptive mode for the component.
106
+ * Use this property to enable proper height calculation in the DOM service.
96
107
  */
97
108
  isAdaptiveEnabled;
109
+ /**
110
+ * Specifies whether the component is used as part of a DateTimePicker.
111
+ */
98
112
  isDateTimePicker;
99
113
  /**
100
114
  * Configures the incremental steps of the TimeSelector.
101
115
  *
102
- * The available options are:
103
- * - `hour: Number`&mdash;Controls the incremental step of the hour value.
104
- * - `minute: Number`&mdash;Controls the incremental step of the minute value.
105
- * - `second: Number`&mdash;Controls the incremental step of the second value.
106
- *
107
- * @example
108
- * ```ts
109
- * _@Component({
110
- * selector: 'my-app',
111
- * template: `
112
- * <kendo-timeselector format="HH:mm:ss" [steps]="steps"></kendo-timeselector>
113
- * `
114
- * })
115
- * export class AppComponent {
116
- * public steps = { hour: 2, minute: 15, second: 15 };
117
- * }
118
- * ```
119
- *
120
- * > If the incremental step is greater than `1`, the **Now** button will be hidden.
116
+ * When the incremental step is greater than `1`, the **Now** button is hidden.
121
117
  */
122
118
  set steps(steps) {
123
119
  this._steps = steps || {};
@@ -225,18 +221,6 @@ export class TimeSelectorComponent {
225
221
  }
226
222
  /**
227
223
  * Focuses the TimeSelector component.
228
- *
229
- * @example
230
- * ```ts
231
- * _@Component({
232
- * selector: 'my-app',
233
- * template: `
234
- * <button (click)="timeselector.focus()">Focus time picker</button>
235
- * <kendo-timeselector #timeselector></kendo-timeselector>
236
- * `
237
- * })
238
- * export class AppComponent { }
239
- * ```
240
224
  */
241
225
  focus() {
242
226
  const list = this.timeLists.first;