@progress/kendo-angular-dateinputs 21.4.1 → 22.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (141) hide show
  1. package/calendar/localization/calendar-messages.d.ts +1 -1
  2. package/calendar/localization/multiview-calendar-messages.d.ts +1 -1
  3. package/dateinput/localization/messages.d.ts +1 -1
  4. package/datepicker/localization/messages.d.ts +1 -1
  5. package/daterange/date-range-input.d.ts +1 -1
  6. package/daterange/localization/messages.d.ts +1 -1
  7. package/datetimepicker/localization/messages.d.ts +1 -1
  8. package/fesm2022/progress-kendo-angular-dateinputs.mjs +262 -262
  9. package/package.json +15 -23
  10. package/timepicker/localization/messages.d.ts +1 -1
  11. package/esm2022/calendar/calendar.component.mjs +0 -1711
  12. package/esm2022/calendar/calendar.module.mjs +0 -91
  13. package/esm2022/calendar/calendars.module.mjs +0 -87
  14. package/esm2022/calendar/footer.component.mjs +0 -77
  15. package/esm2022/calendar/for.directive.mjs +0 -116
  16. package/esm2022/calendar/header.component.mjs +0 -367
  17. package/esm2022/calendar/horizontal-view-list.component.mjs +0 -580
  18. package/esm2022/calendar/localization/calendar-custom-messages.component.mjs +0 -51
  19. package/esm2022/calendar/localization/calendar-localized-messages.directive.mjs +0 -39
  20. package/esm2022/calendar/localization/calendar-messages.mjs +0 -45
  21. package/esm2022/calendar/localization/multiview-calendar-custom-messages.component.mjs +0 -51
  22. package/esm2022/calendar/localization/multiview-calendar-localized-messages.directive.mjs +0 -39
  23. package/esm2022/calendar/localization/multiview-calendar-messages.mjs +0 -45
  24. package/esm2022/calendar/models/cell-context.interface.mjs +0 -5
  25. package/esm2022/calendar/models/navigation-action.enum.mjs +0 -20
  26. package/esm2022/calendar/models/orientation.mjs +0 -5
  27. package/esm2022/calendar/models/row-length-options.interface.mjs +0 -5
  28. package/esm2022/calendar/models/scrollable.interface.mjs +0 -5
  29. package/esm2022/calendar/models/selection-range-end.type.mjs +0 -5
  30. package/esm2022/calendar/models/selection-range.interface.mjs +0 -10
  31. package/esm2022/calendar/models/selection.mjs +0 -50
  32. package/esm2022/calendar/models/type.mjs +0 -5
  33. package/esm2022/calendar/models/view-service.interface.mjs +0 -5
  34. package/esm2022/calendar/models/view.enum.mjs +0 -16
  35. package/esm2022/calendar/models/view.type.mjs +0 -5
  36. package/esm2022/calendar/multiview-calendar.component.mjs +0 -1564
  37. package/esm2022/calendar/multiview-calendar.module.mjs +0 -89
  38. package/esm2022/calendar/navigation.component.mjs +0 -230
  39. package/esm2022/calendar/services/bus-view.service.mjs +0 -83
  40. package/esm2022/calendar/services/century-view.service.mjs +0 -219
  41. package/esm2022/calendar/services/decade-view.service.mjs +0 -217
  42. package/esm2022/calendar/services/disabled-dates.service.mjs +0 -66
  43. package/esm2022/calendar/services/dom.service.mjs +0 -203
  44. package/esm2022/calendar/services/month-view.service.mjs +0 -223
  45. package/esm2022/calendar/services/navigation.service.mjs +0 -60
  46. package/esm2022/calendar/services/scroll-sync.service.mjs +0 -89
  47. package/esm2022/calendar/services/selection.service.mjs +0 -62
  48. package/esm2022/calendar/services/weeknames.service.mjs +0 -33
  49. package/esm2022/calendar/services/year-view.service.mjs +0 -204
  50. package/esm2022/calendar/templates/cell-template.directive.mjs +0 -45
  51. package/esm2022/calendar/templates/century-cell-template.directive.mjs +0 -43
  52. package/esm2022/calendar/templates/decade-cell-template.directive.mjs +0 -43
  53. package/esm2022/calendar/templates/footer-template.directive.mjs +0 -44
  54. package/esm2022/calendar/templates/header-template.directive.mjs +0 -47
  55. package/esm2022/calendar/templates/header-title-template.directive.mjs +0 -43
  56. package/esm2022/calendar/templates/month-cell-template.directive.mjs +0 -43
  57. package/esm2022/calendar/templates/navigation-item-template.directive.mjs +0 -43
  58. package/esm2022/calendar/templates/weeknumber-cell-template.directive.mjs +0 -43
  59. package/esm2022/calendar/templates/year-cell-template.directive.mjs +0 -43
  60. package/esm2022/calendar/view-list.component.mjs +0 -497
  61. package/esm2022/calendar/view.component.mjs +0 -432
  62. package/esm2022/common/dom-queries.mjs +0 -24
  63. package/esm2022/common/models/fillmode.mjs +0 -5
  64. package/esm2022/common/models/rounded.mjs +0 -5
  65. package/esm2022/common/models/size.mjs +0 -5
  66. package/esm2022/common/models/week-days-format.mjs +0 -5
  67. package/esm2022/common/picker.service.mjs +0 -17
  68. package/esm2022/common/utils.mjs +0 -70
  69. package/esm2022/dateinput/arrow.enum.mjs +0 -13
  70. package/esm2022/dateinput/dateinput.component.mjs +0 -1196
  71. package/esm2022/dateinput/dateinput.module.mjs +0 -45
  72. package/esm2022/dateinput/localization/dateinput-custom-messages.component.mjs +0 -60
  73. package/esm2022/dateinput/localization/dateinput-localized-messages.directive.mjs +0 -39
  74. package/esm2022/dateinput/localization/messages.mjs +0 -39
  75. package/esm2022/dateinput/models/format-placeholder.model.mjs +0 -5
  76. package/esm2022/dateinput/models/format-settings.model.mjs +0 -5
  77. package/esm2022/dateinput/models/incremental-steps.model.mjs +0 -5
  78. package/esm2022/dateinputs.module.mjs +0 -136
  79. package/esm2022/datepicker/datepicker.component.mjs +0 -1758
  80. package/esm2022/datepicker/datepicker.module.mjs +0 -83
  81. package/esm2022/datepicker/localization/datepicker-custom-messages.component.mjs +0 -53
  82. package/esm2022/datepicker/localization/datepicker-localized-messages.directive.mjs +0 -39
  83. package/esm2022/datepicker/localization/messages.mjs +0 -63
  84. package/esm2022/daterange/auto-correct-on.type.mjs +0 -5
  85. package/esm2022/daterange/date-range-end-input.directive.mjs +0 -105
  86. package/esm2022/daterange/date-range-input.mjs +0 -138
  87. package/esm2022/daterange/date-range-popup-template.directive.mjs +0 -36
  88. package/esm2022/daterange/date-range-popup.component.mjs +0 -1051
  89. package/esm2022/daterange/date-range-selection.directive.mjs +0 -223
  90. package/esm2022/daterange/date-range-start-input.directive.mjs +0 -109
  91. package/esm2022/daterange/date-range.component.mjs +0 -116
  92. package/esm2022/daterange/date-range.module.mjs +0 -103
  93. package/esm2022/daterange/date-range.service.mjs +0 -225
  94. package/esm2022/daterange/localization/daterange-popup-custom-messages.component.mjs +0 -43
  95. package/esm2022/daterange/localization/daterange-popup-localized-messages.directive.mjs +0 -39
  96. package/esm2022/daterange/localization/messages.mjs +0 -51
  97. package/esm2022/datetimepicker/datetimepicker.component.mjs +0 -2505
  98. package/esm2022/datetimepicker/datetimepicker.module.mjs +0 -106
  99. package/esm2022/datetimepicker/localization/datetimepicker-custom-messages.component.mjs +0 -52
  100. package/esm2022/datetimepicker/localization/localized-messages.directive.mjs +0 -39
  101. package/esm2022/datetimepicker/localization/messages.mjs +0 -153
  102. package/esm2022/datetimepicker/models/active-tab.type.mjs +0 -5
  103. package/esm2022/defaults.mjs +0 -24
  104. package/esm2022/directives.mjs +0 -146
  105. package/esm2022/index.mjs +0 -78
  106. package/esm2022/package-metadata.mjs +0 -16
  107. package/esm2022/popup-settings.model.mjs +0 -5
  108. package/esm2022/preventable-event.mjs +0 -27
  109. package/esm2022/progress-kendo-angular-dateinputs.mjs +0 -8
  110. package/esm2022/timepicker/localization/messages.mjs +0 -105
  111. package/esm2022/timepicker/localization/timepicker-custom-messages.component.mjs +0 -54
  112. package/esm2022/timepicker/localization/timepicker-localized-messages.directive.mjs +0 -39
  113. package/esm2022/timepicker/localization/timeselector-custom-messages.component.mjs +0 -45
  114. package/esm2022/timepicker/localization/timeselector-localized-messages.directive.mjs +0 -39
  115. package/esm2022/timepicker/models/incremental-steps.model.mjs +0 -5
  116. package/esm2022/timepicker/models/list-item.interface.mjs +0 -5
  117. package/esm2022/timepicker/models/list-service-settings.mjs +0 -5
  118. package/esm2022/timepicker/models/list-service.interface.mjs +0 -5
  119. package/esm2022/timepicker/models/time-part.default.mjs +0 -14
  120. package/esm2022/timepicker/services/dayperiod.service.mjs +0 -131
  121. package/esm2022/timepicker/services/dom.service.mjs +0 -126
  122. package/esm2022/timepicker/services/hours.service.mjs +0 -130
  123. package/esm2022/timepicker/services/milliseconds.service.mjs +0 -131
  124. package/esm2022/timepicker/services/minutes.service.mjs +0 -128
  125. package/esm2022/timepicker/services/seconds.service.mjs +0 -128
  126. package/esm2022/timepicker/timelist.component.mjs +0 -388
  127. package/esm2022/timepicker/timepicker.component.mjs +0 -1598
  128. package/esm2022/timepicker/timepicker.module.mjs +0 -71
  129. package/esm2022/timepicker/timeselector.component.mjs +0 -728
  130. package/esm2022/timepicker/util.mjs +0 -70
  131. package/esm2022/util.mjs +0 -406
  132. package/esm2022/validators/disabled-date.validator.mjs +0 -18
  133. package/esm2022/validators/disabled-dates-range.validator.mjs +0 -26
  134. package/esm2022/validators/incomplete-date.validator.mjs +0 -18
  135. package/esm2022/validators/max.validator.mjs +0 -21
  136. package/esm2022/validators/min.validator.mjs +0 -21
  137. package/esm2022/validators/time-range.validator.mjs +0 -23
  138. package/esm2022/virtualization/models/scrollable.interface.mjs +0 -5
  139. package/esm2022/virtualization/services/row-height.service.mjs +0 -73
  140. package/esm2022/virtualization/services/scroller.service.mjs +0 -109
  141. package/esm2022/virtualization/virtualization.component.mjs +0 -324
