@handsontable/vue 9.0.0 → 11.0.0

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.
@@ -1,40 +1,37 @@
1
1
  /*!
2
2
  * Copyright (c) HANDSONCODE sp. z o. o.
3
3
  *
4
- * HANDSONTABLE is a software distributed by HANDSONCODE sp. z o. o.,
5
- * a Polish corporation, based in Gdynia, Poland, at 96/98 Aleja Zwycięstwa,
6
- * registered with the National Court Register under number 538651,
7
- * EU tax ID number: PL5862294002, share capital: PLN 62,800.00.
4
+ * HANDSONTABLE is a software distributed by HANDSONCODE sp. z o. o., a Polish corporation based in
5
+ * Gdynia, Poland, at Aleja Zwycięstwa 96-98, registered by the District Court in Gdansk under number
6
+ * 538651, EU tax ID number: PL5862294002, share capital: PLN 62,800.00.
8
7
  *
9
- * This software is protected by applicable copyright laws, including
10
- * international treaties, and dual-licensed – depending on whether
11
- * your use is intended for or may result in commercial advantage
12
- * or monetary compensation (commercial purposes), or not.
8
+ * This software is protected by applicable copyright laws, including international treaties, and dual-
9
+ * licensed – depending on whether your use for commercial purposes, meaning intended for or
10
+ * resulting in commercial advantage or monetary compensation, or not.
13
11
  *
14
- * If your use involves only such purposes as research, private study,
15
- * evaluation and the like, you agree to be bound by the terms included
16
- * in the "handsontable-non-commercial-license.pdf" file, available
17
- * in the main directory of this software repository.
12
+ * If your use is strictly personal or solely for evaluation purposes, meaning for the purposes of testing
13
+ * the suitability, performance, and usefulness of this software outside the production environment,
14
+ * you agree to be bound by the terms included in the "handsontable-non-commercial-license.pdf" file.
18
15
  *
19
- * By installing, copying, or otherwise using this software for
20
- * commercial purposes, you agree to be bound by the terms included
21
- * in the "handsontable-general-terms.pdf" file, available in the main
22
- * directory of this software repository.
16
+ * Your use of this software for commercial purposes is subject to the terms included in an applicable
17
+ * license agreement.
23
18
  *
24
- * HANDSONCODE PROVIDES THIS SOFTWARE ON AN "AS IS" BASIS,
25
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND. IN NO EVENT
26
- * AND UNDER NO LEGAL THEORY, SHALL HANDSONCODE BE LIABLE
27
- * TO YOU FOR DAMAGES, INCLUDING ANY DIRECT, INDIRECT, SPECIAL,
28
- * INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER ARISING
29
- * FROM USE OR INABILITY TO USE THIS SOFTWARE.
19
+ * In any case, you must not make any such use of this software as to develop software which may be
20
+ * considered competitive with this software.
30
21
  *
31
- * Version: 9.0.0 (built at Mon May 31 2021 17:40:00 GMT+0200 (Central European Summer Time))
22
+ * UNLESS EXPRESSLY AGREED OTHERWISE, HANDSONCODE PROVIDES THIS SOFTWARE ON AN "AS IS"
23
+ * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, AND IN NO EVENT AND UNDER NO
24
+ * LEGAL THEORY, SHALL HANDSONCODE BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY DIRECT,
25
+ * INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER ARISING FROM
26
+ * USE OR INABILITY TO USE THIS SOFTWARE.
27
+ *
28
+ * Version: 11.0.0 (built at Wed Nov 17 2021 11:02:05 GMT+0100 (Central European Standard Time))
32
29
  */
33
30
  (function (global, factory) {
34
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('handsontable'), require('vue')) :
35
- typeof define === 'function' && define.amd ? define(['exports', 'handsontable', 'vue'], factory) :
31
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('handsontable/base'), require('vue')) :
32
+ typeof define === 'function' && define.amd ? define(['exports', 'handsontable/base', 'vue'], factory) :
36
33
  (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.Handsontable = global.Handsontable || {}, global.Handsontable.vue = {}), global.Handsontable, global.Vue));
