@ni/nimble-components 16.1.3 → 16.1.4
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.
|
@@ -22234,7 +22234,7 @@
|
|
|
22234
22234
|
let result = originalRow;
|
|
22235
22235
|
for (const key of accessorKey.split('.')) {
|
|
22236
22236
|
result = result[key];
|
|
22237
|
-
if (
|
|
22237
|
+
if (result === undefined) {
|
|
22238
22238
|
throw new Error(`"${key}" in deeply nested key "${accessorKey}" returned undefined.`);
|
|
22239
22239
|
}
|
|
22240
22240
|
}
|
|
@@ -22245,10 +22245,9 @@
|
|
|
22245
22245
|
}
|
|
22246
22246
|
}
|
|
22247
22247
|
if (!id) {
|
|
22248
|
-
|
|
22248
|
+
{
|
|
22249
22249
|
throw new Error(resolvedColumnDef.accessorFn ? `Columns require an id when using an accessorFn` : `Columns require an id when using a non-string header`);
|
|
22250
22250
|
}
|
|
22251
|
-
throw new Error();
|
|
22252
22251
|
}
|
|
22253
22252
|
let column = {
|
|
22254
22253
|
id: `${String(id)}`,
|
|
@@ -22261,7 +22260,7 @@
|
|
|
22261
22260
|
var _column$columns;
|
|
22262
22261
|
return [column, ...((_column$columns = column.columns) == null ? void 0 : _column$columns.flatMap(d => d.getFlatColumns()))];
|
|
22263
22262
|
}, {
|
|
22264
|
-
key:
|
|
22263
|
+
key: "development" === 'production' ,
|
|
22265
22264
|
debug: () => {
|
|
22266
22265
|
var _table$options$debugA;
|
|
22267
22266
|
return (_table$options$debugA = table.options.debugAll) != null ? _table$options$debugA : table.options.debugColumns;
|
|
@@ -22275,7 +22274,7 @@
|
|
|
22275
22274
|
}
|
|
22276
22275
|
return [column];
|
|
22277
22276
|
}, {
|
|
22278
|
-
key:
|
|
22277
|
+
key: "development" === 'production' ,
|
|
22279
22278
|
debug: () => {
|
|
22280
22279
|
var _table$options$debugA2;
|
|
22281
22280
|
return (_table$options$debugA2 = table.options.debugAll) != null ? _table$options$debugA2 : table.options.debugColumns;
|
|
@@ -22341,7 +22340,7 @@
|
|
|
22341
22340
|
const headerGroups = buildHeaderGroups(allColumns, [...leftColumns, ...centerColumns, ...rightColumns], table);
|
|
22342
22341
|
return headerGroups;
|
|
22343
22342
|
}, {
|
|
22344
|
-
key:
|
|
22343
|
+
key: 'getHeaderGroups',
|
|
22345
22344
|
debug: () => {
|
|
22346
22345
|
var _table$options$debugA;
|
|
22347
22346
|
return (_table$options$debugA = table.options.debugAll) != null ? _table$options$debugA : table.options.debugHeaders;
|
|
@@ -22351,7 +22350,7 @@
|
|
|
22351
22350
|
leafColumns = leafColumns.filter(column => !(left != null && left.includes(column.id)) && !(right != null && right.includes(column.id)));
|
|
22352
22351
|
return buildHeaderGroups(allColumns, leafColumns, table, 'center');
|
|
22353
22352
|
}, {
|
|
22354
|
-
key:
|
|
22353
|
+
key: 'getCenterHeaderGroups',
|
|
22355
22354
|
debug: () => {
|
|
22356
22355
|
var _table$options$debugA2;
|
|
22357
22356
|
return (_table$options$debugA2 = table.options.debugAll) != null ? _table$options$debugA2 : table.options.debugHeaders;
|
|
@@ -22362,7 +22361,7 @@
|
|
|
22362
22361
|
const orderedLeafColumns = (_left$map$filter2 = left == null ? void 0 : left.map(columnId => leafColumns.find(d => d.id === columnId)).filter(Boolean)) != null ? _left$map$filter2 : [];
|
|
22363
22362
|
return buildHeaderGroups(allColumns, orderedLeafColumns, table, 'left');
|
|
22364
22363
|
}, {
|
|
22365
|
-
key:
|
|
22364
|
+
key: 'getLeftHeaderGroups',
|
|
22366
22365
|
debug: () => {
|
|
22367
22366
|
var _table$options$debugA3;
|
|
22368
22367
|
return (_table$options$debugA3 = table.options.debugAll) != null ? _table$options$debugA3 : table.options.debugHeaders;
|
|
@@ -22373,7 +22372,7 @@
|
|
|
22373
22372
|
const orderedLeafColumns = (_right$map$filter2 = right == null ? void 0 : right.map(columnId => leafColumns.find(d => d.id === columnId)).filter(Boolean)) != null ? _right$map$filter2 : [];
|
|
22374
22373
|
return buildHeaderGroups(allColumns, orderedLeafColumns, table, 'right');
|
|
22375
22374
|
}, {
|
|
22376
|
-
key:
|
|
22375
|
+
key: 'getRightHeaderGroups',
|
|
22377
22376
|
debug: () => {
|
|
22378
22377
|
var _table$options$debugA4;
|
|
22379
22378
|
return (_table$options$debugA4 = table.options.debugAll) != null ? _table$options$debugA4 : table.options.debugHeaders;
|
|
@@ -22384,7 +22383,7 @@
|
|
|
22384
22383
|
getFooterGroups: memo(() => [table.getHeaderGroups()], headerGroups => {
|
|
22385
22384
|
return [...headerGroups].reverse();
|
|
22386
22385
|
}, {
|
|
22387
|
-
key:
|
|
22386
|
+
key: 'getFooterGroups',
|
|
22388
22387
|
debug: () => {
|
|
22389
22388
|
var _table$options$debugA5;
|
|
22390
22389
|
return (_table$options$debugA5 = table.options.debugAll) != null ? _table$options$debugA5 : table.options.debugHeaders;
|
|
@@ -22393,7 +22392,7 @@
|
|
|
22393
22392
|
getLeftFooterGroups: memo(() => [table.getLeftHeaderGroups()], headerGroups => {
|
|
22394
22393
|
return [...headerGroups].reverse();
|
|
22395
22394
|
}, {
|
|
22396
|
-
key:
|
|
22395
|
+
key: 'getLeftFooterGroups',
|
|
22397
22396
|
debug: () => {
|
|
22398
22397
|
var _table$options$debugA6;
|
|
22399
22398
|
return (_table$options$debugA6 = table.options.debugAll) != null ? _table$options$debugA6 : table.options.debugHeaders;
|
|
@@ -22402,7 +22401,7 @@
|
|
|
22402
22401
|
getCenterFooterGroups: memo(() => [table.getCenterHeaderGroups()], headerGroups => {
|
|
22403
22402
|
return [...headerGroups].reverse();
|
|
22404
22403
|
}, {
|
|
22405
|
-
key:
|
|
22404
|
+
key: 'getCenterFooterGroups',
|
|
22406
22405
|
debug: () => {
|
|
22407
22406
|
var _table$options$debugA7;
|
|
22408
22407
|
return (_table$options$debugA7 = table.options.debugAll) != null ? _table$options$debugA7 : table.options.debugHeaders;
|
|
@@ -22411,7 +22410,7 @@
|
|
|
22411
22410
|
getRightFooterGroups: memo(() => [table.getRightHeaderGroups()], headerGroups => {
|
|
22412
22411
|
return [...headerGroups].reverse();
|
|
22413
22412
|
}, {
|
|
22414
|
-
key:
|
|
22413
|
+
key: 'getRightFooterGroups',
|
|
22415
22414
|
debug: () => {
|
|
22416
22415
|
var _table$options$debugA8;
|
|
22417
22416
|
return (_table$options$debugA8 = table.options.debugAll) != null ? _table$options$debugA8 : table.options.debugHeaders;
|
|
@@ -22424,7 +22423,7 @@
|
|
|
22424
22423
|
return headerGroup.headers;
|
|
22425
22424
|
}).flat();
|
|
22426
22425
|
}, {
|
|
22427
|
-
key:
|
|
22426
|
+
key: 'getFlatHeaders',
|
|
22428
22427
|
debug: () => {
|
|
22429
22428
|
var _table$options$debugA9;
|
|
22430
22429
|
return (_table$options$debugA9 = table.options.debugAll) != null ? _table$options$debugA9 : table.options.debugHeaders;
|
|
@@ -22435,7 +22434,7 @@
|
|
|
22435
22434
|
return headerGroup.headers;
|
|
22436
22435
|
}).flat();
|
|
22437
22436
|
}, {
|
|
22438
|
-
key:
|
|
22437
|
+
key: 'getLeftFlatHeaders',
|
|
22439
22438
|
debug: () => {
|
|
22440
22439
|
var _table$options$debugA10;
|
|
22441
22440
|
return (_table$options$debugA10 = table.options.debugAll) != null ? _table$options$debugA10 : table.options.debugHeaders;
|
|
@@ -22446,7 +22445,7 @@
|
|
|
22446
22445
|
return headerGroup.headers;
|
|
22447
22446
|
}).flat();
|
|
22448
22447
|
}, {
|
|
22449
|
-
key:
|
|
22448
|
+
key: 'getCenterFlatHeaders',
|
|
22450
22449
|
debug: () => {
|
|
22451
22450
|
var _table$options$debugA11;
|
|
22452
22451
|
return (_table$options$debugA11 = table.options.debugAll) != null ? _table$options$debugA11 : table.options.debugHeaders;
|
|
@@ -22457,7 +22456,7 @@
|
|
|
22457
22456
|
return headerGroup.headers;
|
|
22458
22457
|
}).flat();
|
|
22459
22458
|
}, {
|
|
22460
|
-
key:
|
|
22459
|
+
key: 'getRightFlatHeaders',
|
|
22461
22460
|
debug: () => {
|
|
22462
22461
|
var _table$options$debugA12;
|
|
22463
22462
|
return (_table$options$debugA12 = table.options.debugAll) != null ? _table$options$debugA12 : table.options.debugHeaders;
|
|
@@ -22471,7 +22470,7 @@
|
|
|
22471
22470
|
return !((_header$subHeaders = header.subHeaders) != null && _header$subHeaders.length);
|
|
22472
22471
|
});
|
|
22473
22472
|
}, {
|
|
22474
|
-
key:
|
|
22473
|
+
key: 'getCenterLeafHeaders',
|
|
22475
22474
|
debug: () => {
|
|
22476
22475
|
var _table$options$debugA13;
|
|
22477
22476
|
return (_table$options$debugA13 = table.options.debugAll) != null ? _table$options$debugA13 : table.options.debugHeaders;
|
|
@@ -22483,7 +22482,7 @@
|
|
|
22483
22482
|
return !((_header$subHeaders2 = header.subHeaders) != null && _header$subHeaders2.length);
|
|
22484
22483
|
});
|
|
22485
22484
|
}, {
|
|
22486
|
-
key:
|
|
22485
|
+
key: 'getLeftLeafHeaders',
|
|
22487
22486
|
debug: () => {
|
|
22488
22487
|
var _table$options$debugA14;
|
|
22489
22488
|
return (_table$options$debugA14 = table.options.debugAll) != null ? _table$options$debugA14 : table.options.debugHeaders;
|
|
@@ -22495,7 +22494,7 @@
|
|
|
22495
22494
|
return !((_header$subHeaders3 = header.subHeaders) != null && _header$subHeaders3.length);
|
|
22496
22495
|
});
|
|
22497
22496
|
}, {
|
|
22498
|
-
key:
|
|
22497
|
+
key: 'getRightLeafHeaders',
|
|
22499
22498
|
debug: () => {
|
|
22500
22499
|
var _table$options$debugA15;
|
|
22501
22500
|
return (_table$options$debugA15 = table.options.debugAll) != null ? _table$options$debugA15 : table.options.debugHeaders;
|
|
@@ -22507,7 +22506,7 @@
|
|
|
22507
22506
|
return header.getLeafHeaders();
|
|
22508
22507
|
}).flat();
|
|
22509
22508
|
}, {
|
|
22510
|
-
key:
|
|
22509
|
+
key: 'getLeafHeaders',
|
|
22511
22510
|
debug: () => {
|
|
22512
22511
|
var _table$options$debugA16;
|
|
22513
22512
|
return (_table$options$debugA16 = table.options.debugAll) != null ? _table$options$debugA16 : table.options.debugHeaders;
|
|
@@ -23611,7 +23610,7 @@
|
|
|
23611
23610
|
}
|
|
23612
23611
|
return orderColumns(orderedColumns, grouping, groupedColumnMode);
|
|
23613
23612
|
}, {
|
|
23614
|
-
key:
|
|
23613
|
+
key: 'getOrderColumnsFn'
|
|
23615
23614
|
// debug: () => table.options.debugAll ?? table.options.debugTable,
|
|
23616
23615
|
})
|
|
23617
23616
|
};
|
|
@@ -23722,7 +23721,7 @@
|
|
|
23722
23721
|
}
|
|
23723
23722
|
return pageOptions;
|
|
23724
23723
|
}, {
|
|
23725
|
-
key:
|
|
23724
|
+
key: 'getPageOptions',
|
|
23726
23725
|
debug: () => {
|
|
23727
23726
|
var _table$options$debugA;
|
|
23728
23727
|
return (_table$options$debugA = table.options.debugAll) != null ? _table$options$debugA : table.options.debugTable;
|
|
@@ -23842,7 +23841,7 @@
|
|
|
23842
23841
|
const leftAndRight = [...(left != null ? left : []), ...(right != null ? right : [])];
|
|
23843
23842
|
return allCells.filter(d => !leftAndRight.includes(d.column.id));
|
|
23844
23843
|
}, {
|
|
23845
|
-
key:
|
|
23844
|
+
key: "development" === 'production' ,
|
|
23846
23845
|
debug: () => {
|
|
23847
23846
|
var _table$options$debugA;
|
|
23848
23847
|
return (_table$options$debugA = table.options.debugAll) != null ? _table$options$debugA : table.options.debugRows;
|
|
@@ -23855,7 +23854,7 @@
|
|
|
23855
23854
|
}));
|
|
23856
23855
|
return cells;
|
|
23857
23856
|
}, {
|
|
23858
|
-
key:
|
|
23857
|
+
key: "development" === 'production' ,
|
|
23859
23858
|
debug: () => {
|
|
23860
23859
|
var _table$options$debugA2;
|
|
23861
23860
|
return (_table$options$debugA2 = table.options.debugAll) != null ? _table$options$debugA2 : table.options.debugRows;
|
|
@@ -23868,7 +23867,7 @@
|
|
|
23868
23867
|
}));
|
|
23869
23868
|
return cells;
|
|
23870
23869
|
}, {
|
|
23871
|
-
key:
|
|
23870
|
+
key: "development" === 'production' ,
|
|
23872
23871
|
debug: () => {
|
|
23873
23872
|
var _table$options$debugA3;
|
|
23874
23873
|
return (_table$options$debugA3 = table.options.debugAll) != null ? _table$options$debugA3 : table.options.debugRows;
|
|
@@ -23895,7 +23894,7 @@
|
|
|
23895
23894
|
getLeftLeafColumns: memo(() => [table.getAllLeafColumns(), table.getState().columnPinning.left], (allColumns, left) => {
|
|
23896
23895
|
return (left != null ? left : []).map(columnId => allColumns.find(column => column.id === columnId)).filter(Boolean);
|
|
23897
23896
|
}, {
|
|
23898
|
-
key:
|
|
23897
|
+
key: 'getLeftLeafColumns',
|
|
23899
23898
|
debug: () => {
|
|
23900
23899
|
var _table$options$debugA4;
|
|
23901
23900
|
return (_table$options$debugA4 = table.options.debugAll) != null ? _table$options$debugA4 : table.options.debugColumns;
|
|
@@ -23904,7 +23903,7 @@
|
|
|
23904
23903
|
getRightLeafColumns: memo(() => [table.getAllLeafColumns(), table.getState().columnPinning.right], (allColumns, right) => {
|
|
23905
23904
|
return (right != null ? right : []).map(columnId => allColumns.find(column => column.id === columnId)).filter(Boolean);
|
|
23906
23905
|
}, {
|
|
23907
|
-
key:
|
|
23906
|
+
key: 'getRightLeafColumns',
|
|
23908
23907
|
debug: () => {
|
|
23909
23908
|
var _table$options$debugA5;
|
|
23910
23909
|
return (_table$options$debugA5 = table.options.debugAll) != null ? _table$options$debugA5 : table.options.debugColumns;
|
|
@@ -23914,7 +23913,7 @@
|
|
|
23914
23913
|
const leftAndRight = [...(left != null ? left : []), ...(right != null ? right : [])];
|
|
23915
23914
|
return allColumns.filter(d => !leftAndRight.includes(d.id));
|
|
23916
23915
|
}, {
|
|
23917
|
-
key:
|
|
23916
|
+
key: 'getCenterLeafColumns',
|
|
23918
23917
|
debug: () => {
|
|
23919
23918
|
var _table$options$debugA6;
|
|
23920
23919
|
return (_table$options$debugA6 = table.options.debugAll) != null ? _table$options$debugA6 : table.options.debugColumns;
|
|
@@ -24056,7 +24055,7 @@
|
|
|
24056
24055
|
}
|
|
24057
24056
|
return selectRowsFn(table, rowModel);
|
|
24058
24057
|
}, {
|
|
24059
|
-
key:
|
|
24058
|
+
key: 'getSelectedRowModel',
|
|
24060
24059
|
debug: () => {
|
|
24061
24060
|
var _table$options$debugA;
|
|
24062
24061
|
return (_table$options$debugA = table.options.debugAll) != null ? _table$options$debugA : table.options.debugTable;
|
|
@@ -24072,7 +24071,7 @@
|
|
|
24072
24071
|
}
|
|
24073
24072
|
return selectRowsFn(table, rowModel);
|
|
24074
24073
|
}, {
|
|
24075
|
-
key:
|
|
24074
|
+
key: "development" === 'production' ,
|
|
24076
24075
|
debug: () => {
|
|
24077
24076
|
var _table$options$debugA2;
|
|
24078
24077
|
return (_table$options$debugA2 = table.options.debugAll) != null ? _table$options$debugA2 : table.options.debugTable;
|
|
@@ -24088,7 +24087,7 @@
|
|
|
24088
24087
|
}
|
|
24089
24088
|
return selectRowsFn(table, rowModel);
|
|
24090
24089
|
}, {
|
|
24091
|
-
key:
|
|
24090
|
+
key: "development" === 'production' ,
|
|
24092
24091
|
debug: () => {
|
|
24093
24092
|
var _table$options$debugA3;
|
|
24094
24093
|
return (_table$options$debugA3 = table.options.debugAll) != null ? _table$options$debugA3 : table.options.debugTable;
|
|
@@ -24663,14 +24662,14 @@
|
|
|
24663
24662
|
_getAllVisibleCells: memo(() => [row.getAllCells(), table.getState().columnVisibility], cells => {
|
|
24664
24663
|
return cells.filter(cell => cell.column.getIsVisible());
|
|
24665
24664
|
}, {
|
|
24666
|
-
key:
|
|
24665
|
+
key: "development" === 'production' ,
|
|
24667
24666
|
debug: () => {
|
|
24668
24667
|
var _table$options$debugA;
|
|
24669
24668
|
return (_table$options$debugA = table.options.debugAll) != null ? _table$options$debugA : table.options.debugRows;
|
|
24670
24669
|
}
|
|
24671
24670
|
}),
|
|
24672
24671
|
getVisibleCells: memo(() => [row.getLeftVisibleCells(), row.getCenterVisibleCells(), row.getRightVisibleCells()], (left, center, right) => [...left, ...center, ...right], {
|
|
24673
|
-
key:
|
|
24672
|
+
key: 'row.getVisibleCells',
|
|
24674
24673
|
debug: () => {
|
|
24675
24674
|
var _table$options$debugA2;
|
|
24676
24675
|
return (_table$options$debugA2 = table.options.debugAll) != null ? _table$options$debugA2 : table.options.debugRows;
|
|
@@ -24812,10 +24811,9 @@
|
|
|
24812
24811
|
getRow: id => {
|
|
24813
24812
|
const row = table.getRowModel().rowsById[id];
|
|
24814
24813
|
if (!row) {
|
|
24815
|
-
|
|
24814
|
+
{
|
|
24816
24815
|
throw new Error(`getRow expected an ID, but got ${id}`);
|
|
24817
24816
|
}
|
|
24818
|
-
throw new Error();
|
|
24819
24817
|
}
|
|
24820
24818
|
return row;
|
|
24821
24819
|
},
|
|
@@ -24848,7 +24846,7 @@
|
|
|
24848
24846
|
var _table$options$debugA;
|
|
24849
24847
|
return (_table$options$debugA = table.options.debugAll) != null ? _table$options$debugA : table.options.debugColumns;
|
|
24850
24848
|
},
|
|
24851
|
-
key:
|
|
24849
|
+
key: 'getDefaultColumnDef'
|
|
24852
24850
|
}),
|
|
24853
24851
|
_getColumnDefs: () => table.options.columns,
|
|
24854
24852
|
getAllColumns: memo(() => [table._getColumnDefs()], columnDefs => {
|
|
@@ -24865,7 +24863,7 @@
|
|
|
24865
24863
|
};
|
|
24866
24864
|
return recurseColumns(columnDefs);
|
|
24867
24865
|
}, {
|
|
24868
|
-
key:
|
|
24866
|
+
key: 'getAllColumns',
|
|
24869
24867
|
debug: () => {
|
|
24870
24868
|
var _table$options$debugA2;
|
|
24871
24869
|
return (_table$options$debugA2 = table.options.debugAll) != null ? _table$options$debugA2 : table.options.debugColumns;
|
|
@@ -24876,7 +24874,7 @@
|
|
|
24876
24874
|
return column.getFlatColumns();
|
|
24877
24875
|
});
|
|
24878
24876
|
}, {
|
|
24879
|
-
key:
|
|
24877
|
+
key: 'getAllFlatColumns',
|
|
24880
24878
|
debug: () => {
|
|
24881
24879
|
var _table$options$debugA3;
|
|
24882
24880
|
return (_table$options$debugA3 = table.options.debugAll) != null ? _table$options$debugA3 : table.options.debugColumns;
|
|
@@ -24888,7 +24886,7 @@
|
|
|
24888
24886
|
return acc;
|
|
24889
24887
|
}, {});
|
|
24890
24888
|
}, {
|
|
24891
|
-
key:
|
|
24889
|
+
key: 'getAllFlatColumnsById',
|
|
24892
24890
|
debug: () => {
|
|
24893
24891
|
var _table$options$debugA4;
|
|
24894
24892
|
return (_table$options$debugA4 = table.options.debugAll) != null ? _table$options$debugA4 : table.options.debugColumns;
|
|
@@ -24898,7 +24896,7 @@
|
|
|
24898
24896
|
let leafColumns = allColumns.flatMap(column => column.getLeafColumns());
|
|
24899
24897
|
return orderColumns(leafColumns);
|
|
24900
24898
|
}, {
|
|
24901
|
-
key:
|
|
24899
|
+
key: 'getAllLeafColumns',
|
|
24902
24900
|
debug: () => {
|
|
24903
24901
|
var _table$options$debugA5;
|
|
24904
24902
|
return (_table$options$debugA5 = table.options.debugAll) != null ? _table$options$debugA5 : table.options.debugColumns;
|
|
@@ -24907,7 +24905,7 @@
|
|
|
24907
24905
|
getColumn: columnId => {
|
|
24908
24906
|
const column = table._getAllFlatColumnsById()[columnId];
|
|
24909
24907
|
if (!column) {
|
|
24910
|
-
|
|
24908
|
+
{
|
|
24911
24909
|
console.warn(`[Table] Column with id ${columnId} does not exist.`);
|
|
24912
24910
|
}
|
|
24913
24911
|
throw new Error();
|
|
@@ -24941,7 +24939,7 @@
|
|
|
24941
24939
|
getValue: cell.getValue,
|
|
24942
24940
|
renderValue: cell.renderValue
|
|
24943
24941
|
}), {
|
|
24944
|
-
key:
|
|
24942
|
+
key: 'cell.getContext',
|
|
24945
24943
|
debug: () => table.options.debugAll
|
|
24946
24944
|
})
|
|
24947
24945
|
};
|
|
@@ -24996,7 +24994,7 @@
|
|
|
24996
24994
|
return createCell(table, row, column, column.id);
|
|
24997
24995
|
});
|
|
24998
24996
|
}, {
|
|
24999
|
-
key:
|
|
24997
|
+
key: 'row.getAllCells',
|
|
25000
24998
|
debug: () => {
|
|
25001
24999
|
var _table$options$debugA;
|
|
25002
25000
|
return (_table$options$debugA = table.options.debugAll) != null ? _table$options$debugA : table.options.debugRows;
|
|
@@ -25008,7 +25006,7 @@
|
|
|
25008
25006
|
return acc;
|
|
25009
25007
|
}, {});
|
|
25010
25008
|
}, {
|
|
25011
|
-
key:
|
|
25009
|
+
key: "development" === 'production' ,
|
|
25012
25010
|
debug: () => {
|
|
25013
25011
|
var _table$options$debugA2;
|
|
25014
25012
|
return (_table$options$debugA2 = table.options.debugAll) != null ? _table$options$debugA2 : table.options.debugRows;
|
|
@@ -25037,7 +25035,7 @@
|
|
|
25037
25035
|
for (let i = 0; i < originalRows.length; i++) {
|
|
25038
25036
|
// This could be an expensive check at scale, so we should move it somewhere else, but where?
|
|
25039
25037
|
// if (!id) {
|
|
25040
|
-
// if (
|
|
25038
|
+
// if ("development" !== 'production') {
|
|
25041
25039
|
// throw new Error(`getRowId expected an ID, but got ${id}`)
|
|
25042
25040
|
// }
|
|
25043
25041
|
// }
|
|
@@ -25068,7 +25066,7 @@
|
|
|
25068
25066
|
rowModel.rows = accessRows(data);
|
|
25069
25067
|
return rowModel;
|
|
25070
25068
|
}, {
|
|
25071
|
-
key:
|
|
25069
|
+
key: 'getRowModel',
|
|
25072
25070
|
debug: () => {
|
|
25073
25071
|
var _table$options$debugA;
|
|
25074
25072
|
return (_table$options$debugA = table.options.debugAll) != null ? _table$options$debugA : table.options.debugTable;
|