vuux
Version:
Vue3 Nuxt3 Nuxt4 组件库
50 lines (49 loc) • 2.13 kB
TypeScript
import { DatePickerPresets } from './date';
import { Props } from './types';
/**
* 定义组件属性
*/
type __VLS_Props = Props;
type __VLS_PublicProps = {
modelValue?: string | undefined;
} & __VLS_Props;
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
change: (...args: any[]) => void;
clear: (...args: any[]) => void;
"update:modelValue": (value: string | undefined) => void;
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
onChange?: ((...args: any[]) => any) | undefined;
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
onClear?: ((...args: any[]) => any) | undefined;
}>, {
placeholder: string;
presets: DatePickerPresets[];
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
selectEl: HTMLDivElement;
dateEl: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
modelValue?: string | undefined;
}> & Readonly<{
onChange?: ((...args: any[]) => any) | undefined;
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
}>, {
init: (date?: string | undefined) => void;
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
change: (...args: any[]) => void;
"update:modelValue": (value: string | undefined) => void;
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
P: {};
B: {};
D: {};
C: {};
M: {};
Defaults: {};
}, Readonly<{
modelValue?: string | undefined;
}> & Readonly<{
onChange?: ((...args: any[]) => any) | undefined;
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
}>, {
init: (date?: string | undefined) => void;
}, {}, {}, {}, {}> | null;
}, HTMLDivElement>;
export default _default;