gantt-task-react-powern 0.4.68 → 0.4.70
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/grid/grid-body.d.ts +2 -0
- package/dist/components/task-list/task-list-header.d.ts +2 -0
- package/dist/components/task-list/task-list-table.d.ts +3 -0
- package/dist/components/task-list/task-list.d.ts +6 -0
- package/dist/index.css +27 -19
- package/dist/index.js +550 -400
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +550 -400
- package/dist/index.modern.js.map +1 -1
- package/dist/types/public-types.d.ts +9 -0
- package/package.json +1 -1
|
@@ -13,6 +13,7 @@ export declare enum ViewMode {
|
|
|
13
13
|
export declare type TaskType = "task" | "milestone" | "project";
|
|
14
14
|
export interface Task {
|
|
15
15
|
id: string;
|
|
16
|
+
optionalId?: string | null;
|
|
16
17
|
type: TaskType;
|
|
17
18
|
name: string;
|
|
18
19
|
start: Date;
|
|
@@ -76,6 +77,10 @@ export interface EventOption {
|
|
|
76
77
|
* Invokes on expander on task list
|
|
77
78
|
*/
|
|
78
79
|
onExpanderClick?: (task: Task) => void;
|
|
80
|
+
/**
|
|
81
|
+
* Invokes when tasks are multi-selected via checkboxes
|
|
82
|
+
*/
|
|
83
|
+
onMultiSelect?: (tasks: Task[]) => void;
|
|
79
84
|
}
|
|
80
85
|
export interface DisplayOption {
|
|
81
86
|
viewMode?: ViewMode;
|
|
@@ -115,6 +120,7 @@ export interface StylingOption {
|
|
|
115
120
|
arrowColor?: string;
|
|
116
121
|
arrowIndent?: number;
|
|
117
122
|
todayColor?: string;
|
|
123
|
+
weekendColor?: string;
|
|
118
124
|
TooltipContent?: React.FC<{
|
|
119
125
|
task: Task;
|
|
120
126
|
fontSize: string;
|
|
@@ -146,4 +152,7 @@ export interface StylingOption {
|
|
|
146
152
|
export interface GanttProps extends EventOption, DisplayOption, StylingOption {
|
|
147
153
|
tasks: Task[];
|
|
148
154
|
leafTasks?: Task[];
|
|
155
|
+
scheduleType: string;
|
|
156
|
+
startDate?: Date;
|
|
157
|
+
endDate?: Date;
|
|
149
158
|
}
|
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.70",
|
|
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",
|