@progress/kendo-angular-dateinputs 17.0.0-develop.4 → 17.0.0-develop.40

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 (185) hide show
  1. package/README.md +39 -124
  2. package/calendar/calendar.component.d.ts +1 -1
  3. package/calendar/footer.component.d.ts +1 -1
  4. package/calendar/for.directive.d.ts +1 -1
  5. package/calendar/header.component.d.ts +1 -1
  6. package/calendar/horizontal-view-list.component.d.ts +1 -1
  7. package/calendar/localization/calendar-messages.d.ts +1 -1
  8. package/calendar/localization/multiview-calendar-messages.d.ts +1 -1
  9. package/calendar/models/orientation.d.ts +1 -1
  10. package/calendar/models/selection-range-end.type.d.ts +1 -1
  11. package/calendar/models/selection.d.ts +1 -1
  12. package/calendar/models/type.d.ts +1 -1
  13. package/calendar/models/view.type.d.ts +1 -1
  14. package/calendar/multiview-calendar.component.d.ts +1 -1
  15. package/calendar/navigation.component.d.ts +1 -1
  16. package/calendar/view-list.component.d.ts +1 -1
  17. package/calendar/view.component.d.ts +1 -1
  18. package/common/models/fillmode.d.ts +1 -1
  19. package/common/models/rounded.d.ts +1 -1
  20. package/common/models/size.d.ts +1 -1
  21. package/common/models/week-days-format.d.ts +1 -1
  22. package/dateinput/dateinput.component.d.ts +2 -2
  23. package/dateinput/localization/messages.d.ts +1 -1
  24. package/dateinput/models/format-placeholder.model.d.ts +1 -1
  25. package/datepicker/datepicker.component.d.ts +1 -1
  26. package/datepicker/localization/messages.d.ts +1 -1
  27. package/daterange/auto-correct-on.type.d.ts +1 -1
  28. package/daterange/date-range-end-input.directive.d.ts +1 -1
  29. package/daterange/date-range-popup.component.d.ts +86 -2
  30. package/daterange/date-range-selection.directive.d.ts +1 -1
  31. package/daterange/date-range-start-input.directive.d.ts +1 -1
  32. package/daterange/date-range.component.d.ts +1 -1
  33. package/daterange/localization/messages.d.ts +1 -1
  34. package/datetimepicker/datetimepicker.component.d.ts +1 -1
  35. package/datetimepicker/localization/messages.d.ts +1 -1
  36. package/datetimepicker/models/active-tab.type.d.ts +1 -1
  37. package/{esm2020 → esm2022}/calendar/calendar.component.mjs +277 -167
  38. package/{esm2020 → esm2022}/calendar/calendar.module.mjs +14 -14
  39. package/{esm2020 → esm2022}/calendar/calendars.module.mjs +14 -14
  40. package/{esm2020 → esm2022}/calendar/footer.component.mjs +11 -7
  41. package/{esm2020 → esm2022}/calendar/for.directive.mjs +13 -4
  42. package/{esm2020 → esm2022}/calendar/header.component.mjs +47 -30
  43. package/{esm2020 → esm2022}/calendar/horizontal-view-list.component.mjs +63 -40
  44. package/{esm2020 → esm2022}/calendar/localization/calendar-custom-messages.component.mjs +9 -8
  45. package/{esm2020 → esm2022}/calendar/localization/calendar-localized-messages.directive.mjs +9 -8
  46. package/{esm2020/calendar/localization/multiview-calendar-messages.mjs → esm2022/calendar/localization/calendar-messages.mjs} +21 -5
  47. package/{esm2020 → esm2022}/calendar/localization/multiview-calendar-custom-messages.component.mjs +9 -8
  48. package/{esm2020 → esm2022}/calendar/localization/multiview-calendar-localized-messages.directive.mjs +9 -8
  49. package/esm2022/calendar/localization/multiview-calendar-messages.mjs +45 -0
  50. package/{esm2020 → esm2022}/calendar/multiview-calendar.component.mjs +300 -212
  51. package/{esm2020 → esm2022}/calendar/multiview-calendar.module.mjs +11 -11
  52. package/{esm2020 → esm2022}/calendar/navigation.component.mjs +34 -15
  53. package/{esm2020 → esm2022}/calendar/services/bus-view.service.mjs +8 -6
  54. package/{esm2020 → esm2022}/calendar/services/century-view.service.mjs +15 -17
  55. package/{esm2020 → esm2022}/calendar/services/decade-view.service.mjs +15 -17
  56. package/{esm2020 → esm2022}/calendar/services/disabled-dates.service.mjs +12 -14
  57. package/{esm2020 → esm2022}/calendar/services/dom.service.mjs +21 -3
  58. package/{esm2020 → esm2022}/calendar/services/month-view.service.mjs +16 -15
  59. package/{esm2020 → esm2022}/calendar/services/navigation.service.mjs +4 -3
  60. package/{esm2020 → esm2022}/calendar/services/scroll-sync.service.mjs +11 -3
  61. package/{esm2020 → esm2022}/calendar/services/selection.service.mjs +5 -3
  62. package/{esm2020 → esm2022}/calendar/services/weeknames.service.mjs +4 -3
  63. package/{esm2020 → esm2022}/calendar/services/year-view.service.mjs +16 -15
  64. package/{esm2020 → esm2022}/calendar/templates/cell-template.directive.mjs +4 -3
  65. package/{esm2020 → esm2022}/calendar/templates/century-cell-template.directive.mjs +4 -3
  66. package/{esm2020 → esm2022}/calendar/templates/decade-cell-template.directive.mjs +4 -3
  67. package/{esm2020 → esm2022}/calendar/templates/footer-template.directive.mjs +4 -3
  68. package/{esm2020 → esm2022}/calendar/templates/header-template.directive.mjs +4 -3
  69. package/{esm2020 → esm2022}/calendar/templates/header-title-template.directive.mjs +4 -3
  70. package/{esm2020 → esm2022}/calendar/templates/month-cell-template.directive.mjs +4 -3
  71. package/{esm2020 → esm2022}/calendar/templates/navigation-item-template.directive.mjs +4 -3
  72. package/{esm2020 → esm2022}/calendar/templates/weeknumber-cell-template.directive.mjs +4 -3
  73. package/{esm2020 → esm2022}/calendar/templates/year-cell-template.directive.mjs +4 -3
  74. package/{esm2020 → esm2022}/calendar/view-list.component.mjs +68 -37
  75. package/{esm2020 → esm2022}/calendar/view.component.mjs +50 -24
  76. package/{esm2020 → esm2022}/common/picker.service.mjs +7 -6
  77. package/{esm2020 → esm2022}/dateinput/dateinput.component.mjs +282 -231
  78. package/{esm2020 → esm2022}/dateinput/dateinput.module.mjs +6 -6
  79. package/{esm2020 → esm2022}/dateinput/localization/dateinput-custom-messages.component.mjs +9 -8
  80. package/{esm2020 → esm2022}/dateinput/localization/dateinput-localized-messages.directive.mjs +9 -8
  81. package/{esm2020 → esm2022}/dateinput/localization/messages.mjs +15 -3
  82. package/{esm2020 → esm2022}/dateinputs.module.mjs +22 -22
  83. package/{esm2020 → esm2022}/datepicker/datepicker.component.mjs +404 -283
  84. package/{esm2020 → esm2022}/datepicker/datepicker.module.mjs +16 -16
  85. package/{esm2020 → esm2022}/datepicker/localization/datepicker-custom-messages.component.mjs +9 -8
  86. package/{esm2020 → esm2022}/datepicker/localization/datepicker-localized-messages.directive.mjs +9 -8
  87. package/esm2022/datepicker/localization/messages.mjs +57 -0
  88. package/{esm2020 → esm2022}/daterange/date-range-end-input.directive.mjs +38 -28
  89. package/{esm2020 → esm2022}/daterange/date-range-input.mjs +19 -13
  90. package/{esm2020 → esm2022}/daterange/date-range-popup-template.directive.mjs +4 -3
  91. package/{esm2020 → esm2022}/daterange/date-range-popup.component.mjs +325 -88
  92. package/{esm2020 → esm2022}/daterange/date-range-selection.directive.mjs +41 -36
  93. package/{esm2020 → esm2022}/daterange/date-range-start-input.directive.mjs +40 -29
  94. package/{esm2020 → esm2022}/daterange/date-range.component.mjs +31 -14
  95. package/{esm2020 → esm2022}/daterange/date-range.module.mjs +16 -16
  96. package/{esm2020 → esm2022}/daterange/date-range.service.mjs +34 -33
  97. package/{esm2020 → esm2022}/daterange/localization/daterange-popup-custom-messages.component.mjs +9 -8
  98. package/{esm2020 → esm2022}/daterange/localization/daterange-popup-localized-messages.directive.mjs +9 -8
  99. package/{esm2020 → esm2022}/daterange/localization/messages.mjs +19 -3
  100. package/{esm2020 → esm2022}/datetimepicker/datetimepicker.component.mjs +391 -293
  101. package/{esm2020 → esm2022}/datetimepicker/datetimepicker.module.mjs +22 -22
  102. package/{esm2020 → esm2022}/datetimepicker/localization/datetimepicker-custom-messages.component.mjs +9 -8
  103. package/{esm2020 → esm2022}/datetimepicker/localization/localized-messages.directive.mjs +9 -8
  104. package/esm2022/datetimepicker/localization/messages.mjs +147 -0
  105. package/{esm2020 → esm2022}/index.mjs +0 -1
  106. package/{esm2020 → esm2022}/package-metadata.mjs +2 -2
  107. package/{esm2020 → esm2022}/preventable-event.mjs +2 -3
  108. package/esm2022/timepicker/localization/messages.mjs +99 -0
  109. package/{esm2020 → esm2022}/timepicker/localization/timepicker-custom-messages.component.mjs +9 -8
  110. package/{esm2020 → esm2022}/timepicker/localization/timepicker-localized-messages.directive.mjs +9 -8
  111. package/{esm2020 → esm2022}/timepicker/localization/timeselector-custom-messages.component.mjs +9 -8
  112. package/{esm2020 → esm2022}/timepicker/localization/timeselector-localized-messages.directive.mjs +9 -8
  113. package/{esm2020 → esm2022}/timepicker/services/dayperiod.service.mjs +7 -3
  114. package/{esm2020 → esm2022}/timepicker/services/dom.service.mjs +7 -3
  115. package/{esm2020 → esm2022}/timepicker/services/hours.service.mjs +10 -5
  116. package/{esm2020 → esm2022}/timepicker/services/milliseconds.service.mjs +9 -4
  117. package/{esm2020 → esm2022}/timepicker/services/minutes.service.mjs +9 -4
  118. package/{esm2020 → esm2022}/timepicker/services/seconds.service.mjs +9 -4
  119. package/{esm2020 → esm2022}/timepicker/timelist.component.mjs +45 -27
  120. package/{esm2020 → esm2022}/timepicker/timepicker.component.mjs +302 -220
  121. package/{esm2020 → esm2022}/timepicker/timepicker.module.mjs +14 -14
  122. package/{esm2020 → esm2022}/timepicker/timeselector.component.mjs +96 -73
  123. package/{esm2020 → esm2022}/virtualization/services/row-height.service.mjs +5 -2
  124. package/{esm2020 → esm2022}/virtualization/services/scroller.service.mjs +14 -3
  125. package/{esm2020 → esm2022}/virtualization/virtualization.component.mjs +42 -28
  126. package/{fesm2020 → fesm2022}/progress-kendo-angular-dateinputs.mjs +3764 -2461
  127. package/index.d.ts +0 -1
  128. package/package.json +19 -25
  129. package/timepicker/localization/messages.d.ts +1 -1
  130. package/timepicker/timelist.component.d.ts +1 -1
  131. package/timepicker/timepicker.component.d.ts +2 -1
  132. package/timepicker/timeselector.component.d.ts +1 -1
  133. package/util.d.ts +1 -1
  134. package/virtualization/services/scroller.service.d.ts +2 -2
  135. package/virtualization/virtualization.component.d.ts +1 -1
  136. package/common/adaptive.module.d.ts +0 -18
  137. package/esm2020/calendar/localization/calendar-messages.mjs +0 -29
  138. package/esm2020/common/adaptive.module.mjs +0 -44
  139. package/esm2020/datepicker/localization/messages.mjs +0 -33
  140. package/esm2020/datetimepicker/localization/messages.mjs +0 -63
  141. package/esm2020/timepicker/localization/messages.mjs +0 -47
  142. package/fesm2015/progress-kendo-angular-dateinputs.mjs +0 -19188
  143. /package/{esm2020 → esm2022}/calendar/models/cell-context.interface.mjs +0 -0
  144. /package/{esm2020 → esm2022}/calendar/models/keydown.interface.mjs +0 -0
  145. /package/{esm2020 → esm2022}/calendar/models/navigation-action.enum.mjs +0 -0
  146. /package/{esm2020 → esm2022}/calendar/models/orientation.mjs +0 -0
  147. /package/{esm2020 → esm2022}/calendar/models/row-length-options.interface.mjs +0 -0
  148. /package/{esm2020 → esm2022}/calendar/models/scrollable.interface.mjs +0 -0
  149. /package/{esm2020 → esm2022}/calendar/models/selection-range-end.type.mjs +0 -0
  150. /package/{esm2020 → esm2022}/calendar/models/selection-range.interface.mjs +0 -0
  151. /package/{esm2020 → esm2022}/calendar/models/selection.mjs +0 -0
  152. /package/{esm2020 → esm2022}/calendar/models/type.mjs +0 -0
  153. /package/{esm2020 → esm2022}/calendar/models/view-service.interface.mjs +0 -0
  154. /package/{esm2020 → esm2022}/calendar/models/view.enum.mjs +0 -0
  155. /package/{esm2020 → esm2022}/calendar/models/view.type.mjs +0 -0
  156. /package/{esm2020 → esm2022}/common/dom-queries.mjs +0 -0
  157. /package/{esm2020 → esm2022}/common/models/fillmode.mjs +0 -0
  158. /package/{esm2020 → esm2022}/common/models/rounded.mjs +0 -0
  159. /package/{esm2020 → esm2022}/common/models/size.mjs +0 -0
  160. /package/{esm2020 → esm2022}/common/models/week-days-format.mjs +0 -0
  161. /package/{esm2020 → esm2022}/common/utils.mjs +0 -0
  162. /package/{esm2020 → esm2022}/dateinput/arrow.enum.mjs +0 -0
  163. /package/{esm2020 → esm2022}/dateinput/models/format-placeholder.model.mjs +0 -0
  164. /package/{esm2020 → esm2022}/dateinput/models/format-settings.model.mjs +0 -0
  165. /package/{esm2020 → esm2022}/dateinput/models/incremental-steps.model.mjs +0 -0
  166. /package/{esm2020 → esm2022}/daterange/auto-correct-on.type.mjs +0 -0
  167. /package/{esm2020 → esm2022}/datetimepicker/models/active-tab.type.mjs +0 -0
  168. /package/{esm2020 → esm2022}/defaults.mjs +0 -0
  169. /package/{esm2020 → esm2022}/directives.mjs +0 -0
  170. /package/{esm2020 → esm2022}/popup-settings.model.mjs +0 -0
  171. /package/{esm2020 → esm2022}/progress-kendo-angular-dateinputs.mjs +0 -0
  172. /package/{esm2020 → esm2022}/timepicker/models/incremental-steps.model.mjs +0 -0
  173. /package/{esm2020 → esm2022}/timepicker/models/list-item.interface.mjs +0 -0
  174. /package/{esm2020 → esm2022}/timepicker/models/list-service-settings.mjs +0 -0
  175. /package/{esm2020 → esm2022}/timepicker/models/list-service.interface.mjs +0 -0
  176. /package/{esm2020 → esm2022}/timepicker/models/time-part.default.mjs +0 -0
  177. /package/{esm2020 → esm2022}/timepicker/util.mjs +0 -0
  178. /package/{esm2020 → esm2022}/util.mjs +0 -0
  179. /package/{esm2020 → esm2022}/validators/disabled-date.validator.mjs +0 -0
  180. /package/{esm2020 → esm2022}/validators/disabled-dates-range.validator.mjs +0 -0
  181. /package/{esm2020 → esm2022}/validators/incomplete-date.validator.mjs +0 -0
  182. /package/{esm2020 → esm2022}/validators/max.validator.mjs +0 -0
  183. /package/{esm2020 → esm2022}/validators/min.validator.mjs +0 -0
  184. /package/{esm2020 → esm2022}/validators/time-range.validator.mjs +0 -0
  185. /package/{esm2020 → esm2022}/virtualization/models/scrollable.interface.mjs +0 -0
