@progress/kendo-angular-dateinputs 16.0.0-develop.14 → 16.0.0-develop.16

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.
Files changed (97) hide show
  1. package/calendar/header.component.d.ts +3 -2
  2. package/calendar/multiview-calendar.component.d.ts +18 -1
  3. package/calendar/view-list.component.d.ts +3 -1
  4. package/daterange/date-range-popup.component.d.ts +16 -1
  5. package/daterange/date-range.component.d.ts +16 -1
  6. package/esm2020/calendar/calendar-common.module.mjs +4 -4
  7. package/esm2020/calendar/calendar.component.mjs +19 -16
  8. package/esm2020/calendar/calendar.module.mjs +4 -4
  9. package/esm2020/calendar/calendars.module.mjs +4 -4
  10. package/esm2020/calendar/footer.component.mjs +3 -3
  11. package/esm2020/calendar/for.directive.mjs +3 -3
  12. package/esm2020/calendar/header.component.mjs +41 -23
  13. package/esm2020/calendar/horizontal-view-list.component.mjs +5 -5
  14. package/esm2020/calendar/localization/calendar-custom-messages.component.mjs +3 -3
  15. package/esm2020/calendar/localization/calendar-localized-messages.directive.mjs +3 -3
  16. package/esm2020/calendar/localization/calendar-messages.mjs +3 -3
  17. package/esm2020/calendar/localization/multiview-calendar-custom-messages.component.mjs +3 -3
  18. package/esm2020/calendar/localization/multiview-calendar-localized-messages.directive.mjs +3 -3
  19. package/esm2020/calendar/localization/multiview-calendar-messages.mjs +3 -3
  20. package/esm2020/calendar/multiview-calendar.component.mjs +40 -9
  21. package/esm2020/calendar/multiview-calendar.module.mjs +4 -4
  22. package/esm2020/calendar/navigation.component.mjs +3 -3
  23. package/esm2020/calendar/services/bus-view.service.mjs +3 -3
  24. package/esm2020/calendar/services/century-view.service.mjs +3 -3
  25. package/esm2020/calendar/services/decade-view.service.mjs +3 -3
  26. package/esm2020/calendar/services/disabled-dates.service.mjs +3 -3
  27. package/esm2020/calendar/services/dom.service.mjs +5 -5
  28. package/esm2020/calendar/services/month-view.service.mjs +3 -3
  29. package/esm2020/calendar/services/navigation.service.mjs +3 -3
  30. package/esm2020/calendar/services/scroll-sync.service.mjs +3 -3
  31. package/esm2020/calendar/services/selection.service.mjs +3 -3
  32. package/esm2020/calendar/services/weeknames.service.mjs +3 -3
  33. package/esm2020/calendar/services/year-view.service.mjs +3 -3
  34. package/esm2020/calendar/templates/cell-template.directive.mjs +3 -3
  35. package/esm2020/calendar/templates/century-cell-template.directive.mjs +3 -3
  36. package/esm2020/calendar/templates/decade-cell-template.directive.mjs +3 -3
  37. package/esm2020/calendar/templates/footer-template.directiv/320/265.mjs +3 -3
  38. package/esm2020/calendar/templates/header-template.directive.mjs +3 -3
  39. package/esm2020/calendar/templates/header-title-template.directive.mjs +3 -3
  40. package/esm2020/calendar/templates/month-cell-template.directive.mjs +3 -3
  41. package/esm2020/calendar/templates/navigation-item-template.directive.mjs +3 -3
  42. package/esm2020/calendar/templates/weeknumber-cell-template.directive.mjs +3 -3
  43. package/esm2020/calendar/templates/year-cell-template.directive.mjs +3 -3
  44. package/esm2020/calendar/templates.module.mjs +4 -4
  45. package/esm2020/calendar/view-list.component.mjs +8 -4
  46. package/esm2020/calendar/view.component.mjs +3 -3
  47. package/esm2020/common/adaptive.module.mjs +4 -4
  48. package/esm2020/common/utils.mjs +1 -1
  49. package/esm2020/dateinput/dateinput.component.mjs +3 -3
  50. package/esm2020/dateinput/dateinput.module.mjs +4 -4
  51. package/esm2020/dateinput/localization/dateinput-custom-messages.component.mjs +3 -3
  52. package/esm2020/dateinput/localization/dateinput-localized-messages.directive.mjs +3 -3
  53. package/esm2020/dateinput/localization/messages.mjs +3 -3
  54. package/esm2020/dateinputs.module.mjs +4 -4
  55. package/esm2020/datepicker/datepicker.component.mjs +5 -5
  56. package/esm2020/datepicker/datepicker.module.mjs +4 -4
  57. package/esm2020/datepicker/localization/datepicker-custom-messages.component.mjs +3 -3
  58. package/esm2020/datepicker/localization/datepicker-localized-messages.directive.mjs +3 -3
  59. package/esm2020/datepicker/localization/messages.mjs +3 -3
  60. package/esm2020/daterange/date-range-end-input.directive.mjs +3 -3
  61. package/esm2020/daterange/date-range-input.mjs +3 -3
  62. package/esm2020/daterange/date-range-popup-template.directive.mjs +3 -3
  63. package/esm2020/daterange/date-range-popup.component.mjs +8 -4
  64. package/esm2020/daterange/date-range-selection.directive.mjs +3 -3
  65. package/esm2020/daterange/date-range-start-input.directive.mjs +3 -3
  66. package/esm2020/daterange/date-range.component.mjs +10 -8
  67. package/esm2020/daterange/date-range.module.mjs +4 -4
  68. package/esm2020/daterange/date-range.service.mjs +3 -3
  69. package/esm2020/daterange/localization/daterange-popup-custom-messages.component.mjs +3 -3
  70. package/esm2020/daterange/localization/daterange-popup-localized-messages.directive.mjs +3 -3
  71. package/esm2020/daterange/localization/messages.mjs +3 -3
  72. package/esm2020/datetimepicker/datetimepicker.component.mjs +5 -5
  73. package/esm2020/datetimepicker/datetimepicker.module.mjs +4 -4
  74. package/esm2020/datetimepicker/localization/datetimepicker-custom-messages.component.mjs +3 -3
  75. package/esm2020/datetimepicker/localization/localized-messages.directive.mjs +3 -3
  76. package/esm2020/datetimepicker/localization/messages.mjs +3 -3
  77. package/esm2020/package-metadata.mjs +2 -2
  78. package/esm2020/timepicker/localization/messages.mjs +3 -3
  79. package/esm2020/timepicker/localization/timepicker-custom-messages.component.mjs +3 -3
  80. package/esm2020/timepicker/localization/timepicker-localized-messages.directive.mjs +3 -3
  81. package/esm2020/timepicker/localization/timeselector-custom-messages.component.mjs +3 -3
  82. package/esm2020/timepicker/localization/timeselector-localized-messages.directive.mjs +3 -3
  83. package/esm2020/timepicker/services/dayperiod.service.mjs +3 -3
  84. package/esm2020/timepicker/services/dom.service.mjs +3 -3
  85. package/esm2020/timepicker/services/hours.service.mjs +3 -3
  86. package/esm2020/timepicker/services/milliseconds.service.mjs +3 -3
  87. package/esm2020/timepicker/services/minutes.service.mjs +3 -3
  88. package/esm2020/timepicker/services/seconds.service.mjs +3 -3
  89. package/esm2020/timepicker/timelist.component.mjs +3 -3
  90. package/esm2020/timepicker/timepicker.component.mjs +3 -3
  91. package/esm2020/timepicker/timepicker.module.mjs +4 -4
  92. package/esm2020/timepicker/timeselector.component.mjs +3 -3
  93. package/esm2020/virtualization/virtualization.component.mjs +3 -3
  94. package/esm2020/virtualization/virtualization.module.mjs +4 -4
  95. package/fesm2015/progress-kendo-angular-dateinputs.mjs +391 -329
  96. package/fesm2020/progress-kendo-angular-dateinputs.mjs +391 -329
  97. package/package.json +8 -8
