bootstrap-vue-next
Version:
Seamless integration of Vue 3, Bootstrap 5, and TypeScript for modern, type-safe UI development
71 lines (70 loc) • 2.77 kB
text/typescript
import { DateValue } from 'reka-ui';
import { BDateRangePickerProps, BDateRangePickerSlots } from '../../types';
type __VLS_Props = Omit<BDateRangePickerProps, 'modelValue' | 'open' | 'placeholder'>;
type __VLS_Slots = BDateRangePickerSlots;
type __VLS_ModelProps = {
modelValue?: Exclude<BDateRangePickerProps['modelValue'], undefined>;
'open'?: boolean;
'placeholder'?: BDateRangePickerProps['placeholder'];
};
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
"update:modelValue": (value: import('reka-ui').DateRange | null) => any;
"update:open": (value: boolean) => any;
"update:placeholder": (...args: unknown[]) => any;
"update:startValue": (value: DateValue | undefined) => any;
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
"onUpdate:modelValue"?: ((value: import('reka-ui').DateRange | null) => any) | undefined;
"onUpdate:open"?: ((value: boolean) => any) | undefined;
"onUpdate:placeholder"?: ((...args: unknown[]) => any) | undefined;
"onUpdate:startValue"?: ((value: DateValue | undefined) => any) | undefined;
}>, {
disabled: boolean;
id: string;
name: string;
readonly: boolean;
required: boolean;
size: import('../..').Size;
state: import('../..').ValidationState;
step: {
year?: number;
month?: number;
day?: number;
hour?: number;
minute?: number;
second?: number;
millisecond?: number;
};
dir: "ltr" | "rtl";
modal: boolean;
defaultValue: import('reka-ui').DateRange;
defaultOpen: boolean;
defaultPlaceholder: DateValue;
granularity: "day" | "hour" | "minute" | "second";
hideTimeZone: boolean;
hourCycle: 12 | 24;
isDateUnavailable: (date: DateValue) => boolean;
locale: string;
maxValue: DateValue;
minValue: DateValue;
closeOnSelect: boolean;
fixedWeeks: boolean;
isDateDisabled: (date: DateValue) => boolean;
numberOfMonths: number;
pagedNavigation: boolean;
preventDeselect: boolean;
weekStartsOn: 0 | 1 | 2 | 3 | 4 | 5 | 6;
weekdayFormat: "narrow" | "short" | "long";
allowNonContiguousRanges: boolean;
fixedDate: "start" | "end";
isDateHighlightable: (date: DateValue) => boolean;
maximumDays: number;
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
declare const _default: typeof __VLS_export;
export default _default;
type __VLS_WithSlots<T, S> = T & {
new (): {
$slots: S;
};
};