@nethesis/vue-components
Version:
This library contains: - a collection of Vue 3 components based on [Flowbite](https://flowbite.com/) - a set of utility functions
53 lines • 1.61 kB
TypeScript
export interface NeListboxOption {
id: string;
label: string;
description?: string;
rawObj?: any;
disabled?: boolean;
}
export interface Props {
modelValue: string | Array<NeListboxOption>;
options: NeListboxOption[];
label?: string;
placeholder?: string;
helperText?: string;
invalidMessage?: string;
multiple?: boolean;
disabled?: boolean;
showOptionsType?: boolean;
optional?: boolean;
noOptionsLabel: string;
optionalLabel: string;
optionsPanelStyle?: 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: NeListboxOption[];
placeholder: string;
helperText: string;
multiple: boolean;
showOptionsType: boolean;
optional: boolean;
optionsPanelStyle: string;
}, {}, {}, {}, 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=NeListbox.vue.d.ts.map