vue3-gantt-customized
Version:
vue3甘特图 借鉴了原有作者ZRX
49 lines (47 loc) • 1.85 kB
TypeScript
import { GanttDataProps, GanttStatusListProps, IListIF } from '../../types.vue';
interface Props {
item: IListIF;
index: number;
showLine: boolean;
statusList: GanttStatusListProps[];
}
declare function __VLS_template(): {
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_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
onClickText: (params: GanttDataProps) => void;
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{
onOnClickText?: ((params: GanttDataProps) => any) | undefined;
}>, {}, {}, {}, {}, 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_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};