@handsontable/vue 15.1.0 → 15.2.0-next-8670a33-20250312

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.
@@ -2,7 +2,7 @@ import Handsontable from 'handsontable/base';
2
2
  import Vue from 'vue';
3
3
 
4
4
  function _assertThisInitialized(e) {
5
- if (undefined === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
5
+ if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
6
6
  return e;
7
7
  }
8
8
  function _callSuper(t, o, e) {
@@ -78,7 +78,7 @@ function _objectSpread2(e) {
78
78
  }
79
79
  function _possibleConstructorReturn(t, e) {
80
80
  if (e && ("object" == typeof e || "function" == typeof e)) return e;
81
- if (undefined !== e) throw new TypeError("Derived constructors may only return object or undefined");
81
+ if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
82
82
  return _assertThisInitialized(t);
83
83
  }
84
84
  function _setPrototypeOf(t, e) {
@@ -89,7 +89,7 @@ function _setPrototypeOf(t, e) {
89
89
  function _toPrimitive(t, r) {
90
90
  if ("object" != typeof t || !t) return t;
91
91
  var e = t[Symbol.toPrimitive];
92
- if (undefined !== e) {
92
+ if (void 0 !== e) {
93
93
  var i = e.call(t, r);
94
94
  if ("object" != typeof i) return i;
95
95
  throw new TypeError("@@toPrimitive must return a primitive value.");
@@ -210,12 +210,12 @@ function prepareSettings(props, currentSettings) {
210
210
  var additionalHotSettingsInProps = props.settings ? assignedProps : null;
211
211
  var newSettings = {};
212
212
  for (var key in hotSettingsInProps) {
213
- if (hotSettingsInProps.hasOwnProperty(key) && hotSettingsInProps[key] !== undefined && (currentSettings && key !== 'data' ? !simpleEqual(currentSettings[key], hotSettingsInProps[key]) : true)) {
213
+ if (hotSettingsInProps.hasOwnProperty(key) && hotSettingsInProps[key] !== void 0 && (currentSettings && key !== 'data' ? !simpleEqual(currentSettings[key], hotSettingsInProps[key]) : true)) {
214
214
  newSettings[key] = hotSettingsInProps[key];
215
215
  }
216
216
  }
217
217
  for (var _key in additionalHotSettingsInProps) {
218
- if (additionalHotSettingsInProps.hasOwnProperty(_key) && _key !== 'id' && _key !== 'settings' && _key !== 'wrapperRendererCacheSize' && additionalHotSettingsInProps[_key] !== undefined && (currentSettings && _key !== 'data' ? !simpleEqual(currentSettings[_key], additionalHotSettingsInProps[_key]) : true)) {
218
+ if (additionalHotSettingsInProps.hasOwnProperty(_key) && _key !== 'id' && _key !== 'settings' && _key !== 'wrapperRendererCacheSize' && additionalHotSettingsInProps[_key] !== void 0 && (currentSettings && _key !== 'data' ? !simpleEqual(currentSettings[_key], additionalHotSettingsInProps[_key]) : true)) {
219
219
  newSettings[_key] = additionalHotSettingsInProps[_key];
220
220
  }
221
221
  }
@@ -231,7 +231,7 @@ function prepareSettings(props, currentSettings) {
231
231
  function findVNodeByType(componentSlots, type) {
232
232
  var componentVNode = null;
233
233
  componentSlots.every(function (slot, index) {
234
- if (slot.data && slot.data.attrs && slot.data.attrs[type] !== undefined) {
234
+ if (slot.data && slot.data.attrs && slot.data.attrs[type] !== void 0) {
235
235
  componentVNode = slot;
236
236
  return false;
237
237
  }
@@ -306,7 +306,7 @@ function simpleEqual(objectA, objectB) {
306
306
  }
307
307
  }
308
308
 
309
- var version="15.1.0";
309
+ var version="15.2.0-next-8670a33-20250312";
310
310
 
311
311
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
312
312
 
@@ -463,7 +463,7 @@ var HotTable = {
463
463
  props: propFactory('HotTable'),
464
464
  watch: {
465
465
  mergedHotSettings: function mergedHotSettings(value) {
466
- if (!this.hotInstance || value === undefined) {
466
+ if (!this.hotInstance || value === void 0) {
467
467
  return;
468
468
  }
469
469
  if (value.data) {
@@ -517,7 +517,7 @@ var HotTable = {
517
517
  },
518
518
  computed: {
519
519
  mergedHotSettings: function mergedHotSettings() {
520
- return prepareSettings(this.$props, this.hotInstance ? this.hotInstance.getSettings() : undefined);
520
+ return prepareSettings(this.$props, this.hotInstance ? this.hotInstance.getSettings() : void 0);
521
521
  }
522
522
  },
523
523
  methods: {
@@ -563,7 +563,7 @@ var HotTable = {
563
563
  if (isColumnModificationAllowed) {
564
564
  var _data$;
565
565
  indexMapperColumnCount = this.hotInstance.columnIndexMapper.getNumberOfIndexes();
566
- if (data && data[0] && ((_data$ = data[0]) === null || _data$ === undefined ? undefined : _data$.length) !== indexMapperColumnCount) {
566
+ if (data && data[0] && ((_data$ = data[0]) === null || _data$ === void 0 ? void 0 : _data$.length) !== indexMapperColumnCount) {
567
567
  if (data[0].length < indexMapperColumnCount) {
568
568
  for (var c = data[0].length; c < indexMapperColumnCount; c++) {
569
569
  columnsToRemove.push(c);
@@ -609,7 +609,7 @@ var HotTable = {
609
609
  if (usesRendererComponent && this.settings && (this.settings.autoColumnSize !== false || this.settings.autoRowSize) && (this.autoColumnSize !== false || this.autoRowSize)) {
610
610
  console.warn('Your `hot-table` configuration includes both `hot-column` and `autoRowSize`/`autoColumnSize`, which are not compatible with each other ' + 'in this version of `@handsontable/vue`. Disable `autoRowSize` and `autoColumnSize` to prevent row and column misalignment.');
611
611
  }
612
- return columnSettings.length ? columnSettings : undefined;
612
+ return columnSettings.length ? columnSettings : void 0;
613
613
  },
614
614
  /**
615
615
  * Create the wrapper function for the provided renderer child component.
@@ -754,7 +754,7 @@ var HotColumn = {
754
754
  var rendererVNode = findVNodeByType(hotColumnSlots, 'hot-renderer');
755
755
  var editorVNode = findVNodeByType(hotColumnSlots, 'hot-editor');
756
756
  var assignedProps = filterPassedProps(this.$props);
757
- if (rendererVNode && this.usesRendererComponent === undefined) {
757
+ if (rendererVNode && this.usesRendererComponent === void 0) {
758
758
  this.usesRendererComponent = true;
759
759
  }
760
760
  this.columnSettings = _objectSpread2({}, assignedProps);
@@ -959,7 +959,7 @@ function componentFactory(Component) {
959
959
  return;
960
960
  }
961
961
  var descriptor = Object.getOwnPropertyDescriptor(proto, key);
962
- if (descriptor.value !== undefined) {
962
+ if (descriptor.value !== void 0) {
963
963
  // methods
964
964
  if (typeof descriptor.value === 'function') {
965
965
  (options.methods || (options.methods = {}))[key] = descriptor.value;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@handsontable/vue",
3
- "version": "15.1.0",
3
+ "version": "15.2.0-next-8670a33-20250312",
4
4
  "description": "Best Data Grid for Vue with Spreadsheet Look and Feel.",
5
5
  "author": "Handsoncode <hello@handsoncode.net> (https://handsoncode.net)",
6
6
  "homepage": "https://handsontable.com",
@@ -53,7 +53,7 @@
53
53
  "url": "https://github.com/handsontable/handsontable/issues"
54
54
  },
55
55
  "peerDependencies": {
56
- "handsontable": ">=15.0.0",
56
+ "handsontable": "15.2.0-next-8670a33-20250312",
57
57
  "vue": "^2.5.0"
58
58
  },
59
59
  "devDependencies": {
@@ -73,7 +73,7 @@
73
73
  "@vue/test-utils": "^1.0.3",
74
74
  "cross-env": "^7.0.3",
75
75
  "css-loader": "^6.10.0",
76
- "handsontable": "^15.0.0",
76
+ "handsontable": "15.2.0-next-8670a33-20250312",
77
77
  "jest": "^26.6.3",
78
78
  "rimraf": "^3.0.2",
79
79
  "rollup": "^4.16.1",