@gridsheet/react-core 2.0.0-rc.3 → 2.0.0-rc.4
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/dist/index.js +3 -4
- package/dist/index.js.map +1 -1
- package/dist/lib/hub.d.ts +14 -4
- package/dist/lib/hub.d.ts.map +1 -1
- package/dist/lib/table.d.ts +0 -1
- package/dist/lib/table.d.ts.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -4334,11 +4334,11 @@ const Editor = ({ mode }) => {
|
|
|
4334
4334
|
var _a2, _b2;
|
|
4335
4335
|
setShiftKey(false);
|
|
4336
4336
|
const selectingArea = zoneToArea(store.selectingZone);
|
|
4337
|
-
(_b2 = (_a2 = table.wire).onKeyUp) == null ? void 0 : _b2.call(_a2, e, {
|
|
4337
|
+
(_b2 = (_a2 = table.wire).onKeyUp) == null ? void 0 : _b2.call(_a2, { e, points: {
|
|
4338
4338
|
pointing: choosing,
|
|
4339
4339
|
selectingFrom: { y: selectingArea.top, x: selectingArea.left },
|
|
4340
4340
|
selectingTo: { y: selectingArea.bottom, x: selectingArea.right }
|
|
4341
|
-
});
|
|
4341
|
+
} });
|
|
4342
4342
|
},
|
|
4343
4343
|
[store.selectingZone, choosing]
|
|
4344
4344
|
);
|
|
@@ -7797,7 +7797,6 @@ class Table {
|
|
|
7797
7797
|
}
|
|
7798
7798
|
getTableBySheetName(sheetName) {
|
|
7799
7799
|
const sheetId = this.wire.sheetIdsByName[sheetName];
|
|
7800
|
-
console.log("sheetId", sheetId);
|
|
7801
7800
|
return this.getTableBySheetId(sheetId);
|
|
7802
7801
|
}
|
|
7803
7802
|
getTableBySheetId(sheetId) {
|
|
@@ -10775,7 +10774,7 @@ function GridSheet({
|
|
|
10775
10774
|
table.sheetId = sheetId;
|
|
10776
10775
|
wire.sheetIdsByName[sheetName] = sheetId;
|
|
10777
10776
|
table.initialize(initialCells);
|
|
10778
|
-
(_a = wire.onInit) == null ? void 0 : _a.call(wire, table);
|
|
10777
|
+
(_a = wire.onInit) == null ? void 0 : _a.call(wire, { table });
|
|
10779
10778
|
tableReactive.current = table;
|
|
10780
10779
|
const store2 = {
|
|
10781
10780
|
sheetId,
|