@leankylin-sheet/core 4.0.52 → 4.0.54

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/dist/index.esm.js CHANGED
@@ -55643,6 +55643,8 @@ function setCellValue$1(ctx, row, column, value, cellInput) {
55643
55643
  var needupdateFdev = false;
55644
55644
  var oldF = cell.f;
55645
55645
  var nf = value.f;
55646
+ var oldV = cell.v;
55647
+ var nv = value.v;
55646
55648
  if (value.ct != null) {
55647
55649
  curv.ct = value.ct;
55648
55650
  }
@@ -55660,6 +55662,9 @@ function setCellValue$1(ctx, row, column, value, cellInput) {
55660
55662
  if (nf !== undefined && nf !== oldF) {
55661
55663
  needupdateFdev = true;
55662
55664
  }
55665
+ if (nv !== undefined && String(nv) !== String(oldV)) {
55666
+ needupdateFdev = true;
55667
+ }
55663
55668
  if (needupdateFdev) {
55664
55669
  delFunctionGroup(ctx, row, column);
55665
55670
  setCellValue(ctx, row, column, data, curv);
package/dist/index.js CHANGED
@@ -55653,6 +55653,8 @@ function setCellValue$1(ctx, row, column, value, cellInput) {
55653
55653
  var needupdateFdev = false;
55654
55654
  var oldF = cell.f;
55655
55655
  var nf = value.f;
55656
+ var oldV = cell.v;
55657
+ var nv = value.v;
55656
55658
  if (value.ct != null) {
55657
55659
  curv.ct = value.ct;
55658
55660
  }
@@ -55670,6 +55672,9 @@ function setCellValue$1(ctx, row, column, value, cellInput) {
55670
55672
  if (nf !== undefined && nf !== oldF) {
55671
55673
  needupdateFdev = true;
55672
55674
  }
55675
+ if (nv !== undefined && String(nv) !== String(oldV)) {
55676
+ needupdateFdev = true;
55677
+ }
55673
55678
  if (needupdateFdev) {
55674
55679
  delFunctionGroup(ctx, row, column);
55675
55680
  setCellValue(ctx, row, column, data, curv);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leankylin-sheet/core",
3
- "version": "4.0.52",
3
+ "version": "4.0.54",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.esm.js",
6
6
  "typings": "dist/index.d.ts",
@@ -13,7 +13,7 @@
13
13
  "build": "father-build"
14
14
  },
15
15
  "dependencies": {
16
- "@leankylin-sheet/formula-parser": "4.0.52",
16
+ "@leankylin-sheet/formula-parser": "4.0.54",
17
17
  "dayjs": "^1.11.0",
18
18
  "immer": "^9.0.12",
19
19
  "lodash": "^4.17.21",