@progress/kendo-angular-dateinputs 16.5.0 → 16.6.0-develop.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (145) hide show
  1. package/calendar/calendar.component.d.ts +1 -1
  2. package/calendar/calendar.module.d.ts +13 -13
  3. package/calendar/calendars.module.d.ts +15 -3
  4. package/calendar/footer.component.d.ts +1 -1
  5. package/calendar/for.directive.d.ts +1 -1
  6. package/calendar/header.component.d.ts +1 -1
  7. package/calendar/horizontal-view-list.component.d.ts +1 -1
  8. package/calendar/localization/calendar-custom-messages.component.d.ts +1 -1
  9. package/calendar/localization/calendar-localized-messages.directive.d.ts +1 -1
  10. package/calendar/localization/multiview-calendar-custom-messages.component.d.ts +1 -1
  11. package/calendar/localization/multiview-calendar-localized-messages.directive.d.ts +1 -1
  12. package/calendar/multiview-calendar.component.d.ts +1 -1
  13. package/calendar/multiview-calendar.module.d.ts +13 -11
  14. package/calendar/navigation.component.d.ts +1 -1
  15. package/calendar/templates/cell-template.directive.d.ts +1 -1
  16. package/calendar/templates/century-cell-template.directive.d.ts +1 -1
  17. package/calendar/templates/decade-cell-template.directive.d.ts +1 -1
  18. package/calendar/templates/footer-template.directive.d.ts +1 -1
  19. package/calendar/templates/header-template.directive.d.ts +1 -1
  20. package/calendar/templates/header-title-template.directive.d.ts +1 -1
  21. package/calendar/templates/month-cell-template.directive.d.ts +1 -1
  22. package/calendar/templates/navigation-item-template.directive.d.ts +1 -1
  23. package/calendar/templates/weeknumber-cell-template.directive.d.ts +1 -1
  24. package/calendar/templates/year-cell-template.directive.d.ts +1 -1
  25. package/calendar/view-list.component.d.ts +1 -1
  26. package/calendar/view.component.d.ts +1 -1
  27. package/common/adaptive.module.d.ts +5 -4
  28. package/dateinput/dateinput.component.d.ts +1 -1
  29. package/dateinput/dateinput.module.d.ts +3 -8
  30. package/dateinput/localization/dateinput-custom-messages.component.d.ts +1 -1
  31. package/dateinput/localization/dateinput-localized-messages.directive.d.ts +1 -1
  32. package/dateinputs.module.d.ts +30 -7
  33. package/datepicker/datepicker.component.d.ts +3 -4
  34. package/datepicker/datepicker.module.d.ts +13 -13
  35. package/datepicker/localization/datepicker-custom-messages.component.d.ts +1 -1
  36. package/datepicker/localization/datepicker-localized-messages.directive.d.ts +1 -1
  37. package/daterange/date-range-end-input.directive.d.ts +1 -1
  38. package/daterange/date-range-popup-template.directive.d.ts +1 -1
  39. package/daterange/date-range-popup.component.d.ts +1 -1
  40. package/daterange/date-range-selection.directive.d.ts +1 -1
  41. package/daterange/date-range-start-input.directive.d.ts +1 -1
  42. package/daterange/date-range.component.d.ts +1 -1
  43. package/daterange/date-range.module.d.ts +10 -15
  44. package/daterange/localization/daterange-popup-custom-messages.component.d.ts +1 -1
  45. package/daterange/localization/daterange-popup-localized-messages.directive.d.ts +1 -1
  46. package/datetimepicker/datetimepicker.component.d.ts +2 -3
  47. package/datetimepicker/datetimepicker.module.d.ts +13 -14
  48. package/datetimepicker/localization/datetimepicker-custom-messages.component.d.ts +1 -1
  49. package/datetimepicker/localization/localized-messages.directive.d.ts +1 -1
  50. package/directives.d.ts +65 -0
  51. package/esm2020/calendar/calendar.component.mjs +9 -11
  52. package/esm2020/calendar/calendar.module.mjs +34 -69
  53. package/esm2020/calendar/calendars.module.mjs +52 -15
  54. package/esm2020/calendar/footer.component.mjs +7 -5
  55. package/esm2020/calendar/for.directive.mjs +5 -2
  56. package/esm2020/calendar/header.component.mjs +8 -6
  57. package/esm2020/calendar/horizontal-view-list.component.mjs +8 -6
  58. package/esm2020/calendar/localization/calendar-custom-messages.component.mjs +3 -2
  59. package/esm2020/calendar/localization/calendar-localized-messages.directive.mjs +3 -2
  60. package/esm2020/calendar/localization/multiview-calendar-custom-messages.component.mjs +3 -2
  61. package/esm2020/calendar/localization/multiview-calendar-localized-messages.directive.mjs +3 -2
  62. package/esm2020/calendar/multiview-calendar.component.mjs +8 -8
  63. package/esm2020/calendar/multiview-calendar.module.mjs +23 -55
  64. package/esm2020/calendar/navigation.component.mjs +8 -7
  65. package/esm2020/calendar/services/century-view.service.mjs +5 -2
  66. package/esm2020/calendar/services/decade-view.service.mjs +5 -2
  67. package/esm2020/calendar/services/dom.service.mjs +5 -2
  68. package/esm2020/calendar/services/month-view.service.mjs +5 -2
  69. package/esm2020/calendar/services/navigation.service.mjs +5 -2
  70. package/esm2020/calendar/services/weeknames.service.mjs +5 -2
  71. package/esm2020/calendar/services/year-view.service.mjs +5 -2
  72. package/esm2020/calendar/templates/cell-template.directive.mjs +3 -2
  73. package/esm2020/calendar/templates/century-cell-template.directive.mjs +3 -2
  74. package/esm2020/calendar/templates/decade-cell-template.directive.mjs +3 -2
  75. package/esm2020/calendar/templates/footer-template.directive.mjs +3 -2
  76. package/esm2020/calendar/templates/header-template.directive.mjs +3 -2
  77. package/esm2020/calendar/templates/header-title-template.directive.mjs +3 -2
  78. package/esm2020/calendar/templates/month-cell-template.directive.mjs +3 -2
  79. package/esm2020/calendar/templates/navigation-item-template.directive.mjs +3 -2
  80. package/esm2020/calendar/templates/weeknumber-cell-template.directive.mjs +3 -2
  81. package/esm2020/calendar/templates/year-cell-template.directive.mjs +3 -2
  82. package/esm2020/calendar/view-list.component.mjs +9 -9
  83. package/esm2020/calendar/view.component.mjs +7 -5
  84. package/esm2020/common/adaptive.module.mjs +25 -17
  85. package/esm2020/dateinput/dateinput.component.mjs +9 -8
  86. package/esm2020/dateinput/dateinput.module.mjs +14 -24
  87. package/esm2020/dateinput/localization/dateinput-custom-messages.component.mjs +3 -2
  88. package/esm2020/dateinput/localization/dateinput-localized-messages.directive.mjs +3 -2
  89. package/esm2020/dateinputs.module.mjs +90 -33
  90. package/esm2020/datepicker/datepicker.component.mjs +22 -28
  91. package/esm2020/datepicker/datepicker.module.mjs +55 -63
  92. package/esm2020/datepicker/localization/datepicker-custom-messages.component.mjs +3 -2
  93. package/esm2020/datepicker/localization/datepicker-localized-messages.directive.mjs +3 -2
  94. package/esm2020/daterange/date-range-end-input.directive.mjs +3 -2
  95. package/esm2020/daterange/date-range-popup-template.directive.mjs +3 -2
  96. package/esm2020/daterange/date-range-popup.component.mjs +10 -11
  97. package/esm2020/daterange/date-range-selection.directive.mjs +3 -2
  98. package/esm2020/daterange/date-range-start-input.directive.mjs +3 -2
  99. package/esm2020/daterange/date-range.component.mjs +6 -5
  100. package/esm2020/daterange/date-range.module.mjs +51 -54
  101. package/esm2020/daterange/localization/daterange-popup-custom-messages.component.mjs +3 -2
  102. package/esm2020/daterange/localization/daterange-popup-localized-messages.directive.mjs +3 -2
  103. package/esm2020/datetimepicker/datetimepicker.component.mjs +23 -27
  104. package/esm2020/datetimepicker/datetimepicker.module.mjs +70 -68
  105. package/esm2020/datetimepicker/localization/datetimepicker-custom-messages.component.mjs +3 -2
  106. package/esm2020/datetimepicker/localization/localized-messages.directive.mjs +3 -2
  107. package/esm2020/directives.mjs +142 -0
  108. package/esm2020/index.mjs +14 -2
  109. package/esm2020/package-metadata.mjs +2 -2
  110. package/esm2020/timepicker/localization/timepicker-custom-messages.component.mjs +3 -2
  111. package/esm2020/timepicker/localization/timepicker-localized-messages.directive.mjs +3 -2
  112. package/esm2020/timepicker/localization/timeselector-custom-messages.component.mjs +3 -2
  113. package/esm2020/timepicker/localization/timeselector-localized-messages.directive.mjs +3 -2
  114. package/esm2020/timepicker/services/dayperiod.service.mjs +5 -2
  115. package/esm2020/timepicker/services/dom.service.mjs +5 -2
  116. package/esm2020/timepicker/services/hours.service.mjs +5 -2
  117. package/esm2020/timepicker/services/milliseconds.service.mjs +5 -2
  118. package/esm2020/timepicker/services/minutes.service.mjs +5 -2
  119. package/esm2020/timepicker/services/seconds.service.mjs +5 -2
  120. package/esm2020/timepicker/timelist.component.mjs +7 -7
  121. package/esm2020/timepicker/timepicker.component.mjs +22 -28
  122. package/esm2020/timepicker/timepicker.module.mjs +34 -75
  123. package/esm2020/timepicker/timeselector.component.mjs +8 -8
  124. package/esm2020/virtualization/virtualization.component.mjs +6 -4
  125. package/fesm2015/progress-kendo-angular-dateinputs.mjs +1244 -1303
  126. package/fesm2020/progress-kendo-angular-dateinputs.mjs +989 -1042
  127. package/index.d.ts +14 -2
  128. package/package.json +9 -9
  129. package/timepicker/localization/timepicker-custom-messages.component.d.ts +1 -1
  130. package/timepicker/localization/timepicker-localized-messages.directive.d.ts +1 -1
  131. package/timepicker/localization/timeselector-custom-messages.component.d.ts +1 -1
  132. package/timepicker/localization/timeselector-localized-messages.directive.d.ts +1 -1
  133. package/timepicker/timelist.component.d.ts +1 -1
  134. package/timepicker/timepicker.component.d.ts +3 -4
  135. package/timepicker/timepicker.module.d.ts +3 -16
  136. package/timepicker/timeselector.component.d.ts +1 -1
  137. package/virtualization/virtualization.component.d.ts +1 -1
  138. package/calendar/calendar-common.module.d.ts +0 -27
  139. package/calendar/templates.module.d.ts +0 -35
  140. package/esm2020/calendar/calendar-common.module.mjs +0 -52
  141. package/esm2020/calendar/templates.module.mjs +0 -83
  142. package/esm2020/touch-enabled.mjs +0 -9
  143. package/esm2020/virtualization/virtualization.module.mjs +0 -30
  144. package/touch-enabled.d.ts +0 -9
  145. package/virtualization/virtualization.module.d.ts +0 -18
