@progress/kendo-angular-dateinputs 24.2.2 → 25.0.0-develop.12
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 +622 -377
- package/index.d.ts +7264 -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,498 +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, ElementRef, EventEmitter, NgZone, TemplateRef, ViewContainerRef, OnInit, OnChanges, OnDestroy, Renderer2, Injector, AfterViewInit } from '@angular/core';
|
|
6
|
-
import { AbstractControl, ControlValueAccessor, Validator } from '@angular/forms';
|
|
7
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
|
-
import { PopupService, PopupRef } from '@progress/kendo-angular-popup';
|
|
9
|
-
import { MultiTabStop } from '@progress/kendo-angular-common';
|
|
10
|
-
import { AdaptiveSize, AdaptiveService } from '@progress/kendo-angular-utils';
|
|
11
|
-
import { DateInputFormatPlaceholder } from '../dateinput/models/format-placeholder.model';
|
|
12
|
-
import { IntlService } from '@progress/kendo-angular-intl';
|
|
13
|
-
import { PickerService } from '../common/picker.service';
|
|
14
|
-
import { TimePickerIncrementalSteps } from './models/incremental-steps.model';
|
|
15
|
-
import { TimeSelectorComponent } from './timeselector.component';
|
|
16
|
-
import { DateInputComponent } from '../dateinput/dateinput.component';
|
|
17
|
-
import { PopupSettings } from '../popup-settings.model';
|
|
18
|
-
import { PreventableEvent } from '../preventable-event';
|
|
19
|
-
import { AdaptiveMode } from '../util';
|
|
20
|
-
import { DateInputSize } from '../common/models/size';
|
|
21
|
-
import { DateInputRounded } from '../common/models/rounded';
|
|
22
|
-
import { DateInputFillMode } from '../common/models/fillmode';
|
|
23
|
-
import { BusViewService } from '../calendar/services/bus-view.service';
|
|
24
|
-
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
25
|
-
import { ActionSheetComponent } from '@progress/kendo-angular-navigation';
|
|
26
|
-
import * as i0 from "@angular/core";
|
|
27
|
-
/**
|
|
28
|
-
* Represents the [Kendo UI TimePicker component for Angular](https://www.telerik.com/kendo-angular-ui/components/dateinputs/timepicker).
|
|
29
|
-
*
|
|
30
|
-
* @example
|
|
31
|
-
* ```typescript
|
|
32
|
-
* @Component({
|
|
33
|
-
* selector: 'my-app',
|
|
34
|
-
* template: `
|
|
35
|
-
* <kendo-timepicker [(value)]="selectedTime"></kendo-timepicker>
|
|
36
|
-
* `
|
|
37
|
-
* })
|
|
38
|
-
* export class AppComponent {
|
|
39
|
-
* public selectedTime: Date = new Date();
|
|
40
|
-
* }
|
|
41
|
-
* ```
|
|
42
|
-
*
|
|
43
|
-
* @remarks
|
|
44
|
-
* Supported children components are: {@link TimePickerCustomMessagesComponent}.
|
|
45
|
-
*/
|
|
46
|
-
export declare class TimePickerComponent extends MultiTabStop implements ControlValueAccessor, OnInit, AfterViewInit, OnChanges, OnDestroy, Validator {
|
|
47
|
-
private bus;
|
|
48
|
-
zone: NgZone;
|
|
49
|
-
localization: LocalizationService;
|
|
50
|
-
private cdr;
|
|
51
|
-
private popupService;
|
|
52
|
-
wrapper: ElementRef;
|
|
53
|
-
private renderer;
|
|
54
|
-
private injector;
|
|
55
|
-
private pickerService;
|
|
56
|
-
private intl;
|
|
57
|
-
private adaptiveService;
|
|
58
|
-
/**
|
|
59
|
-
* @hidden
|
|
60
|
-
*/
|
|
61
|
-
clockIcon: SVGIcon;
|
|
62
|
-
container: ViewContainerRef;
|
|
63
|
-
popupTemplate: TemplateRef<any>;
|
|
64
|
-
toggleButton: ElementRef;
|
|
65
|
-
actionSheet: ActionSheetComponent;
|
|
66
|
-
/**
|
|
67
|
-
* @hidden
|
|
68
|
-
*/
|
|
69
|
-
focusableId: string;
|
|
70
|
-
/**
|
|
71
|
-
* Determines whether the TimePicker is disabled
|
|
72
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/timepicker/disabled-state)).
|
|
73
|
-
* 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/timepicker/forms#managing-the-timepicker-disabled-state-in-reactive-forms).
|
|
74
|
-
*
|
|
75
|
-
* @default false
|
|
76
|
-
*/
|
|
77
|
-
disabled: boolean;
|
|
78
|
-
/**
|
|
79
|
-
* Determines the read-only state of the TimePicker
|
|
80
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/timepicker/readonly-state#read-only-timepicker)).
|
|
81
|
-
*
|
|
82
|
-
* @default false
|
|
83
|
-
*/
|
|
84
|
-
readonly: boolean;
|
|
85
|
-
/**
|
|
86
|
-
* Sets the read-only state of the TimePicker input field
|
|
87
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/timepicker/readonly-state#read-only-input)).
|
|
88
|
-
*
|
|
89
|
-
* If you set the [`readonly`](https://www.telerik.com/kendo-angular-ui/components/dateinputs/api/timepickercomponent#readonly) property value to `true`,
|
|
90
|
-
* the input will be rendered in a read-only state regardless of the `readOnlyInput` value.
|
|
91
|
-
* @default false
|
|
92
|
-
*/
|
|
93
|
-
readOnlyInput: boolean;
|
|
94
|
-
/**
|
|
95
|
-
* If set to `true`, renders a clear button after the input text or TimePicker value has been changed.
|
|
96
|
-
* Clicking this button resets the value of the component to `null` and triggers the `valueChange` event.
|
|
97
|
-
* @default false
|
|
98
|
-
*/
|
|
99
|
-
clearButton: boolean;
|
|
100
|
-
/**
|
|
101
|
-
* Specifies the time format that is used to display the input value
|
|
102
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/timepicker/formats)).
|
|
103
|
-
* @default 't'
|
|
104
|
-
*/
|
|
105
|
-
format: string;
|
|
106
|
-
/**
|
|
107
|
-
* Defines the descriptions of the format sections in the input field.
|
|
108
|
-
* For more information, refer to the article on
|
|
109
|
-
* [placeholders](https://www.telerik.com/kendo-angular-ui/components/dateinputs/timepicker/placeholders).
|
|
110
|
-
*/
|
|
111
|
-
formatPlaceholder: DateInputFormatPlaceholder;
|
|
112
|
-
/**
|
|
113
|
-
* Specifies the hint the TimePicker displays when its value is `null`.
|
|
114
|
-
* For more information, refer to the article on
|
|
115
|
-
* [placeholders](https://www.telerik.com/kendo-angular-ui/components/dateinputs/timepicker/placeholders).
|
|
116
|
-
* @default null
|
|
117
|
-
*/
|
|
118
|
-
placeholder: string;
|
|
119
|
-
/**
|
|
120
|
-
* Specifies the smallest valid time value
|
|
121
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/timepicker/time-ranges)).
|
|
122
|
-
* @default `00:00:00`
|
|
123
|
-
*/
|
|
124
|
-
set min(min: Date);
|
|
125
|
-
get min(): Date;
|
|
126
|
-
/**
|
|
127
|
-
* Specifies the biggest valid time value
|
|
128
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/timepicker/time-ranges)).
|
|
129
|
-
* @default `23:59:59`
|
|
130
|
-
*/
|
|
131
|
-
set max(max: Date);
|
|
132
|
-
get max(): Date;
|
|
133
|
-
/**
|
|
134
|
-
* Determines whether the built-in validation for incomplete dates is to be enforced when a form is being validated.
|
|
135
|
-
*
|
|
136
|
-
* @default false
|
|
137
|
-
*/
|
|
138
|
-
incompleteDateValidation: boolean;
|
|
139
|
-
/**
|
|
140
|
-
* Determines whether to automatically move to the next segment after the user completes the current one.
|
|
141
|
-
*
|
|
142
|
-
* @default true
|
|
143
|
-
*/
|
|
144
|
-
autoSwitchParts: boolean;
|
|
145
|
-
/**
|
|
146
|
-
* A string array representing custom keys, which will move the focus to the next date format segment.
|
|
147
|
-
*/
|
|
148
|
-
autoSwitchKeys: string[];
|
|
149
|
-
/**
|
|
150
|
-
* Indicates whether the mouse scroll can be used to increase/decrease the time segments values.
|
|
151
|
-
*
|
|
152
|
-
* @default true
|
|
153
|
-
*/
|
|
154
|
-
enableMouseWheel: boolean;
|
|
155
|
-
/**
|
|
156
|
-
* Determines if the users should see a blinking caret inside the Date Input when possible.
|
|
157
|
-
*
|
|
158
|
-
* @default false
|
|
159
|
-
*/
|
|
160
|
-
allowCaretMode: boolean;
|
|
161
|
-
/**
|
|
162
|
-
* Determines whether to display the **Cancel** button in the popup.
|
|
163
|
-
*
|
|
164
|
-
* @default true
|
|
165
|
-
*/
|
|
166
|
-
cancelButton: boolean;
|
|
167
|
-
/**
|
|
168
|
-
* Determines whether to display the **Now** button in the popup.
|
|
169
|
-
*
|
|
170
|
-
* If the current time is out of range or the incremental step is greater than `1`, the **Now** button will be hidden.
|
|
171
|
-
*
|
|
172
|
-
* @default true
|
|
173
|
-
*/
|
|
174
|
-
nowButton: boolean;
|
|
175
|
-
/**
|
|
176
|
-
* Configures the incremental steps of the TimePicker.
|
|
177
|
-
* For more information, refer to the article on
|
|
178
|
-
* [incremental steps](https://www.telerik.com/kendo-angular-ui/components/dateinputs/timepicker/incremental-steps).
|
|
179
|
-
*
|
|
180
|
-
* If the incremental step is greater than `1`, the **Now** button will be hidden.
|
|
181
|
-
*/
|
|
182
|
-
set steps(steps: TimePickerIncrementalSteps);
|
|
183
|
-
get steps(): TimePickerIncrementalSteps;
|
|
184
|
-
/**
|
|
185
|
-
* Configures the popup of the TimePicker.
|
|
186
|
-
*
|
|
187
|
-
* The available options are animate which controls the popup animation and by default, the open and close animations are enabled.
|
|
188
|
-
* The `appendTo` option controls the popup container and by default, the popup will be appended to the root component.
|
|
189
|
-
* The `popupClass` option specifies a list of CSS classes that are used to style the popup.
|
|
190
|
-
*/
|
|
191
|
-
set popupSettings(settings: PopupSettings);
|
|
192
|
-
get popupSettings(): PopupSettings;
|
|
193
|
-
/**
|
|
194
|
-
* Sets the tabindex of the TimePicker component.
|
|
195
|
-
* @default 0
|
|
196
|
-
*/
|
|
197
|
-
tabindex: number;
|
|
198
|
-
/**
|
|
199
|
-
* @hidden
|
|
200
|
-
*/
|
|
201
|
-
set tabIndex(tabIndex: number);
|
|
202
|
-
get tabIndex(): number;
|
|
203
|
-
/**
|
|
204
|
-
* Sets the title of the input element of the TimePicker and the title text rendered
|
|
205
|
-
* 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).
|
|
206
|
-
*/
|
|
207
|
-
adaptiveTitle: string;
|
|
208
|
-
/**
|
|
209
|
-
* Sets the subtitle text rendered in the header of the popup(action sheet).
|
|
210
|
-
* Applicable only when [`AdaptiveMode` is set to `auto`](https://www.telerik.com/kendo-angular-ui/components/dateinputs/api/adaptivemode).
|
|
211
|
-
* By default, subtitle is not rendered.
|
|
212
|
-
*/
|
|
213
|
-
adaptiveSubtitle: string;
|
|
214
|
-
/**
|
|
215
|
-
* Determines whether the built-in min or max validators are enforced when a form is being validated.
|
|
216
|
-
*
|
|
217
|
-
* @default true
|
|
218
|
-
*/
|
|
219
|
-
rangeValidation: boolean;
|
|
220
|
-
/**
|
|
221
|
-
* Determines whether the TimePicker is in adaptive mode.
|
|
222
|
-
* @default 'none'
|
|
223
|
-
*/
|
|
224
|
-
adaptiveMode: AdaptiveMode;
|
|
225
|
-
/**
|
|
226
|
-
* Determines whether the TimePicker is in adaptive mode.
|
|
227
|
-
*
|
|
228
|
-
* The `value` has to be a valid [JavaScript `Date`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Date) instance or `null`.
|
|
229
|
-
*/
|
|
230
|
-
set value(value: Date | null);
|
|
231
|
-
get value(): Date | null;
|
|
232
|
-
/**
|
|
233
|
-
* Sets the size of the component. The default value is set by the Kendo theme.
|
|
234
|
-
*/
|
|
235
|
-
set size(size: DateInputSize);
|
|
236
|
-
get size(): DateInputSize;
|
|
237
|
-
/**
|
|
238
|
-
* Sets the rounded styling of the component. The default value is set by the Kendo theme.
|
|
239
|
-
*
|
|
240
|
-
*/
|
|
241
|
-
set rounded(rounded: DateInputRounded);
|
|
242
|
-
get rounded(): DateInputRounded;
|
|
243
|
-
/**
|
|
244
|
-
* Sets the fillMode of the component. The default value is set by the Kendo theme.
|
|
245
|
-
*/
|
|
246
|
-
set fillMode(fillMode: DateInputFillMode);
|
|
247
|
-
get fillMode(): DateInputFillMode;
|
|
248
|
-
/**
|
|
249
|
-
* Sets the HTML attributes of the inner focusable input element. Attributes which are essential for certain component functionalities cannot be changed.
|
|
250
|
-
*
|
|
251
|
-
* @remarks
|
|
252
|
-
* This property is related to accessibility.
|
|
253
|
-
*/
|
|
254
|
-
inputAttributes: {
|
|
255
|
-
[key: string]: string;
|
|
256
|
-
};
|
|
257
|
-
/**
|
|
258
|
-
* Fires each time the user selects a new value
|
|
259
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/timepicker/events)).
|
|
260
|
-
*/
|
|
261
|
-
valueChange: EventEmitter<Date>;
|
|
262
|
-
/**
|
|
263
|
-
* Fires each time the user focuses the input element
|
|
264
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/timepicker/events)).
|
|
265
|
-
*/
|
|
266
|
-
onFocus: EventEmitter<any>;
|
|
267
|
-
/**
|
|
268
|
-
* Fires each time the input element gets blurred
|
|
269
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/timepicker/events)).
|
|
270
|
-
*/
|
|
271
|
-
onBlur: EventEmitter<any>;
|
|
272
|
-
/**
|
|
273
|
-
* Fires each time the popup is about to open
|
|
274
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/timepicker/events)).
|
|
275
|
-
* This event is preventable. If you cancel the event, the popup will remain closed.
|
|
276
|
-
*/
|
|
277
|
-
open: EventEmitter<PreventableEvent>;
|
|
278
|
-
/**
|
|
279
|
-
* Fires each time the popup is about to close
|
|
280
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/timepicker/events)).
|
|
281
|
-
* This event is preventable. If you cancel the event, the popup will remain open.
|
|
282
|
-
*/
|
|
283
|
-
close: EventEmitter<PreventableEvent>;
|
|
284
|
-
/**
|
|
285
|
-
* @hidden
|
|
286
|
-
*/
|
|
287
|
-
escape: EventEmitter<any>;
|
|
288
|
-
/**
|
|
289
|
-
* @hidden
|
|
290
|
-
*/
|
|
291
|
-
get disabledClass(): boolean;
|
|
292
|
-
get popupUID(): string;
|
|
293
|
-
popupRef: PopupRef;
|
|
294
|
-
/**
|
|
295
|
-
* @hidden
|
|
296
|
-
*/
|
|
297
|
-
checkIcon: SVGIcon;
|
|
298
|
-
get isActive(): boolean;
|
|
299
|
-
set isActive(value: boolean);
|
|
300
|
-
get show(): boolean;
|
|
301
|
-
set show(show: boolean);
|
|
302
|
-
get dateInput(): DateInputComponent;
|
|
303
|
-
get timeSelector(): TimeSelectorComponent;
|
|
304
|
-
/**
|
|
305
|
-
* @hidden
|
|
306
|
-
*/
|
|
307
|
-
get isControlRequired(): boolean;
|
|
308
|
-
/**
|
|
309
|
-
* @hidden
|
|
310
|
-
*/
|
|
311
|
-
windowSize: AdaptiveSize;
|
|
312
|
-
private get adaptiveAcceptButton();
|
|
313
|
-
private get adaptiveCancelButton();
|
|
314
|
-
private get inputElement();
|
|
315
|
-
private onControlChange;
|
|
316
|
-
private onControlTouched;
|
|
317
|
-
private onValidatorChange;
|
|
318
|
-
private resolvedPromise;
|
|
319
|
-
private timeRangeValidateFn;
|
|
320
|
-
private incompleteValidator;
|
|
321
|
-
private _min;
|
|
322
|
-
private _max;
|
|
323
|
-
private _popupSettings;
|
|
324
|
-
private _show;
|
|
325
|
-
private _steps;
|
|
326
|
-
private _value;
|
|
327
|
-
private _active;
|
|
328
|
-
private localizationChangeSubscription;
|
|
329
|
-
private pickerSubscriptions;
|
|
330
|
-
private windowBlurSubscription;
|
|
331
|
-
private control;
|
|
332
|
-
private domEvents;
|
|
333
|
-
private _size;
|
|
334
|
-
private _rounded;
|
|
335
|
-
private _fillMode;
|
|
336
|
-
constructor(bus: BusViewService, zone: NgZone, localization: LocalizationService, cdr: ChangeDetectorRef, popupService: PopupService, wrapper: ElementRef, renderer: Renderer2, injector: Injector, pickerService: PickerService, intl: IntlService, adaptiveService: AdaptiveService);
|
|
337
|
-
/**
|
|
338
|
-
* @hidden
|
|
339
|
-
* Used by the TextBoxContainer to determine if the component is empty
|
|
340
|
-
*/
|
|
341
|
-
isEmpty(): boolean;
|
|
342
|
-
/**
|
|
343
|
-
* @hidden
|
|
344
|
-
*/
|
|
345
|
-
ngOnInit(): void;
|
|
346
|
-
/**
|
|
347
|
-
* @hidden
|
|
348
|
-
*/
|
|
349
|
-
ngAfterViewInit(): void;
|
|
350
|
-
/**
|
|
351
|
-
* @hidden
|
|
352
|
-
*/
|
|
353
|
-
ngOnChanges(changes: any): void;
|
|
354
|
-
/**
|
|
355
|
-
* @hidden
|
|
356
|
-
*/
|
|
357
|
-
ngOnDestroy(): void;
|
|
358
|
-
/**
|
|
359
|
-
* @hidden
|
|
360
|
-
*/
|
|
361
|
-
handleKeydown(event: KeyboardEvent): void;
|
|
362
|
-
/**
|
|
363
|
-
* @hidden
|
|
364
|
-
*/
|
|
365
|
-
writeValue(value: Date): void;
|
|
366
|
-
/**
|
|
367
|
-
* @hidden
|
|
368
|
-
*/
|
|
369
|
-
registerOnChange(fn: any): void;
|
|
370
|
-
/**
|
|
371
|
-
* @hidden
|
|
372
|
-
*/
|
|
373
|
-
registerOnTouched(fn: any): void;
|
|
374
|
-
/**
|
|
375
|
-
* @hidden
|
|
376
|
-
*/
|
|
377
|
-
setDisabledState(isDisabled: boolean): void;
|
|
378
|
-
/**
|
|
379
|
-
* @hidden
|
|
380
|
-
*/
|
|
381
|
-
validate(control: AbstractControl): {
|
|
382
|
-
[key: string]: any;
|
|
383
|
-
};
|
|
384
|
-
/**
|
|
385
|
-
* @hidden
|
|
386
|
-
*/
|
|
387
|
-
registerOnValidatorChange(fn: Function): void;
|
|
388
|
-
/**
|
|
389
|
-
* Focuses the TimePicker component.
|
|
390
|
-
*
|
|
391
|
-
*/
|
|
392
|
-
focus(): void;
|
|
393
|
-
/**
|
|
394
|
-
* Blurs the TimePicker component.
|
|
395
|
-
*
|
|
396
|
-
*/
|
|
397
|
-
blur(): void;
|
|
398
|
-
/**
|
|
399
|
-
* Toggles the visibility of the popup or ActionSheet.
|
|
400
|
-
* If you use the `toggle` method to show or hide the popup or ActionSheet, the `open` and `close` events do not fire.
|
|
401
|
-
*
|
|
402
|
-
* @param {boolean} show The state of the popup.
|
|
403
|
-
*/
|
|
404
|
-
toggle(show?: boolean): void;
|
|
405
|
-
/**
|
|
406
|
-
* Returns whether the component is currently open.
|
|
407
|
-
* That is when the popup or ActionSheet is open.
|
|
408
|
-
*/
|
|
409
|
-
get isOpen(): boolean;
|
|
410
|
-
/**
|
|
411
|
-
* @hidden
|
|
412
|
-
*/
|
|
413
|
-
get appendTo(): ViewContainerRef;
|
|
414
|
-
/**
|
|
415
|
-
* @hidden
|
|
416
|
-
*/
|
|
417
|
-
handleChange(value: Date): void;
|
|
418
|
-
/**
|
|
419
|
-
* @hidden
|
|
420
|
-
*/
|
|
421
|
-
handleActionSheetAccept(): void;
|
|
422
|
-
/**
|
|
423
|
-
* @hidden
|
|
424
|
-
*/
|
|
425
|
-
handleActionSheetCollapse(): void;
|
|
426
|
-
/**
|
|
427
|
-
* @hidden
|
|
428
|
-
*/
|
|
429
|
-
handleReject(): void;
|
|
430
|
-
/**
|
|
431
|
-
* @hidden
|
|
432
|
-
*/
|
|
433
|
-
handleInputChange(value: Date): void;
|
|
434
|
-
/**
|
|
435
|
-
* @hidden
|
|
436
|
-
*/
|
|
437
|
-
handleDateInputClick(): void;
|
|
438
|
-
/**
|
|
439
|
-
* @hidden
|
|
440
|
-
*/
|
|
441
|
-
onTabOutNow(): void;
|
|
442
|
-
/**
|
|
443
|
-
* @hidden
|
|
444
|
-
*/
|
|
445
|
-
handleMousedown(args: any): void;
|
|
446
|
-
/**
|
|
447
|
-
* @hidden
|
|
448
|
-
*/
|
|
449
|
-
handleIconClick(event: MouseEvent): void;
|
|
450
|
-
/**
|
|
451
|
-
* @hidden
|
|
452
|
-
*/
|
|
453
|
-
get popupClasses(): string[];
|
|
454
|
-
/**
|
|
455
|
-
* @hidden
|
|
456
|
-
*/
|
|
457
|
-
get isAdaptiveModeEnabled(): boolean;
|
|
458
|
-
/**
|
|
459
|
-
* @hidden
|
|
460
|
-
*/
|
|
461
|
-
get isAdaptive(): boolean;
|
|
462
|
-
/**
|
|
463
|
-
* @hidden
|
|
464
|
-
*/
|
|
465
|
-
normalizeTime(date: Date): Date;
|
|
466
|
-
/**
|
|
467
|
-
* @hidden
|
|
468
|
-
*/
|
|
469
|
-
mergeTime(value: Date): Date;
|
|
470
|
-
/**
|
|
471
|
-
* @hidden
|
|
472
|
-
*/
|
|
473
|
-
onResize(): void;
|
|
474
|
-
/**
|
|
475
|
-
* @hidden
|
|
476
|
-
*/
|
|
477
|
-
onTabOutLastPart(): void;
|
|
478
|
-
/**
|
|
479
|
-
* @hidden
|
|
480
|
-
*/
|
|
481
|
-
onTabOutFirstPart(): void;
|
|
482
|
-
private toggleTimeSelector;
|
|
483
|
-
private toggleActionSheet;
|
|
484
|
-
private togglePopup;
|
|
485
|
-
private focusInput;
|
|
486
|
-
private toggleFocus;
|
|
487
|
-
private verifyValue;
|
|
488
|
-
private verifyFormat;
|
|
489
|
-
private bindEvents;
|
|
490
|
-
private handleWindowBlur;
|
|
491
|
-
private handleFocus;
|
|
492
|
-
private handleBlur;
|
|
493
|
-
private blurComponent;
|
|
494
|
-
private handleDateCompletenessChange;
|
|
495
|
-
private setComponentClasses;
|
|
496
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TimePickerComponent, never>;
|
|
497
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TimePickerComponent, "kendo-timepicker", ["kendo-timepicker"], { "focusableId": { "alias": "focusableId"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "readOnlyInput": { "alias": "readOnlyInput"; "required": false; }; "clearButton": { "alias": "clearButton"; "required": false; }; "format": { "alias": "format"; "required": false; }; "formatPlaceholder": { "alias": "formatPlaceholder"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "incompleteDateValidation": { "alias": "incompleteDateValidation"; "required": false; }; "autoSwitchParts": { "alias": "autoSwitchParts"; "required": false; }; "autoSwitchKeys": { "alias": "autoSwitchKeys"; "required": false; }; "enableMouseWheel": { "alias": "enableMouseWheel"; "required": false; }; "allowCaretMode": { "alias": "allowCaretMode"; "required": false; }; "cancelButton": { "alias": "cancelButton"; "required": false; }; "nowButton": { "alias": "nowButton"; "required": false; }; "steps": { "alias": "steps"; "required": false; }; "popupSettings": { "alias": "popupSettings"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "adaptiveTitle": { "alias": "adaptiveTitle"; "required": false; }; "adaptiveSubtitle": { "alias": "adaptiveSubtitle"; "required": false; }; "rangeValidation": { "alias": "rangeValidation"; "required": false; }; "adaptiveMode": { "alias": "adaptiveMode"; "required": false; }; "value": { "alias": "value"; "required": false; }; "size": { "alias": "size"; "required": false; }; "rounded": { "alias": "rounded"; "required": false; }; "fillMode": { "alias": "fillMode"; "required": false; }; "inputAttributes": { "alias": "inputAttributes"; "required": false; }; }, { "valueChange": "valueChange"; "onFocus": "focus"; "onBlur": "blur"; "open": "open"; "close": "close"; "escape": "escape"; }, never, never, true, never>;
|
|
498
|
-
}
|
|
@@ -1,28 +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/timepicker-custom-messages.component";
|
|
7
|
-
import * as i2 from "./timepicker.component";
|
|
8
|
-
import * as i3 from "@progress/kendo-angular-common";
|
|
9
|
-
/**
|
|
10
|
-
* Required for adding all TimePicker features in NgModule-based Angular applications.
|
|
11
|
-
*
|
|
12
|
-
* @example
|
|
13
|
-
* ```typescript
|
|
14
|
-
* import { NgModule } from '@angular/core';
|
|
15
|
-
* import { TimePickerModule } from '@progress/kendo-angular-dateinputs';
|
|
16
|
-
*
|
|
17
|
-
* @NgModule({
|
|
18
|
-
* imports: [TimePickerModule],
|
|
19
|
-
* // ...
|
|
20
|
-
* })
|
|
21
|
-
* export class AppModule { }
|
|
22
|
-
* ```
|
|
23
|
-
*/
|
|
24
|
-
export declare class TimePickerModule {
|
|
25
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TimePickerModule, never>;
|
|
26
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TimePickerModule, never, [typeof i1.TimePickerCustomMessagesComponent, typeof i2.TimePickerComponent, typeof i3.ToggleButtonTabStopDirective, typeof i3.ToggleButtonTabStopDirective], [typeof i1.TimePickerCustomMessagesComponent, typeof i2.TimePickerComponent, typeof i3.ToggleButtonTabStopDirective, typeof i3.ToggleButtonTabStopDirective]>;
|
|
27
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<TimePickerModule>;
|
|
28
|
-
}
|