@nethesis/vue-components
Version:
This library contains: - a collection of Vue 3 components based on [Flowbite](https://flowbite.com/) - a set of utility functions
55 lines • 2.25 kB
TypeScript
import { type IconDefinition } from '@fortawesome/free-solid-svg-icons';
import type { NeBadgeV2Kind } from './NeBadgeV2.vue';
export interface NeMultiselectComboboxOption {
id: string;
label: string;
description?: string;
icon?: IconDefinition;
rawObj?: unknown;
disabled?: boolean;
}
declare const _default: <T extends NeMultiselectComboboxOption>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
readonly onFilter?: ((query: string) => any) | undefined;
readonly "onUpdate:modelValue"?: ((value: T[]) => any) | undefined;
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:modelValue" | "onFilter"> & ({
options: T[];
label?: string;
placeholder?: string;
helperText?: string;
invalidMessage?: string;
disabled?: boolean;
showOptionsType?: boolean;
optional?: boolean;
noResultsLabel: string;
noOptionsLabel: string;
acceptUserInput?: boolean;
userInputLabel: string;
optionalLabel: string;
customOptionsWidth?: string;
maxHeight?: string;
maxOptionsShown?: number;
limitedOptionsLabel: string;
externalFilter?: boolean;
loadingOptions?: boolean;
badgeKind?: NeBadgeV2Kind;
badgeCustomKindClasses?: string;
} & {
modelValue?: T[];
}) & Partial<{}>> & import("vue").PublicProps;
expose(exposed: import("vue").ShallowUnwrapRef<{
focus: () => void;
}>): void;
attrs: any;
slots: {
tooltip?: (props: {}) => any;
};
emit: ((evt: "filter", query: string) => void) & ((evt: "update:modelValue", value: T[]) => void);
}>) => import("vue").VNode & {
__ctx?: Awaited<typeof __VLS_setup>;
};
export default _default;
type __VLS_PrettifyLocal<T> = {
[K in keyof T]: T[K];
} & {};
//# sourceMappingURL=NeMultiselectCombobox.vue.d.ts.map