@@ -168,7 +168,10 @@ export class CalendarDOMService {
168
168
  }
169
169
  }
170
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 });
171
+ CalendarDOMService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CalendarDOMService, providedIn: 'root' });
172
172
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CalendarDOMService, decorators: [{
173
- type: Injectable
173
+ type: Injectable,
174
+ args: [{
175
+ providedIn: 'root'
176
+ }]
174
177
  }] });
@@ -213,7 +213,10 @@ export class MonthViewService {
213
213
  }
214
214
  }
215
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 });
216
+ MonthViewService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MonthViewService, providedIn: 'root' });
217
217
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MonthViewService, decorators: [{
218
- type: Injectable
218
+ type: Injectable,
219
+ args: [{
220
+ providedIn: 'root'
221
+ }]
219
222
  }], ctorParameters: function () { return [{ type: i1.IntlService }]; } });
@@ -47,7 +47,10 @@ export class NavigationService {
47
47
  }
48
48
  }
49
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 });
50
+ NavigationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NavigationService, providedIn: 'root' });
51
51
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NavigationService, decorators: [{
52
- type: Injectable
52
+ type: Injectable,
53
+ args: [{
54
+ providedIn: 'root'
55
+ }]
53
56
  }], ctorParameters: function () { return [{ type: i1.BusViewService }]; } });
