UNPKG

various-ui

Version:

This is a test version of the Vue 3 component library

64 lines (63 loc) 1.76 kB
import { ExtractPropTypes, PropType } from "vue"; export declare const UiDateRangePickerPropsOption: { readonly classExtraName: { readonly type: StringConstructor; readonly default: ""; }; readonly placeholder: { readonly type: PropType<{ start: string; end: string; }>; readonly default: { readonly start: "开始时间"; readonly end: "结束时间"; }; }; readonly modelValue: { readonly type: PropType<{ start?: Date | undefined; end?: Date | undefined; }>; readonly required: true; }; readonly separator: { readonly type: StringConstructor; readonly default: "至"; }; readonly confirm: { readonly type: StringConstructor; readonly default: "确定"; }; readonly zIndex: { readonly type: NumberConstructor; readonly default: 66; }; readonly width: { readonly type: PropType<string | number>; readonly default: 264; }; readonly mode: { readonly type: PropType<"time" | "date">; readonly default: "date"; }; readonly name: { readonly type: StringConstructor; readonly default: ""; }; }; export type UiDateRangePickerProps = ExtractPropTypes<typeof UiDateRangePickerPropsOption>; export declare const UiDateRangePickerEmits: { "update:modelValue": (_data: { start?: Date; end?: Date; }) => boolean; "before-enter": () => boolean; "before-leave": () => boolean; "after-enter": () => boolean; "after-leave": () => boolean; change: (_date: { start: Date; end: Date; }) => boolean; };