UNPKG

vue3-gantt-customized

Version:

vue3甘特图 借鉴了原有作者ZRX

84 lines (82 loc) 2.94 kB
import { GanttDataProps, GanttStatusListProps, GanttType } from './types.vue'; interface Props { list: GanttDataProps[]; headBodyPaddingY: number; showLine: boolean; ganttType: GanttType; statusList?: GanttStatusListProps[]; } declare function __VLS_template(): { childrenSlot?(_: { width: number; activeWidth: number; surplusWidth: number; overflowWidth: number | undefined; status?: import('./types.vue').GanttDataStatusProps; ganttId: string; left: number; progress: number; isParent: boolean; parentIsEmpty: boolean; isEmpty: boolean; overtimeWidth?: number; timeInfoList: import('./types.vue').TimeInfo[]; children?: GanttDataProps[]; }): any; parentSlot?(_: { timePosition: any; width: any; activeWidth: number; surplusWidth: number; overflowWidth: any; status?: import('./types.vue').GanttDataStatusProps; ganttId: string; left: number; progress: number; isParent: boolean; parentIsEmpty: boolean; isEmpty: boolean; overtimeWidth?: number; timeInfoList: import('./types.vue').TimeInfo[]; children?: GanttDataProps[]; }): any; }; declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, { statusList: () => GanttStatusListProps[]; }>>, { initList: () => void; }, {}, {}, {}, 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[]; }>>> & Readonly<{ onOnClickText?: ((params: GanttDataProps) => any) | undefined; onOnChangeScrollBarHeight?: ((params: number) => any) | undefined; }>, { statusList: GanttStatusListProps[]; }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>; declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>; 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; }; };