@handsontable/react 0.0.0-next-dbd8d56-20240110 → 0.0.0-next-317e00f-20240111
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.
|
@@ -12,6 +12,17 @@ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
|
12
12
|
var ReactDOM__default = /*#__PURE__*/_interopDefaultLegacy(ReactDOM);
|
|
13
13
|
var Handsontable__default = /*#__PURE__*/_interopDefaultLegacy(Handsontable);
|
|
14
14
|
|
|
15
|
+
function _callSuper(t, o, e) {
|
|
16
|
+
return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e));
|
|
17
|
+
}
|
|
18
|
+
function _isNativeReflectConstruct() {
|
|
19
|
+
try {
|
|
20
|
+
var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
21
|
+
} catch (t) {}
|
|
22
|
+
return (_isNativeReflectConstruct = function () {
|
|
23
|
+
return !!t;
|
|
24
|
+
})();
|
|
25
|
+
}
|
|
15
26
|
function ownKeys(e, r) {
|
|
16
27
|
var t = Object.keys(e);
|
|
17
28
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -121,17 +132,6 @@ function _setPrototypeOf(o, p) {
|
|
|
121
132
|
};
|
|
122
133
|
return _setPrototypeOf(o, p);
|
|
123
134
|
}
|
|
124
|
-
function _isNativeReflectConstruct() {
|
|
125
|
-
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
126
|
-
if (Reflect.construct.sham) return false;
|
|
127
|
-
if (typeof Proxy === "function") return true;
|
|
128
|
-
try {
|
|
129
|
-
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
130
|
-
return true;
|
|
131
|
-
} catch (e) {
|
|
132
|
-
return false;
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
135
|
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
136
136
|
if (source == null) return {};
|
|
137
137
|
var target = {};
|
|
@@ -173,20 +173,6 @@ function _possibleConstructorReturn(self, call) {
|
|
|
173
173
|
}
|
|
174
174
|
return _assertThisInitialized(self);
|
|
175
175
|
}
|
|
176
|
-
function _createSuper(Derived) {
|
|
177
|
-
var hasNativeReflectConstruct = _isNativeReflectConstruct();
|
|
178
|
-
return function _createSuperInternal() {
|
|
179
|
-
var Super = _getPrototypeOf(Derived),
|
|
180
|
-
result;
|
|
181
|
-
if (hasNativeReflectConstruct) {
|
|
182
|
-
var NewTarget = _getPrototypeOf(this).constructor;
|
|
183
|
-
result = Reflect.construct(Super, arguments, NewTarget);
|
|
184
|
-
} else {
|
|
185
|
-
result = Super.apply(this, arguments);
|
|
186
|
-
}
|
|
187
|
-
return _possibleConstructorReturn(this, result);
|
|
188
|
-
};
|
|
189
|
-
}
|
|
190
176
|
function _toConsumableArray(arr) {
|
|
191
177
|
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
|
|
192
178
|
}
|
|
@@ -406,10 +392,9 @@ var SettingsMapper = /*#__PURE__*/function () {
|
|
|
406
392
|
|
|
407
393
|
var HotColumn = /*#__PURE__*/function (_React$Component) {
|
|
408
394
|
_inherits(HotColumn, _React$Component);
|
|
409
|
-
var _super = _createSuper(HotColumn);
|
|
410
395
|
function HotColumn() {
|
|
411
396
|
_classCallCheck(this, HotColumn);
|
|
412
|
-
return
|
|
397
|
+
return _callSuper(this, HotColumn, arguments);
|
|
413
398
|
}
|
|
414
399
|
_createClass(HotColumn, [{
|
|
415
400
|
key: "getSettingsProps",
|
|
@@ -508,11 +493,10 @@ var HotColumn = /*#__PURE__*/function (_React$Component) {
|
|
|
508
493
|
*/
|
|
509
494
|
var RenderersPortalManager = /*#__PURE__*/function (_React$Component) {
|
|
510
495
|
_inherits(RenderersPortalManager, _React$Component);
|
|
511
|
-
var _super = _createSuper(RenderersPortalManager);
|
|
512
496
|
function RenderersPortalManager() {
|
|
513
497
|
var _this;
|
|
514
498
|
_classCallCheck(this, RenderersPortalManager);
|
|
515
|
-
_this =
|
|
499
|
+
_this = _callSuper(this, RenderersPortalManager, arguments);
|
|
516
500
|
_this.state = {
|
|
517
501
|
portals: []
|
|
518
502
|
};
|
|
@@ -527,7 +511,7 @@ var RenderersPortalManager = /*#__PURE__*/function (_React$Component) {
|
|
|
527
511
|
return RenderersPortalManager;
|
|
528
512
|
}(React__default["default"].Component);
|
|
529
513
|
|
|
530
|
-
var version="0.0.0-next-
|
|
514
|
+
var version="0.0.0-next-317e00f-20240111";
|
|
531
515
|
|
|
532
516
|
function createCommonjsModule(fn, module) {
|
|
533
517
|
return module = { exports: {} }, fn(module, module.exports), module.exports;
|
|
@@ -1672,11 +1656,10 @@ var PropTypes = propTypes;
|
|
|
1672
1656
|
*/
|
|
1673
1657
|
var HotTableClass = /*#__PURE__*/function (_React$Component) {
|
|
1674
1658
|
_inherits(HotTableClass, _React$Component);
|
|
1675
|
-
var _super = _createSuper(HotTableClass);
|
|
1676
1659
|
function HotTableClass() {
|
|
1677
1660
|
var _this;
|
|
1678
1661
|
_classCallCheck(this, HotTableClass);
|
|
1679
|
-
_this =
|
|
1662
|
+
_this = _callSuper(this, HotTableClass, arguments);
|
|
1680
1663
|
/**
|
|
1681
1664
|
* The `id` of the main Handsontable DOM element.
|
|
1682
1665
|
*
|
|
@@ -1880,11 +1863,10 @@ var HotTableClass = /*#__PURE__*/function (_React$Component) {
|
|
|
1880
1863
|
value: function makeEditorClass(editorComponent) {
|
|
1881
1864
|
var customEditorClass = /*#__PURE__*/function (_Handsontable$editors) {
|
|
1882
1865
|
_inherits(CustomEditor, _Handsontable$editors);
|
|
1883
|
-
var _super2 = _createSuper(CustomEditor);
|
|
1884
1866
|
function CustomEditor(hotInstance) {
|
|
1885
1867
|
var _this2;
|
|
1886
1868
|
_classCallCheck(this, CustomEditor);
|
|
1887
|
-
_this2 =
|
|
1869
|
+
_this2 = _callSuper(this, CustomEditor, [hotInstance]);
|
|
1888
1870
|
editorComponent.hotCustomEditorInstance = _assertThisInitialized(_this2);
|
|
1889
1871
|
_this2.editorComponent = editorComponent;
|
|
1890
1872
|
return _this2;
|
|
@@ -2153,11 +2135,10 @@ HotTable.version = HotTableClass.version;
|
|
|
2153
2135
|
|
|
2154
2136
|
var BaseEditorComponent = /*#__PURE__*/function (_React$Component) {
|
|
2155
2137
|
_inherits(BaseEditorComponent, _React$Component);
|
|
2156
|
-
var _super = _createSuper(BaseEditorComponent);
|
|
2157
2138
|
function BaseEditorComponent() {
|
|
2158
2139
|
var _this;
|
|
2159
2140
|
_classCallCheck(this, BaseEditorComponent);
|
|
2160
|
-
_this =
|
|
2141
|
+
_this = _callSuper(this, BaseEditorComponent, arguments);
|
|
2161
2142
|
_this.name = 'BaseEditorComponent';
|
|
2162
2143
|
_this.instance = null;
|
|
2163
2144
|
_this.row = null;
|
|
@@ -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: 0.0.0-next-
|
|
28
|
+
* Version: 0.0.0-next-317e00f-20240111 (built at Thu Jan 11 2024 09:04:57 GMT+0000 (Coordinated Universal Time))
|
|
29
29
|
*/
|
|
30
30
|
(function (global, factory) {
|
|
31
31
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react'), require('react-dom'), require('handsontable/base')) :
|
|
@@ -39,6 +39,17 @@ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
|
39
39
|
var ReactDOM__default = /*#__PURE__*/_interopDefaultLegacy(ReactDOM);
|
|
40
40
|
var Handsontable__default = /*#__PURE__*/_interopDefaultLegacy(Handsontable);
|
|
41
41
|
|
|
42
|
+
function _callSuper(t, o, e) {
|
|
43
|
+
return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e));
|
|
44
|
+
}
|
|
45
|
+
function _isNativeReflectConstruct() {
|
|
46
|
+
try {
|
|
47
|
+
var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
48
|
+
} catch (t) {}
|
|
49
|
+
return (_isNativeReflectConstruct = function () {
|
|
50
|
+
return !!t;
|
|
51
|
+
})();
|
|
52
|
+
}
|
|
42
53
|
function ownKeys(e, r) {
|
|
43
54
|
var t = Object.keys(e);
|
|
44
55
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -148,17 +159,6 @@ function _setPrototypeOf(o, p) {
|
|
|
148
159
|
};
|
|
149
160
|
return _setPrototypeOf(o, p);
|
|
150
161
|
}
|
|
151
|
-
function _isNativeReflectConstruct() {
|
|
152
|
-
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
153
|
-
if (Reflect.construct.sham) return false;
|
|
154
|
-
if (typeof Proxy === "function") return true;
|
|
155
|
-
try {
|
|
156
|
-
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
157
|
-
return true;
|
|
158
|
-
} catch (e) {
|
|
159
|
-
return false;
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
162
|
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
163
163
|
if (source == null) return {};
|
|
164
164
|
var target = {};
|
|
@@ -200,20 +200,6 @@ function _possibleConstructorReturn(self, call) {
|
|
|
200
200
|
}
|
|
201
201
|
return _assertThisInitialized(self);
|
|
202
202
|
}
|
|
203
|
-
function _createSuper(Derived) {
|
|
204
|
-
var hasNativeReflectConstruct = _isNativeReflectConstruct();
|
|
205
|
-
return function _createSuperInternal() {
|
|
206
|
-
var Super = _getPrototypeOf(Derived),
|
|
207
|
-
result;
|
|
208
|
-
if (hasNativeReflectConstruct) {
|
|
209
|
-
var NewTarget = _getPrototypeOf(this).constructor;
|
|
210
|
-
result = Reflect.construct(Super, arguments, NewTarget);
|
|
211
|
-
} else {
|
|
212
|
-
result = Super.apply(this, arguments);
|
|
213
|
-
}
|
|
214
|
-
return _possibleConstructorReturn(this, result);
|
|
215
|
-
};
|
|
216
|
-
}
|
|
217
203
|
function _toConsumableArray(arr) {
|
|
218
204
|
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
|
|
219
205
|
}
|
|
@@ -433,10 +419,9 @@ var SettingsMapper = /*#__PURE__*/function () {
|
|
|
433
419
|
|
|
434
420
|
var HotColumn = /*#__PURE__*/function (_React$Component) {
|
|
435
421
|
_inherits(HotColumn, _React$Component);
|
|
436
|
-
var _super = _createSuper(HotColumn);
|
|
437
422
|
function HotColumn() {
|
|
438
423
|
_classCallCheck(this, HotColumn);
|
|
439
|
-
return
|
|
424
|
+
return _callSuper(this, HotColumn, arguments);
|
|
440
425
|
}
|
|
441
426
|
_createClass(HotColumn, [{
|
|
442
427
|
key: "getSettingsProps",
|
|
@@ -535,11 +520,10 @@ var HotColumn = /*#__PURE__*/function (_React$Component) {
|
|
|
535
520
|
*/
|
|
536
521
|
var RenderersPortalManager = /*#__PURE__*/function (_React$Component) {
|
|
537
522
|
_inherits(RenderersPortalManager, _React$Component);
|
|
538
|
-
var _super = _createSuper(RenderersPortalManager);
|
|
539
523
|
function RenderersPortalManager() {
|
|
540
524
|
var _this;
|
|
541
525
|
_classCallCheck(this, RenderersPortalManager);
|
|
542
|
-
_this =
|
|
526
|
+
_this = _callSuper(this, RenderersPortalManager, arguments);
|
|
543
527
|
_this.state = {
|
|
544
528
|
portals: []
|
|
545
529
|
};
|
|
@@ -554,7 +538,7 @@ var RenderersPortalManager = /*#__PURE__*/function (_React$Component) {
|
|
|
554
538
|
return RenderersPortalManager;
|
|
555
539
|
}(React__default["default"].Component);
|
|
556
540
|
|
|
557
|
-
var version="0.0.0-next-
|
|
541
|
+
var version="0.0.0-next-317e00f-20240111";
|
|
558
542
|
|
|
559
543
|
function createCommonjsModule(fn, module) {
|
|
560
544
|
return module = { exports: {} }, fn(module, module.exports), module.exports;
|
|
@@ -921,11 +905,10 @@ var PropTypes = propTypes;
|
|
|
921
905
|
*/
|
|
922
906
|
var HotTableClass = /*#__PURE__*/function (_React$Component) {
|
|
923
907
|
_inherits(HotTableClass, _React$Component);
|
|
924
|
-
var _super = _createSuper(HotTableClass);
|
|
925
908
|
function HotTableClass() {
|
|
926
909
|
var _this;
|
|
927
910
|
_classCallCheck(this, HotTableClass);
|
|
928
|
-
_this =
|
|
911
|
+
_this = _callSuper(this, HotTableClass, arguments);
|
|
929
912
|
/**
|
|
930
913
|
* The `id` of the main Handsontable DOM element.
|
|
931
914
|
*
|
|
@@ -1129,11 +1112,10 @@ var HotTableClass = /*#__PURE__*/function (_React$Component) {
|
|
|
1129
1112
|
value: function makeEditorClass(editorComponent) {
|
|
1130
1113
|
var customEditorClass = /*#__PURE__*/function (_Handsontable$editors) {
|
|
1131
1114
|
_inherits(CustomEditor, _Handsontable$editors);
|
|
1132
|
-
var _super2 = _createSuper(CustomEditor);
|
|
1133
1115
|
function CustomEditor(hotInstance) {
|
|
1134
1116
|
var _this2;
|
|
1135
1117
|
_classCallCheck(this, CustomEditor);
|
|
1136
|
-
_this2 =
|
|
1118
|
+
_this2 = _callSuper(this, CustomEditor, [hotInstance]);
|
|
1137
1119
|
editorComponent.hotCustomEditorInstance = _assertThisInitialized(_this2);
|
|
1138
1120
|
_this2.editorComponent = editorComponent;
|
|
1139
1121
|
return _this2;
|
|
@@ -1402,11 +1384,10 @@ HotTable.version = HotTableClass.version;
|
|
|
1402
1384
|
|
|
1403
1385
|
var BaseEditorComponent = /*#__PURE__*/function (_React$Component) {
|
|
1404
1386
|
_inherits(BaseEditorComponent, _React$Component);
|
|
1405
|
-
var _super = _createSuper(BaseEditorComponent);
|
|
1406
1387
|
function BaseEditorComponent() {
|
|
1407
1388
|
var _this;
|
|
1408
1389
|
_classCallCheck(this, BaseEditorComponent);
|
|
1409
|
-
_this =
|
|
1390
|
+
_this = _callSuper(this, BaseEditorComponent, arguments);
|
|
1410
1391
|
_this.name = 'BaseEditorComponent';
|
|
1411
1392
|
_this.instance = null;
|
|
1412
1393
|
_this.row = null;
|