@@ -60,18 +60,18 @@ import * as i12 from "./templates/year-cell-template.directive";
60
60
  * platformBrowserDynamic().bootstrapModule(AppModule);
61
61
  */
62
62
  export class MultiViewCalendarModule {
63
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MultiViewCalendarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
64
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: MultiViewCalendarModule, imports: [i1.MultiViewCalendarCustomMessagesComponent, i2.MultiViewCalendarComponent, i3.CellTemplateDirective, i4.CenturyCellTemplateDirective, i5.DecadeCellTemplateDirective, i6.FooterTemplateDirective, i7.HeaderTemplateDirective, i8.HeaderTitleTemplateDirective, i9.MonthCellTemplateDirective, i10.NavigationItemTemplateDirective, i11.WeekNumberCellTemplateDirective, i12.YearCellTemplateDirective], exports: [i1.MultiViewCalendarCustomMessagesComponent, i2.MultiViewCalendarComponent, i3.CellTemplateDirective, i4.CenturyCellTemplateDirective, i5.DecadeCellTemplateDirective, i6.FooterTemplateDirective, i7.HeaderTemplateDirective, i8.HeaderTitleTemplateDirective, i9.MonthCellTemplateDirective, i10.NavigationItemTemplateDirective, i11.WeekNumberCellTemplateDirective, i12.YearCellTemplateDirective] });
65
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MultiViewCalendarModule, providers: [
66
+ PopupService,
67
+ NavigationService,
68
+ CenturyViewService,
69
+ DecadeViewService,
70
+ MonthViewService,
71
+ YearViewService
72
+ ], imports: [i2.MultiViewCalendarComponent] });
63
73
  }
