gantt-lib 0.105.0 → 0.106.0
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/dist/core/scheduling/index.d.mts +1 -1
- package/dist/core/scheduling/index.d.ts +1 -1
- package/dist/{index-CCzxqxfE.d.mts → index-Cz64T82f.d.mts} +9 -1
- package/dist/{index-CCzxqxfE.d.ts → index-Cz64T82f.d.ts} +9 -1
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +23 -3
- package/dist/index.d.ts +23 -3
- package/dist/index.js +923 -765
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +568 -410
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +99 -1
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { D as DAY_MS,
|
|
1
|
+
export { D as DAY_MS, e as DependencyError, L as LinkType, a4 as ScheduleCommandOptions, a5 as ScheduleCommandResult, a6 as ScheduleDependency, a7 as ScheduleTask, a8 as ScheduleTaskUpdate, T as Task, a9 as TaskDependency, V as ValidationResult, aa as addBusinessDays, l as alignToWorkingDay, m as areTasksHierarchicallyRelated, n as buildAdjacencyList, o as buildTaskRangeFromEnd, p as buildTaskRangeFromStart, q as calculateSuccessorDate, r as cascadeByLinks, s as clampTaskRangeForIncomingFS, t as computeLagFromDates, u as computeParentDates, v as computeParentProgress, w as detectCycles, x as findParentId, y as getAllDependencyEdges, z as getAllDescendants, A as getBusinessDayOffset, ab as getBusinessDaysCount, B as getChildren, C as getDependencyLag, E as getSuccessorChain, F as getTaskDuration, H as getTransitiveCascadeChain, I as isAncestorTask, J as isTaskParent, K as moveTaskRange, N as moveTaskWithCascade, O as normalizeDependencyLag, P as normalizePredecessorDates, Q as normalizeTaskDependencyLags, S as normalizeUTCDate, U as parseDateOnly, X as recalculateIncomingLags, Y as recalculateProjectSchedule, Z as recalculateTaskFromDependencies, _ as reflowTasksOnModeSwitch, $ as removeDependenciesBetweenTasks, a0 as resizeTaskWithCascade, a1 as shiftBusinessDayOffset, ac as subtractBusinessDays, a2 as universalCascade, a3 as validateDependencies } from '../../index-Cz64T82f.mjs';
|
|
2
2
|
import 'react';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { D as DAY_MS,
|
|
1
|
+
export { D as DAY_MS, e as DependencyError, L as LinkType, a4 as ScheduleCommandOptions, a5 as ScheduleCommandResult, a6 as ScheduleDependency, a7 as ScheduleTask, a8 as ScheduleTaskUpdate, T as Task, a9 as TaskDependency, V as ValidationResult, aa as addBusinessDays, l as alignToWorkingDay, m as areTasksHierarchicallyRelated, n as buildAdjacencyList, o as buildTaskRangeFromEnd, p as buildTaskRangeFromStart, q as calculateSuccessorDate, r as cascadeByLinks, s as clampTaskRangeForIncomingFS, t as computeLagFromDates, u as computeParentDates, v as computeParentProgress, w as detectCycles, x as findParentId, y as getAllDependencyEdges, z as getAllDescendants, A as getBusinessDayOffset, ab as getBusinessDaysCount, B as getChildren, C as getDependencyLag, E as getSuccessorChain, F as getTaskDuration, H as getTransitiveCascadeChain, I as isAncestorTask, J as isTaskParent, K as moveTaskRange, N as moveTaskWithCascade, O as normalizeDependencyLag, P as normalizePredecessorDates, Q as normalizeTaskDependencyLags, S as normalizeUTCDate, U as parseDateOnly, X as recalculateIncomingLags, Y as recalculateProjectSchedule, Z as recalculateTaskFromDependencies, _ as reflowTasksOnModeSwitch, $ as removeDependenciesBetweenTasks, a0 as resizeTaskWithCascade, a1 as shiftBusinessDayOffset, ac as subtractBusinessDays, a2 as universalCascade, a3 as validateDependencies } from '../../index-Cz64T82f.js';
|
|
2
2
|
import 'react';
|
|
@@ -2,6 +2,14 @@ import { ReactNode } from 'react';
|
|
|
2
2
|
|
|
3
3
|
type GanttChartMode = 'gantt' | 'table-matrix' | 'resource-planner';
|
|
4
4
|
type TaskDateChangeMode = 'preserve-duration' | 'free';
|
|
5
|
+
interface TimelineMarker {
|
|
6
|
+
/** Date where the vertical marker line should be rendered */
|
|
7
|
+
date: string | Date;
|
|
8
|
+
/** Optional marker color. Falls back to CSS variable when omitted */
|
|
9
|
+
color?: string;
|
|
10
|
+
/** Optional display name shown in the native tooltip on the marker head */
|
|
11
|
+
name?: string;
|
|
12
|
+
}
|
|
5
13
|
interface ResourceTimelineItem {
|
|
6
14
|
id: string;
|
|
7
15
|
resourceId: string;
|
|
@@ -574,4 +582,4 @@ declare function isAncestorTask(ancestorId: string, taskId: string, tasks: Task[
|
|
|
574
582
|
*/
|
|
575
583
|
declare function areTasksHierarchicallyRelated(taskId1: string, taskId2: string, tasks: Task[]): boolean;
|
|
576
584
|
|
|
577
|
-
export {
|
|
585
|
+
export { removeDependenciesBetweenTasks as $, getBusinessDayOffset as A, getChildren as B, getDependencyLag as C, DAY_MS as D, getSuccessorChain as E, getTaskDuration as F, type GanttChartMode as G, getTransitiveCascadeChain as H, isAncestorTask as I, isTaskParent as J, moveTaskRange as K, type LinkType as L, type MonthSpan as M, moveTaskWithCascade as N, normalizeDependencyLag as O, normalizePredecessorDates as P, normalizeTaskDependencyLags as Q, type ResourceTimelineItem as R, normalizeUTCDate as S, type Task as T, parseDateOnly as U, type ValidationResult as V, type WeekendBlock as W, recalculateIncomingLags as X, recalculateProjectSchedule as Y, recalculateTaskFromDependencies as Z, reflowTasksOnModeSwitch as _, type TimelineMarker as a, resizeTaskWithCascade as a0, shiftBusinessDayOffset as a1, universalCascade as a2, validateDependencies as a3, type ScheduleCommandOptions as a4, type ScheduleCommandResult as a5, type ScheduleDependency as a6, type ScheduleTask as a7, type ScheduleTaskUpdate as a8, type TaskDependency as a9, addBusinessDays as aa, getBusinessDaysCount as ab, subtractBusinessDays as ac, type TaskDateChangeMode as b, type ResourcePlannerChartProps as c, type ResourceTimelineResource as d, type DependencyError as e, type GanttDateRange as f, type GridConfig as g, type GridLine as h, type ResourceTimelineMove as i, type ResourceTimelineResourceMenuCommand as j, type TaskBarGeometry as k, alignToWorkingDay as l, areTasksHierarchicallyRelated as m, buildAdjacencyList as n, buildTaskRangeFromEnd as o, buildTaskRangeFromStart as p, calculateSuccessorDate as q, cascadeByLinks as r, clampTaskRangeForIncomingFS as s, computeLagFromDates as t, computeParentDates as u, computeParentProgress as v, detectCycles as w, findParentId as x, getAllDependencyEdges as y, getAllDescendants as z };
|
|
@@ -2,6 +2,14 @@ import { ReactNode } from 'react';
|
|
|
2
2
|
|
|
3
3
|
type GanttChartMode = 'gantt' | 'table-matrix' | 'resource-planner';
|
|
4
4
|
type TaskDateChangeMode = 'preserve-duration' | 'free';
|
|
5
|
+
interface TimelineMarker {
|
|
6
|
+
/** Date where the vertical marker line should be rendered */
|
|
7
|
+
date: string | Date;
|
|
8
|
+
/** Optional marker color. Falls back to CSS variable when omitted */
|
|
9
|
+
color?: string;
|
|
10
|
+
/** Optional display name shown in the native tooltip on the marker head */
|
|
11
|
+
name?: string;
|
|
12
|
+
}
|
|
5
13
|
interface ResourceTimelineItem {
|
|
6
14
|
id: string;
|
|
7
15
|
resourceId: string;
|
|
@@ -574,4 +582,4 @@ declare function isAncestorTask(ancestorId: string, taskId: string, tasks: Task[
|
|
|
574
582
|
*/
|
|
575
583
|
declare function areTasksHierarchicallyRelated(taskId1: string, taskId2: string, tasks: Task[]): boolean;
|
|
576
584
|
|
|
577
|
-
export {
|
|
585
|
+
export { removeDependenciesBetweenTasks as $, getBusinessDayOffset as A, getChildren as B, getDependencyLag as C, DAY_MS as D, getSuccessorChain as E, getTaskDuration as F, type GanttChartMode as G, getTransitiveCascadeChain as H, isAncestorTask as I, isTaskParent as J, moveTaskRange as K, type LinkType as L, type MonthSpan as M, moveTaskWithCascade as N, normalizeDependencyLag as O, normalizePredecessorDates as P, normalizeTaskDependencyLags as Q, type ResourceTimelineItem as R, normalizeUTCDate as S, type Task as T, parseDateOnly as U, type ValidationResult as V, type WeekendBlock as W, recalculateIncomingLags as X, recalculateProjectSchedule as Y, recalculateTaskFromDependencies as Z, reflowTasksOnModeSwitch as _, type TimelineMarker as a, resizeTaskWithCascade as a0, shiftBusinessDayOffset as a1, universalCascade as a2, validateDependencies as a3, type ScheduleCommandOptions as a4, type ScheduleCommandResult as a5, type ScheduleDependency as a6, type ScheduleTask as a7, type ScheduleTaskUpdate as a8, type TaskDependency as a9, addBusinessDays as aa, getBusinessDaysCount as ab, subtractBusinessDays as ac, type TaskDateChangeMode as b, type ResourcePlannerChartProps as c, type ResourceTimelineResource as d, type DependencyError as e, type GanttDateRange as f, type GridConfig as g, type GridLine as h, type ResourceTimelineMove as i, type ResourceTimelineResourceMenuCommand as j, type TaskBarGeometry as k, alignToWorkingDay as l, areTasksHierarchicallyRelated as m, buildAdjacencyList as n, buildTaskRangeFromEnd as o, buildTaskRangeFromStart as p, calculateSuccessorDate as q, cascadeByLinks as r, clampTaskRangeForIncomingFS as s, computeLagFromDates as t, computeParentDates as u, computeParentProgress as v, detectCycles as w, findParentId as x, getAllDependencyEdges as y, getAllDescendants as z };
|