@@ -20,7 +20,10 @@ export class WeekNamesService {
20
20
  }
21
21
  }
22
22
  WeekNamesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WeekNamesService, deps: [{ token: i1.IntlService }], target: i0.ɵɵFactoryTarget.Injectable });
23
- WeekNamesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WeekNamesService });
23
+ WeekNamesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WeekNamesService, providedIn: 'root' });
24
24
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WeekNamesService, decorators: [{
25
- type: Injectable
25
+ type: Injectable,
26
+ args: [{
27
+ providedIn: 'root'
28
+ }]
26
29
  }], ctorParameters: function () { return [{ type: i1.IntlService }]; } });
@@ -194,7 +194,10 @@ export class YearViewService {
194
194
  }
195
195
  }
196
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 });
197
+ YearViewService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: YearViewService, providedIn: 'root' });
198
198
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: YearViewService, decorators: [{
199
- type: Injectable
199
+ type: Injectable,
200
+ args: [{
201
+ providedIn: 'root'
202
+ }]
200
203
  }], ctorParameters: function () { return [{ type: i1.IntlService }]; } });
@@ -37,10 +37,11 @@ export class CellTemplateDirective {
37
37
  }
38
38
  }
39
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, selector: "[kendoCalendarCellTemplate]", ngImport: i0 });
40
+ CellTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: CellTemplateDirective, isStandalone: true, selector: "[kendoCalendarCellTemplate]", ngImport: i0 });
41
41
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CellTemplateDirective, decorators: [{
42
42
  type: Directive,
43
43
  args: [{
44
- selector: '[kendoCalendarCellTemplate]'
44
+ selector: '[kendoCalendarCellTemplate]',
45
+ standalone: true
45
46
  }]
46
47
  }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
@@ -36,10 +36,11 @@ export class CenturyCellTemplateDirective {
36
36
  }
37
37
  }
38
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, selector: "[kendoCalendarCenturyCellTemplate]", ngImport: i0 });
39
+ CenturyCellTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: CenturyCellTemplateDirective, isStandalone: true, selector: "[kendoCalendarCenturyCellTemplate]", ngImport: i0 });
40
40
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CenturyCellTemplateDirective, decorators: [{
41
41
  type: Directive,
42
42
  args: [{
43
- selector: '[kendoCalendarCenturyCellTemplate]'
43
+ selector: '[kendoCalendarCenturyCellTemplate]',
44
+ standalone: true
44
45
  }]
45
46
  }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
@@ -36,10 +36,11 @@ export class DecadeCellTemplateDirective {
36
36
  }
37
37
  }
38
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, selector: "[kendoCalendarDecadeCellTemplate]", ngImport: i0 });
39
+ DecadeCellTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DecadeCellTemplateDirective, isStandalone: true, selector: "[kendoCalendarDecadeCellTemplate]", ngImport: i0 });
40
40
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DecadeCellTemplateDirective, decorators: [{
41
41
  type: Directive,
42
42
  args: [{
43
- selector: '[kendoCalendarDecadeCellTemplate]'
43
+ selector: '[kendoCalendarDecadeCellTemplate]',
44
+ standalone: true
44
45
  }]
45
46
  }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
@@ -34,10 +34,11 @@ export class FooterTemplateDirective {
34
34
  }
35
35
  }
