@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
package/main.d.ts CHANGED
@@ -81,5 +81,6 @@ export { DayTimeSlotService } from './views/day-time/day-time-slot.service';
81
81
  export { DayTimeViewItemComponent } from './views/day-time/day-time-view-item.component';
82
82
  export { TimeSlotDirective, DaySlotDirective } from './views/day-time/event-slot.directive';
83
83
  export { DayTimeModule } from './views/day-time/day-time.module';
84
+ export { SortPipe } from './views/timeline/utils';
84
85
  export * from './types';
85
86
  export * from './events';
@@ -2,7 +2,7 @@
2
2
  * Copyright © 2021 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 { ElementRef, Renderer2, OnDestroy, EventEmitter, NgZone } from '@angular/core';
5
+ import { ElementRef, Renderer2, OnDestroy, NgZone } from '@angular/core';
6
6
  import { FocusableElement } from './focusable-element.interface';
7
7
  import { DomEventsService } from '../views/common/dom-events.service';
8
8
  import { FocusPosition } from './focus-position.interface';
@@ -16,10 +16,9 @@ export declare class FocusService implements OnDestroy {
16
16
  private domEvents;
17
17
  private zone;
18
18
  get activeElement(): ElementRef;
19
- ariaActiveDescendant: EventEmitter<string | null>;
20
- private activeItem;
19
+ get focusableItems(): Set<FocusableElement>;
20
+ activeItem: FocusableElement;
21
21
  private focusedItem;
22
- private lastActiveDescendantId;
23
22
  private items;
24
23
  private elementMap;
25
24
  private subs;
@@ -28,9 +27,10 @@ export declare class FocusService implements OnDestroy {
28
27
  register(item: FocusableElement): void;
29
28
  unregister(item: FocusableElement): void;
30
29
  focus(): void;
30
+ focusContent(): void;
31
+ focusToolbar(): void;
31
32
  focusNext(options?: FocusPosition): boolean;
32
- focusFirst(): void;
33
- clearActiveDescendant(): void;
33
+ focusByIndex(index: number): void;
34
34
  private activate;
35
35
  private activateNext;
36
36
  private findNext;
@@ -3,6 +3,7 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { ElementRef } from '@angular/core';
6
+ import { FocusableContainer } from 'src/types/focusable-container';
6
7
  /**
7
8
  * @hidden
8
9
  */
@@ -16,6 +17,10 @@ export interface FocusableElement {
16
17
  * If multiple elements share the same value, their relative to each other order follows their position in the component tree.
17
18
  */
18
19
  focusIndex: number;
20
+ /**
21
+ * The part of the Scheduler the element belongs to - 'toolbar', 'content' or 'footer'.
22
+ */
23
+ containerType: FocusableContainer;
19
24
  /**
20
25
  * Includes or excludes the element from the tab sequence.
21
26
  *
@@ -3,6 +3,7 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { ElementRef, Renderer2 } from '@angular/core';
6
+ import { FocusableContainer } from 'src/types/focusable-container';
6
7
  import { FocusService } from './focus.service';
7
8
  import { FocusableElement } from './focusable-element.interface';
8
9
  import * as i0 from "@angular/core";
@@ -18,15 +19,17 @@ export declare class FocusableDirective implements FocusableElement {
18
19
  * If multiple elements share the same value, their relative to each other order follows their position in the component tree.
19
20
  */
20
21
  focusIndex: number;
22
+ containerType: FocusableContainer;
21
23
  private get visible();
22
24
  private get enabled();
23
25
  private active;
24
26
  constructor(element: ElementRef, renderer: Renderer2, focusService: FocusService);
27
+ ngAfterViewChecked(): void;
25
28
  ngOnDestroy(): void;
26
29
  toggle(active: boolean): void;
27
30
  canFocus(): boolean;
28
31
  focus(): void;
29
32
  toggleFocus(value: boolean): void;
30
33
  static ɵfac: i0.ɵɵFactoryDeclaration<FocusableDirective, never>;
31
- static ɵdir: i0.ɵɵDirectiveDeclaration<FocusableDirective, "[kendoSchedulerFocusIndex]", never, { "focusIndex": "kendoSchedulerFocusIndex"; }, {}, never>;
34
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FocusableDirective, "[kendoSchedulerFocusIndex]", never, { "focusIndex": "kendoSchedulerFocusIndex"; "containerType": "containerType"; }, {}, never>;
32
35
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-scheduler",
3
- "version": "4.3.5",
4
- "description": "Kendo UI Scheduler Angular",
3
+ "version": "4.3.6",
4
+ "description": "Kendo UI Scheduler Angular - Outlook or Google-style angular scheduler calendar. Full-featured and customizable embedded scheduling from the creator developers trust for professional UI components.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
7
7
  "homepage": "https://www.telerik.com/kendo-angular-ui/components/",
@@ -660,7 +660,7 @@ export declare class SchedulerComponent implements AfterContentInit, OnDestroy,
660
660
  */
661
661
  focusPrev(position: FocusPosition): boolean;
662
662
  /**
663
- * Focuses the last focused event or the Scheduler element, if no events are available.
663
+ * Focuses the last focused scheduler element or the Scheduler element, if no events are available.
664
664
  */
665
665
  focus(): void;
666
666
  private isInRange;
@@ -4,12 +4,13 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import * as i0 from "@angular/core";
6
6
  import * as i1 from "./navigation/focusable.directive";
7
+ import * as i2 from "./views/timeline/utils";
7
8
  /**
8
9
  * @hidden
9
10
  */
10
11
  export declare class SharedModule {
11
12
  static exports(): any[];
12
13
  static ɵfac: i0.ɵɵFactoryDeclaration<SharedModule, never>;
13
- static ɵmod: i0.ɵɵNgModuleDeclaration<SharedModule, [typeof i1.FocusableDirective], never, [typeof i1.FocusableDirective]>;
14
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SharedModule, [typeof i1.FocusableDirective, typeof i2.SortPipe], never, [typeof i1.FocusableDirective, typeof i2.SortPipe]>;
14
15
  static ɵinj: i0.ɵɵInjectorDeclaration<SharedModule>;
15
16
  }
@@ -15,6 +15,7 @@ import * as i6 from "@progress/kendo-angular-buttons";
15
15
  import * as i7 from "@progress/kendo-angular-dateinputs";
16
16
  import * as i8 from "@progress/kendo-angular-popup";
17
17
  import * as i9 from "@progress/kendo-angular-common";
18
+ import * as i10 from "../shared.module";
18
19
  /**
19
20
  * @hidden
20
21
  */
@@ -24,6 +25,6 @@ export declare const publicDirectives: (typeof ToolbarTemplateDirective | typeof
24
25
  */
25
26
  export declare class ToolbarModule {
26
27
  static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarModule, never>;
27
- static ɵmod: i0.ɵɵNgModuleDeclaration<ToolbarModule, [typeof i1.ToolbarComponent, typeof i2.ToolbarNavigationComponent, typeof i3.ToolbarTemplateDirective, typeof i4.ToolbarViewSelectorComponent], [typeof i5.CommonModule, typeof i6.ButtonsModule, typeof i7.CalendarModule, typeof i8.PopupModule, typeof i9.EventsModule], [typeof i1.ToolbarComponent, typeof i2.ToolbarNavigationComponent, typeof i3.ToolbarTemplateDirective, typeof i4.ToolbarViewSelectorComponent]>;
28
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ToolbarModule, [typeof i1.ToolbarComponent, typeof i2.ToolbarNavigationComponent, typeof i3.ToolbarTemplateDirective, typeof i4.ToolbarViewSelectorComponent], [typeof i5.CommonModule, typeof i6.ButtonsModule, typeof i7.CalendarModule, typeof i8.PopupModule, typeof i9.EventsModule, typeof i10.SharedModule], [typeof i1.ToolbarComponent, typeof i2.ToolbarNavigationComponent, typeof i3.ToolbarTemplateDirective, typeof i4.ToolbarViewSelectorComponent]>;
28
29
  static ɵinj: i0.ɵɵInjectorDeclaration<ToolbarModule>;
29
30
  }
@@ -131,15 +131,22 @@ export interface FocusNext {
131
131
  /** @hidden */
132
132
  type: 'focus-next';
133
133
  }
134
+ /**
135
+ * An action which toggles the Show Business Hours option.
136
+ */
137
+ export interface ToggleBusinessHours {
138
+ /** @hidden */
139
+ type: 'toggle-business-hours';
140
+ }
141
+ /**
142
+ * An action which focuses the first toolbar tool.
143
+ */
144
+ export interface FocusToolbar {
145
+ /** @hidden */
146
+ type: 'focus-toolbar';
147
+ }
134
148
  /**
135
149
  * A discriminated union of supported navigation actions
136
150
  * ([more information and examples]({% slug toolbar_scheduler %})).
137
- *
138
- * The available types are:
139
- * * [`Next`]({% slug api_scheduler_next %})
140
- * * [`Prev`]({% slug api_scheduler_prev %})
141
- * * [`SelectDate`]({% slug api_scheduler_selectdate %})
142
- * * [`Today`]({% slug api_scheduler_today %})
143
- * * [`ViewChange`]({% slug api_scheduler_viewchange %})
144
151
  */
145
- export declare type NavigationAction = Next | Prev | SelectDate | Today | ViewChange | ShowDate | ScrollTime | FocusPrev | FocusNext;
152
+ export declare type NavigationAction = Next | Prev | SelectDate | Today | ViewChange | ShowDate | ScrollTime | FocusPrev | FocusNext | ToggleBusinessHours | FocusToolbar;
@@ -0,0 +1,8 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ /**
6
+ * @hidden
7
+ */
8
+ export declare type FocusableContainer = 'toolbar' | 'content' | 'footer';
@@ -105,6 +105,11 @@ export declare abstract class BaseView implements OnInit, OnChanges, AfterViewIn
105
105
  protected rtl: boolean;
106
106
  isSlotSelected: SlotSelectionCallback;
107
107
  constructor(viewContext: ViewContextService, viewState: ViewStateService, intl: IntlService, slotService: BaseSlotService, zone: NgZone, renderer: Renderer2, element: ElementRef, pdfService: PDFService, localization: LocalizationService, cdr: ChangeDetectorRef, scrollBarWidthService: ScrollbarWidthService);
108
+ /**
109
+ * Generates a list of space-separated IDs based on a collection of items to associate scrollable containers
110
+ * with the respective tasks through the aria-owns attribute for a11y compliance.
111
+ */
112
+ matchOwned(items: any[]): string;
108
113
  protected abstract onSelectDate(date: Date): void;
109
114
  protected abstract onAction(action: NavigationAction): void;
110
115
  protected abstract onTasksChange(): void;
@@ -3,12 +3,14 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { EventEmitter } from '@angular/core';
6
+ import { ViewStateService } from '../view-state.service';
6
7
  import * as i0 from "@angular/core";
7
8
  /**
8
9
  * @hidden
9
10
  */
10
11
  export declare class ViewFooterComponent {
11
12
  hostClasses: boolean;
13
+ private sub;
12
14
  /**
13
15
  * @hidden
14
16
  * TODO: Drop in next MAJOR version
@@ -16,6 +18,8 @@ export declare class ViewFooterComponent {
16
18
  inlineJustifyContentStyle: string;
17
19
  itemClick: EventEmitter<any>;
18
20
  items: any[];
21
+ constructor(viewState: ViewStateService);
22
+ ngOnDestroy(): void;
19
23
  onItemClick(e: any, item: any): void;
20
24
  static ɵfac: i0.ɵɵFactoryDeclaration<ViewFooterComponent, never>;
21
25
  static ɵcmp: i0.ɵɵComponentDeclaration<ViewFooterComponent, "[viewFooter]", never, { "items": "items"; }, { "itemClick": "itemClick"; }, never, never>;
@@ -14,14 +14,12 @@ import { PDFService } from '../../pdf/pdf.service';
14
14
  import { BaseView } from '../common/base-view';
15
15
  import { LocalizationService } from '@progress/kendo-angular-l10n';
16
16
  import { DayTimeViewItemComponent } from './day-time-view-item.component';
17
- import { FocusService } from '../../navigation';
18
17
  import * as i0 from "@angular/core";
19
18
  /**
20
19
  * @hidden
21
20
  */
22
21
  export declare abstract class DayTimeViewComponent extends BaseView implements OnChanges {
23
22
  protected changeDetector: ChangeDetectorRef;
24
- private focusService;
25
23
  timeSlotTemplate: TemplateRef<any>;
26
24
  dateHeaderTemplate: TemplateRef<any>;
27
25
  numberOfDays: number;
@@ -60,7 +58,7 @@ export declare abstract class DayTimeViewComponent extends BaseView implements O
60
58
  protected currentDate: ZonedDate;
61
59
  protected verticalTime: boolean;
62
60
  protected initialUpdate: boolean;
63
- constructor(changeDetector: ChangeDetectorRef, viewContext: ViewContextService, viewState: ViewStateService, intl: IntlService, slotService: DayTimeSlotService, zone: NgZone, renderer: Renderer2, element: ElementRef, pdfService: PDFService, localization: LocalizationService, focusService: FocusService, scrollBarWidthService: ScrollbarWidthService);
61
+ constructor(changeDetector: ChangeDetectorRef, viewContext: ViewContextService, viewState: ViewStateService, intl: IntlService, slotService: DayTimeSlotService, zone: NgZone, renderer: Renderer2, element: ElementRef, pdfService: PDFService, localization: LocalizationService, scrollBarWidthService: ScrollbarWidthService);
64
62
  ngOnChanges(changes: any): void;
65
63
  ngOnDestroy(): void;
66
64
  verticalItem(leafIndex: number, resourceIndex: number): any;
@@ -13,13 +13,11 @@ import { BaseView } from '../common/base-view';
13
13
  import { PDFService } from '../../pdf/pdf.service';
14
14
  import { LocalizationService } from '@progress/kendo-angular-l10n';
15
15
  import { MonthViewItemComponent } from './month-view-item.component';
16
- import { FocusService } from '../../navigation';
17
16
  import * as i0 from "@angular/core";
18
17
  /**
19
18
  * @hidden
20
19
  */
21
20
  export declare class MonthViewRendererComponent extends BaseView implements OnChanges {
22
- private focusService;
23
21
  monthDaySlotTemplate: TemplateRef<any>;
24
22
  highlightOngoingEvents: any;
25
23
  resizeHintFormat: any;
@@ -28,7 +26,7 @@ export declare class MonthViewRendererComponent extends BaseView implements OnCh
28
26
  get monthDaySlotTemplateRef(): TemplateRef<any>;
29
27
  protected ongoingEventsTimeout: any;
30
28
  private schedulerMonthDaySlotTemplate;
31
- constructor(viewContext: ViewContextService, viewState: ViewStateService, intl: IntlService, slotService: MonthSlotService, zone: NgZone, element: ElementRef, renderer: Renderer2, pdfService: PDFService, localization: LocalizationService, changeDetector: ChangeDetectorRef, focusService: FocusService, scrollBarWidthService: ScrollbarWidthService);
29
+ constructor(viewContext: ViewContextService, viewState: ViewStateService, intl: IntlService, slotService: MonthSlotService, zone: NgZone, element: ElementRef, renderer: Renderer2, pdfService: PDFService, localization: LocalizationService, changeDetector: ChangeDetectorRef, scrollBarWidthService: ScrollbarWidthService);
32
30
  ngOnChanges(changes: any): void;
33
31
  ngAfterViewInit(): void;
34
32
  ngOnDestroy(): void;
@@ -15,7 +15,6 @@ import { SchedulerTask } from '../common/scheduler-task';
15
15
  import { DayTimeViewComponent } from '../day-time/day-time-view.component';
16
16
  import { HintContainerComponent } from '../common/hint-container.component';
17
17
  import { PDFService } from '../../pdf/pdf.service';
18
- import { FocusService } from '../../navigation';
19
18
  import * as i0 from "@angular/core";
20
19
  /**
21
20
  * @hidden
@@ -44,7 +43,7 @@ export declare class MultiDayViewRendererComponent extends DayTimeViewComponent
44
43
  private schedulerMinorTimeHeaderTemplate;
45
44
  private schedulerMajorTimeHeaderTemplate;
46
45
  private dragContainers;
47
- constructor(localization: LocalizationService, viewContext: ViewContextService, viewState: ViewStateService, intl: IntlService, slotService: DayTimeSlotService, zone: NgZone, renderer: Renderer2, element: ElementRef, changeDetector: ChangeDetectorRef, pdfService: PDFService, focusService: FocusService, scrollbarWidthService: ScrollbarWidthService);
46
+ constructor(localization: LocalizationService, viewContext: ViewContextService, viewState: ViewStateService, intl: IntlService, slotService: DayTimeSlotService, zone: NgZone, renderer: Renderer2, element: ElementRef, changeDetector: ChangeDetectorRef, pdfService: PDFService, scrollbarWidthService: ScrollbarWidthService);
48
47
  protected optionsChange(changes: any): void;
49
48
  ngOnChanges(changes: any): void;
50
49
  horizontalColspan(resourceIndex: number): any;
@@ -11,7 +11,6 @@ import { ViewStateService } from '../view-state.service';
11
11
  import { DayTimeSlotService } from '../day-time/day-time-slot.service';
12
12
  import { DayTimeViewComponent } from '../day-time/day-time-view.component';
13
13
  import { PDFService } from '../../pdf/pdf.service';
14
- import { FocusService } from '../../navigation';
15
14
  import { ScrollbarWidthService } from '@progress/kendo-angular-common';
16
15
  import * as i0 from "@angular/core";
17
16
  /**
@@ -24,7 +23,7 @@ export declare class TimelineMultiDayViewComponent extends DayTimeViewComponent
24
23
  verticalResourceRows: QueryList<ElementRef>;
25
24
  get classNames(): string;
26
25
  protected verticalTime: boolean;
27
- constructor(localization: LocalizationService, changeDetector: ChangeDetectorRef, viewContext: ViewContextService, viewState: ViewStateService, intl: IntlService, slotService: DayTimeSlotService, zone: NgZone, renderer: Renderer2, element: ElementRef, pdfService: PDFService, focusService: FocusService, scrollBarWidthService: ScrollbarWidthService);
26
+ constructor(localization: LocalizationService, changeDetector: ChangeDetectorRef, viewContext: ViewContextService, viewState: ViewStateService, intl: IntlService, slotService: DayTimeSlotService, zone: NgZone, renderer: Renderer2, element: ElementRef, pdfService: PDFService, scrollBarWidthService: ScrollbarWidthService);
28
27
  ngOnChanges(changes: any): void;
29
28
  reflow(): void;
30
29
  get allEventsMessage(): string;
@@ -3,7 +3,18 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { ViewItem } from '../../types';
6
+ import { PipeTransform } from '@angular/core';
7
+ import { SchedulerTask } from '../common/scheduler-task';
8
+ import * as i0 from "@angular/core";
6
9
  /**
7
10
  * @hidden
8
11
  */
9
12
  export declare const createTasks: (periodStart: Date, periodEnd: Date, items: ViewItem[]) => any[];
13
+ /**
14
+ * @hidden
15
+ */
16
+ export declare class SortPipe implements PipeTransform {
17
+ transform(value: SchedulerTask[], ..._args: any[]): any;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<SortPipe, never>;
19
+ static ɵpipe: i0.ɵɵPipeDeclaration<SortPipe, "sort">;
20
+ }
@@ -2,7 +2,7 @@
2
2
  * Copyright © 2021 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 { Observable } from 'rxjs';
5
+ import { Observable, Subject } from 'rxjs';
6
6
  import { SlotDragStartEvent } from '../events/slot-drag-start-event';
7
7
  import { DateRange } from '../types';
8
8
  import { ExtendedSlotRange, slotDragEventName, SlotRange } from '../types/slot-selection';
@@ -47,6 +47,10 @@ export declare class ViewStateService {
47
47
  * A stream indicating that the user has finished making a slot selection.
48
48
  */
49
49
  readonly slotSelectionEnd: Observable<SlotRange>;
50
+ /**
51
+ * @hidden
52
+ */
53
+ toggleWorkHours: Subject<any>;
50
54
  private dateRangeSource;
51
55
  private nextDateSource;
52
56
  private navigateSource;