import * as React from 'react'; import useRowInfo from '../hooks/useRowInfo'; import type { ColumnType, CustomizeComponent } from '../interface'; import type { TableProps } from '..'; export interface BodyRowProps { record: RecordType; index: number; renderIndex: number; className?: string; style?: React.CSSProperties; classNames: TableProps['classNames']['body']; styles: TableProps['styles']['body']; rowComponent: CustomizeComponent; cellComponent: CustomizeComponent; scopeCellComponent: CustomizeComponent; indent?: number; rowKey: React.Key; rowKeys: React.Key[]; expandedRowInfo?: { offset: number; colSpan: number; sticky: number; }; } export declare function getCellProps(rowInfo: ReturnType>, column: ColumnType, colIndex: number, indent: number, index: number, rowKeys?: React.Key[], expandedRowOffset?: number): { key: React.Key; fixedInfo: import("../utils/fixUtil").FixedInfo; appendCellNode: React.ReactNode; additionalCellProps: { defaultChecked?: boolean; defaultValue?: string | number | readonly string[]; suppressContentEditableWarning?: boolean; suppressHydrationWarning?: boolean; accessKey?: string; autoCapitalize?: (string & {}) | "none" | "off" | "on" | "sentences" | "words" | "characters"; autoFocus?: boolean; className?: string; contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only"; contextMenu?: string; dir?: string; draggable?: boolean | "false" | "true"; enterKeyHint?: "search" | "next" | "enter" | "done" | "go" | "previous" | "send"; hidden?: boolean; id?: string; lang?: string; nonce?: string; slot?: string; spellCheck?: boolean | "false" | "true"; style?: React.CSSProperties; tabIndex?: number; title?: string; translate?: "yes" | "no"; radioGroup?: string; role?: React.AriaRole; about?: string; content?: string; datatype?: string; inlist?: any; prefix?: string; property?: string; rel?: string; resource?: string; rev?: string; typeof?: string; vocab?: string; autoCorrect?: string; autoSave?: string; color?: string; itemProp?: string; itemScope?: boolean; itemType?: string; itemID?: string; itemRef?: string; results?: number; security?: string; unselectable?: "off" | "on"; popover?: "" | "auto" | "manual" | "hint"; popoverTargetAction?: "hide" | "show" | "toggle"; popoverTarget?: string; inert?: boolean; inputMode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal"; is?: string; exportparts?: string; part?: string; "aria-activedescendant"?: string; "aria-atomic"?: boolean | "false" | "true"; "aria-autocomplete"?: "none" | "both" | "inline" | "list"; "aria-braillelabel"?: string; "aria-brailleroledescription"?: string; "aria-busy"?: boolean | "false" | "true"; "aria-checked"?: boolean | "mixed" | "false" | "true"; "aria-colcount"?: number; "aria-colindex"?: number; "aria-colindextext"?: string; "aria-colspan"?: number; "aria-controls"?: string; "aria-current"?: boolean | "time" | "page" | "false" | "true" | "date" | "step" | "location"; "aria-describedby"?: string; "aria-description"?: string; "aria-details"?: string; "aria-disabled"?: boolean | "false" | "true"; "aria-dropeffect"?: "link" | "none" | "copy" | "move" | "execute" | "popup"; "aria-errormessage"?: string; "aria-expanded"?: boolean | "false" | "true"; "aria-flowto"?: string; "aria-grabbed"?: boolean | "false" | "true"; "aria-haspopup"?: boolean | "dialog" | "menu" | "listbox" | "grid" | "false" | "true" | "tree"; "aria-hidden"?: boolean | "false" | "true"; "aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling"; "aria-keyshortcuts"?: string; "aria-label"?: string; "aria-labelledby"?: string; "aria-level"?: number; "aria-live"?: "off" | "assertive" | "polite"; "aria-modal"?: boolean | "false" | "true"; "aria-multiline"?: boolean | "false" | "true"; "aria-multiselectable"?: boolean | "false" | "true"; "aria-orientation"?: "horizontal" | "vertical"; "aria-owns"?: string; "aria-placeholder"?: string; "aria-posinset"?: number; "aria-pressed"?: boolean | "mixed" | "false" | "true"; "aria-readonly"?: boolean | "false" | "true"; "aria-relevant"?: "all" | "text" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals"; "aria-required"?: boolean | "false" | "true"; "aria-roledescription"?: string; "aria-rowcount"?: number; "aria-rowindex"?: number; "aria-rowindextext"?: string; "aria-rowspan"?: number; "aria-selected"?: boolean | "false" | "true"; "aria-setsize"?: number; "aria-sort"?: "none" | "ascending" | "descending" | "other"; "aria-valuemax"?: number; "aria-valuemin"?: number; "aria-valuenow"?: number; "aria-valuetext"?: string; children?: React.ReactNode; dangerouslySetInnerHTML?: { __html: string | TrustedHTML; }; onCopy?: React.ClipboardEventHandler; onCopyCapture?: React.ClipboardEventHandler; onCut?: React.ClipboardEventHandler; onCutCapture?: React.ClipboardEventHandler; onPaste?: React.ClipboardEventHandler; onPasteCapture?: React.ClipboardEventHandler; onCompositionEnd?: React.CompositionEventHandler; onCompositionEndCapture?: React.CompositionEventHandler; onCompositionStart?: React.CompositionEventHandler; onCompositionStartCapture?: React.CompositionEventHandler; onCompositionUpdate?: React.CompositionEventHandler; onCompositionUpdateCapture?: React.CompositionEventHandler; onFocus?: React.FocusEventHandler; onFocusCapture?: React.FocusEventHandler; onBlur?: React.FocusEventHandler; onBlurCapture?: React.FocusEventHandler; onChange?: React.ChangeEventHandler; onChangeCapture?: React.ChangeEventHandler; onBeforeInput?: React.InputEventHandler; onBeforeInputCapture?: React.InputEventHandler; onInput?: React.InputEventHandler; onInputCapture?: React.InputEventHandler; onReset?: React.ReactEventHandler; onResetCapture?: React.ReactEventHandler; onSubmit?: React.SubmitEventHandler; onSubmitCapture?: React.SubmitEventHandler; onInvalid?: React.ReactEventHandler; onInvalidCapture?: React.ReactEventHandler; onLoad?: React.ReactEventHandler; onLoadCapture?: React.ReactEventHandler; onError?: React.ReactEventHandler; onErrorCapture?: React.ReactEventHandler; onKeyDown?: React.KeyboardEventHandler; onKeyDownCapture?: React.KeyboardEventHandler; onKeyPress?: React.KeyboardEventHandler; onKeyPressCapture?: React.KeyboardEventHandler; onKeyUp?: React.KeyboardEventHandler; onKeyUpCapture?: React.KeyboardEventHandler; onAbort?: React.ReactEventHandler; onAbortCapture?: React.ReactEventHandler; onCanPlay?: React.ReactEventHandler; onCanPlayCapture?: React.ReactEventHandler; onCanPlayThrough?: React.ReactEventHandler; onCanPlayThroughCapture?: React.ReactEventHandler; onDurationChange?: React.ReactEventHandler; onDurationChangeCapture?: React.ReactEventHandler; onEmptied?: React.ReactEventHandler; onEmptiedCapture?: React.ReactEventHandler; onEncrypted?: React.ReactEventHandler; onEncryptedCapture?: React.ReactEventHandler; onEnded?: React.ReactEventHandler; onEndedCapture?: React.ReactEventHandler; onLoadedData?: React.ReactEventHandler; onLoadedDataCapture?: React.ReactEventHandler; onLoadedMetadata?: React.ReactEventHandler; onLoadedMetadataCapture?: React.ReactEventHandler; onLoadStart?: React.ReactEventHandler; onLoadStartCapture?: React.ReactEventHandler; onPause?: React.ReactEventHandler; onPauseCapture?: React.ReactEventHandler; onPlay?: React.ReactEventHandler; onPlayCapture?: React.ReactEventHandler; onPlaying?: React.ReactEventHandler; onPlayingCapture?: React.ReactEventHandler; onProgress?: React.ReactEventHandler; onProgressCapture?: React.ReactEventHandler; onRateChange?: React.ReactEventHandler; onRateChangeCapture?: React.ReactEventHandler; onSeeked?: React.ReactEventHandler; onSeekedCapture?: React.ReactEventHandler; onSeeking?: React.ReactEventHandler; onSeekingCapture?: React.ReactEventHandler; onStalled?: React.ReactEventHandler; onStalledCapture?: React.ReactEventHandler; onSuspend?: React.ReactEventHandler; onSuspendCapture?: React.ReactEventHandler; onTimeUpdate?: React.ReactEventHandler; onTimeUpdateCapture?: React.ReactEventHandler; onVolumeChange?: React.ReactEventHandler; onVolumeChangeCapture?: React.ReactEventHandler; onWaiting?: React.ReactEventHandler; onWaitingCapture?: React.ReactEventHandler; onAuxClick?: React.MouseEventHandler; onAuxClickCapture?: React.MouseEventHandler; onClick?: React.MouseEventHandler; onClickCapture?: React.MouseEventHandler; onContextMenu?: React.MouseEventHandler; onContextMenuCapture?: React.MouseEventHandler; onDoubleClick?: React.MouseEventHandler; onDoubleClickCapture?: React.MouseEventHandler; onDrag?: React.DragEventHandler; onDragCapture?: React.DragEventHandler; onDragEnd?: React.DragEventHandler; onDragEndCapture?: React.DragEventHandler; onDragEnter?: React.DragEventHandler; onDragEnterCapture?: React.DragEventHandler; onDragExit?: React.DragEventHandler; onDragExitCapture?: React.DragEventHandler; onDragLeave?: React.DragEventHandler; onDragLeaveCapture?: React.DragEventHandler; onDragOver?: React.DragEventHandler; onDragOverCapture?: React.DragEventHandler; onDragStart?: React.DragEventHandler; onDragStartCapture?: React.DragEventHandler; onDrop?: React.DragEventHandler; onDropCapture?: React.DragEventHandler; onMouseDown?: React.MouseEventHandler; onMouseDownCapture?: React.MouseEventHandler; onMouseEnter?: React.MouseEventHandler; onMouseLeave?: React.MouseEventHandler; onMouseMove?: React.MouseEventHandler; onMouseMoveCapture?: React.MouseEventHandler; onMouseOut?: React.MouseEventHandler; onMouseOutCapture?: React.MouseEventHandler; onMouseOver?: React.MouseEventHandler; onMouseOverCapture?: React.MouseEventHandler; onMouseUp?: React.MouseEventHandler; onMouseUpCapture?: React.MouseEventHandler; onSelect?: React.ReactEventHandler; onSelectCapture?: React.ReactEventHandler; onTouchCancel?: React.TouchEventHandler; onTouchCancelCapture?: React.TouchEventHandler; onTouchEnd?: React.TouchEventHandler; onTouchEndCapture?: React.TouchEventHandler; onTouchMove?: React.TouchEventHandler; onTouchMoveCapture?: React.TouchEventHandler; onTouchStart?: React.TouchEventHandler; onTouchStartCapture?: React.TouchEventHandler; onPointerDown?: React.PointerEventHandler; onPointerDownCapture?: React.PointerEventHandler; onPointerMove?: React.PointerEventHandler; onPointerMoveCapture?: React.PointerEventHandler; onPointerUp?: React.PointerEventHandler; onPointerUpCapture?: React.PointerEventHandler; onPointerCancel?: React.PointerEventHandler; onPointerCancelCapture?: React.PointerEventHandler; onPointerEnter?: React.PointerEventHandler; onPointerLeave?: React.PointerEventHandler; onPointerOver?: React.PointerEventHandler; onPointerOverCapture?: React.PointerEventHandler; onPointerOut?: React.PointerEventHandler; onPointerOutCapture?: React.PointerEventHandler; onGotPointerCapture?: React.PointerEventHandler; onGotPointerCaptureCapture?: React.PointerEventHandler; onLostPointerCapture?: React.PointerEventHandler; onLostPointerCaptureCapture?: React.PointerEventHandler; onScroll?: React.UIEventHandler; onScrollCapture?: React.UIEventHandler; onScrollEnd?: React.UIEventHandler; onScrollEndCapture?: React.UIEventHandler; onWheel?: React.WheelEventHandler; onWheelCapture?: React.WheelEventHandler; onAnimationStart?: React.AnimationEventHandler; onAnimationStartCapture?: React.AnimationEventHandler; onAnimationEnd?: React.AnimationEventHandler; onAnimationEndCapture?: React.AnimationEventHandler; onAnimationIteration?: React.AnimationEventHandler; onAnimationIterationCapture?: React.AnimationEventHandler; onToggle?: React.ToggleEventHandler; onBeforeToggle?: React.ToggleEventHandler; onTransitionCancel?: React.TransitionEventHandler; onTransitionCancelCapture?: React.TransitionEventHandler; onTransitionEnd?: React.TransitionEventHandler; onTransitionEndCapture?: React.TransitionEventHandler; onTransitionRun?: React.TransitionEventHandler; onTransitionRunCapture?: React.TransitionEventHandler; onTransitionStart?: React.TransitionEventHandler; onTransitionStartCapture?: React.TransitionEventHandler; align?: "left" | "right" | "center" | "justify" | "char"; colSpan?: number; headers?: string; rowSpan?: number; scope?: string; abbr?: string; height?: string | number; width?: string | number; valign?: "top" | "bottom" | "baseline" | "middle"; }; originRowSpan: number; }; declare const _default: { (props: BodyRowProps): React.JSX.Element; displayName: string; }; export default _default;