@fileverse-dev/fortune-core 1.0.64 → 1.0.65

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.
@@ -616,7 +616,7 @@ export function updateCell(ctx, r, c, $input, value, canvas) {
616
616
  var coin_1 = (_h = oldValue === null || oldValue === void 0 ? void 0 : oldValue.m) === null || _h === void 0 ? void 0 : _h.toString().split(" ")[1];
617
617
  if (_typeof(curv) === "object" && (curv === null || curv === void 0 ? void 0 : curv.baseValue)) {
618
618
  curv.m = "".concat((parseFloat(value) / (oldValue === null || oldValue === void 0 ? void 0 : oldValue.baseCurrencyPrice)).toFixed(decemialCount_1), " ").concat(coin_1);
619
- curv.baseValue = value;
619
+ curv.baseValue = value.toString();
620
620
  }
621
621
  execFunctionGroup(ctx, r, c, curv);
622
622
  isRunExecFunction = false;
@@ -680,7 +680,7 @@ export function updateCell(ctx, r, c, $input, value, canvas) {
680
680
  var coin = (_l = oldValue === null || oldValue === void 0 ? void 0 : oldValue.m) === null || _l === void 0 ? void 0 : _l.toString().split(" ")[1];
681
681
  if (_typeof(value) === "object" && value.baseValue && !(value === null || value === void 0 ? void 0 : value.m)) {
682
682
  value.m = "".concat((parseFloat(value === null || value === void 0 ? void 0 : value.v) / (oldValue === null || oldValue === void 0 ? void 0 : oldValue.baseCurrencyPrice)).toFixed(decemialCount), " ").concat(coin);
683
- value.baseValue = value === null || value === void 0 ? void 0 : value.v;
683
+ value.baseValue = value === null || value === void 0 ? void 0 : value.v.toString();
684
684
  }
685
685
  setCellValue(ctx, r, c, d, value);
686
686
  cancelNormalSelected(ctx);
@@ -186,7 +186,6 @@ export function iscelldata(txt) {
186
186
  return false;
187
187
  }
188
188
  function addToCellIndexList(ctx, txt, infoObj) {
189
- console.log("heheeheheh");
190
189
  if (_.isNil(txt) || txt.length === 0 || _.isNil(infoObj)) {
191
190
  return;
192
191
  }
@@ -646,7 +646,7 @@ function updateCell(ctx, r, c, $input, value, canvas) {
646
646
  var coin_1 = (_h = oldValue === null || oldValue === void 0 ? void 0 : oldValue.m) === null || _h === void 0 ? void 0 : _h.toString().split(" ")[1];
647
647
  if (_typeof(curv) === "object" && (curv === null || curv === void 0 ? void 0 : curv.baseValue)) {
648
648
  curv.m = "".concat((parseFloat(value) / (oldValue === null || oldValue === void 0 ? void 0 : oldValue.baseCurrencyPrice)).toFixed(decemialCount_1), " ").concat(coin_1);
649
- curv.baseValue = value;
649
+ curv.baseValue = value.toString();
650
650
  }
651
651
  (0, _formula.execFunctionGroup)(ctx, r, c, curv);
652
652
  isRunExecFunction = false;
@@ -710,7 +710,7 @@ function updateCell(ctx, r, c, $input, value, canvas) {
710
710
  var coin = (_l = oldValue === null || oldValue === void 0 ? void 0 : oldValue.m) === null || _l === void 0 ? void 0 : _l.toString().split(" ")[1];
711
711
  if (_typeof(value) === "object" && value.baseValue && !(value === null || value === void 0 ? void 0 : value.m)) {
712
712
  value.m = "".concat((parseFloat(value === null || value === void 0 ? void 0 : value.v) / (oldValue === null || oldValue === void 0 ? void 0 : oldValue.baseCurrencyPrice)).toFixed(decemialCount), " ").concat(coin);
713
- value.baseValue = value === null || value === void 0 ? void 0 : value.v;
713
+ value.baseValue = value === null || value === void 0 ? void 0 : value.v.toString();
714
714
  }
715
715
  setCellValue(ctx, r, c, d, value);
716
716
  cancelNormalSelected(ctx);
@@ -215,7 +215,6 @@ function iscelldata(txt) {
215
215
  return false;
216
216
  }
217
217
  function addToCellIndexList(ctx, txt, infoObj) {
218
- console.log("heheeheheh");
219
218
  if (_lodash.default.isNil(txt) || txt.length === 0 || _lodash.default.isNil(infoObj)) {
220
219
  return;
221
220
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fileverse-dev/fortune-core",
3
- "version": "1.0.64",
3
+ "version": "1.0.65",
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.41",
18
+ "@fileverse-dev/formula-parser": "0.2.42",
19
19
  "dayjs": "^1.11.0",
20
20
  "immer": "^9.0.12",
21
21
  "lodash": "^4.17.21",