@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_.
32 lines (31 loc) • 1.18 kB
TypeScript
import { CronSchedule } from '../models';
type __VLS_Props = {
hideActions?: boolean;
schedule?: CronSchedule;
};
declare var __VLS_51: {
disabled: boolean;
};
type __VLS_Slots = {} & {
footer?: (props: typeof __VLS_51) => any;
};
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
cancel: () => void;
submit: (value: CronSchedule) => void;
"update:schedule": (value: CronSchedule) => void;
"update:disabled": (value: boolean) => void;
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
onCancel?: (() => any) | undefined;
onSubmit?: ((value: CronSchedule) => any) | undefined;
"onUpdate:schedule"?: ((value: CronSchedule) => any) | undefined;
"onUpdate:disabled"?: ((value: boolean) => any) | undefined;
}>, {
schedule: CronSchedule;
}, {}, {}, {}, 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;
};
};