bootstrap-vue-next
Version:
Seamless integration of Vue 3, Bootstrap 5, and TypeScript for modern, type-safe UI development
76 lines (75 loc) • 2.95 kB
TypeScript
import { DateValue } from 'reka-ui';
import { BDateRangePickerSlots } from '../../types';
import { BDateRangePickerProps } from '../../types/ComponentProps';
type __VLS_Props = Omit<BDateRangePickerProps, 'modelValue' | 'open' | 'placeholder'>;
type __VLS_PublicProps = {
modelValue?: Exclude<BDateRangePickerProps['modelValue'], undefined>;
'open'?: boolean;
'placeholder'?: BDateRangePickerProps['placeholder'];
} & __VLS_Props;
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: Readonly<BDateRangePickerSlots> & BDateRangePickerSlots;
refs: {};
rootEl: any;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: 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;
dir: "ltr" | "rtl";
modal: boolean;
defaultValue: import('reka-ui').DateRange;
defaultOpen: boolean;
step: {
year?: number;
month?: number;
day?: number;
hour?: number;
minute?: number;
second?: number;
millisecond?: number;
};
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 _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};