import type { ICellEditor } from './iCellEditor'; import type { Column } from './iColumn'; import type { EditPosition } from './iEditService'; import type { IRowNode } from './iRowNode'; /** * The state of a cell edit in batch editing mode. * - `'editing'`: An inline editor is currently open for this cell. * - `'changed'`: The editor has been closed and the pending value differs from the source. */ export type EditState = 'editing' | 'changed'; export type EditValidation = { errorMessages: string[]; }; export type EditValue = { editorValue: any; pendingValue: any; sourceValue: any; state: EditState; editorState: { cellStartedEditing?: boolean; cellStoppedEditing?: boolean; isCancelAfterEnd?: ReturnType>; isCancelBeforeStart?: ReturnType>; }; }; export type EditPositionValue = Required & EditValue; export type EditRow = Map; export type EditMap = Map>; export type EditValidationMap = Map>; export type EditRowValidationMap = Map; export type GetEditsParams = { checkSiblings?: boolean; includeParents?: boolean; withOpenEditor?: boolean; };