label必填 | string | Accessible field name, visible unless hideLabel is set. |
|---|
range | Range | undefined | Select a start and end time through the same field. |
|---|
modelValue | QuireKitPickerValue<Range> | undefined | Controlled value; range determines the model shape. |
|---|
defaultValue | QuireKitPickerValue<Range> | undefined | Initial value and native form-reset target. |
|---|
startLabel | string | undefined | Accessible name of the start field. |
|---|
endLabel | string | undefined | Accessible name of the end field. |
|---|
allowOvernight | boolean | undefined | Explicitly allow next-day end times. |
|---|
isTimeUnavailable | ((value: string, endpoint: "start" | "end") => boolean) | undefined | Time restriction; range mode supplies its endpoint. |
|---|
isRangeUnavailable | ((value: { start: string; end: string; }) => boolean) | undefined | Whole-range restriction after both endpoints are valid. |
|---|
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 panel visibility. |
|---|
defaultOpen | boolean | undefined | Initial uncontrolled panel visibility. |
|---|
hourStep | number | undefined | Hour candidates advance from zero by this positive integer, at most 23. |
|---|
minuteStep | number | undefined | Minute candidates advance from zero by this positive integer, at most 59. |
|---|
secondStep | number | undefined | Second candidates advance from zero by this positive integer, at most 59. |
|---|
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. |
|---|
min | string | undefined | Inclusive minimum wall-clock time. |
|---|
max | string | undefined | Inclusive maximum wall-clock time. |
|---|
placeholderValue | string | undefined | Stable reference date for empty segments, independent of the current clock. |
|---|
granularity | "minute" | "second" | undefined | Smallest displayed unit; defaults to minute. |
|---|
hourCycle | 12 | 24 | undefined | Display cycle, independent of the 24-hour public value; defaults to 24. |
|---|
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 time-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 time segments are incomplete. |
|---|