UNPKG

vue3-gantt-component

Version:

vue3甘特图

87 lines (85 loc) 2.88 kB
import { GanttDataProps, GanttStatusListProps, GanttType } from './types.vue'; interface Props { list: GanttDataProps[]; headBodyPaddingY: number; showLine: boolean; ganttType: GanttType; statusList?: GanttStatusListProps[]; } declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, { statusList: () => GanttStatusListProps[]; }>, { initList: () => void; }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { onChangeScrollBarHeight: (params: number) => void; onClickText: (params: GanttDataProps) => void; }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, { statusList: () => GanttStatusListProps[]; }>>> & { onOnClickText?: ((params: GanttDataProps) => any) | undefined; onOnChangeScrollBarHeight?: ((params: number) => any) | undefined; }, { statusList: GanttStatusListProps[]; }, {}>, { childrenSlot?(_: { width: number; activeWidth: number; surplusWidth: number; overflowWidth: number | undefined; status?: import('./types.vue').GanttDataStatusProps | undefined; ganttId: string; left: number; progress: number; isParent: boolean; parentIsEmpty: boolean; isEmpty: boolean; overtimeWidth?: number | undefined; finishTime: string | null; startTime: string; endTime: string; start: boolean; children?: GanttDataProps[] | undefined; }): any; parentSlot?(_: { width: number; activeWidth: number; surplusWidth: number; overflowWidth: number | undefined; status?: import('./types.vue').GanttDataStatusProps | undefined; ganttId: string; left: number; progress: number; isParent: boolean; parentIsEmpty: boolean; isEmpty: boolean; overtimeWidth?: number | undefined; finishTime: string | null; startTime: string; endTime: string; start: boolean; children?: GanttDataProps[] | undefined; }): any; }>; export default _default; type __VLS_NonUndefinedable<T> = T extends undefined ? never : T; type __VLS_TypePropsToRuntimeProps<T> = { [K in keyof T]-?: {} extends Pick<T, K> ? { type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>; } : { type: import('vue').PropType<T[K]>; required: true; }; }; type __VLS_WithDefaults<P, D> = { [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & { default: D[K]; }> : P[K]; }; type __VLS_Prettify<T> = { [K in keyof T]: T[K]; } & {}; type __VLS_WithTemplateSlots<T, S> = T & { new (): { $slots: S; }; };