@progress/kendo-angular-dateinputs 15.1.0-develop.2 → 15.1.0-develop.3
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/calendar/calendar.component.d.ts +11 -2
- package/calendar/horizontal-view-list.component.d.ts +2 -2
- package/calendar/models/cell-context.interface.d.ts +1 -1
- package/calendar/multiview-calendar.component.d.ts +5 -5
- package/calendar/view-list.component.d.ts +2 -1
- package/calendar/view.component.d.ts +2 -5
- package/datepicker/datepicker.component.d.ts +8 -1
- package/datetimepicker/datetimepicker.component.d.ts +8 -1
- package/esm2020/calendar/calendar.component.mjs +25 -4
- package/esm2020/calendar/horizontal-view-list.component.mjs +6 -6
- package/esm2020/calendar/multiview-calendar.component.mjs +9 -9
- package/esm2020/calendar/view-list.component.mjs +6 -2
- package/esm2020/calendar/view.component.mjs +4 -9
- package/esm2020/datepicker/datepicker.component.mjs +6 -2
- package/esm2020/daterange/date-range-popup.component.mjs +1 -1
- package/esm2020/datetimepicker/datetimepicker.component.mjs +6 -2
- package/esm2020/package-metadata.mjs +2 -2
- package/fesm2015/progress-kendo-angular-dateinputs.mjs +65 -37
- package/fesm2020/progress-kendo-angular-dateinputs.mjs +65 -37
- package/package.json +11 -11
|
@@ -70,6 +70,15 @@ export declare class CalendarComponent implements ControlValueAccessor, OnChange
|
|
|
70
70
|
localization: LocalizationService;
|
|
71
71
|
private selectionService;
|
|
72
72
|
private pickerService?;
|
|
73
|
+
/**
|
|
74
|
+
* Displays the days that fall out of the current month ([see example]({% slug viewoptions_calendar %}#toc-displaying-other-month-days)).
|
|
75
|
+
* The default values per Calendar type are:
|
|
76
|
+
* - `infinite` - false
|
|
77
|
+
* - `classic` - true
|
|
78
|
+
*/
|
|
79
|
+
set showOtherMonthDays(_showOtherMonthDays: boolean);
|
|
80
|
+
get showOtherMonthDays(): boolean;
|
|
81
|
+
private _showOtherMonthDays;
|
|
73
82
|
/**
|
|
74
83
|
* @hidden
|
|
75
84
|
*/
|
|
@@ -162,7 +171,7 @@ export declare class CalendarComponent implements ControlValueAccessor, OnChange
|
|
|
162
171
|
navigation: boolean;
|
|
163
172
|
/**
|
|
164
173
|
* Defines the active view that the Calendar initially renders
|
|
165
|
-
* ([see example]({% slug
|
|
174
|
+
* ([see example]({% slug viewoptions_calendar %})).
|
|
166
175
|
* By default, the active view is `month`.
|
|
167
176
|
*
|
|
168
177
|
* > You have to set `activeView` within the `topView`-`bottomView` range.
|
|
@@ -552,5 +561,5 @@ export declare class CalendarComponent implements ControlValueAccessor, OnChange
|
|
|
552
561
|
private parseSelectionToValue;
|
|
553
562
|
private performSelection;
|
|
554
563
|
static ɵfac: i0.ɵɵFactoryDeclaration<CalendarComponent, [null, null, null, null, null, null, null, null, null, null, null, null, { optional: true; }]>;
|
|
555
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CalendarComponent, "kendo-calendar", ["kendo-calendar"], { "id": "id"; "focusedDate": "focusedDate"; "min": "min"; "max": "max"; "rangeValidation": "rangeValidation"; "selection": "selection"; "value": "value"; "disabled": "disabled"; "tabindex": "tabindex"; "tabIndex": "tabIndex"; "disabledDates": "disabledDates"; "navigation": "navigation"; "activeView": "activeView"; "bottomView": "bottomView"; "topView": "topView"; "type": "type"; "animateNavigation": "animateNavigation"; "weekNumber": "weekNumber"; "cellTemplateRef": "cellTemplate"; "monthCellTemplateRef": "monthCellTemplate"; "yearCellTemplateRef": "yearCellTemplate"; "decadeCellTemplateRef": "decadeCellTemplate"; "centuryCellTemplateRef": "centuryCellTemplate"; "weekNumberTemplateRef": "weekNumberTemplate"; "headerTitleTemplateRef": "headerTitleTemplate"; "navigationItemTemplateRef": "navigationItemTemplate"; "size": "size"; }, { "activeViewChange": "activeViewChange"; "navigate": "navigate"; "activeViewDateChange": "activeViewDateChange"; "onBlur": "blur"; "onFocus": "focus"; "valueChange": "valueChange"; }, ["cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "navigationItemTemplate"], never>;
|
|
564
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CalendarComponent, "kendo-calendar", ["kendo-calendar"], { "showOtherMonthDays": "showOtherMonthDays"; "id": "id"; "focusedDate": "focusedDate"; "min": "min"; "max": "max"; "rangeValidation": "rangeValidation"; "selection": "selection"; "value": "value"; "disabled": "disabled"; "tabindex": "tabindex"; "tabIndex": "tabIndex"; "disabledDates": "disabledDates"; "navigation": "navigation"; "activeView": "activeView"; "bottomView": "bottomView"; "topView": "topView"; "type": "type"; "animateNavigation": "animateNavigation"; "weekNumber": "weekNumber"; "cellTemplateRef": "cellTemplate"; "monthCellTemplateRef": "monthCellTemplate"; "yearCellTemplateRef": "yearCellTemplate"; "decadeCellTemplateRef": "decadeCellTemplate"; "centuryCellTemplateRef": "centuryCellTemplate"; "weekNumberTemplateRef": "weekNumberTemplate"; "headerTitleTemplateRef": "headerTitleTemplate"; "navigationItemTemplateRef": "navigationItemTemplate"; "size": "size"; }, { "activeViewChange": "activeViewChange"; "navigate": "navigate"; "activeViewDateChange": "activeViewDateChange"; "onBlur": "blur"; "onFocus": "focus"; "valueChange": "valueChange"; }, ["cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "navigationItemTemplate"], never>;
|
|
556
565
|
}
|
|
@@ -26,7 +26,7 @@ export declare class HorizontalViewListComponent implements OnChanges, AfterView
|
|
|
26
26
|
/**
|
|
27
27
|
* Needed for the MultiViewCalendar used in the Scheduler Year view
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
showOtherMonthDays: boolean;
|
|
30
30
|
handleMultiViewCalendarFocus(): void;
|
|
31
31
|
handleMultiViewCalendarBlur(event: any): void;
|
|
32
32
|
cellTemplateRef: TemplateRef<any>;
|
|
@@ -104,5 +104,5 @@ export declare class HorizontalViewListComponent implements OnChanges, AfterView
|
|
|
104
104
|
private getTake;
|
|
105
105
|
private setAriaActivedescendant;
|
|
106
106
|
static ɵfac: i0.ɵɵFactoryDeclaration<HorizontalViewListComponent, never>;
|
|
107
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<HorizontalViewListComponent, "kendo-calendar-horizontal", never, { "
|
|
107
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HorizontalViewListComponent, "kendo-calendar-horizontal", never, { "showOtherMonthDays": "showOtherMonthDays"; "cellTemplateRef": "cellTemplateRef"; "weekNumberTemplateRef": "weekNumberTemplateRef"; "activeRangeEnd": "activeRangeEnd"; "activeView": "activeView"; "cellUID": "cellUID"; "focusedDate": "focusedDate"; "isActive": "isActive"; "min": "min"; "max": "max"; "selectionRange": "selectionRange"; "selectedDates": "selectedDates"; "views": "views"; "showViewHeader": "showViewHeader"; "animateNavigation": "animateNavigation"; "orientation": "orientation"; "activeDescendant": "activeDescendant"; "tabIndex": "tabIndex"; "disabled": "disabled"; "id": "id"; "weekNumber": "weekNumber"; }, { "cellClick": "cellClick"; "weekNumberCellClick": "weekNumberCellClick"; "cellEnter": "cellEnter"; "cellLeave": "cellLeave"; "activeDateChange": "activeDateChange"; "focusCalendar": "focusCalendar"; "blurCalendar": "blurCalendar"; "focusedCellChange": "focusedCellChange"; }, never, never>;
|
|
108
108
|
}
|
|
@@ -58,10 +58,10 @@ export declare class MultiViewCalendarComponent implements AfterViewInit, Contro
|
|
|
58
58
|
private disabledDatesService;
|
|
59
59
|
private selectionService;
|
|
60
60
|
/**
|
|
61
|
-
*
|
|
62
|
-
* @
|
|
61
|
+
* Displays the days that fall out of the current month ([see example]({% slug viewoptions_multiviewcalendar %}#toc-displaying-other-month-days)).
|
|
62
|
+
* @default true
|
|
63
63
|
*/
|
|
64
|
-
|
|
64
|
+
showOtherMonthDays: boolean;
|
|
65
65
|
/**
|
|
66
66
|
* @hidden
|
|
67
67
|
*
|
|
@@ -164,7 +164,7 @@ export declare class MultiViewCalendarComponent implements AfterViewInit, Contro
|
|
|
164
164
|
set disabledDates(value: ((date: Date) => boolean) | Date[] | Day[]);
|
|
165
165
|
/**
|
|
166
166
|
* Defines the active view that the Calendar initially renders
|
|
167
|
-
* ([see example]({% slug
|
|
167
|
+
* ([see example]({% slug viewoptions_multiviewcalendar %})).
|
|
168
168
|
* By default, the active view is `month`.
|
|
169
169
|
*
|
|
170
170
|
* > You have to set `activeView` within the `topView`-`bottomView` range.
|
|
@@ -547,5 +547,5 @@ export declare class MultiViewCalendarComponent implements AfterViewInit, Contro
|
|
|
547
547
|
private parseSelectionToValue;
|
|
548
548
|
private performSelection;
|
|
549
549
|
static ɵfac: i0.ɵɵFactoryDeclaration<MultiViewCalendarComponent, never>;
|
|
550
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MultiViewCalendarComponent, "kendo-multiviewcalendar", ["kendo-multiviewcalendar"], { "
|
|
550
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MultiViewCalendarComponent, "kendo-multiviewcalendar", ["kendo-multiviewcalendar"], { "showOtherMonthDays": "showOtherMonthDays"; "showCalendarHeader": "showCalendarHeader"; "id": "id"; "focusedDate": "focusedDate"; "min": "min"; "max": "max"; "rangeValidation": "rangeValidation"; "disabledDatesRangeValidation": "disabledDatesRangeValidation"; "selection": "selection"; "value": "value"; "disabled": "disabled"; "tabindex": "tabindex"; "tabIndex": "tabIndex"; "isActive": "isActive"; "disabledDates": "disabledDates"; "activeView": "activeView"; "bottomView": "bottomView"; "topView": "topView"; "showViewHeader": "showViewHeader"; "animateNavigation": "animateNavigation"; "weekNumber": "weekNumber"; "activeRangeEnd": "activeRangeEnd"; "selectionRange": "selectionRange"; "views": "views"; "orientation": "orientation"; "cellTemplateRef": "cellTemplate"; "monthCellTemplateRef": "monthCellTemplate"; "yearCellTemplateRef": "yearCellTemplate"; "decadeCellTemplateRef": "decadeCellTemplate"; "centuryCellTemplateRef": "centuryCellTemplate"; "weekNumberTemplateRef": "weekNumberTemplate"; "headerTitleTemplateRef": "headerTitleTemplate"; }, { "activeViewChange": "activeViewChange"; "navigate": "navigate"; "cellEnter": "cellEnter"; "cellLeave": "cellLeave"; "valueChange": "valueChange"; "blurEvent": "blur"; "focusEvent": "focus"; "focusCalendar": "focusCalendar"; "onClosePopup": "onClosePopup"; "onTabPress": "onTabPress"; "onShiftTabPress": "onShiftTabPress"; }, ["cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate"], never>;
|
|
551
551
|
}
|
|
@@ -24,6 +24,7 @@ export declare class ViewListComponent implements OnChanges, OnDestroy, AfterVie
|
|
|
24
24
|
cellTemplateRef: TemplateRef<any>;
|
|
25
25
|
weekNumberTemplateRef: TemplateRef<any>;
|
|
26
26
|
headerTitleTemplateRef: TemplateRef<any>;
|
|
27
|
+
showOtherMonthDays: boolean;
|
|
27
28
|
activeView: CalendarViewEnum;
|
|
28
29
|
cellUID: string;
|
|
29
30
|
focusedDate: Date;
|
|
@@ -88,5 +89,5 @@ export declare class ViewListComponent implements OnChanges, OnDestroy, AfterVie
|
|
|
88
89
|
private getWeekNames;
|
|
89
90
|
private intlChange;
|
|
90
91
|
static ɵfac: i0.ɵɵFactoryDeclaration<ViewListComponent, never>;
|
|
91
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ViewListComponent, "kendo-calendar-viewlist", never, { "cellTemplateRef": "cellTemplateRef"; "weekNumberTemplateRef": "weekNumberTemplateRef"; "headerTitleTemplateRef": "headerTitleTemplateRef"; "activeView": "activeView"; "cellUID": "cellUID"; "focusedDate": "focusedDate"; "isActive": "isActive"; "min": "min"; "max": "max"; "selectedDates": "selectedDates"; "tabIndex": "tabIndex"; "disabled": "disabled"; "id": "id"; "weekNumber": "weekNumber"; }, { "cellClick": "cellClick"; "weekNumberCellClick": "weekNumberCellClick"; "activeDateChange": "activeDateChange"; "todayButtonClick": "todayButtonClick"; "pageChange": "pageChange"; "focusCalendar": "focusCalendar"; "blurCalendar": "blurCalendar"; "focusedCellChange": "focusedCellChange"; }, never, never>;
|
|
92
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ViewListComponent, "kendo-calendar-viewlist", never, { "cellTemplateRef": "cellTemplateRef"; "weekNumberTemplateRef": "weekNumberTemplateRef"; "headerTitleTemplateRef": "headerTitleTemplateRef"; "showOtherMonthDays": "showOtherMonthDays"; "activeView": "activeView"; "cellUID": "cellUID"; "focusedDate": "focusedDate"; "isActive": "isActive"; "min": "min"; "max": "max"; "selectedDates": "selectedDates"; "tabIndex": "tabIndex"; "disabled": "disabled"; "id": "id"; "weekNumber": "weekNumber"; }, { "cellClick": "cellClick"; "weekNumberCellClick": "weekNumberCellClick"; "activeDateChange": "activeDateChange"; "todayButtonClick": "todayButtonClick"; "pageChange": "pageChange"; "focusCalendar": "focusCalendar"; "blurCalendar": "blurCalendar"; "focusedCellChange": "focusedCellChange"; }, never, never>;
|
|
92
93
|
}
|
|
@@ -23,10 +23,7 @@ export declare class ViewComponent implements OnChanges, OnDestroy {
|
|
|
23
23
|
private zone;
|
|
24
24
|
private renderer;
|
|
25
25
|
private disabledDatesService;
|
|
26
|
-
|
|
27
|
-
* Needed for the MultiViewCalendar used in the Scheduler Year view
|
|
28
|
-
*/
|
|
29
|
-
showOtherMonthDates: boolean;
|
|
26
|
+
showOtherMonthDays: boolean;
|
|
30
27
|
direction: 'horizontal' | 'vertical';
|
|
31
28
|
isActive: boolean;
|
|
32
29
|
activeView: CalendarViewEnum;
|
|
@@ -84,5 +81,5 @@ export declare class ViewComponent implements OnChanges, OnDestroy {
|
|
|
84
81
|
private emitCellLeave;
|
|
85
82
|
private cellByIndex;
|
|
86
83
|
static ɵfac: i0.ɵɵFactoryDeclaration<ViewComponent, never>;
|
|
87
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ViewComponent, "[kendoCalendarView]", never, { "
|
|
84
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ViewComponent, "[kendoCalendarView]", never, { "showOtherMonthDays": "showOtherMonthDays"; "direction": "direction"; "isActive": "isActive"; "activeView": "activeView"; "cellUID": "cellUID"; "focusedDate": "focusedDate"; "viewDate": "viewDate"; "activeRangeEnd": "activeRangeEnd"; "selectionRange": "selectionRange"; "min": "min"; "max": "max"; "selectedDates": "selectedDates"; "weekNumber": "weekNumber"; "viewIndex": "viewIndex"; "templateRef": "templateRef"; "weekNumberTemplateRef": "weekNumberTemplateRef"; "headerTitle": "headerTitle"; }, { "cellClick": "cellClick"; "weekNumberCellClick": "weekNumberCellClick"; "cellEnter": "cellEnter"; "cellLeave": "cellLeave"; "focusedCellId": "focusedCellId"; }, never, never>;
|
|
88
85
|
}
|
|
@@ -121,6 +121,13 @@ export declare class DatePickerComponent implements ControlValueAccessor, OnInit
|
|
|
121
121
|
* @hidden
|
|
122
122
|
*/
|
|
123
123
|
set navigationItemTemplateRef(template: NavigationItemTemplateDirective);
|
|
124
|
+
/**
|
|
125
|
+
* Displays the days that fall out of the current month in the Calendar ([see example]({% slug calendar_type_datepicker %}#toc-displaying-other-month-days)).
|
|
126
|
+
* The default values per Calendar type are:
|
|
127
|
+
* - `infinite` - false
|
|
128
|
+
* - `classic` - true
|
|
129
|
+
*/
|
|
130
|
+
showOtherMonthDays: boolean;
|
|
124
131
|
/**
|
|
125
132
|
* Defines the active view that the Calendar initially renders
|
|
126
133
|
* ([see example]({% slug calendar_type_datepicker %}#toc-active-view)).
|
|
@@ -678,5 +685,5 @@ export declare class DatePickerComponent implements ControlValueAccessor, OnInit
|
|
|
678
685
|
private handleDateCompletenessChange;
|
|
679
686
|
private setComponentClasses;
|
|
680
687
|
static ɵfac: i0.ɵɵFactoryDeclaration<DatePickerComponent, [null, null, null, null, null, null, null, null, null, { optional: true; }]>;
|
|
681
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DatePickerComponent, "kendo-datepicker", ["kendo-datepicker"], { "focusableId": "focusableId"; "cellTemplateRef": "cellTemplate"; "monthCellTemplateRef": "monthCellTemplate"; "yearCellTemplateRef": "yearCellTemplate"; "decadeCellTemplateRef": "decadeCellTemplate"; "centuryCellTemplateRef": "centuryCellTemplate"; "weekNumberTemplateRef": "weekNumberTemplate"; "headerTitleTemplateRef": "headerTitleTemplate"; "navigationItemTemplateRef": "navigationItemTemplate"; "activeView": "activeView"; "bottomView": "bottomView"; "topView": "topView"; "calendarType": "calendarType"; "animateCalendarNavigation": "animateCalendarNavigation"; "disabled": "disabled"; "readonly": "readonly"; "readOnlyInput": "readOnlyInput"; "popupSettings": "popupSettings"; "navigation": "navigation"; "min": "min"; "max": "max"; "incompleteDateValidation": "incompleteDateValidation"; "autoCorrectParts": "autoCorrectParts"; "autoSwitchParts": "autoSwitchParts"; "autoSwitchKeys": "autoSwitchKeys"; "enableMouseWheel": "enableMouseWheel"; "allowCaretMode": "allowCaretMode"; "autoFill": "autoFill"; "focusedDate": "focusedDate"; "value": "value"; "format": "format"; "twoDigitYearMax": "twoDigitYearMax"; "formatPlaceholder": "formatPlaceholder"; "placeholder": "placeholder"; "tabindex": "tabindex"; "tabIndex": "tabIndex"; "disabledDates": "disabledDates"; "title": "title"; "subtitle": "subtitle"; "rangeValidation": "rangeValidation"; "disabledDatesValidation": "disabledDatesValidation"; "weekNumber": "weekNumber"; "size": "size"; "rounded": "rounded"; "fillMode": "fillMode"; "adaptiveMode": "adaptiveMode"; }, { "valueChange": "valueChange"; "onFocus": "focus"; "onBlur": "blur"; "open": "open"; "close": "close"; }, ["cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "navigationItemTemplate"], never>;
|
|
688
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DatePickerComponent, "kendo-datepicker", ["kendo-datepicker"], { "focusableId": "focusableId"; "cellTemplateRef": "cellTemplate"; "monthCellTemplateRef": "monthCellTemplate"; "yearCellTemplateRef": "yearCellTemplate"; "decadeCellTemplateRef": "decadeCellTemplate"; "centuryCellTemplateRef": "centuryCellTemplate"; "weekNumberTemplateRef": "weekNumberTemplate"; "headerTitleTemplateRef": "headerTitleTemplate"; "navigationItemTemplateRef": "navigationItemTemplate"; "showOtherMonthDays": "showOtherMonthDays"; "activeView": "activeView"; "bottomView": "bottomView"; "topView": "topView"; "calendarType": "calendarType"; "animateCalendarNavigation": "animateCalendarNavigation"; "disabled": "disabled"; "readonly": "readonly"; "readOnlyInput": "readOnlyInput"; "popupSettings": "popupSettings"; "navigation": "navigation"; "min": "min"; "max": "max"; "incompleteDateValidation": "incompleteDateValidation"; "autoCorrectParts": "autoCorrectParts"; "autoSwitchParts": "autoSwitchParts"; "autoSwitchKeys": "autoSwitchKeys"; "enableMouseWheel": "enableMouseWheel"; "allowCaretMode": "allowCaretMode"; "autoFill": "autoFill"; "focusedDate": "focusedDate"; "value": "value"; "format": "format"; "twoDigitYearMax": "twoDigitYearMax"; "formatPlaceholder": "formatPlaceholder"; "placeholder": "placeholder"; "tabindex": "tabindex"; "tabIndex": "tabIndex"; "disabledDates": "disabledDates"; "title": "title"; "subtitle": "subtitle"; "rangeValidation": "rangeValidation"; "disabledDatesValidation": "disabledDatesValidation"; "weekNumber": "weekNumber"; "size": "size"; "rounded": "rounded"; "fillMode": "fillMode"; "adaptiveMode": "adaptiveMode"; }, { "valueChange": "valueChange"; "onFocus": "focus"; "onBlur": "blur"; "open": "open"; "close": "close"; }, ["cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "navigationItemTemplate"], never>;
|
|
682
689
|
}
|
|
@@ -84,6 +84,13 @@ export declare class DateTimePickerComponent implements OnInit, OnChanges, After
|
|
|
84
84
|
* @hidden
|
|
85
85
|
*/
|
|
86
86
|
focusableId: string;
|
|
87
|
+
/**
|
|
88
|
+
* Displays the days that fall out of the current month in the Calendar ([see example]({% slug datetimepicker_calendar_options %}#toc-displaying-other-month-days)).
|
|
89
|
+
* The default values per Calendar type are:
|
|
90
|
+
* - `infinite` - false
|
|
91
|
+
* - `classic` - true
|
|
92
|
+
*/
|
|
93
|
+
showOtherMonthDays: boolean;
|
|
87
94
|
/**
|
|
88
95
|
* Specifies the value of the DateTimePicker component.
|
|
89
96
|
*
|
|
@@ -668,5 +675,5 @@ export declare class DateTimePickerComponent implements OnInit, OnChanges, After
|
|
|
668
675
|
private handleDateCompletenessChange;
|
|
669
676
|
private setComponentClasses;
|
|
670
677
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateTimePickerComponent, never>;
|
|
671
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DateTimePickerComponent, "kendo-datetimepicker", ["kendo-datetimepicker"], { "focusableId": "focusableId"; "value": "value"; "format": "format"; "twoDigitYearMax": "twoDigitYearMax"; "tabindex": "tabindex"; "disabledDates": "disabledDates"; "popupSettings": "popupSettings"; "title": "title"; "subtitle": "subtitle"; "disabled": "disabled"; "readonly": "readonly"; "readOnlyInput": "readOnlyInput"; "cancelButton": "cancelButton"; "formatPlaceholder": "formatPlaceholder"; "placeholder": "placeholder"; "steps": "steps"; "focusedDate": "focusedDate"; "calendarType": "calendarType"; "animateCalendarNavigation": "animateCalendarNavigation"; "weekNumber": "weekNumber"; "min": "min"; "max": "max"; "rangeValidation": "rangeValidation"; "disabledDatesValidation": "disabledDatesValidation"; "incompleteDateValidation": "incompleteDateValidation"; "autoCorrectParts": "autoCorrectParts"; "autoSwitchParts": "autoSwitchParts"; "autoSwitchKeys": "autoSwitchKeys"; "enableMouseWheel": "enableMouseWheel"; "allowCaretMode": "allowCaretMode"; "autoFill": "autoFill"; "adaptiveMode": "adaptiveMode"; "defaultTab": "defaultTab"; "size": "size"; "rounded": "rounded"; "fillMode": "fillMode"; }, { "valueChange": "valueChange"; "open": "open"; "close": "close"; "onFocus": "focus"; "onBlur": "blur"; }, ["cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate"], never>;
|
|
678
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DateTimePickerComponent, "kendo-datetimepicker", ["kendo-datetimepicker"], { "focusableId": "focusableId"; "showOtherMonthDays": "showOtherMonthDays"; "value": "value"; "format": "format"; "twoDigitYearMax": "twoDigitYearMax"; "tabindex": "tabindex"; "disabledDates": "disabledDates"; "popupSettings": "popupSettings"; "title": "title"; "subtitle": "subtitle"; "disabled": "disabled"; "readonly": "readonly"; "readOnlyInput": "readOnlyInput"; "cancelButton": "cancelButton"; "formatPlaceholder": "formatPlaceholder"; "placeholder": "placeholder"; "steps": "steps"; "focusedDate": "focusedDate"; "calendarType": "calendarType"; "animateCalendarNavigation": "animateCalendarNavigation"; "weekNumber": "weekNumber"; "min": "min"; "max": "max"; "rangeValidation": "rangeValidation"; "disabledDatesValidation": "disabledDatesValidation"; "incompleteDateValidation": "incompleteDateValidation"; "autoCorrectParts": "autoCorrectParts"; "autoSwitchParts": "autoSwitchParts"; "autoSwitchKeys": "autoSwitchKeys"; "enableMouseWheel": "enableMouseWheel"; "allowCaretMode": "allowCaretMode"; "autoFill": "autoFill"; "adaptiveMode": "adaptiveMode"; "defaultTab": "defaultTab"; "size": "size"; "rounded": "rounded"; "fillMode": "fillMode"; }, { "valueChange": "valueChange"; "open": "open"; "close": "close"; "onFocus": "focus"; "onBlur": "blur"; }, ["cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate"], never>;
|
|
672
679
|
}
|
|
@@ -144,7 +144,7 @@ export class CalendarComponent {
|
|
|
144
144
|
this.navigation = true;
|
|
145
145
|
/**
|
|
146
146
|
* Defines the active view that the Calendar initially renders
|
|
147
|
-
* ([see example]({% slug
|
|
147
|
+
* ([see example]({% slug viewoptions_calendar %})).
|
|
148
148
|
* By default, the active view is `month`.
|
|
149
149
|
*
|
|
150
150
|
* > You have to set `activeView` within the `topView`-`bottomView` range.
|
|
@@ -227,6 +227,21 @@ export class CalendarComponent {
|
|
|
227
227
|
this.pickerService.calendar = this;
|
|
228
228
|
}
|
|
229
229
|
}
|
|
230
|
+
/**
|
|
231
|
+
* Displays the days that fall out of the current month ([see example]({% slug viewoptions_calendar %}#toc-displaying-other-month-days)).
|
|
232
|
+
* The default values per Calendar type are:
|
|
233
|
+
* - `infinite` - false
|
|
234
|
+
* - `classic` - true
|
|
235
|
+
*/
|
|
236
|
+
set showOtherMonthDays(_showOtherMonthDays) {
|
|
237
|
+
this._showOtherMonthDays = _showOtherMonthDays;
|
|
238
|
+
}
|
|
239
|
+
get showOtherMonthDays() {
|
|
240
|
+
if (this._showOtherMonthDays === undefined) {
|
|
241
|
+
return this.type === 'classic';
|
|
242
|
+
}
|
|
243
|
+
return this._showOtherMonthDays;
|
|
244
|
+
}
|
|
230
245
|
/**
|
|
231
246
|
* @hidden
|
|
232
247
|
*/
|
|
@@ -955,7 +970,7 @@ export class CalendarComponent {
|
|
|
955
970
|
}
|
|
956
971
|
}
|
|
957
972
|
CalendarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: CalendarComponent, deps: [{ token: i1.BusViewService }, { token: i2.CalendarDOMService }, { token: i0.ElementRef }, { token: i3.NavigationService }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i0.Injector }, { token: i4.ScrollSyncService }, { token: i5.DisabledDatesService }, { token: i6.LocalizationService }, { token: i7.SelectionService }, { token: i8.PickerService, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
958
|
-
CalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: CalendarComponent, selector: "kendo-calendar", inputs: { id: "id", focusedDate: "focusedDate", min: "min", max: "max", rangeValidation: "rangeValidation", selection: "selection", value: "value", disabled: "disabled", tabindex: "tabindex", tabIndex: "tabIndex", disabledDates: "disabledDates", navigation: "navigation", activeView: "activeView", bottomView: "bottomView", topView: "topView", type: "type", animateNavigation: "animateNavigation", weekNumber: "weekNumber", cellTemplateRef: ["cellTemplate", "cellTemplateRef"], monthCellTemplateRef: ["monthCellTemplate", "monthCellTemplateRef"], yearCellTemplateRef: ["yearCellTemplate", "yearCellTemplateRef"], decadeCellTemplateRef: ["decadeCellTemplate", "decadeCellTemplateRef"], centuryCellTemplateRef: ["centuryCellTemplate", "centuryCellTemplateRef"], weekNumberTemplateRef: ["weekNumberTemplate", "weekNumberTemplateRef"], headerTitleTemplateRef: ["headerTitleTemplate", "headerTitleTemplateRef"], navigationItemTemplateRef: ["navigationItemTemplate", "navigationItemTemplateRef"], size: "size" }, outputs: { activeViewChange: "activeViewChange", navigate: "navigate", activeViewDateChange: "activeViewDateChange", onBlur: "blur", onFocus: "focus", valueChange: "valueChange" }, host: { properties: { "class.k-week-number": "this.weekNumber", "attr.id": "this.widgetId", "attr.aria-disabled": "this.ariaDisabled", "class.k-disabled": "this.ariaDisabled" } }, providers: [
|
|
973
|
+
CalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: CalendarComponent, selector: "kendo-calendar", inputs: { showOtherMonthDays: "showOtherMonthDays", id: "id", focusedDate: "focusedDate", min: "min", max: "max", rangeValidation: "rangeValidation", selection: "selection", value: "value", disabled: "disabled", tabindex: "tabindex", tabIndex: "tabIndex", disabledDates: "disabledDates", navigation: "navigation", activeView: "activeView", bottomView: "bottomView", topView: "topView", type: "type", animateNavigation: "animateNavigation", weekNumber: "weekNumber", cellTemplateRef: ["cellTemplate", "cellTemplateRef"], monthCellTemplateRef: ["monthCellTemplate", "monthCellTemplateRef"], yearCellTemplateRef: ["yearCellTemplate", "yearCellTemplateRef"], decadeCellTemplateRef: ["decadeCellTemplate", "decadeCellTemplateRef"], centuryCellTemplateRef: ["centuryCellTemplate", "centuryCellTemplateRef"], weekNumberTemplateRef: ["weekNumberTemplate", "weekNumberTemplateRef"], headerTitleTemplateRef: ["headerTitleTemplate", "headerTitleTemplateRef"], navigationItemTemplateRef: ["navigationItemTemplate", "navigationItemTemplateRef"], size: "size" }, outputs: { activeViewChange: "activeViewChange", navigate: "navigate", activeViewDateChange: "activeViewDateChange", onBlur: "blur", onFocus: "focus", valueChange: "valueChange" }, host: { properties: { "class.k-week-number": "this.weekNumber", "attr.id": "this.widgetId", "attr.aria-disabled": "this.ariaDisabled", "class.k-disabled": "this.ariaDisabled" } }, providers: [
|
|
959
974
|
BusViewService,
|
|
960
975
|
CALENDAR_VALUE_ACCESSOR,
|
|
961
976
|
CALENDAR_RANGE_VALIDATORS,
|
|
@@ -998,6 +1013,7 @@ CalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
998
1013
|
</kendo-calendar-navigation>
|
|
999
1014
|
<kendo-calendar-viewlist
|
|
1000
1015
|
[activeView]="activeViewEnum"
|
|
1016
|
+
[showOtherMonthDays]="showOtherMonthDays"
|
|
1001
1017
|
[isActive]="isActive"
|
|
1002
1018
|
[id]="headerId"
|
|
1003
1019
|
[cellTemplateRef]="activeCellTemplate()?.templateRef"
|
|
@@ -1034,6 +1050,7 @@ CalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
1034
1050
|
[id]="id"
|
|
1035
1051
|
[disabled]="disabled"
|
|
1036
1052
|
[isActive]="isActive"
|
|
1053
|
+
[showOtherMonthDays]="showOtherMonthDays"
|
|
1037
1054
|
[tabIndex]="tabIndex"
|
|
1038
1055
|
[activeView]="activeView"
|
|
1039
1056
|
[bottomView]="bottomView"
|
|
@@ -1068,7 +1085,7 @@ CalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
1068
1085
|
</kendo-multiviewcalendar-messages>
|
|
1069
1086
|
</kendo-multiviewcalendar>
|
|
1070
1087
|
</ng-container>
|
|
1071
|
-
`, isInline: true, components: [{ type: i9.NavigationComponent, selector: "kendo-calendar-navigation", inputs: ["activeView", "min", "max", "focusedDate", "templateRef"], outputs: ["valueChange", "pageChange"] }, { type: i10.ViewListComponent, selector: "kendo-calendar-viewlist", inputs: ["cellTemplateRef", "weekNumberTemplateRef", "headerTitleTemplateRef", "activeView", "cellUID", "focusedDate", "isActive", "min", "max", "selectedDates", "tabIndex", "disabled", "id", "weekNumber"], outputs: ["cellClick", "weekNumberCellClick", "activeDateChange", "todayButtonClick", "pageChange", "focusCalendar", "blurCalendar", "focusedCellChange"] }, { type: i11.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { type: i12.MultiViewCalendarComponent, selector: "kendo-multiviewcalendar", inputs: ["
|
|
1088
|
+
`, isInline: true, components: [{ type: i9.NavigationComponent, selector: "kendo-calendar-navigation", inputs: ["activeView", "min", "max", "focusedDate", "templateRef"], outputs: ["valueChange", "pageChange"] }, { type: i10.ViewListComponent, selector: "kendo-calendar-viewlist", inputs: ["cellTemplateRef", "weekNumberTemplateRef", "headerTitleTemplateRef", "showOtherMonthDays", "activeView", "cellUID", "focusedDate", "isActive", "min", "max", "selectedDates", "tabIndex", "disabled", "id", "weekNumber"], outputs: ["cellClick", "weekNumberCellClick", "activeDateChange", "todayButtonClick", "pageChange", "focusCalendar", "blurCalendar", "focusedCellChange"] }, { type: i11.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { type: i12.MultiViewCalendarComponent, selector: "kendo-multiviewcalendar", inputs: ["showOtherMonthDays", "showCalendarHeader", "id", "focusedDate", "min", "max", "rangeValidation", "disabledDatesRangeValidation", "selection", "value", "disabled", "tabindex", "tabIndex", "isActive", "disabledDates", "activeView", "bottomView", "topView", "showViewHeader", "animateNavigation", "weekNumber", "activeRangeEnd", "selectionRange", "views", "orientation", "cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate"], outputs: ["activeViewChange", "navigate", "cellEnter", "cellLeave", "valueChange", "blur", "focus", "focusCalendar", "onClosePopup", "onTabPress", "onShiftTabPress"], exportAs: ["kendo-multiviewcalendar"] }, { type: i13.MultiViewCalendarCustomMessagesComponent, selector: "kendo-multiviewcalendar-messages" }], directives: [{ type: i14.CalendarLocalizedMessagesDirective, selector: "[kendoCalendarLocalizedMessages]" }, { type: i15.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1072
1089
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: CalendarComponent, decorators: [{
|
|
1073
1090
|
type: Component,
|
|
1074
1091
|
args: [{
|
|
@@ -1119,6 +1136,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
1119
1136
|
</kendo-calendar-navigation>
|
|
1120
1137
|
<kendo-calendar-viewlist
|
|
1121
1138
|
[activeView]="activeViewEnum"
|
|
1139
|
+
[showOtherMonthDays]="showOtherMonthDays"
|
|
1122
1140
|
[isActive]="isActive"
|
|
1123
1141
|
[id]="headerId"
|
|
1124
1142
|
[cellTemplateRef]="activeCellTemplate()?.templateRef"
|
|
@@ -1155,6 +1173,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
1155
1173
|
[id]="id"
|
|
1156
1174
|
[disabled]="disabled"
|
|
1157
1175
|
[isActive]="isActive"
|
|
1176
|
+
[showOtherMonthDays]="showOtherMonthDays"
|
|
1158
1177
|
[tabIndex]="tabIndex"
|
|
1159
1178
|
[activeView]="activeView"
|
|
1160
1179
|
[bottomView]="bottomView"
|
|
@@ -1193,7 +1212,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
1193
1212
|
}]
|
|
1194
1213
|
}], ctorParameters: function () { return [{ type: i1.BusViewService }, { type: i2.CalendarDOMService }, { type: i0.ElementRef }, { type: i3.NavigationService }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i0.Injector }, { type: i4.ScrollSyncService }, { type: i5.DisabledDatesService }, { type: i6.LocalizationService }, { type: i7.SelectionService }, { type: i8.PickerService, decorators: [{
|
|
1195
1214
|
type: Optional
|
|
1196
|
-
}] }]; }, propDecorators: {
|
|
1215
|
+
}] }]; }, propDecorators: { showOtherMonthDays: [{
|
|
1216
|
+
type: Input
|
|
1217
|
+
}], id: [{
|
|
1197
1218
|
type: Input
|
|
1198
1219
|
}], focusedDate: [{
|
|
1199
1220
|
type: Input
|
|
@@ -36,7 +36,7 @@ export class HorizontalViewListComponent {
|
|
|
36
36
|
/**
|
|
37
37
|
* Needed for the MultiViewCalendar used in the Scheduler Year view
|
|
38
38
|
*/
|
|
39
|
-
this.
|
|
39
|
+
this.showOtherMonthDays = true;
|
|
40
40
|
this.activeView = CalendarViewEnum.month;
|
|
41
41
|
this.isActive = true;
|
|
42
42
|
this.min = new Date(MIN_DATE);
|
|
@@ -280,7 +280,7 @@ export class HorizontalViewListComponent {
|
|
|
280
280
|
}
|
|
281
281
|
}
|
|
282
282
|
HorizontalViewListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: HorizontalViewListComponent, deps: [{ token: i1.BusViewService }, { token: i2.IntlService }, { token: i3.WeekNamesService }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
283
|
-
HorizontalViewListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: HorizontalViewListComponent, selector: "kendo-calendar-horizontal", inputs: {
|
|
283
|
+
HorizontalViewListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: HorizontalViewListComponent, selector: "kendo-calendar-horizontal", inputs: { showOtherMonthDays: "showOtherMonthDays", cellTemplateRef: "cellTemplateRef", weekNumberTemplateRef: "weekNumberTemplateRef", activeRangeEnd: "activeRangeEnd", activeView: "activeView", cellUID: "cellUID", focusedDate: "focusedDate", isActive: "isActive", min: "min", max: "max", selectionRange: "selectionRange", selectedDates: "selectedDates", views: "views", showViewHeader: "showViewHeader", animateNavigation: "animateNavigation", orientation: "orientation", activeDescendant: "activeDescendant", tabIndex: "tabIndex", disabled: "disabled", id: "id", weekNumber: "weekNumber" }, outputs: { cellClick: "cellClick", weekNumberCellClick: "weekNumberCellClick", cellEnter: "cellEnter", cellLeave: "cellLeave", activeDateChange: "activeDateChange", focusCalendar: "focusCalendar", blurCalendar: "blurCalendar", focusedCellChange: "focusedCellChange" }, host: { listeners: { "focus": "handleMultiViewCalendarFocus()", "blur": "handleMultiViewCalendarBlur($event)" }, properties: { "class.k-calendar-view": "this.getComponentClass", "class.k-align-items-start": "this.getComponentClass", "class.k-justify-content-center": "this.getComponentClass", "class.k-hstack": "this.horizontalHostClass", "class.k-vstack": "this.verticalHostClass", "class.k-calendar-monthview": "this.getComponentMonthClass", "class.k-calendar-yearview": "this.getComponentYearClass", "class.k-calendar-decadeview": "this.getComponentDecadeClass", "class.k-calendar-centuryview": "this.getComponentCenturyClass", "attr.role": "this.role", "attr.tabindex": "this.tabindex" } }, usesOnChanges: true, ngImport: i0, template: `
|
|
284
284
|
<ng-template #tableTemplate let-date="date" let-class="className">
|
|
285
285
|
<table
|
|
286
286
|
[attr.role]="views >= 2 ? 'none' : 'grid'"
|
|
@@ -306,7 +306,7 @@ HorizontalViewListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.
|
|
|
306
306
|
<tbody
|
|
307
307
|
class="k-calendar-tbody"
|
|
308
308
|
kendoCalendarView
|
|
309
|
-
[
|
|
309
|
+
[showOtherMonthDays]="showOtherMonthDays"
|
|
310
310
|
role="rowgroup"
|
|
311
311
|
direction="horizontal"
|
|
312
312
|
[activeView]="activeView"
|
|
@@ -362,7 +362,7 @@ HorizontalViewListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.
|
|
|
362
362
|
}"
|
|
363
363
|
>
|
|
364
364
|
</ng-template>
|
|
365
|
-
`, isInline: true, components: [{ type: i4.ViewComponent, selector: "[kendoCalendarView]", inputs: ["
|
|
365
|
+
`, isInline: true, components: [{ type: i4.ViewComponent, selector: "[kendoCalendarView]", inputs: ["showOtherMonthDays", "direction", "isActive", "activeView", "cellUID", "focusedDate", "viewDate", "activeRangeEnd", "selectionRange", "min", "max", "selectedDates", "weekNumber", "viewIndex", "templateRef", "weekNumberTemplateRef", "headerTitle"], outputs: ["cellClick", "weekNumberCellClick", "cellEnter", "cellLeave", "focusedCellId"] }], directives: [{ type: i5.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i5.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i5.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i6.KForOf, selector: "[kFor][kForOf]", inputs: ["kForOf", "kForTrackBy", "kForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
366
366
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: HorizontalViewListComponent, decorators: [{
|
|
367
367
|
type: Component,
|
|
368
368
|
args: [{
|
|
@@ -394,7 +394,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
394
394
|
<tbody
|
|
395
395
|
class="k-calendar-tbody"
|
|
396
396
|
kendoCalendarView
|
|
397
|
-
[
|
|
397
|
+
[showOtherMonthDays]="showOtherMonthDays"
|
|
398
398
|
role="rowgroup"
|
|
399
399
|
direction="horizontal"
|
|
400
400
|
[activeView]="activeView"
|
|
@@ -452,7 +452,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
452
452
|
</ng-template>
|
|
453
453
|
`
|
|
454
454
|
}]
|
|
455
|
-
}], ctorParameters: function () { return [{ type: i1.BusViewService }, { type: i2.IntlService }, { type: i3.WeekNamesService }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: {
|
|
455
|
+
}], ctorParameters: function () { return [{ type: i1.BusViewService }, { type: i2.IntlService }, { type: i3.WeekNamesService }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { showOtherMonthDays: [{
|
|
456
456
|
type: Input
|
|
457
457
|
}], handleMultiViewCalendarFocus: [{
|
|
458
458
|
type: HostListener,
|
|
@@ -84,10 +84,10 @@ export class MultiViewCalendarComponent {
|
|
|
84
84
|
this.disabledDatesService = disabledDatesService;
|
|
85
85
|
this.selectionService = selectionService;
|
|
86
86
|
/**
|
|
87
|
-
*
|
|
88
|
-
* @
|
|
87
|
+
* Displays the days that fall out of the current month ([see example]({% slug viewoptions_multiviewcalendar %}#toc-displaying-other-month-days)).
|
|
88
|
+
* @default true
|
|
89
89
|
*/
|
|
90
|
-
this.
|
|
90
|
+
this.showOtherMonthDays = true;
|
|
91
91
|
/**
|
|
92
92
|
* @hidden
|
|
93
93
|
*
|
|
@@ -132,7 +132,7 @@ export class MultiViewCalendarComponent {
|
|
|
132
132
|
this.isActive = false;
|
|
133
133
|
/**
|
|
134
134
|
* Defines the active view that the Calendar initially renders
|
|
135
|
-
* ([see example]({% slug
|
|
135
|
+
* ([see example]({% slug viewoptions_multiviewcalendar %})).
|
|
136
136
|
* By default, the active view is `month`.
|
|
137
137
|
*
|
|
138
138
|
* > You have to set `activeView` within the `topView`-`bottomView` range.
|
|
@@ -841,7 +841,7 @@ export class MultiViewCalendarComponent {
|
|
|
841
841
|
}
|
|
842
842
|
}
|
|
843
843
|
MultiViewCalendarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: MultiViewCalendarComponent, deps: [{ token: i1.BusViewService }, { token: i0.ElementRef }, { token: i2.NavigationService }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i3.DisabledDatesService }, { token: i4.SelectionService }], target: i0.ɵɵFactoryTarget.Component });
|
|
844
|
-
MultiViewCalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: MultiViewCalendarComponent, selector: "kendo-multiviewcalendar", inputs: {
|
|
844
|
+
MultiViewCalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: MultiViewCalendarComponent, selector: "kendo-multiviewcalendar", inputs: { showOtherMonthDays: "showOtherMonthDays", showCalendarHeader: "showCalendarHeader", id: "id", focusedDate: "focusedDate", min: "min", max: "max", rangeValidation: "rangeValidation", disabledDatesRangeValidation: "disabledDatesRangeValidation", selection: "selection", value: "value", disabled: "disabled", tabindex: "tabindex", tabIndex: "tabIndex", isActive: "isActive", disabledDates: "disabledDates", activeView: "activeView", bottomView: "bottomView", topView: "topView", showViewHeader: "showViewHeader", animateNavigation: "animateNavigation", weekNumber: "weekNumber", activeRangeEnd: "activeRangeEnd", selectionRange: "selectionRange", views: "views", orientation: "orientation", cellTemplateRef: ["cellTemplate", "cellTemplateRef"], monthCellTemplateRef: ["monthCellTemplate", "monthCellTemplateRef"], yearCellTemplateRef: ["yearCellTemplate", "yearCellTemplateRef"], decadeCellTemplateRef: ["decadeCellTemplate", "decadeCellTemplateRef"], centuryCellTemplateRef: ["centuryCellTemplate", "centuryCellTemplateRef"], weekNumberTemplateRef: ["weekNumberTemplate", "weekNumberTemplateRef"], headerTitleTemplateRef: ["headerTitleTemplate", "headerTitleTemplateRef"] }, outputs: { activeViewChange: "activeViewChange", navigate: "navigate", cellEnter: "cellEnter", cellLeave: "cellLeave", valueChange: "valueChange", blurEvent: "blur", focusEvent: "focus", focusCalendar: "focusCalendar", onClosePopup: "onClosePopup", onTabPress: "onTabPress", onShiftTabPress: "onShiftTabPress" }, host: { listeners: { "mouseenter": "handleMouseEnter()", "mouseleave": "handleMouseLeave()", "mousedown": "handleMousedown($event)", "click": "handleClick()", "keydown": "keydown($event)" }, properties: { "attr.id": "this.widgetId", "attr.aria-disabled": "this.ariaDisabled", "class.k-disabled": "this.ariaDisabled" } }, providers: [
|
|
845
845
|
BusViewService,
|
|
846
846
|
RANGE_CALENDAR_VALUE_ACCESSOR,
|
|
847
847
|
RANGE_CALENDAR_RANGE_VALIDATORS,
|
|
@@ -887,7 +887,7 @@ MultiViewCalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
887
887
|
>
|
|
888
888
|
</kendo-calendar-header>
|
|
889
889
|
<kendo-calendar-horizontal
|
|
890
|
-
[
|
|
890
|
+
[showOtherMonthDays]="showOtherMonthDays"
|
|
891
891
|
[id]="calendarHeaderIdLabel"
|
|
892
892
|
[attr.aria-labelledby]="multiViewCalendarHeaderIdLabel"
|
|
893
893
|
[activeView]="activeViewEnum"
|
|
@@ -918,7 +918,7 @@ MultiViewCalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
918
918
|
(blurCalendar)="handleFocusout($event)"
|
|
919
919
|
>
|
|
920
920
|
</kendo-calendar-horizontal>
|
|
921
|
-
`, isInline: true, components: [{ type: i5.HeaderComponent, selector: "kendo-calendar-header", inputs: ["activeView", "currentDate", "min", "max", "rangeLength", "templateRef", "isPrevDisabled", "isNextDisabled", "showNavigationButtons", "orientation", "id"], outputs: ["todayButtonClick", "prevButtonClick", "nextButtonClick"] }, { type: i6.HorizontalViewListComponent, selector: "kendo-calendar-horizontal", inputs: ["
|
|
921
|
+
`, isInline: true, components: [{ type: i5.HeaderComponent, selector: "kendo-calendar-header", inputs: ["activeView", "currentDate", "min", "max", "rangeLength", "templateRef", "isPrevDisabled", "isNextDisabled", "showNavigationButtons", "orientation", "id"], outputs: ["todayButtonClick", "prevButtonClick", "nextButtonClick"] }, { type: i6.HorizontalViewListComponent, selector: "kendo-calendar-horizontal", inputs: ["showOtherMonthDays", "cellTemplateRef", "weekNumberTemplateRef", "activeRangeEnd", "activeView", "cellUID", "focusedDate", "isActive", "min", "max", "selectionRange", "selectedDates", "views", "showViewHeader", "animateNavigation", "orientation", "activeDescendant", "tabIndex", "disabled", "id", "weekNumber"], outputs: ["cellClick", "weekNumberCellClick", "cellEnter", "cellLeave", "activeDateChange", "focusCalendar", "blurCalendar", "focusedCellChange"] }], directives: [{ type: i7.MultiViewCalendarLocalizedMessagesDirective, selector: "[kendoMultiViewCalendarLocalizedMessages]" }, { type: i8.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
922
922
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: MultiViewCalendarComponent, decorators: [{
|
|
923
923
|
type: Component,
|
|
924
924
|
args: [{
|
|
@@ -972,7 +972,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
972
972
|
>
|
|
973
973
|
</kendo-calendar-header>
|
|
974
974
|
<kendo-calendar-horizontal
|
|
975
|
-
[
|
|
975
|
+
[showOtherMonthDays]="showOtherMonthDays"
|
|
976
976
|
[id]="calendarHeaderIdLabel"
|
|
977
977
|
[attr.aria-labelledby]="multiViewCalendarHeaderIdLabel"
|
|
978
978
|
[activeView]="activeViewEnum"
|
|
@@ -1005,7 +1005,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
1005
1005
|
</kendo-calendar-horizontal>
|
|
1006
1006
|
`
|
|
1007
1007
|
}]
|
|
1008
|
-
}], ctorParameters: function () { return [{ type: i1.BusViewService }, { type: i0.ElementRef }, { type: i2.NavigationService }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i3.DisabledDatesService }, { type: i4.SelectionService }]; }, propDecorators: {
|
|
1008
|
+
}], ctorParameters: function () { return [{ type: i1.BusViewService }, { type: i0.ElementRef }, { type: i2.NavigationService }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i3.DisabledDatesService }, { type: i4.SelectionService }]; }, propDecorators: { showOtherMonthDays: [{
|
|
1009
1009
|
type: Input
|
|
1010
1010
|
}], showCalendarHeader: [{
|
|
1011
1011
|
type: Input
|
|
@@ -187,7 +187,7 @@ export class ViewListComponent {
|
|
|
187
187
|
}
|
|
188
188
|
}
|
|
189
189
|
ViewListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ViewListComponent, deps: [{ token: i1.BusViewService }, { token: i0.ChangeDetectorRef }, { token: i2.IntlService }, { token: i3.CalendarDOMService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
190
|
-
ViewListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: ViewListComponent, selector: "kendo-calendar-viewlist", inputs: { cellTemplateRef: "cellTemplateRef", weekNumberTemplateRef: "weekNumberTemplateRef", headerTitleTemplateRef: "headerTitleTemplateRef", activeView: "activeView", cellUID: "cellUID", focusedDate: "focusedDate", isActive: "isActive", min: "min", max: "max", selectedDates: "selectedDates", tabIndex: "tabIndex", disabled: "disabled", id: "id", weekNumber: "weekNumber" }, outputs: { cellClick: "cellClick", weekNumberCellClick: "weekNumberCellClick", activeDateChange: "activeDateChange", todayButtonClick: "todayButtonClick", pageChange: "pageChange", focusCalendar: "focusCalendar", blurCalendar: "blurCalendar", focusedCellChange: "focusedCellChange" }, host: { properties: { "class.k-vstack": "this.getComponentClass", "class.k-calendar-view": "this.getComponentClass", "class.k-calendar-monthview": "this.getComponentMonthClass", "class.k-calendar-yearview": "this.getComponentYearClass", "class.k-calendar-decadeview": "this.getComponentDecadeClass", "class.k-calendar-centuryview": "this.getComponentCenturyClass" } }, viewQueries: [{ propertyName: "virtualization", first: true, predicate: VirtualizationComponent, descendants: true }, { propertyName: "headerComponent", first: true, predicate: HeaderComponent, descendants: true }, { propertyName: "list", first: true, predicate: ["list"], descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
190
|
+
ViewListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: ViewListComponent, selector: "kendo-calendar-viewlist", inputs: { cellTemplateRef: "cellTemplateRef", weekNumberTemplateRef: "weekNumberTemplateRef", headerTitleTemplateRef: "headerTitleTemplateRef", showOtherMonthDays: "showOtherMonthDays", activeView: "activeView", cellUID: "cellUID", focusedDate: "focusedDate", isActive: "isActive", min: "min", max: "max", selectedDates: "selectedDates", tabIndex: "tabIndex", disabled: "disabled", id: "id", weekNumber: "weekNumber" }, outputs: { cellClick: "cellClick", weekNumberCellClick: "weekNumberCellClick", activeDateChange: "activeDateChange", todayButtonClick: "todayButtonClick", pageChange: "pageChange", focusCalendar: "focusCalendar", blurCalendar: "blurCalendar", focusedCellChange: "focusedCellChange" }, host: { properties: { "class.k-vstack": "this.getComponentClass", "class.k-calendar-view": "this.getComponentClass", "class.k-calendar-monthview": "this.getComponentMonthClass", "class.k-calendar-yearview": "this.getComponentYearClass", "class.k-calendar-decadeview": "this.getComponentDecadeClass", "class.k-calendar-centuryview": "this.getComponentCenturyClass" } }, viewQueries: [{ propertyName: "virtualization", first: true, predicate: VirtualizationComponent, descendants: true }, { propertyName: "headerComponent", first: true, predicate: HeaderComponent, descendants: true }, { propertyName: "list", first: true, predicate: ["list"], descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
191
191
|
<kendo-calendar-header
|
|
192
192
|
[currentDate]="activeDate"
|
|
193
193
|
[min]="min"
|
|
@@ -233,6 +233,7 @@ ViewListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
233
233
|
<tbody class="k-calendar-tbody"
|
|
234
234
|
*kFor="let date of dates"
|
|
235
235
|
kendoCalendarView
|
|
236
|
+
[showOtherMonthDays]="showOtherMonthDays"
|
|
236
237
|
[headerTitle]="headerTitle"
|
|
237
238
|
role="rowgroup"
|
|
238
239
|
[activeView]="activeView"
|
|
@@ -251,7 +252,7 @@ ViewListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
251
252
|
></tbody>
|
|
252
253
|
</table>
|
|
253
254
|
</kendo-virtualization>
|
|
254
|
-
`, isInline: true, components: [{ type: i4.HeaderComponent, selector: "kendo-calendar-header", inputs: ["activeView", "currentDate", "min", "max", "rangeLength", "templateRef", "isPrevDisabled", "isNextDisabled", "showNavigationButtons", "orientation", "id"], outputs: ["todayButtonClick", "prevButtonClick", "nextButtonClick"] }, { type: i5.VirtualizationComponent, selector: "kendo-virtualization", inputs: ["direction", "itemHeight", "itemWidth", "topOffset", "bottomOffset", "maxScrollDifference", "scrollOffsetSize", "scrollDuration", "skip", "take", "total"], outputs: ["activeIndexChange", "pageChange", "scrollChange"] }, { type: i6.ViewComponent, selector: "[kendoCalendarView]", inputs: ["
|
|
255
|
+
`, isInline: true, components: [{ type: i4.HeaderComponent, selector: "kendo-calendar-header", inputs: ["activeView", "currentDate", "min", "max", "rangeLength", "templateRef", "isPrevDisabled", "isNextDisabled", "showNavigationButtons", "orientation", "id"], outputs: ["todayButtonClick", "prevButtonClick", "nextButtonClick"] }, { type: i5.VirtualizationComponent, selector: "kendo-virtualization", inputs: ["direction", "itemHeight", "itemWidth", "topOffset", "bottomOffset", "maxScrollDifference", "scrollOffsetSize", "scrollDuration", "skip", "take", "total"], outputs: ["activeIndexChange", "pageChange", "scrollChange"] }, { type: i6.ViewComponent, selector: "[kendoCalendarView]", inputs: ["showOtherMonthDays", "direction", "isActive", "activeView", "cellUID", "focusedDate", "viewDate", "activeRangeEnd", "selectionRange", "min", "max", "selectedDates", "weekNumber", "viewIndex", "templateRef", "weekNumberTemplateRef", "headerTitle"], outputs: ["cellClick", "weekNumberCellClick", "cellEnter", "cellLeave", "focusedCellId"] }], directives: [{ type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i7.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i8.KForOf, selector: "[kFor][kForOf]", inputs: ["kForOf", "kForTrackBy", "kForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
255
256
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ViewListComponent, decorators: [{
|
|
256
257
|
type: Component,
|
|
257
258
|
args: [{
|
|
@@ -303,6 +304,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
303
304
|
<tbody class="k-calendar-tbody"
|
|
304
305
|
*kFor="let date of dates"
|
|
305
306
|
kendoCalendarView
|
|
307
|
+
[showOtherMonthDays]="showOtherMonthDays"
|
|
306
308
|
[headerTitle]="headerTitle"
|
|
307
309
|
role="rowgroup"
|
|
308
310
|
[activeView]="activeView"
|
|
@@ -329,6 +331,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
329
331
|
type: Input
|
|
330
332
|
}], headerTitleTemplateRef: [{
|
|
331
333
|
type: Input
|
|
334
|
+
}], showOtherMonthDays: [{
|
|
335
|
+
type: Input
|
|
332
336
|
}], activeView: [{
|
|
333
337
|
type: Input
|
|
334
338
|
}], cellUID: [{
|
|
@@ -31,10 +31,6 @@ export class ViewComponent {
|
|
|
31
31
|
this.zone = zone;
|
|
32
32
|
this.renderer = renderer;
|
|
33
33
|
this.disabledDatesService = disabledDatesService;
|
|
34
|
-
/**
|
|
35
|
-
* Needed for the MultiViewCalendar used in the Scheduler Year view
|
|
36
|
-
*/
|
|
37
|
-
this.showOtherMonthDates = false;
|
|
38
34
|
this.direction = 'vertical';
|
|
39
35
|
this.isActive = true;
|
|
40
36
|
this.selectedDates = [];
|
|
@@ -88,7 +84,7 @@ export class ViewComponent {
|
|
|
88
84
|
return this.activeView === CalendarViewEnum.month;
|
|
89
85
|
}
|
|
90
86
|
shouldRenderCellContent(cellCtx) {
|
|
91
|
-
return isPresent(cellCtx) &&
|
|
87
|
+
return isPresent(cellCtx) && (!cellCtx.isOtherMonth || (cellCtx.isOtherMonth && this.showOtherMonthDays));
|
|
92
88
|
}
|
|
93
89
|
firstDate(rowCtx) {
|
|
94
90
|
const ctx = this.firstWeekDateContext(rowCtx);
|
|
@@ -135,8 +131,7 @@ export class ViewComponent {
|
|
|
135
131
|
'k-today': !context.isOtherMonth && context.isToday,
|
|
136
132
|
'k-weekend': context.isWeekend,
|
|
137
133
|
'k-disabled': context.isDisabled,
|
|
138
|
-
'k-other-month': context.isOtherMonth
|
|
139
|
-
'k-out-of-range': !this.showOtherMonthDates && context.isOtherMonth
|
|
134
|
+
'k-other-month': context.isOtherMonth
|
|
140
135
|
});
|
|
141
136
|
}
|
|
142
137
|
tableCellIndex(rowIndex, cellIndex) {
|
|
@@ -240,7 +235,7 @@ export class ViewComponent {
|
|
|
240
235
|
}
|
|
241
236
|
}
|
|
242
237
|
ViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ViewComponent, deps: [{ token: i1.BusViewService }, { token: i2.IntlService }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i3.DisabledDatesService }], target: i0.ɵɵFactoryTarget.Component });
|
|
243
|
-
ViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: ViewComponent, selector: "[kendoCalendarView]", inputs: {
|
|
238
|
+
ViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: ViewComponent, selector: "[kendoCalendarView]", inputs: { showOtherMonthDays: "showOtherMonthDays", direction: "direction", isActive: "isActive", activeView: "activeView", cellUID: "cellUID", focusedDate: "focusedDate", viewDate: "viewDate", activeRangeEnd: "activeRangeEnd", selectionRange: "selectionRange", min: "min", max: "max", selectedDates: "selectedDates", weekNumber: "weekNumber", viewIndex: "viewIndex", templateRef: "templateRef", weekNumberTemplateRef: "weekNumberTemplateRef", headerTitle: "headerTitle" }, outputs: { cellClick: "cellClick", weekNumberCellClick: "weekNumberCellClick", cellEnter: "cellEnter", cellLeave: "cellLeave", focusedCellId: "focusedCellId" }, usesOnChanges: true, ngImport: i0, template: `
|
|
244
239
|
<ng-template #emptyCell><td class="k-empty k-calendar-td" role="gridcell"> </td></ng-template>
|
|
245
240
|
<tr *ngIf="!isHorizontal()" class="k-calendar-tr" role="row" [attr.aria-hidden]="ariaHidden"><th class="k-calendar-caption" scope="col" [colSpan]="colSpan">{{title}}</th></tr>
|
|
246
241
|
<tr *kFor="let row of data; let rowIndex = index" class="k-calendar-tr" role="row">
|
|
@@ -346,7 +341,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
346
341
|
</tr>
|
|
347
342
|
`
|
|
348
343
|
}]
|
|
349
|
-
}], ctorParameters: function () { return [{ type: i1.BusViewService }, { type: i2.IntlService }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i3.DisabledDatesService }]; }, propDecorators: {
|
|
344
|
+
}], ctorParameters: function () { return [{ type: i1.BusViewService }, { type: i2.IntlService }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i3.DisabledDatesService }]; }, propDecorators: { showOtherMonthDays: [{
|
|
350
345
|
type: Input
|
|
351
346
|
}], direction: [{
|
|
352
347
|
type: Input
|