@handsontable/react-wrapper 0.0.0-next-1fcb3dc-20260525 → 0.0.0-next-e4d78fd-20260527

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/README.md CHANGED
@@ -56,9 +56,6 @@
56
56
  &nbsp;&nbsp;✅&nbsp; [Hiding columns](https://handsontable.com/docs/react-data-grid/column-hiding/) <br>
57
57
  &nbsp;&nbsp;✅&nbsp; [Right-click context menu](https://handsontable.com/docs/react-data-grid/context-menu/) <br>
58
58
  &nbsp;&nbsp;✅&nbsp; [Row pagination](https://handsontable.com/docs/react-data-grid/rows-pagination/) <br>
59
- &nbsp;&nbsp;✅&nbsp; [Server-side data](https://handsontable.com/docs/react-data-grid/server-side-data/) <br>
60
- &nbsp;&nbsp;✅&nbsp; [Notifications](https://handsontable.com/docs/react-data-grid/notification/) <br>
61
- &nbsp;&nbsp;✅&nbsp; [Export to Excel](https://handsontable.com/docs/react-data-grid/export-to-excel/) <br>
62
59
 
63
60
  <div id="installation">
64
61
 
@@ -686,11 +686,12 @@ function makeEditorClass(hooksRef, instanceRef) {
686
686
  args[_key] = arguments[_key];
687
687
  }
688
688
  if (!AbstractMethods.includes(propName)) {
689
- result = baseMethod.call.apply(baseMethod, [this].concat(args)); // call super
689
+ var _ref;
690
+ result = (_ref = baseMethod).call.apply(_ref, [this].concat(args)); // call super
690
691
  }
691
692
  if (MethodsMap[propName] && (_hooksRef$current = hooksRef.current) !== null && _hooksRef$current !== void 0 && _hooksRef$current[MethodsMap[propName]]) {
692
- var _ref;
693
- result = (_ref = hooksRef.current[MethodsMap[propName]]).call.apply(_ref, [this].concat(args));
693
+ var _ref2;
694
+ result = (_ref2 = hooksRef.current[MethodsMap[propName]]).call.apply(_ref2, [this].concat(args));
694
695
  }
695
696
  return result;
696
697
  }.bind(_this);
@@ -731,10 +732,10 @@ var EditorContext = /*#__PURE__*/React.createContext(undefined);
731
732
  * @param {Ref} hooksRef Reference for component-based editor overridden hooks object.
732
733
  * @param {RefObject} hotCustomEditorInstanceRef Reference to Handsontable-native editor instance.
733
734
  */
734
- var EditorContextProvider = function EditorContextProvider(_ref2) {
735
- var hooksRef = _ref2.hooksRef,
736
- hotCustomEditorInstanceRef = _ref2.hotCustomEditorInstanceRef,
737
- children = _ref2.children;
735
+ var EditorContextProvider = function EditorContextProvider(_ref3) {
736
+ var hooksRef = _ref3.hooksRef,
737
+ hotCustomEditorInstanceRef = _ref3.hotCustomEditorInstanceRef,
738
+ children = _ref3.children;
738
739
  return /*#__PURE__*/React__default["default"].createElement(EditorContext.Provider, {
739
740
  value: {
740
741
  hooksRef: hooksRef,
@@ -803,9 +804,9 @@ function applyEditorPosition(el, editor, hot, td) {
803
804
  * @returns {UseHotEditorImpl} Editor API methods
804
805
  */
805
806
  function useHotEditor(overriddenHooks, deps) {
806
- var _ref3 = React.useContext(EditorContext),
807
- hooksRef = _ref3.hooksRef,
808
- hotCustomEditorInstanceRef = _ref3.hotCustomEditorInstanceRef;
807
+ var _ref4 = React.useContext(EditorContext),
808
+ hooksRef = _ref4.hooksRef,
809
+ hotCustomEditorInstanceRef = _ref4.hotCustomEditorInstanceRef;
809
810
  var _useState = React.useState(0),
810
811
  _useState2 = _slicedToArray(_useState, 2),
811
812
  rerenderTrigger = _useState2[0],
@@ -849,11 +850,13 @@ function useHotEditor(overriddenHooks, deps) {
849
850
  },
850
851
  get row() {
851
852
  var _hotCustomEditorInsta6;
852
- return (_hotCustomEditorInsta6 = hotCustomEditorInstanceRef.current) === null || _hotCustomEditorInsta6 === void 0 ? void 0 : _hotCustomEditorInsta6.row;
853
+ var row = (_hotCustomEditorInsta6 = hotCustomEditorInstanceRef.current) === null || _hotCustomEditorInsta6 === void 0 ? void 0 : _hotCustomEditorInsta6.row;
854
+ return row !== null && row !== void 0 ? row : undefined;
853
855
  },
854
856
  get col() {
855
857
  var _hotCustomEditorInsta7;
856
- return (_hotCustomEditorInsta7 = hotCustomEditorInstanceRef.current) === null || _hotCustomEditorInsta7 === void 0 ? void 0 : _hotCustomEditorInsta7.col;
858
+ var col = (_hotCustomEditorInsta7 = hotCustomEditorInstanceRef.current) === null || _hotCustomEditorInsta7 === void 0 ? void 0 : _hotCustomEditorInsta7.col;
859
+ return col !== null && col !== void 0 ? col : undefined;
857
860
  }
858
861
  };
859
862
  }, [rerenderTrigger, hotCustomEditorInstanceRef, deferredValue]);
@@ -863,23 +866,23 @@ function useHotEditor(overriddenHooks, deps) {
863
866
 
864
867
  // EditorComponent props - children typed to work with JSX syntax
865
868
 
866
- function EditorComponent(_ref4) {
867
- var _onPrepare = _ref4.onPrepare,
868
- _onClose = _ref4.onClose,
869
- _onOpen = _ref4.onOpen,
870
- _onFocus = _ref4.onFocus,
871
- children = _ref4.children,
872
- _ref4$shortcutsGroup = _ref4.shortcutsGroup,
873
- shortcutsGroup = _ref4$shortcutsGroup === void 0 ? "custom-editor" : _ref4$shortcutsGroup,
874
- shortcuts = _ref4.shortcuts;
869
+ function EditorComponent(_ref5) {
870
+ var _onPrepare = _ref5.onPrepare,
871
+ _onClose = _ref5.onClose,
872
+ _onOpen = _ref5.onOpen,
873
+ _onFocus = _ref5.onFocus,
874
+ children = _ref5.children,
875
+ _ref5$shortcutsGroup = _ref5.shortcutsGroup,
876
+ shortcutsGroup = _ref5$shortcutsGroup === void 0 ? "custom-editor" : _ref5$shortcutsGroup,
877
+ shortcuts = _ref5.shortcuts;
875
878
  var mainElementRef = React.useRef(null);
876
879
  var currentValue = React.useRef(undefined);
877
880
  var _useState5 = React.useState(),
878
881
  _useState6 = _slicedToArray(_useState5, 2),
879
882
  themeClassName = _useState6[0],
880
883
  setThemeClassName = _useState6[1];
881
- var _ref5 = React.useContext(EditorContext),
882
- hotCustomEditorInstanceRef = _ref5.hotCustomEditorInstanceRef;
884
+ var _ref6 = React.useContext(EditorContext),
885
+ hotCustomEditorInstanceRef = _ref6.hotCustomEditorInstanceRef;
883
886
  var registerShortcuts = React.useCallback(function () {
884
887
  var _hotCustomEditorInsta8, _hotCustomEditorInsta9, _hotCustomEditorInsta0;
885
888
  if (!((_hotCustomEditorInsta8 = hotCustomEditorInstanceRef.current) !== null && _hotCustomEditorInsta8 !== void 0 && _hotCustomEditorInsta8.hot)) return;
@@ -1083,7 +1086,7 @@ var HotColumn = function HotColumn(props) {
1083
1086
  }, editorPortal);
1084
1087
  };
1085
1088
 
1086
- var version="0.0.0-next-1fcb3dc-20260525";
1089
+ var version="0.0.0-next-e4d78fd-20260527";
1087
1090
 
1088
1091
  /**
1089
1092
  * Component used to manage the renderer component portals.
@@ -25,7 +25,7 @@
25
25
  * INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER ARISING FROM
26
26
  * USE OR INABILITY TO USE THIS SOFTWARE.
27
27
  *
28
- * Version: 0.0.0-next-1fcb3dc-20260525 (built at Mon May 25 2026 09:39:24 GMT+0000 (Coordinated Universal Time))
28
+ * Version: 0.0.0-next-e4d78fd-20260527 (built at Wed May 27 2026 06:55:45 GMT+0000 (Coordinated Universal Time))
29
29
  */
30
30
  (function (global, factory) {
31
31
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react'), require('react-dom'), require('handsontable/base'), require('handsontable/renderers/registry'), require('handsontable/editors/registry')) :
@@ -711,11 +711,12 @@ function makeEditorClass(hooksRef, instanceRef) {
711
711
  args[_key] = arguments[_key];
712
712
  }
713
713
  if (!AbstractMethods.includes(propName)) {
714
- result = baseMethod.call.apply(baseMethod, [this].concat(args)); // call super
714
+ var _ref;
715
+ result = (_ref = baseMethod).call.apply(_ref, [this].concat(args)); // call super
715
716
  }
716
717
  if (MethodsMap[propName] && (_hooksRef$current = hooksRef.current) !== null && _hooksRef$current !== void 0 && _hooksRef$current[MethodsMap[propName]]) {
717
- var _ref;
718
- result = (_ref = hooksRef.current[MethodsMap[propName]]).call.apply(_ref, [this].concat(args));
718
+ var _ref2;
719
+ result = (_ref2 = hooksRef.current[MethodsMap[propName]]).call.apply(_ref2, [this].concat(args));
719
720
  }
720
721
  return result;
721
722
  }.bind(_this);
@@ -756,10 +757,10 @@ var EditorContext = /*#__PURE__*/React.createContext(undefined);
756
757
  * @param {Ref} hooksRef Reference for component-based editor overridden hooks object.
757
758
  * @param {RefObject} hotCustomEditorInstanceRef Reference to Handsontable-native editor instance.
758
759
  */
759
- var EditorContextProvider = function EditorContextProvider(_ref2) {
760
- var hooksRef = _ref2.hooksRef,
761
- hotCustomEditorInstanceRef = _ref2.hotCustomEditorInstanceRef,
762
- children = _ref2.children;
760
+ var EditorContextProvider = function EditorContextProvider(_ref3) {
761
+ var hooksRef = _ref3.hooksRef,
762
+ hotCustomEditorInstanceRef = _ref3.hotCustomEditorInstanceRef,
763
+ children = _ref3.children;
763
764
  return /*#__PURE__*/React__default["default"].createElement(EditorContext.Provider, {
764
765
  value: {
765
766
  hooksRef: hooksRef,
@@ -828,9 +829,9 @@ function applyEditorPosition(el, editor, hot, td) {
828
829
  * @returns {UseHotEditorImpl} Editor API methods
829
830
  */
830
831
  function useHotEditor(overriddenHooks, deps) {
831
- var _ref3 = React.useContext(EditorContext),
832
- hooksRef = _ref3.hooksRef,
833
- hotCustomEditorInstanceRef = _ref3.hotCustomEditorInstanceRef;
832
+ var _ref4 = React.useContext(EditorContext),
833
+ hooksRef = _ref4.hooksRef,
834
+ hotCustomEditorInstanceRef = _ref4.hotCustomEditorInstanceRef;
834
835
  var _useState = React.useState(0),
835
836
  _useState2 = _slicedToArray(_useState, 2),
836
837
  rerenderTrigger = _useState2[0],
@@ -874,11 +875,13 @@ function useHotEditor(overriddenHooks, deps) {
874
875
  },
875
876
  get row() {
876
877
  var _hotCustomEditorInsta6;
877
- return (_hotCustomEditorInsta6 = hotCustomEditorInstanceRef.current) === null || _hotCustomEditorInsta6 === void 0 ? void 0 : _hotCustomEditorInsta6.row;
878
+ var row = (_hotCustomEditorInsta6 = hotCustomEditorInstanceRef.current) === null || _hotCustomEditorInsta6 === void 0 ? void 0 : _hotCustomEditorInsta6.row;
879
+ return row !== null && row !== void 0 ? row : undefined;
878
880
  },
879
881
  get col() {
880
882
  var _hotCustomEditorInsta7;
881
- return (_hotCustomEditorInsta7 = hotCustomEditorInstanceRef.current) === null || _hotCustomEditorInsta7 === void 0 ? void 0 : _hotCustomEditorInsta7.col;
883
+ var col = (_hotCustomEditorInsta7 = hotCustomEditorInstanceRef.current) === null || _hotCustomEditorInsta7 === void 0 ? void 0 : _hotCustomEditorInsta7.col;
884
+ return col !== null && col !== void 0 ? col : undefined;
882
885
  }
883
886
  };
884
887
  }, [rerenderTrigger, hotCustomEditorInstanceRef, deferredValue]);
@@ -888,23 +891,23 @@ function useHotEditor(overriddenHooks, deps) {
888
891
 
889
892
  // EditorComponent props - children typed to work with JSX syntax
890
893
 
891
- function EditorComponent(_ref4) {
892
- var _onPrepare = _ref4.onPrepare,
893
- _onClose = _ref4.onClose,
894
- _onOpen = _ref4.onOpen,
895
- _onFocus = _ref4.onFocus,
896
- children = _ref4.children,
897
- _ref4$shortcutsGroup = _ref4.shortcutsGroup,
898
- shortcutsGroup = _ref4$shortcutsGroup === void 0 ? "custom-editor" : _ref4$shortcutsGroup,
899
- shortcuts = _ref4.shortcuts;
894
+ function EditorComponent(_ref5) {
895
+ var _onPrepare = _ref5.onPrepare,
896
+ _onClose = _ref5.onClose,
897
+ _onOpen = _ref5.onOpen,
898
+ _onFocus = _ref5.onFocus,
899
+ children = _ref5.children,
900
+ _ref5$shortcutsGroup = _ref5.shortcutsGroup,
901
+ shortcutsGroup = _ref5$shortcutsGroup === void 0 ? "custom-editor" : _ref5$shortcutsGroup,
902
+ shortcuts = _ref5.shortcuts;
900
903
  var mainElementRef = React.useRef(null);
901
904
  var currentValue = React.useRef(undefined);
902
905
  var _useState5 = React.useState(),
903
906
  _useState6 = _slicedToArray(_useState5, 2),
904
907
  themeClassName = _useState6[0],
905
908
  setThemeClassName = _useState6[1];
906
- var _ref5 = React.useContext(EditorContext),
907
- hotCustomEditorInstanceRef = _ref5.hotCustomEditorInstanceRef;
909
+ var _ref6 = React.useContext(EditorContext),
910
+ hotCustomEditorInstanceRef = _ref6.hotCustomEditorInstanceRef;
908
911
  var registerShortcuts = React.useCallback(function () {
909
912
  var _hotCustomEditorInsta8, _hotCustomEditorInsta9, _hotCustomEditorInsta0;
910
913
  if (!((_hotCustomEditorInsta8 = hotCustomEditorInstanceRef.current) !== null && _hotCustomEditorInsta8 !== void 0 && _hotCustomEditorInsta8.hot)) return;
@@ -1108,7 +1111,7 @@ var HotColumn = function HotColumn(props) {
1108
1111
  }, editorPortal);
1109
1112
  };
1110
1113
 
1111
- var version="0.0.0-next-1fcb3dc-20260525";
1114
+ var version="0.0.0-next-e4d78fd-20260527";
1112
1115
 
1113
1116
  /**
1114
1117
  * Component used to manage the renderer component portals.