@tanstack/table-core 9.0.0-beta.36 → 9.0.0-beta.38

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 (93) hide show
  1. package/dist/core/headers/buildHeaderGroups.cjs.map +1 -1
  2. package/dist/core/headers/buildHeaderGroups.d.cts +1 -1
  3. package/dist/core/headers/buildHeaderGroups.d.ts +1 -1
  4. package/dist/core/headers/buildHeaderGroups.js.map +1 -1
  5. package/dist/core/headers/coreHeadersFeature.utils.cjs +7 -7
  6. package/dist/core/headers/coreHeadersFeature.utils.cjs.map +1 -1
  7. package/dist/core/headers/coreHeadersFeature.utils.js +7 -7
  8. package/dist/core/headers/coreHeadersFeature.utils.js.map +1 -1
  9. package/dist/features/column-filtering/columnFilteringFeature.types.d.cts +2 -2
  10. package/dist/features/column-filtering/columnFilteringFeature.types.d.ts +2 -2
  11. package/dist/features/column-grouping/columnGroupingFeature.types.d.cts +1 -1
  12. package/dist/features/column-grouping/columnGroupingFeature.types.d.ts +1 -1
  13. package/dist/features/column-grouping/columnGroupingFeature.utils.cjs.map +1 -1
  14. package/dist/features/column-grouping/columnGroupingFeature.utils.js.map +1 -1
  15. package/dist/features/column-ordering/columnOrderingFeature.types.d.cts +6 -6
  16. package/dist/features/column-ordering/columnOrderingFeature.types.d.ts +6 -6
  17. package/dist/features/column-ordering/columnOrderingFeature.utils.cjs +6 -6
  18. package/dist/features/column-ordering/columnOrderingFeature.utils.cjs.map +1 -1
  19. package/dist/features/column-ordering/columnOrderingFeature.utils.d.cts +3 -3
  20. package/dist/features/column-ordering/columnOrderingFeature.utils.d.ts +3 -3
  21. package/dist/features/column-ordering/columnOrderingFeature.utils.js +6 -6
  22. package/dist/features/column-ordering/columnOrderingFeature.utils.js.map +1 -1
  23. package/dist/features/column-pinning/columnPinningFeature.cjs +44 -39
  24. package/dist/features/column-pinning/columnPinningFeature.cjs.map +1 -1
  25. package/dist/features/column-pinning/columnPinningFeature.d.cts +6 -1
  26. package/dist/features/column-pinning/columnPinningFeature.d.ts +6 -1
  27. package/dist/features/column-pinning/columnPinningFeature.js +45 -40
  28. package/dist/features/column-pinning/columnPinningFeature.js.map +1 -1
  29. package/dist/features/column-pinning/columnPinningFeature.types.d.cts +49 -38
  30. package/dist/features/column-pinning/columnPinningFeature.types.d.ts +49 -38
  31. package/dist/features/column-pinning/columnPinningFeature.utils.cjs +154 -146
  32. package/dist/features/column-pinning/columnPinningFeature.utils.cjs.map +1 -1
  33. package/dist/features/column-pinning/columnPinningFeature.utils.d.cts +81 -73
  34. package/dist/features/column-pinning/columnPinningFeature.utils.d.ts +81 -73
  35. package/dist/features/column-pinning/columnPinningFeature.utils.js +141 -133
  36. package/dist/features/column-pinning/columnPinningFeature.utils.js.map +1 -1
  37. package/dist/features/column-sizing/columnSizingFeature.cjs +4 -4
  38. package/dist/features/column-sizing/columnSizingFeature.cjs.map +1 -1
  39. package/dist/features/column-sizing/columnSizingFeature.js +5 -5
  40. package/dist/features/column-sizing/columnSizingFeature.js.map +1 -1
  41. package/dist/features/column-sizing/columnSizingFeature.types.d.cts +18 -12
  42. package/dist/features/column-sizing/columnSizingFeature.types.d.ts +18 -12
  43. package/dist/features/column-sizing/columnSizingFeature.utils.cjs +24 -20
  44. package/dist/features/column-sizing/columnSizingFeature.utils.cjs.map +1 -1
  45. package/dist/features/column-sizing/columnSizingFeature.utils.d.cts +18 -14
  46. package/dist/features/column-sizing/columnSizingFeature.utils.d.ts +18 -14
  47. package/dist/features/column-sizing/columnSizingFeature.utils.js +24 -20
  48. package/dist/features/column-sizing/columnSizingFeature.utils.js.map +1 -1
  49. package/dist/features/column-visibility/columnVisibilityFeature.utils.cjs +16 -16
  50. package/dist/features/column-visibility/columnVisibilityFeature.utils.cjs.map +1 -1
  51. package/dist/features/column-visibility/columnVisibilityFeature.utils.d.cts +3 -3
  52. package/dist/features/column-visibility/columnVisibilityFeature.utils.d.ts +3 -3
  53. package/dist/features/column-visibility/columnVisibilityFeature.utils.js +16 -16
  54. package/dist/features/column-visibility/columnVisibilityFeature.utils.js.map +1 -1
  55. package/dist/features/row-expanding/rowExpandingFeature.types.d.cts +1 -1
  56. package/dist/features/row-expanding/rowExpandingFeature.types.d.ts +1 -1
  57. package/dist/features/row-pagination/rowPaginationFeature.types.d.cts +1 -1
  58. package/dist/features/row-pagination/rowPaginationFeature.types.d.ts +1 -1
  59. package/dist/features/row-sorting/rowSortingFeature.types.d.cts +1 -1
  60. package/dist/features/row-sorting/rowSortingFeature.types.d.ts +1 -1
  61. package/dist/static-functions.cjs +16 -16
  62. package/dist/static-functions.d.cts +3 -3
  63. package/dist/static-functions.d.ts +3 -3
  64. package/dist/static-functions.js +3 -3
  65. package/dist/utils.cjs +3 -15
  66. package/dist/utils.cjs.map +1 -1
  67. package/dist/utils.d.cts +2 -2
  68. package/dist/utils.d.ts +2 -2
  69. package/dist/utils.js +3 -15
  70. package/dist/utils.js.map +1 -1
  71. package/package.json +1 -1
  72. package/src/core/headers/buildHeaderGroups.ts +1 -1
  73. package/src/core/headers/coreHeadersFeature.utils.ts +7 -8
  74. package/src/core/row-models/coreRowModelsFeature.types.ts +0 -1
  75. package/src/core/table/coreTablesFeature.types.ts +1 -0
  76. package/src/features/column-faceting/columnFacetingFeature.types.ts +0 -1
  77. package/src/features/column-filtering/columnFilteringFeature.types.ts +3 -3
  78. package/src/features/column-grouping/columnGroupingFeature.types.ts +2 -2
  79. package/src/features/column-grouping/columnGroupingFeature.utils.ts +2 -0
  80. package/src/features/column-ordering/columnOrderingFeature.types.ts +7 -7
  81. package/src/features/column-ordering/columnOrderingFeature.utils.ts +9 -9
  82. package/src/features/column-pinning/columnPinningFeature.ts +64 -59
  83. package/src/features/column-pinning/columnPinningFeature.types.ts +49 -38
  84. package/src/features/column-pinning/columnPinningFeature.utils.ts +163 -155
  85. package/src/features/column-sizing/columnSizingFeature.ts +6 -6
  86. package/src/features/column-sizing/columnSizingFeature.types.ts +18 -12
  87. package/src/features/column-sizing/columnSizingFeature.utils.ts +31 -27
  88. package/src/features/column-visibility/columnVisibilityFeature.utils.ts +15 -15
  89. package/src/features/row-expanding/rowExpandingFeature.types.ts +2 -3
  90. package/src/features/row-pagination/rowPaginationFeature.types.ts +2 -3
  91. package/src/features/row-sorting/rowSortingFeature.types.ts +2 -2
  92. package/src/types/ColumnDef.ts +1 -0
  93. package/src/utils.ts +3 -4
