vue3-gantt-customized
Version:
vue3甘特图 借鉴了原有作者ZRX
28 lines (26 loc) • 1.17 kB
TypeScript
import { GanttHeadProps, GanttDataProps } from './types.vue';
interface TableProps {
head: GanttHeadProps[];
list: GanttDataProps[];
headWidth: string;
headBodyPaddingY: number;
headBodyPaddingX: number;
scrollBarHeight: number;
open: boolean;
openStatus: boolean;
}
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<TableProps>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
onChange: (...args: any[]) => void;
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<TableProps>>> & Readonly<{
onOnChange?: ((...args: any[]) => any) | undefined;
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, 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;
};
};