@pit-front-end/components
Version:
湖南创智艾泰克科技有限公司
60 lines (59 loc) • 2.08 kB
TypeScript
import { ExtractPropTypes } from 'vue';
export declare const searchDatePickerProps: {
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;
};
readonly isForwardQuery: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly disabledDate: {
readonly type: FunctionConstructor;
};
};
export type SearchDatePickerProps = ExtractPropTypes<typeof searchDatePickerProps>;
export declare const searchDatePickerEmits: {
"update:startTime": (value: string) => string;
"update:endTime": (value: string) => string;
"update:modelValue": (value: Array<string>) => string[];
change: (value: Array<string>) => string[];
};
export type SearchDatePickerEmits = typeof searchDatePickerEmits;