@@ -1,45 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { Directive, TemplateRef } from '@angular/core';
6
- import * as i0 from "@angular/core";
7
- /**
8
- * A directive for customizing the cells in the Calendar component.
9
- *
10
- * This directive allows you to define a custom template for rendering the content of calendar cells
11
- * in the month view. The template context provides access to the current date and cell context information.
12
- *
13
- * Template Context Variables:
14
- * - `date` - The Date object representing the current cell's date
15
- * - `cellContext` - Additional context information about the current cell
16
- *
17
- * For more examples, refer to the article on [templates]({% slug templates_calendar %}).
18
- *
19
- * `kendoCalendarCellTemplate` is equivalent to
20
- * [`kendoCalendarMonthCellTemplate`]({% slug api_dateinputs_monthcelltemplatedirective %}).
21
- *
22
- * @example
23
- * ```html
24
- * <kendo-calendar>
25
- * <ng-template kendoCalendarCellTemplate let-date let-cellContext="cellContext">
26
- * <span class="custom">{{date.getDate()}}</span>
27
- * </ng-template>
28
- * </kendo-calendar>
29
- * ```
30
- */
31
- export class CellTemplateDirective {
32
- templateRef;
33
- constructor(templateRef) {
34
- this.templateRef = templateRef;
35
- }
36
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CellTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
37
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: CellTemplateDirective, isStandalone: true, selector: "[kendoCalendarCellTemplate]", ngImport: i0 });
38
- }
39
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CellTemplateDirective, decorators: [{
40
- type: Directive,
41
- args: [{
42
- selector: '[kendoCalendarCellTemplate]',
43
- standalone: true
44
- }]
45
- }], ctorParameters: () => [{ type: i0.TemplateRef }] });
@@ -1,43 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { Directive, TemplateRef } from '@angular/core';
6
- import * as i0 from "@angular/core";
7
- /**
8
- * A directive for customizing the century cells in the Calendar component.
9
- *
10
- * This directive allows you to define a custom template for rendering the content of century cells
11
- * when the Calendar is in century view. The template context provides access to the current date
12
- * and cell context information.
13
- *
14
- * Template Context Variables:
15
- * - `date` - The Date object representing the current cell's date
16
- * - `cellContext` - Additional context information about the current century cell
17
- *
18
- * For more examples, refer to the article on [templates]({% slug templates_calendar %}).
19
- *
20
- * @example
21
- * ```html
22
- * <kendo-calendar [activeView]="activeView">
23
- * <ng-template kendoCalendarCenturyCellTemplate let-context="cellContext">
24
- * <span class="custom">{{context.formattedValue}}</span>
25
- * </ng-template>
26
- * </kendo-calendar>
27
- * ```
28
- */
29
- export class CenturyCellTemplateDirective {
30
- templateRef;
31
- constructor(templateRef) {
32
- this.templateRef = templateRef;
33
- }
34
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CenturyCellTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
35
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: CenturyCellTemplateDirective, isStandalone: true, selector: "[kendoCalendarCenturyCellTemplate]", ngImport: i0 });
36
- }
37
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CenturyCellTemplateDirective, decorators: [{
38
- type: Directive,
39
- args: [{
40
- selector: '[kendoCalendarCenturyCellTemplate]',
41
- standalone: true
42
- }]
43
- }], ctorParameters: () => [{ type: i0.TemplateRef }] });
@@ -1,43 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { Directive, TemplateRef } from '@angular/core';
6
- import * as i0 from "@angular/core";
7
- /**
8
- * A directive for customizing the decade cells in the Calendar component.
9
- *
10
- * This directive allows you to define a custom template for rendering the content of decade cells
11
- * when the Calendar is in decade view. The template context provides access to the current date
12
- * and cell context information.
13
- *
14
- * Template Context Variables:
15
- * - `date` - The Date object representing the current cell's date
16
- * - `cellContext` - Additional context information about the current decade cell
17
- *
18
- * For more examples, refer to the article on [templates]({% slug templates_calendar %}).
19
- *
20
- * @example
21
- * ```html
22
- * <kendo-calendar [activeView]="activeView">
23
- * <ng-template kendoCalendarDecadeCellTemplate let-context="cellContext">
24
- * <span class="custom">{{context.formattedValue}}</span>
25
- * </ng-template>
26
- * </kendo-calendar>
27
- * ```
28
- */
29
- export class DecadeCellTemplateDirective {
30
- templateRef;
31
- constructor(templateRef) {
32
- this.templateRef = templateRef;
33
- }
34
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: DecadeCellTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
35
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: DecadeCellTemplateDirective, isStandalone: true, selector: "[kendoCalendarDecadeCellTemplate]", ngImport: i0 });
36
- }
37
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: DecadeCellTemplateDirective, decorators: [{
38
- type: Directive,
39
- args: [{
40
- selector: '[kendoCalendarDecadeCellTemplate]',
41
- standalone: true
42
- }]
43
- }], ctorParameters: () => [{ type: i0.TemplateRef }] });
@@ -1,44 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { Directive, TemplateRef } from '@angular/core';
6
- import * as i0 from "@angular/core";
7
- /**
8
- * A directive for customizing the footer in the Calendar component.
9
- *
10
- * This directive allows you to define a custom template for rendering the footer content.
11
- * The template context provides access to the current date and active view.
12
- *
13
- * Template Context Variables:
14
- * - `date` - The Date object representing the current calendar context
15
- * - `activeView` - The current active view of the Calendar
16
- *
17
- * For more examples, refer to the article on [templates]({% slug templates_calendar %}).
18
- *
19
- * @example
20
- * ```html
21
- * <kendo-calendar>
22
- * <ng-template kendoCalendarFooterTemplate let-date let-activeView="activeView">
23
- * <div class="custom">
24
- * Today: {{date | date:'short'}} ({{activeView}} view)
25
- * </div>
26
- * </ng-template>
27
- * </kendo-calendar>
28
- * ```
29
- */
30
- export class FooterTemplateDirective {
31
- templateRef;
32
- constructor(templateRef) {
33
- this.templateRef = templateRef;
34
- }
35
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FooterTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
36
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: FooterTemplateDirective, isStandalone: true, selector: "[kendoCalendarFooterTemplate]", ngImport: i0 });
37
- }
38
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FooterTemplateDirective, decorators: [{
39
- type: Directive,
40
- args: [{
41
- selector: '[kendoCalendarFooterTemplate]',
42
- standalone: true
43
- }]
44
- }], ctorParameters: () => [{ type: i0.TemplateRef }] });
@@ -1,47 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { Directive, TemplateRef } from '@angular/core';
6
- import * as i0 from "@angular/core";
7
- /**
8
- * A directive for customizing the entire header in the Calendar component.
9
- *
10
- * This directive allows you to define a custom template for rendering the complete header content,
11
- * including navigation controls and title. The template context provides access to the title text,
12
- * current date, and active view.
13
- *
14
- * Template Context Variables:
15
- * - `title` - The formatted title text for the header
16
- * - `date` - The Date object representing the current header context
17
- * - `activeView` - The current active view of the Calendar
18
- *
19
- * For more examples, refer to the article on [templates]({% slug templates_calendar %}).
20
- *
21
- * @example
22
- * ```html
23
- * <kendo-calendar>
24
- * <ng-template kendoCalendarHeaderTemplate let-title let-date="date">
25
- * <div class="custom">
26
- * <span>{{title}}</span>
27
- * <small>{{date | date:'yyyy-MM-dd'}}</small>
28
- * </div>
29
- * </ng-template>
30
- * </kendo-calendar>
31
- * ```
32
- */
33
- export class HeaderTemplateDirective {
34
- templateRef;
35
- constructor(templateRef) {
36
- this.templateRef = templateRef;
37
- }
38
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: HeaderTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
39
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: HeaderTemplateDirective, isStandalone: true, selector: "[kendoCalendarHeaderTemplate]", ngImport: i0 });
40
- }
41
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: HeaderTemplateDirective, decorators: [{
42
- type: Directive,
43
- args: [{
44
- selector: '[kendoCalendarHeaderTemplate]',
45
- standalone: true
46
- }]
47
- }], ctorParameters: () => [{ type: i0.TemplateRef }] });
@@ -1,43 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { Directive, TemplateRef } from '@angular/core';
6
- import * as i0 from "@angular/core";
7
- /**
8
- * A directive for customizing the header title in the Calendar component.
9
- *
10
- * This directive allows you to define a custom template for rendering the header title content.
11
- * The template context provides access to the title text, current date, and active view.
12
- *
13
- * Template Context Variables:
14
- * - `title` - The formatted title text for the header
15
- * - `date` - The Date object representing the current header context
16
- * - `activeView` - The current active view of the Calendar
17
- *
18
- * For more examples, refer to the article on [templates]({% slug templates_calendar %}).
19
- *
20
- * @example
21
- * ```html
22
- * <kendo-calendar>
23
- * <ng-template kendoCalendarHeaderTitleTemplate let-title let-activeView="activeView">
24
- * <span class="custom">{{title}} ({{activeView}})</span>
25
- * </ng-template>
26
- * </kendo-calendar>
27
- * ```
28
- */
29
- export class HeaderTitleTemplateDirective {
30
- templateRef;
31
- constructor(templateRef) {
32
- this.templateRef = templateRef;
33
- }
34
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: HeaderTitleTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
35
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: HeaderTitleTemplateDirective, isStandalone: true, selector: "[kendoCalendarHeaderTitleTemplate]", ngImport: i0 });
36
- }
37
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: HeaderTitleTemplateDirective, decorators: [{
38
- type: Directive,
39
- args: [{
40
- selector: '[kendoCalendarHeaderTitleTemplate]',
41
- standalone: true
42
- }]
43
- }], ctorParameters: () => [{ type: i0.TemplateRef }] });
@@ -1,43 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { Directive, TemplateRef } from '@angular/core';
6
- import * as i0 from "@angular/core";
7
- /**
8
- * A directive for customizing the month cells in the Calendar component.
9
- *
10
- * This directive allows you to define a custom template for rendering the content of month cells
11
- * when the Calendar is in year view. The template context provides access to the current date
12
- * and cell context information.
13
- *
14
- * Template Context Variables:
15
- * - `date` - The Date object representing the current cell's date
16
- * - `cellContext` - Additional context information about the current month cell
17
- *
18
- * For more examples, refer to the article on [templates]({% slug templates_calendar %}).
19
- *
20
- * @example
21
- * ```html
22
- * <kendo-calendar [activeView]="'year'">
23
- * <ng-template kendoCalendarMonthCellTemplate let-context="cellContext">
24
- * <span class="custom">{{context.formattedValue}}</span>
25
- * </ng-template>
26
- * </kendo-calendar>
27
- * ```
28
- */
29
- export class MonthCellTemplateDirective {
30
- templateRef;
31
- constructor(templateRef) {
32
- this.templateRef = templateRef;
33
- }
34
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: MonthCellTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
35
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: MonthCellTemplateDirective, isStandalone: true, selector: "[kendoCalendarMonthCellTemplate]", ngImport: i0 });
36
- }
37
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: MonthCellTemplateDirective, decorators: [{
38
- type: Directive,
39
- args: [{
40
- selector: '[kendoCalendarMonthCellTemplate]',
41
- standalone: true
42
- }]
43
- }], ctorParameters: () => [{ type: i0.TemplateRef }] });
@@ -1,43 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { Directive, TemplateRef } from '@angular/core';
6
- import * as i0 from "@angular/core";
7
- /**
8
- * A directive for customizing the navigation items in the Calendar component.
9
- *
10
- * This directive allows you to define a custom template for rendering the content of navigation items
11
- * in the Calendar header. The template context provides access to the title, current date, and active view.
12
- *
13
- * Template Context Variables:
14
- * - `title` - The formatted title text for the navigation item
15
- * - `date` - The Date object representing the current navigation context
16
- * - `activeView` - The current active view of the Calendar
17
- *
18
- * For more examples, refer to the article on [templates]({% slug templates_calendar %}).
19
- *
20
- * @example
21
- * ```html
22
- * <kendo-calendar>
23
- * <ng-template kendoCalendarNavigationItemTemplate let-title let-date="date">
24
- * <span class="custom">{{title}} - {{date | date:'yyyy'}}</span>
25
- * </ng-template>
26
- * </kendo-calendar>
27
- * ```
28
- */
29
- export class NavigationItemTemplateDirective {
30
- templateRef;
31
- constructor(templateRef) {
32
- this.templateRef = templateRef;
33
- }
34
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: NavigationItemTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
35
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: NavigationItemTemplateDirective, isStandalone: true, selector: "[kendoCalendarNavigationItemTemplate]", ngImport: i0 });
36
- }
37
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: NavigationItemTemplateDirective, decorators: [{
38
- type: Directive,
39
- args: [{
40
- selector: '[kendoCalendarNavigationItemTemplate]',
41
- standalone: true
42
- }]
43
- }], ctorParameters: () => [{ type: i0.TemplateRef }] });
@@ -1,43 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { Directive, TemplateRef } from '@angular/core';
6
- import * as i0 from "@angular/core";
7
- /**
8
- * A directive for customizing the week number cells in the Calendar component.
9
- *
10
- * This directive allows you to define a custom template for rendering the content of week number cells
11
- * in the month view when the weekNumber property is enabled. The template context provides access to
12
- * the current date and cell context information.
13
- *
14
- * Template Context Variables:
15
- * - `date` - The Date object representing the current week's date
16
- * - `cellContext` - Additional context information about the current week number cell
17
- *
18
- * For more examples, refer to the article on [templates]({% slug templates_calendar %}).
19
- *
20
- * @example
21
- * ```html
22
- * <kendo-calendar [weekNumber]="true">
23
- * <ng-template kendoCalendarWeekNumberCellTemplate let-context="cellContext">
24
- * <span class="custom">W{{context.formattedValue}}</span>
25
- * </ng-template>
26
- * </kendo-calendar>
27
- * ```
28
- */
29
- export class WeekNumberCellTemplateDirective {
30
- templateRef;
31
- constructor(templateRef) {
32
- this.templateRef = templateRef;
33
- }
34
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: WeekNumberCellTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
35
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: WeekNumberCellTemplateDirective, isStandalone: true, selector: "[kendoCalendarWeekNumberCellTemplate]", ngImport: i0 });
36
- }
37
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: WeekNumberCellTemplateDirective, decorators: [{
38
- type: Directive,
39
- args: [{
40
- selector: '[kendoCalendarWeekNumberCellTemplate]',
41
- standalone: true
42
- }]
43
- }], ctorParameters: () => [{ type: i0.TemplateRef }] });
@@ -1,43 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { Directive, TemplateRef } from '@angular/core';
6
- import * as i0 from "@angular/core";
7
- /**
8
- * A directive for customizing the year cells in the Calendar component.
9
- *
10
- * This directive allows you to define a custom template for rendering the content of year cells
11
- * when the Calendar is in year view. The template context provides access to the current date
12
- * and cell context information.
13
- *
14
- * Template Context Variables:
15
- * - `date` - The Date object representing the current cell's date
16
- * - `cellContext` - Additional context information about the current year cell
17
- *
18
- * For more examples, refer to the article on [templates]({% slug templates_calendar %}).
19
- *
20
- * @example
21
- * ```html
22
- * <kendo-calendar [activeView]="'year'">
23
- * <ng-template kendoCalendarYearCellTemplate let-context="cellContext">
24
- * <span class="custom">{{context.formattedValue}}</span>
25
- * </ng-template>
26
- * </kendo-calendar>
27
- * ```
28
- */
29
- export class YearCellTemplateDirective {
30
- templateRef;
31
- constructor(templateRef) {
32
- this.templateRef = templateRef;
33
- }
34
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: YearCellTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
35
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: YearCellTemplateDirective, isStandalone: true, selector: "[kendoCalendarYearCellTemplate]", ngImport: i0 });
36
- }
37
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: YearCellTemplateDirective, decorators: [{
38
- type: Directive,
39
- args: [{
40
- selector: '[kendoCalendarYearCellTemplate]',
41
- standalone: true
42
- }]
43
- }], ctorParameters: () => [{ type: i0.TemplateRef }] });