@ai-matrx/records-ui 0.101.22 → 0.101.23

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog — @ai-matrx/records-ui
2
2
 
3
+ ## 0.101.23
4
+
5
+ Automatic changed-only republish (docs/metadata drift since the last tag — see
6
+ `git diff npm/records-ui/v0.101.22..npm/records-ui/v0.101.23 -- apps/shared/records-ui`).
7
+ No source changes intended and no consumer action required.
8
+
3
9
  ## 0.101.22
4
10
 
5
11
  Automatic changed-only republish (docs/metadata drift since the last tag — see
package/dist/index.cjs CHANGED
@@ -12907,6 +12907,9 @@ function storedValueAgrees(field2, stored, written, options) {
12907
12907
  }
12908
12908
  return JSON.stringify(stored) === JSON.stringify(written);
12909
12909
  }
12910
+ function refusalsBeyondTheHeader(refusals, headerRowId) {
12911
+ return headerRowId === void 0 ? [...refusals] : refusals.filter((r) => r.rowId !== headerRowId);
12912
+ }
12910
12913
  function columnsTheGridTurnedAway(turnedAway, columnKeys, columnName, already) {
12911
12914
  const said = /* @__PURE__ */ new Map();
12912
12915
  for (const refused of turnedAway) {
@@ -21762,7 +21765,12 @@ function GridBody({
21762
21765
  ...headed ? { header: { unmatched: headed.unmatched } } : {}
21763
21766
  });
21764
21767
  built.refusals.push(
21765
- ...columnsTheGridTurnedAway(sheetPlan.refusals, columnKeys, (id) => columnLabel(fieldList, id), built.refusals)
21768
+ ...columnsTheGridTurnedAway(
21769
+ refusalsBeyondTheHeader(sheetPlan.refusals, headed ? touched[0] : void 0),
21770
+ columnKeys,
21771
+ (id) => columnLabel(fieldList, id),
21772
+ built.refusals
21773
+ )
21766
21774
  );
21767
21775
  if (merged && built.cells > 0 && built.creates === 0 && built.refusals.length === 0 && built.pastRightEdge === 0 && (built.header?.unmatched.length ?? 0) === 0 && built.unmatchedOptions.length === 0) {
21768
21776
  const outcome = await pasteAtOnce.current(built);