37
- }(this, (function (exports, Handsontable, Vue) { 'use strict';
34
+ })(this, (function (exports, Handsontable, Vue) { 'use strict';
38
35
 
39
36
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
40
37
 
@@ -187,6 +184,8 @@ function _assertThisInitialized(self) {
187
184
  function _possibleConstructorReturn(self, call) {
188
185
  if (call && (typeof call === "object" || typeof call === "function")) {
189
186
  return call;
187
+ } else if (call !== void 0) {
188
+ throw new TypeError("Derived constructors may only return object or undefined");
190
189
  }
191
190
 
192
191
  return _assertThisInitialized(self);
@@ -213,27 +212,34 @@ function _createSuper(Derived) {
213
212
 
214
213
  var unassignedPropSymbol = Symbol('unassigned');
215
214
  var bulkComponentContainer = null;
215
+ /**
216
+ * Message for the warning thrown if the Handsontable instance has been destroyed.
217
+ */
218
+
219
+ var HOT_DESTROYED_WARNING = 'The Handsontable instance bound to this component was destroyed and cannot be' + ' used properly.';
216
220
  /**
217
221
  * Private method to ensure the table is not calling `updateSettings` after editing cells.
218
222
  * @private
219
223
  */
220
224
 
221
225
  function preventInternalEditWatch(component) {
222
- component.hotInstance.addHook('beforeChange', function () {
223
- component.__internalEdit = true;
224
- });
225
- component.hotInstance.addHook('beforeCreateRow', function () {
226
- component.__internalEdit = true;
227
- });
228
- component.hotInstance.addHook('beforeCreateCol', function () {
229
- component.__internalEdit = true;
230
- });
231
- component.hotInstance.addHook('beforeRemoveRow', function () {
232
- component.__internalEdit = true;
233
- });
234
- component.hotInstance.addHook('beforeRemoveCol', function () {
235
- component.__internalEdit = true;
236
- });
226
+ if (component.hotInstance) {
227
+ component.hotInstance.addHook('beforeChange', function () {
228
+ component.__internalEdit = true;
229
+ });
230
+ component.hotInstance.addHook('beforeCreateRow', function () {
231
+ component.__internalEdit = true;
232
+ });
233
+ component.hotInstance.addHook('beforeCreateCol', function () {
234
+ component.__internalEdit = true;
235
+ });
236
+ component.hotInstance.addHook('beforeRemoveRow', function () {
237
+ component.__internalEdit = true;
238
+ });
239
+ component.hotInstance.addHook('beforeRemoveCol', function () {
240
+ component.__internalEdit = true;
241
+ });
242
+ }
237
243
  }
238
244
  /**
239
245
  * Generate an object containing all the available Handsontable properties and plugin hooks.
@@ -243,9 +249,9 @@ function preventInternalEditWatch(component) {
243
249
  */
244
250
 
245
251
  function propFactory(source) {
246
- var registeredHooks = Handsontable__default['default'].hooks.getRegistered();
252
+ var registeredHooks = Handsontable__default["default"].hooks.getRegistered();
247
253
  var propSchema = {};
248
- Object.assign(propSchema, Handsontable__default['default'].DefaultSettings);
254
+ Object.assign(propSchema, Handsontable__default["default"].DefaultSettings);
249
255
 
250
256
  for (var prop in propSchema) {
251
257
  propSchema[prop] = {
@@ -404,7 +410,7 @@ function simpleEqual(objectA, objectB) {
404
410
  return JSON.stringify(objectA) === JSON.stringify(objectB);
405
411
  }
406
412
 
407
- var version="9.0.0";
413
+ var version="11.0.0";
408
414
 
409
415
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
410
416
 
@@ -621,10 +627,14 @@ var HotTable = {
621
627
  props: propFactory('HotTable'),
622
628
  watch: {
623
629
  mergedHotSettings: function mergedHotSettings(value) {
630
+ if (!this.hotInstance || value === void 0) {
631
+ return;
632
+ }
633
+
624
634
  if (value.data) {
625
635
  if (this.hotInstance.isColumnModificationAllowed() || !this.hotInstance.isColumnModificationAllowed() && this.hotInstance.countSourceCols() === this.miscCache.currentSourceColumns) {
626
636
  // If the dataset dimensions change, update the index mappers.
627
- this.matchHotMappersSize(value.data); // Data is automatically synchronized by reference.
637
+ this.matchHotMappersSize(); // Data is automatically synchronized by reference.
628
638
 
629
639
  delete value.data;
630
640
  }
@@ -641,6 +651,7 @@ var HotTable = {
641
651
  }
642
652
  },
643
653
  data: function data() {
654
+ var thisComponent = this;
644
655
  var rendererCache = new lru_1(this.wrapperRendererCacheSize); // Make the LRU cache destroy each removed component
645
656
 
646
657
  rendererCache.shift = function () {
@@ -652,14 +663,27 @@ var HotTable = {
652
663
  return {
653
664
  __internalEdit: false,
654
665
  miscCache: {
655
- // TODO: A workaround for #7548; data.length !== rowIndexMapper.getNumberOfIndexes() for NestedRows plugin.
656
- dataLength: 0,
657
666
  currentSourceColumns: null
658
667
  },
659
- hotInstance: null,
668
+ __hotInstance: null,
660
669
  columnSettings: null,
661
670
  rendererCache: rendererCache,
662
- editorCache: new Map()
671
+ editorCache: new Map(),
672
+
673
+ get hotInstance() {
674
+ if (!thisComponent.__hotInstance || thisComponent.__hotInstance && !thisComponent.__hotInstance.isDestroyed) {
675
+ // Will return the Handsontable instance or `null` if it's not yet been created.
676
+ return thisComponent.__hotInstance;
677
+ } else {
678
+ console.warn(HOT_DESTROYED_WARNING);
679
+ return null;
680
+ }
681
+ },
682
+
683
+ set hotInstance(hotInstance) {
684
+ thisComponent.__hotInstance = hotInstance;
685
+ }
686
+
663
687
  };
664
688
  },
665
689
  computed: {
@@ -672,8 +696,6 @@ var HotTable = {
672
696
  * Initialize Handsontable.
673
697
  */
674
698
  hotInit: function hotInit() {
675
- var _newSettings$data$len, _newSettings$data;
676
-
677
699
  var globalRendererVNode = this.getGlobalRendererVNode();
678
700
  var globalEditorVNode = this.getGlobalEditorVNode();
679
701
  var newSettings = prepareSettings(this.$props);
@@ -689,24 +711,28 @@ var HotTable = {
689
711
  globalRendererVNode.child.$destroy();
690
712
  }
691
713
 
692
- this.hotInstance = new Handsontable__default['default'].Core(this.$el, newSettings);
714
+ this.hotInstance = new Handsontable__default["default"].Core(this.$el, newSettings);
693
715
  this.hotInstance.init();
694
716
  preventInternalEditWatch(this);
695
- this.miscCache.dataLength = (_newSettings$data$len = newSettings === null || newSettings === void 0 ? void 0 : (_newSettings$data = newSettings.data) === null || _newSettings$data === void 0 ? void 0 : _newSettings$data.length) !== null && _newSettings$data$len !== void 0 ? _newSettings$data$len : 0;
696
717
  this.miscCache.currentSourceColumns = this.hotInstance.countSourceCols();
697
718
  },
698
- matchHotMappersSize: function matchHotMappersSize(data) {
719
+ matchHotMappersSize: function matchHotMappersSize() {
699
720
  var _this = this;
700
721
 
722
+ if (!this.hotInstance) {
723
+ return;
724
+ }
725
+
726
+ var data = this.hotInstance.getSourceData();
701
727
  var rowsToRemove = [];
702
728
  var columnsToRemove = [];
703
- var oldDataLength = this.miscCache.dataLength;
729
+ var indexMapperRowCount = this.hotInstance.rowIndexMapper.getNumberOfIndexes();
704
730
  var isColumnModificationAllowed = this.hotInstance.isColumnModificationAllowed();
705
731
  var indexMapperColumnCount = 0;
706
732
 
707
- if (data && data.length !== oldDataLength) {
708
- if (data.length < oldDataLength) {
709
- for (var r = data.length; r < oldDataLength; r++) {
733
+ if (data && data.length !== indexMapperRowCount) {
734
+ if (data.length < indexMapperRowCount) {
735
+ for (var r = data.length; r < indexMapperRowCount; r++) {
710
736
  rowsToRemove.push(r);
711
737
  }
712
738
  }
@@ -728,13 +754,9 @@ var HotTable = {
728
754
 
729
755
  this.hotInstance.batch(function () {
730
756
  if (rowsToRemove.length > 0) {
731
- _this.miscCache.dataLength -= rowsToRemove.length;
732
-
733
757
  _this.hotInstance.rowIndexMapper.removeIndexes(rowsToRemove);
734
758
  } else {
735
- _this.miscCache.dataLength += data.length - oldDataLength;
736
-
737
- _this.hotInstance.rowIndexMapper.insertIndexes(oldDataLength - 1, data.length - oldDataLength);
759
+ _this.hotInstance.rowIndexMapper.insertIndexes(indexMapperRowCount - 1, data.length - indexMapperRowCount);
738
760
  }
739
761
 
740
762
  if (isColumnModificationAllowed && data.length !== 0) {
@@ -859,7 +881,9 @@ var HotTable = {
859
881
  return this.hotInit();
860
882
  },
861
883
  beforeDestroy: function beforeDestroy() {
862
- this.hotInstance.destroy();
884
+ if (this.hotInstance) {
885
+ this.hotInstance.destroy();
886
+ }
863
887
  },
864
888
  version: version
865
889
  };
@@ -1263,7 +1287,7 @@ function componentFactory(Component) {
1263
1287
 
1264
1288
 
1265
1289
  var superProto = Object.getPrototypeOf(Component.prototype);
1266
- var Super = superProto instanceof Vue__default['default'] ? superProto.constructor : Vue__default['default'];
1290
+ var Super = superProto instanceof Vue__default["default"] ? superProto.constructor : Vue__default["default"];
1267
1291
  var Extended = Super.extend(options);
1268
1292
  forwardStaticMembers(Extended, Component, Super);
1269
1293
 
@@ -1371,12 +1395,12 @@ var BaseEditorComponent = /*#__PURE__*/function (_Vue) {
1371
1395
 
1372
1396
  var _super2 = _createSuper(CustomEditor);
1373
1397
 
1374
- function CustomEditor(hotInstance, row, col, prop, TD, cellProperties) {
1398
+ function CustomEditor(hotInstance) {
1375
1399
  var _this3;
1376
1400
 
1377
1401
  _classCallCheck(this, CustomEditor);
1378
1402
 
1379
- _this3 = _super2.call(this, hotInstance, row, col, prop, TD, cellProperties);
1403
+ _this3 = _super2.call(this, hotInstance);
1380
1404
  _this.$data.hotCustomEditorInstance = _assertThisInitialized(_this3);
1381
1405
  return _this3;
1382
1406
  }
@@ -1399,10 +1423,10 @@ var BaseEditorComponent = /*#__PURE__*/function (_Vue) {
1399
1423
  }]);
1400
1424
 
1401
1425
  return CustomEditor;
1402
- }(Handsontable__default['default'].editors.BaseEditor); // Fill with the rest of the BaseEditorComponent methods
1426
+ }(Handsontable__default["default"].editors.BaseEditor); // Fill with the rest of the BaseEditorComponent methods
1403
1427
 
1404
1428
 
1405
- Object.getOwnPropertyNames(Handsontable__default['default'].editors.BaseEditor.prototype).forEach(function (propName) {
1429
+ Object.getOwnPropertyNames(Handsontable__default["default"].editors.BaseEditor.prototype).forEach(function (propName) {
1406
1430
  if (propName === 'constructor') {
1407
1431
  return;
1408
1432
  }
@@ -1430,7 +1454,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_Vue) {
1430
1454
  args[_key2] = arguments[_key2];
1431
1455
  }
1432
1456
 
1433
- (_Handsontable$editors2 = Handsontable__default['default'].editors.BaseEditor.prototype._fireCallbacks).call.apply(_Handsontable$editors2, [this.$data.hotCustomEditorInstance].concat(args));
1457
+ (_Handsontable$editors2 = Handsontable__default["default"].editors.BaseEditor.prototype._fireCallbacks).call.apply(_Handsontable$editors2, [this.$data.hotCustomEditorInstance].concat(args));
1434
1458
  }
1435
1459
  }, {
1436
1460
  key: "beginEditing",
@@ -1441,7 +1465,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_Vue) {
1441
1465
  args[_key3] = arguments[_key3];
1442
1466
  }
1443
1467
 
1444
- return (_Handsontable$editors3 = Handsontable__default['default'].editors.BaseEditor.prototype.beginEditing).call.apply(_Handsontable$editors3, [this.$data.hotCustomEditorInstance].concat(args));
1468
+ return (_Handsontable$editors3 = Handsontable__default["default"].editors.BaseEditor.prototype.beginEditing).call.apply(_Handsontable$editors3, [this.$data.hotCustomEditorInstance].concat(args));
1445
1469
  }
1446
1470
  }, {
1447
1471
  key: "cancelChanges",
@@ -1452,7 +1476,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_Vue) {
1452
1476
  args[_key4] = arguments[_key4];
1453
1477
  }
1454
1478
 
1455
- return (_Handsontable$editors4 = Handsontable__default['default'].editors.BaseEditor.prototype.cancelChanges).call.apply(_Handsontable$editors4, [this.$data.hotCustomEditorInstance].concat(args));
1479
+ return (_Handsontable$editors4 = Handsontable__default["default"].editors.BaseEditor.prototype.cancelChanges).call.apply(_Handsontable$editors4, [this.$data.hotCustomEditorInstance].concat(args));
1456
1480
  }
1457
1481
  }, {
1458
1482
  key: "checkEditorSection",
@@ -1463,7 +1487,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_Vue) {
1463
1487
  args[_key5] = arguments[_key5];
1464
1488
  }
1465
1489
 
1466
- return (_Handsontable$editors5 = Handsontable__default['default'].editors.BaseEditor.prototype.checkEditorSection).call.apply(_Handsontable$editors5, [this.$data.hotCustomEditorInstance].concat(args));
1490
+ return (_Handsontable$editors5 = Handsontable__default["default"].editors.BaseEditor.prototype.checkEditorSection).call.apply(_Handsontable$editors5, [this.$data.hotCustomEditorInstance].concat(args));
1467
1491
  }
1468
1492
  }, {
1469
1493
  key: "close",
@@ -1474,7 +1498,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_Vue) {
1474
1498
  args[_key6] = arguments[_key6];
1475
1499
  }
1476
1500
 
1477
- return (_Handsontable$editors6 = Handsontable__default['default'].editors.BaseEditor.prototype.close).call.apply(_Handsontable$editors6, [this.$data.hotCustomEditorInstance].concat(args));
1501
+ return (_Handsontable$editors6 = Handsontable__default["default"].editors.BaseEditor.prototype.close).call.apply(_Handsontable$editors6, [this.$data.hotCustomEditorInstance].concat(args));
1478
1502
  }
1479
1503
  }, {
1480
1504
  key: "discardEditor",
@@ -1485,7 +1509,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_Vue) {
1485
1509
  args[_key7] = arguments[_key7];
1486
1510
  }
1487
1511
 
1488
- return (_Handsontable$editors7 = Handsontable__default['default'].editors.BaseEditor.prototype.discardEditor).call.apply(_Handsontable$editors7, [this.$data.hotCustomEditorInstance].concat(args));
1512
+ return (_Handsontable$editors7 = Handsontable__default["default"].editors.BaseEditor.prototype.discardEditor).call.apply(_Handsontable$editors7, [this.$data.hotCustomEditorInstance].concat(args));
1489
1513
  }
1490
1514
  }, {
1491
1515
  key: "enableFullEditMode",
@@ -1496,7 +1520,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_Vue) {
1496
1520
  args[_key8] = arguments[_key8];
1497
1521
  }
1498
1522
 
1499
- return (_Handsontable$editors8 = Handsontable__default['default'].editors.BaseEditor.prototype.enableFullEditMode).call.apply(_Handsontable$editors8, [this.$data.hotCustomEditorInstance].concat(args));
1523
+ return (_Handsontable$editors8 = Handsontable__default["default"].editors.BaseEditor.prototype.enableFullEditMode).call.apply(_Handsontable$editors8, [this.$data.hotCustomEditorInstance].concat(args));
1500
1524
  }
1501
1525
  }, {
1502
1526
  key: "extend",
@@ -1507,7 +1531,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_Vue) {
1507
1531
  args[_key9] = arguments[_key9];
1508
1532
  }
1509
1533
 
1510
- return (_Handsontable$editors9 = Handsontable__default['default'].editors.BaseEditor.prototype.extend).call.apply(_Handsontable$editors9, [this.$data.hotCustomEditorInstance].concat(args));
1534
+ return (_Handsontable$editors9 = Handsontable__default["default"].editors.BaseEditor.prototype.extend).call.apply(_Handsontable$editors9, [this.$data.hotCustomEditorInstance].concat(args));
1511
1535
  }
1512
1536
  }, {
1513
1537
  key: "finishEditing",
@@ -1518,7 +1542,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_Vue) {
1518
1542
  args[_key10] = arguments[_key10];
1519
1543
  }
1520
1544
 
1521
- return (_Handsontable$editors10 = Handsontable__default['default'].editors.BaseEditor.prototype.finishEditing).call.apply(_Handsontable$editors10, [this.$data.hotCustomEditorInstance].concat(args));
1545
+ return (_Handsontable$editors10 = Handsontable__default["default"].editors.BaseEditor.prototype.finishEditing).call.apply(_Handsontable$editors10, [this.$data.hotCustomEditorInstance].concat(args));
1522
1546
  }
1523
1547
  }, {
1524
1548
  key: "focus",
@@ -1529,7 +1553,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_Vue) {
1529
1553
  args[_key11] = arguments[_key11];
1530
1554
  }
1531
1555
 
1532
- return (_Handsontable$editors11 = Handsontable__default['default'].editors.BaseEditor.prototype.focus).call.apply(_Handsontable$editors11, [this.$data.hotCustomEditorInstance].concat(args));
1556
+ return (_Handsontable$editors11 = Handsontable__default["default"].editors.BaseEditor.prototype.focus).call.apply(_Handsontable$editors11, [this.$data.hotCustomEditorInstance].concat(args));
1533
1557
  }
1534
1558
  }, {
1535
1559
  key: "getValue",
@@ -1540,7 +1564,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_Vue) {
1540
1564
  args[_key12] = arguments[_key12];
1541
1565
  }
1542
1566
 
1543
- return (_Handsontable$editors12 = Handsontable__default['default'].editors.BaseEditor.prototype.getValue).call.apply(_Handsontable$editors12, [this.$data.hotCustomEditorInstance].concat(args));
1567
+ return (_Handsontable$editors12 = Handsontable__default["default"].editors.BaseEditor.prototype.getValue).call.apply(_Handsontable$editors12, [this.$data.hotCustomEditorInstance].concat(args));
1544
1568
  }
1545
1569
  }, {
1546
1570
  key: "init",
@@ -1551,7 +1575,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_Vue) {
1551
1575
  args[_key13] = arguments[_key13];
1552
1576
  }
1553
1577
 
1554
- return (_Handsontable$editors13 = Handsontable__default['default'].editors.BaseEditor.prototype.init).call.apply(_Handsontable$editors13, [this.$data.hotCustomEditorInstance].concat(args));
1578
+ return (_Handsontable$editors13 = Handsontable__default["default"].editors.BaseEditor.prototype.init).call.apply(_Handsontable$editors13, [this.$data.hotCustomEditorInstance].concat(args));
1555
1579
  }
1556
1580
  }, {
1557
1581
  key: "isInFullEditMode",
@@ -1562,7 +1586,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_Vue) {
1562
1586
  args[_key14] = arguments[_key14];
1563
1587
  }
1564
1588
 
1565
- return (_Handsontable$editors14 = Handsontable__default['default'].editors.BaseEditor.prototype.isInFullEditMode).call.apply(_Handsontable$editors14, [this.$data.hotCustomEditorInstance].concat(args));
1589
+ return (_Handsontable$editors14 = Handsontable__default["default"].editors.BaseEditor.prototype.isInFullEditMode).call.apply(_Handsontable$editors14, [this.$data.hotCustomEditorInstance].concat(args));
1566
1590
  }
1567
1591
  }, {
1568
1592
  key: "isOpened",
@@ -1573,7 +1597,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_Vue) {
1573
1597
  args[_key15] = arguments[_key15];
1574
1598
  }
1575
1599
 
1576
- return (_Handsontable$editors15 = Handsontable__default['default'].editors.BaseEditor.prototype.isOpened).call.apply(_Handsontable$editors15, [this.$data.hotCustomEditorInstance].concat(args));
1600
+ return (_Handsontable$editors15 = Handsontable__default["default"].editors.BaseEditor.prototype.isOpened).call.apply(_Handsontable$editors15, [this.$data.hotCustomEditorInstance].concat(args));
1577
1601
  }
1578
1602
  }, {
1579
1603
  key: "isWaiting",
@@ -1584,7 +1608,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_Vue) {
1584
1608
  args[_key16] = arguments[_key16];
1585
1609
  }
