handsontable 0.0.0-next-c7dbb4a-20240318 → 0.0.0-next-f748da8-20240318

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.

Potentially problematic release.


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

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-c7dbb4a-20240318";
137
+ const hotVersion = "0.0.0-next-f748da8-20240318";
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-c7dbb4a-20240318";
127
+ const hotVersion = "0.0.0-next-f748da8-20240318";
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-c7dbb4a-20240318",
13
+ "version": "0.0.0-next-f748da8-20240318",
14
14
  "main": "index",
15
15
  "module": "index.mjs",
16
16
  "jsnext:main": "index.mjs",
@@ -286,8 +286,8 @@ class CollapsibleColumns extends _base.BasePlugin {
286
286
  return false;
287
287
  },
288
288
  runOnlyIf: () => {
289
- var _this$hot$getSelected;
290
- return (_this$hot$getSelected = this.hot.getSelectedRangeLast()) === null || _this$hot$getSelected === void 0 ? void 0 : _this$hot$getSelected.highlight.isHeader();
289
+ var _this$hot$getSelected, _this$hot$getSelected2;
290
+ return ((_this$hot$getSelected = this.hot.getSelectedRangeLast()) === null || _this$hot$getSelected === void 0 ? void 0 : _this$hot$getSelected.isSingle()) && ((_this$hot$getSelected2 = this.hot.getSelectedRangeLast()) === null || _this$hot$getSelected2 === void 0 ? void 0 : _this$hot$getSelected2.highlight.isHeader());
291
291
  },
292
292
  group: SHORTCUTS_GROUP,
293
293
  relativeToGroup: _shortcutContexts.EDITOR_EDIT_GROUP,
@@ -283,8 +283,8 @@ export class CollapsibleColumns extends BasePlugin {
283
283
  return false;
284
284
  },
285
285
  runOnlyIf: () => {
286
- var _this$hot$getSelected;
287
- return (_this$hot$getSelected = this.hot.getSelectedRangeLast()) === null || _this$hot$getSelected === void 0 ? void 0 : _this$hot$getSelected.highlight.isHeader();
286
+ var _this$hot$getSelected, _this$hot$getSelected2;
287
+ return ((_this$hot$getSelected = this.hot.getSelectedRangeLast()) === null || _this$hot$getSelected === void 0 ? void 0 : _this$hot$getSelected.isSingle()) && ((_this$hot$getSelected2 = this.hot.getSelectedRangeLast()) === null || _this$hot$getSelected2 === void 0 ? void 0 : _this$hot$getSelected2.highlight.isHeader());
288
288
  },
289
289
  group: SHORTCUTS_GROUP,
290
290
  relativeToGroup: SHORTCUTS_GROUP_EDITOR,
@@ -229,9 +229,9 @@ class ColumnSorting extends _base.BasePlugin {
229
229
  return false;
230
230
  },
231
231
  runOnlyIf: () => {
232
- var _this$hot$getSelected;
232
+ var _this$hot$getSelected, _this$hot$getSelected2;
233
233
  const highlight = (_this$hot$getSelected = this.hot.getSelectedRangeLast()) === null || _this$hot$getSelected === void 0 ? void 0 : _this$hot$getSelected.highlight;
234
- return highlight && this.hot.selection.isCellVisible(highlight) && highlight.isHeader();
234
+ return highlight && ((_this$hot$getSelected2 = this.hot.getSelectedRangeLast()) === null || _this$hot$getSelected2 === void 0 ? void 0 : _this$hot$getSelected2.isSingle()) && this.hot.selection.isCellVisible(highlight) && highlight.isHeader();
235
235
  },
236
236
  relativeToGroup: _shortcutContexts.EDITOR_EDIT_GROUP,
237
237
  position: 'before',
@@ -225,9 +225,9 @@ export class ColumnSorting extends BasePlugin {
225
225
  return false;
226
226
  },
227
227
  runOnlyIf: () => {
228
- var _this$hot$getSelected;
228
+ var _this$hot$getSelected, _this$hot$getSelected2;
229
229
  const highlight = (_this$hot$getSelected = this.hot.getSelectedRangeLast()) === null || _this$hot$getSelected === void 0 ? void 0 : _this$hot$getSelected.highlight;
230
- return highlight && this.hot.selection.isCellVisible(highlight) && highlight.isHeader();
230
+ return highlight && ((_this$hot$getSelected2 = this.hot.getSelectedRangeLast()) === null || _this$hot$getSelected2 === void 0 ? void 0 : _this$hot$getSelected2.isSingle()) && this.hot.selection.isCellVisible(highlight) && highlight.isHeader();
231
231
  },
