@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
@@ -47,6 +47,22 @@ 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
+ * ```
63
+ *
64
+ * @remarks
65
+ * Supported children components are: {@link TimePickerCustomMessagesComponent}.
50
66
  */
51
67
  export class TimePickerComponent extends MultiTabStop {
52
68
  bus;
@@ -73,14 +89,15 @@ export class TimePickerComponent extends MultiTabStop {
73
89
  */
74
90
  focusableId;
75
91
  /**
76
- * Sets or gets the `disabled` property of the TimePicker and
77
- * determines whether the component is active
92
+ * Determines whether the TimePicker is disabled
78
93
  * ([see example]({% slug disabled_timepicker %})).
79
94
  * 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).
95
+ *
96
+ * @default false
80
97
  */
81
98
  disabled = false;
82
99
  /**
83
- * Sets the read-only state of the TimePicker
100
+ * Determines the read-only state of the TimePicker
84
101
  * ([see example]({% slug readonly_timepicker %}#toc-read-only-timepicker)).
85
102
  *
86
103
  * @default false
@@ -90,8 +107,9 @@ export class TimePickerComponent extends MultiTabStop {
90
107
  * Sets the read-only state of the TimePicker input field
91
108
  * ([see example]({% slug readonly_timepicker %}#toc-read-only-input)).
92
109
  *
93
- * > Note that if you set the [`readonly`]({% slug api_dateinputs_timepickercomponent %}#toc-readonly) property value to `true`,
110
+ * If you set the [`readonly`]({% slug api_dateinputs_timepickercomponent %}#toc-readonly) property value to `true`,
94
111
  * the input will be rendered in a read-only state regardless of the `readOnlyInput` value.
112
+ * @default false
95
113
  */
96
114
  readOnlyInput = false;
97
115
  /**
@@ -103,72 +121,26 @@ export class TimePickerComponent extends MultiTabStop {
103
121
  /**
104
122
  * Specifies the time format that is used to display the input value
105
123
  * ([see example]({% slug formats_timepicker %})).
124
+ * @default 't'
106
125
  */
107
126
  format = 't';
108
127
  /**
109
128
  * Defines the descriptions of the format sections in the input field.
110
129
  * For more information, refer to the article on
111
130
  * [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
131
  */
151
132
  formatPlaceholder;
152
133
  /**
153
134
  * Specifies the hint the TimePicker displays when its value is `null`.
154
135
  * For more information, refer to the article on
155
136
  * [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
- * ```
137
+ * @default null
167
138
  */
168
139
  placeholder = null;
169
140
  /**
170
141
  * Specifies the smallest valid time value
171
142
  * ([see example]({% slug timeranges_timepicker %})).
143
+ * @default `00:00:00`
172
144
  */
