gantt-task-react-v 1.0.49 → 1.0.51

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.
@@ -14,26 +14,6 @@ export interface TaskGanttContentProps extends GanttTaskBarActions {
14
14
  distances: Distances;
15
15
  endColumnIndex: number;
16
16
  fullRowHeight: number;
17
- /**
18
- * Absolute X coordinate of data date in the main SVG (including additionalLeftSpace), or undefined
19
- */
20
- dataDateX?: number | null;
21
- splitbarColors?: {
22
- task?: {
23
- onTime?: string;
24
- delayed?: string;
25
- };
26
- project?: {
27
- onTime?: string;
28
- delayed?: string;
29
- };
30
- comparison?: {
31
- onTime?: string;
32
- delayed?: string;
33
- };
34
- } | null;
35
- showProgressBar?: boolean;
36
- progressBarColor?: string;
37
17
  ganttRelationEvent: GanttRelationEvent | null;
38
18
  getDate: (index: number) => Date;
39
19
  getTaskCoordinates: (task: Task) => TaskCoordinates;
@@ -61,5 +41,7 @@ export interface TaskGanttContentProps extends GanttTaskBarActions {
61
41
  isRelationChangeable?: (task: Task) => boolean;
62
42
  taskBarMovingAction: (task: RenderTask) => TaskBarMoveAction | null;
63
43
  viewMode: ViewMode;
44
+ showProgress?: boolean;
45
+ progressColor?: string;
64
46
  }
65
47
  export declare const TaskGanttContent: React.NamedExoticComponent<TaskGanttContentProps>;
@@ -11,7 +11,6 @@ export type GanttTodayProps = {
11
11
  showTodayLine?: boolean;
12
12
  showDataDateLine?: boolean;
13
13
  dataDate?: Date | null;
14
- dataDateX?: number;
15
14
  todayColor?: string | null;
16
15
  dataDateColor?: string | null;
17
16
  todayLabel?: string;
@@ -14,23 +14,8 @@ type BarDisplayProps = {
14
14
  x: number;
15
15
  y: number;
16
16
  customStyle?: CSSProperties;
17
- dataDateX?: number | null;
18
- splitbarColors?: {
19
- task?: {
20
- onTime?: string;
21
- delayed?: string;
22
- };
23
- project?: {
24
- onTime?: string;
25
- delayed?: string;
26
- };
27
- comparison?: {
28
- onTime?: string;
29
- delayed?: string;
30
- };
31
- } | null;
32
- showProgressBar?: boolean;
33
- progressBarColor?: string;
17
+ showProgress?: boolean;
18
+ progressColor?: string;
34
19
  };
35
20
  export declare const BarDisplay: React.FC<BarDisplayProps>;
36
21
  export {};
@@ -15,23 +15,8 @@ type ProjectDisplayProps = {
15
15
  x1: number;
16
16
  x2: number;
17
17
  customStyle?: CSSProperties;
18
- dataDateX?: number | null;
19
- splitbarColors?: {
20
- task?: {
21
- onTime?: string;
22
- delayed?: string;
23
- };
24
- project?: {
25
- onTime?: string;
26
- delayed?: string;
27
- };
28
- comparison?: {
29
- onTime?: string;
30
- delayed?: string;
31
- };
32
- } | null;
33
- showProgressBar?: boolean;
34
- progressBarColor?: string;
18
+ showProgress?: boolean;
19
+ progressColor?: string;
35
20
  };
36
21
  export declare const ProjectDisplay: React.FC<ProjectDisplayProps>;
37
22
  export {};
@@ -13,23 +13,6 @@ export interface TaskItemProps extends Omit<GanttTaskBarActions, "taskBarMovingA
13
13
  distances: Distances;
14
14
  taskHeight: number;
15
15
  taskHalfHeight: number;
16
- dataDateX?: number | null;
17
- splitbarColors?: {
18
- task?: {
19
- onTime?: string;
20
- delayed?: string;
21
- };
22
- project?: {
23
- onTime?: string;
24
- delayed?: string;
25
- };
26
- comparison?: {
27
- onTime?: string;
28
- delayed?: string;
29
- };
30
- } | null;
31
- showProgressBar?: boolean;
32
- progressBarColor?: string;
33
16
  authorizedRelations: RelationKind[];
34
17
  ganttRelationEvent: GanttRelationEvent;
35
18
  canDelete: boolean;
@@ -49,5 +32,7 @@ export interface TaskItemProps extends Omit<GanttTaskBarActions, "taskBarMovingA
49
32
  onTooltipTask: (task: Task | null, element: Element | null) => void;
50
33
  renderCustomLabel?: RenderCustomLabel;
51
34
  viewMode: ViewMode;
35
+ showProgress?: boolean;
36
+ progressColor?: string;
52
37
  }
53
38
  export declare const TaskItem: React.NamedExoticComponent<TaskItemProps>;