@tanstack/table-core 9.0.0-beta.14 → 9.0.0-beta.16
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/dist/core/cells/constructCell.d.cts +2 -2
- package/dist/core/cells/constructCell.d.ts +2 -2
- package/dist/core/cells/coreCellsFeature.types.d.cts +2 -2
- package/dist/core/cells/coreCellsFeature.types.d.ts +2 -2
- package/dist/core/cells/coreCellsFeature.utils.d.cts +2 -2
- package/dist/core/cells/coreCellsFeature.utils.d.ts +2 -2
- package/dist/core/columns/constructColumn.d.cts +2 -2
- package/dist/core/columns/constructColumn.d.ts +2 -2
- package/dist/core/columns/coreColumnsFeature.types.d.cts +2 -2
- package/dist/core/columns/coreColumnsFeature.types.d.ts +2 -2
- package/dist/core/columns/coreColumnsFeature.utils.d.cts +8 -8
- package/dist/core/columns/coreColumnsFeature.utils.d.ts +8 -8
- package/dist/core/headers/buildHeaderGroups.d.cts +2 -2
- package/dist/core/headers/buildHeaderGroups.d.ts +2 -2
- package/dist/core/headers/constructHeader.d.cts +2 -2
- package/dist/core/headers/constructHeader.d.ts +2 -2
- package/dist/core/headers/coreHeadersFeature.utils.d.cts +6 -6
- package/dist/core/headers/coreHeadersFeature.utils.d.ts +6 -6
- package/dist/core/row-models/coreRowModelsFeature.utils.d.cts +13 -13
- package/dist/core/row-models/coreRowModelsFeature.utils.d.ts +13 -13
- package/dist/core/row-models/createCoreRowModel.d.cts +2 -2
- package/dist/core/row-models/createCoreRowModel.d.ts +2 -2
- package/dist/core/rows/constructRow.d.cts +2 -2
- package/dist/core/rows/constructRow.d.ts +2 -2
- package/dist/core/rows/coreRowsFeature.types.d.cts +2 -2
- package/dist/core/rows/coreRowsFeature.types.d.ts +2 -2
- package/dist/core/rows/coreRowsFeature.utils.d.cts +3 -3
- package/dist/core/rows/coreRowsFeature.utils.d.ts +3 -3
- package/dist/core/table/coreTablesFeature.types.d.cts +1 -1
- package/dist/core/table/coreTablesFeature.types.d.ts +1 -1
- package/dist/core/table/coreTablesFeature.utils.d.cts +5 -5
- package/dist/core/table/coreTablesFeature.utils.d.ts +5 -5
- package/dist/features/column-faceting/columnFacetingFeature.utils.d.cts +8 -8
- package/dist/features/column-faceting/columnFacetingFeature.utils.d.ts +8 -8
- package/dist/features/column-filtering/columnFilteringFeature.utils.d.cts +12 -12
- package/dist/features/column-filtering/columnFilteringFeature.utils.d.ts +12 -12
- package/dist/features/column-grouping/columnGroupingFeature.utils.d.cts +11 -11
- package/dist/features/column-grouping/columnGroupingFeature.utils.d.ts +11 -11
- package/dist/features/column-ordering/columnOrderingFeature.utils.d.cts +9 -9
- package/dist/features/column-ordering/columnOrderingFeature.utils.d.ts +9 -9
- package/dist/features/column-pinning/columnPinningFeature.utils.d.cts +29 -29
- package/dist/features/column-pinning/columnPinningFeature.utils.d.ts +29 -29
- package/dist/features/column-resizing/columnResizingFeature.utils.d.cts +6 -6
- package/dist/features/column-resizing/columnResizingFeature.utils.d.ts +6 -6
- package/dist/features/column-sizing/columnSizingFeature.utils.d.cts +12 -12
- package/dist/features/column-sizing/columnSizingFeature.utils.d.ts +12 -12
- package/dist/features/column-visibility/columnVisibilityFeature.utils.d.cts +14 -14
- package/dist/features/column-visibility/columnVisibilityFeature.utils.d.ts +14 -14
- package/dist/features/global-filtering/globalFilteringFeature.utils.d.cts +6 -6
- package/dist/features/global-filtering/globalFilteringFeature.utils.d.ts +6 -6
- package/dist/features/row-expanding/rowExpandingFeature.utils.d.cts +10 -10
- package/dist/features/row-expanding/rowExpandingFeature.utils.d.ts +10 -10
- package/dist/features/row-pagination/rowPaginationFeature.utils.d.cts +17 -17
- package/dist/features/row-pagination/rowPaginationFeature.utils.d.ts +17 -17
- package/dist/features/row-pinning/rowPinningFeature.utils.d.cts +7 -7
- package/dist/features/row-pinning/rowPinningFeature.utils.d.ts +7 -7
- package/dist/features/row-selection/rowSelectionFeature.utils.d.cts +15 -15
- package/dist/features/row-selection/rowSelectionFeature.utils.d.ts +15 -15
- package/dist/features/row-sorting/rowSortingFeature.utils.d.cts +16 -16
- package/dist/features/row-sorting/rowSortingFeature.utils.d.ts +16 -16
- package/dist/fns/filterFns.cjs +2 -2
- package/dist/fns/filterFns.cjs.map +1 -1
- package/dist/fns/filterFns.js +2 -2
- package/dist/fns/filterFns.js.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/types/Column.d.cts +2 -4
- package/dist/types/Column.d.ts +2 -4
- package/dist/types/Table.d.cts +3 -16
- package/dist/types/Table.d.ts +3 -16
- package/dist/types/TableFeatures.d.cts +7 -7
- package/dist/types/TableFeatures.d.ts +7 -7
- package/dist/utils.d.cts +4 -4
- package/dist/utils.d.ts +4 -4
- package/package.json +2 -2
- package/src/core/headers/coreHeadersFeature.types.ts +2 -2
- package/src/fns/filterFns.ts +8 -2
- package/src/types/Column.ts +3 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CellData, RowData } from "../../types/type-utils.cjs";
|
|
2
2
|
import { Column } from "../../types/Column.cjs";
|
|
3
3
|
import { Row } from "../../types/Row.cjs";
|
|
4
|
-
|
|
4
|
+
|
|
5
5
|
import { TableFeatures } from "../../types/TableFeatures.cjs";
|
|
6
6
|
import { Cell } from "../../types/Cell.cjs";
|
|
7
7
|
|
|
@@ -11,7 +11,7 @@ import { Cell } from "../../types/Cell.cjs";
|
|
|
11
11
|
*
|
|
12
12
|
* This wires core properties, feature prototype APIs, and instance data used by table rendering and row-model operations.
|
|
13
13
|
*/
|
|
14
|
-
declare function constructCell<TFeatures extends TableFeatures, TData extends RowData, TValue extends CellData = CellData>(column: Column<TFeatures, TData, TValue>, row: Row<TFeatures, TData>, table:
|
|
14
|
+
declare function constructCell<TFeatures extends TableFeatures, TData extends RowData, TValue extends CellData = CellData>(column: Column<TFeatures, TData, TValue>, row: Row<TFeatures, TData>, table: Table<TFeatures, TData>): Cell<TFeatures, TData, TValue>;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { constructCell };
|
|
17
17
|
//# sourceMappingURL=constructCell.d.cts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CellData, RowData } from "../../types/type-utils.js";
|
|
2
2
|
import { Column } from "../../types/Column.js";
|
|
3
3
|
import { Row } from "../../types/Row.js";
|
|
4
|
-
|
|
4
|
+
|
|
5
5
|
import { TableFeatures } from "../../types/TableFeatures.js";
|
|
6
6
|
import { Cell } from "../../types/Cell.js";
|
|
7
7
|
|
|
@@ -11,7 +11,7 @@ import { Cell } from "../../types/Cell.js";
|
|
|
11
11
|
*
|
|
12
12
|
* This wires core properties, feature prototype APIs, and instance data used by table rendering and row-model operations.
|
|
13
13
|
*/
|
|
14
|
-
declare function constructCell<TFeatures extends TableFeatures, TData extends RowData, TValue extends CellData = CellData>(column: Column<TFeatures, TData, TValue>, row: Row<TFeatures, TData>, table:
|
|
14
|
+
declare function constructCell<TFeatures extends TableFeatures, TData extends RowData, TValue extends CellData = CellData>(column: Column<TFeatures, TData, TValue>, row: Row<TFeatures, TData>, table: Table<TFeatures, TData>): Cell<TFeatures, TData, TValue>;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { constructCell };
|
|
17
17
|
//# sourceMappingURL=constructCell.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CellData, Getter, RowData } from "../../types/type-utils.cjs";
|
|
2
2
|
import { Column } from "../../types/Column.cjs";
|
|
3
3
|
import { Row } from "../../types/Row.cjs";
|
|
4
|
-
import { Table
|
|
4
|
+
import { Table } from "../../types/Table.cjs";
|
|
5
5
|
import { TableFeatures } from "../../types/TableFeatures.cjs";
|
|
6
6
|
import { Cell } from "../../types/Cell.cjs";
|
|
7
7
|
|
|
@@ -30,7 +30,7 @@ interface Cell_CoreProperties<in out TFeatures extends TableFeatures, in out TDa
|
|
|
30
30
|
/**
|
|
31
31
|
* Reference to the parent table instance.
|
|
32
32
|
*/
|
|
33
|
-
table:
|
|
33
|
+
table: Table<TFeatures, TData>;
|
|
34
34
|
}
|
|
35
35
|
interface Cell_Cell<in out TFeatures extends TableFeatures, in out TData extends RowData, TValue extends CellData = CellData> extends Cell_CoreProperties<TFeatures, TData, TValue> {
|
|
36
36
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CellData, Getter, RowData } from "../../types/type-utils.js";
|
|
2
2
|
import { Column } from "../../types/Column.js";
|
|
3
3
|
import { Row } from "../../types/Row.js";
|
|
4
|
-
import { Table
|
|
4
|
+
import { Table } from "../../types/Table.js";
|
|
5
5
|
import { TableFeatures } from "../../types/TableFeatures.js";
|
|
6
6
|
import { Cell } from "../../types/Cell.js";
|
|
7
7
|
|
|
@@ -30,7 +30,7 @@ interface Cell_CoreProperties<in out TFeatures extends TableFeatures, in out TDa
|
|
|
30
30
|
/**
|
|
31
31
|
* Reference to the parent table instance.
|
|
32
32
|
*/
|
|
33
|
-
table:
|
|
33
|
+
table: Table<TFeatures, TData>;
|
|
34
34
|
}
|
|
35
35
|
interface Cell_Cell<in out TFeatures extends TableFeatures, in out TData extends RowData, TValue extends CellData = CellData> extends Cell_CoreProperties<TFeatures, TData, TValue> {
|
|
36
36
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CellData, NoInfer, RowData } from "../../types/type-utils.cjs";
|
|
2
2
|
import { Column } from "../../types/Column.cjs";
|
|
3
3
|
import { Row } from "../../types/Row.cjs";
|
|
4
|
-
|
|
4
|
+
|
|
5
5
|
import { TableFeatures } from "../../types/TableFeatures.cjs";
|
|
6
6
|
import { Cell } from "../../types/Cell.cjs";
|
|
7
7
|
//#region src/core/cells/coreCellsFeature.utils.d.ts
|
|
@@ -41,7 +41,7 @@ declare function cell_renderValue<TFeatures extends TableFeatures, TData extends
|
|
|
41
41
|
* ```
|
|
42
42
|
*/
|
|
43
43
|
declare function cell_getContext<TFeatures extends TableFeatures, TData extends RowData, TValue extends CellData = CellData>(cell: Cell<TFeatures, TData, TValue>): {
|
|
44
|
-
table:
|
|
44
|
+
table: Table<TFeatures, TData>;
|
|
45
45
|
column: Column<TFeatures, TData, TValue>;
|
|
46
46
|
row: Row<TFeatures, TData>;
|
|
47
47
|
cell: Cell<TFeatures, TData, TValue>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CellData, NoInfer, RowData } from "../../types/type-utils.js";
|
|
2
2
|
import { Column } from "../../types/Column.js";
|
|
3
3
|
import { Row } from "../../types/Row.js";
|
|
4
|
-
|
|
4
|
+
|
|
5
5
|
import { TableFeatures } from "../../types/TableFeatures.js";
|
|
6
6
|
import { Cell } from "../../types/Cell.js";
|
|
7
7
|
//#region src/core/cells/coreCellsFeature.utils.d.ts
|
|
@@ -41,7 +41,7 @@ declare function cell_renderValue<TFeatures extends TableFeatures, TData extends
|
|
|
41
41
|
* ```
|
|
42
42
|
*/
|
|
43
43
|
declare function cell_getContext<TFeatures extends TableFeatures, TData extends RowData, TValue extends CellData = CellData>(cell: Cell<TFeatures, TData, TValue>): {
|
|
44
|
-
table:
|
|
44
|
+
table: Table<TFeatures, TData>;
|
|
45
45
|
column: Column<TFeatures, TData, TValue>;
|
|
46
46
|
row: Row<TFeatures, TData>;
|
|
47
47
|
cell: Cell<TFeatures, TData, TValue>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CellData, RowData } from "../../types/type-utils.cjs";
|
|
2
2
|
import { Column } from "../../types/Column.cjs";
|
|
3
|
-
|
|
3
|
+
|
|
4
4
|
import { ColumnDef } from "../../types/ColumnDef.cjs";
|
|
5
5
|
import { TableFeatures } from "../../types/TableFeatures.cjs";
|
|
6
6
|
|
|
@@ -10,7 +10,7 @@ import { TableFeatures } from "../../types/TableFeatures.cjs";
|
|
|
10
10
|
*
|
|
11
11
|
* This wires core properties, feature prototype APIs, and instance data used by table rendering and row-model operations.
|
|
12
12
|
*/
|
|
13
|
-
declare function constructColumn<TFeatures extends TableFeatures, TData extends RowData, TValue extends CellData = CellData>(table:
|
|
13
|
+
declare function constructColumn<TFeatures extends TableFeatures, TData extends RowData, TValue extends CellData = CellData>(table: Table<TFeatures, TData>, columnDef: ColumnDef<TFeatures, TData, TValue>, depth: number, parent?: Column<TFeatures, TData, TValue>): Column<TFeatures, TData, TValue>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { constructColumn };
|
|
16
16
|
//# sourceMappingURL=constructColumn.d.cts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CellData, RowData } from "../../types/type-utils.js";
|
|
2
2
|
import { Column } from "../../types/Column.js";
|
|
3
|
-
|
|
3
|
+
|
|
4
4
|
import { ColumnDef } from "../../types/ColumnDef.js";
|
|
5
5
|
import { TableFeatures } from "../../types/TableFeatures.js";
|
|
6
6
|
|
|
@@ -10,7 +10,7 @@ import { TableFeatures } from "../../types/TableFeatures.js";
|
|
|
10
10
|
*
|
|
11
11
|
* This wires core properties, feature prototype APIs, and instance data used by table rendering and row-model operations.
|
|
12
12
|
*/
|
|
13
|
-
declare function constructColumn<TFeatures extends TableFeatures, TData extends RowData, TValue extends CellData = CellData>(table:
|
|
13
|
+
declare function constructColumn<TFeatures extends TableFeatures, TData extends RowData, TValue extends CellData = CellData>(table: Table<TFeatures, TData>, columnDef: ColumnDef<TFeatures, TData, TValue>, depth: number, parent?: Column<TFeatures, TData, TValue>): Column<TFeatures, TData, TValue>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { constructColumn };
|
|
16
16
|
//# sourceMappingURL=constructColumn.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CellData, RowData } from "../../types/type-utils.cjs";
|
|
2
2
|
import { Column } from "../../types/Column.cjs";
|
|
3
|
-
|
|
3
|
+
|
|
4
4
|
import { AccessorFn, ColumnDef } from "../../types/ColumnDef.cjs";
|
|
5
5
|
import { TableFeatures } from "../../types/TableFeatures.cjs";
|
|
6
6
|
|
|
@@ -36,7 +36,7 @@ interface Column_CoreProperties<in out TFeatures extends TableFeatures, in out T
|
|
|
36
36
|
/**
|
|
37
37
|
* Reference to the parent table instance.
|
|
38
38
|
*/
|
|
39
|
-
table:
|
|
39
|
+
table: Table<TFeatures, TData>;
|
|
40
40
|
}
|
|
41
41
|
interface Column_Column<in out TFeatures extends TableFeatures, in out TData extends RowData, TValue extends CellData = CellData> extends Column_CoreProperties<TFeatures, TData, TValue> {
|
|
42
42
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CellData, RowData } from "../../types/type-utils.js";
|
|
2
2
|
import { Column } from "../../types/Column.js";
|
|
3
|
-
|
|
3
|
+
|
|
4
4
|
import { AccessorFn, ColumnDef } from "../../types/ColumnDef.js";
|
|
5
5
|
import { TableFeatures } from "../../types/TableFeatures.js";
|
|
6
6
|
|
|
@@ -36,7 +36,7 @@ interface Column_CoreProperties<in out TFeatures extends TableFeatures, in out T
|
|
|
36
36
|
/**
|
|
37
37
|
* Reference to the parent table instance.
|
|
38
38
|
*/
|
|
39
|
-
table:
|
|
39
|
+
table: Table<TFeatures, TData>;
|
|
40
40
|
}
|
|
41
41
|
interface Column_Column<in out TFeatures extends TableFeatures, in out TData extends RowData, TValue extends CellData = CellData> extends Column_CoreProperties<TFeatures, TData, TValue> {
|
|
42
42
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CellData, RowData } from "../../types/type-utils.cjs";
|
|
2
2
|
import { Column } from "../../types/Column.cjs";
|
|
3
|
-
|
|
3
|
+
|
|
4
4
|
import { ColumnDef } from "../../types/ColumnDef.cjs";
|
|
5
5
|
import { TableFeatures } from "../../types/TableFeatures.cjs";
|
|
6
6
|
|
|
@@ -41,7 +41,7 @@ declare function column_getLeafColumns<TFeatures extends TableFeatures, TData ex
|
|
|
41
41
|
* const defaultColumn = table_getDefaultColumnDef(table)
|
|
42
42
|
* ```
|
|
43
43
|
*/
|
|
44
|
-
declare function table_getDefaultColumnDef<TFeatures extends TableFeatures, TData extends RowData>(table:
|
|
44
|
+
declare function table_getDefaultColumnDef<TFeatures extends TableFeatures, TData extends RowData>(table: Table<TFeatures, TData>): Partial<ColumnDef<TFeatures, TData, unknown>>;
|
|
45
45
|
/**
|
|
46
46
|
* Normalizes `options.columns` into the table's nested column tree.
|
|
47
47
|
*
|
|
@@ -53,7 +53,7 @@ declare function table_getDefaultColumnDef<TFeatures extends TableFeatures, TDat
|
|
|
53
53
|
* const columns = table_getAllColumns(table)
|
|
54
54
|
* ```
|
|
55
55
|
*/
|
|
56
|
-
declare function table_getAllColumns<TFeatures extends TableFeatures, TData extends RowData>(table:
|
|
56
|
+
declare function table_getAllColumns<TFeatures extends TableFeatures, TData extends RowData>(table: Table<TFeatures, TData>): Array<Column<TFeatures, TData, unknown>>;
|
|
57
57
|
/**
|
|
58
58
|
* Flattens every table column, including group columns and leaf columns.
|
|
59
59
|
*
|
|
@@ -65,7 +65,7 @@ declare function table_getAllColumns<TFeatures extends TableFeatures, TData exte
|
|
|
65
65
|
* const flatColumns = table_getAllFlatColumns(table)
|
|
66
66
|
* ```
|
|
67
67
|
*/
|
|
68
|
-
declare function table_getAllFlatColumns<TFeatures extends TableFeatures, TData extends RowData>(table:
|
|
68
|
+
declare function table_getAllFlatColumns<TFeatures extends TableFeatures, TData extends RowData>(table: Table<TFeatures, TData>): Array<Column<TFeatures, TData, unknown>>;
|
|
69
69
|
/**
|
|
70
70
|
* Builds an id lookup for every flat column in the table.
|
|
71
71
|
*
|
|
@@ -77,7 +77,7 @@ declare function table_getAllFlatColumns<TFeatures extends TableFeatures, TData
|
|
|
77
77
|
* const columnsById = table_getAllFlatColumnsById(table)
|
|
78
78
|
* ```
|
|
79
79
|
*/
|
|
80
|
-
declare function table_getAllFlatColumnsById<TFeatures extends TableFeatures, TData extends RowData>(table:
|
|
80
|
+
declare function table_getAllFlatColumnsById<TFeatures extends TableFeatures, TData extends RowData>(table: Table<TFeatures, TData>): Record<string, Column<TFeatures, TData, unknown>>;
|
|
81
81
|
/**
|
|
82
82
|
* Collects all terminal leaf columns in their current table order.
|
|
83
83
|
*
|
|
@@ -89,7 +89,7 @@ declare function table_getAllFlatColumnsById<TFeatures extends TableFeatures, TD
|
|
|
89
89
|
* const leafColumns = table_getAllLeafColumns(table)
|
|
90
90
|
* ```
|
|
91
91
|
*/
|
|
92
|
-
declare function table_getAllLeafColumns<TFeatures extends TableFeatures, TData extends RowData>(table:
|
|
92
|
+
declare function table_getAllLeafColumns<TFeatures extends TableFeatures, TData extends RowData>(table: Table<TFeatures, TData>): Array<Column<TFeatures, TData, unknown>>;
|
|
93
93
|
/**
|
|
94
94
|
* Builds an id lookup for terminal leaf columns only.
|
|
95
95
|
*
|
|
@@ -101,7 +101,7 @@ declare function table_getAllLeafColumns<TFeatures extends TableFeatures, TData
|
|
|
101
101
|
* const leavesById = table_getAllLeafColumnsById(table)
|
|
102
102
|
* ```
|
|
103
103
|
*/
|
|
104
|
-
declare function table_getAllLeafColumnsById<TFeatures extends TableFeatures, TData extends RowData>(table:
|
|
104
|
+
declare function table_getAllLeafColumnsById<TFeatures extends TableFeatures, TData extends RowData>(table: Table<TFeatures, TData>): Record<string, Column<TFeatures, TData, unknown>>;
|
|
105
105
|
/**
|
|
106
106
|
* Looks up a column by id from the flat column map.
|
|
107
107
|
*
|
|
@@ -113,7 +113,7 @@ declare function table_getAllLeafColumnsById<TFeatures extends TableFeatures, TD
|
|
|
113
113
|
* const column = table_getColumn(table, 'firstName')
|
|
114
114
|
* ```
|
|
115
115
|
*/
|
|
116
|
-
declare function table_getColumn<TFeatures extends TableFeatures, TData extends RowData>(table:
|
|
116
|
+
declare function table_getColumn<TFeatures extends TableFeatures, TData extends RowData>(table: Table<TFeatures, TData>, columnId: string): Column<TFeatures, TData, unknown> | undefined;
|
|
117
117
|
//#endregion
|
|
118
118
|
export { column_getFlatColumns, column_getLeafColumns, table_getAllColumns, table_getAllFlatColumns, table_getAllFlatColumnsById, table_getAllLeafColumns, table_getAllLeafColumnsById, table_getColumn, table_getDefaultColumnDef };
|
|
119
119
|
//# sourceMappingURL=coreColumnsFeature.utils.d.cts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CellData, RowData } from "../../types/type-utils.js";
|
|
2
2
|
import { Column } from "../../types/Column.js";
|
|
3
|
-
|
|
3
|
+
|
|
4
4
|
import { ColumnDef } from "../../types/ColumnDef.js";
|
|
5
5
|
import { TableFeatures } from "../../types/TableFeatures.js";
|
|
6
6
|
|
|
@@ -41,7 +41,7 @@ declare function column_getLeafColumns<TFeatures extends TableFeatures, TData ex
|
|
|
41
41
|
* const defaultColumn = table_getDefaultColumnDef(table)
|
|
42
42
|
* ```
|
|
43
43
|
*/
|
|
44
|
-
declare function table_getDefaultColumnDef<TFeatures extends TableFeatures, TData extends RowData>(table:
|
|
44
|
+
declare function table_getDefaultColumnDef<TFeatures extends TableFeatures, TData extends RowData>(table: Table<TFeatures, TData>): Partial<ColumnDef<TFeatures, TData, unknown>>;
|
|
45
45
|
/**
|
|
46
46
|
* Normalizes `options.columns` into the table's nested column tree.
|
|
47
47
|
*
|
|
@@ -53,7 +53,7 @@ declare function table_getDefaultColumnDef<TFeatures extends TableFeatures, TDat
|
|
|
53
53
|
* const columns = table_getAllColumns(table)
|
|
54
54
|
* ```
|
|
55
55
|
*/
|
|
56
|
-
declare function table_getAllColumns<TFeatures extends TableFeatures, TData extends RowData>(table:
|
|
56
|
+
declare function table_getAllColumns<TFeatures extends TableFeatures, TData extends RowData>(table: Table<TFeatures, TData>): Array<Column<TFeatures, TData, unknown>>;
|
|
57
57
|
/**
|
|
58
58
|
* Flattens every table column, including group columns and leaf columns.
|
|
59
59
|
*
|
|
@@ -65,7 +65,7 @@ declare function table_getAllColumns<TFeatures extends TableFeatures, TData exte
|
|
|
65
65
|
* const flatColumns = table_getAllFlatColumns(table)
|
|
66
66
|
* ```
|
|
67
67
|
*/
|
|
68
|
-
declare function table_getAllFlatColumns<TFeatures extends TableFeatures, TData extends RowData>(table:
|
|
68
|
+
declare function table_getAllFlatColumns<TFeatures extends TableFeatures, TData extends RowData>(table: Table<TFeatures, TData>): Array<Column<TFeatures, TData, unknown>>;
|
|
69
69
|
/**
|
|
70
70
|
* Builds an id lookup for every flat column in the table.
|
|
71
71
|
*
|
|
@@ -77,7 +77,7 @@ declare function table_getAllFlatColumns<TFeatures extends TableFeatures, TData
|
|
|
77
77
|
* const columnsById = table_getAllFlatColumnsById(table)
|
|
78
78
|
* ```
|
|
79
79
|
*/
|
|
80
|
-
declare function table_getAllFlatColumnsById<TFeatures extends TableFeatures, TData extends RowData>(table:
|
|
80
|
+
declare function table_getAllFlatColumnsById<TFeatures extends TableFeatures, TData extends RowData>(table: Table<TFeatures, TData>): Record<string, Column<TFeatures, TData, unknown>>;
|
|
81
81
|
/**
|
|
82
82
|
* Collects all terminal leaf columns in their current table order.
|
|
83
83
|
*
|
|
@@ -89,7 +89,7 @@ declare function table_getAllFlatColumnsById<TFeatures extends TableFeatures, TD
|
|
|
89
89
|
* const leafColumns = table_getAllLeafColumns(table)
|
|
90
90
|
* ```
|
|
91
91
|
*/
|
|
92
|
-
declare function table_getAllLeafColumns<TFeatures extends TableFeatures, TData extends RowData>(table:
|
|
92
|
+
declare function table_getAllLeafColumns<TFeatures extends TableFeatures, TData extends RowData>(table: Table<TFeatures, TData>): Array<Column<TFeatures, TData, unknown>>;
|
|
93
93
|
/**
|
|
94
94
|
* Builds an id lookup for terminal leaf columns only.
|
|
95
95
|
*
|
|
@@ -101,7 +101,7 @@ declare function table_getAllLeafColumns<TFeatures extends TableFeatures, TData
|
|
|
101
101
|
* const leavesById = table_getAllLeafColumnsById(table)
|
|
102
102
|
* ```
|
|
103
103
|
*/
|
|
104
|
-
declare function table_getAllLeafColumnsById<TFeatures extends TableFeatures, TData extends RowData>(table:
|
|
104
|
+
declare function table_getAllLeafColumnsById<TFeatures extends TableFeatures, TData extends RowData>(table: Table<TFeatures, TData>): Record<string, Column<TFeatures, TData, unknown>>;
|
|
105
105
|
/**
|
|
106
106
|
* Looks up a column by id from the flat column map.
|
|
107
107
|
*
|
|
@@ -113,7 +113,7 @@ declare function table_getAllLeafColumnsById<TFeatures extends TableFeatures, TD
|
|
|
113
113
|
* const column = table_getColumn(table, 'firstName')
|
|
114
114
|
* ```
|
|
115
115
|
*/
|
|
116
|
-
declare function table_getColumn<TFeatures extends TableFeatures, TData extends RowData>(table:
|
|
116
|
+
declare function table_getColumn<TFeatures extends TableFeatures, TData extends RowData>(table: Table<TFeatures, TData>, columnId: string): Column<TFeatures, TData, unknown> | undefined;
|
|
117
117
|
//#endregion
|
|
118
118
|
export { column_getFlatColumns, column_getLeafColumns, table_getAllColumns, table_getAllFlatColumns, table_getAllFlatColumnsById, table_getAllLeafColumns, table_getAllLeafColumnsById, table_getColumn, table_getDefaultColumnDef };
|
|
119
119
|
//# sourceMappingURL=coreColumnsFeature.utils.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CellData, RowData } from "../../types/type-utils.cjs";
|
|
2
2
|
import { HeaderGroup } from "../../types/HeaderGroup.cjs";
|
|
3
3
|
import { Column } from "../../types/Column.cjs";
|
|
4
|
-
|
|
4
|
+
|
|
5
5
|
import { TableFeatures } from "../../types/TableFeatures.cjs";
|
|
6
6
|
|
|
7
7
|
//#region src/core/headers/buildHeaderGroups.d.ts
|
|
@@ -10,7 +10,7 @@ import { TableFeatures } from "../../types/TableFeatures.cjs";
|
|
|
10
10
|
*
|
|
11
11
|
* The result accounts for visible leaf columns, pinned column groups, and placeholder headers needed to render multi-level headers.
|
|
12
12
|
*/
|
|
13
|
-
declare function buildHeaderGroups<TFeatures extends TableFeatures, TData extends RowData, TValue extends CellData = CellData>(allColumns: Array<Column<TFeatures, TData, TValue>>, columnsToGroup: Array<Column<TFeatures, TData, TValue>>, table:
|
|
13
|
+
declare function buildHeaderGroups<TFeatures extends TableFeatures, TData extends RowData, TValue extends CellData = CellData>(allColumns: Array<Column<TFeatures, TData, TValue>>, columnsToGroup: Array<Column<TFeatures, TData, TValue>>, table: Table<TFeatures, TData>, headerFamily?: 'center' | 'left' | 'right'): HeaderGroup<TFeatures, TData>[];
|
|
14
14
|
//#endregion
|
|
15
15
|
export { buildHeaderGroups };
|
|
16
16
|
//# sourceMappingURL=buildHeaderGroups.d.cts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CellData, RowData } from "../../types/type-utils.js";
|
|
2
2
|
import { HeaderGroup } from "../../types/HeaderGroup.js";
|
|
3
3
|
import { Column } from "../../types/Column.js";
|
|
4
|
-
|
|
4
|
+
|
|
5
5
|
import { TableFeatures } from "../../types/TableFeatures.js";
|
|
6
6
|
|
|
7
7
|
//#region src/core/headers/buildHeaderGroups.d.ts
|
|
@@ -10,7 +10,7 @@ import { TableFeatures } from "../../types/TableFeatures.js";
|
|
|
10
10
|
*
|
|
11
11
|
* The result accounts for visible leaf columns, pinned column groups, and placeholder headers needed to render multi-level headers.
|
|
12
12
|
*/
|
|
13
|
-
declare function buildHeaderGroups<TFeatures extends TableFeatures, TData extends RowData, TValue extends CellData = CellData>(allColumns: Array<Column<TFeatures, TData, TValue>>, columnsToGroup: Array<Column<TFeatures, TData, TValue>>, table:
|
|
13
|
+
declare function buildHeaderGroups<TFeatures extends TableFeatures, TData extends RowData, TValue extends CellData = CellData>(allColumns: Array<Column<TFeatures, TData, TValue>>, columnsToGroup: Array<Column<TFeatures, TData, TValue>>, table: Table<TFeatures, TData>, headerFamily?: 'center' | 'left' | 'right'): HeaderGroup<TFeatures, TData>[];
|
|
14
14
|
//#endregion
|
|
15
15
|
export { buildHeaderGroups };
|
|
16
16
|
//# sourceMappingURL=buildHeaderGroups.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CellData, RowData } from "../../types/type-utils.cjs";
|
|
2
2
|
import { Header } from "../../types/Header.cjs";
|
|
3
3
|
import { Column } from "../../types/Column.cjs";
|
|
4
|
-
|
|
4
|
+
|
|
5
5
|
import { TableFeatures } from "../../types/TableFeatures.cjs";
|
|
6
6
|
|
|
7
7
|
//#region src/core/headers/constructHeader.d.ts
|
|
@@ -10,7 +10,7 @@ import { TableFeatures } from "../../types/TableFeatures.cjs";
|
|
|
10
10
|
*
|
|
11
11
|
* This wires core properties, feature prototype APIs, and instance data used by table rendering and row-model operations.
|
|
12
12
|
*/
|
|
13
|
-
declare function constructHeader<TFeatures extends TableFeatures, TData extends RowData, TValue extends CellData = CellData>(table:
|
|
13
|
+
declare function constructHeader<TFeatures extends TableFeatures, TData extends RowData, TValue extends CellData = CellData>(table: Table<TFeatures, TData>, column: Column<TFeatures, TData, TValue>, options: {
|
|
14
14
|
id?: string;
|
|
15
15
|
isPlaceholder?: boolean;
|
|
16
16
|
placeholderId?: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CellData, RowData } from "../../types/type-utils.js";
|
|
2
2
|
import { Header } from "../../types/Header.js";
|
|
3
3
|
import { Column } from "../../types/Column.js";
|
|
4
|
-
|
|
4
|
+
|
|
5
5
|
import { TableFeatures } from "../../types/TableFeatures.js";
|
|
6
6
|
|
|
7
7
|
//#region src/core/headers/constructHeader.d.ts
|
|
@@ -10,7 +10,7 @@ import { TableFeatures } from "../../types/TableFeatures.js";
|
|
|
10
10
|
*
|
|
11
11
|
* This wires core properties, feature prototype APIs, and instance data used by table rendering and row-model operations.
|
|
12
12
|
*/
|
|
13
|
-
declare function constructHeader<TFeatures extends TableFeatures, TData extends RowData, TValue extends CellData = CellData>(table:
|
|
13
|
+
declare function constructHeader<TFeatures extends TableFeatures, TData extends RowData, TValue extends CellData = CellData>(table: Table<TFeatures, TData>, column: Column<TFeatures, TData, TValue>, options: {
|
|
14
14
|
id?: string;
|
|
15
15
|
isPlaceholder?: boolean;
|
|
16
16
|
placeholderId?: string;
|
|
@@ -2,7 +2,7 @@ import { RowData } from "../../types/type-utils.cjs";
|
|
|
2
2
|
import { HeaderGroup } from "../../types/HeaderGroup.cjs";
|
|
3
3
|
import { Header } from "../../types/Header.cjs";
|
|
4
4
|
import { Column } from "../../types/Column.cjs";
|
|
5
|
-
|
|
5
|
+
|
|
6
6
|
import { TableFeatures } from "../../types/TableFeatures.cjs";
|
|
7
7
|
//#region src/core/headers/coreHeadersFeature.utils.d.ts
|
|
8
8
|
/**
|
|
@@ -30,7 +30,7 @@ declare function header_getLeafHeaders<TFeatures extends TableFeatures, TData ex
|
|
|
30
30
|
declare function header_getContext<TFeatures extends TableFeatures, TData extends RowData, TValue>(header: Header<TFeatures, TData, TValue>): {
|
|
31
31
|
column: Column<TFeatures, TData, TValue>;
|
|
32
32
|
header: Header<TFeatures, TData, TValue>;
|
|
33
|
-
table:
|
|
33
|
+
table: Table<TFeatures, TData>;
|
|
34
34
|
};
|
|
35
35
|
/**
|
|
36
36
|
* Builds visible header groups for the current column tree.
|
|
@@ -43,7 +43,7 @@ declare function header_getContext<TFeatures extends TableFeatures, TData extend
|
|
|
43
43
|
* const headerGroups = table_getHeaderGroups(table)
|
|
44
44
|
* ```
|
|
45
45
|
*/
|
|
46
|
-
declare function table_getHeaderGroups<TFeatures extends TableFeatures, TData extends RowData>(table:
|
|
46
|
+
declare function table_getHeaderGroups<TFeatures extends TableFeatures, TData extends RowData>(table: Table<TFeatures, TData>): HeaderGroup<TFeatures, TData>[];
|
|
47
47
|
/**
|
|
48
48
|
* Builds footer groups by reversing the current header groups.
|
|
49
49
|
*
|
|
@@ -55,7 +55,7 @@ declare function table_getHeaderGroups<TFeatures extends TableFeatures, TData ex
|
|
|
55
55
|
* const footerGroups = table_getFooterGroups(table)
|
|
56
56
|
* ```
|
|
57
57
|
*/
|
|
58
|
-
declare function table_getFooterGroups<TFeatures extends TableFeatures, TData extends RowData>(table:
|
|
58
|
+
declare function table_getFooterGroups<TFeatures extends TableFeatures, TData extends RowData>(table: Table<TFeatures, TData>): HeaderGroup<TFeatures, TData>[];
|
|
59
59
|
/**
|
|
60
60
|
* Flattens every header from every header group into one array.
|
|
61
61
|
*
|
|
@@ -67,7 +67,7 @@ declare function table_getFooterGroups<TFeatures extends TableFeatures, TData ex
|
|
|
67
67
|
* const flatHeaders = table_getFlatHeaders(table)
|
|
68
68
|
* ```
|
|
69
69
|
*/
|
|
70
|
-
declare function table_getFlatHeaders<TFeatures extends TableFeatures, TData extends RowData>(table:
|
|
70
|
+
declare function table_getFlatHeaders<TFeatures extends TableFeatures, TData extends RowData>(table: Table<TFeatures, TData>): Header<TFeatures, TData, unknown>[];
|
|
71
71
|
/**
|
|
72
72
|
* Collects only the leaf headers from the current header tree.
|
|
73
73
|
*
|
|
@@ -79,7 +79,7 @@ declare function table_getFlatHeaders<TFeatures extends TableFeatures, TData ext
|
|
|
79
79
|
* const leafHeaders = table_getLeafHeaders(table)
|
|
80
80
|
* ```
|
|
81
81
|
*/
|
|
82
|
-
declare function table_getLeafHeaders<TFeatures extends TableFeatures, TData extends RowData>(table:
|
|
82
|
+
declare function table_getLeafHeaders<TFeatures extends TableFeatures, TData extends RowData>(table: Table<TFeatures, TData>): Header<TFeatures, TData, unknown>[];
|
|
83
83
|
//#endregion
|
|
84
84
|
export { header_getContext, header_getLeafHeaders, table_getFlatHeaders, table_getFooterGroups, table_getHeaderGroups, table_getLeafHeaders };
|
|
85
85
|
//# sourceMappingURL=coreHeadersFeature.utils.d.cts.map
|
|
@@ -2,7 +2,7 @@ import { RowData } from "../../types/type-utils.js";
|
|
|
2
2
|
import { HeaderGroup } from "../../types/HeaderGroup.js";
|
|
3
3
|
import { Header } from "../../types/Header.js";
|
|
4
4
|
import { Column } from "../../types/Column.js";
|
|
5
|
-
|
|
5
|
+
|
|
6
6
|
import { TableFeatures } from "../../types/TableFeatures.js";
|
|
7
7
|
//#region src/core/headers/coreHeadersFeature.utils.d.ts
|
|
8
8
|
/**
|
|
@@ -30,7 +30,7 @@ declare function header_getLeafHeaders<TFeatures extends TableFeatures, TData ex
|
|
|
30
30
|
declare function header_getContext<TFeatures extends TableFeatures, TData extends RowData, TValue>(header: Header<TFeatures, TData, TValue>): {
|
|
31
31
|
column: Column<TFeatures, TData, TValue>;
|
|
32
32
|
header: Header<TFeatures, TData, TValue>;
|
|
33
|
-
table:
|
|
33
|
+
table: Table<TFeatures, TData>;
|
|
34
34
|
};
|
|
35
35
|
/**
|
|
36
36
|
* Builds visible header groups for the current column tree.
|
|
@@ -43,7 +43,7 @@ declare function header_getContext<TFeatures extends TableFeatures, TData extend
|
|
|
43
43
|
* const headerGroups = table_getHeaderGroups(table)
|
|
44
44
|
* ```
|
|
45
45
|
*/
|
|
46
|
-
declare function table_getHeaderGroups<TFeatures extends TableFeatures, TData extends RowData>(table:
|
|
46
|
+
declare function table_getHeaderGroups<TFeatures extends TableFeatures, TData extends RowData>(table: Table<TFeatures, TData>): HeaderGroup<TFeatures, TData>[];
|
|
47
47
|
/**
|
|
48
48
|
* Builds footer groups by reversing the current header groups.
|
|
49
49
|
*
|
|
@@ -55,7 +55,7 @@ declare function table_getHeaderGroups<TFeatures extends TableFeatures, TData ex
|
|
|
55
55
|
* const footerGroups = table_getFooterGroups(table)
|
|
56
56
|
* ```
|
|
57
57
|
*/
|
|
58
|
-
declare function table_getFooterGroups<TFeatures extends TableFeatures, TData extends RowData>(table:
|
|
58
|
+
declare function table_getFooterGroups<TFeatures extends TableFeatures, TData extends RowData>(table: Table<TFeatures, TData>): HeaderGroup<TFeatures, TData>[];
|
|
59
59
|
/**
|
|
60
60
|
* Flattens every header from every header group into one array.
|
|
61
61
|
*
|
|
@@ -67,7 +67,7 @@ declare function table_getFooterGroups<TFeatures extends TableFeatures, TData ex
|
|
|
67
67
|
* const flatHeaders = table_getFlatHeaders(table)
|
|
68
68
|
* ```
|
|
69
69
|
*/
|
|
70
|
-
declare function table_getFlatHeaders<TFeatures extends TableFeatures, TData extends RowData>(table:
|
|
70
|
+
declare function table_getFlatHeaders<TFeatures extends TableFeatures, TData extends RowData>(table: Table<TFeatures, TData>): Header<TFeatures, TData, unknown>[];
|
|
71
71
|
/**
|
|
72
72
|
* Collects only the leaf headers from the current header tree.
|
|
73
73
|
*
|
|
@@ -79,7 +79,7 @@ declare function table_getFlatHeaders<TFeatures extends TableFeatures, TData ext
|
|
|
79
79
|
* const leafHeaders = table_getLeafHeaders(table)
|
|
80
80
|
* ```
|
|
81
81
|
*/
|
|
82
|
-
declare function table_getLeafHeaders<TFeatures extends TableFeatures, TData extends RowData>(table:
|
|
82
|
+
declare function table_getLeafHeaders<TFeatures extends TableFeatures, TData extends RowData>(table: Table<TFeatures, TData>): Header<TFeatures, TData, unknown>[];
|
|
83
83
|
//#endregion
|
|
84
84
|
export { header_getContext, header_getLeafHeaders, table_getFlatHeaders, table_getFooterGroups, table_getHeaderGroups, table_getLeafHeaders };
|
|
85
85
|
//# sourceMappingURL=coreHeadersFeature.utils.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { RowData } from "../../types/type-utils.cjs";
|
|
2
|
-
|
|
2
|
+
|
|
3
3
|
import { TableFeatures } from "../../types/TableFeatures.cjs";
|
|
4
4
|
import { RowModel } from "./coreRowModelsFeature.types.cjs";
|
|
5
5
|
|
|
@@ -15,7 +15,7 @@ import { RowModel } from "./coreRowModelsFeature.types.cjs";
|
|
|
15
15
|
* const coreRows = table_getCoreRowModel(table)
|
|
16
16
|
* ```
|
|
17
17
|
*/
|
|
18
|
-
declare function table_getCoreRowModel<TFeatures extends TableFeatures, TData extends RowData>(table:
|
|
18
|
+
declare function table_getCoreRowModel<TFeatures extends TableFeatures, TData extends RowData>(table: Table<TFeatures, TData>): RowModel<TFeatures, TData>;
|
|
19
19
|
/**
|
|
20
20
|
* Reads the row model immediately before column/global filtering.
|
|
21
21
|
*
|
|
@@ -27,7 +27,7 @@ declare function table_getCoreRowModel<TFeatures extends TableFeatures, TData ex
|
|
|
27
27
|
* const rowsBeforeFiltering = table_getPreFilteredRowModel(table)
|
|
28
28
|
* ```
|
|
29
29
|
*/
|
|
30
|
-
declare function table_getPreFilteredRowModel<TFeatures extends TableFeatures, TData extends RowData>(table:
|
|
30
|
+
declare function table_getPreFilteredRowModel<TFeatures extends TableFeatures, TData extends RowData>(table: Table<TFeatures, TData>): RowModel<TFeatures, TData>;
|
|
31
31
|
/**
|
|
32
32
|
* Resolves the row model after column and global filtering.
|
|
33
33
|
*
|
|
@@ -40,7 +40,7 @@ declare function table_getPreFilteredRowModel<TFeatures extends TableFeatures, T
|
|
|
40
40
|
* const filteredRows = table_getFilteredRowModel(table)
|
|
41
41
|
* ```
|
|
42
42
|
*/
|
|
43
|
-
declare function table_getFilteredRowModel<TFeatures extends TableFeatures, TData extends RowData>(table:
|
|
43
|
+
declare function table_getFilteredRowModel<TFeatures extends TableFeatures, TData extends RowData>(table: Table<TFeatures, TData>): RowModel<TFeatures, TData>;
|
|
44
44
|
/**
|
|
45
45
|
* Reads the row model immediately before grouping.
|
|
46
46
|
*
|
|
@@ -51,7 +51,7 @@ declare function table_getFilteredRowModel<TFeatures extends TableFeatures, TDat
|
|
|
51
51
|
* const rowsBeforeGrouping = table_getPreGroupedRowModel(table)
|
|
52
52
|
* ```
|
|
53
53
|
*/
|
|
54
|
-
declare function table_getPreGroupedRowModel<TFeatures extends TableFeatures, TData extends RowData>(table:
|
|
54
|
+
declare function table_getPreGroupedRowModel<TFeatures extends TableFeatures, TData extends RowData>(table: Table<TFeatures, TData>): RowModel<TFeatures, TData>;
|
|
55
55
|
/**
|
|
56
56
|
* Resolves the row model after grouping has produced grouped and aggregated rows.
|
|
57
57
|
*
|
|
@@ -63,7 +63,7 @@ declare function table_getPreGroupedRowModel<TFeatures extends TableFeatures, TD
|
|
|
63
63
|
* const groupedRows = table_getGroupedRowModel(table)
|
|
64
64
|
* ```
|
|
65
65
|
*/
|
|
66
|
-
declare function table_getGroupedRowModel<TFeatures extends TableFeatures, TData extends RowData>(table:
|
|
66
|
+
declare function table_getGroupedRowModel<TFeatures extends TableFeatures, TData extends RowData>(table: Table<TFeatures, TData>): RowModel<TFeatures, TData>;
|
|
67
67
|
/**
|
|
68
68
|
* Reads the row model immediately before sorting.
|
|
69
69
|
*
|
|
@@ -74,7 +74,7 @@ declare function table_getGroupedRowModel<TFeatures extends TableFeatures, TData
|
|
|
74
74
|
* const rowsBeforeSorting = table_getPreSortedRowModel(table)
|
|
75
75
|
* ```
|
|
76
76
|
*/
|
|
77
|
-
declare function table_getPreSortedRowModel<TFeatures extends TableFeatures, TData extends RowData>(table:
|
|
77
|
+
declare function table_getPreSortedRowModel<TFeatures extends TableFeatures, TData extends RowData>(table: Table<TFeatures, TData>): RowModel<TFeatures, TData>;
|
|
78
78
|
/**
|
|
79
79
|
* Resolves the row model after sorting has been applied.
|
|
80
80
|
*
|
|
@@ -87,7 +87,7 @@ declare function table_getPreSortedRowModel<TFeatures extends TableFeatures, TDa
|
|
|
87
87
|
* const sortedRows = table_getSortedRowModel(table)
|
|
88
88
|
* ```
|
|
89
89
|
*/
|
|
90
|
-
declare function table_getSortedRowModel<TFeatures extends TableFeatures, TData extends RowData>(table:
|
|
90
|
+
declare function table_getSortedRowModel<TFeatures extends TableFeatures, TData extends RowData>(table: Table<TFeatures, TData>): RowModel<TFeatures, TData>;
|
|
91
91
|
/**
|
|
92
92
|
* Reads the row model immediately before row expansion.
|
|
93
93
|
*
|
|
@@ -98,7 +98,7 @@ declare function table_getSortedRowModel<TFeatures extends TableFeatures, TData
|
|
|
98
98
|
* const rowsBeforeExpansion = table_getPreExpandedRowModel(table)
|
|
99
99
|
* ```
|
|
100
100
|
*/
|
|
101
|
-
declare function table_getPreExpandedRowModel<TFeatures extends TableFeatures, TData extends RowData>(table:
|
|
101
|
+
declare function table_getPreExpandedRowModel<TFeatures extends TableFeatures, TData extends RowData>(table: Table<TFeatures, TData>): RowModel<TFeatures, TData>;
|
|
102
102
|
/**
|
|
103
103
|
* Resolves the row model after expanded rows have been flattened into view.
|
|
104
104
|
*
|
|
@@ -110,7 +110,7 @@ declare function table_getPreExpandedRowModel<TFeatures extends TableFeatures, T
|
|
|
110
110
|
* const expandedRows = table_getExpandedRowModel(table)
|
|
111
111
|
* ```
|
|
112
112
|
*/
|
|
113
|
-
declare function table_getExpandedRowModel<TFeatures extends TableFeatures, TData extends RowData>(table:
|
|
113
|
+
declare function table_getExpandedRowModel<TFeatures extends TableFeatures, TData extends RowData>(table: Table<TFeatures, TData>): RowModel<TFeatures, TData>;
|
|
114
114
|
/**
|
|
115
115
|
* Reads the row model immediately before pagination.
|
|
116
116
|
*
|
|
@@ -122,7 +122,7 @@ declare function table_getExpandedRowModel<TFeatures extends TableFeatures, TDat
|
|
|
122
122
|
* const rowsBeforePagination = table_getPrePaginatedRowModel(table)
|
|
123
123
|
* ```
|
|
124
124
|
*/
|
|
125
|
-
declare function table_getPrePaginatedRowModel<TFeatures extends TableFeatures, TData extends RowData>(table:
|
|
125
|
+
declare function table_getPrePaginatedRowModel<TFeatures extends TableFeatures, TData extends RowData>(table: Table<TFeatures, TData>): RowModel<TFeatures, TData>;
|
|
126
126
|
/**
|
|
127
127
|
* Resolves the row model after pagination has sliced rows for the current page.
|
|
128
128
|
*
|
|
@@ -135,7 +135,7 @@ declare function table_getPrePaginatedRowModel<TFeatures extends TableFeatures,
|
|
|
135
135
|
* const pageRows = table_getPaginatedRowModel(table)
|
|
136
136
|
* ```
|
|
137
137
|
*/
|
|
138
|
-
declare function table_getPaginatedRowModel<TFeatures extends TableFeatures, TData extends RowData>(table:
|
|
138
|
+
declare function table_getPaginatedRowModel<TFeatures extends TableFeatures, TData extends RowData>(table: Table<TFeatures, TData>): RowModel<TFeatures, TData>;
|
|
139
139
|
/**
|
|
140
140
|
* Resolves the final row model consumed by renderers.
|
|
141
141
|
*
|
|
@@ -147,7 +147,7 @@ declare function table_getPaginatedRowModel<TFeatures extends TableFeatures, TDa
|
|
|
147
147
|
* const visibleRows = table_getRowModel(table)
|
|
148
148
|
* ```
|
|
149
149
|
*/
|
|
150
|
-
declare function table_getRowModel<TFeatures extends TableFeatures, TData extends RowData>(table:
|
|
150
|
+
declare function table_getRowModel<TFeatures extends TableFeatures, TData extends RowData>(table: Table<TFeatures, TData>): RowModel<TFeatures, TData>;
|
|
151
151
|
//#endregion
|
|
152
152
|
export { table_getCoreRowModel, table_getExpandedRowModel, table_getFilteredRowModel, table_getGroupedRowModel, table_getPaginatedRowModel, table_getPreExpandedRowModel, table_getPreFilteredRowModel, table_getPreGroupedRowModel, table_getPrePaginatedRowModel, table_getPreSortedRowModel, table_getRowModel, table_getSortedRowModel };
|
|
153
153
|
//# sourceMappingURL=coreRowModelsFeature.utils.d.cts.map
|