UNPKG

bootstrap-vue-next

Version:

Seamless integration of Vue 3, Bootstrap 5, and TypeScript for modern, type-safe UI development

72 lines (71 loc) 2.98 kB
import { ComputedRef } from 'vue'; import { AcceptableValue } from 'reka-ui'; import { BAutocompleteProps, BAutocompleteSlots, SelectOption } from '../../types'; type __VLS_Props = Omit<BAutocompleteProps, 'modelValue' | 'search'>; type __VLS_Slots = BAutocompleteSlots; type __VLS_ModelProps = { modelValue?: BAutocompleteProps['modelValue']; 'open'?: Exclude<BAutocompleteProps['open'], undefined>; 'search'?: Exclude<BAutocompleteProps['search'], undefined>; }; type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps; declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, { blur: () => void | undefined; element: ComputedRef<string | null>; focus: () => void | undefined; }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { focus: (event: FocusEvent) => any; blur: (event: FocusEvent) => any; clear: () => any; change: (value: AcceptableValue | AcceptableValue[] | undefined) => 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<{ onFocus?: ((event: FocusEvent) => any) | undefined; onBlur?: ((event: FocusEvent) => any) | undefined; onClear?: (() => any) | undefined; onChange?: ((value: AcceptableValue | AcceptableValue[] | undefined) => 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('../..').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('../..').Size; state: import('../..').ValidationState; teleportTo: string | HTMLElement; filterFunction: (options: SelectOption[], searchTerm: string) => SelectOption[]; options: readonly (object | string | number | boolean)[]; dir: "ltr" | "rtl"; by: string | ((a: unknown, b: unknown) => boolean); disabledField: string; multiple: boolean; noClearButton: boolean; noToggle: boolean; openOnFocus: boolean; resetSearchTermOnBlur: boolean; resetSearchTermOnSelect: boolean; tags: boolean; textField: string; valueField: string; }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>; declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>; declare const _default: typeof __VLS_export; export default _default; type __VLS_WithSlots<T, S> = T & { new (): { $slots: S; }; };