36
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, selector: "[kendoCalendarFooterTemplate]", ngImport: i0 });
37
+ FooterTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: FooterTemplateDirective, isStandalone: true, selector: "[kendoCalendarFooterTemplate]", ngImport: i0 });
38
38
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FooterTemplateDirective, decorators: [{
39
39
  type: Directive,
40
40
  args: [{
41
- selector: '[kendoCalendarFooterTemplate]'
41
+ selector: '[kendoCalendarFooterTemplate]',
42
+ standalone: true
42
43
  }]
43
44
  }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
@@ -35,10 +35,11 @@ export class HeaderTemplateDirective {
35
35
  }
36
36
  }
37
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, selector: "[kendoCalendarHeaderTemplate]", ngImport: i0 });
38
+ HeaderTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: HeaderTemplateDirective, isStandalone: true, selector: "[kendoCalendarHeaderTemplate]", ngImport: i0 });
39
39
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HeaderTemplateDirective, decorators: [{
40
40
  type: Directive,
41
41
  args: [{
42
- selector: '[kendoCalendarHeaderTemplate]'
42
+ selector: '[kendoCalendarHeaderTemplate]',
43
+ standalone: true
43
44
  }]
44
45
  }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
@@ -35,10 +35,11 @@ export class HeaderTitleTemplateDirective {
35
35
  }
36
36
  }
37
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, selector: "[kendoCalendarHeaderTitleTemplate]", ngImport: i0 });
38
+ HeaderTitleTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: HeaderTitleTemplateDirective, isStandalone: true, selector: "[kendoCalendarHeaderTitleTemplate]", ngImport: i0 });
39
39
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HeaderTitleTemplateDirective, decorators: [{
40
40
  type: Directive,
41
41
  args: [{
42
- selector: '[kendoCalendarHeaderTitleTemplate]'
42
+ selector: '[kendoCalendarHeaderTitleTemplate]',
43
+ standalone: true
43
44
  }]
44
45
  }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
@@ -34,10 +34,11 @@ export class MonthCellTemplateDirective {
34
34
  }
35
35
  }
36
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, selector: "[kendoCalendarMonthCellTemplate]", ngImport: i0 });
37
+ MonthCellTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: MonthCellTemplateDirective, isStandalone: true, selector: "[kendoCalendarMonthCellTemplate]", ngImport: i0 });
38
38
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MonthCellTemplateDirective, decorators: [{
39
39
  type: Directive,
40
40
  args: [{
41
- selector: '[kendoCalendarMonthCellTemplate]'
41
+ selector: '[kendoCalendarMonthCellTemplate]',
42
+ standalone: true
42
43
  }]
43
44
  }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
@@ -35,10 +35,11 @@ export class NavigationItemTemplateDirective {
35
35
  }
36
36
  }
37
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, selector: "[kendoCalendarNavigationItemTemplate]", ngImport: i0 });
38
+ NavigationItemTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: NavigationItemTemplateDirective, isStandalone: true, selector: "[kendoCalendarNavigationItemTemplate]", ngImport: i0 });
39
39
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NavigationItemTemplateDirective, decorators: [{
40
40
  type: Directive,
41
41
  args: [{
42
- selector: '[kendoCalendarNavigationItemTemplate]'
42
+ selector: '[kendoCalendarNavigationItemTemplate]',
43
+ standalone: true
43
44
  }]
44
45
  }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
@@ -34,10 +34,11 @@ export class WeekNumberCellTemplateDirective {
34
34
  }
35
35
  }
36
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, selector: "[kendoCalendarWeekNumberCellTemplate]", ngImport: i0 });
37
+ WeekNumberCellTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: WeekNumberCellTemplateDirective, isStandalone: true, selector: "[kendoCalendarWeekNumberCellTemplate]", ngImport: i0 });
38
38
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WeekNumberCellTemplateDirective, decorators: [{
39
39
  type: Directive,
40
40
  args: [{
41
- selector: '[kendoCalendarWeekNumberCellTemplate]'
41
+ selector: '[kendoCalendarWeekNumberCellTemplate]',
42
+ standalone: true
42
43
  }]
43
44
  }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
@@ -37,10 +37,11 @@ export class YearCellTemplateDirective {
37
37
  }
38
38
  }
39
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, selector: "[kendoCalendarYearCellTemplate]", ngImport: i0 });
40
+ YearCellTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: YearCellTemplateDirective, isStandalone: true, selector: "[kendoCalendarYearCellTemplate]", ngImport: i0 });
41
41
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: YearCellTemplateDirective, decorators: [{
42
42
  type: Directive,
43
43
  args: [{
44
- selector: '[kendoCalendarYearCellTemplate]'
44
+ selector: '[kendoCalendarYearCellTemplate]',
45
+ standalone: true
45
46
  }]
46
47
  }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
@@ -12,16 +12,14 @@ import { CalendarViewEnum } from './models/view.enum';
12
12
  import { MIN_DATE, MAX_DATE } from '../defaults';
13
13
  import { dateInRange, hasChange, shiftWeekNames } from '../util';
14
14
  import { HeaderComponent } from './header.component';
15
+ import { FooterComponent } from './footer.component';
16
+ import { ViewComponent } from './view.component';
17
+ import { KForOf } from './for.directive';
18
+ import { NgIf, NgFor } from '@angular/common';
15
19
  import * as i0 from "@angular/core";
16
20
  import * as i1 from "./services/bus-view.service";
17
21
  import * as i2 from "@progress/kendo-angular-intl";
18
22
  import * as i3 from "./services/dom.service";
19
- import * as i4 from "@angular/common";
20
- import * as i5 from "./for.directive";
21
- import * as i6 from "./header.component";
22
- import * as i7 from "./footer.component";
23
- import * as i8 from "./view.component";
24
- import * as i9 from "../virtualization/virtualization.component";
25
23
  const VIEWS_COUNT = 5;
26
24
  const isEqualMonthYear = (date1, date2) => (date1 && date2 &&
27
25
  date1.getFullYear() === date2.getFullYear() &&
@@ -197,7 +195,7 @@ export class ViewListComponent {
197
195
  }
198
196
  }
199
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 });
200
- ViewListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ViewListComponent, 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: `
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: `
201
199
  <kendo-calendar-header
