@prefecthq/prefect-design
Version:
A collection of low-level Vue components.
44 lines (43 loc) • 1.5 kB
TypeScript
import { ClassValue } from '../../types';
type DateParams = {
date: Date;
today: boolean;
};
type Classes = {
date: (params: DateParams) => ClassValue;
button: (params: DateParams) => ClassValue;
};
type __VLS_Props = {
modelValue?: Date | null | undefined;
viewingDate?: Date | null | undefined;
classes?: Classes;
min?: Date | null | undefined;
minReason?: string;
max?: Date | null | undefined;
maxReason?: string;
};
declare var __VLS_19: {
date: Date;
today: boolean;
disabled: boolean;
selected: boolean;
inMonth: boolean;
select: () => void;
};
type __VLS_Slots = {} & {
date?: (props: typeof __VLS_19) => any;
};
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
"update:modelValue": (value: Date | null | undefined) => any;
"update:viewingDate": (value: Date | null | undefined) => any;
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
"onUpdate:modelValue"?: ((value: Date | null | undefined) => any) | undefined;
"onUpdate:viewingDate"?: ((value: Date | null | undefined) => any) | undefined;
}>, {}, {}, {}, {}, 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;
};
};