@@ -25,12 +25,16 @@ declare function getDefaultColumnPinningState(): ColumnPinningState;
25
25
  * Moves this column's leaf column ids into a pinning region.
26
26
  *
27
27
  * Pinning a group column pins all of its leaves. The leaf ids are first removed
28
- * from both regions, then appended to the requested `'left'` or `'right'`
28
+ * from both regions, then appended to the requested `'start'` or `'end'`
29
29
  * region. Passing `false` unpins them back to the center.
30
30
  *
31
+ * `start` and `end` are logical positions. In LTR languages/layouts, `start`
32
+ * usually corresponds to left and `end` to right. In RTL languages/layouts,
33
+ * `start` usually corresponds to right and `end` to left.
34
+ *
31
35
  * @example
32
36
  * ```ts
33
- * column_pin(column, 'left')
37
+ * column_pin(column, 'start')
34
38
  * ```
35
39
  */
36
40
  declare function column_pin<TFeatures extends TableFeatures, TData extends RowData, TValue extends CellData = CellData>(column: Column<TFeatures, TData, TValue>, position: ColumnPinningPosition): void;
@@ -49,9 +53,13 @@ declare function column_getCanPin<TFeatures extends TableFeatures, TData extends
49
53
  /**
50
54
  * Reads this column's current pinning region.
51
55
  *
52
- * Group columns report `'left'` or `'right'` when any leaf column is pinned in
56
+ * Group columns report `'start'` or `'end'` when any leaf column is pinned in
53
57
  * that region. Unpinned columns return `false`.
54
58
  *
59
+ * `start` and `end` are logical positions. In LTR languages/layouts, `start`
60
+ * usually corresponds to left and `end` to right. In RTL languages/layouts,
61
+ * `start` usually corresponds to right and `end` to left.
62
+ *
55
63
  * @example
56
64
  * ```ts
57
65
  * const position = column_getIsPinned(column)
@@ -62,7 +70,7 @@ declare function column_getIsPinned<TFeatures extends TableFeatures, TData exten
62
70
  * Finds this column's index within its pinned region.
63
71
  *
64
72
  * Unpinned columns return `0`; pinned columns return their position in
65
- * `state.columnPinning.left` or `state.columnPinning.right`.
73
+ * `state.columnPinning.start` or `state.columnPinning.end`.
66
74
  *
67
75
  * @example
68
76
  * ```ts
@@ -71,7 +79,7 @@ declare function column_getIsPinned<TFeatures extends TableFeatures, TData exten
71
79
  */