202
200
  [currentDate]="activeDate"
203
201
  [size]="size"
@@ -274,7 +272,7 @@ ViewListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", vers
274
272
  [activeViewValue]="activeViewValue"
275
273
  [currentDate]="activeDate">
276
274
  </kendo-calendar-footer>
277
- `, isInline: true, dependencies: [{ kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i5.KForOf, selector: "[kFor][kForOf]", inputs: ["kForOf", "kForTrackBy", "kForTemplate"] }, { kind: "component", type: i6.HeaderComponent, selector: "kendo-calendar-header", inputs: ["activeView", "currentDate", "min", "max", "rangeLength", "titleTemplateRef", "headerTemplateRef", "isPrevDisabled", "isNextDisabled", "showNavigationButtons", "orientation", "id", "size"], outputs: ["todayButtonClick", "prevButtonClick", "nextButtonClick"] }, { kind: "component", type: i7.FooterComponent, selector: "kendo-calendar-footer", inputs: ["footerTemplateRef", "activeViewValue", "currentDate"] }, { kind: "component", type: i8.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: i9.VirtualizationComponent, selector: "kendo-virtualization", inputs: ["direction", "itemHeight", "itemWidth", "topOffset", "bottomOffset", "maxScrollDifference", "scrollOffsetSize", "scrollDuration", "skip", "take", "total"], outputs: ["activeIndexChange", "pageChange", "scrollChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
275
+ `, 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 });
278
276
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ViewListComponent, decorators: [{
279
277
  type: Component,
280
278
  args: [{
@@ -357,7 +355,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
357
355
  [activeViewValue]="activeViewValue"
358
356
  [currentDate]="activeDate">
359
357
  </kendo-calendar-footer>
360
- `
358
+ `,
359
+ standalone: true,
360
+ imports: [HeaderComponent, NgIf, NgFor, VirtualizationComponent, KForOf, ViewComponent, FooterComponent]
361
361
  }]
362
362
  }], ctorParameters: function () { return [{ type: i1.BusViewService }, { type: i0.ChangeDetectorRef }, { type: i2.IntlService }, { type: i3.CalendarDOMService }, { type: i0.Renderer2 }]; }, propDecorators: { allowReverse: [{
363
363
  type: Input
@@ -12,12 +12,12 @@ import { cloneDate, weekInYear } from '@progress/kendo-date-math';
12
12
  import { getToday, last, setTime, stringifyClassObject } from '../util';
13
13
  import { closestInScope } from '../common/dom-queries';
14
14
  import { isPresent } from '../common/utils';
15
+ import { KForOf } from './for.directive';
16
+ import { NgIf, NgTemplateOutlet, NgClass } from '@angular/common';
15
17
  import * as i0 from "@angular/core";
16
18
  import * as i1 from "./services/bus-view.service";
17
19
  import * as i2 from "@progress/kendo-angular-intl";
18
20
  import * as i3 from "./services/disabled-dates.service";
19
- import * as i4 from "@angular/common";
20
- import * as i5 from "./for.directive";
21
21
  /**
22
22
  * @hidden
23
23
  */
@@ -235,7 +235,7 @@ export class ViewComponent {
235
235
  }
236
236
  }
237
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, 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: `
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: `
239
239
  <ng-template #emptyCell><td class="k-empty k-calendar-td" role="gridcell">&nbsp;</td></ng-template>
240
240
  <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
241
  <tr *kFor="let row of data; let rowIndex = index" class="k-calendar-tr" role="row">
@@ -282,7 +282,7 @@ ViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version:
282
282
  </td>
283
283
  </ng-container>
284
284
  </tr>
285
- `, isInline: true, dependencies: [{ kind: "directive", type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i5.KForOf, selector: "[kFor][kForOf]", inputs: ["kForOf", "kForTrackBy", "kForTemplate"] }] });
285
+ `, 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
286
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ViewComponent, decorators: [{
287
287
  type: Component,
288
288
  args: [{
@@ -335,7 +335,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
335
335
  </td>
336
336
  </ng-container>
337
337
  </tr>
338
- `
338
+ `,
339
+ standalone: true,
340
+ imports: [NgIf, KForOf, NgTemplateOutlet, NgClass]
339
341
  }]
340
342
  }], ctorParameters: function () { return [{ type: i1.BusViewService }, { type: i2.IntlService }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i3.DisabledDatesService }]; }, propDecorators: { allowReverse: [{
341
343
  type: Input
@@ -3,34 +3,42 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { NgModule } from '@angular/core';
6
- import { ResizeSensorModule } from '@progress/kendo-angular-common';
7
- import { NavigationModule } from '@progress/kendo-angular-navigation';
8
- import { ButtonModule } from '@progress/kendo-angular-buttons';
6
+ import { KENDO_BUTTON } from '@progress/kendo-angular-buttons';
7
+ import { KENDO_NAVIGATION } from '@progress/kendo-angular-navigation';
8
+ import { KENDO_RESIZESENSOR, ResizeBatchService } from '@progress/kendo-angular-common';
9
+ import { IconsService } from '@progress/kendo-angular-icons';
9
10
  import * as i0 from "@angular/core";
10
- const ADAPTIVE_MODULES = [
11
- NavigationModule,
12
- ResizeSensorModule,
13
- ButtonModule
11
+ import * as i1 from "@progress/kendo-angular-common";
12
+ import * as i2 from "@progress/kendo-angular-buttons";
13
+ import * as i3 from "@progress/kendo-angular-navigation";
14
+ const KENDO_ADAPTIVE = [
15
+ ...KENDO_RESIZESENSOR,
16
+ ...KENDO_BUTTON,
17
+ ...KENDO_NAVIGATION
14
18
  ];
19
+ //IMPORTANT: This module is not needed and can be removed in the following major release.
20
+ //The reason to keep it is that the module used to be public prior the migration to standalone.
15
21
  /**
22
+ * @hidden
16
23
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
17
24
  * definition for the modules specific to the Adaptive Mode.
18
25
  */
19
26
  export class AdaptiveModule {
20
27
  }
21
28
  AdaptiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AdaptiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
22
- AdaptiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: AdaptiveModule, imports: [NavigationModule,
23
- ResizeSensorModule,
24
- ButtonModule], exports: [NavigationModule,
25
- ResizeSensorModule,
26
- ButtonModule] });
27
- AdaptiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AdaptiveModule, imports: [ADAPTIVE_MODULES, NavigationModule,
28
- ResizeSensorModule,
29
- ButtonModule] });
29
+ AdaptiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: AdaptiveModule, imports: [i1.ResizeSensorComponent, i2.ButtonComponent, i3.ActionSheetComponent, i3.ActionSheetHeaderTemplateDirective, i3.ActionSheetItemTemplateDirective, i3.ActionSheetContentTemplateDirective, i3.ActionSheetFooterTemplateDirective, i3.ActionSheetTemplateDirective, i3.AppBarComponent, i3.AppBarSectionComponent, i3.AppBarSpacerComponent, i3.BottomNavigationComponent, i3.BottomNavigationItemTemplateDirective, i3.BreadCrumbComponent, i3.BreadCrumbItemTemplateDirective], exports: [i1.ResizeSensorComponent, i2.ButtonComponent, i3.ActionSheetComponent, i3.ActionSheetHeaderTemplateDirective, i3.ActionSheetItemTemplateDirective, i3.ActionSheetContentTemplateDirective, i3.ActionSheetFooterTemplateDirective, i3.ActionSheetTemplateDirective, i3.AppBarComponent, i3.AppBarSectionComponent, i3.AppBarSpacerComponent, i3.BottomNavigationComponent, i3.BottomNavigationItemTemplateDirective, i3.BreadCrumbComponent, i3.BreadCrumbItemTemplateDirective] });
30
+ AdaptiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AdaptiveModule, providers: [
31
+ ResizeBatchService,
32
+ IconsService
33
+ ], imports: [i1.ResizeSensorComponent, i2.ButtonComponent, i3.ActionSheetComponent, i3.AppBarComponent, i3.AppBarSectionComponent, i3.AppBarSpacerComponent, i3.BottomNavigationComponent, i3.BreadCrumbComponent] });
30
34
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AdaptiveModule, decorators: [{
31
35
  type: NgModule,
32
36
  args: [{
33
- imports: [...ADAPTIVE_MODULES],
34
- exports: [...ADAPTIVE_MODULES]
37
+ imports: [...KENDO_ADAPTIVE],
38
+ exports: [...KENDO_ADAPTIVE],
39
+ providers: [
40
+ ResizeBatchService,
41
+ IconsService
42
+ ]
35
43
  }]
36
44
  }] });
