@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_.
63 lines (62 loc) • 2.97 kB
TypeScript
import { PLabel, PNumberInput, PForm } from '@prefecthq/prefect-design';
import { ConcurrencyV2Limit } from '../models/ConcurrencyV2Limit';
type __VLS_Props = {
concurrencyLimit: ConcurrencyV2Limit;
};
declare const showModal: import("vue").ModelRef<boolean, string, boolean, boolean>;
declare const updateLimitTitle: import("vue").ComputedRef<string>;
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 activeSlots: import("vue").Ref<number, number>;
declare const decay: import("vue").Ref<number, number>;
declare const pending: import("vue").ComputedRef<boolean>;
declare const submit: () => Promise<void>;
type __VLS_PublicProps = __VLS_Props & {
'showModal': boolean;
};
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
declare var __VLS_58: {};
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
actions?: (props: typeof __VLS_58) => any;
}>;
declare const __VLS_self: import("vue").DefineComponent<__VLS_PublicProps, {
PLabel: typeof PLabel;
PNumberInput: typeof PNumberInput;
PForm: typeof PForm;
showModal: typeof showModal;
updateLimitTitle: typeof updateLimitTitle;
name: typeof name;
nameState: typeof nameState;
nameErrorMessage: typeof nameErrorMessage;
limit: typeof limit;
limitState: typeof limitState;
limitErrorMessage: typeof limitErrorMessage;
active: typeof active;
activeSlots: typeof activeSlots;
decay: typeof decay;
pending: typeof pending;
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;
};
};