UNPKG

bits-ui

Version:

The headless components for Svelte.

87 lines (86 loc) 3.91 kB
import { SvelteComponent } from "svelte"; declare const __propDef: { props: { disabled?: boolean | undefined; portal?: string | HTMLElement | null | undefined; preventScroll?: boolean | undefined; closeOnEscape?: boolean | undefined; closeOnOutsideClick?: boolean | undefined; onOutsideClick?: ((event: import("@melt-ui/svelte/index.js").InteractOutsideEvent) => void) | undefined; openFocus?: import("@melt-ui/svelte/index.js").FocusProp | undefined; closeFocus?: import("@melt-ui/svelte/index.js").FocusProp | undefined; isDateUnavailable?: import("@melt-ui/svelte/index.js").Matcher | undefined; minValue?: import("@internationalized/date").DateValue | undefined; maxValue?: import("@internationalized/date").DateValue | undefined; readonly?: boolean | undefined; locale?: string | undefined; weekStartsOn?: 0 | 1 | 2 | 3 | 5 | 4 | 6 | undefined; fixedWeeks?: boolean | undefined; numberOfMonths?: number | undefined; preventDeselect?: boolean | undefined; pagedNavigation?: boolean | undefined; weekdayFormat?: "long" | "short" | "narrow" | undefined; isDateDisabled?: import("@melt-ui/svelte/index.js").Matcher | undefined; calendarLabel?: string | undefined; hourCycle?: 12 | 24 | undefined; granularity?: import("@melt-ui/svelte/index.js").Granularity | undefined; hideTimeZone?: boolean | undefined; disableFocusTrap?: boolean | undefined; open?: boolean | undefined; onOpenChange?: import("../../../internal/types.js").OnChangeFn<boolean> | undefined; value?: import("../../../index.js").DateRange | undefined; onValueChange?: import("../../../internal/types.js").OnChangeFn<import("../../../index.js").DateRange | undefined> | undefined; placeholder?: import("@internationalized/date").DateValue | undefined; onPlaceholderChange?: import("../../../internal/types.js").OnChangeFn<import("@internationalized/date").DateValue> | undefined; validationId?: string | undefined; descriptionId?: string | undefined; startValue?: import("@internationalized/date").DateValue | undefined; }; events: { [evt: string]: CustomEvent<any>; }; slots: { default: { ids: { field: string; description: string; label: string; validation: string; calendar: string; content: string; trigger: string; startField: { day: string; dayPeriod: string; hour: string; minute: string; month: string; second: string; year: string; timeZoneName: string; }; endField: { day: string; dayPeriod: string; hour: string; minute: string; month: string; second: string; year: string; timeZoneName: string; }; }; isInvalid: boolean; startValue: import("@internationalized/date").DateValue | undefined; endValue: import("@internationalized/date").DateValue | undefined; }; }; exports?: {} | undefined; bindings?: string | undefined; }; export type DateRangePickerProps = typeof __propDef.props; export type DateRangePickerEvents = typeof __propDef.events; export type DateRangePickerSlots = typeof __propDef.slots; export default class DateRangePicker extends SvelteComponent<DateRangePickerProps, DateRangePickerEvents, DateRangePickerSlots> { } export {};