@leankylin-sheet/react 4.0.3 → 4.0.5

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 CHANGED
@@ -723,11 +723,6 @@ var ContentEditable = function ContentEditable(_ref) {
723
723
  var _settings$onClickCont;
724
724
  e.stopPropagation();
725
725
  (_settings$onClickCont = settings.onClickContentEditable) === null || _settings$onClickCont === void 0 ? void 0 : _settings$onClickCont.call(settings, e);
726
- },
727
- onMouseEnter: function onMouseEnter(e) {
728
- var _settings$onClickCont2;
729
- e.stopPropagation();
730
- (_settings$onClickCont2 = settings.onClickContentEditable) === null || _settings$onClickCont2 === void 0 ? void 0 : _settings$onClickCont2.call(settings, e);
731
726
  }
732
727
  }, _.omit(props, "innerRef", "onChange", "html", "onBlur", "autoFocus", "allowEdit", "initialContent")), {}, {
733
728
  ref: function ref(e) {
@@ -9853,7 +9848,7 @@ var SheetTabContextMenu = function SheetTabContextMenu() {
9853
9848
  if (context.allowEdit === false) return;
9854
9849
  if (!(sheet === null || sheet === void 0 ? void 0 : sheet.id)) return;
9855
9850
  setContext(function (ctx) {
9856
- api.copySheet(ctx, sheet.id);
9851
+ api.copySheet(ctx, sheet.id, settings.hooks);
9857
9852
  }, {
9858
9853
  addSheetOp: true
9859
9854
  });
package/dist/index.js CHANGED
@@ -733,11 +733,6 @@ var ContentEditable = function ContentEditable(_ref) {
733
733
  var _settings$onClickCont;
734
734
  e.stopPropagation();
735
735
  (_settings$onClickCont = settings.onClickContentEditable) === null || _settings$onClickCont === void 0 ? void 0 : _settings$onClickCont.call(settings, e);
736
- },
737
- onMouseEnter: function onMouseEnter(e) {
738
- var _settings$onClickCont2;
739
- e.stopPropagation();
740
- (_settings$onClickCont2 = settings.onClickContentEditable) === null || _settings$onClickCont2 === void 0 ? void 0 : _settings$onClickCont2.call(settings, e);
741
736
  }
742
737
  }, ___default['default'].omit(props, "innerRef", "onChange", "html", "onBlur", "autoFocus", "allowEdit", "initialContent")), {}, {
743
738
  ref: function ref(e) {
@@ -9863,7 +9858,7 @@ var SheetTabContextMenu = function SheetTabContextMenu() {
9863
9858
  if (context.allowEdit === false) return;
9864
9859
  if (!(sheet === null || sheet === void 0 ? void 0 : sheet.id)) return;
9865
9860
  setContext(function (ctx) {
9866
- core.api.copySheet(ctx, sheet.id);
9861
+ core.api.copySheet(ctx, sheet.id, settings.hooks);
9867
9862
  }, {
9868
9863
  addSheetOp: true
9869
9864
  });
package/dist/index.umd.js CHANGED
@@ -94071,11 +94071,6 @@
94071
94071
  var _settings$onClickCont;
94072
94072
  e.stopPropagation();
94073
94073
  (_settings$onClickCont = settings.onClickContentEditable) === null || _settings$onClickCont === void 0 ? void 0 : _settings$onClickCont.call(settings, e);
94074
- },
94075
- onMouseEnter: function onMouseEnter(e) {
94076
- var _settings$onClickCont2;
94077
- e.stopPropagation();
94078
- (_settings$onClickCont2 = settings.onClickContentEditable) === null || _settings$onClickCont2 === void 0 ? void 0 : _settings$onClickCont2.call(settings, e);
94079
94074
  }
94080
94075
  }, lodash.omit(props, "innerRef", "onChange", "html", "onBlur", "autoFocus", "allowEdit", "initialContent")), {}, {
94081
94076
  ref: function ref(e) {
@@ -103201,7 +103196,7 @@
103201
103196
  if (context.allowEdit === false) return;
103202
103197
  if (!(sheet === null || sheet === void 0 ? void 0 : sheet.id)) return;
103203
103198
  setContext(function (ctx) {
103204
- index.copySheet(ctx, sheet.id);
103199
+ index.copySheet(ctx, sheet.id, settings.hooks);
103205
103200
  }, {
103206
103201
  addSheetOp: true
103207
103202
  });