handsontable 0.0.0-next-220577a-20231130 → 0.0.0-next-c886551-20231130

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of handsontable might be problematic. Click here for more details.

Files changed (65) hide show
  1. package/3rdparty/walkontable/src/core/_base.js +0 -12
  2. package/3rdparty/walkontable/src/core/_base.mjs +0 -12
  3. package/3rdparty/walkontable/src/core/core.js +0 -2
  4. package/3rdparty/walkontable/src/core/core.mjs +0 -2
  5. package/3rdparty/walkontable/src/facade/core.js +0 -9
  6. package/3rdparty/walkontable/src/facade/core.mjs +0 -9
  7. package/3rdparty/walkontable/src/overlays.js +0 -3
  8. package/3rdparty/walkontable/src/overlays.mjs +0 -4
  9. package/3rdparty/walkontable/src/selection/manager.js +0 -1
  10. package/3rdparty/walkontable/src/selection/manager.mjs +0 -1
  11. package/3rdparty/walkontable/src/settings.js +1 -0
  12. package/3rdparty/walkontable/src/table.js +0 -1
  13. package/3rdparty/walkontable/src/table.mjs +0 -1
  14. package/base.js +4 -2
  15. package/base.mjs +2 -2
  16. package/core.js +0 -11
  17. package/core.mjs +0 -11
  18. package/dataMap/dataMap.js +1 -0
  19. package/dist/handsontable.css +2 -2
  20. package/dist/handsontable.full.css +2 -2
  21. package/dist/handsontable.full.js +19 -80
  22. package/dist/handsontable.full.min.css +2 -2
  23. package/dist/handsontable.full.min.js +4 -4
  24. package/dist/handsontable.js +19 -80
  25. package/dist/handsontable.min.css +2 -2
  26. package/dist/handsontable.min.js +4 -4
  27. package/editors/autocompleteEditor/autocompleteEditor.js +0 -2
  28. package/editors/autocompleteEditor/autocompleteEditor.mjs +0 -2
  29. package/editors/handsontableEditor/handsontableEditor.js +0 -1
  30. package/editors/handsontableEditor/handsontableEditor.mjs +0 -1
  31. package/editors/textEditor/textEditor.js +0 -4
  32. package/editors/textEditor/textEditor.mjs +0 -4
  33. package/helpers/mixed.js +1 -1
  34. package/helpers/mixed.mjs +1 -1
  35. package/package.json +1 -1
  36. package/pluginHooks.js +3 -1
  37. package/plugins/customBorders/customBorders.js +0 -5
  38. package/plugins/customBorders/customBorders.mjs +0 -5
  39. package/plugins/customBorders/utils.js +0 -1
  40. package/plugins/customBorders/utils.mjs +0 -1
  41. package/plugins/formulas/formulas.js +0 -2
  42. package/plugins/formulas/formulas.mjs +0 -2
  43. package/plugins/formulas/indexSyncer/axisSyncer.js +0 -1
  44. package/plugins/formulas/indexSyncer/axisSyncer.mjs +0 -1
  45. package/plugins/manualColumnResize/manualColumnResize.js +0 -1
  46. package/plugins/manualColumnResize/manualColumnResize.mjs +0 -1
  47. package/plugins/mergeCells/mergeCells.js +0 -2
  48. package/plugins/mergeCells/mergeCells.mjs +0 -2
  49. package/plugins/nestedHeaders/nestedHeaders.js +0 -1
  50. package/plugins/nestedHeaders/nestedHeaders.mjs +0 -1
  51. package/plugins/nestedHeaders/stateManager/headersTree.js +0 -1
  52. package/plugins/nestedHeaders/stateManager/headersTree.mjs +0 -1
  53. package/plugins/undoRedo/undoRedo.js +0 -2
  54. package/plugins/undoRedo/undoRedo.mjs +0 -2
  55. package/renderers/autocompleteRenderer/autocompleteRenderer.js +0 -1
  56. package/renderers/autocompleteRenderer/autocompleteRenderer.mjs +0 -1
  57. package/renderers/checkboxRenderer/checkboxRenderer.js +0 -2
  58. package/renderers/checkboxRenderer/checkboxRenderer.mjs +0 -2
  59. package/selection/highlight/highlight.js +0 -1
  60. package/selection/highlight/highlight.mjs +0 -1
  61. package/tableView.js +0 -2
  62. package/tableView.mjs +0 -2
  63. package/translations/indexMapper.js +2 -1
  64. package/validators/timeValidator/timeValidator.js +0 -1
  65. package/validators/timeValidator/timeValidator.mjs +0 -1
