@progress/kendo-angular-scheduler 4.3.5 → 4.3.6

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 (130) hide show
  1. package/README.md +14 -12
  2. package/bundles/kendo-angular-scheduler.umd.js +1 -1
  3. package/esm2015/data-binding.directive.js +3 -3
  4. package/esm2015/editing/date-time-picker.component.js +3 -3
  5. package/esm2015/editing/dialogs.service.js +3 -3
  6. package/esm2015/editing/edit-dialog-template.directive.js +3 -3
  7. package/esm2015/editing/edit-dialog.component.js +3 -3
  8. package/esm2015/editing/edit.service.js +3 -3
  9. package/esm2015/editing/local-data-changes.service.js +3 -3
  10. package/esm2015/editing/recurrence/end-rule-radio-button.directive.js +3 -3
  11. package/esm2015/editing/recurrence/localization/custom-messages.component.js +3 -3
  12. package/esm2015/editing/recurrence/localization/localized-messages.directive.js +3 -3
  13. package/esm2015/editing/recurrence/localization/messages.js +3 -3
  14. package/esm2015/editing/recurrence/localization/recurrence-localization.service.js +3 -3
  15. package/esm2015/editing/recurrence/recurrence-editor.component.js +3 -3
  16. package/esm2015/editing/recurrence/recurrence-end-rule-editor.component.js +3 -3
  17. package/esm2015/editing/recurrence/recurrence-frequency-editor.component.js +3 -3
  18. package/esm2015/editing/recurrence/recurrence-interval-editor.component.js +3 -3
  19. package/esm2015/editing/recurrence/recurrence-monthly-yearly-editor.component.js +3 -3
  20. package/esm2015/editing/recurrence/recurrence-weekday-rule-editor.component.js +3 -3
  21. package/esm2015/editing/recurrence/recurrence.service.js +3 -3
  22. package/esm2015/editing/recurrence/repeat-on-radio-button.directive.js +3 -3
  23. package/esm2015/editing/resource-editor-base.js +3 -3
  24. package/esm2015/editing/resource-multiple-editor.component.js +3 -3
  25. package/esm2015/editing/resource-single-editor.component.js +3 -3
  26. package/esm2015/editing/timezone-editor.component.js +3 -3
  27. package/esm2015/editing-directives/editing-directive-base.js +6 -5
  28. package/esm2015/editing-directives/reactive-editing.directive.js +3 -3
  29. package/esm2015/loading.component.js +3 -3
  30. package/esm2015/localization/custom-messages.component.js +3 -3
  31. package/esm2015/localization/localized-messages.directive.js +3 -3
  32. package/esm2015/localization/messages.js +3 -3
  33. package/esm2015/localization/scheduler-localization.service.js +3 -3
  34. package/esm2015/main.js +1 -0
  35. package/esm2015/navigation/focus.service.js +35 -31
  36. package/esm2015/navigation/focusable.directive.js +17 -4
  37. package/esm2015/navigation/shortcuts.directive.js +36 -5
  38. package/esm2015/package-metadata.js +1 -1
  39. package/esm2015/pdf/pdf-command.directive.js +3 -3
  40. package/esm2015/pdf/pdf.component.js +3 -3
  41. package/esm2015/pdf/pdf.module.js +4 -4
  42. package/esm2015/pdf/pdf.service.js +3 -3
  43. package/esm2015/scheduler.component.js +20 -13
  44. package/esm2015/scheduler.module.js +4 -4
  45. package/esm2015/shared.module.js +13 -7
  46. package/esm2015/toolbar/navigation.component.js +40 -19
  47. package/esm2015/toolbar/toolbar-template.directive.js +3 -3
  48. package/esm2015/toolbar/toolbar.component.js +3 -3
  49. package/esm2015/toolbar/toolbar.module.js +11 -7
  50. package/esm2015/toolbar/toolbar.service.js +3 -3
  51. package/esm2015/toolbar/view-selector.component.js +16 -11
  52. package/esm2015/types/focusable-container.js +5 -0
  53. package/esm2015/views/agenda/agenda-header-item.component.js +3 -3
  54. package/esm2015/views/agenda/agenda-header.component.js +7 -7
  55. package/esm2015/views/agenda/agenda-task-item.component.js +3 -3
  56. package/esm2015/views/agenda/agenda-view-internal.component.js +3 -3
  57. package/esm2015/views/agenda/agenda-view-list.component.js +4 -4
  58. package/esm2015/views/agenda/agenda-view.component.js +3 -3
  59. package/esm2015/views/agenda/agenda-view.module.js +4 -4
  60. package/esm2015/views/common/base-view.js +12 -4
  61. package/esm2015/views/common/configuration-view-base.js +3 -3
  62. package/esm2015/views/common/dom-events.service.js +3 -3
  63. package/esm2015/views/common/hint-container.component.js +3 -3
  64. package/esm2015/views/common/repeat.pipe.js +3 -3
  65. package/esm2015/views/common/resize-hint.component.js +3 -3
  66. package/esm2015/views/common/resource-iterator.pipe.js +3 -3
  67. package/esm2015/views/common/slot-selectable.directive.js +3 -3
  68. package/esm2015/views/common/view-footer.component.js +31 -10
  69. package/esm2015/views/common/views-shared.module.js +4 -4
  70. package/esm2015/views/common/work-hours-footer.directive.js +3 -3
  71. package/esm2015/views/day-time/day-time-slot.service.js +17 -11
  72. package/esm2015/views/day-time/day-time-view-base.js +3 -3
  73. package/esm2015/views/day-time/day-time-view-item.component.js +3 -3
  74. package/esm2015/views/day-time/day-time-view.component.js +6 -9
  75. package/esm2015/views/day-time/day-time.module.js +4 -4
  76. package/esm2015/views/day-time/event-slot.directive.js +6 -6
  77. package/esm2015/views/month/month-slot.directive.js +3 -3
  78. package/esm2015/views/month/month-view-item.component.js +3 -3
  79. package/esm2015/views/month/month-view-renderer.component.js +27 -20
  80. package/esm2015/views/month/month-view.component.js +3 -3
  81. package/esm2015/views/month/month-view.module.js +4 -4
  82. package/esm2015/views/multi-day/day-view.component.js +3 -3
  83. package/esm2015/views/multi-day/multi-day-view-base.js +3 -3
  84. package/esm2015/views/multi-day/multi-day-view-renderer.component.js +27 -18
  85. package/esm2015/views/multi-day/multi-day-view.component.js +3 -3
  86. package/esm2015/views/multi-day/multi-day-view.module.js +4 -4
  87. package/esm2015/views/multi-day/week-view.component.js +3 -3
  88. package/esm2015/views/multi-day/work-week-view.component.js +3 -3
  89. package/esm2015/views/scheduler-view.directive.js +3 -3
  90. package/esm2015/views/templates/agenda-date-template.directive.js +3 -3
  91. package/esm2015/views/templates/agenda-time-template.directive.js +3 -3
  92. package/esm2015/views/templates/all-day-event-template.directive.js +3 -3
  93. package/esm2015/views/templates/all-day-slot-template.directive.js +3 -3
  94. package/esm2015/views/templates/date-header-template.directive.js +3 -3
  95. package/esm2015/views/templates/event-template.directive.js +3 -3
  96. package/esm2015/views/templates/group-header-template.directive.js +3 -3
  97. package/esm2015/views/templates/major-time-header-template.directive.js +3 -3
  98. package/esm2015/views/templates/minor-time-header-template.directive.js +3 -3
  99. package/esm2015/views/templates/month-day-slot-template.directive.js +3 -3
  100. package/esm2015/views/templates/time-slot-template.directive.js +3 -3
  101. package/esm2015/views/timeline/timeline-base.js +3 -3
  102. package/esm2015/views/timeline/timeline-month-view.component.js +3 -3
  103. package/esm2015/views/timeline/timeline-multi-day-view.component.js +31 -21
  104. package/esm2015/views/timeline/timeline-view.component.js +3 -3
  105. package/esm2015/views/timeline/timeline-view.module.js +4 -4
  106. package/esm2015/views/timeline/timeline-week-view.component.js +3 -3
  107. package/esm2015/views/timeline/utils.js +19 -0
  108. package/esm2015/views/view-context.service.js +3 -3
  109. package/esm2015/views/view-items/base-slot.directive.js +3 -3
  110. package/esm2015/views/view-items/base-view-item.js +3 -3
  111. package/esm2015/views/view-state.service.js +7 -3
  112. package/fesm2015/kendo-angular-scheduler.js +691 -525
  113. package/main.d.ts +1 -0
  114. package/navigation/focus.service.d.ts +6 -6
  115. package/navigation/focusable-element.interface.d.ts +5 -0
  116. package/navigation/focusable.directive.d.ts +4 -1
  117. package/package.json +2 -2
  118. package/scheduler.component.d.ts +1 -1
  119. package/shared.module.d.ts +2 -1
  120. package/toolbar/toolbar.module.d.ts +2 -1
  121. package/types/actions.d.ts +15 -8
  122. package/types/focusable-container.d.ts +8 -0
  123. package/views/common/base-view.d.ts +5 -0
  124. package/views/common/view-footer.component.d.ts +4 -0
  125. package/views/day-time/day-time-view.component.d.ts +1 -3
  126. package/views/month/month-view-renderer.component.d.ts +1 -3
  127. package/views/multi-day/multi-day-view-renderer.component.d.ts +1 -2
  128. package/views/timeline/timeline-multi-day-view.component.d.ts +1 -2
  129. package/views/timeline/utils.d.ts +11 -0
  130. package/views/view-state.service.d.ts +5 -1
