@ai-matrx/office 0.8.56 → 0.8.58

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.
@@ -103,7 +103,7 @@ declare function mapIndex(op: AxisOp, i: number): number | null;
103
103
  */
104
104
  declare function transformAxis(x: AxisOp, y: AxisOp, side: Side): AxisOp[] | null;
105
105
 
106
- declare const SHEET_TRANSFORMER_VERSION = "c5f-1";
106
+ declare const SHEET_TRANSFORMER_VERSION = "c5f-2";
107
107
  /**
108
108
  * Pairs the fuzz proved divergent (or that have no transform yet), as unordered mutation-id pairs, with the
109
109
  * failing seed. Each returns a Barrier until it has its own correct transform under a new proto.
@@ -103,7 +103,7 @@ declare function mapIndex(op: AxisOp, i: number): number | null;
103
103
  */
104
104
  declare function transformAxis(x: AxisOp, y: AxisOp, side: Side): AxisOp[] | null;
105
105
 
106
- declare const SHEET_TRANSFORMER_VERSION = "c5f-1";
106
+ declare const SHEET_TRANSFORMER_VERSION = "c5f-2";
107
107
  /**
108
108
  * Pairs the fuzz proved divergent (or that have no transform yet), as unordered mutation-id pairs, with the
109
109
  * failing seed. Each returns a Barrier until it has its own correct transform under a new proto.
@@ -750,7 +750,7 @@ registerRangedResource({
750
750
  });
751
751
 
752
752
  // src/collab/sheets/transform/transform.ts
753
- var SHEET_TRANSFORMER_VERSION = "c5f-1";
753
+ var SHEET_TRANSFORMER_VERSION = "c5f-2";
754
754
  var ID = {
755
755
  values: "sheet.mutation.set-range-values",
756
756
  insertRow: "sheet.mutation.insert-row",
@@ -1117,7 +1117,7 @@ function valuesUnderMerge(x, y) {
1117
1117
  if (v === null || !hasContent(v) || !coveredByMerge(ranges, r, c)) return putCell(out, r, c, v);
1118
1118
  changed = true;
1119
1119
  if (!isDerived(x)) dropped.push(cellRef(sheetOf(x), r, c));
1120
- if ("s" in v) putCell(out, r, c, { s: v.s });
1120
+ putCell(out, r, c, { ...EMPTY_CONTENT, ..."s" in v ? { s: v.s } : {} });
1121
1121
  });
1122
1122
  if (!changed) return ok2([x]);
1123
1123
  return ok2(isEmptyMatrix(out) ? [] : [cellsMutation(x, out)], [], dropped);