@@ -12,7 +12,7 @@ import { IntlService, localeData } from '@progress/kendo-angular-intl';
12
12
  import { validatePackage } from '@progress/kendo-licensing';
13
13
  import { packageMetadata } from '../package-metadata';
14
14
  import { cloneDate, isEqual } from '@progress/kendo-date-math';
15
- import { hasObservers, isControlRequired, KendoInput, setHTMLAttributes, removeHTMLAttributes, isObjectPresent, parseAttributes, anyChanged } from '@progress/kendo-angular-common';
15
+ import { hasObservers, isControlRequired, KendoInput, setHTMLAttributes, removeHTMLAttributes, isObjectPresent, parseAttributes, anyChanged, EventsOutsideAngularDirective } from '@progress/kendo-angular-common';
16
16
  import { Arrow } from './arrow.enum';
17
17
  import { noop, isValidRange, getSizeClass, getRoundedClass, getFillModeClass, DEFAULT_FILL_MODE, DEFAULT_ROUNDED, DEFAULT_SIZE } from '../util';
18
18
  import { PickerService } from '../common/picker.service';
@@ -21,14 +21,13 @@ import { requiresZoneOnBlur, isPresent, attributeNames } from '../common/utils';
21
21
  import { Subscription } from 'rxjs';
22
22
  import { caretAltDownIcon, caretAltUpIcon, xIcon } from '@progress/kendo-svg-icons';
