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

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
@@ -35,6 +35,8 @@ import { areDatesEqual, dateInRange, DEFAULT_SIZE, getSizeClass, getToday, hasEx
35
35
  import { closest } from '../common/dom-queries';
36
36
  import { requiresZoneOnBlur, preventDefault, isPresent, isArrowWithShiftPressed, selectors, attributeNames } from '../common/utils';
37
37
  import { from as fromPromise } from 'rxjs';
38
+ import { HeaderTemplateDirective } from './templates/header-template.directive';
39
+ import { FooterTemplateDirective } from './templates/footer-template.directivе';
38
40
  import * as i0 from "@angular/core";
39
41
  import * as i1 from "./services/bus-view.service";
40
42
  import * as i2 from "./services/dom.service";
@@ -113,6 +115,16 @@ export class CalendarComponent {
113
115
  * Determines whether the built-in min or max validators are enforced when validating a form.
114
116
  */
115
117
  this.rangeValidation = false;
118
+ /**
119
+ * Sets the format of the displayed Calendar week days' names.
120
+ * @default 'short'
121
+ */
122
+ this.weekDaysFormat = "short";
123
+ /**
124
+ * Toggles the visibility of the footer.
125
+ * @default false
126
+ */
127
+ this.footer = false;
116
128
  /**
117
129
  * Sets the Calendar selection mode
118
130
  * ([see example]({% slug multiple_selection_calendar %})).
@@ -451,6 +463,29 @@ export class CalendarComponent {
451
463
  get headerTitleTemplateRef() {
452
464
  return this._headerTitleTemplateRef || this.headerTitleTemplate;
453
465
  }
466
+ /**
467
+ * @hidden
468
+ *
469
+ * Defines the template for the header.
470
+ * Takes precedence over nested templates in the KendoCalendar tag.
471
+ */
472
+ set headerTemplateRef(template) {
473
+ this._headerTemplateRef = template;
474
+ }
475
+ get headerTemplateRef() {
476
+ return this._headerTemplateRef || this.headerTemplate;
477
+ }
478
+ /**
479
+ * @hidden
480
+ *
481
+ * Defines the template for the footer.
482
+ */
483
+ set footerTemplateRef(template) {
484
+ this._footerTemplateRef = template;
485
+ }
486
+ get footerTemplateRef() {
487
+ return this._footerTemplateRef || this.footerTemplate;
488
+ }
454
489
  /**
455
490
  * @hidden
456
491
  *
@@ -978,7 +1013,7 @@ export class CalendarComponent {
978
1013
  }
979
1014
  }
980
1015
  CalendarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: CalendarComponent, deps: [{ token: i1.BusViewService }, { token: i2.CalendarDOMService }, { token: i0.ElementRef }, { token: i3.NavigationService }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i0.Injector }, { token: i4.ScrollSyncService }, { token: i5.DisabledDatesService }, { token: i6.LocalizationService }, { token: i7.SelectionService }, { token: i8.PickerService, optional: true }], target: i0.ɵɵFactoryTarget.Component });
981
- 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: [
1016
+ 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: [
982
1017
  BusViewService,
983
1018
  CALENDAR_VALUE_ACCESSOR,
984
1019
  CALENDAR_RANGE_VALIDATORS,
@@ -992,7 +1027,7 @@ CalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
992
1027
  NavigationService,
993
1028
  ScrollSyncService,
994
1029
  SelectionService
995
- ], 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: `
1030
+ ], 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: `
996
1031
  <ng-container kendoCalendarLocalizedMessages
997
1032
  i18n-today="kendo.calendar.today|The label for the today button in the calendar header"
998
1033
  today="Today"
@@ -1024,8 +1059,12 @@ CalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
1024
1059
  [showOtherMonthDays]="showOtherMonthDays"
1025
1060
  [isActive]="isActive"
1026
1061
  [id]="headerId"
1062
+ [weekDaysFormat]="weekDaysFormat"
1027
1063
  [cellTemplateRef]="activeCellTemplate()?.templateRef"
1028
1064
  [headerTitleTemplateRef]="headerTitleTemplateRef?.templateRef"
1065
+ [headerTemplateRef]="headerTemplateRef?.templateRef"
1066
+ [showFooter]="footer"
1067
+ [footerTemplateRef]="footerTemplateRef?.templateRef"
1029
1068
  [weekNumberTemplateRef]="weekNumberTemplateRef?.templateRef"
1030
1069
  [cellUID]="cellUID"
1031
1070
  [min]="min"
@@ -1063,6 +1102,7 @@ CalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
1063
1102
  [activeView]="activeView"
1064
1103
  [bottomView]="bottomView"
1065
1104
  [topView]="topView"
1105
+ [weekDaysFormat]="weekDaysFormat"
1066
1106
  [weekNumber]="weekNumber"
1067
1107
  [animateNavigation]="animateNavigation"
1068
1108
  [cellTemplate]="activeCellTemplate()"
@@ -1071,6 +1111,9 @@ CalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
1071
1111
  [decadeCellTemplate]="decadeCellTemplateRef"
1072
1112
  [centuryCellTemplate]="centuryCellTemplateRef"
1073
1113
  [headerTitleTemplate]="headerTitleTemplateRef"
1114
+ [headerTemplate]="headerTemplateRef"
1115
+ [footerTemplate]="footerTemplateRef"
1116
+ [footer]="footer"
1074
1117
  [weekNumberTemplate]="weekNumberTemplateRef"
1075
1118
  [focusedDate]="focusedDate"
1076
1119
  [selection]="selection"
@@ -1093,7 +1136,7 @@ CalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
1093
1136
  </kendo-multiviewcalendar-messages>
1094
1137
  </kendo-multiviewcalendar>
1095
1138
  </ng-container>
1096
- `, isInline: true, components: [{ type: i9.NavigationComponent, selector: "kendo-calendar-navigation", inputs: ["activeView", "min", "max", "focusedDate", "templateRef"], outputs: ["valueChange", "pageChange"] }, { type: i10.ViewListComponent, selector: "kendo-calendar-viewlist", inputs: ["cellTemplateRef", "weekNumberTemplateRef", "headerTitleTemplateRef", "showOtherMonthDays", "activeView", "cellUID", "focusedDate", "isActive", "min", "max", "selectedDates", "tabIndex", "disabled", "id", "weekNumber"], outputs: ["cellClick", "weekNumberCellClick", "activeDateChange", "todayButtonClick", "pageChange", "focusCalendar", "blurCalendar", "focusedCellChange"] }, { type: i11.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { type: i12.MultiViewCalendarComponent, selector: "kendo-multiviewcalendar", inputs: ["showOtherMonthDays", "showCalendarHeader", "id", "focusedDate", "min", "max", "rangeValidation", "disabledDatesRangeValidation", "selection", "value", "disabled", "tabindex", "tabIndex", "isActive", "disabledDates", "activeView", "bottomView", "topView", "showViewHeader", "animateNavigation", "weekNumber", "activeRangeEnd", "selectionRange", "views", "orientation", "cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate"], outputs: ["activeViewChange", "navigate", "cellEnter", "cellLeave", "valueChange", "blur", "focus", "focusCalendar", "onClosePopup", "onTabPress", "onShiftTabPress"], exportAs: ["kendo-multiviewcalendar"] }, { type: i13.MultiViewCalendarCustomMessagesComponent, selector: "kendo-multiviewcalendar-messages" }], directives: [{ type: i14.CalendarLocalizedMessagesDirective, selector: "[kendoCalendarLocalizedMessages]" }, { type: i15.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1139
+ `, isInline: true, components: [{ type: i9.NavigationComponent, selector: "kendo-calendar-navigation", inputs: ["activeView", "min", "max", "focusedDate", "templateRef"], outputs: ["valueChange", "pageChange"] }, { type: i10.ViewListComponent, selector: "kendo-calendar-viewlist", inputs: ["cellTemplateRef", "weekNumberTemplateRef", "headerTitleTemplateRef", "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: i11.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { type: i12.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: i13.MultiViewCalendarCustomMessagesComponent, selector: "kendo-multiviewcalendar-messages" }], directives: [{ type: i14.CalendarLocalizedMessagesDirective, selector: "[kendoCalendarLocalizedMessages]" }, { type: i15.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1097
1140
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: CalendarComponent, decorators: [{
1098
1141
  type: Component,
1099
1142
  args: [{
@@ -1147,8 +1190,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
1147
1190
  [showOtherMonthDays]="showOtherMonthDays"
1148
1191
  [isActive]="isActive"
1149
1192
  [id]="headerId"
1193
+ [weekDaysFormat]="weekDaysFormat"
1150
1194
  [cellTemplateRef]="activeCellTemplate()?.templateRef"
1151
1195
  [headerTitleTemplateRef]="headerTitleTemplateRef?.templateRef"
1196
+ [headerTemplateRef]="headerTemplateRef?.templateRef"
1197
+ [showFooter]="footer"
1198
+ [footerTemplateRef]="footerTemplateRef?.templateRef"
1152
1199
  [weekNumberTemplateRef]="weekNumberTemplateRef?.templateRef"
1153
1200
  [cellUID]="cellUID"
1154
1201
  [min]="min"
@@ -1186,6 +1233,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
1186
1233
  [activeView]="activeView"
1187
1234
  [bottomView]="bottomView"
1188
1235
  [topView]="topView"
1236
+ [weekDaysFormat]="weekDaysFormat"
1189
1237
  [weekNumber]="weekNumber"
1190
1238
  [animateNavigation]="animateNavigation"
1191
1239
  [cellTemplate]="activeCellTemplate()"
@@ -1194,6 +1242,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
1194
1242
  [decadeCellTemplate]="decadeCellTemplateRef"
1195
1243
  [centuryCellTemplate]="centuryCellTemplateRef"
1196
1244
  [headerTitleTemplate]="headerTitleTemplateRef"
1245
+ [headerTemplate]="headerTemplateRef"
1246
+ [footerTemplate]="footerTemplateRef"
1247
+ [footer]="footer"
1197
1248
  [weekNumberTemplate]="weekNumberTemplateRef"
1198
1249
  [focusedDate]="focusedDate"
1199
1250
  [selection]="selection"
@@ -1232,6 +1283,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
1232
1283
  type: Input
1233
1284
  }], rangeValidation: [{
1234
1285
  type: Input
1286
+ }], weekDaysFormat: [{
1287
+ type: Input
1288
+ }], footer: [{
1289
+ type: Input
1235
1290
  }], selection: [{
1236
1291
  type: Input
1237
1292
  }], value: [{
@@ -1314,9 +1369,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
1314
1369
  }], headerTitleTemplate: [{
1315
1370
  type: ContentChild,
1316
1371
  args: [HeaderTitleTemplateDirective, { static: false }]
1372
+ }], headerTemplate: [{
1373
+ type: ContentChild,
1374
+ args: [HeaderTemplateDirective]
1375
+ }], footerTemplate: [{
1376
+ type: ContentChild,
1377
+ args: [FooterTemplateDirective]
1317
1378
  }], headerTitleTemplateRef: [{
1318
1379
  type: Input,
1319
1380
  args: ['headerTitleTemplate']
1381
+ }], headerTemplateRef: [{
1382
+ type: Input,
1383
+ args: ['headerTemplate']
1384
+ }], footerTemplateRef: [{
1385
+ type: Input,
1386
+ args: ['footerTemplate']
1320
1387
  }], navigationItemTemplate: [{
1321
1388
  type: ContentChild,
1322
1389
  args: [NavigationItemTemplateDirective, { static: false }]
@@ -0,0 +1,69 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { Component, HostBinding, Input, TemplateRef } from '@angular/core';
6
+ import { getToday } from '../util';
7
+ import { IntlService } from '@progress/kendo-angular-intl';
8
+ import * as i0 from "@angular/core";
9
+ import * as i1 from "@progress/kendo-angular-intl";
10
+ import * as i2 from "@progress/kendo-angular-buttons";
11
+ import * as i3 from "@angular/common";
12
+ /**
13
+ * @hidden
14
+ */
15
+ export class FooterComponent {
16
+ constructor(intl) {
17
+ this.intl = intl;
18
+ this.showFooter = true;
19
+ this.getToday = getToday;
20
+ }
21
+ }
22
+ FooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FooterComponent, deps: [{ token: i1.IntlService }], target: i0.ɵɵFactoryTarget.Component });
23
+ 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: `
24
+ <ng-template *ngIf="footerTemplateRef; else defaultRendering"
25
+ [ngTemplateOutlet]="footerTemplateRef"
26
+ [ngTemplateOutletContext]="{ activeView: activeViewValue, date: currentDate }">
27
+ </ng-template>
28
+ <ng-template #defaultRendering>
29
+ <button kendoButton
30
+ fillMode="flat"
31
+ themeColor="primary"
32
+ class="k-calendar-nav-today"
33
+ type="button"
34
+ tabindex="-1">
35
+ {{intl.formatDate(getToday(), 'D')}}
36
+ </button>
37
+ </ng-template>
38
+ `, isInline: true, components: [{ type: i2.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: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
39
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FooterComponent, decorators: [{
40
+ type: Component,
41
+ args: [{
42
+ selector: 'kendo-calendar-footer',
43
+ template: `
44
+ <ng-template *ngIf="footerTemplateRef; else defaultRendering"
45
+ [ngTemplateOutlet]="footerTemplateRef"
46
+ [ngTemplateOutletContext]="{ activeView: activeViewValue, date: currentDate }">
47
+ </ng-template>
48
+ <ng-template #defaultRendering>
49
+ <button kendoButton
50
+ fillMode="flat"
51
+ themeColor="primary"
52
+ class="k-calendar-nav-today"
53
+ type="button"
54
+ tabindex="-1">
55
+ {{intl.formatDate(getToday(), 'D')}}
56
+ </button>
57
+ </ng-template>
58
+ `
59
+ }]
60
+ }], ctorParameters: function () { return [{ type: i1.IntlService }]; }, propDecorators: { showFooter: [{
61
+ type: HostBinding,
62
+ args: ['class.k-calendar-footer']
63
+ }], footerTemplateRef: [{
64
+ type: Input
65
+ }], activeViewValue: [{
66
+ type: Input
67
+ }], currentDate: [{
68
+ type: Input
69
+ }] } });
@@ -19,8 +19,8 @@ import * as i2 from "@progress/kendo-angular-l10n";
19
19
  import * as i3 from "@progress/kendo-angular-intl";
