@fileverse-dev/fortune-core 1.2.90-ydoc-12 → 1.2.90-ydoc-13

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.
@@ -81,7 +81,9 @@ export function updateFormatCell(ctx, d, attr, foucsStatus, row_st, row_ed, col_
81
81
  r: r,
82
82
  c: c,
83
83
  v: d[r][c]
84
- }
84
+ },
85
+ key: r + '_' + c,
86
+ type: 'update'
85
87
  });
86
88
  }
87
89
  if ((_x = ctx === null || ctx === void 0 ? void 0 : ctx.hooks) === null || _x === void 0 ? void 0 : _x.updateCellYdoc) {
@@ -218,7 +220,9 @@ export function updateFormatCell(ctx, d, attr, foucsStatus, row_st, row_ed, col_
218
220
  r: r,
219
221
  c: c,
220
222
  v: d[r][c]
221
- }
223
+ },
224
+ key: "".concat(r, "_").concat(c),
225
+ type: "update"
222
226
  });
223
227
  };
224
228
  for (var c = col_st; c <= col_ed; c += 1) {
@@ -114,7 +114,9 @@ function updateFormatCell(ctx, d, attr, foucsStatus, row_st, row_ed, col_st, col
114
114
  r: r,
115
115
  c: c,
116
116
  v: d[r][c]
117
- }
117
+ },
118
+ key: r + '_' + c,
119
+ type: 'update'
118
120
  });
119
121
  }
120
122
  if ((_x = ctx === null || ctx === void 0 ? void 0 : ctx.hooks) === null || _x === void 0 ? void 0 : _x.updateCellYdoc) {
@@ -251,7 +253,9 @@ function updateFormatCell(ctx, d, attr, foucsStatus, row_st, row_ed, col_st, col
251
253
  r: r,
252
254
  c: c,
253
255
  v: d[r][c]
254
- }
256
+ },
257
+ key: "".concat(r, "_").concat(c),
258
+ type: "update"
255
259
  });
256
260
  };
257
261
  for (var c = col_st; c <= col_ed; c += 1) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fileverse-dev/fortune-core",
3
- "version": "1.2.90-ydoc-12",
3
+ "version": "1.2.90-ydoc-13",
4
4
  "main": "lib/index.js",
5
5
  "module": "es/index.js",
6
6
  "typings": "lib/index.d.ts",