@jaeungkim/gantt-chart 0.4.0 → 1.0.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 +192 -53
- package/dist/Gantt.d.ts +5 -0
- package/dist/bars/components/GanttBar.d.ts +20 -0
- package/dist/bars/components/GanttBarsLayer.d.ts +24 -0
- package/dist/bars/components/GanttDragGuides.d.ts +1 -0
- package/dist/bars/hooks/useGanttBarDrag.d.ts +16 -0
- package/dist/bars/hooks/useGanttDrawCreate.d.ts +25 -0
- package/dist/{hooks → bars/hooks}/useGanttProgressDrag.d.ts +3 -8
- package/dist/core/calendar.d.ts +4 -22
- package/dist/core/dates.d.ts +5 -21
- package/dist/core/index.d.ts +1 -14
- package/dist/core/reorder.d.ts +55 -0
- package/dist/core/tree.d.ts +4 -12
- package/dist/core/types.d.ts +4 -37
- package/dist/{components → dependencies/components}/GanttDependencyArrows.d.ts +4 -6
- package/dist/{hooks → dependencies/hooks}/useGanttLinkDrag.d.ts +2 -13
- package/dist/dependencies/utils/arrowPath.d.ts +20 -0
- package/dist/dependencies/utils/link.d.ts +17 -0
- package/dist/detail/components/GanttDetailPanel.d.ts +21 -0
- package/dist/detail/hooks/useGanttDetail.d.ts +42 -0
- package/dist/detail/utils/edit.d.ts +21 -0
- package/dist/gantt-chart.css +1 -1
- package/dist/index.cjs +1 -4
- package/dist/index.d.cts +11 -13
- package/dist/index.d.ts +11 -13
- package/dist/index.js +4071 -5141
- package/dist/interaction/hooks/useGanttInteraction.d.ts +2 -0
- package/dist/interaction/hooks/useGanttKeyboardNav.d.ts +33 -0
- package/dist/interaction/hooks/useGanttSelection.d.ts +12 -0
- package/dist/interaction/utils/a11y.d.ts +84 -0
- package/dist/props.d.ts +121 -0
- package/dist/rows/components/GanttRowsLayer.d.ts +13 -0
- package/dist/rows/hooks/useGanttCollapse.d.ts +18 -0
- package/dist/rows/hooks/useGanttRowModel.d.ts +19 -0
- package/dist/rows/utils/rows.d.ts +21 -0
- package/dist/shared/constants.d.ts +24 -0
- package/dist/{stores → shared}/context.d.ts +1 -7
- package/dist/shared/hooks/useLatestRef.d.ts +2 -0
- package/dist/shared/hooks/useResolvedTheme.d.ts +8 -0
- package/dist/shared/store.d.ts +81 -0
- package/dist/shared/task.d.ts +55 -0
- package/dist/shared/types.d.ts +115 -0
- package/dist/shared/utils/holidays.d.ts +12 -0
- package/dist/shared/utils/i18n.d.ts +5 -0
- package/dist/shared/utils/pointerGesture.d.ts +11 -0
- package/dist/shared/virtual/axis.d.ts +13 -0
- package/dist/shared/virtual/useVirtualWindow.d.ts +16 -0
- package/dist/shared/virtual/window.d.ts +30 -0
- package/dist/task-list/components/GanttGridSplitter.d.ts +6 -0
- package/dist/task-list/components/GanttTaskAddRow.d.ts +7 -0
- package/dist/task-list/components/GanttTaskGrid.d.ts +24 -0
- package/dist/task-list/hooks/useGanttRowDrag.d.ts +17 -0
- package/dist/task-list/hooks/useGanttTaskListPane.d.ts +11 -0
- package/dist/task-list/hooks/useGanttTaskMove.d.ts +16 -0
- package/dist/timeline/components/GanttChartHeader.d.ts +10 -0
- package/dist/timeline/components/GanttHolidayLabels.d.ts +6 -0
- package/dist/timeline/components/GanttNonWorkingLayer.d.ts +6 -0
- package/dist/timeline/components/GanttTodayLine.d.ts +6 -0
- package/dist/{hooks → timeline/hooks}/useGanttScrollApi.d.ts +22 -23
- package/dist/timeline/hooks/useGanttViewport.d.ts +47 -0
- package/dist/timeline/hooks/useGanttVirtualization.d.ts +28 -0
- package/dist/timeline/utils/geometry.d.ts +52 -0
- package/dist/timeline/utils/header.d.ts +8 -0
- package/dist/timeline/utils/transform.d.ts +4 -0
- package/dist/timeline/utils/viewport.d.ts +31 -0
- package/dist/useGanttSelectors.d.ts +11 -0
- package/package.json +12 -12
- package/dist/components/GanttBar.d.ts +0 -23
- package/dist/components/GanttChartHeader.d.ts +0 -17
- package/dist/components/GanttDragGuides.d.ts +0 -9
- package/dist/components/GanttGridSplitter.d.ts +0 -14
- package/dist/components/GanttMarkers.d.ts +0 -18
- package/dist/components/GanttTaskGrid.d.ts +0 -42
- package/dist/components/ScaleSelector.d.ts +0 -11
- package/dist/constants/gantt.d.ts +0 -47
- package/dist/core/criticalPath.d.ts +0 -67
- package/dist/core/scheduling.d.ts +0 -104
- package/dist/hooks/useGanttBarDrag.d.ts +0 -35
- package/dist/hooks/useGanttDrawCreate.d.ts +0 -31
- package/dist/hooks/useGanttExportApi.d.ts +0 -30
- package/dist/hooks/useGanttHistoryApi.d.ts +0 -28
- package/dist/hooks/useGanttRowDrag.d.ts +0 -33
- package/dist/hooks/useGanttSelectors.d.ts +0 -23
- package/dist/hooks/useGanttVirtualization.d.ts +0 -32
- package/dist/hooks/useResolvedTheme.d.ts +0 -15
- package/dist/pages/Gantt.d.ts +0 -306
- package/dist/stores/store.d.ts +0 -118
- package/dist/types/gantt.d.ts +0 -283
- package/dist/types/task.d.ts +0 -111
- package/dist/utils/a11y.d.ts +0 -141
- package/dist/utils/arrowPath.d.ts +0 -66
- package/dist/utils/dependency.d.ts +0 -42
- package/dist/utils/grouping.d.ts +0 -81
- package/dist/utils/headerUtils.d.ts +0 -6
- package/dist/utils/history.d.ts +0 -56
- package/dist/utils/i18n.d.ts +0 -16
- package/dist/utils/mutation.d.ts +0 -47
- package/dist/utils/pngExport.d.ts +0 -67
- package/dist/utils/pointerGesture.d.ts +0 -31
- package/dist/utils/rowDrag.d.ts +0 -69
- package/dist/utils/timeline.d.ts +0 -161
- package/dist/utils/transformData.d.ts +0 -15
- package/dist/utils/viewport.d.ts +0 -95
package/dist/index.d.cts
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
export { default as ReactGanttChart } from './
|
|
2
|
-
export type { GanttProps } from './
|
|
3
|
-
export type { GanttHandle, GanttScrollApi, GanttScrollOptions, GanttZoomAnchor, } from './hooks/useGanttScrollApi';
|
|
4
|
-
export type {
|
|
5
|
-
export type {
|
|
6
|
-
export type {
|
|
7
|
-
export type {
|
|
8
|
-
export type {
|
|
9
|
-
export type {
|
|
10
|
-
export
|
|
11
|
-
export type {
|
|
12
|
-
export { backwardPass, buildTaskGraph, buildTaskTree, CALENDAR_DAYS, canLink, collectSubtreeIds, computeCriticalPath, createWorkingCalendar, findPath, forwardPass, linkKey, rollUpTasks, scheduleTasks, } from './core';
|
|
13
|
-
export type { CriticalPathResult, ScheduleOptions, ScheduleResult, SchedulingLink, SchedulingPolicy, TaskGraph, TaskScheduleMetrics, TaskTree, WorkingCalendar, WorkingCalendarOptions, } from './core';
|
|
1
|
+
export { default as ReactGanttChart } from './Gantt';
|
|
2
|
+
export type { GanttProps } from './props';
|
|
3
|
+
export type { GanttDetailApi, GanttHandle, GanttTaskCreateApi, GanttScrollApi, GanttScrollOptions, GanttZoomAnchor, } from './timeline/hooks/useGanttScrollApi';
|
|
4
|
+
export type { Task, TaskDependency, DependencyType, TaskTransformed, GanttInteractionConfig, } from './shared/task';
|
|
5
|
+
export type { GanttDependencyChange } from './dependencies/hooks/useGanttLinkDrag';
|
|
6
|
+
export type { GanttMoveRejection, GanttTaskMove, GanttTaskMoveChange, } from './core/reorder';
|
|
7
|
+
export type { GanttTaskDraft } from './bars/hooks/useGanttDrawCreate';
|
|
8
|
+
export type { GanttDateRange, GanttDetailRenderProps, GanttDetailRenderer, GanttFormatOverrides, GanttScaleFormat, GanttScaleKey, GanttTheme, Holiday, } from './shared/types';
|
|
9
|
+
export type { GanttRow } from './rows/utils/rows';
|
|
10
|
+
export { buildTaskTree, CALENDAR_DAYS, collectSubtreeIds, createWorkingCalendar, moveTask, rollUpTasks, sortTasksBySequence, validateMove, } from './core';
|
|
11
|
+
export type { GanttMoveOptions, TaskTree, WorkingCalendar, WorkingCalendarOptions, } from './core';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
export { default as ReactGanttChart } from './
|
|
2
|
-
export type { GanttProps } from './
|
|
3
|
-
export type { GanttHandle, GanttScrollApi, GanttScrollOptions, GanttZoomAnchor, } from './hooks/useGanttScrollApi';
|
|
4
|
-
export type {
|
|
5
|
-
export type {
|
|
6
|
-
export type {
|
|
7
|
-
export type {
|
|
8
|
-
export type {
|
|
9
|
-
export type {
|
|
10
|
-
export
|
|
11
|
-
export type {
|
|
12
|
-
export { backwardPass, buildTaskGraph, buildTaskTree, CALENDAR_DAYS, canLink, collectSubtreeIds, computeCriticalPath, createWorkingCalendar, findPath, forwardPass, linkKey, rollUpTasks, scheduleTasks, } from './core';
|
|
13
|
-
export type { CriticalPathResult, ScheduleOptions, ScheduleResult, SchedulingLink, SchedulingPolicy, TaskGraph, TaskScheduleMetrics, TaskTree, WorkingCalendar, WorkingCalendarOptions, } from './core';
|
|
1
|
+
export { default as ReactGanttChart } from './Gantt';
|
|
2
|
+
export type { GanttProps } from './props';
|
|
3
|
+
export type { GanttDetailApi, GanttHandle, GanttTaskCreateApi, GanttScrollApi, GanttScrollOptions, GanttZoomAnchor, } from './timeline/hooks/useGanttScrollApi';
|
|
4
|
+
export type { Task, TaskDependency, DependencyType, TaskTransformed, GanttInteractionConfig, } from './shared/task';
|
|
5
|
+
export type { GanttDependencyChange } from './dependencies/hooks/useGanttLinkDrag';
|
|
6
|
+
export type { GanttMoveRejection, GanttTaskMove, GanttTaskMoveChange, } from './core/reorder';
|
|
7
|
+
export type { GanttTaskDraft } from './bars/hooks/useGanttDrawCreate';
|
|
8
|
+
export type { GanttDateRange, GanttDetailRenderProps, GanttDetailRenderer, GanttFormatOverrides, GanttScaleFormat, GanttScaleKey, GanttTheme, Holiday, } from './shared/types';
|
|
9
|
+
export type { GanttRow } from './rows/utils/rows';
|
|
10
|
+
export { buildTaskTree, CALENDAR_DAYS, collectSubtreeIds, createWorkingCalendar, moveTask, rollUpTasks, sortTasksBySequence, validateMove, } from './core';
|
|
11
|
+
export type { GanttMoveOptions, TaskTree, WorkingCalendar, WorkingCalendarOptions, } from './core';
|