ngx-core-components 0.1.2 → 0.1.3
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GanttTask, GanttDependency, GanttConfig, ZoomLevel, GanttTaskChangeEvent, GanttTaskClickEvent, GanttDependencyClickEvent, GanttScrollEvent } from './models';
|
|
1
|
+
import { GanttTask, GanttDependency, GanttConfig, GanttColumnDef, ZoomLevel, GanttTaskChangeEvent, GanttTaskClickEvent, GanttDependencyClickEvent, GanttScrollEvent } from './models';
|
|
2
2
|
import { FlatRow } from './services/gantt-layout.service';
|
|
3
3
|
import { GanttKeyboardService } from './services/gantt-keyboard.service';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
@@ -23,6 +23,7 @@ export declare class GanttChartComponent {
|
|
|
23
23
|
scrollLeft: import("@angular/core").WritableSignal<number>;
|
|
24
24
|
private scrollTop_;
|
|
25
25
|
private sidebarWidthOverride;
|
|
26
|
+
private lastEmittedZoom;
|
|
26
27
|
tooltipTask: import("@angular/core").WritableSignal<GanttTask | null>;
|
|
27
28
|
tooltipX: import("@angular/core").WritableSignal<number>;
|
|
28
29
|
tooltipY: import("@angular/core").WritableSignal<number>;
|
|
@@ -32,6 +33,7 @@ export declare class GanttChartComponent {
|
|
|
32
33
|
rowTooltipX: import("@angular/core").WritableSignal<number>;
|
|
33
34
|
rowTooltipY: import("@angular/core").WritableSignal<number>;
|
|
34
35
|
mergedConfig: import("@angular/core").Signal<GanttConfig>;
|
|
36
|
+
sidebarColumns: import("@angular/core").Signal<GanttColumnDef[]>;
|
|
35
37
|
private effectiveTasks;
|
|
36
38
|
private flatRows;
|
|
37
39
|
visibleRows: import("@angular/core").Signal<FlatRow[]>;
|
|
@@ -68,6 +70,7 @@ export declare class GanttChartComponent {
|
|
|
68
70
|
path: string;
|
|
69
71
|
key: string;
|
|
70
72
|
}[]>;
|
|
73
|
+
constructor();
|
|
71
74
|
onTimelineScroll(): void;
|
|
72
75
|
onSplitBarDown(event: PointerEvent): void;
|
|
73
76
|
onBarPointerDown(event: PointerEvent, task: GanttTask, mode: 'move' | 'resize-left' | 'resize-right'): void;
|
|
@@ -83,6 +86,10 @@ export declare class GanttChartComponent {
|
|
|
83
86
|
collapseAll(): void;
|
|
84
87
|
formatDateShort(date: Date): string;
|
|
85
88
|
formatDateFull(date: Date): string;
|
|
89
|
+
isNameColumn(column: GanttColumnDef, index: number): boolean;
|
|
90
|
+
isDateColumn(column: GanttColumnDef): boolean;
|
|
91
|
+
isProgressColumn(column: GanttColumnDef): boolean;
|
|
92
|
+
getSidebarCellValue(row: FlatRow, column: GanttColumnDef): string;
|
|
86
93
|
showTooltip(task: GanttTask, event: MouseEvent): void;
|
|
87
94
|
hideTooltip(): void;
|
|
88
95
|
getRowStart(row: FlatRow): Date;
|