@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_.
43 lines (42 loc) • 1.77 kB
TypeScript
import { PCode } from '@prefecthq/prefect-design';
import LogRow from '../components/LogRow.vue';
import { Log } from '../models/Log';
import { formatDate } from '../utilities/dates';
type __VLS_Props = {
logs: Log[];
};
type __VLS_Emit = {
(event: 'bottom'): void;
};
declare const emit: __VLS_Emit;
declare const empty: import("vue").ComputedRef<boolean>;
declare const showDivider: (index: number) => boolean;
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
declare var __VLS_17: {};
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
empty?: (props: typeof __VLS_17) => any;
}>;
declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
PCode: typeof PCode;
LogRow: typeof LogRow;
formatDate: typeof formatDate;
emit: typeof emit;
empty: typeof empty;
showDivider: typeof showDivider;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
bottom: () => any;
}, string, import("vue").PublicProps, Readonly<__VLS_Props & {
onBottom?: (() => any) | undefined;
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}>;
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
bottom: () => any;
}, string, import("vue").PublicProps, Readonly<__VLS_Props & {
onBottom?: (() => 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;
};
};