(rowId)
| 277 | const rowValues = mapGet(allRowValues, id2); |
| 278 | const sortKeys = mapGet(allSortKeys, id2); |
| 279 | const processRow = (rowId) => { |
| 280 | const getCell = (cellId) => store.getCell(tableId, rowId, cellId); |
| 281 | const oldRowValue = mapGet(rowValues, rowId); |
| 282 | const newRowValue = hasRow(tableId, rowId) ? validateRowValue(getRowValue(getCell, rowId)) : void 0; |
| 283 | if (!(oldRowValue === newRowValue || isArray(oldRowValue) && isArray(newRowValue) && arrayIsEqual(oldRowValue, newRowValue))) { |
| 284 | mapSet(changedRowValues, rowId, [oldRowValue, newRowValue]); |
| 285 | } |
| 286 | if (!isUndefined(getSortKey)) { |
| 287 | const oldSortKey = mapGet(sortKeys, rowId); |
| 288 | const newSortKey = hasRow(tableId, rowId) ? getSortKey(getCell, rowId) : void 0; |
| 289 | if (oldSortKey != newSortKey) { |
| 290 | mapSet(changedSortKeys, rowId, newSortKey); |
| 291 | } |
| 292 | } |
| 293 | }; |
| 294 | const processTable = (force) => { |
| 295 | onChanged( |
| 296 | () => { |
no test coverage detected
searching dependent graphs…