@@ -17,8 +17,8 @@ export class DomEventsService {
17
17
  this.windowBlur = new EventEmitter();
18
18
  }
19
19
  }
20
- DomEventsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DomEventsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
21
- DomEventsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DomEventsService });
22
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DomEventsService, decorators: [{
20
+ DomEventsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: DomEventsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
21
+ DomEventsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: DomEventsService });
22
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: DomEventsService, decorators: [{
23
23
  type: Injectable
24
24
  }] });
@@ -17,12 +17,12 @@ export class HintContainerComponent {
17
17
  this.changeDetector.detectChanges();
18
18
  }
19
19
  }
20
- HintContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: HintContainerComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
21
- HintContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: HintContainerComponent, selector: "kendo-hint-container", queries: [{ propertyName: "hintTemplate", first: true, predicate: TemplateRef, descendants: true }], ngImport: i0, template: `
20
+ HintContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: HintContainerComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
21
+ HintContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: HintContainerComponent, selector: "kendo-hint-container", queries: [{ propertyName: "hintTemplate", first: true, predicate: TemplateRef, descendants: true }], ngImport: i0, template: `
22
22
  <ng-container [ngTemplateOutlet]="hintTemplate">
23
23
  </ng-container>
24
24
  `, isInline: true, directives: [{ type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
25
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: HintContainerComponent, decorators: [{
25
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: HintContainerComponent, decorators: [{
26
26
  type: Component,
27
27
  args: [{
28
28
  selector: 'kendo-hint-container',
@@ -23,9 +23,9 @@ export class RepeatPipe {
23
23
  return new NumberIterator(value);
24
24
  }
25
25
  }
26
- RepeatPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RepeatPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
27
- RepeatPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RepeatPipe, name: "repeat" });
28
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RepeatPipe, decorators: [{
26
+ RepeatPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: RepeatPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
27
+ RepeatPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: RepeatPipe, name: "repeat" });
28
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: RepeatPipe, decorators: [{
29
29
  type: Pipe,
30
30
  args: [{
31
31
  // eslint-disable-next-line @angular-eslint/pipe-prefix
@@ -33,15 +33,15 @@ export class ResizeHintComponent {
33
33
  return toLocalDate(this.hint.end);
34
34
  }
35
35
  }
36
- ResizeHintComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ResizeHintComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
37
- ResizeHintComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: ResizeHintComponent, selector: "[kendoResizeHint]", inputs: { hint: "hint", format: "format" }, host: { properties: { "class.k-marquee": "this.marqueeClasses", "class.k-scheduler-marquee": "this.marqueeClasses", "class.k-first": "this.marqueeClasses", "class.k-last": "this.marqueeClasses", "style.left.px": "this.left", "style.right.px": "this.left", "style.top.px": "this.top", "style.width.px": "this.width", "style.height.px": "this.height" } }, ngImport: i0, template: `
36
+ ResizeHintComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ResizeHintComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
37
+ ResizeHintComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: ResizeHintComponent, selector: "[kendoResizeHint]", inputs: { hint: "hint", format: "format" }, host: { properties: { "class.k-marquee": "this.marqueeClasses", "class.k-scheduler-marquee": "this.marqueeClasses", "class.k-first": "this.marqueeClasses", "class.k-last": "this.marqueeClasses", "style.left.px": "this.left", "style.right.px": "this.left", "style.top.px": "this.top", "style.width.px": "this.width", "style.height.px": "this.height" } }, ngImport: i0, template: `
38
38
  <div class="k-marquee-color"></div>
39
39
  <div class="k-marquee-text">
40
40
  <div class="k-label-top" *ngIf="hint.first">{{ start | kendoDate : format }}</div>
41
41
  <div class="k-label-bottom" *ngIf="hint.last">{{ end | kendoDate : format }}</div>
42
42
  </div>
43
43
  `, isInline: true, directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "kendoDate": i2.DatePipe } });
