bootstrap-vue-next
Version:
Seamless integration of Vue 3, Bootstrap 5, and TypeScript for modern, type-safe UI development
36 lines (35 loc) • 1.39 kB
text/typescript
import { BFormDatalistBaseProps } from '../../types/ComponentProps';
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: {
first?(_: {}): any;
option?(_: {
[key: string]: unknown;
value: unknown;
text?: string;
disabled?: boolean;
} | {
label: string;
options: readonly import('../..').SelectOptionRaw<unknown>[];
}): any;
default?(_: {}): any;
};
refs: {};
rootEl: HTMLDataListElement;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import('vue').DefineComponent<BFormDatalistBaseProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BFormDatalistBaseProps> & Readonly<{}>, {
disabled: boolean;
id: string;
options: readonly (string | number | Record<string, unknown>)[] | import('../..').SelectOptionRaw[];
disabledField: string;
textField: string;
valueField: string;
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDataListElement>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};