@leankylin-sheet/core 5.1.18 → 5.2.1

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
@@ -46595,7 +46595,7 @@ function calculateSheetFromula(ctx, id) {
46595
46595
  id: id
46596
46596
  };
46597
46597
  calcChain.push(cc);
46598
- var result = execfunction(ctx, cell === null || cell === void 0 ? void 0 : cell.f, r, c, id, undefined, true);
46598
+ var result = execfunction(ctx, cell === null || cell === void 0 ? void 0 : cell.f, r, c, id, true, true);
46599
46599
  var newV = result[1];
46600
46600
  if (newV === cell.v) {
46601
46601
  continue;
@@ -46603,6 +46603,7 @@ function calculateSheetFromula(ctx, id) {
46603
46603
  setCellValue$1(ctx, r, c, result[1], null, {
46604
46604
  id: id
46605
46605
  });
46606
+ insertUpdateFunctionGroup(ctx, r, c, id);
46606
46607
  }
46607
46608
  }
46608
46609
  file.calcChain = uniqBy(calcChain, function (item) {
package/dist/index.js CHANGED
@@ -46605,7 +46605,7 @@ function calculateSheetFromula(ctx, id) {
46605
46605
  id: id
46606
46606
  };
46607
46607
  calcChain.push(cc);
46608
- var result = execfunction(ctx, cell === null || cell === void 0 ? void 0 : cell.f, r, c, id, undefined, true);
46608
+ var result = execfunction(ctx, cell === null || cell === void 0 ? void 0 : cell.f, r, c, id, true, true);
46609
46609
  var newV = result[1];
46610
46610
  if (newV === cell.v) {
46611
46611
  continue;
@@ -46613,6 +46613,7 @@ function calculateSheetFromula(ctx, id) {
46613
46613
  setCellValue$1(ctx, r, c, result[1], null, {
46614
46614
  id: id
46615
46615
  });
46616
+ insertUpdateFunctionGroup(ctx, r, c, id);
46616
46617
  }
46617
46618
  }
46618
46619
  file.calcChain = _.uniqBy(calcChain, function (item) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leankylin-sheet/core",
3
- "version": "5.1.18",
3
+ "version": "5.2.1",
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": "5.1.18",
16
+ "@leankylin-sheet/formula-parser": "5.2.1",
17
17
  "dayjs": "^1.11.0",
18
18
  "immer": "^9.0.12",
19
19
  "lodash": "^4.17.21",