@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_.
36 lines (35 loc) • 1.36 kB
TypeScript
import { VNode } from 'vue';
import { Schema } from '../../schemas/types/schema';
import { PrefectKind, SchemaValues } from '../../schemas/types/schemaValues';
type __VLS_Props = {
schema: Schema;
values: SchemaValues;
kinds: PrefectKind[];
loading?: boolean | null;
validate?: boolean;
};
type __VLS_Slots = {
default: (props: {
kind: PrefectKind;
setKind: (to: PrefectKind) => void;
}) => VNode;
'after-content': (props: {}) => VNode;
};
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
submit: (args_0: SchemaValues) => any;
"update:values": (args_0: SchemaValues) => any;
"update:loading": (args_0: boolean) => any;
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
onSubmit?: ((args_0: SchemaValues) => any) | undefined;
"onUpdate:values"?: ((args_0: SchemaValues) => any) | undefined;
"onUpdate:loading"?: ((args_0: boolean) => any) | undefined;
}>, {
loading: boolean | null;
}, {}, {}, {}, 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;
};
};