vuux
Version:
Vue3 Nuxt3 Nuxt4 组件库
106 lines (105 loc) • 4.82 kB
TypeScript
import { default as _DateRangePicker } from './src/dateRangePicker.vue';
import { default as _DatePicker } from './src/index.vue';
export declare const DateRangePicker: import('../withInstall').SFCWithInstall<import('vue').DefineComponent<{
modelValue?: string | undefined;
} & import('./src/types').RangePickerProps, {
handleShow: () => void;
handleHide: () => void;
}, {}, {}, {}, 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<{
modelValue?: string | undefined;
} & import('./src/types').RangePickerProps> & Readonly<{
onChange?: ((...args: any[]) => any) | undefined;
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
onClear?: ((...args: any[]) => any) | undefined;
}>, {
startKey: string;
endKey: string;
placeholderStart: string;
placeholderEnd: string;
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
selectEl: HTMLDivElement;
dateEl: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
modelValue?: string | undefined;
} & import('./src/types').RangeProps> & Readonly<{
onChange?: ((...args: any[]) => any) | undefined;
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
}>, {
init: () => void;
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
change: (...args: any[]) => void;
"update:modelValue": (value: string | undefined) => void;
}, import('vue').PublicProps, {
startKey: string;
endKey: string;
placeholderStart: string;
placeholderEnd: string;
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
P: {};
B: {};
D: {};
C: {};
M: {};
Defaults: {};
}, Readonly<{
modelValue?: string | undefined;
} & import('./src/types').RangeProps> & Readonly<{
onChange?: ((...args: any[]) => any) | undefined;
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
}>, {
init: () => void;
}, {}, {}, {}, {
startKey: string;
endKey: string;
placeholderStart: string;
placeholderEnd: string;
}> | null;
}, HTMLDivElement>> & Record<string, any>;
export declare const DatePicker: import('../withInstall').SFCWithInstall<import('vue').DefineComponent<{
modelValue?: string | undefined;
} & import('./src/types').Props, {}, {}, {}, {}, 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<{
modelValue?: string | undefined;
} & import('./src/types').Props> & Readonly<{
onChange?: ((...args: any[]) => any) | undefined;
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
onClear?: ((...args: any[]) => any) | undefined;
}>, {
placeholder: string;
presets: import('./src/date').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>> & Record<string, any>;
export type DateRangePickerInstance = InstanceType<typeof _DateRangePicker>;
export type DatePickerInstance = InstanceType<typeof _DatePicker>;