gantt-task-react-powern 0.4.13 → 0.4.15
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/tooltip.d.ts +3 -0
- package/dist/components/task-item/bar/bar-display.d.ts +1 -2
- package/dist/components/task-item/task-item.d.ts +2 -1
- package/dist/helpers/bar-helper.d.ts +1 -1
- package/dist/index.js +232 -133
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +232 -133
- package/dist/index.modern.js.map +1 -1
- package/dist/types/gantt-task-actions.d.ts +1 -0
- package/package.json +1 -1
|
@@ -3,6 +3,7 @@ import { Task } from "../../types/public-types";
|
|
|
3
3
|
import { BarTask } from "../../types/bar-task";
|
|
4
4
|
export declare type TooltipProps = {
|
|
5
5
|
task: BarTask;
|
|
6
|
+
type: string;
|
|
6
7
|
arrowIndent: number;
|
|
7
8
|
rtl: boolean;
|
|
8
9
|
svgContainerHeight: number;
|
|
@@ -19,6 +20,7 @@ export declare type TooltipProps = {
|
|
|
19
20
|
task: Task;
|
|
20
21
|
fontSize: string;
|
|
21
22
|
fontFamily: string;
|
|
23
|
+
type: string;
|
|
22
24
|
}>;
|
|
23
25
|
};
|
|
24
26
|
export declare const Tooltip: React.FC<TooltipProps>;
|
|
@@ -26,4 +28,5 @@ export declare const StandardTooltipContent: React.FC<{
|
|
|
26
28
|
task: Task;
|
|
27
29
|
fontSize: string;
|
|
28
30
|
fontFamily: string;
|
|
31
|
+
type: string;
|
|
29
32
|
}>;
|
|
@@ -10,6 +10,7 @@ export declare type TaskItemProps = {
|
|
|
10
10
|
isDelete: boolean;
|
|
11
11
|
isSelected: boolean;
|
|
12
12
|
rtl: boolean;
|
|
13
|
-
|
|
13
|
+
type?: string;
|
|
14
|
+
onEventStart: (action: GanttContentMoveAction, selectedTask: BarTask, event?: React.MouseEvent | React.KeyboardEvent, type?: string) => any;
|
|
14
15
|
};
|
|
15
16
|
export declare const TaskItem: React.FC<TaskItemProps>;
|
|
@@ -8,7 +8,7 @@ export declare const getProgressPoint: (progressX: number, taskY: number, taskHe
|
|
|
8
8
|
/**
|
|
9
9
|
* Method handles event in real time(mousemove) and on finish(mouseup)
|
|
10
10
|
*/
|
|
11
|
-
export declare const handleTaskBySVGMouseEvent: (svgX: number, action: BarMoveAction, selectedTask: BarTask, xStep: number, timeStep: number, initEventX1Delta: number, rtl: boolean) => {
|
|
11
|
+
export declare const handleTaskBySVGMouseEvent: (svgX: number, action: BarMoveAction, selectedTask: BarTask, type: string, xStep: number, timeStep: number, initEventX1Delta: number, rtl: boolean) => {
|
|
12
12
|
isChanged: boolean;
|
|
13
13
|
changedTask: BarTask;
|
|
14
14
|
};
|