UNPKG

@fesjs/fes-design

Version:
53 lines (52 loc) 1.46 kB
import type { PropType } from 'vue'; export declare const RANGE_POSITION: { readonly LEFT: "left"; readonly RIGHT: "right"; }; export declare enum SELECTED_STATUS { START = 0, END = 1 } export declare const YEAR_COUNT = 16; export declare const COMMON_PROPS: { modelValue: { type: PropType<number | number[]>; }; format: StringConstructor; type: { type: PropType<"date" | "datetime" | "datemultiple" | "daterange" | "datetimerange" | "datemonthrange" | "year" | "month" | "quarter">; default: string; }; minDate: { type: (NumberConstructor | DateConstructor)[]; }; maxDate: { type: (NumberConstructor | DateConstructor)[]; }; disabledDate: { type: PropType<(date: Date) => boolean>; default: () => boolean; }; disabledTime: { type: PropType<(date: Date, rangePosition?: (typeof RANGE_POSITION)[keyof typeof RANGE_POSITION], value?: Date | Date[]) => boolean>; default: () => boolean; }; hourStep: NumberConstructor; minuteStep: NumberConstructor; secondStep: NumberConstructor; defaultTime: PropType<string | string[]>; }; export declare const CALENDARS_PROPS: { control: { type: BooleanConstructor; default: boolean; }; shortcuts: { type: ObjectConstructor; }; }; export declare const RANGE_PROPS: { maxRange: { type: StringConstructor; }; };