44
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ResizeHintComponent, decorators: [{
44
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ResizeHintComponent, decorators: [{
45
45
  type: Component,
46
46
  args: [{
47
47
  // eslint-disable-next-line @angular-eslint/component-selector
@@ -35,9 +35,9 @@ export class ResourceIteratorPipe {
35
35
  return new ResourceIterator(resources, lastIndex);
36
36
  }
37
37
  }
38
- ResourceIteratorPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ResourceIteratorPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
39
- ResourceIteratorPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ResourceIteratorPipe, name: "resourceIterator" });
40
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ResourceIteratorPipe, decorators: [{
38
+ ResourceIteratorPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ResourceIteratorPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
39
+ ResourceIteratorPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ResourceIteratorPipe, name: "resourceIterator" });
40
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ResourceIteratorPipe, decorators: [{
41
41
  type: Pipe,
42
42
  args: [{
43
43
  // eslint-disable-next-line @angular-eslint/pipe-prefix
@@ -97,9 +97,9 @@ export class SlotSelectableDirective {
97
97
  return intersects(start, end, this.selectedRange.start, this.selectedRange.end);
98
98
  }
99
99
  }
100
- SlotSelectableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SlotSelectableDirective, deps: [{ token: i1.SchedulerComponent }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
101
- SlotSelectableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: SlotSelectableDirective, selector: "[kendoSchedulerSlotSelectable]", inputs: { slotSelection: "slotSelection" }, outputs: { slotSelectionChange: "slotSelectionChange" }, usesOnChanges: true, ngImport: i0 });
102
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SlotSelectableDirective, decorators: [{
100
+ SlotSelectableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: SlotSelectableDirective, deps: [{ token: i1.SchedulerComponent }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
101
+ SlotSelectableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: SlotSelectableDirective, selector: "[kendoSchedulerSlotSelectable]", inputs: { slotSelection: "slotSelection" }, outputs: { slotSelectionChange: "slotSelectionChange" }, usesOnChanges: true, ngImport: i0 });
102
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: SlotSelectableDirective, decorators: [{
103
103
  type: Directive,
104
104
  args: [{
105
105
  selector: '[kendoSchedulerSlotSelectable]'
@@ -4,13 +4,15 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { Component, Input, HostBinding, Output, EventEmitter } from '@angular/core';
6
6
  import * as i0 from "@angular/core";
7
- import * as i1 from "@angular/common";
8
- import * as i2 from "@progress/kendo-angular-buttons";
7
+ import * as i1 from "../view-state.service";
8
+ import * as i2 from "@angular/common";
9
+ import * as i3 from "@progress/kendo-angular-buttons";
10
+ import * as i4 from "../../navigation/focusable.directive";
9
11
  /**
10
12
  * @hidden
11
13
  */
12
14
  export class ViewFooterComponent {
13
- constructor() {
15
+ constructor(viewState) {
14
16
  this.hostClasses = true;
15
17
  /**
16
18
  * @hidden
@@ -18,36 +20,55 @@ export class ViewFooterComponent {
18
20
  */
19
21
  this.inlineJustifyContentStyle = 'start';
20
22
  this.itemClick = new EventEmitter();
23
+ this.sub = viewState.toggleWorkHours.subscribe(() => this.itemClick.emit());
24
+ }
25
+ ngOnDestroy() {
26
+ // eslint-disable-next-line no-unused-expressions
27
+ this.sub && this.sub.unsubscribe();
21
28
  }
22
29
  onItemClick(e, item) {
23
30
  e.preventDefault();
24
31
  this.itemClick.emit(item);
25
32
  }
26
33
  }
27
- ViewFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ViewFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
28
- ViewFooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: ViewFooterComponent, selector: "[viewFooter]", inputs: { items: "items" }, outputs: { itemClick: "itemClick" }, host: { properties: { "class.k-scheduler-footer": "this.hostClasses", "class.k-toolbar": "this.hostClasses", "style.justify-content": "this.inlineJustifyContentStyle" } }, ngImport: i0, template: `
34
+ ViewFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ViewFooterComponent, deps: [{ token: i1.ViewStateService }], target: i0.ɵɵFactoryTarget.Component });
35
+ ViewFooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: ViewFooterComponent, selector: "[viewFooter]", inputs: { items: "items" }, outputs: { itemClick: "itemClick" }, host: { properties: { "class.k-scheduler-footer": "this.hostClasses", "class.k-toolbar": "this.hostClasses", "style.justify-content": "this.inlineJustifyContentStyle" } }, ngImport: i0, template: `
29
36
  <span class="k-scheduler-navigation">
30
- <button type="button" kendoButton *ngFor="let item of items" [ngClass]="item.cssClass" (click)="onItemClick($event, item)">
37
+ <button
38
+ type="button"
39
+ kendoButton
40
+ *ngFor="let item of items"
41
+ [ngClass]="item.cssClass"
42
+ (click)="onItemClick($event, item)"
43
+ [kendoSchedulerFocusIndex]="0"
44
+ containerType='footer'>
31
45
  <span class="k-button-icon k-icon" [ngClass]="item.iconClass"></span>
32
46
  <span class="k-button-text">{{ item.text }}</span>
33
47
  </button>
34
48
  </span>
35
- `, isInline: true, directives: [{ type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2.ButtonDirective, selector: "button[kendoButton], span[kendoButton]", inputs: ["toggleable", "togglable", "selected", "tabIndex", "icon", "iconClass", "imageUrl", "disabled", "size", "rounded", "fillMode", "themeColor", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
36
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ViewFooterComponent, decorators: [{
49
+ `, isInline: true, directives: [{ type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i3.ButtonDirective, selector: "button[kendoButton], span[kendoButton]", inputs: ["toggleable", "togglable", "selected", "tabIndex", "icon", "iconClass", "imageUrl", "disabled", "size", "rounded", "fillMode", "themeColor", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.FocusableDirective, selector: "[kendoSchedulerFocusIndex]", inputs: ["kendoSchedulerFocusIndex", "containerType"] }] });
50
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ViewFooterComponent, decorators: [{
37
51
  type: Component,
38
52
  args: [{
39
53
  // eslint-disable-next-line @angular-eslint/component-selector
40
54
  selector: '[viewFooter]',
41
55
  template: `
42
56
  <span class="k-scheduler-navigation">
43
- <button type="button" kendoButton *ngFor="let item of items" [ngClass]="item.cssClass" (click)="onItemClick($event, item)">
57
+ <button
58
+ type="button"
59
+ kendoButton
60
+ *ngFor="let item of items"
61
+ [ngClass]="item.cssClass"
62
+ (click)="onItemClick($event, item)"
63
+ [kendoSchedulerFocusIndex]="0"
64
+ containerType='footer'>
44
65
  <span class="k-button-icon k-icon" [ngClass]="item.iconClass"></span>
45
66
  <span class="k-button-text">{{ item.text }}</span>
46
67
  </button>
47
68
  </span>
48
69
  `
49
70
  }]
50
- }], propDecorators: { hostClasses: [{
71
+ }], ctorParameters: function () { return [{ type: i1.ViewStateService }]; }, propDecorators: { hostClasses: [{
51
72
  type: HostBinding,
52
73
  args: ['class.k-scheduler-footer']
53
74
  }, {
@@ -27,8 +27,8 @@ const DECLARATIONS = [
27
27
  */
28
28
  export class ViewsSharedModule {
29
29
  }
30
- ViewsSharedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ViewsSharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
31
- ViewsSharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ViewsSharedModule, declarations: [ViewFooterComponent,
30
+ ViewsSharedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ViewsSharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
31
+ ViewsSharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ViewsSharedModule, declarations: [ViewFooterComponent,
32
32
  WorkHoursFooterDirective,
33
33
  RepeatPipe,
34
34
  ResourceIteratorPipe,
@@ -41,10 +41,10 @@ ViewsSharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", versi
41
41
  ResizeHintComponent, IntlModule,
42
42
  CommonModule,
43
43
  SharedModule] });
44
- ViewsSharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ViewsSharedModule, imports: [[CommonModule, IntlModule, SharedModule, ButtonsModule], IntlModule,
44
+ ViewsSharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ViewsSharedModule, imports: [[CommonModule, IntlModule, SharedModule, ButtonsModule], IntlModule,
45
45
  CommonModule,
46
46
  SharedModule] });
47
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ViewsSharedModule, decorators: [{
47
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ViewsSharedModule, decorators: [{
48
48
  type: NgModule,
49
49
  args: [{
50
50
  imports: [CommonModule, IntlModule, SharedModule, ButtonsModule],
@@ -27,9 +27,9 @@ export class WorkHoursFooterDirective {
27
27
  this.footerItems[0].text = this.showWorkHours ? this.localization.get('showFullDay') : this.localization.get('showWorkDay');
28
28
  }
29
29
  }
30
- WorkHoursFooterDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: WorkHoursFooterDirective, deps: [{ token: i1.ViewFooterComponent }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
31
- WorkHoursFooterDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: WorkHoursFooterDirective, selector: "[kendoWorkHoursFooter]", inputs: { showWorkHours: "showWorkHours" }, usesOnChanges: true, ngImport: i0 });
32
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: WorkHoursFooterDirective, decorators: [{
30
+ WorkHoursFooterDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: WorkHoursFooterDirective, deps: [{ token: i1.ViewFooterComponent }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
31
+ WorkHoursFooterDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: WorkHoursFooterDirective, selector: "[kendoWorkHoursFooter]", inputs: { showWorkHours: "showWorkHours" }, usesOnChanges: true, ngImport: i0 });
32
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: WorkHoursFooterDirective, decorators: [{
33
33
  type: Directive,
34
34
  args: [{
35
35
  selector: '[kendoWorkHoursFooter]'
@@ -398,10 +398,11 @@ export class DayTimeResourceGroup {
398
398
  */
399
399
  export class DayTimeSlotService extends BaseSlotService {
400
400
  layoutDays(eventHeight = 25) {
401
- this.groups.forEach((group) => group.forEachDateRange(range => range.slots.forEach(slot => {
401
+ var _a;
402
+ this.groups.forEach((group) => group.forEachDateRange(range => range === null || range === void 0 ? void 0 : range.slots.forEach(slot => {
402
403
  slot.element.nativeElement.style.height = '';
403
404
  })));
404
- const rowHeight = this.groups[0].dayRanges[0].slots[0].height;
405
+ const rowHeight = (_a = this.groups[0].dayRanges[0]) === null || _a === void 0 ? void 0 : _a.slots[0].height;
405
406
  this.groups.forEach((group) => {
406
407
  group.forEachDateRange(range => range.initDaySlots(rowHeight, eventHeight));
407
408
  });
@@ -410,10 +411,11 @@ export class DayTimeSlotService extends BaseSlotService {
410
411
  });
411
412
  }
412
413
  layoutTimeline(eventHeight, resourceRows) {
413
- this.groups.forEach((group) => group.forEachTimeRange(range => range.slots.forEach(slot => {
414
+ var _a;
415
+ this.groups.forEach((group) => group.forEachTimeRange(range => range === null || range === void 0 ? void 0 : range.slots.forEach(slot => {
414
416
  slot.element.nativeElement.style.height = '';
415
417
  })));
416
- const rowHeight = this.groups[0].timeRanges[0].slots[0].height;
418
+ const rowHeight = (_a = this.groups[0].timeRanges[0]) === null || _a === void 0 ? void 0 : _a.slots[0].height;
417
419
  this.groups.forEach((group, index) => {
418
420
  group.initTimeSlots(rowHeight, eventHeight, resourceRows && resourceRows[index] ? resourceRows[index].nativeElement.children[0].children[0].offsetHeight : 0);
419
421
  });
@@ -430,13 +432,15 @@ export class DayTimeSlotService extends BaseSlotService {
430
432
  syncDateRanges() {
431
433
  let maxHeight = 0;
432
434
  this.groups.forEach((group) => {
433
- const slot = group.dayRanges[0].firstSlot;
435
+ var _a;
436
+ const slot = (_a = group.dayRanges[0]) === null || _a === void 0 ? void 0 : _a.firstSlot;
434
437
  if (slot) {
435
438
  maxHeight = Math.max(slot.rect.height - slot.padding, maxHeight);
436
439
  }
437
440
  });
438
441
  this.groups.forEach((group) => {
439
- group.dayRanges[0].setSlotsHeight(maxHeight);
442
+ var _a;
443
+ (_a = group.dayRanges[0]) === null || _a === void 0 ? void 0 : _a.setSlotsHeight(maxHeight);
440
444
  });
441
445
  return maxHeight;
442
446
  }
@@ -446,10 +450,10 @@ export class DayTimeSlotService extends BaseSlotService {
446
450
  forEachSlot(callback) {
447
451
  this.groups.forEach((group) => {
448
452
  group.dayRanges.forEach(range => {
449
- range.slots.forEach(slot => callback(slot));
453
+ range === null || range === void 0 ? void 0 : range.slots.forEach(slot => callback(slot));
450
454
  });
451
455
  group.timeRanges.forEach(range => {
452
- range.slots.forEach(slot => callback(slot));
456
+ range === null || range === void 0 ? void 0 : range.slots.forEach(slot => callback(slot));
453
457
  });
454
458
  });
455
459
  }
@@ -457,8 +461,9 @@ export class DayTimeSlotService extends BaseSlotService {
457
461
  return new DayTimeResourceGroup(index);
458
462
  }
459
463
  slotByIndex(slotIndex, allDay = false) {
464
+ var _a;
460
465
  const [resourceIndex, rangeIndex, index] = slotIndex.split(':').map(part => parseInt(part, 10));
461
- return this.groups[resourceIndex][allDay ? 'dayRanges' : 'timeRanges'][rangeIndex].slots[index];
466
+ return (_a = this.groups[resourceIndex][allDay ? 'dayRanges' : 'timeRanges'][rangeIndex]) === null || _a === void 0 ? void 0 : _a.slots[index];
462
467
  }
463
468
  slotByPosition(x, y, isDaySlot, includeDayRanges) {
464
469
  let range;
@@ -500,6 +505,7 @@ export class DayTimeSlotService extends BaseSlotService {
500
505
  }
501
506
  }
502
507
  dragRanges(currentSlot, offset, timeRanges) {
508
+ var _a;
503
509
  const start = new Date(currentSlot.start.getTime() - offset.start);
504
510
  const end = new Date(currentSlot.start.getTime() + offset.end);
505
511
  const group = this.groups[currentSlot.id.resourceIndex];
@@ -507,7 +513,7 @@ export class DayTimeSlotService extends BaseSlotService {
507
513
  if (timeRanges) {
508
514
  const slotRanges = [];
509
515
  group.timeRanges.forEach(range => {
510
- const slots = range.slots.filter(s => intersects(start, end, s.start, s.end));
516
+ const slots = range === null || range === void 0 ? void 0 : range.slots.filter(s => intersects(start, end, s.start, s.end));
511
517
  if (slots.length) {
512
518
  slotRanges.push(slots);
513
519
  }
@@ -516,7 +522,7 @@ export class DayTimeSlotService extends BaseSlotService {
516
522
  result = [slotRanges[0][0], lastRange[lastRange.length - 1]];
517
523
  }
518
524
  else {
519
- result = group.slotRange(currentSlot).slots.filter(s => intersects(start, end, s.start, s.end));
525
+ result = (_a = group.slotRange(currentSlot)) === null || _a === void 0 ? void 0 : _a.slots.filter(s => intersects(start, end, s.start, s.end));
520
526
  }
521
527
  return {
522
528
  start,
@@ -112,9 +112,9 @@ export class DayTimeViewBase extends ConfigurationViewBase {
112
112
  return isPresent(this[name]) ? this[name] : this.schedulerOptions[name];
113
113
  }
114
114
  }
115
- DayTimeViewBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DayTimeViewBase, deps: [{ token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i2.ViewContextService }, { token: i3.ViewStateService }], target: i0.ɵɵFactoryTarget.Directive });
116
- DayTimeViewBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: DayTimeViewBase, inputs: { showWorkHours: "showWorkHours", eventHeight: "eventHeight", startTime: "startTime", scrollTime: "scrollTime", endTime: "endTime", workDayStart: "workDayStart", workDayEnd: "workDayEnd", workWeekStart: "workWeekStart", workWeekEnd: "workWeekEnd", slotDuration: "slotDuration", slotDivisions: "slotDivisions", currentTimeMarker: "currentTimeMarker", highlightOngoingEvents: "highlightOngoingEvents" }, queries: [{ propertyName: "timeSlotTemplate", first: true, predicate: TimeSlotTemplateDirective, descendants: true }, { propertyName: "dateHeaderTemplate", first: true, predicate: DateHeaderTemplateDirective, descendants: true }], usesInheritance: true, ngImport: i0 });
117
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DayTimeViewBase, decorators: [{
115
+ DayTimeViewBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: DayTimeViewBase, deps: [{ token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i2.ViewContextService }, { token: i3.ViewStateService }], target: i0.ɵɵFactoryTarget.Directive });
116
+ DayTimeViewBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: DayTimeViewBase, inputs: { showWorkHours: "showWorkHours", eventHeight: "eventHeight", startTime: "startTime", scrollTime: "scrollTime", endTime: "endTime", workDayStart: "workDayStart", workDayEnd: "workDayEnd", workWeekStart: "workWeekStart", workWeekEnd: "workWeekEnd", slotDuration: "slotDuration", slotDivisions: "slotDivisions", currentTimeMarker: "currentTimeMarker", highlightOngoingEvents: "highlightOngoingEvents" }, queries: [{ propertyName: "timeSlotTemplate", first: true, predicate: TimeSlotTemplateDirective, descendants: true }, { propertyName: "dateHeaderTemplate", first: true, predicate: DateHeaderTemplateDirective, descendants: true }], usesInheritance: true, ngImport: i0 });
117
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: DayTimeViewBase, decorators: [{
118
118
  type: Directive
119
119
  }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i2.ViewContextService }, { type: i3.ViewStateService }]; }, propDecorators: { timeSlotTemplate: [{
120
120
  type: ContentChild,
@@ -24,8 +24,8 @@ export class DayTimeViewItemComponent extends BaseViewItem {
24
24
  return this.intlService.format('{0:t}–{1:t}', toLocalDate(this.item.startTime), toLocalDate(this.item.endTime));
25
25
  }
26
26
  }
27
- DayTimeViewItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DayTimeViewItemComponent, deps: [{ token: i1.IntlService }, { token: i2.DayTimeSlotService }, { token: i3.LocalizationService }, { token: i4.FocusService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Component });
28
- DayTimeViewItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: DayTimeViewItemComponent, selector: "[dayTimeViewItem]", inputs: { vertical: "vertical", isAllDay: "isAllDay" }, usesInheritance: true, ngImport: i0, template: `
27
+ DayTimeViewItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: DayTimeViewItemComponent, deps: [{ token: i1.IntlService }, { token: i2.DayTimeSlotService }, { token: i3.LocalizationService }, { token: i4.FocusService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Component });
28
+ DayTimeViewItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: DayTimeViewItemComponent, selector: "[dayTimeViewItem]", inputs: { vertical: "vertical", isAllDay: "isAllDay" }, usesInheritance: true, ngImport: i0, template: `
29
29
  <span class="k-event-actions">
30
30
  <span class="k-icon k-i-caret-alt-left" *ngIf="item.tail && !vertical"></span>
31
31
  <span class="k-icon k-i-arrow-rotate-cw" *ngIf="isRecurrence"></span>
@@ -64,7 +64,7 @@ DayTimeViewItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0
64
64
  <span class="k-resize-handle k-resize-e"></span>
65
65
  </ng-container>
66
66
  `, isInline: true, directives: [{ type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i5.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
67
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DayTimeViewItemComponent, decorators: [{
67
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: DayTimeViewItemComponent, decorators: [{
68
68
  type: Component,
69
69
  args: [{
70
70
  // eslint-disable-next-line @angular-eslint/component-selector
@@ -20,8 +20,7 @@ import * as i3 from "@progress/kendo-angular-intl";
20
20
  import * as i4 from "./day-time-slot.service";
21
21
  import * as i5 from "../../pdf/pdf.service";
22
22
  import * as i6 from "@progress/kendo-angular-l10n";
23
- import * as i7 from "../../navigation";
24
- import * as i8 from "@progress/kendo-angular-common";
23
+ import * as i7 from "@progress/kendo-angular-common";
25
24
  const getStartDate = date => getDate(date);
26
25
  const getEndDate = (start, numberOfDays) => getDate(addDays(start, numberOfDays || 1));
27
26
  const getNextDate = (date, count, numberOfDays) => getDate(addDays(date, numberOfDays * count));
@@ -29,10 +28,9 @@ const getNextDate = (date, count, numberOfDays) => getDate(addDays(date, numberO
29
28
  * @hidden
30
29
  */
31
30
  export class DayTimeViewComponent extends BaseView {
32
- constructor(changeDetector, viewContext, viewState, intl, slotService, zone, renderer, element, pdfService, localization, focusService, scrollBarWidthService) {
31
+ constructor(changeDetector, viewContext, viewState, intl, slotService, zone, renderer, element, pdfService, localization, scrollBarWidthService) {
33
32
  super(viewContext, viewState, intl, slotService, zone, renderer, element, pdfService, localization, changeDetector, scrollBarWidthService);
34
33
  this.changeDetector = changeDetector;
35
- this.focusService = focusService;
36
34
  this.numberOfDays = 1;
37
35
  this.startTime = '00:00';
38
36
  this.endTime = '00:00';
@@ -244,7 +242,6 @@ export class DayTimeViewComponent extends BaseView {
244
242
  const slot = this.daySlots[parseInt(daySlotIndex, 10)];
245
243
  this.zone.run(() => {
246
244
  this.viewState.navigateTo({ viewName: 'day', date: slot.start });
247
- this.focusService.clearActiveDescendant();
248
245
  });
249
246
  }
250
247
  }
@@ -335,12 +332,12 @@ export class DayTimeViewComponent extends BaseView {
335
332
  return fields;
336
333
  }
337
334
  }
338
- DayTimeViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DayTimeViewComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.ViewContextService }, { token: i2.ViewStateService }, { token: i3.IntlService }, { token: i4.DayTimeSlotService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i5.PDFService }, { token: i6.LocalizationService }, { token: i7.FocusService }, { token: i8.ScrollbarWidthService }], target: i0.ɵɵFactoryTarget.Component });
339
- DayTimeViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: DayTimeViewComponent, selector: "kendo-day-time-view", inputs: { timeSlotTemplate: "timeSlotTemplate", dateHeaderTemplate: "dateHeaderTemplate", numberOfDays: "numberOfDays", scrollTime: "scrollTime", startTime: "startTime", endTime: "endTime", workDayStart: "workDayStart", workDayEnd: "workDayEnd", workWeekStart: "workWeekStart", workWeekEnd: "workWeekEnd", slotDuration: "slotDuration", slotDivisions: "slotDivisions", showWorkHours: "showWorkHours", getStartDate: "getStartDate", getEndDate: "getEndDate", getNextDate: "getNextDate", currentTimeMarker: "currentTimeMarker", highlightOngoingEvents: "highlightOngoingEvents" }, viewQueries: [{ propertyName: "currentTimeElements", predicate: ["currentTimeMarker"], descendants: true }, { propertyName: "eventElements", predicate: DayTimeViewItemComponent, descendants: true }, { propertyName: "currentTimeArrows", predicate: ["currentTimeArrow"], descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: '', isInline: true });
340
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DayTimeViewComponent, decorators: [{
335
+ DayTimeViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: DayTimeViewComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.ViewContextService }, { token: i2.ViewStateService }, { token: i3.IntlService }, { token: i4.DayTimeSlotService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i5.PDFService }, { token: i6.LocalizationService }, { token: i7.ScrollbarWidthService }], target: i0.ɵɵFactoryTarget.Component });
336
+ DayTimeViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: DayTimeViewComponent, selector: "kendo-day-time-view", inputs: { timeSlotTemplate: "timeSlotTemplate", dateHeaderTemplate: "dateHeaderTemplate", numberOfDays: "numberOfDays", scrollTime: "scrollTime", startTime: "startTime", endTime: "endTime", workDayStart: "workDayStart", workDayEnd: "workDayEnd", workWeekStart: "workWeekStart", workWeekEnd: "workWeekEnd", slotDuration: "slotDuration", slotDivisions: "slotDivisions", showWorkHours: "showWorkHours", getStartDate: "getStartDate", getEndDate: "getEndDate", getNextDate: "getNextDate", currentTimeMarker: "currentTimeMarker", highlightOngoingEvents: "highlightOngoingEvents" }, viewQueries: [{ propertyName: "currentTimeElements", predicate: ["currentTimeMarker"], descendants: true }, { propertyName: "eventElements", predicate: DayTimeViewItemComponent, descendants: true }, { propertyName: "currentTimeArrows", predicate: ["currentTimeArrow"], descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: '', isInline: true });
337
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: DayTimeViewComponent, decorators: [{
341
338
  type: Component,
342
339
  args: [{ selector: 'kendo-day-time-view', template: '' }]
343
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i1.ViewContextService }, { type: i2.ViewStateService }, { type: i3.IntlService }, { type: i4.DayTimeSlotService }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i5.PDFService }, { type: i6.LocalizationService }, { type: i7.FocusService }, { type: i8.ScrollbarWidthService }]; }, propDecorators: { timeSlotTemplate: [{
340
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i1.ViewContextService }, { type: i2.ViewStateService }, { type: i3.IntlService }, { type: i4.DayTimeSlotService }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i5.PDFService }, { type: i6.LocalizationService }, { type: i7.ScrollbarWidthService }]; }, propDecorators: { timeSlotTemplate: [{
344
341
  type: Input
345
342
  }], dateHeaderTemplate: [{
346
343
  type: Input
@@ -15,10 +15,10 @@ const DIRECTIVES = [TimeSlotDirective, DaySlotDirective, DayTimeViewItemComponen
15
15
  */
16
16
  export class DayTimeModule {
17
17
  }
18
- DayTimeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DayTimeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
19
- DayTimeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DayTimeModule, declarations: [TimeSlotDirective, DaySlotDirective, DayTimeViewItemComponent], imports: [CommonModule, SharedModule, ViewsSharedModule], exports: [TimeSlotDirective, DaySlotDirective, DayTimeViewItemComponent] });
20
- DayTimeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DayTimeModule, imports: [[CommonModule, SharedModule, ViewsSharedModule]] });
21
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DayTimeModule, decorators: [{
18
+ DayTimeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: DayTimeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
19
+ DayTimeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: DayTimeModule, declarations: [TimeSlotDirective, DaySlotDirective, DayTimeViewItemComponent], imports: [CommonModule, SharedModule, ViewsSharedModule], exports: [TimeSlotDirective, DaySlotDirective, DayTimeViewItemComponent] });
20
+ DayTimeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: DayTimeModule, imports: [[CommonModule, SharedModule, ViewsSharedModule]] });
21
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: DayTimeModule, decorators: [{
22
22
  type: NgModule,
23
23
  args: [{
24
24
  imports: [CommonModule, SharedModule, ViewsSharedModule],
@@ -50,9 +50,9 @@ export class TimeSlotDirective extends BaseSlotDirective {
50
50
  return localEnd;
51
51
  }
52
52
  }
53
- TimeSlotDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TimeSlotDirective, deps: [{ token: i0.ElementRef }, { token: i1.DayTimeSlotService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
54
- TimeSlotDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TimeSlotDirective, selector: "[timeSlot]", inputs: { invariantStart: "invariantStart", invariantEnd: "invariantEnd", workDayStart: "workDayStart", workDayEnd: "workDayEnd", workWeekStart: "workWeekStart", workWeekEnd: "workWeekEnd", date: "date" }, host: { properties: { "class.k-nonwork-hour": "this.nonWorkHour" } }, exportAs: ["timeSlot"], usesInheritance: true, ngImport: i0 });
55
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TimeSlotDirective, decorators: [{
53
+ TimeSlotDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TimeSlotDirective, deps: [{ token: i0.ElementRef }, { token: i1.DayTimeSlotService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
54
+ TimeSlotDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TimeSlotDirective, selector: "[timeSlot]", inputs: { invariantStart: "invariantStart", invariantEnd: "invariantEnd", workDayStart: "workDayStart", workDayEnd: "workDayEnd", workWeekStart: "workWeekStart", workWeekEnd: "workWeekEnd", date: "date" }, host: { properties: { "class.k-nonwork-hour": "this.nonWorkHour" } }, exportAs: ["timeSlot"], usesInheritance: true, ngImport: i0 });
55
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TimeSlotDirective, decorators: [{
56
56
  type: Directive,
57
57
  args: [{
58
58
  // eslint-disable-next-line @angular-eslint/directive-selector
@@ -107,9 +107,9 @@ export class DaySlotDirective extends BaseSlotDirective {
107
107
  return true;
108
108
  }
109
109
  }
110
- DaySlotDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DaySlotDirective, deps: [{ token: i0.ElementRef }, { token: i1.DayTimeSlotService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
111
- DaySlotDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: DaySlotDirective, selector: "[daySlot]", inputs: { start: "start", end: "end" }, host: { properties: { "attr.data-day-slot": "this.daySlot" } }, usesInheritance: true, ngImport: i0 });
112
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DaySlotDirective, decorators: [{
110
+ DaySlotDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: DaySlotDirective, deps: [{ token: i0.ElementRef }, { token: i1.DayTimeSlotService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
111
+ DaySlotDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: DaySlotDirective, selector: "[daySlot]", inputs: { start: "start", end: "end" }, host: { properties: { "attr.data-day-slot": "this.daySlot" } }, usesInheritance: true, ngImport: i0 });
112
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: DaySlotDirective, decorators: [{
113
113
  type: Directive,
114
114
  args: [{
115
115
  // eslint-disable-next-line @angular-eslint/directive-selector
@@ -64,9 +64,9 @@ export class MonthSlotDirective extends BaseSlotDirective {
64
64
  }
65
65
  }
66
66
  }
67
- MonthSlotDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MonthSlotDirective, deps: [{ token: i0.ElementRef }, { token: i1.MonthSlotService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
68
- MonthSlotDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: MonthSlotDirective, selector: "[monthSlot]", inputs: { start: "start" }, usesInheritance: true, ngImport: i0 });
69
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MonthSlotDirective, decorators: [{
67
+ MonthSlotDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: MonthSlotDirective, deps: [{ token: i0.ElementRef }, { token: i1.MonthSlotService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
68
+ MonthSlotDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: MonthSlotDirective, selector: "[monthSlot]", inputs: { start: "start" }, usesInheritance: true, ngImport: i0 });
69
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: MonthSlotDirective, decorators: [{
70
70
  type: Directive,
71
71
  args: [{
72
72
  // eslint-disable-next-line @angular-eslint/directive-selector
@@ -28,8 +28,8 @@ export class MonthViewItemComponent extends BaseViewItem {
28
28
  super.reflow();
29
29
  }
30
30
  }
31
- MonthViewItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MonthViewItemComponent, deps: [{ token: i1.MonthSlotService }, { token: i2.LocalizationService }, { token: i3.FocusService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Component });
32
- MonthViewItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: MonthViewItemComponent, selector: "[monthViewItem]", usesInheritance: true, ngImport: i0, template: `
31
+ MonthViewItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: MonthViewItemComponent, deps: [{ token: i1.MonthSlotService }, { token: i2.LocalizationService }, { token: i3.FocusService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Component });
32
+ MonthViewItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MonthViewItemComponent, selector: "[monthViewItem]", usesInheritance: true, ngImport: i0, template: `
33
33
  <span class="k-event-actions">
34
34
  <span class="k-icon k-i-caret-alt-left" *ngIf="item.tail"></span>
35
35
  <span class="k-icon k-i-arrow-rotate-cw" *ngIf="isRecurrence"></span>
@@ -54,7 +54,7 @@ MonthViewItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
54
54
  <span class="k-resize-handle k-resize-e"></span>
55
55
  </ng-container>
56
56
  `, isInline: true, directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
57
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MonthViewItemComponent, decorators: [{
57
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: MonthViewItemComponent, decorators: [{
58
58
  type: Component,
59
59
  args: [{
60
60
  // eslint-disable-next-line @angular-eslint/component-selector