@fileverse-dev/fortune-core 1.0.50 → 1.0.52

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.
@@ -1481,7 +1481,7 @@ export function copy(ctx) {
1481
1481
  }
1482
1482
  }
1483
1483
  export function deleteSelectedCellText(ctx) {
1484
- var _a;
1484
+ var _a, _b, _c;
1485
1485
  var allowEdit = isAllowEdit(ctx);
1486
1486
  if (allowEdit === false) {
1487
1487
  return "allowEdit";
@@ -1521,7 +1521,7 @@ export function deleteSelectedCellText(ctx) {
1521
1521
  delFunctionGroup(ctx, r, c, ctx.currentSheetId);
1522
1522
  delete cell.spl;
1523
1523
  }
1524
- if (cell.ct != null && (cell.ct.t === "inlineStr" || ((_a = cell.ct.fa) === null || _a === void 0 ? void 0 : _a.includes("BTC")))) {
1524
+ if (cell.ct != null && (cell.ct.t === "inlineStr" || ((_a = cell.ct.fa) === null || _a === void 0 ? void 0 : _a.includes("BTC")) || ((_b = cell.ct.fa) === null || _b === void 0 ? void 0 : _b.includes("ETH")) || ((_c = cell.ct.fa) === null || _c === void 0 ? void 0 : _c.includes("SOL")))) {
1525
1525
  delete cell.ct;
1526
1526
  }
1527
1527
  } else {
@@ -1510,7 +1510,7 @@ function copy(ctx) {
1510
1510
  }
1511
1511
  }
1512
1512
  function deleteSelectedCellText(ctx) {
1513
- var _a;
1513
+ var _a, _b, _c;
1514
1514
  var allowEdit = (0, _utils.isAllowEdit)(ctx);
1515
1515
  if (allowEdit === false) {
1516
1516
  return "allowEdit";
@@ -1550,7 +1550,7 @@ function deleteSelectedCellText(ctx) {
1550
1550
  (0, _formula.delFunctionGroup)(ctx, r, c, ctx.currentSheetId);
1551
1551
  delete cell.spl;
1552
1552
  }
1553
- if (cell.ct != null && (cell.ct.t === "inlineStr" || ((_a = cell.ct.fa) === null || _a === void 0 ? void 0 : _a.includes("BTC")))) {
1553
+ if (cell.ct != null && (cell.ct.t === "inlineStr" || ((_a = cell.ct.fa) === null || _a === void 0 ? void 0 : _a.includes("BTC")) || ((_b = cell.ct.fa) === null || _b === void 0 ? void 0 : _b.includes("ETH")) || ((_c = cell.ct.fa) === null || _c === void 0 ? void 0 : _c.includes("SOL")))) {
1554
1554
  delete cell.ct;
1555
1555
  }
1556
1556
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fileverse-dev/fortune-core",
3
- "version": "1.0.50",
3
+ "version": "1.0.52",
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.37",
18
+ "@fileverse-dev/formula-parser": "0.2.38",
19
19
  "dayjs": "^1.11.0",
20
20
  "immer": "^9.0.12",
21
21
  "lodash": "^4.17.21",