UNPKG

dk-plus

Version:
21 lines (20 loc) 1.38 kB
import type { returnType } from '../../_utils'; import type { PropType, ExtractPropTypes } from 'vue'; export declare const dkTimeSelectProps: { readonly modelValue: returnType<PropType<string>, string | null>; readonly start: returnType<PropType<string>, string | null>; readonly end: returnType<PropType<string>, string | null>; readonly step: returnType<PropType<string>, string | null>; readonly minTime: returnType<PropType<string>, string | null>; readonly maxTime: returnType<PropType<string>, string | null>; readonly disabledHours: returnType<PropType<() => number[]>, (() => number[]) | undefined>; readonly disabledMinutes: returnType<PropType<(hour: number) => number[]>, ((hour: number) => number[]) | undefined>; readonly disabledSeconds: returnType<PropType<(hour: number, minute: number) => number[]>, ((hour: number, minute: number) => number[]) | undefined>; readonly disabled: returnType<BooleanConstructor, boolean>; readonly editable: returnType<BooleanConstructor, boolean>; readonly clearable: returnType<BooleanConstructor, boolean>; readonly placeholder: returnType<PropType<string>, string | null>; readonly name: returnType<PropType<string>, string | null>; readonly id: returnType<PropType<string>, string | null>; }; export type DkTimeSelectProps = ExtractPropTypes<typeof dkTimeSelectProps>;