@progress/kendo-angular-dateinputs 24.2.2-develop.9 → 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,772 +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 { ElementRef, OnDestroy, ChangeDetectorRef, EventEmitter, NgZone, OnInit, SimpleChanges, OnChanges, Renderer2, AfterViewInit, Injector } from '@angular/core';
|
|
6
|
-
import { ControlValueAccessor, Validator, AbstractControl, ValidationErrors, FormControl } from '@angular/forms';
|
|
7
|
-
import { Day } from '@progress/kendo-date-math';
|
|
8
|
-
import { PopupService } from '@progress/kendo-angular-popup';
|
|
9
|
-
import { IntlService } from '@progress/kendo-angular-intl';
|
|
10
|
-
import { MultiTabStop } from '@progress/kendo-angular-common';
|
|
11
|
-
import { AdaptiveSize, AdaptiveService } from '@progress/kendo-angular-utils';
|
|
12
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
13
|
-
import { PickerService } from '../common/picker.service';
|
|
14
|
-
import { DisabledDatesService } from '../calendar/services/disabled-dates.service';
|
|
15
|
-
import { AdaptiveMode } from '../util';
|
|
16
|
-
import { CalendarComponent } from '../calendar/calendar.component';
|
|
17
|
-
import { TimeSelectorComponent } from '../timepicker/timeselector.component';
|
|
18
|
-
import { DateInputComponent } from '../dateinput/dateinput.component';
|
|
19
|
-
import { PreventableEvent } from '../preventable-event';
|
|
20
|
-
import { PopupSettings } from '../popup-settings.model';
|
|
21
|
-
import { DateInputFormatPlaceholder } from '../dateinput/models/format-placeholder.model';
|
|
22
|
-
import { DateInputIncrementalSteps } from '../dateinput/models/incremental-steps.model';
|
|
23
|
-
import { DateTimePickerActiveTab } from './models/active-tab.type';
|
|
24
|
-
import { CalendarType } from '../calendar/models/type';
|
|
25
|
-
import { CellTemplateDirective } from '../calendar/templates/cell-template.directive';
|
|
26
|
-
import { MonthCellTemplateDirective } from '../calendar/templates/month-cell-template.directive';
|
|
27
|
-
import { YearCellTemplateDirective } from '../calendar/templates/year-cell-template.directive';
|
|
28
|
-
import { DecadeCellTemplateDirective } from '../calendar/templates/decade-cell-template.directive';
|
|
29
|
-
import { CenturyCellTemplateDirective } from '../calendar/templates/century-cell-template.directive';
|
|
30
|
-
import { WeekNumberCellTemplateDirective } from '../calendar/templates/weeknumber-cell-template.directive';
|
|
31
|
-
import { HeaderTitleTemplateDirective } from '../calendar/templates/header-title-template.directive';
|
|
32
|
-
import { FormatSettings } from '../dateinput/models/format-settings.model';
|
|
33
|
-
import { DateInputSize } from '../common/models/size';
|
|
34
|
-
import { DateInputRounded } from '../common/models/rounded';
|
|
35
|
-
import { DateInputFillMode } from '../common/models/fillmode';
|
|
36
|
-
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
37
|
-
import { ActionSheetComponent } from '@progress/kendo-angular-navigation';
|
|
38
|
-
import { HeaderTemplateDirective } from '../calendar/templates/header-template.directive';
|
|
39
|
-
import { FooterTemplateDirective } from '../calendar/templates/footer-template.directive';
|
|
40
|
-
import { WeekDaysFormat } from '../common/models/week-days-format';
|
|
41
|
-
import { SegmentedItemSettings } from '@progress/kendo-angular-buttons';
|
|
42
|
-
import * as i0 from "@angular/core";
|
|
43
|
-
/**
|
|
44
|
-
* Represents the Kendo UI DateTimePicker component for Angular.
|
|
45
|
-
* Allows users to select both date and time values from an interactive calendar and time selector.
|
|
46
|
-
*
|
|
47
|
-
* @example
|
|
48
|
-
* ```typescript
|
|
49
|
-
* @Component({
|
|
50
|
-
* selector: 'my-app',
|
|
51
|
-
* template: `
|
|
52
|
-
* <kendo-datetimepicker
|
|
53
|
-
* [(value)]="dateTimeValue"
|
|
54
|
-
* [format]="'g'"
|
|
55
|
-
* [min]="minDate"
|
|
56
|
-
* [max]="maxDate">
|
|
57
|
-
* </kendo-datetimepicker>
|
|
58
|
-
* `
|
|
59
|
-
* })
|
|
60
|
-
* export class AppComponent {
|
|
61
|
-
* public dateTimeValue: Date = new Date();
|
|
62
|
-
* public minDate: Date = new Date(2000, 0, 1);
|
|
63
|
-
* public maxDate: Date = new Date(2030, 11, 31);
|
|
64
|
-
* }
|
|
65
|
-
* ```
|
|
66
|
-
*
|
|
67
|
-
* @remarks
|
|
68
|
-
* Supported children components are: {@link DateTimePickerCustomMessagesComponent}.
|
|
69
|
-
*/
|
|
70
|
-
export declare class DateTimePickerComponent extends MultiTabStop implements OnInit, OnChanges, AfterViewInit, OnDestroy, ControlValueAccessor, Validator {
|
|
71
|
-
private popupService;
|
|
72
|
-
private intl;
|
|
73
|
-
private cdr;
|
|
74
|
-
private pickerService;
|
|
75
|
-
private ngZone;
|
|
76
|
-
wrapper: ElementRef<HTMLElement>;
|
|
77
|
-
localization: LocalizationService;
|
|
78
|
-
private disabledDatesService;
|
|
79
|
-
private renderer;
|
|
80
|
-
private injector;
|
|
81
|
-
private adaptiveService;
|
|
82
|
-
/**
|
|
83
|
-
* @hidden
|
|
84
|
-
*/
|
|
85
|
-
calendarIcon: SVGIcon;
|
|
86
|
-
/**
|
|
87
|
-
* @hidden
|
|
88
|
-
*/
|
|
89
|
-
clockIcon: SVGIcon;
|
|
90
|
-
/**
|
|
91
|
-
* @hidden
|
|
92
|
-
*/
|
|
93
|
-
get disabledClass(): boolean;
|
|
94
|
-
/**
|
|
95
|
-
* @hidden
|
|
96
|
-
*/
|
|
97
|
-
toggleButton: ElementRef<HTMLSpanElement>;
|
|
98
|
-
/**
|
|
99
|
-
* @hidden
|
|
100
|
-
*/
|
|
101
|
-
get dateInput(): DateInputComponent;
|
|
102
|
-
/**
|
|
103
|
-
* @hidden
|
|
104
|
-
*/
|
|
105
|
-
get calendar(): CalendarComponent;
|
|
106
|
-
/**
|
|
107
|
-
* @hidden
|
|
108
|
-
*/
|
|
109
|
-
get timeSelector(): TimeSelectorComponent;
|
|
110
|
-
/**
|
|
111
|
-
* @hidden
|
|
112
|
-
*/
|
|
113
|
-
focusableId: string;
|
|
114
|
-
/**
|
|
115
|
-
* Sets the format of the displayed Calendar week days' names.
|
|
116
|
-
* @default 'short'
|
|
117
|
-
*/
|
|
118
|
-
weekDaysFormat?: WeekDaysFormat;
|
|
119
|
-
/**
|
|
120
|
-
* 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)).
|
|
121
|
-
* You can set this to show or hide days from other months.
|
|
122
|
-
*
|
|
123
|
-
* For infinite Calendar the default value is `false`, while for classic Calendar it is `true`.
|
|
124
|
-
*/
|
|
125
|
-
showOtherMonthDays: boolean;
|
|
126
|
-
/**
|
|
127
|
-
* Sets the value of the DateTimePicker component.
|
|
128
|
-
* You can set a specific date and time for the picker to display and use.
|
|
129
|
-
*
|
|
130
|
-
* The `value` has to be a valid [JavaScript `Date`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Date) instance or `null`.
|
|
131
|
-
*/
|
|
132
|
-
set value(value: Date | null);
|
|
133
|
-
get value(): Date | null;
|
|
134
|
-
/**
|
|
135
|
-
* Specifies the date format for displaying the input value
|
|
136
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datetimepicker/formats)).
|
|
137
|
-
*
|
|
138
|
-
* When using a string format, the same format is applied regardless of whether the input is focused or blurred.
|
|
139
|
-
* When using a FormatSettings object, you can specify different inputFormat and displayFormat values for focused and blurred states.
|
|
140
|
-
*
|
|
141
|
-
* If a FormatSettings object is provided, the displayFormat value will be used for the popup TimePicker.
|
|
142
|
-
*/
|
|
143
|
-
set format(format: string | FormatSettings);
|
|
144
|
-
get format(): string | FormatSettings;
|
|
145
|
-
/**
|
|
146
|
-
* The maximum year to assume to be from the current century when typing two-digit year value
|
|
147
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datetimepicker/formats#two-digit-year-format)).
|
|
148
|
-
*
|
|
149
|
-
* The default value is 68, indicating that typing any value less than 69
|
|
150
|
-
* will be assumed to be 20xx, while 69 and larger will be assumed to be 19xx.
|
|
151
|
-
* @default 68
|
|
152
|
-
*/
|
|
153
|
-
twoDigitYearMax: number;
|
|
154
|
-
/**
|
|
155
|
-
* Specifies the [`tabindex`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex) of the DateTimePicker.
|
|
156
|
-
*
|
|
157
|
-
* @default 0
|
|
158
|
-
*/
|
|
159
|
-
set tabindex(value: number);
|
|
160
|
-
get tabindex(): number;
|
|
161
|
-
/**
|
|
162
|
-
* Sets the dates of the DateTimePicker that will be disabled
|
|
163
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datetimepicker/disabled-dates)).
|
|
164
|
-
*/
|
|
165
|
-
set disabledDates(value: ((date: Date) => boolean) | Date[] | Day[]);
|
|
166
|
-
get disabledDates(): ((date: Date) => boolean) | Date[] | Day[];
|
|
167
|
-
/**
|
|
168
|
-
* Configures the popup settings of the DateTimePicker
|
|
169
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datetimepicker/popup-options#customizing-the-popup)).
|
|
170
|
-
*
|
|
171
|
-
* The available options are animate which controls the popup animation and by default, the open and close animations are enabled.
|
|
172
|
-
* The `appendTo` option controls the popup container and by default, the popup will be appended to the root component.
|
|
173
|
-
* The `popupClass` option specifies a list of CSS classes that are used to style the popup.
|
|
174
|
-
*/
|
|
175
|
-
set popupSettings(settings: PopupSettings);
|
|
176
|
-
get popupSettings(): PopupSettings;
|
|
177
|
-
/**
|
|
178
|
-
* Specifies the title of the input element of the DateTimePicker and the title text rendered
|
|
179
|
-
* 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).
|
|
180
|
-
* @default ''
|
|
181
|
-
*/
|
|
182
|
-
adaptiveTitle: string;
|
|
183
|
-
/**
|
|
184
|
-
* Specifies the subtitle text rendered in the header of the popup (action sheet).
|
|
185
|
-
* Applicable only when [`AdaptiveMode` is set to `auto`](https://www.telerik.com/kendo-angular-ui/components/dateinputs/api/adaptivemode).
|
|
186
|
-
* @default ''
|
|
187
|
-
*/
|
|
188
|
-
adaptiveSubtitle: string;
|
|
189
|
-
/**
|
|
190
|
-
* Specifies the `disabled` property of the DateTimePicker and determines whether the component is active
|
|
191
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datetimepicker/disabled-state)).
|
|
192
|
-
* 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).
|
|
193
|
-
* @default false
|
|
194
|
-
*/
|
|
195
|
-
disabled: boolean;
|
|
196
|
-
/**
|
|
197
|
-
* Specifies the read-only state of the DateTimePicker
|
|
198
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datetimepicker/readonly-state#read-only-datetimepicker)).
|
|
199
|
-
* @default false
|
|
200
|
-
*
|
|
201
|
-
* @default false
|
|
202
|
-
*/
|
|
203
|
-
readonly: boolean;
|
|
204
|
-
/**
|
|
205
|
-
* Determines whether the input field of the DateTimePicker is read-only
|
|
206
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datetimepicker/readonly-state#read-only-input)).
|
|
207
|
-
*
|
|
208
|
-
* If you set the [`readonly`](https://www.telerik.com/kendo-angular-ui/components/dateinputs/api/datetimepickercomponent#readonly) property value to `true`,
|
|
209
|
-
* the input will be rendered in a read-only state regardless of the `readOnlyInput` value.
|
|
210
|
-
*
|
|
211
|
-
* @default false
|
|
212
|
-
*/
|
|
213
|
-
readOnlyInput: boolean;
|
|
214
|
-
/**
|
|
215
|
-
* Determines whether to display the **Cancel** button in the popup
|
|
216
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datetimepicker/popup-options#toggling-the-cancel-button)).
|
|
217
|
-
* @default true
|
|
218
|
-
*/
|
|
219
|
-
cancelButton: boolean;
|
|
220
|
-
/**
|
|
221
|
-
* Defines the descriptions of the format sections in the input field
|
|
222
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datetimepicker/placeholders#format-sections-description)).
|
|
223
|
-
*/
|
|
224
|
-
formatPlaceholder: DateInputFormatPlaceholder;
|
|
225
|
-
/**
|
|
226
|
-
* Specifies the hint which is displayed by the DateTimePicker when its value is `null`
|
|
227
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datetimepicker/placeholders#text-hints)).
|
|
228
|
-
*/
|
|
229
|
-
placeholder: string;
|
|
230
|
-
/**
|
|
231
|
-
* Configures the incremental steps of the DateInput and the popup component of the TimePicker
|
|
232
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datetimepicker/incremental-steps)).
|
|
233
|
-
*/
|
|
234
|
-
steps: DateInputIncrementalSteps;
|
|
235
|
-
/**
|
|
236
|
-
* Specifies the focused date of the popup Calendar
|
|
237
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datetimepicker/calendar-options#focused-dates)).
|
|
238
|
-
*/
|
|
239
|
-
focusedDate: Date;
|
|
240
|
-
/**
|
|
241
|
-
* Specifies the Calendar type.
|
|
242
|
-
*
|
|
243
|
-
* @default 'infinite'
|
|
244
|
-
*/
|
|
245
|
-
calendarType: CalendarType;
|
|
246
|
-
/**
|
|
247
|
-
* Determines whether to enable animation when navigating to previous/next Calendar view.
|
|
248
|
-
* Applies to the [`classic`](https://www.telerik.com/kendo-angular-ui/components/dateinputs/api/datetimepickercomponent#calendartype) Calendar only.
|
|
249
|
-
*
|
|
250
|
-
* 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.
|
|
251
|
-
*
|
|
252
|
-
* @default false
|
|
253
|
-
*/
|
|
254
|
-
animateCalendarNavigation: boolean;
|
|
255
|
-
/**
|
|
256
|
-
* Determines whether to display a week number column in the `month` view of the popup Calendar
|
|
257
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datetimepicker/calendar-options#week-number-column)).
|
|
258
|
-
* @default false
|
|
259
|
-
*/
|
|
260
|
-
weekNumber: boolean;
|
|
261
|
-
/**
|
|
262
|
-
* Specifies the smallest valid date.
|
|
263
|
-
* The Calendar will not display dates before this value.
|
|
264
|
-
* If the `min` value of the Calendar is selected, the TimePicker will not display
|
|
265
|
-
* time entries before the specified time portion of this value
|
|
266
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datetimepicker/date-time-limits)).
|
|
267
|
-
*/
|
|
268
|
-
set min(value: Date | null);
|
|
269
|
-
get min(): Date;
|
|
270
|
-
/**
|
|
271
|
-
* Specifies the biggest valid date.
|
|
272
|
-
* The Calendar will not display dates after this value.
|
|
273
|
-
* If the `max` value of the Calendar is selected, the TimePicker will not display
|
|
274
|
-
* time entries after the specified time portion of this value
|
|
275
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datetimepicker/date-time-limits)).
|
|
276
|
-
*/
|
|
277
|
-
set max(value: Date | null);
|
|
278
|
-
get max(): Date;
|
|
279
|
-
/**
|
|
280
|
-
* Determines whether the built-in `min` or `max` validators are enforced when validating a form
|
|
281
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datetimepicker/date-time-limits)).
|
|
282
|
-
*
|
|
283
|
-
* @default true
|
|
284
|
-
*/
|
|
285
|
-
rangeValidation: boolean;
|
|
286
|
-
/**
|
|
287
|
-
* Determines whether the built-in validator for disabled date ranges is enforced when validating a form
|
|
288
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datetimepicker/disabled-dates)).
|
|
289
|
-
* @default true
|
|
290
|
-
*/
|
|
291
|
-
disabledDatesValidation: boolean;
|
|
292
|
-
/**
|
|
293
|
-
* Determines whether the built-in validation for incomplete dates is enforced when validating a form.
|
|
294
|
-
* @default false
|
|
295
|
-
*/
|
|
296
|
-
incompleteDateValidation: boolean;
|
|
297
|
-
/**
|
|
298
|
-
* Determines whether to auto correct invalid segments automatically.
|
|
299
|
-
*
|
|
300
|
-
* @default true
|
|
301
|
-
*/
|
|
302
|
-
autoCorrectParts: boolean;
|
|
303
|
-
/**
|
|
304
|
-
* Determines whether to automatically move to the next segment after the user completes the current one.
|
|
305
|
-
*
|
|
306
|
-
* @default true
|
|
307
|
-
*/
|
|
308
|
-
autoSwitchParts: boolean;
|
|
309
|
-
/**
|
|
310
|
-
* Specifies custom keys that move the focus to the next date format segment.
|
|
311
|
-
*/
|
|
312
|
-
autoSwitchKeys: string[];
|
|
313
|
-
/**
|
|
314
|
-
* Determines whether you can use the mouse scroll to increase or decrease the time segment values.
|
|
315
|
-
*
|
|
316
|
-
* @default true
|
|
317
|
-
*/
|
|
318
|
-
enableMouseWheel: boolean;
|
|
319
|
-
/**
|
|
320
|
-
* Determines whether you can see a blinking caret inside the DateInput when possible.
|
|
321
|
-
*
|
|
322
|
-
* @default false
|
|
323
|
-
*/
|
|
324
|
-
allowCaretMode: boolean;
|
|
325
|
-
/**
|
|
326
|
-
* Renders a clear button when set to `true` after the input text or DateTimePicker value has been changed.
|
|
327
|
-
* Clicking this button resets the value of the component to `null` and triggers the `valueChange` event.
|
|
328
|
-
* @default false
|
|
329
|
-
*/
|
|
330
|
-
clearButton: boolean;
|
|
331
|
-
/**
|
|
332
|
-
* Auto fills the rest of the date to the current date when the component loses focus.
|
|
333
|
-
*
|
|
334
|
-
* @default false
|
|
335
|
-
*/
|
|
336
|
-
autoFill: boolean;
|
|
337
|
-
/**
|
|
338
|
-
* Enables or disables the adaptive mode. The adaptive rendering is disabled by default.
|
|
339
|
-
* @default 'none'
|
|
340
|
-
*/
|
|
341
|
-
adaptiveMode: AdaptiveMode;
|
|
342
|
-
/**
|
|
343
|
-
* Specifies the HTML attributes of the inner focusable input element. You cannot change attributes that are essential for certain component functionalities.
|
|
344
|
-
*
|
|
345
|
-
* @remarks
|
|
346
|
-
* This property is related to accessibility.
|
|
347
|
-
*/
|
|
348
|
-
inputAttributes: {
|
|
349
|
-
[key: string]: string;
|
|
350
|
-
};
|
|
351
|
-
/**
|
|
352
|
-
* Fires each time the user selects a new value
|
|
353
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datetimepicker/events)).
|
|
354
|
-
*/
|
|
355
|
-
valueChange: EventEmitter<Date>;
|
|
356
|
-
/**
|
|
357
|
-
* Fires each time the popup is about to open
|
|
358
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datetimepicker/events)).
|
|
359
|
-
* This event is preventable. If you cancel the event by setting `event.preventDefault()`, the popup will remain closed.
|
|
360
|
-
*/
|
|
361
|
-
open: EventEmitter<PreventableEvent>;
|
|
362
|
-
/**
|
|
363
|
-
* Fires each time the popup is about to close
|
|
364
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datetimepicker/events)).
|
|
365
|
-
* This event is preventable. If you cancel the event by setting `event.preventDefault()`, the popup will remain open.
|
|
366
|
-
*/
|
|
367
|
-
close: EventEmitter<PreventableEvent>;
|
|
368
|
-
/**
|
|
369
|
-
* Fires each time the user focuses the component
|
|
370
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datetimepicker/events)).
|
|
371
|
-
*/
|
|
372
|
-
onFocus: EventEmitter<any>;
|
|
373
|
-
/**
|
|
374
|
-
* Fires each time the user blurs the component
|
|
375
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datetimepicker/events)).
|
|
376
|
-
*/
|
|
377
|
-
onBlur: EventEmitter<any>;
|
|
378
|
-
/**
|
|
379
|
-
* @hidden
|
|
380
|
-
*/
|
|
381
|
-
escape: EventEmitter<any>;
|
|
382
|
-
/**
|
|
383
|
-
* Indicates whether the component is currently open. This is when the popup or action sheet is open.
|
|
384
|
-
*/
|
|
385
|
-
get isOpen(): boolean;
|
|
386
|
-
/**
|
|
387
|
-
* Indicates whether the component or its popup content is focused.
|
|
388
|
-
*/
|
|
389
|
-
get isActive(): boolean;
|
|
390
|
-
set isActive(value: boolean);
|
|
391
|
-
/**
|
|
392
|
-
* Specifies the active tab when opening the popup
|
|
393
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datetimepicker/popup-options#setting-the-default-tab)).
|
|
394
|
-
*/
|
|
395
|
-
set defaultTab(tab: DateTimePickerActiveTab);
|
|
396
|
-
get defaultTab(): DateTimePickerActiveTab;
|
|
397
|
-
/**
|
|
398
|
-
* Specifies the size of the component. The default value is set by the Kendo theme.
|
|
399
|
-
*/
|
|
400
|
-
set size(size: DateInputSize);
|
|
401
|
-
get size(): DateInputSize;
|
|
402
|
-
/**
|
|
403
|
-
* Specifies the border radius of the component. The default value is set by the Kendo theme.
|
|
404
|
-
*
|
|
405
|
-
*/
|
|
406
|
-
set rounded(rounded: DateInputRounded);
|
|
407
|
-
get rounded(): DateInputRounded;
|
|
408
|
-
/**
|
|
409
|
-
* Specifies the fill mode of the component. The default value is set by the Kendo theme.
|
|
410
|
-
*
|
|
411
|
-
*/
|
|
412
|
-
set fillMode(fillMode: DateInputFillMode);
|
|
413
|
-
get fillMode(): DateInputFillMode;
|
|
414
|
-
/**
|
|
415
|
-
* @hidden
|
|
416
|
-
*/
|
|
417
|
-
get tabSwitchTransition(): string;
|
|
418
|
-
/**
|
|
419
|
-
* @hidden
|
|
420
|
-
*
|
|
421
|
-
* Indicates whether the Calendar will be disabled.
|
|
422
|
-
* The inactive tab component gets disabled and becomes inaccessible on tab click.
|
|
423
|
-
*/
|
|
424
|
-
get disableCalendar(): boolean;
|
|
425
|
-
/**
|
|
426
|
-
* @hidden
|
|
427
|
-
*
|
|
428
|
-
* Indicates whether the TimeSelector will be disabled.
|
|
429
|
-
* The inactive tab component gets disabled and becomes inaccessible on tab click.
|
|
430
|
-
*/
|
|
431
|
-
get disableTimeSelector(): boolean;
|
|
432
|
-
/**
|
|
433
|
-
* @hidden
|
|
434
|
-
*/
|
|
435
|
-
get isAdaptiveModeEnabled(): boolean;
|
|
436
|
-
/**
|
|
437
|
-
* @hidden
|
|
438
|
-
*/
|
|
439
|
-
get isAdaptive(): boolean;
|
|
440
|
-
/**
|
|
441
|
-
* @hidden
|
|
442
|
-
*/
|
|
443
|
-
onResize(): void;
|
|
444
|
-
/**
|
|
445
|
-
* @hidden
|
|
446
|
-
*
|
|
447
|
-
* Controls whether the Calendar or the TimeSelector will be displayed.
|
|
448
|
-
*/
|
|
449
|
-
activeTab: DateTimePickerActiveTab;
|
|
450
|
-
/**
|
|
451
|
-
* @hidden
|
|
452
|
-
*
|
|
453
|
-
* Specifies the stripped time-related format that is used in the TimeSelector.
|
|
454
|
-
* Updates each time the `format` property value changes.
|
|
455
|
-
*/
|
|
456
|
-
timeSelectorFormat: string;
|
|
457
|
-
/**
|
|
458
|
-
* @hidden
|
|
459
|
-
*/
|
|
460
|
-
timeSelectorMin: Date;
|
|
461
|
-
/**
|
|
462
|
-
* @hidden
|
|
463
|
-
*/
|
|
464
|
-
timeSelectorMax: Date;
|
|
465
|
-
/**
|
|
466
|
-
* @hidden
|
|
467
|
-
*/
|
|
468
|
-
calendarValue: Date;
|
|
469
|
-
/**
|
|
470
|
-
* @hidden
|
|
471
|
-
*/
|
|
472
|
-
calendarMin: Date;
|
|
473
|
-
/**
|
|
474
|
-
* @hidden
|
|
475
|
-
*/
|
|
476
|
-
calendarMax: Date;
|
|
477
|
-
/**
|
|
478
|
-
* @hidden
|
|
479
|
-
*/
|
|
480
|
-
checkIcon: SVGIcon;
|
|
481
|
-
/**
|
|
482
|
-
* @hidden
|
|
483
|
-
*/
|
|
484
|
-
windowSize: AdaptiveSize;
|
|
485
|
-
/**
|
|
486
|
-
* @hidden
|
|
487
|
-
*/
|
|
488
|
-
cellTemplate: CellTemplateDirective;
|
|
489
|
-
/**
|
|
490
|
-
* @hidden
|
|
491
|
-
*/
|
|
492
|
-
monthCellTemplate: MonthCellTemplateDirective;
|
|
493
|
-
/**
|
|
494
|
-
* @hidden
|
|
495
|
-
*/
|
|
496
|
-
yearCellTemplate: YearCellTemplateDirective;
|
|
497
|
-
/**
|
|
498
|
-
* @hidden
|
|
499
|
-
*/
|
|
500
|
-
decadeCellTemplate: DecadeCellTemplateDirective;
|
|
501
|
-
/**
|
|
502
|
-
* @hidden
|
|
503
|
-
*/
|
|
504
|
-
centuryCellTemplate: CenturyCellTemplateDirective;
|
|
505
|
-
/**
|
|
506
|
-
* @hidden
|
|
507
|
-
*/
|
|
508
|
-
weekNumberTemplate: WeekNumberCellTemplateDirective;
|
|
509
|
-
/**
|
|
510
|
-
* @hidden
|
|
511
|
-
*/
|
|
512
|
-
headerTitleTemplate: HeaderTitleTemplateDirective;
|
|
513
|
-
/**
|
|
514
|
-
* @hidden
|
|
515
|
-
*/
|
|
516
|
-
headerTemplate: HeaderTemplateDirective;
|
|
517
|
-
/**
|
|
518
|
-
* @hidden
|
|
519
|
-
*/
|
|
520
|
-
set headerTemplateRef(template: HeaderTemplateDirective);
|
|
521
|
-
/**
|
|
522
|
-
* @hidden
|
|
523
|
-
*/
|
|
524
|
-
footerTemplate: FooterTemplateDirective;
|
|
525
|
-
/**
|
|
526
|
-
* @hidden
|
|
527
|
-
*/
|
|
528
|
-
set footerTemplateRef(template: FooterTemplateDirective);
|
|
529
|
-
/**
|
|
530
|
-
* Toggles the visibility of the Calendar footer.
|
|
531
|
-
* @default false
|
|
532
|
-
*/
|
|
533
|
-
footer: boolean;
|
|
534
|
-
private get activeTabComponent();
|
|
535
|
-
private get appendTo();
|
|
536
|
-
private container;
|
|
537
|
-
private popupTemplate;
|
|
538
|
-
actionSheet: ActionSheetComponent;
|
|
539
|
-
private get popupUID();
|
|
540
|
-
private get acceptButton();
|
|
541
|
-
private get cancelButtonElement();
|
|
542
|
-
private get dateTabButton();
|
|
543
|
-
private get timeTabButton();
|
|
544
|
-
private get todayButton();
|
|
545
|
-
private get popupClasses();
|
|
546
|
-
/**
|
|
547
|
-
* @hidden
|
|
548
|
-
*/
|
|
549
|
-
get formControl(): FormControl;
|
|
550
|
-
/**
|
|
551
|
-
* @hidden
|
|
552
|
-
*/
|
|
553
|
-
get isControlRequired(): boolean;
|
|
554
|
-
private popupRef;
|
|
555
|
-
private _popupSettings;
|
|
556
|
-
private _value;
|
|
557
|
-
private _format;
|
|
558
|
-
private _tabindex;
|
|
559
|
-
private _defaultTab;
|
|
560
|
-
private _min;
|
|
561
|
-
private _max;
|
|
562
|
-
private _disabledDates;
|
|
563
|
-
private _isActive;
|
|
564
|
-
private onControlTouched;
|
|
565
|
-
private onControlChange;
|
|
566
|
-
private onValidatorChange;
|
|
567
|
-
private minValidateFn;
|
|
568
|
-
private maxValidateFn;
|
|
569
|
-
private disabledDatesValidateFn;
|
|
570
|
-
private incompleteValidator;
|
|
571
|
-
private subscriptions;
|
|
572
|
-
private ariaActiveDescendantSubscription;
|
|
573
|
-
private _size;
|
|
574
|
-
private _rounded;
|
|
575
|
-
private _fillMode;
|
|
576
|
-
constructor(popupService: PopupService, intl: IntlService, cdr: ChangeDetectorRef, pickerService: PickerService, ngZone: NgZone, wrapper: ElementRef<HTMLElement>, localization: LocalizationService, disabledDatesService: DisabledDatesService, renderer: Renderer2, injector: Injector, adaptiveService: AdaptiveService);
|
|
577
|
-
ngOnInit(): void;
|
|
578
|
-
ngAfterViewInit(): void;
|
|
579
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
580
|
-
ngOnDestroy(): void;
|
|
581
|
-
/**
|
|
582
|
-
* Focuses the DateTimePicker input if the popup is closed.
|
|
583
|
-
* Moves the focus to the popup content if the popup is open.
|
|
584
|
-
*/
|
|
585
|
-
focus(): void;
|
|
586
|
-
/**
|
|
587
|
-
* Blurs the DateTimePicker component.
|
|
588
|
-
*/
|
|
589
|
-
blur(): void;
|
|
590
|
-
/**
|
|
591
|
-
* Toggles the visibility of the popup or action sheet.
|
|
592
|
-
* If you use the `toggle` method to show or hide the popup or action sheet,
|
|
593
|
-
* the `open` and `close` events do not fire.
|
|
594
|
-
*
|
|
595
|
-
* @param show - The state of the popup.
|
|
596
|
-
*/
|
|
597
|
-
toggle(show?: boolean): void;
|
|
598
|
-
/**
|
|
599
|
-
* @hidden
|
|
600
|
-
*/
|
|
601
|
-
writeValue(value: Date): void;
|
|
602
|
-
/**
|
|
603
|
-
* @hidden
|
|
604
|
-
*/
|
|
605
|
-
registerOnChange(fn: any): void;
|
|
606
|
-
/**
|
|
607
|
-
* @hidden
|
|
608
|
-
*/
|
|
609
|
-
registerOnTouched(fn: any): void;
|
|
610
|
-
/**
|
|
611
|
-
* @hidden
|
|
612
|
-
*/
|
|
613
|
-
setDisabledState(disabled: boolean): void;
|
|
614
|
-
/**
|
|
615
|
-
* @hidden
|
|
616
|
-
*/
|
|
617
|
-
validate(control: AbstractControl): ValidationErrors;
|
|
618
|
-
/**
|
|
619
|
-
* @hidden
|
|
620
|
-
*/
|
|
621
|
-
registerOnValidatorChange(fn: Function): void;
|
|
622
|
-
/**
|
|
623
|
-
* @hidden
|
|
624
|
-
*
|
|
625
|
-
* Used by the TextBoxContainer to determine if the floating label will render in the input.
|
|
626
|
-
*/
|
|
627
|
-
isEmpty(): boolean;
|
|
628
|
-
/**
|
|
629
|
-
* @hidden
|
|
630
|
-
*/
|
|
631
|
-
handleIconClick(event: MouseEvent): void;
|
|
632
|
-
/**
|
|
633
|
-
* @hidden
|
|
634
|
-
*/
|
|
635
|
-
handleFocus(): void;
|
|
636
|
-
/**
|
|
637
|
-
* @hidden
|
|
638
|
-
*/
|
|
639
|
-
handleBlur(event?: FocusEvent): void;
|
|
640
|
-
/**
|
|
641
|
-
* @hidden
|
|
642
|
-
*/
|
|
643
|
-
get tabItems(): SegmentedItemSettings[];
|
|
644
|
-
/**
|
|
645
|
-
* @hidden
|
|
646
|
-
*/
|
|
647
|
-
get activeTabIndex(): number;
|
|
648
|
-
/**
|
|
649
|
-
* @hidden
|
|
650
|
-
*/
|
|
651
|
-
onTabChange(index: number): void;
|
|
652
|
-
/**
|
|
653
|
-
* @hidden
|
|
654
|
-
*/
|
|
655
|
-
handleButtonGroupKeydown(event: KeyboardEvent): void;
|
|
656
|
-
/**
|
|
657
|
-
* @hidden
|
|
658
|
-
*/
|
|
659
|
-
changeActiveTab(tab: DateTimePickerActiveTab): void;
|
|
660
|
-
/**
|
|
661
|
-
* @hidden
|
|
662
|
-
*/
|
|
663
|
-
handleTabChangeTransitionEnd(dateTimeSelector: HTMLElement, event: TransitionEvent): void;
|
|
664
|
-
/**
|
|
665
|
-
* @hidden
|
|
666
|
-
*/
|
|
667
|
-
onTabOutLastPart(): void;
|
|
668
|
-
/**
|
|
669
|
-
* @hidden
|
|
670
|
-
*/
|
|
671
|
-
onTabOutFirstPart(): void;
|
|
672
|
-
/**
|
|
673
|
-
* @hidden
|
|
674
|
-
*/
|
|
675
|
-
onTabOutNow(): void;
|
|
676
|
-
/**
|
|
677
|
-
* @hidden
|
|
678
|
-
*/
|
|
679
|
-
handleAccept(): void;
|
|
680
|
-
/**
|
|
681
|
-
* @hidden
|
|
682
|
-
*/
|
|
683
|
-
handleCancel(): void;
|
|
684
|
-
/**
|
|
685
|
-
* @hidden
|
|
686
|
-
*/
|
|
687
|
-
handleInputValueChange(value: Date): void;
|
|
688
|
-
/**
|
|
689
|
-
* @hidden
|
|
690
|
-
*/
|
|
691
|
-
handleDateInputClick(): void;
|
|
692
|
-
/**
|
|
693
|
-
* @hidden
|
|
694
|
-
*/
|
|
695
|
-
handleCalendarValueChange(): void;
|
|
696
|
-
/**
|
|
697
|
-
* @hidden
|
|
698
|
-
*/
|
|
699
|
-
handleKeyDown(event: KeyboardEvent): void;
|
|
700
|
-
/**
|
|
701
|
-
* @hidden
|
|
702
|
-
*/
|
|
703
|
-
handleTab(event: KeyboardEvent): void;
|
|
704
|
-
/**
|
|
705
|
-
* @hidden
|
|
706
|
-
*/
|
|
707
|
-
handleActionSheetCollapse(): void;
|
|
708
|
-
/**
|
|
709
|
-
* @hidden
|
|
710
|
-
*
|
|
711
|
-
* Prevents the diversion of the focus from the currently active element in the component.
|
|
712
|
-
*/
|
|
713
|
-
preventMouseDown(event: MouseEvent): void;
|
|
714
|
-
/**
|
|
715
|
-
* @hidden
|
|
716
|
-
*/
|
|
717
|
-
toggleActionSheet(show: boolean): void;
|
|
718
|
-
private _togglePopup;
|
|
719
|
-
/**
|
|
720
|
-
* Changes the tab and the calendar or clock icon to the designated default.
|
|
721
|
-
*/
|
|
722
|
-
private resetActiveTab;
|
|
723
|
-
private verifyValue;
|
|
724
|
-
private verifyMinMaxRange;
|
|
725
|
-
/**
|
|
726
|
-
* Extracts the time slots and literals that are not preceded by date parts
|
|
727
|
-
* and combines the resulting parts into a string.
|
|
728
|
-
* If the provided `format` value does not contain any time parts,
|
|
729
|
-
* returns the designated format of the default popup component of the `TimePicker`.
|
|
730
|
-
*/
|
|
731
|
-
private getTimeSelectorFormat;
|
|
732
|
-
/**
|
|
733
|
-
* Extracts the `displayFormat` from the provided `string | FormatSettings` value.
|
|
734
|
-
* Falls back to the default input value if a falsy value parameter is passed.
|
|
735
|
-
*/
|
|
736
|
-
private getDisplayFormat;
|
|
737
|
-
/**
|
|
738
|
-
* The filter expression that filters out all format parts
|
|
739
|
-
* except for `hour`, `minute`, `second`, `dayperiod`, and specific literals.
|
|
740
|
-
* Literals remain only if they are not preceded by date parts.
|
|
741
|
-
*/
|
|
742
|
-
private timeFormatPartFilter;
|
|
743
|
-
/**
|
|
744
|
-
* @hidden
|
|
745
|
-
*/
|
|
746
|
-
toggleDateTime(open: boolean): void;
|
|
747
|
-
private switchFocus;
|
|
748
|
-
private openPopup;
|
|
749
|
-
private setAriaActiveDescendant;
|
|
750
|
-
private closePopup;
|
|
751
|
-
private handleValueChange;
|
|
752
|
-
/**
|
|
753
|
-
* Indicates whether the focus target is part of this component.
|
|
754
|
-
* Checks whether the focus target is inside the component or in the popup.
|
|
755
|
-
*/
|
|
756
|
-
private focusTargetInComponent;
|
|
757
|
-
private setTimeSelectorMinMax;
|
|
758
|
-
private setCalendarValue;
|
|
759
|
-
/**
|
|
760
|
-
* Runs a popup change detection if the popup is available.
|
|
761
|
-
*/
|
|
762
|
-
private detectPopupChanges;
|
|
763
|
-
/**
|
|
764
|
-
* Runs the provided function either in the Angular zone or in the current zone.
|
|
765
|
-
* The execution zone depends on the predicate `runInZone` value that is passed.
|
|
766
|
-
*/
|
|
767
|
-
private run;
|
|
768
|
-
private handleDateCompletenessChange;
|
|
769
|
-
private setComponentClasses;
|
|
770
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DateTimePickerComponent, never>;
|
|
771
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DateTimePickerComponent, "kendo-datetimepicker", ["kendo-datetimepicker"], { "focusableId": { "alias": "focusableId"; "required": false; }; "weekDaysFormat": { "alias": "weekDaysFormat"; "required": false; }; "showOtherMonthDays": { "alias": "showOtherMonthDays"; "required": false; }; "value": { "alias": "value"; "required": false; }; "format": { "alias": "format"; "required": false; }; "twoDigitYearMax": { "alias": "twoDigitYearMax"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "disabledDates": { "alias": "disabledDates"; "required": false; }; "popupSettings": { "alias": "popupSettings"; "required": false; }; "adaptiveTitle": { "alias": "adaptiveTitle"; "required": false; }; "adaptiveSubtitle": { "alias": "adaptiveSubtitle"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "readOnlyInput": { "alias": "readOnlyInput"; "required": false; }; "cancelButton": { "alias": "cancelButton"; "required": false; }; "formatPlaceholder": { "alias": "formatPlaceholder"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "steps": { "alias": "steps"; "required": false; }; "focusedDate": { "alias": "focusedDate"; "required": false; }; "calendarType": { "alias": "calendarType"; "required": false; }; "animateCalendarNavigation": { "alias": "animateCalendarNavigation"; "required": false; }; "weekNumber": { "alias": "weekNumber"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "rangeValidation": { "alias": "rangeValidation"; "required": false; }; "disabledDatesValidation": { "alias": "disabledDatesValidation"; "required": false; }; "incompleteDateValidation": { "alias": "incompleteDateValidation"; "required": false; }; "autoCorrectParts": { "alias": "autoCorrectParts"; "required": false; }; "autoSwitchParts": { "alias": "autoSwitchParts"; "required": false; }; "autoSwitchKeys": { "alias": "autoSwitchKeys"; "required": false; }; "enableMouseWheel": { "alias": "enableMouseWheel"; "required": false; }; "allowCaretMode": { "alias": "allowCaretMode"; "required": false; }; "clearButton": { "alias": "clearButton"; "required": false; }; "autoFill": { "alias": "autoFill"; "required": false; }; "adaptiveMode": { "alias": "adaptiveMode"; "required": false; }; "inputAttributes": { "alias": "inputAttributes"; "required": false; }; "defaultTab": { "alias": "defaultTab"; "required": false; }; "size": { "alias": "size"; "required": false; }; "rounded": { "alias": "rounded"; "required": false; }; "fillMode": { "alias": "fillMode"; "required": false; }; "headerTemplateRef": { "alias": "headerTemplate"; "required": false; }; "footerTemplateRef": { "alias": "footerTemplate"; "required": false; }; "footer": { "alias": "footer"; "required": false; }; }, { "valueChange": "valueChange"; "open": "open"; "close": "close"; "onFocus": "focus"; "onBlur": "blur"; "escape": "escape"; }, ["cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "headerTemplate", "footerTemplate"], never, true, never>;
|
|
772
|
-
}
|