@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.
- package/CHANGELOG.md +24 -2
- package/dist/collab-sheets-transform.cjs +2 -2
- package/dist/collab-sheets-transform.cjs.map +1 -1
- package/dist/collab-sheets-transform.d.cts +1 -1
- package/dist/collab-sheets-transform.d.ts +1 -1
- package/dist/collab-sheets-transform.js +2 -2
- package/dist/collab-sheets-transform.js.map +1 -1
- package/dist/univer-collab.cjs +4 -4
- package/dist/univer-collab.cjs.map +1 -1
- package/dist/univer-collab.d.cts +1 -1
- package/dist/univer-collab.d.ts +1 -1
- package/dist/univer-collab.js +4 -4
- package/dist/univer-collab.js.map +1 -1
- package/package.json +7 -6
package/dist/univer-collab.d.cts
CHANGED
|
@@ -591,7 +591,7 @@ type SheetOp = SheetMutation[] | null;
|
|
|
591
591
|
* The room's protocol (§6.4): Univer 1.0.4 + transformer `SHEET_TRANSFORMER_VERSION`. Any Univer or transformer
|
|
592
592
|
* change raises it; a room at another proto opens read-only for this build.
|
|
593
593
|
*/
|
|
594
|
-
declare const SHEETS_COLLAB_PROTO =
|
|
594
|
+
declare const SHEETS_COLLAB_PROTO = 5;
|
|
595
595
|
/**
|
|
596
596
|
* Every Sheets protocol this package still reads (the fold, the server): each proto's transforms are a superset of
|
|
597
597
|
* the one before, so a room still at an older protocol folds here. Raising the proto appends, never replaces.
|
package/dist/univer-collab.d.ts
CHANGED
|
@@ -591,7 +591,7 @@ type SheetOp = SheetMutation[] | null;
|
|
|
591
591
|
* The room's protocol (§6.4): Univer 1.0.4 + transformer `SHEET_TRANSFORMER_VERSION`. Any Univer or transformer
|
|
592
592
|
* change raises it; a room at another proto opens read-only for this build.
|
|
593
593
|
*/
|
|
594
|
-
declare const SHEETS_COLLAB_PROTO =
|
|
594
|
+
declare const SHEETS_COLLAB_PROTO = 5;
|
|
595
595
|
/**
|
|
596
596
|
* Every Sheets protocol this package still reads (the fold, the server): each proto's transforms are a superset of
|
|
597
597
|
* the one before, so a room still at an older protocol folds here. Raising the proto appends, never replaces.
|
package/dist/univer-collab.js
CHANGED
|
@@ -2532,7 +2532,7 @@ registerRangedResource({
|
|
|
2532
2532
|
});
|
|
2533
2533
|
|
|
2534
2534
|
// src/collab/sheets/transform/transform.ts
|
|
2535
|
-
var SHEET_TRANSFORMER_VERSION = "c5f-
|
|
2535
|
+
var SHEET_TRANSFORMER_VERSION = "c5f-2";
|
|
2536
2536
|
var ID = {
|
|
2537
2537
|
values: "sheet.mutation.set-range-values",
|
|
2538
2538
|
insertRow: "sheet.mutation.insert-row",
|
|
@@ -2899,7 +2899,7 @@ function valuesUnderMerge(x, y) {
|
|
|
2899
2899
|
if (v === null || !hasContent(v) || !coveredByMerge(ranges, r, c)) return putCell(out, r, c, v);
|
|
2900
2900
|
changed = true;
|
|
2901
2901
|
if (!isDerived(x)) dropped.push(cellRef(sheetOf(x), r, c));
|
|
2902
|
-
|
|
2902
|
+
putCell(out, r, c, { ...EMPTY_CONTENT, ..."s" in v ? { s: v.s } : {} });
|
|
2903
2903
|
});
|
|
2904
2904
|
if (!changed) return ok2([x]);
|
|
2905
2905
|
return ok2(isEmptyMatrix(out) ? [] : [cellsMutation(x, out)], [], dropped);
|
|
@@ -3893,8 +3893,8 @@ async function sheetsStateHash(snapshot) {
|
|
|
3893
3893
|
}
|
|
3894
3894
|
|
|
3895
3895
|
// src/univer/collab/sheets-ot/room.ts
|
|
3896
|
-
var SHEETS_COLLAB_PROTO =
|
|
3897
|
-
var SHEETS_READABLE_PROTOS = [2, 3, SHEETS_COLLAB_PROTO];
|
|
3896
|
+
var SHEETS_COLLAB_PROTO = 5;
|
|
3897
|
+
var SHEETS_READABLE_PROTOS = [2, 3, 4, SHEETS_COLLAB_PROTO];
|
|
3898
3898
|
var SHEETS_EDIT_GROUP = "sheets.edit";
|
|
3899
3899
|
var flip2 = (side) => side === "left" ? "right" : "left";
|
|
3900
3900
|
var isNoopSheetOp = (op) => op == null || op.length === 0;
|