@tanstack/table-core 9.0.0-beta.55 → 9.0.0-beta.58

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.
Files changed (95) hide show
  1. package/dist/core/cells/constructCell.d.ts +2 -2
  2. package/dist/core/cells/constructCell.js +2 -0
  3. package/dist/core/cells/coreCellsFeature.types.d.ts +2 -2
  4. package/dist/core/cells/coreCellsFeature.utils.d.ts +2 -2
  5. package/dist/core/columns/constructColumn.js +2 -2
  6. package/dist/core/headers/buildHeaderGroups.js +2 -0
  7. package/dist/core/headers/constructHeader.js +2 -0
  8. package/dist/core/row-models/coreRowModelsFeature.types.d.ts +4 -4
  9. package/dist/core/row-models/coreRowModelsFeature.utils.d.ts +1 -1
  10. package/dist/core/row-models/createCoreRowModel.d.ts +1 -1
  11. package/dist/core/row-models/createCoreRowModel.js +5 -1
  12. package/dist/core/rows/constructRow.d.ts +1 -1
  13. package/dist/core/rows/constructRow.js +2 -2
  14. package/dist/core/rows/coreRowsFeature.types.d.ts +2 -2
  15. package/dist/core/rows/coreRowsFeature.utils.d.ts +4 -4
  16. package/dist/core/rows/coreRowsFeature.utils.js +4 -3
  17. package/dist/core/table/constructTable.js +19 -1
  18. package/dist/core/table/coreTablesFeature.types.d.ts +21 -1
  19. package/dist/features/cell-selection/cellSelectionFeature.d.ts +9 -0
  20. package/dist/features/cell-selection/cellSelectionFeature.js +117 -0
  21. package/dist/features/cell-selection/cellSelectionFeature.types.d.ts +273 -0
  22. package/dist/features/cell-selection/cellSelectionFeature.utils.d.ts +288 -0
  23. package/dist/features/cell-selection/cellSelectionFeature.utils.js +732 -0
  24. package/dist/features/column-faceting/columnFacetingFeature.utils.d.ts +1 -1
  25. package/dist/features/column-faceting/createFacetedRowModel.d.ts +1 -1
  26. package/dist/features/column-filtering/columnFilteringFeature.types.d.ts +1 -1
  27. package/dist/features/column-filtering/columnFilteringFeature.utils.d.ts +1 -1
  28. package/dist/features/column-filtering/columnFilteringFeature.utils.js +9 -2
  29. package/dist/features/column-filtering/createFilteredRowModel.d.ts +1 -1
  30. package/dist/features/column-grouping/columnGroupingFeature.utils.d.ts +3 -3
  31. package/dist/features/column-grouping/createGroupedRowModel.d.ts +1 -1
  32. package/dist/features/column-pinning/columnPinningFeature.types.d.ts +1 -1
  33. package/dist/features/column-pinning/columnPinningFeature.utils.d.ts +3 -3
  34. package/dist/features/column-resizing/columnResizingFeature.utils.js +0 -1
  35. package/dist/features/column-sizing/columnSizingFeature.utils.d.ts +1 -1
  36. package/dist/features/column-visibility/columnVisibilityFeature.types.d.ts +1 -1
  37. package/dist/features/column-visibility/columnVisibilityFeature.utils.d.ts +3 -3
  38. package/dist/features/global-filtering/globalFilteringFeature.types.d.ts +1 -1
  39. package/dist/features/global-filtering/globalFilteringFeature.utils.d.ts +1 -1
  40. package/dist/features/row-aggregation/rowAggregationFeature.types.d.ts +9 -9
  41. package/dist/features/row-aggregation/rowAggregationFeature.utils.d.ts +2 -2
  42. package/dist/features/row-expanding/createExpandedRowModel.d.ts +1 -1
  43. package/dist/features/row-expanding/createExpandedRowModel.js +3 -2
  44. package/dist/features/row-expanding/rowExpandingFeature.utils.d.ts +2 -5
  45. package/dist/features/row-expanding/rowExpandingFeature.utils.js +1 -5
  46. package/dist/features/row-pagination/createPaginatedRowModel.d.ts +1 -1
  47. package/dist/features/row-pinning/rowPinningFeature.utils.d.ts +1 -1
  48. package/dist/features/row-selection/rowSelectionFeature.utils.d.ts +2 -3
  49. package/dist/features/row-selection/rowSelectionFeature.utils.js +1 -3
  50. package/dist/features/row-sorting/createSortedRowModel.d.ts +1 -1
  51. package/dist/features/row-sorting/rowSortingFeature.utils.d.ts +2 -3
  52. package/dist/features/row-sorting/rowSortingFeature.utils.js +2 -4
  53. package/dist/features/stockFeatures.d.ts +3 -1
  54. package/dist/features/stockFeatures.js +3 -1
  55. package/dist/index.d.ts +24 -22
  56. package/dist/index.js +2 -1
  57. package/dist/static-functions.d.ts +2 -1
  58. package/dist/static-functions.js +2 -1
  59. package/dist/types/Cell.d.ts +5 -3
  60. package/dist/types/Column.d.ts +9 -9
  61. package/dist/types/ColumnDef.d.ts +14 -12
  62. package/dist/types/Header.d.ts +1 -1
  63. package/dist/types/Row.d.ts +5 -5
  64. package/dist/types/RowModel.d.ts +4 -4
  65. package/dist/types/RowModelFns.d.ts +3 -3
  66. package/dist/types/Table.d.ts +15 -13
  67. package/dist/types/TableFeatures.d.ts +40 -5
  68. package/dist/types/TableOptions.d.ts +17 -15
  69. package/dist/types/TableState.d.ts +11 -9
  70. package/dist/types/type-utils.d.ts +1 -1
  71. package/dist/worker/createWorkerRowModel.d.ts +1 -1
  72. package/package.json +1 -1
  73. package/skills/aggregation/SKILL.md +2 -2
  74. package/skills/api-not-found/SKILL.md +1 -1
  75. package/skills/cell-selection/SKILL.md +180 -0
  76. package/skills/client-vs-server/SKILL.md +1 -1
  77. package/skills/column-faceting/SKILL.md +1 -1
  78. package/skills/column-filtering/SKILL.md +1 -1
  79. package/skills/column-ordering/SKILL.md +1 -1
  80. package/skills/column-pinning/SKILL.md +1 -1
  81. package/skills/column-resizing/SKILL.md +1 -1
  82. package/skills/column-sizing/SKILL.md +1 -1
  83. package/skills/column-visibility/SKILL.md +1 -1
  84. package/skills/core/SKILL.md +1 -1
  85. package/skills/custom-features/SKILL.md +1 -1
  86. package/skills/expanding/SKILL.md +1 -1
  87. package/skills/global-filtering/SKILL.md +1 -1
  88. package/skills/grouping/SKILL.md +1 -1
  89. package/skills/migrate-v8-to-v9/SKILL.md +1 -1
  90. package/skills/pagination/SKILL.md +1 -1
  91. package/skills/row-pinning/SKILL.md +1 -1
  92. package/skills/row-selection/SKILL.md +1 -1
  93. package/skills/sorting/SKILL.md +1 -1
  94. package/skills/table-features/SKILL.md +1 -1
  95. package/skills/typescript/SKILL.md +1 -1
@@ -1,7 +1,7 @@
1
1
  import { CellData, RowData } from "../../types/type-utils.js";
2
- import { RowModel } from "../../core/row-models/coreRowModelsFeature.types.js";
3
2
  import { Table } from "../../types/Table.js";
4
3
  import { Column } from "../../types/Column.js";
4
+ import { RowModel } from "../../core/row-models/coreRowModelsFeature.types.js";
5
5
  import { TableFeatures } from "../../types/TableFeatures.js";
6
6
 
7
7
  //#region src/features/column-faceting/columnFacetingFeature.utils.d.ts
@@ -1,6 +1,6 @@
1
1
  import { RowData } from "../../types/type-utils.js";
2
- import { RowModel } from "../../core/row-models/coreRowModelsFeature.types.js";
3
2
  import { Table } from "../../types/Table.js";
3
+ import { RowModel } from "../../core/row-models/coreRowModelsFeature.types.js";
4
4
  import { TableFeatures } from "../../types/TableFeatures.js";
5
5
 
6
6
  //#region src/features/column-faceting/createFacetedRowModel.d.ts
@@ -1,8 +1,8 @@
1
1
  import { CellData, OnChangeFn, RowData, TransformDataValueFn, Updater } from "../../types/type-utils.js";
2
2
  import { BuiltInFilterFn } from "./filterFns.js";
3
+ import { Column } from "../../types/Column.js";
3
4
  import { Row } from "../../types/Row.js";
4
5
  import { RowModel } from "../../core/row-models/coreRowModelsFeature.types.js";
5
- import { Column } from "../../types/Column.js";
6
6
  import { IsAny, TableFeatures } from "../../types/TableFeatures.js";
7
7
 
8
8
  //#region src/features/column-filtering/columnFilteringFeature.types.d.ts
