File size: 2,939 Bytes
bc20498 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 |
import { SvelteComponent } from "svelte";
declare const __propDef: {
props: {
disabled?: boolean | undefined;
minValue?: import("@internationalized/date").DateValue | undefined;
maxValue?: import("@internationalized/date").DateValue | undefined;
isDateUnavailable?: import("@melt-ui/svelte/index.js").Matcher | undefined;
locale?: string | undefined;
readonly?: boolean | undefined;
readonlySegments?: {
start: ("month" | "day" | "year" | "hour" | "minute" | "second" | "dayPeriod")[];
end: ("month" | "day" | "year" | "hour" | "minute" | "second" | "dayPeriod")[];
} | undefined;
hourCycle?: 12 | 24 | undefined;
granularity?: import("@melt-ui/svelte/index.js").Granularity | undefined;
hideTimeZone?: 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;
};
events: {
[evt: string]: CustomEvent<any>;
};
slots: {
default: {
isInvalid: boolean;
ids: {
start: {
day: string;
description: string;
dayPeriod: string;
hour: string;
minute: string;
month: string;
second: string;
year: string;
validation: string;
label: string;
timeZoneName: string;
};
end: {
day: string;
description: string;
dayPeriod: string;
hour: string;
minute: string;
month: string;
second: string;
year: string;
validation: string;
label: string;
timeZoneName: string;
};
field: {
description: string;
field: string;
label: string;
validation: string;
};
};
};
};
};
export type DateRangeFieldProps = typeof __propDef.props;
export type DateRangeFieldEvents = typeof __propDef.events;
export type DateRangeFieldSlots = typeof __propDef.slots;
export default class DateRangeField extends SvelteComponent<DateRangeFieldProps, DateRangeFieldEvents, DateRangeFieldSlots> {
}
export {};
|