UNPKG

@wamra/gantt-task-react

Version:
7 lines (6 loc) 793 B
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;