@progress/kendo-angular-dateinputs 17.0.0-develop.8 → 17.0.0

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/calendar/calendar.component.d.ts +1 -1
  2. package/calendar/footer.component.d.ts +1 -1
  3. package/calendar/for.directive.d.ts +1 -1
  4. package/calendar/header.component.d.ts +1 -1
  5. package/calendar/horizontal-view-list.component.d.ts +1 -1
  6. package/calendar/localization/calendar-messages.d.ts +1 -1
  7. package/calendar/localization/multiview-calendar-messages.d.ts +1 -1
  8. package/calendar/models/orientation.d.ts +1 -1
  9. package/calendar/models/selection-range-end.type.d.ts +1 -1
  10. package/calendar/models/selection.d.ts +1 -1
  11. package/calendar/models/type.d.ts +1 -1
  12. package/calendar/models/view.type.d.ts +1 -1
  13. package/calendar/multiview-calendar.component.d.ts +1 -1
  14. package/calendar/navigation.component.d.ts +1 -1
  15. package/calendar/view-list.component.d.ts +1 -1
  16. package/calendar/view.component.d.ts +1 -1
  17. package/common/models/fillmode.d.ts +1 -1
  18. package/common/models/rounded.d.ts +1 -1
  19. package/common/models/size.d.ts +1 -1
  20. package/common/models/week-days-format.d.ts +1 -1
  21. package/dateinput/dateinput.component.d.ts +2 -2
  22. package/dateinput/localization/messages.d.ts +1 -1
  23. package/dateinput/models/format-placeholder.model.d.ts +1 -1
  24. package/datepicker/datepicker.component.d.ts +1 -1
  25. package/datepicker/localization/messages.d.ts +1 -1
  26. package/daterange/auto-correct-on.type.d.ts +1 -1
  27. package/daterange/date-range-end-input.directive.d.ts +1 -1
  28. package/daterange/date-range-popup.component.d.ts +86 -2
  29. package/daterange/date-range-selection.directive.d.ts +1 -1
  30. package/daterange/date-range-start-input.directive.d.ts +1 -1
  31. package/daterange/date-range.component.d.ts +1 -1
  32. package/daterange/localization/messages.d.ts +1 -1
  33. package/datetimepicker/datetimepicker.component.d.ts +1 -1
  34. package/datetimepicker/localization/messages.d.ts +1 -1
  35. package/datetimepicker/models/active-tab.type.d.ts +1 -1
  36. package/{esm2020 → esm2022}/calendar/calendar.component.mjs +277 -167
  37. package/{esm2020 → esm2022}/calendar/calendar.module.mjs +14 -14
  38. package/{esm2020 → esm2022}/calendar/calendars.module.mjs +14 -14
  39. package/{esm2020 → esm2022}/calendar/footer.component.mjs +10 -6
  40. package/{esm2020 → esm2022}/calendar/for.directive.mjs +13 -4
  41. package/{esm2020 → esm2022}/calendar/header.component.mjs +46 -29
  42. package/{esm2020 → esm2022}/calendar/horizontal-view-list.component.mjs +63 -40
  43. package/{esm2020 → esm2022}/calendar/localization/calendar-custom-messages.component.mjs +9 -8
  44. package/{esm2020 → esm2022}/calendar/localization/calendar-localized-messages.directive.mjs +9 -8
  45. package/{esm2020/calendar/localization/multiview-calendar-messages.mjs → esm2022/calendar/localization/calendar-messages.mjs} +21 -5
  46. package/{esm2020 → esm2022}/calendar/localization/multiview-calendar-custom-messages.component.mjs +9 -8
  47. package/{esm2020 → esm2022}/calendar/localization/multiview-calendar-localized-messages.directive.mjs +9 -8
  48. package/esm2022/calendar/localization/multiview-calendar-messages.mjs +45 -0
  49. package/{esm2020 → esm2022}/calendar/multiview-calendar.component.mjs +300 -212
  50. package/{esm2020 → esm2022}/calendar/multiview-calendar.module.mjs +11 -11
  51. package/{esm2020 → esm2022}/calendar/navigation.component.mjs +34 -15
  52. package/{esm2020 → esm2022}/calendar/services/bus-view.service.mjs +8 -6
  53. package/{esm2020 → esm2022}/calendar/services/century-view.service.mjs +15 -17
  54. package/{esm2020 → esm2022}/calendar/services/decade-view.service.mjs +15 -17
  55. package/{esm2020 → esm2022}/calendar/services/disabled-dates.service.mjs +12 -14
  56. package/{esm2020 → esm2022}/calendar/services/dom.service.mjs +21 -3
  57. package/{esm2020 → esm2022}/calendar/services/month-view.service.mjs +16 -15
  58. package/{esm2020 → esm2022}/calendar/services/navigation.service.mjs +4 -3
  59. package/{esm2020 → esm2022}/calendar/services/scroll-sync.service.mjs +11 -3
  60. package/{esm2020 → esm2022}/calendar/services/selection.service.mjs +5 -3
  61. package/{esm2020 → esm2022}/calendar/services/weeknames.service.mjs +4 -3
  62. package/{esm2020 → esm2022}/calendar/services/year-view.service.mjs +16 -15
  63. package/{esm2020 → esm2022}/calendar/templates/cell-template.directive.mjs +4 -3
  64. package/{esm2020 → esm2022}/calendar/templates/century-cell-template.directive.mjs +4 -3
  65. package/{esm2020 → esm2022}/calendar/templates/decade-cell-template.directive.mjs +4 -3
  66. package/{esm2020 → esm2022}/calendar/templates/footer-template.directive.mjs +4 -3
  67. package/{esm2020 → esm2022}/calendar/templates/header-template.directive.mjs +4 -3
  68. package/{esm2020 → esm2022}/calendar/templates/header-title-template.directive.mjs +4 -3
  69. package/{esm2020 → esm2022}/calendar/templates/month-cell-template.directive.mjs +4 -3
  70. package/{esm2020 → esm2022}/calendar/templates/navigation-item-template.directive.mjs +4 -3
  71. package/{esm2020 → esm2022}/calendar/templates/weeknumber-cell-template.directive.mjs +4 -3
  72. package/{esm2020 → esm2022}/calendar/templates/year-cell-template.directive.mjs +4 -3
  73. package/{esm2020 → esm2022}/calendar/view-list.component.mjs +68 -37
  74. package/{esm2020 → esm2022}/calendar/view.component.mjs +50 -24
  75. package/{esm2020 → esm2022}/common/picker.service.mjs +7 -6
  76. package/{esm2020 → esm2022}/dateinput/dateinput.component.mjs +282 -231
  77. package/{esm2020 → esm2022}/dateinput/dateinput.module.mjs +6 -6
  78. package/{esm2020 → esm2022}/dateinput/localization/dateinput-custom-messages.component.mjs +9 -8
  79. package/{esm2020 → esm2022}/dateinput/localization/dateinput-localized-messages.directive.mjs +9 -8
  80. package/{esm2020 → esm2022}/dateinput/localization/messages.mjs +15 -3
  81. package/{esm2020 → esm2022}/dateinputs.module.mjs +22 -22
  82. package/{esm2020 → esm2022}/datepicker/datepicker.component.mjs +403 -282
  83. package/{esm2020 → esm2022}/datepicker/datepicker.module.mjs +16 -16
  84. package/{esm2020 → esm2022}/datepicker/localization/datepicker-custom-messages.component.mjs +9 -8
  85. package/{esm2020 → esm2022}/datepicker/localization/datepicker-localized-messages.directive.mjs +9 -8
  86. package/esm2022/datepicker/localization/messages.mjs +57 -0
  87. package/{esm2020 → esm2022}/daterange/date-range-end-input.directive.mjs +38 -28
  88. package/{esm2020 → esm2022}/daterange/date-range-input.mjs +19 -13
  89. package/{esm2020 → esm2022}/daterange/date-range-popup-template.directive.mjs +4 -3
  90. package/{esm2020 → esm2022}/daterange/date-range-popup.component.mjs +324 -87
  91. package/{esm2020 → esm2022}/daterange/date-range-selection.directive.mjs +41 -36
  92. package/{esm2020 → esm2022}/daterange/date-range-start-input.directive.mjs +40 -29
  93. package/{esm2020 → esm2022}/daterange/date-range.component.mjs +31 -14
  94. package/{esm2020 → esm2022}/daterange/date-range.module.mjs +16 -16
  95. package/{esm2020 → esm2022}/daterange/date-range.service.mjs +34 -33
  96. package/{esm2020 → esm2022}/daterange/localization/daterange-popup-custom-messages.component.mjs +9 -8
  97. package/{esm2020 → esm2022}/daterange/localization/daterange-popup-localized-messages.directive.mjs +9 -8
  98. package/{esm2020 → esm2022}/daterange/localization/messages.mjs +19 -3
  99. package/{esm2020 → esm2022}/datetimepicker/datetimepicker.component.mjs +390 -292
  100. package/{esm2020 → esm2022}/datetimepicker/datetimepicker.module.mjs +22 -22
  101. package/{esm2020 → esm2022}/datetimepicker/localization/datetimepicker-custom-messages.component.mjs +9 -8
  102. package/{esm2020 → esm2022}/datetimepicker/localization/localized-messages.directive.mjs +9 -8
  103. package/esm2022/datetimepicker/localization/messages.mjs +147 -0
  104. package/{esm2020 → esm2022}/index.mjs +0 -1
  105. package/{esm2020 → esm2022}/package-metadata.mjs +2 -2
  106. package/{esm2020 → esm2022}/preventable-event.mjs +2 -3
  107. package/esm2022/timepicker/localization/messages.mjs +99 -0
  108. package/{esm2020 → esm2022}/timepicker/localization/timepicker-custom-messages.component.mjs +9 -8
  109. package/{esm2020 → esm2022}/timepicker/localization/timepicker-localized-messages.directive.mjs +9 -8
  110. package/{esm2020 → esm2022}/timepicker/localization/timeselector-custom-messages.component.mjs +9 -8
  111. package/{esm2020 → esm2022}/timepicker/localization/timeselector-localized-messages.directive.mjs +9 -8
  112. package/{esm2020 → esm2022}/timepicker/services/dayperiod.service.mjs +7 -3
  113. package/{esm2020 → esm2022}/timepicker/services/dom.service.mjs +7 -3
  114. package/{esm2020 → esm2022}/timepicker/services/hours.service.mjs +10 -5
  115. package/{esm2020 → esm2022}/timepicker/services/milliseconds.service.mjs +9 -4
  116. package/{esm2020 → esm2022}/timepicker/services/minutes.service.mjs +9 -4
  117. package/{esm2020 → esm2022}/timepicker/services/seconds.service.mjs +9 -4
  118. package/{esm2020 → esm2022}/timepicker/timelist.component.mjs +45 -27
  119. package/{esm2020 → esm2022}/timepicker/timepicker.component.mjs +301 -219
  120. package/{esm2020 → esm2022}/timepicker/timepicker.module.mjs +14 -14
  121. package/{esm2020 → esm2022}/timepicker/timeselector.component.mjs +96 -73
  122. package/{esm2020 → esm2022}/virtualization/services/row-height.service.mjs +5 -2
  123. package/{esm2020 → esm2022}/virtualization/services/scroller.service.mjs +14 -3
  124. package/{esm2020 → esm2022}/virtualization/virtualization.component.mjs +42 -28
  125. package/{fesm2020 → fesm2022}/progress-kendo-angular-dateinputs.mjs +3758 -2455
  126. package/index.d.ts +0 -1
  127. package/package.json +20 -26
  128. package/schematics/ngAdd/index.js +1 -1
  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
