hy-vue-gantt
Version:
Evolution of vue-ganttastic package
56 lines • 1.98 kB
TypeScript
import type { TimeaxisData, TimeaxisUnit, TimeUnit, TimeaxisEvent } from "@/types";
type __VLS_Props = {
timeaxisUnits: TimeaxisData;
internalPrecision: TimeUnit;
};
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_Props, {
timeaxisElement: import("vue").Ref<HTMLElement | null, HTMLElement | null>;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
drag: (value: MouseEvent) => any;
dragStart: (value: MouseEvent) => any;
dragEnd: (value: MouseEvent) => any;
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
onDrag?: ((value: MouseEvent) => any) | undefined;
onDragStart?: ((value: MouseEvent) => any) | undefined;
onDragEnd?: ((value: MouseEvent) => any) | undefined;
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>, {
"upper-timeunit"?(_: {
label: string;
value: string | undefined;
date: Date;
}): any;
timeunit?(_: {
label: string;
value: string | undefined;
date: Date;
}): any;
"timeaxis-event"?(_: {
event: {
calculatedWidth: string;
calculatedX: number;
id: string;
label: string;
startDate: string | Date;
endDate: string | Date;
color?: string | undefined;
backgroundColor?: string | undefined;
description?: string | undefined;
width?: string | undefined;
xPosition?: number | undefined;
};
}): any;
"holiday-tooltip"?(_: {
unit: TimeaxisUnit;
}): any;
"event-tooltip"?(_: {
event: TimeaxisEvent;
formatDate: (date: string | Date) => string | Date;
}): any;
}>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};
//# sourceMappingURL=GGanttTimeaxis.vue.d.ts.map