import { Dayjs } from "dayjs"; import { DsFormControlInterface } from "@/component/rbt-base/src/object/DsFormControlImpl.ts"; /** * rbt-quick-popover.vue props */ export interface IRbtQuickPopoverProps { modelValue: IRbtDatePickerValueType; icon?: string; dateTime?: boolean; } /** * rbt-quick-popover.vue emits */ export interface IRbtQuickPopoverEmits { (event: "update:modelValue", values: IRbtDatePickerValueType): void; (event: "update:beginValue", value: string): void; (event: "update:endValue", value: string): void; (event: "update:multiValues", value: string[]): void; } export type IRbtDatePickerType = 'year' | 'month' | 'date' | 'dates' | 'datetime' | 'week' | 'datetimerange' | 'daterange' | 'monthrange'; export type IRbtDatePickerValueType = string[] | string | Date | [Date, Date] | [string, string] | Dayjs | [Dayjs, Dayjs]; /** * 参数 */ export interface RbtDatePickerProps extends DsFormControlInterface { readonly?: boolean; clearable?: boolean; placeholder?: string; type?: IRbtDatePickerType; modelValue?: string; beginValue?: string; endValue?: string; multiValues?: string[]; } /** * 双向绑定 */ export interface RbtDatePickerEmits { (event: "update:modelValue", value: IRbtDatePickerValueType): void; } //# sourceMappingURL=rbt-date-picker.d.ts.map