@plait/draw
Version:
Implementation of the core logic of the flowchart drawing tool plugin.
9 lines (8 loc) • 713 B
TypeScript
import { PlaitBoard, PlaitElement } from '@plait/core';
import { PlaitTableCell, PlaitBaseTable, PlaitTable } from '../interfaces/table';
export declare const isSingleSelectTable: (board: PlaitBoard) => boolean;
export declare const getSelectedTableElements: (board: PlaitBoard, elements?: PlaitElement[]) => PlaitTable[];
export declare const SELECTED_CELLS: WeakMap<PlaitBaseTable, PlaitTableCell[]>;
export declare function getSelectedCells(element: PlaitBaseTable): PlaitTableCell[] | undefined;
export declare function setSelectedCells(element: PlaitBaseTable, cells: PlaitTableCell[]): WeakMap<PlaitBaseTable, PlaitTableCell[]>;
export declare function clearSelectedCells(element: PlaitBaseTable): boolean;