ngx-core-components 0.0.5 → 0.0.6
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/README.md +158 -158
- package/fesm2022/ngx-core-components.mjs +2193 -1931
- package/fesm2022/ngx-core-components.mjs.map +1 -1
- package/lib/gantt-chart/gantt-chart.component.d.ts +24 -0
- package/lib/gantt-chart/models/gantt-task.model.d.ts +2 -0
- package/lib/gantt-chart/services/gantt-layout.service.d.ts +2 -0
- package/package.json +1 -1
|
@@ -23,6 +23,14 @@ export declare class GanttChartComponent {
|
|
|
23
23
|
scrollLeft: import("@angular/core").WritableSignal<number>;
|
|
24
24
|
private scrollTop_;
|
|
25
25
|
private sidebarWidthOverride;
|
|
26
|
+
tooltipTask: import("@angular/core").WritableSignal<GanttTask | null>;
|
|
27
|
+
tooltipX: import("@angular/core").WritableSignal<number>;
|
|
28
|
+
tooltipY: import("@angular/core").WritableSignal<number>;
|
|
29
|
+
rowTooltipData: import("@angular/core").WritableSignal<{
|
|
30
|
+
allTasks: GanttTask[];
|
|
31
|
+
} | null>;
|
|
32
|
+
rowTooltipX: import("@angular/core").WritableSignal<number>;
|
|
33
|
+
rowTooltipY: import("@angular/core").WritableSignal<number>;
|
|
26
34
|
mergedConfig: import("@angular/core").Signal<GanttConfig>;
|
|
27
35
|
private effectiveTasks;
|
|
28
36
|
private flatRows;
|
|
@@ -53,6 +61,7 @@ export declare class GanttChartComponent {
|
|
|
53
61
|
isSummary: boolean;
|
|
54
62
|
barHeight: number;
|
|
55
63
|
rowIndex: number;
|
|
64
|
+
primaryTaskId: string;
|
|
56
65
|
}[]>;
|
|
57
66
|
dependencyPaths: import("@angular/core").Signal<{
|
|
58
67
|
dependency: GanttDependency;
|
|
@@ -73,6 +82,21 @@ export declare class GanttChartComponent {
|
|
|
73
82
|
expandAll(): void;
|
|
74
83
|
collapseAll(): void;
|
|
75
84
|
formatDateShort(date: Date): string;
|
|
85
|
+
formatDateFull(date: Date): string;
|
|
86
|
+
showTooltip(task: GanttTask, event: MouseEvent): void;
|
|
87
|
+
hideTooltip(): void;
|
|
88
|
+
getRowStart(row: FlatRow): Date;
|
|
89
|
+
getRowEnd(row: FlatRow): Date;
|
|
90
|
+
getRowAvgProgress(row: FlatRow): number;
|
|
91
|
+
getRowProgressTitle(row: FlatRow): string;
|
|
92
|
+
getMetaEntries(meta: Record<string, unknown> | undefined): {
|
|
93
|
+
key: string;
|
|
94
|
+
value: string;
|
|
95
|
+
}[];
|
|
96
|
+
showRowTooltip(row: FlatRow, event: MouseEvent): void;
|
|
97
|
+
updateRowTooltip(event: MouseEvent): void;
|
|
98
|
+
hideRowTooltip(): void;
|
|
99
|
+
private positionRowTooltip;
|
|
76
100
|
private getPrimaryLabel;
|
|
77
101
|
private getSecondaryLabel;
|
|
78
102
|
private getMsPerUnit;
|
|
@@ -2,6 +2,8 @@ import { GanttTask } from '../models';
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export interface FlatRow {
|
|
4
4
|
task: GanttTask;
|
|
5
|
+
/** Additional tasks that share this row (same rowId). */
|
|
6
|
+
extraTasks: GanttTask[];
|
|
5
7
|
depth: number;
|
|
6
8
|
rowIndex: number;
|
|
7
9
|
hasChildren: boolean;
|
package/package.json
CHANGED