tdesign-mobile-vue
Version:
tdesign-mobile-vue
126 lines (125 loc) • 5.81 kB
TypeScript
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
allowSameDay: BooleanConstructor;
confirmBtn: {
type: import("vue").PropType<import("@/components").TdCalendarProps['confirmBtn']>;
default: import("@/components").TdCalendarProps['confirmBtn'];
};
firstDayOfWeek: {
type: NumberConstructor;
default: number;
};
format: {
type: import("vue").PropType<import("@/components").TdCalendarProps['format']>;
};
maxDate: {
type: import("vue").PropType<import("@/components").TdCalendarProps['maxDate']>;
};
minDate: {
type: import("vue").PropType<import("@/components").TdCalendarProps['minDate']>;
};
readonly: BooleanConstructor;
switchMode: {
type: import("vue").PropType<import("@/components").TdCalendarProps['switchMode']>;
default: import("@/components").TdCalendarProps['switchMode'];
validator(val: import("@/components").TdCalendarProps['switchMode']): boolean;
};
title: {
type: import("vue").PropType<import("@/components").TdCalendarProps['title']>;
};
type: {
type: import("vue").PropType<import("@/components").TdCalendarProps['type']>;
default: import("@/components").TdCalendarProps['type'];
validator(val: import("@/components").TdCalendarProps['type']): boolean;
};
usePopup: {
type: BooleanConstructor;
default: boolean;
};
value: {
type: import("vue").PropType<import("@/components").TdCalendarProps['value']>;
default: import("@/components").TdCalendarProps['value'];
};
modelValue: {
type: import("vue").PropType<import("@/components").TdCalendarProps['value']>;
default: import("@/components").TdCalendarProps['value'];
};
defaultValue: {
type: import("vue").PropType<import("@/components").TdCalendarProps['defaultValue']>;
};
visible: BooleanConstructor;
onChange: import("vue").PropType<import("@/components").TdCalendarProps['onChange']>;
onClose: import("vue").PropType<import("@/components").TdCalendarProps['onClose']>;
onConfirm: import("vue").PropType<import("@/components").TdCalendarProps['onConfirm']>;
onPanelChange: import("vue").PropType<import("@/components").TdCalendarProps['onPanelChange']>;
onScroll: import("vue").PropType<import("@/components").TdCalendarProps['onScroll']>;
onSelect: import("vue").PropType<import("@/components").TdCalendarProps['onSelect']>;
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:visible"[], "update:visible", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
allowSameDay: BooleanConstructor;
confirmBtn: {
type: import("vue").PropType<import("@/components").TdCalendarProps['confirmBtn']>;
default: import("@/components").TdCalendarProps['confirmBtn'];
};
firstDayOfWeek: {
type: NumberConstructor;
default: number;
};
format: {
type: import("vue").PropType<import("@/components").TdCalendarProps['format']>;
};
maxDate: {
type: import("vue").PropType<import("@/components").TdCalendarProps['maxDate']>;
};
minDate: {
type: import("vue").PropType<import("@/components").TdCalendarProps['minDate']>;
};
readonly: BooleanConstructor;
switchMode: {
type: import("vue").PropType<import("@/components").TdCalendarProps['switchMode']>;
default: import("@/components").TdCalendarProps['switchMode'];
validator(val: import("@/components").TdCalendarProps['switchMode']): boolean;
};
title: {
type: import("vue").PropType<import("@/components").TdCalendarProps['title']>;
};
type: {
type: import("vue").PropType<import("@/components").TdCalendarProps['type']>;
default: import("@/components").TdCalendarProps['type'];
validator(val: import("@/components").TdCalendarProps['type']): boolean;
};
usePopup: {
type: BooleanConstructor;
default: boolean;
};
value: {
type: import("vue").PropType<import("@/components").TdCalendarProps['value']>;
default: import("@/components").TdCalendarProps['value'];
};
modelValue: {
type: import("vue").PropType<import("@/components").TdCalendarProps['value']>;
default: import("@/components").TdCalendarProps['value'];
};
defaultValue: {
type: import("vue").PropType<import("@/components").TdCalendarProps['defaultValue']>;
};
visible: BooleanConstructor;
onChange: import("vue").PropType<import("@/components").TdCalendarProps['onChange']>;
onClose: import("vue").PropType<import("@/components").TdCalendarProps['onClose']>;
onConfirm: import("vue").PropType<import("@/components").TdCalendarProps['onConfirm']>;
onPanelChange: import("vue").PropType<import("@/components").TdCalendarProps['onPanelChange']>;
onScroll: import("vue").PropType<import("@/components").TdCalendarProps['onScroll']>;
onSelect: import("vue").PropType<import("@/components").TdCalendarProps['onSelect']>;
}>> & Readonly<{
"onUpdate:visible"?: (...args: any[]) => any;
}>, {
allowSameDay: boolean;
confirmBtn: import("@/button").TdButtonProps | import("@/common").SlotReturnValue;
firstDayOfWeek: number;
readonly: boolean;
switchMode: "month" | "none" | "year-month";
type: "multiple" | "range" | "single";
usePopup: boolean;
value: import("@/components").CalendarValue;
modelValue: import("@/components").CalendarValue;
visible: boolean;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
export default _default;