gantt-lib 0.89.0 → 0.91.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-CQI1GCao.d.mts → index-CKJZfeDv.d.mts} +2 -1
- package/dist/{index-CQI1GCao.d.ts → index-CKJZfeDv.d.ts} +2 -1
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +15 -5
- package/dist/index.d.ts +15 -5
- package/dist/index.js +84 -56
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +84 -56
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +17 -0
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { D as DAY_MS,
|
|
1
|
+
export { D as DAY_MS, d as DependencyError, L as LinkType, a3 as ScheduleCommandOptions, a4 as ScheduleCommandResult, a5 as ScheduleDependency, a6 as ScheduleTask, a7 as ScheduleTaskUpdate, T as Task, a8 as TaskDependency, V as ValidationResult, a9 as addBusinessDays, k as alignToWorkingDay, l as areTasksHierarchicallyRelated, m as buildAdjacencyList, n as buildTaskRangeFromEnd, o as buildTaskRangeFromStart, p as calculateSuccessorDate, q as cascadeByLinks, r as clampTaskRangeForIncomingFS, s as computeLagFromDates, t as computeParentDates, u as computeParentProgress, v as detectCycles, w as findParentId, x as getAllDependencyEdges, y as getAllDescendants, z as getBusinessDayOffset, aa as getBusinessDaysCount, A as getChildren, B as getDependencyLag, C as getSuccessorChain, E as getTaskDuration, F as getTransitiveCascadeChain, H as isAncestorTask, I as isTaskParent, J as moveTaskRange, K as moveTaskWithCascade, N as normalizeDependencyLag, O as normalizePredecessorDates, P as normalizeTaskDependencyLags, Q as normalizeUTCDate, S as parseDateOnly, U as recalculateIncomingLags, X as recalculateProjectSchedule, Y as recalculateTaskFromDependencies, Z as reflowTasksOnModeSwitch, _ as removeDependenciesBetweenTasks, $ as resizeTaskWithCascade, a0 as shiftBusinessDayOffset, ab as subtractBusinessDays, a1 as universalCascade, a2 as validateDependencies } from '../../index-CKJZfeDv.mjs';
|
|
2
2
|
import 'react';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { D as DAY_MS,
|
|
1
|
+
export { D as DAY_MS, d as DependencyError, L as LinkType, a3 as ScheduleCommandOptions, a4 as ScheduleCommandResult, a5 as ScheduleDependency, a6 as ScheduleTask, a7 as ScheduleTaskUpdate, T as Task, a8 as TaskDependency, V as ValidationResult, a9 as addBusinessDays, k as alignToWorkingDay, l as areTasksHierarchicallyRelated, m as buildAdjacencyList, n as buildTaskRangeFromEnd, o as buildTaskRangeFromStart, p as calculateSuccessorDate, q as cascadeByLinks, r as clampTaskRangeForIncomingFS, s as computeLagFromDates, t as computeParentDates, u as computeParentProgress, v as detectCycles, w as findParentId, x as getAllDependencyEdges, y as getAllDescendants, z as getBusinessDayOffset, aa as getBusinessDaysCount, A as getChildren, B as getDependencyLag, C as getSuccessorChain, E as getTaskDuration, F as getTransitiveCascadeChain, H as isAncestorTask, I as isTaskParent, J as moveTaskRange, K as moveTaskWithCascade, N as normalizeDependencyLag, O as normalizePredecessorDates, P as normalizeTaskDependencyLags, Q as normalizeUTCDate, S as parseDateOnly, U as recalculateIncomingLags, X as recalculateProjectSchedule, Y as recalculateTaskFromDependencies, Z as reflowTasksOnModeSwitch, _ as removeDependenciesBetweenTasks, $ as resizeTaskWithCascade, a0 as shiftBusinessDayOffset, ab as subtractBusinessDays, a1 as universalCascade, a2 as validateDependencies } from '../../index-CKJZfeDv.js';
|
|
2
2
|
import 'react';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
|
|
3
3
|
type GanttChartMode = 'gantt' | 'resource-planner';
|
|
4
|
+
type TaskDateChangeMode = 'preserve-duration' | 'free';
|
|
4
5
|
interface ResourceTimelineItem {
|
|
5
6
|
id: string;
|
|
6
7
|
resourceId: string;
|
|
@@ -573,4 +574,4 @@ declare function isAncestorTask(ancestorId: string, taskId: string, tasks: Task[
|
|
|
573
574
|
*/
|
|
574
575
|
declare function areTasksHierarchicallyRelated(taskId1: string, taskId2: string, tasks: Task[]): boolean;
|
|
575
576
|
|
|
576
|
-
export {
|
|
577
|
+
export { resizeTaskWithCascade as $, getChildren as A, getDependencyLag as B, getSuccessorChain as C, DAY_MS as D, getTaskDuration as E, getTransitiveCascadeChain as F, type GanttChartMode as G, isAncestorTask as H, isTaskParent as I, moveTaskRange as J, moveTaskWithCascade as K, type LinkType as L, type MonthSpan as M, normalizeDependencyLag as N, normalizePredecessorDates as O, normalizeTaskDependencyLags as P, normalizeUTCDate as Q, type ResourceTimelineItem as R, parseDateOnly as S, type Task as T, recalculateIncomingLags as U, type ValidationResult as V, type WeekendBlock as W, recalculateProjectSchedule as X, recalculateTaskFromDependencies as Y, reflowTasksOnModeSwitch as Z, removeDependenciesBetweenTasks as _, type TaskDateChangeMode as a, shiftBusinessDayOffset as a0, universalCascade as a1, validateDependencies as a2, type ScheduleCommandOptions as a3, type ScheduleCommandResult as a4, type ScheduleDependency as a5, type ScheduleTask as a6, type ScheduleTaskUpdate as a7, type TaskDependency as a8, addBusinessDays as a9, getBusinessDaysCount as aa, subtractBusinessDays as ab, type ResourcePlannerChartProps as b, type ResourceTimelineResource as c, type DependencyError as d, type GanttDateRange as e, type GridConfig as f, type GridLine as g, type ResourceTimelineMove as h, type ResourceTimelineResourceMenuCommand as i, type TaskBarGeometry as j, alignToWorkingDay as k, areTasksHierarchicallyRelated as l, buildAdjacencyList as m, buildTaskRangeFromEnd as n, buildTaskRangeFromStart as o, calculateSuccessorDate as p, cascadeByLinks as q, clampTaskRangeForIncomingFS as r, computeLagFromDates as s, computeParentDates as t, computeParentProgress as u, detectCycles as v, findParentId as w, getAllDependencyEdges as x, getAllDescendants as y, getBusinessDayOffset as z };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
|
|
3
3
|
type GanttChartMode = 'gantt' | 'resource-planner';
|
|
4
|
+
type TaskDateChangeMode = 'preserve-duration' | 'free';
|
|
4
5
|
interface ResourceTimelineItem {
|
|
5
6
|
id: string;
|
|
6
7
|
resourceId: string;
|
|
@@ -573,4 +574,4 @@ declare function isAncestorTask(ancestorId: string, taskId: string, tasks: Task[
|
|
|
573
574
|
*/
|
|
574
575
|
declare function areTasksHierarchicallyRelated(taskId1: string, taskId2: string, tasks: Task[]): boolean;
|
|
575
576
|
|
|
576
|
-
export {
|
|
577
|
+
export { resizeTaskWithCascade as $, getChildren as A, getDependencyLag as B, getSuccessorChain as C, DAY_MS as D, getTaskDuration as E, getTransitiveCascadeChain as F, type GanttChartMode as G, isAncestorTask as H, isTaskParent as I, moveTaskRange as J, moveTaskWithCascade as K, type LinkType as L, type MonthSpan as M, normalizeDependencyLag as N, normalizePredecessorDates as O, normalizeTaskDependencyLags as P, normalizeUTCDate as Q, type ResourceTimelineItem as R, parseDateOnly as S, type Task as T, recalculateIncomingLags as U, type ValidationResult as V, type WeekendBlock as W, recalculateProjectSchedule as X, recalculateTaskFromDependencies as Y, reflowTasksOnModeSwitch as Z, removeDependenciesBetweenTasks as _, type TaskDateChangeMode as a, shiftBusinessDayOffset as a0, universalCascade as a1, validateDependencies as a2, type ScheduleCommandOptions as a3, type ScheduleCommandResult as a4, type ScheduleDependency as a5, type ScheduleTask as a6, type ScheduleTaskUpdate as a7, type TaskDependency as a8, addBusinessDays as a9, getBusinessDaysCount as aa, subtractBusinessDays as ab, type ResourcePlannerChartProps as b, type ResourceTimelineResource as c, type DependencyError as d, type GanttDateRange as e, type GridConfig as f, type GridLine as g, type ResourceTimelineMove as h, type ResourceTimelineResourceMenuCommand as i, type TaskBarGeometry as j, alignToWorkingDay as k, areTasksHierarchicallyRelated as l, buildAdjacencyList as m, buildTaskRangeFromEnd as n, buildTaskRangeFromStart as o, calculateSuccessorDate as p, cascadeByLinks as q, clampTaskRangeForIncomingFS as r, computeLagFromDates as s, computeParentDates as t, computeParentProgress as u, detectCycles as v, findParentId as w, getAllDependencyEdges as x, getAllDescendants as y, getBusinessDayOffset as z };
|