@fileverse-dev/fortune-core 1.2.12 → 1.2.14
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 +4 -0
- package/lib/events/paste.js +4 -0
- package/package.json +2 -2
package/es/events/paste.js
CHANGED
|
@@ -111,6 +111,10 @@ function postPasteCut(ctx, source, target, RowlChange) {
|
|
|
111
111
|
function pasteHandler(ctx, data, borderInfo) {
|
|
112
112
|
var _a;
|
|
113
113
|
var _b, _c, _d, _e, _f, _g;
|
|
114
|
+
console.log("pasteHandler");
|
|
115
|
+
if (ctx.luckysheet_selection_range) {
|
|
116
|
+
ctx.luckysheet_selection_range = [];
|
|
117
|
+
}
|
|
114
118
|
var allowEdit = isAllowEdit(ctx);
|
|
115
119
|
if (!allowEdit || ctx.isFlvReadOnly) return;
|
|
116
120
|
if (((_c = (_b = ctx.luckysheet_select_save) === null || _b === void 0 ? void 0 : _b.length) !== null && _c !== void 0 ? _c : 0) !== 1) {
|
package/lib/events/paste.js
CHANGED
|
@@ -120,6 +120,10 @@ function postPasteCut(ctx, source, target, RowlChange) {
|
|
|
120
120
|
function pasteHandler(ctx, data, borderInfo) {
|
|
121
121
|
var _a;
|
|
122
122
|
var _b, _c, _d, _e, _f, _g;
|
|
123
|
+
console.log("pasteHandler");
|
|
124
|
+
if (ctx.luckysheet_selection_range) {
|
|
125
|
+
ctx.luckysheet_selection_range = [];
|
|
126
|
+
}
|
|
123
127
|
var allowEdit = (0, _utils.isAllowEdit)(ctx);
|
|
124
128
|
if (!allowEdit || ctx.isFlvReadOnly) return;
|
|
125
129
|
if (((_c = (_b = ctx.luckysheet_select_save) === null || _b === void 0 ? void 0 : _b.length) !== null && _c !== void 0 ? _c : 0) !== 1) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fileverse-dev/fortune-core",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.14",
|
|
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.76",
|
|
19
19
|
"dayjs": "^1.11.0",
|
|
20
20
|
"immer": "^9.0.12",
|
|
21
21
|
"lodash": "^4.17.21",
|