@handsontable/vue 9.0.2 → 11.1.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.
- package/BaseEditorComponent.vue.d.ts +2 -2
- package/LICENSE.txt +19 -22
- package/README.md +12 -11
- package/commonjs/vue-handsontable.js +59 -69
- package/dist/vue-handsontable.js +82 -95
- package/dist/vue-handsontable.js.map +1 -1
- package/dist/vue-handsontable.min.js +22 -25
- package/dist/vue-handsontable.min.js.map +1 -1
- package/es/vue-handsontable.js +27 -38
- package/handsontable-non-commercial-license.pdf +0 -0
- package/helpers.d.ts +1 -1
- package/package.json +3 -3
- package/types.d.ts +1 -1
- package/handsontable-general-terms.pdf +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import Vue from 'vue';
|
|
2
|
-
import Handsontable from 'handsontable';
|
|
3
|
-
declare class BaseEditorComponent extends Vue implements Handsontable.
|
|
2
|
+
import Handsontable from 'handsontable/base';
|
|
3
|
+
declare class BaseEditorComponent extends Vue implements Handsontable.editors.BaseEditor {
|
|
4
4
|
name: string;
|
|
5
5
|
instance: any;
|
|
6
6
|
row: any;
|
package/LICENSE.txt
CHANGED
|
@@ -1,28 +1,25 @@
|
|
|
1
1
|
Copyright (c) HANDSONCODE sp. z o. o.
|
|
2
2
|
|
|
3
|
-
HANDSONTABLE is a software distributed by HANDSONCODE sp. z o. o.,
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
EU tax ID number: PL5862294002, share capital: PLN 62,800.00.
|
|
3
|
+
HANDSONTABLE is a software distributed by HANDSONCODE sp. z o. o., a Polish corporation based in
|
|
4
|
+
Gdynia, Poland, at Aleja Zwycięstwa 96-98, registered by the District Court in Gdansk under number
|
|
5
|
+
538651, EU tax ID number: PL5862294002, share capital: PLN 62,800.00.
|
|
7
6
|
|
|
8
|
-
This software is protected by applicable copyright laws, including
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
or monetary compensation (commercial purposes), or not.
|
|
7
|
+
This software is protected by applicable copyright laws, including international treaties, and dual-
|
|
8
|
+
licensed – depending on whether your use for commercial purposes, meaning intended for or
|
|
9
|
+
resulting in commercial advantage or monetary compensation, or not.
|
|
12
10
|
|
|
13
|
-
If your use
|
|
14
|
-
|
|
15
|
-
in the "handsontable-non-commercial-license.pdf" file
|
|
16
|
-
in the main directory of this software repository.
|
|
11
|
+
If your use is strictly personal or solely for evaluation purposes, meaning for the purposes of testing
|
|
12
|
+
the suitability, performance, and usefulness of this software outside the production environment,
|
|
13
|
+
you agree to be bound by the terms included in the "handsontable-non-commercial-license.pdf" file.
|
|
17
14
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
in the "handsontable-general-terms.pdf" file, available in the main
|
|
21
|
-
directory of this software repository.
|
|
15
|
+
Your use of this software for commercial purposes is subject to the terms included in an applicable
|
|
16
|
+
license agreement.
|
|
22
17
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
18
|
+
In any case, you must not make any such use of this software as to develop software which may be
|
|
19
|
+
considered competitive with this software.
|
|
20
|
+
|
|
21
|
+
UNLESS EXPRESSLY AGREED OTHERWISE, HANDSONCODE PROVIDES THIS SOFTWARE ON AN "AS IS"
|
|
22
|
+
BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, AND IN NO EVENT AND UNDER NO
|
|
23
|
+
LEGAL THEORY, SHALL HANDSONCODE BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY DIRECT,
|
|
24
|
+
INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER ARISING FROM
|
|
25
|
+
USE OR INABILITY TO USE THIS SOFTWARE.
|
package/README.md
CHANGED
|
@@ -9,13 +9,14 @@ It provides data binding, data validation, filtering, sorting, and CRUD operatio
|
|
|
9
9
|
|
|
10
10
|
[](https://npmjs.com/package/@handsontable/vue)
|
|
11
11
|
[](https://npmjs.com/package/@handsontable/vue)
|
|
12
|
-
[](https://github.com/handsontable/handsontable/actions/workflows/test.yml?query=branch%3Amaster)
|
|
13
13
|
[](https://app.fossa.io/projects/git%2Bgithub.com%2Fhandsontable%2Fhandsontable?ref=badge_shield)
|
|
14
|
-
[](https://snyk.io/test/github/handsontable/handsontable?targetFile=package.json)
|
|
14
|
+
[](https://snyk.io/test/github/handsontable/handsontable?targetFile=wrappers/vue/package.json)
|
|
15
|
+
[](https://sonarcloud.io/dashboard?id=handsontable_handsontable)
|
|
15
16
|
|
|
16
17
|
---
|
|
17
18
|
|
|
18
|
-
<a href="https://handsontable.com/
|
|
19
|
+
<a href="https://handsontable.com/demo"><img src="https://raw.githubusercontent.com/handsontable/handsontable/develop/resources/handsontable-github-preview.png" alt="Handsontable data grid for Vue" width="805"/></a>
|
|
19
20
|
|
|
20
21
|
</div>
|
|
21
22
|
|
|
@@ -39,10 +40,10 @@ The most popular features of Handsontable for Vue:
|
|
|
39
40
|
|
|
40
41
|
## Documentation
|
|
41
42
|
|
|
42
|
-
- [Developer guides](https://handsontable.com/docs/
|
|
43
|
-
- [API Reference](https://handsontable.com/docs/
|
|
44
|
-
- [
|
|
45
|
-
- [Demo](https://handsontable.com/
|
|
43
|
+
- [Developer guides](https://handsontable.com/docs/vue-installation/)
|
|
44
|
+
- [API Reference](https://handsontable.com/docs/api/core/)
|
|
45
|
+
- [Changelog](https://handsontable.com/docs/release-notes/)
|
|
46
|
+
- [Demo](https://handsontable.com/demo)
|
|
46
47
|
|
|
47
48
|
<div id="installation"></div>
|
|
48
49
|
|
|
@@ -54,7 +55,7 @@ Run the following command in your terminal
|
|
|
54
55
|
npm install handsontable @handsontable/vue
|
|
55
56
|
```
|
|
56
57
|
|
|
57
|
-
You can load it directly from [jsDelivr](
|
|
58
|
+
You can load it directly from [jsDelivr](https:jsdelivr.com/package/npm/@handsontable/vue) as well.
|
|
58
59
|
```html
|
|
59
60
|
<script src="https://cdn.jsdelivr.net/npm/handsontable/dist/handsontable.full.min.js"></script>
|
|
60
61
|
<script src="https://cdn.jsdelivr.net/npm/@handsontable/vue/dist/vue-handsontable.min.js"></script>
|
|
@@ -66,7 +67,7 @@ The component will be available as `Handsontable.vue.HotTable`.
|
|
|
66
67
|
|
|
67
68
|
### Usage
|
|
68
69
|
|
|
69
|
-
Use this data grid as you would any other component in your application. [Options](
|
|
70
|
+
Use this data grid as you would any other component in your application. [Options](https://handsontable.com/docs/api/options/) can be set as `HotTable` props.
|
|
70
71
|
|
|
71
72
|
**Styles**
|
|
72
73
|
```css
|
|
@@ -100,7 +101,7 @@ Use this data grid as you would any other component in your application. [Option
|
|
|
100
101
|
</script>
|
|
101
102
|
```
|
|
102
103
|
|
|
103
|
-
### [View live demo](
|
|
104
|
+
### [View live demo](https://handsontable.com/docs/vue-simple-example/)
|
|
104
105
|
|
|
105
106
|
## Support
|
|
106
107
|
|
|
@@ -119,7 +120,7 @@ Handsontable is a commercial software with two licenses available:
|
|
|
119
120
|
|
|
120
121
|
If you use Handsontable for Vue in a project that supports your commercial activity, then you must purchase the license key at [handsontable.com](https://handsontable.com/pricing).
|
|
121
122
|
|
|
122
|
-
If you use the free for non-commercial license of Handsontable, then pass the phrase `'non-commercial-and-evaluation'`, as described in [this documentation](https://handsontable.com/docs/
|
|
123
|
+
If you use the free for non-commercial license of Handsontable, then pass the phrase `'non-commercial-and-evaluation'`, as described in [this documentation](https://handsontable.com/docs/license-key/).
|
|
123
124
|
|
|
124
125
|
<br>
|
|
125
126
|
<br>
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var Handsontable = require('handsontable');
|
|
5
|
+
var Handsontable = require('handsontable/base');
|
|
6
6
|
var Vue = require('vue');
|
|
7
7
|
|
|
8
8
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
@@ -15,14 +15,9 @@ function ownKeys(object, enumerableOnly) {
|
|
|
15
15
|
|
|
16
16
|
if (Object.getOwnPropertySymbols) {
|
|
17
17
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
22
|
-
});
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
keys.push.apply(keys, symbols);
|
|
18
|
+
enumerableOnly && (symbols = symbols.filter(function (sym) {
|
|
19
|
+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
20
|
+
})), keys.push.apply(keys, symbols);
|
|
26
21
|
}
|
|
27
22
|
|
|
28
23
|
return keys;
|
|
@@ -30,19 +25,12 @@ function ownKeys(object, enumerableOnly) {
|
|
|
30
25
|
|
|
31
26
|
function _objectSpread2(target) {
|
|
32
27
|
for (var i = 1; i < arguments.length; i++) {
|
|
33
|
-
var source = arguments[i]
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} else if (Object.getOwnPropertyDescriptors) {
|
|
40
|
-
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
41
|
-
} else {
|
|
42
|
-
ownKeys(Object(source)).forEach(function (key) {
|
|
43
|
-
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
44
|
-
});
|
|
45
|
-
}
|
|
28
|
+
var source = null != arguments[i] ? arguments[i] : {};
|
|
29
|
+
i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {
|
|
30
|
+
_defineProperty$1(target, key, source[key]);
|
|
31
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {
|
|
32
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
33
|
+
});
|
|
46
34
|
}
|
|
47
35
|
|
|
48
36
|
return target;
|
|
@@ -51,17 +39,11 @@ function _objectSpread2(target) {
|
|
|
51
39
|
function _typeof$1(obj) {
|
|
52
40
|
"@babel/helpers - typeof";
|
|
53
41
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
}
|
|
59
|
-
_typeof$1 = function (obj) {
|
|
60
|
-
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
61
|
-
};
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
return _typeof$1(obj);
|
|
42
|
+
return _typeof$1 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
|
43
|
+
return typeof obj;
|
|
44
|
+
} : function (obj) {
|
|
45
|
+
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
46
|
+
}, _typeof$1(obj);
|
|
65
47
|
}
|
|
66
48
|
|
|
67
49
|
function _classCallCheck(instance, Constructor) {
|
|
@@ -83,6 +65,9 @@ function _defineProperties(target, props) {
|
|
|
83
65
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
84
66
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
85
67
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
68
|
+
Object.defineProperty(Constructor, "prototype", {
|
|
69
|
+
writable: false
|
|
70
|
+
});
|
|
86
71
|
return Constructor;
|
|
87
72
|
}
|
|
88
73
|
|
|
@@ -113,6 +98,9 @@ function _inherits(subClass, superClass) {
|
|
|
113
98
|
configurable: true
|
|
114
99
|
}
|
|
115
100
|
});
|
|
101
|
+
Object.defineProperty(subClass, "prototype", {
|
|
102
|
+
writable: false
|
|
103
|
+
});
|
|
116
104
|
if (superClass) _setPrototypeOf(subClass, superClass);
|
|
117
105
|
}
|
|
118
106
|
|
|
@@ -156,6 +144,8 @@ function _assertThisInitialized(self) {
|
|
|
156
144
|
function _possibleConstructorReturn(self, call) {
|
|
157
145
|
if (call && (typeof call === "object" || typeof call === "function")) {
|
|
158
146
|
return call;
|
|
147
|
+
} else if (call !== void 0) {
|
|
148
|
+
throw new TypeError("Derived constructors may only return object or undefined");
|
|
159
149
|
}
|
|
160
150
|
|
|
161
151
|
return _assertThisInitialized(self);
|
|
@@ -219,9 +209,9 @@ function preventInternalEditWatch(component) {
|
|
|
219
209
|
*/
|
|
220
210
|
|
|
221
211
|
function propFactory(source) {
|
|
222
|
-
var registeredHooks = Handsontable__default[
|
|
212
|
+
var registeredHooks = Handsontable__default["default"].hooks.getRegistered();
|
|
223
213
|
var propSchema = {};
|
|
224
|
-
Object.assign(propSchema, Handsontable__default[
|
|
214
|
+
Object.assign(propSchema, Handsontable__default["default"].DefaultSettings);
|
|
225
215
|
|
|
226
216
|
for (var prop in propSchema) {
|
|
227
217
|
propSchema[prop] = {
|
|
@@ -380,7 +370,7 @@ function simpleEqual(objectA, objectB) {
|
|
|
380
370
|
return JSON.stringify(objectA) === JSON.stringify(objectB);
|
|
381
371
|
}
|
|
382
372
|
|
|
383
|
-
var version="
|
|
373
|
+
var version="11.1.0";
|
|
384
374
|
|
|
385
375
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
386
376
|
|
|
@@ -681,7 +671,7 @@ var HotTable = {
|
|
|
681
671
|
globalRendererVNode.child.$destroy();
|
|
682
672
|
}
|
|
683
673
|
|
|
684
|
-
this.hotInstance = new Handsontable__default[
|
|
674
|
+
this.hotInstance = new Handsontable__default["default"].Core(this.$el, newSettings);
|
|
685
675
|
this.hotInstance.init();
|
|
686
676
|
preventInternalEditWatch(this);
|
|
687
677
|
this.miscCache.currentSourceColumns = this.hotInstance.countSourceCols();
|
|
@@ -1257,7 +1247,7 @@ function componentFactory(Component) {
|
|
|
1257
1247
|
|
|
1258
1248
|
|
|
1259
1249
|
var superProto = Object.getPrototypeOf(Component.prototype);
|
|
1260
|
-
var Super = superProto instanceof Vue__default[
|
|
1250
|
+
var Super = superProto instanceof Vue__default["default"] ? superProto.constructor : Vue__default["default"];
|
|
1261
1251
|
var Extended = Super.extend(options);
|
|
1262
1252
|
forwardStaticMembers(Extended, Component, Super);
|
|
1263
1253
|
|
|
@@ -1365,12 +1355,12 @@ var BaseEditorComponent = /*#__PURE__*/function (_Vue) {
|
|
|
1365
1355
|
|
|
1366
1356
|
var _super2 = _createSuper(CustomEditor);
|
|
1367
1357
|
|
|
1368
|
-
function CustomEditor(hotInstance
|
|
1358
|
+
function CustomEditor(hotInstance) {
|
|
1369
1359
|
var _this3;
|
|
1370
1360
|
|
|
1371
1361
|
_classCallCheck(this, CustomEditor);
|
|
1372
1362
|
|
|
1373
|
-
_this3 = _super2.call(this, hotInstance
|
|
1363
|
+
_this3 = _super2.call(this, hotInstance);
|
|
1374
1364
|
_this.$data.hotCustomEditorInstance = _assertThisInitialized(_this3);
|
|
1375
1365
|
return _this3;
|
|
1376
1366
|
}
|
|
@@ -1393,10 +1383,10 @@ var BaseEditorComponent = /*#__PURE__*/function (_Vue) {
|
|
|
1393
1383
|
}]);
|
|
1394
1384
|
|
|
1395
1385
|
return CustomEditor;
|
|
1396
|
-
}(Handsontable__default[
|
|
1386
|
+
}(Handsontable__default["default"].editors.BaseEditor); // Fill with the rest of the BaseEditorComponent methods
|
|
1397
1387
|
|
|
1398
1388
|
|
|
1399
|
-
Object.getOwnPropertyNames(Handsontable__default[
|
|
1389
|
+
Object.getOwnPropertyNames(Handsontable__default["default"].editors.BaseEditor.prototype).forEach(function (propName) {
|
|
1400
1390
|
if (propName === 'constructor') {
|
|
1401
1391
|
return;
|
|
1402
1392
|
}
|
|
@@ -1424,7 +1414,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_Vue) {
|
|
|
1424
1414
|
args[_key2] = arguments[_key2];
|
|
1425
1415
|
}
|
|
1426
1416
|
|
|
1427
|
-
(_Handsontable$editors2 = Handsontable__default[
|
|
1417
|
+
(_Handsontable$editors2 = Handsontable__default["default"].editors.BaseEditor.prototype._fireCallbacks).call.apply(_Handsontable$editors2, [this.$data.hotCustomEditorInstance].concat(args));
|
|
1428
1418
|
}
|
|
1429
1419
|
}, {
|
|
1430
1420
|
key: "beginEditing",
|
|
@@ -1435,7 +1425,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_Vue) {
|
|
|
1435
1425
|
args[_key3] = arguments[_key3];
|
|
1436
1426
|
}
|
|
1437
1427
|
|
|
1438
|
-
return (_Handsontable$editors3 = Handsontable__default[
|
|
1428
|
+
return (_Handsontable$editors3 = Handsontable__default["default"].editors.BaseEditor.prototype.beginEditing).call.apply(_Handsontable$editors3, [this.$data.hotCustomEditorInstance].concat(args));
|
|
1439
1429
|
}
|
|
1440
1430
|
}, {
|
|
1441
1431
|
key: "cancelChanges",
|
|
@@ -1446,7 +1436,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_Vue) {
|
|
|
1446
1436
|
args[_key4] = arguments[_key4];
|
|
1447
1437
|
}
|
|
1448
1438
|
|
|
1449
|
-
return (_Handsontable$editors4 = Handsontable__default[
|
|
1439
|
+
return (_Handsontable$editors4 = Handsontable__default["default"].editors.BaseEditor.prototype.cancelChanges).call.apply(_Handsontable$editors4, [this.$data.hotCustomEditorInstance].concat(args));
|
|
1450
1440
|
}
|
|
1451
1441
|
}, {
|
|
1452
1442
|
key: "checkEditorSection",
|
|
@@ -1457,7 +1447,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_Vue) {
|
|
|
1457
1447
|
args[_key5] = arguments[_key5];
|
|
1458
1448
|
}
|
|
1459
1449
|
|
|
1460
|
-
return (_Handsontable$editors5 = Handsontable__default[
|
|
1450
|
+
return (_Handsontable$editors5 = Handsontable__default["default"].editors.BaseEditor.prototype.checkEditorSection).call.apply(_Handsontable$editors5, [this.$data.hotCustomEditorInstance].concat(args));
|
|
1461
1451
|
}
|
|
1462
1452
|
}, {
|
|
1463
1453
|
key: "close",
|
|
@@ -1468,7 +1458,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_Vue) {
|
|
|
1468
1458
|
args[_key6] = arguments[_key6];
|
|
1469
1459
|
}
|
|
1470
1460
|
|
|
1471
|
-
return (_Handsontable$editors6 = Handsontable__default[
|
|
1461
|
+
return (_Handsontable$editors6 = Handsontable__default["default"].editors.BaseEditor.prototype.close).call.apply(_Handsontable$editors6, [this.$data.hotCustomEditorInstance].concat(args));
|
|
1472
1462
|
}
|
|
1473
1463
|
}, {
|
|
1474
1464
|
key: "discardEditor",
|
|
@@ -1479,7 +1469,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_Vue) {
|
|
|
1479
1469
|
args[_key7] = arguments[_key7];
|
|
1480
1470
|
}
|
|
1481
1471
|
|
|
1482
|
-
return (_Handsontable$editors7 = Handsontable__default[
|
|
1472
|
+
return (_Handsontable$editors7 = Handsontable__default["default"].editors.BaseEditor.prototype.discardEditor).call.apply(_Handsontable$editors7, [this.$data.hotCustomEditorInstance].concat(args));
|
|
1483
1473
|
}
|
|
1484
1474
|
}, {
|
|
1485
1475
|
key: "enableFullEditMode",
|
|
@@ -1490,7 +1480,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_Vue) {
|
|
|
1490
1480
|
args[_key8] = arguments[_key8];
|
|
1491
1481
|
}
|
|
1492
1482
|
|
|
1493
|
-
return (_Handsontable$editors8 = Handsontable__default[
|
|
1483
|
+
return (_Handsontable$editors8 = Handsontable__default["default"].editors.BaseEditor.prototype.enableFullEditMode).call.apply(_Handsontable$editors8, [this.$data.hotCustomEditorInstance].concat(args));
|
|
1494
1484
|
}
|
|
1495
1485
|
}, {
|
|
1496
1486
|
key: "extend",
|
|
@@ -1501,7 +1491,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_Vue) {
|
|
|
1501
1491
|
args[_key9] = arguments[_key9];
|
|
1502
1492
|
}
|
|
1503
1493
|
|
|
1504
|
-
return (_Handsontable$editors9 = Handsontable__default[
|
|
1494
|
+
return (_Handsontable$editors9 = Handsontable__default["default"].editors.BaseEditor.prototype.extend).call.apply(_Handsontable$editors9, [this.$data.hotCustomEditorInstance].concat(args));
|
|
1505
1495
|
}
|
|
1506
1496
|
}, {
|
|
1507
1497
|
key: "finishEditing",
|
|
@@ -1512,7 +1502,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_Vue) {
|
|
|
1512
1502
|
args[_key10] = arguments[_key10];
|
|
1513
1503
|
}
|
|
1514
1504
|
|
|
1515
|
-
return (_Handsontable$editors10 = Handsontable__default[
|
|
1505
|
+
return (_Handsontable$editors10 = Handsontable__default["default"].editors.BaseEditor.prototype.finishEditing).call.apply(_Handsontable$editors10, [this.$data.hotCustomEditorInstance].concat(args));
|
|
1516
1506
|
}
|
|
1517
1507
|
}, {
|
|
1518
1508
|
key: "focus",
|
|
@@ -1523,7 +1513,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_Vue) {
|
|
|
1523
1513
|
args[_key11] = arguments[_key11];
|
|
1524
1514
|
}
|
|
1525
1515
|
|
|
1526
|
-
return (_Handsontable$editors11 = Handsontable__default[
|
|
1516
|
+
return (_Handsontable$editors11 = Handsontable__default["default"].editors.BaseEditor.prototype.focus).call.apply(_Handsontable$editors11, [this.$data.hotCustomEditorInstance].concat(args));
|
|
1527
1517
|
}
|
|
1528
1518
|
}, {
|
|
1529
1519
|
key: "getValue",
|
|
@@ -1534,7 +1524,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_Vue) {
|
|
|
1534
1524
|
args[_key12] = arguments[_key12];
|
|
1535
1525
|
}
|
|
1536
1526
|
|
|
1537
|
-
return (_Handsontable$editors12 = Handsontable__default[
|
|
1527
|
+
return (_Handsontable$editors12 = Handsontable__default["default"].editors.BaseEditor.prototype.getValue).call.apply(_Handsontable$editors12, [this.$data.hotCustomEditorInstance].concat(args));
|
|
1538
1528
|
}
|
|
1539
1529
|
}, {
|
|
1540
1530
|
key: "init",
|
|
@@ -1545,7 +1535,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_Vue) {
|
|
|
1545
1535
|
args[_key13] = arguments[_key13];
|
|
1546
1536
|
}
|
|
1547
1537
|
|
|
1548
|
-
return (_Handsontable$editors13 = Handsontable__default[
|
|
1538
|
+
return (_Handsontable$editors13 = Handsontable__default["default"].editors.BaseEditor.prototype.init).call.apply(_Handsontable$editors13, [this.$data.hotCustomEditorInstance].concat(args));
|
|
1549
1539
|
}
|
|
1550
1540
|
}, {
|
|
1551
1541
|
key: "isInFullEditMode",
|
|
@@ -1556,7 +1546,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_Vue) {
|
|
|
1556
1546
|
args[_key14] = arguments[_key14];
|
|
1557
1547
|
}
|
|
1558
1548
|
|
|
1559
|
-
return (_Handsontable$editors14 = Handsontable__default[
|
|
1549
|
+
return (_Handsontable$editors14 = Handsontable__default["default"].editors.BaseEditor.prototype.isInFullEditMode).call.apply(_Handsontable$editors14, [this.$data.hotCustomEditorInstance].concat(args));
|
|
1560
1550
|
}
|
|
1561
1551
|
}, {
|
|
1562
1552
|
key: "isOpened",
|
|
@@ -1567,7 +1557,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_Vue) {
|
|
|
1567
1557
|
args[_key15] = arguments[_key15];
|
|
1568
1558
|
}
|
|
1569
1559
|
|
|
1570
|
-
return (_Handsontable$editors15 = Handsontable__default[
|
|
1560
|
+
return (_Handsontable$editors15 = Handsontable__default["default"].editors.BaseEditor.prototype.isOpened).call.apply(_Handsontable$editors15, [this.$data.hotCustomEditorInstance].concat(args));
|
|
1571
1561
|
}
|
|
1572
1562
|
}, {
|
|
1573
1563
|
key: "isWaiting",
|
|
@@ -1578,7 +1568,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_Vue) {
|
|
|
1578
1568
|
args[_key16] = arguments[_key16];
|
|
1579
1569
|
}
|
|
1580
1570
|
|
|
1581
|
-
return (_Handsontable$editors16 = Handsontable__default[
|
|
1571
|
+
return (_Handsontable$editors16 = Handsontable__default["default"].editors.BaseEditor.prototype.isWaiting).call.apply(_Handsontable$editors16, [this.$data.hotCustomEditorInstance].concat(args));
|
|
1582
1572
|
}
|
|
1583
1573
|
}, {
|
|
1584
1574
|
key: "open",
|
|
@@ -1589,7 +1579,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_Vue) {
|
|
|
1589
1579
|
args[_key17] = arguments[_key17];
|
|
1590
1580
|
}
|
|
1591
1581
|
|
|
1592
|
-
return (_Handsontable$editors17 = Handsontable__default[
|
|
1582
|
+
return (_Handsontable$editors17 = Handsontable__default["default"].editors.BaseEditor.prototype.open).call.apply(_Handsontable$editors17, [this.$data.hotCustomEditorInstance].concat(args));
|
|
1593
1583
|
}
|
|
1594
1584
|
}, {
|
|
1595
1585
|
key: "prepare",
|
|
@@ -1601,7 +1591,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_Vue) {
|
|
|
1601
1591
|
this.$data.TD = TD;
|
|
1602
1592
|
this.$data.originalValue = originalValue;
|
|
1603
1593
|
this.$data.cellProperties = cellProperties;
|
|
1604
|
-
return Handsontable__default[
|
|
1594
|
+
return Handsontable__default["default"].editors.BaseEditor.prototype.prepare.call(this.$data.hotCustomEditorInstance, row, col, prop, TD, originalValue, cellProperties);
|
|
1605
1595
|
}
|
|
1606
1596
|
}, {
|
|
1607
1597
|
key: "saveValue",
|
|
@@ -1612,7 +1602,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_Vue) {
|
|
|
1612
1602
|
args[_key18] = arguments[_key18];
|
|
1613
1603
|
}
|
|
1614
1604
|
|
|
1615
|
-
return (_Handsontable$editors18 = Handsontable__default[
|
|
1605
|
+
return (_Handsontable$editors18 = Handsontable__default["default"].editors.BaseEditor.prototype.saveValue).call.apply(_Handsontable$editors18, [this.$data.hotCustomEditorInstance].concat(args));
|
|
1616
1606
|
}
|
|
1617
1607
|
}, {
|
|
1618
1608
|
key: "setValue",
|
|
@@ -1623,7 +1613,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_Vue) {
|
|
|
1623
1613
|
args[_key19] = arguments[_key19];
|
|
1624
1614
|
}
|
|
1625
1615
|
|
|
1626
|
-
return (_Handsontable$editors19 = Handsontable__default[
|
|
1616
|
+
return (_Handsontable$editors19 = Handsontable__default["default"].editors.BaseEditor.prototype.setValue).call.apply(_Handsontable$editors19, [this.$data.hotCustomEditorInstance].concat(args));
|
|
1627
1617
|
}
|
|
1628
1618
|
}, {
|
|
1629
1619
|
key: "addHook",
|
|
@@ -1634,7 +1624,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_Vue) {
|
|
|
1634
1624
|
args[_key20] = arguments[_key20];
|
|
1635
1625
|
}
|
|
1636
1626
|
|
|
1637
|
-
return (_Handsontable$editors20 = Handsontable__default[
|
|
1627
|
+
return (_Handsontable$editors20 = Handsontable__default["default"].editors.BaseEditor.prototype.addHook).call.apply(_Handsontable$editors20, [this.$data.hotCustomEditorInstance].concat(args));
|
|
1638
1628
|
}
|
|
1639
1629
|
}, {
|
|
1640
1630
|
key: "removeHooksByKey",
|
|
@@ -1645,7 +1635,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_Vue) {
|
|
|
1645
1635
|
args[_key21] = arguments[_key21];
|
|
1646
1636
|
}
|
|
1647
1637
|
|
|
1648
|
-
return (_Handsontable$editors21 = Handsontable__default[
|
|
1638
|
+
return (_Handsontable$editors21 = Handsontable__default["default"].editors.BaseEditor.prototype.removeHooksByKey).call.apply(_Handsontable$editors21, [this.$data.hotCustomEditorInstance].concat(args));
|
|
1649
1639
|
}
|
|
1650
1640
|
}, {
|
|
1651
1641
|
key: "clearHooks",
|
|
@@ -1656,7 +1646,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_Vue) {
|
|
|
1656
1646
|
args[_key22] = arguments[_key22];
|
|
1657
1647
|
}
|
|
1658
1648
|
|
|
1659
|
-
return (_Handsontable$editors22 = Handsontable__default[
|
|
1649
|
+
return (_Handsontable$editors22 = Handsontable__default["default"].editors.BaseEditor.prototype.clearHooks).call.apply(_Handsontable$editors22, [this.$data.hotCustomEditorInstance].concat(args));
|
|
1660
1650
|
}
|
|
1661
1651
|
}, {
|
|
1662
1652
|
key: "getEditedCell",
|
|
@@ -1667,7 +1657,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_Vue) {
|
|
|
1667
1657
|
args[_key23] = arguments[_key23];
|
|
1668
1658
|
}
|
|
1669
1659
|
|
|
1670
|
-
return (_Handsontable$editors23 = Handsontable__default[
|
|
1660
|
+
return (_Handsontable$editors23 = Handsontable__default["default"].editors.BaseEditor.prototype.getEditedCell).call.apply(_Handsontable$editors23, [this.$data.hotCustomEditorInstance].concat(args));
|
|
1671
1661
|
}
|
|
1672
1662
|
}, {
|
|
1673
1663
|
key: "getEditedCellsZIndex",
|
|
@@ -1678,7 +1668,7 @@ var BaseEditorComponent = /*#__PURE__*/function (_Vue) {
|
|
|
1678
1668
|
args[_key24] = arguments[_key24];
|
|
1679
1669
|
}
|
|
1680
1670
|
|
|
1681
|
-
return (_Handsontable$editors24 = Handsontable__default[
|
|
1671
|
+
return (_Handsontable$editors24 = Handsontable__default["default"].editors.BaseEditor.prototype.getEditedCellsZIndex).call.apply(_Handsontable$editors24, [this.$data.hotCustomEditorInstance].concat(args));
|
|
1682
1672
|
}
|
|
1683
1673
|
}, {
|
|
1684
1674
|
key: "getEditedCellsLayerClass",
|
|
@@ -1689,12 +1679,12 @@ var BaseEditorComponent = /*#__PURE__*/function (_Vue) {
|
|
|
1689
1679
|
args[_key25] = arguments[_key25];
|
|
1690
1680
|
}
|
|
1691
1681
|
|
|
1692
|
-
return (_Handsontable$editors25 = Handsontable__default[
|
|
1682
|
+
return (_Handsontable$editors25 = Handsontable__default["default"].editors.BaseEditor.prototype.getEditedCellsLayerClass).call.apply(_Handsontable$editors25, [this.$data.hotCustomEditorInstance].concat(args));
|
|
1693
1683
|
}
|
|
1694
1684
|
}]);
|
|
1695
1685
|
|
|
1696
1686
|
return BaseEditorComponent;
|
|
1697
|
-
}(Vue__default[
|
|
1687
|
+
}(Vue__default["default"]);
|
|
1698
1688
|
|
|
1699
1689
|
BaseEditorComponent = __decorate([Component({})], BaseEditorComponent);
|
|
1700
1690
|
var script = BaseEditorComponent;
|
|
@@ -1726,4 +1716,4 @@ var __vue_component__ = /*#__PURE__*/normalizeComponent({}, __vue_inject_styles_
|
|
|
1726
1716
|
exports.BaseEditorComponent = __vue_component__;
|
|
1727
1717
|
exports.HotColumn = __vue_component__$1;
|
|
1728
1718
|
exports.HotTable = __vue_component__$2;
|
|
1729
|
-
exports
|
|
1719
|
+
exports["default"] = __vue_component__$2;
|