@@ -1,7 +1,7 @@
1
1
  import { CellData, RowData, Updater } from "../../types/type-utils.js";
2
- import { ColumnFiltersState, FilterFn } from "./columnFilteringFeature.types.js";
3
2
  import { Table } from "../../types/Table.js";
4
3
  import { Column } from "../../types/Column.js";
4
+ import { ColumnFiltersState, FilterFn } from "./columnFilteringFeature.types.js";
5
5
  import { TableFeatures } from "../../types/TableFeatures.js";
6
6
 
7
7
  //#region src/features/column-filtering/columnFilteringFeature.utils.d.ts
@@ -33,8 +33,15 @@ function getDefaultColumnFiltersState() {
33
33
  */
34
34
  function column_getAutoFilterFn(column) {
35
35
  const filterFns = column.table._rowModelFns.filterFns;
36
- const firstRow = column.table.getCoreRowModel().flatRows[0];
37
- const value = firstRow ? firstRow.getValue(column.id) : void 0;
36
+ const rows = column.table.getCoreRowModel().flatRows;
37
+ let value;
38
+ for (let i = 0; i < rows.length; i++) {
39
+ const rowValue = rows[i].getValue(column.id);
40
+ if (rowValue !== null && rowValue !== void 0) {
41
+ value = rowValue;
42
+ break;
43
+ }
44
+ }
38
45
  let filterFnName;
39
46
  if (typeof value === "string") filterFnName = "includesString";
40
47
  else if (typeof value === "number") filterFnName = "inNumberRange";
@@ -1,6 +1,6 @@
1
1
  import { RowData } from "../../types/type-utils.js";
2
- import { RowModel } from "../../core/row-models/coreRowModelsFeature.types.js";
3
2
  import { Table } from "../../types/Table.js";
3
+ import { RowModel } from "../../core/row-models/coreRowModelsFeature.types.js";
4
4
  import { TableFeatures } from "../../types/TableFeatures.js";
5
5
 
6
6
  //#region src/features/column-filtering/createFilteredRowModel.d.ts
@@ -1,9 +1,9 @@
1
1
  import { CellData, RowData, Updater } from "../../types/type-utils.js";
2
- import { GroupingState, Row_ColumnGrouping } from "./columnGroupingFeature.types.js";
3
- import { Cell } from "../../types/Cell.js";
4
- import { Row } from "../../types/Row.js";
5
2
  import { Table } from "../../types/Table.js";
6
3
  import { Column } from "../../types/Column.js";
4
+ import { Row } from "../../types/Row.js";
5
+ import { GroupingState, Row_ColumnGrouping } from "./columnGroupingFeature.types.js";
6
+ import { Cell } from "../../types/Cell.js";
7
7
  import { TableFeatures } from "../../types/TableFeatures.js";
8
8
 
9
9
  //#region src/features/column-grouping/columnGroupingFeature.utils.d.ts
@@ -1,6 +1,6 @@
1
1
  import { RowData } from "../../types/type-utils.js";
2
- import { RowModel } from "../../core/row-models/coreRowModelsFeature.types.js";
3
2
  import { Table } from "../../types/Table.js";
3
+ import { RowModel } from "../../core/row-models/coreRowModelsFeature.types.js";
4
4
  import { TableFeatures } from "../../types/TableFeatures.js";
5
5
 
6
6
  //#region src/features/column-grouping/createGroupedRowModel.d.ts
@@ -1,8 +1,8 @@
1
1
  import { OnChangeFn, RowData, Updater } from "../../types/type-utils.js";
2
2
  import { HeaderGroup } from "../../types/HeaderGroup.js";
3
3
  import { Header } from "../../types/Header.js";
4
- import { Cell } from "../../types/Cell.js";
5
4
  import { Column } from "../../types/Column.js";
5
+ import { Cell } from "../../types/Cell.js";
6
6
  import { TableFeatures } from "../../types/TableFeatures.js";
7
7
 
8
8
  //#region src/features/column-pinning/columnPinningFeature.types.d.ts
@@ -1,11 +1,11 @@
1
1
  import { CellData, RowData, Updater } from "../../types/type-utils.js";
2
2
  import { HeaderGroup } from "../../types/HeaderGroup.js";
3
- import { ColumnPinningPosition, ColumnPinningState } from "./columnPinningFeature.types.js";
4
3
  import { Header } from "../../types/Header.js";
5
- import { Cell } from "../../types/Cell.js";
6
- import { Row } from "../../types/Row.js";
4
+ import { ColumnPinningPosition, ColumnPinningState } from "./columnPinningFeature.types.js";
7
5
  import { Table } from "../../types/Table.js";
8
6
  import { Column } from "../../types/Column.js";
7
+ import { Row } from "../../types/Row.js";
8
+ import { Cell } from "../../types/Cell.js";
9
9
  import { TableFeatures } from "../../types/TableFeatures.js";
10
10
 
11
11
  //#region src/features/column-pinning/columnPinningFeature.utils.d.ts
@@ -67,7 +67,6 @@ function header_getResizeHandler(header, _contextDocument) {
67
67
  const canResize = column_getCanResize(column);
68
68
  return (event) => {
69
69
  if (!canResize) return;
70
- event.persist?.();
71
70
  if (isTouchStartEvent(event)) {
72
71
  if (event.touches.length > 1) return;
73
72
  }
@@ -1,7 +1,7 @@
1
1
  import { CellData, RowData, Updater } from "../../types/type-utils.js";
2
- import { ColumnPinningPosition } from "../column-pinning/columnPinningFeature.types.js";
3
2
  import { ColumnOffsetsByPosition, ColumnSizingState } from "./columnSizingFeature.types.js";
4
3
  import { Header } from "../../types/Header.js";
4
+ import { ColumnPinningPosition } from "../column-pinning/columnPinningFeature.types.js";
5
5
  import { Table } from "../../types/Table.js";
6
6
  import { Column } from "../../types/Column.js";
7
7
  import { TableFeatures } from "../../types/TableFeatures.js";
@@ -1,6 +1,6 @@
1
1
  import { OnChangeFn, RowData, Updater } from "../../types/type-utils.js";
2
- import { Cell } from "../../types/Cell.js";
3
2
  import { Column } from "../../types/Column.js";
3
+ import { Cell } from "../../types/Cell.js";
4
4
  import { TableFeatures } from "../../types/TableFeatures.js";
5
5
 
6
6
  //#region src/features/column-visibility/columnVisibilityFeature.types.d.ts
@@ -1,9 +1,9 @@
1
1
  import { CellData, RowData, Updater } from "../../types/type-utils.js";
2
- import { Cell } from "../../types/Cell.js";
3
- import { ColumnVisibilityState } from "./columnVisibilityFeature.types.js";
4
- import { Row } from "../../types/Row.js";
5
2
  import { Table } from "../../types/Table.js";
6
3
  import { Column } from "../../types/Column.js";
4
+ import { ColumnVisibilityState } from "./columnVisibilityFeature.types.js";
5
+ import { Row } from "../../types/Row.js";
6
+ import { Cell } from "../../types/Cell.js";
7
7
  import { TableFeatures } from "../../types/TableFeatures.js";
8
8
  //#region src/features/column-visibility/columnVisibilityFeature.utils.d.ts
9
9
  /**
@@ -1,6 +1,6 @@
1
1
  import { CellData, OnChangeFn, RowData, Updater } from "../../types/type-utils.js";
2
- import { FilterFn, FilterFnOption } from "../column-filtering/columnFilteringFeature.types.js";
3
2
  import { Column } from "../../types/Column.js";
3
+ import { FilterFn, FilterFnOption } from "../column-filtering/columnFilteringFeature.types.js";
4
4
  import { TableFeatures } from "../../types/TableFeatures.js";
5
5
 
6
6
  //#region src/features/global-filtering/globalFilteringFeature.types.d.ts
@@ -1,7 +1,7 @@
1
1
  import { CellData, RowData } from "../../types/type-utils.js";
2
- import { CreatedFilterFn, FilterFn } from "../column-filtering/columnFilteringFeature.types.js";
3
2
  import { Table } from "../../types/Table.js";
4
3
  import { Column } from "../../types/Column.js";
4
+ import { CreatedFilterFn, FilterFn } from "../column-filtering/columnFilteringFeature.types.js";
5
5
  import { TableFeatures } from "../../types/TableFeatures.js";
6
6
  //#region src/features/global-filtering/globalFilteringFeature.utils.d.ts
7
7
  /**
@@ -1,10 +1,10 @@
1
1
  import { CellData, RowData } from "../../types/type-utils.js";
2
2
  import { BuiltInAggregationFn } from "./aggregationFns.js";
3
3
  import { ColumnDefTemplate } from "../../types/ColumnDef.js";
4
- import { Cell } from "../../types/Cell.js";
5
- import { Row } from "../../types/Row.js";
6
4
  import { Table } from "../../types/Table.js";
7
5
  import { Column } from "../../types/Column.js";
6
+ import { Row } from "../../types/Row.js";
7
+ import { Cell } from "../../types/Cell.js";
8
8
  import { IsAny, TableFeatures } from "../../types/TableFeatures.js";
9
9
 
10
10
  //#region src/features/row-aggregation/rowAggregationFeature.types.d.ts
@@ -63,7 +63,7 @@ interface AggregationFnDef<TFeatures extends TableFeatures = any, TData extends
63
63
  */
64
64
  declare function constructAggregationFn<TFeatures extends TableFeatures = any, TData extends RowData = any, TValue = unknown, TResult = unknown>(definition: AggregationFnDef<TFeatures, TData, TValue, TResult>): AggregationFnDef<TFeatures, TData, TValue, TResult>;
65
65
  /** Aggregation-definition registry carried by a table feature set. */
66
- interface RowModelFns_Aggregation<in out TFeatures extends TableFeatures, in out TData extends RowData> {
66
+ interface RowModelFns_RowAggregation<in out TFeatures extends TableFeatures, in out TData extends RowData> {
67
67
  aggregationFns: Record<string, AggregationFnDef<TFeatures, TData, any, any>>;
68
68
  }
69
69
  /** Named context-based aggregation definitions registered on a feature set. */
@@ -114,7 +114,7 @@ interface ResolvedAggregationFn<TFeatures extends TableFeatures, TData extends R
114
114
  id: string | undefined;
115
115
  }
116
116
  /** Column-definition options installed by `rowAggregationFeature`. */
117
- interface ColumnDef_Aggregation<in out TFeatures extends TableFeatures, in out TData extends RowData, TValue extends CellData = CellData> {
117
+ interface ColumnDef_RowAggregation<in out TFeatures extends TableFeatures, in out TData extends RowData, TValue extends CellData = CellData> {
118
118
  /** Renderer used for a grouped row's aggregated cell. */
119
119
  aggregatedCell?: ColumnDefTemplate<ReturnType<Cell<TFeatures, TData, TValue>['getContext']>>;
120
120
  /**
@@ -136,7 +136,7 @@ interface ColumnDef_Aggregation<in out TFeatures extends TableFeatures, in out T
136
136
  getAggregationValue?: (context: AggregationValueContext<TFeatures, TData, TValue>) => AggregationValueResult | undefined;
137
137
  }
138
138
  /** Column instance APIs installed by `rowAggregationFeature`. */
139
- interface Column_Aggregation<in out TFeatures extends TableFeatures, in out TData extends RowData> {
139
+ interface Column_RowAggregation<in out TFeatures extends TableFeatures, in out TData extends RowData> {
140
140
  /** Resolves the configured scalar or multiple aggregation definitions. */
141
141
  getAggregationFns: () => ReadonlyArray<ResolvedAggregationFn<TFeatures, TData>>;
142
142
  /**
@@ -156,12 +156,12 @@ interface AggregationValueOptions<in out TFeatures extends TableFeatures, in out
156
156
  rows?: ReadonlyArray<Row<TFeatures, TData>>;
157
157
  }
158
158
  /** Cell instance APIs installed by `rowAggregationFeature`. */
159
- interface Cell_Aggregation {
159
+ interface Cell_RowAggregation {
160
160
  /** Whether this cell displays an aggregate on a synthetic grouped row. */
161
161
  getIsAggregated: () => boolean;
162
162
  }
163
163
  /** Internal per-row cache used while grouped aggregates are evaluated. */
164
- interface Row_Aggregation {
164
+ interface Row_RowAggregation {
165
165
  /** Cached aggregate results keyed by column id; created lazily on grouped rows. */
166
166
  _aggregationValuesCache?: Record<string, unknown>;
167
167
  }
@@ -182,7 +182,7 @@ interface AggregationValueResult<TResult = unknown> {
182
182
  value: TResult;
183
183
  }
184
184
  /** Table options installed by `rowAggregationFeature`. */
185
- interface TableOptions_Aggregation {
185
+ interface TableOptions_RowAggregation {
186
186
  /**
187
187
  * Disables local `column.getAggregationValue()` calculation when a column
188
188
  * override does not handle the request. Group values supplied by manually
@@ -191,4 +191,4 @@ interface TableOptions_Aggregation {
191
191
  manualAggregation?: boolean;
192
192
  }
193
193
  //#endregion
194
- export { AggregationContext, AggregationFnDef, AggregationFnDescriptor, AggregationFnListItem, AggregationFnOption, AggregationFnRef, AggregationFns, AggregationMergeContext, AggregationResult, AggregationResultOf, AggregationValueContext, AggregationValueOptions, AggregationValueResult, Cell_Aggregation, ColumnAggregationValue, ColumnDef_Aggregation, Column_Aggregation, CustomAggregationFns, ExtractAggregationFnKeys, ResolvedAggregationFn, RowModelFns_Aggregation, Row_Aggregation, TableOptions_Aggregation, constructAggregationFn };
194
+ export { AggregationContext, AggregationFnDef, AggregationFnDescriptor, AggregationFnListItem, AggregationFnOption, AggregationFnRef, AggregationFns, AggregationMergeContext, AggregationResult, AggregationResultOf, AggregationValueContext, AggregationValueOptions, AggregationValueResult, Cell_RowAggregation, ColumnAggregationValue, ColumnDef_RowAggregation, Column_RowAggregation, CustomAggregationFns, ExtractAggregationFnKeys, ResolvedAggregationFn, RowModelFns_RowAggregation, Row_RowAggregation, TableOptions_RowAggregation, constructAggregationFn };
@@ -1,8 +1,8 @@
1
1
  import { CellData, RowData } from "../../types/type-utils.js";
2
2
  import { AggregationFnDef, AggregationValueOptions, ColumnAggregationValue, ResolvedAggregationFn } from "./rowAggregationFeature.types.js";
3
- import { Cell } from "../../types/Cell.js";
4
- import { Row } from "../../types/Row.js";
5
3
  import { Column } from "../../types/Column.js";
4
+ import { Row } from "../../types/Row.js";
5
+ import { Cell } from "../../types/Cell.js";
6
6
  import { TableFeatures } from "../../types/TableFeatures.js";
7
7
 
8
8
  //#region src/features/row-aggregation/rowAggregationFeature.utils.d.ts
@@ -1,6 +1,6 @@
1
1
  import { RowData } from "../../types/type-utils.js";
2
- import { RowModel } from "../../core/row-models/coreRowModelsFeature.types.js";
3
2
  import { Table } from "../../types/Table.js";
3
+ import { RowModel } from "../../core/row-models/coreRowModelsFeature.types.js";
4
4
  import { TableFeatures } from "../../types/TableFeatures.js";
5
5
 
6
6
  //#region src/features/row-expanding/createExpandedRowModel.d.ts
@@ -17,7 +17,8 @@ function createExpandedRowModel() {
17
17
  memoDeps: () => [
18
18
  table.atoms.expanded?.get(),
19
19
  table.getPreExpandedRowModel(),
20
- table.options.paginateExpandedRows
20
+ table.options.paginateExpandedRows,
21
+ table.options.manualPagination
21
22
  ],
22
23
  fn: () => _createExpandedRowModel(table)
23
24
  });
@@ -27,7 +28,7 @@ function _createExpandedRowModel(table) {
27
28
  const rowModel = table.getPreExpandedRowModel();
28
29
  const expanded = table.atoms.expanded?.get();
29
30
  if (!rowModel.rows.length || expanded !== true && !Object.keys(expanded ?? {}).length) return rowModel;
30
- if (!table.options.paginateExpandedRows) return rowModel;
31
+ if (!table.options.paginateExpandedRows && !table.options.manualPagination) return rowModel;
31
32
  return expandRows(rowModel);
32
33
  }
33
34
  /**
@@ -1,7 +1,7 @@
1
1
  import { RowData, Updater } from "../../types/type-utils.js";
2
2
  import { ExpandedState } from "./rowExpandingFeature.types.js";
3
- import { Row } from "../../types/Row.js";
4
3
  import { Table } from "../../types/Table.js";
4
+ import { Row } from "../../types/Row.js";
5
5
  import { TableFeatures } from "../../types/TableFeatures.js";
6
6
 
7
7
  //#region src/features/row-expanding/rowExpandingFeature.utils.d.ts
@@ -83,15 +83,12 @@ declare function table_getCanSomeRowsExpand<TFeatures extends TableFeatures, TDa
83
83
  /**
84
84
  * Creates an event handler that toggles all rows expanded.
85
85
  *
86
- * React-style synthetic events are persisted when present before the table state
87
- * is toggled.
88
- *
89
86
  * @example
90
87
  * ```ts
91
88
  * const onClick = table_getToggleAllRowsExpandedHandler(table)
92
89
  * ```
93
90
  */
94
- declare function table_getToggleAllRowsExpandedHandler<TFeatures extends TableFeatures, TData extends RowData>(table: Table<TFeatures, TData>): (e: unknown) => void;
91
+ declare function table_getToggleAllRowsExpandedHandler<TFeatures extends TableFeatures, TData extends RowData>(table: Table<TFeatures, TData>): (_e: unknown) => void;
95
92
  /**
96
93
  * Checks whether any row is expanded.
97
94
  *
@@ -93,17 +93,13 @@ function table_getCanSomeRowsExpand(table) {
93
93
  /**
94
94
  * Creates an event handler that toggles all rows expanded.
95
95
  *
96
- * React-style synthetic events are persisted when present before the table state
97
- * is toggled.
98
- *
99
96
  * @example
100
97
  * ```ts
101
98
  * const onClick = table_getToggleAllRowsExpandedHandler(table)
102
99
  * ```
103
100
  */
104
101
  function table_getToggleAllRowsExpandedHandler(table) {
105
- return (e) => {
106
- e.persist?.();
102
+ return (_e) => {
107
103
  table_toggleAllRowsExpanded(table);
108
104
  };
109
105
  }
@@ -1,6 +1,6 @@
1
1
  import { RowData } from "../../types/type-utils.js";
2
- import { RowModel } from "../../core/row-models/coreRowModelsFeature.types.js";
3
2
  import { Table } from "../../types/Table.js";
3
+ import { RowModel } from "../../core/row-models/coreRowModelsFeature.types.js";
4
4
  import { TableFeatures } from "../../types/TableFeatures.js";
5
5
 
6
6
  //#region src/features/row-pagination/createPaginatedRowModel.d.ts
@@ -1,7 +1,7 @@
1
1
  import { RowData, Updater } from "../../types/type-utils.js";
2
2
  import { RowPinningPosition, RowPinningState } from "./rowPinningFeature.types.js";
3
- import { Row } from "../../types/Row.js";
4
3
  import { Table } from "../../types/Table.js";
4
+ import { Row } from "../../types/Row.js";
5
5
  import { TableFeatures } from "../../types/TableFeatures.js";
6
6
 
7
7
  //#region src/features/row-pinning/rowPinningFeature.utils.d.ts
@@ -1,8 +1,8 @@
1
1
  import { RowData, Updater } from "../../types/type-utils.js";
2
2
  import { RowSelectionState, ToggleSelectedOptions } from "./rowSelectionFeature.types.js";
3
+ import { Table } from "../../types/Table.js";
3
4
  import { Row } from "../../types/Row.js";
4
5
  import { RowModel } from "../../core/row-models/coreRowModelsFeature.types.js";
5
- import { Table } from "../../types/Table.js";
6
6
  import { TableFeatures } from "../../types/TableFeatures.js";
7
7
 
8
8
  //#region src/features/row-selection/rowSelectionFeature.utils.d.ts
@@ -298,8 +298,7 @@ declare function row_getCanMultiSelect<TFeatures extends TableFeatures, TData ex
298
298
  *
299
299
  * The handler is a no-op when the row cannot be selected and reads
300
300
  * `event.target.checked`. Shift events select or deselect the inclusive range
301
- * from the most recent selectable row handled by this table. The event's
302
- * optional `persist()` method is called before it is read. Pass
301
+ * from the most recent selectable row handled by this table. Pass
303
302
  * `selectChildren: false` to limit changes to rows explicitly present in the
304
303
  * display-order interval.
305
304
  *
@@ -390,8 +390,7 @@ function row_getCanMultiSelect(row) {
390
390
  *
391
391
  * The handler is a no-op when the row cannot be selected and reads
392
392
  * `event.target.checked`. Shift events select or deselect the inclusive range
393
- * from the most recent selectable row handled by this table. The event's
394
- * optional `persist()` method is called before it is read. Pass
393
+ * from the most recent selectable row handled by this table. Pass
395
394
  * `selectChildren: false` to limit changes to rows explicitly present in the
396
395
  * display-order interval.
397
396
  *
@@ -405,7 +404,6 @@ function row_getToggleSelectedHandler(row, opts) {
405
404
  return (e) => {
406
405
  if (!canSelect) return;
407
406
  const event = e;
408
- event.persist?.();
409
407
  const table = row.table;
410
408
  const checked = event.target.checked;
411
409
  const anchorId = table._lastSelectedRowId;
@@ -1,6 +1,6 @@
1
1
  import { RowData } from "../../types/type-utils.js";
2
- import { RowModel } from "../../core/row-models/coreRowModelsFeature.types.js";
3
2
  import { Table } from "../../types/Table.js";
3
+ import { RowModel } from "../../core/row-models/coreRowModelsFeature.types.js";
4
4
  import { TableFeatures } from "../../types/TableFeatures.js";
5
5
 
6
6
  //#region src/features/row-sorting/createSortedRowModel.d.ts
@@ -178,9 +178,8 @@ declare function column_clearSorting<TFeatures extends TableFeatures, TData exte
178
178
  /**
179
179
  * Creates a header event handler that toggles this column's sorting.
180
180
  *
181
- * The handler ignores events when the column cannot sort, persists React-style
182
- * synthetic events when present, and asks `options.isMultiSortEvent` whether
183
- * the event should add to a multi-sort.
181
+ * The handler ignores events when the column cannot sort, and asks
182
+ * `options.isMultiSortEvent` whether the event should add to a multi-sort.
184
183
  *
185
184
  * @example
186
185
  * ```ts
@@ -279,9 +279,8 @@ function column_clearSorting(column) {
279
279
  /**
280
280
  * Creates a header event handler that toggles this column's sorting.
281
281
  *
282
- * The handler ignores events when the column cannot sort, persists React-style
283
- * synthetic events when present, and asks `options.isMultiSortEvent` whether
284
- * the event should add to a multi-sort.
282
+ * The handler ignores events when the column cannot sort, and asks
283
+ * `options.isMultiSortEvent` whether the event should add to a multi-sort.
285
284
  *
286
285
  * @example
287
286
  * ```ts
@@ -292,7 +291,6 @@ function column_getToggleSortingHandler(column) {
292
291
  const canSort = column_getCanSort(column);
293
292
  return (e) => {
294
293
  if (!canSort) return;
295
- e.persist?.();
296
294
  column_toggleSorting(column, void 0, column_getCanMultiSort(column) ? column.table.options.isMultiSortEvent?.(e) : false);
297
295
  };
298
296
  }
@@ -1,3 +1,4 @@
1
+ import { cellSelectionFeature } from "./cell-selection/cellSelectionFeature.js";
1
2
  import { columnFacetingFeature } from "./column-faceting/columnFacetingFeature.js";
2
3
  import { rowAggregationFeature } from "./row-aggregation/rowAggregationFeature.js";
3
4
  import { columnFilteringFeature } from "./column-filtering/columnFilteringFeature.js";
@@ -16,7 +17,7 @@ import { rowSortingFeature } from "./row-sorting/rowSortingFeature.js";
16
17
 
17
18
  //#region src/features/stockFeatures.d.ts
18
19
  interface StockFeatures {
19
- rowAggregationFeature: typeof rowAggregationFeature;
20
+ cellSelectionFeature: typeof cellSelectionFeature;
20
21
  columnFacetingFeature: typeof columnFacetingFeature;
21
22
  columnFilteringFeature: typeof columnFilteringFeature;
22
23
  columnGroupingFeature: typeof columnGroupingFeature;
@@ -26,6 +27,7 @@ interface StockFeatures {
26
27
  columnSizingFeature: typeof columnSizingFeature;
27
28
  columnVisibilityFeature: typeof columnVisibilityFeature;
28
29
  globalFilteringFeature: typeof globalFilteringFeature;
30
+ rowAggregationFeature: typeof rowAggregationFeature;
29
31
  rowExpandingFeature: typeof rowExpandingFeature;
30
32
  rowPaginationFeature: typeof rowPaginationFeature;
31
33
  rowPinningFeature: typeof rowPinningFeature;
@@ -1,3 +1,4 @@
1
+ import { cellSelectionFeature } from "./cell-selection/cellSelectionFeature.js";
1
2
  import { columnFacetingFeature } from "./column-faceting/columnFacetingFeature.js";
2
3
  import { rowAggregationFeature } from "./row-aggregation/rowAggregationFeature.js";
3
4
  import { columnFilteringFeature } from "./column-filtering/columnFilteringFeature.js";
@@ -21,7 +22,7 @@ import { rowSortingFeature } from "./row-sorting/rowSortingFeature.js";
21
22
  * Use individual feature exports for tree-shaking, or this aggregate when a table should include every built-in feature.
22
23
  */
23
24
  const stockFeatures = {
24
- rowAggregationFeature,
25
+ cellSelectionFeature,
25
26
  columnFacetingFeature,
26
27
  columnFilteringFeature,
27
28
  columnGroupingFeature,
@@ -31,6 +32,7 @@ const stockFeatures = {
31
32
  columnSizingFeature,
32
33
  columnVisibilityFeature,
33
34
  globalFilteringFeature,
35
+ rowAggregationFeature,
34
36
  rowExpandingFeature,
35
37
  rowPaginationFeature,
36
38
  rowPinningFeature,
package/dist/index.d.ts CHANGED
@@ -6,41 +6,43 @@ import { coreRowModelsFeature } from "./core/row-models/coreRowModelsFeature.js"
6
6
  import { coreRowsFeature } from "./core/rows/coreRowsFeature.js";
7
7
  import { coreTablesFeature } from "./core/table/coreTablesFeature.js";
8
8
  import { CoreFeatures, coreFeatures } from "./core/coreFeatures.js";
9
+ import { CellSelectionBounds, CellSelectionDirection, CellSelectionEdges, CellSelectionRange, CellSelectionState, Cell_CellSelection, ColumnDef_CellSelection, SelectCellRangeOptions, TableOptions_CellSelection, TableState_CellSelection, Table_CellSelection } from "./features/cell-selection/cellSelectionFeature.types.js";
10
+ import { CachedRowModel_Faceted, Column_ColumnFaceting, Table_ColumnFaceting, Table_RowModels_Faceted } from "./features/column-faceting/columnFacetingFeature.types.js";
9
11
  import { BuiltInFilterFn, constructFilterFn, filterFn_arrHas, filterFn_arrIncludes, filterFn_arrIncludesAll, filterFn_arrIncludesSome, filterFn_between, filterFn_betweenInclusive, filterFn_empty, filterFn_endsWith, filterFn_equals, filterFn_equalsString, filterFn_equalsStringSensitive, filterFn_greaterThan, filterFn_greaterThanOrEqualTo, filterFn_inDateRange, filterFn_inNumberRange, filterFn_includesString, filterFn_includesStringSensitive, filterFn_lessThan, filterFn_lessThanOrEqualTo, filterFn_notEmpty, filterFn_startsWith, filterFn_weakEquals, filterFns } from "./features/column-filtering/filterFns.js";
10
- import { CachedRowModel_Grouped, Cell_ColumnGrouping, ColumnDef_ColumnGrouping, ColumnDefaultOptions, Column_ColumnGrouping, GroupingColumnMode, GroupingState, Row_ColumnGrouping, TableOptions_ColumnGrouping, TableState_ColumnGrouping, Table_ColumnGrouping, Table_RowModels_Grouped } from "./features/column-grouping/columnGroupingFeature.types.js";
11
- import { BuiltInAggregationFn, aggregationFn_count, aggregationFn_extent, aggregationFn_first, aggregationFn_last, aggregationFn_max, aggregationFn_mean, aggregationFn_median, aggregationFn_min, aggregationFn_sum, aggregationFn_unique, aggregationFn_uniqueCount, aggregationFns } from "./features/row-aggregation/aggregationFns.js";
12
- import { CellContext, Cell_Cell, Cell_CoreProperties, TableOptions_Cell } from "./core/cells/coreCellsFeature.types.js";
13
- import { HeaderGroup, HeaderGroup_Core } from "./types/HeaderGroup.js";
14
- import { ColumnDef_ColumnPinning, ColumnPinningDefaultOptions, ColumnPinningPosition, ColumnPinningState, Column_ColumnPinning, Row_ColumnPinning, TableOptions_ColumnPinning, TableState_ColumnPinning, Table_ColumnPinning } from "./features/column-pinning/columnPinningFeature.types.js";
15
- import { ColumnDef_ColumnSizing, ColumnOffsets, ColumnOffsetsByPosition, ColumnSizingDefaultOptions, ColumnSizingState, Column_ColumnSizing, Header_ColumnSizing, TableOptions_ColumnSizing, TableState_ColumnSizing, Table_ColumnSizing } from "./features/column-sizing/columnSizingFeature.types.js";
16
12
  import { ColumnDef_ColumnResizing, ColumnResizeDirection, ColumnResizeMode, ColumnResizingDefaultOptions, Column_ColumnResizing, Header_ColumnResizing, TableOptions_ColumnResizing, TableState_ColumnResizing, Table_ColumnResizing, columnResizingState } from "./features/column-resizing/columnResizingFeature.types.js";
17
- import { Header, Header_Core, Header_FeatureMap } from "./types/Header.js";
13
+ import { ColumnDef_ColumnSizing, ColumnOffsets, ColumnOffsetsByPosition, ColumnSizingDefaultOptions, ColumnSizingState, Column_ColumnSizing, Header_ColumnSizing, TableOptions_ColumnSizing, TableState_ColumnSizing, Table_ColumnSizing } from "./features/column-sizing/columnSizingFeature.types.js";
14
+ import { HeaderGroup, HeaderGroup_Core } from "./types/HeaderGroup.js";
18
15
  import { HeaderContext, HeaderGroup_Header, Header_CoreProperties, Header_Header, Table_Headers } from "./core/headers/coreHeadersFeature.types.js";
16
+ import { Header, Header_Core, Header_FeatureMap } from "./types/Header.js";
17
+ import { ColumnDef_ColumnPinning, ColumnPinningDefaultOptions, ColumnPinningPosition, ColumnPinningState, Column_ColumnPinning, Row_ColumnPinning, TableOptions_ColumnPinning, TableState_ColumnPinning, Table_ColumnPinning } from "./features/column-pinning/columnPinningFeature.types.js";
18
+ import { ColumnIndexes, ColumnOrderDefaultOptions, ColumnOrderState, Column_ColumnOrdering, TableOptions_ColumnOrdering, TableState_ColumnOrdering, Table_ColumnOrdering } from "./features/column-ordering/columnOrderingFeature.types.js";
19
+ import { RowPinningDefaultOptions, RowPinningPosition, RowPinningState, Row_RowPinning, TableOptions_RowPinning, TableState_RowPinning, Table_RowPinning } from "./features/row-pinning/rowPinningFeature.types.js";
19
20
  import { ColumnDef_GlobalFiltering, Column_GlobalFiltering, TableOptions_GlobalFiltering, TableState_GlobalFiltering, Table_GlobalFiltering } from "./features/global-filtering/globalFilteringFeature.types.js";
20
- import { BuiltInSortFn, constructSortFn, reSplitAlphaNumeric, sortFn_alphanumeric, sortFn_alphanumericCaseSensitive, sortFn_basic, sortFn_datetime, sortFn_text, sortFn_textCaseSensitive, sortFns } from "./features/row-sorting/sortFns.js";
21
- import { CachedRowModel_Sorted, ColumnDef_RowSorting, ColumnSort, Column_RowSorting, CreatedSortFn, CustomSortFns, ExtractSortFnKeys, RowModelFns_RowSorting, SortDirection, SortFn, SortFnDef, SortFnOption, SortFns, SortingState, TableOptions_RowSorting, TableState_RowSorting, Table_RowModels_Sorted, Table_RowSorting } from "./features/row-sorting/rowSortingFeature.types.js";
22
- import { AccessorColumnDef, AccessorFn, AccessorFnColumnDef, AccessorFnColumnDefBase, AccessorKeyColumnDef, AccessorKeyColumnDefBase, ColumnDef, ColumnDefBase, ColumnDefBase_All, ColumnDefResolved, ColumnDefTemplate, ColumnDef_FeatureMap, ColumnMeta, DisplayColumnDef, ExtractColumnMeta, GroupColumnDef, IdIdentifier, IdentifiedColumnDef, StringHeaderIdentifier, StringOrTemplateHeader } from "./types/ColumnDef.js";
23
- import { AggregationContext, AggregationFnDef, AggregationFnDescriptor, AggregationFnListItem, AggregationFnOption, AggregationFnRef, AggregationFns, AggregationMergeContext, AggregationResult, AggregationResultOf, AggregationValueContext, AggregationValueOptions, AggregationValueResult, Cell_Aggregation, ColumnAggregationValue, ColumnDef_Aggregation, Column_Aggregation, CustomAggregationFns, ExtractAggregationFnKeys, ResolvedAggregationFn, RowModelFns_Aggregation, Row_Aggregation, TableOptions_Aggregation, constructAggregationFn } from "./features/row-aggregation/rowAggregationFeature.types.js";
24
- import { Cell, Cell_Core, Cell_FeatureMap } from "./types/Cell.js";
25
- import { ColumnDef_ColumnVisibility, ColumnVisibilityState, Column_ColumnVisibility, Row_ColumnVisibility, TableOptions_ColumnVisibility, TableState_ColumnVisibility, Table_ColumnVisibility, VisibilityDefaultOptions } from "./features/column-visibility/columnVisibilityFeature.types.js";
26
21
  import { CachedRowModel_Expanded, ExpandedState, ExpandedStateList, Row_RowExpanding, TableOptions_RowExpanding, TableState_RowExpanding, Table_RowExpanding, Table_RowModels_Expanded } from "./features/row-expanding/rowExpandingFeature.types.js";
27
- import { RowPinningDefaultOptions, RowPinningPosition, RowPinningState, Row_RowPinning, TableOptions_RowPinning, TableState_RowPinning, Table_RowPinning } from "./features/row-pinning/rowPinningFeature.types.js";
28
- import { RowSelectionState, Row_RowSelection, TableOptions_RowSelection, TableState_RowSelection, Table_RowSelection, ToggleSelectedOptions } from "./features/row-selection/rowSelectionFeature.types.js";
29
- import { Row_CoreProperties, Row_Row, TableOptions_Rows, Table_Rows } from "./core/rows/coreRowsFeature.types.js";
30
- import { Row, Row_Core, Row_FeatureMap } from "./types/Row.js";
31
- import { CachedRowModel_Filtered, ColumnDef_ColumnFiltering, ColumnFilter, ColumnFilterAutoRemoveTestFn, ColumnFiltersState, Column_ColumnFiltering, CreatedFilterFn, CustomFilterFns, ExtractFilterFnKeys, ExtractFilterMeta, FilterFn, FilterFnDef, FilterFnOption, FilterFns, FilterMeta, ResolvedColumnFilter, RowModelFns_ColumnFiltering, Row_ColumnFiltering, TableOptions_ColumnFiltering, TableState_ColumnFiltering, Table_ColumnFiltering, Table_RowModels_Filtered, TransformFilterValueFn } from "./features/column-filtering/columnFilteringFeature.types.js";
32
22
  import { CachedRowModel_Paginated, PaginationDefaultOptions, PaginationState, TableOptions_RowPagination, TableState_RowPagination, Table_RowModels_Paginated, Table_RowPagination } from "./features/row-pagination/rowPaginationFeature.types.js";
33
- import { CachedRowModel_Core, RowModel, Table_RowModels, Table_RowModels_Core } from "./core/row-models/coreRowModelsFeature.types.js";
34
- import { CachedRowModel_Faceted, Column_ColumnFaceting, Table_ColumnFaceting, Table_RowModels_Faceted } from "./features/column-faceting/columnFacetingFeature.types.js";
35
- import { ColumnIndexes, ColumnOrderDefaultOptions, ColumnOrderState, Column_ColumnOrdering, TableOptions_ColumnOrdering, TableState_ColumnOrdering, Table_ColumnOrdering } from "./features/column-ordering/columnOrderingFeature.types.js";
23
+ import { RowSelectionState, Row_RowSelection, TableOptions_RowSelection, TableState_RowSelection, Table_RowSelection, ToggleSelectedOptions } from "./features/row-selection/rowSelectionFeature.types.js";
24
+ import { BuiltInSortFn, constructSortFn, reSplitAlphaNumeric, sortFn_alphanumeric, sortFn_alphanumericCaseSensitive, sortFn_basic, sortFn_datetime, sortFn_text, sortFn_textCaseSensitive, sortFns } from "./features/row-sorting/sortFns.js";
25
+ import { CachedRowModel_Sorted, ColumnDef_RowSorting, ColumnSort, Column_RowSorting, CreatedSortFn, CustomSortFns, ExtractSortFnKeys, RowModelFns_RowSorting, SortDirection, SortFn, SortFnDef, SortFnOption, SortFns, SortingState, TableOptions_RowSorting, TableState_RowSorting, Table_RowModels_Sorted, Table_RowSorting } from "./features/row-sorting/rowSortingFeature.types.js";
36
26
  import { CachedRowModel_All, CachedRowModels, CachedRowModels_FeatureMap } from "./types/RowModel.js";
27
+ import { BuiltInAggregationFn, aggregationFn_count, aggregationFn_extent, aggregationFn_first, aggregationFn_last, aggregationFn_max, aggregationFn_mean, aggregationFn_median, aggregationFn_min, aggregationFn_sum, aggregationFn_unique, aggregationFn_uniqueCount, aggregationFns } from "./features/row-aggregation/aggregationFns.js";
28
+ import { CellContext, Cell_Cell, Cell_CoreProperties, TableOptions_Cell } from "./core/cells/coreCellsFeature.types.js";
29
+ import { AccessorColumnDef, AccessorFn, AccessorFnColumnDef, AccessorFnColumnDefBase, AccessorKeyColumnDef, AccessorKeyColumnDefBase, ColumnDef, ColumnDefBase, ColumnDefBase_All, ColumnDefResolved, ColumnDefTemplate, ColumnDef_FeatureMap, ColumnMeta, DisplayColumnDef, ExtractColumnMeta, GroupColumnDef, IdIdentifier, IdentifiedColumnDef, StringHeaderIdentifier, StringOrTemplateHeader } from "./types/ColumnDef.js";
30
+ import { AggregationContext, AggregationFnDef, AggregationFnDescriptor, AggregationFnListItem, AggregationFnOption, AggregationFnRef, AggregationFns, AggregationMergeContext, AggregationResult, AggregationResultOf, AggregationValueContext, AggregationValueOptions, AggregationValueResult, Cell_RowAggregation, ColumnAggregationValue, ColumnDef_RowAggregation, Column_RowAggregation, CustomAggregationFns, ExtractAggregationFnKeys, ResolvedAggregationFn, RowModelFns_RowAggregation, Row_RowAggregation, TableOptions_RowAggregation, constructAggregationFn } from "./features/row-aggregation/rowAggregationFeature.types.js";
37
31
  import { RowModelFns, RowModelFns_All, RowModelFns_Core, RowModelFns_FeatureMap } from "./types/RowModelFns.js";
38
32
  import { TableState, TableState_All, TableState_FeatureMap } from "./types/TableState.js";
39
33
  import { Column_Column, Column_CoreProperties, TableOptions_Columns, Table_Columns } from "./core/columns/coreColumnsFeature.types.js";
34
+ import { Row_CoreProperties, Row_Row, TableOptions_Rows, Table_Rows } from "./core/rows/coreRowsFeature.types.js";
40
35
  import { DebugOptions, TableOptions, TableOptions_All, TableOptions_Core, TableOptions_FeatureMap } from "./types/TableOptions.js";
41
36
  import { Atoms, Atoms_All, BaseAtoms, BaseAtoms_All, ExternalAtoms, ExternalAtoms_All, ExtractTableMeta, TableMeta, TableOptions_Table, Table_CoreProperties, Table_Table } from "./core/table/coreTablesFeature.types.js";
42
37
  import { Table, Table_Core, Table_FeatureMap } from "./types/Table.js";
43
38
  import { Column, Column_Core, Column_FeatureMap } from "./types/Column.js";
39
+ import { ColumnDef_ColumnVisibility, ColumnVisibilityState, Column_ColumnVisibility, Row_ColumnVisibility, TableOptions_ColumnVisibility, TableState_ColumnVisibility, Table_ColumnVisibility, VisibilityDefaultOptions } from "./features/column-visibility/columnVisibilityFeature.types.js";
40
+ import { Row, Row_Core, Row_FeatureMap } from "./types/Row.js";
41
+ import { CachedRowModel_Filtered, ColumnDef_ColumnFiltering, ColumnFilter, ColumnFilterAutoRemoveTestFn, ColumnFiltersState, Column_ColumnFiltering, CreatedFilterFn, CustomFilterFns, ExtractFilterFnKeys, ExtractFilterMeta, FilterFn, FilterFnDef, FilterFnOption, FilterFns, FilterMeta, ResolvedColumnFilter, RowModelFns_ColumnFiltering, Row_ColumnFiltering, TableOptions_ColumnFiltering, TableState_ColumnFiltering, Table_ColumnFiltering, Table_RowModels_Filtered, TransformFilterValueFn } from "./features/column-filtering/columnFilteringFeature.types.js";
42
+ import { CachedRowModel_Core, RowModel, Table_RowModels, Table_RowModels_Core } from "./core/row-models/coreRowModelsFeature.types.js";
43
+ import { CachedRowModel_Grouped, Cell_ColumnGrouping, ColumnDef_ColumnGrouping, ColumnDefaultOptions, Column_ColumnGrouping, GroupingColumnMode, GroupingState, Row_ColumnGrouping, TableOptions_ColumnGrouping, TableState_ColumnGrouping, Table_ColumnGrouping, Table_RowModels_Grouped } from "./features/column-grouping/columnGroupingFeature.types.js";
44
+ import { Cell, Cell_Core, Cell_FeatureMap } from "./types/Cell.js";
45
+ import { cellSelectionFeature } from "./features/cell-selection/cellSelectionFeature.js";
44
46
  import { columnFacetingFeature } from "./features/column-faceting/columnFacetingFeature.js";
45
47
  import { rowAggregationFeature } from "./features/row-aggregation/rowAggregationFeature.js";
46
48
  import { columnFilteringFeature } from "./features/column-filtering/columnFilteringFeature.js";
@@ -78,4 +80,4 @@ import { createGroupedRowModel } from "./features/column-grouping/createGroupedR
78
80
  import { createExpandedRowModel, expandRows } from "./features/row-expanding/createExpandedRowModel.js";
79
81
  import { createPaginatedRowModel } from "./features/row-pagination/createPaginatedRowModel.js";
80
82
  import { createSortedRowModel } from "./features/row-sorting/createSortedRowModel.js";
81
- export { API, APIObject, AccessorColumnDef, AccessorFn, AccessorFnColumnDef, AccessorFnColumnDefBase, AccessorKeyColumnDef, AccessorKeyColumnDefBase, AggregationContext, AggregationFnDef, AggregationFnDescriptor, AggregationFnListItem, AggregationFnOption, AggregationFnRef, AggregationFns, AggregationMergeContext, AggregationResult, AggregationResultOf, AggregationValueContext, AggregationValueOptions, AggregationValueResult, Atoms, Atoms_All, BaseAtoms, BaseAtoms_All, BuiltInAggregationFn, BuiltInFilterFn, BuiltInSortFn, CachedRowModel_All, CachedRowModel_Core, CachedRowModel_Expanded, CachedRowModel_Faceted, CachedRowModel_Filtered, CachedRowModel_Grouped, CachedRowModel_Paginated, CachedRowModel_Sorted, CachedRowModels, CachedRowModels_FeatureMap, Cell, CellContext, CellData, Cell_Aggregation, Cell_Cell, Cell_ColumnGrouping, Cell_Core, Cell_CoreProperties, Cell_FeatureMap, Column, ColumnAggregationValue, ColumnDef, ColumnDefBase, ColumnDefBase_All, ColumnDefResolved, ColumnDefTemplate, ColumnDef_Aggregation, ColumnDef_ColumnFiltering, ColumnDef_ColumnGrouping, ColumnDef_ColumnPinning, ColumnDef_ColumnResizing, ColumnDef_ColumnSizing, ColumnDef_ColumnVisibility, ColumnDef_FeatureMap, ColumnDef_GlobalFiltering, ColumnDef_RowSorting, ColumnDefaultOptions, ColumnFilter, ColumnFilterAutoRemoveTestFn, ColumnFiltersState, ColumnHelper, ColumnIndexes, ColumnMeta, ColumnOffsets, ColumnOffsetsByPosition, ColumnOrderDefaultOptions, ColumnOrderState, ColumnPinningDefaultOptions, ColumnPinningPosition, ColumnPinningState, ColumnResizeDirection, ColumnResizeMode, ColumnResizingDefaultOptions, ColumnSizingDefaultOptions, ColumnSizingState, ColumnSort, ColumnVisibilityState, Column_Aggregation, Column_Column, Column_ColumnFaceting, Column_ColumnFiltering, Column_ColumnGrouping, Column_ColumnOrdering, Column_ColumnPinning, Column_ColumnResizing, Column_ColumnSizing, Column_ColumnVisibility, Column_Core, Column_CoreProperties, Column_FeatureMap, Column_GlobalFiltering, Column_RowSorting, CoreFeatures, CreatedFilterFn, CreatedSortFn, CustomAggregationFns, CustomFilterFns, CustomSortFns, DebugOptions, DeepKeys, DeepValue, DisplayColumnDef, ExpandedState, ExpandedStateList, ExternalAtoms, ExternalAtoms_All, ExtractAggregationFnKeys, ExtractColumnMeta, ExtractFeatureMapTypes, ExtractFilterFnKeys, ExtractFilterMeta, ExtractSortFnKeys, ExtractTableMeta, FeatureSlotPrereqs, FilterFn, FilterFnDef, FilterFnOption, FilterFns, FilterMeta, Getter, GroupColumnDef, GroupingColumnMode, GroupingState, Header, HeaderContext, HeaderGroup, HeaderGroup_Core, HeaderGroup_Header, Header_ColumnResizing, Header_ColumnSizing, Header_Core, Header_CoreProperties, Header_FeatureMap, Header_Header, IdIdentifier, IdentifiedColumnDef, IsAny, NoInfer, NonFeatureKeys, OnChangeFn, PaginationDefaultOptions, PaginationState, PartialKeys, Plugins, Prettify, PrototypeAPI, PrototypeAPIObject, RequiredKeys, ResolvedAggregationFn, ResolvedColumnFilter, Row, RowData, RowModel, RowModelFns, RowModelFns_Aggregation, RowModelFns_All, RowModelFns_ColumnFiltering, RowModelFns_Core, RowModelFns_FeatureMap, RowModelFns_RowSorting, RowPinningDefaultOptions, RowPinningPosition, RowPinningState, RowSelectionState, Row_Aggregation, Row_ColumnFiltering, Row_ColumnGrouping, Row_ColumnPinning, Row_ColumnVisibility, Row_Core, Row_CoreProperties, Row_FeatureMap, Row_Row, Row_RowExpanding, Row_RowPinning, Row_RowSelection, SortDirection, SortFn, SortFnDef, SortFnOption, SortFns, SortingState, StockFeatures, StringHeaderIdentifier, StringOrTemplateHeader, Table, TableFeature, TableFeatures, TableMeta, TableOptions, TableOptions_Aggregation, TableOptions_All, TableOptions_Cell, TableOptions_ColumnFiltering, TableOptions_ColumnGrouping, TableOptions_ColumnOrdering, TableOptions_ColumnPinning, TableOptions_ColumnResizing, TableOptions_ColumnSizing, TableOptions_ColumnVisibility, TableOptions_Columns, TableOptions_Core, TableOptions_FeatureMap, TableOptions_GlobalFiltering, TableOptions_RowExpanding, TableOptions_RowPagination, TableOptions_RowPinning, TableOptions_RowSelection, TableOptions_RowSorting, TableOptions_Rows, TableOptions_Table, TableState, TableState_All, TableState_ColumnFiltering, TableState_ColumnGrouping, TableState_ColumnOrdering, TableState_ColumnPinning, TableState_ColumnResizing, TableState_ColumnSizing, TableState_ColumnVisibility, TableState_FeatureMap, TableState_GlobalFiltering, TableState_RowExpanding, TableState_RowPagination, TableState_RowPinning, TableState_RowSelection, TableState_RowSorting, Table_ColumnFaceting, Table_ColumnFiltering, Table_ColumnGrouping, Table_ColumnOrdering, Table_ColumnPinning, Table_ColumnResizing, Table_ColumnSizing, Table_ColumnVisibility, Table_Columns, Table_Core, Table_CoreProperties, Table_FeatureMap, Table_GlobalFiltering, Table_Headers, Table_RowExpanding, Table_RowModels, Table_RowModels_Core, Table_RowModels_Expanded, Table_RowModels_Faceted, Table_RowModels_Filtered, Table_RowModels_Grouped, Table_RowModels_Paginated, Table_RowModels_Sorted, Table_RowPagination, Table_RowPinning, Table_RowSelection, Table_RowSorting, Table_Rows, Table_Table, ToggleSelectedOptions, TransformDataValueFn, TransformFilterValueFn, UnionToIntersection, Updater, ValidateFeatureSlots, VisibilityDefaultOptions, aggregationFn_count, aggregationFn_extent, aggregationFn_first, aggregationFn_last, aggregationFn_max, aggregationFn_mean, aggregationFn_median, aggregationFn_min, aggregationFn_sum, aggregationFn_unique, aggregationFn_uniqueCount, aggregationFns, assignPrototypeAPIs, assignTableAPIs, buildHeaderGroups, callMemoOrStaticFn, cloneState, columnFacetingFeature, columnFilteringFeature, columnGroupingFeature, columnOrderingFeature, columnPinningFeature, columnResizingFeature, columnResizingState, columnSizingFeature, columnVisibilityFeature, constructAggregationFn, constructCell, constructColumn, constructFilterFn, constructHeader, constructRow, constructSortFn, constructTable, copyInstancePropertiesWithoutMemos, coreCellsFeature, coreColumnsFeature, coreFeatures, coreHeadersFeature, coreRowModelsFeature, coreRowsFeature, coreTablesFeature, createColumnHelper, createCoreRowModel, createExpandedRowModel, createFacetedMinMaxValues, createFacetedRowModel, createFacetedUniqueValues, createFilteredRowModel, createGroupedRowModel, createPaginatedRowModel, createSortedRowModel, expandRows, filterFn_arrHas, filterFn_arrIncludes, filterFn_arrIncludesAll, filterFn_arrIncludesSome, filterFn_between, filterFn_betweenInclusive, filterFn_empty, filterFn_endsWith, filterFn_equals, filterFn_equalsString, filterFn_equalsStringSensitive, filterFn_greaterThan, filterFn_greaterThanOrEqualTo, filterFn_inDateRange, filterFn_inNumberRange, filterFn_includesString, filterFn_includesStringSensitive, filterFn_lessThan, filterFn_lessThanOrEqualTo, filterFn_notEmpty, filterFn_startsWith, filterFn_weakEquals, filterFns, flattenBy, functionalUpdate, getFunctionNameInfo, getInitialTableState, globalFilteringFeature, hasOwn, isFunction, makeObjectMap, makeStateUpdater, memo, metaHelper, reSplitAlphaNumeric, rowAggregationFeature, rowExpandingFeature, rowPaginationFeature, rowPinningFeature, rowSelectionFeature, rowSortingFeature, sortFn_alphanumeric, sortFn_alphanumericCaseSensitive, sortFn_basic, sortFn_datetime, sortFn_text, sortFn_textCaseSensitive, sortFns, stockFeatures, tableFeatures, tableMemo, tableOptions };
83
+ export { API, APIObject, AccessorColumnDef, AccessorFn, AccessorFnColumnDef, AccessorFnColumnDefBase, AccessorKeyColumnDef, AccessorKeyColumnDefBase, AggregationContext, AggregationFnDef, AggregationFnDescriptor, AggregationFnListItem, AggregationFnOption, AggregationFnRef, AggregationFns, AggregationMergeContext, AggregationResult, AggregationResultOf, AggregationValueContext, AggregationValueOptions, AggregationValueResult, Atoms, Atoms_All, BaseAtoms, BaseAtoms_All, BuiltInAggregationFn, BuiltInFilterFn, BuiltInSortFn, CachedRowModel_All, CachedRowModel_Core, CachedRowModel_Expanded, CachedRowModel_Faceted, CachedRowModel_Filtered, CachedRowModel_Grouped, CachedRowModel_Paginated, CachedRowModel_Sorted, CachedRowModels, CachedRowModels_FeatureMap, Cell, CellContext, CellData, CellSelectionBounds, CellSelectionDirection, CellSelectionEdges, CellSelectionRange, CellSelectionState, Cell_Cell, Cell_CellSelection, Cell_ColumnGrouping, Cell_Core, Cell_CoreProperties, Cell_FeatureMap, Cell_RowAggregation, Column, ColumnAggregationValue, ColumnDef, ColumnDefBase, ColumnDefBase_All, ColumnDefResolved, ColumnDefTemplate, ColumnDef_CellSelection, ColumnDef_ColumnFiltering, ColumnDef_ColumnGrouping, ColumnDef_ColumnPinning, ColumnDef_ColumnResizing, ColumnDef_ColumnSizing, ColumnDef_ColumnVisibility, ColumnDef_FeatureMap, ColumnDef_GlobalFiltering, ColumnDef_RowAggregation, ColumnDef_RowSorting, ColumnDefaultOptions, ColumnFilter, ColumnFilterAutoRemoveTestFn, ColumnFiltersState, ColumnHelper, ColumnIndexes, ColumnMeta, ColumnOffsets, ColumnOffsetsByPosition, ColumnOrderDefaultOptions, ColumnOrderState, ColumnPinningDefaultOptions, ColumnPinningPosition, ColumnPinningState, ColumnResizeDirection, ColumnResizeMode, ColumnResizingDefaultOptions, ColumnSizingDefaultOptions, ColumnSizingState, ColumnSort, ColumnVisibilityState, Column_Column, Column_ColumnFaceting, Column_ColumnFiltering, Column_ColumnGrouping, Column_ColumnOrdering, Column_ColumnPinning, Column_ColumnResizing, Column_ColumnSizing, Column_ColumnVisibility, Column_Core, Column_CoreProperties, Column_FeatureMap, Column_GlobalFiltering, Column_RowAggregation, Column_RowSorting, CoreFeatures, CreatedFilterFn, CreatedSortFn, CustomAggregationFns, CustomFilterFns, CustomSortFns, DebugOptions, DeepKeys, DeepValue, DisplayColumnDef, ExpandedState, ExpandedStateList, ExternalAtoms, ExternalAtoms_All, ExtractAggregationFnKeys, ExtractColumnMeta, ExtractFeatureMapTypes, ExtractFilterFnKeys, ExtractFilterMeta, ExtractSortFnKeys, ExtractTableMeta, FeatureSlotPrereqs, FilterFn, FilterFnDef, FilterFnOption, FilterFns, FilterMeta, Getter, GroupColumnDef, GroupingColumnMode, GroupingState, Header, HeaderContext, HeaderGroup, HeaderGroup_Core, HeaderGroup_Header, Header_ColumnResizing, Header_ColumnSizing, Header_Core, Header_CoreProperties, Header_FeatureMap, Header_Header, IdIdentifier, IdentifiedColumnDef, IsAny, NoInfer, NonFeatureKeys, OnChangeFn, PaginationDefaultOptions, PaginationState, PartialKeys, Plugins, Prettify, PrototypeAPI, PrototypeAPIObject, RequiredKeys, ResolvedAggregationFn, ResolvedColumnFilter, Row, RowData, RowModel, RowModelFns, RowModelFns_All, RowModelFns_ColumnFiltering, RowModelFns_Core, RowModelFns_FeatureMap, RowModelFns_RowAggregation, RowModelFns_RowSorting, RowPinningDefaultOptions, RowPinningPosition, RowPinningState, RowSelectionState, Row_ColumnFiltering, Row_ColumnGrouping, Row_ColumnPinning, Row_ColumnVisibility, Row_Core, Row_CoreProperties, Row_FeatureMap, Row_Row, Row_RowAggregation, Row_RowExpanding, Row_RowPinning, Row_RowSelection, SelectCellRangeOptions, SortDirection, SortFn, SortFnDef, SortFnOption, SortFns, SortingState, StockFeatures, StringHeaderIdentifier, StringOrTemplateHeader, Table, TableFeature, TableFeatures, TableMeta, TableOptions, TableOptions_All, TableOptions_Cell, TableOptions_CellSelection, TableOptions_ColumnFiltering, TableOptions_ColumnGrouping, TableOptions_ColumnOrdering, TableOptions_ColumnPinning, TableOptions_ColumnResizing, TableOptions_ColumnSizing, TableOptions_ColumnVisibility, TableOptions_Columns, TableOptions_Core, TableOptions_FeatureMap, TableOptions_GlobalFiltering, TableOptions_RowAggregation, TableOptions_RowExpanding, TableOptions_RowPagination, TableOptions_RowPinning, TableOptions_RowSelection, TableOptions_RowSorting, TableOptions_Rows, TableOptions_Table, TableState, TableState_All, TableState_CellSelection, TableState_ColumnFiltering, TableState_ColumnGrouping, TableState_ColumnOrdering, TableState_ColumnPinning, TableState_ColumnResizing, TableState_ColumnSizing, TableState_ColumnVisibility, TableState_FeatureMap, TableState_GlobalFiltering, TableState_RowExpanding, TableState_RowPagination, TableState_RowPinning, TableState_RowSelection, TableState_RowSorting, Table_CellSelection, Table_ColumnFaceting, Table_ColumnFiltering, Table_ColumnGrouping, Table_ColumnOrdering, Table_ColumnPinning, Table_ColumnResizing, Table_ColumnSizing, Table_ColumnVisibility, Table_Columns, Table_Core, Table_CoreProperties, Table_FeatureMap, Table_GlobalFiltering, Table_Headers, Table_RowExpanding, Table_RowModels, Table_RowModels_Core, Table_RowModels_Expanded, Table_RowModels_Faceted, Table_RowModels_Filtered, Table_RowModels_Grouped, Table_RowModels_Paginated, Table_RowModels_Sorted, Table_RowPagination, Table_RowPinning, Table_RowSelection, Table_RowSorting, Table_Rows, Table_Table, ToggleSelectedOptions, TransformDataValueFn, TransformFilterValueFn, UnionToIntersection, Updater, ValidateFeatureSlots, VisibilityDefaultOptions, aggregationFn_count, aggregationFn_extent, aggregationFn_first, aggregationFn_last, aggregationFn_max, aggregationFn_mean, aggregationFn_median, aggregationFn_min, aggregationFn_sum, aggregationFn_unique, aggregationFn_uniqueCount, aggregationFns, assignPrototypeAPIs, assignTableAPIs, buildHeaderGroups, callMemoOrStaticFn, cellSelectionFeature, cloneState, columnFacetingFeature, columnFilteringFeature, columnGroupingFeature, columnOrderingFeature, columnPinningFeature, columnResizingFeature, columnResizingState, columnSizingFeature, columnVisibilityFeature, constructAggregationFn, constructCell, constructColumn, constructFilterFn, constructHeader, constructRow, constructSortFn, constructTable, copyInstancePropertiesWithoutMemos, coreCellsFeature, coreColumnsFeature, coreFeatures, coreHeadersFeature, coreRowModelsFeature, coreRowsFeature, coreTablesFeature, createColumnHelper, createCoreRowModel, createExpandedRowModel, createFacetedMinMaxValues, createFacetedRowModel, createFacetedUniqueValues, createFilteredRowModel, createGroupedRowModel, createPaginatedRowModel, createSortedRowModel, expandRows, filterFn_arrHas, filterFn_arrIncludes, filterFn_arrIncludesAll, filterFn_arrIncludesSome, filterFn_between, filterFn_betweenInclusive, filterFn_empty, filterFn_endsWith, filterFn_equals, filterFn_equalsString, filterFn_equalsStringSensitive, filterFn_greaterThan, filterFn_greaterThanOrEqualTo, filterFn_inDateRange, filterFn_inNumberRange, filterFn_includesString, filterFn_includesStringSensitive, filterFn_lessThan, filterFn_lessThanOrEqualTo, filterFn_notEmpty, filterFn_startsWith, filterFn_weakEquals, filterFns, flattenBy, functionalUpdate, getFunctionNameInfo, getInitialTableState, globalFilteringFeature, hasOwn, isFunction, makeObjectMap, makeStateUpdater, memo, metaHelper, reSplitAlphaNumeric, rowAggregationFeature, rowExpandingFeature, rowPaginationFeature, rowPinningFeature, rowSelectionFeature, rowSortingFeature, sortFn_alphanumeric, sortFn_alphanumericCaseSensitive, sortFn_basic, sortFn_datetime, sortFn_text, sortFn_textCaseSensitive, sortFns, stockFeatures, tableFeatures, tableMemo, tableOptions };