@@ -11,6 +11,7 @@ import { CalendarOrientation } from './models/orientation';
11
11
  import { BusViewService } from './services/bus-view.service';
12
12
  import { DisabledDatesService } from './services/disabled-dates.service';
13
13
  import { SVGIcon } from '@progress/kendo-svg-icons';
14
+ import { DateInputSize } from '../common/models/size';
14
15
  import * as i0 from "@angular/core";
15
16
  /**
16
17
  * @hidden
@@ -49,11 +50,11 @@ export declare class HeaderComponent implements OnChanges, OnInit, OnDestroy {
49
50
  showNavigationButtons: boolean;
50
51
  orientation: CalendarOrientation;
51
52
  id: string;
53
+ size: DateInputSize;
52
54
  todayButtonClick: EventEmitter<Date>;
53
55
  prevButtonClick: EventEmitter<any>;
54
56
  nextButtonClick: EventEmitter<any>;
55
57
  getComponentClass: boolean;
56
- get horizontalHostClass(): boolean;
57
58
  get verticalHostClass(): boolean;
58
59
  private subscriptions;
59
60
  constructor(bus: BusViewService, cdr: ChangeDetectorRef, localization: LocalizationService, intl: IntlService, disabledDatesService: DisabledDatesService);
@@ -68,5 +69,5 @@ export declare class HeaderComponent implements OnChanges, OnInit, OnDestroy {
68
69
  private getTitle;
69
70
  private setTodayAvailability;
70
71
  static ɵfac: i0.ɵɵFactoryDeclaration<HeaderComponent, never>;
71
- static ɵcmp: i0.ɵɵComponentDeclaration<HeaderComponent, "kendo-calendar-header", never, { "activeView": "activeView"; "currentDate": "currentDate"; "min": "min"; "max": "max"; "rangeLength": "rangeLength"; "titleTemplateRef": "titleTemplateRef"; "headerTemplateRef": "headerTemplateRef"; "isPrevDisabled": "isPrevDisabled"; "isNextDisabled": "isNextDisabled"; "showNavigationButtons": "showNavigationButtons"; "orientation": "orientation"; "id": "id"; }, { "todayButtonClick": "todayButtonClick"; "prevButtonClick": "prevButtonClick"; "nextButtonClick": "nextButtonClick"; }, never, never, false, never>;
72
+ static ɵcmp: i0.ɵɵComponentDeclaration<HeaderComponent, "kendo-calendar-header", never, { "activeView": "activeView"; "currentDate": "currentDate"; "min": "min"; "max": "max"; "rangeLength": "rangeLength"; "titleTemplateRef": "titleTemplateRef"; "headerTemplateRef": "headerTemplateRef"; "isPrevDisabled": "isPrevDisabled"; "isNextDisabled": "isNextDisabled"; "showNavigationButtons": "showNavigationButtons"; "orientation": "orientation"; "id": "id"; "size": "size"; }, { "todayButtonClick": "todayButtonClick"; "prevButtonClick": "prevButtonClick"; "nextButtonClick": "nextButtonClick"; }, never, never, false, never>;
72
73
  }
@@ -28,6 +28,7 @@ import { NavigationService } from './services/navigation.service';
28
28
  import { HeaderTemplateDirective } from './templates/header-template.directive';
29
29
  import { FooterTemplateDirective } from './templates/footer-template.directivе';
30
30
  import { WeekDaysFormat } from '../common/models/week-days-format';
31
+ import { DateInputSize } from '../common/models/size';
31
32
  import * as i0 from "@angular/core";
32
33
  /**
33
34
  * @hidden
@@ -71,6 +72,22 @@ export declare class MultiViewCalendarComponent implements AfterViewInit, Contro
71
72
  * Determines whether to display the calendar header.
72
73
  */
73
74
  showCalendarHeader: boolean;
75
+ /**
76
+ * @hidden
77
+ *
78
+ * TODO: Make visible when the Infinite Calendar is fixed to set properly the size option.
79
+ * Sets the size of the component.
80
+ *
81
+ * The possible values are:
82
+ * * `small`
83
+ * * `medium` (Default)
84
+ * * `large`
85
+ * * `none`
86
+ *
87
+ */
88
+ set size(size: DateInputSize);
89
+ get size(): DateInputSize;
90
+ private _size;
74
91
  /**
75
92
  * @hidden
76
93
  */
@@ -624,5 +641,5 @@ export declare class MultiViewCalendarComponent implements AfterViewInit, Contro
624
641
  private performRangeSelection;
625
642
  private performSelection;
