@progress/kendo-angular-gantt 24.2.2 → 25.0.0-develop.2
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,43 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import type { GanttComponent } from '../../gantt.component';
|
|
6
|
-
import { PreventableEvent } from '@progress/kendo-angular-common';
|
|
7
|
-
import { TaskEditItem } from './task-edit-event.interface';
|
|
8
|
-
/**
|
|
9
|
-
* Represents the arguments for the `cellClose` event of the Gantt.
|
|
10
|
-
*/
|
|
11
|
-
export declare class CellCloseEvent extends PreventableEvent {
|
|
12
|
-
/**
|
|
13
|
-
* Holds the data item.
|
|
14
|
-
*/
|
|
15
|
-
dataItem: any;
|
|
16
|
-
/**
|
|
17
|
-
* Indicates if the data item is new or existing.
|
|
18
|
-
*/
|
|
19
|
-
isNew: boolean;
|
|
20
|
-
/**
|
|
21
|
-
* Contains the Gantt column associated with the closed cell.
|
|
22
|
-
*/
|
|
23
|
-
column: any;
|
|
24
|
-
/**
|
|
25
|
-
* Contains the [`FormGroup`](link:site.data.urls.angular['formgroupapi']) used to edit the cell that will be closed.
|
|
26
|
-
*/
|
|
27
|
-
formGroup: any;
|
|
28
|
-
/**
|
|
29
|
-
* Contains the DOM event that triggered the `cellClose` event.
|
|
30
|
-
* This property may be missing if `cellClose` is triggered by an API call.
|
|
31
|
-
*/
|
|
32
|
-
originalEvent: any;
|
|
33
|
-
/**
|
|
34
|
-
* Holds the `GanttComponent` instance.
|
|
35
|
-
*/
|
|
36
|
-
sender: GanttComponent;
|
|
37
|
-
/**
|
|
38
|
-
* Contains the `TaskEditItem` for the edited task.
|
|
39
|
-
* Access the parent item through the `parent` property to traverse all ancestors that need updates.
|
|
40
|
-
*/
|
|
41
|
-
item: TaskEditItem;
|
|
42
|
-
constructor(options: any);
|
|
43
|
-
}
|
|
@@ -1,23 +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
|
-
* Arguments for the `remove` event.
|
|
9
|
-
*/
|
|
10
|
-
export interface ClickEvent {
|
|
11
|
-
/**
|
|
12
|
-
* The event type.
|
|
13
|
-
*/
|
|
14
|
-
dataItem: any;
|
|
15
|
-
/**
|
|
16
|
-
* The row index for the operation.
|
|
17
|
-
*/
|
|
18
|
-
rowIndex: number;
|
|
19
|
-
/**
|
|
20
|
-
* The original DOM event.
|
|
21
|
-
*/
|
|
22
|
-
originalEvent: any;
|
|
23
|
-
}
|
|
@@ -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 { GanttColumnBase } from '../../columns/column-base.component';
|
|
6
|
-
/**
|
|
7
|
-
* @hidden
|
|
8
|
-
*
|
|
9
|
-
* Arguments for the `columnLockedChange` event.
|
|
10
|
-
*/
|
|
11
|
-
export interface ColumnLockedChangeEvent {
|
|
12
|
-
/**
|
|
13
|
-
* The columns whose locked state is changed.
|
|
14
|
-
*/
|
|
15
|
-
columns: GanttColumnBase[];
|
|
16
|
-
}
|
|
@@ -1,10 +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 { ColumnReorderEvent as TreeListColumnReorderEvent } from '@progress/kendo-angular-treelist';
|
|
6
|
-
/**
|
|
7
|
-
* Provides the arguments for the `columnReorder` event.
|
|
8
|
-
*/
|
|
9
|
-
export interface ColumnReorderEvent extends TreeListColumnReorderEvent {
|
|
10
|
-
}
|
|
@@ -1,10 +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 { ColumnResizeArgs } from '@progress/kendo-angular-treelist';
|
|
6
|
-
/**
|
|
7
|
-
* Provides the arguments for the `columnResize` event.
|
|
8
|
-
*/
|
|
9
|
-
export interface ColumnResizeEvent extends ColumnResizeArgs {
|
|
10
|
-
}
|
|
@@ -1,14 +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 { GanttColumnBase } from '../../columns/column-base.component';
|
|
6
|
-
/**
|
|
7
|
-
* Provides the arguments for the `columnVisibilityChange` event.
|
|
8
|
-
*/
|
|
9
|
-
export interface ColumnVisibilityChangeEvent {
|
|
10
|
-
/**
|
|
11
|
-
* Contains the columns whose visibility changes.
|
|
12
|
-
*/
|
|
13
|
-
columns: GanttColumnBase[];
|
|
14
|
-
}
|
|
@@ -1,10 +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 { DataStateChangeEvent as TreeListDataStateChangeEvent } from "@progress/kendo-angular-treelist";
|
|
6
|
-
/**
|
|
7
|
-
* Provides the arguments for the `dataStateChange` event.
|
|
8
|
-
*/
|
|
9
|
-
export interface DataStateChangeEvent extends TreeListDataStateChangeEvent {
|
|
10
|
-
}
|
|
@@ -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
|
-
import { DependencyType } from '../dependency-type.enum';
|
|
6
|
-
/**
|
|
7
|
-
* Provides the event data for the [`dependencyAdd`](https://www.telerik.com/kendo-angular-ui/components/gantt/api/ganttcomponent#dependencyadd) event.
|
|
8
|
-
*/
|
|
9
|
-
export interface DependencyAddEvent {
|
|
10
|
-
/**
|
|
11
|
-
* Represents the task where the dependency starts (predecessor).
|
|
12
|
-
*/
|
|
13
|
-
fromTask: any;
|
|
14
|
-
/**
|
|
15
|
-
* Represents the task where the dependency ends (successor).
|
|
16
|
-
*/
|
|
17
|
-
toTask: any;
|
|
18
|
-
/**
|
|
19
|
-
* Specifies the dependency type for the linked tasks.
|
|
20
|
-
*/
|
|
21
|
-
type: DependencyType;
|
|
22
|
-
/**
|
|
23
|
-
* Indicates if the dependency creation is a valid link between the two tasks.
|
|
24
|
-
*/
|
|
25
|
-
isValid: boolean;
|
|
26
|
-
}
|
package/models/events/index.d.ts
DELETED
|
@@ -1,21 +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
|
-
export { ClickEvent } from './click-event.interface';
|
|
6
|
-
export { SelectedViewChangeEvent } from './selected-view-change-event.interface';
|
|
7
|
-
export { DataStateChangeEvent } from './data-state-change-event.interface';
|
|
8
|
-
export { CellClickEvent } from './cell-click-event.interface';
|
|
9
|
-
export { CellCloseEvent } from './cell-close-event.interface';
|
|
10
|
-
export { TaskClickEvent } from './task-click-event.interface';
|
|
11
|
-
export { TaskAddEvent, GanttAddTaskActionItem } from './task-add-event.interface';
|
|
12
|
-
export { TaskEditEvent } from './task-edit-event.interface';
|
|
13
|
-
export { TaskEditItem } from './task-edit-event.interface';
|
|
14
|
-
export { EditEventDependencies } from './task-edit-event.interface';
|
|
15
|
-
export { DependencyAddEvent } from './dependency-add-event.interface';
|
|
16
|
-
export { TaskDeleteEvent } from './task-delete-event.interface';
|
|
17
|
-
export { ColumnLockedChangeEvent } from './column-locked-change-event.interface';
|
|
18
|
-
export { ColumnReorderEvent } from './column-reorder-event.interface';
|
|
19
|
-
export { ColumnResizeEvent } from './column-resize-event.interface';
|
|
20
|
-
export { ColumnVisibilityChangeEvent } from './column-visibility-change-event.interface';
|
|
21
|
-
export { TaskDragEvent } from './task-drag-event.interface';
|
|
@@ -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
|
-
/**
|
|
6
|
-
* @hidden
|
|
7
|
-
*
|
|
8
|
-
* Called every time the active view is changed.
|
|
9
|
-
*/
|
|
10
|
-
export interface SelectedViewChangeEvent {
|
|
11
|
-
/**
|
|
12
|
-
* The selected view.
|
|
13
|
-
*/
|
|
14
|
-
value: string;
|
|
15
|
-
/**
|
|
16
|
-
* The original DOM event.
|
|
17
|
-
*/
|
|
18
|
-
originalEvent: any;
|
|
19
|
-
}
|
|
@@ -1,31 +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 { TaskEditItem } from "./task-edit-event.interface";
|
|
6
|
-
/**
|
|
7
|
-
* Contains the event data for the [`taskAdd`](https://www.telerik.com/kendo-angular-ui/components/gantt/api/ganttcomponent#taskadd) event.
|
|
8
|
-
*/
|
|
9
|
-
export interface TaskAddEvent {
|
|
10
|
-
/**
|
|
11
|
-
* Holds the currently selected Gantt task.
|
|
12
|
-
*/
|
|
13
|
-
selectedItem: TaskEditItem | null;
|
|
14
|
-
/**
|
|
15
|
-
* Holds the type of add action. The built-in types are `addTask`, `addChild`, `addAbove`, and `addBelow`.
|
|
16
|
-
*/
|
|
17
|
-
actionType: string;
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* Describes the AddTask DropDownButton options.
|
|
21
|
-
*/
|
|
22
|
-
export interface GanttAddTaskActionItem {
|
|
23
|
-
/**
|
|
24
|
-
* Holds the text for the DropDownButton option.
|
|
25
|
-
*/
|
|
26
|
-
text: string;
|
|
27
|
-
/**
|
|
28
|
-
* Holds the type of action for the DropDownButton option.
|
|
29
|
-
*/
|
|
30
|
-
type: string;
|
|
31
|
-
}
|
|
@@ -1,30 +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 { GanttComponent } from '../../gantt.component';
|
|
6
|
-
/**
|
|
7
|
-
* Provides the arguments for the `taskClick` event of the Gantt.
|
|
8
|
-
*/
|
|
9
|
-
export interface TaskClickEvent {
|
|
10
|
-
/**
|
|
11
|
-
* Holds the DOM event that triggered the `taskClick` event.
|
|
12
|
-
*/
|
|
13
|
-
originalEvent: PointerEvent | KeyboardEvent;
|
|
14
|
-
/**
|
|
15
|
-
* Holds the data item for the clicked task.
|
|
16
|
-
*/
|
|
17
|
-
dataItem: any;
|
|
18
|
-
/**
|
|
19
|
-
* Holds the Gantt component instance.
|
|
20
|
-
*/
|
|
21
|
-
sender: GanttComponent;
|
|
22
|
-
/**
|
|
23
|
-
* Holds the order index of the clicked task, based on the number of rendered tasks in the Timeline.
|
|
24
|
-
*/
|
|
25
|
-
index: number;
|
|
26
|
-
/**
|
|
27
|
-
* Holds the type of event that triggered the `taskClick` event.
|
|
28
|
-
*/
|
|
29
|
-
type: 'click' | 'contextmenu' | 'dblclick';
|
|
30
|
-
}
|
|
@@ -1,20 +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 { GanttComponent } from '../../gantt.component';
|
|
6
|
-
import { TaskEditItem } from './task-edit-event.interface';
|
|
7
|
-
/**
|
|
8
|
-
* Contains the event data for the [`taskDelete`](https://www.telerik.com/kendo-angular-ui/components/gantt/api/ganttcomponent#taskdelete) event.
|
|
9
|
-
*/
|
|
10
|
-
export interface TaskDeleteEvent {
|
|
11
|
-
/**
|
|
12
|
-
* Holds the item for the delete request.
|
|
13
|
-
* You can access the parent item through the `parent` property to update all ancestors.
|
|
14
|
-
*/
|
|
15
|
-
item: TaskEditItem;
|
|
16
|
-
/**
|
|
17
|
-
* Holds the `GanttComponent` instance.
|
|
18
|
-
*/
|
|
19
|
-
sender: GanttComponent;
|
|
20
|
-
}
|
|
@@ -1,65 +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 { DragTargetDragEndEvent, DragTargetDragEvent } from "@progress/kendo-angular-utils";
|
|
6
|
-
import { TaskEditItem } from "./task-edit-event.interface";
|
|
7
|
-
/**
|
|
8
|
-
* Contains the event data for the Gantt `TaskDragEvent`. This event triggers when the user resizes or moves a task.
|
|
9
|
-
*/
|
|
10
|
-
export interface TaskDragEvent {
|
|
11
|
-
/**
|
|
12
|
-
* Holds the new start date for the task.
|
|
13
|
-
*/
|
|
14
|
-
start: Date;
|
|
15
|
-
/**
|
|
16
|
-
* Holds the new end date for the task.
|
|
17
|
-
*/
|
|
18
|
-
end: Date;
|
|
19
|
-
/**
|
|
20
|
-
* Holds the new completion ratio.
|
|
21
|
-
*/
|
|
22
|
-
completionRatio: number;
|
|
23
|
-
/**
|
|
24
|
-
* Holds the drag event triggered by the user's action.
|
|
25
|
-
*/
|
|
26
|
-
dragEvent: DragTargetDragEvent | DragTargetDragEndEvent;
|
|
27
|
-
/**
|
|
28
|
-
* Holds the item object for the dragged event. Contains the original data item and its parent. Use this to update all affected ancestor tasks in the data hierarchy.
|
|
29
|
-
*/
|
|
30
|
-
item: TaskEditItem;
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* @hidden
|
|
34
|
-
* The internal task drag event required for all necessary calculations and DOM updates
|
|
35
|
-
*/
|
|
36
|
-
export interface InternalTaskDragEvent {
|
|
37
|
-
/**
|
|
38
|
-
* Holds the new start date for the task.
|
|
39
|
-
*/
|
|
40
|
-
start: Date;
|
|
41
|
-
/**
|
|
42
|
-
* Holds the new end date for the task.
|
|
43
|
-
*/
|
|
44
|
-
end: Date;
|
|
45
|
-
/**
|
|
46
|
-
* Holds the new completion ratio.
|
|
47
|
-
*/
|
|
48
|
-
completionRatio: number;
|
|
49
|
-
/**
|
|
50
|
-
* Holds the offset of the task DOM element, relative to the view start.
|
|
51
|
-
*/
|
|
52
|
-
offset: number;
|
|
53
|
-
/**
|
|
54
|
-
* Holds the new width of the task DOM element in pixels.
|
|
55
|
-
*/
|
|
56
|
-
width: number;
|
|
57
|
-
/**
|
|
58
|
-
* Holds the drag event triggered by the user's action.
|
|
59
|
-
*/
|
|
60
|
-
dragEvent: DragTargetDragEvent | DragTargetDragEndEvent;
|
|
61
|
-
/**
|
|
62
|
-
* Holds the item object for the dragged event. Contains the original data item and its parent. Use this to update all affected ancestor tasks in the data hierarchy.
|
|
63
|
-
*/
|
|
64
|
-
item: any;
|
|
65
|
-
}
|
|
@@ -1,74 +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 { FormGroup } from "@angular/forms";
|
|
6
|
-
import type { GanttComponent } from "../../gantt.component";
|
|
7
|
-
/**
|
|
8
|
-
* Contains the event data for task editing events.
|
|
9
|
-
*/
|
|
10
|
-
export interface TaskEditEvent {
|
|
11
|
-
/**
|
|
12
|
-
* Holds the `TaskEditItem` for the edited task.
|
|
13
|
-
* Access the parent item through the `parent` property to update all ancestors.
|
|
14
|
-
*/
|
|
15
|
-
item: TaskEditItem;
|
|
16
|
-
/**
|
|
17
|
-
* Holds the `FormGroup` instance for the edited task.
|
|
18
|
-
*/
|
|
19
|
-
taskFormGroup?: FormGroup;
|
|
20
|
-
/**
|
|
21
|
-
* Holds the dependencies for the edited task.
|
|
22
|
-
*/
|
|
23
|
-
dependencies: EditEventDependencies;
|
|
24
|
-
/**
|
|
25
|
-
* Holds the `GanttComponent` instance.
|
|
26
|
-
*/
|
|
27
|
-
sender: GanttComponent;
|
|
28
|
-
}
|
|
29
|
-
/**
|
|
30
|
-
* Represents the `TaskEditItem` associated with the edited task.
|
|
31
|
-
* Access the parent item through the `parent` property to update all ancestors.
|
|
32
|
-
*/
|
|
33
|
-
export interface TaskEditItem {
|
|
34
|
-
/**
|
|
35
|
-
* Holds the original data item for this entry.
|
|
36
|
-
*/
|
|
37
|
-
dataItem: any;
|
|
38
|
-
/**
|
|
39
|
-
* Holds the parent data item and its parent data.
|
|
40
|
-
* If the current data item is at root level, this property is `null`.
|
|
41
|
-
*/
|
|
42
|
-
parent?: TaskEditItem;
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* Provides the `EditEventDependencies` object associated with the edited task.
|
|
46
|
-
* You can access the created, updated, and deleted items through the respective properties.
|
|
47
|
-
*/
|
|
48
|
-
export interface EditEventDependencies {
|
|
49
|
-
/**
|
|
50
|
-
* Lists the newly created dependencies.
|
|
51
|
-
*/
|
|
52
|
-
createdItems: any[];
|
|
53
|
-
/**
|
|
54
|
-
* Lists the updated dependencies.
|
|
55
|
-
*/
|
|
56
|
-
updatedItems: any[];
|
|
57
|
-
/**
|
|
58
|
-
* Lists the deleted dependencies.
|
|
59
|
-
*/
|
|
60
|
-
deletedItems: any[];
|
|
61
|
-
}
|
|
62
|
-
/**
|
|
63
|
-
* @hidden
|
|
64
|
-
*/
|
|
65
|
-
export type EditResultType = 'save' | 'remove' | 'cancel';
|
|
66
|
-
/**
|
|
67
|
-
* @hidden
|
|
68
|
-
*/
|
|
69
|
-
export interface EditEvent {
|
|
70
|
-
taskFormGroup: FormGroup;
|
|
71
|
-
dataItem: any;
|
|
72
|
-
dependencies: EditEventDependencies;
|
|
73
|
-
editResultType: EditResultType;
|
|
74
|
-
}
|
|
@@ -1,10 +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 { FilterableSettings as TreeListFilterableSettings } from '@progress/kendo-angular-treelist';
|
|
6
|
-
/**
|
|
7
|
-
* Represents the options for the `filterable` setting of the Gantt.
|
|
8
|
-
* @hidden
|
|
9
|
-
*/
|
|
10
|
-
export type FilterableSettings = TreeListFilterableSettings;
|
|
@@ -1,36 +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 model fields for creating `GanttDependency` instances.
|
|
7
|
-
*
|
|
8
|
-
* All dependency fields can point to nested property values, for example, `category.id`.
|
|
9
|
-
*
|
|
10
|
-
*/
|
|
11
|
-
export interface GanttDependencyModelFields {
|
|
12
|
-
/**
|
|
13
|
-
* Specifies the name of the model field for the source task ID.
|
|
14
|
-
* @default "fromId"
|
|
15
|
-
*/
|
|
16
|
-
fromId?: string;
|
|
17
|
-
/**
|
|
18
|
-
* Specifies the name of the model field for the dependency item ID.
|
|
19
|
-
* @default "id"
|
|
20
|
-
*/
|
|
21
|
-
id?: string;
|
|
22
|
-
/**
|
|
23
|
-
* Specifies the name of the model field for the target task ID.
|
|
24
|
-
* @default "toId"
|
|
25
|
-
*/
|
|
26
|
-
toId?: string;
|
|
27
|
-
/**
|
|
28
|
-
* Specifies the name of the model field for the dependency type.
|
|
29
|
-
* @default "type"
|
|
30
|
-
*/
|
|
31
|
-
type?: string;
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* @hidden
|
|
35
|
-
*/
|
|
36
|
-
export declare const DEFAULT_DEPENDENCY_MODEL_FIELDS: GanttDependencyModelFields;
|
|
@@ -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 { DependencyType } from './dependency-type.enum';
|
|
6
|
-
/**
|
|
7
|
-
* Represents a Gantt dependency.
|
|
8
|
-
*
|
|
9
|
-
* Use this interface to describe a dependency between two tasks in the Gantt chart.
|
|
10
|
-
*
|
|
11
|
-
*/
|
|
12
|
-
export interface GanttDependency {
|
|
13
|
-
/**
|
|
14
|
-
* Sets the `id` of the origin task for this dependency.
|
|
15
|
-
*/
|
|
16
|
-
fromId: string | number;
|
|
17
|
-
/**
|
|
18
|
-
* Sets the unique identifier of the dependency.
|
|
19
|
-
*/
|
|
20
|
-
id: string | number;
|
|
21
|
-
/**
|
|
22
|
-
* Sets the `id` of the destination task for this dependency.
|
|
23
|
-
*/
|
|
24
|
-
toId: string | number;
|
|
25
|
-
/**
|
|
26
|
-
* Sets the type of the dependency.
|
|
27
|
-
*/
|
|
28
|
-
type: DependencyType;
|
|
29
|
-
}
|
|
@@ -1,51 +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 model fields for creating `GanttTask` instances.
|
|
7
|
-
*
|
|
8
|
-
* > You can set all task fields to use nested property values, for example, `category.id`.
|
|
9
|
-
*/
|
|
10
|
-
export interface GanttTaskModelFields {
|
|
11
|
-
/**
|
|
12
|
-
* Specifies the name of the end date model field.
|
|
13
|
-
* Use this property to map the end date from your data model.
|
|
14
|
-
* @default "end"
|
|
15
|
-
*/
|
|
16
|
-
end?: string;
|
|
17
|
-
/**
|
|
18
|
-
* Specifies the name of the `ID` model field.
|
|
19
|
-
* Use this property to map the unique identifier from your data model.
|
|
20
|
-
* @default "id"
|
|
21
|
-
*/
|
|
22
|
-
id?: string;
|
|
23
|
-
/**
|
|
24
|
-
* Specifies the name of the percent complete model field.
|
|
25
|
-
* Use this property to map the completion ratio from your data model.
|
|
26
|
-
* @default "completionRatio"
|
|
27
|
-
*/
|
|
28
|
-
completionRatio?: string;
|
|
29
|
-
/**
|
|
30
|
-
* Specifies the name of the start date model field.
|
|
31
|
-
* Use this property to map the start date from your data model.
|
|
32
|
-
* @default "start"
|
|
33
|
-
*/
|
|
34
|
-
start?: string;
|
|
35
|
-
/**
|
|
36
|
-
* Specifies the name of the title model field.
|
|
37
|
-
* This property is used as text in the task content area.
|
|
38
|
-
* @default "title"
|
|
39
|
-
*/
|
|
40
|
-
title?: string;
|
|
41
|
-
/**
|
|
42
|
-
* Specifies the name of the children model field.
|
|
43
|
-
* Use this property to map child tasks from your data model.
|
|
44
|
-
* @default "children"
|
|
45
|
-
*/
|
|
46
|
-
children?: string;
|
|
47
|
-
}
|
|
48
|
-
/**
|
|
49
|
-
* @hidden
|
|
50
|
-
*/
|
|
51
|
-
export declare const DEFAULT_TASK_MODEL_FIELDS: GanttTaskModelFields;
|
|
@@ -1,34 +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 a Gantt task.
|
|
7
|
-
*/
|
|
8
|
-
export interface GanttTask {
|
|
9
|
-
/**
|
|
10
|
-
* Sets the date when the Gantt task ends.
|
|
11
|
-
* Provide a valid `Date` object.
|
|
12
|
-
*/
|
|
13
|
-
end: Date;
|
|
14
|
-
/**
|
|
15
|
-
* Sets the unique identifier for the task.
|
|
16
|
-
*/
|
|
17
|
-
id: string | number;
|
|
18
|
-
/**
|
|
19
|
-
* Sets the completion ratio for the task.
|
|
20
|
-
* Use a value between `0` and `1` to show the completed part of the task.
|
|
21
|
-
* @default 0
|
|
22
|
-
*/
|
|
23
|
-
completionRatio?: number;
|
|
24
|
-
/**
|
|
25
|
-
* Sets the date when the Gantt task starts.
|
|
26
|
-
* Provide a valid `Date` object.
|
|
27
|
-
*/
|
|
28
|
-
start: Date;
|
|
29
|
-
/**
|
|
30
|
-
* Sets the title of the task that the Gantt component displays.
|
|
31
|
-
* @default ""
|
|
32
|
-
*/
|
|
33
|
-
title?: string;
|
|
34
|
-
}
|
package/models/models.d.ts
DELETED
|
@@ -1,23 +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
|
-
export { GanttDependency } from './gantt-dependency.interface';
|
|
6
|
-
export { GanttDependencyModelFields } from './gantt-dependency-model-fields.interface';
|
|
7
|
-
export { GanttTask } from './gantt-task.interface';
|
|
8
|
-
export { GanttTaskModelFields } from './gantt-task-model-fields.interface';
|
|
9
|
-
export { DateRange } from './date-range.interface';
|
|
10
|
-
export * from './slot.interface';
|
|
11
|
-
export { RowClassFn, TaskClassFn } from './class-callbacks';
|
|
12
|
-
export { CellContentType } from './cell-content-type.interface';
|
|
13
|
-
export { ColumnReorderConfig } from './column-reorder-config';
|
|
14
|
-
export { ColumnMenuSettings } from './column-menu-settings.interface';
|
|
15
|
-
export { DependencyType } from './dependency-type.enum';
|
|
16
|
-
export { TimelineViewType } from './timeline-view';
|
|
17
|
-
export { SortSettings } from './sort-settings';
|
|
18
|
-
export { ColumnSortSettings } from './sort-settings';
|
|
19
|
-
export * from './events';
|
|
20
|
-
export { ToolbarPosition, ToolbarSettings } from './toolbar-settings';
|
|
21
|
-
export { TimelineHeaderDateFormat } from './timeline-header-date-format';
|
|
22
|
-
export { DragScrollSettings } from './../scrolling/drag-scroll-settings';
|
|
23
|
-
export { TaskTooltipOptions } from './tooltip-options.interface';
|
|
@@ -1,37 +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 slot base properties.
|
|
9
|
-
*/
|
|
10
|
-
export interface Slot {
|
|
11
|
-
/**
|
|
12
|
-
* The beginning of the slot.
|
|
13
|
-
*/
|
|
14
|
-
start: Date;
|
|
15
|
-
/**
|
|
16
|
-
* The end of the slot.
|
|
17
|
-
*/
|
|
18
|
-
end: Date;
|
|
19
|
-
/**
|
|
20
|
-
* Formatted text to be displayed in the cell.
|
|
21
|
-
*/
|
|
22
|
-
text: string;
|
|
23
|
-
/**
|
|
24
|
-
* The number of columns the slot should span.
|
|
25
|
-
*/
|
|
26
|
-
span: number;
|
|
27
|
-
/**
|
|
28
|
-
* Indicates if the slot is a working hour/day.
|
|
29
|
-
*/
|
|
30
|
-
isWorking?: boolean;
|
|
31
|
-
/**
|
|
32
|
-
* The configured slot width.
|
|
33
|
-
*
|
|
34
|
-
* @default 100
|
|
35
|
-
*/
|
|
36
|
-
slotWidth?: number;
|
|
37
|
-
}
|