@handsontable/react-wrapper 0.0.0-next-8e54292-20260513 → 0.0.0-next-eafc486-20260513

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,6 +56,9 @@
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>
59
62
 
60
63
  <div id="installation">
61
64
 
@@ -682,12 +682,11 @@ function makeEditorClass(hooksRef, instanceRef) {
682
682
  args[_key] = arguments[_key];
683
683
  }
684
684
  if (!AbstractMethods.includes(propName)) {
685
- var _ref;
686
- result = (_ref = baseMethod).call.apply(_ref, [this].concat(args)); // call super
685
+ result = baseMethod.call.apply(baseMethod, [this].concat(args)); // call super
687
686
  }
688
687
  if (MethodsMap[propName] && (_hooksRef$current = hooksRef.current) !== null && _hooksRef$current !== void 0 && _hooksRef$current[MethodsMap[propName]]) {
689
- var _ref2;
690
- result = (_ref2 = hooksRef.current[MethodsMap[propName]]).call.apply(_ref2, [this].concat(args));
688
+ var _ref;
689
+ result = (_ref = hooksRef.current[MethodsMap[propName]]).call.apply(_ref, [this].concat(args));
691
690
  }
692
691
  return result;
693
692
  }.bind(_this);
@@ -728,10 +727,10 @@ var EditorContext = /*#__PURE__*/React.createContext(undefined);
728
727
  * @param {Ref} hooksRef Reference for component-based editor overridden hooks object.
729
728
  * @param {RefObject} hotCustomEditorInstanceRef Reference to Handsontable-native editor instance.
730
729
  */