1586
1610
 
1587
- return (_Handsontable$editors16 = Handsontable__default['default'].editors.BaseEditor.prototype.isWaiting).call.apply(_Handsontable$editors16, [this.$data.hotCustomEditorInstance].concat(args));
1611
+ return (_Handsontable$editors16 = Handsontable__default["default"].editors.BaseEditor.prototype.isWaiting).call.apply(_Handsontable$editors16, [this.$data.hotCustomEditorInstance].concat(args));
1588
1612
  }
1589
1613
  }, {
1590
1614
  key: "open",
@@ -1595,7 +1619,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_Vue) {
1595
1619
  args[_key17] = arguments[_key17];
1596
1620
  }
1597
1621
 
1598
- return (_Handsontable$editors17 = Handsontable__default['default'].editors.BaseEditor.prototype.open).call.apply(_Handsontable$editors17, [this.$data.hotCustomEditorInstance].concat(args));
1622
+ return (_Handsontable$editors17 = Handsontable__default["default"].editors.BaseEditor.prototype.open).call.apply(_Handsontable$editors17, [this.$data.hotCustomEditorInstance].concat(args));
1599
1623
  }
1600
1624
  }, {
1601
1625
  key: "prepare",
@@ -1607,7 +1631,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_Vue) {
1607
1631
  this.$data.TD = TD;
1608
1632
  this.$data.originalValue = originalValue;
1609
1633
  this.$data.cellProperties = cellProperties;
1610
- return Handsontable__default['default'].editors.BaseEditor.prototype.prepare.call(this.$data.hotCustomEditorInstance, row, col, prop, TD, originalValue, cellProperties);
1634
+ return Handsontable__default["default"].editors.BaseEditor.prototype.prepare.call(this.$data.hotCustomEditorInstance, row, col, prop, TD, originalValue, cellProperties);
1611
1635
  }
