@handsontable/react 9.0.2 → 11.1.0

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.
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var React = require('react');
6
6
  var ReactDOM = require('react-dom');
7
- var Handsontable = require('handsontable');
7
+ var Handsontable = require('handsontable/base');
8
8
 
9
9
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
10
10
 
@@ -17,14 +17,9 @@ function ownKeys(object, enumerableOnly) {
17
17
 
18
18
  if (Object.getOwnPropertySymbols) {
19
19
  var symbols = Object.getOwnPropertySymbols(object);
20
-
21
- if (enumerableOnly) {
22
- symbols = symbols.filter(function (sym) {
23
- return Object.getOwnPropertyDescriptor(object, sym).enumerable;
24
- });
25
- }
26
-
27
- keys.push.apply(keys, symbols);
20
+ enumerableOnly && (symbols = symbols.filter(function (sym) {
21
+ return Object.getOwnPropertyDescriptor(object, sym).enumerable;
22
+ })), keys.push.apply(keys, symbols);
28
23
  }
29
24
 
30
25
  return keys;
@@ -32,19 +27,12 @@ function ownKeys(object, enumerableOnly) {
32
27
 
33
28
  function _objectSpread2(target) {
34
29
  for (var i = 1; i < arguments.length; i++) {
35
- var source = arguments[i] != null ? arguments[i] : {};
36
-
37
- if (i % 2) {
38
- ownKeys(Object(source), true).forEach(function (key) {
39
- _defineProperty(target, key, source[key]);
40
- });
41
- } else if (Object.getOwnPropertyDescriptors) {
42
- Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
43
- } else {
44
- ownKeys(Object(source)).forEach(function (key) {
45
- Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
46
- });
47
- }
30
+ var source = null != arguments[i] ? arguments[i] : {};
31
+ i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {
32
+ _defineProperty(target, key, source[key]);
33
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {
34
+ Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
35
+ });
48
36
  }
49
37
 
50
38
  return target;
@@ -53,17 +41,11 @@ function _objectSpread2(target) {
53
41
  function _typeof(obj) {
54
42
  "@babel/helpers - typeof";
55
43
 
56
- if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
57
- _typeof = function (obj) {
58
- return typeof obj;
59
- };
60
- } else {
61
- _typeof = function (obj) {
62
- return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
63
- };
64
- }
65
-
66
- return _typeof(obj);
44
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
45
+ return typeof obj;
46
+ } : function (obj) {
47
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
48
+ }, _typeof(obj);
67
49
  }
68
50
 
69
51
  function _classCallCheck(instance, Constructor) {
@@ -85,6 +67,9 @@ function _defineProperties(target, props) {
85
67
  function _createClass(Constructor, protoProps, staticProps) {
86
68
  if (protoProps) _defineProperties(Constructor.prototype, protoProps);
87
69
  if (staticProps) _defineProperties(Constructor, staticProps);
70
+ Object.defineProperty(Constructor, "prototype", {
71
+ writable: false
72
+ });
88
73
  return Constructor;
89
74
  }
90
75
 
@@ -115,6 +100,9 @@ function _inherits(subClass, superClass) {
115
100
  configurable: true
116
101
  }
117
102
  });
103
+ Object.defineProperty(subClass, "prototype", {
104
+ writable: false
105
+ });
118
106
  if (superClass) _setPrototypeOf(subClass, superClass);
119
107
  }
120
108
 
@@ -158,6 +146,8 @@ function _assertThisInitialized(self) {
158
146
  function _possibleConstructorReturn(self, call) {
159
147
  if (call && (typeof call === "object" || typeof call === "function")) {
160
148
  return call;
149
+ } else if (call !== void 0) {
150
+ throw new TypeError("Derived constructors may only return object or undefined");
161
151
  }
162
152
 
163
153
  return _assertThisInitialized(self);
@@ -193,6 +183,11 @@ var AUTOSIZE_WARNING = 'Your `HotTable` configuration includes `autoRowSize`/`au
193
183
  */
194
184
 
195
185
  var HOT_DESTROYED_WARNING = 'The Handsontable instance bound to this component was destroyed and cannot be' + ' used properly.';
186
+ /**
187
+ * String identifier for the global-scoped editor components.
188
+ */
189
+
190
+ var GLOBAL_EDITOR_SCOPE = 'global';
196
191
  /**
197
192
  * Default classname given to the wrapper container.
198
193
  */
@@ -220,8 +215,8 @@ function warn() {
220
215
  */
221
216
 
222
217
  function getChildElementByType(children, type) {
223
- var childrenArray = React__default['default'].Children.toArray(children);
224
- var childrenCount = React__default['default'].Children.count(children);
218
+ var childrenArray = React__default["default"].Children.toArray(children);
219
+ var childrenCount = React__default["default"].Children.count(children);
225
220
  var wantedChild = null;
226
221
 
227
222
  if (childrenCount !== 0) {
@@ -300,17 +295,20 @@ function createEditorPortal() {
300
295
  }
301
296
 
302
297
  doc.body.appendChild(editorContainer);
303
- return ReactDOM__default['default'].createPortal(editorElement, editorContainer);
298
+ return ReactDOM__default["default"].createPortal(editorElement, editorContainer);
304
299
  }
305
300
  /**
306
301
  * Get an editor element extended with a instance-emitting method.
307
302
  *
308
303
  * @param {React.ReactNode} children Component children.
309
304
  * @param {Map} editorCache Component's editor cache.
305
+ * @param {string|number} [editorColumnScope] The editor scope (column index or a 'global' string). Defaults to
306
+ * 'global'.
310
307
  * @returns {React.ReactElement} An editor element containing the additional methods.
311
308
  */
312
309
 
313
310
  function getExtendedEditorElement(children, editorCache) {
311
+ var editorColumnScope = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : GLOBAL_EDITOR_SCOPE;
314
312
  var editorElement = getChildElementByType(children, 'hot-editor');
315
313
  var editorClass = getOriginalEditorClass(editorElement);
316
314
 
@@ -318,10 +316,16 @@ function getExtendedEditorElement(children, editorCache) {
318
316
  return null;
319
317
  }
320
318
 
321
- return React__default['default'].cloneElement(editorElement, {
322
- emitEditorInstance: function emitEditorInstance(editorInstance) {
323
- editorCache.set(editorClass, editorInstance);
319
+ return React__default["default"].cloneElement(editorElement, {
320
+ emitEditorInstance: function emitEditorInstance(editorInstance, editorColumnScope) {
321
+ if (!editorCache.get(editorClass)) {
322
+ editorCache.set(editorClass, new Map());
323
+ }
324
+
325
+ var cacheEntry = editorCache.get(editorClass);
326
+ cacheEntry.set(editorColumnScope !== null && editorColumnScope !== void 0 ? editorColumnScope : GLOBAL_EDITOR_SCOPE, editorInstance);
324
327
  },
328
+ editorColumnScope: editorColumnScope,
325
329
  isEditor: true
326
330
  });
327
331
  }
@@ -348,11 +352,11 @@ function createPortal(rElement, props, callback) {
348
352
 
349
353
  var portalContainer = ownerDocument.createElement('DIV');
350
354
  bulkComponentContainer.appendChild(portalContainer);
351
- var extendedRendererElement = React__default['default'].cloneElement(rElement, _objectSpread2({
355
+ var extendedRendererElement = React__default["default"].cloneElement(rElement, _objectSpread2({
352
356
  key: "".concat(props.row, "-").concat(props.col)
353
357
  }, props));
354
358
  return {
355
- portal: ReactDOM__default['default'].createPortal(extendedRendererElement, portalContainer, "".concat(props.row, "-").concat(props.col, "-").concat(Math.random())),
359
+ portal: ReactDOM__default["default"].createPortal(extendedRendererElement, portalContainer, "".concat(props.row, "-").concat(props.col, "-").concat(Math.random())),
356
360
  portalContainer: portalContainer
357
361
  };
358
362
  }
@@ -381,7 +385,7 @@ function getContainerAttributesProps(props) {
381
385
  */
382
386
 
383
387
  function addUnsafePrefixes(instance) {
384
- var reactSemverArray = React__default['default'].version.split('.').map(function (v) {
388
+ var reactSemverArray = React__default["default"].version.split('.').map(function (v) {
385
389
  return parseInt(v);
386
390
  });
387
391
  var shouldPrefix = reactSemverArray[0] >= 16 && reactSemverArray[1] >= 3;
@@ -525,7 +529,7 @@ var HotColumn = /*#__PURE__*/function (_React$Component) {
525
529
  }, {
526
530
  key: "getLocalEditorElement",
527
531
  value: function getLocalEditorElement() {
528
- return getExtendedEditorElement(this.props.children, this.props._getEditorCache());
532
+ return getExtendedEditorElement(this.props.children, this.props._getEditorCache(), this.props._columnIndex);
529
533
  }
530
534
  /**
531
535
  * Create the column settings based on the data provided to the `HotColumn` component and it's child components.
@@ -550,7 +554,7 @@ var HotColumn = /*#__PURE__*/function (_React$Component) {
550
554
  }
551
555
 
552
556
  if (editorElement !== null) {
553
- this.columnSettings.editor = this.props._getEditorClass(editorElement);
557
+ this.columnSettings.editor = this.props._getEditorClass(editorElement, this.props._columnIndex);
554
558
  } else if (this.hasProp('editor')) {
555
559
  this.columnSettings.editor = this.props.editor;
556
560
  } else {
@@ -570,7 +574,7 @@ var HotColumn = /*#__PURE__*/function (_React$Component) {
570
574
 
571
575
  var editorCache = this.props._getEditorCache();
572
576
 
573
- var localEditorElement = getExtendedEditorElement(children, editorCache);
577
+ var localEditorElement = getExtendedEditorElement(children, editorCache, this.props._columnIndex);
574
578
 
575
579
  if (localEditorElement) {
576
580
  this.setLocalEditorPortal(createEditorPortal(this.props._getOwnerDocument(), localEditorElement, editorCache));
@@ -638,12 +642,12 @@ var HotColumn = /*#__PURE__*/function (_React$Component) {
638
642
  }, {
639
643
  key: "render",
640
644
  value: function render() {
641
- return React__default['default'].createElement(React__default['default'].Fragment, null, this.getLocalEditorPortal());
645
+ return React__default["default"].createElement(React__default["default"].Fragment, null, this.getLocalEditorPortal());
642
646
  }
643
647
  }]);
644
648
 
645
649
  return HotColumn;
646
- }(React__default['default'].Component);
650
+ }(React__default["default"].Component);
647
651
 
648
652
  /**
649
653
  * Component class used to manage the renderer component portals.
@@ -669,14 +673,14 @@ var PortalManager = /*#__PURE__*/function (_React$Component) {
669
673
  _createClass(PortalManager, [{
670
674
  key: "render",
671
675
  value: function render() {
672
- return React__default['default'].createElement(React__default['default'].Fragment, null, this.state.portals);
676
+ return React__default["default"].createElement(React__default["default"].Fragment, null, this.state.portals);
673
677
  }
674
678
  }]);
675
679
 
676
680
  return PortalManager;
677
- }(React__default['default'].Component);
681
+ }(React__default["default"].Component);
678
682
 
679
- var version="9.0.2";
683
+ var version="11.1.0";
680
684
 
681
685
  function createCommonjsModule(fn, module) {
682
686
  return module = { exports: {} }, fn(module, module.exports), module.exports;
@@ -1174,12 +1178,14 @@ var objectAssign = shouldUseNative() ? Object.assign : function (target, source)
1174
1178
  var ReactPropTypesSecret$1 = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
1175
1179
  var ReactPropTypesSecret_1 = ReactPropTypesSecret$1;
1176
1180
 
1181
+ var has$1 = Function.call.bind(Object.prototype.hasOwnProperty);
1182
+
1177
1183
  var printWarning$1 = function printWarning() {};
1178
1184
 
1179
1185
  if (process.env.NODE_ENV !== 'production') {
1180
1186
  var ReactPropTypesSecret = ReactPropTypesSecret_1;
1181
1187
  var loggedTypeFailures = {};
1182
- var has$1 = Function.call.bind(Object.prototype.hasOwnProperty);
1188
+ var has = has$1;
1183
1189
 
1184
1190
  printWarning$1 = function printWarning(text) {
1185
1191
  var message = 'Warning: ' + text;
@@ -1193,7 +1199,9 @@ if (process.env.NODE_ENV !== 'production') {
1193
1199
  // This error was thrown as a convenience so that you can use this stack
1194
1200
  // to find the callsite that caused this warning to fire.
1195
1201
  throw new Error(message);
1196
- } catch (x) {}
1202
+ } catch (x) {
1203
+ /**/
1204
+ }
1197
1205
  };
1198
1206
  }
1199
1207
  /**
@@ -1212,7 +1220,7 @@ if (process.env.NODE_ENV !== 'production') {
1212
1220
  function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
1213
1221
  if (process.env.NODE_ENV !== 'production') {
1214
1222
  for (var typeSpecName in typeSpecs) {
1215
- if (has$1(typeSpecs, typeSpecName)) {
1223
+ if (has(typeSpecs, typeSpecName)) {
1216
1224
  var error; // Prop type validation may throw. In case they do, we don't want to
1217
1225
  // fail the render phase where it didn't fail before. So we log it.
1218
1226
  // After these have been cleaned up, we'll let them throw.
@@ -1221,7 +1229,7 @@ function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
1221
1229
  // This is intentionally an invariant that gets caught. It's the same
1222
1230
  // behavior as without this statement except with a better message.
1223
1231
  if (typeof typeSpecs[typeSpecName] !== 'function') {
1224
- var err = Error((componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' + 'it must be a function, usually from the `prop-types` package, but received `' + _typeof(typeSpecs[typeSpecName]) + '`.');
1232
+ var err = Error((componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' + 'it must be a function, usually from the `prop-types` package, but received `' + _typeof(typeSpecs[typeSpecName]) + '`.' + 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.');
1225
1233
  err.name = 'Invariant Violation';
1226
1234
  throw err;
1227
1235
  }
@@ -1261,8 +1269,6 @@ checkPropTypes.resetWarningCache = function () {
1261
1269
 
1262
1270
  var checkPropTypes_1 = checkPropTypes;
1263
1271
 
1264
- var has = Function.call.bind(Object.prototype.hasOwnProperty);
1265
-
1266
1272
  var printWarning = function printWarning() {};
1267
1273
 
1268
1274
  if (process.env.NODE_ENV !== 'production') {
@@ -1366,6 +1372,7 @@ var factoryWithTypeCheckers = function factoryWithTypeCheckers(isValidElement, t
1366
1372
 
1367
1373
  var ReactPropTypes = {
1368
1374
  array: createPrimitiveTypeChecker('array'),
1375
+ bigint: createPrimitiveTypeChecker('bigint'),
1369
1376
  bool: createPrimitiveTypeChecker('boolean'),
1370
1377
  func: createPrimitiveTypeChecker('function'),
1371
1378
  number: createPrimitiveTypeChecker('number'),
@@ -1413,8 +1420,9 @@ var factoryWithTypeCheckers = function factoryWithTypeCheckers(isValidElement, t
1413
1420
  */
1414
1421
 
1415
1422
 
1416
- function PropTypeError(message) {
1423
+ function PropTypeError(message, data) {
1417
1424
  this.message = message;
1425
+ this.data = data && _typeof(data) === 'object' ? data : {};
1418
1426
  this.stack = '';
1419
1427
  } // Make `instanceof Error` still work for returned errors.
1420
1428
 
@@ -1480,7 +1488,9 @@ var factoryWithTypeCheckers = function factoryWithTypeCheckers(isValidElement, t
1480
1488
  // check, but we can offer a more precise error message here rather than
1481
1489
  // 'of type `object`'.
1482
1490
  var preciseType = getPreciseType(propValue);
1483
- return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'));
1491
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'), {
1492
+ expectedType: expectedType
1493
+ });
1484
1494
  }
1485
1495
 
1486
1496
  return null;
@@ -1615,7 +1625,7 @@ var factoryWithTypeCheckers = function factoryWithTypeCheckers(isValidElement, t
1615
1625
  }
1616
1626
 
1617
1627
  for (var key in propValue) {
1618
- if (has(propValue, key)) {
1628
+ if (has$1(propValue, key)) {
1619
1629
  var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret_1);
1620
1630
 
1621
1631
  if (error instanceof Error) {
@@ -1646,15 +1656,23 @@ var factoryWithTypeCheckers = function factoryWithTypeCheckers(isValidElement, t
1646
1656
  }
1647
1657
 
1648
1658
  function validate(props, propName, componentName, location, propFullName) {
1659
+ var expectedTypes = [];
1660
+
1649
1661
  for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
1650
1662
  var checker = arrayOfTypeCheckers[i];
1663
+ var checkerResult = checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret_1);
1651
1664
 
1652
- if (checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret_1) == null) {
1665
+ if (checkerResult == null) {
1653
1666
  return null;
1654
1667
  }
1668
+
1669
+ if (checkerResult.data && has$1(checkerResult.data, 'expectedType')) {
1670
+ expectedTypes.push(checkerResult.data.expectedType);
1671
+ }
1655
1672
  }
1656
1673
 
1657
- return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`.'));
1674
+ var expectedTypesMessage = expectedTypes.length > 0 ? ', expected one of type [' + expectedTypes.join(', ') + ']' : '';
1675
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`' + expectedTypesMessage + '.'));
1658
1676
  }
1659
1677
 
1660
1678
  return createChainableTypeChecker(validate);
@@ -1672,6 +1690,10 @@ var factoryWithTypeCheckers = function factoryWithTypeCheckers(isValidElement, t
1672
1690
  return createChainableTypeChecker(validate);
1673
1691
  }
1674
1692
 
1693
+ function invalidValidatorError(componentName, location, propFullName, key, type) {
1694
+ return new PropTypeError((componentName || 'React class') + ': ' + location + ' type `' + propFullName + '.' + key + '` is invalid; ' + 'it must be a function, usually from the `prop-types` package, but received `' + type + '`.');
1695
+ }
1696
+
1675
1697
  function createShapeTypeChecker(shapeTypes) {
1676
1698
  function validate(props, propName, componentName, location, propFullName) {
1677
1699
  var propValue = props[propName];
@@ -1684,8 +1706,8 @@ var factoryWithTypeCheckers = function factoryWithTypeCheckers(isValidElement, t
1684
1706
  for (var key in shapeTypes) {
1685
1707
  var checker = shapeTypes[key];
1686
1708
 
1687
- if (!checker) {
1688
- continue;
1709
+ if (typeof checker !== 'function') {
1710
+ return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
1689
1711
  }
1690
1712
 
1691
1713
  var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret_1);
@@ -1708,8 +1730,7 @@ var factoryWithTypeCheckers = function factoryWithTypeCheckers(isValidElement, t
1708
1730
 
1709
1731
  if (propType !== 'object') {
1710
1732
  return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
1711
- } // We need to check all keys in case some are required but missing from
1712
- // props.
1733
+ } // We need to check all keys in case some are required but missing from props.
1713
1734
 
1714
1735
 
1715
1736
  var allKeys = objectAssign({}, props[propName], shapeTypes);
@@ -1717,6 +1738,10 @@ var factoryWithTypeCheckers = function factoryWithTypeCheckers(isValidElement, t
1717
1738
  for (var key in allKeys) {
1718
1739
  var checker = shapeTypes[key];
1719
1740
 
1741
+ if (has$1(shapeTypes, key) && typeof checker !== 'function') {
1742
+ return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
1743
+ }
1744
+
1720
1745
  if (!checker) {
1721
1746
  return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' + '\nBad object: ' + JSON.stringify(props[propName], null, ' ') + '\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' '));
1722
1747
  }
@@ -1915,6 +1940,7 @@ var factoryWithThrowingShims = function factoryWithThrowingShims() {
1915
1940
 
1916
1941
  var ReactPropTypes = {
1917
1942
  array: shim,
1943
+ bigint: shim,
1918
1944
  bool: shim,
1919
1945
  func: shim,
1920
1946
  number: shim,
@@ -1958,6 +1984,7 @@ var propTypes = createCommonjsModule(function (module) {
1958
1984
  module.exports = factoryWithThrowingShims();
1959
1985
  }
1960
1986
  });
1987
+ var PropTypes = propTypes;
1961
1988
 
1962
1989
  /**
1963
1990
  * A Handsontable-ReactJS wrapper.
@@ -2233,15 +2260,20 @@ var HotTable = /*#__PURE__*/function (_React$Component) {
2233
2260
  * Create a fresh class to be used as an editor, based on the provided editor React element.
2234
2261
  *
2235
2262
  * @param {React.ReactElement} editorElement React editor component.
2263
+ * @param {string|number} [editorColumnScope] The editor scope (column index or a 'global' string). Defaults to
2264
+ * 'global'.
2236
2265
  * @returns {Function} A class to be passed to the Handsontable editor settings.
2237
2266
  */
2238
2267
 
2239
2268
  }, {
2240
2269
  key: "getEditorClass",
2241
2270
  value: function getEditorClass(editorElement) {
2271
+ var _editorCache$get;
2272
+
2273
+ var editorColumnScope = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : GLOBAL_EDITOR_SCOPE;
2242
2274
  var editorClass = getOriginalEditorClass(editorElement);
2243
2275
  var editorCache = this.getEditorCache();
2244
- var cachedComponent = editorCache.get(editorClass);
2276
+ var cachedComponent = (_editorCache$get = editorCache.get(editorClass)) === null || _editorCache$get === void 0 ? void 0 : _editorCache$get.get(editorColumnScope);
2245
2277
  return this.makeEditorClass(cachedComponent);
2246
2278
  }
2247
2279
  /**
@@ -2259,12 +2291,12 @@ var HotTable = /*#__PURE__*/function (_React$Component) {
2259
2291
 
2260
2292
  var _super2 = _createSuper(CustomEditor);
2261
2293
 
2262
- function CustomEditor(hotInstance, row, col, prop, TD, cellProperties) {
2294
+ function CustomEditor(hotInstance) {
2263
2295
  var _this2;
2264
2296
 
2265
2297
  _classCallCheck(this, CustomEditor);
2266
2298
 
2267
- _this2 = _super2.call(this, hotInstance, row, col, prop, TD, cellProperties);
2299
+ _this2 = _super2.call(this, hotInstance);
2268
2300
  editorComponent.hotCustomEditorInstance = _assertThisInitialized(_this2);
2269
2301
  _this2.editorComponent = editorComponent;
2270
2302
  return _this2;
@@ -2288,10 +2320,10 @@ var HotTable = /*#__PURE__*/function (_React$Component) {
2288
2320
  }]);
2289
2321
 
2290
2322
  return CustomEditor;
2291
- }(Handsontable__default['default'].editors.BaseEditor); // Fill with the rest of the BaseEditor methods
2323
+ }(Handsontable__default["default"].editors.BaseEditor); // Fill with the rest of the BaseEditor methods
2292
2324
 
2293
2325
 
2294
- Object.getOwnPropertyNames(Handsontable__default['default'].editors.BaseEditor.prototype).forEach(function (propName) {
2326
+ Object.getOwnPropertyNames(Handsontable__default["default"].editors.BaseEditor.prototype).forEach(function (propName) {
2295
2327
  if (propName === 'constructor') {
2296
2328
  return;
2297
2329
  }
@@ -2364,7 +2396,7 @@ var HotTable = /*#__PURE__*/function (_React$Component) {
2364
2396
  newSettings.columns = this.columnSettings.length ? this.columnSettings : newSettings.columns;
2365
2397
 
2366
2398
  if (globalEditorNode) {
2367
- newSettings.editor = this.getEditorClass(globalEditorNode);
2399
+ newSettings.editor = this.getEditorClass(globalEditorNode, GLOBAL_EDITOR_SCOPE);
2368
2400
  } else {
2369
2401
  newSettings.editor = this.props.editor || (this.props.settings ? this.props.settings.editor : void 0);
2370
2402
  }
@@ -2387,7 +2419,9 @@ var HotTable = /*#__PURE__*/function (_React$Component) {
2387
2419
  }, {
2388
2420
  key: "displayAutoSizeWarning",
2389
2421
  value: function displayAutoSizeWarning(newGlobalSettings) {
2390
- if (this.hotInstance && (this.hotInstance.getPlugin('autoRowSize').enabled || this.hotInstance.getPlugin('autoColumnSize').enabled)) {
2422
+ var _this$hotInstance$get, _this$hotInstance$get2;
2423
+
2424
+ if (this.hotInstance && ((_this$hotInstance$get = this.hotInstance.getPlugin('autoRowSize')) !== null && _this$hotInstance$get !== void 0 && _this$hotInstance$get.enabled || (_this$hotInstance$get2 = this.hotInstance.getPlugin('autoColumnSize')) !== null && _this$hotInstance$get2 !== void 0 && _this$hotInstance$get2.enabled)) {
2391
2425
  if (this.componentRendererColumns.size > 0) {
2392
2426
  warn(AUTOSIZE_WARNING);
2393
2427
  }
@@ -2406,21 +2440,21 @@ var HotTable = /*#__PURE__*/function (_React$Component) {
2406
2440
  this.columnSettings[columnIndex] = columnSettings;
2407
2441
  }
2408
2442
  /**
2409
- * Handsontable's `beforeRender` hook callback.
2443
+ * Handsontable's `beforeViewRender` hook callback.
2410
2444
  */
2411
2445
 
2412
2446
  }, {
2413
- key: "handsontableBeforeRender",
2414
- value: function handsontableBeforeRender() {
2447
+ key: "handsontableBeforeViewRender",
2448
+ value: function handsontableBeforeViewRender() {
2415
2449
  this.getRenderedCellCache().clear();
2416
2450
  }
2417
2451
  /**
2418
- * Handsontable's `afterRender` hook callback.
2452
+ * Handsontable's `afterViewRender` hook callback.
2419
2453
  */
2420
2454
 
2421
2455
  }, {
2422
- key: "handsontableAfterRender",
2423
- value: function handsontableAfterRender() {
2456
+ key: "handsontableAfterViewRender",
2457
+ value: function handsontableAfterViewRender() {
2424
2458
  var _this3 = this;
2425
2459
 
2426
2460
  this.portalManager.setState(function () {
@@ -2480,12 +2514,12 @@ var HotTable = /*#__PURE__*/function (_React$Component) {
2480
2514
  value: function componentDidMount() {
2481
2515
  var hotTableComponent = this;
2482
2516
  var newGlobalSettings = this.createNewGlobalSettings();
2483
- this.hotInstance = new Handsontable__default['default'].Core(this.hotElementRef, newGlobalSettings);
2484
- this.hotInstance.addHook('beforeRender', function (isForced) {
2485
- hotTableComponent.handsontableBeforeRender();
2517
+ this.hotInstance = new Handsontable__default["default"].Core(this.hotElementRef, newGlobalSettings);
2518
+ this.hotInstance.addHook('beforeViewRender', function (isForced) {
2519
+ hotTableComponent.handsontableBeforeViewRender();
2486
2520
  });
2487
- this.hotInstance.addHook('afterRender', function () {
2488
- hotTableComponent.handsontableAfterRender();
2521
+ this.hotInstance.addHook('afterViewRender', function () {
2522
+ hotTableComponent.handsontableAfterViewRender();
2489
2523
  }); // `init` missing in Handsontable's type definitions.
2490
2524
 
2491
2525
  this.hotInstance.init();
@@ -2544,14 +2578,14 @@ var HotTable = /*#__PURE__*/function (_React$Component) {
2544
2578
  return childNode.type === HotColumn;
2545
2579
  };
2546
2580
 
2547
- var children = React__default['default'].Children.toArray(this.props.children); // filter out anything that's not a HotColumn
2581
+ var children = React__default["default"].Children.toArray(this.props.children); // filter out anything that's not a HotColumn
2548
2582
 
2549
2583
  children = children.filter(function (childNode) {
2550
2584
  return isHotColumn(childNode);
2551
2585
  }); // clone the HotColumn nodes and extend them with the callbacks
2552
2586
 
2553
2587
  var childClones = children.map(function (childNode, columnIndex) {
2554
- return React__default['default'].cloneElement(childNode, {
2588
+ return React__default["default"].cloneElement(childNode, {
2555
2589
  _componentRendererColumns: _this4.componentRendererColumns,
2556
2590
  _emitColumnSettings: _this4.setHotColumnSettings.bind(_this4),
2557
2591
  _columnIndex: columnIndex,
@@ -2565,12 +2599,12 @@ var HotTable = /*#__PURE__*/function (_React$Component) {
2565
2599
  }); // add the global editor to the list of children
2566
2600
 
2567
2601
  childClones.push(this.getGlobalEditorPortal());
2568
- return React__default['default'].createElement(React__default['default'].Fragment, null, React__default['default'].createElement("div", {
2602
+ return React__default["default"].createElement(React__default["default"].Fragment, null, React__default["default"].createElement("div", {
2569
2603
  ref: this.setHotElementRef.bind(this),
2570
2604
  id: id,
2571
2605
  className: className,
2572
2606
  style: style
2573
- }, childClones), React__default['default'].createElement(PortalManager, {
2607
+ }, childClones), React__default["default"].createElement(PortalManager, {
2574
2608
  ref: this.setPortalManagerRef.bind(this)
2575
2609
  }));
2576
2610
  }
@@ -2582,16 +2616,16 @@ var HotTable = /*#__PURE__*/function (_React$Component) {
2582
2616
  }]);
2583
2617
 
2584
2618
  return HotTable;
2585
- }(React__default['default'].Component);
2619
+ }(React__default["default"].Component);
2586
2620
  /**
2587
2621
  * Prop types to be checked at runtime.
2588
2622
  */
2589
2623
 
2590
2624
 
2591
2625
  HotTable.propTypes = {
2592
- style: propTypes.object,
2593
- id: propTypes.string,
2594
- className: propTypes.string
2626
+ style: PropTypes.object,
2627
+ id: PropTypes.string,
2628
+ className: PropTypes.string
2595
2629
  };
2596
2630
 
2597
2631
  var BaseEditorComponent = /*#__PURE__*/function (_React$Component) {
@@ -2619,7 +2653,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_React$Component) {
2619
2653
  _this.hot = null;
2620
2654
 
2621
2655
  if (props.emitEditorInstance) {
2622
- props.emitEditorInstance(_assertThisInitialized(_this));
2656
+ props.emitEditorInstance(_assertThisInitialized(_this), props.editorColumnScope);
2623
2657
  }
2624
2658
 
2625
2659
  return _this;
@@ -2635,7 +2669,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_React$Component) {
2635
2669
  args[_key] = arguments[_key];
2636
2670
  }
2637
2671
 
2638
- (_Handsontable$editors = Handsontable__default['default'].editors.BaseEditor.prototype._fireCallbacks).call.apply(_Handsontable$editors, [this.hotCustomEditorInstance].concat(args));
2672
+ (_Handsontable$editors = Handsontable__default["default"].editors.BaseEditor.prototype._fireCallbacks).call.apply(_Handsontable$editors, [this.hotCustomEditorInstance].concat(args));
2639
2673
  }
2640
2674
  }, {
2641
2675
  key: "beginEditing",
@@ -2646,7 +2680,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_React$Component) {
2646
2680
  args[_key2] = arguments[_key2];
2647
2681
  }
2648
2682
 
2649
- return (_Handsontable$editors2 = Handsontable__default['default'].editors.BaseEditor.prototype.beginEditing).call.apply(_Handsontable$editors2, [this.hotCustomEditorInstance].concat(args));
2683
+ return (_Handsontable$editors2 = Handsontable__default["default"].editors.BaseEditor.prototype.beginEditing).call.apply(_Handsontable$editors2, [this.hotCustomEditorInstance].concat(args));
2650
2684
  }
2651
2685
  }, {
2652
2686
  key: "cancelChanges",
@@ -2657,7 +2691,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_React$Component) {
2657
2691
  args[_key3] = arguments[_key3];
2658
2692
  }
2659
2693
 
2660
- return (_Handsontable$editors3 = Handsontable__default['default'].editors.BaseEditor.prototype.cancelChanges).call.apply(_Handsontable$editors3, [this.hotCustomEditorInstance].concat(args));
2694
+ return (_Handsontable$editors3 = Handsontable__default["default"].editors.BaseEditor.prototype.cancelChanges).call.apply(_Handsontable$editors3, [this.hotCustomEditorInstance].concat(args));
2661
2695
  }
2662
2696
  }, {
2663
2697
  key: "checkEditorSection",
@@ -2668,7 +2702,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_React$Component) {
2668
2702
  args[_key4] = arguments[_key4];
2669
2703
  }
2670
2704
 
2671
- return (_Handsontable$editors4 = Handsontable__default['default'].editors.BaseEditor.prototype.checkEditorSection).call.apply(_Handsontable$editors4, [this.hotCustomEditorInstance].concat(args));
2705
+ return (_Handsontable$editors4 = Handsontable__default["default"].editors.BaseEditor.prototype.checkEditorSection).call.apply(_Handsontable$editors4, [this.hotCustomEditorInstance].concat(args));
2672
2706
  }
2673
2707
  }, {
2674
2708
  key: "close",
@@ -2679,7 +2713,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_React$Component) {
2679
2713
  args[_key5] = arguments[_key5];
2680
2714
  }
2681
2715
 
2682
- return (_Handsontable$editors5 = Handsontable__default['default'].editors.BaseEditor.prototype.close).call.apply(_Handsontable$editors5, [this.hotCustomEditorInstance].concat(args));
2716
+ return (_Handsontable$editors5 = Handsontable__default["default"].editors.BaseEditor.prototype.close).call.apply(_Handsontable$editors5, [this.hotCustomEditorInstance].concat(args));
2683
2717
  }
2684
2718
  }, {
2685
2719
  key: "discardEditor",
@@ -2690,7 +2724,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_React$Component) {
2690
2724
  args[_key6] = arguments[_key6];
2691
2725
  }
2692
2726
 
2693
- return (_Handsontable$editors6 = Handsontable__default['default'].editors.BaseEditor.prototype.discardEditor).call.apply(_Handsontable$editors6, [this.hotCustomEditorInstance].concat(args));
2727
+ return (_Handsontable$editors6 = Handsontable__default["default"].editors.BaseEditor.prototype.discardEditor).call.apply(_Handsontable$editors6, [this.hotCustomEditorInstance].concat(args));
2694
2728
  }
2695
2729
  }, {
2696
2730
  key: "enableFullEditMode",
@@ -2701,7 +2735,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_React$Component) {
2701
2735
  args[_key7] = arguments[_key7];
2702
2736
  }
2703
2737
 
2704
- return (_Handsontable$editors7 = Handsontable__default['default'].editors.BaseEditor.prototype.enableFullEditMode).call.apply(_Handsontable$editors7, [this.hotCustomEditorInstance].concat(args));
2738
+ return (_Handsontable$editors7 = Handsontable__default["default"].editors.BaseEditor.prototype.enableFullEditMode).call.apply(_Handsontable$editors7, [this.hotCustomEditorInstance].concat(args));
2705
2739
  }
2706
2740
  }, {
2707
2741
  key: "extend",
@@ -2712,7 +2746,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_React$Component) {
2712
2746
  args[_key8] = arguments[_key8];
2713
2747
  }
2714
2748
 
2715
- return (_Handsontable$editors8 = Handsontable__default['default'].editors.BaseEditor.prototype.extend).call.apply(_Handsontable$editors8, [this.hotCustomEditorInstance].concat(args));
2749
+ return (_Handsontable$editors8 = Handsontable__default["default"].editors.BaseEditor.prototype.extend).call.apply(_Handsontable$editors8, [this.hotCustomEditorInstance].concat(args));
2716
2750
  }
2717
2751
  }, {
2718
2752
  key: "finishEditing",
@@ -2723,7 +2757,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_React$Component) {
2723
2757
  args[_key9] = arguments[_key9];
2724
2758
  }
2725
2759
 
2726
- return (_Handsontable$editors9 = Handsontable__default['default'].editors.BaseEditor.prototype.finishEditing).call.apply(_Handsontable$editors9, [this.hotCustomEditorInstance].concat(args));
2760
+ return (_Handsontable$editors9 = Handsontable__default["default"].editors.BaseEditor.prototype.finishEditing).call.apply(_Handsontable$editors9, [this.hotCustomEditorInstance].concat(args));
2727
2761
  }
2728
2762
  }, {
2729
2763
  key: "focus",
@@ -2734,7 +2768,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_React$Component) {
2734
2768
  args[_key10] = arguments[_key10];
2735
2769
  }
2736
2770
 
2737
- return (_Handsontable$editors10 = Handsontable__default['default'].editors.BaseEditor.prototype.focus).call.apply(_Handsontable$editors10, [this.hotCustomEditorInstance].concat(args));
2771
+ return (_Handsontable$editors10 = Handsontable__default["default"].editors.BaseEditor.prototype.focus).call.apply(_Handsontable$editors10, [this.hotCustomEditorInstance].concat(args));
2738
2772
  }
2739
2773
  }, {
2740
2774
  key: "getValue",
@@ -2745,7 +2779,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_React$Component) {
2745
2779
  args[_key11] = arguments[_key11];
2746
2780
  }
2747
2781
 
2748
- return (_Handsontable$editors11 = Handsontable__default['default'].editors.BaseEditor.prototype.getValue).call.apply(_Handsontable$editors11, [this.hotCustomEditorInstance].concat(args));
2782
+ return (_Handsontable$editors11 = Handsontable__default["default"].editors.BaseEditor.prototype.getValue).call.apply(_Handsontable$editors11, [this.hotCustomEditorInstance].concat(args));
2749
2783
  }
2750
2784
  }, {
2751
2785
  key: "init",
@@ -2756,7 +2790,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_React$Component) {
2756
2790
  args[_key12] = arguments[_key12];
2757
2791
  }
2758
2792
 
2759
- return (_Handsontable$editors12 = Handsontable__default['default'].editors.BaseEditor.prototype.init).call.apply(_Handsontable$editors12, [this.hotCustomEditorInstance].concat(args));
2793
+ return (_Handsontable$editors12 = Handsontable__default["default"].editors.BaseEditor.prototype.init).call.apply(_Handsontable$editors12, [this.hotCustomEditorInstance].concat(args));
2760
2794
  }
2761
2795
  }, {
2762
2796
  key: "isInFullEditMode",
@@ -2767,7 +2801,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_React$Component) {
2767
2801
  args[_key13] = arguments[_key13];
2768
2802
  }
2769
2803
 
2770
- return (_Handsontable$editors13 = Handsontable__default['default'].editors.BaseEditor.prototype.isInFullEditMode).call.apply(_Handsontable$editors13, [this.hotCustomEditorInstance].concat(args));
2804
+ return (_Handsontable$editors13 = Handsontable__default["default"].editors.BaseEditor.prototype.isInFullEditMode).call.apply(_Handsontable$editors13, [this.hotCustomEditorInstance].concat(args));
2771
2805
  }
2772
2806
  }, {
2773
2807
  key: "isOpened",
@@ -2778,7 +2812,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_React$Component) {
2778
2812
  args[_key14] = arguments[_key14];
2779
2813
  }
2780
2814
 
2781
- return (_Handsontable$editors14 = Handsontable__default['default'].editors.BaseEditor.prototype.isOpened).call.apply(_Handsontable$editors14, [this.hotCustomEditorInstance].concat(args));
2815
+ return (_Handsontable$editors14 = Handsontable__default["default"].editors.BaseEditor.prototype.isOpened).call.apply(_Handsontable$editors14, [this.hotCustomEditorInstance].concat(args));
2782
2816
  }
2783
2817
  }, {
2784
2818
  key: "isWaiting",
@@ -2789,7 +2823,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_React$Component) {
2789
2823
  args[_key15] = arguments[_key15];
2790
2824
  }
2791
2825
 
2792
- return (_Handsontable$editors15 = Handsontable__default['default'].editors.BaseEditor.prototype.isWaiting).call.apply(_Handsontable$editors15, [this.hotCustomEditorInstance].concat(args));
2826
+ return (_Handsontable$editors15 = Handsontable__default["default"].editors.BaseEditor.prototype.isWaiting).call.apply(_Handsontable$editors15, [this.hotCustomEditorInstance].concat(args));
2793
2827
  }
2794
2828
  }, {
2795
2829
  key: "open",
@@ -2800,7 +2834,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_React$Component) {
2800
2834
  args[_key16] = arguments[_key16];
2801
2835
  }
2802
2836
 
2803
- return (_Handsontable$editors16 = Handsontable__default['default'].editors.BaseEditor.prototype.open).call.apply(_Handsontable$editors16, [this.hotCustomEditorInstance].concat(args));
2837
+ return (_Handsontable$editors16 = Handsontable__default["default"].editors.BaseEditor.prototype.open).call.apply(_Handsontable$editors16, [this.hotCustomEditorInstance].concat(args));
2804
2838
  }
2805
2839
  }, {
2806
2840
  key: "prepare",
@@ -2812,7 +2846,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_React$Component) {
2812
2846
  this.TD = TD;
2813
2847
  this.originalValue = originalValue;
2814
2848
  this.cellProperties = cellProperties;
2815
- return Handsontable__default['default'].editors.BaseEditor.prototype.prepare.call(this.hotCustomEditorInstance, row, col, prop, TD, originalValue, cellProperties);
2849
+ return Handsontable__default["default"].editors.BaseEditor.prototype.prepare.call(this.hotCustomEditorInstance, row, col, prop, TD, originalValue, cellProperties);
2816
2850
  }
2817
2851
  }, {
2818
2852
  key: "saveValue",
@@ -2823,7 +2857,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_React$Component) {
2823
2857
  args[_key17] = arguments[_key17];
2824
2858
  }
2825
2859
 
2826
- return (_Handsontable$editors17 = Handsontable__default['default'].editors.BaseEditor.prototype.saveValue).call.apply(_Handsontable$editors17, [this.hotCustomEditorInstance].concat(args));
2860
+ return (_Handsontable$editors17 = Handsontable__default["default"].editors.BaseEditor.prototype.saveValue).call.apply(_Handsontable$editors17, [this.hotCustomEditorInstance].concat(args));
2827
2861
  }
2828
2862
  }, {
2829
2863
  key: "setValue",
@@ -2834,7 +2868,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_React$Component) {
2834
2868
  args[_key18] = arguments[_key18];
2835
2869
  }
2836
2870
 
2837
- return (_Handsontable$editors18 = Handsontable__default['default'].editors.BaseEditor.prototype.setValue).call.apply(_Handsontable$editors18, [this.hotCustomEditorInstance].concat(args));
2871
+ return (_Handsontable$editors18 = Handsontable__default["default"].editors.BaseEditor.prototype.setValue).call.apply(_Handsontable$editors18, [this.hotCustomEditorInstance].concat(args));
2838
2872
  }
2839
2873
  }, {
2840
2874
  key: "addHook",
@@ -2845,7 +2879,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_React$Component) {
2845
2879
  args[_key19] = arguments[_key19];
2846
2880
  }
2847
2881
 
2848
- return (_Handsontable$editors19 = Handsontable__default['default'].editors.BaseEditor.prototype.addHook).call.apply(_Handsontable$editors19, [this.hotCustomEditorInstance].concat(args));
2882
+ return (_Handsontable$editors19 = Handsontable__default["default"].editors.BaseEditor.prototype.addHook).call.apply(_Handsontable$editors19, [this.hotCustomEditorInstance].concat(args));
2849
2883
  }
2850
2884
  }, {
2851
2885
  key: "removeHooksByKey",
@@ -2856,7 +2890,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_React$Component) {
2856
2890
  args[_key20] = arguments[_key20];
2857
2891
  }
2858
2892
 
2859
- return (_Handsontable$editors20 = Handsontable__default['default'].editors.BaseEditor.prototype.removeHooksByKey).call.apply(_Handsontable$editors20, [this.hotCustomEditorInstance].concat(args));
2893
+ return (_Handsontable$editors20 = Handsontable__default["default"].editors.BaseEditor.prototype.removeHooksByKey).call.apply(_Handsontable$editors20, [this.hotCustomEditorInstance].concat(args));
2860
2894
  }
2861
2895
  }, {
2862
2896
  key: "clearHooks",
@@ -2867,7 +2901,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_React$Component) {
2867
2901
  args[_key21] = arguments[_key21];
2868
2902
  }
2869
2903
 
2870
- return (_Handsontable$editors21 = Handsontable__default['default'].editors.BaseEditor.prototype.clearHooks).call.apply(_Handsontable$editors21, [this.hotCustomEditorInstance].concat(args));
2904
+ return (_Handsontable$editors21 = Handsontable__default["default"].editors.BaseEditor.prototype.clearHooks).call.apply(_Handsontable$editors21, [this.hotCustomEditorInstance].concat(args));
2871
2905
  }
