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

51 lines (50 loc) 2.55 kB
import { PLabel, PNumberInput, PForm } from '@prefecthq/prefect-design'; type __VLS_Props = { showModal: boolean; }; declare const name: import("vue").Ref<string, string>; declare const nameState: import("@prefecthq/vue-compositions").UseValidationState, nameErrorMessage: import("vue").Ref<string, string>; declare const limit: import("vue").Ref<number, number>; declare const limitState: import("@prefecthq/vue-compositions").UseValidationState, limitErrorMessage: import("vue").Ref<string, string>; declare const active: import("vue").Ref<boolean, boolean>; declare const decay: import("vue").Ref<number, number>; declare const internalShowModal: import("vue").WritableComputedRef<boolean, boolean>; declare const pending: import("vue").ComputedRef<boolean>; declare const submit: () => Promise<void>; declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>; declare var __VLS_50: {}; type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & { actions?: (props: typeof __VLS_50) => any; }>; declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, { PLabel: typeof PLabel; PNumberInput: typeof PNumberInput; PForm: typeof PForm; name: typeof name; nameState: typeof nameState; nameErrorMessage: typeof nameErrorMessage; limit: typeof limit; limitState: typeof limitState; limitErrorMessage: typeof limitErrorMessage; active: typeof active; decay: typeof decay; internalShowModal: typeof internalShowModal; pending: typeof pending; submit: typeof submit; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { "update:showModal": (value: boolean) => any; }, string, import("vue").PublicProps, Readonly<__VLS_Props & { "onUpdate:showModal"?: ((value: boolean) => any) | undefined; }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}>; declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { "update:showModal": (value: boolean) => any; }, string, import("vue").PublicProps, Readonly<__VLS_Props & { "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; }; };