72
80
  declare function column_getPinnedIndex<TFeatures extends TableFeatures, TData extends RowData, TValue extends CellData = CellData>(column: Column<TFeatures, TData, TValue>): number;
73
81
  /**
74
- * Collects visible cells whose columns are not pinned left or right.
82
+ * Collects visible cells whose columns are not pinned start or end.
75
83
  *
76
84
  * The result preserves the row's visible-cell order for center columns.
77
85
  *
@@ -82,38 +90,38 @@ declare function column_getPinnedIndex<TFeatures extends TableFeatures, TData ex
82
90
  */
83
91
  declare function row_getCenterVisibleCells<TFeatures extends TableFeatures, TData extends RowData>(row: Row<TFeatures, TData>): Cell<TFeatures, TData, unknown>[];
84
92
  /**
85
- * Collects visible cells for columns pinned to the left region.
93
+ * Collects visible cells for columns pinned to the start region.
86
94
  *
87
- * Cells are returned in `state.columnPinning.left` order and are marked with
88
- * `cell.position = 'left'`.
95
+ * Cells are returned in `state.columnPinning.start` order and are marked with
96
+ * `cell.position = 'start'`.
89
97
  *
90
98
  * @example
91
99
  * ```ts
92
- * const leftCells = row_getLeftVisibleCells(row)
100
+ * const startCells = row_getStartVisibleCells(row)
93
101
  * ```
94
102
  */
