UNPKG

@nextcloud/vue

Version:
58 lines (57 loc) 1.77 kB
import { VueClassType } from '../../utils/VueTypes.ts'; type __VLS_Props = { /** * HTML class of the element */ class?: VueClassType; /** * ID of the input element */ id?: string; /** * Class to add to the input field. * Necessary to use NcDateTimePickerNative in the NcActionInput component. */ inputClass?: VueClassType; /** * type attribute of the input field * default type: String * The type of the input element, it can be `date`, `datetime-local`, `month`, `time`, `week` */ type?: 'date' | 'datetime-local' | 'month' | 'time' | 'week'; /** * Visual label of the input */ label?: string; /** * min attribute of the input field */ min?: Date | null; /** * max attribute of the input field */ max?: Date | null; /** * Flag to hide the label. * The hidden input label for accessibility purposes. */ hideLabel?: boolean; }; type __VLS_PublicProps = { modelValue?: Date | null; } & __VLS_Props; declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { "update:modelValue": (value: Date | null) => any; }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{ "onUpdate:modelValue"?: ((value: Date | null) => any) | undefined; }>, { id: string; type: "date" | "datetime-local" | "month" | "time" | "week"; label: string; class: VueClassType; inputClass: VueClassType; modelValue: Date | null; min: Date | null; max: Date | null; }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>; export default _default;