@leankylin-sheet/core 5.2.5 → 5.2.6

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
@@ -46577,11 +46577,6 @@ function calculateSheetFromula(ctx, id) {
46577
46577
  console.time("calcTime:".concat(id));
46578
46578
  var index$1 = getSheetIndex(ctx, id);
46579
46579
  var luckysheetfile = ctx.luckysheetfile;
46580
- var file = luckysheetfile[index$1];
46581
- var calcChain = file.calcChain;
46582
- if (_.isNil(calcChain)) {
46583
- calcChain = [];
46584
- }
46585
46580
  if (!ctx.luckysheetfile[index$1].data) return;
46586
46581
  for (var r = 0; r < ctx.luckysheetfile[index$1].data.length; r += 1) {
46587
46582
  for (var c = 0; c < ctx.luckysheetfile[index$1].data[r].length; c += 1) {
@@ -46589,12 +46584,6 @@ function calculateSheetFromula(ctx, id) {
46589
46584
  if (!(cell === null || cell === void 0 ? void 0 : cell.f)) {
46590
46585
  continue;
46591
46586
  }
46592
- var cc = {
46593
- r: r,
46594
- c: c,
46595
- id: id
46596
- };
46597
- calcChain.push(cc);
46598
46587
  var result = execfunction(ctx, cell === null || cell === void 0 ? void 0 : cell.f, r, c, id, true, true);
46599
46588
  var newV = result[1];
46600
46589
  if (newV === cell.v) {
@@ -46605,9 +46594,6 @@ function calculateSheetFromula(ctx, id) {
46605
46594
  });
46606
46595
  }
46607
46596
  }
46608
- file.calcChain = uniqBy(calcChain, function (item) {
46609
- return item.r + item.c + item.id;
46610
- });
46611
46597
  ctx.luckysheetfile = luckysheetfile;
46612
46598
  console.timeEnd("calcTime:".concat(id));
46613
46599
  }
package/dist/index.js CHANGED
@@ -46587,11 +46587,6 @@ function calculateSheetFromula(ctx, id) {
46587
46587
  console.time("calcTime:".concat(id));
46588
46588
  var index$1 = getSheetIndex(ctx, id);
46589
46589
  var luckysheetfile = ctx.luckysheetfile;
46590
- var file = luckysheetfile[index$1];
46591
- var calcChain = file.calcChain;
46592
- if (___default['default'].isNil(calcChain)) {
46593
- calcChain = [];
46594
- }
46595
46590
  if (!ctx.luckysheetfile[index$1].data) return;
46596
46591
  for (var r = 0; r < ctx.luckysheetfile[index$1].data.length; r += 1) {
46597
46592
  for (var c = 0; c < ctx.luckysheetfile[index$1].data[r].length; c += 1) {
@@ -46599,12 +46594,6 @@ function calculateSheetFromula(ctx, id) {
46599
46594
  if (!(cell === null || cell === void 0 ? void 0 : cell.f)) {
46600
46595
  continue;
46601
46596
  }
46602
- var cc = {
46603
- r: r,
46604
- c: c,
46605
- id: id
46606
- };
46607
- calcChain.push(cc);
46608
46597
  var result = execfunction(ctx, cell === null || cell === void 0 ? void 0 : cell.f, r, c, id, true, true);
46609
46598
  var newV = result[1];
46610
46599
  if (newV === cell.v) {
@@ -46615,9 +46604,6 @@ function calculateSheetFromula(ctx, id) {
46615
46604
  });
46616
46605
  }
46617
46606
  }
46618
- file.calcChain = _.uniqBy(calcChain, function (item) {
46619
- return item.r + item.c + item.id;
46620
- });
46621
46607
  ctx.luckysheetfile = luckysheetfile;
46622
46608
  console.timeEnd("calcTime:".concat(id));
46623
46609
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leankylin-sheet/core",
3
- "version": "5.2.5",
3
+ "version": "5.2.6",
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.2.5",
16
+ "@leankylin-sheet/formula-parser": "5.2.6",
17
17
  "dayjs": "^1.11.0",
18
18
  "immer": "^9.0.12",
19
19
  "lodash": "^4.17.21",