173
145
  set min(min) {
174
146
  this._min = cloneDate(min || MIN_TIME);
@@ -179,6 +151,7 @@ export class TimePickerComponent extends MultiTabStop {
179
151
  /**
180
152
  * Specifies the biggest valid time value
181
153
  * ([see example]({% slug timeranges_timepicker %})).
154
+ * @default `23:59:59`
182
155
  */
183
156
  set max(max) {
184
157
  this._max = cloneDate(max || MAX_TIME);
@@ -188,6 +161,8 @@ export class TimePickerComponent extends MultiTabStop {
188
161
  }
189
162
  /**
190
163
  * Determines whether the built-in validation for incomplete dates is to be enforced when a form is being validated.
164
+ *
165
+ * @default false
191
166
  */
192
167
  incompleteDateValidation = false;
193
168
  /**
@@ -214,12 +189,16 @@ export class TimePickerComponent extends MultiTabStop {
214
189
  allowCaretMode = false;
215
190
  /**
216
191
  * Determines whether to display the **Cancel** button in the popup.
192
+ *
193
+ * @default true
217
194
  */
218
195
  cancelButton = true;
219
196
  /**
220
197
  * Determines whether to display the **Now** button in the popup.
221
198
  *
222
- * > If the current time is out of range or the incremental step is greater than `1`, the **Now** button will be hidden.
199
+ * If the current time is out of range or the incremental step is greater than `1`, the **Now** button will be hidden.
200
+ *
201
+ * @default true
223
202
  */
224
203
  nowButton = true;
225
204
  /**
@@ -227,21 +206,7 @@ export class TimePickerComponent extends MultiTabStop {
227
206
  * For more information, refer to the article on
228
207
  * [incremental steps]({% slug incrementalsteps_timepicker %}).
229
208
  *
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
- *
209
+ * If the incremental step is greater than `1`, the **Now** button will be hidden.
245
210
  */
246
211
  set steps(steps) {
247
212
  this._steps = steps || {};
@@ -252,10 +217,9 @@ export class TimePickerComponent extends MultiTabStop {
252
217
  /**
253
218
  * Configures the popup of the TimePicker.
254
219
  *
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.
220
+ * The available options are animate which controls the popup animation and by default, the open and close animations are enabled.
221
+ * The `appendTo` option controls the popup container and by default, the popup will be appended to the root component.
222
+ * The `popupClass` option specifies a list of CSS classes that are used to style the popup.
259
223
  */
260
224
  set popupSettings(settings) {
261
225
  this._popupSettings = Object.assign({}, { animate: true }, settings);
@@ -264,7 +228,8 @@ export class TimePickerComponent extends MultiTabStop {
264
228
  return this._popupSettings;
265
229
  }
266
230
  /**
267
- * Sets or gets the `tabindex` property of the TimePicker.
231
+ * Sets the tabindex of the TimePicker component.
232
+ * @default 0
268
233
  */
269
234
  tabindex = 0;
270
235
  /**
@@ -294,13 +259,14 @@ export class TimePickerComponent extends MultiTabStop {
294
259
  */
295
260
  rangeValidation = true;
296
261
  /**
297
- * Enables or disables the adaptive mode. By default the adaptive rendering is disabled.
262
+ * Determines whether the TimePicker is in adaptive mode.
263
+ * @default 'none'
298
264
  */
299
265
  adaptiveMode = 'none';
300
266
  /**
301
- * Specifies the value of the TimePicker component.
267
+ * Determines whether the TimePicker is in adaptive mode.
302
268
  *
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`.
269
+ * 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
270
  */
305
271
  set value(value) {
306
272
  this.verifyValue(value);
@@ -311,13 +277,7 @@ export class TimePickerComponent extends MultiTabStop {
311
277
  }
312
278
  /**
313
279
  * Sets the size of the component.
314
- *
315
- * The possible values are:
316
- * * `small`
317
- * * `medium` (Default)
318
- * * `large`
319
- * * `none`
320
- *
280
+ * @default 'medium'
321
281
  */
322
282
  set size(size) {
323
283
  this.renderer.removeClass(this.wrapper.nativeElement, getSizeClass('input', this.size));
@@ -333,14 +293,8 @@ export class TimePickerComponent extends MultiTabStop {
333
293
  return this._size;
334
294
  }
335
295
  /**
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`
296
+ * Sets the rounded styling of the component.
297
+ * @default 'medium'
344
298
  *
345
299
  */
346
300
  set rounded(rounded) {
@@ -356,13 +310,7 @@ export class TimePickerComponent extends MultiTabStop {
356
310
  }
357
311
  /**
358
312
  * Sets the fillMode of the component.
359
- *
360
- * The possible values are:
361
- * * `solid` (Default)
362
- * * `flat`
363
- * * `outline`
364
- * * `none`
365
- *
313
+ * @default 'solid'
366
314
  */
367
315
  set fillMode(fillMode) {
368
316
  this.renderer.removeClass(this.wrapper.nativeElement, getFillModeClass('input', this.fillMode));
@@ -670,33 +618,22 @@ export class TimePickerComponent extends MultiTabStop {
670
618
  /**
671
619
  * Focuses the TimePicker component.
672
620
  *
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
621
  */
685
622
  focus() {
686
623
  this.dateInput.focus();
687
624
  }
688
625
  /**
689
626
  * Blurs the TimePicker component.
627
+ *
690
628
  */
691
629
  blur() {
692
630
  (this.timeSelector || this.dateInput)['blur']();
693
631
  }
694
632
  /**
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.
633
+ * Toggles the visibility of the popup or ActionSheet.
634
+ * If you use the `toggle` method to show or hide the popup or ActionSheet, the `open` and `close` events do not fire.
698
635
  *
699
- * @param show - The state of the popup.
636
+ * @param {boolean} show The state of the popup.
700
637
  */
701
638
  toggle(show) {
702
639
  if (this.disabled || this.readonly) {
@@ -707,7 +644,8 @@ export class TimePickerComponent extends MultiTabStop {
707
644
  });
708
645
  }
709
646
  /**
710
- * Indicates whether the component is currently open. That is when the popup or actionSheet is open.
647
+ * Returns whether the component is currently open.
648
+ * That is when the popup or ActionSheet is open.
711
649
  */
712
650
  get isOpen() {
713
651
  return this.show;
@@ -1190,7 +1128,7 @@ export class TimePickerComponent extends MultiTabStop {
1190
1128
  <ng-container #container></ng-container>
1191
1129
 
1192
1130
  <kendo-resize-sensor *ngIf="isAdaptiveModeEnabled" (resize)="onResize()"></kendo-resize-sensor>
1193
- <kendo-actionsheet
1131
+ <kendo-actionsheet
1194
1132
  #actionSheet
1195
1133
  (overlayClick)="show=false"
1196
1134
  (collapse)="handleActionSheetCollapse()"
@@ -1231,7 +1169,7 @@ export class TimePickerComponent extends MultiTabStop {
1231
1169
  <ng-container *ngTemplateOutlet="timeSelectorTemplate"></ng-container>
1232
1170
  </div>
1233
1171
  <div class="k-actions k-actions-stretched k-actions-horizontal k-actionsheet-footer">
1234
- <button kendoButton
1172
+ <button kendoButton
1235
1173
  type="button"
1236
1174
  (click)="handleReject()"
1237
1175
  size="large"
@@ -1428,7 +1366,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
1428
1366
  <ng-container #container></ng-container>
1429
1367
 
1430
1368
  <kendo-resize-sensor *ngIf="isAdaptiveModeEnabled" (resize)="onResize()"></kendo-resize-sensor>
1431
- <kendo-actionsheet
1369
+ <kendo-actionsheet
1432
1370
  #actionSheet
1433
1371
  (overlayClick)="show=false"
1434
1372
  (collapse)="handleActionSheetCollapse()"
@@ -1469,7 +1407,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
1469
1407
  <ng-container *ngTemplateOutlet="timeSelectorTemplate"></ng-container>
1470
1408
  </div>
1471
1409
  <div class="k-actions k-actions-stretched k-actions-horizontal k-actionsheet-footer">
1472
- <button kendoButton
1410
+ <button kendoButton
1473
1411
  type="button"
1474
1412
  (click)="handleReject()"
1475
1413
  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;