23
23
  import { DateInput } from '@progress/kendo-dateinputs-common';
24
+ import { IconWrapperComponent } from '@progress/kendo-angular-icons';
25
+ import { NgIf } from '@angular/common';
26
+ import { DateInputLocalizedMessagesDirective } from './localization/dateinput-localized-messages.directive';
24
27
  import * as i0 from "@angular/core";
25
28
  import * as i1 from "@progress/kendo-angular-intl";
26
29
  import * as i2 from "@progress/kendo-angular-l10n";
27
30
  import * as i3 from "../common/picker.service";
28
- import * as i4 from "@angular/common";
29
- import * as i5 from "@progress/kendo-angular-common";
30
- import * as i6 from "@progress/kendo-angular-icons";
31
- import * as i7 from "./localization/dateinput-localized-messages.directive";
32
31
  let nextId = 0;
33
32
  const MIN_DOC_LINK = 'http://www.telerik.com/kendo-angular-ui/components/dateinputs/api/DateInputComponent/#toc-min';
34
33
  const MAX_DOC_LINK = 'http://www.telerik.com/kendo-angular-ui/components/dateinputs/api/DateInputComponent/#toc-max';
@@ -894,7 +893,7 @@ export class DateInputComponent {
894
893
  }
895
894
  }
896
895
  DateInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateInputComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.IntlService }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Injector }, { token: i2.LocalizationService }, { token: i3.PickerService, optional: true }], target: i0.ɵɵFactoryTarget.Component });
