@progress/kendo-angular-gantt 0.3.0-dev.202201111723 → 1.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 (138) hide show
  1. package/dist/cdn/js/kendo-angular-gantt.js +2 -2
  2. package/dist/cdn/main.js +1 -29
  3. package/dist/es/common/touch-enabled.js +9 -0
  4. package/dist/es/dependencies/utils.js +34 -0
  5. package/dist/es/dragging/dependency-drag-create.directive.js +347 -0
  6. package/dist/es/dragging/drag-validation-tooltip.component.js +27 -0
  7. package/dist/es/editing/dependencies-table.component.js +1 -1
  8. package/dist/es/editing/edit-dialog.component.js +3 -3
  9. package/dist/es/editing/edit.service.js +4 -2
  10. package/dist/es/editing/task-fields.component.js +1 -1
  11. package/dist/es/editing/{util.js → utils.js} +0 -0
  12. package/dist/es/gantt.component.js +313 -28
  13. package/dist/es/gantt.module.js +23 -6
  14. package/dist/es/index.js +5 -0
  15. package/dist/es/main.js +1 -0
  16. package/dist/es/models/events/dependency-add-event.interface.js +4 -0
  17. package/dist/es/models/events/task-delete-event.interface.js +4 -0
  18. package/dist/es/models/view-item.interface.js +4 -0
  19. package/dist/es/navigation/navigation-models.js +4 -0
  20. package/dist/es/navigation/navigation.service.js +390 -0
  21. package/dist/es/navigation/utils.js +77 -0
  22. package/dist/es/package-metadata.js +1 -1
  23. package/dist/es/rendering/gantt-milestone-task.component.js +12 -6
  24. package/dist/es/rendering/gantt-summary-task.component.js +27 -6
  25. package/dist/es/rendering/gantt-task-base.js +84 -22
  26. package/dist/es/rendering/gantt-task.component.js +13 -8
  27. package/dist/es/rendering/gantt-tasks-table-body.component.js +13 -5
  28. package/dist/es/scrolling/drag-scroll-settings.js +20 -0
  29. package/dist/es/scrolling/timeline-scroll.directive.js +89 -0
  30. package/dist/es/scrolling/timeline-scroll.service.js +39 -0
  31. package/dist/es/scrolling/utils.js +80 -0
  32. package/dist/es/timeline/gantt-timeline.component.js +50 -4
  33. package/dist/es/toolbar/toolbar.component.js +12 -13
  34. package/dist/es/toolbar/view-selector.component.js +1 -1
  35. package/dist/es/utils.js +153 -12
  36. package/dist/es2015/common/touch-enabled.d.ts +9 -0
  37. package/dist/es2015/common/touch-enabled.js +9 -0
  38. package/dist/es2015/dependencies/utils.d.ts +15 -0
  39. package/dist/es2015/dependencies/utils.js +34 -0
  40. package/dist/es2015/dragging/dependency-drag-create.directive.d.ts +72 -0
  41. package/dist/es2015/dragging/dependency-drag-create.directive.js +324 -0
  42. package/dist/es2015/dragging/drag-validation-tooltip.component.d.ts +29 -0
  43. package/dist/es2015/dragging/drag-validation-tooltip.component.js +76 -0
  44. package/dist/es2015/editing/dependencies-table.component.js +1 -1
  45. package/dist/es2015/editing/edit-dialog.component.d.ts +1 -1
  46. package/dist/es2015/editing/edit-dialog.component.js +12 -4
  47. package/dist/es2015/editing/edit.service.d.ts +2 -3
  48. package/dist/es2015/editing/edit.service.js +4 -2
  49. package/dist/es2015/editing/task-fields.component.js +1 -1
  50. package/dist/es2015/editing/{util.d.ts → utils.d.ts} +2 -2
  51. package/dist/es2015/editing/{util.js → utils.js} +0 -0
  52. package/dist/es2015/gantt.component.d.ts +112 -17
  53. package/dist/es2015/gantt.component.js +292 -30
  54. package/dist/es2015/gantt.module.js +23 -6
  55. package/dist/es2015/index.d.ts +5 -0
  56. package/dist/es2015/index.js +5 -0
  57. package/dist/es2015/index.metadata.json +1 -1
  58. package/dist/es2015/main.d.ts +1 -0
  59. package/dist/es2015/main.js +1 -0
  60. package/dist/es2015/models/events/dependency-add-event.interface.d.ts +26 -0
  61. package/dist/es2015/models/events/dependency-add-event.interface.js +4 -0
  62. package/dist/es2015/models/events/task-click-event.interface.d.ts +3 -3
  63. package/dist/es2015/models/events/task-delete-event.interface.d.ts +21 -0
  64. package/dist/es2015/models/events/task-delete-event.interface.js +4 -0
  65. package/dist/es2015/models/events/task-edit-event.interface.d.ts +27 -10
  66. package/dist/es2015/models/models.d.ts +4 -0
  67. package/dist/es2015/models/view-item.interface.d.ts +35 -0
  68. package/dist/es2015/models/view-item.interface.js +4 -0
  69. package/dist/es2015/navigation/navigation-models.d.ts +34 -0
  70. package/dist/es2015/navigation/navigation-models.js +4 -0
  71. package/dist/es2015/navigation/navigation.service.d.ts +126 -0
  72. package/dist/es2015/navigation/navigation.service.js +355 -0
  73. package/dist/es2015/navigation/utils.d.ts +26 -0
  74. package/dist/es2015/navigation/utils.js +69 -0
  75. package/dist/es2015/package-metadata.js +1 -1
  76. package/dist/es2015/rendering/gantt-milestone-task.component.d.ts +3 -1
  77. package/dist/es2015/rendering/gantt-milestone-task.component.js +35 -8
  78. package/dist/es2015/rendering/gantt-summary-task.component.d.ts +5 -1
  79. package/dist/es2015/rendering/gantt-summary-task.component.js +47 -8
  80. package/dist/es2015/rendering/gantt-task-base.d.ts +20 -6
  81. package/dist/es2015/rendering/gantt-task-base.js +75 -22
  82. package/dist/es2015/rendering/gantt-task.component.d.ts +4 -2
  83. package/dist/es2015/rendering/gantt-task.component.js +47 -13
  84. package/dist/es2015/rendering/gantt-tasks-table-body.component.d.ts +6 -3
  85. package/dist/es2015/rendering/gantt-tasks-table-body.component.js +27 -9
  86. package/dist/es2015/scrolling/drag-scroll-settings.d.ts +47 -0
  87. package/dist/es2015/scrolling/drag-scroll-settings.js +20 -0
  88. package/dist/es2015/scrolling/scroll-sync.service.d.ts +1 -1
  89. package/dist/es2015/scrolling/timeline-scroll.directive.d.ts +24 -0
  90. package/dist/es2015/scrolling/timeline-scroll.directive.js +78 -0
  91. package/dist/es2015/scrolling/timeline-scroll.service.d.ts +20 -0
  92. package/dist/es2015/scrolling/timeline-scroll.service.js +44 -0
  93. package/dist/es2015/scrolling/utils.d.ts +29 -0
  94. package/dist/es2015/scrolling/utils.js +80 -0
  95. package/dist/es2015/timeline/gantt-timeline.component.d.ts +29 -4
  96. package/dist/es2015/timeline/gantt-timeline.component.js +67 -5
  97. package/dist/es2015/toolbar/toolbar.component.d.ts +4 -5
  98. package/dist/es2015/toolbar/toolbar.component.js +12 -13
  99. package/dist/es2015/toolbar/view-selector.component.js +3 -1
  100. package/dist/es2015/utils.d.ts +77 -8
  101. package/dist/es2015/utils.js +153 -12
  102. package/dist/fesm2015/index.js +3033 -1367
  103. package/dist/fesm5/index.js +2447 -830
  104. package/dist/npm/common/touch-enabled.js +11 -0
  105. package/dist/npm/dependencies/utils.js +34 -0
  106. package/dist/npm/dragging/dependency-drag-create.directive.js +349 -0
  107. package/dist/npm/dragging/drag-validation-tooltip.component.js +29 -0
  108. package/dist/npm/editing/dependencies-table.component.js +1 -1
  109. package/dist/npm/editing/edit-dialog.component.js +3 -3
  110. package/dist/npm/editing/edit.service.js +4 -2
  111. package/dist/npm/editing/task-fields.component.js +1 -1
  112. package/dist/npm/editing/{util.js → utils.js} +0 -0
  113. package/dist/npm/gantt.component.js +315 -30
  114. package/dist/npm/gantt.module.js +22 -5
  115. package/dist/npm/index.js +10 -0
  116. package/dist/npm/main.js +2 -0
  117. package/dist/npm/models/events/dependency-add-event.interface.js +6 -0
  118. package/dist/npm/models/events/task-delete-event.interface.js +6 -0
  119. package/dist/npm/models/view-item.interface.js +6 -0
  120. package/dist/npm/navigation/navigation-models.js +6 -0
  121. package/dist/npm/navigation/navigation.service.js +392 -0
  122. package/dist/npm/navigation/utils.js +79 -0
  123. package/dist/npm/package-metadata.js +1 -1
  124. package/dist/npm/rendering/gantt-milestone-task.component.js +11 -5
  125. package/dist/npm/rendering/gantt-summary-task.component.js +26 -5
  126. package/dist/npm/rendering/gantt-task-base.js +84 -22
  127. package/dist/npm/rendering/gantt-task.component.js +12 -7
  128. package/dist/npm/rendering/gantt-tasks-table-body.component.js +13 -5
  129. package/dist/npm/scrolling/drag-scroll-settings.js +22 -0
  130. package/dist/npm/scrolling/timeline-scroll.directive.js +91 -0
  131. package/dist/npm/scrolling/timeline-scroll.service.js +41 -0
  132. package/dist/npm/scrolling/utils.js +83 -0
  133. package/dist/npm/timeline/gantt-timeline.component.js +49 -3
  134. package/dist/npm/toolbar/toolbar.component.js +10 -11
  135. package/dist/npm/toolbar/view-selector.component.js +1 -1
  136. package/dist/npm/utils.js +153 -12
  137. package/dist/systemjs/kendo-angular-gantt.js +1 -1
  138. package/package.json +23 -21
