@fileverse-dev/fortune-core 1.0.70 → 1.0.71
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 +2 -1
- package/lib/events/paste.js +2 -1
- package/package.json +2 -2
package/es/events/paste.js
CHANGED
|
@@ -855,7 +855,8 @@ 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
|
-
|
|
858
|
+
console.log("value", value);
|
|
859
|
+
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) {
|
|
859
860
|
value.m = "Loading...";
|
|
860
861
|
}
|
|
861
862
|
}
|
package/lib/events/paste.js
CHANGED
|
@@ -863,7 +863,8 @@ 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
|
-
|
|
866
|
+
console.log("value", value);
|
|
867
|
+
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) {
|
|
867
868
|
value.m = "Loading...";
|
|
868
869
|
}
|
|
869
870
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fileverse-dev/fortune-core",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.71",
|
|
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.
|
|
18
|
+
"@fileverse-dev/formula-parser": "0.2.48",
|
|
19
19
|
"dayjs": "^1.11.0",
|
|
20
20
|
"immer": "^9.0.12",
|
|
21
21
|
"lodash": "^4.17.21",
|