95
- declare function row_getLeftVisibleCells<TFeatures extends TableFeatures, TData extends RowData>(row: Row<TFeatures, TData>): Array<Cell<TFeatures, TData, unknown>>;
103
+ declare function row_getStartVisibleCells<TFeatures extends TableFeatures, TData extends RowData>(row: Row<TFeatures, TData>): Array<Cell<TFeatures, TData, unknown>>;
96
104
  /**
97
- * Collects visible cells for columns pinned to the right region.
105
+ * Collects visible cells for columns pinned to the end region.
98
106
  *
99
- * Cells are returned in `state.columnPinning.right` order and are marked with
100
- * `cell.position = 'right'`.
107
+ * Cells are returned in `state.columnPinning.end` order and are marked with
108
+ * `cell.position = 'end'`.
101
109
  *
102
110
  * @example
103
111
  * ```ts
104
- * const rightCells = row_getRightVisibleCells(row)
112
+ * const endCells = row_getEndVisibleCells(row)
105
113
  * ```
106
114
  */
107
- declare function row_getRightVisibleCells<TFeatures extends TableFeatures, TData extends RowData>(row: Row<TFeatures, TData>): Cell<TFeatures, TData, unknown>[];
115
+ declare function row_getEndVisibleCells<TFeatures extends TableFeatures, TData extends RowData>(row: Row<TFeatures, TData>): Cell<TFeatures, TData, unknown>[];
108
116
  /**
109
117
  * Routes a column pinning updater through the table's pinning change handler.
110
118
  *
111
- * The updater may be a next `{ left, right }` state or a function of the
119
+ * The updater may be a next `{ start, end }` state or a function of the
112
120
  * previous state, matching the instance `table.setColumnPinning` behavior.
113
121
  *
114
122
  * @example
115
123
  * ```ts
116
- * table_setColumnPinning(table, (old) => ({ ...old, left: ['select'] }))
124
+ * table_setColumnPinning(table, (old) => ({ ...old, start: ['select'] }))
117
125
  * ```
118
126
  */
119
127
  declare function table_setColumnPinning<TFeatures extends TableFeatures, TData extends RowData>(table: Table<TFeatures, TData>, updater: Updater<ColumnPinningState>): void;
@@ -121,7 +129,7 @@ declare function table_setColumnPinning<TFeatures extends TableFeatures, TData e
121
129
  * Resets `columnPinning` to the configured initial state or feature default.
122
130
  *
123
131
  * With no argument, the reset clones `table.initialState.columnPinning` when it
124
- * exists. Passing `true` ignores initial state and resets to empty left/right
132
+ * exists. Passing `true` ignores initial state and resets to empty start/end
125
133
  * arrays.
126
134
  *
127
135
  * @example
@@ -134,7 +142,7 @@ declare function table_resetColumnPinning<TFeatures extends TableFeatures, TData
134
142
  /**
135
143
  * Checks whether any columns are pinned.
136
144
  *
137
- * Omit `position` to check both sides, or pass `'left'`/`'right'` to inspect a
145
+ * Omit `position` to check both sides, or pass `'start'`/`'end'` to inspect a
138
146
  * single pinning region.
139
147
  *
140
148
  * @example
@@ -144,33 +152,33 @@ declare function table_resetColumnPinning<TFeatures extends TableFeatures, TData
144
152
  */
145
153
  declare function table_getIsSomeColumnsPinned<TFeatures extends TableFeatures, TData extends RowData>(table: Table<TFeatures, TData>, position?: ColumnPinningPosition): boolean;
146
154
  /**
147
- * Builds header groups for visible columns pinned to the left region.
155
+ * Builds header groups for visible columns pinned to the start region.
148
156
  *
149
- * The leaf columns are read in `state.columnPinning.left` order and then passed
157
+ * The leaf columns are read in `state.columnPinning.start` order and then passed
150
158
  * through the same header-group builder as the unpinned table.
151
159
  *
152
160
  * @example
153
161
  * ```ts
154
- * const headerGroups = table_getLeftHeaderGroups(table)
162
+ * const headerGroups = table_getStartHeaderGroups(table)
155
163
  * ```
156
164
  */
