UNPKG

@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_.

56 lines (55 loc) 2.65 kB
import StateBadge from '../components/StateBadge.vue'; import StateSelect from '../components/StateSelect.vue'; import { FlowRun, StateUpdateDetails, TaskRun } from '../models'; type __VLS_Props = { showModal: boolean; label?: string; run: FlowRun | TaskRun; }; declare const internalValue: import("vue").WritableComputedRef<boolean, boolean>; declare const isSubmitting: import("vue").Ref<boolean, boolean>; declare const type: import("vue").Ref<string, string>, typeState: import("vee-validate").FieldMeta<string>, stateErrorMessage: import("vue").Ref<string | undefined, string | undefined>; declare const message: import("vue").Ref<string, string>; declare const submit: (e?: Event) => Promise<void | undefined>; declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>; declare var __VLS_6: {}, __VLS_42: {}; type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & { title?: (props: typeof __VLS_6) => any; } & { actions?: (props: typeof __VLS_42) => any; }>; declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, { StateBadge: typeof StateBadge; StateSelect: typeof StateSelect; internalValue: typeof internalValue; isSubmitting: typeof isSubmitting; type: typeof type; typeState: typeof typeState; stateErrorMessage: typeof stateErrorMessage; message: typeof message; submit: typeof submit; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { change: (value: StateUpdateDetails) => any; "update:showModal": (value: boolean) => any; }, string, import("vue").PublicProps, Readonly<__VLS_Props & { onChange?: ((value: StateUpdateDetails) => any) | undefined; "onUpdate:showModal"?: ((value: boolean) => any) | undefined; }>, { label: string; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}>; declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { change: (value: StateUpdateDetails) => any; "update:showModal": (value: boolean) => any; }, string, import("vue").PublicProps, Readonly<__VLS_Props & { onChange?: ((value: StateUpdateDetails) => any) | undefined; "onUpdate:showModal"?: ((value: boolean) => any) | undefined; }>, { label: string; }, {}, {}, {}, 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; }; };