(tableId, tableMap, rowId, row, forceDel)
| 1316 | objIsEqual |
| 1317 | ); |
| 1318 | const setValidRow = (tableId, tableMap, rowId, row, forceDel) => ifTransformed( |
| 1319 | row, |
| 1320 | () => forceDel ? row : ifNotUndefined( |
| 1321 | middleware[3], |
| 1322 | (willSetRow) => whileMutating( |
| 1323 | () => willSetRow(tableId, rowId, structuredClone(row)) |
| 1324 | ), |
| 1325 | () => row |
| 1326 | ), |
| 1327 | (validRow) => mapMatch( |
| 1328 | mapEnsure(tableMap, rowId, () => { |
| 1329 | rowIdsChanged(tableId, rowId, 1); |
| 1330 | return mapNew(); |
| 1331 | }), |
| 1332 | validRow, |
| 1333 | (rowMap, cellId, cell) => setValidCell(tableId, rowId, rowMap, cellId, cell), |
| 1334 | (rowMap, cellId) => delValidCell(tableId, tableMap, rowId, rowMap, cellId, forceDel) |
| 1335 | ), |
| 1336 | objIsEqual |
| 1337 | ); |
| 1338 | const applyRowDirectly = (tableId, tableMap, rowId, row, skipMiddleware) => { |
| 1339 | mapMatch( |
| 1340 | mapEnsure(tableMap, rowId, () => { |
no test coverage detected
searching dependent graphs…