626
643
  static ɵfac: i0.ɵɵFactoryDeclaration<MultiViewCalendarComponent, never>;
627
- static ɵcmp: i0.ɵɵComponentDeclaration<MultiViewCalendarComponent, "kendo-multiviewcalendar", ["kendo-multiviewcalendar"], { "showOtherMonthDays": "showOtherMonthDays"; "showCalendarHeader": "showCalendarHeader"; "id": "id"; "focusedDate": "focusedDate"; "footer": "footer"; "min": "min"; "max": "max"; "rangeValidation": "rangeValidation"; "disabledDatesRangeValidation": "disabledDatesRangeValidation"; "selection": "selection"; "allowReverse": "allowReverse"; "value": "value"; "disabled": "disabled"; "tabindex": "tabindex"; "tabIndex": "tabIndex"; "weekDaysFormat": "weekDaysFormat"; "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"; "footerTemplateRef": "footerTemplate"; "headerTitleTemplateRef": "headerTitleTemplate"; "headerTemplateRef": "headerTemplate"; }, { "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, false, never>;
644
+ static ɵcmp: i0.ɵɵComponentDeclaration<MultiViewCalendarComponent, "kendo-multiviewcalendar", ["kendo-multiviewcalendar"], { "showOtherMonthDays": "showOtherMonthDays"; "showCalendarHeader": "showCalendarHeader"; "size": "size"; "id": "id"; "focusedDate": "focusedDate"; "footer": "footer"; "min": "min"; "max": "max"; "rangeValidation": "rangeValidation"; "disabledDatesRangeValidation": "disabledDatesRangeValidation"; "selection": "selection"; "allowReverse": "allowReverse"; "value": "value"; "disabled": "disabled"; "tabindex": "tabindex"; "tabIndex": "tabIndex"; "weekDaysFormat": "weekDaysFormat"; "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"; "footerTemplateRef": "footerTemplate"; "headerTitleTemplateRef": "headerTitleTemplate"; "headerTemplateRef": "headerTemplate"; }, { "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, false, never>;
628
645
  }
@@ -15,6 +15,7 @@ import { WeekDaysFormat } from '../common/models/week-days-format';
15
15
  import { CalendarView } from './models/view.type';
16
16
  import { SelectionRangeEnd } from './models/selection-range-end.type';
17
17
  import { SelectionRange } from './models/selection-range.interface';
18
+ import { DateInputSize } from '../common/models/size';
18
19
  import * as i0 from "@angular/core";
19
20
  /**
20
21
  * @hidden
@@ -46,6 +47,7 @@ export declare class ViewListComponent implements OnChanges, OnDestroy, AfterVie
46
47
  weekDaysFormat: WeekDaysFormat;
47
48
  activeRangeEnd: SelectionRangeEnd;
48
49
  selectionRange: SelectionRange;
50
+ size: DateInputSize;
49
51
  get weekNumber(): boolean;
50
52
  set weekNumber(showWeekNumbers: boolean);
51
53
  cellEnter: EventEmitter<Date>;
@@ -102,5 +104,5 @@ export declare class ViewListComponent implements OnChanges, OnDestroy, AfterVie
102
104
  private getWeekNames;
103
105
  private intlChange;
104
106
  static ɵfac: i0.ɵɵFactoryDeclaration<ViewListComponent, never>;
105
- static ɵcmp: i0.ɵɵComponentDeclaration<ViewListComponent, "kendo-calendar-viewlist", never, { "allowReverse": "allowReverse"; "cellTemplateRef": "cellTemplateRef"; "weekNumberTemplateRef": "weekNumberTemplateRef"; "headerTitleTemplateRef": "headerTitleTemplateRef"; "headerTemplateRef": "headerTemplateRef"; "footerTemplateRef": "footerTemplateRef"; "showOtherMonthDays": "showOtherMonthDays"; "activeView": "activeView"; "cellUID": "cellUID"; "focusedDate": "focusedDate"; "isActive": "isActive"; "min": "min"; "max": "max"; "selectedDates": "selectedDates"; "tabIndex": "tabIndex"; "disabled": "disabled"; "id": "id"; "showFooter": "showFooter"; "weekDaysFormat": "weekDaysFormat"; "activeRangeEnd": "activeRangeEnd"; "selectionRange": "selectionRange"; "weekNumber": "weekNumber"; }, { "cellEnter": "cellEnter"; "cellClick": "cellClick"; "weekNumberCellClick": "weekNumberCellClick"; "activeDateChange": "activeDateChange"; "todayButtonClick": "todayButtonClick"; "pageChange": "pageChange"; "focusCalendar": "focusCalendar"; "blurCalendar": "blurCalendar"; "focusedCellChange": "focusedCellChange"; }, never, never, false, never>;
107
+ static ɵcmp: i0.ɵɵComponentDeclaration<ViewListComponent, "kendo-calendar-viewlist", never, { "allowReverse": "allowReverse"; "cellTemplateRef": "cellTemplateRef"; "weekNumberTemplateRef": "weekNumberTemplateRef"; "headerTitleTemplateRef": "headerTitleTemplateRef"; "headerTemplateRef": "headerTemplateRef"; "footerTemplateRef": "footerTemplateRef"; "showOtherMonthDays": "showOtherMonthDays"; "activeView": "activeView"; "cellUID": "cellUID"; "focusedDate": "focusedDate"; "isActive": "isActive"; "min": "min"; "max": "max"; "selectedDates": "selectedDates"; "tabIndex": "tabIndex"; "disabled": "disabled"; "id": "id"; "showFooter": "showFooter"; "weekDaysFormat": "weekDaysFormat"; "activeRangeEnd": "activeRangeEnd"; "selectionRange": "selectionRange"; "size": "size"; "weekNumber": "weekNumber"; }, { "cellEnter": "cellEnter"; "cellClick": "cellClick"; "weekNumberCellClick": "weekNumberCellClick"; "activeDateChange": "activeDateChange"; "todayButtonClick": "todayButtonClick"; "pageChange": "pageChange"; "focusCalendar": "focusCalendar"; "blurCalendar": "blurCalendar"; "focusedCellChange": "focusedCellChange"; }, never, never, false, never>;
106
108
  }
@@ -14,6 +14,7 @@ import { SVGIcon } from '@progress/kendo-svg-icons';
14
14
  import { DateRangeSelectionDirective } from './date-range-selection.directive';
15
15
  import { ActionSheetComponent } from '@progress/kendo-angular-navigation';
16
16
  import { KeyDown } from '../calendar/models/keydown.interface';
17
+ import { DateInputSize } from '../common/models/size';
17
18
  import * as i0 from "@angular/core";
18
19
  /**
19
20
  * Represents the Kendo UI DateRangePopup component for Angular.
@@ -112,6 +113,20 @@ export declare class DateRangePopupComponent implements OnInit, OnDestroy {
112
113
  set subtitle(subtitle: string);
113
114
  get subtitle(): string;
114
115
  private _subtitle;
116
+ /**
117
+ * @hidden
118
+ *
119
+ * TODO: Make visible when the Infinite Calendar is fixed to set properly the size option.
120
+ * Sets the size of the component.
121
+ *
122
+ * The possible values are:
123
+ * * `small`
124
+ * * `medium` (Default)
125
+ * * `large`
126
+ * * `none`
127
+ *
128
+ */
129
+ size: DateInputSize;
115
130
  /**
116
131
  * Fires each time the popup is about to open
117
132
  * ([see example](slug:popup_daterange#toc-events)).
@@ -257,5 +272,5 @@ export declare class DateRangePopupComponent implements OnInit, OnDestroy {
257
272
  private toggleActionSheet;
258
273
  private updateActionSheetAdaptiveAppearance;
259
274
  static ɵfac: i0.ɵɵFactoryDeclaration<DateRangePopupComponent, [null, null, null, null, null, null, { optional: true; }]>;
260
- static ɵcmp: i0.ɵɵComponentDeclaration<DateRangePopupComponent, "kendo-daterange-popup", ["kendo-daterange-popup"], { "allowReverse": "allowReverse"; "animate": "animate"; "anchor": "anchor"; "anchorAlign": "anchorAlign"; "appendTo": "appendTo"; "collision": "collision"; "popupAlign": "popupAlign"; "margin": "margin"; "adaptiveMode": "adaptiveMode"; "title": "title"; "subtitle": "subtitle"; }, { "open": "open"; "close": "close"; "onBlur": "blur"; "onFocus": "focus"; "cancel": "cancel"; }, ["contentTemplate", "contentCalendar"], never, false, never>;
275
+ static ɵcmp: i0.ɵɵComponentDeclaration<DateRangePopupComponent, "kendo-daterange-popup", ["kendo-daterange-popup"], { "allowReverse": "allowReverse"; "animate": "animate"; "anchor": "anchor"; "anchorAlign": "anchorAlign"; "appendTo": "appendTo"; "collision": "collision"; "popupAlign": "popupAlign"; "margin": "margin"; "adaptiveMode": "adaptiveMode"; "title": "title"; "subtitle": "subtitle"; "size": "size"; }, { "open": "open"; "close": "close"; "onBlur": "blur"; "onFocus": "focus"; "cancel": "cancel"; }, ["contentTemplate", "contentCalendar"], never, false, never>;
261
276
  }
@@ -4,6 +4,7 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { AfterContentInit, OnDestroy } from '@angular/core';
6
6
  import { DateRangeService } from './date-range.service';
7
+ import { DateInputSize } from '../common/models/size';
7
8
  import * as i0 from "@angular/core";
8
9
  /**
9
10
  * Represents the Kendo UI DateRange component for Angular.
@@ -26,6 +27,20 @@ import * as i0 from "@angular/core";
26
27
  */
27
28
  export declare class DateRangeComponent implements AfterContentInit, OnDestroy {
28
29
  private dateRangeService;
30
+ /**
31
+ * @hidden
32
+ *
33
+ * TODO: Make visible when the Infinite Calendar is fixed to set properly the size option.
34
+ * Sets the size of the component.
35
+ *
36
+ * The possible values are:
37
+ * * `small`
38
+ * * `medium` (Default)
39
+ * * `large`
40
+ * * `none`
41
+ *
42
+ */
43
+ size: DateInputSize;
29
44
  /**
30
45
  * @hidden
31
46
  */
@@ -42,5 +57,5 @@ export declare class DateRangeComponent implements AfterContentInit, OnDestroy {
42
57
  ngAfterContentInit(): void;
43
58
  ngOnDestroy(): void;
44
59
  static ɵfac: i0.ɵɵFactoryDeclaration<DateRangeComponent, never>;
45
- static ɵcmp: i0.ɵɵComponentDeclaration<DateRangeComponent, "kendo-daterange", never, {}, {}, ["contentPopup"], ["*"], false, never>;
60
+ static ɵcmp: i0.ɵɵComponentDeclaration<DateRangeComponent, "kendo-daterange", never, { "size": "size"; }, {}, ["contentPopup"], ["*"], false, never>;
46
61
  }
@@ -23,16 +23,16 @@ import * as i0 from "@angular/core";
23
23
  */
24
24
  export class CalendarCommonModule {
25
25
  }
26
- CalendarCommonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: CalendarCommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
27
- CalendarCommonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.4", ngImport: i0, type: CalendarCommonModule, declarations: [KForOf,
26
+ CalendarCommonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CalendarCommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
27
+ CalendarCommonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: CalendarCommonModule, declarations: [KForOf,
28
28
  HeaderComponent,
29
29
  FooterComponent,
30
30
  ViewComponent], imports: [CommonModule, EventsModule, ButtonModule], exports: [KForOf,
31
31
  HeaderComponent,
32
32
  FooterComponent,
33
33
  ViewComponent] });