157
- declare function table_getLeftHeaderGroups<TFeatures extends TableFeatures, TData extends RowData>(table: Table<TFeatures, TData>): HeaderGroup<TFeatures, TData>[];
165
+ declare function table_getStartHeaderGroups<TFeatures extends TableFeatures, TData extends RowData>(table: Table<TFeatures, TData>): HeaderGroup<TFeatures, TData>[];
158
166
  /**
159
- * Builds header groups for visible columns pinned to the right region.
167
+ * Builds header groups for visible columns pinned to the end region.
160
168
  *
161
- * The leaf columns are read in `state.columnPinning.right` order and then
169
+ * The leaf columns are read in `state.columnPinning.end` order and then
162
170
  * passed through the same header-group builder as the unpinned table.
163
171
  *
164
172
  * @example
165
173
  * ```ts
166
- * const headerGroups = table_getRightHeaderGroups(table)
174
+ * const headerGroups = table_getEndHeaderGroups(table)
167
175
  * ```
168
176
  */
169
- declare function table_getRightHeaderGroups<TFeatures extends TableFeatures, TData extends RowData>(table: Table<TFeatures, TData>): HeaderGroup<TFeatures, TData>[];
177
+ declare function table_getEndHeaderGroups<TFeatures extends TableFeatures, TData extends RowData>(table: Table<TFeatures, TData>): HeaderGroup<TFeatures, TData>[];
170
178
  /**
171
179
  * Builds header groups for visible columns that are not pinned.
172
180
  *
173
- * Left- and right-pinned column ids are removed from the visible leaf column
181
+ * Start- and end-pinned column ids are removed from the visible leaf column
174
182
  * list before header groups are built for the center region.
175
183
  *
176
184
  * @example
@@ -180,27 +188,27 @@ declare function table_getRightHeaderGroups<TFeatures extends TableFeatures, TDa
180
188
  */
181
189
  declare function table_getCenterHeaderGroups<TFeatures extends TableFeatures, TData extends RowData>(table: Table<TFeatures, TData>): Array<HeaderGroup<TFeatures, TData>>;
182
190
  /**
183
- * Builds footer groups for the left pinned region.
191
+ * Builds footer groups for the start pinned region.
184
192
  *
185
- * Footer groups reuse the left header groups in reverse order.
193
+ * Footer groups reuse the start header groups in reverse order.
186
194
  *
187
195
  * @example
188
196
  * ```ts
189
- * const footerGroups = table_getLeftFooterGroups(table)
197
+ * const footerGroups = table_getStartFooterGroups(table)
190
198
  * ```
191
199
  */
192
- declare function table_getLeftFooterGroups<TFeatures extends TableFeatures, TData extends RowData>(table: Table<TFeatures, TData>): HeaderGroup<TFeatures, TData>[];
200
+ declare function table_getStartFooterGroups<TFeatures extends TableFeatures, TData extends RowData>(table: Table<TFeatures, TData>): HeaderGroup<TFeatures, TData>[];
193
201
  /**
194
- * Builds footer groups for the right pinned region.
202
+ * Builds footer groups for the end pinned region.
195
203
  *
196
- * Footer groups reuse the right header groups in reverse order.
204
+ * Footer groups reuse the end header groups in reverse order.
197
205
  *
198
206
  * @example
199
207
  * ```ts
200
- * const footerGroups = table_getRightFooterGroups(table)
208
+ * const footerGroups = table_getEndFooterGroups(table)
201
209
  * ```
202
210
  */
203
- declare function table_getRightFooterGroups<TFeatures extends TableFeatures, TData extends RowData>(table: Table<TFeatures, TData>): HeaderGroup<TFeatures, TData>[];
211
+ declare function table_getEndFooterGroups<TFeatures extends TableFeatures, TData extends RowData>(table: Table<TFeatures, TData>): HeaderGroup<TFeatures, TData>[];
204
212
  /**
205
213
  * Builds footer groups for the center, unpinned region.
206
214
  *
@@ -213,27 +221,27 @@ declare function table_getRightFooterGroups<TFeatures extends TableFeatures, TDa
213
221
  */
214
222
  declare function table_getCenterFooterGroups<TFeatures extends TableFeatures, TData extends RowData>(table: Table<TFeatures, TData>): HeaderGroup<TFeatures, TData>[];
215
223
  /**
216
- * Flattens every header from the left pinned header groups.
224
+ * Flattens every header from the start pinned header groups.
217
225
  *
218
226
  * Parent headers and placeholder headers are included.
219
227
  *
220
228
  * @example
221
229
  * ```ts
222
- * const headers = table_getLeftFlatHeaders(table)
230
+ * const headers = table_getStartFlatHeaders(table)
223
231
  * ```
224
232
  */
