@handsontable/vue 15.0.0 → 15.1.0-next-dfdf994-20250206
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.
- package/README.md +17 -15
- package/commonjs/vue-handsontable.js +23 -23
- package/dist/vue-handsontable.js +24 -24
- package/dist/vue-handsontable.js.map +1 -1
- package/dist/vue-handsontable.min.js +2 -2
- package/dist/vue-handsontable.min.js.map +1 -1
- package/es/vue-handsontable.mjs +23 -23
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -99,20 +99,22 @@ Use this data grid as you would any other component in your application. [Option
|
|
|
99
99
|
**Vue Component**
|
|
100
100
|
```vue
|
|
101
101
|
<template>
|
|
102
|
-
<
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
102
|
+
<div class="ht-theme-main-dark-auto">
|
|
103
|
+
<hot-table
|
|
104
|
+
:data="data"
|
|
105
|
+
:row-headers=true
|
|
106
|
+
:col-headers=true
|
|
107
|
+
:navigable-headers=true
|
|
108
|
+
:tab-navigation=true
|
|
109
|
+
:multi-column-sorting=true
|
|
110
|
+
header-class-name="htLeft"
|
|
111
|
+
license-key="non-commercial-and-evaluation"
|
|
112
|
+
>
|
|
113
|
+
<hot-column title="Company" data="company" width=100></hot-column>
|
|
114
|
+
<hot-column title="Country" data="country" width=170 type="dropdown" :source="['United Kingdom', 'Japan', 'United States']"></hot-column>
|
|
115
|
+
<hot-column title="Rating" data="rating" width=100 type="numeric"></hot-column>
|
|
116
|
+
</hot-table>
|
|
117
|
+
</div>
|
|
116
118
|
</template>
|
|
117
119
|
|
|
118
120
|
<script>
|
|
@@ -227,4 +229,4 @@ Created and maintained by the [Handsontable Team](https://handsontable.com/team)
|
|
|
227
229
|
|
|
228
230
|
---
|
|
229
231
|
|
|
230
|
-
© 2012 -
|
|
232
|
+
© 2012 - 2025 Handsoncode
|
|
@@ -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 (
|
|
14
|
+
if (undefined === 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) {
|
|
@@ -23,20 +23,20 @@ function _classCallCheck(a, n) {
|
|
|
23
23
|
function _defineProperties(e, r) {
|
|
24
24
|
for (var t = 0; t < r.length; t++) {
|
|
25
25
|
var o = r[t];
|
|
26
|
-
o.enumerable = o.enumerable ||
|
|
26
|
+
o.enumerable = o.enumerable || false, o.configurable = true, "value" in o && (o.writable = true), Object.defineProperty(e, _toPropertyKey(o.key), o);
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
function _createClass(e, r, t) {
|
|
30
30
|
return r && _defineProperties(e.prototype, r), Object.defineProperty(e, "prototype", {
|
|
31
|
-
writable:
|
|
31
|
+
writable: false
|
|
32
32
|
}), e;
|
|
33
33
|
}
|
|
34
34
|
function _defineProperty$1(e, r, t) {
|
|
35
35
|
return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
36
36
|
value: t,
|
|
37
|
-
enumerable:
|
|
38
|
-
configurable:
|
|
39
|
-
writable:
|
|
37
|
+
enumerable: true,
|
|
38
|
+
configurable: true,
|
|
39
|
+
writable: true
|
|
40
40
|
}) : e[r] = t, e;
|
|
41
41
|
}
|
|
42
42
|
function _getPrototypeOf(t) {
|
|
@@ -49,11 +49,11 @@ function _inherits(t, e) {
|
|
|
49
49
|
t.prototype = Object.create(e && e.prototype, {
|
|
50
50
|
constructor: {
|
|
51
51
|
value: t,
|
|
52
|
-
writable:
|
|
53
|
-
configurable:
|
|
52
|
+
writable: true,
|
|
53
|
+
configurable: true
|
|
54
54
|
}
|
|
55
55
|
}), Object.defineProperty(t, "prototype", {
|
|
56
|
-
writable:
|
|
56
|
+
writable: false
|
|
57
57
|
}), e && _setPrototypeOf(t, e);
|
|
58
58
|
}
|
|
59
59
|
function _isNativeReflectConstruct() {
|
|
@@ -77,7 +77,7 @@ function ownKeys(e, r) {
|
|
|
77
77
|
function _objectSpread2(e) {
|
|
78
78
|
for (var r = 1; r < arguments.length; r++) {
|
|
79
79
|
var t = null != arguments[r] ? arguments[r] : {};
|
|
80
|
-
r % 2 ? ownKeys(Object(t),
|
|
80
|
+
r % 2 ? ownKeys(Object(t), true).forEach(function (r) {
|
|
81
81
|
_defineProperty$1(e, r, t[r]);
|
|
82
82
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {
|
|
83
83
|
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
|
|
@@ -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 (
|
|
90
|
+
if (undefined !== 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,8 +98,8 @@ 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 (
|
|
102
|
-
var i = e.call(t, r
|
|
101
|
+
if (undefined !== e) {
|
|
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.");
|
|
105
105
|
}
|
|
@@ -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] !==
|
|
222
|
+
if (hotSettingsInProps.hasOwnProperty(key) && hotSettingsInProps[key] !== undefined && (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] !==
|
|
227
|
+
if (additionalHotSettingsInProps.hasOwnProperty(_key) && _key !== 'id' && _key !== 'settings' && _key !== 'wrapperRendererCacheSize' && additionalHotSettingsInProps[_key] !== undefined && (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] !==
|
|
243
|
+
if (slot.data && slot.data.attrs && slot.data.attrs[type] !== undefined) {
|
|
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.
|
|
318
|
+
var version="15.1.0-next-dfdf994-20250206";
|
|
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 ===
|
|
475
|
+
if (!this.hotInstance || value === undefined) {
|
|
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() :
|
|
529
|
+
return prepareSettings(this.$props, this.hotInstance ? this.hotInstance.getSettings() : undefined);
|
|
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$ ===
|
|
575
|
+
if (data && data[0] && ((_data$ = data[0]) === null || _data$ === undefined ? undefined : _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 :
|
|
621
|
+
return columnSettings.length ? columnSettings : undefined;
|
|
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 ===
|
|
766
|
+
if (rendererVNode && this.usesRendererComponent === undefined) {
|
|
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 !==
|
|
971
|
+
if (descriptor.value !== undefined) {
|
|
972
972
|
// methods
|
|
973
973
|
if (typeof descriptor.value === 'function') {
|
|
974
974
|
(options.methods || (options.methods = {}))[key] = descriptor.value;
|
package/dist/vue-handsontable.js
CHANGED
|
@@ -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.
|
|
28
|
+
* Version: 15.1.0-next-dfdf994-20250206 (built at Thu Feb 06 2025 09:06:48 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 (
|
|
42
|
+
if (undefined === 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) {
|
|
@@ -51,20 +51,20 @@ function _classCallCheck(a, n) {
|
|
|
51
51
|
function _defineProperties(e, r) {
|
|
52
52
|
for (var t = 0; t < r.length; t++) {
|
|
53
53
|
var o = r[t];
|
|
54
|
-
o.enumerable = o.enumerable ||
|
|
54
|
+
o.enumerable = o.enumerable || false, o.configurable = true, "value" in o && (o.writable = true), Object.defineProperty(e, _toPropertyKey(o.key), o);
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
57
|
function _createClass(e, r, t) {
|
|
58
58
|
return r && _defineProperties(e.prototype, r), Object.defineProperty(e, "prototype", {
|
|
59
|
-
writable:
|
|
59
|
+
writable: false
|
|
60
60
|
}), e;
|
|
61
61
|
}
|
|
62
62
|
function _defineProperty$1(e, r, t) {
|
|
63
63
|
return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
64
64
|
value: t,
|
|
65
|
-
enumerable:
|
|
66
|
-
configurable:
|
|
67
|
-
writable:
|
|
65
|
+
enumerable: true,
|
|
66
|
+
configurable: true,
|
|
67
|
+
writable: true
|
|
68
68
|
}) : e[r] = t, e;
|
|
69
69
|
}
|
|
70
70
|
function _getPrototypeOf(t) {
|
|
@@ -77,11 +77,11 @@ function _inherits(t, e) {
|
|
|
77
77
|
t.prototype = Object.create(e && e.prototype, {
|
|
78
78
|
constructor: {
|
|
79
79
|
value: t,
|
|
80
|
-
writable:
|
|
81
|
-
configurable:
|
|
80
|
+
writable: true,
|
|
81
|
+
configurable: true
|
|
82
82
|
}
|
|
83
83
|
}), Object.defineProperty(t, "prototype", {
|
|
84
|
-
writable:
|
|
84
|
+
writable: false
|
|
85
85
|
}), e && _setPrototypeOf(t, e);
|
|
86
86
|
}
|
|
87
87
|
function _isNativeReflectConstruct() {
|
|
@@ -105,7 +105,7 @@ function ownKeys(e, r) {
|
|
|
105
105
|
function _objectSpread2(e) {
|
|
106
106
|
for (var r = 1; r < arguments.length; r++) {
|
|
107
107
|
var t = null != arguments[r] ? arguments[r] : {};
|
|
108
|
-
r % 2 ? ownKeys(Object(t),
|
|
108
|
+
r % 2 ? ownKeys(Object(t), true).forEach(function (r) {
|
|
109
109
|
_defineProperty$1(e, r, t[r]);
|
|
110
110
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {
|
|
111
111
|
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
|
|
@@ -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 (
|
|
118
|
+
if (undefined !== 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,8 +126,8 @@ 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 (
|
|
130
|
-
var i = e.call(t, r
|
|
129
|
+
if (undefined !== e) {
|
|
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.");
|
|
133
133
|
}
|
|
@@ -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] !==
|
|
250
|
+
if (hotSettingsInProps.hasOwnProperty(key) && hotSettingsInProps[key] !== undefined && (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] !==
|
|
255
|
+
if (additionalHotSettingsInProps.hasOwnProperty(_key) && _key !== 'id' && _key !== 'settings' && _key !== 'wrapperRendererCacheSize' && additionalHotSettingsInProps[_key] !== undefined && (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] !==
|
|
271
|
+
if (slot.data && slot.data.attrs && slot.data.attrs[type] !== undefined) {
|
|
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.
|
|
346
|
+
var version="15.1.0-next-dfdf994-20250206";
|
|
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 ===
|
|
503
|
+
if (!this.hotInstance || value === undefined) {
|
|
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() :
|
|
557
|
+
return prepareSettings(this.$props, this.hotInstance ? this.hotInstance.getSettings() : undefined);
|
|
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$ ===
|
|
603
|
+
if (data && data[0] && ((_data$ = data[0]) === null || _data$ === undefined ? undefined : _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 :
|
|
649
|
+
return columnSettings.length ? columnSettings : undefined;
|
|
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 ===
|
|
794
|
+
if (rendererVNode && this.usesRendererComponent === undefined) {
|
|
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 !==
|
|
999
|
+
if (descriptor.value !== undefined) {
|
|
1000
1000
|
// methods
|
|
1001
1001
|
if (typeof descriptor.value === 'function') {
|
|
1002
1002
|
(options.methods || (options.methods = {}))[key] = descriptor.value;
|