@wamra/gantt-task-react
Version:
Interactive Gantt Chart for React with TypeScript
7 lines (6 loc) • 793 B
TypeScript
import { Distances, MapTaskToCoordinates, TaskToRowIndexMap, TaskCoordinates, TaskOrEmpty, ViewMode, Task } from "../types/public-types";
export declare const countTaskCoordinates: (task: Task, taskToRowIndexMap: TaskToRowIndexMap, startDate: Date, viewMode: ViewMode, rtl: boolean, fullRowHeight: number, taskHeight: number, taskYOffset: number, distances: Distances, svgWidth: number) => TaskCoordinates;
/**
* @param tasks List of tasks
*/
export declare const getMapTaskToCoordinates: (tasks: readonly TaskOrEmpty[], visibleTasksMirror: Readonly<Record<string, true>>, taskToRowIndexMap: TaskToRowIndexMap, startDate: Date, viewMode: ViewMode, rtl: boolean, fullRowHeight: number, taskHeight: number, taskYOffset: number, distances: Distances, svgWidth: number) => MapTaskToCoordinates;