label必填 | string | Accessible field name, visible unless hideLabel is set. |
|---|
modelValue | QuireKitDateTimeValue | undefinedundefined | null | string
| Controlled YYYY-MM-DD HH:mm:ss (or minute precision) value; null means empty/incomplete. |
|---|
defaultValue | QuireKitDateTimeValue | undefined默认:null undefined | null | string
| Initial uncontrolled value and native form-reset target. |
|---|
min | string | undefined | Inclusive complete date-time lower boundary, without a time-zone conversion. |
|---|
max | string | undefined | Inclusive complete date-time upper boundary, without a time-zone conversion. |
|---|
placeholderValue | string | undefined | Stable complete reference date-time for editing empty segments. |
|---|
granularity | "minute" | "second" | undefined默认:"second" | Smallest displayed unit; defaults to second. Non-zero seconds cannot be hidden. |
|---|
calendarDensity | QuireKitCalendarDensity | undefined默认:"comfortable" undefined | "comfortable" | "compact"
| Calendar geometry independent of the input's five shared sizes. |
|---|
startOfWeek | 0 | 1 | 2 | 3 | 4 | 5 | 6 | undefined | First weekday: Sunday is 0 and Monday is 1; otherwise follows the active language. |
|---|
isDateUnavailable | ((date: string) => boolean) | undefined | Pure whole-day restriction receiving YYYY-MM-DD. |
|---|
isDateTimeUnavailable | ((value: string) => boolean) | undefined | Pure full date-time restriction; the host may apply explicit business-zone validation. |
|---|
presentation | PickerPresentation | undefined默认:"auto" undefined | "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默认:false | Initial uncontrolled panel visibility. |
|---|
hourStep | number | undefined默认:1 | Hour candidates advance from zero by this positive integer, at most 23. |
|---|
minuteStep | number | undefined默认:1 | Minute candidates advance from zero by this positive integer, at most 59. |
|---|
secondStep | number | undefined默认:1 | Second candidates advance from zero by this positive integer, at most 59. |
|---|
size | QuireKitControlSize | undefined默认:"sm" undefined | "xs" | "sm" | "md" | "lg" | "xl"
| Shared single-line control size. |
|---|
width | string | undefined默认:"360px" | CSS width; the field never exceeds its containing block. |
|---|
hideLabel | boolean | undefined | Keep the accessible name while letting an external layout present the label. |
|---|
hourCycle | 12 | 24 | undefined默认:24 | 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默认:false | Prevent interaction and omit the field from native form data. |
|---|
readOnly | boolean | undefined默认:false | 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. |
|---|