bootstrap-vue-next
Version:
Seamless integration of Vue 3, Bootstrap 5, and TypeScript for modern, type-safe UI development
66 lines (65 loc) • 2.73 kB
TypeScript
import { AcceptableValue } from 'reka-ui';
import { BAutocompleteProps, BAutocompleteSlots, SelectOption } from '../../types';
type __VLS_Props = Omit<BAutocompleteProps, 'modelValue' | 'search'>;
type __VLS_PublicProps = {
modelValue?: BAutocompleteProps['modelValue'];
'open'?: Exclude<BAutocompleteProps['open'], undefined>;
'search'?: Exclude<BAutocompleteProps['search'], undefined>;
} & __VLS_Props;
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: Readonly<BAutocompleteSlots> & BAutocompleteSlots;
refs: {};
rootEl: any;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
blur: (event: FocusEvent) => any;
focus: (event: FocusEvent) => any;
"update:modelValue": (value: AcceptableValue | AcceptableValue[] | undefined) => any;
"update:open": (value: boolean) => any;
"update:search": (value: string) => any;
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
onBlur?: ((event: FocusEvent) => any) | undefined;
onFocus?: ((event: FocusEvent) => any) | undefined;
"onUpdate:modelValue"?: ((value: AcceptableValue | AcceptableValue[] | undefined) => any) | undefined;
"onUpdate:open"?: ((value: boolean) => any) | undefined;
"onUpdate:search"?: ((value: string) => any) | undefined;
}>, {
disabled: boolean;
ariaInvalid: import('../../types').AriaInvalid;
autocomplete: string;
autofocus: boolean;
form: string;
formatter: (val: string, evt: Event) => string;
id: string;
lazyFormatter: boolean;
name: string;
placeholder: string;
plaintext: boolean;
readonly: boolean;
required: boolean;
size: import('../../types').Size;
state: import('../../types').ValidationState;
dir: "ltr" | "rtl";
teleportTo: string | HTMLElement;
options: readonly (object | string | number | boolean)[];
by: string | ((a: unknown, b: unknown) => boolean);
disabledField: string;
filterFunction: (options: SelectOption[], searchTerm: string) => SelectOption[];
multiple: boolean;
noToggle: boolean;
openOnFocus: boolean;
resetSearchTermOnBlur: boolean;
resetSearchTermOnSelect: boolean;
tags: boolean;
textField: string;
valueField: string;
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};