1 | import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
2 | import _inherits from "@babel/runtime/helpers/inherits";
|
3 | import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
|
4 | import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
|
5 |
|
6 | function _createSuper(Derived) {
|
7 | function isNativeReflectConstruct() {
|
8 | if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
9 | if (Reflect.construct.sham) return false;
|
10 | if (typeof Proxy === "function") return true;
|
11 |
|
12 | try {
|
13 | Date.prototype.toString.call(Reflect.construct(Date, [], function () {}));
|
14 | return true;
|
15 | } catch (e) {
|
16 | return false;
|
17 | }
|
18 | }
|
19 |
|
20 | return function () {
|
21 | var Super = _getPrototypeOf(Derived),
|
22 | result;
|
23 |
|
24 | if (isNativeReflectConstruct()) {
|
25 | var NewTarget = _getPrototypeOf(this).constructor;
|
26 |
|
27 | result = Reflect.construct(Super, arguments, NewTarget);
|
28 | } else {
|
29 | result = Super.apply(this, arguments);
|
30 | }
|
31 |
|
32 | return _possibleConstructorReturn(this, result);
|
33 | };
|
34 | }
|
35 |
|
36 | import { Component } from 'react';
|
37 |
|
38 | var ColumnGroup =
|
39 |
|
40 | function (_Component) {
|
41 | _inherits(ColumnGroup, _Component);
|
42 |
|
43 | var _super = _createSuper(ColumnGroup);
|
44 |
|
45 | function ColumnGroup() {
|
46 | _classCallCheck(this, ColumnGroup);
|
47 |
|
48 | return _super.apply(this, arguments);
|
49 | }
|
50 |
|
51 | return ColumnGroup;
|
52 | }(Component);
|
53 |
|
54 | export { ColumnGroup as default };
|
55 | ColumnGroup.__C7N_TABLE_COLUMN_GROUP = true;
|
56 |
|