@handsontable/react-wrapper 15.0.0 → 15.1.0-next-dfdf994-20250206

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
@@ -104,24 +104,26 @@ registerAllModules();
104
104
 
105
105
  const ExampleComponent = () => {
106
106
  return (
107
- <HotTable
108
- data={[
109
- { company: 'Tagcat', country: 'United Kingdom', rating: 4.4 },
110
- { company: 'Zoomzone', country: 'Japan', rating: 4.5 },
111
- { company: 'Meeveo', country: 'United States', rating: 4.6 },
112
- ]}
113
- rowHeaders={true}
114
- colHeaders={true}
115
- navigableHeaders={true}
116
- tabNavigation={true}
117
- multiColumnSorting={true}
118
- headerClassName="htLeft"
119
- licenseKey="non-commercial-and-evaluation"
120
- >
121
- <HotColumn title="Company" data="company" width="100"></HotColumn>
122
- <HotColumn title="Country" data="country" width="170" type="dropdown" source={['United Kingdom', 'Japan', 'United States']}></HotColumn>
123
- <HotColumn title="Rating" data="rating" width="100" type="numeric"></HotColumn>
124
- </HotTable>
107
+ <div class="ht-theme-main-dark-auto">
108
+ <HotTable
109
+ data={[
110
+ { company: 'Tagcat', country: 'United Kingdom', rating: 4.4 },
111
+ { company: 'Zoomzone', country: 'Japan', rating: 4.5 },
112
+ { company: 'Meeveo', country: 'United States', rating: 4.6 },
113
+ ]}
114
+ rowHeaders={true}
115
+ colHeaders={true}
116
+ navigableHeaders={true}
117
+ tabNavigation={true}
118
+ multiColumnSorting={true}
119
+ headerClassName="htLeft"
120
+ licenseKey="non-commercial-and-evaluation"
121
+ >
122
+ <HotColumn title="Company" data="company" width="100"></HotColumn>
123
+ <HotColumn title="Country" data="country" width="170" type="dropdown" source={['United Kingdom', 'Japan', 'United States']}></HotColumn>
124
+ <HotColumn title="Rating" data="rating" width="100" type="numeric"></HotColumn>
125
+ </HotTable>
126
+ </div>
125
127
  );
126
128
  };
