@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.
package/es/modules/dropCell.js
CHANGED
|
@@ -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(
|
|
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
|
}));
|
package/es/modules/formula.js
CHANGED
|
@@ -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;
|
package/lib/modules/dropCell.js
CHANGED
|
@@ -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(
|
|
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
|
}));
|
package/lib/modules/formula.js
CHANGED