vue-amazing-ui
Version:
An Amazing Vue3 UI Components Library, Using TypeScript.
73 lines (72 loc) • 2.28 kB
TypeScript
export interface Props {
width?: string | number;
icon?: boolean;
search?: string;
searchProps?: object;
size?: 'small' | 'middle' | 'large';
allowClear?: boolean;
addonBefore?: string;
prefix?: string;
suffix?: string;
loading?: boolean;
disabled?: boolean;
placeholder?: string;
maxlength?: number;
showCount?: boolean;
value?: string;
valueModifiers?: object;
}
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: {
addonBefore?(_: {}): any;
prefix?(_: {}): any;
suffix?(_: {}): any;
search?(_: {}): any;
icon?(_: {}): any;
};
refs: {
inputRef: HTMLInputElement;
};
rootEl: HTMLDivElement;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
change: (...args: any[]) => void;
compositionend: (...args: any[]) => void;
compositionstart: (...args: any[]) => void;
search: (...args: any[]) => void;
"update:value": (...args: any[]) => void;
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
onChange?: ((...args: any[]) => any) | undefined;
onCompositionend?: ((...args: any[]) => any) | undefined;
onCompositionstart?: ((...args: any[]) => any) | undefined;
onSearch?: ((...args: any[]) => any) | undefined;
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
}>, {
size: "small" | "middle" | "large";
search: string;
icon: boolean;
placeholder: string;
width: string | number;
disabled: boolean;
value: string;
loading: boolean;
allowClear: boolean;
addonBefore: string;
prefix: string;
suffix: string;
maxlength: number;
showCount: boolean;
valueModifiers: object;
searchProps: object;
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
inputRef: HTMLInputElement;
}, HTMLDivElement>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};