@nethesis/vue-components
Version:
This library contains: - a collection of Vue 3 components based on [Flowbite](https://flowbite.com/) - a set of utility functions
63 lines • 1.95 kB
TypeScript
import { type IconDefinition } from '@fortawesome/free-solid-svg-icons';
export interface NeComboboxOption {
id: string;
label: string;
description?: string;
icon?: IconDefinition;
rawObj?: any;
disabled?: boolean;
}
export interface Props {
modelValue: string | Array<NeComboboxOption>;
options: NeComboboxOption[];
label?: string;
placeholder?: string;
helperText?: string;
invalidMessage?: string;
maxOptionsShown?: number;
multiple?: boolean;
disabled?: boolean;
showOptionsType?: boolean;
optional?: boolean;
selectedLabel: string;
showSelectedLabel?: boolean;
noResultsLabel: string;
limitedOptionsLabel: string;
noOptionsLabel: string;
acceptUserInput?: boolean;
userInputLabel: string;
optionalLabel: string;
}
declare function focus(): void;
declare var __VLS_9: {};
type __VLS_Slots = {} & {
tooltip?: (props: typeof __VLS_9) => any;
};
declare const __VLS_component: import("vue").DefineComponent<Props, {
focus: typeof focus;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
"update:modelValue": (...args: any[]) => void;
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
}>, {
label: string;
disabled: boolean;
invalidMessage: string;
options: NeComboboxOption[];
placeholder: string;
helperText: string;
maxOptionsShown: number;
multiple: boolean;
showOptionsType: boolean;
optional: boolean;
showSelectedLabel: boolean;
acceptUserInput: boolean;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
export default _default;
type __VLS_WithSlots<T, S> = T & {
new (): {
$slots: S;
};
};
//# sourceMappingURL=NeCombobox.vue.d.ts.map