@fileverse-dev/fortune-core 1.0.96 → 1.0.98

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.
@@ -721,7 +721,7 @@ export function updateCell(ctx, r, c, $input, value, canvas) {
721
721
  }
722
722
  }
723
723
  }
724
- if (!(value === null || value === void 0 ? void 0 : value.baseValue) && ctx.hooks.afterUpdateCell) {
724
+ if (ctx.hooks.afterUpdateCell) {
725
725
  var newValue_1 = _.cloneDeep(flowdata[r][c]);
726
726
  var afterUpdateCell_1 = ctx.hooks.afterUpdateCell;
727
727
  setTimeout(function () {
@@ -2341,5 +2341,6 @@ export function functionCopy(ctx, txt, mode, step) {
2341
2341
  }
2342
2342
  i += 1;
2343
2343
  }
2344
+ function_str = function_str.replace(/NaN/g, "");
2344
2345
  return function_str;
2345
2346
  }
@@ -751,7 +751,7 @@ function updateCell(ctx, r, c, $input, value, canvas) {
751
751
  }
752
752
  }
753
753
  }
754
- if (!(value === null || value === void 0 ? void 0 : value.baseValue) && ctx.hooks.afterUpdateCell) {
754
+ if (ctx.hooks.afterUpdateCell) {
755
755
  var newValue_1 = _lodash.default.cloneDeep(flowdata[r][c]);
756
756
  var afterUpdateCell_1 = ctx.hooks.afterUpdateCell;
757
757
  setTimeout(function () {
@@ -2370,5 +2370,6 @@ function functionCopy(ctx, txt, mode, step) {
2370
2370
  }
2371
2371
  i += 1;
2372
2372
  }
2373
+ function_str = function_str.replace(/NaN/g, "");
2373
2374
  return function_str;
2374
2375
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fileverse-dev/fortune-core",
3
- "version": "1.0.96",
3
+ "version": "1.0.98",
4
4
  "main": "lib/index.js",
5
5
  "module": "es/index.js",
6
6
  "typings": "lib/index.d.ts",
@@ -15,7 +15,7 @@
15
15
  "dev": "father-build --watch"
16
16
  },
17
17
  "dependencies": {
18
- "@fileverse-dev/formula-parser": "0.2.56",
18
+ "@fileverse-dev/formula-parser": "0.2.57",
19
19
  "dayjs": "^1.11.0",
20
20
  "immer": "^9.0.12",
21
21
  "lodash": "^4.17.21",