dev temp changes

This commit is contained in:
MaTeMaTuK committed 2021-03-01 21:55:27 +02:00
1 parent af2ae879f8
commit cbded1ad8a
26 files changed
+1725 -877

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
import { BarTask } from "./bar-task";
export type BarMoveAction = "progress" | "end" | "start" | "move";
export type GanttContentMoveAction =
| "mouseenter"
| "mouseleave"
| "delete"
| "dblclick"
| "select"
| ""
| BarMoveAction;
export type GanttEvent = {
changedTask?: BarTask;
originalSelectedTask?: BarTask;
action: GanttContentMoveAction;
};
+4
View File
@@ -6,8 +6,10 @@ export enum ViewMode {
Week = "Week",
Month = "Month",
}
export type TaskType = "task" | "milestone";
export interface Task {
id: string;
type: TaskType;
name: string;
start: Date;
end: Date;
@@ -85,6 +87,8 @@ export interface StylingOption {
barProgressSelectedColor?: string;
barBackgroundColor?: string;
barBackgroundSelectedColor?: string;
milestoneBackgroundColor?: string;
milestoneBackgroundSelectedColor?: string;
arrowColor?: string;
arrowIndent?: number;
todayColor?: string;