@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
@@ -32,23 +32,23 @@ import * as i12 from "../calendar/templates/year-cell-template.directive";
32
32
  * definition for the DatePicker component.
33
33
  */
34
34
  export class DatePickerModule {
35
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DatePickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
36
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: DatePickerModule, imports: [i1.DatePickerCustomMessagesComponent, i2.DatePickerComponent, i3.CellTemplateDirective, i4.CenturyCellTemplateDirective, i5.DecadeCellTemplateDirective, i6.FooterTemplateDirective, i7.HeaderTemplateDirective, i8.HeaderTitleTemplateDirective, i9.MonthCellTemplateDirective, i10.NavigationItemTemplateDirective, i11.WeekNumberCellTemplateDirective, i12.YearCellTemplateDirective, i10.NavigationItemTemplateDirective], exports: [i1.DatePickerCustomMessagesComponent, i2.DatePickerComponent, i3.CellTemplateDirective, i4.CenturyCellTemplateDirective, i5.DecadeCellTemplateDirective, i6.FooterTemplateDirective, i7.HeaderTemplateDirective, i8.HeaderTitleTemplateDirective, i9.MonthCellTemplateDirective, i10.NavigationItemTemplateDirective, i11.WeekNumberCellTemplateDirective, i12.YearCellTemplateDirective, i10.NavigationItemTemplateDirective] });
37
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DatePickerModule, providers: [
38
+ // DateInputModule providers
39
+ IconsService,
40
+ // CalendarModule providers
41
+ ResizeBatchService,
42
+ CalendarDOMService,
43
+ CenturyViewService,
44
+ DecadeViewService,
45
+ MonthViewService,
46
+ YearViewService,
47
+ PopupService,
48
+ NavigationService
49
+ ], imports: [i2.DatePickerComponent] });
35
50
  }
