UNPKG

hy-vue-gantt

Version:

Evolution of vue-ganttastic package

25 lines 825 B
import type { Holiday } from "../types"; import type { GGanttChartConfig } from "../types/config"; /** * A composable that manages holiday information and highlighting in the Gantt chart * Uses the date-holidays library to provide holiday data for different countries * @param config - Gantt chart configuration object * @returns Object containing holiday state and methods */ export declare function useHolidays(config: GGanttChartConfig): { holidays: import("vue").Ref<{ date: Date; name: string; type: string; }[], Holiday[] | { date: Date; name: string; type: string; }[]>; getHolidayInfo: (date: Date) => { isHoliday: boolean; holidayName: string; holidayType: string; } | null; }; //# sourceMappingURL=useHolidays.d.ts.map