@fileverse-dev/fortune-core 1.1.10-live-query-v7 → 1.1.10-live-query-v8
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 +3 -0
- package/es/modules/selection.js +3 -0
- package/lib/events/paste.js +3 -0
- package/lib/modules/selection.js +3 -0
- package/package.json +1 -1
package/es/events/paste.js
CHANGED
|
@@ -172,6 +172,9 @@ function pasteHandler(ctx, data, borderInfo) {
|
|
|
172
172
|
if (data[h - minh] != null && data[h - minh][c - minc] != null) {
|
|
173
173
|
value = data[h - minh][c - minc];
|
|
174
174
|
}
|
|
175
|
+
console.log({
|
|
176
|
+
value: value
|
|
177
|
+
});
|
|
175
178
|
x[c] = value;
|
|
176
179
|
if (value != null && ((_e = x === null || x === void 0 ? void 0 : x[c]) === null || _e === void 0 ? void 0 : _e.mc)) {
|
|
177
180
|
if (x[c].mc.rs != null) {
|
package/es/modules/selection.js
CHANGED
|
@@ -1464,6 +1464,9 @@ export function copy(ctx) {
|
|
|
1464
1464
|
continue;
|
|
1465
1465
|
}
|
|
1466
1466
|
var cell = (_c = flowdata === null || flowdata === void 0 ? void 0 : flowdata[copyR]) === null || _c === void 0 ? void 0 : _c[copyC];
|
|
1467
|
+
console.log("COPIED CELL", {
|
|
1468
|
+
cell: cell
|
|
1469
|
+
});
|
|
1467
1470
|
if (!_.isNil((_d = cell === null || cell === void 0 ? void 0 : cell.mc) === null || _d === void 0 ? void 0 : _d.rs)) {
|
|
1468
1471
|
HasMC = true;
|
|
1469
1472
|
}
|
package/lib/events/paste.js
CHANGED
|
@@ -181,6 +181,9 @@ function pasteHandler(ctx, data, borderInfo) {
|
|
|
181
181
|
if (data[h - minh] != null && data[h - minh][c - minc] != null) {
|
|
182
182
|
value = data[h - minh][c - minc];
|
|
183
183
|
}
|
|
184
|
+
console.log({
|
|
185
|
+
value: value
|
|
186
|
+
});
|
|
184
187
|
x[c] = value;
|
|
185
188
|
if (value != null && ((_e = x === null || x === void 0 ? void 0 : x[c]) === null || _e === void 0 ? void 0 : _e.mc)) {
|
|
186
189
|
if (x[c].mc.rs != null) {
|
package/lib/modules/selection.js
CHANGED
|
@@ -1499,6 +1499,9 @@ function copy(ctx) {
|
|
|
1499
1499
|
continue;
|
|
1500
1500
|
}
|
|
1501
1501
|
var cell = (_c = flowdata === null || flowdata === void 0 ? void 0 : flowdata[copyR]) === null || _c === void 0 ? void 0 : _c[copyC];
|
|
1502
|
+
console.log("COPIED CELL", {
|
|
1503
|
+
cell: cell
|
|
1504
|
+
});
|
|
1502
1505
|
if (!_lodash.default.isNil((_d = cell === null || cell === void 0 ? void 0 : cell.mc) === null || _d === void 0 ? void 0 : _d.rs)) {
|
|
1503
1506
|
HasMC = true;
|
|
1504
1507
|
}
|