@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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-dateinputs",
3
- "version": "19.1.2-develop.3",
3
+ "version": "19.1.2-develop.5",
4
4
  "description": "Kendo UI for Angular Date Inputs Package - Everything you need to add date selection functionality to apps (DatePicker, TimePicker, DateInput, DateRangePicker, DateTimePicker, Calendar, and MultiViewCalendar).",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -79,7 +79,7 @@
79
79
  "package": {
80
80
  "productName": "Kendo UI for Angular",
81
81
  "productCode": "KENDOUIANGULAR",
82
- "publishDate": 1750152543,
82
+ "publishDate": 1750430884,
83
83
  "licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
84
84
  }
85
85
  },
@@ -90,22 +90,23 @@
90
90
  "@angular/forms": "16 - 20",
91
91
  "@angular/platform-browser": "16 - 20",
92
92
  "@progress/kendo-licensing": "^1.5.0",
93
- "@progress/kendo-angular-buttons": "19.1.2-develop.3",
94
- "@progress/kendo-angular-common": "19.1.2-develop.3",
95
- "@progress/kendo-angular-utils": "19.1.2-develop.3",
96
- "@progress/kendo-angular-intl": "19.1.2-develop.3",
97
- "@progress/kendo-angular-l10n": "19.1.2-develop.3",
98
- "@progress/kendo-angular-icons": "19.1.2-develop.3",
99
- "@progress/kendo-angular-popup": "19.1.2-develop.3",
100
- "@progress/kendo-angular-navigation": "19.1.2-develop.3",
93
+ "@progress/kendo-angular-buttons": "19.1.2-develop.5",
94
+ "@progress/kendo-angular-common": "19.1.2-develop.5",
95
+ "@progress/kendo-angular-utils": "19.1.2-develop.5",
96
+ "@progress/kendo-angular-intl": "19.1.2-develop.5",
97
+ "@progress/kendo-angular-l10n": "19.1.2-develop.5",
98
+ "@progress/kendo-angular-icons": "19.1.2-develop.5",
99
+ "@progress/kendo-angular-popup": "19.1.2-develop.5",
100
+ "@progress/kendo-angular-navigation": "19.1.2-develop.5",
101
101
  "rxjs": "^6.5.3 || ^7.0.0"
102
102
  },
103
103
  "dependencies": {
104
104
  "tslib": "^2.3.1",
105
- "@progress/kendo-angular-schematics": "19.1.2-develop.3",
105
+ "@progress/kendo-angular-schematics": "19.1.2-develop.5",
106
106
  "@progress/kendo-common": "^1.0.1",
107
107
  "@progress/kendo-date-math": "^1.1.0",
108
- "@progress/kendo-dateinputs-common": "^0.4.4"
108
+ "@progress/kendo-dateinputs-common": "^0.4.4",
109
+ "node-html-parser": "^7.0.1"
109
110
  },
110
111
  "schematics": "./schematics/collection.json",
111
112
  "module": "fesm2022/progress-kendo-angular-dateinputs.mjs",
@@ -7,16 +7,9 @@ import { ViewContainerRef } from '@angular/core';
7
7
  * Used for configuring the options of the popup container.
8
8
  *
9
9
  * @example
