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

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 (146) hide show
  1. package/NOTICE.txt +12 -19
  2. package/calendar/calendar.component.d.ts +1 -1
  3. package/calendar/calendar.module.d.ts +13 -13
  4. package/calendar/calendars.module.d.ts +15 -3
  5. package/calendar/footer.component.d.ts +1 -1
  6. package/calendar/for.directive.d.ts +1 -1
  7. package/calendar/header.component.d.ts +1 -1
  8. package/calendar/horizontal-view-list.component.d.ts +1 -1
  9. package/calendar/localization/calendar-custom-messages.component.d.ts +1 -1
  10. package/calendar/localization/calendar-localized-messages.directive.d.ts +1 -1
  11. package/calendar/localization/multiview-calendar-custom-messages.component.d.ts +1 -1
  12. package/calendar/localization/multiview-calendar-localized-messages.directive.d.ts +1 -1
  13. package/calendar/multiview-calendar.component.d.ts +1 -1
  14. package/calendar/multiview-calendar.module.d.ts +13 -11
  15. package/calendar/navigation.component.d.ts +1 -1
  16. package/calendar/templates/cell-template.directive.d.ts +1 -1
  17. package/calendar/templates/century-cell-template.directive.d.ts +1 -1
  18. package/calendar/templates/decade-cell-template.directive.d.ts +1 -1
  19. package/calendar/templates/footer-template.directive.d.ts +1 -1
  20. package/calendar/templates/header-template.directive.d.ts +1 -1
  21. package/calendar/templates/header-title-template.directive.d.ts +1 -1
  22. package/calendar/templates/month-cell-template.directive.d.ts +1 -1
  23. package/calendar/templates/navigation-item-template.directive.d.ts +1 -1
  24. package/calendar/templates/weeknumber-cell-template.directive.d.ts +1 -1
  25. package/calendar/templates/year-cell-template.directive.d.ts +1 -1
  26. package/calendar/view-list.component.d.ts +1 -1
  27. package/calendar/view.component.d.ts +1 -1
  28. package/common/adaptive.module.d.ts +5 -4
  29. package/dateinput/dateinput.component.d.ts +2 -5
  30. package/dateinput/dateinput.module.d.ts +3 -8
  31. package/dateinput/localization/dateinput-custom-messages.component.d.ts +1 -1
  32. package/dateinput/localization/dateinput-localized-messages.directive.d.ts +1 -1
  33. package/dateinputs.module.d.ts +30 -7
  34. package/datepicker/datepicker.component.d.ts +4 -8
  35. package/datepicker/datepicker.module.d.ts +13 -13
  36. package/datepicker/localization/datepicker-custom-messages.component.d.ts +1 -1
  37. package/datepicker/localization/datepicker-localized-messages.directive.d.ts +1 -1
  38. package/daterange/date-range-end-input.directive.d.ts +1 -1
  39. package/daterange/date-range-popup-template.directive.d.ts +1 -1
  40. package/daterange/date-range-popup.component.d.ts +1 -1
  41. package/daterange/date-range-selection.directive.d.ts +1 -1
  42. package/daterange/date-range-start-input.directive.d.ts +1 -1
  43. package/daterange/date-range.component.d.ts +1 -1
  44. package/daterange/date-range.module.d.ts +10 -15
  45. package/daterange/localization/daterange-popup-custom-messages.component.d.ts +1 -1
  46. package/daterange/localization/daterange-popup-localized-messages.directive.d.ts +1 -1
  47. package/datetimepicker/datetimepicker.component.d.ts +3 -7
  48. package/datetimepicker/datetimepicker.module.d.ts +13 -14
  49. package/datetimepicker/localization/datetimepicker-custom-messages.component.d.ts +1 -1
  50. package/datetimepicker/localization/localized-messages.directive.d.ts +1 -1
  51. package/directives.d.ts +65 -0
  52. package/esm2020/calendar/calendar.component.mjs +9 -11
  53. package/esm2020/calendar/calendar.module.mjs +34 -69
  54. package/esm2020/calendar/calendars.module.mjs +52 -15
  55. package/esm2020/calendar/footer.component.mjs +7 -5
  56. package/esm2020/calendar/for.directive.mjs +5 -2
  57. package/esm2020/calendar/header.component.mjs +8 -6
  58. package/esm2020/calendar/horizontal-view-list.component.mjs +8 -6
  59. package/esm2020/calendar/localization/calendar-custom-messages.component.mjs +3 -2
  60. package/esm2020/calendar/localization/calendar-localized-messages.directive.mjs +3 -2
  61. package/esm2020/calendar/localization/multiview-calendar-custom-messages.component.mjs +3 -2
  62. package/esm2020/calendar/localization/multiview-calendar-localized-messages.directive.mjs +3 -2
  63. package/esm2020/calendar/multiview-calendar.component.mjs +8 -8
  64. package/esm2020/calendar/multiview-calendar.module.mjs +23 -55
  65. package/esm2020/calendar/navigation.component.mjs +8 -7
  66. package/esm2020/calendar/services/century-view.service.mjs +5 -2
  67. package/esm2020/calendar/services/decade-view.service.mjs +5 -2
  68. package/esm2020/calendar/services/dom.service.mjs +5 -2
  69. package/esm2020/calendar/services/month-view.service.mjs +5 -2
  70. package/esm2020/calendar/services/navigation.service.mjs +5 -2
  71. package/esm2020/calendar/services/weeknames.service.mjs +5 -2
  72. package/esm2020/calendar/services/year-view.service.mjs +5 -2
  73. package/esm2020/calendar/templates/cell-template.directive.mjs +3 -2
  74. package/esm2020/calendar/templates/century-cell-template.directive.mjs +3 -2
  75. package/esm2020/calendar/templates/decade-cell-template.directive.mjs +3 -2
  76. package/esm2020/calendar/templates/footer-template.directive.mjs +3 -2
  77. package/esm2020/calendar/templates/header-template.directive.mjs +3 -2
  78. package/esm2020/calendar/templates/header-title-template.directive.mjs +3 -2
  79. package/esm2020/calendar/templates/month-cell-template.directive.mjs +3 -2
  80. package/esm2020/calendar/templates/navigation-item-template.directive.mjs +3 -2
  81. package/esm2020/calendar/templates/weeknumber-cell-template.directive.mjs +3 -2
  82. package/esm2020/calendar/templates/year-cell-template.directive.mjs +3 -2
  83. package/esm2020/calendar/view-list.component.mjs +9 -9
  84. package/esm2020/calendar/view.component.mjs +7 -5
  85. package/esm2020/common/adaptive.module.mjs +25 -17
  86. package/esm2020/dateinput/dateinput.component.mjs +11 -13
  87. package/esm2020/dateinput/dateinput.module.mjs +14 -24
  88. package/esm2020/dateinput/localization/dateinput-custom-messages.component.mjs +3 -2
  89. package/esm2020/dateinput/localization/dateinput-localized-messages.directive.mjs +3 -2
  90. package/esm2020/dateinputs.module.mjs +90 -33
  91. package/esm2020/datepicker/datepicker.component.mjs +23 -32
  92. package/esm2020/datepicker/datepicker.module.mjs +55 -63
  93. package/esm2020/datepicker/localization/datepicker-custom-messages.component.mjs +3 -2
  94. package/esm2020/datepicker/localization/datepicker-localized-messages.directive.mjs +3 -2
  95. package/esm2020/daterange/date-range-end-input.directive.mjs +3 -2
  96. package/esm2020/daterange/date-range-popup-template.directive.mjs +3 -2
  97. package/esm2020/daterange/date-range-popup.component.mjs +10 -11
  98. package/esm2020/daterange/date-range-selection.directive.mjs +3 -2
  99. package/esm2020/daterange/date-range-start-input.directive.mjs +3 -2
  100. package/esm2020/daterange/date-range.component.mjs +6 -5
  101. package/esm2020/daterange/date-range.module.mjs +51 -54
  102. package/esm2020/daterange/localization/daterange-popup-custom-messages.component.mjs +3 -2
  103. package/esm2020/daterange/localization/daterange-popup-localized-messages.directive.mjs +3 -2
  104. package/esm2020/datetimepicker/datetimepicker.component.mjs +24 -31
  105. package/esm2020/datetimepicker/datetimepicker.module.mjs +70 -68
  106. package/esm2020/datetimepicker/localization/datetimepicker-custom-messages.component.mjs +3 -2
  107. package/esm2020/datetimepicker/localization/localized-messages.directive.mjs +3 -2
  108. package/esm2020/directives.mjs +142 -0
  109. package/esm2020/index.mjs +14 -2
  110. package/esm2020/package-metadata.mjs +2 -2
  111. package/esm2020/timepicker/localization/timepicker-custom-messages.component.mjs +3 -2
  112. package/esm2020/timepicker/localization/timepicker-localized-messages.directive.mjs +3 -2
  113. package/esm2020/timepicker/localization/timeselector-custom-messages.component.mjs +3 -2
  114. package/esm2020/timepicker/localization/timeselector-localized-messages.directive.mjs +3 -2
  115. package/esm2020/timepicker/services/dayperiod.service.mjs +5 -2
  116. package/esm2020/timepicker/services/dom.service.mjs +5 -2
  117. package/esm2020/timepicker/services/hours.service.mjs +5 -2
  118. package/esm2020/timepicker/services/milliseconds.service.mjs +5 -2
  119. package/esm2020/timepicker/services/minutes.service.mjs +5 -2
  120. package/esm2020/timepicker/services/seconds.service.mjs +5 -2
  121. package/esm2020/timepicker/timelist.component.mjs +7 -7
  122. package/esm2020/timepicker/timepicker.component.mjs +22 -41
  123. package/esm2020/timepicker/timepicker.module.mjs +34 -75
  124. package/esm2020/timepicker/timeselector.component.mjs +8 -8
  125. package/esm2020/virtualization/virtualization.component.mjs +6 -4
  126. package/fesm2015/progress-kendo-angular-dateinputs.mjs +1229 -1310
  127. package/fesm2020/progress-kendo-angular-dateinputs.mjs +975 -1050
  128. package/index.d.ts +14 -2
  129. package/package.json +10 -10
  130. package/timepicker/localization/timepicker-custom-messages.component.d.ts +1 -1
  131. package/timepicker/localization/timepicker-localized-messages.directive.d.ts +1 -1
  132. package/timepicker/localization/timeselector-custom-messages.component.d.ts +1 -1
  133. package/timepicker/localization/timeselector-localized-messages.directive.d.ts +1 -1
  134. package/timepicker/timelist.component.d.ts +1 -1
  135. package/timepicker/timepicker.component.d.ts +3 -13
  136. package/timepicker/timepicker.module.d.ts +3 -16
  137. package/timepicker/timeselector.component.d.ts +1 -1
  138. package/virtualization/virtualization.component.d.ts +1 -1
  139. package/calendar/calendar-common.module.d.ts +0 -27
  140. package/calendar/templates.module.d.ts +0 -35
  141. package/esm2020/calendar/calendar-common.module.mjs +0 -52
  142. package/esm2020/calendar/templates.module.mjs +0 -83
  143. package/esm2020/touch-enabled.mjs +0 -9
  144. package/esm2020/virtualization/virtualization.module.mjs +0 -30
  145. package/touch-enabled.d.ts +0 -9
  146. package/virtualization/virtualization.module.d.ts +0 -18
