@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.
@@ -11,7 +11,7 @@ var Handsontable__default = /*#__PURE__*/_interopDefaultCompat(Handsontable);
11
11
  var Vue__default = /*#__PURE__*/_interopDefaultCompat(Vue);
12
12
 
13
13
  function _assertThisInitialized(e) {
14
- if (undefined === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
14
+ if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
15
15
  return e;
16
16
  }
17
17
  function _callSuper(t, o, e) {
@@ -87,7 +87,7 @@ function _objectSpread2(e) {
87
87
  }
88
88
  function _possibleConstructorReturn(t, e) {
89
89
  if (e && ("object" == typeof e || "function" == typeof e)) return e;
90
- if (undefined !== e) throw new TypeError("Derived constructors may only return object or undefined");
90
+ if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
91
91
  return _assertThisInitialized(t);
92
92
  }
93
93
  function _setPrototypeOf(t, e) {
@@ -98,7 +98,7 @@ function _setPrototypeOf(t, e) {
98
98
  function _toPrimitive(t, r) {
99
99
  if ("object" != typeof t || !t) return t;
100
100
  var e = t[Symbol.toPrimitive];
101
- if (undefined !== e) {
101
+ if (void 0 !== e) {
102
102
  var i = e.call(t, r);
103
103
  if ("object" != typeof i) return i;
104
104
  throw new TypeError("@@toPrimitive must return a primitive value.");
@@ -219,12 +219,12 @@ function prepareSettings(props, currentSettings) {
219
219
  var additionalHotSettingsInProps = props.settings ? assignedProps : null;
220
220
  var newSettings = {};
221
221
  for (var key in hotSettingsInProps) {
222
- if (hotSettingsInProps.hasOwnProperty(key) && hotSettingsInProps[key] !== undefined && (currentSettings && key !== 'data' ? !simpleEqual(currentSettings[key], hotSettingsInProps[key]) : true)) {
222
+ if (hotSettingsInProps.hasOwnProperty(key) && hotSettingsInProps[key] !== void 0 && (currentSettings && key !== 'data' ? !simpleEqual(currentSettings[key], hotSettingsInProps[key]) : true)) {
223
223
  newSettings[key] = hotSettingsInProps[key];
224
224
  }
225
225
  }
226
226
  for (var _key in additionalHotSettingsInProps) {
227
- if (additionalHotSettingsInProps.hasOwnProperty(_key) && _key !== 'id' && _key !== 'settings' && _key !== 'wrapperRendererCacheSize' && additionalHotSettingsInProps[_key] !== undefined && (currentSettings && _key !== 'data' ? !simpleEqual(currentSettings[_key], additionalHotSettingsInProps[_key]) : true)) {
227
+ if (additionalHotSettingsInProps.hasOwnProperty(_key) && _key !== 'id' && _key !== 'settings' && _key !== 'wrapperRendererCacheSize' && additionalHotSettingsInProps[_key] !== void 0 && (currentSettings && _key !== 'data' ? !simpleEqual(currentSettings[_key], additionalHotSettingsInProps[_key]) : true)) {
228
228
  newSettings[_key] = additionalHotSettingsInProps[_key];
229
229
  }
230
230
  }
@@ -240,7 +240,7 @@ function prepareSettings(props, currentSettings) {
240
240
  function findVNodeByType(componentSlots, type) {
241
241
  var componentVNode = null;
242
242
  componentSlots.every(function (slot, index) {
243
- if (slot.data && slot.data.attrs && slot.data.attrs[type] !== undefined) {
243
+ if (slot.data && slot.data.attrs && slot.data.attrs[type] !== void 0) {
244
244
  componentVNode = slot;
245
245
  return false;
246
246
  }
@@ -315,7 +315,7 @@ function simpleEqual(objectA, objectB) {
315
315
  }
316
316
  }
317
317
 
318
- var version="15.1.0";
318
+ var version="15.2.0-next-8670a33-20250312";
319
319
 
320
320
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
321
321
 
@@ -472,7 +472,7 @@ var HotTable = {
472
472
  props: propFactory('HotTable'),
473
473
  watch: {
474
474
  mergedHotSettings: function mergedHotSettings(value) {
475
- if (!this.hotInstance || value === undefined) {
475
+ if (!this.hotInstance || value === void 0) {
476
476
  return;
477
477
  }
478
478
  if (value.data) {
@@ -526,7 +526,7 @@ var HotTable = {
526
526
  },
527
527
  computed: {
528
528
  mergedHotSettings: function mergedHotSettings() {
529
- return prepareSettings(this.$props, this.hotInstance ? this.hotInstance.getSettings() : undefined);
529
+ return prepareSettings(this.$props, this.hotInstance ? this.hotInstance.getSettings() : void 0);
530
530
  }
531
531
  },
532
532
  methods: {
@@ -572,7 +572,7 @@ var HotTable = {
572
572
  if (isColumnModificationAllowed) {
573
573
  var _data$;
574
574
  indexMapperColumnCount = this.hotInstance.columnIndexMapper.getNumberOfIndexes();
575
- if (data && data[0] && ((_data$ = data[0]) === null || _data$ === undefined ? undefined : _data$.length) !== indexMapperColumnCount) {
575
+ if (data && data[0] && ((_data$ = data[0]) === null || _data$ === void 0 ? void 0 : _data$.length) !== indexMapperColumnCount) {
576
576
  if (data[0].length < indexMapperColumnCount) {
577
577
  for (var c = data[0].length; c < indexMapperColumnCount; c++) {
578
578
  columnsToRemove.push(c);
@@ -618,7 +618,7 @@ var HotTable = {
618
618
  if (usesRendererComponent && this.settings && (this.settings.autoColumnSize !== false || this.settings.autoRowSize) && (this.autoColumnSize !== false || this.autoRowSize)) {
619
619
  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.');
620
620
  }
621
- return columnSettings.length ? columnSettings : undefined;
621
+ return columnSettings.length ? columnSettings : void 0;
622
622
  },
623
623
  /**
624
624
  * Create the wrapper function for the provided renderer child component.
@@ -763,7 +763,7 @@ var HotColumn = {
763
763
  var rendererVNode = findVNodeByType(hotColumnSlots, 'hot-renderer');
764
764
  var editorVNode = findVNodeByType(hotColumnSlots, 'hot-editor');
765
765
  var assignedProps = filterPassedProps(this.$props);
766
- if (rendererVNode && this.usesRendererComponent === undefined) {
766
+ if (rendererVNode && this.usesRendererComponent === void 0) {
767
767
  this.usesRendererComponent = true;
768
768
  }
769
769
  this.columnSettings = _objectSpread2({}, assignedProps);
@@ -968,7 +968,7 @@ function componentFactory(Component) {
968
968
  return;
969
969
  }
970
970
  var descriptor = Object.getOwnPropertyDescriptor(proto, key);
971
- if (descriptor.value !== undefined) {
971
+ if (descriptor.value !== void 0) {
972
972
  // methods
973
973
  if (typeof descriptor.value === 'function') {
974
974
  (options.methods || (options.methods = {}))[key] = descriptor.value;
@@ -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: 15.1.0 (built at Wed Feb 19 2025 10:02:03 GMT+0100 (Central European Standard Time))
28
+ * Version: 15.2.0-next-8670a33-20250312 (built at Wed Mar 12 2025 10:13:53 GMT+0000 (Coordinated Universal Time))
29
29
  */
30
30
  (function (global, factory) {
31
31
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('handsontable/base'), require('vue')) :
@@ -39,7 +39,7 @@ var Handsontable__default = /*#__PURE__*/_interopDefaultCompat(Handsontable);
39
39
  var Vue__default = /*#__PURE__*/_interopDefaultCompat(Vue);
40
40
 
41
41
  function _assertThisInitialized(e) {
42
- if (undefined === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
42
+ if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
43
43
  return e;
44
44
  }
45
45
  function _callSuper(t, o, e) {
@@ -115,7 +115,7 @@ function _objectSpread2(e) {
115
115
  }
116
116
  function _possibleConstructorReturn(t, e) {
117
117
  if (e && ("object" == typeof e || "function" == typeof e)) return e;
118
- if (undefined !== e) throw new TypeError("Derived constructors may only return object or undefined");
118
+ if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
119
119
  return _assertThisInitialized(t);
120
120
  }
121
121
  function _setPrototypeOf(t, e) {
@@ -126,7 +126,7 @@ function _setPrototypeOf(t, e) {
126
126
  function _toPrimitive(t, r) {
127
127
  if ("object" != typeof t || !t) return t;
128
128
  var e = t[Symbol.toPrimitive];
129
- if (undefined !== e) {
129
+ if (void 0 !== e) {
130
130
  var i = e.call(t, r);
131
131
  if ("object" != typeof i) return i;
132
132
  throw new TypeError("@@toPrimitive must return a primitive value.");
@@ -247,12 +247,12 @@ function prepareSettings(props, currentSettings) {
247
247
  var additionalHotSettingsInProps = props.settings ? assignedProps : null;
248
248
  var newSettings = {};
249
249
  for (var key in hotSettingsInProps) {
250
- if (hotSettingsInProps.hasOwnProperty(key) && hotSettingsInProps[key] !== undefined && (currentSettings && key !== 'data' ? !simpleEqual(currentSettings[key], hotSettingsInProps[key]) : true)) {
250
+ if (hotSettingsInProps.hasOwnProperty(key) && hotSettingsInProps[key] !== void 0 && (currentSettings && key !== 'data' ? !simpleEqual(currentSettings[key], hotSettingsInProps[key]) : true)) {
251
251
  newSettings[key] = hotSettingsInProps[key];
252
252
  }
253
253
  }
254
254
  for (var _key in additionalHotSettingsInProps) {
255
- if (additionalHotSettingsInProps.hasOwnProperty(_key) && _key !== 'id' && _key !== 'settings' && _key !== 'wrapperRendererCacheSize' && additionalHotSettingsInProps[_key] !== undefined && (currentSettings && _key !== 'data' ? !simpleEqual(currentSettings[_key], additionalHotSettingsInProps[_key]) : true)) {
255
+ if (additionalHotSettingsInProps.hasOwnProperty(_key) && _key !== 'id' && _key !== 'settings' && _key !== 'wrapperRendererCacheSize' && additionalHotSettingsInProps[_key] !== void 0 && (currentSettings && _key !== 'data' ? !simpleEqual(currentSettings[_key], additionalHotSettingsInProps[_key]) : true)) {
256
256
  newSettings[_key] = additionalHotSettingsInProps[_key];
257
257
  }
258
258
  }
@@ -268,7 +268,7 @@ function prepareSettings(props, currentSettings) {
268
268
  function findVNodeByType(componentSlots, type) {
269
269
  var componentVNode = null;
270
270
  componentSlots.every(function (slot, index) {
271
- if (slot.data && slot.data.attrs && slot.data.attrs[type] !== undefined) {
271
+ if (slot.data && slot.data.attrs && slot.data.attrs[type] !== void 0) {
272
272
  componentVNode = slot;
273
273
  return false;
274
274
  }
@@ -343,7 +343,7 @@ function simpleEqual(objectA, objectB) {
343
343
  }
344
344
  }
345
345
 
346
- var version="15.1.0";
346
+ var version="15.2.0-next-8670a33-20250312";
347
347
 
348
348
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
349
349
 
@@ -500,7 +500,7 @@ var HotTable = {
500
500
  props: propFactory('HotTable'),
501
501
  watch: {
502
502
  mergedHotSettings: function mergedHotSettings(value) {
503
- if (!this.hotInstance || value === undefined) {
503
+ if (!this.hotInstance || value === void 0) {
504
504
  return;
505
505
  }
506
506
  if (value.data) {
@@ -554,7 +554,7 @@ var HotTable = {
554
554
  },
555
555
  computed: {
556
556
  mergedHotSettings: function mergedHotSettings() {
557
- return prepareSettings(this.$props, this.hotInstance ? this.hotInstance.getSettings() : undefined);
557
+ return prepareSettings(this.$props, this.hotInstance ? this.hotInstance.getSettings() : void 0);
558
558
  }
559
559
  },
560
560
  methods: {
@@ -600,7 +600,7 @@ var HotTable = {
600
600
  if (isColumnModificationAllowed) {
601
601
  var _data$;
602
602
  indexMapperColumnCount = this.hotInstance.columnIndexMapper.getNumberOfIndexes();
603
- if (data && data[0] && ((_data$ = data[0]) === null || _data$ === undefined ? undefined : _data$.length) !== indexMapperColumnCount) {
603
+ if (data && data[0] && ((_data$ = data[0]) === null || _data$ === void 0 ? void 0 : _data$.length) !== indexMapperColumnCount) {
604
604
  if (data[0].length < indexMapperColumnCount) {
605
605
  for (var c = data[0].length; c < indexMapperColumnCount; c++) {
606
606
  columnsToRemove.push(c);
@@ -646,7 +646,7 @@ var HotTable = {
646
646
  if (usesRendererComponent && this.settings && (this.settings.autoColumnSize !== false || this.settings.autoRowSize) && (this.autoColumnSize !== false || this.autoRowSize)) {
647
647
  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.');
648
648
  }
649
- return columnSettings.length ? columnSettings : undefined;
649
+ return columnSettings.length ? columnSettings : void 0;
650
650
  },
651
651
  /**
652
652
  * Create the wrapper function for the provided renderer child component.
@@ -791,7 +791,7 @@ var HotColumn = {
791
791
  var rendererVNode = findVNodeByType(hotColumnSlots, 'hot-renderer');
792
792
  var editorVNode = findVNodeByType(hotColumnSlots, 'hot-editor');
793
793
  var assignedProps = filterPassedProps(this.$props);
794
- if (rendererVNode && this.usesRendererComponent === undefined) {
794
+ if (rendererVNode && this.usesRendererComponent === void 0) {
795
795
  this.usesRendererComponent = true;
796
796
  }
797
797
  this.columnSettings = _objectSpread2({}, assignedProps);
@@ -996,7 +996,7 @@ function componentFactory(Component) {
996
996
  return;
997
997
  }
998
998
  var descriptor = Object.getOwnPropertyDescriptor(proto, key);
999
- if (descriptor.value !== undefined) {
999
+ if (descriptor.value !== void 0) {
1000
1000
  // methods
1001
1001
  if (typeof descriptor.value === 'function') {
1002
1002
  (options.methods || (options.methods = {}))[key] = descriptor.value;