225
- declare function table_getLeftFlatHeaders<TFeatures extends TableFeatures, TData extends RowData>(table: Table<TFeatures, TData>): Header<TFeatures, TData, unknown>[];
233
+ declare function table_getStartFlatHeaders<TFeatures extends TableFeatures, TData extends RowData>(table: Table<TFeatures, TData>): Header<TFeatures, TData, unknown>[];
226
234
  /**
227
- * Flattens every header from the right pinned header groups.
235
+ * Flattens every header from the end pinned header groups.
228
236
  *
229
237
  * Parent headers and placeholder headers are included.
230
238
  *
231
239
  * @example
232
240
  * ```ts
233
- * const headers = table_getRightFlatHeaders(table)
241
+ * const headers = table_getEndFlatHeaders(table)
234
242
  * ```
235
243
  */
236
- declare function table_getRightFlatHeaders<TFeatures extends TableFeatures, TData extends RowData>(table: Table<TFeatures, TData>): Header<TFeatures, TData, unknown>[];
244
+ declare function table_getEndFlatHeaders<TFeatures extends TableFeatures, TData extends RowData>(table: Table<TFeatures, TData>): Header<TFeatures, TData, unknown>[];
237
245
  /**
238
246
  * Flattens every header from the center header groups.
239
247
  *
@@ -246,27 +254,27 @@ declare function table_getRightFlatHeaders<TFeatures extends TableFeatures, TDat
246
254
  */
247
255
  declare function table_getCenterFlatHeaders<TFeatures extends TableFeatures, TData extends RowData>(table: Table<TFeatures, TData>): Header<TFeatures, TData, unknown>[];
248
256
  /**
249
- * Collects leaf headers for the left pinned region.
257
+ * Collects leaf headers for the start pinned region.
250
258
  *
251
- * Parent headers are filtered out from the left flat header list.
259
+ * Parent headers are filtered out from the start flat header list.
252
260
  *
253
261
  * @example
254
262
  * ```ts
255
- * const headers = table_getLeftLeafHeaders(table)
263
+ * const headers = table_getStartLeafHeaders(table)
256
264
  * ```
257
265
  */
258
- declare function table_getLeftLeafHeaders<TFeatures extends TableFeatures, TData extends RowData>(table: Table<TFeatures, TData>): Header<TFeatures, TData, unknown>[];
266
+ declare function table_getStartLeafHeaders<TFeatures extends TableFeatures, TData extends RowData>(table: Table<TFeatures, TData>): Header<TFeatures, TData, unknown>[];
259
267
  /**
260
- * Collects leaf headers for the right pinned region.
268
+ * Collects leaf headers for the end pinned region.
261
269
  *
262
- * Parent headers are filtered out from the right flat header list.
270
+ * Parent headers are filtered out from the end flat header list.
263
271
  *
264
272
  * @example
265
273
  * ```ts
266
- * const headers = table_getRightLeafHeaders(table)
274
+ * const headers = table_getEndLeafHeaders(table)
267
275
  * ```
268
276
  */
269
- declare function table_getRightLeafHeaders<TFeatures extends TableFeatures, TData extends RowData>(table: Table<TFeatures, TData>): Header<TFeatures, TData, unknown>[];
277
+ declare function table_getEndLeafHeaders<TFeatures extends TableFeatures, TData extends RowData>(table: Table<TFeatures, TData>): Header<TFeatures, TData, unknown>[];
270
278
  /**
271
279
  * Collects leaf headers for the center, unpinned region.
272
280
  *
@@ -279,33 +287,33 @@ declare function table_getRightLeafHeaders<TFeatures extends TableFeatures, TDat
279
287
  */
280
288
  declare function table_getCenterLeafHeaders<TFeatures extends TableFeatures, TData extends RowData>(table: Table<TFeatures, TData>): Header<TFeatures, TData, unknown>[];