1612
1636
  }, {
1613
1637
  key: "saveValue",
@@ -1618,7 +1642,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_Vue) {
1618
1642
  args[_key18] = arguments[_key18];
1619
1643
  }
1620
1644
 
1621
- return (_Handsontable$editors18 = Handsontable__default['default'].editors.BaseEditor.prototype.saveValue).call.apply(_Handsontable$editors18, [this.$data.hotCustomEditorInstance].concat(args));
1645
+ return (_Handsontable$editors18 = Handsontable__default["default"].editors.BaseEditor.prototype.saveValue).call.apply(_Handsontable$editors18, [this.$data.hotCustomEditorInstance].concat(args));
1622
1646
  }
1623
1647
  }, {
1624
1648
  key: "setValue",
@@ -1629,7 +1653,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_Vue) {
1629
1653
  args[_key19] = arguments[_key19];
1630
1654
  }
1631
1655
 
1632
- return (_Handsontable$editors19 = Handsontable__default['default'].editors.BaseEditor.prototype.setValue).call.apply(_Handsontable$editors19, [this.$data.hotCustomEditorInstance].concat(args));
1656
+ return (_Handsontable$editors19 = Handsontable__default["default"].editors.BaseEditor.prototype.setValue).call.apply(_Handsontable$editors19, [this.$data.hotCustomEditorInstance].concat(args));
1633
1657
  }
