@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_.
53 lines (52 loc) • 2.36 kB
TypeScript
import { PButton } from '@prefecthq/prefect-design';
import { localization } from '../localization';
import { Deployment } from '../models';
import { SchemaFormV2, SchemaValuesV2 } from '../schemas';
declare const showModal: import("vue").ModelRef<boolean, string, boolean, boolean>;
type __VLS_Props = {
deployment: Deployment;
};
declare const formId: string;
declare const loading: import("vue").Ref<boolean, boolean>;
declare const enforceParameterSchema: import("vue").Ref<boolean, boolean>;
declare const parameters: import("vue").Ref<SchemaValuesV2, SchemaValuesV2>;
declare function submit(): Promise<void>;
type __VLS_PublicProps = __VLS_Props & {
'showModal': boolean;
};
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
declare var __VLS_38: {};
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
actions?: (props: typeof __VLS_38) => any;
}>;
declare const __VLS_self: import("vue").DefineComponent<__VLS_PublicProps, {
PButton: typeof PButton;
localization: typeof localization;
SchemaFormV2: typeof SchemaFormV2;
showModal: typeof showModal;
formId: typeof formId;
loading: typeof loading;
enforceParameterSchema: typeof enforceParameterSchema;
parameters: typeof parameters;
submit: typeof submit;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
'update:showModal': (value: boolean) => any;
}, string, import("vue").PublicProps, Readonly<__VLS_Props & {
showModal: boolean;
} & {
"onUpdate:showModal"?: ((value: boolean) => any) | undefined;
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}>;
declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
'update:showModal': (value: boolean) => any;
}, string, import("vue").PublicProps, Readonly<__VLS_Props & {
showModal: boolean;
} & {
"onUpdate:showModal"?: ((value: boolean) => any) | undefined;
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}>;
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
export default _default;
type __VLS_WithSlots<T, S> = T & {
new (): {
$slots: S;
};
};