gantt-task-react
Advanced tools
Comparing version 0.3.2 to 0.3.3
@@ -8,2 +8,3 @@ import React from "react"; | ||
viewMode: ViewMode; | ||
rtl: boolean; | ||
headerHeight: number; | ||
@@ -10,0 +11,0 @@ columnWidth: number; |
@@ -20,2 +20,3 @@ import React from "react"; | ||
fontFamily: string; | ||
rtl: boolean; | ||
setGanttEvent: (value: GanttEvent) => void; | ||
@@ -22,0 +23,0 @@ setFailedTask: (value: BarTask | null) => void; |
@@ -10,3 +10,4 @@ import React from "react"; | ||
todayColor: string; | ||
rtl: boolean; | ||
}; | ||
export declare const GridBody: React.FC<GridBodyProps>; |
@@ -9,4 +9,5 @@ import React from "react"; | ||
arrowIndent: number; | ||
rtl: boolean; | ||
}; | ||
export declare const Arrow: React.FC<ArrowProps>; | ||
export {}; |
@@ -6,3 +6,4 @@ import React, { SyntheticEvent } from "react"; | ||
taskListWidth: number; | ||
rtl: boolean; | ||
onScroll: (event: SyntheticEvent<HTMLDivElement>) => void; | ||
}>; |
@@ -7,4 +7,6 @@ import React from "react"; | ||
arrowIndent: number; | ||
rtl: boolean; | ||
svgContainerHeight: number; | ||
svgContainerWidth: number; | ||
svgWidth: number; | ||
headerHeight: number; | ||
@@ -11,0 +13,0 @@ taskListWidth: number; |
@@ -7,3 +7,4 @@ import React, { SyntheticEvent } from "react"; | ||
headerHeight: number; | ||
rtl: boolean; | ||
onScroll: (event: SyntheticEvent<HTMLDivElement>) => void; | ||
}>; |
@@ -8,2 +8,3 @@ import React from "react"; | ||
isSelected: boolean; | ||
progressX: number; | ||
progressWidth: number; | ||
@@ -10,0 +11,0 @@ barCornerRadius: number; |
@@ -12,4 +12,5 @@ import React from "react"; | ||
isSelected: boolean; | ||
rtl: boolean; | ||
onEventStart: (action: GanttContentMoveAction, selectedTask: BarTask, event?: React.MouseEvent | React.KeyboardEvent) => any; | ||
}; | ||
export declare const TaskItem: React.FC<TaskItemProps>; |
import { Task } from "../types/public-types"; | ||
import { BarTask } from "../types/bar-task"; | ||
import { BarMoveAction } from "../types/gantt-task-actions"; | ||
export declare const convertToBarTasks: (tasks: Task[], dates: Date[], columnWidth: number, rowHeight: number, taskHeight: number, barCornerRadius: number, handleWidth: number, barProgressColor: string, barProgressSelectedColor: string, barBackgroundColor: string, barBackgroundSelectedColor: string, projectProgressColor: string, projectProgressSelectedColor: string, projectBackgroundColor: string, projectBackgroundSelectedColor: string, milestoneBackgroundColor: string, milestoneBackgroundSelectedColor: string) => BarTask[]; | ||
export declare const progressWithByParams: (taskX1: number, taskX2: number, progress: number) => number; | ||
export declare const convertToBarTasks: (tasks: Task[], dates: Date[], columnWidth: number, rowHeight: number, taskHeight: number, barCornerRadius: number, handleWidth: number, rtl: boolean, barProgressColor: string, barProgressSelectedColor: string, barBackgroundColor: string, barBackgroundSelectedColor: string, projectProgressColor: string, projectProgressSelectedColor: string, projectBackgroundColor: string, projectBackgroundSelectedColor: string, milestoneBackgroundColor: string, milestoneBackgroundSelectedColor: string) => BarTask[]; | ||
export declare const progressWithByParams: (taskX1: number, taskX2: number, progress: number, rtl: boolean) => number[]; | ||
export declare const progressByProgressWidth: (progressWidth: number, barTask: BarTask) => number; | ||
@@ -11,5 +11,5 @@ export declare const getProgressPoint: (progressX: number, taskY: number, taskHeight: number) => string; | ||
*/ | ||
export declare const handleTaskBySVGMouseEvent: (svgX: number, action: BarMoveAction, selectedTask: BarTask, xStep: number, timeStep: number, initEventX1Delta: number) => { | ||
export declare const handleTaskBySVGMouseEvent: (svgX: number, action: BarMoveAction, selectedTask: BarTask, xStep: number, timeStep: number, initEventX1Delta: number, rtl: boolean) => { | ||
isChanged: boolean; | ||
changedTask: BarTask; | ||
}; |
@@ -9,2 +9,3 @@ import { Task, ViewMode } from "../types/public-types"; | ||
export declare const getWeekNumberISO8601: (date: Date) => string; | ||
export declare const getDaysInMonth: (month: number, year: number) => number; | ||
export {}; |
@@ -9,2 +9,4 @@ import { Task, TaskType } from "./public-types"; | ||
height: number; | ||
progressX: number; | ||
progressWidth: number; | ||
barCornerRadius: number; | ||
@@ -11,0 +13,0 @@ handleWidth: number; |
@@ -63,2 +63,3 @@ /// <reference types="react" /> | ||
locale?: string; | ||
rtl?: boolean; | ||
} | ||
@@ -65,0 +66,0 @@ export interface StylingOption { |
{ | ||
"name": "gantt-task-react", | ||
"version": "0.3.2", | ||
"version": "0.3.3", | ||
"description": "Interactive Gantt Chart for React with TypeScript.", | ||
@@ -5,0 +5,0 @@ "author": "MaTeMaTuK <maksym.vikarii@gmail.com>", |
@@ -84,6 +84,7 @@ # gantt-task-react | ||
| Parameter Name | Type | Description | | ||
| :------------- | :----- | :---------------------------------------------------------------------------------------------- | | ||
| viewMode | enum | Specifies the time scale. Quarter Day, Half Day, Day, Week(ISO-8601, 1st day is Monday), Month. | | ||
| locale | string | Specifies the month name language. Able formats: ISO 639-2, Java Locale. | | ||
| Parameter Name | Type | Description | | ||
| :------------- | :------ | :---------------------------------------------------------------------------------------------- | | ||
| viewMode | enum | Specifies the time scale. Quarter Day, Half Day, Day, Week(ISO-8601, 1st day is Monday), Month. | | ||
| locale | string | Specifies the month name language. Able formats: ISO 639-2, Java Locale. | | ||
| rtl | boolean | Sets rtl mode. | | ||
@@ -90,0 +91,0 @@ ### StylingOption |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
573478
4887
144