@ember-lattice/ember 0.0.0-stage → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/LICENSE.md +21 -0
- package/NOTICE +30 -0
- package/README.md +139 -2
- package/addon-main.cjs +4 -0
- package/declarations/board/lattice-board.d.ts +122 -0
- package/declarations/board/lattice-board.d.ts.map +1 -0
- package/declarations/grid/alignment.d.ts +30 -0
- package/declarations/grid/alignment.d.ts.map +1 -0
- package/declarations/grid/auto-columns.d.ts +22 -0
- package/declarations/grid/auto-columns.d.ts.map +1 -0
- package/declarations/grid/cell-state.d.ts +17 -0
- package/declarations/grid/cell-state.d.ts.map +1 -0
- package/declarations/grid/clipboard.d.ts +7 -0
- package/declarations/grid/clipboard.d.ts.map +1 -0
- package/declarations/grid/keyboard.d.ts +24 -0
- package/declarations/grid/keyboard.d.ts.map +1 -0
- package/declarations/grid/lattice-grid.d.ts +741 -0
- package/declarations/grid/lattice-grid.d.ts.map +1 -0
- package/declarations/grid/row-number.d.ts +24 -0
- package/declarations/grid/row-number.d.ts.map +1 -0
- package/declarations/grid/selection.d.ts +24 -0
- package/declarations/grid/selection.d.ts.map +1 -0
- package/declarations/grid/state-host.d.ts +52 -0
- package/declarations/grid/state-host.d.ts.map +1 -0
- package/declarations/grid/types.d.ts +376 -0
- package/declarations/grid/types.d.ts.map +1 -0
- package/declarations/index.d.ts +19 -0
- package/declarations/index.d.ts.map +1 -0
- package/declarations/list/lattice-list.d.ts +184 -0
- package/declarations/list/lattice-list.d.ts.map +1 -0
- package/dist/index.js +4031 -0
- package/dist/index.js.map +1 -0
- package/package.json +92 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lattice-grid.d.ts","sourceRoot":"","sources":["../../src/grid/lattice-grid.gts"],"names":[],"mappings":"AA0gHA,OAAO,SAAS,MAAM,oBAAoB,CAAA;AAU1C,OAAO,KAAK,EAAE,UAAU,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AEF,4EAA4E;IAC5E,OAAO,CAAC,cAAc;IAatB,OAAO,CAAC,UAAU,CAA6B;IAC/C,OAAO,CAAC,eAAe,CAA4B;IAEnD,oFAAoF;IACpF,IAAI,UAAU,WAEb;IAED,cAAc,IAAI,cAAc;IAUhC,YAAY,CAAC,KAAK,EAAE,cAAc;IA2BlC,oFAAoF;IACpF,OAAO,CAAC,YAAY,CAAsB;IAE1C,WAAW,CAAC,IAAI,EAAE,MAAM;IAUxB,uFAAuF;IACvF,OAAO,CAAC,eAAe;IAUvB;;;;OAIG;IACH,WAAW;;;;;;OAeV;IAEQ,WAAW;IAQpB,mBAAmB,GAAI,QAAQ,UAAU,EAAE,OAAO,YAAY,UAkC7D;IAED,OAAO,CAAC,UAAU;IAk2BlB,IAAI,QAAQ,sCAEX;IAED,WAAW,GAAI,UAAU,MAAM,EAAE,OAAO,OAAO,sBACI;IAEnD,IAAI,UAAU,WAEb;IAED,IAAI,QAAQ,WAEX;IAED,8FAA8F;IAC9F,IAAI,YAAY,WAIf;IAED,IAAI,YAAY,WAEf;IAED,iDAAiD;IACjD,IAAI,YAAY,WAEf;IAED,2EAA2E;IAC3E,IAAI,WAAW,0CAId;IAED,IAAI,IAAI,wBAEP;IAED,IAAI,QAAQ,WAEX;IAED,sFAAsF;IACtF,SAAS,GAAI,OAAO,OAAO,uDAM1B;CACF"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { LatticeLocale } from '@ember-lattice/core';
|
|
2
|
+
import type { LatticeColumnMeta } from './types.ts';
|
|
3
|
+
/** The column def of the row number column. */
|
|
4
|
+
export interface RowNumberColumnDef {
|
|
5
|
+
id: string;
|
|
6
|
+
header: string;
|
|
7
|
+
size: number;
|
|
8
|
+
enableSorting: false;
|
|
9
|
+
enableResizing: false;
|
|
10
|
+
meta: {
|
|
11
|
+
lattice: LatticeColumnMeta;
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* A column def for row numbers. Put it in the `columns` of the table. The grid pins it at the
|
|
16
|
+
* inline start and shows the 1-based display position of each row (ADR 0018).
|
|
17
|
+
* The default header is the locale text of `locale` (`latticeLocale(owner)`), or English.
|
|
18
|
+
*/
|
|
19
|
+
export declare function rowNumberColumn(options?: {
|
|
20
|
+
header?: string;
|
|
21
|
+
size?: number;
|
|
22
|
+
locale?: LatticeLocale;
|
|
23
|
+
}): RowNumberColumnDef;
|
|
24
|
+
//# sourceMappingURL=row-number.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"row-number.d.ts","sourceRoot":"","sources":["../../src/grid/row-number.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AACxD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAEnD,+CAA+C;AAC/C,MAAM,WAAW,kBAAkB;IACjC,EAAE,EAAE,MAAM,CAAA;IACV,MAAM,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,MAAM,CAAA;IACZ,aAAa,EAAE,KAAK,CAAA;IACpB,cAAc,EAAE,KAAK,CAAA;IACrB,IAAI,EAAE;QAAE,OAAO,EAAE,iBAAiB,CAAA;KAAE,CAAA;CACrC;AAED;;;;GAIG;AACH,wBAAgB,eAAe,CAC7B,OAAO,GAAE;IAAE,MAAM,CAAC,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,aAAa,CAAA;CAAO,GACvE,kBAAkB,CAUpB"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { LatticeLocale } from '@ember-lattice/core';
|
|
2
|
+
import type { LatticeColumnMeta } from './types.ts';
|
|
3
|
+
/** The column def of the selection column. */
|
|
4
|
+
export interface SelectionColumnDef {
|
|
5
|
+
id: string;
|
|
6
|
+
header: string;
|
|
7
|
+
size: number;
|
|
8
|
+
enableSorting: false;
|
|
9
|
+
enableResizing: false;
|
|
10
|
+
meta: {
|
|
11
|
+
lattice: LatticeColumnMeta;
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* A column def for row selection. Put it in the `columns` of the table. The table needs the
|
|
16
|
+
* `rowSelectionFeature`.
|
|
17
|
+
* The default header is the locale text of `locale` (`latticeLocale(owner)`), or English.
|
|
18
|
+
*/
|
|
19
|
+
export declare function selectionColumn(options?: {
|
|
20
|
+
header?: string;
|
|
21
|
+
size?: number;
|
|
22
|
+
locale?: LatticeLocale;
|
|
23
|
+
}): SelectionColumnDef;
|
|
24
|
+
//# sourceMappingURL=selection.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"selection.d.ts","sourceRoot":"","sources":["../../src/grid/selection.gts"],"names":[],"mappings":"AAmFA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AAGxD,OAAO,KAAK,EAAwB,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAuDzE,8CAA8C;AAC9C,MAAM,WAAW,kBAAkB;IACjC,EAAE,EAAE,MAAM,CAAA;IACV,MAAM,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,MAAM,CAAA;IACZ,aAAa,EAAE,KAAK,CAAA;IACpB,cAAc,EAAE,KAAK,CAAA;IACrB,IAAI,EAAE;QAAE,OAAO,EAAE,iBAAiB,CAAA;KAAE,CAAA;CACrC;AAED;;;;GAIG;AACH,wBAAgB,eAAe,CAC7B,OAAO,GAAE;IAAE,MAAM,CAAC,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,aAAa,CAAA;CAAO,GACvE,kBAAkB,CAUpB"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
export interface GridScrollOffset {
|
|
2
|
+
top: number;
|
|
3
|
+
left: number;
|
|
4
|
+
}
|
|
5
|
+
export interface GridCellRef {
|
|
6
|
+
rowId: string;
|
|
7
|
+
columnId: string;
|
|
8
|
+
}
|
|
9
|
+
export interface GridHostState {
|
|
10
|
+
scroll?: GridScrollOffset;
|
|
11
|
+
activeCell?: GridCellRef | null;
|
|
12
|
+
}
|
|
13
|
+
/** The part of `LatticeGrid` that the host uses. */
|
|
14
|
+
export interface GridStateTarget {
|
|
15
|
+
readState(): Required<GridHostState>;
|
|
16
|
+
applyState(state: GridHostState): void;
|
|
17
|
+
scrollToCell(rowId: string, columnId: string): boolean;
|
|
18
|
+
autoSizeColumns(columnIds?: ReadonlyArray<string>): void;
|
|
19
|
+
startEditing(rowId: string, columnId: string): boolean;
|
|
20
|
+
}
|
|
21
|
+
export declare class GridStateHandle {
|
|
22
|
+
private grid;
|
|
23
|
+
private pending;
|
|
24
|
+
private listeners;
|
|
25
|
+
/** Before the grid renders, this is the state that waits for it. */
|
|
26
|
+
read(): GridHostState;
|
|
27
|
+
/** Before the grid renders, the state waits; the grid applies it when it attaches. */
|
|
28
|
+
apply(state: GridHostState): void;
|
|
29
|
+
/**
|
|
30
|
+
* Makes a cell the active cell and scrolls it into view. The focus does not move. False: the
|
|
31
|
+
* grid has not rendered, or it has no such row (with a row model: no loaded row) or column.
|
|
32
|
+
*/
|
|
33
|
+
scrollToCell(rowId: string, columnId: string): boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Sizes the columns to their widest rendered content: all columns, or the given columns. A
|
|
36
|
+
* column that is not rendered keeps its size. Before the grid renders, it does nothing.
|
|
37
|
+
*/
|
|
38
|
+
autoSizeColumns(columnIds?: ReadonlyArray<string>): void;
|
|
39
|
+
/**
|
|
40
|
+
* Opens the editor of a cell, as F2 does: the cell becomes the active cell, scrolls into view,
|
|
41
|
+
* and the editor gets the focus. It works with any `editTrigger`, also `none`. False: the grid
|
|
42
|
+
* has not rendered, has no `@editing`, or has no such loaded row or column, or the cell cannot
|
|
43
|
+
* be edited.
|
|
44
|
+
*/
|
|
45
|
+
startEditing(rowId: string, columnId: string): boolean;
|
|
46
|
+
subscribe(listener: () => void): () => void;
|
|
47
|
+
/** The grid calls this when it renders. The returned function detaches it. */
|
|
48
|
+
attach(grid: GridStateTarget): () => void;
|
|
49
|
+
/** The grid calls this when its scroll offset or its active cell changes. */
|
|
50
|
+
notify(): void;
|
|
51
|
+
}
|
|
52
|
+
//# sourceMappingURL=state-host.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"state-host.d.ts","sourceRoot":"","sources":["../../src/grid/state-host.ts"],"names":[],"mappings":"AAIA,MAAM,WAAW,gBAAgB;IAC/B,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;CACb;AAED,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,WAAW,aAAa;IAC5B,MAAM,CAAC,EAAE,gBAAgB,CAAA;IACzB,UAAU,CAAC,EAAE,WAAW,GAAG,IAAI,CAAA;CAChC;AAED,oDAAoD;AACpD,MAAM,WAAW,eAAe;IAC9B,SAAS,IAAI,QAAQ,CAAC,aAAa,CAAC,CAAA;IACpC,UAAU,CAAC,KAAK,EAAE,aAAa,GAAG,IAAI,CAAA;IACtC,YAAY,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAA;IACtD,eAAe,CAAC,SAAS,CAAC,EAAE,aAAa,CAAC,MAAM,CAAC,GAAG,IAAI,CAAA;IACxD,YAAY,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAA;CACvD;AAKD,qBAAa,eAAe;IAC1B,OAAO,CAAC,IAAI,CAA+B;IAC3C,OAAO,CAAC,OAAO,CAAoB;IACnC,OAAO,CAAC,SAAS,CAAwB;IAEzC,oEAAoE;IACpE,IAAI,IAAI,aAAa;IAIrB,sFAAsF;IACtF,KAAK,CAAC,KAAK,EAAE,aAAa,GAAG,IAAI;IAKjC;;;OAGG;IACH,YAAY,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO;IAItD;;;OAGG;IACH,eAAe,CAAC,SAAS,CAAC,EAAE,aAAa,CAAC,MAAM,CAAC,GAAG,IAAI;IAIxD;;;;;OAKG;IACH,YAAY,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO;IAItD,SAAS,CAAC,QAAQ,EAAE,MAAM,IAAI,GAAG,MAAM,IAAI;IAK3C,8EAA8E;IAC9E,MAAM,CAAC,IAAI,EAAE,eAAe,GAAG,MAAM,IAAI;IAazC,6EAA6E;IAC7E,MAAM,IAAI,IAAI;CAGf"}
|
|
@@ -0,0 +1,376 @@
|
|
|
1
|
+
import type { ComponentLike } from '@glint/template';
|
|
2
|
+
import type { CellData, RowData, TableFeatures } from '@ember-lattice/core';
|
|
3
|
+
import type { CellState } from './cell-state.ts';
|
|
4
|
+
/** The column options of `LatticeGrid`, in `columnDef.meta.lattice`. */
|
|
5
|
+
export interface LatticeColumnMeta {
|
|
6
|
+
/** A full cell component. */
|
|
7
|
+
cell?: ComponentLike<LatticeCellSignature>;
|
|
8
|
+
/** `'cheap'` cells reuse row slots. `'full'` cells are keyed by row ID (ADR 0002). */
|
|
9
|
+
cellKind?: 'cheap' | 'full';
|
|
10
|
+
/** The text of a cheap cell. Default: `String(value ?? '')`. */
|
|
11
|
+
format?: (value: unknown) => string;
|
|
12
|
+
/** The text alignment, in logical directions. */
|
|
13
|
+
align?: 'start' | 'end' | 'center';
|
|
14
|
+
/** `popup`: the editor opens under the cell, not over it. Default: `cell`. */
|
|
15
|
+
editMode?: 'cell' | 'popup';
|
|
16
|
+
/**
|
|
17
|
+
* The pointer action that opens the editor of this column: `singleClick`, `doubleClick` or
|
|
18
|
+
* `none` (only the keys). Default: the grid `@editTrigger`.
|
|
19
|
+
*/
|
|
20
|
+
editTrigger?: GridEditTrigger;
|
|
21
|
+
/** A component in the header cell, after the label: a column menu button, for example. */
|
|
22
|
+
header?: ComponentLike<LatticeHeaderSignature>;
|
|
23
|
+
/** The cells of this column have a drag handle: a drag moves the row (`@onRowMove`). */
|
|
24
|
+
rowDrag?: boolean;
|
|
25
|
+
/** The tooltip text of a cell, shown on hover and on focus. No text: no tooltip. */
|
|
26
|
+
tooltip?: (value: unknown, row: GridRow) => string | undefined;
|
|
27
|
+
/** True for the row number column (`rowNumberColumn()`): pinned at the start, cells show the row position. */
|
|
28
|
+
rowNumber?: boolean;
|
|
29
|
+
/** A component in place of the header label text: an editable header, for example. */
|
|
30
|
+
headerLabel?: ComponentLike<LatticeHeaderLabelSignature>;
|
|
31
|
+
/**
|
|
32
|
+
* The accessible description of a cell, for example a validation message. The cell gets
|
|
33
|
+
* `aria-describedby`, also with an open note or tooltip. No text: no description.
|
|
34
|
+
*/
|
|
35
|
+
cellDescription?: (row: GridRow, column: GridColumn) => string | undefined;
|
|
36
|
+
/** True: the cell gets `aria-invalid="true"`. */
|
|
37
|
+
cellInvalid?: (row: GridRow, column: GridColumn) => boolean;
|
|
38
|
+
}
|
|
39
|
+
/** The pointer action that opens a cell editor (`@editTrigger`, `meta.lattice.editTrigger`). */
|
|
40
|
+
export type GridEditTrigger = 'singleClick' | 'doubleClick' | 'none';
|
|
41
|
+
/** The args of a header label component (`meta.lattice.headerLabel`). */
|
|
42
|
+
export interface LatticeHeaderLabelSignature {
|
|
43
|
+
Args: {
|
|
44
|
+
column: GridColumn;
|
|
45
|
+
label: string;
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* The part of a `@ember-lattice/column-types` `ColumnType` that the grid reads, in
|
|
50
|
+
* `columnDef.meta.columnType`. A structural type: the grid does not import that package.
|
|
51
|
+
*/
|
|
52
|
+
export interface GridColumnType {
|
|
53
|
+
readonly name: string;
|
|
54
|
+
isValue?(input: unknown): boolean;
|
|
55
|
+
format(value: unknown, locale?: string): string;
|
|
56
|
+
}
|
|
57
|
+
/** The notes hook (`@notes`): the note of a cell, or undefined. */
|
|
58
|
+
export interface GridNotes {
|
|
59
|
+
noteAt(rowId: string, columnId: string): string | undefined;
|
|
60
|
+
}
|
|
61
|
+
/** The part of the grid API that a header slot and a floating filter get (`@grid`). */
|
|
62
|
+
export interface GridHeaderApi {
|
|
63
|
+
/** Sizes the columns to their widest rendered content: all columns, or the given columns. */
|
|
64
|
+
autoSizeColumns(columnIds?: ReadonlyArray<string>): void;
|
|
65
|
+
}
|
|
66
|
+
/** The args of a header slot (`meta.lattice.header`) and of a floating filter (`@floatingFilter`). */
|
|
67
|
+
export interface LatticeHeaderSignature {
|
|
68
|
+
Args: {
|
|
69
|
+
column: GridColumn;
|
|
70
|
+
grid: GridHeaderApi;
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
/** The find hook (`@find`): a `FindModel` from `@ember-lattice/ui` fits it. */
|
|
74
|
+
export interface GridFind {
|
|
75
|
+
/** The value of `data-find-match` on the cell: `current`, `match` or none. */
|
|
76
|
+
matchAt(rowId: string, columnId: string): 'current' | 'match' | undefined;
|
|
77
|
+
}
|
|
78
|
+
/** The cell of a context menu request: a right click, Shift+F10 or the ContextMenu key. */
|
|
79
|
+
export interface GridContextTarget {
|
|
80
|
+
row: GridRow;
|
|
81
|
+
column: GridColumn;
|
|
82
|
+
/** The point in the viewport where the menu opens. */
|
|
83
|
+
x: number;
|
|
84
|
+
y: number;
|
|
85
|
+
/** True when a key opened the menu. */
|
|
86
|
+
keyboard: boolean;
|
|
87
|
+
}
|
|
88
|
+
/** What the `contextMenu` block of `LatticeGrid` gets. */
|
|
89
|
+
export interface GridContextMenuApi {
|
|
90
|
+
/** The cell of the open request, or null. */
|
|
91
|
+
target: GridContextTarget | null;
|
|
92
|
+
/** The current ranges (0-based display indexes), or the active cell when there is no range. */
|
|
93
|
+
selection: ReadonlyArray<GridRange>;
|
|
94
|
+
/** Tell the grid that the menu closed. */
|
|
95
|
+
close: () => void;
|
|
96
|
+
/** The selected cells (or the active cell) as TSV, with the header labels first if asked. */
|
|
97
|
+
copyText: (withHeaders?: boolean) => string;
|
|
98
|
+
/** Pastes TSV at the start of the selection, through `@editing`. */
|
|
99
|
+
pasteText: (text: string) => Promise<void>;
|
|
100
|
+
}
|
|
101
|
+
declare module '@ember-lattice/core' {
|
|
102
|
+
interface ColumnMeta<in out _TFeatures extends TableFeatures, in out _TData extends RowData, _TValue extends CellData = CellData> {
|
|
103
|
+
lattice?: LatticeColumnMeta;
|
|
104
|
+
/** The column type of `@ember-lattice/column-types` `columnType()`. */
|
|
105
|
+
columnType?: GridColumnType;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
export type PinSide = false | 'start' | 'end';
|
|
109
|
+
export interface GridColumn {
|
|
110
|
+
id: string;
|
|
111
|
+
columnDef: {
|
|
112
|
+
header?: unknown;
|
|
113
|
+
meta?: {
|
|
114
|
+
lattice?: LatticeColumnMeta;
|
|
115
|
+
columnType?: GridColumnType;
|
|
116
|
+
};
|
|
117
|
+
/** The flex share of the free width (core `applyFlexWidths`). */
|
|
118
|
+
flex?: number;
|
|
119
|
+
minSize?: number;
|
|
120
|
+
maxSize?: number;
|
|
121
|
+
};
|
|
122
|
+
getSize?(): number;
|
|
123
|
+
getIsVisible?(): boolean;
|
|
124
|
+
getStart?(position?: PinSide | 'center'): number;
|
|
125
|
+
getAfter?(position?: PinSide | 'center'): number;
|
|
126
|
+
getIsPinned?(): PinSide;
|
|
127
|
+
getCanSort?(): boolean;
|
|
128
|
+
getIsSorted?(): false | 'asc' | 'desc';
|
|
129
|
+
getToggleSortingHandler?(): undefined | ((event: unknown) => void);
|
|
130
|
+
getCanResize?(): boolean;
|
|
131
|
+
}
|
|
132
|
+
export interface GridHeader {
|
|
133
|
+
id: string;
|
|
134
|
+
colSpan: number;
|
|
135
|
+
isPlaceholder: boolean;
|
|
136
|
+
column: GridColumn;
|
|
137
|
+
getContext(): object;
|
|
138
|
+
getLeafHeaders(): ReadonlyArray<GridHeader>;
|
|
139
|
+
}
|
|
140
|
+
export interface GridHeaderGroup {
|
|
141
|
+
id: string;
|
|
142
|
+
depth: number;
|
|
143
|
+
headers: ReadonlyArray<GridHeader>;
|
|
144
|
+
}
|
|
145
|
+
export interface GridCell {
|
|
146
|
+
id: string;
|
|
147
|
+
getValue(): unknown;
|
|
148
|
+
getSelectionStartHandler?(contextDocument?: Document): (event: unknown) => void;
|
|
149
|
+
getSelectionExtendHandler?(): (event: unknown) => void;
|
|
150
|
+
getRowSpan?(): number;
|
|
151
|
+
getColSpan?(): number;
|
|
152
|
+
}
|
|
153
|
+
export interface GridRow {
|
|
154
|
+
id: string;
|
|
155
|
+
index: number;
|
|
156
|
+
original: unknown;
|
|
157
|
+
getValue(columnId: string): unknown;
|
|
158
|
+
getAllCellsByColumnId(): Record<string, GridCell>;
|
|
159
|
+
getCanSelect?(): boolean;
|
|
160
|
+
getCanMultiSelect?(): boolean;
|
|
161
|
+
getIsSelected?(): boolean;
|
|
162
|
+
toggleSelected?(value?: boolean): void;
|
|
163
|
+
/** The 0-based depth: 0 for a root row. */
|
|
164
|
+
depth?: number;
|
|
165
|
+
getIsGrouped?(): boolean;
|
|
166
|
+
getCanExpand?(): boolean;
|
|
167
|
+
getIsExpanded?(): boolean;
|
|
168
|
+
toggleExpanded?(expanded?: boolean): void;
|
|
169
|
+
groupingColumnId?: string;
|
|
170
|
+
groupingValue?: unknown;
|
|
171
|
+
getLeafRows?(): ReadonlyArray<unknown>;
|
|
172
|
+
getParentRow?(): GridRow | undefined;
|
|
173
|
+
}
|
|
174
|
+
type Updater<T> = T | ((old: T) => T);
|
|
175
|
+
/** The table that `LatticeGrid` reads. A table from `constructTable` fits this type. */
|
|
176
|
+
export interface GridTable {
|
|
177
|
+
getHeaderGroups(): ReadonlyArray<GridHeaderGroup>;
|
|
178
|
+
getRowModel(): {
|
|
179
|
+
rows: ReadonlyArray<GridRow>;
|
|
180
|
+
};
|
|
181
|
+
getAllLeafColumns(): ReadonlyArray<GridColumn>;
|
|
182
|
+
getVisibleLeafColumns?(): ReadonlyArray<GridColumn>;
|
|
183
|
+
getStartVisibleLeafColumns?(): ReadonlyArray<GridColumn>;
|
|
184
|
+
getCenterVisibleLeafColumns?(): ReadonlyArray<GridColumn>;
|
|
185
|
+
getEndVisibleLeafColumns?(): ReadonlyArray<GridColumn>;
|
|
186
|
+
setColumnSizing?(updater: Updater<Record<string, number>>): void;
|
|
187
|
+
setColumnOrder?(updater: Updater<Array<string>>): void;
|
|
188
|
+
setColumnVisibility?(updater: Updater<Record<string, boolean>>): void;
|
|
189
|
+
toggleAllRowsSelected?(value?: boolean): void;
|
|
190
|
+
toggleAllRowsExpanded?(expanded?: boolean): void;
|
|
191
|
+
getTopRows?(): ReadonlyArray<GridRow>;
|
|
192
|
+
getCenterRows?(): ReadonlyArray<GridRow>;
|
|
193
|
+
getBottomRows?(): ReadonlyArray<GridRow>;
|
|
194
|
+
getCellSpanIndex?(): {
|
|
195
|
+
rowSpans: Record<string, ArrayLike<number>>;
|
|
196
|
+
};
|
|
197
|
+
getIsAllRowsSelected?(): boolean;
|
|
198
|
+
getCellSelectionBounds?(): ReadonlyArray<GridRange>;
|
|
199
|
+
getFocusedCell?(): unknown;
|
|
200
|
+
setFocusedCell?(rowId: string, columnId: string): void;
|
|
201
|
+
extendCellSelection?(direction: 'up' | 'down' | 'left' | 'right'): void;
|
|
202
|
+
selectAllCells?(): void;
|
|
203
|
+
selectCellRange?(range: {
|
|
204
|
+
anchorRowId: string;
|
|
205
|
+
anchorColumnId: string;
|
|
206
|
+
focusRowId: string;
|
|
207
|
+
focusColumnId: string;
|
|
208
|
+
}, options?: {
|
|
209
|
+
mode?: 'replace' | 'include' | 'exclude';
|
|
210
|
+
}): void;
|
|
211
|
+
}
|
|
212
|
+
/** A range of cells, as inclusive 0-based display indexes (the engine `CellSelectionBounds`). */
|
|
213
|
+
export interface GridRange {
|
|
214
|
+
minRowIndex: number;
|
|
215
|
+
maxRowIndex: number;
|
|
216
|
+
minColumnIndex: number;
|
|
217
|
+
maxColumnIndex: number;
|
|
218
|
+
}
|
|
219
|
+
/** One cell: its row and its column. */
|
|
220
|
+
export interface GridEditCell {
|
|
221
|
+
row: GridRow;
|
|
222
|
+
column: GridColumn;
|
|
223
|
+
}
|
|
224
|
+
/** The editor that the grid renders in `.lt-overlay` while a cell is in edit. */
|
|
225
|
+
export interface GridEditorSignature {
|
|
226
|
+
Args: {
|
|
227
|
+
cell: GridEditCell;
|
|
228
|
+
/** Put this on the focusable element of the editor. */
|
|
229
|
+
id: string;
|
|
230
|
+
/** The accessible name of the editor: the column header. */
|
|
231
|
+
label: string;
|
|
232
|
+
value: unknown;
|
|
233
|
+
onChange: (value: unknown) => void;
|
|
234
|
+
invalid: boolean;
|
|
235
|
+
};
|
|
236
|
+
}
|
|
237
|
+
/**
|
|
238
|
+
* The editing plug-in of the grid (`@editing`). `@ember-lattice/editing` gives one
|
|
239
|
+
* (`EditController`). The grid owns the keys, the focus, the overlay and the range geometry. The
|
|
240
|
+
* plug-in owns the values: the edit machine, validation, the save, batch staging and undo.
|
|
241
|
+
*/
|
|
242
|
+
export interface GridEditing {
|
|
243
|
+
/** The cell in edit, or null. */
|
|
244
|
+
readonly active: GridEditCell | null;
|
|
245
|
+
/** The value in the editor. */
|
|
246
|
+
readonly draft: unknown;
|
|
247
|
+
setDraft: (value: unknown) => void;
|
|
248
|
+
/** The state of the edit machine, for `data-lt-edit-state`. */
|
|
249
|
+
readonly state: string;
|
|
250
|
+
/** The validation errors of the edit. */
|
|
251
|
+
readonly errors: readonly string[];
|
|
252
|
+
readonly Editor: ComponentLike<GridEditorSignature>;
|
|
253
|
+
canEdit(cell: GridEditCell): boolean;
|
|
254
|
+
/** Opens the editor. A `text` (a typed key) replaces the value. */
|
|
255
|
+
begin(cell: GridEditCell, text?: string): void;
|
|
256
|
+
/** Validates and saves (or stages) the draft. False: the value is not valid. */
|
|
257
|
+
commit(): Promise<boolean>;
|
|
258
|
+
cancel(): void;
|
|
259
|
+
undo(): Promise<void>;
|
|
260
|
+
redo(): Promise<void>;
|
|
261
|
+
/** A value that is staged or in a save, which the grid shows in place of the row value. */
|
|
262
|
+
pendingValue(rowId: string, columnId: string): {
|
|
263
|
+
value: unknown;
|
|
264
|
+
} | undefined;
|
|
265
|
+
/** True for a staged value of a batch edit (`data-dirty`). */
|
|
266
|
+
isDirty(rowId: string, columnId: string): boolean;
|
|
267
|
+
/** Pastes TSV text. `cellAt(row, col)` gives the cell at an offset from the paste origin. */
|
|
268
|
+
paste(text: string, cellAt: (row: number, col: number) => GridEditCell | undefined): Promise<void>;
|
|
269
|
+
/** Fills each line: the values of `source` extend into `target`, in order. */
|
|
270
|
+
fill(lines: ReadonlyArray<{
|
|
271
|
+
source: GridEditCell[];
|
|
272
|
+
target: GridEditCell[];
|
|
273
|
+
}>): Promise<void>;
|
|
274
|
+
/** Clears the cells (a cut). */
|
|
275
|
+
clear(cells: GridEditCell[]): Promise<void>;
|
|
276
|
+
/** The last result to announce (a save, a failed save, a paste). The grid live region reads it. */
|
|
277
|
+
readonly message?: string;
|
|
278
|
+
/** `row`: Enter opens an editor for each editable column of the row (full-row edit). */
|
|
279
|
+
readonly mode?: 'cell' | 'row';
|
|
280
|
+
/** The row in a full-row edit, or null. */
|
|
281
|
+
readonly activeRow?: GridRow | null;
|
|
282
|
+
/** The values of a full-row edit, by column ID. */
|
|
283
|
+
readonly rowDraft?: Readonly<Record<string, unknown>>;
|
|
284
|
+
setRowValue?: (columnId: string, value: unknown) => void;
|
|
285
|
+
/** Opens a full-row edit. The plug-in keeps the columns that it can edit. */
|
|
286
|
+
beginRow?(row: GridRow, columns: ReadonlyArray<GridColumn>): void;
|
|
287
|
+
/** Validates all fields and saves them as one undo step. False: a value is not valid. */
|
|
288
|
+
commitRow?(): Promise<boolean>;
|
|
289
|
+
readonly RowEditor?: ComponentLike<GridRowEditorSignature>;
|
|
290
|
+
}
|
|
291
|
+
/** One field of a full-row edit. */
|
|
292
|
+
export interface GridRowEditorField {
|
|
293
|
+
column: GridColumn;
|
|
294
|
+
/** The ID for the control of the field. */
|
|
295
|
+
id: string;
|
|
296
|
+
/** The accessible name: the column header. */
|
|
297
|
+
label: string;
|
|
298
|
+
}
|
|
299
|
+
/** The row editor that the grid renders over the row in a full-row edit. */
|
|
300
|
+
export interface GridRowEditorSignature {
|
|
301
|
+
Args: {
|
|
302
|
+
row: GridRow;
|
|
303
|
+
fields: ReadonlyArray<GridRowEditorField>;
|
|
304
|
+
values: Readonly<Record<string, unknown>>;
|
|
305
|
+
onChange: (columnId: string, value: unknown) => void;
|
|
306
|
+
};
|
|
307
|
+
}
|
|
308
|
+
/** A row move in one grid (`@onRowMove`): the app moves the row in its data. */
|
|
309
|
+
export interface GridRowMove {
|
|
310
|
+
row: GridRow;
|
|
311
|
+
/** The 0-based display index of the row. */
|
|
312
|
+
fromIndex: number;
|
|
313
|
+
/** The 0-based display index where the row goes. */
|
|
314
|
+
toIndex: number;
|
|
315
|
+
}
|
|
316
|
+
/** A row from another grid, dropped on this grid (`@onRowDrop`). */
|
|
317
|
+
export interface GridRowDrop {
|
|
318
|
+
row: GridRow;
|
|
319
|
+
/** The accessible name (`@label`) of the grid that the row comes from. */
|
|
320
|
+
source: string;
|
|
321
|
+
/** The 0-based display index where the row goes. */
|
|
322
|
+
toIndex: number;
|
|
323
|
+
}
|
|
324
|
+
/** The args of a full-width row component (`@fullWidthRow`) and a detail row (`@detailRow`). */
|
|
325
|
+
export interface GridRowComponentSignature {
|
|
326
|
+
Args: {
|
|
327
|
+
row: GridRow;
|
|
328
|
+
};
|
|
329
|
+
}
|
|
330
|
+
/** The arguments of a full cell component. */
|
|
331
|
+
export interface LatticeCellSignature {
|
|
332
|
+
Args: {
|
|
333
|
+
cell: GridCell;
|
|
334
|
+
row: GridRow;
|
|
335
|
+
column: GridColumn;
|
|
336
|
+
value: unknown;
|
|
337
|
+
state: CellState;
|
|
338
|
+
};
|
|
339
|
+
}
|
|
340
|
+
/** A group row of a server row model. */
|
|
341
|
+
export interface GridGroupInfo {
|
|
342
|
+
/** The 1-based level (`aria-level`). */
|
|
343
|
+
level: number;
|
|
344
|
+
expanded: boolean;
|
|
345
|
+
/** The text of the group cell, for example `red (12)`. */
|
|
346
|
+
label: string;
|
|
347
|
+
}
|
|
348
|
+
/**
|
|
349
|
+
* A row model from `@ember-lattice/data` (or any object of this shape). With `@rowModel`, the
|
|
350
|
+
* grid shows the rows of the model, not `table.getRowModel()`. A row that is not loaded is a
|
|
351
|
+
* skeleton row.
|
|
352
|
+
*/
|
|
353
|
+
export interface GridRowModel {
|
|
354
|
+
/** The number of rows, or null when it is not known (`aria-rowcount="-1"`). */
|
|
355
|
+
readonly rowCount: number | null;
|
|
356
|
+
/** The number of rows the grid shows: loaded rows and skeleton rows. */
|
|
357
|
+
readonly displayCount: number;
|
|
358
|
+
/** The row at a display index, or undefined when it is not loaded. */
|
|
359
|
+
rowAt(index: number): GridRow | undefined;
|
|
360
|
+
/** True when the load of the row failed. */
|
|
361
|
+
failedAt?(index: number): boolean;
|
|
362
|
+
/** The grid calls this after a render with the rows in view (`end` is exclusive). */
|
|
363
|
+
setRange(start: number, end: number): void;
|
|
364
|
+
/** A value that changes with the query (sort, filter, group). */
|
|
365
|
+
readonly queryKey?: string;
|
|
366
|
+
/** True when rows have levels: the grid is a treegrid. */
|
|
367
|
+
readonly tree?: boolean;
|
|
368
|
+
/** The 1-based level of a row. */
|
|
369
|
+
levelAt?(index: number): number;
|
|
370
|
+
groupAt?(index: number): GridGroupInfo | undefined;
|
|
371
|
+
toggleGroup?(index: number): void;
|
|
372
|
+
/** The grand total: a row pinned to the bottom of the grid, after the last row. */
|
|
373
|
+
readonly totalRow?: GridRow;
|
|
374
|
+
}
|
|
375
|
+
export {};
|
|
376
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/grid/types.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CA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OAAO,CAAA;CAC5B"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export { default as LatticeGrid } from './grid/lattice-grid';
|
|
2
|
+
export type { LatticeGridSignature } from './grid/lattice-grid';
|
|
3
|
+
export { CellState, CellStateStore } from './grid/cell-state.ts';
|
|
4
|
+
export type { GridCell, GridColumn, GridContextMenuApi, GridContextTarget, GridColumnType, GridFind, GridNotes, GridEditCell, GridEditTrigger, GridEditing, GridEditorSignature, GridRowEditorField, GridRowEditorSignature, GridRange, GridGroupInfo, GridRowModel, GridHeader, GridHeaderGroup, GridRow, GridRowComponentSignature, GridRowDrop, GridRowMove, GridTable, LatticeCellSignature, LatticeColumnMeta, LatticeHeaderLabelSignature, GridHeaderApi, LatticeHeaderSignature, PinSide, } from './grid/types.ts';
|
|
5
|
+
export { GridStateHandle } from './grid/state-host.ts';
|
|
6
|
+
export type { GridCellRef, GridHostState, GridScrollOffset } from './grid/state-host.ts';
|
|
7
|
+
export { selectionColumn } from './grid/selection';
|
|
8
|
+
export type { SelectionColumnDef } from './grid/selection';
|
|
9
|
+
export { rowNumberColumn } from './grid/row-number.ts';
|
|
10
|
+
export type { RowNumberColumnDef } from './grid/row-number.ts';
|
|
11
|
+
export { default as LatticeList } from './list/lattice-list';
|
|
12
|
+
export type { LatticeListSignature, ListRole, ListTable } from './list/lattice-list';
|
|
13
|
+
export { default as LatticeBoard } from './board/lattice-board';
|
|
14
|
+
export type { LatticeBoardSignature } from './board/lattice-board';
|
|
15
|
+
export { autoColumns } from './grid/auto-columns.ts';
|
|
16
|
+
export type { AutoColumnDef, AutoColumnsOptions } from './grid/auto-columns.ts';
|
|
17
|
+
export { GridAlignment } from './grid/alignment.ts';
|
|
18
|
+
export type { AlignedColumns, AlignedGrid } from './grid/alignment.ts';
|
|
19
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":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