@@ -30,13 +30,14 @@ import * as i0 from "@angular/core";
30
30
  * ```
31
31
  */
32
32
  export class HeaderTitleTemplateDirective {
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: HeaderTitleTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
38
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: HeaderTitleTemplateDirective, isStandalone: true, selector: "[kendoCalendarHeaderTitleTemplate]", ngImport: i0 });
36
39
  }
37
- HeaderTitleTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HeaderTitleTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
38
- HeaderTitleTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: HeaderTitleTemplateDirective, isStandalone: true, selector: "[kendoCalendarHeaderTitleTemplate]", ngImport: i0 });
39
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HeaderTitleTemplateDirective, decorators: [{
40
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: HeaderTitleTemplateDirective, decorators: [{
40
41
  type: Directive,
41
42
  args: [{
42
43
  selector: '[kendoCalendarHeaderTitleTemplate]',
@@ -29,13 +29,14 @@ import * as i0 from "@angular/core";
29
29
  * ```
30
30
  */
31
31
  export class MonthCellTemplateDirective {
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: MonthCellTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
37
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: MonthCellTemplateDirective, isStandalone: true, selector: "[kendoCalendarMonthCellTemplate]", ngImport: i0 });
35
38
  }
36
- MonthCellTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MonthCellTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
37
- MonthCellTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: MonthCellTemplateDirective, isStandalone: true, selector: "[kendoCalendarMonthCellTemplate]", ngImport: i0 });
38
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MonthCellTemplateDirective, decorators: [{
39
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MonthCellTemplateDirective, decorators: [{
39
40
  type: Directive,
40
41
  args: [{
41
42
  selector: '[kendoCalendarMonthCellTemplate]',
@@ -30,13 +30,14 @@ import * as i0 from "@angular/core";
30
30
  * ```
31
31
  */
32
32
  export class NavigationItemTemplateDirective {
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: NavigationItemTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
38
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: NavigationItemTemplateDirective, isStandalone: true, selector: "[kendoCalendarNavigationItemTemplate]", ngImport: i0 });
36
39
  }
37
- NavigationItemTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NavigationItemTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
38
- NavigationItemTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: NavigationItemTemplateDirective, isStandalone: true, selector: "[kendoCalendarNavigationItemTemplate]", ngImport: i0 });
39
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NavigationItemTemplateDirective, decorators: [{
40
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NavigationItemTemplateDirective, decorators: [{
40
41
  type: Directive,
41
42
  args: [{
42
43
  selector: '[kendoCalendarNavigationItemTemplate]',
@@ -29,13 +29,14 @@ import * as i0 from "@angular/core";
29
29
  * ```
30
30
  */
31
31
  export class WeekNumberCellTemplateDirective {
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: WeekNumberCellTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
37
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: WeekNumberCellTemplateDirective, isStandalone: true, selector: "[kendoCalendarWeekNumberCellTemplate]", ngImport: i0 });
35
38
  }
36
- WeekNumberCellTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WeekNumberCellTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
37
- WeekNumberCellTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: WeekNumberCellTemplateDirective, isStandalone: true, selector: "[kendoCalendarWeekNumberCellTemplate]", ngImport: i0 });
38
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WeekNumberCellTemplateDirective, decorators: [{
39
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: WeekNumberCellTemplateDirective, decorators: [{
39
40
  type: Directive,
40
41
  args: [{
41
42
  selector: '[kendoCalendarWeekNumberCellTemplate]',
@@ -32,13 +32,14 @@ import * as i0 from "@angular/core";
32
32
  * ```
33
33
  */
34
34
  export class YearCellTemplateDirective {
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: YearCellTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
40
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: YearCellTemplateDirective, isStandalone: true, selector: "[kendoCalendarYearCellTemplate]", ngImport: i0 });
38
41
  }
39
- YearCellTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: YearCellTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
40
- YearCellTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: YearCellTemplateDirective, isStandalone: true, selector: "[kendoCalendarYearCellTemplate]", ngImport: i0 });
41
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: YearCellTemplateDirective, decorators: [{
42
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: YearCellTemplateDirective, decorators: [{
42
43
  type: Directive,
43
44
  args: [{
44
45
  selector: '[kendoCalendarYearCellTemplate]',
@@ -28,48 +28,55 @@ const isEqualMonthYear = (date1, date2) => (date1 && date2 &&
28
28
  * @hidden
29
29
  */
30
30
  export class ViewListComponent {
31
- constructor(bus, cdr, intl, dom, renderer) {
32
- this.bus = bus;
33
- this.cdr = cdr;
34
- this.intl = intl;
35
- this.dom = dom;
36
- this.renderer = renderer;
37
- this.isActive = true;
38
- this.min = new Date(MIN_DATE);
39
- this.max = new Date(MAX_DATE);
40
- this.selectedDates = [];
41
- this.tabIndex = 0;
42
- this.disabled = false;
43
- this.showFooter = false;
44
- this.weekDaysFormat = 'short';
45
- this.cellEnter = new EventEmitter();
46
- this.cellClick = new EventEmitter();
47
- this.weekNumberCellClick = new EventEmitter();
48
- this.activeDateChange = new EventEmitter();
49
- this.todayButtonClick = new EventEmitter();
50
- this.pageChange = new EventEmitter();
51
- this.focusCalendar = new EventEmitter();
52
- this.blurCalendar = new EventEmitter();
53
- this.focusedCellChange = new EventEmitter();
54
- this.getComponentClass = true;
55
- this.dates = [];
56
- this.cols = [];
57
- this.weekNames = [];
58
- this.wideWeekNames = [];
59
- this.take = VIEWS_COUNT;
60
- this.animateToIndex = true;
61
- this.indexToScroll = -1;
62
- this.minViewsToRender = 1;
63
- }
31
+ bus;
32
+ cdr;
33
+ intl;
34
+ dom;
35
+ renderer;
36
+ allowReverse;
37
+ cellTemplateRef;
38
+ weekNumberTemplateRef;
39
+ headerTitleTemplateRef;
40
+ headerTemplateRef;
41
+ footerTemplateRef;
42
+ showOtherMonthDays;
43
+ activeView;
44
+ cellUID;
45
+ focusedDate;
46
+ isActive = true;
47
+ min = new Date(MIN_DATE);
48
+ max = new Date(MAX_DATE);
49
+ selectedDates = [];
50
+ tabIndex = 0;
51
+ disabled = false;
52
+ id;
53
+ showFooter = false;
54
+ weekDaysFormat = 'short';
55
+ activeRangeEnd;
56
+ selectionRange;
57
+ size;
64
58
  get weekNumber() {
65
59
  return this.showWeekNumbers && this.isMonthView();
66
60
  }
67
61
  set weekNumber(showWeekNumbers) {
68
62
  this.showWeekNumbers = showWeekNumbers;
69
63
  }
64
+ cellEnter = new EventEmitter();
65
+ cellClick = new EventEmitter();
66
+ weekNumberCellClick = new EventEmitter();
67
+ activeDateChange = new EventEmitter();
68
+ todayButtonClick = new EventEmitter();
69
+ pageChange = new EventEmitter();
70
+ focusCalendar = new EventEmitter();
71
+ blurCalendar = new EventEmitter();
72
+ focusedCellChange = new EventEmitter();
73
+ virtualization;
74
+ headerComponent;
70
75
  get headerTitle() {
71
76
  return this.headerComponent?.title;
72
77
  }
78
+ list;
79
+ getComponentClass = true;
73
80
  get getComponentMonthClass() {
74
81
  return this.activeView === CalendarViewEnum.month;
75
82
  }
@@ -85,6 +92,30 @@ export class ViewListComponent {
85
92
  get activeViewValue() {
86
93
  return CalendarViewEnum[this.activeView];
87
94
  }
95
+ service;
96
+ activeDate;
97
+ dates = [];
98
+ cols = [];
99
+ weekNames = [];
100
+ wideWeekNames = [];
101
+ take = VIEWS_COUNT;
102
+ skip;
103
+ total;
104
+ bottomOffset;
105
+ viewHeight;
106
+ viewOffset;
107
+ animateToIndex = true;
108
+ indexToScroll = -1;
109
+ showWeekNumbers;
110
+ minViewsToRender = 1;
111
+ intlSubscription;
112
+ constructor(bus, cdr, intl, dom, renderer) {
113
+ this.bus = bus;
114
+ this.cdr = cdr;
115
+ this.intl = intl;
116
+ this.dom = dom;
117
+ this.renderer = renderer;
118
+ }
88
119
  ngOnInit() {
89
120
  this.weekNames = this.getWeekNames(this.weekDaysFormat);
90
121
  this.wideWeekNames = this.getWeekNames('wide');
@@ -193,9 +224,8 @@ export class ViewListComponent {
193
224
  this.cdr.markForCheck();
194
225
  }
195
226
  }
196
- }
197
- ViewListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ViewListComponent, deps: [{ token: i1.BusViewService }, { token: i0.ChangeDetectorRef }, { token: i2.IntlService }, { token: i3.CalendarDOMService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
198
- ViewListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ViewListComponent, isStandalone: true, selector: "kendo-calendar-viewlist", inputs: { allowReverse: "allowReverse", cellTemplateRef: "cellTemplateRef", weekNumberTemplateRef: "weekNumberTemplateRef", headerTitleTemplateRef: "headerTitleTemplateRef", headerTemplateRef: "headerTemplateRef", footerTemplateRef: "footerTemplateRef", showOtherMonthDays: "showOtherMonthDays", activeView: "activeView", cellUID: "cellUID", focusedDate: "focusedDate", isActive: "isActive", min: "min", max: "max", selectedDates: "selectedDates", tabIndex: "tabIndex", disabled: "disabled", id: "id", showFooter: "showFooter", weekDaysFormat: "weekDaysFormat", activeRangeEnd: "activeRangeEnd", selectionRange: "selectionRange", size: "size", weekNumber: "weekNumber" }, outputs: { cellEnter: "cellEnter", cellClick: "cellClick", weekNumberCellClick: "weekNumberCellClick", activeDateChange: "activeDateChange", todayButtonClick: "todayButtonClick", pageChange: "pageChange", focusCalendar: "focusCalendar", blurCalendar: "blurCalendar", focusedCellChange: "focusedCellChange" }, host: { properties: { "class.k-vstack": "this.getComponentClass", "class.k-calendar-view": "this.getComponentClass", "class.k-calendar-monthview": "this.getComponentMonthClass", "class.k-calendar-yearview": "this.getComponentYearClass", "class.k-calendar-decadeview": "this.getComponentDecadeClass", "class.k-calendar-centuryview": "this.getComponentCenturyClass" } }, viewQueries: [{ propertyName: "virtualization", first: true, predicate: VirtualizationComponent, descendants: true }, { propertyName: "headerComponent", first: true, predicate: HeaderComponent, descendants: true }, { propertyName: "list", first: true, predicate: ["list"], descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: `
227
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ViewListComponent, deps: [{ token: i1.BusViewService }, { token: i0.ChangeDetectorRef }, { token: i2.IntlService }, { token: i3.CalendarDOMService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
228
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ViewListComponent, isStandalone: true, selector: "kendo-calendar-viewlist", inputs: { allowReverse: "allowReverse", cellTemplateRef: "cellTemplateRef", weekNumberTemplateRef: "weekNumberTemplateRef", headerTitleTemplateRef: "headerTitleTemplateRef", headerTemplateRef: "headerTemplateRef", footerTemplateRef: "footerTemplateRef", showOtherMonthDays: "showOtherMonthDays", activeView: "activeView", cellUID: "cellUID", focusedDate: "focusedDate", isActive: "isActive", min: "min", max: "max", selectedDates: "selectedDates", tabIndex: "tabIndex", disabled: "disabled", id: "id", showFooter: "showFooter", weekDaysFormat: "weekDaysFormat", activeRangeEnd: "activeRangeEnd", selectionRange: "selectionRange", size: "size", weekNumber: "weekNumber" }, outputs: { cellEnter: "cellEnter", cellClick: "cellClick", weekNumberCellClick: "weekNumberCellClick", activeDateChange: "activeDateChange", todayButtonClick: "todayButtonClick", pageChange: "pageChange", focusCalendar: "focusCalendar", blurCalendar: "blurCalendar", focusedCellChange: "focusedCellChange" }, host: { properties: { "class.k-vstack": "this.getComponentClass", "class.k-calendar-view": "this.getComponentClass", "class.k-calendar-monthview": "this.getComponentMonthClass", "class.k-calendar-yearview": "this.getComponentYearClass", "class.k-calendar-decadeview": "this.getComponentDecadeClass", "class.k-calendar-centuryview": "this.getComponentCenturyClass" } }, viewQueries: [{ propertyName: "virtualization", first: true, predicate: VirtualizationComponent, descendants: true }, { propertyName: "headerComponent", first: true, predicate: HeaderComponent, descendants: true }, { propertyName: "list", first: true, predicate: ["list"], descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: `
199
229
  <kendo-calendar-header
200
230
  [currentDate]="activeDate"
201
231
  [size]="size"
@@ -273,7 +303,8 @@ ViewListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", vers
273
303
  [currentDate]="activeDate">
274
304
  </kendo-calendar-footer>
275
305
  `, isInline: true, dependencies: [{ kind: "component", type: HeaderComponent, selector: "kendo-calendar-header", inputs: ["activeView", "currentDate", "min", "max", "rangeLength", "titleTemplateRef", "headerTemplateRef", "isPrevDisabled", "isNextDisabled", "showNavigationButtons", "orientation", "id", "size"], outputs: ["todayButtonClick", "prevButtonClick", "nextButtonClick"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { 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: KForOf, selector: "[kFor][kForOf]", inputs: ["kForOf", "kForTrackBy", "kForTemplate"] }, { kind: "component", type: ViewComponent, selector: "[kendoCalendarView]", inputs: ["allowReverse", "showOtherMonthDays", "direction", "isActive", "activeView", "cellUID", "focusedDate", "viewDate", "activeRangeEnd", "selectionRange", "min", "max", "selectedDates", "weekNumber", "viewIndex", "templateRef", "weekNumberTemplateRef", "headerTitle"], outputs: ["cellClick", "weekNumberCellClick", "cellEnter", "cellLeave", "focusedCellId"] }, { kind: "component", type: FooterComponent, selector: "kendo-calendar-footer", inputs: ["footerTemplateRef", "activeViewValue", "currentDate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
276
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ViewListComponent, decorators: [{
306
+ }
307
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ViewListComponent, decorators: [{
277
308
  type: Component,
278
309
  args: [{
279
310
  changeDetection: ChangeDetectionStrategy.OnPush,
@@ -22,6 +22,52 @@ import * as i3 from "./services/disabled-dates.service";
22
22
  * @hidden
23
23
  */
24
24
  export class ViewComponent {
25
+ bus;
26
+ intl;
27
+ cdr;
28
+ element;
29
+ zone;
30
+ renderer;
31
+ disabledDatesService;
32
+ allowReverse;
33
+ showOtherMonthDays;
34
+ direction = 'vertical';
35
+ isActive = true;
36
+ activeView;
37
+ cellUID;
38
+ focusedDate;
39
+ viewDate;
40
+ activeRangeEnd;
41
+ selectionRange;
42
+ min;
43
+ max;
44
+ selectedDates = [];
45
+ get weekNumber() {
46
+ return this.showWeekNumbers && this.activeView === CalendarViewEnum.month;
47
+ }
48
+ set weekNumber(showWeekNumbers) {
49
+ this.showWeekNumbers = showWeekNumbers;
50
+ }
51
+ viewIndex;
52
+ templateRef;
53
+ weekNumberTemplateRef;
54
+ headerTitle;
55
+ cellClick = new EventEmitter();
56
+ weekNumberCellClick = new EventEmitter();
57
+ cellEnter = new EventEmitter();
58
+ cellLeave = new EventEmitter();
59
+ focusedCellId = new EventEmitter();
60
+ get ariaHidden() {
61
+ return this.headerTitle === this.title ? null : true;
62
+ }
63
+ colSpan = 0;
64
+ data;
65
+ service;
66
+ title;
67
+ subscriptions = new Subscription();
68
+ showWeekNumbers;
69
+ domEvents = [];
70
+ currentCellIndex;
25
71
  constructor(bus, intl, cdr, element, zone, renderer, disabledDatesService) {
26
72
  this.bus = bus;
27
73
  this.intl = intl;
@@ -30,29 +76,9 @@ export class ViewComponent {
30
76
  this.zone = zone;
31
77
  this.renderer = renderer;
32
78
  this.disabledDatesService = disabledDatesService;
33
- this.direction = 'vertical';
34
- this.isActive = true;
35
- this.selectedDates = [];
36
- this.cellClick = new EventEmitter();
37
- this.weekNumberCellClick = new EventEmitter();
38
- this.cellEnter = new EventEmitter();
39
- this.cellLeave = new EventEmitter();
40
- this.focusedCellId = new EventEmitter();
41
- this.colSpan = 0;
42
- this.subscriptions = new Subscription();
43
- this.domEvents = [];
44
79
  this.subscriptions.add(this.intl.changes.subscribe(this.intlChange.bind(this)));
45
80
  this.subscriptions.add(this.disabledDatesService.changes.subscribe(this.disabledDatesChange.bind(this)));
46
81
  }
47
- get weekNumber() {
48
- return this.showWeekNumbers && this.activeView === CalendarViewEnum.month;
49
- }
50
- set weekNumber(showWeekNumbers) {
51
- this.showWeekNumbers = showWeekNumbers;
52
- }
53
- get ariaHidden() {
54
- return this.headerTitle === this.title ? null : true;
55
- }
56
82
  ngOnInit() {
57
83
  if (this.element) {
58
84
  this.zone.runOutsideAngular(() => {
@@ -233,9 +259,8 @@ export class ViewComponent {
233
259
  const [rowIndex, cellIndex] = index.split(':');
234
260
  return this.data[rowIndex][cellIndex];
235
261
  }
236
- }
237
- ViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ViewComponent, deps: [{ token: i1.BusViewService }, { token: i2.IntlService }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i3.DisabledDatesService }], target: i0.ɵɵFactoryTarget.Component });
238
- ViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ViewComponent, isStandalone: true, selector: "[kendoCalendarView]", inputs: { allowReverse: "allowReverse", showOtherMonthDays: "showOtherMonthDays", direction: "direction", isActive: "isActive", activeView: "activeView", cellUID: "cellUID", focusedDate: "focusedDate", viewDate: "viewDate", activeRangeEnd: "activeRangeEnd", selectionRange: "selectionRange", min: "min", max: "max", selectedDates: "selectedDates", weekNumber: "weekNumber", viewIndex: "viewIndex", templateRef: "templateRef", weekNumberTemplateRef: "weekNumberTemplateRef", headerTitle: "headerTitle" }, outputs: { cellClick: "cellClick", weekNumberCellClick: "weekNumberCellClick", cellEnter: "cellEnter", cellLeave: "cellLeave", focusedCellId: "focusedCellId" }, usesOnChanges: true, ngImport: i0, template: `
262
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ViewComponent, deps: [{ token: i1.BusViewService }, { token: i2.IntlService }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i3.DisabledDatesService }], target: i0.ɵɵFactoryTarget.Component });
263
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ViewComponent, isStandalone: true, selector: "[kendoCalendarView]", inputs: { allowReverse: "allowReverse", showOtherMonthDays: "showOtherMonthDays", direction: "direction", isActive: "isActive", activeView: "activeView", cellUID: "cellUID", focusedDate: "focusedDate", viewDate: "viewDate", activeRangeEnd: "activeRangeEnd", selectionRange: "selectionRange", min: "min", max: "max", selectedDates: "selectedDates", weekNumber: "weekNumber", viewIndex: "viewIndex", templateRef: "templateRef", weekNumberTemplateRef: "weekNumberTemplateRef", headerTitle: "headerTitle" }, outputs: { cellClick: "cellClick", weekNumberCellClick: "weekNumberCellClick", cellEnter: "cellEnter", cellLeave: "cellLeave", focusedCellId: "focusedCellId" }, usesOnChanges: true, ngImport: i0, template: `
239
264
  <ng-template #emptyCell><td class="k-empty k-calendar-td" role="gridcell">&nbsp;</td></ng-template>
240
265
  <tr *ngIf="!isHorizontal()" class="k-calendar-tr" role="row" [attr.aria-hidden]="ariaHidden"><th class="k-calendar-caption" scope="col" [colSpan]="colSpan">{{title}}</th></tr>
241
266
  <tr *kFor="let row of data; let rowIndex = index" class="k-calendar-tr" role="row">
@@ -283,7 +308,8 @@ ViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version:
283
308
  </ng-container>
284
309
  </tr>
285
310
  `, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: KForOf, selector: "[kFor][kForOf]", inputs: ["kForOf", "kForTrackBy", "kForTemplate"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
286
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ViewComponent, decorators: [{
311
+ }
312
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ViewComponent, decorators: [{
287
313
  type: Component,
288
314
  args: [{
289
315
  // eslint-disable-next-line
@@ -7,10 +7,11 @@ import { EventEmitter } from '@angular/core';
7
7
  * @hidden
8
8
  */
9
9
  export class PickerService {
10
- constructor() {
11
- this.onFocus = new EventEmitter();
12
- this.onBlur = new EventEmitter();
13
- this.sameDateSelected = new EventEmitter();
14
- this.dateCompletenessChange = new EventEmitter();
15
- }
10
+ onFocus = new EventEmitter();
11
+ onBlur = new EventEmitter();
12
+ sameDateSelected = new EventEmitter();
13
+ dateCompletenessChange = new EventEmitter();
14
+ calendar;
15
+ input;
16
+ timeSelector;
16
17
  }