tait-ui-components
Version:
Tait UI Component Library - Reusable Vue 3 components
85 lines • 2.73 kB
TypeScript
type TimeUnit = 'hour' | 'minute' | 'second';
interface Props {
label?: string;
validator?: Record<string, any>;
error?: string;
containerClass?: string | string[];
inputId?: string;
minDate?: Date;
maxDate?: Date;
disabled?: boolean;
appendTo?: string;
indicators?: TimeUnit[];
editable?: TimeUnit[];
invalid?: boolean;
roundingMinutes?: boolean;
readonlyHour?: boolean;
readonlyMinute?: boolean;
showTimezone?: boolean;
}
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
indicators: () => string[];
editable: () => string[];
readonlyHour: boolean;
readOnlyMinute: boolean;
showTimezone: boolean;
label: string;
validator: undefined;
error: undefined;
containerClass: string;
minDate: undefined;
maxDate: undefined;
inputId: string;
}>>, {
calendarRef: import('vue').Ref<any, any>;
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
"update:modelValue": (value: Date) => void;
"update:isValid": (value: boolean) => void;
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
indicators: () => string[];
editable: () => string[];
readonlyHour: boolean;
readOnlyMinute: boolean;
showTimezone: boolean;
label: string;
validator: undefined;
error: undefined;
containerClass: string;
minDate: undefined;
maxDate: undefined;
inputId: string;
}>>> & Readonly<{
"onUpdate:modelValue"?: ((value: Date) => any) | undefined;
"onUpdate:isValid"?: ((value: boolean) => any) | undefined;
}>, {
label: string;
containerClass: string | string[];
error: string;
validator: Record<string, any>;
inputId: string;
minDate: Date;
maxDate: Date;
indicators: TimeUnit[];
editable: TimeUnit[];
readonlyHour: boolean;
showTimezone: boolean;
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
export default _default;
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
type __VLS_TypePropsToRuntimeProps<T> = {
[K in keyof T]-?: {} extends Pick<T, K> ? {
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
} : {
type: import('vue').PropType<T[K]>;
required: true;
};
};
type __VLS_WithDefaults<P, D> = {
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
default: D[K];
}> : P[K];
};
type __VLS_Prettify<T> = {
[K in keyof T]: T[K];
} & {};
//# sourceMappingURL=DaCalendar.vue.d.ts.map