@platform/ui.datagrid
Version:
Isolated tabular DataGrid.
73 lines (72 loc) • 1.63 kB
TypeScript
export declare const COLORS: {
WHITE: string;
DARK: string;
BLUE: string;
CLI: {
BLUE: string;
YELLOW: string;
MAGENTA: string;
CYAN: string;
LIME: string;
DARK_RED: string;
PURPLE: string;
PINK: string;
};
};
export { ROBOTO, MONOSPACE } from '@platform/ui.text/lib/common/constants';
import * as t from './types';
export declare const UNKNOWN = "UNKNOWN";
export declare const CSS: {
CLASS: {
GRID: {
BASE: string;
EDITOR: string;
FIRST: {
ROW: string;
COLUMN: string;
};
};
CELL: {
MARKDOWN: string;
BASE: string;
DEFAULT: string;
EDITOR: string;
BOLD: string;
ITALIC: string;
UNDERLINE: string;
FORMULA: string;
ERROR: string;
};
EDITOR: {
BASE: string;
DEFAULT: string;
};
SCREEN: {
BASE: string;
DEFAULT: string;
};
};
};
declare type CellPropDefaults = {
style: t.IGridCellPropsStyleAll;
merge: t.IGridCellPropsMergeAll;
view: t.IGridCellPropsViewAll;
};
export declare const DEFAULT: {
NS: t.INs;
KEY_BINDINGS: t.KeyBindings<t.GridCommand>;
TOTAL_COLUMNS: number;
TOTAL_ROWS: number;
ROW: {
HEIGHT: number;
HEIGHT_MIN: number;
};
COLUMN: {
WIDTH: number;
WIDTH_MIN: number;
};
CELL: {
RENDERER: string;
PROPS: CellPropDefaults;
};
};