2872
2906
  }, {
2873
2907
  key: "getEditedCell",
@@ -2878,7 +2912,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_React$Component) {
2878
2912
  args[_key22] = arguments[_key22];
2879
2913
  }
2880
2914
 
2881
- return (_Handsontable$editors22 = Handsontable__default['default'].editors.BaseEditor.prototype.getEditedCell).call.apply(_Handsontable$editors22, [this.hotCustomEditorInstance].concat(args));
2915
+ return (_Handsontable$editors22 = Handsontable__default["default"].editors.BaseEditor.prototype.getEditedCell).call.apply(_Handsontable$editors22, [this.hotCustomEditorInstance].concat(args));
2882
2916
  }
2883
2917
  }, {
2884
2918
  key: "getEditedCellsZIndex",
@@ -2889,14 +2923,14 @@ var BaseEditorComponent = /*#__PURE__*/function (_React$Component) {
2889
2923
  args[_key23] = arguments[_key23];
2890
2924
  }
2891
2925
 
2892
- return (_Handsontable$editors23 = Handsontable__default['default'].editors.BaseEditor.prototype.getEditedCellsZIndex).call.apply(_Handsontable$editors23, [this.hotCustomEditorInstance].concat(args));
2926
+ return (_Handsontable$editors23 = Handsontable__default["default"].editors.BaseEditor.prototype.getEditedCellsZIndex).call.apply(_Handsontable$editors23, [this.hotCustomEditorInstance].concat(args));
2893
2927
  }
2894
2928
  }]);
2895
2929
 
2896
2930
  return BaseEditorComponent;
2897
- }(React__default['default'].Component);
2931
+ }(React__default["default"].Component);
2898
2932
 
2899
2933
  exports.BaseEditorComponent = BaseEditorComponent;
2900
2934
  exports.HotColumn = HotColumn;
2901
2935
  exports.HotTable = HotTable;
2902
- exports.default = HotTable;
2936
+ exports["default"] = HotTable;