gantt-lib 0.136.1 → 0.138.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/README.md +80 -0
- package/dist/core/scheduling/index.d.mts +1 -1
- package/dist/core/scheduling/index.d.ts +1 -1
- package/dist/core/scheduling/index.js +40 -3
- package/dist/core/scheduling/index.js.map +1 -1
- package/dist/core/scheduling/index.mjs +40 -3
- package/dist/core/scheduling/index.mjs.map +1 -1
- package/dist/{index-D99kbU4p.d.mts → index-C3mZqSTf.d.mts} +67 -1
- package/dist/{index-D99kbU4p.d.ts → index-C3mZqSTf.d.ts} +67 -1
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +258 -3
- package/dist/index.d.ts +258 -3
- package/dist/index.js +2389 -1331
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2376 -1331
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +176 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React$1, { ReactNode } from 'react';
|
|
2
|
-
import { T as Task$1, R as ResourceTimelineItem, G as GanttScheduleIntent, V as ValidationResult, a as GanttDateRange, b as TimelineMarker, c as TaskDateChangeMode, S as ScaleTaskSubtreeResult, d as ResourcePlannerChartProps, e as ResourceTimelineResource } from './index-
|
|
3
|
-
export { B as BuiltInResourceTableColumnId, C as CriticalPathOptions, D as DAY_MS,
|
|
2
|
+
import { T as Task$1, R as ResourceTimelineItem, G as GanttScheduleIntent, V as ValidationResult, a as GanttDateRange, A as ActivityTooltipContext, b as TimelineMarker, c as TaskDateChangeMode, S as ScaleTaskSubtreeResult, d as ResourcePlannerChartProps, e as TaskActivity$1, f as ResourceTimelineResource } from './index-C3mZqSTf.js';
|
|
3
|
+
export { B as BuiltInResourceTableColumnId, C as CriticalPathOptions, D as DAY_MS, g as DependencyError, h as GanttChartMode, i as GridConfig, j as GridLine, L as LinkType, M as MonthSpan, k as ResourceTableColumnId, l as ResourceTableColumnWidthMap, m as ResourceTimelineMove, n as ResourceTimelineResourceMenuCommand, o as ScaleTaskSubtreeAnchor, p as ScaleTaskSubtreeErrorCode, q as ScaleTaskSubtreeExternalPolicy, r as ScaleTaskSubtreeOptions, s as ScaleTaskSubtreeWarning, t as TaskActivityTooltipField, u as TaskBarGeometry, W as WeekendBlock, v as alignToWorkingDay, w as areTasksHierarchicallyRelated, x as buildAdjacencyList, y as buildTaskRangeFromEnd, z as buildTaskRangeFromStart, E as calculateSuccessorDate, F as cascadeByLinks, H as clampTaskRangeForIncomingFS, I as computeCriticalPath, J as computeLagFromDates, K as computeParentDates, N as computeParentProgress, O as detectCycles, P as extendCriticalIdsToParents, Q as findParentId, U as getAllDependencyEdges, X as getAllDescendants, Y as getBusinessDayOffset, Z as getChildren, _ as getDependencyLag, $ as getSuccessorChain, a0 as getTaskDuration, a1 as getTransitiveCascadeChain, a2 as isAncestorTask, a3 as isTaskParent, a4 as moveTaskRange, a5 as moveTaskWithCascade, a6 as normalizeDependencyLag, a7 as normalizePredecessorDates, a8 as normalizeTaskDependencyLags, a9 as normalizeUTCDate, aa as parseDateOnly, ab as recalculateIncomingLags, ac as recalculateProjectSchedule, ad as recalculateTaskFromDependencies, ae as reflowTasksOnModeSwitch, af as removeDependenciesBetweenTasks, ag as resizeTaskWithCascade, ah as scaleTaskSubtreeDuration, ai as shiftBusinessDayOffset, aj as universalCascade, ak as validateDependencies } from './index-C3mZqSTf.js';
|
|
4
4
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
5
|
import * as RadixPopover from '@radix-ui/react-popover';
|
|
6
6
|
|
|
@@ -500,6 +500,58 @@ interface Task {
|
|
|
500
500
|
divider?: 'top' | 'bottom';
|
|
501
501
|
/** Whether task dates match the linked work template (visual indicator only) */
|
|
502
502
|
synced?: boolean;
|
|
503
|
+
/**
|
|
504
|
+
* Optional list of works rendered as bars packed into sub-lanes of this row
|
|
505
|
+
* (e.g. finishing works on one floor). Replaces the main bar for the row and
|
|
506
|
+
* grows the row height to fit concurrent activities. Works in gantt mode only.
|
|
507
|
+
*/
|
|
508
|
+
activities?: TaskActivity[];
|
|
509
|
+
/**
|
|
510
|
+
* ОН-конвейер (finish-to-start chain) for row activities. Inside the row every
|
|
511
|
+
* work follows the previous one; identical works of consecutive chained rows
|
|
512
|
+
* (floors) are linked too. `true` — жёсткий конвейер: перетаскивание сдвигает
|
|
513
|
+
* всю цепочку ниже на ту же дельту. `'push'` — режим «выталкивания» (ASAP):
|
|
514
|
+
* промежутки заполняются при движении вверх по потоку, вниз последователь
|
|
515
|
+
* сдвигается только после коллизии; лаг работы держит зазор постоянным.
|
|
516
|
+
*/
|
|
517
|
+
activityChain?: boolean | 'push';
|
|
518
|
+
}
|
|
519
|
+
/**
|
|
520
|
+
* A single work bar rendered inside a multi-activity task row.
|
|
521
|
+
* Activities are visual bars packed into sub-lanes of one row — no hierarchy,
|
|
522
|
+
* no dependencies; each may carry its own visual progress (0–100).
|
|
523
|
+
*/
|
|
524
|
+
interface TaskActivityTooltipField {
|
|
525
|
+
/** Field caption, e.g. "Подрядчик" */
|
|
526
|
+
label: string;
|
|
527
|
+
/** Field value — any renderable content (string, badge, icon, JSX) */
|
|
528
|
+
value: React$1.ReactNode;
|
|
529
|
+
}
|
|
530
|
+
interface TaskActivity {
|
|
531
|
+
/** Unique identifier within the host task */
|
|
532
|
+
id: string;
|
|
533
|
+
/** Display name rendered inside the activity bar */
|
|
534
|
+
name: string;
|
|
535
|
+
/** Activity start date (ISO string or Date object) */
|
|
536
|
+
startDate: string | Date;
|
|
537
|
+
/** Activity end date (ISO string or Date object) */
|
|
538
|
+
endDate: string | Date;
|
|
539
|
+
/** Optional color; falls back to the default task bar color */
|
|
540
|
+
color?: string;
|
|
541
|
+
/**
|
|
542
|
+
* Обязательный зазор в днях между концом предыдущей работы цепочки и началом
|
|
543
|
+
* этой (например технологическая выдержка). Задан — зазор постоянный;
|
|
544
|
+
* не задан — последователь подтягивается вплотную («как можно раньше»),
|
|
545
|
+
* а зазор тянется, пока его держит другая связь.
|
|
546
|
+
*/
|
|
547
|
+
lag?: number;
|
|
548
|
+
/** Extra fields rendered in the hover tooltip under name/dates (e.g. contractor). */
|
|
549
|
+
tooltipFields?: TaskActivityTooltipField[];
|
|
550
|
+
/**
|
|
551
|
+
* Прогресс работы 0–100: полоса заполняется слева, в подсказке появляется
|
|
552
|
+
* строка «Готовность». Только визуал, как у Task.progress.
|
|
553
|
+
*/
|
|
554
|
+
progress?: number;
|
|
503
555
|
}
|
|
504
556
|
/**
|
|
505
557
|
* Task dependency definition
|
|
@@ -637,6 +689,16 @@ interface TaskChartSharedProps<TTask extends Task = Task> {
|
|
|
637
689
|
showTaskNames?: boolean;
|
|
638
690
|
/** Render composite child mini-bars inside the parent bar (default: true). */
|
|
639
691
|
showCompositeSegments?: boolean;
|
|
692
|
+
/** Click a work to arm it before dragging; a plain drag then pans the canvas (default: false). */
|
|
693
|
+
activityClickToDrag?: boolean;
|
|
694
|
+
/** Visual of the activated work: 'none' | 'dim' others | 'highlight' its chain (default: 'none'). */
|
|
695
|
+
activityActivationMode?: 'none' | 'dim' | 'highlight';
|
|
696
|
+
/** Draw links between consecutive works of a row (default: true). */
|
|
697
|
+
showActivityLinks?: boolean;
|
|
698
|
+
/** Label the lag («+N») on work links (default: true). */
|
|
699
|
+
showActivityLag?: boolean;
|
|
700
|
+
/** Render extra tooltip content for a work (dates, crew — anything). */
|
|
701
|
+
activityTooltip?: (context: ActivityTooltipContext) => React$1.ReactNode;
|
|
640
702
|
/** Optional vertical timeline markers such as deadlines and checkpoints. */
|
|
641
703
|
timelineMarkers?: TimelineMarker[];
|
|
642
704
|
/** Additional custom columns to render in the TaskList after built-in columns */
|
|
@@ -771,6 +833,45 @@ interface TaskPreviewPositionStore {
|
|
|
771
833
|
setPositions: (positions: Map<string, TaskPreviewPosition>) => void;
|
|
772
834
|
clear: () => void;
|
|
773
835
|
}
|
|
836
|
+
/** Live day-shifts of chained row activities during a conveyor drag: taskId → activityId → dayDelta. */
|
|
837
|
+
interface ActivityPreviewStore {
|
|
838
|
+
subscribeTask: (taskId: string, listener: () => void) => () => void;
|
|
839
|
+
getTaskOverrides: (taskId: string) => Map<string, number> | undefined;
|
|
840
|
+
setOverrides: (overrides: Map<string, Map<string, number>>) => void;
|
|
841
|
+
clear: () => void;
|
|
842
|
+
}
|
|
843
|
+
/**
|
|
844
|
+
* Works that currently stop the dragged work (its binding chain predecessors).
|
|
845
|
+
* The dragged row publishes the blockers; every row renders the matching work
|
|
846
|
+
* with a "blocked" affordance so the reason a bar refuses to move is visible.
|
|
847
|
+
*/
|
|
848
|
+
interface ActivityBlockStore {
|
|
849
|
+
subscribeTask: (taskId: string, listener: () => void) => () => void;
|
|
850
|
+
/** Ids of works in the task that currently block the dragged work. */
|
|
851
|
+
getTaskBlockers: (taskId: string) => Set<string> | undefined;
|
|
852
|
+
setBlockers: (blockers: Map<string, Set<string>>) => void;
|
|
853
|
+
clear: () => void;
|
|
854
|
+
}
|
|
855
|
+
/**
|
|
856
|
+
* Which row activity is being dragged right now — `taskId \0 activityId`.
|
|
857
|
+
* Hover handlers read it synchronously so a drag in one row never lets another
|
|
858
|
+
* row mount a competing tooltip. It deliberately has no subscription: nothing
|
|
859
|
+
* needs to re-render when the owner changes, only the next hover is gated.
|
|
860
|
+
*/
|
|
861
|
+
interface ActivityDragOwner {
|
|
862
|
+
get: () => string | null;
|
|
863
|
+
set: (ownerKey: string | null) => void;
|
|
864
|
+
}
|
|
865
|
+
/**
|
|
866
|
+
* Which activity bar is currently activated by a click. A bar can only be
|
|
867
|
+
* dragged after activation, so a stray drag pans the canvas instead of
|
|
868
|
+
* nudging a work. `null` means nothing is activated.
|
|
869
|
+
*/
|
|
870
|
+
interface ActivityActivationStore {
|
|
871
|
+
subscribe: (listener: () => void) => () => void;
|
|
872
|
+
getActiveKey: () => string | null;
|
|
873
|
+
setActiveKey: (ownerKey: string | null) => void;
|
|
874
|
+
}
|
|
774
875
|
|
|
775
876
|
interface TaskRowProps {
|
|
776
877
|
/** Task data to render */
|
|
@@ -809,6 +910,29 @@ interface TaskRowProps {
|
|
|
809
910
|
};
|
|
810
911
|
/** External per-task preview store used to avoid chart-wide renders during cascade drag */
|
|
811
912
|
previewPositionStore?: TaskPreviewPositionStore;
|
|
913
|
+
/** Live day-shifts of chained row activities in other rows during a conveyor drag. */
|
|
914
|
+
activityPreviewStore?: ActivityPreviewStore;
|
|
915
|
+
/** Works that currently stop the dragged work — highlighted while a drag is blocked. */
|
|
916
|
+
activityBlockStore?: ActivityBlockStore;
|
|
917
|
+
/** Owner of the in-flight activity drag, so other rows mute their hover tooltips. */
|
|
918
|
+
activityDragOwner?: ActivityDragOwner;
|
|
919
|
+
/** Tracks which activity bar is click-activated; only an active bar can be dragged. */
|
|
920
|
+
activityActivationStore?: ActivityActivationStore;
|
|
921
|
+
/** Click a work to arm it before dragging (default: false). */
|
|
922
|
+
activityClickToDrag?: boolean;
|
|
923
|
+
/** Visual of the activated work: 'none' | 'dim' | 'highlight' (default: 'none'). */
|
|
924
|
+
activityActivationMode?: 'none' | 'dim' | 'highlight';
|
|
925
|
+
/** Draw links between consecutive works of a row (default: true). */
|
|
926
|
+
showActivityLinks?: boolean;
|
|
927
|
+
/** Label the lag on work links (default: true). */
|
|
928
|
+
showActivityLag?: boolean;
|
|
929
|
+
/** Render extra tooltip content for a work (dates, crew — anything). */
|
|
930
|
+
activityTooltip?: (context: ActivityTooltipContext) => React$1.ReactNode;
|
|
931
|
+
/** Visible horizontal pixel window; activity bars outside it are not rendered (pan optimization). */
|
|
932
|
+
horizontalWindow?: {
|
|
933
|
+
startPx: number;
|
|
934
|
+
endPx: number;
|
|
935
|
+
};
|
|
812
936
|
/** Called each RAF during cascade drag with override positions for non-dragged chain tasks */
|
|
813
937
|
onCascadeProgress?: (overrides: Map<string, {
|
|
814
938
|
left: number;
|
|
@@ -936,6 +1060,11 @@ interface GridBackgroundProps {
|
|
|
936
1060
|
showWeekendBlocks?: boolean;
|
|
937
1061
|
/** Whether to render vertical grid lines. */
|
|
938
1062
|
showGridLines?: boolean;
|
|
1063
|
+
/** Visible horizontal pixel window in timeline coordinates; offscreen grid DOM is skipped. */
|
|
1064
|
+
horizontalWindow?: {
|
|
1065
|
+
startPx: number;
|
|
1066
|
+
endPx: number;
|
|
1067
|
+
};
|
|
939
1068
|
}
|
|
940
1069
|
/**
|
|
941
1070
|
* GridBackground component - renders vertical grid lines and weekend background highlighting
|
|
@@ -1338,6 +1467,132 @@ interface UseTaskDragReturn {
|
|
|
1338
1467
|
*/
|
|
1339
1468
|
declare const useTaskDrag: (options: UseTaskDragOptions) => UseTaskDragReturn;
|
|
1340
1469
|
|
|
1470
|
+
declare const ACTIVITY_LANE_STEP = 28;
|
|
1471
|
+
declare const ACTIVITY_LANE_BAR_HEIGHT = 24;
|
|
1472
|
+
declare const ACTIVITY_LANES_PADDING = 2;
|
|
1473
|
+
interface ActivitySegment {
|
|
1474
|
+
id: string;
|
|
1475
|
+
name: string;
|
|
1476
|
+
color?: string;
|
|
1477
|
+
/** Lane index counted from the top */
|
|
1478
|
+
lane: number;
|
|
1479
|
+
/** Left offset in px from the timeline start */
|
|
1480
|
+
left: number;
|
|
1481
|
+
/** Width in px, end date inclusive */
|
|
1482
|
+
width: number;
|
|
1483
|
+
/** Обязательный технологический зазор перед стартом работы (в днях). */
|
|
1484
|
+
lag?: number;
|
|
1485
|
+
/** Прогресс работы 0–100. */
|
|
1486
|
+
progress?: number;
|
|
1487
|
+
}
|
|
1488
|
+
interface ActivityLanesLayout {
|
|
1489
|
+
segments: ActivitySegment[];
|
|
1490
|
+
laneCount: number;
|
|
1491
|
+
}
|
|
1492
|
+
/**
|
|
1493
|
+
* Pack intervals into the smallest number of lanes greedily (first fit):
|
|
1494
|
+
* a sequential work lands in the first lane free at its start, a concurrent
|
|
1495
|
+
* one opens a new lane below. Lane count therefore equals the maximum number
|
|
1496
|
+
* of simultaneous activities.
|
|
1497
|
+
*/
|
|
1498
|
+
declare function packIntervals<T extends {
|
|
1499
|
+
start: number;
|
|
1500
|
+
end: number;
|
|
1501
|
+
}>(intervals: T[]): Array<T & {
|
|
1502
|
+
lane: number;
|
|
1503
|
+
}>;
|
|
1504
|
+
/**
|
|
1505
|
+
* Resolve the lane layout of one task's activities in px geometry.
|
|
1506
|
+
* Used both for rendering (segments) and for the row height (laneCount).
|
|
1507
|
+
*/
|
|
1508
|
+
declare function computeActivityLanes(activities: TaskActivity$1[], monthStart: Date, dayWidth: number): ActivityLanesLayout;
|
|
1509
|
+
/**
|
|
1510
|
+
* Границы строки по её работам: [min start, max end]. Возвращает ISO-дни или
|
|
1511
|
+
* null, если работ нет. Нужны, чтобы строка-этаж (и её родители) зависели
|
|
1512
|
+
* сроками от своих activities.
|
|
1513
|
+
*/
|
|
1514
|
+
declare function activityBounds(activities: TaskActivity$1[] | undefined): {
|
|
1515
|
+
startDate: string;
|
|
1516
|
+
endDate: string;
|
|
1517
|
+
} | null;
|
|
1518
|
+
/**
|
|
1519
|
+
* Row height needed to show the given number of activity lanes,
|
|
1520
|
+
* or 0 when the row fits its normal height (single lane or none).
|
|
1521
|
+
*/
|
|
1522
|
+
declare function activityLanesExtraHeight(laneCount: number): number;
|
|
1523
|
+
/** Inclusive day-length helper for date-based lane counting. */
|
|
1524
|
+
declare function activitySpanMs(activity: Pick<TaskActivity$1, 'startDate' | 'endDate'>): {
|
|
1525
|
+
start: number;
|
|
1526
|
+
end: number;
|
|
1527
|
+
};
|
|
1528
|
+
/** Сдвиг даты на N дней с сохранением типа (ISO-строка остаётся ISO-строкой). */
|
|
1529
|
+
declare function shiftActivityDate(value: string | Date, days: number): string | Date;
|
|
1530
|
+
interface ActivityChainTask {
|
|
1531
|
+
id: string;
|
|
1532
|
+
/** Родитель строки. Вертикальная связь «та же работа этажом выше» рвётся на
|
|
1533
|
+
* границе родителя: конвейер не перетекает из одной секции в другую. */
|
|
1534
|
+
parentId?: string;
|
|
1535
|
+
activityChain?: boolean | 'push';
|
|
1536
|
+
activities?: TaskActivity$1[];
|
|
1537
|
+
}
|
|
1538
|
+
interface ActivityChainShift {
|
|
1539
|
+
taskId: string;
|
|
1540
|
+
activities: TaskActivity$1[];
|
|
1541
|
+
/** Ids of the activities that were actually shifted (chain successors). */
|
|
1542
|
+
shiftedIds: Set<string>;
|
|
1543
|
+
/** Per-activity day delta applied (successor id → days). */
|
|
1544
|
+
deltas: Map<string, number>;
|
|
1545
|
+
}
|
|
1546
|
+
/**
|
|
1547
|
+
* ОН-конвейер (жёсткий режим): работы едут вслед за изменённой.
|
|
1548
|
+
* Рёбра цепочки: внутри строки работы идут друг за другом (окончание–начало),
|
|
1549
|
+
* одинаковые (тот же id или имя) работы соседних строк-этажей связаны между собой.
|
|
1550
|
+
* Весь конвейер ниже изменённой работы сдвигается на ту же дельту (жёстко, без пересчёта).
|
|
1551
|
+
* Возвращает только реально изменившиеся задачи; сама изменённая работа не сдвигается.
|
|
1552
|
+
*/
|
|
1553
|
+
declare function shiftActivityChain(orderedTasks: ActivityChainTask[], draggedTaskId: string, draggedActivityId: string, deltaDays: number): ActivityChainShift[];
|
|
1554
|
+
/**
|
|
1555
|
+
* Ограничение старта работы входящими связями конвейера: минимальный день начала
|
|
1556
|
+
* и работы-предшественники, которые этот минимум задают. Используется и для
|
|
1557
|
+
* жёсткого ограничения перетаскивания, и для визуальной подсказки «почему не едет».
|
|
1558
|
+
*/
|
|
1559
|
+
interface ActivityStartConstraint {
|
|
1560
|
+
/** Минимально допустимый день старта (включительно). */
|
|
1561
|
+
minStartDay: number;
|
|
1562
|
+
/** Дельта в днях от текущего старта до минимума (может быть отрицательной). */
|
|
1563
|
+
minStartDelta: number;
|
|
1564
|
+
/** Предшественники, задающие минимум (несколько при равном ограничении). */
|
|
1565
|
+
blockers: Array<{
|
|
1566
|
+
taskId: string;
|
|
1567
|
+
activityId: string;
|
|
1568
|
+
}>;
|
|
1569
|
+
/** Зазор ограничивающей связи (в днях). */
|
|
1570
|
+
lag: number;
|
|
1571
|
+
}
|
|
1572
|
+
declare function activityStartConstraint(orderedTasks: ActivityChainTask[], taskId: string, activityId: string): ActivityStartConstraint | null;
|
|
1573
|
+
/**
|
|
1574
|
+
* Минимальная дельта перетаскивания (в днях), при которой начало работы не
|
|
1575
|
+
* нарушает входящие связи конвейера (конец предыдущей + лаг). null — входящих нет.
|
|
1576
|
+
*/
|
|
1577
|
+
declare function activityChainMinStartDelta(orderedTasks: ActivityChainTask[], taskId: string, activityId: string): number | null;
|
|
1578
|
+
interface ActivityChainPushResult {
|
|
1579
|
+
shifts: ActivityChainShift[];
|
|
1580
|
+
draggedDeltaDays: number;
|
|
1581
|
+
}
|
|
1582
|
+
/**
|
|
1583
|
+
* Режим «выталкивания» (принцип «как можно раньше»), асимметрично:
|
|
1584
|
+
* — предок ушёл влево → последователь подтягивается за ним (промежуток заполняется),
|
|
1585
|
+
* но не левее своих других связей;
|
|
1586
|
+
* — предок ушёл вправо → последователь стоит (зазор тянется), пока конец предка
|
|
1587
|
+
* не пересёк его старт — тогда выталкивается;
|
|
1588
|
+
* — лаг преемника — минимальный зазор: при заполнении и выталкивании держится
|
|
1589
|
+
* ровно «конец предка + лаг» (постоянный, например технология).
|
|
1590
|
+
* Пересчёт каскадом вниз по цепочке от изменённой работы; работы вне достижимого
|
|
1591
|
+
* подмножества не трогаются. Ограничение старта самой изменённой работы —
|
|
1592
|
+
* на вызывающем (activityChainMinStartDelta).
|
|
1593
|
+
*/
|
|
1594
|
+
declare function pushActivityChain(orderedTasks: ActivityChainTask[], draggedTaskId: string, draggedActivityId: string, requestedDeltaDays: number): ActivityChainPushResult;
|
|
1595
|
+
|
|
1341
1596
|
/**
|
|
1342
1597
|
* UI adapter: converts pixel coordinates to date ranges for drag interactions.
|
|
1343
1598
|
* @module adapters/scheduling
|
|
@@ -1633,4 +1888,4 @@ interface ResourceTimelineLayoutResult<TItem extends ResourceTimelineItem = Reso
|
|
|
1633
1888
|
}
|
|
1634
1889
|
declare const layoutResourceTimelineItems: <TItem extends ResourceTimelineItem = ResourceTimelineItem>(resources: Array<ResourceTimelineResource<TItem>>, options: ResourceTimelineLayoutOptions) => ResourceTimelineLayoutResult<TItem>;
|
|
1635
1890
|
|
|
1636
|
-
export { type BuiltInTaskListColumnId, Button, type ButtonProps, Calendar, type CalendarProps, type CustomDayConfig, type CustomDayPredicateConfig, DatePicker, type DatePickerProps, DragGuideLines, type ExportToPdfHeaderOptions, type ExportToPdfOptions, GanttChart, type GanttChartHandle, type GanttChartProps, GanttDateRange, type GanttModeProps, GanttScheduleIntent, GenerationSkeletonRows, type GenerationSkeletonRowsProps, type GenerationSkeletonTaskListLayout, type GenerationSkeletonVariant, GridBackground, Input, type InputProps, MIN_EDGE_ZONE_PX, MIN_MOVE_ZONE_PX, type MonthBlock, type PlanFactCellCommitContext, type PlanFactCellKind, PlanFactMatrix, type PlanFactModeProps, Popover, PopoverContent, type PopoverContentProps, type PopoverProps, PopoverTrigger, type ReorderDropPlacement, type ReorderDropTarget, ResourcePlannerChartProps, ResourceTimelineChart, type ResourceTimelineConflictRange, ResourceTimelineItem, type ResourceTimelineLayoutDiagnostic, type ResourceTimelineLayoutItem, type ResourceTimelineLayoutOptions, type ResourceTimelineLayoutResult, type ResourceTimelineLayoutRow, ResourceTimelineResource, ScaleTaskSubtreeResult, TableMatrix, type TableMatrixCellClickContext, type TableMatrixColumn, type TableMatrixColumnGroup, type TableMatrixDateOverlay, type TableMatrixModeProps, type Task, TaskDateChangeMode, type TaskDependency, TaskList, type TaskListColumn, type TaskListColumnContext, type TaskListColumnId, type TaskListColumnWidthMap, type TaskListMenuCommand, type TaskListProps, type TaskPredicate, TaskRow, TimeScaleHeader, TimelineMarker, TodayIndicator, ValidationResult, type VisibleReorderPlan, type VisibleReorderPosition, type WeekBlock, type WeekSpan, type WithoutDepsOptions, type YearSpan, addBusinessDays, and, calculateBezierPath, calculateDependencyPath, calculateGridLines, calculateGridWidth, calculateMilestoneConnectionBounds, calculateMilestoneGeometry, calculateMonthGridLines, calculateOrthogonalPath, calculateTaskBar, calculateWeekGridLines, calculateWeekendBlocks, clampDateRangeForIncomingFS, createCustomDayPredicate, createDateKey, detectEdgeZone, expired, flattenHierarchy, formatDateLabel, formatDateRangeLabel, getBusinessDaysCount, getCursorForPosition, getDateRangeDays, getDayOffset, getMonthBlocks, getMonthDays, getMonthSpans, getMultiMonthDays, getTodayLocalUtcDate, getVisibleReorderPlan, getVisibleReorderPosition, getWeekBlocks, getWeekSpans, getYearSpans, inDateRange, isTaskExpired, isToday, isWeekend, layoutResourceTimelineItems, nameContains, normalizeHierarchyTasks, normalizeTaskDates, not, or, parseUTCDate, pixelsToDate, progressInRange, resolveDateRangeFromPixels, resolveTaskHorizontalGeometry, subtractBusinessDays, useTaskDrag, withoutDeps };
|
|
1891
|
+
export { ACTIVITY_LANES_PADDING, ACTIVITY_LANE_BAR_HEIGHT, ACTIVITY_LANE_STEP, type ActivityChainPushResult, type ActivityChainShift, type ActivityChainTask, type ActivityLanesLayout, type ActivitySegment, type ActivityStartConstraint, ActivityTooltipContext, type BuiltInTaskListColumnId, Button, type ButtonProps, Calendar, type CalendarProps, type CustomDayConfig, type CustomDayPredicateConfig, DatePicker, type DatePickerProps, DragGuideLines, type ExportToPdfHeaderOptions, type ExportToPdfOptions, GanttChart, type GanttChartHandle, type GanttChartProps, GanttDateRange, type GanttModeProps, GanttScheduleIntent, GenerationSkeletonRows, type GenerationSkeletonRowsProps, type GenerationSkeletonTaskListLayout, type GenerationSkeletonVariant, GridBackground, Input, type InputProps, MIN_EDGE_ZONE_PX, MIN_MOVE_ZONE_PX, type MonthBlock, type PlanFactCellCommitContext, type PlanFactCellKind, PlanFactMatrix, type PlanFactModeProps, Popover, PopoverContent, type PopoverContentProps, type PopoverProps, PopoverTrigger, type ReorderDropPlacement, type ReorderDropTarget, ResourcePlannerChartProps, ResourceTimelineChart, type ResourceTimelineConflictRange, ResourceTimelineItem, type ResourceTimelineLayoutDiagnostic, type ResourceTimelineLayoutItem, type ResourceTimelineLayoutOptions, type ResourceTimelineLayoutResult, type ResourceTimelineLayoutRow, ResourceTimelineResource, ScaleTaskSubtreeResult, TableMatrix, type TableMatrixCellClickContext, type TableMatrixColumn, type TableMatrixColumnGroup, type TableMatrixDateOverlay, type TableMatrixModeProps, type Task, TaskActivity$1 as TaskActivity, TaskDateChangeMode, type TaskDependency, TaskList, type TaskListColumn, type TaskListColumnContext, type TaskListColumnId, type TaskListColumnWidthMap, type TaskListMenuCommand, type TaskListProps, type TaskPredicate, TaskRow, TimeScaleHeader, TimelineMarker, TodayIndicator, ValidationResult, type VisibleReorderPlan, type VisibleReorderPosition, type WeekBlock, type WeekSpan, type WithoutDepsOptions, type YearSpan, activityBounds, activityChainMinStartDelta, activityLanesExtraHeight, activitySpanMs, activityStartConstraint, addBusinessDays, and, calculateBezierPath, calculateDependencyPath, calculateGridLines, calculateGridWidth, calculateMilestoneConnectionBounds, calculateMilestoneGeometry, calculateMonthGridLines, calculateOrthogonalPath, calculateTaskBar, calculateWeekGridLines, calculateWeekendBlocks, clampDateRangeForIncomingFS, computeActivityLanes, createCustomDayPredicate, createDateKey, detectEdgeZone, expired, flattenHierarchy, formatDateLabel, formatDateRangeLabel, getBusinessDaysCount, getCursorForPosition, getDateRangeDays, getDayOffset, getMonthBlocks, getMonthDays, getMonthSpans, getMultiMonthDays, getTodayLocalUtcDate, getVisibleReorderPlan, getVisibleReorderPosition, getWeekBlocks, getWeekSpans, getYearSpans, inDateRange, isTaskExpired, isToday, isWeekend, layoutResourceTimelineItems, nameContains, normalizeHierarchyTasks, normalizeTaskDates, not, or, packIntervals, parseUTCDate, pixelsToDate, progressInRange, pushActivityChain, resolveDateRangeFromPixels, resolveTaskHorizontalGeometry, shiftActivityChain, shiftActivityDate, subtractBusinessDays, useTaskDrag, withoutDeps };
|