232
232
  relativeToGroup: SHORTCUTS_GROUP_EDITOR,
233
233
  position: 'before',
@@ -136,9 +136,9 @@ class MultiColumnSorting extends _columnSorting.ColumnSorting {
136
136
  return false;
137
137
  },
138
138
  runOnlyIf: () => {
139
- var _this$hot$getSelected;
139
+ var _this$hot$getSelected, _this$hot$getSelected2;
140
140
  const highlight = (_this$hot$getSelected = this.hot.getSelectedRangeLast()) === null || _this$hot$getSelected === void 0 ? void 0 : _this$hot$getSelected.highlight;
141
- return highlight && this.hot.selection.isCellVisible(highlight) && highlight.isHeader();
141
+ return highlight && ((_this$hot$getSelected2 = this.hot.getSelectedRangeLast()) === null || _this$hot$getSelected2 === void 0 ? void 0 : _this$hot$getSelected2.isSingle()) && this.hot.selection.isCellVisible(highlight) && highlight.isHeader();
142
142
  },
143
143
  relativeToGroup: _shortcutContexts.EDITOR_EDIT_GROUP,
144
144
  position: 'before',
@@ -133,9 +133,9 @@ export class MultiColumnSorting extends ColumnSorting {
133
133
  return false;
134
134
  },
135
135
  runOnlyIf: () => {
136
- var _this$hot$getSelected;
136
+ var _this$hot$getSelected, _this$hot$getSelected2;
137
137
  const highlight = (_this$hot$getSelected = this.hot.getSelectedRangeLast()) === null || _this$hot$getSelected === void 0 ? void 0 : _this$hot$getSelected.highlight;
138
- return highlight && this.hot.selection.isCellVisible(highlight) && highlight.isHeader();
138
+ return highlight && ((_this$hot$getSelected2 = this.hot.getSelectedRangeLast()) === null || _this$hot$getSelected2 === void 0 ? void 0 : _this$hot$getSelected2.isSingle()) && this.hot.selection.isCellVisible(highlight) && highlight.isHeader();
139
139
  },
140
140
  relativeToGroup: SHORTCUTS_GROUP_EDITOR,
141
141
  position: 'before',
@@ -282,9 +282,9 @@ class NestedRows extends _base.BasePlugin {
282
282
  return false;
283
283
  },
284
284
  runOnlyIf: () => {
285
- var _this$hot$getSelected;
285
+ var _this$hot$getSelected, _this$hot$getSelected2;
286
286
  const highlight = (_this$hot$getSelected = this.hot.getSelectedRangeLast()) === null || _this$hot$getSelected === void 0 ? void 0 : _this$hot$getSelected.highlight;
287
- return highlight && this.hot.selection.isCellVisible(highlight) && highlight.isHeader();
287
+ return highlight && ((_this$hot$getSelected2 = this.hot.getSelectedRangeLast()) === null || _this$hot$getSelected2 === void 0 ? void 0 : _this$hot$getSelected2.isSingle()) && this.hot.selection.isCellVisible(highlight) && highlight.isHeader();
288
288
  },
289
289
  group: SHORTCUTS_GROUP,
290
290
  relativeToGroup: _shortcutContexts.EDITOR_EDIT_GROUP,
@@ -278,9 +278,9 @@ export class NestedRows extends BasePlugin {
278
278
  return false;
279
279
  },
280
280
  runOnlyIf: () => {
281
- var _this$hot$getSelected;
281
+ var _this$hot$getSelected, _this$hot$getSelected2;
282
282
  const highlight = (_this$hot$getSelected = this.hot.getSelectedRangeLast()) === null || _this$hot$getSelected === void 0 ? void 0 : _this$hot$getSelected.highlight;
283
- return highlight && this.hot.selection.isCellVisible(highlight) && highlight.isHeader();
283
+ return highlight && ((_this$hot$getSelected2 = this.hot.getSelectedRangeLast()) === null || _this$hot$getSelected2 === void 0 ? void 0 : _this$hot$getSelected2.isSingle()) && this.hot.selection.isCellVisible(highlight) && highlight.isHeader();
284
284
  },
285
285
  group: SHORTCUTS_GROUP,
286
286
  relativeToGroup: SHORTCUTS_GROUP_EDITOR,