36
- DatePickerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DatePickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
37
- DatePickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: DatePickerModule, imports: [i1.DatePickerCustomMessagesComponent, i2.DatePickerComponent, i3.CellTemplateDirective, i4.CenturyCellTemplateDirective, i5.DecadeCellTemplateDirective, i6.FooterTemplateDirective, i7.HeaderTemplateDirective, i8.HeaderTitleTemplateDirective, i9.MonthCellTemplateDirective, i10.NavigationItemTemplateDirective, i11.WeekNumberCellTemplateDirective, i12.YearCellTemplateDirective, i10.NavigationItemTemplateDirective], exports: [i1.DatePickerCustomMessagesComponent, i2.DatePickerComponent, i3.CellTemplateDirective, i4.CenturyCellTemplateDirective, i5.DecadeCellTemplateDirective, i6.FooterTemplateDirective, i7.HeaderTemplateDirective, i8.HeaderTitleTemplateDirective, i9.MonthCellTemplateDirective, i10.NavigationItemTemplateDirective, i11.WeekNumberCellTemplateDirective, i12.YearCellTemplateDirective, i10.NavigationItemTemplateDirective] });
38
- DatePickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DatePickerModule, providers: [
39
- // DateInputModule providers
40
- IconsService,
41
- // CalendarModule providers
42
- ResizeBatchService,
43
- CalendarDOMService,
44
- CenturyViewService,
45
- DecadeViewService,
46
- MonthViewService,
47
- YearViewService,
48
- PopupService,
49
- NavigationService
50
- ], imports: [i1.DatePickerCustomMessagesComponent, i2.DatePickerComponent] });
51
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DatePickerModule, decorators: [{
51
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DatePickerModule, decorators: [{
52
52
  type: NgModule,
53
53
  args: [{
54
54
  exports: [...KENDO_DATEPICKER],
@@ -11,6 +11,7 @@ import * as i1 from "@progress/kendo-angular-l10n";
11
11
  * Custom component messages override default component messages ([see example]({% slug globalization_dateinputs %}#toc-custom-messages)).
12
12
  */
13
13
  export class DatePickerCustomMessagesComponent extends DatePickerMessages {
14
+ service;
14
15
  constructor(service) {
15
16
  super();
16
17
  this.service = service;
@@ -18,15 +19,15 @@ export class DatePickerCustomMessagesComponent extends DatePickerMessages {
18
19
  get override() {
19
20
  return true;
20
21
  }
22
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DatePickerCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
23
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DatePickerCustomMessagesComponent, isStandalone: true, selector: "kendo-datepicker-messages", providers: [
24
+ {
25
+ provide: DatePickerMessages,
26
+ useExisting: forwardRef(() => DatePickerCustomMessagesComponent)
27
+ }
28
+ ], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
21
29
  }
22
- DatePickerCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DatePickerCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
23
- DatePickerCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DatePickerCustomMessagesComponent, isStandalone: true, selector: "kendo-datepicker-messages", providers: [
24
- {
25
- provide: DatePickerMessages,
26
- useExisting: forwardRef(() => DatePickerCustomMessagesComponent)
27
- }
28
- ], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
29
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DatePickerCustomMessagesComponent, decorators: [{
30
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DatePickerCustomMessagesComponent, decorators: [{
30
31
  type: Component,
31
32
  args: [{
32
33
  providers: [
@@ -11,19 +11,20 @@ import * as i1 from "@progress/kendo-angular-l10n";
11
11
  * @hidden
12
12
  */
13
13
  export class DatePickerLocalizedMessagesDirective extends DatePickerMessages {
14
+ service;
14
15
  constructor(service) {
15
16
  super();
16
17
  this.service = service;
17
18
  }
19
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DatePickerLocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
20
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: DatePickerLocalizedMessagesDirective, isStandalone: true, selector: "[kendoDatePickerLocalizedMessages]", providers: [
21
+ {
22
+ provide: DatePickerMessages,
23
+ useExisting: forwardRef(() => DatePickerLocalizedMessagesDirective)
24
+ }
25
+ ], usesInheritance: true, ngImport: i0 });
18
26
  }
19
- DatePickerLocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DatePickerLocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
20
- DatePickerLocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DatePickerLocalizedMessagesDirective, isStandalone: true, selector: "[kendoDatePickerLocalizedMessages]", providers: [
21
- {
22
- provide: DatePickerMessages,
23
- useExisting: forwardRef(() => DatePickerLocalizedMessagesDirective)
24
- }
25
- ], usesInheritance: true, ngImport: i0 });
26
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DatePickerLocalizedMessagesDirective, decorators: [{
27
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DatePickerLocalizedMessagesDirective, decorators: [{
27
28
  type: Directive,
28
29
  args: [{
29
30
  providers: [
@@ -0,0 +1,57 @@
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 { Directive, Input } from '@angular/core';
6
+ import { ComponentMessages } from '@progress/kendo-angular-l10n';
7
+ import * as i0 from "@angular/core";
8
+ /**
9
+ * @hidden
10
+ */
11
+ export class DatePickerMessages extends ComponentMessages {
12
+ /**
13
+ * The **Today** button text in the header of the Calendar.
14
+ */
15
+ today;
16
+ /**
17
+ * The title of the **Toggle** button of the DatePicker.
18
+ */
19
+ toggle;
20
+ /**
21
+ * The title of the **Prev** button in the header of the Classic Calendar.
22
+ */
23
+ prevButtonTitle;
24
+ /**
25
+ * The title of the **Next** button in the header of the Classic Calendar.
26
+ */
27
+ nextButtonTitle;
28
+ /**
29
+ * The title of the **Parent View** button in the header of the Calendar.
30
+ */
31
+ parentViewButtonTitle;
32
+ /**
33
+ * The title of the **Clear** button of the DatePicker.
34
+ */
35
+ clearTitle;
36
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DatePickerMessages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
37
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: DatePickerMessages, selector: "kendo-datepicker-messages-base", inputs: { today: "today", toggle: "toggle", prevButtonTitle: "prevButtonTitle", nextButtonTitle: "nextButtonTitle", parentViewButtonTitle: "parentViewButtonTitle", clearTitle: "clearTitle" }, usesInheritance: true, ngImport: i0 });
38
+ }
39
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DatePickerMessages, decorators: [{
40
+ type: Directive,
41
+ args: [{
42
+ // eslint-disable-next-line
43
+ selector: 'kendo-datepicker-messages-base'
44
+ }]
45
+ }], propDecorators: { today: [{
46
+ type: Input
47
+ }], toggle: [{
48
+ type: Input
49
+ }], prevButtonTitle: [{
50
+ type: Input
51
+ }], nextButtonTitle: [{
52
+ type: Input
53
+ }], parentViewButtonTitle: [{
54
+ type: Input
55
+ }], clearTitle: [{
56
+ type: Input
57
+ }] } });
@@ -19,35 +19,45 @@ import * as i2 from "../dateinput/dateinput.component";
19
19
  * > You can use the DateRangeEndInputDirective only with a DateInput component.
20
20
  */
21
21
  export class DateRangeEndInputDirective extends DateRangeInput {
22
+ rangeService;
23
+ dateInput;
24
+ /**
25
+ * Specifies the auto-correction behavior. If the start date is greater than the end date, the
26
+ * directive fixes the date range to a single date either on input change or on blur
27
+ * ([see example](slug:autocorrect_daterange#toc-input-directives)).
28
+ *
29
+ * By default, the component does not perform any auto-correction.
30
+ */
31
+ autoCorrectOn;
32
+ /**
33
+ * Specifies the navigation behavior of the calendar when the active end is changed on input focus. When enabled,
34
+ * the calendar navigates to the value of the focused input. Otherwise, the calendar displays the last picked date.
35
+ *
36
+ * By default, the automatic navigation behavior on input focus is disabled.
37
+ *
38
+ * @example
39
+ * ```ts
40
+ * _@Component({
41
+ * selector: 'my-app',
42
+ * template: `
43
+ * <h5>Toggle input focus to see the calendar navigating between range ends.</h5>
44
+ * <kendo-daterange>
45
+ * <kendo-dateinput kendoDateRangeStartInput [navigateCalendarOnFocus]="true" [(value)]="start"></kendo-dateinput>
46
+ * <kendo-dateinput kendoDateRangeEndInput [navigateCalendarOnFocus]="true" [(value)]="end"></kendo-dateinput>
47
+ * </kendo-daterange>
48
+ * `
49
+ * })
50
+ * export class AppComponent {
51
+ * public start: Date = new Date(2018, 3, 10);
52
+ * public end: Date = new Date(2018, 10, 20);
53
+ * }
54
+ * ```
55
+ */
56
+ navigateCalendarOnFocus = false;
22
57
  constructor(rangeService, dateInput, element, renderer, zone) {
23
58
  super('end', rangeService, dateInput, element, renderer, zone);
24
59
  this.rangeService = rangeService;
25
60
  this.dateInput = dateInput;
26
- /**
27
- * Specifies the navigation behavior of the calendar when the active end is changed on input focus. When enabled,
28
- * the calendar navigates to the value of the focused input. Otherwise, the calendar displays the last picked date.
29
- *
30
- * By default, the automatic navigation behavior on input focus is disabled.
31
- *
32
- * @example
33
- * ```ts
34
- * _@Component({
35
- * selector: 'my-app',
36
- * template: `
37
- * <h5>Toggle input focus to see the calendar navigating between range ends.</h5>
38
- * <kendo-daterange>
39
- * <kendo-dateinput kendoDateRangeStartInput [navigateCalendarOnFocus]="true" [(value)]="start"></kendo-dateinput>
40
- * <kendo-dateinput kendoDateRangeEndInput [navigateCalendarOnFocus]="true" [(value)]="end"></kendo-dateinput>
41
- * </kendo-daterange>
42
- * `
43
- * })
44
- * export class AppComponent {
45
- * public start: Date = new Date(2018, 3, 10);
46
- * public end: Date = new Date(2018, 10, 20);
47
- * }
48
- * ```
49
- */
50
- this.navigateCalendarOnFocus = false;
51
61
  }
52
62
  ngOnInit() {
53
63
  this.rangeService.registerEndInput(this.dateInput);
@@ -78,10 +88,10 @@ export class DateRangeEndInputDirective extends DateRangeInput {
78
88
  this.dateInput.writeValue(cloneDate(end));
79
89
  this.dateInput.notify();
80
90
  }
91
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DateRangeEndInputDirective, deps: [{ token: i1.DateRangeService }, { token: i2.DateInputComponent }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
92
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: DateRangeEndInputDirective, isStandalone: true, selector: "[kendoDateRangeEndInput]", inputs: { autoCorrectOn: "autoCorrectOn", navigateCalendarOnFocus: "navigateCalendarOnFocus" }, usesInheritance: true, ngImport: i0 });
81
93
  }
82
- DateRangeEndInputDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateRangeEndInputDirective, deps: [{ token: i1.DateRangeService }, { token: i2.DateInputComponent }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
83
- DateRangeEndInputDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DateRangeEndInputDirective, isStandalone: true, selector: "[kendoDateRangeEndInput]", inputs: { autoCorrectOn: "autoCorrectOn", navigateCalendarOnFocus: "navigateCalendarOnFocus" }, usesInheritance: true, ngImport: i0 });
84
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateRangeEndInputDirective, decorators: [{
94
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DateRangeEndInputDirective, decorators: [{
85
95
  type: Directive,
86
96
  args: [{
87
97
  selector: '[kendoDateRangeEndInput]',
@@ -16,6 +16,22 @@ import * as i2 from "../dateinput/dateinput.component";
16
16
  * @hidden
17
17
  */
18
18
  export class DateRangeInput {
19
+ activeRangeEnd;
20
+ dateRangeService;
21
+ input;
22
+ element;
23
+ renderer;
24
+ zone;
25
+ navigateCalendarOnFocus = false;
26
+ get isActiveEnd() {
27
+ return this.dateRangeService.activeRangeEnd === this.activeRangeEnd;
28
+ }
29
+ popupSubscriptions = new Subscription();
30
+ subscriptions = new Subscription();
31
+ get popupCalendarActivated() {
32
+ const popup = this.dateRangeService.dateRangePopup$.value;
33
+ return isPresent(popup) && isPresent(popup.calendar);
34
+ }
19
35
  constructor(activeRangeEnd, dateRangeService, input, element, renderer, zone) {
20
36
  this.activeRangeEnd = activeRangeEnd;
21
37
  this.dateRangeService = dateRangeService;
@@ -23,16 +39,6 @@ export class DateRangeInput {
23
39
  this.element = element;
24
40
  this.renderer = renderer;
25
41
  this.zone = zone;
26
- this.navigateCalendarOnFocus = false;
27
- this.popupSubscriptions = new Subscription();
28
- this.subscriptions = new Subscription();
29
- }
30
- get isActiveEnd() {
31
- return this.dateRangeService.activeRangeEnd === this.activeRangeEnd;
32
- }
33
- get popupCalendarActivated() {
34
- const popup = this.dateRangeService.dateRangePopup$.value;
35
- return isPresent(popup) && isPresent(popup.calendar);
36
42
  }
37
43
  init() {
38
44
  this.input.role = 'combobox';
@@ -120,10 +126,10 @@ export class DateRangeInput {
120
126
  this.renderer[action](nativeElement, 'k-focus');
121
127
  }
122
128
  }
129
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DateRangeInput, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
130
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: DateRangeInput, ngImport: i0 });
123
131
  }
124
- DateRangeInput.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateRangeInput, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
125
- DateRangeInput.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DateRangeInput, ngImport: i0 });
126
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateRangeInput, decorators: [{
132
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DateRangeInput, decorators: [{
127
133
  type: Directive,
128
134
  args: [{}]
129
135
  }], ctorParameters: function () { return [{ type: undefined }, { type: i1.DateRangeService }, { type: i2.DateInputComponent }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }]; } });
@@ -9,13 +9,14 @@ import * as i0 from "@angular/core";
9
9
  * `<ng-template>` tag with the `kendoRangePopupTemplate` directive inside the component tag.
10
10
  */
11
11
  export class DateRangePopupTemplateDirective {
12
+ templateRef;
12
13
  constructor(templateRef) {
13
14
  this.templateRef = templateRef;
14
15
  }
16
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DateRangePopupTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
17
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: DateRangePopupTemplateDirective, isStandalone: true, selector: "[kendoDateRangePopupTemplate]", ngImport: i0 });
15
18
  }
16
- DateRangePopupTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateRangePopupTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
17
- DateRangePopupTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DateRangePopupTemplateDirective, isStandalone: true, selector: "[kendoDateRangePopupTemplate]", ngImport: i0 });
18
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateRangePopupTemplateDirective, decorators: [{
19
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DateRangePopupTemplateDirective, decorators: [{
19
20
  type: Directive,
20
21
  args: [{
21
22
  selector: '[kendoDateRangePopupTemplate]',