10
- * ```ts
11
- * _@Component({
12
- * selector: 'my-app',
13
- * template: `
14
- * <kendo-datepicker [popupSettings]="{ animate: false }">
15
- * </kendo-datepicker>
16
- * `
17
- * })
18
- * export class AppComponent {
19
- * }
10
+ * ```html
11
+ * <kendo-timepicker [popupSettings]="{ animate: false, appendTo: 'root', popupClass: 'custom-popup' }">
12
+ * </kendo-timepicker>
20
13
  * ```
21
14
  */
22
15
  export interface PopupSettings {
@@ -9,59 +9,59 @@ import * as i0 from "@angular/core";
9
9
  */
10
10
  export declare class TimePickerMessages extends ComponentMessages {
11
11
  /**
12
- * The text of the **Accept** button in the popup footer of the TimeList.
12
+ * Specifies the text of the **Accept** button in the popup footer of the TimeList.
13
13
  */
14
14
  accept: string;
15
15
  /**
16
- * The label of the **Accept** button in the popup footer of the TimeList.
16
+ * Specifies the label of the **Accept** button in the popup footer of the TimeList.
17
17
  */
18
18
  acceptLabel: string;
19
19
  /**
20
- * The text of the **Cancel** button in the popup footer of the TimeList.
20
+ * Specifies the text of the **Cancel** button in the popup footer of the TimeList.
21
21
  */
22
22
  cancel: string;
23
23
  /**
24
- * The label of the **Cancel** button in the popup footer of the TimeList.
24
+ * Specifies the label of the **Cancel** button in the popup footer of the TimeList.
25
25
  */
26
26
  cancelLabel: string;
27
27
  /**
28
- * The text of the **Now** button in the popup header of the TimeList.
28
+ * Specifies the text of the **Now** button in the popup header of the TimeList.
29
29
  */
30
30
  now: string;
31
31
  /**
32
- * The label of the **Now** button in the popup header of the TimeList.
32
+ * Specifies the label of the **Now** button in the popup header of the TimeList.
33
33
  */
34
34
  nowLabel: string;
35
35
  /**
36
- * The title of the **Toggle** button of the TimePicker.
36
+ * Specifies the title of the **Toggle** button of the TimePicker.
37
37
  */
38
38
  toggle: string;
39
39
  /**
40
- * The label of the **Hour** part in the TimePicker.
40
+ * Specifies the label of the **Hour** part in the TimePicker.
41
41
  */
42
42
  hour: string;
43
43
  /**
44
- * The label of the **Minute** part in the TimePicker.
44
+ * Specifies the label of the **Minute** part in the TimePicker.
45
45
  */
46
46
  minute: string;
47
47
  /**
48
- * The label of the **Second** part in the TimePicker.
48
+ * Specifies the label of the **Second** part in the TimePicker.
49
49
  */
50
50
  second: string;
51
51
  /**
52
- * The label of the **Millisecond** part in the TimePicker.
52
+ * Specifies the label of the **Millisecond** part in the TimePicker.
53
53
  */
54
54
  millisecond: string;
55
55
  /**
56
- * The label of the **Dayperiod** part in the TimePicker.
56
+ * Specifies the label of the **Dayperiod** part in the TimePicker.
57
57
  */
58
58
  dayperiod: string;
59
59
  /**
60
- * The title of the **Clear** button of the TimePicker.
60
+ * Specifies the title of the **Clear** button of the TimePicker.
61
61
  */
62
62
  clearTitle: string;
63
63
  /**
64
- * The title of the Close button of the ActionSheet that is rendered instead of the Popup when using small screen devices in adaptive mode.
64
+ * Specifies the title of the **Close** button of the ActionSheet that renders instead of the popup when using small screen devices in adaptive mode.
65
65
  */
66
66
  adaptiveCloseButtonTitle: string;
67
67
  static ɵfac: i0.ɵɵFactoryDeclaration<TimePickerMessages, never>;
@@ -6,7 +6,18 @@ import { LocalizationService } from '@progress/kendo-angular-l10n';
6
6
  import { TimePickerMessages } 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
+ * 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)).
10
+ *
11
+ * @example
12
+ * ```html
13
+ * <kendo-timepicker>
14
+ * <kendo-timepicker-messages
15
+ * accept="Apply"
16
+ * cancel="Close"
17
+ * now="Current time">
18
+ * </kendo-timepicker-messages>
19
+ * </kendo-timepicker>
20
+ * ```
10
21
  */
11
22
  export declare class TimePickerCustomMessagesComponent extends TimePickerMessages {
12
23
  protected service: LocalizationService;
@@ -26,6 +26,22 @@ import { ActionSheetComponent } from '@progress/kendo-angular-navigation';
26
26
  import * as i0 from "@angular/core";
27
27
  /**
28
28
  * Represents the [Kendo UI TimePicker component for Angular](slug:overview_timepicker).
29
+ *
30
+ * @example
31
+ * ```typescript
32
+ * @Component({
33
+ * selector: 'my-app',
34
+ * template: `
35
+ * <kendo-timepicker [(value)]="selectedTime"></kendo-timepicker>
36
+ * `
37
+ * })
38
+ * export class AppComponent {
39
+ * public selectedTime: Date = new Date();
40
+ * }
41
+ * ```
42
+ *
43
+ * @remarks
44
+ * Supported children components are: {@link TimePickerCustomMessagesComponent}.
29
45
  */
30
46
  export declare class TimePickerComponent extends MultiTabStop implements ControlValueAccessor, OnInit, AfterViewInit, OnChanges, OnDestroy, Validator {
31
47
  private bus;
@@ -52,14 +68,15 @@ export declare class TimePickerComponent extends MultiTabStop implements Control
52
68
  */
53
69
  focusableId: string;
54
70
  /**
55
- * Sets or gets the `disabled` property of the TimePicker and
56
- * determines whether the component is active
71
+ * Determines whether the TimePicker is disabled
57
72
  * ([see example]({% slug disabled_timepicker %})).
58
73
  * 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).
74
+ *
75
+ * @default false
59
76
  */
60
77
  disabled: boolean;
61
78
  /**
62
- * Sets the read-only state of the TimePicker
79
+ * Determines the read-only state of the TimePicker
63
80
  * ([see example]({% slug readonly_timepicker %}#toc-read-only-timepicker)).
64
81
  *
65
82
  * @default false
@@ -69,8 +86,9 @@ export declare class TimePickerComponent extends MultiTabStop implements Control
69
86
  * Sets the read-only state of the TimePicker input field
70
87
  * ([see example]({% slug readonly_timepicker %}#toc-read-only-input)).
71
88
  *
72
- * > Note that if you set the [`readonly`]({% slug api_dateinputs_timepickercomponent %}#toc-readonly) property value to `true`,
89
+ * If you set the [`readonly`]({% slug api_dateinputs_timepickercomponent %}#toc-readonly) property value to `true`,
73
90
  * the input will be rendered in a read-only state regardless of the `readOnlyInput` value.
91
+ * @default false
74
92
  */
75
93
  readOnlyInput: boolean;
76
94
  /**
@@ -82,83 +100,40 @@ export declare class TimePickerComponent extends MultiTabStop implements Control
82
100
  /**
83
101
  * Specifies the time format that is used to display the input value
84
102
  * ([see example]({% slug formats_timepicker %})).
103
+ * @default 't'
85
104
  */
86
105
  format: string;
87
106
  /**
88
107
  * Defines the descriptions of the format sections in the input field.
89
108
  * For more information, refer to the article on
90
109
  * [placeholders]({% slug placeholders_timepicker %}).
91
- *
92
- * @example
93
- * ```ts
94
- * _@Component({
95
- * selector: 'my-app',
96
- * template: `
97
- * <div class="row example-wrapper" [style.min-height.px]="450">
98
- * <div class="col-xs-12 col-md-6 example-col">
99
- * <p>Full-length format description:</p>
100
- * <kendo-timepicker formatPlaceholder="wide"></kendo-timepicker>
101
- * </div>
102
- *
103
- * <div class="col-xs-12 col-md-6 example-col">
104
- * <p>Narrow-length format description:</p>
105
- * <kendo-timepicker formatPlaceholder="narrow"></kendo-timepicker>
106
- * </div>
107
- *
108
- * <div class="col-xs-12 col-md-6 example-col">
109
- * <p>Short-length format description:</p>
110
- * <kendo-timepicker formatPlaceholder="short"></kendo-timepicker>
111
- * </div>
112
- *
113
- * <div class="col-xs-12 col-md-6 example-col">
114
- * <p>Display defined format:</p>
115
- * <kendo-timepicker format="HH:mm:ss" formatPlaceholder="formatPattern"></kendo-timepicker>
116
- * </div>
117
- *
118
- * <div class="col-xs-12 col-md-6 example-col">
119
- * <p>Custom defined format descriptions</p>
120
- * <kendo-timepicker format="HH:mm:ss"
121
- * [formatPlaceholder]="{ hour: 'H', minute: 'm', second: 's' }"
122
- * ></kendo-timepicker>
123
- * </div>
124
- * </div>
125
- * `
126
- * })
127
- * export class AppComponent { }
128
- * ```
129
110
  */
130
111
  formatPlaceholder: DateInputFormatPlaceholder;
131
112
  /**
132
113
  * Specifies the hint the TimePicker displays when its value is `null`.
133
114
  * For more information, refer to the article on
134
115
  * [placeholders]({% slug placeholders_timepicker %}).
135
- *
136
- * @example
137
- * ```ts
138
- * _@Component({
139
- * selector: 'my-app',
140
- * template: `
141
- * <kendo-timepicker placeholder="Enter start..."></kendo-timepicker>
142
- * `
143
- * })
144
- * export class AppComponent { }
145
- * ```
116
+ * @default null
146
117
  */
147
118
  placeholder: string;
148
119
  /**
149
120
  * Specifies the smallest valid time value
150
121
  * ([see example]({% slug timeranges_timepicker %})).
122
+ * @default `00:00:00`
151
123
  */
152
124
  set min(min: Date);
153
125
  get min(): Date;
154
126
  /**
155
127
  * Specifies the biggest valid time value
156
128
  * ([see example]({% slug timeranges_timepicker %})).
129
+ * @default `23:59:59`
157
130
  */
158
131
  set max(max: Date);
159
132
  get max(): Date;
160
133
  /**
161
134
  * Determines whether the built-in validation for incomplete dates is to be enforced when a form is being validated.
135
+ *
136
+ * @default false
162
137
  */
163
138
  incompleteDateValidation: boolean;
164
139
  /**
@@ -185,12 +160,16 @@ export declare class TimePickerComponent extends MultiTabStop implements Control
185
160
  allowCaretMode: boolean;
186
161
  /**
187
162
  * Determines whether to display the **Cancel** button in the popup.
163
+ *
164
+ * @default true
188
165
  */
189
166
  cancelButton: boolean;
190
167
  /**
191
168
  * Determines whether to display the **Now** button in the popup.
192
169
  *
193
- * > If the current time is out of range or the incremental step is greater than `1`, the **Now** button will be hidden.
170
+ * If the current time is out of range or the incremental step is greater than `1`, the **Now** button will be hidden.
171
+ *
172
+ * @default true
194
173
  */
195
174
  nowButton: boolean;
196
175
  /**
@@ -198,36 +177,22 @@ export declare class TimePickerComponent extends MultiTabStop implements Control
198
177
  * For more information, refer to the article on
199
178
  * [incremental steps]({% slug incrementalsteps_timepicker %}).
200
179
  *
201
- * > If the incremental step is greater than `1`, the **Now** button will be hidden.
202
- *
203
- * @example
204
- * ```ts
205
- * _@Component({
206
- * selector: 'my-app',
207
- * template: `
208
- * <kendo-timepicker format="HH:mm:ss" [steps]="steps"></kendo-timepicker>
209
- * `
210
- * })
211
- * class AppComponent {
212
- * public steps = { hour: 2, minute: 15, second: 15, millisecond: 10 };
213
- * }
214
- * ```
215
- *
180
+ * If the incremental step is greater than `1`, the **Now** button will be hidden.
216
181
  */
217
182
  set steps(steps: TimePickerIncrementalSteps);
218
183
  get steps(): TimePickerIncrementalSteps;
219
184
  /**
220
185
  * Configures the popup of the TimePicker.
221
186
  *
222
- * The available options are:
223
- * - `animate: Boolean`&mdash;Controls the popup animation. By default, the open and close animations are enabled.
224
- * - `appendTo: 'root' | 'component' | ViewContainerRef`&mdash;Controls the popup container. By default, the popup will be appended to the root component.
225
- * - `popupClass: String`&mdash;Specifies a list of CSS classes that are used to style the popup.
187
+ * The available options are animate which controls the popup animation and by default, the open and close animations are enabled.
188
+ * The `appendTo` option controls the popup container and by default, the popup will be appended to the root component.
189
+ * The `popupClass` option specifies a list of CSS classes that are used to style the popup.
226
190
  */
227
191
  set popupSettings(settings: PopupSettings);
228
192
  get popupSettings(): PopupSettings;
229
193
  /**
230
- * Sets or gets the `tabindex` property of the TimePicker.
194
+ * Sets the tabindex of the TimePicker component.
195
+ * @default 0
231
196
  */
232
197
  tabindex: number;
233
198
  /**
@@ -253,50 +218,33 @@ export declare class TimePickerComponent extends MultiTabStop implements Control
253
218
  */
254
219
  rangeValidation: boolean;
255
220
  /**
256
- * Enables or disables the adaptive mode. By default the adaptive rendering is disabled.
221
+ * Determines whether the TimePicker is in adaptive mode.
222
+ * @default 'none'
257
223
  */
258
224
  adaptiveMode: AdaptiveMode;
259
225
  /**
260
- * Specifies the value of the TimePicker component.
226
+ * Determines whether the TimePicker is in adaptive mode.
261
227
  *
262
- * > The `value` has to be a valid [JavaScript `Date`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Date) instance or `null`.
228
+ * The `value` has to be a valid [JavaScript `Date`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Date) instance or `null`.
263
229
  */
264
230
  set value(value: Date | null);
265
231
  get value(): Date | null;
266
232
  /**
267
233
  * Sets the size of the component.
268
- *
269
- * The possible values are:
270
- * * `small`
271
- * * `medium` (Default)
272
- * * `large`
273
- * * `none`
274
- *
234
+ * @default 'medium'
275
235
  */
276
236
  set size(size: DateInputSize);
277
237
  get size(): DateInputSize;
278
238
  /**
279
- * Sets the border radius of the component.
280
- *
281
- * The possible values are:
282
- * * `small`
283
- * * `medium` (Default)
284
- * * `large`
285
- * * `full`
286
- * * `none`
239
+ * Sets the rounded styling of the component.
240
+ * @default 'medium'
287
241
  *
288
242
  */
289
243
  set rounded(rounded: DateInputRounded);
290
244
  get rounded(): DateInputRounded;
291
245
  /**
292
246
  * Sets the fillMode of the component.
293
- *
294
- * The possible values are:
295
- * * `solid` (Default)
296
- * * `flat`
297
- * * `outline`
298
- * * `none`
299
- *
247
+ * @default 'solid'
300
248
  */
301
249
  set fillMode(fillMode: DateInputFillMode);
302
250
  get fillMode(): DateInputFillMode;
@@ -444,33 +392,23 @@ export declare class TimePickerComponent extends MultiTabStop implements Control
444
392
  /**
445
393
  * Focuses the TimePicker component.
446
394
  *
447
- * @example
448
- * ```ts
449
- * _@Component({
450
- * selector: 'my-app',
451
- * template: `
452
- * <button (click)="timepicker.focus()">Focus time picker</button>
453
- * <kendo-timepicker #timepicker></kendo-timepicker>
454
- * `
455
- * })
456
- * export class AppComponent { }
457
- * ```
458
395
  */
459
396
  focus(): void;
460
397
  /**
461
398
  * Blurs the TimePicker component.
399
+ *
462
400
  */
463
401
  blur(): void;
464
402
  /**
465
- * Toggles the visibility of the popup or actionSheet.
466
- * If you use the `toggle` method to show or hide the popup or actionSheet,
467
- * the `open` and `close` events do not fire.
403
+ * Toggles the visibility of the popup or ActionSheet.
404
+ * If you use the `toggle` method to show or hide the popup or ActionSheet, the `open` and `close` events do not fire.
468
405
  *
469
- * @param show - The state of the popup.
406
+ * @param {boolean} show The state of the popup.
470
407
  */
471
408
  toggle(show?: boolean): void;
472
409
  /**
473
- * Indicates whether the component is currently open. That is when the popup or actionSheet is open.
410
+ * Returns whether the component is currently open.
411
+ * That is when the popup or ActionSheet is open.
474
412
  */
475
413
  get isOpen(): boolean;
476
414
  /**
@@ -7,8 +7,19 @@ import * as i1 from "./localization/timepicker-custom-messages.component";
7
7
  import * as i2 from "./timepicker.component";
8
8
  import * as i3 from "@progress/kendo-angular-common";
9
9
  /**
10
- * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
11
- * definition for the TimePicker component.
10
+ * Required for adding all TimePicker features in NgModule-based Angular applications.
11
+ *
12
+ * @example
13
+ * ```typescript
14
+ * import { NgModule } from '@angular/core';
15
+ * import { TimePickerModule } from '@progress/kendo-angular-dateinputs';
16
+ *
17
+ * @NgModule({
18
+ * imports: [TimePickerModule],
19
+ * // ...
20
+ * })
21
+ * export class AppModule { }
22
+ * ```
12
23
  */
13
24
  export declare class TimePickerModule {
14
25
  static ɵfac: i0.ɵɵFactoryDeclaration<TimePickerModule, never>;
@@ -34,62 +34,58 @@ export declare class TimeSelectorComponent implements OnChanges, OnInit, OnDestr
34
34
  */
35
35
  get disabledClass(): boolean;
36
36
  /**
37
- * Specifies the time format used to display the time list columns.
37
+ * Specifies the time format that displays the time list columns.
38
+ *
39
+ * @default 't'
38
40
  */
39
41
  format: string;
40
42
  /**
41
- * Specifies the smallest valid time value.
43
+ * Sets the smallest valid time value.
42
44
  */
43
45
  min: Date;
44
46
  /**
45
- * Specifies the biggest valid time value.
47
+ * Sets the largest valid time value.
46
48
  */
47
49
  max: Date;
48
50
  /**
49
- * Determines whether to display the **Cancel** button in the popup.
51
+ * Controls the display of the **Cancel** button in the popup.
52
+ *
53
+ * @default true
50
54
  */
51
55
  cancelButton: boolean;
52
56
  /**
53
- * Determines whether to display the **Set** button in the popup.
57
+ * Controls the display of the **Set** button in the popup.
58
+ *
59
+ * @default true
54
60
  */
55
61
  setButton: boolean;
56
62
  /**
57
- * Determines whether to display the **Now** button in the popup.
63
+ * Controls the display of the **Now** button in the popup.
58
64
  *
59
- * > If the current time is out of range or the incremental step is greater than `1`, the **Now** button will be hidden.
65
+ * When the current time is out of range or the incremental step is greater than `1`, the **Now** button is hidden.
66
+ *
67
+ * @default true
60
68
  */
61
69
  nowButton: boolean;
62
70
  /**
63
- * Sets or gets the `disabled` property of the TimeSelector and determines whether the component is active.
71
+ * Sets the `disabled` property of the `TimeSelector` and controls whether the component is active.
72
+ *
73
+ * @default false
64
74
  */
65
75
  disabled: boolean;
66
76
  /**
67
- * Needed in order to set it in the dom service so that timeselector height can be properly calculated
77
+ * Sets the adaptive mode for the component.
78
+ * Use this property to enable proper height calculation in the DOM service.
68
79
  */
69
80
  isAdaptiveEnabled: boolean;
81
+ /**
82
+ * Specifies whether the component is used as part of a DateTimePicker.
83
+ */
70
84
  isDateTimePicker: boolean;
71
85
  /**
72
86
  * Configures the incremental steps of the TimeSelector.
73
87
  *
74
- * The available options are:
75
- * - `hour: Number`&mdash;Controls the incremental step of the hour value.
76
- * - `minute: Number`&mdash;Controls the incremental step of the minute value.
77
- * - `second: Number`&mdash;Controls the incremental step of the second value.
78
- *
79
- * @example
80
- * ```ts
81
- * _@Component({
82
- * selector: 'my-app',
83
- * template: `
84
- * <kendo-timeselector format="HH:mm:ss" [steps]="steps"></kendo-timeselector>
85
- * `
86
- * })
87
- * export class AppComponent {
88
- * public steps = { hour: 2, minute: 15, second: 15 };
89
- * }
90
- * ```
91
- *
92
- * > If the incremental step is greater than `1`, the **Now** button will be hidden.
88
+ * When the incremental step is greater than `1`, the **Now** button is hidden.
93
89
  */
94
90
  set steps(steps: TimePickerIncrementalSteps);
95
91
  get steps(): TimePickerIncrementalSteps;
@@ -134,18 +130,6 @@ export declare class TimeSelectorComponent implements OnChanges, OnInit, OnDestr
134
130
  ngOnDestroy(): void;
135
131
  /**
136
132
  * Focuses the TimeSelector component.
137
- *
138
- * @example
139
- * ```ts
140
- * _@Component({
141
- * selector: 'my-app',
142
- * template: `
143
- * <button (click)="timeselector.focus()">Focus time picker</button>
144
- * <kendo-timeselector #timeselector></kendo-timeselector>
145
- * `
146
- * })
147
- * export class AppComponent { }
148
- * ```
149
133
  */
150
134
  focus(): void;
151
135
  /**