897
- DateInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DateInputComponent, selector: "kendo-dateinput", inputs: { focusableId: "focusableId", pickerType: "pickerType", clearButton: "clearButton", disabled: "disabled", readonly: "readonly", title: "title", tabindex: "tabindex", role: "role", ariaReadOnly: "ariaReadOnly", tabIndex: "tabIndex", isRequired: "isRequired", format: "format", formatPlaceholder: "formatPlaceholder", placeholder: "placeholder", steps: "steps", max: "max", min: "min", rangeValidation: "rangeValidation", autoCorrectParts: "autoCorrectParts", autoSwitchParts: "autoSwitchParts", autoSwitchKeys: "autoSwitchKeys", allowCaretMode: "allowCaretMode", autoFill: "autoFill", incompleteDateValidation: "incompleteDateValidation", twoDigitYearMax: "twoDigitYearMax", enableMouseWheel: "enableMouseWheel", value: "value", spinners: "spinners", isPopupOpen: "isPopupOpen", hasPopup: "hasPopup", size: "size", rounded: "rounded", fillMode: "fillMode", inputAttributes: "inputAttributes" }, outputs: { valueChange: "valueChange", valueUpdate: "valueUpdate", onFocus: "focus", onBlur: "blur" }, host: { properties: { "class.k-readonly": "this.readonly", "class.k-input": "this.wrapperClass", "class.k-dateinput": "this.wrapperClass", "class.k-disabled": "this.disabledClass" } }, providers: [
896
+ DateInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DateInputComponent, isStandalone: true, selector: "kendo-dateinput", inputs: { focusableId: "focusableId", pickerType: "pickerType", clearButton: "clearButton", disabled: "disabled", readonly: "readonly", title: "title", tabindex: "tabindex", role: "role", ariaReadOnly: "ariaReadOnly", tabIndex: "tabIndex", isRequired: "isRequired", format: "format", formatPlaceholder: "formatPlaceholder", placeholder: "placeholder", steps: "steps", max: "max", min: "min", rangeValidation: "rangeValidation", autoCorrectParts: "autoCorrectParts", autoSwitchParts: "autoSwitchParts", autoSwitchKeys: "autoSwitchKeys", allowCaretMode: "allowCaretMode", autoFill: "autoFill", incompleteDateValidation: "incompleteDateValidation", twoDigitYearMax: "twoDigitYearMax", enableMouseWheel: "enableMouseWheel", value: "value", spinners: "spinners", isPopupOpen: "isPopupOpen", hasPopup: "hasPopup", size: "size", rounded: "rounded", fillMode: "fillMode", inputAttributes: "inputAttributes" }, outputs: { valueChange: "valueChange", valueUpdate: "valueUpdate", onFocus: "focus", onBlur: "blur" }, host: { properties: { "class.k-readonly": "this.readonly", "class.k-input": "this.wrapperClass", "class.k-dateinput": "this.wrapperClass", "class.k-disabled": "this.disabledClass" } }, providers: [
898
897
  { provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => DateInputComponent), multi: true },
899
898
  { provide: NG_VALIDATORS, useExisting: forwardRef(() => DateInputComponent), multi: true },
900
899
  { provide: L10N_PREFIX, useValue: 'kendo.dateinput' },
@@ -988,7 +987,7 @@ DateInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ver
988
987
  </kendo-icon-wrapper>
989
988
  </button>
990
989
  </span>
991
- `, isInline: true, dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i5.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "component", type: i6.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: i7.DateInputLocalizedMessagesDirective, selector: "[kendoDateInputLocalizedMessages]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
990
+ `, isInline: true, dependencies: [{ kind: "directive", type: DateInputLocalizedMessagesDirective, selector: "[kendoDateInputLocalizedMessages]" }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
992
991
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateInputComponent, decorators: [{
993
992
  type: Component,
994
993
  args: [{
@@ -1090,7 +1089,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
1090
1089
  </kendo-icon-wrapper>
1091
1090
  </button>
1092
1091
  </span>
1093
- `
1092
+ `,
1093
+ standalone: true,
1094
+ imports: [DateInputLocalizedMessagesDirective, EventsOutsideAngularDirective, NgIf, IconWrapperComponent]
1094
1095
  }]
1095
1096
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i1.IntlService }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Injector }, { type: i2.LocalizationService }, { type: i3.PickerService, decorators: [{
1096
1097
  type: Optional
@@ -3,14 +3,12 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { NgModule } from '@angular/core';
6
- import { DateInputComponent } from './dateinput.component';
7
- import { CommonModule } from '@angular/common';
8
- import { IntlModule } from '@progress/kendo-angular-intl';
9
- import { DateInputLocalizedMessagesDirective } from './localization/dateinput-localized-messages.directive';
10
- import { DateInputCustomMessagesComponent } from './localization/dateinput-custom-messages.component';
11
- import { EventsModule } from '@progress/kendo-angular-common';
12
- import { IconsModule } from '@progress/kendo-angular-icons';
6
+ import { KENDO_DATEINPUT } from '../directives';
7
+ import { IconsService } from '@progress/kendo-angular-icons';
13
8
  import * as i0 from "@angular/core";
9
+ import * as i1 from "./localization/dateinput-custom-messages.component";
10
+ import * as i2 from "./dateinput.component";
11
+ // IMPORTANT: NgModule export kept for backwards compatibility
14
12
  /**
15
13
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
16
14
  * definition for the DateInput component.
@@ -18,25 +16,17 @@ import * as i0 from "@angular/core";
18
16
  export class DateInputModule {
19
17
  }
20
18
  DateInputModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
21
- DateInputModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: DateInputModule, declarations: [DateInputComponent,
22
- DateInputCustomMessagesComponent,
23
- DateInputLocalizedMessagesDirective], imports: [CommonModule, IntlModule, EventsModule, IconsModule], exports: [DateInputComponent,
24
- DateInputCustomMessagesComponent,
25
- DateInputLocalizedMessagesDirective] });
26
- DateInputModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateInputModule, imports: [CommonModule, IntlModule, EventsModule, IconsModule] });
19
+ DateInputModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: DateInputModule, imports: [i1.DateInputCustomMessagesComponent, i2.DateInputComponent], exports: [i1.DateInputCustomMessagesComponent, i2.DateInputComponent] });
20
+ DateInputModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateInputModule, providers: [
21
+ IconsService
22
+ ], imports: [KENDO_DATEINPUT] });
27
23
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateInputModule, decorators: [{
28
24
  type: NgModule,
29
25
  args: [{
30
- declarations: [
31
- DateInputComponent,
32
- DateInputCustomMessagesComponent,
33
- DateInputLocalizedMessagesDirective
34
- ],
35
- exports: [
36
- DateInputComponent,
37
- DateInputCustomMessagesComponent,
38
- DateInputLocalizedMessagesDirective
39
- ],
40
- imports: [CommonModule, IntlModule, EventsModule, IconsModule]
26
+ exports: [...KENDO_DATEINPUT],
27
+ imports: [...KENDO_DATEINPUT],
28
+ providers: [
29
+ IconsService
30
+ ]
41
31
  }]
42
32
  }] });
@@ -20,7 +20,7 @@ export class DateInputCustomMessagesComponent extends DateInputMessages {
20
20
  }
21
21
  }
22
22
  DateInputCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateInputCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
23
- DateInputCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DateInputCustomMessagesComponent, selector: "kendo-dateinput-messages", providers: [
23
+ DateInputCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DateInputCustomMessagesComponent, isStandalone: true, selector: "kendo-dateinput-messages", providers: [
24
24
  {
25
25
  provide: DateInputMessages,
26
26
  useExisting: forwardRef(() => DateInputCustomMessagesComponent)
@@ -36,6 +36,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
36
36
  }
37
37
  ],
38
38
  selector: 'kendo-dateinput-messages',
39
- template: ``
39
+ template: ``,
40
+ standalone: true
40
41
  }]
41
42
  }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
@@ -17,7 +17,7 @@ export class DateInputLocalizedMessagesDirective extends DateInputMessages {
17
17
  }
18
18
  }
19
19
  DateInputLocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateInputLocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
20
- DateInputLocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DateInputLocalizedMessagesDirective, selector: "[kendoDateInputLocalizedMessages]", providers: [
20
+ DateInputLocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DateInputLocalizedMessagesDirective, isStandalone: true, selector: "[kendoDateInputLocalizedMessages]", providers: [
21
21
  {
22
22
  provide: DateInputMessages,
23
23
  useExisting: forwardRef(() => DateInputLocalizedMessagesDirective)
@@ -32,6 +32,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
32
32
  useExisting: forwardRef(() => DateInputLocalizedMessagesDirective)
33
33
  }
34
34
  ],
35
- selector: '[kendoDateInputLocalizedMessages]'
35
+ selector: '[kendoDateInputLocalizedMessages]',
36
+ standalone: true
36
37
  }]
37
38
  }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });