@fileverse-dev/fortune-core 1.0.71 → 1.0.72
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/events/paste.js +0 -2
- package/lib/events/paste.js +0 -2
- package/package.json +1 -1
package/es/events/paste.js
CHANGED
|
@@ -855,7 +855,6 @@ function pasteHandlerOfCopyPaste(ctx, copyRange) {
|
|
|
855
855
|
var value = null;
|
|
856
856
|
if ((_f = copyData[h - mth]) === null || _f === void 0 ? void 0 : _f[c - mtc]) {
|
|
857
857
|
value = _.cloneDeep(copyData[h - mth][c - mtc]);
|
|
858
|
-
console.log("value", value);
|
|
859
858
|
if ((value === null || value === void 0 ? void 0 : value.v) && (value === null || value === void 0 ? void 0 : value.f) && (value === null || value === void 0 ? void 0 : value.isDataBlockFormula) && arr.length === 1) {
|
|
860
859
|
value.m = "Loading...";
|
|
861
860
|
}
|
|
@@ -876,7 +875,6 @@ function pasteHandlerOfCopyPaste(ctx, copyRange) {
|
|
|
876
875
|
}
|
|
877
876
|
var funcV = execfunction(ctx, func, h, c, undefined, undefined, true);
|
|
878
877
|
var afterUpdateCell = ctx.hooks.afterUpdateCell;
|
|
879
|
-
console.log("fortune about to call afterUpdateCell");
|
|
880
878
|
if (afterUpdateCell && arr.length === 1) {
|
|
881
879
|
afterUpdateCell(h, c, null, __assign(__assign({}, value), {
|
|
882
880
|
v: funcV[1],
|
package/lib/events/paste.js
CHANGED
|
@@ -863,7 +863,6 @@ function pasteHandlerOfCopyPaste(ctx, copyRange) {
|
|
|
863
863
|
var value = null;
|
|
864
864
|
if ((_f = copyData[h - mth]) === null || _f === void 0 ? void 0 : _f[c - mtc]) {
|
|
865
865
|
value = _lodash.default.cloneDeep(copyData[h - mth][c - mtc]);
|
|
866
|
-
console.log("value", value);
|
|
867
866
|
if ((value === null || value === void 0 ? void 0 : value.v) && (value === null || value === void 0 ? void 0 : value.f) && (value === null || value === void 0 ? void 0 : value.isDataBlockFormula) && arr.length === 1) {
|
|
868
867
|
value.m = "Loading...";
|
|
869
868
|
}
|
|
@@ -884,7 +883,6 @@ function pasteHandlerOfCopyPaste(ctx, copyRange) {
|
|
|
884
883
|
}
|
|
885
884
|
var funcV = (0, _formula.execfunction)(ctx, func, h, c, undefined, undefined, true);
|
|
886
885
|
var afterUpdateCell = ctx.hooks.afterUpdateCell;
|
|
887
|
-
console.log("fortune about to call afterUpdateCell");
|
|
888
886
|
if (afterUpdateCell && arr.length === 1) {
|
|
889
887
|
afterUpdateCell(h, c, null, __assign(__assign({}, value), {
|
|
890
888
|
v: funcV[1],
|