@progress/kendo-angular-dateinputs 15.3.1-develop.1 → 15.4.0-develop.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/calendar/calendar-common.module.d.ts +7 -5
  2. package/calendar/calendar.component.d.ts +45 -1
  3. package/calendar/footer.component.d.ts +22 -0
  4. package/calendar/header.component.d.ts +3 -2
  5. package/calendar/horizontal-view-list.component.d.ts +3 -1
  6. package/calendar/multiview-calendar.component.d.ts +44 -1
  7. package/calendar/services/weeknames.service.d.ts +2 -1
  8. package/calendar/templates/footer-template.directiv/320/265.d.ts +36 -0
  9. package/calendar/templates/header-template.directive.d.ts +37 -0
  10. package/calendar/templates.module.d.ts +3 -1
  11. package/calendar/view-list.component.d.ts +8 -1
  12. package/common/models/week-days-format.d.ts +10 -0
  13. package/datepicker/datepicker.component.d.ts +30 -1
  14. package/datetimepicker/datetimepicker.component.d.ts +30 -1
  15. package/esm2020/calendar/calendar-common.module.mjs +6 -0
  16. package/esm2020/calendar/calendar.component.mjs +70 -3
  17. package/esm2020/calendar/footer.component.mjs +69 -0
  18. package/esm2020/calendar/header.component.mjs +139 -125
  19. package/esm2020/calendar/horizontal-view-list.component.mjs +6 -3
  20. package/esm2020/calendar/multiview-calendar.component.mjs +76 -7
  21. package/esm2020/calendar/templates/footer-template.directiv/320/265.mjs +43 -0
  22. package/esm2020/calendar/templates/header-template.directive.mjs +44 -0
  23. package/esm2020/calendar/templates.module.mjs +14 -4
  24. package/esm2020/calendar/view-list.component.mjs +37 -9
  25. package/esm2020/calendar/view.component.mjs +3 -8
  26. package/esm2020/common/models/week-days-format.mjs +5 -0
  27. package/esm2020/datepicker/datepicker.component.mjs +51 -3
  28. package/esm2020/daterange/date-range-popup.component.mjs +1 -1
  29. package/esm2020/datetimepicker/datetimepicker.component.mjs +51 -3
  30. package/esm2020/index.mjs +3 -0
  31. package/esm2020/package-metadata.mjs +2 -2
  32. package/fesm2015/progress-kendo-angular-dateinputs.mjs +584 -172
  33. package/fesm2020/progress-kendo-angular-dateinputs.mjs +584 -172
  34. package/index.d.ts +4 -0
  35. package/package.json +11 -11
@@ -14,14 +14,14 @@ import { validatePackage } from '@progress/kendo-licensing';
14
14
  import * as i1 from '@progress/kendo-angular-intl';
15
15
  import { localeData, IntlModule } from '@progress/kendo-angular-intl';
16
16
  import { Subject, Subscription, ReplaySubject, Observable, combineLatest, of, interval, animationFrameScheduler, fromEvent, EMPTY, from, BehaviorSubject, merge } from 'rxjs';
17
- import * as i7 from '@angular/common';
17
+ import * as i4 from '@angular/common';
18
18
  import { CommonModule } from '@angular/common';
19
19
  import { chevronRightIcon, chevronLeftIcon, caretAltUpIcon, caretAltDownIcon, calendarIcon, xIcon, clockIcon } from '@progress/kendo-svg-icons';
20
20
  import * as i10 from '@progress/kendo-angular-buttons';
21
21
  import { ButtonModule } from '@progress/kendo-angular-buttons';
22
22
  import { map, scan, takeWhile, debounceTime, tap, filter } from 'rxjs/operators';
23
23
  import { DateInput } from '@progress/kendo-dateinputs-common';
24
- import * as i7$1 from '@progress/kendo-angular-icons';
24
+ import * as i7 from '@progress/kendo-angular-icons';
25
25
  import { IconsModule } from '@progress/kendo-angular-icons';
26
26
  import * as i1$2 from '@progress/kendo-angular-popup';
27
27
  import { PopupModule } from '@progress/kendo-angular-popup';
@@ -37,8 +37,8 @@ const packageMetadata = {
37
37
  name: '@progress/kendo-angular-dateinputs',
38
38
  productName: 'Kendo UI for Angular',
39
39
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
40
- publishDate: 1710950150,
41
- version: '15.3.1-develop.1',
40
+ publishDate: 1711115601,
41
+ version: '15.4.0-develop.1',
42
42
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
43
43
  };
44
44
 
@@ -1801,9 +1801,7 @@ ViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version:
1801
1801
  class="k-alt k-calendar-td"
1802
1802
  role="gridcell"
1803
1803
  *ngIf="firstDate(row); else emptyCell"
1804
- [kendoEventsOutsideAngular]="{
1805
- click: handleWeekNumberClick.bind(this, row)
1806
- }"
1804
+ (click)="handleWeekNumberClick(row)"
1807
1805
  >
1808
1806
  <ng-template [ngIf]="!weekNumberTemplateRef">
1809
1807
  {{getWeekNumber(firstDate(row))}}
@@ -1841,7 +1839,7 @@ ViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version:
1841
1839
  </td>
1842
1840
  </ng-container>
1843
1841
  </tr>