@@ -2,12 +2,12 @@
2
2
  * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
- import { Component, ChangeDetectionStrategy, ChangeDetectorRef, ElementRef, TemplateRef, EventEmitter, HostBinding, Renderer2, Input, Output, ContentChild, ViewChild, ViewContainerRef, NgZone, Inject, Optional, forwardRef, isDevMode, Injector, } from '@angular/core';
5
+ import { Component, ChangeDetectionStrategy, ChangeDetectorRef, ElementRef, TemplateRef, EventEmitter, HostBinding, Renderer2, Input, Output, ContentChild, ViewChild, ViewContainerRef, NgZone, forwardRef, isDevMode, Injector, } from '@angular/core';
6
6
  import { NG_VALUE_ACCESSOR, NG_VALIDATORS, NgControl } from '@angular/forms';
7
7
  import { L10N_PREFIX, LocalizationService } from '@progress/kendo-angular-l10n';
8
8
  import { PopupService } from '@progress/kendo-angular-popup';
9
9
  import { cloneDate } from '@progress/kendo-date-math';
10
- import { hasObservers, isControlRequired, isDocumentAvailable, KendoInput, Keys, MultiTabStop } from '@progress/kendo-angular-common';
10
+ import { hasObservers, isControlRequired, isDocumentAvailable, KendoInput, Keys, MultiTabStop, ResizeSensorComponent, EventsOutsideAngularDirective } from '@progress/kendo-angular-common';
11
11
  import { validatePackage } from '@progress/kendo-licensing';
12
12
  import { packageMetadata } from '../package-metadata';
13
13
  import { MIN_DATE, MAX_DATE } from '../defaults';
@@ -26,30 +26,28 @@ import { NavigationItemTemplateDirective } from '../calendar/templates/navigatio
26
26
  import { PickerService } from '../common/picker.service';
27
27
  import { DisabledDatesService } from '../calendar/services/disabled-dates.service';
28
28
  import { noop, isValidRange, setTime, isWindowAvailable, isTabExitingCalendar, getSizeClass, getRoundedClass, getFillModeClass, DEFAULT_FILL_MODE, DEFAULT_ROUNDED, DEFAULT_SIZE, windowSize } from '../util';
29
- import { TOUCH_ENABLED } from '../touch-enabled';
30
29
  import { requiresZoneOnBlur, currentFocusTarget, attributeNames } from '../common/utils';
