vue-devui
Version:
DevUI components based on Vite and Vue3
168 lines (167 loc) • 6.31 kB
TypeScript
import './gantt.scss';
declare const _default: import("vue").DefineComponent<{
readonly unit: import("./gantt-model").GanttScaleUnit;
readonly startDate?: Date | undefined;
readonly endDate?: Date | undefined;
readonly progressRate?: number | undefined;
}, {
ganttContainer: import("vue").Ref<any, any>;
ganttScaleWidth: import("vue").Ref<number | undefined, number | undefined>;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
readonly unit: import("./gantt-model").GanttScaleUnit;
readonly startDate?: Date | undefined;
readonly endDate?: Date | undefined;
readonly progressRate?: number | undefined;
}> & Readonly<{}>, {
readonly unit: import("./gantt-model").GanttScaleUnit;
}, {}, {
DGanttScale: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
unit: {
type: StringConstructor;
default: import("./gantt-model").GanttScaleUnit;
};
height: {
type: NumberConstructor;
};
startDate: {
type: DateConstructor;
};
endDate: {
type: DateConstructor;
};
ganttScaleContainerOffsetLeft: {
type: NumberConstructor;
};
milestoneList: {
type: import("vue").PropType<import("./gantt-model").GanttMilestone[]>;
};
scrollElement: {
type: ObjectConstructor;
};
ganttBarContainerElement: {
type: ObjectConstructor;
};
}>, {
viewSCaleData: import("vue").Ref<{
dayOfMonthLabel: string;
dayOfWeekLabel: string;
monthLabel: string;
yearLabel: string;
date: Date;
monthStart?: boolean | undefined;
weekend?: boolean | undefined;
today?: boolean | undefined;
highlight?: boolean | undefined;
highlightStart?: boolean | undefined;
milestone?: string | undefined;
scaleStartVisable?: boolean | undefined;
index?: number | undefined;
}[], import("./gantt-model").GanttScaleDateInfo[] | {
dayOfMonthLabel: string;
dayOfWeekLabel: string;
monthLabel: string;
yearLabel: string;
date: Date;
monthStart?: boolean | undefined;
weekend?: boolean | undefined;
today?: boolean | undefined;
highlight?: boolean | undefined;
highlightStart?: boolean | undefined;
milestone?: string | undefined;
scaleStartVisable?: boolean | undefined;
index?: number | undefined;
}[]>;
scaleWidth: import("vue").Ref<{
day: number;
week: number;
month: number;
}, {
day: number;
week: number;
month: number;
} | {
day: number;
week: number;
month: number;
}>;
addMilestone: (info: import("./gantt-model").GanttScaleDateInfo) => void;
highlight: import("vue").Ref<boolean, boolean>;
highlightStartText: import("vue").Ref<string, string>;
highlightEndText: import("vue").Ref<string, string>;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "addMilestone"[], "addMilestone", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
unit: {
type: StringConstructor;
default: import("./gantt-model").GanttScaleUnit;
};
height: {
type: NumberConstructor;
};
startDate: {
type: DateConstructor;
};
endDate: {
type: DateConstructor;
};
ganttScaleContainerOffsetLeft: {
type: NumberConstructor;
};
milestoneList: {
type: import("vue").PropType<import("./gantt-model").GanttMilestone[]>;
};
scrollElement: {
type: ObjectConstructor;
};
ganttBarContainerElement: {
type: ObjectConstructor;
};
}>> & Readonly<{
onAddMilestone?: ((...args: any[]) => any) | undefined;
}>, {
unit: string;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
DGanttTools: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
unit: {
type: StringConstructor;
default: null;
};
isFullScreen: {
type: BooleanConstructor;
default: boolean;
};
}>, {
actionHandle: (type: string) => void;
currentUnitLabel: import("vue").Ref<string, string>;
views: import("vue").Ref<{
name: string;
value: string;
}[], {
name: string;
value: string;
}[] | {
name: string;
value: string;
}[]>;
selectView: (selectItem: {
name: string;
value: string;
}) => void;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("goToday" | "reduceUnit" | "increaseUnit" | "switchView")[], "goToday" | "reduceUnit" | "increaseUnit" | "switchView", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
unit: {
type: StringConstructor;
default: null;
};
isFullScreen: {
type: BooleanConstructor;
default: boolean;
};
}>> & Readonly<{
onGoToday?: ((...args: any[]) => any) | undefined;
onReduceUnit?: ((...args: any[]) => any) | undefined;
onIncreaseUnit?: ((...args: any[]) => any) | undefined;
onSwitchView?: ((...args: any[]) => any) | undefined;
}>, {
unit: string;
isFullScreen: boolean;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
export default _default;