1634
1658
  }, {
1635
1659
  key: "addHook",
@@ -1640,7 +1664,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_Vue) {
1640
1664
  args[_key20] = arguments[_key20];
1641
1665
  }
1642
1666
 
1643
- return (_Handsontable$editors20 = Handsontable__default['default'].editors.BaseEditor.prototype.addHook).call.apply(_Handsontable$editors20, [this.$data.hotCustomEditorInstance].concat(args));
1667
+ return (_Handsontable$editors20 = Handsontable__default["default"].editors.BaseEditor.prototype.addHook).call.apply(_Handsontable$editors20, [this.$data.hotCustomEditorInstance].concat(args));
1644
1668
  }
1645
1669
  }, {
1646
1670
  key: "removeHooksByKey",
@@ -1651,7 +1675,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_Vue) {
1651
1675
  args[_key21] = arguments[_key21];
1652
1676
  }
1653
1677
 
1654
- return (_Handsontable$editors21 = Handsontable__default['default'].editors.BaseEditor.prototype.removeHooksByKey).call.apply(_Handsontable$editors21, [this.$data.hotCustomEditorInstance].concat(args));
1678
+ return (_Handsontable$editors21 = Handsontable__default["default"].editors.BaseEditor.prototype.removeHooksByKey).call.apply(_Handsontable$editors21, [this.$data.hotCustomEditorInstance].concat(args));
1655
1679
  }
