label必填 | string | Accessible field name, visible unless hideLabel is set. |
|---|
range | Range | undefined | Choose independent start and end values instead of one date. |
|---|
showTime | boolean | undefined | Include time selection with one confirmation boundary; defaults to false. |
|---|
modelValue | QuireKitPickerValue<Range> | undefined | Controlled scalar or range model, inferred from range. |
|---|
defaultValue | QuireKitPickerValue<Range> | undefined | Initial value and native form-reset target. |
|---|
startLabel | string | undefined | Start-field accessible name. |
|---|
endLabel | string | undefined | End-field accessible name. |
|---|
rangeLayout | "single" | "dual" | undefined | Date-time range editors: sequential by default, or two simultaneous desktop editors. |
|---|
numberOfMonths | 1 | 2 | undefined | Desktop month count for date ranges; bottom sheets use one. |
|---|
allowNonContiguousRange | boolean | undefined | Permit unavailable interior dates in pure date ranges. |
|---|
granularity | "minute" | "second" | undefined | Time precision when showTime is enabled; defaults to minute. |
|---|
hourCycle | 12 | 24 | undefined | Time display cycle; serialized values always use 24 hours. |
|---|
hourStep | number | undefined | Hour candidate step. |
|---|
minuteStep | number | undefined | Minute candidate step. |
|---|
secondStep | number | undefined | Second candidate step. |
|---|
isDateTimeUnavailable | ((value: string, endpoint: "start" | "end") => boolean) | undefined | Date-time restriction; range mode also supplies the endpoint. |
|---|
isRangeUnavailable | ((value: { start: string; end: string; }) => boolean) | undefined | Reject a complete date-time range. |
|---|
presentation | PickerPresentation | undefinedundefined | "auto" | "desktop" | "bottom"
| Auto uses a bottom sheet below 768px; a session keeps its opening presentation. |
|---|
openOnFocus | boolean | undefined默认:true | Open when the editable field receives focus or a click; defaults to true. |
|---|
open | boolean | undefined默认:undefined | Controlled popup visibility. |
|---|
defaultOpen | boolean | undefined | Initial uncontrolled popup visibility. |
|---|
calendarDensity | QuireKitCalendarDensity | undefinedundefined | "compact" | "comfortable"
| Calendar panel spacing, independent of the input size; comfortable by default. |
|---|
timeZone | string | undefined | Zone used only to determine today's date. |
|---|
startOfWeek | 0 | 1 | 2 | 3 | 4 | 5 | 6 | undefined | First weekday; otherwise follows the active language. |
|---|
isDateUnavailable | ((date: string) => boolean) | undefined | Business dates forbidden in both the calendar and field validation. |
|---|
size | QuireKitControlSize | undefinedundefined | "xs" | "sm" | "md" | "lg" | "xl"
| Shared single-line control size. |
|---|
width | string | undefined | CSS width; the field never exceeds its containing block. |
|---|
hideLabel | boolean | undefined | Keep the accessible name while letting an external layout present the label. |
|---|
dateFormat | "iso" | "locale" | undefined | Date display convention; iso by default, locale follows the active language. |
|---|
min | string | undefined | Inclusive minimum ISO calendar date. |
|---|
max | string | undefined | Inclusive maximum ISO calendar date. |
|---|
placeholderValue | string | undefined | Stable reference date for empty segments, independent of the current clock. |
|---|
name | string | undefined | Native form field name. |
|---|
form | string | undefined | Associated native form ID, including forms outside the DOM ancestry. |
|---|
disabled | boolean | undefined | Prevent interaction and omit the field from native form data. |
|---|
readOnly | boolean | undefined | Allow reading and focus, without changing the value. |
|---|
required | boolean | undefined | Required-field semantics; validation is owned by the host Form. |
|---|
invalid | boolean | undefined | Host-owned validation state, in addition to date-bound validation. |
|---|
description | string | undefined | Supporting text associated with each editable segment. |
|---|
errorText | string | undefined | Recovery guidance presented when the host marks the field invalid. |
|---|
clearable | boolean | undefined默认:true | Offer a clear action, including while date segments are incomplete. |
|---|