31
30
  import { fromEvent } from 'rxjs';
32
31
  import { incompleteDateValidator } from '../validators/incomplete-date.validator';
33
32
  import { disabledDatesValidator } from '../validators/disabled-date.validator';
33
+ import { DateInputComponent } from '../dateinput/dateinput.component';
34
34
  import { calendarIcon, xIcon } from '@progress/kendo-svg-icons';
35
- import { ActionSheetComponent } from '@progress/kendo-angular-navigation';
35
+ import { ActionSheetComponent, ActionSheetTemplateDirective } from '@progress/kendo-angular-navigation';
36
36
  import { HeaderTemplateDirective } from '../calendar/templates/header-template.directive';
37
37
  import { FooterTemplateDirective } from '../calendar/templates/footer-template.directive';
38
+ import { CalendarCustomMessagesComponent } from '../calendar/localization/calendar-custom-messages.component';
39
+ import { CalendarComponent } from '../calendar/calendar.component';
40
+ import { ButtonComponent } from '@progress/kendo-angular-buttons';
41
+ import { NgTemplateOutlet, NgIf } from '@angular/common';
42
+ import { IconWrapperComponent } from '@progress/kendo-angular-icons';
43
+ import { DateInputCustomMessagesComponent } from '../dateinput/localization/dateinput-custom-messages.component';
44
+ import { DatePickerLocalizedMessagesDirective } from './localization/datepicker-localized-messages.directive';
45
+ import { touchEnabled } from '@progress/kendo-common';
38
46
  import * as i0 from "@angular/core";
39
47
  import * as i1 from "@progress/kendo-angular-l10n";
40
48
  import * as i2 from "@progress/kendo-angular-popup";
41
49
  import * as i3 from "../common/picker.service";
42
50
  import * as i4 from "../calendar/services/disabled-dates.service";
43
- import * as i5 from "@angular/common";
44
- import * as i6 from "../dateinput/dateinput.component";
45
- import * as i7 from "../dateinput/localization/dateinput-custom-messages.component";
46
- import * as i8 from "../calendar/calendar.component";
47
- import * as i9 from "../calendar/localization/calendar-custom-messages.component";
48
- import * as i10 from "@progress/kendo-angular-common";
49
- import * as i11 from "@progress/kendo-angular-icons";
50
- import * as i12 from "@progress/kendo-angular-navigation";
51
- import * as i13 from "@progress/kendo-angular-buttons";
52
- import * as i14 from "./localization/datepicker-localized-messages.directive";
53
51
  const MIN_DOC_LINK = 'http://www.telerik.com/kendo-angular-ui/components/dateinputs/api/DatePickerComponent/#toc-min';
54
52
  const MAX_DOC_LINK = 'http://www.telerik.com/kendo-angular-ui/components/dateinputs/api/DatePickerComponent/#toc-max';
55
53
  const VALUE_DOC_LINK = 'http://www.telerik.com/kendo-angular-ui/components/dateinputs/datepicker/#toc-using-with-json';
@@ -59,7 +57,7 @@ const TWO_DIGIT_YEAR_MAX = 68;
59
57
  * Represents the [Kendo UI DatePicker component for Angular](slug:overview_datepicker).
60
58
  */