20
20
  import * as i4 from "./services/disabled-dates.service";
21
21
  import * as i5 from "@progress/kendo-angular-buttons";
22
- import * as i6 from "@progress/kendo-angular-common";
23
- import * as i7 from "@angular/common";
22
+ import * as i6 from "@angular/common";
23
+ import * as i7 from "@progress/kendo-angular-common";
24
24
  /**
25
25
  * @hidden
26
26
  */
@@ -131,139 +131,151 @@ export class HeaderComponent {
131
131
  }
132
132
  }
133
133
  HeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: HeaderComponent, deps: [{ token: i1.BusViewService }, { token: i0.ChangeDetectorRef }, { token: i2.LocalizationService }, { token: i3.IntlService }, { token: i4.DisabledDatesService }], target: i0.ɵɵFactoryTarget.Component });
134
- HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "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: `
135
- <span class="k-button k-nav-fast k-button-md k-rounded-md k-button-flat k-button-flat-base k-calendar-title"
136
- role="button"
137
- [id]="id"
138
- tabindex="-1"
139
- [class.k-disabled]="!navigate"
140
- [attr.aria-disabled]="isDisabled()"
141
- [kendoEventsOutsideAngular]="{
142
- click: handleNavigation
143
- }"
144
- [title]="parentViewButtonTitle"
145
- [scope]="this">
146
- <ng-template [ngIf]="!templateRef">{{title}}</ng-template>
147
- <ng-template
148
- [ngIf]="templateRef"
149
- [ngTemplateOutlet]="templateRef"
150
- [ngTemplateOutletContext]="{ $implicit: title, activeView: activeViewValue, date: currentDate }"
151
- ></ng-template>
152
- </span>
153
- <span class="k-spacer"></span>
154
- <span class="k-calendar-nav k-hstack">
155
- <button
156
- *ngIf="showNavigationButtons"
157
- kendoButton
158
- fillMode="flat"
159
- [svgIcon]="chevronLeftIcon"
160
- icon="chevron-left"
134
+ 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: `
135
+ <ng-template *ngIf="headerTemplateRef; else defaultRendering"
136
+ [ngTemplateOutlet]="headerTemplateRef"
137
+ [ngTemplateOutletContext]="{ title: title, activeView: activeViewValue, date: currentDate }">
138
+ </ng-template>
139
+ <ng-template #defaultRendering>
140
+ <span class="k-button k-nav-fast k-button-md k-rounded-md k-button-flat k-button-flat-base k-calendar-title"
141
+ role="button"
142
+ [id]="id"
161
143
  tabindex="-1"
162
- type="button"
163
- class="k-calendar-nav-prev"
164
- [attr.aria-disabled]="isPrevDisabled"
165
- [disabled]="isPrevDisabled"
166
- [title]="prevButtonTitle"
167
- (click)="prevButtonClick.emit()"
168
- >
169
- </button>
170
- <button
171
- class="k-calendar-nav-today k-button k-button-md k-button-flat k-button-flat-primary k-rounded-md"
172
- tabindex="-1"
173
- [class.k-disabled]="!todayAvailable"
144
+ [class.k-disabled]="!navigate"
145
+ [attr.aria-disabled]="isDisabled()"
174
146
  [kendoEventsOutsideAngular]="{
175
- click: handleTodayClick
147
+ click: handleNavigation
176
148
  }"
177
- [scope]="this"
178
- type="button"
179
- >
180
- {{ todayMessage }}
181
- </button>
182
- <button
183
- *ngIf="showNavigationButtons"
184
- kendoButton
185
- fillMode="flat"
186
- [svgIcon]="chevronRightIcon"
187
- icon="chevron-right"
188
- class="k-calendar-nav-next"
189
- tabindex="-1"
190
- type="button"
191
- [attr.aria-disabled]="isNextDisabled"
192
- [disabled]="isNextDisabled"
193
- [title]="nextButtonTitle"
194
- (click)="nextButtonClick.emit()"
195
- >
196
- </button>
197
- </span>
198
- `, isInline: true, components: [{ type: i5.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: i6.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i7.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
149
+ [title]="parentViewButtonTitle"
150
+ [scope]="this">
151
+ <ng-template [ngIf]="!titleTemplateRef">{{title}}</ng-template>
152
+ <ng-template
153
+ [ngIf]="titleTemplateRef"
154
+ [ngTemplateOutlet]="titleTemplateRef"
155
+ [ngTemplateOutletContext]="{ $implicit: title, activeView: activeViewValue, date: currentDate }"
156
+ ></ng-template>
157
+ </span>
158
+ <span class="k-spacer"></span>
159
+ <span class="k-calendar-nav k-hstack">
160
+ <button
161
+ *ngIf="showNavigationButtons"
162
+ kendoButton
163
+ fillMode="flat"
164
+ [svgIcon]="chevronLeftIcon"
165
+ icon="chevron-left"
166
+ tabindex="-1"
167
+ type="button"
168
+ class="k-calendar-nav-prev"
169
+ [attr.aria-disabled]="isPrevDisabled"
170
+ [disabled]="isPrevDisabled"
171
+ [title]="prevButtonTitle"
172
+ (click)="prevButtonClick.emit()"
173
+ >
174
+ </button>
175
+ <button
176
+ class="k-calendar-nav-today k-button k-button-md k-button-flat k-button-flat-primary k-rounded-md"
177
+ tabindex="-1"
178
+ [class.k-disabled]="!todayAvailable"
179
+ [kendoEventsOutsideAngular]="{
180
+ click: handleTodayClick
181
+ }"
182
+ [scope]="this"
183
+ type="button"
184
+ >
185
+ {{ todayMessage }}
186
+ </button>
187
+ <button
188
+ *ngIf="showNavigationButtons"
189
+ kendoButton
190
+ fillMode="flat"
191
+ [svgIcon]="chevronRightIcon"
192
+ icon="chevron-right"
193
+ class="k-calendar-nav-next"
194
+ tabindex="-1"
195
+ type="button"
196
+ [attr.aria-disabled]="isNextDisabled"
197
+ [disabled]="isNextDisabled"
198
+ [title]="nextButtonTitle"
199
+ (click)="nextButtonClick.emit()"
200
+ >
201
+ </button>
202
+ </span>
203
+ </ng-template>
204
+ `, isInline: true, components: [{ type: i5.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: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i7.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }] });
199
205
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: HeaderComponent, decorators: [{
200
206
  type: Component,
201
207
  args: [{
202
208
  selector: 'kendo-calendar-header',
203
209
  template: `
204
- <span class="k-button k-nav-fast k-button-md k-rounded-md k-button-flat k-button-flat-base k-calendar-title"
205
- role="button"
206
- [id]="id"
207
- tabindex="-1"
208
- [class.k-disabled]="!navigate"
209
- [attr.aria-disabled]="isDisabled()"
210
- [kendoEventsOutsideAngular]="{
211
- click: handleNavigation
212
- }"
213
- [title]="parentViewButtonTitle"
214
- [scope]="this">
215
- <ng-template [ngIf]="!templateRef">{{title}}</ng-template>
216
- <ng-template
217
- [ngIf]="templateRef"
218
- [ngTemplateOutlet]="templateRef"
219
- [ngTemplateOutletContext]="{ $implicit: title, activeView: activeViewValue, date: currentDate }"
220
- ></ng-template>
221
- </span>
222
- <span class="k-spacer"></span>
223
- <span class="k-calendar-nav k-hstack">
224
- <button
225
- *ngIf="showNavigationButtons"
226
- kendoButton
227
- fillMode="flat"
228
- [svgIcon]="chevronLeftIcon"
229
- icon="chevron-left"
230
- tabindex="-1"
231
- type="button"
232
- class="k-calendar-nav-prev"
233
- [attr.aria-disabled]="isPrevDisabled"
234
- [disabled]="isPrevDisabled"
235
- [title]="prevButtonTitle"
236
- (click)="prevButtonClick.emit()"
237
- >
238
- </button>
239
- <button
240
- class="k-calendar-nav-today k-button k-button-md k-button-flat k-button-flat-primary k-rounded-md"
210
+ <ng-template *ngIf="headerTemplateRef; else defaultRendering"
211
+ [ngTemplateOutlet]="headerTemplateRef"
212
+ [ngTemplateOutletContext]="{ title: title, activeView: activeViewValue, date: currentDate }">
213
+ </ng-template>
214
+ <ng-template #defaultRendering>
215
+ <span class="k-button k-nav-fast k-button-md k-rounded-md k-button-flat k-button-flat-base k-calendar-title"
216
+ role="button"
217
+ [id]="id"
241
218
  tabindex="-1"