@@ -191,7 +191,6 @@ class AutocompleteEditor extends _handsontableEditor.HandsontableEditor {
191
191
  if (scrollbarWidth === 0 && (0, _browser.isMacOS)()) {
192
192
  scrollbarWidth += 15; // default scroll bar width if scroll bars are visible only when scrolling
193
193
  }
194
-
195
194
  this.addHook('beforeKeyDown', event => this.onBeforeKeyDown(event));
196
195
  this.htEditor.updateSettings({
197
196
  colWidths: trimDropdown ? [(0, _element.outerWidth)(this.TEXTAREA) - 2] : undefined,
@@ -391,7 +390,6 @@ class AutocompleteEditor extends _handsontableEditor.HandsontableEditor {
391
390
  if (this.htEditor.flipped) {
392
391
  this.htEditor.rootElement.style.top = `${parseInt(this.htEditor.rootElement.style.top, 10) + dropdownHeight - height}px`; // eslint-disable-line max-len
393
392
  }
394
-
395
393
  this.setDropdownHeight(tempHeight - lastRowHeight);
396
394
  }
397
395
  }
@@ -188,7 +188,6 @@ export class AutocompleteEditor extends HandsontableEditor {
188
188
  if (scrollbarWidth === 0 && isMacOS()) {
189
189
  scrollbarWidth += 15; // default scroll bar width if scroll bars are visible only when scrolling
190
190
  }
191
-
192
191
  this.addHook('beforeKeyDown', event => this.onBeforeKeyDown(event));
193
192
  this.htEditor.updateSettings({
194
193
  colWidths: trimDropdown ? [outerWidth(this.TEXTAREA) - 2] : undefined,
@@ -388,7 +387,6 @@ export class AutocompleteEditor extends HandsontableEditor {
388
387
  if (this.htEditor.flipped) {
389
388
  this.htEditor.rootElement.style.top = `${parseInt(this.htEditor.rootElement.style.top, 10) + dropdownHeight - height}px`; // eslint-disable-line max-len
390
389
  }
391
-
392
390
  this.setDropdownHeight(tempHeight - lastRowHeight);
393
391
  }
394
392
  }
@@ -137,7 +137,6 @@ class HandsontableEditor extends _textEditor.TextEditor {
137
137
  // if focus is still in the HOT editor
138
138
  this.hot.listen(); // return the focus to the parent HOT instance
139
139
  }
140
-
141
140
  if (this.htEditor && this.htEditor.getSelectedLast()) {
142
141
  const value = this.htEditor.getValue();
143
142
  if (value !== undefined) {
@@ -134,7 +134,6 @@ export class HandsontableEditor extends TextEditor {
134
134
  // if focus is still in the HOT editor
135
135
  this.hot.listen(); // return the focus to the parent HOT instance
136
136
  }
137
-
138
137
  if (this.htEditor && this.htEditor.getSelectedLast()) {
139
138
  const value = this.htEditor.getValue();
140
139
  if (value !== undefined) {
@@ -128,7 +128,6 @@ class TextEditor extends _baseEditor.BaseEditor {
128
128
  if ((0, _element.isThisHotChild)(this.hot.rootDocument.activeElement, this.hot.rootElement)) {
129
129
  this.hot.listen(); // don't refocus the table if user focused some cell outside of HT on purpose
130
130
  }
131
-
132
131
  this.hideEditableElement();
133
132
  this.unregisterShortcuts();
134
133
  }
@@ -299,7 +298,6 @@ class TextEditor extends _baseEditor.BaseEditor {
299
298
  if (!force) {
300
299
  this.close(); // TODO shouldn't it be this.finishEditing() ?
301
300
  }
302
-
303
301
  return;
304
302
  }
305
303
  const {
@@ -402,7 +400,6 @@ class TextEditor extends _baseEditor.BaseEditor {
402
400
  insertNewLine();
403
401
  return false; // Will block closing editor.
404
402
  },
405
-
406
403
  runOnlyIf: event => !this.hot.selection.isMultiple() &&
407
404
  // We trigger a data population for multiple selection.
408
405
  // catch CTRL but not right ALT (which in some systems triggers ALT+CTRL)
@@ -413,7 +410,6 @@ class TextEditor extends _baseEditor.BaseEditor {
413
410
  insertNewLine();
414
411
  return false; // Will block closing editor.
415
412
  },
416
-
417
413
  runOnlyIf: () => !this.hot.selection.isMultiple() // We trigger a data population for multiple selection.
418
414
  }, {
419
415
  keys: [['Alt', 'Enter']],
@@ -124,7 +124,6 @@ export class TextEditor extends BaseEditor {
124
124
  if (isThisHotChild(this.hot.rootDocument.activeElement, this.hot.rootElement)) {
125
125
  this.hot.listen(); // don't refocus the table if user focused some cell outside of HT on purpose
126
126
  }
127
-
128
127
  this.hideEditableElement();
129
128
  this.unregisterShortcuts();
130
129
  }
@@ -295,7 +294,6 @@ export class TextEditor extends BaseEditor {
295
294
  if (!force) {
296
295
  this.close(); // TODO shouldn't it be this.finishEditing() ?
297
296
  }
298
-
299
297
  return;
300
298
  }
301
299
  const {
@@ -398,7 +396,6 @@ export class TextEditor extends BaseEditor {
398
396
  insertNewLine();
399
397
  return false; // Will block closing editor.
400
398
  },
401
-
402
399
  runOnlyIf: event => !this.hot.selection.isMultiple() &&
403
400
  // We trigger a data population for multiple selection.
404
401
  // catch CTRL but not right ALT (which in some systems triggers ALT+CTRL)
@@ -409,7 +406,6 @@ export class TextEditor extends BaseEditor {
409
406
  insertNewLine();
410
407
  return false; // Will block closing editor.
411
408
  },
412
-
413
409
  runOnlyIf: () => !this.hot.selection.isMultiple() // We trigger a data population for multiple selection.
414
410
  }, {
415
411
  keys: [['Alt', 'Enter']],
package/helpers/mixed.js CHANGED
@@ -134,7 +134,7 @@ const domMessages = {
134
134
  function _injectProductInfo(key, element) {
135
135
  const hasValidType = !isEmpty(key);
136
136
  const isNonCommercial = typeof key === 'string' && key.toLowerCase() === 'non-commercial-and-evaluation';
137
- const hotVersion = "0.0.0-next-220577a-20231130";
137
+ const hotVersion = "0.0.0-next-c886551-20231130";
138
138
  let keyValidityDate;
139
139
  let consoleMessageState = 'invalid';
140
140
  let domMessageState = 'invalid';
package/helpers/mixed.mjs CHANGED
@@ -124,7 +124,7 @@ const domMessages = {
124
124
  export function _injectProductInfo(key, element) {
125
125
  const hasValidType = !isEmpty(key);
126
126
  const isNonCommercial = typeof key === 'string' && key.toLowerCase() === 'non-commercial-and-evaluation';
127
- const hotVersion = "0.0.0-next-220577a-20231130";
127
+ const hotVersion = "0.0.0-next-c886551-20231130";
128
128
  let keyValidityDate;
129
129
  let consoleMessageState = 'invalid';
130
130
  let domMessageState = 'invalid';
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "url": "https://github.com/handsontable/handsontable/issues"
11
11
  },
12
12
  "author": "Handsoncode <hello@handsontable.com>",
13
- "version": "0.0.0-next-220577a-20231130",
13
+ "version": "0.0.0-next-c886551-20231130",
14
14
  "main": "index",
15
15
  "module": "index.mjs",
16
16
  "jsnext:main": "index.mjs",
package/pluginHooks.js CHANGED
@@ -122,7 +122,9 @@ function _toPrimitive(input, hint) { if (typeof input !== "object" || input ===
122
122
  * });
123
123
  * :::
124
124
  * ...
125
- */ // @TODO: Move plugin description hooks to plugin?
125
+ */
126
+
127
+ // @TODO: Move plugin description hooks to plugin?
126
128
  const REGISTERED_HOOKS = [/* eslint-disable jsdoc/require-description-complete-sentence */
127
129
  /**
128
130
  * Fired after resetting a cell's meta. This happens when the {@link Core#updateSettings} method is called.
@@ -323,7 +323,6 @@ class CustomBorders extends _base.BasePlugin {
323
323
  }
324
324
  });
325
325
  }
326
-
327
326
  this.hot.setCellMeta(row, column, 'borders', (0, _utils.denormalizeBorder)(border));
328
327
  this.insertBorderIntoSettings(border, place);
329
328
  }
@@ -608,7 +607,6 @@ class CustomBorders extends _base.BasePlugin {
608
607
  }
609
608
  });
610
609
  }
611
-
612
610
  return check;
613
611
  }
614
612
 
@@ -631,12 +629,10 @@ class CustomBorders extends _base.BasePlugin {
631
629
  (0, _array.arrayEach)(borders, borderObject => {
632
630
  borderObject.toggleHiddenClass(place, remove); // TODO this also bad?
633
631
  });
634
-
635
632
  check = true;
636
633
  return false; // breaks forAll
637
634
  }
638
635
  });
639
-
640
636
  return check;
641
637
  }
642
638
 
@@ -672,7 +668,6 @@ class CustomBorders extends _base.BasePlugin {
672
668
  }
673
669
  });
674
670
  }
675
-
676
671
  return check;
677
672
  }
678
673
 
@@ -318,7 +318,6 @@ export class CustomBorders extends BasePlugin {
318
318
  }
319
319
  });
320
320
  }
321
-
322
321
  this.hot.setCellMeta(row, column, 'borders', denormalizeBorder(border));
323
322
  this.insertBorderIntoSettings(border, place);
324
323
  }
@@ -603,7 +602,6 @@ export class CustomBorders extends BasePlugin {
603
602
  }
604
603
  });
605
604
  }
606
-
607
605
  return check;
608
606
  }
609
607
 
@@ -626,12 +624,10 @@ export class CustomBorders extends BasePlugin {
626
624
  arrayEach(borders, borderObject => {
627
625
  borderObject.toggleHiddenClass(place, remove); // TODO this also bad?
628
626
  });
629
-
630
627
  check = true;
631
628
  return false; // breaks forAll
632
629
  }
633
630
  });
634
-
635
631
  return check;
636
632
  }
637
633
 
@@ -667,7 +663,6 @@ export class CustomBorders extends BasePlugin {
667
663
  }
668
664
  });
669
665
  }
670
-
671
666
  return check;
672
667
  }
673
668
 
@@ -207,7 +207,6 @@ function checkSelectionBorders(hot, direction) {
207
207
  }
208
208
  });
209
209
  });
210
-
211
210
  return atLeastOneHasBorder;
212
211
  }
213
212
 
@@ -191,7 +191,6 @@ export function checkSelectionBorders(hot, direction) {
191
191
  }
192
192
  });
193
193
  });
194
-
195
194
  return atLeastOneHasBorder;
196
195
  }
197
196
 
@@ -1189,7 +1189,6 @@ function _onBeforeCreateRow2(visualRow, amount) {
1189
1189
  if (visualRow >= this.hot.countRows()) {
1190
1190
  hfRowIndex = visualRow; // Row beyond the table boundaries.
1191
1191
  }
1192
-
1193
1192
  if (this.sheetId === null || !this.engine.doesSheetExist(this.sheetName) || !this.engine.isItPossibleToAddRows(this.sheetId, [hfRowIndex, amount])) {
1194
1193
  return false;
1195
1194
  }
@@ -1199,7 +1198,6 @@ function _onBeforeCreateCol2(visualColumn, amount) {
1199
1198
  if (visualColumn >= this.hot.countCols()) {
1200
1199
  hfColumnIndex = visualColumn; // Column beyond the table boundaries.
1201
1200
  }
1202
-
1203
1201
  if (this.sheetId === null || !this.engine.doesSheetExist(this.sheetName) || !this.engine.isItPossibleToAddColumns(this.sheetId, [hfColumnIndex, amount])) {
1204
1202
  return false;
1205
1203
  }
@@ -1184,7 +1184,6 @@ function _onBeforeCreateRow2(visualRow, amount) {
1184
1184
  if (visualRow >= this.hot.countRows()) {
1185
1185
  hfRowIndex = visualRow; // Row beyond the table boundaries.
1186
1186
  }
1187
-
1188
1187
  if (this.sheetId === null || !this.engine.doesSheetExist(this.sheetName) || !this.engine.isItPossibleToAddRows(this.sheetId, [hfRowIndex, amount])) {
1189
1188
  return false;
1190
1189
  }
@@ -1194,7 +1193,6 @@ function _onBeforeCreateCol2(visualColumn, amount) {
1194
1193
  if (visualColumn >= this.hot.countCols()) {
1195
1194
  hfColumnIndex = visualColumn; // Column beyond the table boundaries.
1196
1195
  }
1197
-
1198
1196
  if (this.sheetId === null || !this.engine.doesSheetExist(this.sheetName) || !this.engine.isItPossibleToAddColumns(this.sheetId, [hfColumnIndex, amount])) {
1199
1197
  return false;
1200
1198
  }
@@ -192,7 +192,6 @@ class AxisSyncer {
192
192
  var _notMovedElements$fin;
193
193
  return (_notMovedElements$fin = notMovedElements[finalHfIndex]) !== null && _notMovedElements$fin !== void 0 ? _notMovedElements$fin : 0; // Moving before the first dataset's element.
194
194
  }
195
-
196
195
  return notMovedElements[finalHfIndex - 1] + 1; // Moving before another element.
197
196
  }
198
197
 
@@ -189,7 +189,6 @@ class AxisSyncer {
189
189
  var _notMovedElements$fin;
190
190
  return (_notMovedElements$fin = notMovedElements[finalHfIndex]) !== null && _notMovedElements$fin !== void 0 ? _notMovedElements$fin : 0; // Moving before the first dataset's element.
191
191
  }
192
-
193
192
  return notMovedElements[finalHfIndex - 1] + 1; // Moving before another element.
194
193
  }
195
194
 
@@ -509,7 +509,6 @@ class ManualColumnResize extends _base.BasePlugin {
509
509
  } else {
510
510
  this.setManualSize(column, _classPrivateFieldGet(this, _newSize)); // double click sets by auto row size plugin
511
511
  }
512
-
513
512
  this.saveManualColumnWidths();
514
513
  this.hot.runHooks('afterColumnResize', _classPrivateFieldGet(this, _newSize), column, true);
515
514
  if (forceRender) {
@@ -504,7 +504,6 @@ export class ManualColumnResize extends BasePlugin {
504
504
  } else {
505
505
  this.setManualSize(column, _classPrivateFieldGet(this, _newSize)); // double click sets by auto row size plugin
506
506
  }
507
-
508
507
  this.saveManualColumnWidths();
509
508
  this.hot.runHooks('afterColumnResize', _classPrivateFieldGet(this, _newSize), column, true);
510
509
  if (forceRender) {
@@ -910,7 +910,6 @@ class MergeCells extends _base.BasePlugin {
910
910
  }
911
911
  }
912
912
  }
913
-
914
913
  /**
915
914
  * Modify viewport start when needed. We extend viewport when merged cells aren't fully visible.
916
915
  *
@@ -1043,7 +1042,6 @@ function _onModifyTransformStart2(delta) {
1043
1042
  if (!mergeRange.includes(_classPrivateFieldGet(this, _lastDesiredCoords))) {
1044
1043
  _classPrivateFieldSet(this, _lastDesiredCoords, this.hot._createCellCoords(null, null)); // reset outdated version of lastDesiredCoords
1045
1044
  }
1046
-
1047
1045
  newDelta.row = _classPrivateFieldGet(this, _lastDesiredCoords).row ? _classPrivateFieldGet(this, _lastDesiredCoords).row - currentPosition.row : newDelta.row;
1048
1046
  newDelta.col = _classPrivateFieldGet(this, _lastDesiredCoords).col ? _classPrivateFieldGet(this, _lastDesiredCoords).col - currentPosition.col : newDelta.col;
1049
1047
  if (delta.row > 0) {
@@ -906,7 +906,6 @@ export class MergeCells extends BasePlugin {
906
906
  }
907
907
  }
908
908
  }
909
-
910
909
  /**
911
910
  * Modify viewport start when needed. We extend viewport when merged cells aren't fully visible.
912
911
  *
@@ -1038,7 +1037,6 @@ function _onModifyTransformStart2(delta) {
1038
1037
  if (!mergeRange.includes(_classPrivateFieldGet(this, _lastDesiredCoords))) {
1039
1038
  _classPrivateFieldSet(this, _lastDesiredCoords, this.hot._createCellCoords(null, null)); // reset outdated version of lastDesiredCoords
1040
1039
  }
1041
-
1042
1040
  newDelta.row = _classPrivateFieldGet(this, _lastDesiredCoords).row ? _classPrivateFieldGet(this, _lastDesiredCoords).row - currentPosition.row : newDelta.row;
1043
1041
  newDelta.col = _classPrivateFieldGet(this, _lastDesiredCoords).col ? _classPrivateFieldGet(this, _lastDesiredCoords).col - currentPosition.col : newDelta.col;
1044
1042
  if (delta.row > 0) {
@@ -755,7 +755,6 @@ function _onBeforeCopy2(data, copyableRanges, _ref2) {
755
755
  if (zeroBasedColumnIndex === 0) {
756
756
  continue; // eslint-disable-line no-continue
757
757
  }
758
-
759
758
  const isRoot = (_classPrivateFieldGet4 = _classPrivateFieldGet(this, _stateManager).getHeaderTreeNodeData(row, column)) === null || _classPrivateFieldGet4 === void 0 ? void 0 : _classPrivateFieldGet4.isRoot;
760
759
  if (isRoot === false) {
761
760
  data[zeroBasedColumnHeaderLevel][zeroBasedColumnIndex] = '';
@@ -750,7 +750,6 @@ function _onBeforeCopy2(data, copyableRanges, _ref2) {
750
750
  if (zeroBasedColumnIndex === 0) {
751
751
  continue; // eslint-disable-line no-continue
752
752
  }
753
-
754
753
  const isRoot = (_classPrivateFieldGet4 = _classPrivateFieldGet(this, _stateManager).getHeaderTreeNodeData(row, column)) === null || _classPrivateFieldGet4 === void 0 ? void 0 : _classPrivateFieldGet4.isRoot;
755
754
  if (isRoot === false) {
756
755
  data[zeroBasedColumnHeaderLevel][zeroBasedColumnIndex] = '';
@@ -144,7 +144,6 @@ class HeadersTree {
144
144
  treeNode.data.isRoot = columnIndex === treeNode.data.columnIndex;
145
145
  return false; // Cancel tree traversing.
146
146
  }
147
-
148
147
  columnCursor += origColspan;
149
148
  }
150
149
  });
@@ -140,7 +140,6 @@ export default class HeadersTree {
140
140
  treeNode.data.isRoot = columnIndex === treeNode.data.columnIndex;
141
141
  return false; // Cancel tree traversing.
142
142
  }
143
-
144
143
  columnCursor += origColspan;
145
144
  }
146
145
  });
@@ -396,7 +396,6 @@ UndoRedo.CreateRowAction.prototype.undo = function (instance, undoneCallback) {
396
396
  if (this.index >= rowCount && this.index - minSpareRows < rowCount) {
397
397
  this.index -= minSpareRows; // work around the situation where the needed row was removed due to an 'undo' of a made change
398
398
  }
399
-
400
399
  instance.addHookOnce('afterRemoveRow', undoneCallback);
401
400
  instance.alter('remove_row', this.index, this.amount, 'UndoRedo.undo');
402
401
  };
@@ -716,7 +715,6 @@ UndoRedo.prototype.registerShortcuts = function () {
716
715
  const runOnlyIf = event => {
717
716
  return !event.altKey; // right ALT in some systems triggers ALT+CTR
718
717
  };
719
-
720
718
  const config = {
721
719
  runOnlyIf,
722
720
  group: SHORTCUTS_GROUP
@@ -392,7 +392,6 @@ UndoRedo.CreateRowAction.prototype.undo = function (instance, undoneCallback) {
392
392
  if (this.index >= rowCount && this.index - minSpareRows < rowCount) {
393
393
  this.index -= minSpareRows; // work around the situation where the needed row was removed due to an 'undo' of a made change
394
394
  }
395
-
396
395
  instance.addHookOnce('afterRemoveRow', undoneCallback);
397
396
  instance.alter('remove_row', this.index, this.amount, 'UndoRedo.undo');
398
397
  };
@@ -712,7 +711,6 @@ UndoRedo.prototype.registerShortcuts = function () {
712
711
  const runOnlyIf = event => {
713
712
  return !event.altKey; // right ALT in some systems triggers ALT+CTR
714
713
  };
715
-
716
714
  const config = {
717
715
  runOnlyIf,
718
716
  group: SHORTCUTS_GROUP
@@ -41,7 +41,6 @@ function autocompleteRenderer(hotInstance, TD, row, col, prop, value, cellProper
41
41
  TD.appendChild(rootDocument.createTextNode(String.fromCharCode(160))); // workaround for https://github.com/handsontable/handsontable/issues/1946
42
42
  // this is faster than innerHTML. See: https://github.com/handsontable/handsontable/wiki/JavaScript-&-DOM-performance-tips
43
43
  }
44
-
45
44
  TD.insertBefore(ARROW, TD.firstChild);
46
45
  (0, _element.addClass)(TD, 'htAutocomplete');
47
46
  if (!hotInstance.acArrowListener) {
@@ -36,7 +36,6 @@ export function autocompleteRenderer(hotInstance, TD, row, col, prop, value, cel
36
36
  TD.appendChild(rootDocument.createTextNode(String.fromCharCode(160))); // workaround for https://github.com/handsontable/handsontable/issues/1946
37
37
  // this is faster than innerHTML. See: https://github.com/handsontable/handsontable/wiki/JavaScript-&-DOM-performance-tips
38
38
  }
39
-
40
39
  TD.insertBefore(ARROW, TD.firstChild);
41
40
  addClass(TD, 'htAutocomplete');
42
41
  if (!hotInstance.acArrowListener) {
@@ -153,7 +153,6 @@ function checkboxRenderer(hotInstance, TD, row, col, prop, value, cellProperties
153
153
  changeSelectedCheckboxesState();
154
154
  return !areSelectedCheckboxCells(); // False blocks next action associated with the keyboard shortcut.
155
155
  },
156
-
157
156
  runOnlyIf: () => hotInstance.getSettings().enterBeginsEditing
158
157
  }, {
159
158
  keys: [['delete'], ['backspace']],
@@ -161,7 +160,6 @@ function checkboxRenderer(hotInstance, TD, row, col, prop, value, cellProperties
161
160
  changeSelectedCheckboxesState(true);
162
161
  return !areSelectedCheckboxCells(); // False blocks next action associated with the keyboard shortcut.
163
162
  },
164
-
165
163
  relativeToGroup: _shortcutContexts.EDITOR_EDIT_GROUP,
166
164
  position: 'before'
167
165
  }], config);
@@ -148,7 +148,6 @@ export function checkboxRenderer(hotInstance, TD, row, col, prop, value, cellPro
148
148
  changeSelectedCheckboxesState();
149
149
  return !areSelectedCheckboxCells(); // False blocks next action associated with the keyboard shortcut.
150
150
  },
151
-
152
151
  runOnlyIf: () => hotInstance.getSettings().enterBeginsEditing
153
152
  }, {
154
153
  keys: [['delete'], ['backspace']],
@@ -156,7 +155,6 @@ export function checkboxRenderer(hotInstance, TD, row, col, prop, value, cellPro
156
155
  changeSelectedCheckboxesState(true);
157
156
  return !areSelectedCheckboxCells(); // False blocks next action associated with the keyboard shortcut.
158
157
  },
159
-
160
158
  relativeToGroup: SHORTCUTS_GROUP_EDITOR,
161
159
  position: 'before'
162
160
  }], config);
@@ -178,7 +178,6 @@ class Highlight {
178
178
  if (highlightType === _src.HIGHLIGHT_FOCUS_TYPE) {
179
179
  type = 'current'; // One from settings for `disableVisualSelection` up to Handsontable 0.36/Handsontable Pro 1.16.0.
180
180
  }
181
-
182
181
  let disableHighlight = this.options.disabledCellSelection(coords.row, coords.col);
183
182
  if (typeof disableHighlight === 'string') {
184
183
  disableHighlight = [disableHighlight];
@@ -169,7 +169,6 @@ class Highlight {
169
169
  if (highlightType === HIGHLIGHT_FOCUS_TYPE) {
170
170
  type = 'current'; // One from settings for `disableVisualSelection` up to Handsontable 0.36/Handsontable Pro 1.16.0.
171
171
  }
172
-
173
172
  let disableHighlight = this.options.disabledCellSelection(coords.row, coords.col);
174
173
  if (typeof disableHighlight === 'string') {
175
174
  disableHighlight = [disableHighlight];
package/tableView.js CHANGED
@@ -280,7 +280,6 @@ class TableView {
280
280
  if (originalStyle) {
281
281
  rootElement.setAttribute('data-originalstyle', originalStyle); // needed to retrieve original style in jsFiddle link generator in HT examples. may be removed in future versions
282
282
  }
283
-
284
283
  (0, _element.addClass)(rootElement, 'handsontable');
285
284
  _classPrivateFieldSet(this, _table, rootDocument.createElement('TABLE'));
286
285
  (0, _element.addClass)(_classPrivateFieldGet(this, _table), 'htCore');
@@ -322,7 +321,6 @@ class TableView {
322
321
  rootWindow.focus(); // make sure that window that contains HOT is active. Important when HOT is in iframe.
323
322
  }
324
323
  });
325
-
326
324
  this.eventManager.addEventListener(rootElement, 'mouseup', () => {
327
325
  _classPrivateFieldSet(this, _selectionMouseDown, false);
328
326
  });
package/tableView.mjs CHANGED
@@ -276,7 +276,6 @@ class TableView {
276
276
  if (originalStyle) {
277
277
  rootElement.setAttribute('data-originalstyle', originalStyle); // needed to retrieve original style in jsFiddle link generator in HT examples. may be removed in future versions
278
278
  }
279
-
280
279
  addClass(rootElement, 'handsontable');
281
280
  _classPrivateFieldSet(this, _table, rootDocument.createElement('TABLE'));
282
281
  addClass(_classPrivateFieldGet(this, _table), 'htCore');
@@ -318,7 +317,6 @@ class TableView {
318
317
  rootWindow.focus(); // make sure that window that contains HOT is active. Important when HOT is in iframe.
319
318
  }
320
319
  });
321
-
322
320
  this.eventManager.addEventListener(rootElement, 'mouseup', () => {
323
321
  _classPrivateFieldSet(this, _selectionMouseDown, false);
324
322
  });
@@ -17,7 +17,8 @@ function _toPrimitive(input, hint) { if (typeof input !== "object" || input ===
17
17
  * A set of deprecated feature names.
18
18
  *
19
19
  * @type {Set<string>}
20
- */ // eslint-disable-next-line no-unused-vars
20
+ */
21
+ // eslint-disable-next-line no-unused-vars
21
22
  const deprecationWarns = new Set();
22
23
 
23
24
  /**
@@ -9,7 +9,6 @@ const STRICT_FORMATS = ['YYYY-MM-DDTHH:mm:ss.SSSZ', 'X',
9
9
  // Unix timestamp
10
10
  'x' // Unix ms timestamp
11
11
  ];
12
-
13
12
  const VALIDATOR_TYPE = exports.VALIDATOR_TYPE = 'time';
14
13
 
15
14
  /**
@@ -5,7 +5,6 @@ const STRICT_FORMATS = ['YYYY-MM-DDTHH:mm:ss.SSSZ', 'X',
5
5
  // Unix timestamp
6
6
  'x' // Unix ms timestamp
7
7
  ];
8
-
9
8
  export const VALIDATOR_TYPE = 'time';
10
9
 
11
10
  /**