/** * GanttChart - planning xrange : une ligne (rangée Y) par tâche, une barre * horizontale couvrant `start → end` sur un axe temporel numérique (X). * API canonique (référence Svelte, React/Vue doivent s'aligner). * * Modèle : une tâche = une barre avec un OFFSET de départ (x0 = start) et une * largeur (end - start), sur un axe X commun gradué (niceTicks). La couleur * suit `category` (catégorie → categoryN, 8 teintes) ou reste unie si aucune * catégorie n'est fournie. Étiquette de tâche à gauche (ellipsis). Marqueur * « aujourd'hui » optionnel via `marker`. * * Props obligatoires : * data GanttChartTask[] - tableau {task, start, end, category?} * label string * * Props optionnelles : * width number (défaut 640) * height number (défaut 320) * marker number - position d'un repère vertical (ex. « aujourd'hui ») * class string */ export type GanttChartTask = { task: string; start: number; end: number; category?: string; }; type GanttChartProps = { data: GanttChartTask[]; label: string; width?: number; height?: number; marker?: number; class?: string; }; declare const GanttChart: import("svelte").Component; type GanttChart = ReturnType; export default GanttChart; //# sourceMappingURL=GanttChart.svelte.d.ts.map