@progress/kendo-angular-gantt 24.2.2-develop.9 → 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,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 { TemplateRef, ElementRef, EventEmitter } from '@angular/core';
|
|
6
|
-
import { TaskClassFn } from '../models/class-callbacks';
|
|
7
|
-
import { TimelineViewType } from '../models/timeline-view';
|
|
8
|
-
import { DependencyDomService } from '../dependencies/dependency-dom.service';
|
|
9
|
-
import { MappingService } from '../common/mapping.service';
|
|
10
|
-
import { ViewItem } from '../models/view-item.interface';
|
|
11
|
-
import { GanttTask } from '../models/gantt-task.interface';
|
|
12
|
-
import * as i0 from "@angular/core";
|
|
13
|
-
/**
|
|
14
|
-
* @hidden
|
|
15
|
-
*/
|
|
16
|
-
export declare class GanttTasksTableBodyComponent {
|
|
17
|
-
private dependencyDomService;
|
|
18
|
-
private mapper;
|
|
19
|
-
set timelineRow(timelineRow: ElementRef<HTMLTableRowElement>);
|
|
20
|
-
selectable: boolean;
|
|
21
|
-
rows: ViewItem[];
|
|
22
|
-
activeView: TimelineViewType;
|
|
23
|
-
taskContentTemplate: TemplateRef<any>;
|
|
24
|
-
taskTemplate: TemplateRef<any>;
|
|
25
|
-
summaryTaskTemplate: TemplateRef<any>;
|
|
26
|
-
taskClass: TaskClassFn;
|
|
27
|
-
isExpanded: (item: object) => boolean;
|
|
28
|
-
isTaskSelected: (item: object) => boolean;
|
|
29
|
-
renderDependencyDragClues: boolean;
|
|
30
|
-
taskPointerEnter: EventEmitter<GanttTask>;
|
|
31
|
-
taskPointerLeave: EventEmitter<undefined>;
|
|
32
|
-
constructor(dependencyDomService: DependencyDomService, mapper: MappingService);
|
|
33
|
-
trackBy: (_: number, item: any) => any;
|
|
34
|
-
isMileStone(item: ViewItem): boolean;
|
|
35
|
-
mapItemToTask(item: any): any;
|
|
36
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GanttTasksTableBodyComponent, never>;
|
|
37
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GanttTasksTableBodyComponent, "[kendoGanttTasksTableBody]", never, { "selectable": { "alias": "selectable"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "activeView": { "alias": "activeView"; "required": false; }; "taskContentTemplate": { "alias": "taskContentTemplate"; "required": false; }; "taskTemplate": { "alias": "taskTemplate"; "required": false; }; "summaryTaskTemplate": { "alias": "summaryTaskTemplate"; "required": false; }; "taskClass": { "alias": "taskClass"; "required": false; }; "isExpanded": { "alias": "isExpanded"; "required": false; }; "isTaskSelected": { "alias": "isTaskSelected"; "required": false; }; "renderDependencyDragClues": { "alias": "renderDependencyDragClues"; "required": false; }; }, { "taskPointerEnter": "taskPointerEnter"; "taskPointerLeave": "taskPointerLeave"; }, never, never, true, never>;
|
|
38
|
-
}
|
|
@@ -1,47 +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
|
-
* Specifies the settings for auto-scrolling during drag editing operations.
|
|
7
|
-
*/
|
|
8
|
-
export interface DragScrollSettings {
|
|
9
|
-
/**
|
|
10
|
-
* Enables or disables auto-scrolling during drag editing operations.
|
|
11
|
-
*
|
|
12
|
-
* @default true
|
|
13
|
-
*/
|
|
14
|
-
enabled?: boolean;
|
|
15
|
-
/**
|
|
16
|
-
* Sets the scrolling step in pixels.
|
|
17
|
-
*
|
|
18
|
-
* @default 3
|
|
19
|
-
*/
|
|
20
|
-
step?: number;
|
|
21
|
-
/**
|
|
22
|
-
* Sets the scrolling interval in milliseconds.
|
|
23
|
-
*
|
|
24
|
-
* @default 1
|
|
25
|
-
*/
|
|
26
|
-
interval?: number;
|
|
27
|
-
/**
|
|
28
|
-
* Sets the threshold in pixels at each end of the scrollable container. When the pointer reaches this threshold, scrolling starts.
|
|
29
|
-
*
|
|
30
|
-
* @default 10
|
|
31
|
-
*/
|
|
32
|
-
threshold?: number;
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
* @hidden
|
|
36
|
-
*/
|
|
37
|
-
export declare enum ScrollDirection {
|
|
38
|
-
Backwards = -1,
|
|
39
|
-
Forward = 1
|
|
40
|
-
}
|
|
41
|
-
/**
|
|
42
|
-
* @hidden
|
|
43
|
-
*/
|
|
44
|
-
export declare enum ScrollAxis {
|
|
45
|
-
Vertical = "scrollTop",
|
|
46
|
-
Horizontal = "scrollLeft"
|
|
47
|
-
}
|
|
@@ -1,33 +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 } from '@angular/core';
|
|
6
|
-
import { Subject } from 'rxjs';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
type ScrollSyncEvent = {
|
|
9
|
-
scrollLeft?: number;
|
|
10
|
-
scrollTop?: number;
|
|
11
|
-
sourceType: string;
|
|
12
|
-
};
|
|
13
|
-
type SourceType = 'treelist' | 'header' | 'timeline';
|
|
14
|
-
/**
|
|
15
|
-
* @hidden
|
|
16
|
-
*/
|
|
17
|
-
export declare class ScrollSyncService implements OnDestroy {
|
|
18
|
-
private ngZone;
|
|
19
|
-
changes: Subject<ScrollSyncEvent>;
|
|
20
|
-
private elements;
|
|
21
|
-
private subscriptions;
|
|
22
|
-
private syncingTimeline;
|
|
23
|
-
private syncingTreeList;
|
|
24
|
-
constructor(ngZone: NgZone);
|
|
25
|
-
registerElement(el: any, sourceType: SourceType): void;
|
|
26
|
-
ngOnDestroy(): void;
|
|
27
|
-
syncScrollTop(sourceType: SourceType, targetType: SourceType): void;
|
|
28
|
-
resetTimelineScrollLeft(): void;
|
|
29
|
-
private scroll;
|
|
30
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ScrollSyncService, never>;
|
|
31
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ScrollSyncService>;
|
|
32
|
-
}
|
|
33
|
-
export {};
|
|
@@ -1,27 +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 { ElementRef, NgZone } from '@angular/core';
|
|
6
|
-
import { DragScrollSettings } from './drag-scroll-settings';
|
|
7
|
-
import { TimelineScrollService } from './timeline-scroll.service';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
/**
|
|
10
|
-
* @hidden
|
|
11
|
-
*/
|
|
12
|
-
export declare class TimelineScrollableDirective {
|
|
13
|
-
private timelineScrollableContainer;
|
|
14
|
-
private scrollService;
|
|
15
|
-
private zone;
|
|
16
|
-
scrollSettings: DragScrollSettings;
|
|
17
|
-
private subscriptions;
|
|
18
|
-
private verticalScrollInterval;
|
|
19
|
-
private horizontalScrollInterval;
|
|
20
|
-
constructor(timelineScrollableContainer: ElementRef<Element>, scrollService: TimelineScrollService, zone: NgZone);
|
|
21
|
-
ngOnDestroy(): void;
|
|
22
|
-
private scrollHorizontallyTo;
|
|
23
|
-
private scrollVerticallyTo;
|
|
24
|
-
private cancelScroll;
|
|
25
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TimelineScrollableDirective, never>;
|
|
26
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TimelineScrollableDirective, "[kendoGanttTimelineScrollable]", never, { "scrollSettings": { "alias": "scrollSettings"; "required": false; }; }, {}, never, never, true, never>;
|
|
27
|
-
}
|
|
@@ -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
|
-
import { Subject } from 'rxjs';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* @hidden
|
|
9
|
-
*
|
|
10
|
-
* Notifies the timeline-scroll.directive to scroll into view to requested coordinates.
|
|
11
|
-
* The scrolling is performed based on client (viewport) coordinates.
|
|
12
|
-
*/
|
|
13
|
-
export declare class TimelineScrollService {
|
|
14
|
-
readonly horizontalScroll: Subject<number>;
|
|
15
|
-
readonly verticalScroll: Subject<number>;
|
|
16
|
-
readonly scrollCancel: Subject<any>;
|
|
17
|
-
ngOnDestroy(): void;
|
|
18
|
-
requestHorizontalScroll(clientTop: number): void;
|
|
19
|
-
requestVerticalScroll(clientLeft: number): void;
|
|
20
|
-
requestScrollCancel(): void;
|
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TimelineScrollService, never>;
|
|
22
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<TimelineScrollService>;
|
|
23
|
-
}
|
package/scrolling/utils.d.ts
DELETED
|
@@ -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 { ScrollAxis, ScrollDirection } from './drag-scroll-settings';
|
|
6
|
-
/**
|
|
7
|
-
* @hidden
|
|
8
|
-
*
|
|
9
|
-
* Scrolls the element in the given direction by the provided step in the provided scroll axis.
|
|
10
|
-
*
|
|
11
|
-
* If the targeted scroll incrementation doesn't yield any result due to device pixel ratio issues (https://github.com/dimitar-pechev/RenderingIndependentScrollOffsets#readme),
|
|
12
|
-
* increments the step with 1px and again attempts to change the scrollTop of the element, until the content is actually scrolled.
|
|
13
|
-
*
|
|
14
|
-
* Cuts the operation short after 20 unsuccessful attempts to prevent infinite loops in possible corner-case scenarios.
|
|
15
|
-
*/
|
|
16
|
-
export declare const scrollElement: (element: Element, step: number, direction: ScrollDirection, scrollAxis: ScrollAxis) => void;
|
|
17
|
-
/**
|
|
18
|
-
* @hidden
|
|
19
|
-
*
|
|
20
|
-
* As client coordinates are not restricted to the range 0px - {viewportSize}px, but can have negative starting values or ending values greater than the viewport size,
|
|
21
|
-
* this function extracts the visible boundaries of the provided element - fall-backing to 0 when the top/left are below 0,
|
|
22
|
-
* and fall-backing to the actual visible size of the container for bottom/right.
|
|
23
|
-
*/
|
|
24
|
-
export declare const getViewportBoundaries: (element: Element) => {
|
|
25
|
-
top: number;
|
|
26
|
-
left: number;
|
|
27
|
-
right: number;
|
|
28
|
-
bottom: number;
|
|
29
|
-
};
|
|
@@ -1,53 +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 { OnDestroy, EventEmitter } from '@angular/core';
|
|
6
|
-
import { GanttComponent } from '../gantt.component';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
/**
|
|
9
|
-
* Handles the [`selectionChange`](https://www.telerik.com/kendo-angular-ui/components/gantt/api/ganttcomponent#selectionchange) event of the Gantt component.
|
|
10
|
-
* ([See example](https://www.telerik.com/kendo-angular-ui/components/gantt/selection#built-in-directive)).
|
|
11
|
-
*
|
|
12
|
-
* @example
|
|
13
|
-
* ```html
|
|
14
|
-
* <kendo-gantt kendoGanttSelectable [(selectedKeys)]="selectedKeys"></kendo-gantt>
|
|
15
|
-
* ```
|
|
16
|
-
*
|
|
17
|
-
* @remarks
|
|
18
|
-
* Applied to: {@link GanttComponent}
|
|
19
|
-
*/
|
|
20
|
-
export declare class SelectableDirective implements OnDestroy {
|
|
21
|
-
private gantt;
|
|
22
|
-
/**
|
|
23
|
-
* @hidden
|
|
24
|
-
*/
|
|
25
|
-
set selectable(value: boolean);
|
|
26
|
-
/**
|
|
27
|
-
* Sets the selected keys.
|
|
28
|
-
*/
|
|
29
|
-
set selectedKeys(value: any[]);
|
|
30
|
-
/**
|
|
31
|
-
* Emits when the selected keys change.
|
|
32
|
-
*/
|
|
33
|
-
selectedKeysChange: EventEmitter<any[]>;
|
|
34
|
-
/**
|
|
35
|
-
* Sets the field name or function that identifies the unique key for a data item.
|
|
36
|
-
* Uses the string field `id` by default.
|
|
37
|
-
*/
|
|
38
|
-
set itemKey(value: string | ((dataItem: any) => any));
|
|
39
|
-
private get keyGetter();
|
|
40
|
-
private selectionSubscription;
|
|
41
|
-
private state;
|
|
42
|
-
private lastChange;
|
|
43
|
-
private _keyGetter;
|
|
44
|
-
constructor(gantt: GanttComponent);
|
|
45
|
-
ngOnDestroy(): void;
|
|
46
|
-
private isSelected;
|
|
47
|
-
private selectionChange;
|
|
48
|
-
private emitSelectedItemsChange;
|
|
49
|
-
private subscribeSelection;
|
|
50
|
-
private unsubscribeSelection;
|
|
51
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SelectableDirective, never>;
|
|
52
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<SelectableDirective, "[kendoGanttSelectable]", ["kendoGanttSelectable"], { "selectable": { "alias": "selectable"; "required": false; }; "selectedKeys": { "alias": "selectedKeys"; "required": false; }; "itemKey": { "alias": "itemKey"; "required": false; }; }, { "selectedKeysChange": "selectedKeysChange"; }, never, never, true, never>;
|
|
53
|
-
}
|
|
@@ -1,24 +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 { GanttComponent } from '../gantt.component';
|
|
6
|
-
/**
|
|
7
|
-
* Provides the arguments for the Gantt [`selectionChange`](https://www.telerik.com/kendo-angular-ui/components/gantt/api/ganttcomponent#selectionchange) event.
|
|
8
|
-
*/
|
|
9
|
-
export interface SelectionChangeEvent {
|
|
10
|
-
/**
|
|
11
|
-
* Describes how the selection was changed.
|
|
12
|
-
* - `select`—Selects all specified `items` and removes all other persisted ones.
|
|
13
|
-
* - `remove`—Removes only the specified `items` and leaves all others unchanged.
|
|
14
|
-
*/
|
|
15
|
-
action: 'select' | 'remove';
|
|
16
|
-
/**
|
|
17
|
-
* Lists the items that change.
|
|
18
|
-
*/
|
|
19
|
-
items: any[];
|
|
20
|
-
/**
|
|
21
|
-
* The Gantt component that triggers the event.
|
|
22
|
-
*/
|
|
23
|
-
sender: GanttComponent;
|
|
24
|
-
}
|
|
@@ -1,32 +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 { TemplateRef } from '@angular/core';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* Defines a template for the entire summary task component.
|
|
9
|
-
* Place an `<ng-template>` tag with the `kendoGanttSummaryTaskTemplate` directive inside the `<kendo-gantt>` tag to set the template.
|
|
10
|
-
*
|
|
11
|
-
* The template context uses the current data item. The following field is also available:
|
|
12
|
-
* - `elementWidth`—The calculated width in pixels of the current summary task wrapper element, based on its start and end date.
|
|
13
|
-
* Use `let-elementWidth="elementWidth"` to access it in the template.
|
|
14
|
-
* This helps you render custom elements for summary task progress.
|
|
15
|
-
*
|
|
16
|
-
* @example
|
|
17
|
-
* ```html
|
|
18
|
-
* <kendo-gantt [kendoGanttHierarchyBinding]="data">
|
|
19
|
-
* <ng-template kendoGanttSummaryTaskTemplate let-dataItem let-elementWidth="elementWidth">
|
|
20
|
-
* <div [style]="'color: white; font-size: 8px;'">
|
|
21
|
-
* {{ dataItem.title }} - {{ dataItem.completionRatio * 100 }}% complete; width: {{ elementWidth }}
|
|
22
|
-
* </div>
|
|
23
|
-
* </ng-template>
|
|
24
|
-
* </kendo-gantt>
|
|
25
|
-
* ```
|
|
26
|
-
*/
|
|
27
|
-
export declare class GanttSummaryTaskTemplateDirective {
|
|
28
|
-
templateRef: TemplateRef<any>;
|
|
29
|
-
constructor(templateRef: TemplateRef<any>);
|
|
30
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GanttSummaryTaskTemplateDirective, [{ optional: true; }]>;
|
|
31
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<GanttSummaryTaskTemplateDirective, "[kendoGanttSummaryTaskTemplate]", never, {}, {}, never, never, true, never>;
|
|
32
|
-
}
|
|
@@ -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
|
-
import { TemplateRef } from '@angular/core';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* Defines a template for the text content section of the task component.
|
|
9
|
-
* Place an `<ng-template>` tag with the `kendoGanttTaskContentTemplate` directive inside the `<kendo-gantt>` tag to set the template.
|
|
10
|
-
*
|
|
11
|
-
* The template context uses the current data item.
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```ts-preview
|
|
15
|
-
* _@Component({
|
|
16
|
-
* selector: 'my-app',
|
|
17
|
-
* template: `
|
|
18
|
-
* <kendo-gantt [kendoGanttHierarchyBinding]="data">
|
|
19
|
-
* <ng-template kendoGanttTaskContentTemplate let-dataItem>
|
|
20
|
-
* {{ dataItem.title }} - {{ dataItem.completionRatio * 100 }}% complete
|
|
21
|
-
* </ng-template>
|
|
22
|
-
* </kendo-gantt>
|
|
23
|
-
* `
|
|
24
|
-
* })
|
|
25
|
-
* class AppComponent {
|
|
26
|
-
* public data: any[] = sampleTasks;
|
|
27
|
-
* }
|
|
28
|
-
* ```
|
|
29
|
-
*/
|
|
30
|
-
export declare class GanttTaskContentTemplateDirective {
|
|
31
|
-
templateRef: TemplateRef<any>;
|
|
32
|
-
constructor(templateRef: TemplateRef<any>);
|
|
33
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GanttTaskContentTemplateDirective, [{ optional: true; }]>;
|
|
34
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<GanttTaskContentTemplateDirective, "[kendoGanttTaskContentTemplate]", never, {}, {}, never, never, true, never>;
|
|
35
|
-
}
|
|
@@ -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
|
-
import { TemplateRef } from '@angular/core';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* Customizes the content of the tooltip that appears when you drag or resize a Gantt task.
|
|
9
|
-
* Place the `kendoGanttTaskDragTooltipTemplate` directive on an `<ng-template>` tag inside the `<kendo-gantt>` component.
|
|
10
|
-
*
|
|
11
|
-
* The template context provides an object with the following properties:
|
|
12
|
-
* * `start`—The updated start date during the drag operation.
|
|
13
|
-
* * `end`—The updated end date during the drag operation.
|
|
14
|
-
* * `completionRatio`—The completion ratio of the task as a decimal value between 0 and 1.
|
|
15
|
-
* * `task`—The original data item of the task being dragged. Contains the properties of the [`GanttTask`](https://www.telerik.com/kendo-angular-ui/components/gantt/api/gantttask) interface.
|
|
16
|
-
*
|
|
17
|
-
* @example
|
|
18
|
-
* ```html
|
|
19
|
-
* <kendo-gantt
|
|
20
|
-
* [kendoGanttHierarchyBinding]="data"
|
|
21
|
-
* kendoGanttTaskDrag
|
|
22
|
-
* (taskDragEnd)="onDragEnd($event)">
|
|
23
|
-
* <ng-template kendoGanttTaskDragTooltipTemplate let-dragData>
|
|
24
|
-
* <div> {{ dragData.task.title }} </div>
|
|
25
|
-
* <div> Start: {{ dragData.start | date: 'h:mm a' }} </div>
|
|
26
|
-
* <div> End: {{ dragData.end | date: 'h:mm a' }} </div>
|
|
27
|
-
* </ng-template>
|
|
28
|
-
* </kendo-gantt>
|
|
29
|
-
* ```
|
|
30
|
-
*/
|
|
31
|
-
export declare class GanttTaskDragTooltipTemplateDirective {
|
|
32
|
-
templateRef: TemplateRef<any>;
|
|
33
|
-
constructor(templateRef: TemplateRef<any>);
|
|
34
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GanttTaskDragTooltipTemplateDirective, [{ optional: true; }]>;
|
|
35
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<GanttTaskDragTooltipTemplateDirective, "[kendoGanttTaskDragTooltipTemplate]", never, {}, {}, never, never, true, never>;
|
|
36
|
-
}
|
|
@@ -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 { TemplateRef } from '@angular/core';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* Defines a template for the entire task component.
|
|
9
|
-
* Place an `<ng-template>` tag with the `kendoGanttTaskTemplate` directive inside the `<kendo-gantt>` tag to set the template.
|
|
10
|
-
*
|
|
11
|
-
* The template context uses the current data item. The following field is also available:
|
|
12
|
-
* - `elementWidth`—The calculated width in pixels of the current task wrapper element, based on its start and end date.
|
|
13
|
-
* Use `let-elementWidth="elementWidth"` to access it in the template.
|
|
14
|
-
* This helps you render custom elements for task progress.
|
|
15
|
-
*
|
|
16
|
-
* @example
|
|
17
|
-
* ```html
|
|
18
|
-
* <kendo-gantt [kendoGanttHierarchyBinding]="data">
|
|
19
|
-
* <ng-template kendoGanttTaskTemplate let-dataItem let-elementWidth="elementWidth">
|
|
20
|
-
* {{ dataItem.title }} - {{ dataItem.completionRatio * 100 }}% complete
|
|
21
|
-
* </ng-template>
|
|
22
|
-
* </kendo-gantt>
|
|
23
|
-
* ```
|
|
24
|
-
*/
|
|
25
|
-
export declare class GanttTaskTemplateDirective {
|
|
26
|
-
templateRef: TemplateRef<any>;
|
|
27
|
-
constructor(templateRef: TemplateRef<any>);
|
|
28
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GanttTaskTemplateDirective, [{ optional: true; }]>;
|
|
29
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<GanttTaskTemplateDirective, "[kendoGanttTaskTemplate]", never, {}, {}, never, never, true, never>;
|
|
30
|
-
}
|
|
@@ -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
|
-
import { TemplateRef } from '@angular/core';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* Defines a template for the entire Task tooltip.
|
|
9
|
-
* Place an `<ng-template>` tag with the `kendoGanttTaskTooltipTemplate` directive inside the `<kendo-gantt>` tag to set the template.
|
|
10
|
-
*
|
|
11
|
-
* The template context uses the related data item.
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```ts-preview
|
|
15
|
-
* _@Component({
|
|
16
|
-
* selector: 'my-app',
|
|
17
|
-
* template: `
|
|
18
|
-
* <kendo-gantt [kendoGanttHierarchyBinding]="data">
|
|
19
|
-
* <ng-template kendoGanttTaskTooltipTemplate let-dataItem>
|
|
20
|
-
* <div [style]="'color: white; font-size: 8px;'">
|
|
21
|
-
* {{ dataItem.title }} - {{ dataItem.completionRatio * 100 }}% complete;
|
|
22
|
-
* </div>
|
|
23
|
-
* </ng-template>
|
|
24
|
-
* </kendo-gantt>
|
|
25
|
-
* `
|
|
26
|
-
* })
|
|
27
|
-
* class AppComponent {
|
|
28
|
-
* public data: any[] = sampleTasks;
|
|
29
|
-
* }
|
|
30
|
-
* ```
|
|
31
|
-
*/
|
|
32
|
-
export declare class GanttTaskTooltipTemplateDirective {
|
|
33
|
-
templateRef: TemplateRef<any>;
|
|
34
|
-
constructor(templateRef: TemplateRef<any>);
|
|
35
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GanttTaskTooltipTemplateDirective, [{ optional: true; }]>;
|
|
36
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<GanttTaskTooltipTemplateDirective, "[kendoGanttTaskTooltipTemplate]", never, {}, {}, never, never, true, never>;
|
|
37
|
-
}
|
|
@@ -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
|
-
import { ChangeDetectorRef, ElementRef, OnDestroy, Renderer2 } from '@angular/core';
|
|
6
|
-
import { CurrentTimeSettings } from '../models/current-time-settings.interface';
|
|
7
|
-
import { TimelineViewType } from '../models/timeline-view';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
/**
|
|
10
|
-
* @hidden
|
|
11
|
-
*/
|
|
12
|
-
export declare class CurrentTimeMarkerService implements OnDestroy {
|
|
13
|
-
private renderer;
|
|
14
|
-
private cdr;
|
|
15
|
-
container: ElementRef<HTMLElement>;
|
|
16
|
-
slots: any[];
|
|
17
|
-
rows: any[];
|
|
18
|
-
currentTimeMarker: boolean | CurrentTimeSettings;
|
|
19
|
-
rowHeight: number;
|
|
20
|
-
rtl: boolean;
|
|
21
|
-
activeView: TimelineViewType;
|
|
22
|
-
private get deltaOffset();
|
|
23
|
-
private get slotWidth();
|
|
24
|
-
get slotIndex(): number;
|
|
25
|
-
private get height();
|
|
26
|
-
private get interval();
|
|
27
|
-
private now;
|
|
28
|
-
private currentTimeTimeout;
|
|
29
|
-
private timeMarkerDiv;
|
|
30
|
-
constructor(renderer: Renderer2, cdr: ChangeDetectorRef);
|
|
31
|
-
ngOnDestroy(): void;
|
|
32
|
-
removeTimeMarker(): void;
|
|
33
|
-
createTimeMarker: () => void;
|
|
34
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CurrentTimeMarkerService, never>;
|
|
35
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<CurrentTimeMarkerService>;
|
|
36
|
-
}
|
|
@@ -1,101 +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 { AfterViewInit, ElementRef, EventEmitter, NgZone, OnChanges, OnDestroy, Renderer2, SimpleChanges, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
6
|
-
import { ScrollSyncService } from '../scrolling/scroll-sync.service';
|
|
7
|
-
import { DependencyDomService } from '../dependencies/dependency-dom.service';
|
|
8
|
-
import { ViewItem } from '../models/view-item.interface';
|
|
9
|
-
import { TimelineViewType, TaskClassFn, DragScrollSettings, GanttTask } from '../models/models';
|
|
10
|
-
import { CurrentTimeMarkerService } from './current-time-marker.service';
|
|
11
|
-
import { CurrentTimeSettings } from '../models/current-time-settings.interface';
|
|
12
|
-
import { TaskDragService } from '../dragging/task-drag.service';
|
|
13
|
-
import { TaskTooltipOptions } from '../models/tooltip-options.interface';
|
|
14
|
-
import { GanttTaskTooltipTemplateDirective } from '../template-directives/task-tooltip-template.directive';
|
|
15
|
-
import { GanttLocalizationService } from '../localization/gantt-localization.service';
|
|
16
|
-
import { GanttTaskDragTooltipTemplateDirective } from '../template-directives/task-drag-tooltip-template.directive';
|
|
17
|
-
import * as i0 from "@angular/core";
|
|
18
|
-
/**
|
|
19
|
-
* @hidden
|
|
20
|
-
*/
|
|
21
|
-
export declare class GanttTimelineComponent implements AfterViewInit, OnChanges, OnDestroy {
|
|
22
|
-
private scrollSyncService;
|
|
23
|
-
private dependencyDomService;
|
|
24
|
-
private renderer;
|
|
25
|
-
private zone;
|
|
26
|
-
private currentTimeMarkerService;
|
|
27
|
-
private localization;
|
|
28
|
-
private taskDragService;
|
|
29
|
-
/**
|
|
30
|
-
* Represents the scrollable container of the timeline content.
|
|
31
|
-
* Used externally by the DependencyDragCreateDirective.
|
|
32
|
-
*/
|
|
33
|
-
timelineContent: ElementRef<HTMLElement>;
|
|
34
|
-
timelineColumns: ElementRef<HTMLElement>;
|
|
35
|
-
timelineHeaderWrap: ElementRef<HTMLElement>;
|
|
36
|
-
tasksContainer: ElementRef<HTMLElement>;
|
|
37
|
-
private tooltip;
|
|
38
|
-
/**
|
|
39
|
-
* Represents the view container ref used for rendering the dependency drag popop.
|
|
40
|
-
* Used externally by the DependencyDragCreateDirective.
|
|
41
|
-
*/
|
|
42
|
-
dragPopupContainer: ViewContainerRef;
|
|
43
|
-
/**
|
|
44
|
-
* Represents the polyline element used for rendering the dependency drag editing interaction.
|
|
45
|
-
* Used externally by the DependencyDragCreateDirective.
|
|
46
|
-
*/
|
|
47
|
-
dependencyDragCreatePolyline: ElementRef<SVGPolylineElement>;
|
|
48
|
-
rows: ViewItem[];
|
|
49
|
-
slots: any[];
|
|
50
|
-
groupSlots: any[];
|
|
51
|
-
tableWidth: number;
|
|
52
|
-
activeView: TimelineViewType;
|
|
53
|
-
taskContentTemplate: TemplateRef<any>;
|
|
54
|
-
taskTemplate: TemplateRef<any>;
|
|
55
|
-
summaryTaskTemplate: TemplateRef<any>;
|
|
56
|
-
taskClass: TaskClassFn;
|
|
57
|
-
renderDependencyDragClues: boolean;
|
|
58
|
-
dragScrollSettings: DragScrollSettings;
|
|
59
|
-
currentTimeMarker: boolean | CurrentTimeSettings;
|
|
60
|
-
customTooltipTemplate: GanttTaskTooltipTemplateDirective;
|
|
61
|
-
customDragTooltipTemplate: GanttTaskDragTooltipTemplateDirective;
|
|
62
|
-
tooltipOptions: TaskTooltipOptions;
|
|
63
|
-
selectable: boolean;
|
|
64
|
-
isTaskSelected: (item: object) => boolean;
|
|
65
|
-
isExpanded: (item: object) => boolean;
|
|
66
|
-
dependencies: any[];
|
|
67
|
-
timelineContainerPress: EventEmitter<any>;
|
|
68
|
-
timelineContainerDrag: EventEmitter<any>;
|
|
69
|
-
timelineContainerRelease: EventEmitter<any>;
|
|
70
|
-
/**
|
|
71
|
-
* Specifies whether the draggable will attach or detach its pointer event listeners.
|
|
72
|
-
*/
|
|
73
|
-
get draggableEnabled(): boolean;
|
|
74
|
-
task: GanttTask;
|
|
75
|
-
dragResult: {
|
|
76
|
-
start: Date;
|
|
77
|
-
end: Date;
|
|
78
|
-
completionRatio: number;
|
|
79
|
-
task: any;
|
|
80
|
-
};
|
|
81
|
-
dragging: boolean;
|
|
82
|
-
completion: boolean;
|
|
83
|
-
marquee: {
|
|
84
|
-
show: boolean;
|
|
85
|
-
left: number;
|
|
86
|
-
width: number;
|
|
87
|
-
};
|
|
88
|
-
dragOffset: number;
|
|
89
|
-
private subscriptions;
|
|
90
|
-
private popupRef;
|
|
91
|
-
constructor(scrollSyncService: ScrollSyncService, dependencyDomService: DependencyDomService, renderer: Renderer2, zone: NgZone, currentTimeMarkerService: CurrentTimeMarkerService, localization: GanttLocalizationService, taskDragService: TaskDragService);
|
|
92
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
93
|
-
trackBySlotIndex(index: number, item: any): string;
|
|
94
|
-
ngAfterViewInit(): void;
|
|
95
|
-
ngOnDestroy(): void;
|
|
96
|
-
isNonWorking(item: any): boolean;
|
|
97
|
-
messageFor(token: string): string;
|
|
98
|
-
private createTimeMarker;
|
|
99
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GanttTimelineComponent, [null, null, null, null, null, null, { optional: true; }]>;
|
|
100
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GanttTimelineComponent, "kendo-gantt-timeline", never, { "rows": { "alias": "rows"; "required": false; }; "slots": { "alias": "slots"; "required": false; }; "groupSlots": { "alias": "groupSlots"; "required": false; }; "tableWidth": { "alias": "tableWidth"; "required": false; }; "activeView": { "alias": "activeView"; "required": false; }; "taskContentTemplate": { "alias": "taskContentTemplate"; "required": false; }; "taskTemplate": { "alias": "taskTemplate"; "required": false; }; "summaryTaskTemplate": { "alias": "summaryTaskTemplate"; "required": false; }; "taskClass": { "alias": "taskClass"; "required": false; }; "renderDependencyDragClues": { "alias": "renderDependencyDragClues"; "required": false; }; "dragScrollSettings": { "alias": "dragScrollSettings"; "required": false; }; "currentTimeMarker": { "alias": "currentTimeMarker"; "required": false; }; "customTooltipTemplate": { "alias": "customTooltipTemplate"; "required": false; }; "customDragTooltipTemplate": { "alias": "customDragTooltipTemplate"; "required": false; }; "tooltipOptions": { "alias": "tooltipOptions"; "required": false; }; "selectable": { "alias": "selectable"; "required": false; }; "isTaskSelected": { "alias": "isTaskSelected"; "required": false; }; "isExpanded": { "alias": "isExpanded"; "required": false; }; "dependencies": { "alias": "dependencies"; "required": false; }; }, { "timelineContainerPress": "timelineContainerPress"; "timelineContainerDrag": "timelineContainerDrag"; "timelineContainerRelease": "timelineContainerRelease"; }, never, never, true, never>;
|
|
101
|
-
}
|