@progress/kendo-angular-dateinputs 22.1.0-develop.8 → 23.0.0-develop.1
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.
- package/calendar/calendar.component.d.ts +25 -25
- package/calendar/localization/calendar-custom-messages.component.d.ts +1 -1
- package/calendar/localization/multiview-calendar-custom-messages.component.d.ts +1 -1
- package/calendar/multiview-calendar.component.d.ts +18 -18
- package/calendar/templates/cell-template.directive.d.ts +2 -2
- package/calendar/templates/century-cell-template.directive.d.ts +1 -1
- package/calendar/templates/decade-cell-template.directive.d.ts +1 -1
- package/calendar/templates/footer-template.directive.d.ts +1 -1
- package/calendar/templates/header-template.directive.d.ts +1 -1
- package/calendar/templates/header-title-template.directive.d.ts +1 -1
- package/calendar/templates/month-cell-template.directive.d.ts +1 -1
- package/calendar/templates/navigation-item-template.directive.d.ts +1 -1
- package/calendar/templates/weeknumber-cell-template.directive.d.ts +1 -1
- package/calendar/templates/year-cell-template.directive.d.ts +1 -1
- package/common/models/fillmode.d.ts +1 -2
- package/common/models/size.d.ts +1 -2
- package/dateinput/dateinput.component.d.ts +18 -18
- package/dateinput/localization/dateinput-custom-messages.component.d.ts +1 -1
- package/dateinput/models/format-settings.model.d.ts +1 -1
- package/datepicker/datepicker.component.d.ts +33 -32
- package/datepicker/localization/datepicker-custom-messages.component.d.ts +1 -1
- package/daterange/date-range-end-input.directive.d.ts +1 -1
- package/daterange/date-range-popup.component.d.ts +24 -24
- package/daterange/date-range-selection.directive.d.ts +4 -4
- package/daterange/date-range-start-input.directive.d.ts +1 -1
- package/daterange/date-range.component.d.ts +1 -1
- package/daterange/localization/daterange-popup-custom-messages.component.d.ts +1 -1
- package/datetimepicker/datetimepicker.component.d.ts +30 -29
- package/datetimepicker/localization/datetimepicker-custom-messages.component.d.ts +1 -1
- package/datetimepicker/models/active-tab.type.d.ts +1 -1
- package/fesm2022/progress-kendo-angular-dateinputs.mjs +340 -393
- package/package-metadata.mjs +2 -2
- package/package.json +12 -12
- package/timepicker/localization/timepicker-custom-messages.component.d.ts +1 -1
- package/timepicker/timepicker.component.d.ts +22 -22
- package/util.d.ts +0 -12
|
@@ -120,7 +120,7 @@ export declare class DateTimePickerComponent extends MultiTabStop implements OnI
|
|
|
120
120
|
*/
|
|
121
121
|
weekDaysFormat?: WeekDaysFormat;
|
|
122
122
|
/**
|
|
123
|
-
* Displays the days that fall out of the current month in the Calendar ([see example](
|
|
123
|
+
* Displays the days that fall out of the current month in the Calendar ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datetimepicker/calendar-options#displaying-other-month-days)).
|
|
124
124
|
* You can set this to show or hide days from other months.
|
|
125
125
|
*
|
|
126
126
|
* For infinite Calendar the default value is `false`, while for classic Calendar it is `true`.
|
|
@@ -136,7 +136,7 @@ export declare class DateTimePickerComponent extends MultiTabStop implements OnI
|
|
|
136
136
|
get value(): Date | null;
|
|
137
137
|
/**
|
|
138
138
|
* Specifies the date format for displaying the input value
|
|
139
|
-
* ([see example](
|
|
139
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datetimepicker/formats)).
|
|
140
140
|
*
|
|
141
141
|
* When using a string format, the same format is applied regardless of whether the input is focused or blurred.
|
|
142
142
|
* When using a FormatSettings object, you can specify different inputFormat and displayFormat values for focused and blurred states.
|
|
@@ -147,7 +147,7 @@ export declare class DateTimePickerComponent extends MultiTabStop implements OnI
|
|
|
147
147
|
get format(): string | FormatSettings;
|
|
148
148
|
/**
|
|
149
149
|
* The maximum year to assume to be from the current century when typing two-digit year value
|
|
150
|
-
* ([see example](
|
|
150
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datetimepicker/formats#two-digit-year-format)).
|
|
151
151
|
*
|
|
152
152
|
* The default value is 68, indicating that typing any value less than 69
|
|
153
153
|
* will be assumed to be 20xx, while 69 and larger will be assumed to be 19xx.
|
|
@@ -161,13 +161,13 @@ export declare class DateTimePickerComponent extends MultiTabStop implements OnI
|
|
|
161
161
|
get tabindex(): number;
|
|
162
162
|
/**
|
|
163
163
|
* Sets the dates of the DateTimePicker that will be disabled
|
|
164
|
-
* ([see example](
|
|
164
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datetimepicker/disabled-dates)).
|
|
165
165
|
*/
|
|
166
166
|
set disabledDates(value: ((date: Date) => boolean) | Date[] | Day[]);
|
|
167
167
|
get disabledDates(): ((date: Date) => boolean) | Date[] | Day[];
|
|
168
168
|
/**
|
|
169
169
|
* Configures the popup settings of the DateTimePicker
|
|
170
|
-
* ([see example](
|
|
170
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datetimepicker/popup-options#customizing-the-popup)).
|
|
171
171
|
*
|
|
172
172
|
* The available options are animate which controls the popup animation and by default, the open and close animations are enabled.
|
|
173
173
|
* The `appendTo` option controls the popup container and by default, the popup will be appended to the root component.
|
|
@@ -177,26 +177,26 @@ export declare class DateTimePickerComponent extends MultiTabStop implements OnI
|
|
|
177
177
|
get popupSettings(): PopupSettings;
|
|
178
178
|
/**
|
|
179
179
|
* Specifies the title of the input element of the DateTimePicker and the title text rendered
|
|
180
|
-
* in the header of the popup (action sheet). Applicable only when [`AdaptiveMode` is set to `auto`](
|
|
180
|
+
* in the header of the popup (action sheet). Applicable only when [`AdaptiveMode` is set to `auto`](https://www.telerik.com/kendo-angular-ui/components/dateinputs/api/adaptivemode).
|
|
181
181
|
* @default ''
|
|
182
182
|
*/
|
|
183
183
|
adaptiveTitle: string;
|
|
184
184
|
/**
|
|
185
185
|
* Specifies the subtitle text rendered in the header of the popup (action sheet).
|
|
186
|
-
* Applicable only when [`AdaptiveMode` is set to `auto`](
|
|
186
|
+
* Applicable only when [`AdaptiveMode` is set to `auto`](https://www.telerik.com/kendo-angular-ui/components/dateinputs/api/adaptivemode).
|
|
187
187
|
* @default ''
|
|
188
188
|
*/
|
|
189
189
|
adaptiveSubtitle: string;
|
|
190
190
|
/**
|
|
191
191
|
* Specifies the `disabled` property of the DateTimePicker and determines whether the component is active
|
|
192
|
-
* ([see example](
|
|
193
|
-
* To learn how to disable the component in reactive forms, refer to the article on [Forms Support](
|
|
192
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datetimepicker/disabled-state)).
|
|
193
|
+
* To learn how to disable the component in reactive forms, refer to the article on [Forms Support](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datetimepicker/forms#managing-the-datetimepicker-disabled-state-in-reactive-forms).
|
|
194
194
|
* @default false
|
|
195
195
|
*/
|
|
196
196
|
disabled: boolean;
|
|
197
197
|
/**
|
|
198
198
|
* Specifies the read-only state of the DateTimePicker
|
|
199
|
-
* ([see example](
|
|
199
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datetimepicker/readonly-state#read-only-datetimepicker)).
|
|
200
200
|
* @default false
|
|
201
201
|
*
|
|
202
202
|
* @default false
|
|
@@ -204,9 +204,9 @@ export declare class DateTimePickerComponent extends MultiTabStop implements OnI
|
|
|
204
204
|
readonly: boolean;
|
|
205
205
|
/**
|
|
206
206
|
* Determines whether the input field of the DateTimePicker is read-only
|
|
207
|
-
* ([see example](
|
|
207
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datetimepicker/readonly-state#read-only-input)).
|
|
208
208
|
*
|
|
209
|
-
* If you set the [`readonly`](
|
|
209
|
+
* If you set the [`readonly`](https://www.telerik.com/kendo-angular-ui/components/dateinputs/api/datetimepickercomponent#readonly) property value to `true`,
|
|
210
210
|
* the input will be rendered in a read-only state regardless of the `readOnlyInput` value.
|
|
211
211
|
*
|
|
212
212
|
* @default false
|
|
@@ -214,28 +214,28 @@ export declare class DateTimePickerComponent extends MultiTabStop implements OnI
|
|
|
214
214
|
readOnlyInput: boolean;
|
|
215
215
|
/**
|
|
216
216
|
* Determines whether to display the **Cancel** button in the popup
|
|
217
|
-
* ([see example](
|
|
217
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datetimepicker/popup-options#toggling-the-cancel-button)).
|
|
218
218
|
* @default true
|
|
219
219
|
*/
|
|
220
220
|
cancelButton: boolean;
|
|
221
221
|
/**
|
|
222
222
|
* Defines the descriptions of the format sections in the input field
|
|
223
|
-
* ([see example](
|
|
223
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datetimepicker/placeholders#format-sections-description)).
|
|
224
224
|
*/
|
|
225
225
|
formatPlaceholder: DateInputFormatPlaceholder;
|
|
226
226
|
/**
|
|
227
227
|
* Specifies the hint which is displayed by the DateTimePicker when its value is `null`
|
|
228
|
-
* ([see example](
|
|
228
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datetimepicker/placeholders#text-hints)).
|
|
229
229
|
*/
|
|
230
230
|
placeholder: string;
|
|
231
231
|
/**
|
|
232
232
|
* Configures the incremental steps of the DateInput and the popup component of the TimePicker
|
|
233
|
-
* ([see example](
|
|
233
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datetimepicker/incremental-steps)).
|
|
234
234
|
*/
|
|
235
235
|
steps: DateInputIncrementalSteps;
|
|
236
236
|
/**
|
|
237
237
|
* Specifies the focused date of the popup Calendar
|
|
238
|
-
* ([see example](
|
|
238
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datetimepicker/calendar-options#focused-dates)).
|
|
239
239
|
*/
|
|
240
240
|
focusedDate: Date;
|
|
241
241
|
/**
|
|
@@ -246,7 +246,7 @@ export declare class DateTimePickerComponent extends MultiTabStop implements OnI
|
|
|
246
246
|
calendarType: CalendarType;
|
|
247
247
|
/**
|
|
248
248
|
* Determines whether to enable animation when navigating to previous/next Calendar view.
|
|
249
|
-
* Applies to the [`classic`](
|
|
249
|
+
* Applies to the [`classic`](https://www.telerik.com/kendo-angular-ui/components/dateinputs/api/datetimepickercomponent#calendartype) Calendar only.
|
|
250
250
|
*
|
|
251
251
|
* 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.
|
|
252
252
|
*
|
|
@@ -255,7 +255,7 @@ export declare class DateTimePickerComponent extends MultiTabStop implements OnI
|
|
|
255
255
|
animateCalendarNavigation: boolean;
|
|
256
256
|
/**
|
|
257
257
|
* Determines whether to display a week number column in the `month` view of the popup Calendar
|
|
258
|
-
* ([see example](
|
|
258
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datetimepicker/calendar-options#week-number-column)).
|
|
259
259
|
* @default false
|
|
260
260
|
*/
|
|
261
261
|
weekNumber: boolean;
|
|
@@ -264,7 +264,7 @@ export declare class DateTimePickerComponent extends MultiTabStop implements OnI
|
|
|
264
264
|
* The Calendar will not display dates before this value.
|
|
265
265
|
* If the `min` value of the Calendar is selected, the TimePicker will not display
|
|
266
266
|
* time entries before the specified time portion of this value
|
|
267
|
-
* ([see example](
|
|
267
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datetimepicker/date-time-limits)).
|
|
268
268
|
*/
|
|
269
269
|
set min(value: Date | null);
|
|
270
270
|
get min(): Date;
|
|
@@ -273,20 +273,20 @@ export declare class DateTimePickerComponent extends MultiTabStop implements OnI
|
|
|
273
273
|
* The Calendar will not display dates after this value.
|
|
274
274
|
* If the `max` value of the Calendar is selected, the TimePicker will not display
|
|
275
275
|
* time entries after the specified time portion of this value
|
|
276
|
-
* ([see example](
|
|
276
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datetimepicker/date-time-limits)).
|
|
277
277
|
*/
|
|
278
278
|
set max(value: Date | null);
|
|
279
279
|
get max(): Date;
|
|
280
280
|
/**
|
|
281
281
|
* Determines whether the built-in `min` or `max` validators are enforced when validating a form
|
|
282
|
-
* ([see example](
|
|
282
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datetimepicker/date-time-limits)).
|
|
283
283
|
*
|
|
284
284
|
* @default true
|
|
285
285
|
*/
|
|
286
286
|
rangeValidation: boolean;
|
|
287
287
|
/**
|
|
288
288
|
* Determines whether the built-in validator for disabled date ranges is enforced when validating a form
|
|
289
|
-
* ([see example](
|
|
289
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datetimepicker/disabled-dates)).
|
|
290
290
|
* @default true
|
|
291
291
|
*/
|
|
292
292
|
disabledDatesValidation: boolean;
|
|
@@ -348,29 +348,29 @@ export declare class DateTimePickerComponent extends MultiTabStop implements OnI
|
|
|
348
348
|
};
|
|
349
349
|
/**
|
|
350
350
|
* Fires each time the user selects a new value
|
|
351
|
-
* ([see example](
|
|
351
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datetimepicker/events)).
|
|
352
352
|
*/
|
|
353
353
|
valueChange: EventEmitter<Date>;
|
|
354
354
|
/**
|
|
355
355
|
* Fires each time the popup is about to open
|
|
356
|
-
* ([see example](
|
|
356
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datetimepicker/events)).
|
|
357
357
|
* This event is preventable. If you cancel the event by setting `event.preventDefault()`, the popup will remain closed.
|
|
358
358
|
*/
|
|
359
359
|
open: EventEmitter<PreventableEvent>;
|
|
360
360
|
/**
|
|
361
361
|
* Fires each time the popup is about to close
|
|
362
|
-
* ([see example](
|
|
362
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datetimepicker/events)).
|
|
363
363
|
* This event is preventable. If you cancel the event by setting `event.preventDefault()`, the popup will remain open.
|
|
364
364
|
*/
|
|
365
365
|
close: EventEmitter<PreventableEvent>;
|
|
366
366
|
/**
|
|
367
367
|
* Fires each time the user focuses the component
|
|
368
|
-
* ([see example](
|
|
368
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datetimepicker/events)).
|
|
369
369
|
*/
|
|
370
370
|
onFocus: EventEmitter<any>;
|
|
371
371
|
/**
|
|
372
372
|
* Fires each time the user blurs the component
|
|
373
|
-
* ([see example](
|
|
373
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datetimepicker/events)).
|
|
374
374
|
*/
|
|
375
375
|
onBlur: EventEmitter<any>;
|
|
376
376
|
/**
|
|
@@ -388,13 +388,14 @@ export declare class DateTimePickerComponent extends MultiTabStop implements OnI
|
|
|
388
388
|
set isActive(value: boolean);
|
|
389
389
|
/**
|
|
390
390
|
* Specifies the active tab when opening the popup
|
|
391
|
-
* ([see example](
|
|
391
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datetimepicker/popup-options#setting-the-default-tab)).
|
|
392
392
|
*/
|
|
393
393
|
set defaultTab(tab: DateTimePickerActiveTab);
|
|
394
394
|
get defaultTab(): DateTimePickerActiveTab;
|
|
395
395
|
/**
|
|
396
396
|
* Specifies the size of the component.
|
|
397
397
|
*
|
|
398
|
+
* @default undefined
|
|
398
399
|
*/
|
|
399
400
|
set size(size: DateInputSize);
|
|
400
401
|
get size(): DateInputSize;
|
|
@@ -6,7 +6,7 @@ import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
|
6
6
|
import { DateTimePickerMessages } from './messages';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
/**
|
|
9
|
-
* Allows you to override the default messages of the DateTimePicker component ([see example](
|
|
9
|
+
* Allows you to override the default messages of the DateTimePicker component ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/globalization#custom-messages)).
|
|
10
10
|
*
|
|
11
11
|
* @example
|
|
12
12
|
* ```html
|
|
@@ -4,6 +4,6 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
6
6
|
* The literal type that defines the active tab of the DateTimePicker
|
|
7
|
-
* ([see example](
|
|
7
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datetimepicker/popup-options#setting-the-default-tab)).
|
|
8
8
|
*/
|
|
9
9
|
export type DateTimePickerActiveTab = 'date' | 'time';
|