@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,655 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { ChangeDetectorRef, EventEmitter, ElementRef, Renderer2, AfterViewInit, OnChanges, OnDestroy, NgZone, DoCheck } from '@angular/core';
|
|
6
|
-
import { AbstractControl, ControlValueAccessor, Validator } from '@angular/forms';
|
|
7
|
-
import { Day } from '@progress/kendo-date-math';
|
|
8
|
-
import { HorizontalViewListComponent } from './horizontal-view-list.component';
|
|
9
|
-
import { BusViewService } from './services/bus-view.service';
|
|
10
|
-
import { SelectionService } from './services/selection.service';
|
|
11
|
-
import { DisabledDatesService } from './services/disabled-dates.service';
|
|
12
|
-
import { CellTemplateDirective } from './templates/cell-template.directive';
|
|
13
|
-
import { MonthCellTemplateDirective } from './templates/month-cell-template.directive';
|
|
14
|
-
import { YearCellTemplateDirective } from './templates/year-cell-template.directive';
|
|
15
|
-
import { DecadeCellTemplateDirective } from './templates/decade-cell-template.directive';
|
|
16
|
-
import { CenturyCellTemplateDirective } from './templates/century-cell-template.directive';
|
|
17
|
-
import { WeekNumberCellTemplateDirective } from './templates/weeknumber-cell-template.directive';
|
|
18
|
-
import { HeaderTitleTemplateDirective } from './templates/header-title-template.directive';
|
|
19
|
-
import { Action } from './models/navigation-action.enum';
|
|
20
|
-
import { CalendarView } from './models/view.type';
|
|
21
|
-
import { CalendarViewEnum } from './models/view.enum';
|
|
22
|
-
import { SelectionRangeEnd } from './models/selection-range-end.type';
|
|
23
|
-
import { SelectionRange } from './models/selection-range.interface';
|
|
24
|
-
import { CalendarSelection } from './models/selection';
|
|
25
|
-
import { CalendarOrientation } from './models/orientation';
|
|
26
|
-
import { NavigationService } from './services/navigation.service';
|
|
27
|
-
import { HeaderTemplateDirective } from './templates/header-template.directive';
|
|
28
|
-
import { FooterTemplateDirective } from './templates/footer-template.directive';
|
|
29
|
-
import { WeekDaysFormat } from '../common/models/week-days-format';
|
|
30
|
-
import { DateInputSize } from '../common/models/size';
|
|
31
|
-
import * as i0 from "@angular/core";
|
|
32
|
-
/**
|
|
33
|
-
* @hidden
|
|
34
|
-
*/
|
|
35
|
-
export declare const RANGE_CALENDAR_VALUE_ACCESSOR: any;
|
|
36
|
-
/**
|
|
37
|
-
* @hidden
|
|
38
|
-
*/
|
|
39
|
-
export declare const RANGE_CALENDAR_RANGE_VALIDATORS: any;
|
|
40
|
-
/**
|
|
41
|
-
* Represents the Kendo UI MultiViewCalendar component for Angular.
|
|
42
|
-
* @example
|
|
43
|
-
* ```html
|
|
44
|
-
* <kendo-multiviewcalendar> </kendo-multiviewcalendar>
|
|
45
|
-
* ```
|
|
46
|
-
*
|
|
47
|
-
* @remarks
|
|
48
|
-
* Supported children components are: {@link MultiViewCalendarCustomMessagesComponent}.
|
|
49
|
-
*/
|
|
50
|
-
export declare class MultiViewCalendarComponent implements AfterViewInit, ControlValueAccessor, OnChanges, DoCheck, OnDestroy, Validator {
|
|
51
|
-
bus: BusViewService;
|
|
52
|
-
element: ElementRef;
|
|
53
|
-
private navigator;
|
|
54
|
-
private renderer;
|
|
55
|
-
private cdr;
|
|
56
|
-
private zone;
|
|
57
|
-
private disabledDatesService;
|
|
58
|
-
private selectionService;
|
|
59
|
-
/**
|
|
60
|
-
* Shows days that fall outside the current month ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/multiviewcalendar/view-options#displaying-other-month-days)).
|
|
61
|
-
*
|
|
62
|
-
* @default true
|
|
63
|
-
*/
|
|
64
|
-
showOtherMonthDays: boolean;
|
|
65
|
-
/**
|
|
66
|
-
* @hidden
|
|
67
|
-
*
|
|
68
|
-
* Determines whether to display the calendar header.
|
|
69
|
-
*/
|
|
70
|
-
showCalendarHeader: boolean;
|
|
71
|
-
/**
|
|
72
|
-
* @hidden
|
|
73
|
-
*
|
|
74
|
-
* TODO: Make visible when the Infinite Calendar is fixed to set properly the size option.
|
|
75
|
-
* Sets the size of the component.
|
|
76
|
-
*
|
|
77
|
-
* The possible values are:
|
|
78
|
-
* * `small`
|
|
79
|
-
* * `medium`
|
|
80
|
-
* * `large`
|
|
81
|
-
*
|
|
82
|
-
* @default undefined
|
|
83
|
-
*/
|
|
84
|
-
set size(size: DateInputSize);
|
|
85
|
-
get size(): DateInputSize;
|
|
86
|
-
private _size;
|
|
87
|
-
/**
|
|
88
|
-
* @hidden
|
|
89
|
-
*/
|
|
90
|
-
id: string;
|
|
91
|
-
/**
|
|
92
|
-
* Specifies the focused date of the Calendar
|
|
93
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/multiviewcalendar/dates#focused-dates)).
|
|
94
|
-
*
|
|
95
|
-
* If the Calendar is outside the `min` or `max` range, the component normalizes the defined `focusedDate`.
|
|
96
|
-
*/
|
|
97
|
-
set focusedDate(focusedDate: Date);
|
|
98
|
-
get focusedDate(): Date;
|
|
99
|
-
/**
|
|
100
|
-
* Toggles the visibility of the footer.
|
|
101
|
-
*
|
|
102
|
-
* @default false
|
|
103
|
-
*/
|
|
104
|
-
footer: boolean;
|
|
105
|
-
/**
|
|
106
|
-
* @hidden
|
|
107
|
-
*/
|
|
108
|
-
get headerId(): string;
|
|
109
|
-
/**
|
|
110
|
-
* @hidden
|
|
111
|
-
*/
|
|
112
|
-
get multiViewCalendarHeaderIdLabel(): string;
|
|
113
|
-
/**
|
|
114
|
-
* @hidden
|
|
115
|
-
*/
|
|
116
|
-
get calendarHeaderIdLabel(): string;
|
|
117
|
-
/**
|
|
118
|
-
* Specifies the minimum allowed date value
|
|
119
|
-
*
|
|
120
|
-
* @default 1970-01-01
|
|
121
|
-
*/
|
|
122
|
-
set min(min: Date);
|
|
123
|
-
get min(): Date;
|
|
124
|
-
/**
|
|
125
|
-
* Specifies the maximum allowed date value
|
|
126
|
-
*
|
|
127
|
-
* @default 2099-12-31
|
|
128
|
-
*/
|
|
129
|
-
set max(max: Date);
|
|
130
|
-
get max(): Date;
|
|
131
|
-
/**
|
|
132
|
-
* Determines whether the built-in `min` or `max` validators are enforced when validating a form.
|
|
133
|
-
*
|
|
134
|
-
* @default false
|
|
135
|
-
*/
|
|
136
|
-
rangeValidation: boolean;
|
|
137
|
-
/**
|
|
138
|
-
* Determines whether the built-in validator for disabled
|
|
139
|
-
* date ranges is enforced when validating a form
|
|
140
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/multiviewcalendar/disabled-dates)).
|
|
141
|
-
*
|
|
142
|
-
* @default false
|
|
143
|
-
*/
|
|
144
|
-
disabledDatesRangeValidation: boolean;
|
|
145
|
-
/**
|
|
146
|
-
* Sets the Calendar selection mode
|
|
147
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/multiviewcalendar/selection-modes)).
|
|
148
|
-
* @default 'single'
|
|
149
|
-
*/
|
|
150
|
-
set selection(_selection: CalendarSelection);
|
|
151
|
-
get selection(): CalendarSelection;
|
|
152
|
-
private _selection;
|
|
153
|
-
/**
|
|
154
|
-
* Allows reverse selection when using `range` selection.
|
|
155
|
-
* If `allowReverse` is set to `true`, the component skips the validation of whether the start date is after the end date.
|
|
156
|
-
*
|
|
157
|
-
* @default false
|
|
158
|
-
*/
|
|
159
|
-
allowReverse: boolean;
|
|
160
|
-
/**
|
|
161
|
-
* Sets or gets the `value` property of the Calendar and defines the selected value of the component.
|
|
162
|
-
*
|
|
163
|
-
* > The `value` has to be a valid [JavaScript `Date`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Date)
|
|
164
|
-
instance when in `single` selection mode, an array of valid JavaScript Date instances when in `multiple` selection mode, or
|
|
165
|
-
an object of type `SelectionRange` when in `range` selection mode.
|
|
166
|
-
*/
|
|
167
|
-
set value(candidate: Date | Date[] | SelectionRange | null);
|
|
168
|
-
get value(): Date | Date[] | SelectionRange | null;
|
|
169
|
-
/**
|
|
170
|
-
* Specifies whether the component is disabled
|
|
171
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/multiviewcalendar/disabled-state)).
|
|
172
|
-
* 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/multiviewcalendar/forms#managing-the-multiviewcalendar-disabled-state-in-reactive-forms).
|
|
173
|
-
*
|
|
174
|
-
* @default false
|
|
175
|
-
*/
|
|
176
|
-
disabled: boolean;
|
|
177
|
-
/**
|
|
178
|
-
* Specifies the `tabindex` property of the Calendar. Based on the
|
|
179
|
-
* [HTML `tabindex`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex) behavior,
|
|
180
|
-
* it determines whether the component is focusable.
|
|
181
|
-
*
|
|
182
|
-
* @default 0
|
|
183
|
-
*/
|
|
184
|
-
tabindex: number;
|
|
185
|
-
/**
|
|
186
|
-
* @hidden
|
|
187
|
-
*/
|
|
188
|
-
set tabIndex(tabIndex: number);
|
|
189
|
-
get tabIndex(): number;
|
|
190
|
-
/**
|
|
191
|
-
* Specifies the format of the displayed week day names.
|
|
192
|
-
*
|
|
193
|
-
* @default 'short'
|
|
194
|
-
*/
|
|
195
|
-
weekDaysFormat?: WeekDaysFormat;
|
|
196
|
-
/**
|
|
197
|
-
* @hidden
|
|
198
|
-
*/
|
|
199
|
-
isActive: boolean;
|
|
200
|
-
/**
|
|
201
|
-
* Specifies the dates of the MultiViewCalendar that will be disabled
|
|
202
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/multiviewcalendar/disabled-dates)).
|
|
203
|
-
*/
|
|
204
|
-
set disabledDates(value: ((date: Date) => boolean) | Date[] | Day[]);
|
|
205
|
-
/**
|
|
206
|
-
* Specifies the active view that the Calendar initially renders.
|
|
207
|
-
* By default, the active view is `month`.
|
|
208
|
-
*
|
|
209
|
-
* > You have to set `activeView` within the `topView`-`bottomView` range.
|
|
210
|
-
*
|
|
211
|
-
* @default month
|
|
212
|
-
*/
|
|
213
|
-
activeView: CalendarView;
|
|
214
|
-
/**
|
|
215
|
-
* Specifies the bottommost view to which you can navigate.
|
|
216
|
-
*
|
|
217
|
-
* @default month
|
|
218
|
-
*/
|
|
219
|
-
bottomView: CalendarView;
|
|
220
|
-
/**
|
|
221
|
-
* Specifies the topmost view to which you can navigate.
|
|
222
|
-
*
|
|
223
|
-
* @default century
|
|
224
|
-
*/
|
|
225
|
-
topView: CalendarView;
|
|
226
|
-
/**
|
|
227
|
-
* Determines whether to display a header for every view (for example, the month name).
|
|
228
|
-
*
|
|
229
|
-
* @default false
|
|
230
|
-
*/
|
|
231
|
-
showViewHeader: boolean;
|
|
232
|
-
/**
|
|
233
|
-
* Determines whether to enable animation when navigating to previous/next view.
|
|
234
|
-
*
|
|
235
|
-
* > This 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.
|
|
236
|
-
*
|
|
237
|
-
* @default false
|
|
238
|
-
*/
|
|
239
|
-
animateNavigation: boolean;
|
|
240
|
-
/**
|
|
241
|
-
* Specifies whether to display a week number column in the `month` view
|
|
242
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/multiviewcalendar/week-num-column)).
|
|
243
|
-
*
|
|
244
|
-
* @default false
|
|
245
|
-
*/
|
|
246
|
-
weekNumber: boolean;
|
|
247
|
-
/**
|
|
248
|
-
* Specifies which end of the defined selection range should be marked as active.
|
|
249
|
-
*
|
|
250
|
-
* > Value will be ignored if the selection range is undefined.
|
|
251
|
-
* > If range selection is used then the default value is 'start'.
|
|
252
|
-
*/
|
|
253
|
-
set activeRangeEnd(_activeRangeEnd: SelectionRangeEnd);
|
|
254
|
-
get activeRangeEnd(): SelectionRangeEnd;
|
|
255
|
-
/**
|
|
256
|
-
* Specifies the `selectionRange` property and
|
|
257
|
-
* defines the selection range of the component
|
|
258
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/multiviewcalendar/selection-modes#range-selection)).
|
|
259
|
-
* > We recommend using the `value` property as it now supports `range` selection.
|
|
260
|
-
*/
|
|
261
|
-
set selectionRange(range: SelectionRange);
|
|
262
|
-
get selectionRange(): SelectionRange;
|
|
263
|
-
/**
|
|
264
|
-
* Specifies the `views` property and
|
|
265
|
-
* defines the number of rendered months.
|
|
266
|
-
*
|
|
267
|
-
* @default 2
|
|
268
|
-
*/
|
|
269
|
-
views: number;
|
|
270
|
-
/**
|
|
271
|
-
* Specifies the orientation of the MultiViewCalendar.
|
|
272
|
-
*
|
|
273
|
-
* The available values are:
|
|
274
|
-
* * `horizontal` (default)
|
|
275
|
-
* * `vertical`
|
|
276
|
-
*/
|
|
277
|
-
orientation: CalendarOrientation;
|
|
278
|
-
/**
|
|
279
|
-
* Fires when the active view is changed
|
|
280
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/multiviewcalendar/events)).
|
|
281
|
-
*/
|
|
282
|
-
activeViewChange: EventEmitter<CalendarView>;
|
|
283
|
-
/**
|
|
284
|
-
* Fires when navigating in the currently active view
|
|
285
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/multiviewcalendar/events)).
|
|
286
|
-
*/
|
|
287
|
-
navigate: EventEmitter<{
|
|
288
|
-
activeView: CalendarView;
|
|
289
|
-
focusedDate: Date;
|
|
290
|
-
}>;
|
|
291
|
-
/**
|
|
292
|
-
* Fires when a view cell is entered
|
|
293
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/multiviewcalendar/events)).
|
|
294
|
-
*/
|
|
295
|
-
cellEnter: EventEmitter<Date>;
|
|
296
|
-
/**
|
|
297
|
-
* Fires when a view cell is leaved
|
|
298
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/multiviewcalendar/events)).
|
|
299
|
-
*/
|
|
300
|
-
cellLeave: EventEmitter<Date>;
|
|
301
|
-
/**
|
|
302
|
-
* Fires when the value is changed
|
|
303
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/multiviewcalendar/events)).
|
|
304
|
-
*/
|
|
305
|
-
valueChange: EventEmitter<any>;
|
|
306
|
-
/**
|
|
307
|
-
* @hidden
|
|
308
|
-
* Fires when the range selection changes.
|
|
309
|
-
*/
|
|
310
|
-
rangeSelectionChange: EventEmitter<any>;
|
|
311
|
-
/**
|
|
312
|
-
* Fires each time the MultiViewCalendar gets blurred
|
|
313
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/multiviewcalendar/events)).
|
|
314
|
-
*/
|
|
315
|
-
blurEvent: EventEmitter<any>;
|
|
316
|
-
/**
|
|
317
|
-
* Fires each time the MultiViewCalendar gets focused
|
|
318
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/multiviewcalendar/events)).
|
|
319
|
-
*/
|
|
320
|
-
focusEvent: EventEmitter<any>;
|
|
321
|
-
/**
|
|
322
|
-
* @hidden
|
|
323
|
-
*/
|
|
324
|
-
focusCalendar: EventEmitter<any>;
|
|
325
|
-
/**
|
|
326
|
-
* @hidden
|
|
327
|
-
*/
|
|
328
|
-
onClosePopup: EventEmitter<any>;
|
|
329
|
-
/**
|
|
330
|
-
* @hidden
|
|
331
|
-
*/
|
|
332
|
-
onTabPress: EventEmitter<any>;
|
|
333
|
-
/**
|
|
334
|
-
* @hidden
|
|
335
|
-
*/
|
|
336
|
-
onShiftTabPress: EventEmitter<any>;
|
|
337
|
-
/**
|
|
338
|
-
* @hidden
|
|
339
|
-
*
|
|
340
|
-
* Queries the template for a cell template declaration.
|
|
341
|
-
* Ignored if a `[cellTemplate]` value is explicitly provided.
|
|
342
|
-
*/
|
|
343
|
-
cellTemplate: CellTemplateDirective;
|
|
344
|
-
/**
|
|
345
|
-
* @hidden
|
|
346
|
-
*
|
|
347
|
-
* Defines the template for each cell.
|
|
348
|
-
* Takes precedence over nested templates in the KendoMultiViewCalendar tag.
|
|
349
|
-
*/
|
|
350
|
-
set cellTemplateRef(template: CellTemplateDirective);
|
|
351
|
-
get cellTemplateRef(): CellTemplateDirective;
|
|
352
|
-
/**
|
|
353
|
-
* @hidden
|
|
354
|
-
*
|
|
355
|
-
* Queries the template for a month cell template declaration.
|
|
356
|
-
* Ignored if a `[monthCellTemplate]` value is explicitly provided.
|
|
357
|
-
*/
|
|
358
|
-
monthCellTemplate: MonthCellTemplateDirective;
|
|
359
|
-
/**
|
|
360
|
-
* @hidden
|
|
361
|
-
*
|
|
362
|
-
* Defines the template for each month cell.
|
|
363
|
-
* Takes precedence over nested templates in the KendoMultiViewCalendar tag.
|
|
364
|
-
*/
|
|
365
|
-
set monthCellTemplateRef(template: MonthCellTemplateDirective);
|
|
366
|
-
get monthCellTemplateRef(): MonthCellTemplateDirective;
|
|
367
|
-
/**
|
|
368
|
-
* @hidden
|
|
369
|
-
*
|
|
370
|
-
* Queries the template for a year cell template declaration.
|
|
371
|
-
* Ignored if a `[yearCellTemplate]` value is explicitly provided.
|
|
372
|
-
*/
|
|
373
|
-
yearCellTemplate: YearCellTemplateDirective;
|
|
374
|
-
/**
|
|
375
|
-
* @hidden
|
|
376
|
-
*
|
|
377
|
-
* Defines the template for each year cell.
|
|
378
|
-
* Takes precedence over nested templates in the KendoMultiViewCalendar tag.
|
|
379
|
-
*/
|
|
380
|
-
set yearCellTemplateRef(template: YearCellTemplateDirective);
|
|
381
|
-
get yearCellTemplateRef(): YearCellTemplateDirective;
|
|
382
|
-
/**
|
|
383
|
-
* @hidden
|
|
384
|
-
*
|
|
385
|
-
* Queries the template for a decade cell template declaration.
|
|
386
|
-
* Ignored if a `[decadeCellTemplate]` value is explicitly provided.
|
|
387
|
-
*/
|
|
388
|
-
decadeCellTemplate: DecadeCellTemplateDirective;
|
|
389
|
-
/**
|
|
390
|
-
* @hidden
|
|
391
|
-
*
|
|
392
|
-
* Defines the template for each decade cell.
|
|
393
|
-
* Takes precedence over nested templates in the KendoMultiViewCalendar tag.
|
|
394
|
-
*/
|
|
395
|
-
set decadeCellTemplateRef(template: DecadeCellTemplateDirective);
|
|
396
|
-
get decadeCellTemplateRef(): DecadeCellTemplateDirective;
|
|
397
|
-
/**
|
|
398
|
-
* @hidden
|
|
399
|
-
*
|
|
400
|
-
* Queries the template for a century cell template declaration.
|
|
401
|
-
* Ignored if a `[centuryCellTemplate]` value is explicitly provided.
|
|
402
|
-
*/
|
|
403
|
-
centuryCellTemplate: CenturyCellTemplateDirective;
|
|
404
|
-
/**
|
|
405
|
-
* @hidden
|
|
406
|
-
*
|
|
407
|
-
* Defines the template for each century cell.
|
|
408
|
-
* Takes precedence over nested templates in the KendoMultiViewCalendar tag.
|
|
409
|
-
*/
|
|
410
|
-
set centuryCellTemplateRef(template: CenturyCellTemplateDirective);
|
|
411
|
-
get centuryCellTemplateRef(): CenturyCellTemplateDirective;
|
|
412
|
-
/**
|
|
413
|
-
* @hidden
|
|
414
|
-
*
|
|
415
|
-
* Queries the template for a week number cell template declaration.
|
|
416
|
-
* Ignored if a `[weekNumberTemplate]` value is explicitly provided.
|
|
417
|
-
*/
|
|
418
|
-
weekNumberTemplate: WeekNumberCellTemplateDirective;
|
|
419
|
-
/**
|
|
420
|
-
* @hidden
|
|
421
|
-
*
|
|
422
|
-
* Defines the template for the week cell.
|
|
423
|
-
* Takes precedence over nested templates in the KendoMultiViewCalendar tag.
|
|
424
|
-
*/
|
|
425
|
-
set weekNumberTemplateRef(template: WeekNumberCellTemplateDirective);
|
|
426
|
-
get weekNumberTemplateRef(): WeekNumberCellTemplateDirective;
|
|
427
|
-
/**
|
|
428
|
-
* @hidden
|
|
429
|
-
*
|
|
430
|
-
* Queries the template for a header title template declaration.
|
|
431
|
-
* Ignored if a `[headerTitleTemplate]` value is explicitly provided.
|
|
432
|
-
*/
|
|
433
|
-
headerTitleTemplate: HeaderTitleTemplateDirective;
|
|
434
|
-
/**
|
|
435
|
-
* @hidden
|
|
436
|
-
*
|
|
437
|
-
* Queries the template for a header template declaration.
|
|
438
|
-
*/
|
|
439
|
-
headerTemplate: HeaderTemplateDirective;
|
|
440
|
-
/**
|
|
441
|
-
* @hidden
|
|
442
|
-
*
|
|
443
|
-
* Queries the template for a header template declaration.
|
|
444
|
-
*/
|
|
445
|
-
footerTemplate: FooterTemplateDirective;
|
|
446
|
-
/**
|
|
447
|
-
* @hidden
|
|
448
|
-
*
|
|
449
|
-
* Defines the template for the Calendar footer.
|
|
450
|
-
* Takes precedence over nested templates in the KendoMultiViewCalendar tag.
|
|
451
|
-
*/
|
|
452
|
-
set footerTemplateRef(template: FooterTemplateDirective);
|
|
453
|
-
get footerTemplateRef(): FooterTemplateDirective;
|
|
454
|
-
/**
|
|
455
|
-
* @hidden
|
|
456
|
-
*
|
|
457
|
-
* Defines the template for the header title.
|
|
458
|
-
* Takes precedence over nested templates in the KendoMultiViewCalendar tag.
|
|
459
|
-
*/
|
|
460
|
-
set headerTitleTemplateRef(template: HeaderTitleTemplateDirective);
|
|
461
|
-
get headerTitleTemplateRef(): HeaderTitleTemplateDirective;
|
|
462
|
-
/**
|
|
463
|
-
* @hidden
|
|
464
|
-
*
|
|
465
|
-
* Defines the template for the Calendar header.
|
|
466
|
-
* Takes precedence over nested templates in the KendoMultiViewCalendar tag.
|
|
467
|
-
*/
|
|
468
|
-
set headerTemplateRef(template: HeaderTemplateDirective);
|
|
469
|
-
get headerTemplateRef(): HeaderTemplateDirective;
|
|
470
|
-
headerElement: ElementRef<HTMLElement>;
|
|
471
|
-
viewList: HorizontalViewListComponent;
|
|
472
|
-
cellUID: string;
|
|
473
|
-
isHovered: boolean;
|
|
474
|
-
activeDate: Date;
|
|
475
|
-
isPrevDisabled: boolean;
|
|
476
|
-
isNextDisabled: boolean;
|
|
477
|
-
prevView: Action;
|
|
478
|
-
nextView: Action;
|
|
479
|
-
selectedDates: Date[];
|
|
480
|
-
rangePivot: Date;
|
|
481
|
-
shouldHoverWhenNoStart: boolean;
|
|
482
|
-
private canHover;
|
|
483
|
-
private changes;
|
|
484
|
-
private valueSetter;
|
|
485
|
-
private selectionSetter;
|
|
486
|
-
private _min;
|
|
487
|
-
private _max;
|
|
488
|
-
private _focusedDate;
|
|
489
|
-
private _value;
|
|
490
|
-
private _selectionRange;
|
|
491
|
-
private _activeRangeEnd;
|
|
492
|
-
private resolvedPromise;
|
|
493
|
-
private onControlChange;
|
|
494
|
-
private onControlTouched;
|
|
495
|
-
private onValidatorChange;
|
|
496
|
-
private minValidateFn;
|
|
497
|
-
private maxValidateFn;
|
|
498
|
-
private disabledDatesRangeValidateFn;
|
|
499
|
-
private subscriptions;
|
|
500
|
-
private _cellTemplateRef;
|
|
501
|
-
private _monthCellTemplateRef;
|
|
502
|
-
private _yearCellTemplateRef;
|
|
503
|
-
private _decadeCellTemplateRef;
|
|
504
|
-
private _centuryCellTemplateRef;
|
|
505
|
-
private _weekNumberTemplateRef;
|
|
506
|
-
private _headerTitleTemplateRef;
|
|
507
|
-
private _headerTemplateRef;
|
|
508
|
-
private _footerTemplateRef;
|
|
509
|
-
get activeViewEnum(): CalendarViewEnum;
|
|
510
|
-
get bottomViewEnum(): CalendarViewEnum;
|
|
511
|
-
get topViewEnum(): CalendarViewEnum;
|
|
512
|
-
get widgetId(): string;
|
|
513
|
-
get ariaDisabled(): boolean;
|
|
514
|
-
/**
|
|
515
|
-
* @hidden
|
|
516
|
-
*/
|
|
517
|
-
get ariaActivedescendant(): string;
|
|
518
|
-
/**
|
|
519
|
-
* @hidden
|
|
520
|
-
*/
|
|
521
|
-
handleFocusout(event: any): void;
|
|
522
|
-
/**
|
|
523
|
-
* @hidden
|
|
524
|
-
*/
|
|
525
|
-
handleFocus(): void;
|
|
526
|
-
/**
|
|
527
|
-
* @hidden
|
|
528
|
-
*/
|
|
529
|
-
handleMouseEnter(): void;
|
|
530
|
-
/**
|
|
531
|
-
* @hidden
|
|
532
|
-
*/
|
|
533
|
-
handleMouseLeave(): void;
|
|
534
|
-
/**
|
|
535
|
-
* @hidden
|
|
536
|
-
*/
|
|
537
|
-
handleMousedown(event: any): void;
|
|
538
|
-
/**
|
|
539
|
-
* @hidden
|
|
540
|
-
*/
|
|
541
|
-
handleClick(): void;
|
|
542
|
-
/**
|
|
543
|
-
* @hidden
|
|
544
|
-
*/
|
|
545
|
-
keydown(event: KeyboardEvent): void;
|
|
546
|
-
constructor(bus: BusViewService, element: ElementRef, navigator: NavigationService, renderer: Renderer2, cdr: ChangeDetectorRef, zone: NgZone, disabledDatesService: DisabledDatesService, selectionService: SelectionService);
|
|
547
|
-
ngOnInit(): void;
|
|
548
|
-
ngOnChanges(changes: any): void;
|
|
549
|
-
ngDoCheck(): void;
|
|
550
|
-
ngOnDestroy(): void;
|
|
551
|
-
ngAfterViewInit(): void;
|
|
552
|
-
/**
|
|
553
|
-
* Focuses the host element of the Calendar.
|
|
554
|
-
*
|
|
555
|
-
* @example
|
|
556
|
-
* ```ts
|
|
557
|
-
* _@Component({
|
|
558
|
-
* selector: 'my-app',
|
|
559
|
-
* template: `
|
|
560
|
-
* <button (click)="multiviewcalendar.focus()">Focus calendar</button>
|
|
561
|
-
* <kendo-multiviewcalendar #multiviewcalendar></kendo-multiviewcalendar>
|
|
562
|
-
* `
|
|
563
|
-
* })
|
|
564
|
-
* export class AppComponent { }
|
|
565
|
-
* ```
|
|
566
|
-
*/
|
|
567
|
-
focus(): void;
|
|
568
|
-
/**
|
|
569
|
-
* Blurs the Calendar component.
|
|
570
|
-
*/
|
|
571
|
-
blur(): void;
|
|
572
|
-
/**
|
|
573
|
-
* @hidden
|
|
574
|
-
*/
|
|
575
|
-
handleDateChange(args: {
|
|
576
|
-
selectedDates: Date[];
|
|
577
|
-
focusedDate: Date;
|
|
578
|
-
}): void;
|
|
579
|
-
/**
|
|
580
|
-
* @hidden
|
|
581
|
-
*/
|
|
582
|
-
onCellEnter(cellEnter: any, date: Date): void;
|
|
583
|
-
/**
|
|
584
|
-
* @hidden
|
|
585
|
-
*/
|
|
586
|
-
handleTodayButtonClick(args: {
|
|
587
|
-
selectedDates: Date[];
|
|
588
|
-
focusedDate: Date;
|
|
589
|
-
}): void;
|
|
590
|
-
/**
|
|
591
|
-
* @hidden
|
|
592
|
-
*/
|
|
593
|
-
setActiveDate(date: Date): void;
|
|
594
|
-
/**
|
|
595
|
-
* @hidden
|
|
596
|
-
*/
|
|
597
|
-
writeValue(candidate: Date | Date[]): void;
|
|
598
|
-
/**
|
|
599
|
-
* @hidden
|
|
600
|
-
*/
|
|
601
|
-
registerOnChange(fn: any): void;
|
|
602
|
-
/**
|
|
603
|
-
* @hidden
|
|
604
|
-
*/
|
|
605
|
-
registerOnTouched(fn: any): void;
|
|
606
|
-
/**
|
|
607
|
-
* @hidden
|
|
608
|
-
*/
|
|
609
|
-
setDisabledState(isDisabled: boolean): void;
|
|
610
|
-
/**
|
|
611
|
-
* @hidden
|
|
612
|
-
*/
|
|
613
|
-
validate(control: AbstractControl): {
|
|
614
|
-
[key: string]: any;
|
|
615
|
-
};
|
|
616
|
-
/**
|
|
617
|
-
* @hidden
|
|
618
|
-
*/
|
|
619
|
-
registerOnValidatorChange(fn: Function): void;
|
|
620
|
-
/**
|
|
621
|
-
* @hidden
|
|
622
|
-
*/
|
|
623
|
-
activeCellTemplate(): any;
|
|
624
|
-
/**
|
|
625
|
-
* @hidden
|
|
626
|
-
*/
|
|
627
|
-
navigateView(action: Action): void;
|
|
628
|
-
/**
|
|
629
|
-
* @hidden
|
|
630
|
-
*/
|
|
631
|
-
emitNavigate(focusedDate: Date): void;
|
|
632
|
-
/**
|
|
633
|
-
* @hidden
|
|
634
|
-
*/
|
|
635
|
-
emitCellEvent(emitter: any, args: any): void;
|
|
636
|
-
/**
|
|
637
|
-
* @hidden
|
|
638
|
-
*/
|
|
639
|
-
handleCellClick({ date, modifiers }: any): void;
|
|
640
|
-
/**
|
|
641
|
-
* @hidden
|
|
642
|
-
*/
|
|
643
|
-
handleWeekNumberClick(dates: Date[]): void;
|
|
644
|
-
private setClasses;
|
|
645
|
-
private verifyChanges;
|
|
646
|
-
private verifyValue;
|
|
647
|
-
private updateButtonState;
|
|
648
|
-
private parseSelectionToValue;
|
|
649
|
-
private setValue;
|
|
650
|
-
private setRangeSelectionToValue;
|
|
651
|
-
private performRangeSelection;
|
|
652
|
-
private performSelection;
|
|
653
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MultiViewCalendarComponent, never>;
|
|
654
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MultiViewCalendarComponent, "kendo-multiviewcalendar", ["kendo-multiviewcalendar"], { "showOtherMonthDays": { "alias": "showOtherMonthDays"; "required": false; }; "showCalendarHeader": { "alias": "showCalendarHeader"; "required": false; }; "size": { "alias": "size"; "required": false; }; "id": { "alias": "id"; "required": false; }; "focusedDate": { "alias": "focusedDate"; "required": false; }; "footer": { "alias": "footer"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "rangeValidation": { "alias": "rangeValidation"; "required": false; }; "disabledDatesRangeValidation": { "alias": "disabledDatesRangeValidation"; "required": false; }; "selection": { "alias": "selection"; "required": false; }; "allowReverse": { "alias": "allowReverse"; "required": false; }; "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "weekDaysFormat": { "alias": "weekDaysFormat"; "required": false; }; "isActive": { "alias": "isActive"; "required": false; }; "disabledDates": { "alias": "disabledDates"; "required": false; }; "activeView": { "alias": "activeView"; "required": false; }; "bottomView": { "alias": "bottomView"; "required": false; }; "topView": { "alias": "topView"; "required": false; }; "showViewHeader": { "alias": "showViewHeader"; "required": false; }; "animateNavigation": { "alias": "animateNavigation"; "required": false; }; "weekNumber": { "alias": "weekNumber"; "required": false; }; "activeRangeEnd": { "alias": "activeRangeEnd"; "required": false; }; "selectionRange": { "alias": "selectionRange"; "required": false; }; "views": { "alias": "views"; "required": false; }; "orientation": { "alias": "orientation"; "required": false; }; "cellTemplateRef": { "alias": "cellTemplate"; "required": false; }; "monthCellTemplateRef": { "alias": "monthCellTemplate"; "required": false; }; "yearCellTemplateRef": { "alias": "yearCellTemplate"; "required": false; }; "decadeCellTemplateRef": { "alias": "decadeCellTemplate"; "required": false; }; "centuryCellTemplateRef": { "alias": "centuryCellTemplate"; "required": false; }; "weekNumberTemplateRef": { "alias": "weekNumberTemplate"; "required": false; }; "footerTemplateRef": { "alias": "footerTemplate"; "required": false; }; "headerTitleTemplateRef": { "alias": "headerTitleTemplate"; "required": false; }; "headerTemplateRef": { "alias": "headerTemplate"; "required": false; }; }, { "activeViewChange": "activeViewChange"; "navigate": "navigate"; "cellEnter": "cellEnter"; "cellLeave": "cellLeave"; "valueChange": "valueChange"; "rangeSelectionChange": "rangeSelectionChange"; "blurEvent": "blur"; "focusEvent": "focus"; "focusCalendar": "focusCalendar"; "onClosePopup": "onClosePopup"; "onTabPress": "onTabPress"; "onShiftTabPress": "onShiftTabPress"; }, ["cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "headerTemplate", "footerTemplate"], never, true, never>;
|
|
655
|
-
}
|