@pit-front-end/components
Version:
湖南创智艾泰克科技有限公司
53 lines (52 loc) • 1.87 kB
TypeScript
import { ExtractPropTypes } from 'vue';
export declare const addDatePickerProps: {
readonly modelValue: {
readonly type: ArrayConstructor;
readonly default: () => never[];
};
readonly startPlaceholder: {
readonly type: StringConstructor;
readonly default: "开始日期";
};
readonly endPlaceholder: {
readonly type: StringConstructor;
readonly default: "结束日期";
};
readonly valueFormat: {
readonly type: StringConstructor;
};
readonly rangeSeparator: {
readonly type: StringConstructor;
readonly default: "-";
};
readonly clearable: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly type: {
readonly type: () => "daterange" | "date" | "year" | "month" | "dates" | "week" | "datetime" | "datetimerange" | "monthrange";
readonly default: () => string;
};
readonly startTime: {
readonly type: StringConstructor;
readonly default: "";
};
readonly endTime: {
readonly type: StringConstructor;
readonly default: "";
};
readonly size: {
readonly type: import('vue').PropType<import('pit-element-plus/es/utils').EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
readonly required: false;
readonly validator: ((val: unknown) => boolean) | undefined;
__epPropKey: true;
};
};
export type AddDatePickerProps = ExtractPropTypes<typeof addDatePickerProps>;
export declare const addDatePickerEmits: {
"update:startTime": (value: string) => string;
"update:endTime": (value: string) => string;
"update:modelValue": (value: Array<string>) => string[];
change: (value: Array<string>) => string[];
};
export type AddDatePickerEmits = typeof addDatePickerEmits;