@fileverse-dev/fortune-core 1.0.2-mod-78 → 1.0.2-mod-80

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/dist/index.esm.js CHANGED
@@ -57013,7 +57013,7 @@ function filterAndPickOthers(allItems, nameArray) {
57013
57013
  var result = [].concat(matched, _toConsumableArray(others));
57014
57014
  return result;
57015
57015
  }
57016
- var PROMOTED_CRYPTO_FUNCTIONS = ["ETHERSCAN", "BLOCKSCOUT", "COINGECKO", "GNOSIS", "SAFE"];
57016
+ var PROMOTED_CRYPTO_FUNCTIONS = ["ETHERSCAN", "FIREFLY", "COINGECKO", "GNOSISPAY", "BLOCKSCOUT"];
57017
57017
  function rangeHightlightselected(ctx, $editor) {
57018
57018
  var currSelection = getrangeseleciton();
57019
57019
  if (!currSelection) return;
@@ -77191,6 +77191,9 @@ function fixPositionOnFrozenCells(freeze, x, y, mouseX, mouseY) {
77191
77191
  }
77192
77192
  function handleCellAreaMouseDown(ctx, globalCache, e, cellInput, container, fxInput, canvas) {
77193
77193
  var _globalCache$freezen, _ctx$hooks$beforeCell, _ctx$hooks, _flowdata$row_index;
77194
+ if (!(fxInput === null || fxInput === void 0 ? void 0 : fxInput.innerHTML) && ctx) {
77195
+ ctx.defaultCandidates = [];
77196
+ }
77194
77197
  ctx.contextMenu = {};
77195
77198
  ctx.filterContextMenu = undefined;
77196
77199
  var flowdata = getFlowdata(ctx);
package/dist/index.js CHANGED
@@ -57023,7 +57023,7 @@ function filterAndPickOthers(allItems, nameArray) {
57023
57023
  var result = [].concat(matched, _toConsumableArray(others));
57024
57024
  return result;
57025
57025
  }
57026
- var PROMOTED_CRYPTO_FUNCTIONS = ["ETHERSCAN", "BLOCKSCOUT", "COINGECKO", "GNOSIS", "SAFE"];
57026
+ var PROMOTED_CRYPTO_FUNCTIONS = ["ETHERSCAN", "FIREFLY", "COINGECKO", "GNOSISPAY", "BLOCKSCOUT"];
57027
57027
  function rangeHightlightselected(ctx, $editor) {
57028
57028
  var currSelection = getrangeseleciton();
57029
57029
  if (!currSelection) return;
@@ -77201,6 +77201,9 @@ function fixPositionOnFrozenCells(freeze, x, y, mouseX, mouseY) {
77201
77201
  }
77202
77202
  function handleCellAreaMouseDown(ctx, globalCache, e, cellInput, container, fxInput, canvas) {
77203
77203
  var _globalCache$freezen, _ctx$hooks$beforeCell, _ctx$hooks, _flowdata$row_index;
77204
+ if (!(fxInput === null || fxInput === void 0 ? void 0 : fxInput.innerHTML) && ctx) {
77205
+ ctx.defaultCandidates = [];
77206
+ }
77204
77207
  ctx.contextMenu = {};
77205
77208
  ctx.filterContextMenu = undefined;
77206
77209
  var flowdata = getFlowdata(ctx);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fileverse-dev/fortune-core",
3
- "version": "1.0.2-mod-78",
3
+ "version": "1.0.2-mod-80",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.esm.js",
6
6
  "typings": "dist/index.d.ts",
@@ -10,7 +10,7 @@
10
10
  "repository": "https://github.com/ruilisi/fortune-sheet",
11
11
  "license": "MIT",
12
12
  "dependencies": {
13
- "@fileverse-dev/formula-parser": "0.2.13-mod-17",
13
+ "@fileverse-dev/formula-parser": "0.2.13-mod-18",
14
14
  "dayjs": "^1.11.0",
15
15
  "immer": "^9.0.12",
16
16
  "lodash": "^4.17.21",