ngx-core-components 0.3.8 → 0.3.9

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.
@@ -86,6 +86,13 @@ export declare class GanttChartComponent {
86
86
  x: number;
87
87
  y: number;
88
88
  } | null>;
89
+ showCriticalPath: import("@angular/core").WritableSignal<boolean>;
90
+ criticalPathInfo: import("@angular/core").Signal<{
91
+ criticalTaskIds: Set<string>;
92
+ criticalDepKeys: Set<string>;
93
+ taskSlacks: Map<string, number>;
94
+ }>;
95
+ toggleCriticalPath(): void;
89
96
  isDragToZoomEnabled: import("@angular/core").Signal<boolean>;
90
97
  isZoomed: import("@angular/core").Signal<boolean>;
91
98
  zoomOverlayLeft: import("@angular/core").Signal<number>;
@@ -127,6 +134,7 @@ export declare class GanttChartComponent {
127
134
  rowIndex: number;
128
135
  primaryTaskId: string;
129
136
  isGroupHeader: boolean;
137
+ slackWidth: number;
130
138
  }[]>;
131
139
  baselineBars: import("@angular/core").Signal<{
132
140
  id: string;
@@ -141,7 +149,9 @@ export declare class GanttChartComponent {
141
149
  path: string;
142
150
  key: string;
143
151
  color: string;
152
+ isCritical: boolean;
144
153
  }[]>;
154
+ private computeCriticalPath;
145
155
  constructor();
146
156
  isTaskSelected(taskId: string): boolean;
147
157
  private toggleSelection;
@@ -168,6 +178,8 @@ export declare class GanttChartComponent {
168
178
  onTimelinePointerDown(event: PointerEvent): void;
169
179
  getViewLabel(vt: ZoomLevel): string;
170
180
  onKeyDown(event: KeyboardEvent): void;
181
+ getTaskSlackDays(taskId: string): number;
182
+ isTaskCritical(taskId: string): boolean;
171
183
  scrollToToday(): void;
172
184
  scrollToDate(date: Date): void;
173
185
  scrollToTask(taskId: string): void;