1656
1680
  }, {
1657
1681
  key: "clearHooks",
@@ -1662,7 +1686,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_Vue) {
1662
1686
  args[_key22] = arguments[_key22];
1663
1687
  }
1664
1688
 
1665
- return (_Handsontable$editors22 = Handsontable__default['default'].editors.BaseEditor.prototype.clearHooks).call.apply(_Handsontable$editors22, [this.$data.hotCustomEditorInstance].concat(args));
1689
+ return (_Handsontable$editors22 = Handsontable__default["default"].editors.BaseEditor.prototype.clearHooks).call.apply(_Handsontable$editors22, [this.$data.hotCustomEditorInstance].concat(args));
1666
1690
  }
1667
1691
  }, {
1668
1692
  key: "getEditedCell",
@@ -1673,7 +1697,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_Vue) {
1673
1697
  args[_key23] = arguments[_key23];
1674
1698
  }
1675
1699
 
1676
- return (_Handsontable$editors23 = Handsontable__default['default'].editors.BaseEditor.prototype.getEditedCell).call.apply(_Handsontable$editors23, [this.$data.hotCustomEditorInstance].concat(args));
1700
+ return (_Handsontable$editors23 = Handsontable__default["default"].editors.BaseEditor.prototype.getEditedCell).call.apply(_Handsontable$editors23, [this.$data.hotCustomEditorInstance].concat(args));
1677
1701
  }
