@leankylin-sheet/core 4.0.51 → 4.0.53

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
@@ -55640,7 +55640,10 @@ function setCellValue$1(ctx, row, column, value, cellInput) {
55640
55640
  }
55641
55641
  updateCell(ctx, row, column, cellInput, curv);
55642
55642
  } else {
55643
- var ov = cell.v;
55643
+ var needupdateFdev = false;
55644
+ var oldF = cell.f;
55645
+ var nf = value.f;
55646
+ var oldV = cell.v;
55644
55647
  var nv = value.v;
55645
55648
  if (value.ct != null) {
55646
55649
  curv.ct = value.ct;
@@ -55656,7 +55659,13 @@ function setCellValue$1(ctx, row, column, value, cellInput) {
55656
55659
  if (value.m != null) {
55657
55660
  curv.m = value.m;
55658
55661
  }
55659
- if (ov !== nv) {
55662
+ if (nf !== undefined && nf !== oldF) {
55663
+ needupdateFdev = true;
55664
+ }
55665
+ if (nv !== undefined && nv !== oldV) {
55666
+ needupdateFdev = true;
55667
+ }
55668
+ if (needupdateFdev) {
55660
55669
  delFunctionGroup(ctx, row, column);
55661
55670
  setCellValue(ctx, row, column, data, curv);
55662
55671
  }
package/dist/index.js CHANGED
@@ -55650,7 +55650,10 @@ function setCellValue$1(ctx, row, column, value, cellInput) {
55650
55650
  }
55651
55651
  updateCell(ctx, row, column, cellInput, curv);
55652
55652
  } else {
55653
- var ov = cell.v;
55653
+ var needupdateFdev = false;
55654
+ var oldF = cell.f;
55655
+ var nf = value.f;
55656
+ var oldV = cell.v;
55654
55657
  var nv = value.v;
55655
55658
  if (value.ct != null) {
55656
55659
  curv.ct = value.ct;
@@ -55666,7 +55669,13 @@ function setCellValue$1(ctx, row, column, value, cellInput) {
55666
55669
  if (value.m != null) {
55667
55670
  curv.m = value.m;
55668
55671
  }
55669
- if (ov !== nv) {
55672
+ if (nf !== undefined && nf !== oldF) {
55673
+ needupdateFdev = true;
55674
+ }
55675
+ if (nv !== undefined && nv !== oldV) {
55676
+ needupdateFdev = true;
55677
+ }
55678
+ if (needupdateFdev) {
55670
55679
  delFunctionGroup(ctx, row, column);
55671
55680
  setCellValue(ctx, row, column, data, curv);
55672
55681
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leankylin-sheet/core",
3
- "version": "4.0.51",
3
+ "version": "4.0.53",
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.51",
16
+ "@leankylin-sheet/formula-parser": "4.0.53",
17
17
  "dayjs": "^1.11.0",
18
18
  "immer": "^9.0.12",
19
19
  "lodash": "^4.17.21",