@prefecthq/prefect-design
Version:
A collection of low-level Vue components.
51 lines (50 loc) • 1.94 kB
TypeScript
import { SelectModelValue, SelectOptionGroup, SelectOption } from '../../types/selectOption';
type __VLS_Props = {
modelValue: string | number | boolean | null | SelectModelValue[] | undefined;
options: (SelectOption | SelectOptionGroup)[];
allowUnknownValue?: boolean;
emptyMessage?: string;
placeholder?: string;
search?: string;
manual?: boolean;
optionsClass?: string;
};
declare var __VLS_15: {
value: string | number | boolean | null;
label: string;
option: {
label: string;
value: SelectModelValue;
disabled?: boolean;
} | undefined;
}, __VLS_30: any, __VLS_33: any, __VLS_45: string | number, __VLS_46: any;
type __VLS_Slots = {} & {
[K in NonNullable<typeof __VLS_45>]?: (props: typeof __VLS_46) => any;
} & {
default?: (props: typeof __VLS_15) => any;
} & {
option?: (props: typeof __VLS_30) => any;
} & {
'combobox-options-empty'?: (props: typeof __VLS_33) => any;
};
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
bottom: () => any;
"update:modelValue": (value: SelectModelValue | SelectModelValue[]) => any;
"update:search": (value: string | null) => any;
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
onBottom?: (() => any) | undefined;
"onUpdate:modelValue"?: ((value: SelectModelValue | SelectModelValue[]) => any) | undefined;
"onUpdate:search"?: ((value: string | null) => any) | undefined;
}>, {
search: string;
placeholder: string;
emptyMessage: string;
optionsClass: 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;
};
};