gantt-task-react-powern 0.4.85 → 0.4.87
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/components/other/arrow.d.ts +2 -1
- package/dist/index.js +96 -62
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +96 -62
- package/dist/index.modern.js.map +1 -1
- package/dist/types/bar-task.d.ts +2 -1
- package/dist/types/public-types.d.ts +6 -1
- package/package.json +1 -1
package/dist/types/bar-task.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Task, TaskType } from "./public-types";
|
|
1
|
+
import { Dependency, Task, TaskType } from "./public-types";
|
|
2
2
|
export interface BarTask extends Task {
|
|
3
3
|
index: number;
|
|
4
4
|
typeInternal: TaskTypeInternal;
|
|
@@ -9,6 +9,7 @@ export interface BarTask extends Task {
|
|
|
9
9
|
progressStartWidth: number;
|
|
10
10
|
progressEndWidth: number;
|
|
11
11
|
y: number;
|
|
12
|
+
dependencyType?: Dependency;
|
|
12
13
|
height: number;
|
|
13
14
|
progressX: number;
|
|
14
15
|
progressWidth: number;
|
|
@@ -11,6 +11,11 @@ export declare enum ViewMode {
|
|
|
11
11
|
Year = "Year"
|
|
12
12
|
}
|
|
13
13
|
export declare type TaskType = "task" | "milestone" | "project";
|
|
14
|
+
export declare type Dependency = "SS" | "SF" | "FS" | "FF";
|
|
15
|
+
export declare type DependencyType = {
|
|
16
|
+
id: string;
|
|
17
|
+
type: Dependency;
|
|
18
|
+
};
|
|
14
19
|
export interface Task {
|
|
15
20
|
id: string;
|
|
16
21
|
optionalId?: string | null;
|
|
@@ -40,7 +45,7 @@ export interface Task {
|
|
|
40
45
|
depth: number;
|
|
41
46
|
isDisabled?: boolean;
|
|
42
47
|
project?: string;
|
|
43
|
-
dependencies?:
|
|
48
|
+
dependencies?: DependencyType[];
|
|
44
49
|
hideChildren?: boolean;
|
|
45
50
|
displayOrder?: number;
|
|
46
51
|
childrenCount?: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gantt-task-react-powern",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.87",
|
|
4
4
|
"description": "Interactive Gantt Chart for React with TypeScript.",
|
|
5
5
|
"author": "lewibs <benjamin.lewis@powern.ai>",
|
|
6
6
|
"homepage": "https://github.com/powernai/gantt-task-react-powern",
|