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

55 lines (54 loc) 2.37 kB
import FormattedDate from '../components/FormattedDate.vue'; import { localization } from '../localization'; import { Artifact, ArtifactCollection } from '../models'; type __VLS_Props = { artifact: Artifact | ArtifactCollection; condense?: boolean; interactive?: boolean; }; declare const hasKey: import("vue").ComputedRef<boolean>; declare const classes: import("vue").ComputedRef<{ root: { 'artifact-card--condensed': boolean; 'artifact-card--interactive': boolean; }; body: { 'artifact-card__body--condensed': boolean; }; header: { 'artifact-card__header--condensed': boolean; }; subheader: { 'artifact-card__subheader--condensed': boolean; }; summaryContainer: { 'artifact-card__summary-container--condensed': boolean; }; }>; declare const firstLineOfDescription: import("vue").ComputedRef<string | null>; declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>; declare var __VLS_6: {}, __VLS_8: {}, __VLS_10: {}, __VLS_15: {}; type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & { default?: (props: typeof __VLS_6) => any; } & { 'summary-label'?: (props: typeof __VLS_8) => any; } & { 'summary-value'?: (props: typeof __VLS_10) => any; } & { description?: (props: typeof __VLS_15) => any; }>; declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, { FormattedDate: typeof FormattedDate; localization: typeof localization; hasKey: typeof hasKey; classes: typeof classes; firstLineOfDescription: typeof firstLineOfDescription; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props & {}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}>; declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props & {}>, {}, {}, {}, {}, 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; }; };