1844
- `, isInline: true, directives: [{ type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: KForOf, selector: "[kFor][kForOf]", inputs: ["kForOf", "kForTrackBy", "kForTemplate"] }, { type: i8.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i7.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i7.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
1842
+ `, isInline: true, directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: KForOf, selector: "[kFor][kForOf]", inputs: ["kForOf", "kForTrackBy", "kForTemplate"] }, { type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
1845
1843
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ViewComponent, decorators: [{
1846
1844
  type: Component,
1847
1845
  args: [{
@@ -1856,9 +1854,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
1856
1854
  class="k-alt k-calendar-td"
1857
1855
  role="gridcell"
1858
1856
  *ngIf="firstDate(row); else emptyCell"
1859
- [kendoEventsOutsideAngular]="{
1860
- click: handleWeekNumberClick.bind(this, row)
1861
- }"
1857
+ (click)="handleWeekNumberClick(row)"
1862
1858
  >
1863
1859
  <ng-template [ngIf]="!weekNumberTemplateRef">
1864
1860
  {{getWeekNumber(firstDate(row))}}
@@ -1972,6 +1968,7 @@ class HorizontalViewListComponent {
1972
1968
  this.orientation = 'horizontal';
1973
1969
  this.tabIndex = 0;
1974
1970
  this.disabled = false;
1971
+ this.weekDaysFormat = 'short';
1975
1972
  this.cellClick = new EventEmitter();
1976
1973
  this.weekNumberCellClick = new EventEmitter();
1977
1974
  this.cellEnter = new EventEmitter();
@@ -2031,7 +2028,7 @@ class HorizontalViewListComponent {
2031
2028
  ngOnChanges(changes) {
2032
2029
  this.initService();
2033
2030
  if (this.weekNames.length === 0 || changes.weekNumber) {
2034
- this.weekNames = this.getWeekNames('short');
2031
+ this.weekNames = this.getWeekNames(this.weekDaysFormat);
2035
2032
  this.wideWeekNames = this.getWeekNames('wide');
2036
2033
  }
2037
2034
  if (!this.service) {
@@ -2176,7 +2173,7 @@ class HorizontalViewListComponent {
2176
2173
  }
2177
2174
  }
2178
2175
  intlChange() {
2179
- this.weekNames = this.getWeekNames('short');
2176
+ this.weekNames = this.getWeekNames(this.weekDaysFormat);
2180
2177
  this.wideWeekNames = this.getWeekNames('wide');
2181
2178
  this.cdr.markForCheck();
2182
2179
  }
@@ -2204,7 +2201,7 @@ class HorizontalViewListComponent {
2204
2201
  }
2205
2202
  }
2206
2203
  HorizontalViewListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: HorizontalViewListComponent, deps: [{ token: BusViewService }, { token: i1.IntlService }, { token: WeekNamesService }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
2207
- 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: `
2204
+ 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", weekDaysFormat: "weekDaysFormat", 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: `
2208
2205
  <ng-template #tableTemplate let-date="date" let-class="className">
2209
2206
  <table
2210
2207
  [attr.role]="views >= 2 ? 'none' : 'grid'"
@@ -2286,7 +2283,7 @@ HorizontalViewListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.
2286
2283
  }"
2287
2284
  >
2288
2285
  </ng-template>
2289
- `, isInline: true, components: [{ type: 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.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i7.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i7.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: KForOf, selector: "[kFor][kForOf]", inputs: ["kForOf", "kForTrackBy", "kForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
2286
+ `, isInline: true, components: [{ type: 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: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: KForOf, selector: "[kFor][kForOf]", inputs: ["kForOf", "kForTrackBy", "kForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
2290
2287
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: HorizontalViewListComponent, decorators: [{
2291
2288
  type: Component,
2292
2289
  args: [{
@@ -2422,6 +2419,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
2422
2419
  type: Input
2423
2420
  }], id: [{
2424
2421
  type: Input
2422
+ }], weekDaysFormat: [{
2423
+ type: Input
2425
2424
  }], weekNumber: [{
2426
2425
  type: Input
2427
2426
  }], cellClick: [{
@@ -2585,139 +2584,151 @@ class HeaderComponent {
2585
2584
  }
2586
2585
  }
2587
2586
  HeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: HeaderComponent, deps: [{ token: BusViewService }, { token: i0.ChangeDetectorRef }, { token: i1$1.LocalizationService }, { token: i1.IntlService }, { token: DisabledDatesService }], target: i0.ɵɵFactoryTarget.Component });
2588
- HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: HeaderComponent, selector: "kendo-calendar-header", inputs: { activeView: "activeView", currentDate: "currentDate", min: "min", max: "max", rangeLength: "rangeLength", templateRef: "templateRef", 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: `
2589
- <span class="k-button k-nav-fast k-button-md k-rounded-md k-button-flat k-button-flat-base k-calendar-title"
2590
- role="button"
2591
- [id]="id"
2592
- tabindex="-1"
2593
- [class.k-disabled]="!navigate"
2594
- [attr.aria-disabled]="isDisabled()"
2595
- [kendoEventsOutsideAngular]="{
2596
- click: handleNavigation
2597
- }"
2598
- [title]="parentViewButtonTitle"
2599
- [scope]="this">
2600
- <ng-template [ngIf]="!templateRef">{{title}}</ng-template>
2601
- <ng-template
2602
- [ngIf]="templateRef"
2603
- [ngTemplateOutlet]="templateRef"
2604
- [ngTemplateOutletContext]="{ $implicit: title, activeView: activeViewValue, date: currentDate }"
2605
- ></ng-template>
2606
- </span>
2607
- <span class="k-spacer"></span>
2608
- <span class="k-calendar-nav k-hstack">
2609
- <button
2610
- *ngIf="showNavigationButtons"
2611
- kendoButton
2612
- fillMode="flat"
2613
- [svgIcon]="chevronLeftIcon"
2614
- icon="chevron-left"
2615
- tabindex="-1"
2616
- type="button"
2617
- class="k-calendar-nav-prev"
2618
- [attr.aria-disabled]="isPrevDisabled"
2619
- [disabled]="isPrevDisabled"
2620
- [title]="prevButtonTitle"
2621
- (click)="prevButtonClick.emit()"
2622
- >
2623
- </button>
2624
- <button
2625
- class="k-calendar-nav-today k-button k-button-md k-button-flat k-button-flat-primary k-rounded-md"
2587
+ HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", 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: `
2588
+ <ng-template *ngIf="headerTemplateRef; else defaultRendering"
2589
+ [ngTemplateOutlet]="headerTemplateRef"
2590
+ [ngTemplateOutletContext]="{ title: title, activeView: activeViewValue, date: currentDate }">
2591
+ </ng-template>
2592
+ <ng-template #defaultRendering>
2593
+ <span class="k-button k-nav-fast k-button-md k-rounded-md k-button-flat k-button-flat-base k-calendar-title"
2594
+ role="button"
2595
+ [id]="id"
2626
2596
  tabindex="-1"
2627
- [class.k-disabled]="!todayAvailable"
2597
+ [class.k-disabled]="!navigate"
2598
+ [attr.aria-disabled]="isDisabled()"
2628
2599
  [kendoEventsOutsideAngular]="{
2629
- click: handleTodayClick
2600
+ click: handleNavigation
2630
2601
  }"
2631
- [scope]="this"
2632
- type="button"
2633
- >
2634
- {{ todayMessage }}
2635
- </button>
2636
- <button
2637
- *ngIf="showNavigationButtons"
2638
- kendoButton
2639
- fillMode="flat"
2640
- [svgIcon]="chevronRightIcon"
2641
- icon="chevron-right"
2642
- class="k-calendar-nav-next"
2643
- tabindex="-1"
2644
- type="button"
2645
- [attr.aria-disabled]="isNextDisabled"
2646
- [disabled]="isNextDisabled"
2647
- [title]="nextButtonTitle"
2648
- (click)="nextButtonClick.emit()"
2649
- >
2650
- </button>
2651
- </span>
2652
- `, isInline: true, components: [{ type: i10.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"] }], directives: [{ type: i8.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i7.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
2602
+ [title]="parentViewButtonTitle"
2603
+ [scope]="this">
2604
+ <ng-template [ngIf]="!titleTemplateRef">{{title}}</ng-template>
2605
+ <ng-template
2606
+ [ngIf]="titleTemplateRef"
2607
+ [ngTemplateOutlet]="titleTemplateRef"
2608
+ [ngTemplateOutletContext]="{ $implicit: title, activeView: activeViewValue, date: currentDate }"
2609
+ ></ng-template>
2610
+ </span>
2611
+ <span class="k-spacer"></span>
2612
+ <span class="k-calendar-nav k-hstack">
2613
+ <button
2614
+ *ngIf="showNavigationButtons"
2615
+ kendoButton
2616
+ fillMode="flat"
2617
+ [svgIcon]="chevronLeftIcon"
2618
+ icon="chevron-left"
2619
+ tabindex="-1"
2620
+ type="button"
2621
+ class="k-calendar-nav-prev"
2622
+ [attr.aria-disabled]="isPrevDisabled"
2623
+ [disabled]="isPrevDisabled"
2624
+ [title]="prevButtonTitle"
2625
+ (click)="prevButtonClick.emit()"
2626
+ >
2627
+ </button>
2628
+ <button
2629
+ class="k-calendar-nav-today k-button k-button-md k-button-flat k-button-flat-primary k-rounded-md"
2630
+ tabindex="-1"
2631
+ [class.k-disabled]="!todayAvailable"
2632
+ [kendoEventsOutsideAngular]="{
2633
+ click: handleTodayClick
2634
+ }"
2635
+ [scope]="this"
2636
+ type="button"
2637
+ >
2638
+ {{ todayMessage }}
2639
+ </button>
2640
+ <button
2641
+ *ngIf="showNavigationButtons"
2642
+ kendoButton
2643
+ fillMode="flat"
2644
+ [svgIcon]="chevronRightIcon"
2645
+ icon="chevron-right"
2646
+ class="k-calendar-nav-next"
2647
+ tabindex="-1"
2648
+ type="button"
2649
+ [attr.aria-disabled]="isNextDisabled"
2650
+ [disabled]="isNextDisabled"
2651
+ [title]="nextButtonTitle"
2652
+ (click)="nextButtonClick.emit()"
2653
+ >
2654
+ </button>
2655
+ </span>
2656
+ </ng-template>
2657
+ `, isInline: true, components: [{ type: i10.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"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i8.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }] });
2653
2658
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: HeaderComponent, decorators: [{
2654
2659
  type: Component,
2655
2660
  args: [{
2656
2661
  selector: 'kendo-calendar-header',
2657
2662
  template: `
2658
- <span class="k-button k-nav-fast k-button-md k-rounded-md k-button-flat k-button-flat-base k-calendar-title"
2659
- role="button"
2660
- [id]="id"
2661
- tabindex="-1"
2662
- [class.k-disabled]="!navigate"
2663
- [attr.aria-disabled]="isDisabled()"
2664
- [kendoEventsOutsideAngular]="{
2665
- click: handleNavigation
2666
- }"
2667
- [title]="parentViewButtonTitle"
2668
- [scope]="this">
2669
- <ng-template [ngIf]="!templateRef">{{title}}</ng-template>
2670
- <ng-template
2671
- [ngIf]="templateRef"
2672
- [ngTemplateOutlet]="templateRef"
2673
- [ngTemplateOutletContext]="{ $implicit: title, activeView: activeViewValue, date: currentDate }"
2674
- ></ng-template>
2675
- </span>
2676
- <span class="k-spacer"></span>
2677
- <span class="k-calendar-nav k-hstack">
2678
- <button
2679
- *ngIf="showNavigationButtons"
2680
- kendoButton
2681
- fillMode="flat"
2682
- [svgIcon]="chevronLeftIcon"
2683
- icon="chevron-left"
2684
- tabindex="-1"
2685
- type="button"
2686
- class="k-calendar-nav-prev"
2687
- [attr.aria-disabled]="isPrevDisabled"
2688
- [disabled]="isPrevDisabled"
2689
- [title]="prevButtonTitle"
2690
- (click)="prevButtonClick.emit()"
2691
- >
2692
- </button>
2693
- <button
2694
- class="k-calendar-nav-today k-button k-button-md k-button-flat k-button-flat-primary k-rounded-md"
2663
+ <ng-template *ngIf="headerTemplateRef; else defaultRendering"
2664
+ [ngTemplateOutlet]="headerTemplateRef"
2665
+ [ngTemplateOutletContext]="{ title: title, activeView: activeViewValue, date: currentDate }">
2666
+ </ng-template>
2667
+ <ng-template #defaultRendering>
2668
+ <span class="k-button k-nav-fast k-button-md k-rounded-md k-button-flat k-button-flat-base k-calendar-title"
2669
+ role="button"
2670
+ [id]="id"
2695
2671
  tabindex="-1"
2696
- [class.k-disabled]="!todayAvailable"
2672
+ [class.k-disabled]="!navigate"
2673
+ [attr.aria-disabled]="isDisabled()"
2697
2674
  [kendoEventsOutsideAngular]="{
2698
- click: handleTodayClick
2675
+ click: handleNavigation
2699
2676
  }"
2700
- [scope]="this"
2701
- type="button"
2702
- >
2703
- {{ todayMessage }}
2704
- </button>
2705
- <button
2706
- *ngIf="showNavigationButtons"
2707
- kendoButton
2708
- fillMode="flat"
2709
- [svgIcon]="chevronRightIcon"
2710
- icon="chevron-right"
2711
- class="k-calendar-nav-next"
2712
- tabindex="-1"
2713
- type="button"
2714
- [attr.aria-disabled]="isNextDisabled"
2715
- [disabled]="isNextDisabled"
2716
- [title]="nextButtonTitle"
2717
- (click)="nextButtonClick.emit()"
2718
- >
2719
- </button>
2720
- </span>
2677
+ [title]="parentViewButtonTitle"
2678
+ [scope]="this">
2679
+ <ng-template [ngIf]="!titleTemplateRef">{{title}}</ng-template>
2680
+ <ng-template
2681
+ [ngIf]="titleTemplateRef"
2682
+ [ngTemplateOutlet]="titleTemplateRef"
2683
+ [ngTemplateOutletContext]="{ $implicit: title, activeView: activeViewValue, date: currentDate }"
2684
+ ></ng-template>
2685
+ </span>
2686
+ <span class="k-spacer"></span>
2687
+ <span class="k-calendar-nav k-hstack">
2688
+ <button
2689
+ *ngIf="showNavigationButtons"
2690
+ kendoButton
2691
+ fillMode="flat"
2692
+ [svgIcon]="chevronLeftIcon"
2693
+ icon="chevron-left"
2694
+ tabindex="-1"
2695
+ type="button"
2696
+ class="k-calendar-nav-prev"
2697
+ [attr.aria-disabled]="isPrevDisabled"
2698
+ [disabled]="isPrevDisabled"
2699
+ [title]="prevButtonTitle"
2700
+ (click)="prevButtonClick.emit()"
2701
+ >
2702
+ </button>
2703
+ <button
2704
+ class="k-calendar-nav-today k-button k-button-md k-button-flat k-button-flat-primary k-rounded-md"
2705
+ tabindex="-1"
2706
+ [class.k-disabled]="!todayAvailable"
2707
+ [kendoEventsOutsideAngular]="{
2708
+ click: handleTodayClick
2709
+ }"
2710
+ [scope]="this"
2711
+ type="button"
2712
+ >
2713
+ {{ todayMessage }}
2714
+ </button>
2715
+ <button
2716
+ *ngIf="showNavigationButtons"
2717
+ kendoButton
2718
+ fillMode="flat"
2719
+ [svgIcon]="chevronRightIcon"
2720
+ icon="chevron-right"
2721
+ class="k-calendar-nav-next"
2722
+ tabindex="-1"
2723
+ type="button"
2724
+ [attr.aria-disabled]="isNextDisabled"
2725
+ [disabled]="isNextDisabled"
2726
+ [title]="nextButtonTitle"
2727
+ (click)="nextButtonClick.emit()"
2728
+ >
2729
+ </button>
2730
+ </span>
2731
+ </ng-template>
2721
2732
  `
2722
2733
  }]
2723
2734
  }], ctorParameters: function () { return [{ type: BusViewService }, { type: i0.ChangeDetectorRef }, { type: i1$1.LocalizationService }, { type: i1.IntlService }, { type: DisabledDatesService }]; }, propDecorators: { activeView: [{
@@ -2730,7 +2741,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
2730
2741
  type: Input
2731
2742
  }], rangeLength: [{
2732
2743
  type: Input
2733
- }], templateRef: [{
2744
+ }], titleTemplateRef: [{
2745
+ type: Input
2746
+ }], headerTemplateRef: [{
2734
2747
  type: Input
2735
2748
  }], isPrevDisabled: [{
2736
2749
  type: Input
@@ -3189,6 +3202,142 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
3189
3202
  type: Injectable
3190
3203
  }], ctorParameters: function () { return [{ type: BusViewService }]; } });
3191
3204
 
3205
+ /**
3206
+ * Used for rendering the header of the Calendar. To define the header template, nest an `<ng-template>` tag
3207
+ * with the `kendoCalendarHeaderTemplate` directive inside the component tag. The template context is set to the
3208
+ * current component. To get a reference to the current title, use the `let-title` directive. To provide more details about
3209
+ * the current title, get a reference to the current `date` by using the `let-date` directive or get a reference to the
3210
+ * current active view by using the `let-activeView` directive.
3211
+ *
3212
+ * For more examples, refer to the article on [templates]({% slug templates_calendar %}).
3213
+ *
3214
+ * @example
3215
+ * ```ts
3216
+ * _@Component({
3217
+ * selector: 'my-app',
3218
+ * styles: ['.custom { color: red; }'],
3219
+ * template: `
3220
+ * <kendo-calendar>
3221
+ * <ng-template kendoCalendarHeaderTemplate let-title>
3222
+ * <span class="custom">{{title}}</span>
3223
+ * </ng-template>
3224
+ * </kendo-calendar>
3225
+ * `
3226
+ * })
3227
+ * export class AppComponent { }
3228
+ * ```
3229
+ */
3230
+ class HeaderTemplateDirective {
3231
+ constructor(templateRef) {
3232
+ this.templateRef = templateRef;
3233
+ }
3234
+ }
3235
+ HeaderTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: HeaderTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
3236
+ HeaderTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: HeaderTemplateDirective, selector: "[kendoCalendarHeaderTemplate]", ngImport: i0 });
3237
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: HeaderTemplateDirective, decorators: [{
3238
+ type: Directive,
3239
+ args: [{
3240
+ selector: '[kendoCalendarHeaderTemplate]'
3241
+ }]
3242
+ }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
3243
+
3244
+ /**
3245
+ * Used for rendering the footer of the Calendar. To define the footer template, nest an `<ng-template>` tag
3246
+ * with the `kendoCalendarFooterTemplate` directive inside the component tag. The template context is set to the
3247
+ * current component. To get a reference to the current `date` use the `let-date` directive. To get a reference to the
3248
+ * current active view use the `let-activeView` directive.
3249
+ *
3250
+ * For more examples, refer to the article on [templates]({% slug templates_calendar %}).
3251
+ *
3252
+ * @example
3253
+ * ```ts
3254
+ * _@Component({
3255
+ * selector: 'my-app',
3256
+ * styles: ['.custom { color: red; }'],
3257
+ * template: `
3258
+ * <kendo-calendar>
3259
+ * <ng-template kendoCalendarFooterTemplate let-date>
3260
+ * <span class="custom">{{date}}</span>
3261
+ * </ng-template>
3262
+ * </kendo-calendar>
3263
+ * `
3264
+ * })
3265
+ * export class AppComponent { }
3266
+ * ```
3267
+ */
3268
+ class FooterTemplateDirective {
3269
+ constructor(templateRef) {
3270
+ this.templateRef = templateRef;
3271
+ }
3272
+ }
3273
+ FooterTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FooterTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
3274
+ FooterTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: FooterTemplateDirective, selector: "[kendoCalendarFooterTemplate]", ngImport: i0 });
3275
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FooterTemplateDirective, decorators: [{
3276
+ type: Directive,
3277
+ args: [{
3278
+ selector: '[kendoCalendarFooterTemplate]'
3279
+ }]
3280
+ }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
3281
+
3282
+ /**
3283
+ * @hidden
3284
+ */
3285
+ class FooterComponent {
3286
+ constructor(intl) {
3287
+ this.intl = intl;
3288
+ this.showFooter = true;
3289
+ this.getToday = getToday;
3290
+ }
3291
+ }
3292
+ FooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FooterComponent, deps: [{ token: i1.IntlService }], target: i0.ɵɵFactoryTarget.Component });
3293
+ FooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: FooterComponent, selector: "kendo-calendar-footer", inputs: { footerTemplateRef: "footerTemplateRef", activeViewValue: "activeViewValue", currentDate: "currentDate" }, host: { properties: { "class.k-calendar-footer": "this.showFooter" } }, ngImport: i0, template: `
3294
+ <ng-template *ngIf="footerTemplateRef; else defaultRendering"
3295
+ [ngTemplateOutlet]="footerTemplateRef"
3296
+ [ngTemplateOutletContext]="{ activeView: activeViewValue, date: currentDate }">
3297
+ </ng-template>
3298
+ <ng-template #defaultRendering>
3299
+ <button kendoButton
3300
+ fillMode="flat"
3301
+ themeColor="primary"
3302
+ class="k-calendar-nav-today"
3303
+ type="button"
3304
+ tabindex="-1">
3305
+ {{intl.formatDate(getToday(), 'D')}}
3306
+ </button>
3307
+ </ng-template>
3308
+ `, isInline: true, components: [{ type: i10.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"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
3309
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FooterComponent, decorators: [{
3310
+ type: Component,
3311
+ args: [{
3312
+ selector: 'kendo-calendar-footer',
3313
+ template: `
3314
+ <ng-template *ngIf="footerTemplateRef; else defaultRendering"
3315
+ [ngTemplateOutlet]="footerTemplateRef"
3316
+ [ngTemplateOutletContext]="{ activeView: activeViewValue, date: currentDate }">
3317
+ </ng-template>
3318
+ <ng-template #defaultRendering>
3319
+ <button kendoButton
3320
+ fillMode="flat"
3321
+ themeColor="primary"
3322
+ class="k-calendar-nav-today"
3323
+ type="button"
3324
+ tabindex="-1">
3325
+ {{intl.formatDate(getToday(), 'D')}}
3326
+ </button>
3327
+ </ng-template>
3328
+ `
3329
+ }]
3330
+ }], ctorParameters: function () { return [{ type: i1.IntlService }]; }, propDecorators: { showFooter: [{
3331
+ type: HostBinding,
3332
+ args: ['class.k-calendar-footer']
3333
+ }], footerTemplateRef: [{
3334
+ type: Input
3335
+ }], activeViewValue: [{
3336
+ type: Input
3337
+ }], currentDate: [{
3338
+ type: Input
3339
+ }] } });
3340
+
3192
3341
  /**
3193
3342
  * @hidden
3194
3343
  */
@@ -3297,6 +3446,11 @@ class MultiViewCalendarComponent {
3297
3446
  * Determines whether to display the calendar header.
3298
3447
  */
3299
3448
  this.showCalendarHeader = true;
3449
+ /**
3450
+ * Toggles the visibility of the footer.
3451
+ * @default false
3452
+ */
3453
+ this.footer = false;
3300
3454
  /**
3301
3455
  * Determines whether the built-in min or max validators are enforced when validating a form.
3302
3456
  */
@@ -3329,6 +3483,11 @@ class MultiViewCalendarComponent {
3329
3483
  * it determines whether the component is focusable.
3330
3484
  */
3331
3485
  this.tabindex = 0;
3486
+ /**
3487
+ * Sets the format of the displayed Calendar week days' names.
3488
+ * @default 'short'
3489
+ */
3490
+ this.weekDaysFormat = "short";
3332
3491
  /**
3333
3492
  * @hidden
3334
3493
  */
@@ -3630,6 +3789,18 @@ class MultiViewCalendarComponent {
3630
3789
  get weekNumberTemplateRef() {
3631
3790
  return this._weekNumberTemplateRef || this.weekNumberTemplate;
3632
3791
  }
3792
+ /**
3793
+ * @hidden
3794
+ *
3795
+ * Defines the template for the Calendar footer.
3796
+ * Takes precedence over nested templates in the KendoMultiViewCalendar tag.
3797
+ */
3798
+ set footerTemplateRef(template) {
3799
+ this._footerTemplateRef = template;
3800
+ }
3801
+ get footerTemplateRef() {
3802
+ return this._footerTemplateRef || this.footerTemplate;
3803
+ }
3633
3804
  /**
3634
3805
  * @hidden
3635
3806
  *
@@ -3642,6 +3813,18 @@ class MultiViewCalendarComponent {
3642
3813
  get headerTitleTemplateRef() {
3643
3814
  return this._headerTitleTemplateRef || this.headerTitleTemplate;
3644
3815
  }
3816
+ /**
3817
+ * @hidden
3818
+ *
3819
+ * Defines the template for the Calendar header.
3820
+ * Takes precedence over nested templates in the KendoMultiViewCalendar tag.
3821
+ */
3822
+ set headerTemplateRef(template) {
3823
+ this._headerTemplateRef = template;
3824
+ }
3825
+ get headerTemplateRef() {
3826
+ return this._headerTemplateRef || this.headerTemplate;
3827
+ }
3645
3828
  get activeViewEnum() {
3646
3829
  const activeView = CalendarViewEnum[this.activeView];
3647
3830
  return activeView < this.bottomViewEnum ? this.bottomViewEnum : activeView;
@@ -4046,7 +4229,7 @@ class MultiViewCalendarComponent {
4046
4229
  }
4047
4230
  }
4048
4231
  MultiViewCalendarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: MultiViewCalendarComponent, deps: [{ token: BusViewService }, { token: i0.ElementRef }, { token: NavigationService }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: DisabledDatesService }, { token: SelectionService }], target: i0.ɵɵFactoryTarget.Component });
4049
- 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: [
4232
+ 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", footer: "footer", min: "min", max: "max", rangeValidation: "rangeValidation", disabledDatesRangeValidation: "disabledDatesRangeValidation", selection: "selection", 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", "cellTemplateRef"], monthCellTemplateRef: ["monthCellTemplate", "monthCellTemplateRef"], yearCellTemplateRef: ["yearCellTemplate", "yearCellTemplateRef"], decadeCellTemplateRef: ["decadeCellTemplate", "decadeCellTemplateRef"], centuryCellTemplateRef: ["centuryCellTemplate", "centuryCellTemplateRef"], weekNumberTemplateRef: ["weekNumberTemplate", "weekNumberTemplateRef"], footerTemplateRef: ["footerTemplate", "footerTemplateRef"], headerTitleTemplateRef: ["headerTitleTemplate", "headerTitleTemplateRef"], headerTemplateRef: ["headerTemplate", "headerTemplateRef"] }, 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: [
4050
4233
  BusViewService,
4051
4234
  RANGE_CALENDAR_VALUE_ACCESSOR,
4052
4235
  RANGE_CALENDAR_RANGE_VALIDATORS,
@@ -4058,7 +4241,7 @@ MultiViewCalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
4058
4241
  },
4059
4242
  NavigationService,
4060
4243
  SelectionService
4061
- ], queries: [{ propertyName: "cellTemplate", first: true, predicate: CellTemplateDirective, descendants: true }, { propertyName: "monthCellTemplate", first: true, predicate: MonthCellTemplateDirective, descendants: true }, { propertyName: "yearCellTemplate", first: true, predicate: YearCellTemplateDirective, descendants: true }, { propertyName: "decadeCellTemplate", first: true, predicate: DecadeCellTemplateDirective, descendants: true }, { propertyName: "centuryCellTemplate", first: true, predicate: CenturyCellTemplateDirective, descendants: true }, { propertyName: "weekNumberTemplate", first: true, predicate: WeekNumberCellTemplateDirective, descendants: true }, { propertyName: "headerTitleTemplate", first: true, predicate: HeaderTitleTemplateDirective, descendants: true }], viewQueries: [{ propertyName: "headerElement", first: true, predicate: HeaderComponent, descendants: true, read: ElementRef }, { propertyName: "viewList", first: true, predicate: HorizontalViewListComponent, descendants: true }], exportAs: ["kendo-multiviewcalendar"], usesOnChanges: true, ngImport: i0, template: `
4244
+ ], queries: [{ propertyName: "cellTemplate", first: true, predicate: CellTemplateDirective, descendants: true }, { propertyName: "monthCellTemplate", first: true, predicate: MonthCellTemplateDirective, descendants: true }, { propertyName: "yearCellTemplate", first: true, predicate: YearCellTemplateDirective, descendants: true }, { propertyName: "decadeCellTemplate", first: true, predicate: DecadeCellTemplateDirective, descendants: true }, { propertyName: "centuryCellTemplate", first: true, predicate: CenturyCellTemplateDirective, descendants: true }, { propertyName: "weekNumberTemplate", first: true, predicate: WeekNumberCellTemplateDirective, descendants: true }, { propertyName: "headerTitleTemplate", first: true, predicate: HeaderTitleTemplateDirective, descendants: true }, { propertyName: "headerTemplate", first: true, predicate: HeaderTemplateDirective, descendants: true }, { propertyName: "footerTemplate", first: true, predicate: FooterTemplateDirective, descendants: true }], viewQueries: [{ propertyName: "headerElement", first: true, predicate: HeaderComponent, descendants: true, read: ElementRef }, { propertyName: "viewList", first: true, predicate: HorizontalViewListComponent, descendants: true }], exportAs: ["kendo-multiviewcalendar"], usesOnChanges: true, ngImport: i0, template: `
4062
4245
  <ng-container kendoMultiViewCalendarLocalizedMessages
4063
4246
  i18n-today="kendo.multiviewcalendar.today|The label for the today button in the calendar header"
4064
4247
  today="Today"
@@ -4081,7 +4264,8 @@ MultiViewCalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
4081
4264
  [max]="max"
4082
4265
  [id]="headerId"
4083
4266
  [rangeLength]="views"
4084
- [templateRef]="headerTitleTemplateRef?.templateRef"
4267
+ [titleTemplateRef]="headerTitleTemplateRef?.templateRef"
4268
+ [headerTemplateRef]="headerTemplateRef?.templateRef"
4085
4269
  [isPrevDisabled]="isPrevDisabled"
4086
4270
  [isNextDisabled]="isNextDisabled"
4087
4271
  [showNavigationButtons]="true"
@@ -4101,6 +4285,7 @@ MultiViewCalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
4101
4285
  [cellTemplateRef]="activeCellTemplate()?.templateRef"
4102
4286
  [weekNumberTemplateRef]="weekNumberTemplateRef?.templateRef"
4103
4287
  [cellUID]="cellUID"
4288
+ [weekDaysFormat]="weekDaysFormat"
4104
4289
  [views]="views"
4105
4290
  [min]="min"
4106
4291
  [max]="max"
@@ -4123,7 +4308,13 @@ MultiViewCalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
4123
4308
  (blurCalendar)="handleFocusout($event)"
4124
4309
  >
4125
4310
  </kendo-calendar-horizontal>
4126
- `, isInline: true, components: [{ type: HeaderComponent, selector: "kendo-calendar-header", inputs: ["activeView", "currentDate", "min", "max", "rangeLength", "templateRef", "isPrevDisabled", "isNextDisabled", "showNavigationButtons", "orientation", "id"], outputs: ["todayButtonClick", "prevButtonClick", "nextButtonClick"] }, { type: 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: MultiViewCalendarLocalizedMessagesDirective, selector: "[kendoMultiViewCalendarLocalizedMessages]" }, { type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
4311
+ <kendo-calendar-footer
4312
+ *ngIf="footer"
4313
+ [footerTemplateRef]="footerTemplateRef?.templateRef"
4314
+ [activeViewValue]="activeView"
4315
+ [currentDate]="activeDate">
4316
+ </kendo-calendar-footer>
4317
+ `, isInline: true, components: [{ type: HeaderComponent, selector: "kendo-calendar-header", inputs: ["activeView", "currentDate", "min", "max", "rangeLength", "titleTemplateRef", "headerTemplateRef", "isPrevDisabled", "isNextDisabled", "showNavigationButtons", "orientation", "id"], outputs: ["todayButtonClick", "prevButtonClick", "nextButtonClick"] }, { type: 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", "weekDaysFormat", "weekNumber"], outputs: ["cellClick", "weekNumberCellClick", "cellEnter", "cellLeave", "activeDateChange", "focusCalendar", "blurCalendar", "focusedCellChange"] }, { type: FooterComponent, selector: "kendo-calendar-footer", inputs: ["footerTemplateRef", "activeViewValue", "currentDate"] }], directives: [{ type: MultiViewCalendarLocalizedMessagesDirective, selector: "[kendoMultiViewCalendarLocalizedMessages]" }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
4127
4318
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: MultiViewCalendarComponent, decorators: [{
4128
4319
  type: Component,
4129
4320
  args: [{
@@ -4166,7 +4357,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
4166
4357
  [max]="max"
4167
4358
  [id]="headerId"
4168
4359
  [rangeLength]="views"
4169
- [templateRef]="headerTitleTemplateRef?.templateRef"
4360
+ [titleTemplateRef]="headerTitleTemplateRef?.templateRef"
4361
+ [headerTemplateRef]="headerTemplateRef?.templateRef"
4170
4362
  [isPrevDisabled]="isPrevDisabled"
4171
4363
  [isNextDisabled]="isNextDisabled"
4172
4364
  [showNavigationButtons]="true"
@@ -4186,6 +4378,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
4186
4378
  [cellTemplateRef]="activeCellTemplate()?.templateRef"
4187
4379
  [weekNumberTemplateRef]="weekNumberTemplateRef?.templateRef"
4188
4380
  [cellUID]="cellUID"
4381
+ [weekDaysFormat]="weekDaysFormat"
4189
4382
  [views]="views"
4190
4383
  [min]="min"
4191
4384
  [max]="max"
@@ -4208,6 +4401,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
4208
4401
  (blurCalendar)="handleFocusout($event)"
4209
4402
  >
4210
4403
  </kendo-calendar-horizontal>
4404
+ <kendo-calendar-footer
4405
+ *ngIf="footer"
4406
+ [footerTemplateRef]="footerTemplateRef?.templateRef"
4407
+ [activeViewValue]="activeView"
4408
+ [currentDate]="activeDate">
4409
+ </kendo-calendar-footer>
4211
4410
  `
4212
4411
  }]
4213
4412
  }], ctorParameters: function () { return [{ type: BusViewService }, { type: i0.ElementRef }, { type: NavigationService }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: DisabledDatesService }, { type: SelectionService }]; }, propDecorators: { showOtherMonthDays: [{
@@ -4218,6 +4417,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
4218
4417
  type: Input
4219
4418
  }], focusedDate: [{
4220
4419
  type: Input
4420
+ }], footer: [{
4421
+ type: Input
4221
4422
  }], min: [{
4222
4423
  type: Input
4223
4424
  }], max: [{
@@ -4236,6 +4437,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
4236
4437
  type: Input
4237
4438
  }], tabIndex: [{
4238
4439
  type: Input
4440
+ }], weekDaysFormat: [{
4441
+ type: Input
4239
4442
  }], isActive: [{
4240
4443
  type: Input
4241
4444
  }], disabledDates: [{
@@ -4323,9 +4526,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
4323
4526
  }], headerTitleTemplate: [{
4324
4527
  type: ContentChild,
4325
4528
  args: [HeaderTitleTemplateDirective, { static: false }]
4529
+ }], headerTemplate: [{
4530
+ type: ContentChild,
4531
+ args: [HeaderTemplateDirective]
4532
+ }], footerTemplate: [{
4533
+ type: ContentChild,
4534
+ args: [FooterTemplateDirective]
4535
+ }], footerTemplateRef: [{
4536
+ type: Input,
4537
+ args: ['footerTemplate']
4326
4538
  }], headerTitleTemplateRef: [{
4327
4539
  type: Input,
4328
4540
  args: ['headerTitleTemplate']
4541
+ }], headerTemplateRef: [{
4542
+ type: Input,
4543
+ args: ['headerTemplate']
4329
4544
  }], headerElement: [{
4330
4545
  type: ViewChild,
4331
4546
  args: [HeaderComponent, { static: false, read: ElementRef }]
@@ -4752,7 +4967,7 @@ VirtualizationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
4752
4967
  [class.k-scrollable-horizontal-placeholder]="direction === 'horizontal'"
4753
4968
  [ngStyle]="totalVertexLength"
4754
4969
  ></div>
4755
- `, isInline: true, directives: [{ type: i7.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
4970
+ `, isInline: true, directives: [{ type: i4.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
4756
4971
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: VirtualizationComponent, decorators: [{
4757
4972
  type: Component,
4758
4973
  args: [{
@@ -5106,7 +5321,7 @@ NavigationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
5106
5321
  </li>
5107
5322
  </ul>
5108
5323
  </kendo-virtualization>
5109
- `, isInline: true, components: [{ type: VirtualizationComponent, selector: "kendo-virtualization", inputs: ["direction", "itemHeight", "itemWidth", "topOffset", "bottomOffset", "maxScrollDifference", "scrollOffsetSize", "scrollDuration", "skip", "take", "total"], outputs: ["activeIndexChange", "pageChange", "scrollChange"] }], directives: [{ type: i8.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: KForOf, selector: "[kFor][kForOf]", inputs: ["kForOf", "kForTrackBy", "kForTemplate"] }, { type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i7.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
5324
+ `, isInline: true, components: [{ type: VirtualizationComponent, selector: "kendo-virtualization", inputs: ["direction", "itemHeight", "itemWidth", "topOffset", "bottomOffset", "maxScrollDifference", "scrollOffsetSize", "scrollDuration", "skip", "take", "total"], outputs: ["activeIndexChange", "pageChange", "scrollChange"] }], directives: [{ type: i8.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: KForOf, selector: "[kFor][kForOf]", inputs: ["kForOf", "kForTrackBy", "kForTemplate"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
5110
5325
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: NavigationComponent, decorators: [{
5111
5326
  type: Component,
5112
5327
  args: [{
@@ -5185,6 +5400,8 @@ class ViewListComponent {
5185
5400
  this.selectedDates = [];
5186
5401
  this.tabIndex = 0;
5187
5402
  this.disabled = false;
5403
+ this.showFooter = false;
5404
+ this.weekDaysFormat = 'short';
5188
5405
  this.cellClick = new EventEmitter();
5189
5406
  this.weekNumberCellClick = new EventEmitter();
5190
5407
  this.activeDateChange = new EventEmitter();
@@ -5225,8 +5442,11 @@ class ViewListComponent {
5225
5442
  get getComponentCenturyClass() {
5226
5443
  return this.activeView === CalendarViewEnum.century;
5227
5444
  }
5445
+ get activeViewValue() {
5446
+ return CalendarViewEnum[this.activeView];
5447
+ }
5228
5448
  ngOnInit() {
5229
- this.weekNames = this.getWeekNames('short');
5449
+ this.weekNames = this.getWeekNames(this.weekDaysFormat);
5230
5450
  this.wideWeekNames = this.getWeekNames('wide');
5231
5451
  this.bottomOffset = this.getBottomOffset();
5232
5452
  this.viewOffset = -1 * this.dom.headerHeight;
@@ -5239,7 +5459,7 @@ class ViewListComponent {
5239
5459
  return;
5240
5460
  }
5241
5461
  this.cols = new Array(this.service.rowLength({ prependCell: this.weekNumber })).fill('');
5242
- this.weekNames = hasChange(changes, 'weekNumber') && this.weekNumber ? this.getWeekNames('short') : this.weekNames;
5462
+ this.weekNames = hasChange(changes, 'weekNumber') && this.weekNumber ? this.getWeekNames(this.weekDaysFormat) : this.weekNames;
5243
5463
  this.wideWeekNames = hasChange(changes, 'weekNumber') && this.weekNumber ? this.getWeekNames('wide') : this.weekNames;
5244
5464
  const activeViewChanged = hasChange(changes, 'activeView');
5245
5465
  const focusedDate = this.focusedDate;
@@ -5324,7 +5544,7 @@ class ViewListComponent {
5324
5544
  return this.weekNumber ? [''].concat(weekNames) : weekNames;
5325
5545
  }
5326
5546
  intlChange() {
5327
- this.weekNames = this.getWeekNames('short');
5547
+ this.weekNames = this.getWeekNames(this.weekDaysFormat);
5328
5548
  this.wideWeekNames = this.getWeekNames('wide');
5329
5549
  if (this.isMonthView()) {
5330
5550
  this.cdr.markForCheck();
@@ -5332,14 +5552,15 @@ class ViewListComponent {
5332
5552
  }
5333
5553
  }
5334
5554
  ViewListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ViewListComponent, deps: [{ token: BusViewService }, { token: i0.ChangeDetectorRef }, { token: i1.IntlService }, { token: CalendarDOMService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
5335
- 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: `
5555
+ 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", 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", 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: `
5336
5556
  <kendo-calendar-header
5337
5557
  [currentDate]="activeDate"
5338
5558
  [min]="min"
5339
5559
  [max]="max"
5340
5560
  [id]="id"
5341
5561
  [activeView]="activeView"
5342
- [templateRef]="headerTitleTemplateRef"
5562
+ [titleTemplateRef]="headerTitleTemplateRef"
5563
+ [headerTemplateRef]="headerTemplateRef"
5343
5564
  (todayButtonClick)="todayButtonClick.emit($event)"
5344
5565
  >
5345
5566
  </kendo-calendar-header>
@@ -5397,7 +5618,13 @@ ViewListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
5397
5618
  ></tbody>
5398
5619
  </table>
5399
5620
  </kendo-virtualization>
5400
- `, isInline: true, components: [{ type: HeaderComponent, selector: "kendo-calendar-header", inputs: ["activeView", "currentDate", "min", "max", "rangeLength", "templateRef", "isPrevDisabled", "isNextDisabled", "showNavigationButtons", "orientation", "id"], outputs: ["todayButtonClick", "prevButtonClick", "nextButtonClick"] }, { type: VirtualizationComponent, selector: "kendo-virtualization", inputs: ["direction", "itemHeight", "itemWidth", "topOffset", "bottomOffset", "maxScrollDifference", "scrollOffsetSize", "scrollDuration", "skip", "take", "total"], outputs: ["activeIndexChange", "pageChange", "scrollChange"] }, { type: 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: KForOf, selector: "[kFor][kForOf]", inputs: ["kForOf", "kForTrackBy", "kForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
5621
+ <kendo-calendar-footer
5622
+ *ngIf="showFooter"
5623
+ [footerTemplateRef]="footerTemplateRef"
5624
+ [activeViewValue]="activeViewValue"
5625
+ [currentDate]="activeDate">
5626
+ </kendo-calendar-footer>
5627
+ `, isInline: true, components: [{ type: HeaderComponent, selector: "kendo-calendar-header", inputs: ["activeView", "currentDate", "min", "max", "rangeLength", "titleTemplateRef", "headerTemplateRef", "isPrevDisabled", "isNextDisabled", "showNavigationButtons", "orientation", "id"], outputs: ["todayButtonClick", "prevButtonClick", "nextButtonClick"] }, { type: VirtualizationComponent, selector: "kendo-virtualization", inputs: ["direction", "itemHeight", "itemWidth", "topOffset", "bottomOffset", "maxScrollDifference", "scrollOffsetSize", "scrollDuration", "skip", "take", "total"], outputs: ["activeIndexChange", "pageChange", "scrollChange"] }, { type: 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"] }, { type: FooterComponent, selector: "kendo-calendar-footer", inputs: ["footerTemplateRef", "activeViewValue", "currentDate"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: KForOf, selector: "[kFor][kForOf]", inputs: ["kForOf", "kForTrackBy", "kForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
5401
5628
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ViewListComponent, decorators: [{
5402
5629
  type: Component,
5403
5630
  args: [{
@@ -5410,7 +5637,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
5410
5637
  [max]="max"
5411
5638
  [id]="id"
5412
5639
  [activeView]="activeView"
5413
- [templateRef]="headerTitleTemplateRef"
5640
+ [titleTemplateRef]="headerTitleTemplateRef"
5641
+ [headerTemplateRef]="headerTemplateRef"
5414
5642
  (todayButtonClick)="todayButtonClick.emit($event)"
5415
5643
  >
5416
5644
  </kendo-calendar-header>
@@ -5468,6 +5696,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
5468
5696
  ></tbody>
5469
5697
  </table>
5470
5698
  </kendo-virtualization>
5699
+ <kendo-calendar-footer
5700
+ *ngIf="showFooter"
5701
+ [footerTemplateRef]="footerTemplateRef"
5702
+ [activeViewValue]="activeViewValue"
5703
+ [currentDate]="activeDate">
5704
+ </kendo-calendar-footer>
5471
5705
  `
5472
5706
  }]
5473
5707
  }], ctorParameters: function () { return [{ type: BusViewService }, { type: i0.ChangeDetectorRef }, { type: i1.IntlService }, { type: CalendarDOMService }, { type: i0.Renderer2 }]; }, propDecorators: { cellTemplateRef: [{
@@ -5476,6 +5710,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
5476
5710
  type: Input
5477
5711
  }], headerTitleTemplateRef: [{
5478
5712
  type: Input
5713
+ }], headerTemplateRef: [{
5714
+ type: Input
5715
+ }], footerTemplateRef: [{
5716
+ type: Input
5479
5717
  }], showOtherMonthDays: [{
5480
5718
  type: Input
5481
5719
  }], activeView: [{
@@ -5498,6 +5736,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
5498
5736
  type: Input
5499
5737
  }], id: [{
5500
5738
  type: Input
5739
+ }], showFooter: [{
5740
+ type: Input
5741
+ }], weekDaysFormat: [{
5742
+ type: Input
5501
5743
  }], weekNumber: [{
5502
5744
  type: Input
5503
5745
  }], cellClick: [{
@@ -5817,6 +6059,16 @@ class CalendarComponent {
5817
6059
  * Determines whether the built-in min or max validators are enforced when validating a form.
5818
6060
  */
5819
6061
  this.rangeValidation = false;
6062
+ /**
6063
+ * Sets the format of the displayed Calendar week days' names.
6064
+ * @default 'short'
6065
+ */
6066
+ this.weekDaysFormat = "short";
6067
+ /**
6068
+ * Toggles the visibility of the footer.
6069
+ * @default false
6070
+ */
6071
+ this.footer = false;
5820
6072
  /**
5821
6073
  * Sets the Calendar selection mode
5822
6074
  * ([see example]({% slug multiple_selection_calendar %})).
@@ -6155,6 +6407,29 @@ class CalendarComponent {
6155
6407
  get headerTitleTemplateRef() {
6156
6408
  return this._headerTitleTemplateRef || this.headerTitleTemplate;
6157
6409
  }
6410
+ /**
6411
+ * @hidden
6412
+ *
6413
+ * Defines the template for the header.
6414
+ * Takes precedence over nested templates in the KendoCalendar tag.
6415
+ */
6416
+ set headerTemplateRef(template) {
6417
+ this._headerTemplateRef = template;
6418
+ }
6419
+ get headerTemplateRef() {
6420
+ return this._headerTemplateRef || this.headerTemplate;
6421
+ }
6422
+ /**
6423
+ * @hidden
6424
+ *
6425
+ * Defines the template for the footer.
6426
+ */
6427
+ set footerTemplateRef(template) {
6428
+ this._footerTemplateRef = template;
6429
+ }
6430
+ get footerTemplateRef() {
6431
+ return this._footerTemplateRef || this.footerTemplate;
6432
+ }
6158
6433
  /**
6159
6434
  * @hidden
6160
6435
  *
@@ -6684,7 +6959,7 @@ class CalendarComponent {
6684
6959
  }
6685
6960
  }
6686
6961
  CalendarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: CalendarComponent, deps: [{ token: BusViewService }, { token: CalendarDOMService }, { token: i0.ElementRef }, { token: NavigationService }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i0.Injector }, { token: ScrollSyncService }, { token: DisabledDatesService }, { token: i1$1.LocalizationService }, { token: SelectionService }, { token: PickerService, optional: true }], target: i0.ɵɵFactoryTarget.Component });
6687
- 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: [
6962
+ 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", weekDaysFormat: "weekDaysFormat", footer: "footer", 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"], headerTemplateRef: ["headerTemplate", "headerTemplateRef"], footerTemplateRef: ["footerTemplate", "footerTemplateRef"], 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: [
6688
6963
  BusViewService,
6689
6964
  CALENDAR_VALUE_ACCESSOR,
6690
6965
  CALENDAR_RANGE_VALIDATORS,
@@ -6698,7 +6973,7 @@ CalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
6698
6973
  NavigationService,
6699
6974
  ScrollSyncService,
6700
6975
  SelectionService
6701
- ], queries: [{ propertyName: "cellTemplate", first: true, predicate: CellTemplateDirective, descendants: true }, { propertyName: "monthCellTemplate", first: true, predicate: MonthCellTemplateDirective, descendants: true }, { propertyName: "yearCellTemplate", first: true, predicate: YearCellTemplateDirective, descendants: true }, { propertyName: "decadeCellTemplate", first: true, predicate: DecadeCellTemplateDirective, descendants: true }, { propertyName: "centuryCellTemplate", first: true, predicate: CenturyCellTemplateDirective, descendants: true }, { propertyName: "weekNumberTemplate", first: true, predicate: WeekNumberCellTemplateDirective, descendants: true }, { propertyName: "headerTitleTemplate", first: true, predicate: HeaderTitleTemplateDirective, descendants: true }, { propertyName: "navigationItemTemplate", first: true, predicate: NavigationItemTemplateDirective, descendants: true }], viewQueries: [{ propertyName: "navigationView", first: true, predicate: NavigationComponent, descendants: true }, { propertyName: "monthView", first: true, predicate: ViewListComponent, descendants: true }, { propertyName: "multiViewCalendar", first: true, predicate: MultiViewCalendarComponent, descendants: true }], exportAs: ["kendo-calendar"], usesOnChanges: true, ngImport: i0, template: `
6976
+ ], queries: [{ propertyName: "cellTemplate", first: true, predicate: CellTemplateDirective, descendants: true }, { propertyName: "monthCellTemplate", first: true, predicate: MonthCellTemplateDirective, descendants: true }, { propertyName: "yearCellTemplate", first: true, predicate: YearCellTemplateDirective, descendants: true }, { propertyName: "decadeCellTemplate", first: true, predicate: DecadeCellTemplateDirective, descendants: true }, { propertyName: "centuryCellTemplate", first: true, predicate: CenturyCellTemplateDirective, descendants: true }, { propertyName: "weekNumberTemplate", first: true, predicate: WeekNumberCellTemplateDirective, descendants: true }, { propertyName: "headerTitleTemplate", first: true, predicate: HeaderTitleTemplateDirective, descendants: true }, { propertyName: "headerTemplate", first: true, predicate: HeaderTemplateDirective, descendants: true }, { propertyName: "footerTemplate", first: true, predicate: FooterTemplateDirective, descendants: true }, { propertyName: "navigationItemTemplate", first: true, predicate: NavigationItemTemplateDirective, descendants: true }], viewQueries: [{ propertyName: "navigationView", first: true, predicate: NavigationComponent, descendants: true }, { propertyName: "monthView", first: true, predicate: ViewListComponent, descendants: true }, { propertyName: "multiViewCalendar", first: true, predicate: MultiViewCalendarComponent, descendants: true }], exportAs: ["kendo-calendar"], usesOnChanges: true, ngImport: i0, template: `
6702
6977
  <ng-container kendoCalendarLocalizedMessages
6703
6978
  i18n-today="kendo.calendar.today|The label for the today button in the calendar header"
6704
6979
  today="Today"
@@ -6730,8 +7005,12 @@ CalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
6730
7005
  [showOtherMonthDays]="showOtherMonthDays"
6731
7006
  [isActive]="isActive"
6732
7007
  [id]="headerId"
7008
+ [weekDaysFormat]="weekDaysFormat"
6733
7009
  [cellTemplateRef]="activeCellTemplate()?.templateRef"
6734
7010
  [headerTitleTemplateRef]="headerTitleTemplateRef?.templateRef"
7011
+ [headerTemplateRef]="headerTemplateRef?.templateRef"
7012
+ [showFooter]="footer"
7013
+ [footerTemplateRef]="footerTemplateRef?.templateRef"
6735
7014
  [weekNumberTemplateRef]="weekNumberTemplateRef?.templateRef"
6736
7015
  [cellUID]="cellUID"
6737
7016
  [min]="min"
@@ -6769,6 +7048,7 @@ CalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
6769
7048
  [activeView]="activeView"
6770
7049
  [bottomView]="bottomView"
6771
7050
  [topView]="topView"
7051
+ [weekDaysFormat]="weekDaysFormat"
6772
7052
  [weekNumber]="weekNumber"
6773
7053
  [animateNavigation]="animateNavigation"
6774
7054
  [cellTemplate]="activeCellTemplate()"
@@ -6777,6 +7057,9 @@ CalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
6777
7057
  [decadeCellTemplate]="decadeCellTemplateRef"
6778
7058
  [centuryCellTemplate]="centuryCellTemplateRef"
6779
7059
  [headerTitleTemplate]="headerTitleTemplateRef"
7060
+ [headerTemplate]="headerTemplateRef"
7061
+ [footerTemplate]="footerTemplateRef"
7062
+ [footer]="footer"
6780
7063
  [weekNumberTemplate]="weekNumberTemplateRef"
6781
7064
  [focusedDate]="focusedDate"
6782
7065
  [selection]="selection"
@@ -6799,7 +7082,7 @@ CalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
6799
7082
  </kendo-multiviewcalendar-messages>
6800
7083
  </kendo-multiviewcalendar>
6801
7084
  </ng-container>
6802
- `, isInline: true, components: [{ type: NavigationComponent, selector: "kendo-calendar-navigation", inputs: ["activeView", "min", "max", "focusedDate", "templateRef"], outputs: ["valueChange", "pageChange"] }, { type: 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: i8.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { type: 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: MultiViewCalendarCustomMessagesComponent, selector: "kendo-multiviewcalendar-messages" }], directives: [{ type: CalendarLocalizedMessagesDirective, selector: "[kendoCalendarLocalizedMessages]" }, { type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
7085
+ `, isInline: true, components: [{ type: NavigationComponent, selector: "kendo-calendar-navigation", inputs: ["activeView", "min", "max", "focusedDate", "templateRef"], outputs: ["valueChange", "pageChange"] }, { type: ViewListComponent, selector: "kendo-calendar-viewlist", inputs: ["cellTemplateRef", "weekNumberTemplateRef", "headerTitleTemplateRef", "headerTemplateRef", "footerTemplateRef", "showOtherMonthDays", "activeView", "cellUID", "focusedDate", "isActive", "min", "max", "selectedDates", "tabIndex", "disabled", "id", "showFooter", "weekDaysFormat", "weekNumber"], outputs: ["cellClick", "weekNumberCellClick", "activeDateChange", "todayButtonClick", "pageChange", "focusCalendar", "blurCalendar", "focusedCellChange"] }, { type: i8.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { type: MultiViewCalendarComponent, selector: "kendo-multiviewcalendar", inputs: ["showOtherMonthDays", "showCalendarHeader", "id", "focusedDate", "footer", "min", "max", "rangeValidation", "disabledDatesRangeValidation", "selection", "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", "blur", "focus", "focusCalendar", "onClosePopup", "onTabPress", "onShiftTabPress"], exportAs: ["kendo-multiviewcalendar"] }, { type: MultiViewCalendarCustomMessagesComponent, selector: "kendo-multiviewcalendar-messages" }], directives: [{ type: CalendarLocalizedMessagesDirective, selector: "[kendoCalendarLocalizedMessages]" }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
6803
7086
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: CalendarComponent, decorators: [{
6804
7087
  type: Component,
6805
7088
  args: [{
@@ -6853,8 +7136,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
6853
7136
  [showOtherMonthDays]="showOtherMonthDays"
6854
7137
  [isActive]="isActive"
6855
7138
  [id]="headerId"
7139
+ [weekDaysFormat]="weekDaysFormat"
6856
7140
  [cellTemplateRef]="activeCellTemplate()?.templateRef"
6857
7141
  [headerTitleTemplateRef]="headerTitleTemplateRef?.templateRef"
7142
+ [headerTemplateRef]="headerTemplateRef?.templateRef"
7143
+ [showFooter]="footer"
7144
+ [footerTemplateRef]="footerTemplateRef?.templateRef"
6858
7145
  [weekNumberTemplateRef]="weekNumberTemplateRef?.templateRef"
6859
7146
  [cellUID]="cellUID"
6860
7147
  [min]="min"
@@ -6892,6 +7179,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
6892
7179
  [activeView]="activeView"
6893
7180
  [bottomView]="bottomView"
6894
7181
  [topView]="topView"
7182
+ [weekDaysFormat]="weekDaysFormat"
6895
7183
  [weekNumber]="weekNumber"
6896
7184
  [animateNavigation]="animateNavigation"
6897
7185
  [cellTemplate]="activeCellTemplate()"
@@ -6900,6 +7188,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
6900
7188
  [decadeCellTemplate]="decadeCellTemplateRef"
6901
7189
  [centuryCellTemplate]="centuryCellTemplateRef"
6902
7190
  [headerTitleTemplate]="headerTitleTemplateRef"
7191
+ [headerTemplate]="headerTemplateRef"
7192
+ [footerTemplate]="footerTemplateRef"
7193
+ [footer]="footer"
6903
7194
  [weekNumberTemplate]="weekNumberTemplateRef"
6904
7195
  [focusedDate]="focusedDate"
6905
7196
  [selection]="selection"
@@ -6940,6 +7231,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
6940
7231
  type: Input
6941
7232
  }], rangeValidation: [{
6942
7233
  type: Input
7234
+ }], weekDaysFormat: [{
7235
+ type: Input
7236
+ }], footer: [{
7237
+ type: Input
6943
7238
  }], selection: [{
6944
7239
  type: Input
6945
7240
  }], value: [{
@@ -7022,9 +7317,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
7022
7317
  }], headerTitleTemplate: [{
7023
7318
  type: ContentChild,
7024
7319
  args: [HeaderTitleTemplateDirective, { static: false }]
7320
+ }], headerTemplate: [{
7321
+ type: ContentChild,
7322
+ args: [HeaderTemplateDirective]
7323
+ }], footerTemplate: [{
7324
+ type: ContentChild,
7325
+ args: [FooterTemplateDirective]
7025
7326
  }], headerTitleTemplateRef: [{
7026
7327
  type: Input,
7027
7328
  args: ['headerTitleTemplate']
7329
+ }], headerTemplateRef: [{
7330
+ type: Input,
7331
+ args: ['headerTemplate']
7332
+ }], footerTemplateRef: [{
7333
+ type: Input,
7334
+ args: ['footerTemplate']
7028
7335
  }], navigationItemTemplate: [{
7029
7336
  type: ContentChild,
7030
7337
  args: [NavigationItemTemplateDirective, { static: false }]
@@ -7991,7 +8298,7 @@ DateInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
7991
8298
  </kendo-icon-wrapper>
7992
8299
  </button>
7993
8300
  </span>
7994
- `, isInline: true, components: [{ type: i7$1.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: DateInputLocalizedMessagesDirective, selector: "[kendoDateInputLocalizedMessages]" }, { type: i8.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
8301
+ `, isInline: true, components: [{ type: i7.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: DateInputLocalizedMessagesDirective, selector: "[kendoDateInputLocalizedMessages]" }, { type: i8.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
7995
8302
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DateInputComponent, decorators: [{
7996
8303
  type: Component,
7997
8304
  args: [{
@@ -8332,6 +8639,16 @@ class DatePickerComponent {
8332
8639
  * @hidden
8333
8640
  */
8334
8641
  this.calendarIcon = calendarIcon;
8642
+ /**
8643
+ * Toggles the visibility of the Calendar footer.
8644
+ * @default false
8645
+ */
8646
+ this.footer = false;
8647
+ /**
8648
+ * Sets the format of the displayed Calendar week days' names.
8649
+ * @default 'short'
8650
+ */
8651
+ this.weekDaysFormat = "short";
8335
8652
  /**
8336
8653
  * Defines the active view that the Calendar initially renders
8337
8654
  * ([see example]({% slug calendar_type_datepicker %}#toc-active-view)).
@@ -8608,6 +8925,18 @@ class DatePickerComponent {
8608
8925
  set headerTitleTemplateRef(template) {
8609
8926
  this.headerTitleTemplate = template;
8610
8927
  }
8928
+ /**
8929
+ * @hidden
8930
+ */
8931
+ set headerTemplateRef(template) {
8932
+ this.headerTemplate = template;
8933
+ }
8934
+ /**
8935
+ * @hidden
8936
+ */
8937
+ set footerTemplateRef(template) {
8938
+ this.footerTemplate = template;
8939
+ }
8611
8940
  /**
8612
8941
  * @hidden
8613
8942
  */
@@ -9313,7 +9642,7 @@ class DatePickerComponent {
9313
9642
  }
9314
9643
  }
9315
9644
  DatePickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DatePickerComponent, deps: [{ token: i0.NgZone }, { token: i1$1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i1$2.PopupService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.Injector }, { token: PickerService }, { token: DisabledDatesService }, { token: TOUCH_ENABLED, optional: true }], target: i0.ɵɵFactoryTarget.Component });
9316
- DatePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: DatePickerComponent, selector: "kendo-datepicker", inputs: { focusableId: "focusableId", cellTemplateRef: ["cellTemplate", "cellTemplateRef"], monthCellTemplateRef: ["monthCellTemplate", "monthCellTemplateRef"], yearCellTemplateRef: ["yearCellTemplate", "yearCellTemplateRef"], decadeCellTemplateRef: ["decadeCellTemplate", "decadeCellTemplateRef"], centuryCellTemplateRef: ["centuryCellTemplate", "centuryCellTemplateRef"], weekNumberTemplateRef: ["weekNumberTemplate", "weekNumberTemplateRef"], headerTitleTemplateRef: ["headerTitleTemplate", "headerTitleTemplateRef"], navigationItemTemplateRef: ["navigationItemTemplate", "navigationItemTemplateRef"], 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" }, outputs: { valueChange: "valueChange", onFocus: "focus", onBlur: "blur", open: "open", close: "close" }, host: { properties: { "class.k-readonly": "this.readonly", "class.k-datepicker": "this.wrapperClasses", "class.k-input": "this.wrapperClasses", "class.k-disabled": "this.disabledClass" } }, providers: [
9645
+ DatePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: DatePickerComponent, selector: "kendo-datepicker", inputs: { focusableId: "focusableId", 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"], footer: "footer", navigationItemTemplateRef: ["navigationItemTemplate", "navigationItemTemplateRef"], weekDaysFormat: "weekDaysFormat", 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" }, outputs: { valueChange: "valueChange", onFocus: "focus", onBlur: "blur", open: "open", close: "close" }, host: { properties: { "class.k-readonly": "this.readonly", "class.k-datepicker": "this.wrapperClasses", "class.k-input": "this.wrapperClasses", "class.k-disabled": "this.disabledClass" } }, providers: [
9317
9646
  { provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => DatePickerComponent), multi: true },
9318
9647
  { provide: NG_VALIDATORS, useExisting: forwardRef(() => DatePickerComponent), multi: true },
9319
9648
  { provide: KendoInput, useExisting: forwardRef(() => DatePickerComponent) },
@@ -9324,7 +9653,7 @@ DatePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
9324
9653
  provide: L10N_PREFIX,
9325
9654
  useValue: 'kendo.datepicker'
9326
9655
  }
9327
- ], queries: [{ propertyName: "cellTemplate", first: true, predicate: CellTemplateDirective, descendants: true }, { propertyName: "monthCellTemplate", first: true, predicate: MonthCellTemplateDirective, descendants: true }, { propertyName: "yearCellTemplate", first: true, predicate: YearCellTemplateDirective, descendants: true }, { propertyName: "decadeCellTemplate", first: true, predicate: DecadeCellTemplateDirective, descendants: true }, { propertyName: "centuryCellTemplate", first: true, predicate: CenturyCellTemplateDirective, descendants: true }, { propertyName: "weekNumberTemplate", first: true, predicate: WeekNumberCellTemplateDirective, descendants: true }, { propertyName: "headerTitleTemplate", first: true, predicate: HeaderTitleTemplateDirective, descendants: true }, { propertyName: "navigationItemTemplate", first: true, predicate: NavigationItemTemplateDirective, descendants: true }], viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "toggleButton", first: true, predicate: ["toggleButton"], descendants: true, static: true }, { propertyName: "actionSheet", first: true, predicate: ["actionSheet"], descendants: true }], exportAs: ["kendo-datepicker"], usesOnChanges: true, ngImport: i0, template: `
9656
+ ], queries: [{ propertyName: "cellTemplate", first: true, predicate: CellTemplateDirective, descendants: true }, { propertyName: "monthCellTemplate", first: true, predicate: MonthCellTemplateDirective, descendants: true }, { propertyName: "yearCellTemplate", first: true, predicate: YearCellTemplateDirective, descendants: true }, { propertyName: "decadeCellTemplate", first: true, predicate: DecadeCellTemplateDirective, descendants: true }, { propertyName: "centuryCellTemplate", first: true, predicate: CenturyCellTemplateDirective, descendants: true }, { propertyName: "weekNumberTemplate", first: true, predicate: WeekNumberCellTemplateDirective, descendants: true }, { propertyName: "headerTitleTemplate", first: true, predicate: HeaderTitleTemplateDirective, descendants: true }, { propertyName: "headerTemplate", first: true, predicate: HeaderTemplateDirective, descendants: true }, { propertyName: "footerTemplate", first: true, predicate: FooterTemplateDirective, descendants: true }, { propertyName: "navigationItemTemplate", first: true, predicate: NavigationItemTemplateDirective, descendants: true }], viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "toggleButton", first: true, predicate: ["toggleButton"], descendants: true, static: true }, { propertyName: "actionSheet", first: true, predicate: ["actionSheet"], descendants: true }], exportAs: ["kendo-datepicker"], usesOnChanges: true, ngImport: i0, template: `
9328
9657
  <ng-container kendoDatePickerLocalizedMessages
9329
9658
  i18n-today="kendo.datepicker.today|The label for the today button in the calendar header"
9330
9659
  today="Today"
@@ -9449,6 +9778,7 @@ DatePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
9449
9778
  [type]="calendarType"
9450
9779
  [min]="min"
9451
9780
  [max]="max"
9781
+ [weekDaysFormat]="weekDaysFormat"
9452
9782
  [navigation]="navigation"
9453
9783
  [animateNavigation]="animateCalendarNavigation"
9454
9784
  [activeView]="activeView"
@@ -9463,6 +9793,9 @@ DatePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
9463
9793
  [centuryCellTemplate]="centuryCellTemplate"
9464
9794
  [weekNumberTemplate]="weekNumberTemplate"
9465
9795
  [headerTitleTemplate]="headerTitleTemplate"
9796
+ [headerTemplate]="headerTemplate"
9797
+ [footerTemplate]="footerTemplate"
9798
+ [footer]="footer"
9466
9799
  [navigationItemTemplate]="navigationItemTemplate"
9467
9800
  [focusedDate]="focusedDate"
9468
9801
  [value]="value"
@@ -9482,7 +9815,7 @@ DatePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
9482
9815
  </kendo-calendar-messages>
9483
9816
  </kendo-calendar>
9484
9817
  </ng-template>
9485
- `, isInline: true, components: [{ type: DateInputComponent, selector: "kendo-dateinput", inputs: ["focusableId", "pickerType", "disabled", "readonly", "title", "tabindex", "role", "ariaReadOnly", "tabIndex", "format", "formatPlaceholder", "placeholder", "steps", "max", "min", "rangeValidation", "autoCorrectParts", "autoSwitchParts", "autoSwitchKeys", "allowCaretMode", "autoFill", "incompleteDateValidation", "twoDigitYearMax", "enableMouseWheel", "value", "spinners", "isPopupOpen", "hasPopup", "size", "rounded", "fillMode"], outputs: ["valueChange", "valueUpdate", "focus", "blur"], exportAs: ["kendo-dateinput"] }, { type: i7$1.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { type: i8.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { type: i9.ActionSheetComponent, selector: "kendo-actionsheet", inputs: ["title", "subtitle", "items", "cssClass", "animation", "expanded", "titleId"], outputs: ["expandedChange", "expand", "collapse", "itemClick", "overlayClick"], exportAs: ["kendoActionSheet"] }, { type: i10.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"] }, { type: CalendarComponent, selector: "kendo-calendar", inputs: ["showOtherMonthDays", "id", "focusedDate", "min", "max", "rangeValidation", "selection", "value", "disabled", "tabindex", "tabIndex", "disabledDates", "navigation", "activeView", "bottomView", "topView", "type", "animateNavigation", "weekNumber", "cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "navigationItemTemplate", "size"], outputs: ["activeViewChange", "navigate", "activeViewDateChange", "blur", "focus", "valueChange"], exportAs: ["kendo-calendar"] }, { type: CalendarCustomMessagesComponent, selector: "kendo-calendar-messages" }], directives: [{ type: DatePickerLocalizedMessagesDirective, selector: "[kendoDatePickerLocalizedMessages]" }, { type: i8.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i7.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i9.ActionSheetTemplateDirective, selector: "[kendoActionSheetTemplate]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
9818
+ `, isInline: true, components: [{ type: DateInputComponent, selector: "kendo-dateinput", inputs: ["focusableId", "pickerType", "disabled", "readonly", "title", "tabindex", "role", "ariaReadOnly", "tabIndex", "format", "formatPlaceholder", "placeholder", "steps", "max", "min", "rangeValidation", "autoCorrectParts", "autoSwitchParts", "autoSwitchKeys", "allowCaretMode", "autoFill", "incompleteDateValidation", "twoDigitYearMax", "enableMouseWheel", "value", "spinners", "isPopupOpen", "hasPopup", "size", "rounded", "fillMode"], outputs: ["valueChange", "valueUpdate", "focus", "blur"], exportAs: ["kendo-dateinput"] }, { type: i7.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { type: i8.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { type: i9.ActionSheetComponent, selector: "kendo-actionsheet", inputs: ["title", "subtitle", "items", "cssClass", "animation", "expanded", "titleId"], outputs: ["expandedChange", "expand", "collapse", "itemClick", "overlayClick"], exportAs: ["kendoActionSheet"] }, { type: i10.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"] }, { type: CalendarComponent, selector: "kendo-calendar", inputs: ["showOtherMonthDays", "id", "focusedDate", "min", "max", "rangeValidation", "weekDaysFormat", "footer", "selection", "value", "disabled", "tabindex", "tabIndex", "disabledDates", "navigation", "activeView", "bottomView", "topView", "type", "animateNavigation", "weekNumber", "cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "headerTemplate", "footerTemplate", "navigationItemTemplate", "size"], outputs: ["activeViewChange", "navigate", "activeViewDateChange", "blur", "focus", "valueChange"], exportAs: ["kendo-calendar"] }, { type: CalendarCustomMessagesComponent, selector: "kendo-calendar-messages" }], directives: [{ type: DatePickerLocalizedMessagesDirective, selector: "[kendoDatePickerLocalizedMessages]" }, { type: i8.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i9.ActionSheetTemplateDirective, selector: "[kendoActionSheetTemplate]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
9486
9819
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DatePickerComponent, decorators: [{
9487
9820
  type: Component,
9488
9821
  args: [{
@@ -9626,6 +9959,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
9626
9959
  [type]="calendarType"
9627
9960
  [min]="min"
9628
9961
  [max]="max"
9962
+ [weekDaysFormat]="weekDaysFormat"
9629
9963
  [navigation]="navigation"
9630
9964
  [animateNavigation]="animateCalendarNavigation"
9631
9965
  [activeView]="activeView"
@@ -9640,6 +9974,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
9640
9974
  [centuryCellTemplate]="centuryCellTemplate"
9641
9975
  [weekNumberTemplate]="weekNumberTemplate"
9642
9976
  [headerTitleTemplate]="headerTitleTemplate"
9977
+ [headerTemplate]="headerTemplate"
9978
+ [footerTemplate]="footerTemplate"
9979
+ [footer]="footer"
9643
9980
  [navigationItemTemplate]="navigationItemTemplate"
9644
9981
  [focusedDate]="focusedDate"
9645
9982
  [value]="value"
@@ -9724,12 +10061,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
9724
10061
  }], headerTitleTemplateRef: [{
9725
10062
  type: Input,
9726
10063
  args: ['headerTitleTemplate']
10064
+ }], headerTemplate: [{
10065
+ type: ContentChild,
10066
+ args: [HeaderTemplateDirective]
10067
+ }], headerTemplateRef: [{
10068
+ type: Input,
10069
+ args: ['headerTemplate']
10070
+ }], footerTemplate: [{
10071
+ type: ContentChild,
10072
+ args: [FooterTemplateDirective]
10073
+ }], footerTemplateRef: [{
10074
+ type: Input,
10075
+ args: ['footerTemplate']
10076
+ }], footer: [{
10077
+ type: Input
9727
10078
  }], navigationItemTemplate: [{
9728
10079
  type: ContentChild,
9729
10080
  args: [NavigationItemTemplateDirective, { static: false }]
9730
10081
  }], navigationItemTemplateRef: [{
9731
10082
  type: Input,
9732
10083
  args: ['navigationItemTemplate']
10084
+ }], weekDaysFormat: [{
10085
+ type: Input
9733
10086
  }], showOtherMonthDays: [{
9734
10087
  type: Input
9735
10088
  }], activeView: [{
@@ -10763,7 +11116,7 @@ TimeListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
10763
11116
  </li>
10764
11117
  </ul>
10765
11118
  </kendo-virtualization>
10766
- `, isInline: true, components: [{ type: VirtualizationComponent, selector: "kendo-virtualization", inputs: ["direction", "itemHeight", "itemWidth", "topOffset", "bottomOffset", "maxScrollDifference", "scrollOffsetSize", "scrollDuration", "skip", "take", "total"], outputs: ["activeIndexChange", "pageChange", "scrollChange"] }], directives: [{ type: i7.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i8.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i7.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
11119
+ `, isInline: true, components: [{ type: VirtualizationComponent, selector: "kendo-virtualization", inputs: ["direction", "itemHeight", "itemWidth", "topOffset", "bottomOffset", "maxScrollDifference", "scrollOffsetSize", "scrollDuration", "skip", "take", "total"], outputs: ["activeIndexChange", "pageChange", "scrollChange"] }], directives: [{ type: i4.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i8.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
10767
11120
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TimeListComponent, decorators: [{
10768
11121
  type: Component,
10769
11122
  args: [{
@@ -11456,7 +11809,7 @@ TimeSelectorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
11456
11809
  [disabled]="disabled"
11457
11810
  >{{localization.get('cancel')}}</button>
11458
11811
  </div>
11459
- `, isInline: true, components: [{ type: TimeListComponent, selector: "kendo-timelist", inputs: ["min", "max", "part", "step", "disabled", "value", "isLast"], outputs: ["valueChange", "tabOutLastPart"] }], directives: [{ type: TimeSelectorLocalizedMessagesDirective, selector: "[kendoTimeSelectorLocalizedMessages]" }, { type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i8.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i7.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
11812
+ `, isInline: true, components: [{ type: TimeListComponent, selector: "kendo-timelist", inputs: ["min", "max", "part", "step", "disabled", "value", "isLast"], outputs: ["valueChange", "tabOutLastPart"] }], directives: [{ type: TimeSelectorLocalizedMessagesDirective, selector: "[kendoTimeSelectorLocalizedMessages]" }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i8.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
11460
11813
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TimeSelectorComponent, decorators: [{
11461
11814
  type: Component,
11462
11815
  args: [{
@@ -12817,7 +13170,7 @@ TimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
12817
13170
  </kendo-timeselector-messages>
12818
13171
  </kendo-timeselector>
12819
13172
  </ng-template>
12820
- `, isInline: true, components: [{ type: DateInputComponent, selector: "kendo-dateinput", inputs: ["focusableId", "pickerType", "disabled", "readonly", "title", "tabindex", "role", "ariaReadOnly", "tabIndex", "format", "formatPlaceholder", "placeholder", "steps", "max", "min", "rangeValidation", "autoCorrectParts", "autoSwitchParts", "autoSwitchKeys", "allowCaretMode", "autoFill", "incompleteDateValidation", "twoDigitYearMax", "enableMouseWheel", "value", "spinners", "isPopupOpen", "hasPopup", "size", "rounded", "fillMode"], outputs: ["valueChange", "valueUpdate", "focus", "blur"], exportAs: ["kendo-dateinput"] }, { type: i7$1.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { type: i8.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { type: i9.ActionSheetComponent, selector: "kendo-actionsheet", inputs: ["title", "subtitle", "items", "cssClass", "animation", "expanded", "titleId"], outputs: ["expandedChange", "expand", "collapse", "itemClick", "overlayClick"], exportAs: ["kendoActionSheet"] }, { type: i10.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"] }, { type: TimeSelectorComponent, selector: "kendo-timeselector", inputs: ["format", "min", "max", "cancelButton", "setButton", "nowButton", "disabled", "isAdaptiveEnabled", "isDateTimePicker", "steps", "value"], outputs: ["valueChange", "valueReject", "tabOutLastPart"], exportAs: ["kendo-timeselector"] }, { type: TimeSelectorCustomMessagesComponent, selector: "kendo-timeselector-messages" }], directives: [{ type: TimePickerLocalizedMessagesDirective, selector: "[kendoTimePickerLocalizedMessages]" }, { type: i8.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i7.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i9.ActionSheetTemplateDirective, selector: "[kendoActionSheetTemplate]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
13173
+ `, isInline: true, components: [{ type: DateInputComponent, selector: "kendo-dateinput", inputs: ["focusableId", "pickerType", "disabled", "readonly", "title", "tabindex", "role", "ariaReadOnly", "tabIndex", "format", "formatPlaceholder", "placeholder", "steps", "max", "min", "rangeValidation", "autoCorrectParts", "autoSwitchParts", "autoSwitchKeys", "allowCaretMode", "autoFill", "incompleteDateValidation", "twoDigitYearMax", "enableMouseWheel", "value", "spinners", "isPopupOpen", "hasPopup", "size", "rounded", "fillMode"], outputs: ["valueChange", "valueUpdate", "focus", "blur"], exportAs: ["kendo-dateinput"] }, { type: i7.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { type: i8.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { type: i9.ActionSheetComponent, selector: "kendo-actionsheet", inputs: ["title", "subtitle", "items", "cssClass", "animation", "expanded", "titleId"], outputs: ["expandedChange", "expand", "collapse", "itemClick", "overlayClick"], exportAs: ["kendoActionSheet"] }, { type: i10.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"] }, { type: TimeSelectorComponent, selector: "kendo-timeselector", inputs: ["format", "min", "max", "cancelButton", "setButton", "nowButton", "disabled", "isAdaptiveEnabled", "isDateTimePicker", "steps", "value"], outputs: ["valueChange", "valueReject", "tabOutLastPart"], exportAs: ["kendo-timeselector"] }, { type: TimeSelectorCustomMessagesComponent, selector: "kendo-timeselector-messages" }], directives: [{ type: TimePickerLocalizedMessagesDirective, selector: "[kendoTimePickerLocalizedMessages]" }, { type: i8.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i9.ActionSheetTemplateDirective, selector: "[kendoActionSheetTemplate]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
12821
13174
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TimePickerComponent, decorators: [{
12822
13175
  type: Component,
12823
13176
  args: [{
@@ -13254,6 +13607,11 @@ class DateTimePickerComponent {
13254
13607
  * @hidden
13255
13608
  */
13256
13609
  this.hostClasses = true;
13610
+ /**
13611
+ * Sets the format of the displayed Calendar week days' names.
13612
+ * @default 'short'
13613
+ */
13614
+ this.weekDaysFormat = "short";
13257
13615
  /**
13258
13616
  * The maximum year to assume to be from the current century when typing two-digit year value
13259
13617
  * ([see example]({% slug formats_datetimepicker %}#toc-two-digit-year-format)).
@@ -13448,6 +13806,11 @@ class DateTimePickerComponent {
13448
13806
  * @hidden
13449
13807
  */
13450
13808
  this.xIcon = xIcon;
13809
+ /**
13810
+ * Toggles the visibility of the Calendar footer.
13811
+ * @default false
13812
+ */
13813
+ this.footer = false;
13451
13814
  this._popupSettings = { animate: true };
13452
13815
  this._value = null;
13453
13816
  this._format = DEFAULT_DATEINPUT_FORMAT;
@@ -13764,6 +14127,18 @@ class DateTimePickerComponent {
13764
14127
  }
13765
14128
  this.windowSize = windowSize();
13766
14129
  }
14130
+ /**
14131
+ * @hidden
14132
+ */
14133
+ set headerTemplateRef(template) {
14134
+ this.headerTemplate = template;
14135
+ }
14136
+ /**
14137
+ * @hidden
14138
+ */
14139
+ set footerTemplateRef(template) {
14140
+ this.footerTemplate = template;
14141
+ }
13767
14142
  get activeTabComponent() {
13768
14143
  if (!this.isOpen) {
13769
14144
  return;
@@ -14444,7 +14819,7 @@ class DateTimePickerComponent {
14444
14819
  }
14445
14820
  }
14446
14821
  DateTimePickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DateTimePickerComponent, deps: [{ token: i1$2.PopupService }, { token: i1.IntlService }, { token: i0.ChangeDetectorRef }, { token: PickerService }, { token: i0.NgZone }, { token: i0.ElementRef }, { token: TOUCH_ENABLED }, { token: i1$1.LocalizationService }, { token: DisabledDatesService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
14447
- DateTimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: DateTimePickerComponent, selector: "kendo-datetimepicker", inputs: { 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" }, outputs: { valueChange: "valueChange", open: "open", close: "close", onFocus: "focus", onBlur: "blur" }, host: { properties: { "class.k-datetimepicker": "this.hostClasses", "class.k-input": "this.hostClasses", "class.k-disabled": "this.disabledClass", "class.k-readonly": "this.readonly" } }, providers: [
14822
+ DateTimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: DateTimePickerComponent, selector: "kendo-datetimepicker", inputs: { focusableId: "focusableId", weekDaysFormat: "weekDaysFormat", 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", headerTemplateRef: ["headerTemplate", "headerTemplateRef"], footerTemplateRef: ["footerTemplate", "footerTemplateRef"], footer: "footer" }, outputs: { valueChange: "valueChange", open: "open", close: "close", onFocus: "focus", onBlur: "blur" }, host: { properties: { "class.k-datetimepicker": "this.hostClasses", "class.k-input": "this.hostClasses", "class.k-disabled": "this.disabledClass", "class.k-readonly": "this.readonly" } }, providers: [
14448
14823
  PickerService,
14449
14824
  LocalizationService,
14450
14825
  DisabledDatesService,
@@ -14452,7 +14827,7 @@ DateTimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
14452
14827
  { provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => DateTimePickerComponent), multi: true },
14453
14828
  { provide: NG_VALIDATORS, useExisting: forwardRef(() => DateTimePickerComponent), multi: true },
14454
14829
  { provide: KendoInput, useExisting: forwardRef(() => DateTimePickerComponent) }
14455
- ], queries: [{ propertyName: "cellTemplate", first: true, predicate: CellTemplateDirective, descendants: true }, { propertyName: "monthCellTemplate", first: true, predicate: MonthCellTemplateDirective, descendants: true }, { propertyName: "yearCellTemplate", first: true, predicate: YearCellTemplateDirective, descendants: true }, { propertyName: "decadeCellTemplate", first: true, predicate: DecadeCellTemplateDirective, descendants: true }, { propertyName: "centuryCellTemplate", first: true, predicate: CenturyCellTemplateDirective, descendants: true }, { propertyName: "weekNumberTemplate", first: true, predicate: WeekNumberCellTemplateDirective, descendants: true }, { propertyName: "headerTitleTemplate", first: true, predicate: HeaderTitleTemplateDirective, descendants: true }], viewQueries: [{ propertyName: "toggleButton", first: true, predicate: ["toggleButton"], descendants: true, static: true }, { propertyName: "container", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, read: TemplateRef, static: true }, { propertyName: "actionSheet", first: true, predicate: ["actionSheet"], descendants: true }], exportAs: ["kendo-datetimepicker"], usesOnChanges: true, ngImport: i0, template: `
14830
+ ], queries: [{ propertyName: "cellTemplate", first: true, predicate: CellTemplateDirective, descendants: true }, { propertyName: "monthCellTemplate", first: true, predicate: MonthCellTemplateDirective, descendants: true }, { propertyName: "yearCellTemplate", first: true, predicate: YearCellTemplateDirective, descendants: true }, { propertyName: "decadeCellTemplate", first: true, predicate: DecadeCellTemplateDirective, descendants: true }, { propertyName: "centuryCellTemplate", first: true, predicate: CenturyCellTemplateDirective, descendants: true }, { propertyName: "weekNumberTemplate", first: true, predicate: WeekNumberCellTemplateDirective, descendants: true }, { propertyName: "headerTitleTemplate", first: true, predicate: HeaderTitleTemplateDirective, descendants: true }, { propertyName: "headerTemplate", first: true, predicate: HeaderTemplateDirective, descendants: true }, { propertyName: "footerTemplate", first: true, predicate: FooterTemplateDirective, descendants: true }], viewQueries: [{ propertyName: "toggleButton", first: true, predicate: ["toggleButton"], descendants: true, static: true }, { propertyName: "container", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, read: TemplateRef, static: true }, { propertyName: "actionSheet", first: true, predicate: ["actionSheet"], descendants: true }], exportAs: ["kendo-datetimepicker"], usesOnChanges: true, ngImport: i0, template: `
14456
14831
  <ng-container
14457
14832
  kendoDateTimePickerLocalizedMessages
14458
14833
 
@@ -14716,6 +15091,7 @@ DateTimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
14716
15091
  [type]="calendarType"
14717
15092
  [min]="calendarMin"
14718
15093
  [max]="calendarMax"
15094
+ [weekDaysFormat]="weekDaysFormat"
14719
15095
  [weekNumber]="weekNumber"
14720
15096
  [navigation]="false"
14721
15097
  [animateNavigation]="animateCalendarNavigation"
@@ -14727,6 +15103,9 @@ DateTimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
14727
15103
  [centuryCellTemplate]="centuryCellTemplate"
14728
15104
  [weekNumberTemplate]="weekNumberTemplate"
14729
15105
  [headerTitleTemplate]="headerTitleTemplate"
15106
+ [headerTemplate]="headerTemplate"
15107
+ [footerTemplate]="footerTemplate"
15108
+ [footer]="footer"
14730
15109
  [disabled]="disableCalendar"
14731
15110
  [disabledDates]="disabledDates"
14732
15111
  (valueChange)="handleCalendarValueChange()"
@@ -14814,7 +15193,7 @@ DateTimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
14814
15193
  </div>
14815
15194
  </div>
14816
15195
  </ng-template>
14817
- `, isInline: true, components: [{ type: DateInputComponent, selector: "kendo-dateinput", inputs: ["focusableId", "pickerType", "disabled", "readonly", "title", "tabindex", "role", "ariaReadOnly", "tabIndex", "format", "formatPlaceholder", "placeholder", "steps", "max", "min", "rangeValidation", "autoCorrectParts", "autoSwitchParts", "autoSwitchKeys", "allowCaretMode", "autoFill", "incompleteDateValidation", "twoDigitYearMax", "enableMouseWheel", "value", "spinners", "isPopupOpen", "hasPopup", "size", "rounded", "fillMode"], outputs: ["valueChange", "valueUpdate", "focus", "blur"], exportAs: ["kendo-dateinput"] }, { type: i7$1.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { type: i8.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { type: i9.ActionSheetComponent, selector: "kendo-actionsheet", inputs: ["title", "subtitle", "items", "cssClass", "animation", "expanded", "titleId"], outputs: ["expandedChange", "expand", "collapse", "itemClick", "overlayClick"], exportAs: ["kendoActionSheet"] }, { type: i10.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"] }, { type: CalendarComponent, selector: "kendo-calendar", inputs: ["showOtherMonthDays", "id", "focusedDate", "min", "max", "rangeValidation", "selection", "value", "disabled", "tabindex", "tabIndex", "disabledDates", "navigation", "activeView", "bottomView", "topView", "type", "animateNavigation", "weekNumber", "cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "navigationItemTemplate", "size"], outputs: ["activeViewChange", "navigate", "activeViewDateChange", "blur", "focus", "valueChange"], exportAs: ["kendo-calendar"] }, { type: CalendarCustomMessagesComponent, selector: "kendo-calendar-messages" }, { type: TimeSelectorComponent, selector: "kendo-timeselector", inputs: ["format", "min", "max", "cancelButton", "setButton", "nowButton", "disabled", "isAdaptiveEnabled", "isDateTimePicker", "steps", "value"], outputs: ["valueChange", "valueReject", "tabOutLastPart"], exportAs: ["kendo-timeselector"] }, { type: TimeSelectorCustomMessagesComponent, selector: "kendo-timeselector-messages" }], directives: [{ type: LocalizedMessagesDirective, selector: "[kendoDateTimePickerLocalizedMessages]" }, { type: i8.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i7.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i9.ActionSheetTemplateDirective, selector: "[kendoActionSheetTemplate]" }, { type: i7.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
15196
+ `, isInline: true, components: [{ type: DateInputComponent, selector: "kendo-dateinput", inputs: ["focusableId", "pickerType", "disabled", "readonly", "title", "tabindex", "role", "ariaReadOnly", "tabIndex", "format", "formatPlaceholder", "placeholder", "steps", "max", "min", "rangeValidation", "autoCorrectParts", "autoSwitchParts", "autoSwitchKeys", "allowCaretMode", "autoFill", "incompleteDateValidation", "twoDigitYearMax", "enableMouseWheel", "value", "spinners", "isPopupOpen", "hasPopup", "size", "rounded", "fillMode"], outputs: ["valueChange", "valueUpdate", "focus", "blur"], exportAs: ["kendo-dateinput"] }, { type: i7.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { type: i8.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { type: i9.ActionSheetComponent, selector: "kendo-actionsheet", inputs: ["title", "subtitle", "items", "cssClass", "animation", "expanded", "titleId"], outputs: ["expandedChange", "expand", "collapse", "itemClick", "overlayClick"], exportAs: ["kendoActionSheet"] }, { type: i10.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"] }, { type: CalendarComponent, selector: "kendo-calendar", inputs: ["showOtherMonthDays", "id", "focusedDate", "min", "max", "rangeValidation", "weekDaysFormat", "footer", "selection", "value", "disabled", "tabindex", "tabIndex", "disabledDates", "navigation", "activeView", "bottomView", "topView", "type", "animateNavigation", "weekNumber", "cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "headerTemplate", "footerTemplate", "navigationItemTemplate", "size"], outputs: ["activeViewChange", "navigate", "activeViewDateChange", "blur", "focus", "valueChange"], exportAs: ["kendo-calendar"] }, { type: CalendarCustomMessagesComponent, selector: "kendo-calendar-messages" }, { type: TimeSelectorComponent, selector: "kendo-timeselector", inputs: ["format", "min", "max", "cancelButton", "setButton", "nowButton", "disabled", "isAdaptiveEnabled", "isDateTimePicker", "steps", "value"], outputs: ["valueChange", "valueReject", "tabOutLastPart"], exportAs: ["kendo-timeselector"] }, { type: TimeSelectorCustomMessagesComponent, selector: "kendo-timeselector-messages" }], directives: [{ type: LocalizedMessagesDirective, selector: "[kendoDateTimePickerLocalizedMessages]" }, { type: i8.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i9.ActionSheetTemplateDirective, selector: "[kendoActionSheetTemplate]" }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
14818
15197
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DateTimePickerComponent, decorators: [{
14819
15198
  type: Component,
14820
15199
  args: [{
@@ -15094,6 +15473,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
15094
15473
  [type]="calendarType"
15095
15474
  [min]="calendarMin"
15096
15475
  [max]="calendarMax"
15476
+ [weekDaysFormat]="weekDaysFormat"
15097
15477
  [weekNumber]="weekNumber"
15098
15478
  [navigation]="false"
15099
15479
  [animateNavigation]="animateCalendarNavigation"
@@ -15105,6 +15485,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
15105
15485
  [centuryCellTemplate]="centuryCellTemplate"
15106
15486
  [weekNumberTemplate]="weekNumberTemplate"
15107
15487
  [headerTitleTemplate]="headerTitleTemplate"
15488
+ [headerTemplate]="headerTemplate"
15489
+ [footerTemplate]="footerTemplate"
15490
+ [footer]="footer"
15108
15491
  [disabled]="disableCalendar"
15109
15492
  [disabledDates]="disabledDates"
15110
15493
  (valueChange)="handleCalendarValueChange()"
@@ -15213,6 +15596,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
15213
15596
  args: ['toggleButton', { static: true }]
15214
15597
  }], focusableId: [{
15215
15598
  type: Input
15599
+ }], weekDaysFormat: [{
15600
+ type: Input
15216
15601
  }], showOtherMonthDays: [{
15217
15602
  type: Input
15218
15603
  }], value: [{
@@ -15321,6 +15706,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
15321
15706
  }], headerTitleTemplate: [{
15322
15707
  type: ContentChild,
15323
15708
  args: [HeaderTitleTemplateDirective, { static: false }]
15709
+ }], headerTemplate: [{
15710
+ type: ContentChild,
15711
+ args: [HeaderTemplateDirective]
15712
+ }], headerTemplateRef: [{
15713
+ type: Input,
15714
+ args: ['headerTemplate']
15715
+ }], footerTemplate: [{
15716
+ type: ContentChild,
15717
+ args: [FooterTemplateDirective]
15718
+ }], footerTemplateRef: [{
15719
+ type: Input,
15720
+ args: ['footerTemplate']
15721
+ }], footer: [{
15722
+ type: Input
15324
15723
  }], container: [{
15325
15724
  type: ViewChild,
15326
15725
  args: ['container', { read: ViewContainerRef, static: true }]
@@ -16367,7 +16766,7 @@ DateRangePopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
16367
16766
  </div>
16368
16767
  </ng-template>
16369
16768
  </kendo-actionsheet>
16370
- `, isInline: true, components: [{ type: 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: i9.ActionSheetComponent, selector: "kendo-actionsheet", inputs: ["title", "subtitle", "items", "cssClass", "animation", "expanded", "titleId"], outputs: ["expandedChange", "expand", "collapse", "itemClick", "overlayClick"], exportAs: ["kendoActionSheet"] }, { type: i8.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { type: i10.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"] }], directives: [{ type: DateRangePopupLocalizedMessagesDirective, selector: "[kendoDateRangePopupLocalizedMessages]" }, { type: DateRangeSelectionDirective, selector: "[kendoDateRangeSelection]", inputs: ["autoCorrectOn", "selectionRange", "activeRangeEnd", "shouldSetRange"], outputs: ["activeRangeEndChange", "selectionRangeChange"] }, { type: i9.ActionSheetTemplateDirective, selector: "[kendoActionSheetTemplate]" }, { type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
16769
+ `, isInline: true, components: [{ type: MultiViewCalendarComponent, selector: "kendo-multiviewcalendar", inputs: ["showOtherMonthDays", "showCalendarHeader", "id", "focusedDate", "footer", "min", "max", "rangeValidation", "disabledDatesRangeValidation", "selection", "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", "blur", "focus", "focusCalendar", "onClosePopup", "onTabPress", "onShiftTabPress"], exportAs: ["kendo-multiviewcalendar"] }, { type: i9.ActionSheetComponent, selector: "kendo-actionsheet", inputs: ["title", "subtitle", "items", "cssClass", "animation", "expanded", "titleId"], outputs: ["expandedChange", "expand", "collapse", "itemClick", "overlayClick"], exportAs: ["kendoActionSheet"] }, { type: i8.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { type: i10.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"] }], directives: [{ type: DateRangePopupLocalizedMessagesDirective, selector: "[kendoDateRangePopupLocalizedMessages]" }, { type: DateRangeSelectionDirective, selector: "[kendoDateRangeSelection]", inputs: ["autoCorrectOn", "selectionRange", "activeRangeEnd", "shouldSetRange"], outputs: ["activeRangeEndChange", "selectionRangeChange"] }, { type: i9.ActionSheetTemplateDirective, selector: "[kendoActionSheetTemplate]" }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
16371
16770
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DateRangePopupComponent, decorators: [{
16372
16771
  type: Component,
16373
16772
  args: [{
@@ -16591,7 +16990,7 @@ DateRangeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", versi
16591
16990
  DateRangeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: DateRangeComponent, selector: "kendo-daterange", host: { listeners: { "keydown": "keydown($event)" }, properties: { "class.k-daterangepicker": "this.wrapperClass" } }, providers: [DateRangeService], queries: [{ propertyName: "contentPopup", predicate: DateRangePopupComponent }], ngImport: i0, template: `
16592
16991
  <ng-content></ng-content>
16593
16992
  <kendo-daterange-popup *ngIf="showDefault"></kendo-daterange-popup>
16594
- `, isInline: true, components: [{ type: DateRangePopupComponent, selector: "kendo-daterange-popup", inputs: ["animate", "anchor", "anchorAlign", "appendTo", "collision", "popupAlign", "margin", "adaptiveMode", "title", "subtitle"], outputs: ["open", "close", "blur", "focus", "cancel"], exportAs: ["kendo-daterange-popup"] }], directives: [{ type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
16993
+ `, isInline: true, components: [{ type: DateRangePopupComponent, selector: "kendo-daterange-popup", inputs: ["animate", "anchor", "anchorAlign", "appendTo", "collision", "popupAlign", "margin", "adaptiveMode", "title", "subtitle"], outputs: ["open", "close", "blur", "focus", "cancel"], exportAs: ["kendo-daterange-popup"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
16595
16994
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DateRangeComponent, decorators: [{
16596
16995
  type: Component,
16597
16996
  args: [{
@@ -16897,14 +17296,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
16897
17296
  * The package exports:
16898
17297
  * - `HeaderComponent`&mdash;The component that renders the UI for vertical navigation.
16899
17298
  * - `ViewComponent`&mdash;The component that renders the active Calendar view.
17299
+ * - `FooterComponent`&mdash;The component that renders the Calendar footer.
16900
17300
  */
16901
17301
  class CalendarCommonModule {
16902
17302
  }
16903
17303
  CalendarCommonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: CalendarCommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
16904
17304
  CalendarCommonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: CalendarCommonModule, declarations: [KForOf,
16905
17305
  HeaderComponent,
17306
+ FooterComponent,
16906
17307
  ViewComponent], imports: [CommonModule, EventsModule, ButtonModule], exports: [KForOf,
16907
17308
  HeaderComponent,
17309
+ FooterComponent,
16908
17310
  ViewComponent] });
16909
17311
  CalendarCommonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: CalendarCommonModule, imports: [[CommonModule, EventsModule, ButtonModule]] });
16910
17312
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: CalendarCommonModule, decorators: [{
@@ -16913,11 +17315,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
16913
17315
  declarations: [
16914
17316
  KForOf,
16915
17317
  HeaderComponent,
17318
+ FooterComponent,
16916
17319
  ViewComponent
16917
17320
  ],
16918
17321
  exports: [
16919
17322
  KForOf,
16920
17323
  HeaderComponent,
17324
+ FooterComponent,
16921
17325
  ViewComponent
16922
17326
  ],
16923
17327
  imports: [CommonModule, EventsModule, ButtonModule]
@@ -16949,14 +17353,18 @@ TemplatesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version
16949
17353
  CenturyCellTemplateDirective,
16950
17354
  WeekNumberCellTemplateDirective,
16951
17355
  HeaderTitleTemplateDirective,
16952
- NavigationItemTemplateDirective], exports: [CellTemplateDirective,
17356
+ NavigationItemTemplateDirective,
17357
+ HeaderTemplateDirective,
17358
+ FooterTemplateDirective], exports: [CellTemplateDirective,
16953
17359
  MonthCellTemplateDirective,
16954
17360
  YearCellTemplateDirective,
16955
17361
  DecadeCellTemplateDirective,
16956
17362
  CenturyCellTemplateDirective,
16957
17363
  WeekNumberCellTemplateDirective,
16958
17364
  HeaderTitleTemplateDirective,
16959
- NavigationItemTemplateDirective] });
17365
+ NavigationItemTemplateDirective,
17366
+ HeaderTemplateDirective,
17367
+ FooterTemplateDirective] });
16960
17368
  TemplatesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TemplatesModule });
16961
17369
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TemplatesModule, decorators: [{
16962
17370
  type: NgModule,
@@ -16969,7 +17377,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
16969
17377
  CenturyCellTemplateDirective,
16970
17378
  WeekNumberCellTemplateDirective,
16971
17379
  HeaderTitleTemplateDirective,
16972
- NavigationItemTemplateDirective
17380
+ NavigationItemTemplateDirective,
17381
+ HeaderTemplateDirective,
17382
+ FooterTemplateDirective
16973
17383
  ],
16974
17384
  exports: [
16975
17385
  CellTemplateDirective,
@@ -16979,7 +17389,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
16979
17389
  CenturyCellTemplateDirective,
16980
17390
  WeekNumberCellTemplateDirective,
16981
17391
  HeaderTitleTemplateDirective,
16982
- NavigationItemTemplateDirective
17392
+ NavigationItemTemplateDirective,
17393
+ HeaderTemplateDirective,
17394
+ FooterTemplateDirective
16983
17395
  ]
16984
17396
  }]
16985
17397
  }] });
@@ -17870,5 +18282,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
17870
18282
  * Generated bundle index. Do not edit.
17871
18283
  */
17872
18284
 
17873
- export { AdaptiveModule, CalendarCommonModule, CalendarComponent, CalendarCustomMessagesComponent, CalendarLocalizedMessagesDirective, CalendarModule, CalendarViewEnum, CalendarsModule, CellTemplateDirective, CenturyCellTemplateDirective, DateInputComponent, DateInputCustomMessagesComponent, DateInputLocalizedMessagesDirective, DateInputModule, DateInputsModule, DatePickerComponent, DatePickerCustomMessagesComponent, DatePickerLocalizedMessagesDirective, DatePickerModule, DateRangeComponent, DateRangeEndInputDirective, DateRangeModule, DateRangePopupComponent, DateRangePopupCustomMessagesComponent, DateRangePopupLocalizedMessagesDirective, DateRangePopupTemplateDirective, DateRangeSelectionDirective, DateRangeService, DateRangeStartInputDirective, DateTimePickerComponent, DateTimePickerCustomMessagesComponent, DateTimePickerModule, DecadeCellTemplateDirective, HeaderComponent, HeaderTitleTemplateDirective, HorizontalViewListComponent, KForOf, LocalizedMessagesDirective, MonthCellTemplateDirective, MultiViewCalendarComponent, MultiViewCalendarCustomMessagesComponent, MultiViewCalendarLocalizedMessagesDirective, MultiViewCalendarModule, NavigationComponent, NavigationItemTemplateDirective, PreventableEvent, TemplatesModule, TimeListComponent, TimePickerComponent, TimePickerCustomMessagesComponent, TimePickerLocalizedMessagesDirective, TimePickerModule, TimeSelectorComponent, TimeSelectorCustomMessagesComponent, TimeSelectorLocalizedMessagesDirective, ViewComponent, ViewListComponent, WeekNumberCellTemplateDirective, YearCellTemplateDirective };
18285
+ export { AdaptiveModule, CalendarCommonModule, CalendarComponent, CalendarCustomMessagesComponent, CalendarLocalizedMessagesDirective, CalendarModule, CalendarViewEnum, CalendarsModule, CellTemplateDirective, CenturyCellTemplateDirective, DateInputComponent, DateInputCustomMessagesComponent, DateInputLocalizedMessagesDirective, DateInputModule, DateInputsModule, DatePickerComponent, DatePickerCustomMessagesComponent, DatePickerLocalizedMessagesDirective, DatePickerModule, DateRangeComponent, DateRangeEndInputDirective, DateRangeModule, DateRangePopupComponent, DateRangePopupCustomMessagesComponent, DateRangePopupLocalizedMessagesDirective, DateRangePopupTemplateDirective, DateRangeSelectionDirective, DateRangeService, DateRangeStartInputDirective, DateTimePickerComponent, DateTimePickerCustomMessagesComponent, DateTimePickerModule, DecadeCellTemplateDirective, FooterComponent, FooterTemplateDirective, HeaderComponent, HeaderTemplateDirective, HeaderTitleTemplateDirective, HorizontalViewListComponent, KForOf, LocalizedMessagesDirective, MonthCellTemplateDirective, MultiViewCalendarComponent, MultiViewCalendarCustomMessagesComponent, MultiViewCalendarLocalizedMessagesDirective, MultiViewCalendarModule, NavigationComponent, NavigationItemTemplateDirective, PreventableEvent, TemplatesModule, TimeListComponent, TimePickerComponent, TimePickerCustomMessagesComponent, TimePickerLocalizedMessagesDirective, TimePickerModule, TimeSelectorComponent, TimeSelectorCustomMessagesComponent, TimeSelectorLocalizedMessagesDirective, ViewComponent, ViewListComponent, WeekNumberCellTemplateDirective, YearCellTemplateDirective };
17874
18286