@fileverse-dev/fortune-core 1.1.80-patch-test-4 → 1.1.80-patch-test-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/es/api/sheet.js CHANGED
@@ -121,6 +121,7 @@ export function calculateSheetFromula(ctx, id) {
121
121
  continue;
122
122
  }
123
123
  var result = execfunction(ctx, (_c = ctx.luckysheetfile[index].data[r][c]) === null || _c === void 0 ? void 0 : _c.f, r, c, id);
124
+ console.log("Formula result", result);
124
125
  api.setCellValue(ctx, r, c, result[1], null);
125
126
  insertUpdateFunctionGroup(ctx, r, c, id);
126
127
  }
@@ -687,6 +687,9 @@ export function insertUpdateFunctionGroup(ctx, r, c, id, calcChainSet) {
687
687
  };
688
688
  calcChain.push(cc);
689
689
  file.calcChain = calcChain;
690
+ console.log({
691
+ luckysheetfile: luckysheetfile
692
+ });
690
693
  ctx.luckysheetfile = luckysheetfile;
691
694
  }
692
695
  export function execfunction(ctx, txt, r, c, id, calcChainSet, isrefresh, notInsertFunc) {
package/lib/api/sheet.js CHANGED
@@ -138,6 +138,7 @@ function calculateSheetFromula(ctx, id) {
138
138
  continue;
139
139
  }
140
140
  var result = (0, _2.execfunction)(ctx, (_c = ctx.luckysheetfile[index].data[r][c]) === null || _c === void 0 ? void 0 : _c.f, r, c, id);
141
+ console.log("Formula result", result);
141
142
  _2.api.setCellValue(ctx, r, c, result[1], null);
142
143
  (0, _2.insertUpdateFunctionGroup)(ctx, r, c, id);
143
144
  }
@@ -717,6 +717,9 @@ function insertUpdateFunctionGroup(ctx, r, c, id, calcChainSet) {
717
717
  };
718
718
  calcChain.push(cc);
719
719
  file.calcChain = calcChain;
720
+ console.log({
721
+ luckysheetfile: luckysheetfile
722
+ });
720
723
  ctx.luckysheetfile = luckysheetfile;
721
724
  }
722
725
  function execfunction(ctx, txt, r, c, id, calcChainSet, isrefresh, notInsertFunc) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fileverse-dev/fortune-core",
3
- "version": "1.1.80-patch-test-4",
3
+ "version": "1.1.80-patch-test-6",
4
4
  "main": "lib/index.js",
5
5
  "module": "es/index.js",
6
6
  "typings": "lib/index.d.ts",