1678
1702
  }, {
1679
1703
  key: "getEditedCellsZIndex",
@@ -1684,7 +1708,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_Vue) {
1684
1708
  args[_key24] = arguments[_key24];
1685
1709
  }
1686
1710
 
1687
- return (_Handsontable$editors24 = Handsontable__default['default'].editors.BaseEditor.prototype.getEditedCellsZIndex).call.apply(_Handsontable$editors24, [this.$data.hotCustomEditorInstance].concat(args));
1711
+ return (_Handsontable$editors24 = Handsontable__default["default"].editors.BaseEditor.prototype.getEditedCellsZIndex).call.apply(_Handsontable$editors24, [this.$data.hotCustomEditorInstance].concat(args));
1688
1712
  }
1689
1713
  }, {
1690
1714
  key: "getEditedCellsLayerClass",
@@ -1695,12 +1719,12 @@ var BaseEditorComponent = /*#__PURE__*/function (_Vue) {
1695
1719
  args[_key25] = arguments[_key25];
1696
1720
  }
1697
1721
 
1698
- return (_Handsontable$editors25 = Handsontable__default['default'].editors.BaseEditor.prototype.getEditedCellsLayerClass).call.apply(_Handsontable$editors25, [this.$data.hotCustomEditorInstance].concat(args));
1722
+ return (_Handsontable$editors25 = Handsontable__default["default"].editors.BaseEditor.prototype.getEditedCellsLayerClass).call.apply(_Handsontable$editors25, [this.$data.hotCustomEditorInstance].concat(args));
1699
1723
  }
1700
1724
  }]);
1701
1725
 
1702
1726
  return BaseEditorComponent;
1703
- }(Vue__default['default']);
1727
+ }(Vue__default["default"]);
1704
1728
 
1705
1729
  BaseEditorComponent = __decorate([Component({})], BaseEditorComponent);
1706
1730
  var script = BaseEditorComponent;
@@ -1732,9 +1756,9 @@ var __vue_component__ = /*#__PURE__*/normalizeComponent({}, __vue_inject_styles_
1732
1756
  exports.BaseEditorComponent = __vue_component__;
1733
1757
  exports.HotColumn = __vue_component__$1;
1734
1758
  exports.HotTable = __vue_component__$2;
1735
- exports.default = __vue_component__$2;
1759
+ exports["default"] = __vue_component__$2;
1736
1760
 
1737
1761
  Object.defineProperty(exports, '__esModule', { value: true });
1738
1762
 
1739
- })));
1763
+ }));
1740
1764
  //# sourceMappingURL=vue-handsontable.js.map