@prefecthq/prefect-ui-library
Version:
This library is the Vue and Typescript component library for [Prefect 2](https://github.com/PrefectHQ/prefect) and [Prefect Cloud 2](https://www.prefect.io/cloud/). _The components and utilities in this project are not meant to be used independently_.
35 lines (34 loc) • 1.24 kB
TypeScript
type __VLS_Props = {
selected: string | string[] | null | undefined;
emptyMessage?: string;
allowUnset?: boolean;
multiple?: boolean;
};
declare var __VLS_9: {
value: string | number | boolean | null;
label: string;
option: {
label: string;
value: import("@prefecthq/prefect-design").SelectModelValue;
disabled?: boolean;
} | undefined;
}, __VLS_12: {
option: any;
};
type __VLS_Slots = {} & {
default?: (props: typeof __VLS_9) => any;
} & {
option?: (props: typeof __VLS_12) => any;
};
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
"update:selected": (value: string | string[] | null | undefined) => any;
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
"onUpdate:selected"?: ((value: string | string[] | null | undefined) => any) | undefined;
}>, {}, {}, {}, {}, 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;
};
};