@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) • 2.39 kB
TypeScript
type __VLS_Props = {
startDate: Date | null | undefined;
endDate: Date | null | undefined;
viewingDate?: Date;
};
declare const adjustedStartDate: import("vue").WritableComputedRef<Date | null, Date | null>;
declare const adjustedEndDate: import("vue").WritableComputedRef<Date | null, Date | null>;
declare const adjustedViewingDate: import("vue").WritableComputedRef<Date | undefined, Date | undefined>;
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
declare var __VLS_6: {
date: any;
};
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
default?: (props: typeof __VLS_6) => any;
}>;
declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
adjustedStartDate: typeof adjustedStartDate;
adjustedEndDate: typeof adjustedEndDate;
adjustedViewingDate: typeof adjustedViewingDate;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
"update:startDate": (value: Date | null) => void;
"update:endDate": (value: Date | null) => void;
"update:viewingDate": (value: Date | undefined) => void;
}, string, import("vue").PublicProps, Readonly<__VLS_Props & {
"onUpdate:viewingDate"?: ((value: Date | undefined) => any) | undefined;
"onUpdate:startDate"?: ((value: Date | null) => any) | undefined;
"onUpdate:endDate"?: ((value: Date | null) => any) | undefined;
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}>;
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
"update:startDate": (value: Date | null) => void;
"update:endDate": (value: Date | null) => void;
"update:viewingDate": (value: Date | undefined) => void;
}, string, import("vue").PublicProps, Readonly<__VLS_Props & {
"onUpdate:viewingDate"?: ((value: Date | undefined) => any) | undefined;
"onUpdate:startDate"?: ((value: Date | null) => any) | undefined;
"onUpdate:endDate"?: ((value: Date | null) => 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;
};
};