@handsontable/react 14.2.0 → 14.3.0-next-3fa6b18-20240410

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.
@@ -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: 14.2.0 (built at Wed Mar 06 2024 09:50:52 GMT+0100 (Central European Standard Time))
28
+ * Version: 14.3.0-next-3fa6b18-20240410 (built at Wed Apr 10 2024 07:38:17 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')) :
@@ -33,12 +33,6 @@ typeof define === 'function' && define.amd ? define(['exports', 'react', 'react-
33
33
  (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.Handsontable = global.Handsontable || {}, global.Handsontable.react = {}), global.React, global.ReactDOM, global.Handsontable, global.Handsontable.renderers, global.Handsontable.editors));
34
34
  })(this, (function (exports, React, ReactDOM, Handsontable, registry$1, registry) { 'use strict';
35
35
 
36
- function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
37
-
38
- var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
39
- var ReactDOM__default = /*#__PURE__*/_interopDefaultLegacy(ReactDOM);
40
- var Handsontable__default = /*#__PURE__*/_interopDefaultLegacy(Handsontable);
41
-
42
36
  function _callSuper(t, o, e) {
43
37
  return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e));
44
38
  }
@@ -83,7 +77,7 @@ function _toPrimitive(t, r) {
83
77
  }
84
78
  function _toPropertyKey(t) {
85
79
  var i = _toPrimitive(t, "string");
86
- return "symbol" == typeof i ? i : String(i);
80
+ return "symbol" == typeof i ? i : i + "";
87
81
  }
88
82
  function _typeof(o) {
89
83
  "@babel/helpers - typeof";
@@ -262,8 +256,8 @@ function warn() {
262
256
  * @returns {Object|null} A child (React node) or `null`, if no child of that type was found.
263
257
  */
264
258
  function getChildElementByType(children, type) {
265
- var childrenArray = React__default["default"].Children.toArray(children);
266
- var childrenCount = React__default["default"].Children.count(children);
259
+ var childrenArray = React.Children.toArray(children);
260
+ var childrenCount = React.Children.count(children);
267
261
  var wantedChild = null;
268
262
  if (childrenCount !== 0) {
269
263
  if (childrenCount === 1 && childrenArray[0].props[type]) {
@@ -301,7 +295,7 @@ function createEditorPortal(doc, editorElement) {
301
295
  }
302
296
  var containerProps = getContainerAttributesProps(editorElement.props, false);
303
297
  containerProps.className = "".concat(DEFAULT_CLASSNAME, " ").concat(containerProps.className);
304
- return ReactDOM__default["default"].createPortal(React__default["default"].createElement("div", Object.assign({}, containerProps), editorElement), doc.body);
298
+ return ReactDOM.createPortal(React.createElement("div", Object.assign({}, containerProps), editorElement), doc.body);
305
299
  }
306
300
  /**
307
301
  * Get an editor element extended with an instance-emitting method.
@@ -319,7 +313,7 @@ function getExtendedEditorElement(children, editorCache) {
319
313
  if (!editorElement) {
320
314
  return null;
321
315
  }
322
- return React__default["default"].cloneElement(editorElement, {
316
+ return React.cloneElement(editorElement, {
323
317
  emitEditorInstance: function emitEditorInstance(editorInstance, editorColumnScope) {
324
318
  if (!editorCache.get(editorClass)) {
325
319
  editorCache.set(editorClass, new Map());
@@ -353,11 +347,11 @@ function createPortal(rElement, props) {
353
347
  }
354
348
  var portalContainer = cachedContainer !== null && cachedContainer !== void 0 ? cachedContainer : ownerDocument.createElement('DIV');
355
349
  bulkComponentContainer.appendChild(portalContainer);
356
- var extendedRendererElement = React__default["default"].cloneElement(rElement, _objectSpread2({
350
+ var extendedRendererElement = React.cloneElement(rElement, _objectSpread2({
357
351
  key: "".concat(props.row, "-").concat(props.col)
358
352
  }, props));
359
353
  return {
360
- portal: ReactDOM__default["default"].createPortal(extendedRendererElement, portalContainer, portalKey),
354
+ portal: ReactDOM.createPortal(extendedRendererElement, portalContainer, portalKey),
361
355
  portalContainer: portalContainer
362
356
  };
363
357
  }
@@ -391,7 +385,7 @@ var SettingsMapper = /*#__PURE__*/function () {
391
385
  function SettingsMapper() {
392
386
  _classCallCheck(this, SettingsMapper);
393
387
  }
394
- _createClass(SettingsMapper, null, [{
388
+ return _createClass(SettingsMapper, null, [{
395
389
  key: "getSettings",
396
390
  value:
397
391
  /**
@@ -418,16 +412,15 @@ var SettingsMapper = /*#__PURE__*/function () {
418
412
  return newSettings;
419
413
  }
420
414
  }]);
421
- return SettingsMapper;
422
415
  }();
423
416
 
424
417
  var HotColumn = /*#__PURE__*/function (_React$Component) {
425
- _inherits(HotColumn, _React$Component);
426
418
  function HotColumn() {
427
419
  _classCallCheck(this, HotColumn);
428
420
  return _callSuper(this, HotColumn, arguments);
429
421
  }
430
- _createClass(HotColumn, [{
422
+ _inherits(HotColumn, _React$Component);
423
+ return _createClass(HotColumn, [{
431
424
  key: "getSettingsProps",
432
425
  value:
433
426
  /**
@@ -513,17 +506,15 @@ var HotColumn = /*#__PURE__*/function (_React$Component) {
513
506
  value: function render() {
514
507
  var ownerDocument = this.props._getOwnerDocument();
515
508
  var editorPortal = createEditorPortal(ownerDocument, this.getLocalEditorElement());
516
- return React__default["default"].createElement(React__default["default"].Fragment, null, editorPortal);
509
+ return React.createElement(React.Fragment, null, editorPortal);
517
510
  }
518
511
  }]);
519
- return HotColumn;
520
- }(React__default["default"].Component);
512
+ }(React.Component);
521
513
 
522
514
  /**
523
515
  * Component class used to manage the renderer component portals.
524
516
  */
525
517
  var RenderersPortalManager = /*#__PURE__*/function (_React$Component) {
526
- _inherits(RenderersPortalManager, _React$Component);
527
518
  function RenderersPortalManager() {
528
519
  var _this;
529
520
  _classCallCheck(this, RenderersPortalManager);
@@ -533,16 +524,16 @@ var RenderersPortalManager = /*#__PURE__*/function (_React$Component) {
533
524
  };
534
525
  return _this;
535
526
  }
536
- _createClass(RenderersPortalManager, [{
527
+ _inherits(RenderersPortalManager, _React$Component);
528
+ return _createClass(RenderersPortalManager, [{
537
529
  key: "render",
538
530
  value: function render() {
539
- return React__default["default"].createElement(React__default["default"].Fragment, null, this.state.portals);
531
+ return React.createElement(React.Fragment, null, this.state.portals);
540
532
  }
541
533
  }]);
542
- return RenderersPortalManager;
543
- }(React__default["default"].Component);
534
+ }(React.Component);
544
535
 
545
- var version="14.2.0";
536
+ var version="14.3.0-next-3fa6b18-20240410";
546
537
 
547
538
  function createCommonjsModule(fn, module) {
548
539
  return module = { exports: {} }, fn(module, module.exports), module.exports;
@@ -556,6 +547,7 @@ function createCommonjsModule(fn, module) {
556
547
  * This source code is licensed under the MIT license found in the
557
548
  * LICENSE file in the root directory of this source tree.
558
549
  */
550
+
559
551
  var b = "function" === typeof Symbol && Symbol["for"],
560
552
  c = b ? Symbol["for"]("react.element") : 60103,
561
553
  d = b ? Symbol["for"]("react.portal") : 60106,
@@ -737,6 +729,7 @@ object-assign
737
729
  @license MIT
738
730
  */
739
731
 
732
+
740
733
  /* eslint-disable no-unused-vars */
741
734
  var getOwnPropertySymbols = Object.getOwnPropertySymbols;
742
735
  var hasOwnProperty = Object.prototype.hasOwnProperty;
@@ -818,6 +811,7 @@ shouldUseNative() ? Object.assign : function (target, source) {
818
811
  * LICENSE file in the root directory of this source tree.
819
812
  */
820
813
 
814
+
821
815
  var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
822
816
  var ReactPropTypesSecret_1 = ReactPropTypesSecret;
823
817
 
@@ -883,7 +877,6 @@ var propTypes = createCommonjsModule(function (module) {
883
877
  module.exports = factoryWithThrowingShims();
884
878
  }
885
879
  });
886
- var PropTypes = propTypes;
887
880
 
888
881
  /**
889
882
  * A Handsontable-ReactJS wrapper.
@@ -908,7 +901,6 @@ var PropTypes = propTypes;
908
901
  * @class HotTableCB
909
902
  */
910
903
  var HotTableClass = /*#__PURE__*/function (_React$Component) {
911
- _inherits(HotTableClass, _React$Component);
912
904
  function HotTableClass() {
913
905
  var _this;
914
906
  _classCallCheck(this, HotTableClass);
@@ -985,7 +977,8 @@ var HotTableClass = /*#__PURE__*/function (_React$Component) {
985
977
  *
986
978
  * @returns The version number of the package.
987
979
  */
988
- _createClass(HotTableClass, [{
980
+ _inherits(HotTableClass, _React$Component);
981
+ return _createClass(HotTableClass, [{
989
982
  key: "hotInstance",
990
983
  get:
991
984
  /**
@@ -1147,16 +1140,16 @@ var HotTableClass = /*#__PURE__*/function (_React$Component) {
1147
1140
  key: "makeEditorClass",
1148
1141
  value: function makeEditorClass(editorComponent) {
1149
1142
  var customEditorClass = /*#__PURE__*/function (_Handsontable$editors) {
1150
- _inherits(CustomEditor, _Handsontable$editors);
1151
1143
  function CustomEditor(hotInstance) {
1152
1144
  var _this2;
1153
1145
  _classCallCheck(this, CustomEditor);
1154
1146
  _this2 = _callSuper(this, CustomEditor, [hotInstance]);
1155
- editorComponent.hotCustomEditorInstance = _assertThisInitialized(_this2);
1147
+ editorComponent.hotCustomEditorInstance = _this2;
1156
1148
  _this2.editorComponent = editorComponent;
1157
1149
  return _this2;
1158
1150
  }
1159
- _createClass(CustomEditor, [{
1151
+ _inherits(CustomEditor, _Handsontable$editors);
1152
+ return _createClass(CustomEditor, [{
1160
1153
  key: "focus",
1161
1154
  value: function focus() {}
1162
1155
  }, {
@@ -1172,10 +1165,9 @@ var HotTableClass = /*#__PURE__*/function (_React$Component) {
1172
1165
  key: "close",
1173
1166
  value: function close() {}
1174
1167
  }]);
1175
- return CustomEditor;
1176
- }(Handsontable__default["default"].editors.BaseEditor);
1168
+ }(Handsontable.editors.BaseEditor);
1177
1169
  // Fill with the rest of the BaseEditor methods
1178
- Object.getOwnPropertyNames(Handsontable__default["default"].editors.BaseEditor.prototype).forEach(function (propName) {
1170
+ Object.getOwnPropertyNames(Handsontable.editors.BaseEditor.prototype).forEach(function (propName) {
1179
1171
  if (propName === 'constructor') {
1180
1172
  return;
1181
1173
  }
@@ -1325,7 +1317,7 @@ var HotTableClass = /*#__PURE__*/function (_React$Component) {
1325
1317
  value: function componentDidMount() {
1326
1318
  var _this3 = this;
1327
1319
  var newGlobalSettings = this.createNewGlobalSettings();
1328
- this.hotInstance = new Handsontable__default["default"].Core(this.hotElementRef, newGlobalSettings);
1320
+ this.hotInstance = new Handsontable.Core(this.hotElementRef, newGlobalSettings);
1329
1321
  this.hotInstance.addHook('beforeViewRender', function () {
1330
1322
  return _this3.handsontableBeforeViewRender();
1331
1323
  });
@@ -1368,12 +1360,12 @@ var HotTableClass = /*#__PURE__*/function (_React$Component) {
1368
1360
  var isHotColumn = function isHotColumn(childNode) {
1369
1361
  return childNode.type === HotColumn;
1370
1362
  };
1371
- var children = React__default["default"].Children.toArray(this.props.children);
1363
+ var children = React.Children.toArray(this.props.children);
1372
1364
  // clone the HotColumn nodes and extend them with the callbacks
1373
1365
  var hotColumnClones = children.filter(function (childNode) {
1374
1366
  return isHotColumn(childNode);
1375
1367
  }).map(function (childNode, columnIndex) {
1376
- return React__default["default"].cloneElement(childNode, {
1368
+ return React.cloneElement(childNode, {
1377
1369
  _componentRendererColumns: _this4.componentRendererColumns,
1378
1370
  _emitColumnSettings: _this4.setHotColumnSettings.bind(_this4),
1379
1371
  _columnIndex: columnIndex,
@@ -1387,9 +1379,9 @@ var HotTableClass = /*#__PURE__*/function (_React$Component) {
1387
1379
  });
1388
1380
  var containerProps = getContainerAttributesProps(this.props);
1389
1381
  var editorPortal = createEditorPortal(this.getOwnerDocument(), this.getGlobalEditorElement());
1390
- return React__default["default"].createElement(React__default["default"].Fragment, null, React__default["default"].createElement("div", Object.assign({
1382
+ return React.createElement(React.Fragment, null, React.createElement("div", Object.assign({
1391
1383
  ref: this.setHotElementRef.bind(this)
1392
- }, containerProps), hotColumnClones), React__default["default"].createElement(RenderersPortalManager, {
1384
+ }, containerProps), hotColumnClones), React.createElement(RenderersPortalManager, {
1393
1385
  ref: this.setRenderersPortalManagerRef.bind(this)
1394
1386
  }), editorPortal);
1395
1387
  }
@@ -1399,26 +1391,25 @@ var HotTableClass = /*#__PURE__*/function (_React$Component) {
1399
1391
  return version;
1400
1392
  }
1401
1393
  }]);
1402
- return HotTableClass;
1403
- }(React__default["default"].Component);
1394
+ }(React.Component);
1404
1395
  /**
1405
1396
  * Prop types to be checked at runtime.
1406
1397
  */
1407
1398
  HotTableClass.propTypes = {
1408
- style: PropTypes.object,
1409
- id: PropTypes.string,
1410
- className: PropTypes.string
1399
+ style: propTypes.object,
1400
+ id: propTypes.string,
1401
+ className: propTypes.string
1411
1402
  };
1412
1403
 
1413
1404
  var _excluded = ["children"];
1414
1405
  // Use global React variable for `forwardRef` access (React 16 support)
1415
- var HotTable = React__default["default"].forwardRef(function (_ref, ref) {
1406
+ var HotTable = React.forwardRef(function (_ref, ref) {
1416
1407
  var _props$id;
1417
1408
  var children = _ref.children,
1418
1409
  props = _objectWithoutProperties(_ref, _excluded);
1419
- var generatedId = typeof React__default["default"].useId === 'function' ? React__default["default"].useId() : undefined;
1410
+ var generatedId = typeof React.useId === 'function' ? React.useId() : undefined;
1420
1411
  var componentId = (_props$id = props.id) !== null && _props$id !== void 0 ? _props$id : generatedId;
1421
- return React__default["default"].createElement(HotTableClass, Object.assign({
1412
+ return React.createElement(HotTableClass, Object.assign({
1422
1413
  id: componentId
1423
1414
  }, props, {
1424
1415
  ref: ref
@@ -1427,7 +1418,6 @@ var HotTable = React__default["default"].forwardRef(function (_ref, ref) {
1427
1418
  HotTable.version = HotTableClass.version;
1428
1419
 
1429
1420
  var BaseEditorComponent = /*#__PURE__*/function (_React$Component) {
1430
- _inherits(BaseEditorComponent, _React$Component);
1431
1421
  function BaseEditorComponent() {
1432
1422
  var _this;
1433
1423
  _classCallCheck(this, BaseEditorComponent);
@@ -1446,7 +1436,8 @@ var BaseEditorComponent = /*#__PURE__*/function (_React$Component) {
1446
1436
  _this.hot = null;
1447
1437
  return _this;
1448
1438
  }
1449
- _createClass(BaseEditorComponent, [{
1439
+ _inherits(BaseEditorComponent, _React$Component);
1440
+ return _createClass(BaseEditorComponent, [{
1450
1441
  key: "componentDidMount",
1451
1442
  value: function componentDidMount() {
1452
1443
  if (this.props.emitEditorInstance) {
@@ -1468,7 +1459,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_React$Component) {
1468
1459
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
1469
1460
  args[_key] = arguments[_key];
1470
1461
  }
1471
- (_Handsontable$editors = Handsontable__default["default"].editors.BaseEditor.prototype._fireCallbacks).call.apply(_Handsontable$editors, [this.hotCustomEditorInstance].concat(args));
1462
+ (_Handsontable$editors = Handsontable.editors.BaseEditor.prototype._fireCallbacks).call.apply(_Handsontable$editors, [this.hotCustomEditorInstance].concat(args));
1472
1463
  }
1473
1464
  }, {
1474
1465
  key: "beginEditing",
@@ -1477,7 +1468,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_React$Component) {
1477
1468
  for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
1478
1469
  args[_key2] = arguments[_key2];
1479
1470
  }
1480
- return (_Handsontable$editors2 = Handsontable__default["default"].editors.BaseEditor.prototype.beginEditing).call.apply(_Handsontable$editors2, [this.hotCustomEditorInstance].concat(args));
1471
+ return (_Handsontable$editors2 = Handsontable.editors.BaseEditor.prototype.beginEditing).call.apply(_Handsontable$editors2, [this.hotCustomEditorInstance].concat(args));
1481
1472
  }
1482
1473
  }, {
1483
1474
  key: "cancelChanges",
@@ -1486,7 +1477,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_React$Component) {
1486
1477
  for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
1487
1478
  args[_key3] = arguments[_key3];
1488
1479
  }
1489
- return (_Handsontable$editors3 = Handsontable__default["default"].editors.BaseEditor.prototype.cancelChanges).call.apply(_Handsontable$editors3, [this.hotCustomEditorInstance].concat(args));
1480
+ return (_Handsontable$editors3 = Handsontable.editors.BaseEditor.prototype.cancelChanges).call.apply(_Handsontable$editors3, [this.hotCustomEditorInstance].concat(args));
1490
1481
  }
1491
1482
  }, {
1492
1483
  key: "checkEditorSection",
@@ -1495,7 +1486,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_React$Component) {
1495
1486
  for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
1496
1487
  args[_key4] = arguments[_key4];
1497
1488
  }
1498
- return (_Handsontable$editors4 = Handsontable__default["default"].editors.BaseEditor.prototype.checkEditorSection).call.apply(_Handsontable$editors4, [this.hotCustomEditorInstance].concat(args));
1489
+ return (_Handsontable$editors4 = Handsontable.editors.BaseEditor.prototype.checkEditorSection).call.apply(_Handsontable$editors4, [this.hotCustomEditorInstance].concat(args));
1499
1490
  }
1500
1491
  }, {
1501
1492
  key: "close",
@@ -1504,7 +1495,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_React$Component) {
1504
1495
  for (var _len5 = arguments.length, args = new Array(_len5), _key5 = 0; _key5 < _len5; _key5++) {
1505
1496
  args[_key5] = arguments[_key5];
1506
1497
  }
1507
- return (_Handsontable$editors5 = Handsontable__default["default"].editors.BaseEditor.prototype.close).call.apply(_Handsontable$editors5, [this.hotCustomEditorInstance].concat(args));
1498
+ return (_Handsontable$editors5 = Handsontable.editors.BaseEditor.prototype.close).call.apply(_Handsontable$editors5, [this.hotCustomEditorInstance].concat(args));
1508
1499
  }
1509
1500
  }, {
1510
1501
  key: "discardEditor",
@@ -1513,7 +1504,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_React$Component) {
1513
1504
  for (var _len6 = arguments.length, args = new Array(_len6), _key6 = 0; _key6 < _len6; _key6++) {
1514
1505
  args[_key6] = arguments[_key6];
1515
1506
  }
1516
- return (_Handsontable$editors6 = Handsontable__default["default"].editors.BaseEditor.prototype.discardEditor).call.apply(_Handsontable$editors6, [this.hotCustomEditorInstance].concat(args));
1507
+ return (_Handsontable$editors6 = Handsontable.editors.BaseEditor.prototype.discardEditor).call.apply(_Handsontable$editors6, [this.hotCustomEditorInstance].concat(args));
1517
1508
  }
1518
1509
  }, {
1519
1510
  key: "enableFullEditMode",
@@ -1522,7 +1513,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_React$Component) {
1522
1513
  for (var _len7 = arguments.length, args = new Array(_len7), _key7 = 0; _key7 < _len7; _key7++) {
1523
1514
  args[_key7] = arguments[_key7];
1524
1515
  }
1525
- return (_Handsontable$editors7 = Handsontable__default["default"].editors.BaseEditor.prototype.enableFullEditMode).call.apply(_Handsontable$editors7, [this.hotCustomEditorInstance].concat(args));
1516
+ return (_Handsontable$editors7 = Handsontable.editors.BaseEditor.prototype.enableFullEditMode).call.apply(_Handsontable$editors7, [this.hotCustomEditorInstance].concat(args));
1526
1517
  }
1527
1518
  }, {
1528
1519
  key: "extend",
@@ -1531,7 +1522,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_React$Component) {
1531
1522
  for (var _len8 = arguments.length, args = new Array(_len8), _key8 = 0; _key8 < _len8; _key8++) {
1532
1523
  args[_key8] = arguments[_key8];
1533
1524
  }
1534
- return (_Handsontable$editors8 = Handsontable__default["default"].editors.BaseEditor.prototype.extend).call.apply(_Handsontable$editors8, [this.hotCustomEditorInstance].concat(args));
1525
+ return (_Handsontable$editors8 = Handsontable.editors.BaseEditor.prototype.extend).call.apply(_Handsontable$editors8, [this.hotCustomEditorInstance].concat(args));
1535
1526
  }
1536
1527
  }, {
1537
1528
  key: "finishEditing",
@@ -1540,7 +1531,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_React$Component) {
1540
1531
  for (var _len9 = arguments.length, args = new Array(_len9), _key9 = 0; _key9 < _len9; _key9++) {
1541
1532
  args[_key9] = arguments[_key9];
1542
1533
  }
1543
- return (_Handsontable$editors9 = Handsontable__default["default"].editors.BaseEditor.prototype.finishEditing).call.apply(_Handsontable$editors9, [this.hotCustomEditorInstance].concat(args));
1534
+ return (_Handsontable$editors9 = Handsontable.editors.BaseEditor.prototype.finishEditing).call.apply(_Handsontable$editors9, [this.hotCustomEditorInstance].concat(args));
1544
1535
  }
1545
1536
  }, {
1546
1537
  key: "focus",
@@ -1549,7 +1540,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_React$Component) {
1549
1540
  for (var _len10 = arguments.length, args = new Array(_len10), _key10 = 0; _key10 < _len10; _key10++) {
1550
1541
  args[_key10] = arguments[_key10];
1551
1542
  }
1552
- return (_Handsontable$editors10 = Handsontable__default["default"].editors.BaseEditor.prototype.focus).call.apply(_Handsontable$editors10, [this.hotCustomEditorInstance].concat(args));
1543
+ return (_Handsontable$editors10 = Handsontable.editors.BaseEditor.prototype.focus).call.apply(_Handsontable$editors10, [this.hotCustomEditorInstance].concat(args));
1553
1544
  }
1554
1545
  }, {
1555
1546
  key: "getValue",
@@ -1558,7 +1549,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_React$Component) {
1558
1549
  for (var _len11 = arguments.length, args = new Array(_len11), _key11 = 0; _key11 < _len11; _key11++) {
1559
1550
  args[_key11] = arguments[_key11];
1560
1551
  }
1561
- return (_Handsontable$editors11 = Handsontable__default["default"].editors.BaseEditor.prototype.getValue).call.apply(_Handsontable$editors11, [this.hotCustomEditorInstance].concat(args));
1552
+ return (_Handsontable$editors11 = Handsontable.editors.BaseEditor.prototype.getValue).call.apply(_Handsontable$editors11, [this.hotCustomEditorInstance].concat(args));
1562
1553
  }
1563
1554
  }, {
1564
1555
  key: "init",
@@ -1567,7 +1558,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_React$Component) {
1567
1558
  for (var _len12 = arguments.length, args = new Array(_len12), _key12 = 0; _key12 < _len12; _key12++) {
1568
1559
  args[_key12] = arguments[_key12];
1569
1560
  }
1570
- return (_Handsontable$editors12 = Handsontable__default["default"].editors.BaseEditor.prototype.init).call.apply(_Handsontable$editors12, [this.hotCustomEditorInstance].concat(args));
1561
+ return (_Handsontable$editors12 = Handsontable.editors.BaseEditor.prototype.init).call.apply(_Handsontable$editors12, [this.hotCustomEditorInstance].concat(args));
1571
1562
  }
1572
1563
  }, {
1573
1564
  key: "isInFullEditMode",
@@ -1576,7 +1567,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_React$Component) {
1576
1567
  for (var _len13 = arguments.length, args = new Array(_len13), _key13 = 0; _key13 < _len13; _key13++) {
1577
1568
  args[_key13] = arguments[_key13];
1578
1569
  }
1579
- return (_Handsontable$editors13 = Handsontable__default["default"].editors.BaseEditor.prototype.isInFullEditMode).call.apply(_Handsontable$editors13, [this.hotCustomEditorInstance].concat(args));
1570
+ return (_Handsontable$editors13 = Handsontable.editors.BaseEditor.prototype.isInFullEditMode).call.apply(_Handsontable$editors13, [this.hotCustomEditorInstance].concat(args));
1580
1571
  }
1581
1572
  }, {
1582
1573
  key: "isOpened",
@@ -1585,7 +1576,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_React$Component) {
1585
1576
  for (var _len14 = arguments.length, args = new Array(_len14), _key14 = 0; _key14 < _len14; _key14++) {
1586
1577
  args[_key14] = arguments[_key14];
1587
1578
  }
1588
- return (_Handsontable$editors14 = Handsontable__default["default"].editors.BaseEditor.prototype.isOpened).call.apply(_Handsontable$editors14, [this.hotCustomEditorInstance].concat(args));
1579
+ return (_Handsontable$editors14 = Handsontable.editors.BaseEditor.prototype.isOpened).call.apply(_Handsontable$editors14, [this.hotCustomEditorInstance].concat(args));
1589
1580
  }
1590
1581
  }, {
1591
1582
  key: "isWaiting",
@@ -1594,7 +1585,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_React$Component) {
1594
1585
  for (var _len15 = arguments.length, args = new Array(_len15), _key15 = 0; _key15 < _len15; _key15++) {
1595
1586
  args[_key15] = arguments[_key15];
1596
1587
  }
1597
- return (_Handsontable$editors15 = Handsontable__default["default"].editors.BaseEditor.prototype.isWaiting).call.apply(_Handsontable$editors15, [this.hotCustomEditorInstance].concat(args));
1588
+ return (_Handsontable$editors15 = Handsontable.editors.BaseEditor.prototype.isWaiting).call.apply(_Handsontable$editors15, [this.hotCustomEditorInstance].concat(args));
1598
1589
  }
1599
1590
  }, {
1600
1591
  key: "open",
@@ -1603,7 +1594,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_React$Component) {
1603
1594
  for (var _len16 = arguments.length, args = new Array(_len16), _key16 = 0; _key16 < _len16; _key16++) {
1604
1595
  args[_key16] = arguments[_key16];
1605
1596
  }
1606
- return (_Handsontable$editors16 = Handsontable__default["default"].editors.BaseEditor.prototype.open).call.apply(_Handsontable$editors16, [this.hotCustomEditorInstance].concat(args));
1597
+ return (_Handsontable$editors16 = Handsontable.editors.BaseEditor.prototype.open).call.apply(_Handsontable$editors16, [this.hotCustomEditorInstance].concat(args));
1607
1598
  }
1608
1599
  }, {
1609
1600
  key: "prepare",
@@ -1615,7 +1606,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_React$Component) {
1615
1606
  this.TD = TD;
1616
1607
  this.originalValue = originalValue;
1617
1608
  this.cellProperties = cellProperties;
1618
- return Handsontable__default["default"].editors.BaseEditor.prototype.prepare.call(this.hotCustomEditorInstance, row, col, prop, TD, originalValue, cellProperties);
1609
+ return Handsontable.editors.BaseEditor.prototype.prepare.call(this.hotCustomEditorInstance, row, col, prop, TD, originalValue, cellProperties);
1619
1610
  }
1620
1611
  }, {
1621
1612
  key: "saveValue",
@@ -1624,7 +1615,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_React$Component) {
1624
1615
  for (var _len17 = arguments.length, args = new Array(_len17), _key17 = 0; _key17 < _len17; _key17++) {
1625
1616
  args[_key17] = arguments[_key17];
1626
1617
  }
1627
- return (_Handsontable$editors17 = Handsontable__default["default"].editors.BaseEditor.prototype.saveValue).call.apply(_Handsontable$editors17, [this.hotCustomEditorInstance].concat(args));
1618
+ return (_Handsontable$editors17 = Handsontable.editors.BaseEditor.prototype.saveValue).call.apply(_Handsontable$editors17, [this.hotCustomEditorInstance].concat(args));
1628
1619
  }
1629
1620
  }, {
1630
1621
  key: "setValue",
@@ -1633,7 +1624,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_React$Component) {
1633
1624
  for (var _len18 = arguments.length, args = new Array(_len18), _key18 = 0; _key18 < _len18; _key18++) {
1634
1625
  args[_key18] = arguments[_key18];
1635
1626
  }
1636
- return (_Handsontable$editors18 = Handsontable__default["default"].editors.BaseEditor.prototype.setValue).call.apply(_Handsontable$editors18, [this.hotCustomEditorInstance].concat(args));
1627
+ return (_Handsontable$editors18 = Handsontable.editors.BaseEditor.prototype.setValue).call.apply(_Handsontable$editors18, [this.hotCustomEditorInstance].concat(args));
1637
1628
  }
1638
1629
  }, {
1639
1630
  key: "addHook",
@@ -1642,7 +1633,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_React$Component) {
1642
1633
  for (var _len19 = arguments.length, args = new Array(_len19), _key19 = 0; _key19 < _len19; _key19++) {
1643
1634
  args[_key19] = arguments[_key19];
1644
1635
  }
1645
- return (_Handsontable$editors19 = Handsontable__default["default"].editors.BaseEditor.prototype.addHook).call.apply(_Handsontable$editors19, [this.hotCustomEditorInstance].concat(args));
1636
+ return (_Handsontable$editors19 = Handsontable.editors.BaseEditor.prototype.addHook).call.apply(_Handsontable$editors19, [this.hotCustomEditorInstance].concat(args));
1646
1637
  }
1647
1638
  }, {
1648
1639
  key: "removeHooksByKey",
@@ -1651,7 +1642,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_React$Component) {
1651
1642
  for (var _len20 = arguments.length, args = new Array(_len20), _key20 = 0; _key20 < _len20; _key20++) {
1652
1643
  args[_key20] = arguments[_key20];
1653
1644
  }
1654
- return (_Handsontable$editors20 = Handsontable__default["default"].editors.BaseEditor.prototype.removeHooksByKey).call.apply(_Handsontable$editors20, [this.hotCustomEditorInstance].concat(args));
1645
+ return (_Handsontable$editors20 = Handsontable.editors.BaseEditor.prototype.removeHooksByKey).call.apply(_Handsontable$editors20, [this.hotCustomEditorInstance].concat(args));
1655
1646
  }
1656
1647
  }, {
1657
1648
  key: "clearHooks",
@@ -1660,7 +1651,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_React$Component) {
1660
1651
  for (var _len21 = arguments.length, args = new Array(_len21), _key21 = 0; _key21 < _len21; _key21++) {
1661
1652
  args[_key21] = arguments[_key21];
1662
1653
  }
1663
- return (_Handsontable$editors21 = Handsontable__default["default"].editors.BaseEditor.prototype.clearHooks).call.apply(_Handsontable$editors21, [this.hotCustomEditorInstance].concat(args));
1654
+ return (_Handsontable$editors21 = Handsontable.editors.BaseEditor.prototype.clearHooks).call.apply(_Handsontable$editors21, [this.hotCustomEditorInstance].concat(args));
1664
1655
  }
1665
1656
  }, {
1666
1657
  key: "getEditedCell",
@@ -1669,7 +1660,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_React$Component) {
1669
1660
  for (var _len22 = arguments.length, args = new Array(_len22), _key22 = 0; _key22 < _len22; _key22++) {
1670
1661
  args[_key22] = arguments[_key22];
1671
1662
  }
1672
- return (_Handsontable$editors22 = Handsontable__default["default"].editors.BaseEditor.prototype.getEditedCell).call.apply(_Handsontable$editors22, [this.hotCustomEditorInstance].concat(args));
1663
+ return (_Handsontable$editors22 = Handsontable.editors.BaseEditor.prototype.getEditedCell).call.apply(_Handsontable$editors22, [this.hotCustomEditorInstance].concat(args));
1673
1664
  }
1674
1665
  }, {
1675
1666
  key: "getEditedCellRect",
@@ -1678,7 +1669,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_React$Component) {
1678
1669
  for (var _len23 = arguments.length, args = new Array(_len23), _key23 = 0; _key23 < _len23; _key23++) {
1679
1670
  args[_key23] = arguments[_key23];
1680
1671
  }
1681
- return (_Handsontable$editors23 = Handsontable__default["default"].editors.BaseEditor.prototype.getEditedCellRect).call.apply(_Handsontable$editors23, [this.hotCustomEditorInstance].concat(args));
1672
+ return (_Handsontable$editors23 = Handsontable.editors.BaseEditor.prototype.getEditedCellRect).call.apply(_Handsontable$editors23, [this.hotCustomEditorInstance].concat(args));
1682
1673
  }
1683
1674
  }, {
1684
1675
  key: "getEditedCellsZIndex",
@@ -1687,17 +1678,16 @@ var BaseEditorComponent = /*#__PURE__*/function (_React$Component) {
1687
1678
  for (var _len24 = arguments.length, args = new Array(_len24), _key24 = 0; _key24 < _len24; _key24++) {
1688
1679
  args[_key24] = arguments[_key24];
1689
1680
  }
1690
- return (_Handsontable$editors24 = Handsontable__default["default"].editors.BaseEditor.prototype.getEditedCellsZIndex).call.apply(_Handsontable$editors24, [this.hotCustomEditorInstance].concat(args));
1681
+ return (_Handsontable$editors24 = Handsontable.editors.BaseEditor.prototype.getEditedCellsZIndex).call.apply(_Handsontable$editors24, [this.hotCustomEditorInstance].concat(args));
1691
1682
  }
1692
1683
  }]);
1693
- return BaseEditorComponent;
1694
- }(React__default["default"].Component);
1684
+ }(React.Component);
1695
1685
 
1696
1686
  exports.BaseEditorComponent = BaseEditorComponent;
1697
1687
  exports.HotColumn = HotColumn;
1698
1688
  exports.HotTable = HotTable;
1699
1689
  exports.HotTableClass = HotTableClass;
1700
- exports["default"] = HotTable;
1690
+ exports.default = HotTable;
1701
1691
 
1702
1692
  Object.defineProperty(exports, '__esModule', { value: true });
1703
1693