@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_.
45 lines (44 loc) • 1.77 kB
TypeScript
declare const show: import("vue").ModelRef<boolean, string, boolean, boolean>;
type __VLS_Props = {
label?: string;
name?: string;
loading?: boolean;
action?: 'Delete' | 'Remove';
};
declare const handleDeleteClick: () => void;
type __VLS_PublicProps = __VLS_Props & {
'showModal': boolean;
};
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
declare var __VLS_10: {}, __VLS_12: {}, __VLS_14: {};
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
title?: (props: typeof __VLS_10) => any;
} & {
message?: (props: typeof __VLS_12) => any;
} & {
actions?: (props: typeof __VLS_14) => any;
}>;
declare const __VLS_self: import("vue").DefineComponent<__VLS_PublicProps, {
show: typeof show;
handleDeleteClick: typeof handleDeleteClick;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
delete: () => any;
}, string, import("vue").PublicProps, Readonly<__VLS_Props & {
showModal: boolean;
} & {
onDelete?: (() => any) | undefined;
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}>;
declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
delete: () => any;
}, string, import("vue").PublicProps, Readonly<__VLS_Props & {
showModal: boolean;
} & {
onDelete?: (() => 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;
};
};