UNPKG

element-plus

Version:

A Component Library for Vue 3

108 lines (107 loc) 2.45 kB
import type { PropType } from 'vue'; import type { Options } from '@popperjs/core'; import type { ComponentSize } from 'element-plus/es/utils/types'; export declare const timePickerDefaultProps: { name: { type: (StringConstructor | ArrayConstructor)[]; default: string; }; popperClass: { type: StringConstructor; default: string; }; format: { type: StringConstructor; }; valueFormat: { type: PropType<string>; }; type: { type: StringConstructor; default: string; }; clearable: { type: BooleanConstructor; default: boolean; }; clearIcon: { type: StringConstructor; default: string; }; editable: { type: BooleanConstructor; default: boolean; }; prefixIcon: { type: StringConstructor; default: string; }; size: { type: PropType<ComponentSize>; validator: (val: string) => boolean; }; readonly: { type: BooleanConstructor; default: boolean; }; disabled: { type: BooleanConstructor; default: boolean; }; placeholder: { type: StringConstructor; default: string; }; popperOptions: { type: PropType<Partial<Options>>; default: () => {}; }; modelValue: { type: PropType<string | Date | Date[]>; default: string; }; rangeSeparator: { type: StringConstructor; default: string; }; startPlaceholder: StringConstructor; endPlaceholder: StringConstructor; defaultValue: { type: PropType<Date | Date[]>; }; defaultTime: { type: PropType<Date | Date[]>; }; isRange: { type: BooleanConstructor; default: boolean; }; disabledHours: { type: FunctionConstructor; }; disabledMinutes: { type: FunctionConstructor; }; disabledSeconds: { type: FunctionConstructor; }; disabledDate: { type: FunctionConstructor; }; cellClassName: { type: FunctionConstructor; }; shortcuts: { type: ArrayConstructor; default: () => never[]; }; arrowControl: { type: BooleanConstructor; default: boolean; }; validateEvent: { type: BooleanConstructor; default: boolean; }; unlinkPanels: BooleanConstructor; };