@progress/kendo-angular-dateinputs 24.2.2 → 25.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/fesm2022/progress-kendo-angular-dateinputs.mjs +260 -260
- package/index.d.ts +7208 -91
- package/package-metadata.mjs +2 -2
- package/package.json +16 -16
- package/calendar/calendar.component.d.ts +0 -633
- package/calendar/calendar.module.d.ts +0 -51
- package/calendar/calendars.module.d.ts +0 -47
- package/calendar/footer.component.d.ts +0 -22
- package/calendar/for.directive.d.ts +0 -42
- package/calendar/header.component.d.ts +0 -73
- package/calendar/horizontal-view-list.component.d.ts +0 -106
- package/calendar/localization/calendar-custom-messages.component.d.ts +0 -25
- package/calendar/localization/calendar-localized-messages.directive.d.ts +0 -16
- package/calendar/localization/calendar-messages.d.ts +0 -29
- package/calendar/localization/multiview-calendar-custom-messages.component.d.ts +0 -25
- package/calendar/localization/multiview-calendar-localized-messages.directive.d.ts +0 -16
- package/calendar/localization/multiview-calendar-messages.d.ts +0 -29
- package/calendar/models/cell-context.interface.d.ts +0 -77
- package/calendar/models/navigation-action.enum.d.ts +0 -19
- package/calendar/models/orientation.d.ts +0 -17
- package/calendar/models/row-length-options.interface.d.ts +0 -10
- package/calendar/models/scrollable.interface.d.ts +0 -41
- package/calendar/models/selection-range-end.type.d.ts +0 -18
- package/calendar/models/selection-range.interface.d.ts +0 -36
- package/calendar/models/selection.d.ts +0 -38
- package/calendar/models/type.d.ts +0 -17
- package/calendar/models/view-service.interface.d.ts +0 -31
- package/calendar/models/view.enum.d.ts +0 -15
- package/calendar/models/view.type.d.ts +0 -19
- package/calendar/multiview-calendar.component.d.ts +0 -655
- package/calendar/multiview-calendar.module.d.ts +0 -58
- package/calendar/navigation.component.d.ts +0 -60
- package/calendar/services/bus-view.service.d.ts +0 -30
- package/calendar/services/century-view.service.d.ts +0 -35
- package/calendar/services/decade-view.service.d.ts +0 -35
- package/calendar/services/disabled-dates.service.d.ts +0 -36
- package/calendar/services/dom.service.d.ts +0 -35
- package/calendar/services/month-view.service.d.ts +0 -42
- package/calendar/services/navigation.service.d.ts +0 -19
- package/calendar/services/scroll-sync.service.d.ts +0 -32
- package/calendar/services/selection.service.d.ts +0 -39
- package/calendar/services/weeknames.service.d.ts +0 -20
- package/calendar/services/year-view.service.d.ts +0 -39
- package/calendar/templates/cell-template.directive.d.ts +0 -36
- package/calendar/templates/century-cell-template.directive.d.ts +0 -34
- package/calendar/templates/decade-cell-template.directive.d.ts +0 -34
- package/calendar/templates/footer-template.directive.d.ts +0 -35
- package/calendar/templates/header-template.directive.d.ts +0 -38
- package/calendar/templates/header-title-template.directive.d.ts +0 -34
- package/calendar/templates/month-cell-template.directive.d.ts +0 -34
- package/calendar/templates/navigation-item-template.directive.d.ts +0 -34
- package/calendar/templates/weeknumber-cell-template.directive.d.ts +0 -34
- package/calendar/templates/year-cell-template.directive.d.ts +0 -34
- package/calendar/view-list.component.d.ts +0 -108
- package/calendar/view.component.d.ts +0 -86
- package/common/dom-queries.d.ts +0 -12
- package/common/models/fillmode.d.ts +0 -13
- package/common/models/rounded.d.ts +0 -15
- package/common/models/size.d.ts +0 -13
- package/common/models/week-days-format.d.ts +0 -10
- package/common/picker.service.d.ts +0 -20
- package/common/utils.d.ts +0 -65
- package/dateinput/arrow.enum.d.ts +0 -12
- package/dateinput/dateinput.component.d.ts +0 -479
- package/dateinput/dateinput.module.d.ts +0 -29
- package/dateinput/localization/dateinput-custom-messages.component.d.ts +0 -34
- package/dateinput/localization/dateinput-localized-messages.directive.d.ts +0 -16
- package/dateinput/localization/messages.d.ts +0 -25
- package/dateinput/models/format-placeholder.model.d.ts +0 -61
- package/dateinput/models/format-settings.model.d.ts +0 -29
- package/dateinput/models/incremental-steps.model.d.ts +0 -31
- package/dateinputs.module.d.ts +0 -71
- package/datepicker/datepicker.component.d.ts +0 -640
- package/datepicker/datepicker.module.d.ts +0 -36
- package/datepicker/localization/datepicker-custom-messages.component.d.ts +0 -27
- package/datepicker/localization/datepicker-localized-messages.directive.d.ts +0 -16
- package/datepicker/localization/messages.d.ts +0 -41
- package/daterange/auto-correct-on.type.d.ts +0 -9
- package/daterange/date-range-end-input.directive.d.ts +0 -62
- package/daterange/date-range-input.d.ts +0 -42
- package/daterange/date-range-popup-template.directive.d.ts +0 -27
- package/daterange/date-range-popup.component.d.ts +0 -376
- package/daterange/date-range-selection.directive.d.ts +0 -89
- package/daterange/date-range-start-input.directive.d.ts +0 -65
- package/daterange/date-range.component.d.ts +0 -59
- package/daterange/date-range.module.d.ts +0 -57
- package/daterange/date-range.service.d.ts +0 -137
- package/daterange/localization/daterange-popup-custom-messages.component.d.ts +0 -17
- package/daterange/localization/daterange-popup-localized-messages.directive.d.ts +0 -16
- package/daterange/localization/messages.d.ts +0 -33
- package/datetimepicker/datetimepicker.component.d.ts +0 -772
- package/datetimepicker/datetimepicker.module.d.ts +0 -41
- package/datetimepicker/localization/datetimepicker-custom-messages.component.d.ts +0 -26
- package/datetimepicker/localization/localized-messages.directive.d.ts +0 -16
- package/datetimepicker/localization/messages.d.ts +0 -101
- package/datetimepicker/models/active-tab.type.d.ts +0 -9
- package/defaults.d.ts +0 -24
- package/directives.d.ts +0 -66
- package/package-metadata.d.ts +0 -9
- package/popup-settings.model.d.ts +0 -28
- package/preventable-event.d.ts +0 -23
- package/timepicker/localization/messages.d.ts +0 -69
- package/timepicker/localization/timepicker-custom-messages.component.d.ts +0 -28
- package/timepicker/localization/timepicker-localized-messages.directive.d.ts +0 -16
- package/timepicker/localization/timeselector-custom-messages.component.d.ts +0 -19
- package/timepicker/localization/timeselector-localized-messages.directive.d.ts +0 -16
- package/timepicker/models/incremental-steps.model.d.ts +0 -13
- package/timepicker/models/list-item.interface.d.ts +0 -11
- package/timepicker/models/list-service-settings.d.ts +0 -16
- package/timepicker/models/list-service.interface.d.ts +0 -19
- package/timepicker/models/time-part.default.d.ts +0 -14
- package/timepicker/services/dayperiod.service.d.ts +0 -54
- package/timepicker/services/dom.service.d.ts +0 -25
- package/timepicker/services/hours.service.d.ts +0 -40
- package/timepicker/services/milliseconds.service.d.ts +0 -39
- package/timepicker/services/minutes.service.d.ts +0 -39
- package/timepicker/services/seconds.service.d.ts +0 -39
- package/timepicker/timelist.component.d.ts +0 -96
- package/timepicker/timepicker.component.d.ts +0 -498
- package/timepicker/timepicker.module.d.ts +0 -28
- package/timepicker/timeselector.component.d.ts +0 -185
- package/timepicker/util.d.ts +0 -20
- package/util.d.ts +0 -195
- package/validators/disabled-date.validator.d.ts +0 -8
- package/validators/disabled-dates-range.validator.d.ts +0 -8
- package/validators/incomplete-date.validator.d.ts +0 -8
- package/validators/max.validator.d.ts +0 -8
- package/validators/min.validator.d.ts +0 -8
- package/validators/time-range.validator.d.ts +0 -8
- package/virtualization/models/scrollable.interface.d.ts +0 -41
- package/virtualization/services/row-height.service.d.ts +0 -22
- package/virtualization/services/scroller.service.d.ts +0 -57
- package/virtualization/virtualization.component.d.ts +0 -88
|
@@ -1,479 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { ChangeDetectorRef, EventEmitter, ElementRef, OnInit, OnDestroy, OnChanges, Renderer2, NgZone, Injector, SimpleChanges, AfterViewInit } from '@angular/core';
|
|
6
|
-
import { AbstractControl, FormControl, ControlValueAccessor, Validator } from '@angular/forms';
|
|
7
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
|
-
import { IntlService } from '@progress/kendo-angular-intl';
|
|
9
|
-
import { Arrow } from './arrow.enum';
|
|
10
|
-
import { DateInputFormatPlaceholder } from './models/format-placeholder.model';
|
|
11
|
-
import { DateInputIncrementalSteps } from './models/incremental-steps.model';
|
|
12
|
-
import { PickerService } from '../common/picker.service';
|
|
13
|
-
import { FormatSettings } from './models/format-settings.model';
|
|
14
|
-
import { DateInputSize } from '../common/models/size';
|
|
15
|
-
import { DateInputRounded } from '../common/models/rounded';
|
|
16
|
-
import { DateInputFillMode } from '../common/models/fillmode';
|
|
17
|
-
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
18
|
-
import { DateFieldNameOptions, DateFormatOptions, DateFormatPart, DayRange, NumberFormatOptions } from '@progress/kendo-intl';
|
|
19
|
-
import * as i0 from "@angular/core";
|
|
20
|
-
type DatePickerType = 'daterangestart' | 'daterangeend' | 'datepicker' | 'datetimepicker' | 'timepicker';
|
|
21
|
-
/**
|
|
22
|
-
* @hidden
|
|
23
|
-
* Need to overrite `dateFormatNames` parameters order and provide `cldr` object
|
|
24
|
-
* required by the kendo-dateinputs-common package
|
|
25
|
-
*/
|
|
26
|
-
export declare class DateInputIntl {
|
|
27
|
-
private service;
|
|
28
|
-
format: (format: string, ...values: any[]) => string;
|
|
29
|
-
toString: (value: any, format: any, localeId?: string) => string;
|
|
30
|
-
formatDate: (value: Date, format?: string | DateFormatOptions, localeId?: string) => string;
|
|
31
|
-
parseDate: (value: string, format?: string | DateFormatOptions | string[] | DateFormatOptions[], localeId?: string) => Date;
|
|
32
|
-
parseNumber: (value: string, format?: string | NumberFormatOptions, localeId?: string) => number;
|
|
33
|
-
formatNumber: (value: number, format: string | NumberFormatOptions, localeId?: string) => string;
|
|
34
|
-
splitDateFormat: (format: string | DateFormatOptions, localeId?: string) => DateFormatPart[];
|
|
35
|
-
numberSymbols: (localeId?: string) => void;
|
|
36
|
-
firstDay: (localeId?: string) => number;
|
|
37
|
-
weekendRange: (localeId?: string) => DayRange;
|
|
38
|
-
dateFieldName: (options: DateFieldNameOptions, localeId?: string) => string;
|
|
39
|
-
dateFormatNames: (localeId: any, options: any) => any;
|
|
40
|
-
cldr: {};
|
|
41
|
-
localeId: string;
|
|
42
|
-
constructor(service: IntlService);
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* Represents the [Kendo UI DateInput component for Angular](https://www.telerik.com/kendo-angular-ui/components/dateinputs/dateinput).
|
|
46
|
-
*
|
|
47
|
-
* ```html
|
|
48
|
-
* <kendo-dateinput></kendo-dateinput>
|
|
49
|
-
* ```
|
|
50
|
-
*
|
|
51
|
-
* @remarks
|
|
52
|
-
* Supported children components are: {@link DateInputCustomMessagesComponent}.
|
|
53
|
-
*/
|
|
54
|
-
export declare class DateInputComponent implements OnInit, AfterViewInit, ControlValueAccessor, OnChanges, OnDestroy, Validator {
|
|
55
|
-
private cdr;
|
|
56
|
-
private intl;
|
|
57
|
-
private renderer;
|
|
58
|
-
wrapper: ElementRef;
|
|
59
|
-
private ngZone;
|
|
60
|
-
private injector;
|
|
61
|
-
localization: LocalizationService;
|
|
62
|
-
private pickerService?;
|
|
63
|
-
/**
|
|
64
|
-
* @hidden
|
|
65
|
-
*/
|
|
66
|
-
chevronUpIcon: SVGIcon;
|
|
67
|
-
/**
|
|
68
|
-
* @hidden
|
|
69
|
-
*/
|
|
70
|
-
xIcon: SVGIcon;
|
|
71
|
-
/**
|
|
72
|
-
* @hidden
|
|
73
|
-
*/
|
|
74
|
-
chevronDownIcon: SVGIcon;
|
|
75
|
-
/**
|
|
76
|
-
* @hidden
|
|
77
|
-
*/
|
|
78
|
-
set focusableId(_focusableId: string);
|
|
79
|
-
get focusableId(): string;
|
|
80
|
-
/**
|
|
81
|
-
* @hidden
|
|
82
|
-
*/
|
|
83
|
-
set pickerType(_pickerType: DatePickerType);
|
|
84
|
-
/**
|
|
85
|
-
* Specifies whether to render a clear button after the input text or DateInput value has been changed.
|
|
86
|
-
* Clicking this button resets the value of the component to `null` and triggers the `valueChange` event.
|
|
87
|
-
* @default false
|
|
88
|
-
*/
|
|
89
|
-
clearButton: boolean;
|
|
90
|
-
/**
|
|
91
|
-
* Specifies whether the component is disabled
|
|
92
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/dateinput/disabled-state)).
|
|
93
|
-
* 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/dateinput/forms#managing-the-dateinput-disabled-state-in-reactive-forms).
|
|
94
|
-
*
|
|
95
|
-
* @default false
|
|
96
|
-
*/
|
|
97
|
-
disabled: boolean;
|
|
98
|
-
/**
|
|
99
|
-
* Specifies the read-only state of the DateInput
|
|
100
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/dateinput/readonly-state)).
|
|
101
|
-
*
|
|
102
|
-
* @default false
|
|
103
|
-
*/
|
|
104
|
-
readonly: boolean;
|
|
105
|
-
/**
|
|
106
|
-
* Specifies the title of the input element of the DateInput.
|
|
107
|
-
*
|
|
108
|
-
* @default ""
|
|
109
|
-
*/
|
|
110
|
-
title: string;
|
|
111
|
-
/**
|
|
112
|
-
* Specifies the `tabIndex` property of the DateInput.
|
|
113
|
-
*
|
|
114
|
-
* @default 0
|
|
115
|
-
*/
|
|
116
|
-
tabindex: number;
|
|
117
|
-
/**
|
|
118
|
-
* @hidden
|
|
119
|
-
*/
|
|
120
|
-
role: string;
|
|
121
|
-
/**
|
|
122
|
-
* @hidden
|
|
123
|
-
*/
|
|
124
|
-
ariaReadOnly: boolean;
|
|
125
|
-
/**
|
|
126
|
-
* @hidden
|
|
127
|
-
*/
|
|
128
|
-
set tabIndex(tabIndex: number);
|
|
129
|
-
get tabIndex(): number;
|
|
130
|
-
/**
|
|
131
|
-
* @hidden
|
|
132
|
-
*/
|
|
133
|
-
isRequired: boolean;
|
|
134
|
-
/**
|
|
135
|
-
* Specifies the date format that is used to display the input value
|
|
136
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/dateinput/formats)).
|
|
137
|
-
*
|
|
138
|
-
* You can provide a string if a single format is going to be used regardless whether the input is focused or blurred.
|
|
139
|
-
* Alternatively, you can provide a FormatSettings object to display different formats when the component is focused or blurred by specifying inputFormat and displayFormat values.
|
|
140
|
-
*/
|
|
141
|
-
format: string | FormatSettings;
|
|
142
|
-
/**
|
|
143
|
-
* Defines the descriptions of the format sections in the input field.
|
|
144
|
-
* For more information, refer to the article on
|
|
145
|
-
* [placeholders](https://www.telerik.com/kendo-angular-ui/components/dateinputs/dateinput/placeholders).
|
|
146
|
-
*/
|
|
147
|
-
set formatPlaceholder(format: DateInputFormatPlaceholder);
|
|
148
|
-
get formatPlaceholder(): DateInputFormatPlaceholder;
|
|
149
|
-
/**
|
|
150
|
-
* Specifies the hint the DateInput displays when its value is `null`.
|
|
151
|
-
* For more information, refer to the article on
|
|
152
|
-
* [placeholders](https://www.telerik.com/kendo-angular-ui/components/dateinputs/dateinput/placeholders).
|
|
153
|
-
*/
|
|
154
|
-
placeholder: string;
|
|
155
|
-
/**
|
|
156
|
-
* Configures the incremental steps of the DateInput.
|
|
157
|
-
* For more information, refer to the article on
|
|
158
|
-
* [incremental steps](https://www.telerik.com/kendo-angular-ui/components/dateinputs/dateinput/incremental-steps).
|
|
159
|
-
*/
|
|
160
|
-
steps: DateInputIncrementalSteps;
|
|
161
|
-
/**
|
|
162
|
-
* Specifies the biggest date that is valid
|
|
163
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/dateinput/date-ranges)).
|
|
164
|
-
*
|
|
165
|
-
* @default 2099-12-31
|
|
166
|
-
*/
|
|
167
|
-
max: Date;
|
|
168
|
-
/**
|
|
169
|
-
* Specifies the smallest date that is valid
|
|
170
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/dateinput/date-ranges)).
|
|
171
|
-
*
|
|
172
|
-
* @default 1900-1-1
|
|
173
|
-
*/
|
|
174
|
-
min: Date;
|
|
175
|
-
/**
|
|
176
|
-
* Specifies whether to enforce the built-in min and max validators when validating a form.
|
|
177
|
-
* Set to `true` to enable validation for the `min` and `max` values.
|
|
178
|
-
*
|
|
179
|
-
* @default true
|
|
180
|
-
*/
|
|
181
|
-
rangeValidation: boolean;
|
|
182
|
-
/**
|
|
183
|
-
* Specifies if the component automatically corrects invalid date segments.
|
|
184
|
-
* When set to `true`, the component fixes invalid segments as you type.
|
|
185
|
-
*
|
|
186
|
-
* @default true
|
|
187
|
-
*/
|
|
188
|
-
autoCorrectParts: boolean;
|
|
189
|
-
/**
|
|
190
|
-
* Specifies if the component automatically moves to the next segment after you complete the current one.
|
|
191
|
-
* When set to `true`, focus moves to the next segment as soon as you finish typing the current segment.
|
|
192
|
-
*
|
|
193
|
-
* @default true
|
|
194
|
-
*/
|
|
195
|
-
autoSwitchParts: boolean;
|
|
196
|
-
/**
|
|
197
|
-
* Specifies custom keys that move focus to the next date format segment.
|
|
198
|
-
* Provide an array of strings to define which keys trigger the focus change.
|
|
199
|
-
*/
|
|
200
|
-
autoSwitchKeys: string[];
|
|
201
|
-
/**
|
|
202
|
-
* Specifies if the component displays a blinking caret inside the DateInput when possible.
|
|
203
|
-
* Set to `true` to show a blinking caret for better visual feedback.
|
|
204
|
-
*
|
|
205
|
-
* @default false
|
|
206
|
-
*/
|
|
207
|
-
allowCaretMode: boolean;
|
|
208
|
-
/**
|
|
209
|
-
* Specifies whether to autofill the rest of the date to the current date when the component loses focus.
|
|
210
|
-
*
|
|
211
|
-
* @default false
|
|
212
|
-
*/
|
|
213
|
-
autoFill: boolean;
|
|
214
|
-
/**
|
|
215
|
-
* Specifies whether the built-in validation for incomplete dates is to be enforced when a form is being validated.
|
|
216
|
-
*
|
|
217
|
-
* @default false
|
|
218
|
-
*/
|
|
219
|
-
incompleteDateValidation: boolean;
|
|
220
|
-
/**
|
|
221
|
-
* The maximum year to assume to be from the current century when typing two-digit year value
|
|
222
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/dateinput/formats#two-digit-year-format)).
|
|
223
|
-
*
|
|
224
|
-
* The default value is 68, indicating that typing any value less than 69
|
|
225
|
-
* will be assumed to be 20xx, while 69 and larger will be assumed to be 19xx.
|
|
226
|
-
* @default 68
|
|
227
|
-
*/
|
|
228
|
-
twoDigitYearMax: number;
|
|
229
|
-
/**
|
|
230
|
-
* Indicates whether the mouse scroll can be used to increase/decrease the time segments values.
|
|
231
|
-
*
|
|
232
|
-
* @default true
|
|
233
|
-
*/
|
|
234
|
-
enableMouseWheel: boolean;
|
|
235
|
-
/**
|
|
236
|
-
* Specifies the value of the DateInput component.
|
|
237
|
-
*
|
|
238
|
-
* The `value` has to be a valid [JavaScript `Date`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Date) instance or `null`.
|
|
239
|
-
*/
|
|
240
|
-
set value(value: Date | null);
|
|
241
|
-
get value(): Date | null;
|
|
242
|
-
/**
|
|
243
|
-
* Specifies whether the **Up** and **Down** spin buttons will be rendered.
|
|
244
|
-
* For more information, refer to the article on
|
|
245
|
-
* [spinner buttons](https://www.telerik.com/kendo-angular-ui/components/dateinputs/dateinput/spin-buttons).
|
|
246
|
-
*
|
|
247
|
-
* @default false
|
|
248
|
-
*/
|
|
249
|
-
spinners: boolean;
|
|
250
|
-
/**
|
|
251
|
-
* @hidden
|
|
252
|
-
*/
|
|
253
|
-
isPopupOpen: boolean;
|
|
254
|
-
/**
|
|
255
|
-
* @hidden
|
|
256
|
-
*/
|
|
257
|
-
hasPopup: string;
|
|
258
|
-
/**
|
|
259
|
-
* Specifies the size of the component. The default value is set by the Kendo theme.
|
|
260
|
-
*
|
|
261
|
-
*/
|
|
262
|
-
set size(size: DateInputSize);
|
|
263
|
-
get size(): DateInputSize;
|
|
264
|
-
/**
|
|
265
|
-
* Specifies the border radius of the component. The default value is set by the Kendo theme.
|
|
266
|
-
*/
|
|
267
|
-
set rounded(rounded: DateInputRounded);
|
|
268
|
-
get rounded(): DateInputRounded;
|
|
269
|
-
/**
|
|
270
|
-
* Specifies the fillMode of the component. The default value is set by the Kendo theme.
|
|
271
|
-
*/
|
|
272
|
-
set fillMode(fillMode: DateInputFillMode);
|
|
273
|
-
get fillMode(): DateInputFillMode;
|
|
274
|
-
/**
|
|
275
|
-
* Specifies the HTML attributes of the inner focusable input element. Attributes which are essential for certain component functionalities cannot be changed.
|
|
276
|
-
*
|
|
277
|
-
* @remarks
|
|
278
|
-
* This property is related to accessibility.
|
|
279
|
-
*/
|
|
280
|
-
set inputAttributes(attributes: {
|
|
281
|
-
[key: string]: string;
|
|
282
|
-
});
|
|
283
|
-
get inputAttributes(): {
|
|
284
|
-
[key: string]: string;
|
|
285
|
-
};
|
|
286
|
-
/**
|
|
287
|
-
* Fires each time the user selects a new value
|
|
288
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/dateinput/events)).
|
|
289
|
-
*/
|
|
290
|
-
valueChange: EventEmitter<Date>;
|
|
291
|
-
/**
|
|
292
|
-
* @hidden
|
|
293
|
-
* Fires each time the user selects a new value
|
|
294
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/dateinput/events)).
|
|
295
|
-
*/
|
|
296
|
-
valueUpdate: EventEmitter<Date>;
|
|
297
|
-
/**
|
|
298
|
-
* Fires each time the user focuses the input element
|
|
299
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/dateinput/events)).
|
|
300
|
-
*/
|
|
301
|
-
onFocus: EventEmitter<null>;
|
|
302
|
-
/**
|
|
303
|
-
* Fires each time the input element gets blurred
|
|
304
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/dateinput/events)).
|
|
305
|
-
*/
|
|
306
|
-
onBlur: EventEmitter<null>;
|
|
307
|
-
/**
|
|
308
|
-
* @hidden
|
|
309
|
-
*/
|
|
310
|
-
dateInput: ElementRef;
|
|
311
|
-
get disabledClass(): boolean;
|
|
312
|
-
get inputElement(): any;
|
|
313
|
-
get inputValue(): string;
|
|
314
|
-
get isActive(): boolean;
|
|
315
|
-
set isActive(value: boolean);
|
|
316
|
-
/**
|
|
317
|
-
* @hidden
|
|
318
|
-
*/
|
|
319
|
-
get formControl(): FormControl;
|
|
320
|
-
get options(): {
|
|
321
|
-
format: string | FormatSettings;
|
|
322
|
-
steps: DateInputIncrementalSteps;
|
|
323
|
-
readonly: boolean;
|
|
324
|
-
formatPlaceholder: DateInputFormatPlaceholder;
|
|
325
|
-
placeholder: string;
|
|
326
|
-
autoCorrectParts: boolean;
|
|
327
|
-
autoSwitchParts: boolean;
|
|
328
|
-
selectPreviousSegmentOnBackspace: boolean;
|
|
329
|
-
autoSwitchKeys: string[];
|
|
330
|
-
twoDigitYearMax: number;
|
|
331
|
-
enableMouseWheel: boolean;
|
|
332
|
-
selectNearestSegmentOnFocus: boolean;
|
|
333
|
-
allowCaretMode: boolean;
|
|
334
|
-
autoFill: boolean;
|
|
335
|
-
value: Date;
|
|
336
|
-
intlService: DateInputIntl;
|
|
337
|
-
};
|
|
338
|
-
arrow: any;
|
|
339
|
-
arrowDirection: Arrow;
|
|
340
|
-
formatSections: {
|
|
341
|
-
[x: string]: boolean;
|
|
342
|
-
};
|
|
343
|
-
hasMousedown: boolean;
|
|
344
|
-
focusedPriorToMousedown: boolean;
|
|
345
|
-
showClearButton: boolean;
|
|
346
|
-
/**
|
|
347
|
-
* @hidden
|
|
348
|
-
*/
|
|
349
|
-
isDateIncomplete: boolean;
|
|
350
|
-
protected currentFormat: string;
|
|
351
|
-
private spinup;
|
|
352
|
-
private spindown;
|
|
353
|
-
private minValidator;
|
|
354
|
-
private maxValidator;
|
|
355
|
-
private incompleteValidator;
|
|
356
|
-
private _value;
|
|
357
|
-
private _active;
|
|
358
|
-
private _focusableId;
|
|
359
|
-
private _formatPlaceholder;
|
|
360
|
-
private kendoDate;
|
|
361
|
-
private kendoDateObject;
|
|
362
|
-
private domEvents;
|
|
363
|
-
private ngControl;
|
|
364
|
-
private onControlChange;
|
|
365
|
-
private onControlTouched;
|
|
366
|
-
private onValidatorChange;
|
|
367
|
-
private _size;
|
|
368
|
-
private _rounded;
|
|
369
|
-
private _fillMode;
|
|
370
|
-
private control;
|
|
371
|
-
private subs;
|
|
372
|
-
private _inputAttributes;
|
|
373
|
-
private parsedAttributes;
|
|
374
|
-
private get defaultAttributes();
|
|
375
|
-
private get mutableAttributes();
|
|
376
|
-
constructor(cdr: ChangeDetectorRef, intl: IntlService, renderer: Renderer2, wrapper: ElementRef, ngZone: NgZone, injector: Injector, localization: LocalizationService, pickerService?: PickerService);
|
|
377
|
-
/**
|
|
378
|
-
* @hidden
|
|
379
|
-
* Used by the TextBoxContainer to determine if the component is empty
|
|
380
|
-
*/
|
|
381
|
-
isEmpty(): boolean;
|
|
382
|
-
/**
|
|
383
|
-
* @hidden
|
|
384
|
-
*/
|
|
385
|
-
handleDragAndDrop(args: any): void;
|
|
386
|
-
/**
|
|
387
|
-
* @hidden
|
|
388
|
-
*/
|
|
389
|
-
containsElement(element: any): boolean;
|
|
390
|
-
/**
|
|
391
|
-
* @hidden
|
|
392
|
-
*/
|
|
393
|
-
ngOnInit(): void;
|
|
394
|
-
/**
|
|
395
|
-
* @hidden
|
|
396
|
-
*/
|
|
397
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
398
|
-
private updateFormatSections;
|
|
399
|
-
private updateIncompleteValidationStatus;
|
|
400
|
-
ngAfterViewInit(): void;
|
|
401
|
-
ngOnDestroy(): void;
|
|
402
|
-
/**
|
|
403
|
-
* @hidden
|
|
404
|
-
*/
|
|
405
|
-
private setAriaInvalid;
|
|
406
|
-
/**
|
|
407
|
-
* @hidden
|
|
408
|
-
*/
|
|
409
|
-
get isControlRequired(): boolean;
|
|
410
|
-
/**
|
|
411
|
-
* @hidden
|
|
412
|
-
*/
|
|
413
|
-
validate(control: AbstractControl): {
|
|
414
|
-
[key: string]: any;
|
|
415
|
-
};
|
|
416
|
-
/**
|
|
417
|
-
* @hidden
|
|
418
|
-
*/
|
|
419
|
-
registerOnValidatorChange(fn: Function): void;
|
|
420
|
-
/**
|
|
421
|
-
* @hidden
|
|
422
|
-
*/
|
|
423
|
-
setDisabledState(isDisabled: boolean): void;
|
|
424
|
-
/**
|
|
425
|
-
* @hidden
|
|
426
|
-
*/
|
|
427
|
-
writeValue(value: Date): void;
|
|
428
|
-
/**
|
|
429
|
-
* Resets the value of the DateInput component to `null` and triggers the `valueChange` event.
|
|
430
|
-
*/
|
|
431
|
-
resetInput(): void;
|
|
432
|
-
/**
|
|
433
|
-
* @hidden
|
|
434
|
-
*/
|
|
435
|
-
triggerChange(): void;
|
|
436
|
-
/**
|
|
437
|
-
* @hidden
|
|
438
|
-
*/
|
|
439
|
-
notify(): void;
|
|
440
|
-
/**
|
|
441
|
-
* @hidden
|
|
442
|
-
*/
|
|
443
|
-
registerOnChange(fn: () => any): void;
|
|
444
|
-
/**
|
|
445
|
-
* @hidden
|
|
446
|
-
*/
|
|
447
|
-
registerOnTouched(fn: () => any): void;
|
|
448
|
-
/**
|
|
449
|
-
* Focuses the DateInput component.
|
|
450
|
-
*
|
|
451
|
-
*/
|
|
452
|
-
focus(): void;
|
|
453
|
-
/**
|
|
454
|
-
* Blurs the DateInput component.
|
|
455
|
-
*/
|
|
456
|
-
blur(): void;
|
|
457
|
-
/**
|
|
458
|
-
* @hidden
|
|
459
|
-
*/
|
|
460
|
-
handleButtonClick(offset: number): void;
|
|
461
|
-
private initKendoDate;
|
|
462
|
-
private onWidgetValueChange;
|
|
463
|
-
private onWidgetKeyDown;
|
|
464
|
-
private onWidgetInputEnd;
|
|
465
|
-
private onWidgetFocus;
|
|
466
|
-
private onWidgetBlur;
|
|
467
|
-
private handleKeyDown;
|
|
468
|
-
private verifyRange;
|
|
469
|
-
private verifyValue;
|
|
470
|
-
private intlChange;
|
|
471
|
-
private emitFocus;
|
|
472
|
-
private emitBlur;
|
|
473
|
-
private setSpinnerFill;
|
|
474
|
-
private setComponentClasses;
|
|
475
|
-
private setInputAttributes;
|
|
476
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DateInputComponent, [null, null, null, null, null, null, null, { optional: true; }]>;
|
|
477
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DateInputComponent, "kendo-dateinput", ["kendo-dateinput"], { "focusableId": { "alias": "focusableId"; "required": false; }; "pickerType": { "alias": "pickerType"; "required": false; }; "clearButton": { "alias": "clearButton"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "title": { "alias": "title"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "role": { "alias": "role"; "required": false; }; "ariaReadOnly": { "alias": "ariaReadOnly"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "isRequired": { "alias": "isRequired"; "required": false; }; "format": { "alias": "format"; "required": false; }; "formatPlaceholder": { "alias": "formatPlaceholder"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "steps": { "alias": "steps"; "required": false; }; "max": { "alias": "max"; "required": false; }; "min": { "alias": "min"; "required": false; }; "rangeValidation": { "alias": "rangeValidation"; "required": false; }; "autoCorrectParts": { "alias": "autoCorrectParts"; "required": false; }; "autoSwitchParts": { "alias": "autoSwitchParts"; "required": false; }; "autoSwitchKeys": { "alias": "autoSwitchKeys"; "required": false; }; "allowCaretMode": { "alias": "allowCaretMode"; "required": false; }; "autoFill": { "alias": "autoFill"; "required": false; }; "incompleteDateValidation": { "alias": "incompleteDateValidation"; "required": false; }; "twoDigitYearMax": { "alias": "twoDigitYearMax"; "required": false; }; "enableMouseWheel": { "alias": "enableMouseWheel"; "required": false; }; "value": { "alias": "value"; "required": false; }; "spinners": { "alias": "spinners"; "required": false; }; "isPopupOpen": { "alias": "isPopupOpen"; "required": false; }; "hasPopup": { "alias": "hasPopup"; "required": false; }; "size": { "alias": "size"; "required": false; }; "rounded": { "alias": "rounded"; "required": false; }; "fillMode": { "alias": "fillMode"; "required": false; }; "inputAttributes": { "alias": "inputAttributes"; "required": false; }; }, { "valueChange": "valueChange"; "valueUpdate": "valueUpdate"; "onFocus": "focus"; "onBlur": "blur"; }, never, never, true, never>;
|
|
478
|
-
}
|
|
479
|
-
export {};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "./localization/dateinput-custom-messages.component";
|
|
7
|
-
import * as i2 from "./dateinput.component";
|
|
8
|
-
/**
|
|
9
|
-
* Required for adding all DateInput features in NgModule-based Angular applications.
|
|
10
|
-
*
|
|
11
|
-
* The package exports:
|
|
12
|
-
* - `DateInputComponent`—The DateInput component.
|
|
13
|
-
* - `DateInputMessagesComponent`—The DateInput custom messages component.
|
|
14
|
-
*
|
|
15
|
-
* @example
|
|
16
|
-
* ```ts
|
|
17
|
-
* import { DateInputModule } from '@progress/kendo-angular-dateinputs';
|
|
18
|
-
*
|
|
19
|
-
* @NgModule({
|
|
20
|
-
* imports: [DateInputModule]
|
|
21
|
-
* })
|
|
22
|
-
* export class AppModule { }
|
|
23
|
-
* ```
|
|
24
|
-
*/
|
|
25
|
-
export declare class DateInputModule {
|
|
26
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DateInputModule, never>;
|
|
27
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DateInputModule, never, [typeof i1.DateInputCustomMessagesComponent, typeof i2.DateInputComponent], [typeof i1.DateInputCustomMessagesComponent, typeof i2.DateInputComponent]>;
|
|
28
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<DateInputModule>;
|
|
29
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
6
|
-
import { DateInputMessages } from './messages';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
/**
|
|
9
|
-
* Represents the Kendo UI DateInput custom messages component.
|
|
10
|
-
* Overrides the default component messages with custom messages ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/globalization#custom-messages)).
|
|
11
|
-
*
|
|
12
|
-
* @example
|
|
13
|
-
* ```ts
|
|
14
|
-
* @Component({
|
|
15
|
-
* selector: 'my-app',
|
|
16
|
-
* template: `
|
|
17
|
-
* <kendo-dateinput>
|
|
18
|
-
* <kendo-dateinput-messages
|
|
19
|
-
* increment="Increase value"
|
|
20
|
-
* decrement="Decrease value">
|
|
21
|
-
* </kendo-dateinput-messages>
|
|
22
|
-
* </kendo-dateinput>
|
|
23
|
-
* `
|
|
24
|
-
* })
|
|
25
|
-
* export class AppComponent { }
|
|
26
|
-
* ```
|
|
27
|
-
*/
|
|
28
|
-
export declare class DateInputCustomMessagesComponent extends DateInputMessages {
|
|
29
|
-
protected service: LocalizationService;
|
|
30
|
-
constructor(service: LocalizationService);
|
|
31
|
-
protected get override(): boolean;
|
|
32
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DateInputCustomMessagesComponent, never>;
|
|
33
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DateInputCustomMessagesComponent, "kendo-dateinput-messages", never, {}, {}, never, never, true, never>;
|
|
34
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
6
|
-
import { DateInputMessages } from './messages';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
/**
|
|
9
|
-
* @hidden
|
|
10
|
-
*/
|
|
11
|
-
export declare class DateInputLocalizedMessagesDirective extends DateInputMessages {
|
|
12
|
-
protected service: LocalizationService;
|
|
13
|
-
constructor(service: LocalizationService);
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DateInputLocalizedMessagesDirective, never>;
|
|
15
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DateInputLocalizedMessagesDirective, "[kendoDateInputLocalizedMessages]", never, {}, {}, never, never, true, never>;
|
|
16
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { ComponentMessages } from '@progress/kendo-angular-l10n';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* @hidden
|
|
9
|
-
*/
|
|
10
|
-
export declare class DateInputMessages extends ComponentMessages {
|
|
11
|
-
/**
|
|
12
|
-
* The title of the **Decrement** button of the DateInput.
|
|
13
|
-
*/
|
|
14
|
-
decrement: string;
|
|
15
|
-
/**
|
|
16
|
-
* The title of the **Increment** button of the DateInput.
|
|
17
|
-
*/
|
|
18
|
-
increment: string;
|
|
19
|
-
/**
|
|
20
|
-
* The title of the **Clear** button of the DateInput.
|
|
21
|
-
*/
|
|
22
|
-
clearTitle: string;
|
|
23
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DateInputMessages, never>;
|
|
24
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DateInputMessages, "kendo-dateinput-messages-base", never, { "decrement": { "alias": "decrement"; "required": false; }; "increment": { "alias": "increment"; "required": false; }; "clearTitle": { "alias": "clearTitle"; "required": false; }; }, {}, never, never, true, never>;
|
|
25
|
-
}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
/**
|
|
6
|
-
* Represents the Kendo UI DateInput custom format placeholder interface.
|
|
7
|
-
* Defines a custom-format placeholder structure in the `DateInput` component.
|
|
8
|
-
*
|
|
9
|
-
* @example
|
|
10
|
-
* ```ts
|
|
11
|
-
* <kendo-dateinput format="G"
|
|
12
|
-
* [formatPlaceholder]="{
|
|
13
|
-
* year: 'y', month: 'M', day: 'd',
|
|
14
|
-
* hour: 'h', minute: 'm', second: 's'
|
|
15
|
-
* }"
|
|
16
|
-
* ></kendo-dateinput>
|
|
17
|
-
* ```
|
|
18
|
-
*/
|
|
19
|
-
export interface DateInputCustomFormatPlaceholder {
|
|
20
|
-
/**
|
|
21
|
-
* Specifies the description for the `year` format section.
|
|
22
|
-
*/
|
|
23
|
-
year?: string;
|
|
24
|
-
/**
|
|
25
|
-
* Specifies the description for the `month` format section.
|
|
26
|
-
*/
|
|
27
|
-
month?: string;
|
|
28
|
-
/**
|
|
29
|
-
* Specifies the description for the `day` format section.
|
|
30
|
-
*/
|
|
31
|
-
day?: string;
|
|
32
|
-
/**
|
|
33
|
-
* Specifies the description for the `hour` format section.
|
|
34
|
-
*/
|
|
35
|
-
hour?: string;
|
|
36
|
-
/**
|
|
37
|
-
* Specifies the description for the `minute` format section.
|
|
38
|
-
*/
|
|
39
|
-
minute?: string;
|
|
40
|
-
/**
|
|
41
|
-
* Specifies the description for the `second` format section.
|
|
42
|
-
*/
|
|
43
|
-
second?: string;
|
|
44
|
-
/**
|
|
45
|
-
* Specifies the description for the `millisecond` format section.
|
|
46
|
-
*/
|
|
47
|
-
millisecond?: string;
|
|
48
|
-
}
|
|
49
|
-
/**
|
|
50
|
-
* The union type which defines all possible format options of the DateInput placeholder.
|
|
51
|
-
*
|
|
52
|
-
* The available options are:
|
|
53
|
-
* * `'wide'`—Displays the full description of the format section. For example, turns `MM` into `month`.
|
|
54
|
-
* Retrieved from [CLDR](https://github.com/telerik/kendo-intl/blob/develop/docs/cldr/index.md).
|
|
55
|
-
* * `'narrow'`—Displays the narrow description of the format section. For example, turns `MM` into `mo.`.
|
|
56
|
-
* Retrieved from [CLDR](https://github.com/telerik/kendo-intl/blob/develop/docs/cldr/index.md).
|
|
57
|
-
* * `'short'`—Displays the short description of the format section. For example, turns `MM` into `mo.`.
|
|
58
|
-
* Retrieved from [CLDR](https://github.com/telerik/kendo-intl/blob/develop/docs/cldr/index.md).
|
|
59
|
-
* *`'formatPattern'`—Directly displays the format section. For example, turns `MM` into `MM`.
|
|
60
|
-
*/
|
|
61
|
-
export type DateInputFormatPlaceholder = 'wide' | 'narrow' | 'short' | 'formatPattern' | DateInputCustomFormatPlaceholder;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { DateFormatOptions } from "@progress/kendo-intl";
|
|
6
|
-
/**
|
|
7
|
-
* Represents the Kendo UI DateInput format settings interface.
|
|
8
|
-
* Specifies the formats used by the `DateInput` mask when the input is focused or blurred ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datepicker/formats#display-and-input-formats)).
|
|
9
|
-
*
|
|
10
|
-
* @example
|
|
11
|
-
* ```html
|
|
12
|
-
* <kendo-dateinput
|
|
13
|
-
* [formatSettings]="{
|
|
14
|
-
* inputFormat: 'MM/dd/yyyy',
|
|
15
|
-
* displayFormat: 'MMMM dd, yyyy'
|
|
16
|
-
* }">
|
|
17
|
-
* </kendo-dateinput>
|
|
18
|
-
* ```
|
|
19
|
-
*/
|
|
20
|
-
export interface FormatSettings {
|
|
21
|
-
/**
|
|
22
|
-
* Specifies the format used when the input is focused.
|
|
23
|
-
*/
|
|
24
|
-
inputFormat: string | DateFormatOptions;
|
|
25
|
-
/**
|
|
26
|
-
* Specifies the format used when the input is blurred.
|
|
27
|
-
*/
|
|
28
|
-
displayFormat: string | DateFormatOptions;
|
|
29
|
-
}
|