731
- var EditorContextProvider = function EditorContextProvider(_ref3) {
732
- var hooksRef = _ref3.hooksRef,
733
- hotCustomEditorInstanceRef = _ref3.hotCustomEditorInstanceRef,
734
- children = _ref3.children;
730
+ var EditorContextProvider = function EditorContextProvider(_ref2) {
731
+ var hooksRef = _ref2.hooksRef,
732
+ hotCustomEditorInstanceRef = _ref2.hotCustomEditorInstanceRef,
733
+ children = _ref2.children;
735
734
  return /*#__PURE__*/React__default["default"].createElement(EditorContext.Provider, {
736
735
  value: {
737
736
  hooksRef: hooksRef,
@@ -800,9 +799,9 @@ function applyEditorPosition(el, editor, hot, td) {
800
799
  * @returns {UseHotEditorImpl} Editor API methods
801
800
  */
802
801
  function useHotEditor(overriddenHooks, deps) {
803
- var _ref4 = React.useContext(EditorContext),
804
- hooksRef = _ref4.hooksRef,
805
- hotCustomEditorInstanceRef = _ref4.hotCustomEditorInstanceRef;
802
+ var _ref3 = React.useContext(EditorContext),
803
+ hooksRef = _ref3.hooksRef,
804
+ hotCustomEditorInstanceRef = _ref3.hotCustomEditorInstanceRef;
806
805
  var _useState = React.useState(0),
807
806
  _useState2 = _slicedToArray(_useState, 2),
808
807
  rerenderTrigger = _useState2[0],
@@ -846,13 +845,11 @@ function useHotEditor(overriddenHooks, deps) {
846
845
  },
847
846
  get row() {
848
847
  var _hotCustomEditorInsta6;
849
- var row = (_hotCustomEditorInsta6 = hotCustomEditorInstanceRef.current) === null || _hotCustomEditorInsta6 === void 0 ? void 0 : _hotCustomEditorInsta6.row;
850
- return row !== null && row !== void 0 ? row : undefined;
848
+ return (_hotCustomEditorInsta6 = hotCustomEditorInstanceRef.current) === null || _hotCustomEditorInsta6 === void 0 ? void 0 : _hotCustomEditorInsta6.row;
851
849
  },
852
850
  get col() {
853
851
  var _hotCustomEditorInsta7;
854
- var col = (_hotCustomEditorInsta7 = hotCustomEditorInstanceRef.current) === null || _hotCustomEditorInsta7 === void 0 ? void 0 : _hotCustomEditorInsta7.col;
855
- return col !== null && col !== void 0 ? col : undefined;
852
+ return (_hotCustomEditorInsta7 = hotCustomEditorInstanceRef.current) === null || _hotCustomEditorInsta7 === void 0 ? void 0 : _hotCustomEditorInsta7.col;
856
853
  }
857
854
  };
858
855
  }, [rerenderTrigger, hotCustomEditorInstanceRef, deferredValue]);
@@ -862,23 +859,23 @@ function useHotEditor(overriddenHooks, deps) {
862
859
 
863
860
  // EditorComponent props - children typed to work with JSX syntax
864
861
 
865
- function EditorComponent(_ref5) {
866
- var _onPrepare = _ref5.onPrepare,
867
- _onClose = _ref5.onClose,
868
- _onOpen = _ref5.onOpen,
869
- _onFocus = _ref5.onFocus,
870
- children = _ref5.children,
871
- _ref5$shortcutsGroup = _ref5.shortcutsGroup,
872
- shortcutsGroup = _ref5$shortcutsGroup === void 0 ? "custom-editor" : _ref5$shortcutsGroup,
873
- shortcuts = _ref5.shortcuts;
862
+ function EditorComponent(_ref4) {
863
+ var _onPrepare = _ref4.onPrepare,
864
+ _onClose = _ref4.onClose,
865
+ _onOpen = _ref4.onOpen,
866
+ _onFocus = _ref4.onFocus,
867
+ children = _ref4.children,
868
+ _ref4$shortcutsGroup = _ref4.shortcutsGroup,
869
+ shortcutsGroup = _ref4$shortcutsGroup === void 0 ? "custom-editor" : _ref4$shortcutsGroup,
870
+ shortcuts = _ref4.shortcuts;
874
871
  var mainElementRef = React.useRef(null);
875
872
  var currentValue = React.useRef(undefined);
876
873
  var _useState5 = React.useState(),
877
874
  _useState6 = _slicedToArray(_useState5, 2),
878
875
  themeClassName = _useState6[0],
879
876
  setThemeClassName = _useState6[1];
880
- var _ref6 = React.useContext(EditorContext),
881
- hotCustomEditorInstanceRef = _ref6.hotCustomEditorInstanceRef;
877
+ var _ref5 = React.useContext(EditorContext),
878
+ hotCustomEditorInstanceRef = _ref5.hotCustomEditorInstanceRef;
882
879
  var registerShortcuts = React.useCallback(function () {
883
880
  var _hotCustomEditorInsta8, _hotCustomEditorInsta9, _hotCustomEditorInsta0;
884
881
  if (!((_hotCustomEditorInsta8 = hotCustomEditorInstanceRef.current) !== null && _hotCustomEditorInsta8 !== void 0 && _hotCustomEditorInsta8.hot)) return;
@@ -1082,7 +1079,7 @@ var HotColumn = function HotColumn(props) {
1082
1079
  }, editorPortal);
1083
1080
  };
1084
1081
 
1085
- var version="0.0.0-next-8e54292-20260513";
1082
+ var version="0.0.0-next-eafc486-20260513";
1086
1083
 
1087
1084
  /**
1088
1085
  * 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-8e54292-20260513 (built at Wed May 13 2026 10:14:31 GMT+0000 (Coordinated Universal Time))
28
+ * Version: 0.0.0-next-eafc486-20260513 (built at Wed May 13 2026 10:55:04 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')) :
@@ -707,12 +707,11 @@ function makeEditorClass(hooksRef, instanceRef) {
707
707
  args[_key] = arguments[_key];
708
708
  }
709
709
  if (!AbstractMethods.includes(propName)) {
710
- var _ref;
711
- result = (_ref = baseMethod).call.apply(_ref, [this].concat(args)); // call super
710
+ result = baseMethod.call.apply(baseMethod, [this].concat(args)); // call super
712
711
  }
713
712
  if (MethodsMap[propName] && (_hooksRef$current = hooksRef.current) !== null && _hooksRef$current !== void 0 && _hooksRef$current[MethodsMap[propName]]) {
714
- var _ref2;
715
- result = (_ref2 = hooksRef.current[MethodsMap[propName]]).call.apply(_ref2, [this].concat(args));
713
+ var _ref;
714
+ result = (_ref = hooksRef.current[MethodsMap[propName]]).call.apply(_ref, [this].concat(args));
716
715
  }
717
716
  return result;
718
717
  }.bind(_this);
@@ -753,10 +752,10 @@ var EditorContext = /*#__PURE__*/React.createContext(undefined);
753
752
  * @param {Ref} hooksRef Reference for component-based editor overridden hooks object.
754
753
  * @param {RefObject} hotCustomEditorInstanceRef Reference to Handsontable-native editor instance.
755
754
  */
756
- var EditorContextProvider = function EditorContextProvider(_ref3) {
757
- var hooksRef = _ref3.hooksRef,
758
- hotCustomEditorInstanceRef = _ref3.hotCustomEditorInstanceRef,
759
- children = _ref3.children;
755
+ var EditorContextProvider = function EditorContextProvider(_ref2) {
756
+ var hooksRef = _ref2.hooksRef,
757
+ hotCustomEditorInstanceRef = _ref2.hotCustomEditorInstanceRef,
758
+ children = _ref2.children;
760
759
  return /*#__PURE__*/React__default["default"].createElement(EditorContext.Provider, {
761
760
  value: {
762
761
  hooksRef: hooksRef,
@@ -825,9 +824,9 @@ function applyEditorPosition(el, editor, hot, td) {
825
824
  * @returns {UseHotEditorImpl} Editor API methods
826
825
  */
827
826
  function useHotEditor(overriddenHooks, deps) {
828
- var _ref4 = React.useContext(EditorContext),
829
- hooksRef = _ref4.hooksRef,
830
- hotCustomEditorInstanceRef = _ref4.hotCustomEditorInstanceRef;
827
+ var _ref3 = React.useContext(EditorContext),
828
+ hooksRef = _ref3.hooksRef,
829
+ hotCustomEditorInstanceRef = _ref3.hotCustomEditorInstanceRef;
831
830
  var _useState = React.useState(0),
832
831
  _useState2 = _slicedToArray(_useState, 2),
833
832
  rerenderTrigger = _useState2[0],
@@ -871,13 +870,11 @@ function useHotEditor(overriddenHooks, deps) {
871
870
  },
872
871
  get row() {
873
872
  var _hotCustomEditorInsta6;
874
- var row = (_hotCustomEditorInsta6 = hotCustomEditorInstanceRef.current) === null || _hotCustomEditorInsta6 === void 0 ? void 0 : _hotCustomEditorInsta6.row;
875
- return row !== null && row !== void 0 ? row : undefined;
873
+ return (_hotCustomEditorInsta6 = hotCustomEditorInstanceRef.current) === null || _hotCustomEditorInsta6 === void 0 ? void 0 : _hotCustomEditorInsta6.row;
876
874
  },
877
875
  get col() {
878
876
  var _hotCustomEditorInsta7;
879
- var col = (_hotCustomEditorInsta7 = hotCustomEditorInstanceRef.current) === null || _hotCustomEditorInsta7 === void 0 ? void 0 : _hotCustomEditorInsta7.col;
880
- return col !== null && col !== void 0 ? col : undefined;
877
+ return (_hotCustomEditorInsta7 = hotCustomEditorInstanceRef.current) === null || _hotCustomEditorInsta7 === void 0 ? void 0 : _hotCustomEditorInsta7.col;
881
878
  }
882
879
  };
883
880
  }, [rerenderTrigger, hotCustomEditorInstanceRef, deferredValue]);
@@ -887,23 +884,23 @@ function useHotEditor(overriddenHooks, deps) {
887
884
 
888
885
  // EditorComponent props - children typed to work with JSX syntax
889
886
 
890
- function EditorComponent(_ref5) {
891
- var _onPrepare = _ref5.onPrepare,
892
- _onClose = _ref5.onClose,
893
- _onOpen = _ref5.onOpen,
894
- _onFocus = _ref5.onFocus,
895
- children = _ref5.children,
896
- _ref5$shortcutsGroup = _ref5.shortcutsGroup,
897
- shortcutsGroup = _ref5$shortcutsGroup === void 0 ? "custom-editor" : _ref5$shortcutsGroup,
898
- shortcuts = _ref5.shortcuts;
887
+ function EditorComponent(_ref4) {
888
+ var _onPrepare = _ref4.onPrepare,
889
+ _onClose = _ref4.onClose,
890
+ _onOpen = _ref4.onOpen,
891
+ _onFocus = _ref4.onFocus,
892
+ children = _ref4.children,
893
+ _ref4$shortcutsGroup = _ref4.shortcutsGroup,
894
+ shortcutsGroup = _ref4$shortcutsGroup === void 0 ? "custom-editor" : _ref4$shortcutsGroup,
895
+ shortcuts = _ref4.shortcuts;
899
896
  var mainElementRef = React.useRef(null);
900
897
  var currentValue = React.useRef(undefined);
901
898
  var _useState5 = React.useState(),
902
899
  _useState6 = _slicedToArray(_useState5, 2),
903
900
  themeClassName = _useState6[0],
904
901
  setThemeClassName = _useState6[1];
905
- var _ref6 = React.useContext(EditorContext),
906
- hotCustomEditorInstanceRef = _ref6.hotCustomEditorInstanceRef;
902
+ var _ref5 = React.useContext(EditorContext),
903
+ hotCustomEditorInstanceRef = _ref5.hotCustomEditorInstanceRef;
907
904
  var registerShortcuts = React.useCallback(function () {
908
905
  var _hotCustomEditorInsta8, _hotCustomEditorInsta9, _hotCustomEditorInsta0;
909
906
  if (!((_hotCustomEditorInsta8 = hotCustomEditorInstanceRef.current) !== null && _hotCustomEditorInsta8 !== void 0 && _hotCustomEditorInsta8.hot)) return;
@@ -1107,7 +1104,7 @@ var HotColumn = function HotColumn(props) {
1107
1104
  }, editorPortal);
1108
1105
  };
1109
1106
 
1110
- var version="0.0.0-next-8e54292-20260513";
1107
+ var version="0.0.0-next-eafc486-20260513";
1111
1108
 
1112
1109
  /**
1113
1110
  * Component used to manage the renderer component portals.