127
129
  ```
@@ -211,4 +213,4 @@ Created and maintained by the [Handsontable Team](https://handsontable.com/team)
211
213
 
212
214
  ---
213
215
 
214
- © 2012 - 2024 Handsoncode
216
+ © 2012 - 2025 Handsoncode
@@ -111,7 +111,7 @@ function displayAnyChildrenWarning(children) {
111
111
  function hasChildElementOfType(children, type) {
112
112
  var childrenArray = React__default["default"].Children.toArray(children);
113
113
  return childrenArray.some(function (child) {
114
- return child.props[type] !== void 0;
114
+ return child.props[type] !== undefined;
115
115
  });
116
116
  }
117
117
  /**
@@ -149,7 +149,7 @@ function createPortal(rElement) {
149
149
  if (!bulkComponentContainer) {
150
150
  bulkComponentContainer = ownerDocument.createDocumentFragment();
151
151
  }
152
- var portalContainer = cachedContainer !== null && cachedContainer !== void 0 ? cachedContainer : ownerDocument.createElement('DIV');
152
+ var portalContainer = cachedContainer !== null && cachedContainer !== undefined ? cachedContainer : ownerDocument.createElement('DIV');
153
153
  bulkComponentContainer.appendChild(portalContainer);
154
154
  return {
155
155
  portal: ReactDOM__default["default"].createPortal(rElement, portalContainer, portalKey),
@@ -210,7 +210,7 @@ function _arrayWithoutHoles(r) {
210
210
  if (Array.isArray(r)) return _arrayLikeToArray(r);
211
211
  }
212
212
  function _assertThisInitialized(e) {
213
- if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
213
+ if (undefined === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
214
214
  return e;
215
215
  }
216
216
  function _callSuper(t, o, e) {
@@ -222,20 +222,20 @@ function _classCallCheck(a, n) {
222
222
  function _defineProperties(e, r) {
223
223
  for (var t = 0; t < r.length; t++) {
224
224
  var o = r[t];
225
- o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o);
225
+ o.enumerable = o.enumerable || false, o.configurable = true, "value" in o && (o.writable = true), Object.defineProperty(e, _toPropertyKey(o.key), o);
226
226
  }
227
227
  }
228
228
  function _createClass(e, r, t) {
229
229
  return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", {
230
- writable: !1
230
+ writable: false
231
231
  }), e;
232
232
  }
233
233
  function _defineProperty(e, r, t) {
234
234
  return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
235
235
  value: t,
236
- enumerable: !0,
237
- configurable: !0,
238
- writable: !0
236
+ enumerable: true,
237
+ configurable: true,
238
+ writable: true
239
239
  }) : e[r] = t, e;
240
240
  }
241
241
  function _getPrototypeOf(t) {
@@ -248,11 +248,11 @@ function _inherits(t, e) {
248
248
  t.prototype = Object.create(e && e.prototype, {
249
249
  constructor: {
250
250
  value: t,
251
- writable: !0,
252
- configurable: !0
251
+ writable: true,
252
+ configurable: true
253
253
  }
254
254
  }), Object.defineProperty(t, "prototype", {
255
- writable: !1
255
+ writable: false
256
256
  }), e && _setPrototypeOf(t, e);
257
257
  }
258
258
  function _isNativeReflectConstruct() {
@@ -274,12 +274,12 @@ function _iterableToArrayLimit(r, l) {
274
274
  i,
275
275
  u,
276
276
  a = [],
277
- f = !0,
278
- o = !1;
277
+ f = true,
278
+ o = false;
279
279
  try {
280
280
  if (i = (t = t.call(r)).next, 0 === l) ; else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
281
281
  } catch (r) {
282
- o = !0, n = r;
282
+ o = true, n = r;
283
283
  } finally {
284
284
  try {
285
285
  if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return;
@@ -309,7 +309,7 @@ function ownKeys(e, r) {
309
309
  function _objectSpread2(e) {
310
310
  for (var r = 1; r < arguments.length; r++) {
311
311
  var t = null != arguments[r] ? arguments[r] : {};
312
- r % 2 ? ownKeys(Object(t), !0).forEach(function (r) {
312
+ r % 2 ? ownKeys(Object(t), true).forEach(function (r) {
313
313
  _defineProperty(e, r, t[r]);
314
314
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {
315
315
  Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
@@ -323,8 +323,8 @@ function _objectWithoutProperties(e, t) {
323
323
  r,
324
324
  i = _objectWithoutPropertiesLoose(e, t);
325
325
  if (Object.getOwnPropertySymbols) {
326
- var s = Object.getOwnPropertySymbols(e);
327
- for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
326
+ var n = Object.getOwnPropertySymbols(e);
327
+ for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
328
328
  }
329
329
  return i;
330
330
  }
@@ -332,14 +332,14 @@ function _objectWithoutPropertiesLoose(r, e) {
332
332
  if (null == r) return {};
333
333
  var t = {};
334
334
  for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
335
- if (e.includes(n)) continue;
335
+ if (-1 !== e.indexOf(n)) continue;
336
336
  t[n] = r[n];
337
337
  }
338
338
  return t;
339
339
  }
340
340
  function _possibleConstructorReturn(t, e) {
341
341
  if (e && ("object" == typeof e || "function" == typeof e)) return e;
342
- if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
342
+ if (undefined !== e) throw new TypeError("Derived constructors may only return object or undefined");
343
343
  return _assertThisInitialized(t);
344
344
  }
345
345
  function _setPrototypeOf(t, e) {
@@ -356,12 +356,12 @@ function _toConsumableArray(r) {
356
356
  function _toPrimitive(t, r) {
357
357
  if ("object" != typeof t || !t) return t;
358
358
  var e = t[Symbol.toPrimitive];
359
- if (void 0 !== e) {
360
- var i = e.call(t, r || "default");
359
+ if (undefined !== e) {
360
+ var i = e.call(t, r);
361
361
  if ("object" != typeof i) return i;
362
362
  throw new TypeError("@@toPrimitive must return a primitive value.");
363
363
  }
364
- return ("string" === r ? String : Number)(t);
364
+ return (String )(t);
365
365
  }
366
366
  function _toPropertyKey(t) {
367
367
  var i = _toPrimitive(t, "string");
@@ -380,7 +380,7 @@ function _unsupportedIterableToArray(r, a) {
380
380
  if (r) {
381
381
  if ("string" == typeof r) return _arrayLikeToArray(r, a);
382
382
  var t = {}.toString.call(r).slice(8, -1);
383
- return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
383
+ return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : undefined;
384
384
  }
385
385
  }
386
386
 
@@ -403,11 +403,11 @@ var SettingsMapper = /*#__PURE__*/function () {
403
403
  function getSettings(properties) {
404
404
  var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},
405
405
  _ref$prevProps = _ref.prevProps,
406
- prevProps = _ref$prevProps === void 0 ? {} : _ref$prevProps,
406
+ prevProps = _ref$prevProps === undefined ? {} : _ref$prevProps,
407
407
  _ref$isInit = _ref.isInit,
408
- isInit = _ref$isInit === void 0 ? false : _ref$isInit,
408
+ isInit = _ref$isInit === undefined ? false : _ref$isInit,
409
409
  _ref$initOnlySettingK = _ref.initOnlySettingKeys,
410
- initOnlySettingKeys = _ref$initOnlySettingK === void 0 ? [] : _ref$initOnlySettingK;
410
+ initOnlySettingKeys = _ref$initOnlySettingK === undefined ? [] : _ref$initOnlySettingK;
411
411
  var shouldSkipProp = function shouldSkipProp(key) {
412
412
  // Omit settings that can be set only during initialization and are intentionally modified.
413
413
  if (!isInit && initOnlySettingKeys.includes(key)) {
@@ -573,7 +573,7 @@ function makeEditorClass(hooksRef, instanceRef) {
573
573
  if (!AbstractMethods.includes(propName)) {
574
574
  result = baseMethod.call.apply(baseMethod, [this].concat(args)); // call super
575
575
  }
576
- if (MethodsMap[propName] && (_hooksRef$current = hooksRef.current) !== null && _hooksRef$current !== void 0 && _hooksRef$current[MethodsMap[propName]]) {
576
+ if (MethodsMap[propName] && (_hooksRef$current = hooksRef.current) !== null && _hooksRef$current !== undefined && _hooksRef$current[MethodsMap[propName]]) {
577
577
  var _hooksRef$current$Met;
578
578
  result = (_hooksRef$current$Met = hooksRef.current[MethodsMap[propName]]).call.apply(_hooksRef$current$Met, [this].concat(args));
579
579
  }
@@ -652,8 +652,8 @@ function useHotEditor(overriddenHooks, deps) {
652
652
  return _objectSpread2(_objectSpread2({}, overriddenHooks), {}, {
653
653
  onOpen: function onOpen() {
654
654
  var _hotCustomEditorInsta, _overriddenHooks$onOp;
655
- setEditorValue((_hotCustomEditorInsta = hotCustomEditorInstanceRef.current) === null || _hotCustomEditorInsta === void 0 ? void 0 : _hotCustomEditorInsta.getValue());
656
- overriddenHooks === null || overriddenHooks === void 0 || (_overriddenHooks$onOp = overriddenHooks.onOpen) === null || _overriddenHooks$onOp === void 0 || _overriddenHooks$onOp.call(overriddenHooks);
655
+ setEditorValue((_hotCustomEditorInsta = hotCustomEditorInstanceRef.current) === null || _hotCustomEditorInsta === undefined ? undefined : _hotCustomEditorInsta.getValue());
656
+ overriddenHooks === null || overriddenHooks === undefined || (_overriddenHooks$onOp = overriddenHooks.onOpen) === null || _overriddenHooks$onOp === undefined || _overriddenHooks$onOp.call(overriddenHooks);
657
657
  setRerenderTrigger(function (t) {
658
658
  return t + 1;
659
659
  });
@@ -668,23 +668,23 @@ function useHotEditor(overriddenHooks, deps) {
668
668
  setValue: function setValue(newValue) {
669
669
  var _hotCustomEditorInsta2;
670
670
  setEditorValue(newValue);
671
- (_hotCustomEditorInsta2 = hotCustomEditorInstanceRef.current) === null || _hotCustomEditorInsta2 === void 0 || _hotCustomEditorInsta2.setValue(newValue);
671
+ (_hotCustomEditorInsta2 = hotCustomEditorInstanceRef.current) === null || _hotCustomEditorInsta2 === undefined || _hotCustomEditorInsta2.setValue(newValue);
672
672
  },
673
673
  get isOpen() {
674
674
  var _hotCustomEditorInsta3, _hotCustomEditorInsta4;
675
- return (_hotCustomEditorInsta3 = (_hotCustomEditorInsta4 = hotCustomEditorInstanceRef.current) === null || _hotCustomEditorInsta4 === void 0 ? void 0 : _hotCustomEditorInsta4.isOpened()) !== null && _hotCustomEditorInsta3 !== void 0 ? _hotCustomEditorInsta3 : false;
675
+ return (_hotCustomEditorInsta3 = (_hotCustomEditorInsta4 = hotCustomEditorInstanceRef.current) === null || _hotCustomEditorInsta4 === undefined ? undefined : _hotCustomEditorInsta4.isOpened()) !== null && _hotCustomEditorInsta3 !== undefined ? _hotCustomEditorInsta3 : false;
676
676
  },
677
677
  finishEditing: function finishEditing() {
678
678
  var _hotCustomEditorInsta5;
679
- (_hotCustomEditorInsta5 = hotCustomEditorInstanceRef.current) === null || _hotCustomEditorInsta5 === void 0 || _hotCustomEditorInsta5.finishEditing();
679
+ (_hotCustomEditorInsta5 = hotCustomEditorInstanceRef.current) === null || _hotCustomEditorInsta5 === undefined || _hotCustomEditorInsta5.finishEditing();
680
680
  },
681
681
  get row() {
682
682
  var _hotCustomEditorInsta6;
683
- return (_hotCustomEditorInsta6 = hotCustomEditorInstanceRef.current) === null || _hotCustomEditorInsta6 === void 0 ? void 0 : _hotCustomEditorInsta6.row;
683
+ return (_hotCustomEditorInsta6 = hotCustomEditorInstanceRef.current) === null || _hotCustomEditorInsta6 === undefined ? undefined : _hotCustomEditorInsta6.row;
684
684
  },
685
685
  get col() {
686
686
  var _hotCustomEditorInsta7;
687
- return (_hotCustomEditorInsta7 = hotCustomEditorInstanceRef.current) === null || _hotCustomEditorInsta7 === void 0 ? void 0 : _hotCustomEditorInsta7.col;
687
+ return (_hotCustomEditorInsta7 = hotCustomEditorInstanceRef.current) === null || _hotCustomEditorInsta7 === undefined ? undefined : _hotCustomEditorInsta7.col;
688
688
  }
689
689
  };
690
690
  }, [rerenderTrigger, hotCustomEditorInstanceRef, deferredValue]);
@@ -763,7 +763,7 @@ var HotColumn = function HotColumn(props) {
763
763
  }, editorPortal);
764
764
  };
765
765
 
766
- var version="15.0.0";
766
+ var version="15.1.0-next-dfdf994-20250206";
767
767
 
768
768
  /**
769
769
  * Component used to manage the renderer component portals.
@@ -1601,7 +1601,7 @@ function requireFactoryWithTypeCheckers() {
1601
1601
  }
1602
1602
  function createUnionTypeChecker(arrayOfTypeCheckers) {
1603
1603
  if (!Array.isArray(arrayOfTypeCheckers)) {
1604
- process.env.NODE_ENV !== 'production' ? printWarning('Invalid argument supplied to oneOfType, expected an instance of array.') : void 0;
1604
+ process.env.NODE_ENV !== 'production' ? printWarning('Invalid argument supplied to oneOfType, expected an instance of array.') : undefined;
1605
1605
  return emptyFunctionThatReturnsNull;
1606
1606
  }
1607
1607
  for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
@@ -1971,7 +1971,7 @@ var HotTableInner = React.forwardRef(function (props, ref) {
1971
1971
  var prevProps = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
1972
1972
  var initOnlySettingKeys = !isHotInstanceDestroyed() ?
1973
1973
  // Needed for React's double-rendering.
1974
- ((_getHotInstance = getHotInstance()) === null || _getHotInstance === void 0 || (_getHotInstance = _getHotInstance.getSettings()) === null || _getHotInstance === void 0 ? void 0 : _getHotInstance._initOnlySettings) || [] : [];
1974
+ ((_getHotInstance = getHotInstance()) === null || _getHotInstance === undefined || (_getHotInstance = _getHotInstance.getSettings()) === null || _getHotInstance === undefined ? undefined : _getHotInstance._initOnlySettings) || [] : [];
1975
1975
  var newSettings = SettingsMapper.getSettings(props, {
1976
1976
  prevProps: prevProps,
1977
1977
  isInit: init,
@@ -1996,7 +1996,7 @@ var HotTableInner = React.forwardRef(function (props, ref) {
1996
1996
  */
1997
1997
  var displayAutoSizeWarning = function displayAutoSizeWarning(hotInstance) {
1998
1998
  var _hotInstance$getPlugi, _hotInstance$getPlugi2;
1999
- if (hotInstance && ((_hotInstance$getPlugi = hotInstance.getPlugin('autoRowSize')) !== null && _hotInstance$getPlugi !== void 0 && _hotInstance$getPlugi.enabled || (_hotInstance$getPlugi2 = hotInstance.getPlugin('autoColumnSize')) !== null && _hotInstance$getPlugi2 !== void 0 && _hotInstance$getPlugi2.enabled)) {
1999
+ if (hotInstance && ((_hotInstance$getPlugi = hotInstance.getPlugin('autoRowSize')) !== null && _hotInstance$getPlugi !== undefined && _hotInstance$getPlugi.enabled || (_hotInstance$getPlugi2 = hotInstance.getPlugin('autoColumnSize')) !== null && _hotInstance$getPlugi2 !== undefined && _hotInstance$getPlugi2.enabled)) {
2000
2000
  if (context.componentRendererColumns.size > 0) {
2001
2001
  warn(AUTOSIZE_WARNING);
2002
2002
  }
@@ -2034,7 +2034,7 @@ var HotTableInner = React.forwardRef(function (props, ref) {
2034
2034
  return function () {
2035
2035
  var _getHotInstance2;
2036
2036
  clearCache();
2037
- (_getHotInstance2 = getHotInstance()) === null || _getHotInstance2 === void 0 || _getHotInstance2.destroy();
2037
+ (_getHotInstance2 = getHotInstance()) === null || _getHotInstance2 === undefined || _getHotInstance2.destroy();
2038
2038
  };
2039
2039
  }, []);
2040
2040
  /**
@@ -2046,7 +2046,7 @@ var HotTableInner = React.forwardRef(function (props, ref) {
2046
2046
  var newGlobalSettings = createNewGlobalSettings(false, prevProps.current);
2047
2047
  // Update prevProps with the current props
2048
2048
  prevProps.current = props;
2049
- hotInstance === null || hotInstance === void 0 || hotInstance.updateSettings(newGlobalSettings, false);
2049
+ hotInstance === null || hotInstance === undefined || hotInstance.updateSettings(newGlobalSettings, false);
2050
2050
  displayAutoSizeWarning(hotInstance);
2051
2051
  displayObsoleteRenderersEditorsWarning(props.children);
2052
2052
  });
@@ -2118,7 +2118,7 @@ var HotTable = React.forwardRef(function (_ref, ref) {
2118
2118
  var _props$id;
2119
2119
  var children = _ref.children,
2120
2120
  props = _objectWithoutProperties(_ref, _excluded);
2121
- var componentId = (_props$id = props.id) !== null && _props$id !== void 0 ? _props$id : React.useId();
2121
+ var componentId = (_props$id = props.id) !== null && _props$id !== undefined ? _props$id : React.useId();
2122
2122
  return React__default["default"].createElement(HotTableContextProvider, null, React__default["default"].createElement(HotTableInner, Object.assign({
2123
2123
  id: componentId
2124
2124
  }, props, {
@@ -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: 15.0.0 (built at Mon Dec 16 2024 13:20:23 GMT+0100 (Central European Standard Time))
28
+ * Version: 15.1.0-next-dfdf994-20250206 (built at Thu Feb 06 2025 09:06:26 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')) :
@@ -136,7 +136,7 @@ function displayAnyChildrenWarning(children) {
136
136
  function hasChildElementOfType(children, type) {
137
137
  var childrenArray = React__default["default"].Children.toArray(children);
138
138
  return childrenArray.some(function (child) {
139
- return child.props[type] !== void 0;
139
+ return child.props[type] !== undefined;
140
140
  });
141
141
  }
142
142
  /**
@@ -174,7 +174,7 @@ function createPortal(rElement) {
174
174
  if (!bulkComponentContainer) {
175
175
  bulkComponentContainer = ownerDocument.createDocumentFragment();
176
176
  }
177
- var portalContainer = cachedContainer !== null && cachedContainer !== void 0 ? cachedContainer : ownerDocument.createElement('DIV');
177
+ var portalContainer = cachedContainer !== null && cachedContainer !== undefined ? cachedContainer : ownerDocument.createElement('DIV');
178
178
  bulkComponentContainer.appendChild(portalContainer);
179
179
  return {
180
180
  portal: ReactDOM__default["default"].createPortal(rElement, portalContainer, portalKey),
@@ -235,7 +235,7 @@ function _arrayWithoutHoles(r) {
235
235
  if (Array.isArray(r)) return _arrayLikeToArray(r);
236
236
  }
237
237
  function _assertThisInitialized(e) {
238
- if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
238
+ if (undefined === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
239
239
  return e;
240
240
  }
241
241
  function _callSuper(t, o, e) {
@@ -247,20 +247,20 @@ function _classCallCheck(a, n) {
247
247
  function _defineProperties(e, r) {
248
248
  for (var t = 0; t < r.length; t++) {
249
249
  var o = r[t];
250
- o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o);
250
+ o.enumerable = o.enumerable || false, o.configurable = true, "value" in o && (o.writable = true), Object.defineProperty(e, _toPropertyKey(o.key), o);
251
251
  }
252
252
  }
253
253
  function _createClass(e, r, t) {
254
254
  return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", {
255
- writable: !1
255
+ writable: false
256
256
  }), e;
257
257
  }
258
258
  function _defineProperty(e, r, t) {
259
259
  return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
260
260
  value: t,
261
- enumerable: !0,
262
- configurable: !0,
263
- writable: !0
261
+ enumerable: true,
262
+ configurable: true,
263
+ writable: true
264
264
  }) : e[r] = t, e;
265
265
  }
266
266
  function _getPrototypeOf(t) {
@@ -273,11 +273,11 @@ function _inherits(t, e) {
273
273
  t.prototype = Object.create(e && e.prototype, {
274
274
  constructor: {
275
275
  value: t,
276
- writable: !0,
277
- configurable: !0
276
+ writable: true,
277
+ configurable: true
278
278
  }
279
279
  }), Object.defineProperty(t, "prototype", {
280
- writable: !1
280
+ writable: false
281
281
  }), e && _setPrototypeOf(t, e);
282
282
  }
283
283
  function _isNativeReflectConstruct() {
@@ -299,12 +299,12 @@ function _iterableToArrayLimit(r, l) {
299
299
  i,
300
300
  u,
301
301
  a = [],
302
- f = !0,
303
- o = !1;
302
+ f = true,
303
+ o = false;
304
304
  try {
305
305
  if (i = (t = t.call(r)).next, 0 === l) ; else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
306
306
  } catch (r) {
307
- o = !0, n = r;
307
+ o = true, n = r;
308
308
  } finally {
309
309
  try {
310
310
  if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return;
@@ -334,7 +334,7 @@ function ownKeys(e, r) {
334
334
  function _objectSpread2(e) {
335
335
  for (var r = 1; r < arguments.length; r++) {
336
336
  var t = null != arguments[r] ? arguments[r] : {};
337
- r % 2 ? ownKeys(Object(t), !0).forEach(function (r) {
337
+ r % 2 ? ownKeys(Object(t), true).forEach(function (r) {
338
338
  _defineProperty(e, r, t[r]);
339
339
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {
340
340
  Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
@@ -348,8 +348,8 @@ function _objectWithoutProperties(e, t) {
348
348
  r,
349
349
  i = _objectWithoutPropertiesLoose(e, t);
350
350
  if (Object.getOwnPropertySymbols) {
351
- var s = Object.getOwnPropertySymbols(e);
352
- for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
351
+ var n = Object.getOwnPropertySymbols(e);
352
+ for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
353
353
  }
354
354
  return i;
355
355
  }
@@ -357,14 +357,14 @@ function _objectWithoutPropertiesLoose(r, e) {
357
357
  if (null == r) return {};
358
358
  var t = {};
359
359
  for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
360
- if (e.includes(n)) continue;
360
+ if (-1 !== e.indexOf(n)) continue;
361
361
  t[n] = r[n];
362
362
  }
363
363
  return t;
364
364
  }
365
365
  function _possibleConstructorReturn(t, e) {
366
366
  if (e && ("object" == typeof e || "function" == typeof e)) return e;
367
- if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
367
+ if (undefined !== e) throw new TypeError("Derived constructors may only return object or undefined");
368
368
  return _assertThisInitialized(t);
369
369
  }
370
370
  function _setPrototypeOf(t, e) {
@@ -381,12 +381,12 @@ function _toConsumableArray(r) {
381
381
  function _toPrimitive(t, r) {
382
382
  if ("object" != typeof t || !t) return t;
383
383
  var e = t[Symbol.toPrimitive];
384
- if (void 0 !== e) {
385
- var i = e.call(t, r || "default");
384
+ if (undefined !== e) {
385
+ var i = e.call(t, r);
386
386
  if ("object" != typeof i) return i;
387
387
  throw new TypeError("@@toPrimitive must return a primitive value.");
388
388
  }
389
- return ("string" === r ? String : Number)(t);
389
+ return (String )(t);
390
390
  }
391
391
  function _toPropertyKey(t) {
392
392
  var i = _toPrimitive(t, "string");
@@ -396,7 +396,7 @@ function _unsupportedIterableToArray(r, a) {
396
396
  if (r) {
397
397
  if ("string" == typeof r) return _arrayLikeToArray(r, a);
398
398
  var t = {}.toString.call(r).slice(8, -1);
399
- return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
399
+ return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : undefined;
400
400
  }
401
401
  }
402
402
 
@@ -419,11 +419,11 @@ var SettingsMapper = /*#__PURE__*/function () {
419
419
  function getSettings(properties) {
420
420
  var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},
421
421
  _ref$prevProps = _ref.prevProps,
422
- prevProps = _ref$prevProps === void 0 ? {} : _ref$prevProps,
422
+ prevProps = _ref$prevProps === undefined ? {} : _ref$prevProps,
423
423
  _ref$isInit = _ref.isInit,
424
- isInit = _ref$isInit === void 0 ? false : _ref$isInit,
424
+ isInit = _ref$isInit === undefined ? false : _ref$isInit,
425
425
  _ref$initOnlySettingK = _ref.initOnlySettingKeys,
426
- initOnlySettingKeys = _ref$initOnlySettingK === void 0 ? [] : _ref$initOnlySettingK;
426
+ initOnlySettingKeys = _ref$initOnlySettingK === undefined ? [] : _ref$initOnlySettingK;
427
427
  var shouldSkipProp = function shouldSkipProp(key) {
428
428
  // Omit settings that can be set only during initialization and are intentionally modified.
429
429
  if (!isInit && initOnlySettingKeys.includes(key)) {
@@ -589,7 +589,7 @@ function makeEditorClass(hooksRef, instanceRef) {
589
589
  if (!AbstractMethods.includes(propName)) {
590
590
  result = baseMethod.call.apply(baseMethod, [this].concat(args)); // call super
591
591
  }
592
- if (MethodsMap[propName] && (_hooksRef$current = hooksRef.current) !== null && _hooksRef$current !== void 0 && _hooksRef$current[MethodsMap[propName]]) {
592
+ if (MethodsMap[propName] && (_hooksRef$current = hooksRef.current) !== null && _hooksRef$current !== undefined && _hooksRef$current[MethodsMap[propName]]) {
593
593
  var _hooksRef$current$Met;
594
594
  result = (_hooksRef$current$Met = hooksRef.current[MethodsMap[propName]]).call.apply(_hooksRef$current$Met, [this].concat(args));
595
595
  }
@@ -668,8 +668,8 @@ function useHotEditor(overriddenHooks, deps) {
668
668
  return _objectSpread2(_objectSpread2({}, overriddenHooks), {}, {
669
669
  onOpen: function onOpen() {
670
670
  var _hotCustomEditorInsta, _overriddenHooks$onOp;
671
- setEditorValue((_hotCustomEditorInsta = hotCustomEditorInstanceRef.current) === null || _hotCustomEditorInsta === void 0 ? void 0 : _hotCustomEditorInsta.getValue());
672
- overriddenHooks === null || overriddenHooks === void 0 || (_overriddenHooks$onOp = overriddenHooks.onOpen) === null || _overriddenHooks$onOp === void 0 || _overriddenHooks$onOp.call(overriddenHooks);
671
+ setEditorValue((_hotCustomEditorInsta = hotCustomEditorInstanceRef.current) === null || _hotCustomEditorInsta === undefined ? undefined : _hotCustomEditorInsta.getValue());
672
+ overriddenHooks === null || overriddenHooks === undefined || (_overriddenHooks$onOp = overriddenHooks.onOpen) === null || _overriddenHooks$onOp === undefined || _overriddenHooks$onOp.call(overriddenHooks);
673
673
  setRerenderTrigger(function (t) {
674
674
  return t + 1;
675
675
  });
@@ -684,23 +684,23 @@ function useHotEditor(overriddenHooks, deps) {
684
684
  setValue: function setValue(newValue) {
685
685
  var _hotCustomEditorInsta2;
686
686
  setEditorValue(newValue);
687
- (_hotCustomEditorInsta2 = hotCustomEditorInstanceRef.current) === null || _hotCustomEditorInsta2 === void 0 || _hotCustomEditorInsta2.setValue(newValue);
687
+ (_hotCustomEditorInsta2 = hotCustomEditorInstanceRef.current) === null || _hotCustomEditorInsta2 === undefined || _hotCustomEditorInsta2.setValue(newValue);
688
688
  },
689
689
  get isOpen() {
690
690
  var _hotCustomEditorInsta3, _hotCustomEditorInsta4;
691
- return (_hotCustomEditorInsta3 = (_hotCustomEditorInsta4 = hotCustomEditorInstanceRef.current) === null || _hotCustomEditorInsta4 === void 0 ? void 0 : _hotCustomEditorInsta4.isOpened()) !== null && _hotCustomEditorInsta3 !== void 0 ? _hotCustomEditorInsta3 : false;
691
+ return (_hotCustomEditorInsta3 = (_hotCustomEditorInsta4 = hotCustomEditorInstanceRef.current) === null || _hotCustomEditorInsta4 === undefined ? undefined : _hotCustomEditorInsta4.isOpened()) !== null && _hotCustomEditorInsta3 !== undefined ? _hotCustomEditorInsta3 : false;
692
692
  },
693
693
  finishEditing: function finishEditing() {
694
694
  var _hotCustomEditorInsta5;
695
- (_hotCustomEditorInsta5 = hotCustomEditorInstanceRef.current) === null || _hotCustomEditorInsta5 === void 0 || _hotCustomEditorInsta5.finishEditing();
695
+ (_hotCustomEditorInsta5 = hotCustomEditorInstanceRef.current) === null || _hotCustomEditorInsta5 === undefined || _hotCustomEditorInsta5.finishEditing();
696
696
  },
697
697
  get row() {
698
698
  var _hotCustomEditorInsta6;
699
- return (_hotCustomEditorInsta6 = hotCustomEditorInstanceRef.current) === null || _hotCustomEditorInsta6 === void 0 ? void 0 : _hotCustomEditorInsta6.row;
699
+ return (_hotCustomEditorInsta6 = hotCustomEditorInstanceRef.current) === null || _hotCustomEditorInsta6 === undefined ? undefined : _hotCustomEditorInsta6.row;
700
700
  },
701
701
  get col() {
702
702
  var _hotCustomEditorInsta7;
703
- return (_hotCustomEditorInsta7 = hotCustomEditorInstanceRef.current) === null || _hotCustomEditorInsta7 === void 0 ? void 0 : _hotCustomEditorInsta7.col;
703
+ return (_hotCustomEditorInsta7 = hotCustomEditorInstanceRef.current) === null || _hotCustomEditorInsta7 === undefined ? undefined : _hotCustomEditorInsta7.col;
704
704
  }
705
705
  };
706
706
  }, [rerenderTrigger, hotCustomEditorInstanceRef, deferredValue]);
@@ -779,7 +779,7 @@ var HotColumn = function HotColumn(props) {
779
779
  }, editorPortal);
780
780
  };
781
781
 
782
- var version="15.0.0";
782
+ var version="15.1.0-next-dfdf994-20250206";
783
783
 
784
784
  /**
785
785
  * Component used to manage the renderer component portals.
@@ -960,7 +960,7 @@ var HotTableInner = React.forwardRef(function (props, ref) {
960
960
  var prevProps = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
961
961
  var initOnlySettingKeys = !isHotInstanceDestroyed() ?
962
962
  // Needed for React's double-rendering.
963
- ((_getHotInstance = getHotInstance()) === null || _getHotInstance === void 0 || (_getHotInstance = _getHotInstance.getSettings()) === null || _getHotInstance === void 0 ? void 0 : _getHotInstance._initOnlySettings) || [] : [];
963
+ ((_getHotInstance = getHotInstance()) === null || _getHotInstance === undefined || (_getHotInstance = _getHotInstance.getSettings()) === null || _getHotInstance === undefined ? undefined : _getHotInstance._initOnlySettings) || [] : [];
964
964
  var newSettings = SettingsMapper.getSettings(props, {
965
965
  prevProps: prevProps,
966
966
  isInit: init,
@@ -985,7 +985,7 @@ var HotTableInner = React.forwardRef(function (props, ref) {
985
985
  */
986
986
  var displayAutoSizeWarning = function displayAutoSizeWarning(hotInstance) {
987
987
  var _hotInstance$getPlugi, _hotInstance$getPlugi2;
988
- if (hotInstance && ((_hotInstance$getPlugi = hotInstance.getPlugin('autoRowSize')) !== null && _hotInstance$getPlugi !== void 0 && _hotInstance$getPlugi.enabled || (_hotInstance$getPlugi2 = hotInstance.getPlugin('autoColumnSize')) !== null && _hotInstance$getPlugi2 !== void 0 && _hotInstance$getPlugi2.enabled)) {
988
+ if (hotInstance && ((_hotInstance$getPlugi = hotInstance.getPlugin('autoRowSize')) !== null && _hotInstance$getPlugi !== undefined && _hotInstance$getPlugi.enabled || (_hotInstance$getPlugi2 = hotInstance.getPlugin('autoColumnSize')) !== null && _hotInstance$getPlugi2 !== undefined && _hotInstance$getPlugi2.enabled)) {
989
989
  if (context.componentRendererColumns.size > 0) {
990
990
  warn(AUTOSIZE_WARNING);
991
991
  }
@@ -1023,7 +1023,7 @@ var HotTableInner = React.forwardRef(function (props, ref) {
1023
1023
  return function () {
1024
1024
  var _getHotInstance2;
1025
1025
  clearCache();
1026
- (_getHotInstance2 = getHotInstance()) === null || _getHotInstance2 === void 0 || _getHotInstance2.destroy();
1026
+ (_getHotInstance2 = getHotInstance()) === null || _getHotInstance2 === undefined || _getHotInstance2.destroy();
1027
1027
  };
1028
1028
  }, []);
1029
1029
  /**
@@ -1035,7 +1035,7 @@ var HotTableInner = React.forwardRef(function (props, ref) {
1035
1035
  var newGlobalSettings = createNewGlobalSettings(false, prevProps.current);
1036
1036
  // Update prevProps with the current props
1037
1037
  prevProps.current = props;
1038
- hotInstance === null || hotInstance === void 0 || hotInstance.updateSettings(newGlobalSettings, false);
1038
+ hotInstance === null || hotInstance === undefined || hotInstance.updateSettings(newGlobalSettings, false);
1039
1039
  displayAutoSizeWarning(hotInstance);
1040
1040
  displayObsoleteRenderersEditorsWarning(props.children);
1041
1041
  });
@@ -1107,7 +1107,7 @@ var HotTable = React.forwardRef(function (_ref, ref) {
1107
1107
  var _props$id;
1108
1108
  var children = _ref.children,
1109
1109
  props = _objectWithoutProperties(_ref, _excluded);
1110
- var componentId = (_props$id = props.id) !== null && _props$id !== void 0 ? _props$id : React.useId();
1110
+ var componentId = (_props$id = props.id) !== null && _props$id !== undefined ? _props$id : React.useId();
1111
1111
  return React__default["default"].createElement(HotTableContextProvider, null, React__default["default"].createElement(HotTableInner, Object.assign({
1112
1112
  id: componentId
1113
1113
  }, props, {