@solfacil/girassol
Version:
Girassol design system
49 lines (48 loc) • 1.97 kB
TypeScript
import type { DatePicker as DatePickerProps } from './types';
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
id: DatePickerProps['id'];
label?: DatePickerProps['label'];
range?: DatePickerProps['range'];
error?: DatePickerProps['error'];
size?: DatePickerProps['size'];
helperText?: DatePickerProps['helperText'];
modelValue?: DatePickerProps['modelValue'];
placeholder?: DatePickerProps['placeholder'];
}>, {
label: string;
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
"update:modelValue": (value: import("./types").ModelValue | undefined) => void;
} & {
change: (value: string) => void;
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
id: DatePickerProps['id'];
label?: DatePickerProps['label'];
range?: DatePickerProps['range'];
error?: DatePickerProps['error'];
size?: DatePickerProps['size'];
helperText?: DatePickerProps['helperText'];
modelValue?: DatePickerProps['modelValue'];
placeholder?: DatePickerProps['placeholder'];
}>, {
label: string;
}>>> & {
onChange?: ((value: string) => any) | undefined;
"onUpdate:modelValue"?: ((value: import("./types").ModelValue | undefined) => any) | undefined;
}, {
label: string;
}>;
export default _default;
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
type __VLS_TypePropsToRuntimeProps<T> = {
[K in keyof T]-?: {} extends Pick<T, K> ? {
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
} : {
type: import('vue').PropType<T[K]>;
required: true;
};
};
type __VLS_WithDefaults<P, D> = {
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
default: D[K];
} : P[K];
};