64
- MultiViewCalendarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MultiViewCalendarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
65
- MultiViewCalendarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: MultiViewCalendarModule, imports: [i1.MultiViewCalendarCustomMessagesComponent, i2.MultiViewCalendarComponent, i3.CellTemplateDirective, i4.CenturyCellTemplateDirective, i5.DecadeCellTemplateDirective, i6.FooterTemplateDirective, i7.HeaderTemplateDirective, i8.HeaderTitleTemplateDirective, i9.MonthCellTemplateDirective, i10.NavigationItemTemplateDirective, i11.WeekNumberCellTemplateDirective, i12.YearCellTemplateDirective], exports: [i1.MultiViewCalendarCustomMessagesComponent, i2.MultiViewCalendarComponent, i3.CellTemplateDirective, i4.CenturyCellTemplateDirective, i5.DecadeCellTemplateDirective, i6.FooterTemplateDirective, i7.HeaderTemplateDirective, i8.HeaderTitleTemplateDirective, i9.MonthCellTemplateDirective, i10.NavigationItemTemplateDirective, i11.WeekNumberCellTemplateDirective, i12.YearCellTemplateDirective] });
66
- MultiViewCalendarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MultiViewCalendarModule, providers: [
67
- PopupService,
68
- NavigationService,
69
- CenturyViewService,
70
- DecadeViewService,
71
- MonthViewService,
72
- YearViewService
73
- ], imports: [i1.MultiViewCalendarCustomMessagesComponent, i2.MultiViewCalendarComponent] });
74
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MultiViewCalendarModule, decorators: [{
74
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MultiViewCalendarModule, decorators: [{
75
75
  type: NgModule,
76
76
  args: [{
77
77
  exports: [...KENDO_MULTIVIEWCALENDAR],
@@ -25,23 +25,42 @@ const ITEMS_COUNT = 30;
25
25
  * @hidden
26
26
  */
27
27
  export class NavigationComponent {
28
+ bus;
29
+ dom;
30
+ intl;
31
+ cdr;
32
+ renderer;
33
+ activeView;
34
+ min = new Date(MIN_DATE);
35
+ max = new Date(MAX_DATE);
36
+ focusedDate = new Date();
37
+ templateRef;
38
+ valueChange = new EventEmitter();
39
+ pageChange = new EventEmitter();
40
+ virtualization;
41
+ list;
42
+ get getComponentClass() {
43
+ return true;
44
+ }
45
+ activeViewValue;
46
+ service;
47
+ dates = [];
48
+ style;
49
+ take = ITEMS_COUNT;
50
+ skip;
51
+ total;
52
+ itemHeight;
53
+ topOffset;
54
+ bottomOffset;
55
+ maxViewHeight;
56
+ indexToScroll = -1;
57
+ intlSubscription;
28
58
  constructor(bus, dom, intl, cdr, renderer) {
29
59
  this.bus = bus;
30
60
  this.dom = dom;
31
61
  this.intl = intl;
32
62
  this.cdr = cdr;
33
63
  this.renderer = renderer;
34
- this.min = new Date(MIN_DATE);
35
- this.max = new Date(MAX_DATE);
36
- this.focusedDate = new Date();
37
- this.valueChange = new EventEmitter();
38
- this.pageChange = new EventEmitter();
39
- this.dates = [];
40
- this.take = ITEMS_COUNT;
41
- this.indexToScroll = -1;
42
- }
43
- get getComponentClass() {
44
- return true;
45
64
  }
46
65
  ngOnInit() {
47
66
  this.dom.ensureHeights();
@@ -115,9 +134,8 @@ export class NavigationComponent {
115
134
  this.cdr.markForCheck();
116
135
  }
117
136
  }
118
- }
119
- NavigationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NavigationComponent, deps: [{ token: i1.BusViewService }, { token: i2.CalendarDOMService }, { token: i3.IntlService }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
120
- NavigationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: NavigationComponent, isStandalone: true, selector: "kendo-calendar-navigation", inputs: { activeView: "activeView", min: "min", max: "max", focusedDate: "focusedDate", templateRef: "templateRef" }, outputs: { valueChange: "valueChange", pageChange: "pageChange" }, host: { properties: { "class.k-calendar-navigation": "this.getComponentClass" } }, viewQueries: [{ propertyName: "virtualization", first: true, predicate: VirtualizationComponent, descendants: true }, { propertyName: "list", first: true, predicate: ["list"], descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: `
137
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NavigationComponent, deps: [{ token: i1.BusViewService }, { token: i2.CalendarDOMService }, { token: i3.IntlService }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
138
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: NavigationComponent, isStandalone: true, selector: "kendo-calendar-navigation", inputs: { activeView: "activeView", min: "min", max: "max", focusedDate: "focusedDate", templateRef: "templateRef" }, outputs: { valueChange: "valueChange", pageChange: "pageChange" }, host: { properties: { "class.k-calendar-navigation": "this.getComponentClass" } }, viewQueries: [{ propertyName: "virtualization", first: true, predicate: VirtualizationComponent, descendants: true }, { propertyName: "list", first: true, predicate: ["list"], descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: `
121
139
  <span class="k-calendar-navigation-highlight"></span>
122
140
  <kendo-virtualization
123
141
  [skip]="skip"
@@ -144,7 +162,8 @@ NavigationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ve
144
162
  </ul>
145
163
  </kendo-virtualization>
146
164
  `, isInline: true, dependencies: [{ kind: "component", type: VirtualizationComponent, selector: "kendo-virtualization", inputs: ["direction", "itemHeight", "itemWidth", "topOffset", "bottomOffset", "maxScrollDifference", "scrollOffsetSize", "scrollDuration", "skip", "take", "total"], outputs: ["activeIndexChange", "pageChange", "scrollChange"] }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "directive", type: KForOf, selector: "[kFor][kForOf]", inputs: ["kForOf", "kForTrackBy", "kForTemplate"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
147
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NavigationComponent, decorators: [{
165
+ }
166
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NavigationComponent, decorators: [{
148
167
  type: Component,
149
168
  args: [{
150
169
  changeDetection: ChangeDetectionStrategy.OnPush,
@@ -24,11 +24,13 @@ let nextCalendarId = 0;
24
24
  * @hidden
25
25
  */
26
26
  export class BusViewService {
27
+ injector;
28
+ viewChanged = new EventEmitter();
29
+ bottom = CalendarViewEnum.month;
30
+ top = CalendarViewEnum.century;
31
+ calendarId;
27
32
  constructor(injector) {
28
33
  this.injector = injector;
29
- this.viewChanged = new EventEmitter();
30
- this.bottom = CalendarViewEnum.month;
31
- this.top = CalendarViewEnum.century;
32
34
  this.calendarId = nextCalendarId++;
33
35
  }
34
36
  configure(bottom, top) {
@@ -73,9 +75,9 @@ export class BusViewService {
73
75
  }
74
76
  this.viewChanged.emit({ view: candidate });
75
77
  }
78
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BusViewService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
79
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BusViewService });
76
80
  }
77
- BusViewService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BusViewService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
78
- BusViewService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BusViewService });
79
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BusViewService, decorators: [{
81
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BusViewService, decorators: [{
80
82
  type: Injectable
81
83
  }], ctorParameters: function () { return [{ type: i0.Injector }]; } });
@@ -46,20 +46,6 @@ const ACTIONS = {
46
46
  * @hidden
47
47
  */
48
48
  export class CenturyViewService {
49
- constructor() {
50
- this.dateRange = (start, end) => {
51
- if (!isPresent(start) || !isPresent(end)) {
52
- return [];
53
- }
54
- const result = [];
55
- let current = start;
56
- while (current <= end) {
57
- result.push(current);
58
- current = addDecades(current, 1);
59
- }
60
- return result;
61
- };
62
- }
63
49
  addToDate(min, skip) {
64
50
  return addCenturies(min, skip);
65
51
  }
@@ -200,6 +186,18 @@ export class CenturyViewService {
200
186
  }
201
187
  return date;
202
188
  }
189
+ dateRange = (start, end) => {
190
+ if (!isPresent(start) || !isPresent(end)) {
191
+ return [];
192
+ }
193
+ const result = [];
194
+ let current = start;
195
+ while (current <= end) {
196
+ result.push(current);
197
+ current = addDecades(current, 1);
198
+ }
199
+ return result;
200
+ };
203
201
  normalize(cellDate, min, max) {
204
202
  if (cellDate < min && this.isEqual(cellDate, min)) {
205
203
  return cloneDate(min);
@@ -209,10 +207,10 @@ export class CenturyViewService {
209
207
  }
210
208
  return cellDate;
211
209
  }
210
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CenturyViewService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
211
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CenturyViewService, providedIn: 'root' });
212
212
  }
213
- CenturyViewService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CenturyViewService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
214
- CenturyViewService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CenturyViewService, providedIn: 'root' });
215
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CenturyViewService, decorators: [{
213
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CenturyViewService, decorators: [{
216
214
  type: Injectable,
217
215
  args: [{
218
216
  providedIn: 'root'
@@ -46,20 +46,6 @@ const ACTIONS = {
46
46
  * @hidden
47
47
  */
48
48
  export class DecadeViewService {
49
- constructor() {
50
- this.dateRange = (start, end) => {
51
- if (!isPresent(start) || !isPresent(end)) {
52
- return [];
53
- }
54
- const result = [];
55
- let current = start;
56
- while (current <= end) {
57
- result.push(current);
58
- current = addYears(current, 1);
59
- }
60
- return result;
61
- };
62
- }
63
49
  addToDate(min, skip) {
64
50
  return addDecades(min, skip);
65
51
  }
@@ -199,6 +185,18 @@ export class DecadeViewService {
199
185
  }
200
186
  return date;
201
187
  }
188
+ dateRange = (start, end) => {
189
+ if (!isPresent(start) || !isPresent(end)) {
190
+ return [];
191
+ }
192
+ const result = [];
193
+ let current = start;
194
+ while (current <= end) {
195
+ result.push(current);
196
+ current = addYears(current, 1);
197
+ }
198
+ return result;
199
+ };
202
200
  normalize(cellDate, min, max) {
203
201
  if (cellDate < min && this.isEqual(cellDate, min)) {
204
202
  return cloneDate(min);
@@ -208,10 +206,10 @@ export class DecadeViewService {
208
206
  }
209
207
  return cellDate;
210
208
  }
209
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DecadeViewService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
210
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DecadeViewService, providedIn: 'root' });
211
211
  }
212
- DecadeViewService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DecadeViewService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
213
- DecadeViewService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DecadeViewService, providedIn: 'root' });
214
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DecadeViewService, decorators: [{
212
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DecadeViewService, decorators: [{
215
213
  type: Injectable,
216
214
  args: [{
217
215
  providedIn: 'root'
@@ -13,17 +13,15 @@ const DISABLED_DATES_DOC_LINK = 'https://www.telerik.com/kendo-angular-ui/compon
13
13
  * @hidden
14
14
  */
15
15
  export class DisabledDatesService {
16
- constructor() {
17
- /**
18
- * Emits every time the `isDateDisabled` method changes.
19
- */
20
- this.changes = new Subject();
21
- /**
22
- * Based on the user-defined `disabledDates` input evaluates if the date is disabled.
23
- * If not set, returns `false`.
24
- */
25
- this.isDateDisabled = noop;
26
- }
16
+ /**
17
+ * Emits every time the `isDateDisabled` method changes.
18
+ */
19
+ changes = new Subject();
20
+ /**
21
+ * Based on the user-defined `disabledDates` input evaluates if the date is disabled.
22
+ * If not set, returns `false`.
23
+ */
24
+ isDateDisabled = noop;
27
25
  /**
28
26
  * Configures the `isDateDisabled` function.
29
27
  *
@@ -60,9 +58,9 @@ export class DisabledDatesService {
60
58
  notifyServiceChange() {
61
59
  this.changes.next();
62
60
  }
61
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DisabledDatesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
62
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DisabledDatesService });
63
63
  }
64
- DisabledDatesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DisabledDatesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
65
- DisabledDatesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DisabledDatesService });
66
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DisabledDatesService, decorators: [{
64
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DisabledDatesService, decorators: [{
67
65
  type: Injectable
68
66
  }] });
@@ -88,6 +88,24 @@ const getBody = (element) => element.querySelector('tbody');
88
88
  * @hidden
89
89
  */
90
90
  export class CalendarDOMService {
91
+ //heights
92
+ calendarHeight;
93
+ headerHeight;
94
+ monthViewHeight;
95
+ yearViewHeight;
96
+ decadeViewHeight;
97
+ centuryViewHeight;
98
+ navigationItemHeight;
99
+ scrollableContentHeight;
100
+ scrollableYearContentHeight;
101
+ //widths
102
+ calendarWidth;
103
+ monthViewWidth;
104
+ yearViewWidth;
105
+ decadeViewWidth;
106
+ centuryViewWidth;
107
+ scrollableContentWidth;
108
+ hostContainer;
91
109
  ensureHeights() {
92
110
  if (this.calendarHeight !== undefined) {
93
111
  return;
@@ -166,10 +184,10 @@ export class CalendarDOMService {
166
184
  document.body.removeChild(hostClone);
167
185
  }
168
186
  }
187
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CalendarDOMService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
188
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CalendarDOMService, providedIn: 'root' });
169
189
  }
170
- CalendarDOMService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CalendarDOMService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
171
- CalendarDOMService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CalendarDOMService, providedIn: 'root' });
172
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CalendarDOMService, decorators: [{
190
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CalendarDOMService, decorators: [{
173
191
  type: Injectable,
174
192
  args: [{
175
193
  providedIn: 'root'
@@ -28,20 +28,9 @@ const ACTIONS = {
28
28
  * @hidden
29
29
  */
30
30
  export class MonthViewService {
31
+ _intlService;
31
32
  constructor(_intlService) {
32
33
  this._intlService = _intlService;
33
- this.dateRange = (start, end) => {
34
- if (!isPresent(start) || !isPresent(end)) {
35
- return [];
36
- }
37
- const result = [];
38
- let current = start;
39
- while (current <= end) {
40
- result.push(current);
41
- current = addDays(current, 1);
42
- }
43
- return result;
44
- };
45
34
  }
46
35
  addToDate(min, skip) {
47
36
  return addMonths(min, skip);
@@ -196,6 +185,18 @@ export class MonthViewService {
196
185
  }
197
186
  return start <= day && day <= end;
198
187
  }
188
+ dateRange = (start, end) => {
189
+ if (!isPresent(start) || !isPresent(end)) {
190
+ return [];
191
+ }
192
+ const result = [];
193
+ let current = start;
194
+ while (current <= end) {
195
+ result.push(current);
196
+ current = addDays(current, 1);
197
+ }
198
+ return result;
199
+ };
199
200
  abbrMonthNames() {
200
201
  return this._intlService.dateFormatNames({ nameType: 'abbreviated', type: 'months' });
201
202
  }
@@ -211,10 +212,10 @@ export class MonthViewService {
211
212
  wideMonthNames() {
212
213
  return this._intlService.dateFormatNames({ nameType: 'wide', type: 'months' });
213
214
  }
215
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MonthViewService, deps: [{ token: i1.IntlService }], target: i0.ɵɵFactoryTarget.Injectable });
216
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MonthViewService, providedIn: 'root' });
214
217
  }
215
- MonthViewService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MonthViewService, deps: [{ token: i1.IntlService }], target: i0.ɵɵFactoryTarget.Injectable });
216
- MonthViewService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MonthViewService, providedIn: 'root' });
217
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MonthViewService, decorators: [{
218
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MonthViewService, decorators: [{
218
219
  type: Injectable,
219
220
  args: [{
220
221
  providedIn: 'root'
@@ -23,6 +23,7 @@ const KEY_TO_ACTION = {
23
23
  * @hidden
24
24
  */
25
25
  export class NavigationService {
26
+ bus;
26
27
  constructor(bus) {
27
28
  this.bus = bus;
28
29
  }
@@ -45,10 +46,10 @@ export class NavigationService {
45
46
  }
46
47
  return service.move(value, action);
47
48
  }
49
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NavigationService, deps: [{ token: i1.BusViewService }], target: i0.ɵɵFactoryTarget.Injectable });
50
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NavigationService, providedIn: 'root' });
48
51
  }
49
- NavigationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NavigationService, deps: [{ token: i1.BusViewService }], target: i0.ɵɵFactoryTarget.Injectable });
50
- NavigationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NavigationService, providedIn: 'root' });
51
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NavigationService, decorators: [{
52
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NavigationService, decorators: [{
52
53
  type: Injectable,
53
54
  args: [{
54
55
  providedIn: 'root'
@@ -12,6 +12,14 @@ const powerByMagnitude = (magnitude) => x => x * magnitude;
12
12
  * @hidden
13
13
  */
14
14
  export class ScrollSyncService {
15
+ dom;
16
+ zone;
17
+ divideByMagnitude;
18
+ powerByMagnitude;
19
+ navSubscription;
20
+ viewSubscription;
21
+ navigator;
22
+ view;
15
23
  constructor(dom, zone) {
16
24
  this.dom = dom;
17
25
  this.zone = zone;
@@ -73,9 +81,9 @@ export class ScrollSyncService {
73
81
  this.viewSubscription.unsubscribe();
74
82
  }
75
83
  }
84
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ScrollSyncService, deps: [{ token: i1.CalendarDOMService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
85
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ScrollSyncService });
76
86
  }
77
- ScrollSyncService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ScrollSyncService, deps: [{ token: i1.CalendarDOMService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
78
- ScrollSyncService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ScrollSyncService });
79
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ScrollSyncService, decorators: [{
87
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ScrollSyncService, decorators: [{
80
88
  type: Injectable
81
89
  }], ctorParameters: function () { return [{ type: i1.CalendarDOMService }, { type: i0.NgZone }]; } });
@@ -12,9 +12,11 @@ import * as i1 from "./bus-view.service";
12
12
  * @hidden
13
13
  */
14
14
  export class SelectionService {
15
+ bus;
15
16
  constructor(bus) {
16
17
  this.bus = bus;
17
18
  }
19
+ lastClicked;
18
20
  performSelection(args) {
19
21
  /* eslint prefer-const: ["error", {"destructuring": "all"}] */
20
22
  let { date, modifiers, selectionMode, activeViewEnum, rangePivot } = args;
@@ -52,9 +54,9 @@ export class SelectionService {
52
54
  isDateSelected(selectedDates, date) {
53
55
  return selectedDates.some(item => isEqual(item, date));
54
56
  }
57
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SelectionService, deps: [{ token: i1.BusViewService }], target: i0.ɵɵFactoryTarget.Injectable });
58
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SelectionService });
55
59
  }
56
- SelectionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SelectionService, deps: [{ token: i1.BusViewService }], target: i0.ɵɵFactoryTarget.Injectable });
57
- SelectionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SelectionService });
58
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SelectionService, decorators: [{
60
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SelectionService, decorators: [{
59
61
  type: Injectable
60
62
  }], ctorParameters: function () { return [{ type: i1.BusViewService }]; } });
@@ -14,6 +14,7 @@ import * as i1 from "@progress/kendo-angular-intl";
14
14
  * This service is deprecated and will be removed in a future major version release.
15
15
  */
16
16
  export class WeekNamesService {
17
+ intl;
17
18
  constructor(intl) {
18
19
  this.intl = intl;
19
20
  }
@@ -21,10 +22,10 @@ export class WeekNamesService {
21
22
  const weekNames = shiftWeekNames(this.intl.dateFormatNames({ nameType: nameType, type: 'days' }), this.intl.firstDay());
22
23
  return includeWeekNumber ? [''].concat(weekNames) : weekNames;
23
24
  }
25
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: WeekNamesService, deps: [{ token: i1.IntlService }], target: i0.ɵɵFactoryTarget.Injectable });
26
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: WeekNamesService, providedIn: 'root' });
24
27
  }
25
- WeekNamesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WeekNamesService, deps: [{ token: i1.IntlService }], target: i0.ɵɵFactoryTarget.Injectable });
26
- WeekNamesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WeekNamesService, providedIn: 'root' });
27
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WeekNamesService, decorators: [{
28
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: WeekNamesService, decorators: [{
28
29
  type: Injectable,
29
30
  args: [{
30
31
  providedIn: 'root'
@@ -28,20 +28,9 @@ const ACTIONS = {
28
28
  * @hidden
29
29
  */
30
30
  export class YearViewService {
31
+ _intlService;
31
32
  constructor(_intlService) {
32
33
  this._intlService = _intlService;
33
- this.dateRange = (start, end) => {
34
- if (!isPresent(start) || !isPresent(end)) {
35
- return [];
36
- }
37
- const result = [];
38
- let current = start;
39
- while (current <= end) {
40
- result.push(current);
41
- current = addMonths(current, 1);
42
- }
43
- return result;
44
- };
45
34
  }
46
35
  addToDate(min, skip) {
47
36
  return addYears(min, skip);
@@ -180,6 +169,18 @@ export class YearViewService {
180
169
  }
181
170
  return date;
182
171
  }
172
+ dateRange = (start, end) => {
173
+ if (!isPresent(start) || !isPresent(end)) {
174
+ return [];
175
+ }
176
+ const result = [];
177
+ let current = start;
178
+ while (current <= end) {
179
+ result.push(current);
180
+ current = addMonths(current, 1);
181
+ }
182
+ return result;
183
+ };
183
184
  abbrMonthNames() {
184
185
  return this._intlService.dateFormatNames({ nameType: 'abbreviated', type: 'months' });
185
186
  }
@@ -192,10 +193,10 @@ export class YearViewService {
192
193
  }
193
194
  return cellDate;
194
195
  }
196
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: YearViewService, deps: [{ token: i1.IntlService }], target: i0.ɵɵFactoryTarget.Injectable });
197
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: YearViewService, providedIn: 'root' });
195
198
  }
196
- YearViewService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: YearViewService, deps: [{ token: i1.IntlService }], target: i0.ɵɵFactoryTarget.Injectable });
197
- YearViewService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: YearViewService, providedIn: 'root' });
198
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: YearViewService, decorators: [{
199
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: YearViewService, decorators: [{
199
200
  type: Injectable,
200
201
  args: [{
201
202
  providedIn: 'root'
@@ -32,13 +32,14 @@ import * as i0 from "@angular/core";
32
32
  * ```
33
33
  */
34
34
  export class CellTemplateDirective {
35
+ templateRef;
35
36
  constructor(templateRef) {
36
37
  this.templateRef = templateRef;
37
38
  }
39
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CellTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
40
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: CellTemplateDirective, isStandalone: true, selector: "[kendoCalendarCellTemplate]", ngImport: i0 });
38
41
  }
39
- CellTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CellTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
40
- CellTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: CellTemplateDirective, isStandalone: true, selector: "[kendoCalendarCellTemplate]", ngImport: i0 });
41
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CellTemplateDirective, decorators: [{
42
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CellTemplateDirective, decorators: [{
42
43
  type: Directive,
43
44
  args: [{
44
45
  selector: '[kendoCalendarCellTemplate]',
@@ -31,13 +31,14 @@ import * as i0 from "@angular/core";
31
31
  * ```
32
32
  */
33
33
  export class CenturyCellTemplateDirective {
34
+ templateRef;
34
35
  constructor(templateRef) {
35
36
  this.templateRef = templateRef;
36
37
  }
38
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CenturyCellTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
39
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: CenturyCellTemplateDirective, isStandalone: true, selector: "[kendoCalendarCenturyCellTemplate]", ngImport: i0 });
37
40
  }
38
- CenturyCellTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CenturyCellTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
39
- CenturyCellTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: CenturyCellTemplateDirective, isStandalone: true, selector: "[kendoCalendarCenturyCellTemplate]", ngImport: i0 });
40
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CenturyCellTemplateDirective, decorators: [{
41
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CenturyCellTemplateDirective, decorators: [{
41
42
  type: Directive,
42
43
  args: [{
43
44
  selector: '[kendoCalendarCenturyCellTemplate]',
@@ -31,13 +31,14 @@ import * as i0 from "@angular/core";
31
31
  * ```
32
32
  */
33
33
  export class DecadeCellTemplateDirective {
34
+ templateRef;
34
35
  constructor(templateRef) {
35
36
  this.templateRef = templateRef;
36
37
  }
38
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DecadeCellTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
39
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: DecadeCellTemplateDirective, isStandalone: true, selector: "[kendoCalendarDecadeCellTemplate]", ngImport: i0 });
37
40
  }
38
- DecadeCellTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DecadeCellTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
39
- DecadeCellTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DecadeCellTemplateDirective, isStandalone: true, selector: "[kendoCalendarDecadeCellTemplate]", ngImport: i0 });
40
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DecadeCellTemplateDirective, decorators: [{
41
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DecadeCellTemplateDirective, decorators: [{
41
42
  type: Directive,
42
43
  args: [{
43
44
  selector: '[kendoCalendarDecadeCellTemplate]',
@@ -29,13 +29,14 @@ import * as i0 from "@angular/core";
29
29
  * ```
30
30
  */
31
31
  export class FooterTemplateDirective {
32
+ templateRef;
32
33
  constructor(templateRef) {
33
34
  this.templateRef = templateRef;
34
35
  }
36
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FooterTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
37
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: FooterTemplateDirective, isStandalone: true, selector: "[kendoCalendarFooterTemplate]", ngImport: i0 });
35
38
  }
36
- FooterTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FooterTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
37
- FooterTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: FooterTemplateDirective, isStandalone: true, selector: "[kendoCalendarFooterTemplate]", ngImport: i0 });
38
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FooterTemplateDirective, decorators: [{
39
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FooterTemplateDirective, decorators: [{
39
40
  type: Directive,
40
41
  args: [{
41
42
  selector: '[kendoCalendarFooterTemplate]',
@@ -30,13 +30,14 @@ import * as i0 from "@angular/core";
30
30
  * ```
31
31
  */
32
32
  export class HeaderTemplateDirective {
33
+ templateRef;
33
34
  constructor(templateRef) {
34
35
  this.templateRef = templateRef;
35
36
  }
37
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: HeaderTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
38
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: HeaderTemplateDirective, isStandalone: true, selector: "[kendoCalendarHeaderTemplate]", ngImport: i0 });
36
39
  }
37
- HeaderTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HeaderTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
38
- HeaderTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: HeaderTemplateDirective, isStandalone: true, selector: "[kendoCalendarHeaderTemplate]", ngImport: i0 });
39
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HeaderTemplateDirective, decorators: [{
40
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: HeaderTemplateDirective, decorators: [{
40
41
  type: Directive,
41
42
  args: [{
42
43
  selector: '[kendoCalendarHeaderTemplate]',