@@ -7,6 +7,7 @@ export { GanttModule } from './gantt.module';
7
7
  export { GanttHierarchyBindingDirective } from './binding-directives/hierarchy-binding.directive';
8
8
  export { GanttFlatBindingDirective } from './binding-directives/flat-binding.directive';
9
9
  export { GanttExpandableDirective } from './expanded-state/expandable.directive';
10
+ export { DependencyDragCreateDirective } from './dragging/dependency-drag-create.directive';
10
11
  export { GanttTaskTemplateDirective } from './template-directives/task-template.directive';
11
12
  export { GanttTaskContentTemplateDirective } from './template-directives/task-content-template.directive';
12
13
  export { GanttSummaryTaskTemplateDirective } from './template-directives/summary-task-template.directive';
@@ -7,6 +7,7 @@ export { GanttModule } from './gantt.module';
7
7
  export { GanttHierarchyBindingDirective } from './binding-directives/hierarchy-binding.directive';
8
8
  export { GanttFlatBindingDirective } from './binding-directives/flat-binding.directive';
9
9
  export { GanttExpandableDirective } from './expanded-state/expandable.directive';
10
+ export { DependencyDragCreateDirective } from './dragging/dependency-drag-create.directive';
10
11
  export { GanttTaskTemplateDirective } from './template-directives/task-template.directive';
