@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,185 +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, QueryList, OnInit, OnChanges, OnDestroy, Renderer2 } from '@angular/core';
|
|
6
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
7
|
-
import { IntlService } from '@progress/kendo-angular-intl';
|
|
8
|
-
import { TimeListComponent } from './timelist.component';
|
|
9
|
-
import { TimePickerDOMService } from './services/dom.service';
|
|
10
|
-
import { TimePickerIncrementalSteps } from './models/incremental-steps.model';
|
|
11
|
-
import { PickerService } from '../common/picker.service';
|
|
12
|
-
import * as i0 from "@angular/core";
|
|
13
|
-
/**
|
|
14
|
-
* @hidden
|
|
15
|
-
*
|
|
16
|
-
* Represents the Kendo UI TimeSelector component for Angular.
|
|
17
|
-
*/
|
|
18
|
-
export declare class TimeSelectorComponent implements OnChanges, OnInit, OnDestroy {
|
|
19
|
-
localization: LocalizationService;
|
|
20
|
-
private cdr;
|
|
21
|
-
element: ElementRef;
|
|
22
|
-
intl: IntlService;
|
|
23
|
-
dom: TimePickerDOMService;
|
|
24
|
-
private zone;
|
|
25
|
-
private renderer;
|
|
26
|
-
private pickerService?;
|
|
27
|
-
accept: ElementRef;
|
|
28
|
-
cancel: ElementRef;
|
|
29
|
-
now: ElementRef;
|
|
30
|
-
timeLists: QueryList<TimeListComponent>;
|
|
31
|
-
timeListWrappers: QueryList<ElementRef>;
|
|
32
|
-
/**
|
|
33
|
-
* @hidden
|
|
34
|
-
*/
|
|
35
|
-
get disabledClass(): boolean;
|
|
36
|
-
/**
|
|
37
|
-
* Specifies the time format that displays the time list columns.
|
|
38
|
-
*
|
|
39
|
-
* @default 't'
|
|
40
|
-
*/
|
|
41
|
-
format: string;
|
|
42
|
-
/**
|
|
43
|
-
* Sets the smallest valid time value.
|
|
44
|
-
*/
|
|
45
|
-
min: Date;
|
|
46
|
-
/**
|
|
47
|
-
* Sets the largest valid time value.
|
|
48
|
-
*/
|
|
49
|
-
max: Date;
|
|
50
|
-
/**
|
|
51
|
-
* Controls the display of the **Cancel** button in the popup.
|
|
52
|
-
*
|
|
53
|
-
* @default true
|
|
54
|
-
*/
|
|
55
|
-
cancelButton: boolean;
|
|
56
|
-
/**
|
|
57
|
-
* Controls the display of the **Set** button in the popup.
|
|
58
|
-
*
|
|
59
|
-
* @default true
|
|
60
|
-
*/
|
|
61
|
-
setButton: boolean;
|
|
62
|
-
/**
|
|
63
|
-
* Controls the display of the **Now** button in the popup.
|
|
64
|
-
*
|
|
65
|
-
* When the current time is out of range or the incremental step is greater than `1`, the **Now** button is hidden.
|
|
66
|
-
*
|
|
67
|
-
* @default true
|
|
68
|
-
*/
|
|
69
|
-
nowButton: boolean;
|
|
70
|
-
/**
|
|
71
|
-
* Sets the `disabled` property of the `TimeSelector` and controls whether the component is active.
|
|
72
|
-
*
|
|
73
|
-
* @default false
|
|
74
|
-
*/
|
|
75
|
-
disabled: boolean;
|
|
76
|
-
/**
|
|
77
|
-
* Sets the adaptive mode for the component.
|
|
78
|
-
* Use this property to enable proper height calculation in the DOM service.
|
|
79
|
-
*/
|
|
80
|
-
isAdaptiveEnabled: boolean;
|
|
81
|
-
/**
|
|
82
|
-
* Specifies whether the component is used as part of a DateTimePicker.
|
|
83
|
-
*/
|
|
84
|
-
isDateTimePicker: boolean;
|
|
85
|
-
/**
|
|
86
|
-
* Configures the incremental steps of the TimeSelector.
|
|
87
|
-
*
|
|
88
|
-
* When the incremental step is greater than `1`, the **Now** button is hidden.
|
|
89
|
-
*/
|
|
90
|
-
set steps(steps: TimePickerIncrementalSteps);
|
|
91
|
-
get steps(): TimePickerIncrementalSteps;
|
|
92
|
-
/**
|
|
93
|
-
* Specifies the value of the TimeSelector component.
|
|
94
|
-
*/
|
|
95
|
-
value: Date;
|
|
96
|
-
/**
|
|
97
|
-
* Fires each time the user selects a new value.
|
|
98
|
-
*/
|
|
99
|
-
valueChange: EventEmitter<Date>;
|
|
100
|
-
/**
|
|
101
|
-
* Fires each time the user cancels the selected value.
|
|
102
|
-
*/
|
|
103
|
-
valueReject: EventEmitter<any>;
|
|
104
|
-
tabOutLastPart: EventEmitter<any>;
|
|
105
|
-
tabOutFirstPart: EventEmitter<any>;
|
|
106
|
-
tabOutNow: EventEmitter<any>;
|
|
107
|
-
dateFormatParts: any[];
|
|
108
|
-
isActive: boolean;
|
|
109
|
-
showNowButton: boolean;
|
|
110
|
-
set current(value: Date);
|
|
111
|
-
get current(): Date;
|
|
112
|
-
get activeListIndex(): number;
|
|
113
|
-
set activeListIndex(value: number);
|
|
114
|
-
private mergeValue;
|
|
115
|
-
private snapTime;
|
|
116
|
-
private _activeListIndex;
|
|
117
|
-
private _current;
|
|
118
|
-
private _steps;
|
|
119
|
-
private subscriptions;
|
|
120
|
-
private domEvents;
|
|
121
|
-
constructor(localization: LocalizationService, cdr: ChangeDetectorRef, element: ElementRef, intl: IntlService, dom: TimePickerDOMService, zone: NgZone, renderer: Renderer2, pickerService?: PickerService);
|
|
122
|
-
/**
|
|
123
|
-
* @hidden
|
|
124
|
-
*/
|
|
125
|
-
ngOnInit(): void;
|
|
126
|
-
/**
|
|
127
|
-
* @hidden
|
|
128
|
-
*/
|
|
129
|
-
ngOnChanges(): void;
|
|
130
|
-
ngOnDestroy(): void;
|
|
131
|
-
/**
|
|
132
|
-
* Focuses the TimeSelector component.
|
|
133
|
-
*/
|
|
134
|
-
focus(): void;
|
|
135
|
-
/**
|
|
136
|
-
* Blurs the TimeSelector component.
|
|
137
|
-
*/
|
|
138
|
-
blur(): void;
|
|
139
|
-
/**
|
|
140
|
-
* @hidden
|
|
141
|
-
*/
|
|
142
|
-
handleAccept(): void;
|
|
143
|
-
/**
|
|
144
|
-
* @hidden
|
|
145
|
-
*/
|
|
146
|
-
handleNow(): void;
|
|
147
|
-
/**
|
|
148
|
-
* @hidden
|
|
149
|
-
*/
|
|
150
|
-
handleReject(): void;
|
|
151
|
-
/**
|
|
152
|
-
* @hidden
|
|
153
|
-
*/
|
|
154
|
-
handleFocus(args: any): void;
|
|
155
|
-
/**
|
|
156
|
-
* @hidden
|
|
157
|
-
*/
|
|
158
|
-
handleListFocus(args: any): void;
|
|
159
|
-
/**
|
|
160
|
-
* @hidden
|
|
161
|
-
*/
|
|
162
|
-
handleBlur(args: any): void;
|
|
163
|
-
/**
|
|
164
|
-
* @hidden
|
|
165
|
-
*/
|
|
166
|
-
containsElement(element: any): boolean;
|
|
167
|
-
/**
|
|
168
|
-
* @hidden
|
|
169
|
-
*/
|
|
170
|
-
handleTabOut(event: KeyboardEvent): void;
|
|
171
|
-
partStep(part: any): number;
|
|
172
|
-
private init;
|
|
173
|
-
private focusList;
|
|
174
|
-
private handleChange;
|
|
175
|
-
private hasActiveButton;
|
|
176
|
-
private hasSteps;
|
|
177
|
-
private intlChange;
|
|
178
|
-
private bindEvents;
|
|
179
|
-
private handleKeydown;
|
|
180
|
-
private emitBlur;
|
|
181
|
-
private emitFocus;
|
|
182
|
-
private listIndex;
|
|
183
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TimeSelectorComponent, [null, null, null, null, null, null, null, { optional: true; }]>;
|
|
184
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TimeSelectorComponent, "kendo-timeselector", ["kendo-timeselector"], { "format": { "alias": "format"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "cancelButton": { "alias": "cancelButton"; "required": false; }; "setButton": { "alias": "setButton"; "required": false; }; "nowButton": { "alias": "nowButton"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "isAdaptiveEnabled": { "alias": "isAdaptiveEnabled"; "required": false; }; "isDateTimePicker": { "alias": "isDateTimePicker"; "required": false; }; "steps": { "alias": "steps"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; "valueReject": "valueReject"; "tabOutLastPart": "tabOutLastPart"; "tabOutFirstPart": "tabOutFirstPart"; "tabOutNow": "tabOutNow"; }, never, never, true, never>;
|
|
185
|
-
}
|
package/timepicker/util.d.ts
DELETED
|
@@ -1,20 +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
|
-
* @hidden
|
|
7
|
-
*/
|
|
8
|
-
export declare const generateGetters: (parts: any) => any;
|
|
9
|
-
/**
|
|
10
|
-
* @hidden
|
|
11
|
-
*/
|
|
12
|
-
export declare const generateSnappers: (steps: any) => any;
|
|
13
|
-
/**
|
|
14
|
-
* @hidden
|
|
15
|
-
*/
|
|
16
|
-
export declare const valueMerger: (getters: any) => (origin: any, candidate: any) => any;
|
|
17
|
-
/**
|
|
18
|
-
* @hidden
|
|
19
|
-
*/
|
|
20
|
-
export declare const snapTime: (snappers: any) => (candidate: any, min: any) => any;
|
package/util.d.ts
DELETED
|
@@ -1,195 +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 { SelectionRange } from './calendar/models/selection-range.interface';
|
|
6
|
-
import { CalendarType } from './calendar/models/type';
|
|
7
|
-
import { DateInputSize } from './common/models/size';
|
|
8
|
-
import { DateInputRounded } from './common/models/rounded';
|
|
9
|
-
import { DateInputFillMode } from './common/models/fillmode';
|
|
10
|
-
/**
|
|
11
|
-
* @hidden
|
|
12
|
-
*/
|
|
13
|
-
export declare const setTime: (origin: Date, candidate: Date) => Date;
|
|
14
|
-
/**
|
|
15
|
-
* @hidden
|
|
16
|
-
*/
|
|
17
|
-
export declare const setYears: (date: Date, value: number) => Date;
|
|
18
|
-
/**
|
|
19
|
-
* @hidden
|
|
20
|
-
*/
|
|
21
|
-
export declare const setHours: (date: Date, value: number) => Date;
|
|
22
|
-
/**
|
|
23
|
-
* @hidden
|
|
24
|
-
*/
|
|
25
|
-
export declare const setMinutes: (date: Date, value: number) => Date;
|
|
26
|
-
/**
|
|
27
|
-
* @hidden
|
|
28
|
-
*/
|
|
29
|
-
export declare const setSeconds: (date: Date, value: number) => Date;
|
|
30
|
-
/**
|
|
31
|
-
* @hidden
|
|
32
|
-
*/
|
|
33
|
-
export declare const setMilliseconds: (date: Date, value: number) => Date;
|
|
34
|
-
/**
|
|
35
|
-
* @hidden
|
|
36
|
-
*/
|
|
37
|
-
export declare const range: (start: number, end: number, step?: number) => number[];
|
|
38
|
-
/**
|
|
39
|
-
* @hidden
|
|
40
|
-
*/
|
|
41
|
-
export declare const isInRange: (candidate: Date, min: Date, max: Date) => boolean;
|
|
42
|
-
/**
|
|
43
|
-
* @hidden
|
|
44
|
-
*/
|
|
45
|
-
export declare const isInTimeRange: (candidate: Date, min: Date, max: Date) => boolean;
|
|
46
|
-
/**
|
|
47
|
-
* @hidden
|
|
48
|
-
*/
|
|
49
|
-
export declare const isValidRange: (min: Date, max: Date) => boolean;
|
|
50
|
-
/**
|
|
51
|
-
* @hidden
|
|
52
|
-
*/
|
|
53
|
-
export declare const dateInRange: (candidate: Date, min: Date, max: Date) => Date;
|
|
54
|
-
/**
|
|
55
|
-
* @hidden
|
|
56
|
-
*/
|
|
57
|
-
export declare const timeInRange: (candidate: Date, min: Date, max: Date) => Date;
|
|
58
|
-
/**
|
|
59
|
-
* @hidden
|
|
60
|
-
*/
|
|
61
|
-
export declare const getNow: () => Date;
|
|
62
|
-
/**
|
|
63
|
-
* @hidden
|
|
64
|
-
*/
|
|
65
|
-
export declare const getToday: () => Date;
|
|
66
|
-
/**
|
|
67
|
-
* @hidden
|
|
68
|
-
*/
|
|
69
|
-
export declare const noop: (_: any) => void;
|
|
70
|
-
/**
|
|
71
|
-
* @hidden
|
|
72
|
-
*/
|
|
73
|
-
export declare const isWindowAvailable: () => boolean;
|
|
74
|
-
/**
|
|
75
|
-
* @hidden
|
|
76
|
-
*/
|
|
77
|
-
export declare const stringifyClassObject: (classes: {
|
|
78
|
-
[x: string]: boolean;
|
|
79
|
-
}) => string;
|
|
80
|
-
/**
|
|
81
|
-
* @hidden
|
|
82
|
-
*/
|
|
83
|
-
export declare const shiftWeekNames: (names: string[], offset: number) => string[];
|
|
84
|
-
/**
|
|
85
|
-
* @hidden
|
|
86
|
-
*/
|
|
87
|
-
export declare const approximateStringMatching: (oldTextOrigin: string, oldFormat: string, newTextOrigin: string, caret: number) => any[];
|
|
88
|
-
/**
|
|
89
|
-
* @hidden
|
|
90
|
-
*/
|
|
91
|
-
export declare const domContainerFactory: (type: string) => (children: string | HTMLElement[], classes?: string, styles?: any) => HTMLElement;
|
|
92
|
-
/**
|
|
93
|
-
* @hidden
|
|
94
|
-
*/
|
|
95
|
-
export declare const hasChange: (changes: any, field: string) => boolean;
|
|
96
|
-
/**
|
|
97
|
-
* @hidden
|
|
98
|
-
*/
|
|
99
|
-
export declare const hasExistingValue: (changes: any, field: string) => boolean;
|
|
100
|
-
/**
|
|
101
|
-
* @hidden
|
|
102
|
-
*/
|
|
103
|
-
export declare const last: (list?: any[]) => any;
|
|
104
|
-
/**
|
|
105
|
-
* @hidden
|
|
106
|
-
*/
|
|
107
|
-
export declare const isInSelectionRange: (value: Date, selectionRange?: SelectionRange) => boolean;
|
|
108
|
-
/**
|
|
109
|
-
* @hidden
|
|
110
|
-
*/
|
|
111
|
-
export declare const either: (value1: any, value2: any) => any;
|
|
112
|
-
/**
|
|
113
|
-
* @hidden
|
|
114
|
-
*/
|
|
115
|
-
export declare const clampRange: (value: Date) => SelectionRange;
|
|
116
|
-
/**
|
|
117
|
-
* @hidden
|
|
118
|
-
*/
|
|
119
|
-
export declare const isEqualRange: (initial: SelectionRange, updated: SelectionRange) => boolean;
|
|
120
|
-
/**
|
|
121
|
-
* @hidden
|
|
122
|
-
*/
|
|
123
|
-
export declare const areDatesEqual: (first: Date[], second: Date[]) => boolean;
|
|
124
|
-
/**
|
|
125
|
-
* @hidden
|
|
126
|
-
*/
|
|
127
|
-
export declare const sortDates: (dates: Date[]) => Date[];
|
|
128
|
-
/**
|
|
129
|
-
* @hidden
|
|
130
|
-
*
|
|
131
|
-
* Creates a new date based on the date information from the specified date portion
|
|
132
|
-
* and the time information from the time portion.
|
|
133
|
-
* If a parameter is not provided, returns `null`.
|
|
134
|
-
*/
|
|
135
|
-
export declare const mergeDateAndTime: (date: Date, time: Date) => Date;
|
|
136
|
-
/**
|
|
137
|
-
* @hidden
|
|
138
|
-
*/
|
|
139
|
-
export declare const lastMillisecondOfDate: (date: Date) => Date;
|
|
140
|
-
/**
|
|
141
|
-
* @hidden
|
|
142
|
-
*
|
|
143
|
-
* Returns an array with dates ranging between and including the specified start and
|
|
144
|
-
* end dates that are evaluated as disabled.
|
|
145
|
-
*/
|
|
146
|
-
export declare const disabledDatesInRange: (start: Date, end: Date, isDateDisabled: (date: Date) => boolean) => Date[];
|
|
147
|
-
/**
|
|
148
|
-
* @hidden
|
|
149
|
-
*
|
|
150
|
-
* Crops the last two digits from the year of the provided date value.
|
|
151
|
-
*/
|
|
152
|
-
export declare const cropTwoDigitYear: (date: Date) => number;
|
|
153
|
-
/**
|
|
154
|
-
* @hidden
|
|
155
|
-
*
|
|
156
|
-
* Used when resetting millisecond segment value in the DateInput
|
|
157
|
-
*/
|
|
158
|
-
export declare const msPaddingFromFormat: (format: string) => string;
|
|
159
|
-
/**
|
|
160
|
-
* @hidden
|
|
161
|
-
*/
|
|
162
|
-
export declare const millisecondDigitsInFormat: (format: string) => number;
|
|
163
|
-
/**
|
|
164
|
-
* @hidden
|
|
165
|
-
*/
|
|
166
|
-
export declare const millisecondStepFor: (digits: number) => number;
|
|
167
|
-
/**
|
|
168
|
-
* @hidden
|
|
169
|
-
*
|
|
170
|
-
* Checks if a tab keydown would would move the focus outside of the calendar.
|
|
171
|
-
*/
|
|
172
|
-
export declare const isTabExitingCalendar: (calendarType: CalendarType, focusedElement: Element, shiftKey: boolean) => boolean;
|
|
173
|
-
/**
|
|
174
|
-
* @hidden
|
|
175
|
-
* Returns the size class based on the component and size input.
|
|
176
|
-
*/
|
|
177
|
-
export declare const getSizeClass: (component: string, size: DateInputSize) => string;
|
|
178
|
-
/**
|
|
179
|
-
* @hidden
|
|
180
|
-
* Returns the rounded class based on the rounded input.
|
|
181
|
-
*/
|
|
182
|
-
export declare const getRoundedClass: (rounded: DateInputRounded) => string;
|
|
183
|
-
/**
|
|
184
|
-
* @hidden
|
|
185
|
-
* Return the fillMode class based on the component and fillMode input.
|
|
186
|
-
*/
|
|
187
|
-
export declare const getFillModeClass: (component: string, fillMode: DateInputFillMode) => string;
|
|
188
|
-
/**
|
|
189
|
-
* Specifies the adaptive rendering of the component.
|
|
190
|
-
*
|
|
191
|
-
* The supported values are:
|
|
192
|
-
* * `none`—(default)
|
|
193
|
-
* * `auto`
|
|
194
|
-
*/
|
|
195
|
-
export type AdaptiveMode = 'none' | 'auto';
|
|
@@ -1,8 +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
|
-
* @hidden
|
|
7
|
-
*/
|
|
8
|
-
export declare const disabledDatesValidator: Function;
|
|
@@ -1,8 +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
|
-
* @hidden
|
|
7
|
-
*/
|
|
8
|
-
export declare const disabledDatesRangeValidator: Function;
|
|
@@ -1,8 +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
|
-
* @hidden
|
|
7
|
-
*/
|
|
8
|
-
export declare const incompleteDateValidator: Function;
|
|
@@ -1,8 +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
|
-
* @hidden
|
|
7
|
-
*/
|
|
8
|
-
export declare const maxValidator: Function;
|
|
@@ -1,8 +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
|
-
* @hidden
|
|
7
|
-
*/
|
|
8
|
-
export declare const minValidator: Function;
|
|
@@ -1,8 +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
|
-
* @hidden
|
|
7
|
-
*/
|
|
8
|
-
export declare const timeRangeValidator: Function;
|
|
@@ -1,41 +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 } from '@angular/core';
|
|
6
|
-
import { Observable } from 'rxjs';
|
|
7
|
-
/**
|
|
8
|
-
* @hidden
|
|
9
|
-
*/
|
|
10
|
-
export interface Scrollable {
|
|
11
|
-
/**
|
|
12
|
-
* @hidden
|
|
13
|
-
*
|
|
14
|
-
* The scrollable element.
|
|
15
|
-
*/
|
|
16
|
-
container: ElementRef;
|
|
17
|
-
/**
|
|
18
|
-
* @hidden
|
|
19
|
-
*
|
|
20
|
-
* The method that scrolls the container to a specific `scrollTop` value.
|
|
21
|
-
*/
|
|
22
|
-
scrollTo: (scrollTop: number) => void;
|
|
23
|
-
/**
|
|
24
|
-
* @hidden
|
|
25
|
-
*
|
|
26
|
-
* The method that scrolls the container to a specific element index.
|
|
27
|
-
*/
|
|
28
|
-
scrollToIndex: (index: number) => void;
|
|
29
|
-
/**
|
|
30
|
-
* @hidden
|
|
31
|
-
*
|
|
32
|
-
* The method that scrolls the container to the bottom.
|
|
33
|
-
*/
|
|
34
|
-
scrollToBottom: () => void;
|
|
35
|
-
/**
|
|
36
|
-
* @hidden
|
|
37
|
-
*
|
|
38
|
-
* The returning method.
|
|
39
|
-
*/
|
|
40
|
-
scroll$: () => Observable<any>;
|
|
41
|
-
}
|
|
@@ -1,22 +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
|
-
* @hidden
|
|
7
|
-
*/
|
|
8
|
-
export declare class RowHeightService {
|
|
9
|
-
private total;
|
|
10
|
-
private rowHeight;
|
|
11
|
-
private detailRowHeight;
|
|
12
|
-
private offsets;
|
|
13
|
-
private heights;
|
|
14
|
-
constructor(total: number, rowHeight: number, detailRowHeight: number);
|
|
15
|
-
height(rowIndex: number): number;
|
|
16
|
-
expandDetail(rowIndex: number): void;
|
|
17
|
-
collapseDetail(rowIndex: number): void;
|
|
18
|
-
index(position: number): number;
|
|
19
|
-
offset(rowIndex: number): number;
|
|
20
|
-
totalHeight(): number;
|
|
21
|
-
private updateRowHeight;
|
|
22
|
-
}
|
|
@@ -1,57 +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 { Observable, Observer } from 'rxjs';
|
|
6
|
-
import { RowHeightService } from './row-height.service';
|
|
7
|
-
/**
|
|
8
|
-
* @hidden
|
|
9
|
-
*/
|
|
10
|
-
export declare class ScrollAction {
|
|
11
|
-
offset: number;
|
|
12
|
-
constructor(offset: number);
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* @hidden
|
|
16
|
-
*/
|
|
17
|
-
export declare class PageAction {
|
|
18
|
-
skip: number;
|
|
19
|
-
constructor(skip: number);
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* @hidden
|
|
23
|
-
*/
|
|
24
|
-
export type Action = ScrollAction | PageAction;
|
|
25
|
-
/**
|
|
26
|
-
* @hidden
|
|
27
|
-
*/
|
|
28
|
-
export type ScrollElement = {
|
|
29
|
-
offsetHeight: number;
|
|
30
|
-
offsetWidth: number;
|
|
31
|
-
scrollLeft: number;
|
|
32
|
-
scrollTop: number;
|
|
33
|
-
};
|
|
34
|
-
/**
|
|
35
|
-
* @hidden
|
|
36
|
-
*/
|
|
37
|
-
export declare class ScrollerService {
|
|
38
|
-
private scrollObservable;
|
|
39
|
-
private direction;
|
|
40
|
-
private firstLoaded;
|
|
41
|
-
private lastLoaded;
|
|
42
|
-
private lastScroll;
|
|
43
|
-
private take;
|
|
44
|
-
private total;
|
|
45
|
-
private rowHeightService;
|
|
46
|
-
private scrollSubscription;
|
|
47
|
-
private subscription;
|
|
48
|
-
private bottomOffset;
|
|
49
|
-
private topOffset;
|
|
50
|
-
constructor(scrollObservable: Observable<any>);
|
|
51
|
-
create(rowHeightService: RowHeightService, skip: number, take: number, total: number, topOffset?: number, bottomOffset?: number, direction?: 'horizontal' | 'vertical'): Observable<Action>;
|
|
52
|
-
destroy(): void;
|
|
53
|
-
protected onScroll({ scrollLeft, scrollTop, offsetHeight, offsetWidth }: ScrollElement, observer: Observer<Action>): void;
|
|
54
|
-
private rowOffset;
|
|
55
|
-
private rowsForHeight;
|
|
56
|
-
private unsubscribe;
|
|
57
|
-
}
|
|
@@ -1,88 +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 { EventEmitter, ElementRef, InjectionToken, OnChanges, OnDestroy, OnInit, AfterViewInit, Renderer2, NgZone } from '@angular/core';
|
|
6
|
-
import { Scrollable } from './models/scrollable.interface';
|
|
7
|
-
import { ScrollerService, PageAction, ScrollAction } from './services/scroller.service';
|
|
8
|
-
import { ScrollbarService } from '@progress/kendo-angular-common';
|
|
9
|
-
import { Observable } from 'rxjs';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
/**
|
|
12
|
-
* @hidden
|
|
13
|
-
*/
|
|
14
|
-
export declare const SCROLLER_FACTORY_TOKEN: InjectionToken<string>;
|
|
15
|
-
/**
|
|
16
|
-
* @hidden
|
|
17
|
-
*/
|
|
18
|
-
export declare function DEFAULT_SCROLLER_FACTORY(observable: Observable<any>): ScrollerService;
|
|
19
|
-
/**
|
|
20
|
-
* @hidden
|
|
21
|
-
*/
|
|
22
|
-
export declare enum ScrollDirection {
|
|
23
|
-
Backward = 0,
|
|
24
|
-
Forward = 1
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* @hidden
|
|
28
|
-
*/
|
|
29
|
-
export declare class VirtualizationComponent implements OnChanges, OnInit, OnDestroy, AfterViewInit, Scrollable {
|
|
30
|
-
container: ElementRef;
|
|
31
|
-
renderer: Renderer2;
|
|
32
|
-
zone: NgZone;
|
|
33
|
-
protected scrollbarService: ScrollbarService;
|
|
34
|
-
direction: 'horizontal' | 'vertical';
|
|
35
|
-
itemHeight: number;
|
|
36
|
-
itemWidth: number;
|
|
37
|
-
topOffset: number;
|
|
38
|
-
bottomOffset: number;
|
|
39
|
-
maxScrollDifference: number;
|
|
40
|
-
scrollOffsetSize: number;
|
|
41
|
-
scrollDuration: number;
|
|
42
|
-
skip: number;
|
|
43
|
-
take: number;
|
|
44
|
-
total: number;
|
|
45
|
-
activeIndexChange: EventEmitter<number>;
|
|
46
|
-
pageChange: EventEmitter<PageAction>;
|
|
47
|
-
scrollChange: EventEmitter<ScrollAction>;
|
|
48
|
-
wrapperClasses: boolean;
|
|
49
|
-
get horizontalClass(): boolean;
|
|
50
|
-
totalSize: number;
|
|
51
|
-
get totalVertexLength(): any;
|
|
52
|
-
get containerOffsetSize(): number;
|
|
53
|
-
get containerScrollSize(): number;
|
|
54
|
-
get containerScrollPosition(): number;
|
|
55
|
-
private lastActiveIndex;
|
|
56
|
-
private resolvedPromise;
|
|
57
|
-
private scroller;
|
|
58
|
-
private rowHeightService;
|
|
59
|
-
private dispatcher;
|
|
60
|
-
private scrollSubscription;
|
|
61
|
-
private containerScrollSubscription;
|
|
62
|
-
private animationSubscription;
|
|
63
|
-
constructor(scrollerFactory: any, container: ElementRef, renderer: Renderer2, zone: NgZone, scrollbarService: ScrollbarService);
|
|
64
|
-
ngOnChanges(changes: any): void;
|
|
65
|
-
ngOnInit(): void;
|
|
66
|
-
ngAfterViewInit(): void;
|
|
67
|
-
ngOnDestroy(): void;
|
|
68
|
-
getContainerProperty(propertyName: string): number;
|
|
69
|
-
activeIndex(): number;
|
|
70
|
-
itemIndex(offset: number): number;
|
|
71
|
-
itemOffset(index: number): number;
|
|
72
|
-
isIndexVisible(index: number): boolean;
|
|
73
|
-
isListScrolled(index: number): boolean;
|
|
74
|
-
scrollTo(value: number): void;
|
|
75
|
-
scrollToIndex(index: number): void;
|
|
76
|
-
scrollToBottom(): void;
|
|
77
|
-
animateToIndex(index: number): void;
|
|
78
|
-
scrollRange(indexOffset: number, direction: ScrollDirection): any;
|
|
79
|
-
scrollStep(start: number, end: number): number;
|
|
80
|
-
scroll$(): Observable<any>;
|
|
81
|
-
private initServices;
|
|
82
|
-
private createRowHeightService;
|
|
83
|
-
private emitActiveIndex;
|
|
84
|
-
private containerMaxScroll;
|
|
85
|
-
private getContainerScrollDirection;
|
|
86
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<VirtualizationComponent, never>;
|
|
87
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<VirtualizationComponent, "kendo-virtualization", never, { "direction": { "alias": "direction"; "required": false; }; "itemHeight": { "alias": "itemHeight"; "required": false; }; "itemWidth": { "alias": "itemWidth"; "required": false; }; "topOffset": { "alias": "topOffset"; "required": false; }; "bottomOffset": { "alias": "bottomOffset"; "required": false; }; "maxScrollDifference": { "alias": "maxScrollDifference"; "required": false; }; "scrollOffsetSize": { "alias": "scrollOffsetSize"; "required": false; }; "scrollDuration": { "alias": "scrollDuration"; "required": false; }; "skip": { "alias": "skip"; "required": false; }; "take": { "alias": "take"; "required": false; }; "total": { "alias": "total"; "required": false; }; }, { "activeIndexChange": "activeIndexChange"; "pageChange": "pageChange"; "scrollChange": "scrollChange"; }, never, ["*"], true, never>;
|
|
88
|
-
}
|