@leankylin-sheet/react 4.0.4 → 4.0.6
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.esm.js +1 -1
- package/dist/index.js +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.min.js +1 -1
- package/package.json +3 -3
package/dist/index.esm.js
CHANGED
|
@@ -9848,7 +9848,7 @@ var SheetTabContextMenu = function SheetTabContextMenu() {
|
|
|
9848
9848
|
if (context.allowEdit === false) return;
|
|
9849
9849
|
if (!(sheet === null || sheet === void 0 ? void 0 : sheet.id)) return;
|
|
9850
9850
|
setContext(function (ctx) {
|
|
9851
|
-
api.copySheet(ctx, sheet.id);
|
|
9851
|
+
api.copySheet(ctx, sheet.id, settings.hooks);
|
|
9852
9852
|
}, {
|
|
9853
9853
|
addSheetOp: true
|
|
9854
9854
|
});
|
package/dist/index.js
CHANGED
|
@@ -9858,7 +9858,7 @@ var SheetTabContextMenu = function SheetTabContextMenu() {
|
|
|
9858
9858
|
if (context.allowEdit === false) return;
|
|
9859
9859
|
if (!(sheet === null || sheet === void 0 ? void 0 : sheet.id)) return;
|
|
9860
9860
|
setContext(function (ctx) {
|
|
9861
|
-
core.api.copySheet(ctx, sheet.id);
|
|
9861
|
+
core.api.copySheet(ctx, sheet.id, settings.hooks);
|
|
9862
9862
|
}, {
|
|
9863
9863
|
addSheetOp: true
|
|
9864
9864
|
});
|
package/dist/index.umd.js
CHANGED
|
@@ -103196,7 +103196,7 @@
|
|
|
103196
103196
|
if (context.allowEdit === false) return;
|
|
103197
103197
|
if (!(sheet === null || sheet === void 0 ? void 0 : sheet.id)) return;
|
|
103198
103198
|
setContext(function (ctx) {
|
|
103199
|
-
index.copySheet(ctx, sheet.id);
|
|
103199
|
+
index.copySheet(ctx, sheet.id, settings.hooks);
|
|
103200
103200
|
}, {
|
|
103201
103201
|
addSheetOp: true
|
|
103202
103202
|
});
|