11
12
  export { GanttTaskContentTemplateDirective } from './template-directives/task-content-template.directive';
12
13
  export { GanttSummaryTaskTemplateDirective } from './template-directives/summary-task-template.directive';
@@ -0,0 +1,26 @@
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
+ import { DependencyType } from '../dependency-type.enum';
6
+ /**
7
+ * The event data of the [`dependencyAdd`]({% slug api_gantt_ganttcomponent %}#toc-dependencyadd) event.
8
+ */
9
+ export interface DependencyAddEvent {
10
+ /**
11
+ * The task from which the dependency starts (predecessor).
12
+ */
13
+ fromTask: any;
14
+ /**
15
+ * The task where the dependency ends (successor).
16
+ */
17
+ toTask: any;
18
+ /**
19
+ * The dependency type of the linked tasks.
20
+ */
21
+ type: DependencyType;
22
+ /**
23
+ * Specifies whether the dependency creation attempt is a valid link between the two targeted tasks.
24
+ */
25
+ isValid: boolean;
26
+ }
@@ -0,0 +1,4 @@
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
+ *-------------------------------------------------------------------------------------------*/
@@ -10,7 +10,7 @@ export interface TaskClickEvent {
10
10
  /**
11
11
  * The DOM event that triggered the `taskClick` event.
12
12
  */
13
- originalEvent: PointerEvent;
13
+ originalEvent: PointerEvent | KeyboardEvent;
14
14
  /**
15
15
  * The data item associated with the clicked task.
16
16
  */
@@ -20,9 +20,9 @@ export interface TaskClickEvent {
20
20
  */
21
21
  sender: GanttComponent;
22
22
  /**
23
- * The row index for the clicked task.
23
+ * The order index of the clicked task, defined by the number of rendered tasks in the Timeline.
24
24
  */
25
- rowIndex: number;
25
+ index: number;
26
26
  /**
27
27
  * The type of the event that triggered the `taskClick` event.
28
28
  */
@@ -0,0 +1,21 @@
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
+ import { GanttComponent } from '../../gantt.component';
6
+ import { TaskEditItem } from './task-edit-event.interface';
7
+ /**
8
+ * The event data of the [`taskDelete`]({% slug api_gantt_ganttcomponent %}#toc-taskdelete) event.
9
+ */
10
+ export interface TaskDeleteEvent {
11
+ /**
12
+ * The item associated with the delete request.
13
+ * The parent item is accessible through the `parent` property,
14
+ * and allows traversing all ancestors that need to be updated.
15
+ */
16
+ item: TaskEditItem;
17
+ /**
18
+ * The GanttComponent instance.
19
+ */
20
+ sender: GanttComponent;
21
+ }
@@ -0,0 +1,4 @@
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
+ *-------------------------------------------------------------------------------------------*/
@@ -32,10 +32,35 @@ export interface TaskEditEvent {
32
32
  * The parent item is accessible through the `parent` property,
33
33
  * and allows traversing all ancestors that need to be updated.
34
34
  */
35
- export declare type TaskEditItem = {
35
+ export interface TaskEditItem {
36
+ /**
37
+ * The original data item for this entry.
38
+ */
36
39
  dataItem: any;
40
+ /**
41
+ * Holds the parent data item and data about its parent.
42
+ * If the current data item is at root level, this prop will be set to `null`.
43
+ */
37
44
  parent?: TaskEditItem;
38
- };
45
+ }
46
+ /**
47
+ * The `EditEventDependencies` object associated with the edited task.
48
+ * The created, updated and deleted items are accessible through their respective properties.
49
+ */
50
+ export interface EditEventDependencies {
51
+ /**
52
+ * Lists the newly created dependencies.
53
+ */
54
+ createdItems: any[];
55
+ /**
56
+ * Lists the updated dependencies.
57
+ */
58
+ updatedItems: any[];
59
+ /**
60
+ * Lists the deleted dependencies.
61
+ */
62
+ deletedItems: any[];
63
+ }
39
64
  /**
40
65
  * @hidden
41
66
  */
@@ -49,11 +74,3 @@ export interface EditEvent {
49
74
  dependencies: EditEventDependencies;
50
75
  editResultType: EditResultType;
51
76
  }
52
- /**
53
- * @hidden
54
- */
55
- export interface EditEventDependencies {
56
- createdItems: any[];
57
- updatedItems: any[];
58
- deletedItems: any[];
59
- }
@@ -31,6 +31,10 @@ export { TaskClickEvent } from './events/task-click-event.interface';
31
31
  export { TaskAddEvent, GanttAddTaskActionItem } from './events/task-add-event.interface';
32
32
  export { TaskEditEvent } from './events/task-edit-event.interface';
33
33
  export { TaskEditItem } from './events/task-edit-event.interface';
34
+ export { EditEventDependencies } from './events/task-edit-event.interface';
35
+ export { DependencyAddEvent } from './events/dependency-add-event.interface';
36
+ export { DragScrollSettings } from '../scrolling/drag-scroll-settings';
37
+ export { TaskDeleteEvent } from './events/task-delete-event.interface';
34
38
  export { ColumnLockedChangeEvent } from './events/column-locked-change-event.interface';
35
39
  export { ColumnReorderEvent } from './events/column-reorder-event.interface';
36
40
  export { ColumnResizeEvent } from './events/column-resize-event.interface';
@@ -0,0 +1,35 @@
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
+ * Represents the item interface used by the treelist to map all rendered items.
9
+ */
10
+ export interface ViewItem {
11
+ /**
12
+ * The original data item held by this entry.
13
+ */
14
+ data: any;
15
+ /**
16
+ * The id field value of the current data item.
17
+ */
18
+ id: any;
19
+ /**
20
+ * The item index as rendered in the TreeList.
21
+ */
22
+ rowIndex: number;
23
+ /**
24
+ * The hierarchical level of the current data item.
25
+ */
26
+ level: number;
27
+ /**
28
+ * Species whether the current data item has children.
29
+ */
30
+ hasChildren: boolean;
31
+ /**
32
+ * The ViewItem of the current data item parent.
33
+ */
34
+ parent: ViewItem;
35
+ }
@@ -0,0 +1,4 @@
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
+ *-------------------------------------------------------------------------------------------*/
@@ -0,0 +1,34 @@
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
+ import { GanttComponent } from '../gantt.component';
6
+ /**
7
+ * @hidden
8
+ */
9
+ export interface NavigationMetadata {
10
+ gantt: GanttComponent;
11
+ host: HTMLElement;
12
+ treeListElement: HTMLElement;
13
+ timelineElement: HTMLElement;
14
+ }
15
+ /**
16
+ * @hidden
17
+ */
18
+ export interface TableCellCoords {
19
+ rowIndex: number;
20
+ colIndex: number;
21
+ }
22
+ /**
23
+ * @hidden
24
+ */
25
+ export interface TaskActivityStatus {
26
+ /**
27
+ * Represents the timeline task index of the task element which should have tabindex="0".
28
+ */
29
+ activeIndex: number;
30
+ /**
31
+ * Specifies if the active task should be focused.
32
+ */
33
+ isFocused: boolean;
34
+ }
@@ -0,0 +1,4 @@
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
+ *-------------------------------------------------------------------------------------------*/
@@ -0,0 +1,126 @@
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
+ import { NgZone, OnDestroy, Renderer2 } from '@angular/core';
6
+ import { Subject } from 'rxjs';
7
+ import { ScrollSyncService } from '../scrolling/scroll-sync.service';
8
+ import { NavigationMetadata, TaskActivityStatus } from './navigation-models';
9
+ /**
10
+ * @hidden
11
+ */
12
+ export declare class NavigationService implements OnDestroy {
13
+ private zone;
14
+ private renderer;
15
+ private scrollSyncService;
16
+ /**
17
+ * Notifies when the tasks' focused and interactive (tabindex) state has changed.
18
+ *
19
+ * All tasks are rendered with tabindex="-1".
20
+ * When one is clicked, or when some navigation key keyboard key is pressed, it should be focused, assigned the focus class, and its tabindex updated to 0.
21
+ * All other tasks should get -1 tabindex and have the focus class removed from them.
22
+ */
23
+ readonly taskStatusChanges: Subject<TaskActivityStatus>;
24
+ /**
25
+ * Specifies whether navigation is enabled.
26
+ */
27
+ readonly enabled: boolean;
28
+ /**
29
+ * Used to retrieve read-only data about the currently active task.
30
+ */
31
+ readonly activeTask: TaskActivityStatus;
32
+ /**
33
+ * Persists the expected TreeList focused cell coords.
34
+ * When the tasks in the Timeline are navigated through, the expected TreeList focus target should also change,
35
+ * in order to allow back-tabbing from the Timeline to the same row in the TreeList.
36
+ */
37
+ private activeTreeListCell;
38
+ /**
39
+ * Persists the expected Timeline focused task index.
40
+ * When the cells in the TreeList are navigated through, the expected Timeline focus target should also change,
41
+ * in order to allow tabbing from the TreeList to the same row in the Timeline.
42
+ */
43
+ private activeTimelineIndex;
44
+ /**
45
+ * Keeps track of whether the Timeline part is focused.
46
+ * Used when the index of the task elements change (tasks are changed, pushed to, spliced from, etc.)
47
+ * and their status should be updated accordingly.
48
+ */
49
+ private isTimelineFocused;
50
+ /**
51
+ * The TreeList row index takes into account the header and filter rows.
52
+ * Used when translating Timeline task indices to TreeList row indices.
53
+ */
54
+ private readonly treeListHeaderRowsCount;
55
+ /**
56
+ * Keeps track of which part has last been focused.
57
+ * Used when calling `gantt.focus()` to determine which part of the component should receive focus.
58
+ */
59
+ private treeListLastActive;
60
+ /**
61
+ * Keeps track of which part has last been focused.
62
+ * Used when calling `gantt.focus()` to determine which part of the component should receive focus.
63
+ */
64
+ private timelineLastActive;
65
+ private gantt;
66
+ private host;
67
+ private treeListElement;
68
+ private timelineElement;
69
+ private _enabled;
70
+ private _activeTimelineIndex;
71
+ private _activeTreeListCell;
72
+ private eventListenerDisposers;
73
+ constructor(zone: NgZone, renderer: Renderer2, scrollSyncService: ScrollSyncService);
74
+ initialize({ gantt, host, treeListElement, timelineElement }: NavigationMetadata): void;
75
+ ngOnDestroy(): void;
76
+ /**
77
+ * Focuses either the last active TreeList cell, or the last active Timeline task,
78
+ * dependening on which of the two last held focus.
79
+ *
80
+ * Focuses the first TreeList cell by default.
81
+ */
82
+ focusLastActiveItem(): void;
83
+ /**
84
+ * Focuses the targeted TreeList cell regardless of the last peresisted target.
85
+ */
86
+ focusCell(rowIndex: number, colIndex: number): void;
87
+ /**
88
+ * Focuses the targeted Timeline task regardless of the last peresisted target.
89
+ */
90
+ focusTask(index: number): void;
91
+ /**
92
+ * Updates the focus target flags and notifies the active task to update its focused state.
93
+ */
94
+ handleTimelineFocusIn({ target }: FocusEvent): void;
95
+ /**
96
+ * Updates the timeline focus state flag and notifies the active task to update its focused state.
97
+ */
98
+ handleTimelineFocusOut({ relatedTarget }: FocusEvent): void;
99
+ /**
100
+ * Updates the focus target flags and corrects the TreeList focus target if needed.
101
+ * As the TreeList will keep its last focused cell with tabindex="0",
102
+ * this methods forcefully focuses the correct cell,
103
+ * when navigating in the Timeline has updated the expected TreeList focus target.
104
+ */
105
+ handleTreeListFocusIn(event: FocusEvent): void;
106
+ handleKeydown(event: KeyboardEvent): void;
107
+ /**
108
+ * Filters for task mousedown in the Timeline.
109
+ */
110
+ private handleTimelineMousedown;
111
+ /**
112
+ * Scrolls horizontally to the beginning of the target task if the beginning of its content is not in the viewport.
113
+ */
114
+ private scrollHorizontallyToTask;
115
+ /**
116
+ * Focus the TreeList on TreeList mousedown.
117
+ * A nasty hack to trick `handleTreeListFocusIn` into regarding the previous focus target as again the TreeList.
118
+ * Otherwise cell clicks are wrongly overwritten in `handleTreeListFocusIn` and the click focus target is not respected.
119
+ */
120
+ private focusTreeList;
121
+ /**
122
+ * Fires the `taskStatusChanges` event with active and focused status retrieved from
123
+ * `this.activeTimelineIndex` and `this.isTimelineFocused`.
124
+ */
125
+ private notifyTaskStatusChange;
126
+ }