element-plus
Version:
A Component Library for Vue 3
84 lines (83 loc) • 2.66 kB
TypeScript
import type { TimeSelectProps } from './time-select';
declare const __VLS_export: import("vue").DefineComponent<__VLS_WithDefaultsLocal<__VLS_TypePropsToOption<TimeSelectProps>, {
format: string;
disabled: undefined;
editable: boolean;
effect: string;
clearable: boolean;
start: string;
end: string;
step: string;
prefixIcon: () => any;
clearIcon: () => any;
popperClass: string;
valueOnClear: undefined;
popperStyle: undefined;
}>, {
/**
* @description blur the Input component
*/
blur: () => void;
/**
* @description focus the Input component
*/
focus: () => void;
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
focus: (...args: any[]) => void;
"update:modelValue": (...args: any[]) => void;
change: (...args: any[]) => void;
clear: (...args: any[]) => void;
blur: (...args: any[]) => void;
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaultsLocal<__VLS_TypePropsToOption<TimeSelectProps>, {
format: string;
disabled: undefined;
editable: boolean;
effect: string;
clearable: boolean;
start: string;
end: string;
step: string;
prefixIcon: () => any;
clearIcon: () => any;
popperClass: string;
valueOnClear: undefined;
popperStyle: undefined;
}>>> & {
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
onFocus?: ((...args: any[]) => any) | undefined;
onChange?: ((...args: any[]) => any) | undefined;
onBlur?: ((...args: any[]) => any) | undefined;
onClear?: ((...args: any[]) => any) | undefined;
}, {
disabled: boolean;
end: string;
start: string;
effect: import("element-plus").PopperEffect;
valueOnClear: string | number | boolean | Function | null;
format: string;
clearIcon: string | import("vue").Component;
prefixIcon: string | import("vue").Component;
clearable: boolean;
popperClass: string;
popperStyle: string | import("vue").CSSProperties;
editable: boolean;
step: string;
}, {}>;
declare const _default: typeof __VLS_export;
export default _default;
type __VLS_TypePropsToOption<T> = {
[K in keyof T]-?: {} extends Pick<T, K> ? {
type: import('vue').PropType<Required<T>[K]>;
} : {
type: import('vue').PropType<T[K]>;
required: true;
};
};
type __VLS_WithDefaultsLocal<P, D> = {
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
default: D[K];
}> : P[K];
};
type __VLS_PrettifyLocal<T> = {
[K in keyof T as K]: T[K];
} & {};