34
- CalendarCommonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: CalendarCommonModule, imports: [CommonModule, EventsModule, ButtonModule] });
35
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: CalendarCommonModule, decorators: [{
34
+ CalendarCommonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CalendarCommonModule, imports: [CommonModule, EventsModule, ButtonModule] });
35
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CalendarCommonModule, decorators: [{
36
36
  type: NgModule,
37
37
  args: [{
38
38
  declarations: [
@@ -242,7 +242,6 @@ export class CalendarComponent {
242
242
  this.canHover = false;
243
243
  validatePackage(packageMetadata);
244
244
  this.id = `kendo-calendarid-${this.bus.calendarId}`;
245
- this.setClasses(element.nativeElement);
246
245
  if (this.pickerService) {
247
246
  this.pickerService.calendar = this;
248
247
  }
@@ -387,7 +386,9 @@ export class CalendarComponent {
387
386
  */
388
387
  set type(type) {
389
388
  this.renderer.removeClass(this.element.nativeElement, `k-calendar-${this.type}`);
390
- this.renderer.addClass(this.element.nativeElement, `k-calendar-${type}`);
389
+ if (type === 'infinite') {
390
+ this.renderer.addClass(this.element.nativeElement, `k-calendar-${type}`);
391
+ }
391
392
  this._type = type;
392
393
  }
393
394
  get type() {
@@ -526,13 +527,7 @@ export class CalendarComponent {
526
527
  *
527
528
  */
528
529
  set size(size) {
529
- const element = this.type === 'infinite' ? this.element : this.multiViewCalendar.element;
530
- this.renderer.removeClass(element.nativeElement, getSizeClass('calendar', this.size));
531
- const newSize = size ? size : DEFAULT_SIZE;
532
- if (newSize !== 'none') {
533
- this.renderer.addClass(element.nativeElement, getSizeClass('calendar', newSize));
534
- }
535
- this._size = newSize;
530
+ this._size = size;
536
531
  }
537
532
  get size() {
538
533
  return this._size;
@@ -567,6 +562,7 @@ export class CalendarComponent {
567
562
  return this.type === 'classic' ? undefined : this.disabled;
568
563
  }
569
564
  ngOnInit() {
565
+ this.setClasses(this.element.nativeElement);
570
566
  if (this.type === 'infinite') {
571
567
  this.dom.calculateHeights(this.element.nativeElement);
572
568
  this.scrollSyncService.configure(this.activeViewEnum);
@@ -610,6 +606,7 @@ export class CalendarComponent {
610
606
  this.setAriaActivedescendant();
611
607
  if (this.size !== 'none') {
612
608
  const element = this.type === 'infinite' ? this.element : this.multiViewCalendar.element;
609
+ this.renderer.removeClass(element.nativeElement, getSizeClass('calendar', this.size));
613
610
  this.renderer.addClass(element.nativeElement, getSizeClass('calendar', this.size));
614
611
  }
615
612
  }
@@ -957,9 +954,11 @@ export class CalendarComponent {
957
954
  }
958
955
  }
959
956
  setClasses(element) {
960
- this.renderer.addClass(element, 'k-widget');
961
- this.renderer.addClass(element, 'k-calendar');
962
- this.renderer.addClass(element, `k-calendar-${this.type}`);
957
+ this.renderer.removeClass(element, `k-calendar-${this.type}`);
958
+ if (this.type === 'infinite') {
959
+ this.renderer.addClass(element, 'k-calendar');
960
+ this.renderer.addClass(element, `k-calendar-${this.type}`);
961
+ }
963
962
  }
964
963
  verifyChanges() {
965
964
  if (!isDevMode()) {
@@ -1181,8 +1180,8 @@ export class CalendarComponent {
1181
1180
  });
1182
1181
  }
1183
1182
  }
1184
- CalendarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", 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 });
1185
- CalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: CalendarComponent, selector: "kendo-calendar", inputs: { showOtherMonthDays: "showOtherMonthDays", id: "id", focusedDate: "focusedDate", min: "min", max: "max", rangeValidation: "rangeValidation", weekDaysFormat: "weekDaysFormat", footer: "footer", selection: "selection", allowReverse: "allowReverse", 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"], headerTemplateRef: ["headerTemplate", "headerTemplateRef"], footerTemplateRef: ["footerTemplate", "footerTemplateRef"], navigationItemTemplateRef: ["navigationItemTemplate", "navigationItemTemplateRef"], size: "size", activeRangeEnd: "activeRangeEnd" }, 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: [
1183
+ CalendarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", 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 });
1184
+ CalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CalendarComponent, selector: "kendo-calendar", inputs: { showOtherMonthDays: "showOtherMonthDays", id: "id", focusedDate: "focusedDate", min: "min", max: "max", rangeValidation: "rangeValidation", weekDaysFormat: "weekDaysFormat", footer: "footer", selection: "selection", allowReverse: "allowReverse", 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"], headerTemplateRef: ["headerTemplate", "headerTemplateRef"], footerTemplateRef: ["footerTemplate", "footerTemplateRef"], navigationItemTemplateRef: ["navigationItemTemplate", "navigationItemTemplateRef"], size: "size", activeRangeEnd: "activeRangeEnd" }, 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: [
1186
1185
  BusViewService,
1187
1186
  CALENDAR_VALUE_ACCESSOR,
1188
1187
  CALENDAR_RANGE_VALIDATORS,
@@ -1229,6 +1228,7 @@ CalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", vers
1229
1228
  [showOtherMonthDays]="showOtherMonthDays"
1230
1229
  [activeRangeEnd]="activeRangeEnd"
1231
1230
  [selectionRange]="selectionRange"
1231
+ [size]="size"
1232
1232
  [isActive]="isActive"
1233
1233
  [id]="headerId"
1234
1234
  [weekDaysFormat]="weekDaysFormat"
@@ -1267,6 +1267,7 @@ CalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", vers
1267
1267
  [views]="1"
1268
1268
  [min]="min"
1269
1269
  [max]="max"
1270
+ [size]="size"
1270
1271
  [id]="id"
1271
1272
  [activeRangeEnd]="activeRangeEnd"
1272
1273
  [selectionRange]="selectionRange"
@@ -1312,8 +1313,8 @@ CalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", vers
1312
1313
  </kendo-multiviewcalendar-messages>
1313
1314
  </kendo-multiviewcalendar>
1314
1315
  </ng-container>
1315
- `, isInline: true, dependencies: [{ kind: "directive", type: i9.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i10.MultiViewCalendarCustomMessagesComponent, selector: "kendo-multiviewcalendar-messages" }, { kind: "component", type: i11.MultiViewCalendarComponent, selector: "kendo-multiviewcalendar", inputs: ["showOtherMonthDays", "showCalendarHeader", "id", "focusedDate", "footer", "min", "max", "rangeValidation", "disabledDatesRangeValidation", "selection", "allowReverse", "value", "disabled", "tabindex", "tabIndex", "weekDaysFormat", "isActive", "disabledDates", "activeView", "bottomView", "topView", "showViewHeader", "animateNavigation", "weekNumber", "activeRangeEnd", "selectionRange", "views", "orientation", "cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "footerTemplate", "headerTitleTemplate", "headerTemplate"], outputs: ["activeViewChange", "navigate", "cellEnter", "cellLeave", "valueChange", "rangeSelectionChange", "blur", "focus", "focusCalendar", "onClosePopup", "onTabPress", "onShiftTabPress"], exportAs: ["kendo-multiviewcalendar"] }, { kind: "component", type: i12.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { kind: "component", type: i13.NavigationComponent, selector: "kendo-calendar-navigation", inputs: ["activeView", "min", "max", "focusedDate", "templateRef"], outputs: ["valueChange", "pageChange"] }, { kind: "directive", type: i14.CalendarLocalizedMessagesDirective, selector: "[kendoCalendarLocalizedMessages]" }, { kind: "component", type: i15.ViewListComponent, selector: "kendo-calendar-viewlist", inputs: ["allowReverse", "cellTemplateRef", "weekNumberTemplateRef", "headerTitleTemplateRef", "headerTemplateRef", "footerTemplateRef", "showOtherMonthDays", "activeView", "cellUID", "focusedDate", "isActive", "min", "max", "selectedDates", "tabIndex", "disabled", "id", "showFooter", "weekDaysFormat", "activeRangeEnd", "selectionRange", "weekNumber"], outputs: ["cellEnter", "cellClick", "weekNumberCellClick", "activeDateChange", "todayButtonClick", "pageChange", "focusCalendar", "blurCalendar", "focusedCellChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1316
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: CalendarComponent, decorators: [{
1316
+ `, isInline: true, dependencies: [{ kind: "directive", type: i9.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i10.MultiViewCalendarCustomMessagesComponent, selector: "kendo-multiviewcalendar-messages" }, { kind: "component", type: i11.MultiViewCalendarComponent, selector: "kendo-multiviewcalendar", inputs: ["showOtherMonthDays", "showCalendarHeader", "size", "id", "focusedDate", "footer", "min", "max", "rangeValidation", "disabledDatesRangeValidation", "selection", "allowReverse", "value", "disabled", "tabindex", "tabIndex", "weekDaysFormat", "isActive", "disabledDates", "activeView", "bottomView", "topView", "showViewHeader", "animateNavigation", "weekNumber", "activeRangeEnd", "selectionRange", "views", "orientation", "cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "footerTemplate", "headerTitleTemplate", "headerTemplate"], outputs: ["activeViewChange", "navigate", "cellEnter", "cellLeave", "valueChange", "rangeSelectionChange", "blur", "focus", "focusCalendar", "onClosePopup", "onTabPress", "onShiftTabPress"], exportAs: ["kendo-multiviewcalendar"] }, { kind: "component", type: i12.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { kind: "component", type: i13.NavigationComponent, selector: "kendo-calendar-navigation", inputs: ["activeView", "min", "max", "focusedDate", "templateRef"], outputs: ["valueChange", "pageChange"] }, { kind: "directive", type: i14.CalendarLocalizedMessagesDirective, selector: "[kendoCalendarLocalizedMessages]" }, { kind: "component", type: i15.ViewListComponent, selector: "kendo-calendar-viewlist", inputs: ["allowReverse", "cellTemplateRef", "weekNumberTemplateRef", "headerTitleTemplateRef", "headerTemplateRef", "footerTemplateRef", "showOtherMonthDays", "activeView", "cellUID", "focusedDate", "isActive", "min", "max", "selectedDates", "tabIndex", "disabled", "id", "showFooter", "weekDaysFormat", "activeRangeEnd", "selectionRange", "size", "weekNumber"], outputs: ["cellEnter", "cellClick", "weekNumberCellClick", "activeDateChange", "todayButtonClick", "pageChange", "focusCalendar", "blurCalendar", "focusedCellChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1317
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CalendarComponent, decorators: [{
1317
1318
  type: Component,
1318
1319
  args: [{
1319
1320
  changeDetection: ChangeDetectionStrategy.OnPush,
@@ -1367,6 +1368,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
1367
1368
  [showOtherMonthDays]="showOtherMonthDays"
1368
1369
  [activeRangeEnd]="activeRangeEnd"
1369
1370
  [selectionRange]="selectionRange"
1371
+ [size]="size"
1370
1372
  [isActive]="isActive"
1371
1373
  [id]="headerId"
1372
1374
  [weekDaysFormat]="weekDaysFormat"
@@ -1405,6 +1407,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
1405
1407
  [views]="1"
1406
1408
  [min]="min"
1407
1409
  [max]="max"
1410
+ [size]="size"
1408
1411
  [id]="id"
1409
1412
  [activeRangeEnd]="activeRangeEnd"
1410
1413
  [selectionRange]="selectionRange"
@@ -64,8 +64,8 @@ import * as i0 from "@angular/core";
64
64
  */
65
65
  export class CalendarModule {
66
66
  }
67
- CalendarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: CalendarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
68
- CalendarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.4", ngImport: i0, type: CalendarModule, declarations: [CalendarComponent,
67
+ CalendarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CalendarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
68
+ CalendarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: CalendarModule, declarations: [CalendarComponent,
69
69
  NavigationComponent,
70
70
  CalendarCustomMessagesComponent,
71
71
  CalendarLocalizedMessagesDirective,
@@ -83,7 +83,7 @@ CalendarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version:
83
83
  ViewListComponent,
84
84
  CalendarCommonModule,
85
85
  TemplatesModule] });
86
- CalendarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: CalendarModule, providers: [
86
+ CalendarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CalendarModule, providers: [
87
87
  CalendarDOMService,
88
88
  CenturyViewService,
89
89
  DecadeViewService,
@@ -99,7 +99,7 @@ CalendarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version:
99
99
  EventsModule,
100
100
  ResizeSensorModule, CalendarCommonModule,
101
101
  TemplatesModule] });
102
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: CalendarModule, decorators: [{
102
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CalendarModule, decorators: [{
103
103
  type: NgModule,
104
104
  args: [{
105
105
  declarations: [
@@ -42,14 +42,14 @@ import * as i0 from "@angular/core";
42
42
  */
43
43
  export class CalendarsModule {
44
44
  }
45
- CalendarsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: CalendarsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
46
- CalendarsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.4", ngImport: i0, type: CalendarsModule, imports: [CalendarModule,
45
+ CalendarsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CalendarsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
46
+ CalendarsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: CalendarsModule, imports: [CalendarModule,
47
47
  MultiViewCalendarModule], exports: [CalendarModule,
48
48
  MultiViewCalendarModule] });
49
- CalendarsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: CalendarsModule, imports: [CalendarModule,
49
+ CalendarsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CalendarsModule, imports: [CalendarModule,
50
50
  MultiViewCalendarModule, CalendarModule,
51
51
  MultiViewCalendarModule] });
52
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: CalendarsModule, decorators: [{
52
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CalendarsModule, decorators: [{
53
53
  type: NgModule,
54
54
  args: [{
55
55
  exports: [
@@ -19,8 +19,8 @@ export class FooterComponent {
19
19
  this.getToday = getToday;
20
20
  }
21
21
  }
22
- FooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: FooterComponent, deps: [{ token: i1.IntlService }], target: i0.ɵɵFactoryTarget.Component });
23
- FooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: FooterComponent, selector: "kendo-calendar-footer", inputs: { footerTemplateRef: "footerTemplateRef", activeViewValue: "activeViewValue", currentDate: "currentDate" }, host: { properties: { "class.k-calendar-footer": "this.showFooter" } }, ngImport: i0, template: `
22
+ FooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FooterComponent, deps: [{ token: i1.IntlService }], target: i0.ɵɵFactoryTarget.Component });
23
+ FooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: FooterComponent, selector: "kendo-calendar-footer", inputs: { footerTemplateRef: "footerTemplateRef", activeViewValue: "activeViewValue", currentDate: "currentDate" }, host: { properties: { "class.k-calendar-footer": "this.showFooter" } }, ngImport: i0, template: `
24
24
  <ng-template *ngIf="footerTemplateRef; else defaultRendering"
25
25
  [ngTemplateOutlet]="footerTemplateRef"
26
26
  [ngTemplateOutletContext]="{ activeView: activeViewValue, date: currentDate }">
@@ -36,7 +36,7 @@ FooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versio
36
36
  </button>
37
37
  </ng-template>
38
38
  `, isInline: true, dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i3.ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
39
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: FooterComponent, decorators: [{
39
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FooterComponent, decorators: [{
40
40
  type: Component,
41
41
  args: [{
42
42
  selector: 'kendo-calendar-footer',
@@ -84,9 +84,9 @@ export class KForOf {
84
84
  }
85
85
  }
86
86
  }
87
- KForOf.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: KForOf, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: i0.IterableDiffers }], target: i0.ɵɵFactoryTarget.Directive });
88
- KForOf.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: KForOf, selector: "[kFor][kForOf]", inputs: { kForOf: "kForOf", kForTrackBy: "kForTrackBy", kForTemplate: "kForTemplate" }, usesOnChanges: true, ngImport: i0 });
89
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: KForOf, decorators: [{
87
+ KForOf.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: KForOf, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: i0.IterableDiffers }], target: i0.ɵɵFactoryTarget.Directive });
88
+ KForOf.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: KForOf, selector: "[kFor][kForOf]", inputs: { kForOf: "kForOf", kForTrackBy: "kForTrackBy", kForTemplate: "kForTemplate" }, usesOnChanges: true, ngImport: i0 });
89
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: KForOf, decorators: [{
90
90
  type: Directive,
91
91
  args: [{ selector: '[kFor][kForOf]' }]
92
92
  }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.TemplateRef }, { type: i0.IterableDiffers }]; }, propDecorators: { kForOf: [{
@@ -54,9 +54,6 @@ export class HeaderComponent {
54
54
  this.getComponentClass = true;
55
55
  this.subscriptions = new Subscription();
56
56
  }
57
- get horizontalHostClass() {
58
- return this.orientation === 'horizontal';
59
- }
60
57
  get verticalHostClass() {
61
58
  return this.orientation === 'vertical';
62
59
  }
@@ -130,19 +127,24 @@ export class HeaderComponent {
130
127
  this.cdr.markForCheck();
131
128
  }
132
129
  }
133
- HeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: HeaderComponent, deps: [{ token: i1.BusViewService }, { token: i0.ChangeDetectorRef }, { token: i2.LocalizationService }, { token: i3.IntlService }, { token: i4.DisabledDatesService }], target: i0.ɵɵFactoryTarget.Component });
134
- HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: HeaderComponent, selector: "kendo-calendar-header", inputs: { activeView: "activeView", currentDate: "currentDate", min: "min", max: "max", rangeLength: "rangeLength", titleTemplateRef: "titleTemplateRef", headerTemplateRef: "headerTemplateRef", isPrevDisabled: "isPrevDisabled", isNextDisabled: "isNextDisabled", showNavigationButtons: "showNavigationButtons", orientation: "orientation", id: "id" }, outputs: { todayButtonClick: "todayButtonClick", prevButtonClick: "prevButtonClick", nextButtonClick: "nextButtonClick" }, host: { properties: { "class.k-calendar-header": "this.getComponentClass", "class.k-hstack": "this.horizontalHostClass", "class.k-vstack": "this.verticalHostClass" } }, usesOnChanges: true, ngImport: i0, template: `
130
+ HeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HeaderComponent, deps: [{ token: i1.BusViewService }, { token: i0.ChangeDetectorRef }, { token: i2.LocalizationService }, { token: i3.IntlService }, { token: i4.DisabledDatesService }], target: i0.ɵɵFactoryTarget.Component });
131
+ HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: HeaderComponent, selector: "kendo-calendar-header", inputs: { activeView: "activeView", currentDate: "currentDate", min: "min", max: "max", rangeLength: "rangeLength", titleTemplateRef: "titleTemplateRef", headerTemplateRef: "headerTemplateRef", isPrevDisabled: "isPrevDisabled", isNextDisabled: "isNextDisabled", showNavigationButtons: "showNavigationButtons", orientation: "orientation", id: "id", size: "size" }, outputs: { todayButtonClick: "todayButtonClick", prevButtonClick: "prevButtonClick", nextButtonClick: "nextButtonClick" }, host: { properties: { "class.k-calendar-header": "this.getComponentClass", "class.k-vstack": "this.verticalHostClass" } }, usesOnChanges: true, ngImport: i0, template: `
135
132
  <ng-template *ngIf="headerTemplateRef; else defaultRendering"
136
133
  [ngTemplateOutlet]="headerTemplateRef"
137
134
  [ngTemplateOutletContext]="{ title: title, activeView: activeViewValue, date: currentDate }">
138
135
  </ng-template>
139
136
  <ng-template #defaultRendering>
140
- <span class="k-button k-nav-fast k-button-md k-rounded-md k-button-flat k-button-flat-base k-calendar-title"
137
+ <button
138
+ kendoButton
139
+ class="k-calendar-title"
141
140
  role="button"
142
141
  [id]="id"
142
+ type="button"
143
+ fillMode="flat"
144
+ [size]="size"
145
+ themeColor="primary"
143
146
  tabindex="-1"
144
- [class.k-disabled]="!navigate"
145
- [attr.aria-disabled]="isDisabled()"
147
+ [disabled]="!navigate"
146
148
  [kendoEventsOutsideAngular]="{
147
149
  click: handleNavigation
148
150
  }"
@@ -154,13 +156,14 @@ HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versio
154
156
  [ngTemplateOutlet]="titleTemplateRef"
155
157
  [ngTemplateOutletContext]="{ $implicit: title, activeView: activeViewValue, date: currentDate }"
156
158
  ></ng-template>
157
- </span>
159
+ </button>
158
160
  <span class="k-spacer"></span>
159
161
  <span class="k-calendar-nav k-hstack">
160
162
  <button
161
163
  *ngIf="showNavigationButtons"
162
164
  kendoButton
163
165
  fillMode="flat"
166
+ [size]="size"
164
167
  [svgIcon]="chevronLeftIcon"
165
168
  icon="chevron-left"
166
169
  tabindex="-1"
@@ -173,9 +176,14 @@ HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versio
173
176
  >
174
177
  </button>
175
178
  <button
176
- class="k-calendar-nav-today k-button k-button-md k-button-flat k-button-flat-primary k-rounded-md"
179
+ kendoButton
180
+ class="k-calendar-nav-today"
177
181
  tabindex="-1"
178
- [class.k-disabled]="!todayAvailable"
182
+ themeColor="primary"
183
+ fillMode="flat"
184
+ role="link"
185
+ [size]="size"
186
+ [disabled]="!todayAvailable"
179
187
  [kendoEventsOutsideAngular]="{
180
188
  click: handleTodayClick
181
189
  }"
@@ -201,8 +209,8 @@ HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versio
201
209
  </button>
202
210
  </span>
203
211
  </ng-template>
204
- `, isInline: true, dependencies: [{ kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i5.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i6.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "component", type: i7.ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
205
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: HeaderComponent, decorators: [{
212
+ `, isInline: true, dependencies: [{ kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i5.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i6.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "component", type: i7.ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
213
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HeaderComponent, decorators: [{
206
214
  type: Component,
207
215
  args: [{
208
216
  selector: 'kendo-calendar-header',
@@ -212,12 +220,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
212
220
  [ngTemplateOutletContext]="{ title: title, activeView: activeViewValue, date: currentDate }">
213
221
  </ng-template>
214
222
  <ng-template #defaultRendering>
215
- <span class="k-button k-nav-fast k-button-md k-rounded-md k-button-flat k-button-flat-base k-calendar-title"
223
+ <button
224
+ kendoButton
225
+ class="k-calendar-title"
216
226
  role="button"
217
227
  [id]="id"
228
+ type="button"
229
+ fillMode="flat"
230
+ [size]="size"
231
+ themeColor="primary"
218
232
  tabindex="-1"
219
- [class.k-disabled]="!navigate"
220
- [attr.aria-disabled]="isDisabled()"
233
+ [disabled]="!navigate"
221
234
  [kendoEventsOutsideAngular]="{
222
235
  click: handleNavigation
223
236
  }"
@@ -229,13 +242,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
229
242
  [ngTemplateOutlet]="titleTemplateRef"
230
243
  [ngTemplateOutletContext]="{ $implicit: title, activeView: activeViewValue, date: currentDate }"
231
244
  ></ng-template>
232
- </span>
245
+ </button>
233
246
  <span class="k-spacer"></span>
234
247
  <span class="k-calendar-nav k-hstack">
235
248
  <button
236
249
  *ngIf="showNavigationButtons"
237
250
  kendoButton
238
251
  fillMode="flat"
252
+ [size]="size"
239
253
  [svgIcon]="chevronLeftIcon"
240
254
  icon="chevron-left"
241
255
  tabindex="-1"
@@ -248,9 +262,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
248
262
  >
249
263
  </button>
250
264
  <button
251
- class="k-calendar-nav-today k-button k-button-md k-button-flat k-button-flat-primary k-rounded-md"
265
+ kendoButton
266
+ class="k-calendar-nav-today"
252
267
  tabindex="-1"
253
- [class.k-disabled]="!todayAvailable"
268
+ themeColor="primary"
269
+ fillMode="flat"
270
+ role="link"
271
+ [size]="size"
272
+ [disabled]="!todayAvailable"
254
273
  [kendoEventsOutsideAngular]="{
255
274
  click: handleTodayClick
256
275
  }"
@@ -276,7 +295,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
276
295
  </button>
277
296
  </span>
278
297
  </ng-template>
279
- `
298
+ `
280
299
  }]
281
300
  }], ctorParameters: function () { return [{ type: i1.BusViewService }, { type: i0.ChangeDetectorRef }, { type: i2.LocalizationService }, { type: i3.IntlService }, { type: i4.DisabledDatesService }]; }, propDecorators: { activeView: [{
282
301
  type: Input
@@ -302,6 +321,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
302
321
  type: Input
303
322
  }], id: [{
304
323
  type: Input
324
+ }], size: [{
325
+ type: Input
305
326
  }], todayButtonClick: [{
306
327
  type: Output
307
328
  }], prevButtonClick: [{
@@ -311,9 +332,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
311
332
  }], getComponentClass: [{
312
333
  type: HostBinding,
313
334
  args: ["class.k-calendar-header"]
314
- }], horizontalHostClass: [{
315
- type: HostBinding,
316
- args: ["class.k-hstack"]
317
335
  }], verticalHostClass: [{
318
336
  type: HostBinding,
319
337
  args: ["class.k-vstack"]