@progress/kendo-angular-gantt 24.2.2 → 25.0.0-develop.1
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.
- package/fesm2022/progress-kendo-angular-gantt.mjs +199 -199
- package/index.d.ts +3876 -41
- package/package-metadata.mjs +2 -2
- package/package.json +22 -22
- package/schematics/ngAdd/index.js +7 -7
- package/binding-directives/flat-binding.directive.d.ts +0 -36
- package/binding-directives/hierarchy-binding.directive.d.ts +0 -35
- package/columns/cell-template.directive.d.ts +0 -36
- package/columns/column-base.component.d.ts +0 -14
- package/columns/column-group.component.d.ts +0 -39
- package/columns/column-menu-template.directive.d.ts +0 -29
- package/columns/column.component.d.ts +0 -62
- package/columns/columns.d.ts +0 -15
- package/columns/edit-template.directive.d.ts +0 -35
- package/columns/filter-cell-template.directive.d.ts +0 -21
- package/columns/filter-menu-template.directive.d.ts +0 -30
- package/columns/footer-template.directive.d.ts +0 -33
- package/columns/header-template.directive.d.ts +0 -32
- package/columns/span-column.component.d.ts +0 -41
- package/common/default-callbacks.d.ts +0 -25
- package/common/mapping.service.d.ts +0 -38
- package/common/option-changes.service.d.ts +0 -19
- package/dependencies/dependency-dom.service.d.ts +0 -46
- package/dependencies/dom-dependency-args.d.ts +0 -24
- package/dependencies/gantt-dependency.directive.d.ts +0 -29
- package/dependencies/utils.d.ts +0 -53
- package/directives.d.ts +0 -32
- package/dragging/dependency-drag-create.directive.d.ts +0 -82
- package/dragging/drag-validation-tooltip.component.d.ts +0 -32
- package/dragging/task-drag.directive.d.ts +0 -42
- package/dragging/task-drag.service.d.ts +0 -49
- package/editing/add-task.component.d.ts +0 -53
- package/editing/dependencies-table.component.d.ts +0 -45
- package/editing/edit-dialog.component.d.ts +0 -37
- package/editing/edit.service.d.ts +0 -44
- package/editing/task-fields.component.d.ts +0 -25
- package/editing/utils.d.ts +0 -10
- package/expanded-state/expand-event.d.ts +0 -16
- package/expanded-state/expandable.directive.d.ts +0 -26
- package/gantt.component.d.ts +0 -769
- package/gantt.module.d.ts +0 -60
- package/localization/custom-messages.component.d.ts +0 -26
- package/localization/gantt-localization.service.d.ts +0 -18
- package/localization/localized-messages.directive.d.ts +0 -16
- package/localization/messages.d.ts +0 -304
- package/models/cell-content-type.interface.d.ts +0 -11
- package/models/class-callbacks.d.ts +0 -43
- package/models/column-menu-settings.interface.d.ts +0 -26
- package/models/column-reorder-config.d.ts +0 -13
- package/models/current-time-settings.interface.d.ts +0 -22
- package/models/date-range.interface.d.ts +0 -19
- package/models/dependency-type.enum.d.ts +0 -31
- package/models/events/cell-click-event.interface.d.ts +0 -43
- package/models/events/cell-close-event.interface.d.ts +0 -43
- package/models/events/click-event.interface.d.ts +0 -23
- package/models/events/column-locked-change-event.interface.d.ts +0 -16
- package/models/events/column-reorder-event.interface.d.ts +0 -10
- package/models/events/column-resize-event.interface.d.ts +0 -10
- package/models/events/column-visibility-change-event.interface.d.ts +0 -14
- package/models/events/data-state-change-event.interface.d.ts +0 -10
- package/models/events/dependency-add-event.interface.d.ts +0 -26
- package/models/events/index.d.ts +0 -21
- package/models/events/selected-view-change-event.interface.d.ts +0 -19
- package/models/events/task-add-event.interface.d.ts +0 -31
- package/models/events/task-click-event.interface.d.ts +0 -30
- package/models/events/task-delete-event.interface.d.ts +0 -20
- package/models/events/task-drag-event.interface.d.ts +0 -65
- package/models/events/task-edit-event.interface.d.ts +0 -74
- package/models/filterable-settings.d.ts +0 -10
- package/models/gantt-dependency-model-fields.interface.d.ts +0 -36
- package/models/gantt-dependency.interface.d.ts +0 -29
- package/models/gantt-task-model-fields.interface.d.ts +0 -51
- package/models/gantt-task.interface.d.ts +0 -34
- package/models/models.d.ts +0 -23
- package/models/slot.interface.d.ts +0 -37
- package/models/sort-settings.d.ts +0 -42
- package/models/splitter-pane-options.interface.d.ts +0 -54
- package/models/timeline-header-date-format.d.ts +0 -19
- package/models/timeline-options.interface.d.ts +0 -46
- package/models/timeline-view.d.ts +0 -8
- package/models/toolbar-settings.d.ts +0 -28
- package/models/tooltip-options.interface.d.ts +0 -28
- package/models/view-item.interface.d.ts +0 -35
- package/navigation/navigation-models.d.ts +0 -38
- package/navigation/navigation.service.d.ts +0 -143
- package/navigation/utils.d.ts +0 -26
- package/package-metadata.d.ts +0 -9
- package/rendering/gantt-header-table-body.component.d.ts +0 -16
- package/rendering/gantt-milestone-task.component.d.ts +0 -22
- package/rendering/gantt-summary-task.component.d.ts +0 -25
- package/rendering/gantt-task-base.d.ts +0 -66
- package/rendering/gantt-task.component.d.ts +0 -29
- package/rendering/gantt-tasks-table-body.component.d.ts +0 -38
- package/scrolling/drag-scroll-settings.d.ts +0 -47
- package/scrolling/scroll-sync.service.d.ts +0 -33
- package/scrolling/timeline-scroll.directive.d.ts +0 -27
- package/scrolling/timeline-scroll.service.d.ts +0 -23
- package/scrolling/utils.d.ts +0 -29
- package/selection/selectable.directive.d.ts +0 -53
- package/selection/selection-change-event.d.ts +0 -24
- package/template-directives/summary-task-template.directive.d.ts +0 -32
- package/template-directives/task-content-template.directive.d.ts +0 -35
- package/template-directives/task-drag-tooltip-template.directive.d.ts +0 -36
- package/template-directives/task-template.directive.d.ts +0 -30
- package/template-directives/task-tooltip-template.directive.d.ts +0 -37
- package/timeline/current-time-marker.service.d.ts +0 -36
- package/timeline/gantt-timeline.component.d.ts +0 -101
- package/timeline/timeline-base-view.service.d.ts +0 -82
- package/timeline/timeline-day-view.component.d.ts +0 -26
- package/timeline/timeline-day-view.service.d.ts +0 -45
- package/timeline/timeline-month-view.component.d.ts +0 -26
- package/timeline/timeline-month-view.service.d.ts +0 -43
- package/timeline/timeline-view.service.d.ts +0 -19
- package/timeline/timeline-week-view.component.d.ts +0 -26
- package/timeline/timeline-week-view.service.d.ts +0 -43
- package/timeline/timeline-year-view.component.d.ts +0 -26
- package/timeline/timeline-year-view.service.d.ts +0 -36
- package/timeline/view-base.d.ts +0 -53
- package/toolbar/toolbar-navigation.service.d.ts +0 -18
- package/toolbar/toolbar-template.directive.d.ts +0 -39
- package/toolbar/toolbar.component.d.ts +0 -39
- package/toolbar/view-selector.component.d.ts +0 -55
- package/utils.d.ts +0 -173
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
/**
|
|
6
|
-
* Defines the settings for sorting a Gantt column.
|
|
7
|
-
*/
|
|
8
|
-
export type ColumnSortSettings = boolean | {
|
|
9
|
-
/**
|
|
10
|
-
* Enables removing the column sorting.
|
|
11
|
-
*/
|
|
12
|
-
allowUnsort?: boolean;
|
|
13
|
-
/**
|
|
14
|
-
* Sets the initial sort direction from the unsorted to the sorted state.
|
|
15
|
-
*
|
|
16
|
-
* The available values are:
|
|
17
|
-
* - `asc` (default)
|
|
18
|
-
* - `desc`
|
|
19
|
-
*/
|
|
20
|
-
initialDirection?: 'asc' | 'desc';
|
|
21
|
-
};
|
|
22
|
-
/**
|
|
23
|
-
* Defines the settings for sorting the Gantt.
|
|
24
|
-
*/
|
|
25
|
-
export type SortSettings = boolean | ColumnSortSettings & {
|
|
26
|
-
/**
|
|
27
|
-
* Sets the sort mode of the Gantt.
|
|
28
|
-
*
|
|
29
|
-
* The available values are:
|
|
30
|
-
* - `single`
|
|
31
|
-
* - `multiple`
|
|
32
|
-
*/
|
|
33
|
-
mode?: 'single' | 'multiple';
|
|
34
|
-
/**
|
|
35
|
-
* Enables the sort-sequence indicators for sorting multiple columns.
|
|
36
|
-
*/
|
|
37
|
-
showIndexes?: boolean;
|
|
38
|
-
};
|
|
39
|
-
/**
|
|
40
|
-
* @hidden
|
|
41
|
-
*/
|
|
42
|
-
export declare const normalize: (...settings: (SortSettings | ColumnSortSettings)[]) => any;
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
/**
|
|
6
|
-
* Represents the options for the pane that contains the treelist section.
|
|
7
|
-
*/
|
|
8
|
-
export interface TreeListPaneOptions {
|
|
9
|
-
/**
|
|
10
|
-
* Specifies if the user can hide the pane.
|
|
11
|
-
*/
|
|
12
|
-
collapsible?: boolean;
|
|
13
|
-
/**
|
|
14
|
-
* Specifies if the pane is collapsed initially.
|
|
15
|
-
*/
|
|
16
|
-
collapsed?: boolean;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* Represents the options for the pane that contains the timeline section.
|
|
20
|
-
*/
|
|
21
|
-
export interface TimelinePaneOptions extends TreeListPaneOptions {
|
|
22
|
-
/**
|
|
23
|
-
* Sets the initial size of the pane. The value must be between the `min` and `max` properties.
|
|
24
|
-
*/
|
|
25
|
-
size?: string;
|
|
26
|
-
/**
|
|
27
|
-
* Sets the minimum size of the pane.
|
|
28
|
-
*/
|
|
29
|
-
min?: string;
|
|
30
|
-
/**
|
|
31
|
-
* Sets the maximum size of the pane.
|
|
32
|
-
*/
|
|
33
|
-
max?: string;
|
|
34
|
-
/**
|
|
35
|
-
* Specifies if the user can resize the pane.
|
|
36
|
-
*/
|
|
37
|
-
resizable?: boolean;
|
|
38
|
-
}
|
|
39
|
-
/**
|
|
40
|
-
* @hidden
|
|
41
|
-
*/
|
|
42
|
-
export declare const DEFAULT_TREELIST_PANE_SETTINGS: Readonly<{
|
|
43
|
-
collapsible: true;
|
|
44
|
-
collapsed: false;
|
|
45
|
-
}>;
|
|
46
|
-
/**
|
|
47
|
-
* @hidden
|
|
48
|
-
*/
|
|
49
|
-
export declare const DEFAULT_TIMELINE_PANE_SETTINGS: Readonly<{
|
|
50
|
-
collapsible: true;
|
|
51
|
-
collapsed: false;
|
|
52
|
-
size: "50%";
|
|
53
|
-
resizable: true;
|
|
54
|
-
}>;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { DateFormatOptions } from "@progress/kendo-intl";
|
|
6
|
-
/**
|
|
7
|
-
* Represents the options for formatting the group headers and column headers in each Timeline Header.
|
|
8
|
-
*
|
|
9
|
-
*/
|
|
10
|
-
export interface TimelineHeaderDateFormat {
|
|
11
|
-
/**
|
|
12
|
-
* Sets the date format for the group header in the Timeline Header.
|
|
13
|
-
*/
|
|
14
|
-
groupHeaderDateFormat?: string | DateFormatOptions;
|
|
15
|
-
/**
|
|
16
|
-
* Sets the date format for the column header in the Timeline Header.
|
|
17
|
-
*/
|
|
18
|
-
columnHeaderDateFormat?: string | DateFormatOptions;
|
|
19
|
-
}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Day } from "@progress/kendo-date-math";
|
|
6
|
-
import { TimelineViewType } from "./timeline-view";
|
|
7
|
-
import { TimelineHeaderDateFormat } from "./timeline-header-date-format";
|
|
8
|
-
/**
|
|
9
|
-
* @hidden
|
|
10
|
-
*
|
|
11
|
-
* Represents an instance of a Gantt timeline options.
|
|
12
|
-
*
|
|
13
|
-
* @hidden
|
|
14
|
-
*/
|
|
15
|
-
export interface TimelineOptions {
|
|
16
|
-
/**
|
|
17
|
-
* The width of the time slot headers. Values are treated as pixels.
|
|
18
|
-
*
|
|
19
|
-
* @default 100
|
|
20
|
-
*/
|
|
21
|
-
slotWidth?: number;
|
|
22
|
-
/**
|
|
23
|
-
* The view type.
|
|
24
|
-
*/
|
|
25
|
-
type?: TimelineViewType;
|
|
26
|
-
/**
|
|
27
|
-
* The start of the work day.
|
|
28
|
-
*/
|
|
29
|
-
workDayStart?: string;
|
|
30
|
-
/**
|
|
31
|
-
* The end of the work day.
|
|
32
|
-
*/
|
|
33
|
-
workDayEnd?: string;
|
|
34
|
-
/**
|
|
35
|
-
* The start of the work week (index based).
|
|
36
|
-
*/
|
|
37
|
-
workWeekStart?: Day;
|
|
38
|
-
/**
|
|
39
|
-
* The end of the work week (index based).
|
|
40
|
-
*/
|
|
41
|
-
workWeekEnd?: Day;
|
|
42
|
-
/**
|
|
43
|
-
* The options for formatting the Group Headers and Column Headers in each individual Timeline Header.
|
|
44
|
-
*/
|
|
45
|
-
timelineHeadersDateFormat?: TimelineHeaderDateFormat;
|
|
46
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
/**
|
|
6
|
-
* Lists all possible `TimelineViewType` values.
|
|
7
|
-
*/
|
|
8
|
-
export type TimelineViewType = 'day' | 'week' | 'month' | 'year';
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
/**
|
|
6
|
-
* Defines the possible positions where the Gantt toolbar or its tools render.
|
|
7
|
-
*/
|
|
8
|
-
export type ToolbarPosition = 'top' | 'bottom' | 'both' | 'none';
|
|
9
|
-
/**
|
|
10
|
-
* Configures the toolbar's position and content.
|
|
11
|
-
*/
|
|
12
|
-
export interface ToolbarSettings {
|
|
13
|
-
/**
|
|
14
|
-
* Sets the position of the toolbar(s).
|
|
15
|
-
* @default 'top'
|
|
16
|
-
*/
|
|
17
|
-
position?: ToolbarPosition;
|
|
18
|
-
/**
|
|
19
|
-
* Sets the position of the toolbar(s) where the [`AddTaskComponent`](https://www.telerik.com/kendo-angular-ui/components/gantt/api/ganttaddtaskcomponent) renders.
|
|
20
|
-
* @default 'none'
|
|
21
|
-
*/
|
|
22
|
-
addTaskTool?: ToolbarPosition;
|
|
23
|
-
/**
|
|
24
|
-
* Sets the position of the toolbar(s) where the [`ViewSelectorComponent`](https://www.telerik.com/kendo-angular-ui/components/gantt/api/viewselectorcomponent) renders.
|
|
25
|
-
* @default 'top'
|
|
26
|
-
*/
|
|
27
|
-
viewSelectorTool?: ToolbarPosition;
|
|
28
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Position } from '@progress/kendo-angular-tooltip';
|
|
6
|
-
/**
|
|
7
|
-
* Configures the options for the tooltip that appears when you hover over a task.
|
|
8
|
-
*/
|
|
9
|
-
export interface TaskTooltipOptions {
|
|
10
|
-
/**
|
|
11
|
-
* Sets the `position` of the Tooltip or Popover relative to the anchor element.
|
|
12
|
-
*
|
|
13
|
-
* @default 'left'
|
|
14
|
-
*/
|
|
15
|
-
position: Position;
|
|
16
|
-
/**
|
|
17
|
-
* Shows a callout arrow on the Tooltip when set to `true`.
|
|
18
|
-
*
|
|
19
|
-
* @default true
|
|
20
|
-
*/
|
|
21
|
-
callout: boolean;
|
|
22
|
-
/**
|
|
23
|
-
* Sets the delay in milliseconds before the Tooltip appears.
|
|
24
|
-
*
|
|
25
|
-
* @default 100
|
|
26
|
-
*/
|
|
27
|
-
showAfter: number;
|
|
28
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
/**
|
|
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
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { QueryList } from "@angular/core";
|
|
6
|
-
import { TreeListComponent } from "@progress/kendo-angular-treelist";
|
|
7
|
-
import { GanttColumnBase } from "../columns/column-base.component";
|
|
8
|
-
/**
|
|
9
|
-
* @hidden
|
|
10
|
-
*/
|
|
11
|
-
export interface NavigationMetadata {
|
|
12
|
-
treeList: TreeListComponent;
|
|
13
|
-
host: HTMLElement;
|
|
14
|
-
treeListElement: HTMLElement;
|
|
15
|
-
timelineElement: HTMLElement;
|
|
16
|
-
columns: QueryList<GanttColumnBase>;
|
|
17
|
-
data: any[];
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* @hidden
|
|
21
|
-
*/
|
|
22
|
-
export interface TableCellCoords {
|
|
23
|
-
rowIndex: number;
|
|
24
|
-
colIndex: number;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* @hidden
|
|
28
|
-
*/
|
|
29
|
-
export interface TaskActivityStatus {
|
|
30
|
-
/**
|
|
31
|
-
* Represents the timeline task index of the task element which should have tabindex="0".
|
|
32
|
-
*/
|
|
33
|
-
activeIndex: number;
|
|
34
|
-
/**
|
|
35
|
-
* Specifies if the active task should be focused.
|
|
36
|
-
*/
|
|
37
|
-
isFocused: boolean;
|
|
38
|
-
}
|
|
@@ -1,143 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { NgZone, OnDestroy, Renderer2 } from '@angular/core';
|
|
6
|
-
import { Subject } from 'rxjs';
|
|
7
|
-
import { ScrollSyncService } from '../scrolling/scroll-sync.service';
|
|
8
|
-
import { TaskActivityStatus } from './navigation-models';
|
|
9
|
-
import { NavigationMetadata } from './navigation-models';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
/**
|
|
12
|
-
* @hidden
|
|
13
|
-
*/
|
|
14
|
-
export declare class NavigationService implements OnDestroy {
|
|
15
|
-
private zone;
|
|
16
|
-
private renderer;
|
|
17
|
-
private scrollSyncService;
|
|
18
|
-
/**
|
|
19
|
-
* Notifies when the tasks' focused and interactive (tabindex) state has changed.
|
|
20
|
-
*
|
|
21
|
-
* All tasks are rendered with tabindex="-1".
|
|
22
|
-
* 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.
|
|
23
|
-
* All other tasks should get -1 tabindex and have the focus class removed from them.
|
|
24
|
-
*/
|
|
25
|
-
readonly taskStatusChanges: Subject<TaskActivityStatus>;
|
|
26
|
-
/**
|
|
27
|
-
* Specifies whether navigation is enabled.
|
|
28
|
-
*/
|
|
29
|
-
get enabled(): boolean;
|
|
30
|
-
/**
|
|
31
|
-
* Used to retrieve read-only data about the currently active task.
|
|
32
|
-
*/
|
|
33
|
-
get activeTask(): TaskActivityStatus;
|
|
34
|
-
/**
|
|
35
|
-
* Persists the expected Timeline focused task index.
|
|
36
|
-
* When the cells in the TreeList are navigated through, the expected Timeline focus target should also change,
|
|
37
|
-
* in order to allow tabbing from the TreeList to the same row in the Timeline.
|
|
38
|
-
*/
|
|
39
|
-
set activeTimelineIndex(index: number);
|
|
40
|
-
get activeTimelineIndex(): number;
|
|
41
|
-
/**
|
|
42
|
-
* Persists the expected TreeList focused cell coords.
|
|
43
|
-
* When the tasks in the Timeline are navigated through, the expected TreeList focus target should also change,
|
|
44
|
-
* in order to allow back-tabbing from the Timeline to the same row in the TreeList.
|
|
45
|
-
*/
|
|
46
|
-
private set activeTreeListCell(value);
|
|
47
|
-
private get activeTreeListCell();
|
|
48
|
-
/**
|
|
49
|
-
* Keeps track of whether the Timeline part is focused.
|
|
50
|
-
* Used when the index of the task elements change (tasks are changed, pushed to, spliced from, etc.)
|
|
51
|
-
* and their status should be updated accordingly.
|
|
52
|
-
*/
|
|
53
|
-
private isTimelineFocused;
|
|
54
|
-
/**
|
|
55
|
-
* The TreeList row index takes into account the header and filter rows.
|
|
56
|
-
* Used when translating Timeline task indices to TreeList row indices.
|
|
57
|
-
*/
|
|
58
|
-
private get treeListHeaderRowsCount();
|
|
59
|
-
/**
|
|
60
|
-
* Keeps track of which part has last been focused.
|
|
61
|
-
* Used when calling `gantt.focus()` to determine which part of the component should receive focus.
|
|
62
|
-
*/
|
|
63
|
-
private treeListLastActive;
|
|
64
|
-
/**
|
|
65
|
-
* Keeps track of which part has last been focused.
|
|
66
|
-
* Used when calling `gantt.focus()` to determine which part of the component should receive focus.
|
|
67
|
-
*/
|
|
68
|
-
private timelineLastActive;
|
|
69
|
-
private metadata;
|
|
70
|
-
private bar;
|
|
71
|
-
private _enabled;
|
|
72
|
-
private _activeTimelineIndex;
|
|
73
|
-
private _activeTreeListCell;
|
|
74
|
-
private eventListenerDisposers;
|
|
75
|
-
constructor(zone: NgZone, renderer: Renderer2, scrollSyncService: ScrollSyncService);
|
|
76
|
-
initialize(metadata: NavigationMetadata): void;
|
|
77
|
-
ngOnDestroy(): void;
|
|
78
|
-
/**
|
|
79
|
-
* Focuses either the last active TreeList cell, or the last active Timeline task,
|
|
80
|
-
* dependening on which of the two last held focus.
|
|
81
|
-
*
|
|
82
|
-
* Focuses the first TreeList cell by default.
|
|
83
|
-
*/
|
|
84
|
-
focusLastActiveItem(): void;
|
|
85
|
-
/**
|
|
86
|
-
* Focuses the targeted TreeList cell regardless of the last peresisted target.
|
|
87
|
-
*/
|
|
88
|
-
focusCell(rowIndex: number, colIndex: number): void;
|
|
89
|
-
/**
|
|
90
|
-
* Focuses the targeted Timeline task regardless of the last peresisted target.
|
|
91
|
-
*/
|
|
92
|
-
focusTask(index: number): void;
|
|
93
|
-
/**
|
|
94
|
-
* Updates the focus target flags and notifies the active task to update its focused state.
|
|
95
|
-
*/
|
|
96
|
-
handleTimelineFocusIn({ target }: FocusEvent): void;
|
|
97
|
-
/**
|
|
98
|
-
* Updates the timeline focus state flag and notifies the active task to update its focused state.
|
|
99
|
-
* Restore bar to tab order when focus leaves Timeline.
|
|
100
|
-
*/
|
|
101
|
-
handleTimelineFocusOut({ relatedTarget }: FocusEvent): void;
|
|
102
|
-
/**
|
|
103
|
-
* Updates the focus target flags and corrects the TreeList focus target if needed.
|
|
104
|
-
* As the TreeList will keep its last focused cell with tabindex="0",
|
|
105
|
-
* this methods forcefully focuses the correct cell,
|
|
106
|
-
* when navigating in the Timeline has updated the expected TreeList focus target.
|
|
107
|
-
*/
|
|
108
|
-
handleTreeListFocusIn(event: FocusEvent): void;
|
|
109
|
-
/**
|
|
110
|
-
* Handle focus leaving TreeList.
|
|
111
|
-
* Restore bar to tab order and demote the cell when focus leaves TreeList.
|
|
112
|
-
*/
|
|
113
|
-
handleTreeListFocusOut(event: FocusEvent): void;
|
|
114
|
-
updateActiveTimeLineIndex(index: number): void;
|
|
115
|
-
updateActiveTreeListCell(): void;
|
|
116
|
-
/**
|
|
117
|
-
* Fires the `taskStatusChanges` event with active and focused status retrieved from
|
|
118
|
-
* `this.activeTimelineIndex` and `this.isTimelineFocused`.
|
|
119
|
-
*/
|
|
120
|
-
notifyTaskStatusChange(): void;
|
|
121
|
-
/**
|
|
122
|
-
* Scrolls horizontally to the beginning of the target task if the beginning of its content is not in the viewport.
|
|
123
|
-
*/
|
|
124
|
-
scrollHorizontallyToTask(): void;
|
|
125
|
-
/**
|
|
126
|
-
* Filters for task mousedown in the Timeline.
|
|
127
|
-
*/
|
|
128
|
-
private handleTimelineMousedown;
|
|
129
|
-
/**
|
|
130
|
-
* Focus the TreeList on TreeList mousedown.
|
|
131
|
-
* A nasty hack to trick `handleTreeListFocusIn` into regarding the previous focus target as again the TreeList.
|
|
132
|
-
* Otherwise cell clicks are wrongly overwritten in `handleTreeListFocusIn` and the click focus target is not respected.
|
|
133
|
-
*/
|
|
134
|
-
private focusTreeList;
|
|
135
|
-
/**
|
|
136
|
-
* Intercept Tab key on splitter bar to focus the TreeList.
|
|
137
|
-
* Since TreeList first cell has tabindex="-1", Tab from bar won't naturally focus it.
|
|
138
|
-
* This handler manually focuses the cell and prevents default Tab to avoid jumping to Timeline.
|
|
139
|
-
*/
|
|
140
|
-
private handleSplitterBarKeydown;
|
|
141
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NavigationService, never>;
|
|
142
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<NavigationService>;
|
|
143
|
-
}
|
package/navigation/utils.d.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
/**
|
|
6
|
-
* @hidden
|
|
7
|
-
*/
|
|
8
|
-
export declare const isArrowUpDownKey: (code: string) => boolean;
|
|
9
|
-
/**
|
|
10
|
-
* @hidden
|
|
11
|
-
*/
|
|
12
|
-
export declare const isNavigationKey: (code: string) => boolean;
|
|
13
|
-
/**
|
|
14
|
-
* @hidden
|
|
15
|
-
*/
|
|
16
|
-
export declare const isExpandCollapseKey: (code: string, altKey: boolean) => boolean;
|
|
17
|
-
/**
|
|
18
|
-
* @hidden
|
|
19
|
-
*/
|
|
20
|
-
export declare const isViewDigitKey: (code: string) => boolean;
|
|
21
|
-
/**
|
|
22
|
-
* @hidden
|
|
23
|
-
*
|
|
24
|
-
* Returns the corresponding view index for the pressed digit key (Digit 1 => 0, Digit 2 => 1, etc.).
|
|
25
|
-
*/
|
|
26
|
-
export declare const getIndexFromViewDigitKeyCode: (code: string) => number;
|
package/package-metadata.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { type PackageMetadata } from '@progress/kendo-licensing';
|
|
6
|
-
/**
|
|
7
|
-
* @hidden
|
|
8
|
-
*/
|
|
9
|
-
export declare const packageMetadata: PackageMetadata;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
/**
|
|
7
|
-
* @hidden
|
|
8
|
-
*/
|
|
9
|
-
export declare class GanttHeaderTableBodyComponent {
|
|
10
|
-
tbodyClass: boolean;
|
|
11
|
-
groupSlots: any[];
|
|
12
|
-
slots: any[];
|
|
13
|
-
trackBySlotIndex(index: number, item: any): string;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GanttHeaderTableBodyComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GanttHeaderTableBodyComponent, "[kendoGanttHeaderTableBody]", never, { "groupSlots": { "alias": "groupSlots"; "required": false; }; "slots": { "alias": "slots"; "required": false; }; }, {}, never, never, true, never>;
|
|
16
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { ChangeDetectorRef } from '@angular/core';
|
|
6
|
-
import { MappingService } from '../common/mapping.service';
|
|
7
|
-
import { NavigationService } from '../navigation/navigation.service';
|
|
8
|
-
import { DependencyDomService } from '../dependencies/dependency-dom.service';
|
|
9
|
-
import { OptionChangesService } from '../common/option-changes.service';
|
|
10
|
-
import { TimelineViewService } from './../timeline/timeline-view.service';
|
|
11
|
-
import { GanttTaskBase } from './gantt-task-base';
|
|
12
|
-
import * as i0 from "@angular/core";
|
|
13
|
-
/**
|
|
14
|
-
* @hidden
|
|
15
|
-
*/
|
|
16
|
-
export declare class GanttMilestoneTaskComponent extends GanttTaskBase {
|
|
17
|
-
milestoneWrapperClass: boolean;
|
|
18
|
-
touchEnabled: boolean;
|
|
19
|
-
constructor(mapper: MappingService, timelineViewService: TimelineViewService, dependencyDomService: DependencyDomService, optionChangesService: OptionChangesService, cdr: ChangeDetectorRef, navigationService: NavigationService);
|
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GanttMilestoneTaskComponent, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GanttMilestoneTaskComponent, "kendo-gantt-milestone-task", never, {}, {}, never, never, true, never>;
|
|
22
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { ChangeDetectorRef, TemplateRef } from '@angular/core';
|
|
6
|
-
import { MappingService } from '../common/mapping.service';
|
|
7
|
-
import { NavigationService } from '../navigation/navigation.service';
|
|
8
|
-
import { DependencyDomService } from '../dependencies/dependency-dom.service';
|
|
9
|
-
import { OptionChangesService } from '../common/option-changes.service';
|
|
10
|
-
import { TimelineViewService } from './../timeline/timeline-view.service';
|
|
11
|
-
import { GanttTaskBase } from './gantt-task-base';
|
|
12
|
-
import * as i0 from "@angular/core";
|
|
13
|
-
/**
|
|
14
|
-
* @hidden
|
|
15
|
-
*/
|
|
16
|
-
export declare class GanttSummaryTaskComponent extends GanttTaskBase {
|
|
17
|
-
summaryWrapperClass: boolean;
|
|
18
|
-
template: TemplateRef<any>;
|
|
19
|
-
isExpanded: (task: object) => boolean;
|
|
20
|
-
touchEnabled: boolean;
|
|
21
|
-
get ariaExpanded(): string;
|
|
22
|
-
constructor(mapper: MappingService, timelineViewService: TimelineViewService, dependencyDomService: DependencyDomService, optionChangesService: OptionChangesService, cdr: ChangeDetectorRef, navigationService: NavigationService);
|
|
23
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GanttSummaryTaskComponent, never>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GanttSummaryTaskComponent, "kendo-gantt-summary-task", never, { "template": { "alias": "template"; "required": false; }; "isExpanded": { "alias": "isExpanded"; "required": false; }; }, {}, never, never, true, never>;
|
|
25
|
-
}
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { ChangeDetectorRef, ElementRef, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
6
|
-
import { NavigationService } from '../navigation/navigation.service';
|
|
7
|
-
import { TimelineBaseViewService } from '../timeline/timeline-base-view.service';
|
|
8
|
-
import { OptionChangesService } from '../common/option-changes.service';
|
|
9
|
-
import { TaskClassFn } from '../models/class-callbacks';
|
|
10
|
-
import { TimelineViewType } from '../models/timeline-view';
|
|
11
|
-
import { TimelineViewService } from '../timeline/timeline-view.service';
|
|
12
|
-
import { DependencyDomService } from '../dependencies/dependency-dom.service';
|
|
13
|
-
import { MappingService } from '../common/mapping.service';
|
|
14
|
-
import { TaskDragService } from '../dragging/task-drag.service';
|
|
15
|
-
import * as i0 from "@angular/core";
|
|
16
|
-
/**
|
|
17
|
-
* @hidden
|
|
18
|
-
*/
|
|
19
|
-
export declare abstract class GanttTaskBase implements OnInit, OnChanges, OnDestroy {
|
|
20
|
-
mapper: MappingService;
|
|
21
|
-
private timelineViewService;
|
|
22
|
-
private dependencyDomService;
|
|
23
|
-
private optionChangesService;
|
|
24
|
-
private cdr;
|
|
25
|
-
private navigationService;
|
|
26
|
-
wrapperClass: boolean;
|
|
27
|
-
get taskIndexAttribute(): number;
|
|
28
|
-
/**
|
|
29
|
-
* Points to the `.k-task` element of the template (present in all three task types).
|
|
30
|
-
*/
|
|
31
|
-
taskElement: ElementRef<HTMLElement>;
|
|
32
|
-
dataItem: any;
|
|
33
|
-
index: number;
|
|
34
|
-
level: number;
|
|
35
|
-
renderDependencyDragClues: boolean;
|
|
36
|
-
selectable: boolean;
|
|
37
|
-
isSelected: (dataItem: object) => boolean;
|
|
38
|
-
activeView: TimelineViewType;
|
|
39
|
-
taskClass: TaskClassFn;
|
|
40
|
-
get ariaSelected(): string;
|
|
41
|
-
get slotUnitDuration(): number;
|
|
42
|
-
get viewService(): TimelineBaseViewService;
|
|
43
|
-
get slotWidth(): number;
|
|
44
|
-
get taskWidth(): number;
|
|
45
|
-
/**
|
|
46
|
-
* The `left` style prop has to be applied to the host element (.k-task-wrap), as the drag clue elements are displayed on .k-task-wrap hover.
|
|
47
|
-
* Applying the `left` offset to the inner .k-task element leaves the .k-task-wrap element rendered with an offset of 0 somewhere on the left
|
|
48
|
-
* and hovering just the .k-task element doesn't expose the drag clues.
|
|
49
|
-
* Additionally, positioning the entire container takes care of positioning the hints as well.
|
|
50
|
-
*/
|
|
51
|
-
get taskOffset(): number;
|
|
52
|
-
get completionOverlayWidth(): number;
|
|
53
|
-
draggedCompletionWidth: number;
|
|
54
|
-
protected taskDragService: TaskDragService;
|
|
55
|
-
protected completionDragResult: number;
|
|
56
|
-
private subscriptions;
|
|
57
|
-
constructor(mapper: MappingService, // left public to be available for usage in the templates
|
|
58
|
-
timelineViewService: TimelineViewService, dependencyDomService: DependencyDomService, optionChangesService: OptionChangesService, cdr: ChangeDetectorRef, navigationService: NavigationService);
|
|
59
|
-
ngOnInit(): void;
|
|
60
|
-
ngAfterViewInit(): void;
|
|
61
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
62
|
-
ngOnDestroy(): void;
|
|
63
|
-
private updateActiveState;
|
|
64
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GanttTaskBase, never>;
|
|
65
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<GanttTaskBase, "kendo-gantt-task-base", never, { "dataItem": { "alias": "dataItem"; "required": false; }; "index": { "alias": "index"; "required": false; }; "level": { "alias": "level"; "required": false; }; "renderDependencyDragClues": { "alias": "renderDependencyDragClues"; "required": false; }; "selectable": { "alias": "selectable"; "required": false; }; "isSelected": { "alias": "isSelected"; "required": false; }; "activeView": { "alias": "activeView"; "required": false; }; "taskClass": { "alias": "taskClass"; "required": false; }; }, {}, never, never, true, never>;
|
|
66
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { ChangeDetectorRef, TemplateRef } from '@angular/core';
|
|
6
|
-
import { MappingService } from '../common/mapping.service';
|
|
7
|
-
import { NavigationService } from '../navigation/navigation.service';
|
|
8
|
-
import { EditService } from '../editing/edit.service';
|
|
9
|
-
import { DependencyDomService } from '../dependencies/dependency-dom.service';
|
|
10
|
-
import { OptionChangesService } from '../common/option-changes.service';
|
|
11
|
-
import { TimelineViewService } from './../timeline/timeline-view.service';
|
|
12
|
-
import { GanttTaskBase } from './gantt-task-base';
|
|
13
|
-
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
14
|
-
import * as i0 from "@angular/core";
|
|
15
|
-
/**
|
|
16
|
-
* @hidden
|
|
17
|
-
*/
|
|
18
|
-
export declare class GanttTaskComponent extends GanttTaskBase {
|
|
19
|
-
private editService;
|
|
20
|
-
taskContentTemplate: TemplateRef<any>;
|
|
21
|
-
taskTemplate: TemplateRef<any>;
|
|
22
|
-
xIcon: SVGIcon;
|
|
23
|
-
touchEnabled: boolean;
|
|
24
|
-
get showDragHandles(): boolean;
|
|
25
|
-
constructor(editService: EditService, mapper: MappingService, timelineViewService: TimelineViewService, dependencyDomService: DependencyDomService, optionChangesService: OptionChangesService, cdr: ChangeDetectorRef, navigationService: NavigationService);
|
|
26
|
-
onTaskDelete(): void;
|
|
27
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GanttTaskComponent, never>;
|
|
28
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GanttTaskComponent, "kendo-gantt-task", never, { "taskContentTemplate": { "alias": "taskContentTemplate"; "required": false; }; "taskTemplate": { "alias": "taskTemplate"; "required": false; }; }, {}, never, never, true, never>;
|
|
29
|
-
}
|