UNPKG

element-plus

Version:

A Component Library for Vue3.0

99 lines (98 loc) 2.27 kB
import type { PropType } from 'vue'; export declare const defaultProps: { name: { type: (ArrayConstructor | StringConstructor)[]; default: string; }; popperClass: { type: StringConstructor; default: string; }; format: { type: StringConstructor; }; 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; }; 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: () => any[]; }; arrowControl: { type: BooleanConstructor; default: boolean; }; validateEvent: { type: BooleanConstructor; default: boolean; }; unlinkPanels: BooleanConstructor; };