@fileverse-dev/fortune-core 1.2.56-patch-7 → 1.2.56-patch-9

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.
@@ -1997,9 +1997,10 @@ export function updateDropCell(ctx) {
1997
1997
  var v = formula.execfunction(ctx, f, i, j);
1998
1998
  formula.execFunctionGroup(ctx, j, i, v[1], undefined, d);
1999
1999
  cell.v = v[1], cell.f = v[2];
2000
+ console.log(j, i);
2000
2001
  var afterUpdateCell = ctx.hooks.afterUpdateCell;
2001
2002
  if (afterUpdateCell) {
2002
- afterUpdateCell(j, i, null, __assign(__assign({}, cell), {
2003
+ afterUpdateCell(i, j, null, __assign(__assign({}, cell), {
2003
2004
  v: v[1] instanceof Promise ? v[1] : cell.v,
2004
2005
  m: v[1] instanceof Promise ? "[object Promise]" : v[1]
2005
2006
  }));
@@ -2318,7 +2318,6 @@ export function functionCopy(ctx, txt, mode, step) {
2318
2318
  dquote: 0
2319
2319
  };
2320
2320
  while (i < funcstack.length) {
2321
- console.log(funcstack);
2322
2321
  var s = funcstack[i];
2323
2322
  if (s === "(" && matchConfig.dquote === 0) {
2324
2323
  matchConfig.bracket += 1;
@@ -2013,9 +2013,10 @@ function updateDropCell(ctx) {
2013
2013
  var v = formula.execfunction(ctx, f, i, j);
2014
2014
  formula.execFunctionGroup(ctx, j, i, v[1], undefined, d);
2015
2015
  cell.v = v[1], cell.f = v[2];
2016
+ console.log(j, i);
2016
2017
  var afterUpdateCell = ctx.hooks.afterUpdateCell;
2017
2018
  if (afterUpdateCell) {
2018
- afterUpdateCell(j, i, null, __assign(__assign({}, cell), {
2019
+ afterUpdateCell(i, j, null, __assign(__assign({}, cell), {
2019
2020
  v: v[1] instanceof Promise ? v[1] : cell.v,
2020
2021
  m: v[1] instanceof Promise ? "[object Promise]" : v[1]
2021
2022
  }));
@@ -2348,7 +2348,6 @@ function functionCopy(ctx, txt, mode, step) {
2348
2348
  dquote: 0
2349
2349
  };
2350
2350
  while (i < funcstack.length) {
2351
- console.log(funcstack);
2352
2351
  var s = funcstack[i];
2353
2352
  if (s === "(" && matchConfig.dquote === 0) {
2354
2353
  matchConfig.bracket += 1;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fileverse-dev/fortune-core",
3
- "version": "1.2.56-patch-7",
3
+ "version": "1.2.56-patch-9",
4
4
  "main": "lib/index.js",
5
5
  "module": "es/index.js",
6
6
  "typings": "lib/index.d.ts",