@fileverse-dev/fortune-core 1.0.66 → 1.0.67

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.
@@ -618,6 +618,7 @@ export function updateCell(ctx, r, c, $input, value, canvas) {
618
618
  curv.m = "".concat((parseFloat(value) / (oldValue === null || oldValue === void 0 ? void 0 : oldValue.baseCurrencyPrice)).toFixed(decemialCount_1), " ").concat(coin_1);
619
619
  curv.baseValue = value;
620
620
  }
621
+ console.log("curv", curv);
621
622
  execFunctionGroup(ctx, r, c, curv);
622
623
  isRunExecFunction = false;
623
624
  if (curv.qp === 1 && "".concat(value).substring(0, 1) !== "'") {
@@ -683,6 +684,7 @@ export function updateCell(ctx, r, c, $input, value, canvas) {
683
684
  value.baseValue = Number(value === null || value === void 0 ? void 0 : value.v);
684
685
  value.v = value === null || value === void 0 ? void 0 : value.v.toString();
685
686
  }
687
+ console.log(value);
686
688
  setCellValue(ctx, r, c, d, value);
687
689
  cancelNormalSelected(ctx);
688
690
  if ((curv === null || curv === void 0 ? void 0 : curv.tb) === "2" && curv.v || isInlineStringCell(d[r][c])) {
@@ -648,6 +648,7 @@ function updateCell(ctx, r, c, $input, value, canvas) {
648
648
  curv.m = "".concat((parseFloat(value) / (oldValue === null || oldValue === void 0 ? void 0 : oldValue.baseCurrencyPrice)).toFixed(decemialCount_1), " ").concat(coin_1);
649
649
  curv.baseValue = value;
650
650
  }
651
+ console.log("curv", curv);
651
652
  (0, _formula.execFunctionGroup)(ctx, r, c, curv);
652
653
  isRunExecFunction = false;
653
654
  if (curv.qp === 1 && "".concat(value).substring(0, 1) !== "'") {
@@ -713,6 +714,7 @@ function updateCell(ctx, r, c, $input, value, canvas) {
713
714
  value.baseValue = Number(value === null || value === void 0 ? void 0 : value.v);
714
715
  value.v = value === null || value === void 0 ? void 0 : value.v.toString();
715
716
  }
717
+ console.log(value);
716
718
  setCellValue(ctx, r, c, d, value);
717
719
  cancelNormalSelected(ctx);
718
720
  if ((curv === null || curv === void 0 ? void 0 : curv.tb) === "2" && curv.v || (0, _inlineString.isInlineStringCell)(d[r][c])) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fileverse-dev/fortune-core",
3
- "version": "1.0.66",
3
+ "version": "1.0.67",
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.43",
18
+ "@fileverse-dev/formula-parser": "0.2.44",
19
19
  "dayjs": "^1.11.0",
20
20
  "immer": "^9.0.12",
21
21
  "lodash": "^4.17.21",