import React, { CSSProperties } from "react"; import { GetPopupContainer } from "antd/es/table/interface"; import { SelectOptions, TableColumn } from "@easyv/dtable-types/output/Column"; import { AttachmentValue, CellValue, CollaboratorValue, SelectValue, ForeignRowItem } from "@easyv/dtable-types/output/Cell"; interface Props { tips?: string; debounce?: number; placeholder?: string; bordered?: boolean; autoFocus?: boolean; lineClamp?: number; style?: CSSProperties; className?: string; column: TableColumn; value: CellValue; rowId: string; tableId?: string; disabled?: boolean; defaultOpen?: boolean; configurable?: boolean; prefix?: React.ReactNode; suffixIcon?: React.ReactNode; getPopupContainer?: GetPopupContainer; onForeignKeyDelete?: (v: ForeignRowItem) => void; onAddAttachment?: (file: any) => void; onDeleteAttachment?: (id: string) => void; onSelectDelete?(id: SelectValue | CollaboratorValue | AttachmentValue[0]["id"]): void; onSelectAdd?(id: SelectValue | CollaboratorValue | AttachmentValue[0]["id"]): void; onChangeOption?: (v: SelectOptions) => void; onChange?: (v: CellValue | null) => void; onBlur?: (v: CellValue) => void; onFcous?: () => void; onClickTag?: (v: ForeignRowItem) => void; onPressEnter?: () => void; } /** * @description: cell editor总入口 * @param {*} * @return {*} */ declare const CellEditor: (props: Props) => JSX.Element | null; export default CellEditor;