import React, { Component, type KeyboardEvent } from 'react'; import PropTypes from 'prop-types'; import type { Dayjs } from 'dayjs'; import DateInput from './module/date-input'; import type { TimePickerProps, TimePickerState, ValueType, InputType } from './types'; declare class TimePicker2 extends Component { static displayName: string; static propTypes: { prefix: PropTypes.Requireable; rtl: PropTypes.Requireable; label: PropTypes.Requireable; state: PropTypes.Requireable; placeholder: PropTypes.Requireable>; value: (props: Record, propName: string, componentName: string) => void; defaultValue: (props: Record, propName: string, componentName: string) => void; size: PropTypes.Requireable; hasClear: PropTypes.Requireable; format: PropTypes.Requireable; hourStep: PropTypes.Requireable; minuteStep: PropTypes.Requireable; secondStep: PropTypes.Requireable; disabledHours: PropTypes.Requireable<(...args: any[]) => any>; disabledMinutes: PropTypes.Requireable<(...args: any[]) => any>; disabledSeconds: PropTypes.Requireable<(...args: any[]) => any>; renderTimeMenuItems: PropTypes.Requireable<(...args: any[]) => any>; visible: PropTypes.Requireable; defaultVisible: PropTypes.Requireable; popupContainer: PropTypes.Requireable; popupAlign: PropTypes.Requireable; popupTriggerType: PropTypes.Requireable; onVisibleChange: PropTypes.Requireable<(...args: any[]) => any>; popupStyle: PropTypes.Requireable; popupClassName: PropTypes.Requireable; popupProps: PropTypes.Requireable; followTrigger: PropTypes.Requireable; disabled: PropTypes.Requireable; hasBorder: PropTypes.Requireable; isPreview: PropTypes.Requireable; renderPreview: PropTypes.Requireable<(...args: any[]) => any>; onChange: PropTypes.Requireable<(...args: any[]) => any>; className: PropTypes.Requireable; name: PropTypes.Requireable; preset: PropTypes.Requireable | undefined; shape?: React.Validator<"text" | "warning" | "ghost" | null | undefined> | undefined; size?: React.Validator | undefined; icons?: React.Validator<{ loading?: React.ReactNode; } | null | undefined> | undefined; iconSize?: React.Validator | undefined; htmlType?: React.Validator<"button" | "reset" | "submit" | null | undefined> | undefined; component?: React.Validator<"a" | "button" | React.ComponentType | null | undefined> | undefined; loading?: React.Validator | undefined; ghost?: React.Validator | undefined; text?: React.Validator | undefined; warning?: React.Validator | undefined; disabled?: React.Validator | undefined; onClick?: React.Validator | null | undefined> | undefined; href?: React.Validator | undefined; target?: React.Validator | undefined; to?: React.Validator | undefined; color?: React.Validator | undefined; content?: React.Validator | undefined; translate?: React.Validator<"no" | "yes" | null | undefined> | undefined; form?: React.Validator | undefined; slot?: React.Validator | undefined; style?: React.Validator | undefined; title?: React.Validator | undefined; hidden?: React.Validator | undefined; name?: React.Validator | undefined; dir?: React.Validator | undefined; placeholder?: React.Validator | undefined; prefix?: React.Validator | undefined; children?: React.Validator | undefined; className?: React.Validator | undefined; id?: React.Validator | undefined; defaultChecked?: React.Validator | undefined; defaultValue?: React.Validator | undefined; suppressContentEditableWarning?: React.Validator | undefined; suppressHydrationWarning?: React.Validator | undefined; accessKey?: React.Validator | undefined; autoFocus?: React.Validator | undefined; contentEditable?: React.Validator<"inherit" | (boolean | "false" | "true") | null | undefined> | undefined; contextMenu?: React.Validator | undefined; draggable?: React.Validator<(boolean | "false" | "true") | null | undefined> | undefined; lang?: React.Validator | undefined; nonce?: React.Validator | undefined; spellCheck?: React.Validator<(boolean | "false" | "true") | null | undefined> | undefined; tabIndex?: React.Validator | undefined; radioGroup?: React.Validator | undefined; role?: React.Validator | undefined; about?: React.Validator | undefined; datatype?: React.Validator | undefined; inlist?: React.Validator | undefined; property?: React.Validator | undefined; rel?: React.Validator | undefined; resource?: React.Validator | undefined; rev?: React.Validator | undefined; typeof?: React.Validator | undefined; vocab?: React.Validator | undefined; autoCapitalize?: React.Validator | undefined; autoCorrect?: React.Validator | undefined; autoSave?: React.Validator | undefined; itemProp?: React.Validator | undefined; itemScope?: React.Validator | undefined; itemType?: React.Validator | undefined; itemID?: React.Validator | undefined; itemRef?: React.Validator | undefined; results?: React.Validator | undefined; security?: React.Validator | undefined; unselectable?: React.Validator<"on" | "off" | null | undefined> | undefined; inputMode?: React.Validator<"search" | "none" | "text" | "email" | "url" | "tel" | "numeric" | "decimal" | null | undefined> | undefined; is?: React.Validator | undefined; "aria-activedescendant"?: React.Validator | undefined; "aria-atomic"?: React.Validator | undefined; "aria-autocomplete"?: React.Validator<"none" | "both" | "inline" | "list" | null | undefined> | undefined; "aria-busy"?: React.Validator | undefined; "aria-checked"?: React.Validator | undefined; "aria-colcount"?: React.Validator | undefined; "aria-colindex"?: React.Validator | undefined; "aria-colspan"?: React.Validator | undefined; "aria-controls"?: React.Validator | undefined; "aria-current"?: React.Validator | undefined; "aria-describedby"?: React.Validator | undefined; "aria-details"?: React.Validator | undefined; "aria-disabled"?: React.Validator | undefined; "aria-dropeffect"?: React.Validator<"link" | "none" | "copy" | "move" | "execute" | "popup" | null | undefined> | undefined; "aria-errormessage"?: React.Validator | undefined; "aria-expanded"?: React.Validator | undefined; "aria-flowto"?: React.Validator | undefined; "aria-grabbed"?: React.Validator | undefined; "aria-haspopup"?: React.Validator | undefined; "aria-hidden"?: React.Validator | undefined; "aria-invalid"?: React.Validator | undefined; "aria-keyshortcuts"?: React.Validator | undefined; "aria-label"?: React.Validator | undefined; "aria-labelledby"?: React.Validator | undefined; "aria-level"?: React.Validator | undefined; "aria-live"?: React.Validator<"off" | "assertive" | "polite" | null | undefined> | undefined; "aria-modal"?: React.Validator | undefined; "aria-multiline"?: React.Validator | undefined; "aria-multiselectable"?: React.Validator | undefined; "aria-orientation"?: React.Validator<"horizontal" | "vertical" | null | undefined> | undefined; "aria-owns"?: React.Validator | undefined; "aria-placeholder"?: React.Validator | undefined; "aria-posinset"?: React.Validator | undefined; "aria-pressed"?: React.Validator | undefined; "aria-readonly"?: React.Validator | undefined; "aria-relevant"?: React.Validator<"all" | "text" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | null | undefined> | undefined; "aria-required"?: React.Validator | undefined; "aria-roledescription"?: React.Validator | undefined; "aria-rowcount"?: React.Validator | undefined; "aria-rowindex"?: React.Validator | undefined; "aria-rowspan"?: React.Validator | undefined; "aria-selected"?: React.Validator | undefined; "aria-setsize"?: React.Validator | undefined; "aria-sort"?: React.Validator<"none" | "ascending" | "descending" | "other" | null | undefined> | undefined; "aria-valuemax"?: React.Validator | undefined; "aria-valuemin"?: React.Validator | undefined; "aria-valuenow"?: React.Validator | undefined; "aria-valuetext"?: React.Validator | undefined; dangerouslySetInnerHTML?: React.Validator<{ __html: string | TrustedHTML; } | null | undefined> | undefined; onCopy?: React.Validator | null | undefined> | undefined; onCopyCapture?: React.Validator | null | undefined> | undefined; onCut?: React.Validator | null | undefined> | undefined; onCutCapture?: React.Validator | null | undefined> | undefined; onPaste?: React.Validator | null | undefined> | undefined; onPasteCapture?: React.Validator | null | undefined> | undefined; onCompositionEnd?: React.Validator | null | undefined> | undefined; onCompositionEndCapture?: React.Validator | null | undefined> | undefined; onCompositionStart?: React.Validator | null | undefined> | undefined; onCompositionStartCapture?: React.Validator | null | undefined> | undefined; onCompositionUpdate?: React.Validator | null | undefined> | undefined; onCompositionUpdateCapture?: React.Validator | null | undefined> | undefined; onFocus?: React.Validator | null | undefined> | undefined; onFocusCapture?: React.Validator | null | undefined> | undefined; onBlur?: React.Validator | null | undefined> | undefined; onBlurCapture?: React.Validator | null | undefined> | undefined; onChange?: React.Validator | null | undefined> | undefined; onChangeCapture?: React.Validator | null | undefined> | undefined; onBeforeInput?: React.Validator | null | undefined> | undefined; onBeforeInputCapture?: React.Validator | null | undefined> | undefined; onInput?: React.Validator | null | undefined> | undefined; onInputCapture?: React.Validator | null | undefined> | undefined; onReset?: React.Validator | null | undefined> | undefined; onResetCapture?: React.Validator | null | undefined> | undefined; onSubmit?: React.Validator | null | undefined> | undefined; onSubmitCapture?: React.Validator | null | undefined> | undefined; onInvalid?: React.Validator | null | undefined> | undefined; onInvalidCapture?: React.Validator | null | undefined> | undefined; onLoad?: React.Validator | null | undefined> | undefined; onLoadCapture?: React.Validator | null | undefined> | undefined; onError?: React.Validator | null | undefined> | undefined; onErrorCapture?: React.Validator | null | undefined> | undefined; onKeyDown?: React.Validator | null | undefined> | undefined; onKeyDownCapture?: React.Validator | null | undefined> | undefined; onKeyPress?: React.Validator | null | undefined> | undefined; onKeyPressCapture?: React.Validator | null | undefined> | undefined; onKeyUp?: React.Validator | null | undefined> | undefined; onKeyUpCapture?: React.Validator | null | undefined> | undefined; onAbort?: React.Validator | null | undefined> | undefined; onAbortCapture?: React.Validator | null | undefined> | undefined; onCanPlay?: React.Validator | null | undefined> | undefined; onCanPlayCapture?: React.Validator | null | undefined> | undefined; onCanPlayThrough?: React.Validator | null | undefined> | undefined; onCanPlayThroughCapture?: React.Validator | null | undefined> | undefined; onDurationChange?: React.Validator | null | undefined> | undefined; onDurationChangeCapture?: React.Validator | null | undefined> | undefined; onEmptied?: React.Validator | null | undefined> | undefined; onEmptiedCapture?: React.Validator | null | undefined> | undefined; onEncrypted?: React.Validator | null | undefined> | undefined; onEncryptedCapture?: React.Validator | null | undefined> | undefined; onEnded?: React.Validator | null | undefined> | undefined; onEndedCapture?: React.Validator | null | undefined> | undefined; onLoadedData?: React.Validator | null | undefined> | undefined; onLoadedDataCapture?: React.Validator | null | undefined> | undefined; onLoadedMetadata?: React.Validator | null | undefined> | undefined; onLoadedMetadataCapture?: React.Validator | null | undefined> | undefined; onLoadStart?: React.Validator | null | undefined> | undefined; onLoadStartCapture?: React.Validator | null | undefined> | undefined; onPause?: React.Validator | null | undefined> | undefined; onPauseCapture?: React.Validator | null | undefined> | undefined; onPlay?: React.Validator | null | undefined> | undefined; onPlayCapture?: React.Validator | null | undefined> | undefined; onPlaying?: React.Validator | null | undefined> | undefined; onPlayingCapture?: React.Validator | null | undefined> | undefined; onProgress?: React.Validator | null | undefined> | undefined; onProgressCapture?: React.Validator | null | undefined> | undefined; onRateChange?: React.Validator | null | undefined> | undefined; onRateChangeCapture?: React.Validator | null | undefined> | undefined; onSeeked?: React.Validator | null | undefined> | undefined; onSeekedCapture?: React.Validator | null | undefined> | undefined; onSeeking?: React.Validator | null | undefined> | undefined; onSeekingCapture?: React.Validator | null | undefined> | undefined; onStalled?: React.Validator | null | undefined> | undefined; onStalledCapture?: React.Validator | null | undefined> | undefined; onSuspend?: React.Validator | null | undefined> | undefined; onSuspendCapture?: React.Validator | null | undefined> | undefined; onTimeUpdate?: React.Validator | null | undefined> | undefined; onTimeUpdateCapture?: React.Validator | null | undefined> | undefined; onVolumeChange?: React.Validator | null | undefined> | undefined; onVolumeChangeCapture?: React.Validator | null | undefined> | undefined; onWaiting?: React.Validator | null | undefined> | undefined; onWaitingCapture?: React.Validator | null | undefined> | undefined; onAuxClick?: React.Validator | null | undefined> | undefined; onAuxClickCapture?: React.Validator | null | undefined> | undefined; onClickCapture?: React.Validator | null | undefined> | undefined; onContextMenu?: React.Validator | null | undefined> | undefined; onContextMenuCapture?: React.Validator | null | undefined> | undefined; onDoubleClick?: React.Validator | null | undefined> | undefined; onDoubleClickCapture?: React.Validator | null | undefined> | undefined; onDrag?: React.Validator | null | undefined> | undefined; onDragCapture?: React.Validator | null | undefined> | undefined; onDragEnd?: React.Validator | null | undefined> | undefined; onDragEndCapture?: React.Validator | null | undefined> | undefined; onDragEnter?: React.Validator | null | undefined> | undefined; onDragEnterCapture?: React.Validator | null | undefined> | undefined; onDragExit?: React.Validator | null | undefined> | undefined; onDragExitCapture?: React.Validator | null | undefined> | undefined; onDragLeave?: React.Validator | null | undefined> | undefined; onDragLeaveCapture?: React.Validator | null | undefined> | undefined; onDragOver?: React.Validator | null | undefined> | undefined; onDragOverCapture?: React.Validator | null | undefined> | undefined; onDragStart?: React.Validator | null | undefined> | undefined; onDragStartCapture?: React.Validator | null | undefined> | undefined; onDrop?: React.Validator | null | undefined> | undefined; onDropCapture?: React.Validator | null | undefined> | undefined; onMouseDown?: React.Validator | null | undefined> | undefined; onMouseDownCapture?: React.Validator | null | undefined> | undefined; onMouseEnter?: React.Validator | null | undefined> | undefined; onMouseLeave?: React.Validator | null | undefined> | undefined; onMouseMove?: React.Validator | null | undefined> | undefined; onMouseMoveCapture?: React.Validator | null | undefined> | undefined; onMouseOut?: React.Validator | null | undefined> | undefined; onMouseOutCapture?: React.Validator | null | undefined> | undefined; onMouseOver?: React.Validator | null | undefined> | undefined; onMouseOverCapture?: React.Validator | null | undefined> | undefined; onMouseUp?: React.Validator | null | undefined> | undefined; onMouseUpCapture?: React.Validator | null | undefined> | undefined; onSelect?: React.Validator | null | undefined> | undefined; onSelectCapture?: React.Validator | null | undefined> | undefined; onTouchCancel?: React.Validator | null | undefined> | undefined; onTouchCancelCapture?: React.Validator | null | undefined> | undefined; onTouchEnd?: React.Validator | null | undefined> | undefined; onTouchEndCapture?: React.Validator | null | undefined> | undefined; onTouchMove?: React.Validator | null | undefined> | undefined; onTouchMoveCapture?: React.Validator | null | undefined> | undefined; onTouchStart?: React.Validator | null | undefined> | undefined; onTouchStartCapture?: React.Validator | null | undefined> | undefined; onPointerDown?: React.Validator | null | undefined> | undefined; onPointerDownCapture?: React.Validator | null | undefined> | undefined; onPointerMove?: React.Validator | null | undefined> | undefined; onPointerMoveCapture?: React.Validator | null | undefined> | undefined; onPointerUp?: React.Validator | null | undefined> | undefined; onPointerUpCapture?: React.Validator | null | undefined> | undefined; onPointerCancel?: React.Validator | null | undefined> | undefined; onPointerCancelCapture?: React.Validator | null | undefined> | undefined; onPointerEnter?: React.Validator | null | undefined> | undefined; onPointerEnterCapture?: React.Validator | null | undefined> | undefined; onPointerLeave?: React.Validator | null | undefined> | undefined; onPointerLeaveCapture?: React.Validator | null | undefined> | undefined; onPointerOver?: React.Validator | null | undefined> | undefined; onPointerOverCapture?: React.Validator | null | undefined> | undefined; onPointerOut?: React.Validator | null | undefined> | undefined; onPointerOutCapture?: React.Validator | null | undefined> | undefined; onGotPointerCapture?: React.Validator | null | undefined> | undefined; onGotPointerCaptureCapture?: React.Validator | null | undefined> | undefined; onLostPointerCapture?: React.Validator | null | undefined> | undefined; onLostPointerCaptureCapture?: React.Validator | null | undefined> | undefined; onScroll?: React.Validator | null | undefined> | undefined; onScrollCapture?: React.Validator | null | undefined> | undefined; onWheel?: React.Validator | null | undefined> | undefined; onWheelCapture?: React.Validator | null | undefined> | undefined; onAnimationStart?: React.Validator | null | undefined> | undefined; onAnimationStartCapture?: React.Validator | null | undefined> | undefined; onAnimationEnd?: React.Validator | null | undefined> | undefined; onAnimationEndCapture?: React.Validator | null | undefined> | undefined; onAnimationIteration?: React.Validator | null | undefined> | undefined; onAnimationIterationCapture?: React.Validator | null | undefined> | undefined; onTransitionEnd?: React.Validator | null | undefined> | undefined; onTransitionEndCapture?: React.Validator | null | undefined> | undefined; formAction?: React.Validator | undefined; formEncType?: React.Validator | undefined; formMethod?: React.Validator | undefined; formNoValidate?: React.Validator | undefined; formTarget?: React.Validator | undefined; value: React.Validator | PropTypes.Requireable<{}>; locale?: React.Validator | undefined; pure?: React.Validator | undefined; device?: React.Validator | undefined; rtl?: React.Validator | undefined; errorBoundary?: React.Validator | undefined; label: PropTypes.Requireable; }> | (PropTypes.InferProps<{ type?: React.Validator<"normal" | "primary" | "secondary" | null | undefined> | undefined; shape?: React.Validator<"text" | "warning" | "ghost" | null | undefined> | undefined; size?: React.Validator | undefined; icons?: React.Validator<{ loading?: React.ReactNode; } | null | undefined> | undefined; iconSize?: React.Validator | undefined; htmlType?: React.Validator<"button" | "reset" | "submit" | null | undefined> | undefined; component?: React.Validator<"a" | "button" | React.ComponentType | null | undefined> | undefined; loading?: React.Validator | undefined; ghost?: React.Validator | undefined; text?: React.Validator | undefined; warning?: React.Validator | undefined; disabled?: React.Validator | undefined; onClick?: React.Validator | null | undefined> | undefined; href?: React.Validator | undefined; target?: React.Validator | undefined; to?: React.Validator | undefined; color?: React.Validator | undefined; content?: React.Validator | undefined; translate?: React.Validator<"no" | "yes" | null | undefined> | undefined; form?: React.Validator | undefined; slot?: React.Validator | undefined; style?: React.Validator | undefined; title?: React.Validator | undefined; hidden?: React.Validator | undefined; name?: React.Validator | undefined; dir?: React.Validator | undefined; placeholder?: React.Validator | undefined; prefix?: React.Validator | undefined; children?: React.Validator | undefined; className?: React.Validator | undefined; id?: React.Validator | undefined; defaultChecked?: React.Validator | undefined; defaultValue?: React.Validator | undefined; suppressContentEditableWarning?: React.Validator | undefined; suppressHydrationWarning?: React.Validator | undefined; accessKey?: React.Validator | undefined; autoFocus?: React.Validator | undefined; contentEditable?: React.Validator<"inherit" | (boolean | "false" | "true") | null | undefined> | undefined; contextMenu?: React.Validator | undefined; draggable?: React.Validator<(boolean | "false" | "true") | null | undefined> | undefined; lang?: React.Validator | undefined; nonce?: React.Validator | undefined; spellCheck?: React.Validator<(boolean | "false" | "true") | null | undefined> | undefined; tabIndex?: React.Validator | undefined; radioGroup?: React.Validator | undefined; role?: React.Validator | undefined; about?: React.Validator | undefined; datatype?: React.Validator | undefined; inlist?: React.Validator | undefined; property?: React.Validator | undefined; rel?: React.Validator | undefined; resource?: React.Validator | undefined; rev?: React.Validator | undefined; typeof?: React.Validator | undefined; vocab?: React.Validator | undefined; autoCapitalize?: React.Validator | undefined; autoCorrect?: React.Validator | undefined; autoSave?: React.Validator | undefined; itemProp?: React.Validator | undefined; itemScope?: React.Validator | undefined; itemType?: React.Validator | undefined; itemID?: React.Validator | undefined; itemRef?: React.Validator | undefined; results?: React.Validator | undefined; security?: React.Validator | undefined; unselectable?: React.Validator<"on" | "off" | null | undefined> | undefined; inputMode?: React.Validator<"search" | "none" | "text" | "email" | "url" | "tel" | "numeric" | "decimal" | null | undefined> | undefined; is?: React.Validator | undefined; "aria-activedescendant"?: React.Validator | undefined; "aria-atomic"?: React.Validator | undefined; "aria-autocomplete"?: React.Validator<"none" | "both" | "inline" | "list" | null | undefined> | undefined; "aria-busy"?: React.Validator | undefined; "aria-checked"?: React.Validator | undefined; "aria-colcount"?: React.Validator | undefined; "aria-colindex"?: React.Validator | undefined; "aria-colspan"?: React.Validator | undefined; "aria-controls"?: React.Validator | undefined; "aria-current"?: React.Validator | undefined; "aria-describedby"?: React.Validator | undefined; "aria-details"?: React.Validator | undefined; "aria-disabled"?: React.Validator | undefined; "aria-dropeffect"?: React.Validator<"link" | "none" | "copy" | "move" | "execute" | "popup" | null | undefined> | undefined; "aria-errormessage"?: React.Validator | undefined; "aria-expanded"?: React.Validator | undefined; "aria-flowto"?: React.Validator | undefined; "aria-grabbed"?: React.Validator | undefined; "aria-haspopup"?: React.Validator | undefined; "aria-hidden"?: React.Validator | undefined; "aria-invalid"?: React.Validator | undefined; "aria-keyshortcuts"?: React.Validator | undefined; "aria-label"?: React.Validator | undefined; "aria-labelledby"?: React.Validator | undefined; "aria-level"?: React.Validator | undefined; "aria-live"?: React.Validator<"off" | "assertive" | "polite" | null | undefined> | undefined; "aria-modal"?: React.Validator | undefined; "aria-multiline"?: React.Validator | undefined; "aria-multiselectable"?: React.Validator | undefined; "aria-orientation"?: React.Validator<"horizontal" | "vertical" | null | undefined> | undefined; "aria-owns"?: React.Validator | undefined; "aria-placeholder"?: React.Validator | undefined; "aria-posinset"?: React.Validator | undefined; "aria-pressed"?: React.Validator | undefined; "aria-readonly"?: React.Validator | undefined; "aria-relevant"?: React.Validator<"all" | "text" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | null | undefined> | undefined; "aria-required"?: React.Validator | undefined; "aria-roledescription"?: React.Validator | undefined; "aria-rowcount"?: React.Validator | undefined; "aria-rowindex"?: React.Validator | undefined; "aria-rowspan"?: React.Validator | undefined; "aria-selected"?: React.Validator | undefined; "aria-setsize"?: React.Validator | undefined; "aria-sort"?: React.Validator<"none" | "ascending" | "descending" | "other" | null | undefined> | undefined; "aria-valuemax"?: React.Validator | undefined; "aria-valuemin"?: React.Validator | undefined; "aria-valuenow"?: React.Validator | undefined; "aria-valuetext"?: React.Validator | undefined; dangerouslySetInnerHTML?: React.Validator<{ __html: string | TrustedHTML; } | null | undefined> | undefined; onCopy?: React.Validator | null | undefined> | undefined; onCopyCapture?: React.Validator | null | undefined> | undefined; onCut?: React.Validator | null | undefined> | undefined; onCutCapture?: React.Validator | null | undefined> | undefined; onPaste?: React.Validator | null | undefined> | undefined; onPasteCapture?: React.Validator | null | undefined> | undefined; onCompositionEnd?: React.Validator | null | undefined> | undefined; onCompositionEndCapture?: React.Validator | null | undefined> | undefined; onCompositionStart?: React.Validator | null | undefined> | undefined; onCompositionStartCapture?: React.Validator | null | undefined> | undefined; onCompositionUpdate?: React.Validator | null | undefined> | undefined; onCompositionUpdateCapture?: React.Validator | null | undefined> | undefined; onFocus?: React.Validator | null | undefined> | undefined; onFocusCapture?: React.Validator | null | undefined> | undefined; onBlur?: React.Validator | null | undefined> | undefined; onBlurCapture?: React.Validator | null | undefined> | undefined; onChange?: React.Validator | null | undefined> | undefined; onChangeCapture?: React.Validator | null | undefined> | undefined; onBeforeInput?: React.Validator | null | undefined> | undefined; onBeforeInputCapture?: React.Validator | null | undefined> | undefined; onInput?: React.Validator | null | undefined> | undefined; onInputCapture?: React.Validator | null | undefined> | undefined; onReset?: React.Validator | null | undefined> | undefined; onResetCapture?: React.Validator | null | undefined> | undefined; onSubmit?: React.Validator | null | undefined> | undefined; onSubmitCapture?: React.Validator | null | undefined> | undefined; onInvalid?: React.Validator | null | undefined> | undefined; onInvalidCapture?: React.Validator | null | undefined> | undefined; onLoad?: React.Validator | null | undefined> | undefined; onLoadCapture?: React.Validator | null | undefined> | undefined; onError?: React.Validator | null | undefined> | undefined; onErrorCapture?: React.Validator | null | undefined> | undefined; onKeyDown?: React.Validator | null | undefined> | undefined; onKeyDownCapture?: React.Validator | null | undefined> | undefined; onKeyPress?: React.Validator | null | undefined> | undefined; onKeyPressCapture?: React.Validator | null | undefined> | undefined; onKeyUp?: React.Validator | null | undefined> | undefined; onKeyUpCapture?: React.Validator | null | undefined> | undefined; onAbort?: React.Validator | null | undefined> | undefined; onAbortCapture?: React.Validator | null | undefined> | undefined; onCanPlay?: React.Validator | null | undefined> | undefined; onCanPlayCapture?: React.Validator | null | undefined> | undefined; onCanPlayThrough?: React.Validator | null | undefined> | undefined; onCanPlayThroughCapture?: React.Validator | null | undefined> | undefined; onDurationChange?: React.Validator | null | undefined> | undefined; onDurationChangeCapture?: React.Validator | null | undefined> | undefined; onEmptied?: React.Validator | null | undefined> | undefined; onEmptiedCapture?: React.Validator | null | undefined> | undefined; onEncrypted?: React.Validator | null | undefined> | undefined; onEncryptedCapture?: React.Validator | null | undefined> | undefined; onEnded?: React.Validator | null | undefined> | undefined; onEndedCapture?: React.Validator | null | undefined> | undefined; onLoadedData?: React.Validator | null | undefined> | undefined; onLoadedDataCapture?: React.Validator | null | undefined> | undefined; onLoadedMetadata?: React.Validator | null | undefined> | undefined; onLoadedMetadataCapture?: React.Validator | null | undefined> | undefined; onLoadStart?: React.Validator | null | undefined> | undefined; onLoadStartCapture?: React.Validator | null | undefined> | undefined; onPause?: React.Validator | null | undefined> | undefined; onPauseCapture?: React.Validator | null | undefined> | undefined; onPlay?: React.Validator | null | undefined> | undefined; onPlayCapture?: React.Validator | null | undefined> | undefined; onPlaying?: React.Validator | null | undefined> | undefined; onPlayingCapture?: React.Validator | null | undefined> | undefined; onProgress?: React.Validator | null | undefined> | undefined; onProgressCapture?: React.Validator | null | undefined> | undefined; onRateChange?: React.Validator | null | undefined> | undefined; onRateChangeCapture?: React.Validator | null | undefined> | undefined; onSeeked?: React.Validator | null | undefined> | undefined; onSeekedCapture?: React.Validator | null | undefined> | undefined; onSeeking?: React.Validator | null | undefined> | undefined; onSeekingCapture?: React.Validator | null | undefined> | undefined; onStalled?: React.Validator | null | undefined> | undefined; onStalledCapture?: React.Validator | null | undefined> | undefined; onSuspend?: React.Validator | null | undefined> | undefined; onSuspendCapture?: React.Validator | null | undefined> | undefined; onTimeUpdate?: React.Validator | null | undefined> | undefined; onTimeUpdateCapture?: React.Validator | null | undefined> | undefined; onVolumeChange?: React.Validator | null | undefined> | undefined; onVolumeChangeCapture?: React.Validator | null | undefined> | undefined; onWaiting?: React.Validator | null | undefined> | undefined; onWaitingCapture?: React.Validator | null | undefined> | undefined; onAuxClick?: React.Validator | null | undefined> | undefined; onAuxClickCapture?: React.Validator | null | undefined> | undefined; onClickCapture?: React.Validator | null | undefined> | undefined; onContextMenu?: React.Validator | null | undefined> | undefined; onContextMenuCapture?: React.Validator | null | undefined> | undefined; onDoubleClick?: React.Validator | null | undefined> | undefined; onDoubleClickCapture?: React.Validator | null | undefined> | undefined; onDrag?: React.Validator | null | undefined> | undefined; onDragCapture?: React.Validator | null | undefined> | undefined; onDragEnd?: React.Validator | null | undefined> | undefined; onDragEndCapture?: React.Validator | null | undefined> | undefined; onDragEnter?: React.Validator | null | undefined> | undefined; onDragEnterCapture?: React.Validator | null | undefined> | undefined; onDragExit?: React.Validator | null | undefined> | undefined; onDragExitCapture?: React.Validator | null | undefined> | undefined; onDragLeave?: React.Validator | null | undefined> | undefined; onDragLeaveCapture?: React.Validator | null | undefined> | undefined; onDragOver?: React.Validator | null | undefined> | undefined; onDragOverCapture?: React.Validator | null | undefined> | undefined; onDragStart?: React.Validator | null | undefined> | undefined; onDragStartCapture?: React.Validator | null | undefined> | undefined; onDrop?: React.Validator | null | undefined> | undefined; onDropCapture?: React.Validator | null | undefined> | undefined; onMouseDown?: React.Validator | null | undefined> | undefined; onMouseDownCapture?: React.Validator | null | undefined> | undefined; onMouseEnter?: React.Validator | null | undefined> | undefined; onMouseLeave?: React.Validator | null | undefined> | undefined; onMouseMove?: React.Validator | null | undefined> | undefined; onMouseMoveCapture?: React.Validator | null | undefined> | undefined; onMouseOut?: React.Validator | null | undefined> | undefined; onMouseOutCapture?: React.Validator | null | undefined> | undefined; onMouseOver?: React.Validator | null | undefined> | undefined; onMouseOverCapture?: React.Validator | null | undefined> | undefined; onMouseUp?: React.Validator | null | undefined> | undefined; onMouseUpCapture?: React.Validator | null | undefined> | undefined; onSelect?: React.Validator | null | undefined> | undefined; onSelectCapture?: React.Validator | null | undefined> | undefined; onTouchCancel?: React.Validator | null | undefined> | undefined; onTouchCancelCapture?: React.Validator | null | undefined> | undefined; onTouchEnd?: React.Validator | null | undefined> | undefined; onTouchEndCapture?: React.Validator | null | undefined> | undefined; onTouchMove?: React.Validator | null | undefined> | undefined; onTouchMoveCapture?: React.Validator | null | undefined> | undefined; onTouchStart?: React.Validator | null | undefined> | undefined; onTouchStartCapture?: React.Validator | null | undefined> | undefined; onPointerDown?: React.Validator | null | undefined> | undefined; onPointerDownCapture?: React.Validator | null | undefined> | undefined; onPointerMove?: React.Validator | null | undefined> | undefined; onPointerMoveCapture?: React.Validator | null | undefined> | undefined; onPointerUp?: React.Validator | null | undefined> | undefined; onPointerUpCapture?: React.Validator | null | undefined> | undefined; onPointerCancel?: React.Validator | null | undefined> | undefined; onPointerCancelCapture?: React.Validator | null | undefined> | undefined; onPointerEnter?: React.Validator | null | undefined> | undefined; onPointerEnterCapture?: React.Validator | null | undefined> | undefined; onPointerLeave?: React.Validator | null | undefined> | undefined; onPointerLeaveCapture?: React.Validator | null | undefined> | undefined; onPointerOver?: React.Validator | null | undefined> | undefined; onPointerOverCapture?: React.Validator | null | undefined> | undefined; onPointerOut?: React.Validator | null | undefined> | undefined; onPointerOutCapture?: React.Validator | null | undefined> | undefined; onGotPointerCapture?: React.Validator | null | undefined> | undefined; onGotPointerCaptureCapture?: React.Validator | null | undefined> | undefined; onLostPointerCapture?: React.Validator | null | undefined> | undefined; onLostPointerCaptureCapture?: React.Validator | null | undefined> | undefined; onScroll?: React.Validator | null | undefined> | undefined; onScrollCapture?: React.Validator | null | undefined> | undefined; onWheel?: React.Validator | null | undefined> | undefined; onWheelCapture?: React.Validator | null | undefined> | undefined; onAnimationStart?: React.Validator | null | undefined> | undefined; onAnimationStartCapture?: React.Validator | null | undefined> | undefined; onAnimationEnd?: React.Validator | null | undefined> | undefined; onAnimationEndCapture?: React.Validator | null | undefined> | undefined; onAnimationIteration?: React.Validator | null | undefined> | undefined; onAnimationIterationCapture?: React.Validator | null | undefined> | undefined; onTransitionEnd?: React.Validator | null | undefined> | undefined; onTransitionEndCapture?: React.Validator | null | undefined> | undefined; formAction?: React.Validator | undefined; formEncType?: React.Validator | undefined; formMethod?: React.Validator | undefined; formNoValidate?: React.Validator | undefined; formTarget?: React.Validator | undefined; value: React.Validator | PropTypes.Requireable<{}>; locale?: React.Validator | undefined; pure?: React.Validator | undefined; device?: React.Validator | undefined; rtl?: React.Validator | undefined; errorBoundary?: React.Validator | undefined; label: PropTypes.Requireable; }> | null | undefined)[] | null | undefined>>; inputProps: PropTypes.Requireable>>; popupComponent: PropTypes.Requireable; type: PropTypes.Requireable; locale: PropTypes.Requireable; defaultPropsConfig: PropTypes.Requireable; errorBoundary: PropTypes.Requireable>; pure: PropTypes.Requireable; warning: PropTypes.Requireable; device: PropTypes.Requireable; children: PropTypes.Requireable; }; static defaultProps: { prefix: string; rtl: boolean; locale: Partial<{ placeholder: string; clear: string; hour: string; minute: string; second: string; ok: string; }> & { momentLocale?: string | undefined; }; size: string; format: string; hasClear: boolean; disabled: boolean; hasBorder: boolean; type: string; popupAlign: string; popupTriggerType: string; onChange: () => void; onVisibleChange: () => void; }; prefixCls: string; dateInput: InstanceType; clearTimeoutId: number; constructor(props: TimePickerProps); static getDerivedStateFromProps(props: TimePickerProps, prevState: TimePickerState): TimePickerState; /** * 获取初始值 */ getInitValue: () => ValueType; /** * 获取 RangePicker 输入框初始输入状态 * @returns inputState - Object * @returns inputState.justBeginInput 是否初始输入 - boolean * @returns inputState.inputType 当前输入框 - number */ getInitRangeInputState: () => { justBeginInput: boolean; inputType: InputType; }; onKeyDown: (e: KeyboardEvent) => void; onVisibleChange: (visible: boolean, type?: string) => void; onClick: () => void; /** * 处理点击文档区域导致的弹层收起逻辑 * @param visible - 是否可见 * @param type - 事件类型 */ handleVisibleChange: (visible: boolean, targetType: string) => void; handleInputFocus: (inputType: number) => void; onOk: () => void; onInputTypeChange: (idx: InputType) => void; checkValue: (value: TimePickerProps['value'], strictly?: boolean) => ValueType; /** * 获取 `onChange` 和 `onOk` 方法的输出参数 * @param value - Dayjs * @returns 默认返回 `Dayjs` 实例和 `format` 格式化的值 * 如果传了了 `outputFormat` 属性则返回 `outputFormat` 格式化的值 */ getOutputArgs: (value: ValueType) => (string | string[] | ValueType)[]; onChange: (v: ValueType) => void; shouldSwitchInput: (value: (Dayjs | null)[]) => boolean; handleChange: (v: ValueType | string | null | string[], eventType?: string) => void; /** * 获取输入框的禁用状态 */ isEnabled: (idx?: number) => boolean; handleClear: () => void; handleInput: (v: string, eventType?: string) => void; renderPreview(others: Omit): React.JSX.Element; render(): React.JSX.Element; } declare const _default: typeof TimePicker2; export default _default;