tdesign-vue
Version:
108 lines (107 loc) • 3.52 kB
TypeScript
import { PropType } from '@vue/composition-api';
declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
COMPONENT_NAME: import("@vue/composition-api").ComputedRef<string>;
labelMap: {
year: {
prev: string;
current: string;
next: string;
};
month: {
prev: string;
current: string;
next: string;
};
date: {
prev: string;
current: string;
next: string;
};
};
nearestYear: import("@vue/composition-api").ComputedRef<number>;
classPrefix: import("@vue/composition-api").Ref<string>;
monthOptions: import("@vue/composition-api").ComputedRef<{
label: string;
value: number;
}[]>;
yearOptions: import("@vue/composition-api").Ref<{
label: string;
value: number;
}[]>;
showMonthPicker: boolean;
handleScroll: ({ e }: any) => void;
handlePanelTopClick: (e: MouseEvent) => void;
handlePanelBottomClick: (e: MouseEvent) => void;
}> & import("@vue/composition-api").Data, {}, {}, {
mode: {
type: PropType<"month" | "year" | "quarter" | "week" | "date">;
default: string;
};
year: NumberConstructor;
month: NumberConstructor;
onMonthChange: FunctionConstructor;
onYearChange: FunctionConstructor;
onJumperClick: FunctionConstructor;
}, import("@vue/composition-api").ExtractPropTypes<{
mode: {
type: PropType<"month" | "year" | "quarter" | "week" | "date">;
default: string;
};
year: NumberConstructor;
month: NumberConstructor;
onMonthChange: FunctionConstructor;
onYearChange: FunctionConstructor;
onJumperClick: FunctionConstructor;
}>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
mode: "month" | "year" | "quarter" | "week" | "date";
} & {
month?: number;
year?: number;
onMonthChange?: Function;
onYearChange?: Function;
onJumperClick?: Function;
}, import("@vue/composition-api").ShallowUnwrapRef<{
COMPONENT_NAME: import("@vue/composition-api").ComputedRef<string>;
labelMap: {
year: {
prev: string;
current: string;
next: string;
};
month: {
prev: string;
current: string;
next: string;
};
date: {
prev: string;
current: string;
next: string;
};
};
nearestYear: import("@vue/composition-api").ComputedRef<number>;
classPrefix: import("@vue/composition-api").Ref<string>;
monthOptions: import("@vue/composition-api").ComputedRef<{
label: string;
value: number;
}[]>;
yearOptions: import("@vue/composition-api").Ref<{
label: string;
value: number;
}[]>;
showMonthPicker: boolean;
handleScroll: ({ e }: any) => void;
handlePanelTopClick: (e: MouseEvent) => void;
handlePanelBottomClick: (e: MouseEvent) => void;
}>, import("@vue/composition-api").Data, {}, {}, {}, {}, {}, {
mode: "month" | "year" | "quarter" | "week" | "date";
} & {
month?: number;
year?: number;
onMonthChange?: Function;
onYearChange?: Function;
onJumperClick?: Function;
}, {
mode: "month" | "year" | "quarter" | "week" | "date";
}, true>);
export default _default;