281
289
  /**
282
- * Resolves leaf columns pinned to the left region.
290
+ * Resolves leaf columns pinned to the start region.
283
291
  *
284
- * The result follows `state.columnPinning.left` order and skips stale ids that
292
+ * The result follows `state.columnPinning.start` order and skips stale ids that
285
293
  * no longer correspond to a leaf column.
286
294
  *
287
295
  * @example
288
296
  * ```ts
289
- * const columns = table_getLeftLeafColumns(table)
297
+ * const columns = table_getStartLeafColumns(table)
290
298
  * ```
291
299
  */
292
- declare function table_getLeftLeafColumns<TFeatures extends TableFeatures, TData extends RowData>(table: Table<TFeatures, TData>): Column<TFeatures, TData, unknown>[];
300
+ declare function table_getStartLeafColumns<TFeatures extends TableFeatures, TData extends RowData>(table: Table<TFeatures, TData>): Column<TFeatures, TData, unknown>[];
293
301
  /**
294
- * Resolves leaf columns pinned to the right region.
302
+ * Resolves leaf columns pinned to the end region.
295
303
  *
296
- * The result follows `state.columnPinning.right` order and skips stale ids that
304
+ * The result follows `state.columnPinning.end` order and skips stale ids that
297
305
  * no longer correspond to a leaf column.
298
306
  *
299
307
  * @example
300
308
  * ```ts
301
- * const columns = table_getRightLeafColumns(table)
309
+ * const columns = table_getEndLeafColumns(table)
302
310
  * ```
303
311
  */
304
- declare function table_getRightLeafColumns<TFeatures extends TableFeatures, TData extends RowData>(table: Table<TFeatures, TData>): Column<TFeatures, TData, unknown>[];
312
+ declare function table_getEndLeafColumns<TFeatures extends TableFeatures, TData extends RowData>(table: Table<TFeatures, TData>): Column<TFeatures, TData, unknown>[];
305
313
  /**
306
- * Resolves leaf columns that are not pinned to either side.
314
+ * Resolves leaf columns that are not pinned to either logical side.
307
315
  *
308
- * Left- and right-pinned ids are removed from `table.getAllLeafColumns()`.
316
+ * Start- and end-pinned ids are removed from `table.getAllLeafColumns()`.
309
317
  *
310
318
  * @example
311
319
  * ```ts
@@ -316,7 +324,7 @@ declare function table_getCenterLeafColumns<TFeatures extends TableFeatures, TDa
316
324
  /**
317
325
  * Resolves leaf columns for a requested pinning region.
318
326
  *
319
- * Pass `'left'`, `'center'`, or `'right'` for a partition, or pass `false` to
327
+ * Pass `'start'`, `'center'`, or `'end'` for a partition, or pass `false` to
320
328
  * read all leaf columns without partitioning.
321
329
  *
322
330
  * @example
@@ -326,27 +334,27 @@ declare function table_getCenterLeafColumns<TFeatures extends TableFeatures, TDa
326
334
  */
327
335
  declare function table_getPinnedLeafColumns<TFeatures extends TableFeatures, TData extends RowData>(table: Table<TFeatures, TData>, position: ColumnPinningPosition | 'center'): Column<TFeatures, TData, unknown>[] | Column<TFeatures, TData, unknown>[];
328
336
  /**
329
- * Resolves visible leaf columns pinned to the left region.
337
+ * Resolves visible leaf columns pinned to the start region.
330
338
  *
331
- * Hidden pinned columns are filtered out after the left pin order is applied.
339
+ * Hidden pinned columns are filtered out after the start pin order is applied.
332
340
  *
333
341
  * @example
334
342
  * ```ts
335
- * const columns = table_getLeftVisibleLeafColumns(table)
343
+ * const columns = table_getStartVisibleLeafColumns(table)
336
344
  * ```
337
345
  */
338
- declare function table_getLeftVisibleLeafColumns<TFeatures extends TableFeatures, TData extends RowData>(table: Table<TFeatures, TData>): Column<TFeatures, TData, unknown>[];
346
+ declare function table_getStartVisibleLeafColumns<TFeatures extends TableFeatures, TData extends RowData>(table: Table<TFeatures, TData>): Column<TFeatures, TData, unknown>[];
339
347
  /**
340
- * Resolves visible leaf columns pinned to the right region.
348
+ * Resolves visible leaf columns pinned to the end region.
341
349
  *
342
- * Hidden pinned columns are filtered out after the right pin order is applied.
350
+ * Hidden pinned columns are filtered out after the end pin order is applied.
343
351
  *
344
352
  * @example
345
353
  * ```ts
346
- * const columns = table_getRightVisibleLeafColumns(table)
354
+ * const columns = table_getEndVisibleLeafColumns(table)
347
355
  * ```
348
356
  */