242
- [class.k-disabled]="!todayAvailable"
219
+ [class.k-disabled]="!navigate"
220
+ [attr.aria-disabled]="isDisabled()"
243
221
  [kendoEventsOutsideAngular]="{
244
- click: handleTodayClick
222
+ click: handleNavigation
245
223
  }"
246
- [scope]="this"
247
- type="button"
248
- >
249
- {{ todayMessage }}
250
- </button>
251
- <button
252
- *ngIf="showNavigationButtons"
253
- kendoButton
254
- fillMode="flat"
255
- [svgIcon]="chevronRightIcon"
256
- icon="chevron-right"
257
- class="k-calendar-nav-next"
258
- tabindex="-1"
259
- type="button"
260
- [attr.aria-disabled]="isNextDisabled"
261
- [disabled]="isNextDisabled"
262
- [title]="nextButtonTitle"
263
- (click)="nextButtonClick.emit()"
264
- >
265
- </button>
266
- </span>
224
+ [title]="parentViewButtonTitle"
225
+ [scope]="this">
226
+ <ng-template [ngIf]="!titleTemplateRef">{{title}}</ng-template>
227
+ <ng-template
228
+ [ngIf]="titleTemplateRef"
229
+ [ngTemplateOutlet]="titleTemplateRef"
230
+ [ngTemplateOutletContext]="{ $implicit: title, activeView: activeViewValue, date: currentDate }"
231
+ ></ng-template>
232
+ </span>
233
+ <span class="k-spacer"></span>
234
+ <span class="k-calendar-nav k-hstack">
235
+ <button
236
+ *ngIf="showNavigationButtons"
237
+ kendoButton
238
+ fillMode="flat"
239
+ [svgIcon]="chevronLeftIcon"
240
+ icon="chevron-left"
241
+ tabindex="-1"
242
+ type="button"
243
+ class="k-calendar-nav-prev"
244
+ [attr.aria-disabled]="isPrevDisabled"
245
+ [disabled]="isPrevDisabled"
246
+ [title]="prevButtonTitle"
247
+ (click)="prevButtonClick.emit()"
248
+ >
249
+ </button>
250
+ <button
251
+ class="k-calendar-nav-today k-button k-button-md k-button-flat k-button-flat-primary k-rounded-md"
252
+ tabindex="-1"
253
+ [class.k-disabled]="!todayAvailable"
254
+ [kendoEventsOutsideAngular]="{
255
+ click: handleTodayClick
256
+ }"
257
+ [scope]="this"
258
+ type="button"
259
+ >
260
+ {{ todayMessage }}
261
+ </button>
262
+ <button
263
+ *ngIf="showNavigationButtons"
264
+ kendoButton
265
+ fillMode="flat"
266
+ [svgIcon]="chevronRightIcon"
267
+ icon="chevron-right"
268
+ class="k-calendar-nav-next"
269
+ tabindex="-1"
270
+ type="button"
271
+ [attr.aria-disabled]="isNextDisabled"
272
+ [disabled]="isNextDisabled"
273
+ [title]="nextButtonTitle"
274
+ (click)="nextButtonClick.emit()"
275
+ >
276
+ </button>
277
+ </span>
278
+ </ng-template>
267
279
  `
268
280
  }]
269
281
  }], ctorParameters: function () { return [{ type: i1.BusViewService }, { type: i0.ChangeDetectorRef }, { type: i2.LocalizationService }, { type: i3.IntlService }, { type: i4.DisabledDatesService }]; }, propDecorators: { activeView: [{
@@ -276,7 +288,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
276
288
  type: Input
277
289
  }], rangeLength: [{
278
290
  type: Input
279
- }], templateRef: [{
291
+ }], titleTemplateRef: [{
292
+ type: Input
293
+ }], headerTemplateRef: [{
280
294
  type: Input
281
295
  }], isPrevDisabled: [{
282
296
  type: Input
@@ -48,6 +48,7 @@ export class HorizontalViewListComponent {
48
48
  this.orientation = 'horizontal';
49
49
  this.tabIndex = 0;
50
50
  this.disabled = false;
51
+ this.weekDaysFormat = 'short';
51
52
  this.cellClick = new EventEmitter();
52
53
  this.weekNumberCellClick = new EventEmitter();
53
54
  this.cellEnter = new EventEmitter();
@@ -107,7 +108,7 @@ export class HorizontalViewListComponent {
107
108
  ngOnChanges(changes) {
108
109
  this.initService();
109
110
  if (this.weekNames.length === 0 || changes.weekNumber) {
110
- this.weekNames = this.getWeekNames('short');
111
+ this.weekNames = this.getWeekNames(this.weekDaysFormat);
111
112
  this.wideWeekNames = this.getWeekNames('wide');
112
113
  }
113
114
  if (!this.service) {
@@ -252,7 +253,7 @@ export class HorizontalViewListComponent {
252
253
  }
253
254
  }
254
255
  intlChange() {
255
- this.weekNames = this.getWeekNames('short');
256
+ this.weekNames = this.getWeekNames(this.weekDaysFormat);
256
257
  this.wideWeekNames = this.getWeekNames('wide');
257
258
  this.cdr.markForCheck();
258
259
  }
@@ -280,7 +281,7 @@ export class HorizontalViewListComponent {
280
281
  }
281
282
  }
282
283
  HorizontalViewListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: HorizontalViewListComponent, deps: [{ token: i1.BusViewService }, { token: i2.IntlService }, { token: i3.WeekNamesService }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
283
- HorizontalViewListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: HorizontalViewListComponent, selector: "kendo-calendar-horizontal", inputs: { showOtherMonthDays: "showOtherMonthDays", cellTemplateRef: "cellTemplateRef", weekNumberTemplateRef: "weekNumberTemplateRef", activeRangeEnd: "activeRangeEnd", activeView: "activeView", cellUID: "cellUID", focusedDate: "focusedDate", isActive: "isActive", min: "min", max: "max", selectionRange: "selectionRange", selectedDates: "selectedDates", views: "views", showViewHeader: "showViewHeader", animateNavigation: "animateNavigation", orientation: "orientation", activeDescendant: "activeDescendant", tabIndex: "tabIndex", disabled: "disabled", id: "id", weekNumber: "weekNumber" }, outputs: { cellClick: "cellClick", weekNumberCellClick: "weekNumberCellClick", cellEnter: "cellEnter", cellLeave: "cellLeave", activeDateChange: "activeDateChange", focusCalendar: "focusCalendar", blurCalendar: "blurCalendar", focusedCellChange: "focusedCellChange" }, host: { listeners: { "focus": "handleMultiViewCalendarFocus()", "blur": "handleMultiViewCalendarBlur($event)" }, properties: { "class.k-calendar-view": "this.getComponentClass", "class.k-align-items-start": "this.getComponentClass", "class.k-justify-content-center": "this.getComponentClass", "class.k-hstack": "this.horizontalHostClass", "class.k-vstack": "this.verticalHostClass", "class.k-calendar-monthview": "this.getComponentMonthClass", "class.k-calendar-yearview": "this.getComponentYearClass", "class.k-calendar-decadeview": "this.getComponentDecadeClass", "class.k-calendar-centuryview": "this.getComponentCenturyClass", "attr.role": "this.role", "attr.tabindex": "this.tabindex" } }, usesOnChanges: true, ngImport: i0, template: `
284
+ 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: `
284
285
  <ng-template #tableTemplate let-date="date" let-class="className">
285
286
  <table
286
287
  [attr.role]="views >= 2 ? 'none' : 'grid'"
@@ -498,6 +499,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
498
499
  type: Input
499
500
  }], id: [{
500
501
  type: Input
502
+ }], weekDaysFormat: [{
503
+ type: Input
501
504
  }], weekNumber: [{
502
505
  type: Input
503
506
  }], cellClick: [{