61
59
  export class DatePickerComponent extends MultiTabStop {
62
- constructor(zone, localization, cdr, popupService, wrapper, renderer, injector, pickerService, disabledDatesService, touchEnabled) {
60
+ constructor(zone, localization, cdr, popupService, wrapper, renderer, injector, pickerService, disabledDatesService) {
63
61
  super();
64
62
  this.zone = zone;
65
63
  this.localization = localization;
@@ -70,7 +68,6 @@ export class DatePickerComponent extends MultiTabStop {
70
68
  this.injector = injector;
71
69
  this.pickerService = pickerService;
72
70
  this.disabledDatesService = disabledDatesService;
73
- this.touchEnabled = touchEnabled;
74
71
  /**
75
72
  * @hidden
76
73
  */
@@ -166,10 +163,7 @@ export class DatePickerComponent extends MultiTabStop {
166
163
  */
167
164
  this.incompleteDateValidation = false;
168
165
  /**
169
- * @hidden
170
- *
171
- * Determines whether to auto correct invalid segments automatically.
172
- * TODO: To be fixed in common package before enabling: https://github.com/telerik/kendo-dateinputs-common/issues/24
166
+ * Determines whether to autocorrect invalid segments automatically.
173
167
  *
174
168
  * @default true
175
169
  */
@@ -973,7 +967,7 @@ export class DatePickerComponent extends MultiTabStop {
973
967
  this.ariaActiveDescendantSubscription = focusedCellChangeEvent.subscribe((id) => this.renderer.setAttribute(this.dateInput?.inputElement, attributeNames.ariaActiveDescendant, id));
974
968
  }
975
969
  focusInput() {
976
- if (this.touchEnabled) {
970
+ if (touchEnabled) {
977
971
  return;
978
972
  }
979
973
  this.dateInput.focus();
@@ -990,7 +984,7 @@ export class DatePickerComponent extends MultiTabStop {
990
984
  this.calendar.focus();
991
985
  }
992
986
  }
993
- else if (!this.touchEnabled) {
987
+ else if (!touchEnabled) {
994
988
  this.dateInput.focus();
995
989
  }
996
990
  else if (!this.dateInput.isActive) {
@@ -1087,8 +1081,8 @@ export class DatePickerComponent extends MultiTabStop {
1087
1081
  }
1088
1082
  }
1089
1083
  }
1090
- DatePickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DatePickerComponent, deps: [{ token: i0.NgZone }, { token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i2.PopupService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.Injector }, { token: i3.PickerService }, { token: i4.DisabledDatesService }, { token: TOUCH_ENABLED, optional: true }], target: i0.ɵɵFactoryTarget.Component });
1091
- DatePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DatePickerComponent, selector: "kendo-datepicker", inputs: { focusableId: "focusableId", cellTemplateRef: ["cellTemplate", "cellTemplateRef"], clearButton: "clearButton", inputAttributes: "inputAttributes", monthCellTemplateRef: ["monthCellTemplate", "monthCellTemplateRef"], yearCellTemplateRef: ["yearCellTemplate", "yearCellTemplateRef"], decadeCellTemplateRef: ["decadeCellTemplate", "decadeCellTemplateRef"], centuryCellTemplateRef: ["centuryCellTemplate", "centuryCellTemplateRef"], weekNumberTemplateRef: ["weekNumberTemplate", "weekNumberTemplateRef"], headerTitleTemplateRef: ["headerTitleTemplate", "headerTitleTemplateRef"], headerTemplateRef: ["headerTemplate", "headerTemplateRef"], footerTemplateRef: ["footerTemplate", "footerTemplateRef"], footer: "footer", navigationItemTemplateRef: ["navigationItemTemplate", "navigationItemTemplateRef"], weekDaysFormat: "weekDaysFormat", showOtherMonthDays: "showOtherMonthDays", activeView: "activeView", bottomView: "bottomView", topView: "topView", calendarType: "calendarType", animateCalendarNavigation: "animateCalendarNavigation", disabled: "disabled", readonly: "readonly", readOnlyInput: "readOnlyInput", popupSettings: "popupSettings", navigation: "navigation", min: "min", max: "max", incompleteDateValidation: "incompleteDateValidation", autoCorrectParts: "autoCorrectParts", autoSwitchParts: "autoSwitchParts", autoSwitchKeys: "autoSwitchKeys", enableMouseWheel: "enableMouseWheel", allowCaretMode: "allowCaretMode", autoFill: "autoFill", focusedDate: "focusedDate", value: "value", format: "format", twoDigitYearMax: "twoDigitYearMax", formatPlaceholder: "formatPlaceholder", placeholder: "placeholder", tabindex: "tabindex", tabIndex: "tabIndex", disabledDates: "disabledDates", title: "title", subtitle: "subtitle", rangeValidation: "rangeValidation", disabledDatesValidation: "disabledDatesValidation", weekNumber: "weekNumber", size: "size", rounded: "rounded", fillMode: "fillMode", adaptiveMode: "adaptiveMode" }, outputs: { valueChange: "valueChange", onFocus: "focus", onBlur: "blur", open: "open", close: "close", escape: "escape" }, host: { properties: { "class.k-readonly": "this.readonly", "class.k-datepicker": "this.wrapperClasses", "class.k-input": "this.wrapperClasses", "class.k-disabled": "this.disabledClass" } }, providers: [
1084
+ DatePickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DatePickerComponent, deps: [{ token: i0.NgZone }, { token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i2.PopupService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.Injector }, { token: i3.PickerService }, { token: i4.DisabledDatesService }], target: i0.ɵɵFactoryTarget.Component });
1085
+ DatePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DatePickerComponent, isStandalone: true, selector: "kendo-datepicker", inputs: { focusableId: "focusableId", cellTemplateRef: ["cellTemplate", "cellTemplateRef"], clearButton: "clearButton", inputAttributes: "inputAttributes", monthCellTemplateRef: ["monthCellTemplate", "monthCellTemplateRef"], yearCellTemplateRef: ["yearCellTemplate", "yearCellTemplateRef"], decadeCellTemplateRef: ["decadeCellTemplate", "decadeCellTemplateRef"], centuryCellTemplateRef: ["centuryCellTemplate", "centuryCellTemplateRef"], weekNumberTemplateRef: ["weekNumberTemplate", "weekNumberTemplateRef"], headerTitleTemplateRef: ["headerTitleTemplate", "headerTitleTemplateRef"], headerTemplateRef: ["headerTemplate", "headerTemplateRef"], footerTemplateRef: ["footerTemplate", "footerTemplateRef"], footer: "footer", navigationItemTemplateRef: ["navigationItemTemplate", "navigationItemTemplateRef"], weekDaysFormat: "weekDaysFormat", showOtherMonthDays: "showOtherMonthDays", activeView: "activeView", bottomView: "bottomView", topView: "topView", calendarType: "calendarType", animateCalendarNavigation: "animateCalendarNavigation", disabled: "disabled", readonly: "readonly", readOnlyInput: "readOnlyInput", popupSettings: "popupSettings", navigation: "navigation", min: "min", max: "max", incompleteDateValidation: "incompleteDateValidation", autoCorrectParts: "autoCorrectParts", autoSwitchParts: "autoSwitchParts", autoSwitchKeys: "autoSwitchKeys", enableMouseWheel: "enableMouseWheel", allowCaretMode: "allowCaretMode", autoFill: "autoFill", focusedDate: "focusedDate", value: "value", format: "format", twoDigitYearMax: "twoDigitYearMax", formatPlaceholder: "formatPlaceholder", placeholder: "placeholder", tabindex: "tabindex", tabIndex: "tabIndex", disabledDates: "disabledDates", title: "title", subtitle: "subtitle", rangeValidation: "rangeValidation", disabledDatesValidation: "disabledDatesValidation", weekNumber: "weekNumber", size: "size", rounded: "rounded", fillMode: "fillMode", adaptiveMode: "adaptiveMode" }, outputs: { valueChange: "valueChange", onFocus: "focus", onBlur: "blur", open: "open", close: "close", escape: "escape" }, host: { properties: { "class.k-readonly": "this.readonly", "class.k-datepicker": "this.wrapperClasses", "class.k-input": "this.wrapperClasses", "class.k-disabled": "this.disabledClass" } }, providers: [
1092
1086
  { provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => DatePickerComponent), multi: true },
1093
1087
  { provide: NG_VALIDATORS, useExisting: forwardRef(() => DatePickerComponent), multi: true },
1094
1088
  { provide: KendoInput, useExisting: forwardRef(() => DatePickerComponent) },
@@ -1273,7 +1267,7 @@ DatePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ve
1273
1267
  </kendo-calendar-messages>
1274
1268
  </kendo-calendar>
1275
1269
  </ng-template>
1276
- `, isInline: true, dependencies: [{ kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i5.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i6.DateInputComponent, selector: "kendo-dateinput", inputs: ["focusableId", "pickerType", "clearButton", "disabled", "readonly", "title", "tabindex", "role", "ariaReadOnly", "tabIndex", "isRequired", "format", "formatPlaceholder", "placeholder", "steps", "max", "min", "rangeValidation", "autoCorrectParts", "autoSwitchParts", "autoSwitchKeys", "allowCaretMode", "autoFill", "incompleteDateValidation", "twoDigitYearMax", "enableMouseWheel", "value", "spinners", "isPopupOpen", "hasPopup", "size", "rounded", "fillMode", "inputAttributes"], outputs: ["valueChange", "valueUpdate", "focus", "blur"], exportAs: ["kendo-dateinput"] }, { kind: "component", type: i7.DateInputCustomMessagesComponent, selector: "kendo-dateinput-messages" }, { kind: "component", type: i8.CalendarComponent, selector: "kendo-calendar", inputs: ["showOtherMonthDays", "id", "focusedDate", "min", "max", "rangeValidation", "weekDaysFormat", "footer", "selection", "allowReverse", "value", "disabled", "tabindex", "tabIndex", "disabledDates", "navigation", "activeView", "bottomView", "topView", "type", "animateNavigation", "weekNumber", "cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "headerTemplate", "footerTemplate", "navigationItemTemplate", "size", "activeRangeEnd"], outputs: ["activeViewChange", "navigate", "activeViewDateChange", "blur", "focus", "valueChange"], exportAs: ["kendo-calendar"] }, { kind: "component", type: i9.CalendarCustomMessagesComponent, selector: "kendo-calendar-messages" }, { kind: "directive", type: i10.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "component", type: i11.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "component", type: i12.ActionSheetComponent, selector: "kendo-actionsheet", inputs: ["title", "subtitle", "items", "cssClass", "animation", "expanded", "titleId"], outputs: ["expandedChange", "expand", "collapse", "itemClick", "overlayClick"], exportAs: ["kendoActionSheet"] }, { kind: "directive", type: i12.ActionSheetTemplateDirective, selector: "[kendoActionSheetTemplate]" }, { kind: "component", type: i10.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { kind: "component", type: i13.ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: i14.DatePickerLocalizedMessagesDirective, selector: "[kendoDatePickerLocalizedMessages]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1270
+ `, isInline: true, dependencies: [{ kind: "directive", type: DatePickerLocalizedMessagesDirective, selector: "[kendoDatePickerLocalizedMessages]" }, { kind: "component", type: DateInputComponent, selector: "kendo-dateinput", inputs: ["focusableId", "pickerType", "clearButton", "disabled", "readonly", "title", "tabindex", "role", "ariaReadOnly", "tabIndex", "isRequired", "format", "formatPlaceholder", "placeholder", "steps", "max", "min", "rangeValidation", "autoCorrectParts", "autoSwitchParts", "autoSwitchKeys", "allowCaretMode", "autoFill", "incompleteDateValidation", "twoDigitYearMax", "enableMouseWheel", "value", "spinners", "isPopupOpen", "hasPopup", "size", "rounded", "fillMode", "inputAttributes"], outputs: ["valueChange", "valueUpdate", "focus", "blur"], exportAs: ["kendo-dateinput"] }, { kind: "component", type: DateInputCustomMessagesComponent, selector: "kendo-dateinput-messages" }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { kind: "component", type: ActionSheetComponent, selector: "kendo-actionsheet", inputs: ["title", "subtitle", "items", "cssClass", "animation", "expanded", "titleId"], outputs: ["expandedChange", "expand", "collapse", "itemClick", "overlayClick"], exportAs: ["kendoActionSheet"] }, { kind: "directive", type: ActionSheetTemplateDirective, selector: "[kendoActionSheetTemplate]" }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: CalendarComponent, selector: "kendo-calendar", inputs: ["showOtherMonthDays", "id", "focusedDate", "min", "max", "rangeValidation", "weekDaysFormat", "footer", "selection", "allowReverse", "value", "disabled", "tabindex", "tabIndex", "disabledDates", "navigation", "activeView", "bottomView", "topView", "type", "animateNavigation", "weekNumber", "cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "headerTemplate", "footerTemplate", "navigationItemTemplate", "size", "activeRangeEnd"], outputs: ["activeViewChange", "navigate", "activeViewDateChange", "blur", "focus", "valueChange"], exportAs: ["kendo-calendar"] }, { kind: "component", type: CalendarCustomMessagesComponent, selector: "kendo-calendar-messages" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1277
1271
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DatePickerComponent, decorators: [{
1278
1272
  type: Component,
1279
1273
  args: [{
@@ -1466,14 +1460,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
1466
1460
  </kendo-calendar-messages>
1467
1461
  </kendo-calendar>
1468
1462
  </ng-template>
1469
- `
1463
+ `,
1464
+ standalone: true,
1465
+ imports: [DatePickerLocalizedMessagesDirective, DateInputComponent, DateInputCustomMessagesComponent, EventsOutsideAngularDirective, IconWrapperComponent, NgTemplateOutlet, NgIf, ResizeSensorComponent, ActionSheetComponent, ActionSheetTemplateDirective, ButtonComponent, CalendarComponent, CalendarCustomMessagesComponent]
1470
1466
  }]
1471
- }], ctorParameters: function () { return [{ type: i0.NgZone }, { type: i1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i2.PopupService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.Injector }, { type: i3.PickerService }, { type: i4.DisabledDatesService }, { type: undefined, decorators: [{
1472
- type: Optional
1473
- }, {
1474
- type: Inject,
1475
- args: [TOUCH_ENABLED]
1476
- }] }]; }, propDecorators: { container: [{
1467
+ }], ctorParameters: function () { return [{ type: i0.NgZone }, { type: i1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i2.PopupService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.Injector }, { type: i3.PickerService }, { type: i4.DisabledDatesService }]; }, propDecorators: { container: [{
1477
1468
  type: ViewChild,
1478
1469
  args: ['container', { read: ViewContainerRef, static: true }]
1479
1470
  }], popupTemplate: [{
@@ -3,21 +3,31 @@
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 { DatePickerComponent } from './datepicker.component';
7
- import { CommonModule } from '@angular/common';
8
- import { IntlModule } from '@progress/kendo-angular-intl';
9
- import { PopupModule } from '@progress/kendo-angular-popup';
10
- import { CalendarModule } from '../calendar/calendar.module';
11
- import { TemplatesModule } from '../calendar/templates.module';
12
- import { DateInputModule } from '../dateinput/dateinput.module';
13
- import { EventsModule, ToggleButtonTabStopModule } from '@progress/kendo-angular-common';
14
- import { DatePickerLocalizedMessagesDirective } from './localization/datepicker-localized-messages.directive';
15
- import { DatePickerCustomMessagesComponent } from './localization/datepicker-custom-messages.component';
16
- import { touchEnabled } from '@progress/kendo-common';
17
- import { TOUCH_ENABLED } from '../touch-enabled';
18
- import { IconsModule } from '@progress/kendo-angular-icons';
19
- import { AdaptiveModule } from '../common/adaptive.module';
6
+ import { KENDO_DATEPICKER } from '../directives';
7
+ import { IconsService } from '@progress/kendo-angular-icons';
8
+ import { ResizeBatchService } from '@progress/kendo-angular-common';
9
+ import { PopupService } from '@progress/kendo-angular-popup';
10
+ import { CenturyViewService } from '../calendar/services/century-view.service';
11
+ import { DecadeViewService } from '../calendar/services/decade-view.service';
12
+ import { CalendarDOMService } from '../calendar/services/dom.service';
13
+ import { MonthViewService } from '../calendar/services/month-view.service';
14
+ import { NavigationService } from '../calendar/services/navigation.service';
15
+ import { WeekNamesService } from '../calendar/services/weeknames.service';
16
+ import { YearViewService } from '../calendar/services/year-view.service';
20
17
  import * as i0 from "@angular/core";
18
+ import * as i1 from "./localization/datepicker-custom-messages.component";
19
+ import * as i2 from "./datepicker.component";
20
+ import * as i3 from "../calendar/templates/cell-template.directive";
21
+ import * as i4 from "../calendar/templates/century-cell-template.directive";
22
+ import * as i5 from "../calendar/templates/decade-cell-template.directive";
23
+ import * as i6 from "../calendar/templates/footer-template.directive";
24
+ import * as i7 from "../calendar/templates/header-template.directive";
25
+ import * as i8 from "../calendar/templates/header-title-template.directive";
26
+ import * as i9 from "../calendar/templates/month-cell-template.directive";
27
+ import * as i10 from "../calendar/templates/navigation-item-template.directive";
28
+ import * as i11 from "../calendar/templates/weeknumber-cell-template.directive";
29
+ import * as i12 from "../calendar/templates/year-cell-template.directive";
30
+ // IMPORTANT: NgModule export kept for backwards compatibility
21
31
  /**
22
32
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
23
33
  * definition for the DatePicker component.
@@ -25,57 +35,39 @@ import * as i0 from "@angular/core";
25
35
  export class DatePickerModule {
26
36
  }
27
37
  DatePickerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DatePickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
28
- DatePickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: DatePickerModule, declarations: [DatePickerComponent,
29
- DatePickerCustomMessagesComponent,
30
- DatePickerLocalizedMessagesDirective], imports: [CommonModule,
31
- DateInputModule,
32
- CalendarModule,
33
- IntlModule,
34
- PopupModule,
35
- TemplatesModule,
36
- EventsModule,
37
- IconsModule,
38
- AdaptiveModule], exports: [DatePickerComponent,
39
- DatePickerCustomMessagesComponent,
40
- DatePickerLocalizedMessagesDirective,
41
- TemplatesModule,
42
- ToggleButtonTabStopModule] });
43
- DatePickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DatePickerModule, providers: [{ provide: TOUCH_ENABLED, useValue: touchEnabled }], imports: [CommonModule,
44
- DateInputModule,
45
- CalendarModule,
46
- IntlModule,
47
- PopupModule,
48
- TemplatesModule,
49
- EventsModule,
50
- IconsModule,
51
- AdaptiveModule, TemplatesModule,
52
- ToggleButtonTabStopModule] });
38
+ 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] });
39
+ DatePickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DatePickerModule, providers: [
40
+ // DateInputModule providers
41
+ IconsService,
42
+ // CalendarModule providers
43
+ ResizeBatchService,
44
+ CalendarDOMService,
45
+ CenturyViewService,
46
+ DecadeViewService,
47
+ MonthViewService,
48
+ YearViewService,
49
+ WeekNamesService,
50
+ PopupService,
51
+ NavigationService
52
+ ], imports: [i1.DatePickerCustomMessagesComponent, i2.DatePickerComponent] });
53
53
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DatePickerModule, decorators: [{
54
54
  type: NgModule,
55
55
  args: [{
56
- declarations: [
57
- DatePickerComponent,
58
- DatePickerCustomMessagesComponent,
59
- DatePickerLocalizedMessagesDirective
60
- ],
61
- exports: [
62
- DatePickerComponent,
63
- DatePickerCustomMessagesComponent,
64
- DatePickerLocalizedMessagesDirective,
65
- TemplatesModule,
66
- ToggleButtonTabStopModule
67
- ],
68
- imports: [
69
- CommonModule,
70
- DateInputModule,
71
- CalendarModule,
72
- IntlModule,
73
- PopupModule,
74
- TemplatesModule,
75
- EventsModule,
76
- IconsModule,
77
- AdaptiveModule
78
- ],
79
- providers: [{ provide: TOUCH_ENABLED, useValue: touchEnabled }]
56
+ exports: [...KENDO_DATEPICKER],
57
+ imports: [...KENDO_DATEPICKER],
58
+ providers: [
59
+ // DateInputModule providers
60
+ IconsService,
61
+ // CalendarModule providers
62
+ ResizeBatchService,
63
+ CalendarDOMService,
64
+ CenturyViewService,
65
+ DecadeViewService,
66
+ MonthViewService,
67
+ YearViewService,
68
+ WeekNamesService,
69
+ PopupService,
70
+ NavigationService
71
+ ]
80
72
  }]
81
73
  }] });
@@ -20,7 +20,7 @@ export class DatePickerCustomMessagesComponent extends DatePickerMessages {
20
20
  }
21
21
  }
22
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, selector: "kendo-datepicker-messages", providers: [
23
+ DatePickerCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DatePickerCustomMessagesComponent, isStandalone: true, selector: "kendo-datepicker-messages", providers: [
24
24
  {
25
25
  provide: DatePickerMessages,
26
26
  useExisting: forwardRef(() => DatePickerCustomMessagesComponent)
@@ -36,6 +36,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
36
36
  }
37
37
  ],
38
38
  selector: 'kendo-datepicker-messages',
39
- template: ``
39
+ template: ``,
40
+ standalone: true
40
41
  }]
41
42
  }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
@@ -17,7 +17,7 @@ export class DatePickerLocalizedMessagesDirective extends DatePickerMessages {
17
17
  }
18
18
  }
19
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, selector: "[kendoDatePickerLocalizedMessages]", providers: [
20
+ DatePickerLocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DatePickerLocalizedMessagesDirective, isStandalone: true, selector: "[kendoDatePickerLocalizedMessages]", providers: [
21
21
  {
22
22
  provide: DatePickerMessages,
23
23
  useExisting: forwardRef(() => DatePickerLocalizedMessagesDirective)
@@ -32,6 +32,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
32
32
  useExisting: forwardRef(() => DatePickerLocalizedMessagesDirective)
33
33
  }
34
34
  ],
35
- selector: '[kendoDatePickerLocalizedMessages]'
35
+ selector: '[kendoDatePickerLocalizedMessages]',
36
+ standalone: true
36
37
  }]
37
38
  }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
@@ -80,11 +80,12 @@ export class DateRangeEndInputDirective extends DateRangeInput {
80
80
  }
81
81
  }
82
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, selector: "[kendoDateRangeEndInput]", inputs: { autoCorrectOn: "autoCorrectOn", navigateCalendarOnFocus: "navigateCalendarOnFocus" }, usesInheritance: true, ngImport: i0 });
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
84
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateRangeEndInputDirective, decorators: [{
85
85
  type: Directive,
86
86
  args: [{
87
- selector: '[kendoDateRangeEndInput]'
87
+ selector: '[kendoDateRangeEndInput]',
88
+ standalone: true
88
89
  }]
89
90
  }], ctorParameters: function () { return [{ type: i1.DateRangeService }, { type: i2.DateInputComponent }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }]; }, propDecorators: { autoCorrectOn: [{
90
91
  type: Input
@@ -14,10 +14,11 @@ export class DateRangePopupTemplateDirective {
14
14
  }
15
15
  }
16
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, selector: "[kendoDateRangePopupTemplate]", ngImport: i0 });
17
+ DateRangePopupTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DateRangePopupTemplateDirective, isStandalone: true, selector: "[kendoDateRangePopupTemplate]", ngImport: i0 });
18
18
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateRangePopupTemplateDirective, decorators: [{
19
19
  type: Directive,
20
20
  args: [{
21
- selector: '[kendoDateRangePopupTemplate]'
21
+ selector: '[kendoDateRangePopupTemplate]',
22
+ standalone: true
22
23
  }]
23
24
  }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
@@ -9,24 +9,21 @@ import { DateRangePopupTemplateDirective } from './date-range-popup-template.dir
9
9
  import { DateRangeService } from './date-range.service';
10
10
  import { MultiViewCalendarComponent } from '../calendar/multiview-calendar.component';
11
11
  import { PreventableEvent } from '../preventable-event';
12
- import { isDocumentAvailable, guid, Keys, hasObservers } from '@progress/kendo-angular-common';
12
+ import { isDocumentAvailable, guid, Keys, hasObservers, ResizeSensorComponent } from '@progress/kendo-angular-common';
13
13
  import { Subscription, fromEvent, merge } from 'rxjs';
14
14
  import { filter, map } from 'rxjs/operators';
15
15
  import { isWindowAvailable, windowSize } from '../util';
16
16
  import { isPresent } from '../common/utils';
17
17
  import { xIcon } from '@progress/kendo-svg-icons';
18
18
  import { DateRangeSelectionDirective } from './date-range-selection.directive';
19
- import { ActionSheetComponent } from '@progress/kendo-angular-navigation';
19
+ import { ActionSheetComponent, ActionSheetTemplateDirective } from '@progress/kendo-angular-navigation';
20
+ import { ButtonComponent } from '@progress/kendo-angular-buttons';
21
+ import { NgIf } from '@angular/common';
22
+ import { DateRangePopupLocalizedMessagesDirective } from './localization/daterange-popup-localized-messages.directive';
20
23
  import * as i0 from "@angular/core";
21
24
  import * as i1 from "@progress/kendo-angular-popup";
22
25
  import * as i2 from "./date-range.service";
23
26
  import * as i3 from "@progress/kendo-angular-l10n";
24
- import * as i4 from "@angular/common";
25
- import * as i5 from "../calendar/multiview-calendar.component";
26
- import * as i6 from "@progress/kendo-angular-navigation";
27
- import * as i7 from "@progress/kendo-angular-common";
28
- import * as i8 from "@progress/kendo-angular-buttons";
29
- import * as i9 from "./localization/daterange-popup-localized-messages.directive";
30
27
  /**
31
28
  * Represents the Kendo UI DateRangePopup component for Angular.
32
29
  *
@@ -501,7 +498,7 @@ export class DateRangePopupComponent {
501
498
  }
502
499
  }
503
500
  DateRangePopupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateRangePopupComponent, deps: [{ token: i1.PopupService }, { token: i2.DateRangeService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i3.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: RTL, optional: true }], target: i0.ɵɵFactoryTarget.Component });
504
- DateRangePopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DateRangePopupComponent, selector: "kendo-daterange-popup", inputs: { allowReverse: "allowReverse", animate: "animate", anchor: "anchor", anchorAlign: "anchorAlign", appendTo: "appendTo", collision: "collision", popupAlign: "popupAlign", margin: "margin", adaptiveMode: "adaptiveMode", title: "title", subtitle: "subtitle", size: "size" }, outputs: { open: "open", close: "close", onBlur: "blur", onFocus: "focus", cancel: "cancel" }, providers: [
501
+ DateRangePopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DateRangePopupComponent, isStandalone: true, selector: "kendo-daterange-popup", inputs: { allowReverse: "allowReverse", animate: "animate", anchor: "anchor", anchorAlign: "anchorAlign", appendTo: "appendTo", collision: "collision", popupAlign: "popupAlign", margin: "margin", adaptiveMode: "adaptiveMode", title: "title", subtitle: "subtitle", size: "size" }, outputs: { open: "open", close: "close", onBlur: "blur", onFocus: "focus", cancel: "cancel" }, providers: [
505
502
  LocalizationService,
506
503
  {
507
504
  provide: L10N_PREFIX,
@@ -607,7 +604,7 @@ DateRangePopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
607
604
  </div>
608
605
  </ng-template>
609
606
  </kendo-actionsheet>
610
- `, isInline: true, dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i5.MultiViewCalendarComponent, selector: "kendo-multiviewcalendar", inputs: ["showOtherMonthDays", "showCalendarHeader", "size", "id", "focusedDate", "footer", "min", "max", "rangeValidation", "disabledDatesRangeValidation", "selection", "allowReverse", "value", "disabled", "tabindex", "tabIndex", "weekDaysFormat", "isActive", "disabledDates", "activeView", "bottomView", "topView", "showViewHeader", "animateNavigation", "weekNumber", "activeRangeEnd", "selectionRange", "views", "orientation", "cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "footerTemplate", "headerTitleTemplate", "headerTemplate"], outputs: ["activeViewChange", "navigate", "cellEnter", "cellLeave", "valueChange", "rangeSelectionChange", "blur", "focus", "focusCalendar", "onClosePopup", "onTabPress", "onShiftTabPress"], exportAs: ["kendo-multiviewcalendar"] }, { kind: "component", type: i6.ActionSheetComponent, selector: "kendo-actionsheet", inputs: ["title", "subtitle", "items", "cssClass", "animation", "expanded", "titleId"], outputs: ["expandedChange", "expand", "collapse", "itemClick", "overlayClick"], exportAs: ["kendoActionSheet"] }, { kind: "directive", type: i6.ActionSheetTemplateDirective, selector: "[kendoActionSheetTemplate]" }, { kind: "component", type: i7.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { kind: "component", type: i8.ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: i9.DateRangePopupLocalizedMessagesDirective, selector: "[kendoDateRangePopupLocalizedMessages]" }] });
607
+ `, isInline: true, dependencies: [{ kind: "directive", type: DateRangePopupLocalizedMessagesDirective, selector: "[kendoDateRangePopupLocalizedMessages]" }, { kind: "component", type: MultiViewCalendarComponent, selector: "kendo-multiviewcalendar", inputs: ["showOtherMonthDays", "showCalendarHeader", "size", "id", "focusedDate", "footer", "min", "max", "rangeValidation", "disabledDatesRangeValidation", "selection", "allowReverse", "value", "disabled", "tabindex", "tabIndex", "weekDaysFormat", "isActive", "disabledDates", "activeView", "bottomView", "topView", "showViewHeader", "animateNavigation", "weekNumber", "activeRangeEnd", "selectionRange", "views", "orientation", "cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "footerTemplate", "headerTitleTemplate", "headerTemplate"], outputs: ["activeViewChange", "navigate", "cellEnter", "cellLeave", "valueChange", "rangeSelectionChange", "blur", "focus", "focusCalendar", "onClosePopup", "onTabPress", "onShiftTabPress"], exportAs: ["kendo-multiviewcalendar"] }, { kind: "component", type: ActionSheetComponent, selector: "kendo-actionsheet", inputs: ["title", "subtitle", "items", "cssClass", "animation", "expanded", "titleId"], outputs: ["expandedChange", "expand", "collapse", "itemClick", "overlayClick"], exportAs: ["kendoActionSheet"] }, { kind: "directive", type: ActionSheetTemplateDirective, selector: "[kendoActionSheetTemplate]" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
611
608
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateRangePopupComponent, decorators: [{
612
609
  type: Component,
613
610
  args: [{
@@ -720,7 +717,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
720
717
  </div>
721
718
  </ng-template>
722
719
  </kendo-actionsheet>
723
- `
720
+ `,
721
+ standalone: true,
722
+ imports: [DateRangePopupLocalizedMessagesDirective, MultiViewCalendarComponent, ActionSheetComponent, ActionSheetTemplateDirective, NgIf, ResizeSensorComponent, ButtonComponent]
724
723
  }]
725
724
  }], ctorParameters: function () { return [{ type: i1.PopupService }, { type: i2.DateRangeService }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i3.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: undefined, decorators: [{
726
725
  type: Optional
@@ -193,11 +193,12 @@ export class DateRangeSelectionDirective {
193
193
  }
194
194
  }
195
195
  DateRangeSelectionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateRangeSelectionDirective, deps: [{ token: i1.MultiViewCalendarComponent }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i2.DateRangeService, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
196
- DateRangeSelectionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DateRangeSelectionDirective, selector: "[kendoDateRangeSelection]", inputs: { autoCorrectOn: "autoCorrectOn", selectionRange: "selectionRange", activeRangeEnd: "activeRangeEnd", shouldSetRange: "shouldSetRange" }, outputs: { activeRangeEndChange: "activeRangeEndChange", selectionRangeChange: "selectionRangeChange" }, ngImport: i0 });
196
+ DateRangeSelectionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DateRangeSelectionDirective, isStandalone: true, selector: "[kendoDateRangeSelection]", inputs: { autoCorrectOn: "autoCorrectOn", selectionRange: "selectionRange", activeRangeEnd: "activeRangeEnd", shouldSetRange: "shouldSetRange" }, outputs: { activeRangeEndChange: "activeRangeEndChange", selectionRangeChange: "selectionRangeChange" }, ngImport: i0 });
197
197
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateRangeSelectionDirective, decorators: [{
198
198
  type: Directive,
199
199
  args: [{
200
- selector: '[kendoDateRangeSelection]'
200
+ selector: '[kendoDateRangeSelection]',
201
+ standalone: true
201
202
  }]
202
203
  }], ctorParameters: function () { return [{ type: i1.MultiViewCalendarComponent }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i2.DateRangeService, decorators: [{
203
204
  type: Optional
@@ -82,11 +82,12 @@ export class DateRangeStartInputDirective extends DateRangeInput {
82
82
  }
83
83
  }
84
84
  DateRangeStartInputDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateRangeStartInputDirective, deps: [{ token: i1.DateRangeService }, { token: i2.DateInputComponent }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
85
- DateRangeStartInputDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DateRangeStartInputDirective, selector: "[kendoDateRangeStartInput]", inputs: { autoCorrectOn: "autoCorrectOn", navigateCalendarOnFocus: "navigateCalendarOnFocus" }, usesInheritance: true, ngImport: i0 });
85
+ DateRangeStartInputDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DateRangeStartInputDirective, isStandalone: true, selector: "[kendoDateRangeStartInput]", inputs: { autoCorrectOn: "autoCorrectOn", navigateCalendarOnFocus: "navigateCalendarOnFocus" }, usesInheritance: true, ngImport: i0 });
86
86
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateRangeStartInputDirective, decorators: [{
87
87
  type: Directive,
88
88
  args: [{
89
- selector: '[kendoDateRangeStartInput]'
89
+ selector: '[kendoDateRangeStartInput]',
90
+ standalone: true
90
91
  }]
91
92
  }], ctorParameters: function () { return [{ type: i1.DateRangeService }, { type: i2.DateInputComponent }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }]; }, propDecorators: { autoCorrectOn: [{
92
93
  type: Input
@@ -8,10 +8,9 @@ import { packageMetadata } from '../package-metadata';
8
8
  import { DateRangePopupComponent } from './date-range-popup.component';
9
9
  import { DateRangeService } from './date-range.service';
10
10
  import { Keys } from '@progress/kendo-angular-common';
11
+ import { NgIf } from '@angular/common';
11
12
  import * as i0 from "@angular/core";
12
13
  import * as i1 from "./date-range.service";
13
- import * as i2 from "@angular/common";
14
- import * as i3 from "./date-range-popup.component";
15
14
  /**
16
15
  * Represents the Kendo UI DateRange component for Angular.
17
16
  *
@@ -68,10 +67,10 @@ export class DateRangeComponent {
68
67
  }
69
68
  }
70
69
  DateRangeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateRangeComponent, deps: [{ token: i1.DateRangeService }], target: i0.ɵɵFactoryTarget.Component });
71
- DateRangeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DateRangeComponent, selector: "kendo-daterange", inputs: { size: "size" }, host: { listeners: { "keydown": "keydown($event)" }, properties: { "class.k-daterangepicker": "this.wrapperClass" } }, providers: [DateRangeService], queries: [{ propertyName: "contentPopup", predicate: DateRangePopupComponent }], ngImport: i0, template: `
70
+ DateRangeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DateRangeComponent, isStandalone: true, selector: "kendo-daterange", inputs: { size: "size" }, host: { listeners: { "keydown": "keydown($event)" }, properties: { "class.k-daterangepicker": "this.wrapperClass" } }, providers: [DateRangeService], queries: [{ propertyName: "contentPopup", predicate: DateRangePopupComponent }], ngImport: i0, template: `
72
71
  <ng-content></ng-content>
73
72
  <kendo-daterange-popup *ngIf="showDefault" [size]="size"></kendo-daterange-popup>
74
- `, isInline: true, dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3.DateRangePopupComponent, selector: "kendo-daterange-popup", inputs: ["allowReverse", "animate", "anchor", "anchorAlign", "appendTo", "collision", "popupAlign", "margin", "adaptiveMode", "title", "subtitle", "size"], outputs: ["open", "close", "blur", "focus", "cancel"], exportAs: ["kendo-daterange-popup"] }] });
73
+ `, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: DateRangePopupComponent, selector: "kendo-daterange-popup", inputs: ["allowReverse", "animate", "anchor", "anchorAlign", "appendTo", "collision", "popupAlign", "margin", "adaptiveMode", "title", "subtitle", "size"], outputs: ["open", "close", "blur", "focus", "cancel"], exportAs: ["kendo-daterange-popup"] }] });
75
74
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateRangeComponent, decorators: [{
76
75
  type: Component,
77
76
  args: [{
@@ -80,7 +79,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
80
79
  template: `
81
80
  <ng-content></ng-content>
82
81
  <kendo-daterange-popup *ngIf="showDefault" [size]="size"></kendo-daterange-popup>
83
- `
82
+ `,
83
+ standalone: true,
84
+ imports: [NgIf, DateRangePopupComponent]
84
85
  }]
85
86
  }], ctorParameters: function () { return [{ type: i1.DateRangeService }]; }, propDecorators: { size: [{
86
87
  type: Input