349
- declare function table_getRightVisibleLeafColumns<TFeatures extends TableFeatures, TData extends RowData>(table: Table<TFeatures, TData>): Column<TFeatures, TData, unknown>[];
357
+ declare function table_getEndVisibleLeafColumns<TFeatures extends TableFeatures, TData extends RowData>(table: Table<TFeatures, TData>): Column<TFeatures, TData, unknown>[];
350
358
  /**
351
359
  * Resolves visible leaf columns that are not pinned.
352
360
  *
@@ -362,15 +370,15 @@ declare function table_getCenterVisibleLeafColumns<TFeatures extends TableFeatur
362
370
  /**
363
371
  * Resolves visible leaf columns for a requested pinning region.
364
372
  *
365
- * Omit `position` to get all visible leaf columns, or pass `'left'`, `'center'`,
366
- * or `'right'` to get one partition.
373
+ * Omit `position` to get all visible leaf columns, or pass `'start'`, `'center'`,
374
+ * or `'end'` to get one partition.
367
375
  *
368
376
  * @example
369
377
  * ```ts
370
- * const columns = table_getPinnedVisibleLeafColumns(table, 'left')
378
+ * const columns = table_getPinnedVisibleLeafColumns(table, 'start')
371
379
  * ```
372
380
  */
373
381
  declare function table_getPinnedVisibleLeafColumns<TFeatures extends TableFeatures, TData extends RowData>(table: Table<TFeatures, TData>, position?: ColumnPinningPosition | 'center'): Column<TFeatures, TData, unknown>[] | Column<TFeatures, TData, unknown>[];
374
382
  //#endregion
375
- export { column_getCanPin, column_getIsPinned, column_getPinnedIndex, column_pin, getDefaultColumnPinningState, row_getCenterVisibleCells, row_getLeftVisibleCells, row_getRightVisibleCells, table_getCenterFlatHeaders, table_getCenterFooterGroups, table_getCenterHeaderGroups, table_getCenterLeafColumns, table_getCenterLeafHeaders, table_getCenterVisibleLeafColumns, table_getIsSomeColumnsPinned, table_getLeftFlatHeaders, table_getLeftFooterGroups, table_getLeftHeaderGroups, table_getLeftLeafColumns, table_getLeftLeafHeaders, table_getLeftVisibleLeafColumns, table_getPinnedLeafColumns, table_getPinnedVisibleLeafColumns, table_getRightFlatHeaders, table_getRightFooterGroups, table_getRightHeaderGroups, table_getRightLeafColumns, table_getRightLeafHeaders, table_getRightVisibleLeafColumns, table_resetColumnPinning, table_setColumnPinning };
383
+ export { column_getCanPin, column_getIsPinned, column_getPinnedIndex, column_pin, getDefaultColumnPinningState, row_getCenterVisibleCells, row_getEndVisibleCells, row_getStartVisibleCells, table_getCenterFlatHeaders, table_getCenterFooterGroups, table_getCenterHeaderGroups, table_getCenterLeafColumns, table_getCenterLeafHeaders, table_getCenterVisibleLeafColumns, table_getEndFlatHeaders, table_getEndFooterGroups, table_getEndHeaderGroups, table_getEndLeafColumns, table_getEndLeafHeaders, table_getEndVisibleLeafColumns, table_getIsSomeColumnsPinned, table_getPinnedLeafColumns, table_getPinnedVisibleLeafColumns, table_getStartFlatHeaders, table_getStartFooterGroups, table_getStartHeaderGroups, table_getStartLeafColumns, table_getStartLeafHeaders, table_getStartVisibleLeafColumns, table_resetColumnPinning, table_setColumnPinning };
376
384
  //# sourceMappingURL=columnPinningFeature.utils.d.ts.map