@byteluck-fe/model-driven-core 2.7.0-alpha.21 → 2.7.0-alpha.25

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,15 +1,15 @@
1
- function _assert_this_initialized(self) {
1
+ function _assertThisInitialized(self) {
2
2
  if (self === void 0) {
3
3
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
4
4
  }
5
5
  return self;
6
6
  }
7
- function _class_call_check(instance, Constructor) {
7
+ function _classCallCheck(instance, Constructor) {
8
8
  if (!(instance instanceof Constructor)) {
9
9
  throw new TypeError("Cannot call a class as a function");
10
10
  }
11
11
  }
12
- function _define_property(obj, key, value) {
12
+ function _defineProperty(obj, key, value) {
13
13
  if (key in obj) {
14
14
  Object.defineProperty(obj, key, {
15
15
  value: value,
@@ -22,11 +22,11 @@ function _define_property(obj, key, value) {
22
22
  }
23
23
  return obj;
24
24
  }
25
- function _get_prototype_of(o) {
26
- _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
25
+ function _getPrototypeOf(o) {
26
+ _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
27
27
  return o.__proto__ || Object.getPrototypeOf(o);
28
28
  };
29
- return _get_prototype_of(o);
29
+ return _getPrototypeOf(o);
30
30
  }
31
31
  function _inherits(subClass, superClass) {
32
32
  if (typeof superClass !== "function" && superClass !== null) {
@@ -39,26 +39,26 @@ function _inherits(subClass, superClass) {
39
39
  configurable: true
40
40
  }
41
41
  });
42
- if (superClass) _set_prototype_of(subClass, superClass);
42
+ if (superClass) _setPrototypeOf(subClass, superClass);
43
43
  }
44
- function _possible_constructor_return(self, call) {
45
- if (call && (_type_of(call) === "object" || typeof call === "function")) {
44
+ function _possibleConstructorReturn(self, call) {
45
+ if (call && (_typeof(call) === "object" || typeof call === "function")) {
46
46
  return call;
47
47
  }
48
- return _assert_this_initialized(self);
48
+ return _assertThisInitialized(self);
49
49
  }
50
- function _set_prototype_of(o, p) {
51
- _set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
50
+ function _setPrototypeOf(o, p) {
51
+ _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
52
52
  o.__proto__ = p;
53
53
  return o;
54
54
  };
55
- return _set_prototype_of(o, p);
55
+ return _setPrototypeOf(o, p);
56
56
  }
57
- function _type_of(obj) {
57
+ var _typeof = function(obj) {
58
58
  "@swc/helpers - typeof";
59
59
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
60
- }
61
- function _is_native_reflect_construct() {
60
+ };
61
+ function _isNativeReflectConstruct() {
62
62
  if (typeof Reflect === "undefined" || !Reflect.construct) return false;
63
63
  if (Reflect.construct.sham) return false;
64
64
  if (typeof Proxy === "function") return true;
@@ -69,17 +69,17 @@ function _is_native_reflect_construct() {
69
69
  return false;
70
70
  }
71
71
  }
72
- function _create_super(Derived) {
73
- var hasNativeReflectConstruct = _is_native_reflect_construct();
72
+ function _createSuper(Derived) {
73
+ var hasNativeReflectConstruct = _isNativeReflectConstruct();
74
74
  return function _createSuperInternal() {
75
- var Super = _get_prototype_of(Derived), result;
75
+ var Super = _getPrototypeOf(Derived), result;
76
76
  if (hasNativeReflectConstruct) {
77
- var NewTarget = _get_prototype_of(this).constructor;
77
+ var NewTarget = _getPrototypeOf(this).constructor;
78
78
  result = Reflect.construct(Super, arguments, NewTarget);
79
79
  } else {
80
80
  result = Super.apply(this, arguments);
81
81
  }
82
- return _possible_constructor_return(this, result);
82
+ return _possibleConstructorReturn(this, result);
83
83
  };
84
84
  }
85
85
  import { LayoutControlProperty } from "../LayoutControl";
@@ -87,14 +87,13 @@ import { DataBind } from "../../framework";
87
87
  var SearchControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
88
88
  "use strict";
89
89
  _inherits(SearchControlProperty, LayoutControlProperty);
90
- var _super = _create_super(SearchControlProperty);
90
+ var _super = _createSuper(SearchControlProperty);
91
91
  function SearchControlProperty(props) {
92
- _class_call_check(this, SearchControlProperty);
92
+ _classCallCheck(this, SearchControlProperty);
93
93
  var _this;
94
- var _props;
95
94
  _this = _super.call(this, props);
96
- _define_property(_assert_this_initialized(_this), "dataBind", void 0);
97
- _this.dataBind = new DataBind((_props = props) === null || _props === void 0 ? void 0 : _props.dataBind);
95
+ _defineProperty(_assertThisInitialized(_this), "dataBind", void 0);
96
+ _this.dataBind = new DataBind(props === null || props === void 0 ? void 0 : props.dataBind);
98
97
  return _this;
99
98
  }
100
99
  return SearchControlProperty;
@@ -1,15 +1,15 @@
1
- function _assert_this_initialized(self) {
1
+ function _assertThisInitialized(self) {
2
2
  if (self === void 0) {
3
3
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
4
4
  }
5
5
  return self;
6
6
  }
7
- function _class_call_check(instance, Constructor) {
7
+ function _classCallCheck(instance, Constructor) {
8
8
  if (!(instance instanceof Constructor)) {
9
9
  throw new TypeError("Cannot call a class as a function");
10
10
  }
11
11
  }
12
- function _define_property(obj, key, value) {
12
+ function _defineProperty(obj, key, value) {
13
13
  if (key in obj) {
14
14
  Object.defineProperty(obj, key, {
15
15
  value: value,
@@ -22,11 +22,11 @@ function _define_property(obj, key, value) {
22
22
  }
23
23
  return obj;
24
24
  }
25
- function _get_prototype_of(o) {
26
- _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
25
+ function _getPrototypeOf(o) {
26
+ _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
27
27
  return o.__proto__ || Object.getPrototypeOf(o);
28
28
  };
29
- return _get_prototype_of(o);
29
+ return _getPrototypeOf(o);
30
30
  }
31
31
  function _inherits(subClass, superClass) {
32
32
  if (typeof superClass !== "function" && superClass !== null) {
@@ -39,26 +39,26 @@ function _inherits(subClass, superClass) {
39
39
  configurable: true
40
40
  }
41
41
  });
42
- if (superClass) _set_prototype_of(subClass, superClass);
42
+ if (superClass) _setPrototypeOf(subClass, superClass);
43
43
  }
44
- function _possible_constructor_return(self, call) {
45
- if (call && (_type_of(call) === "object" || typeof call === "function")) {
44
+ function _possibleConstructorReturn(self, call) {
45
+ if (call && (_typeof(call) === "object" || typeof call === "function")) {
46
46
  return call;
47
47
  }
48
- return _assert_this_initialized(self);
48
+ return _assertThisInitialized(self);
49
49
  }
50
- function _set_prototype_of(o, p) {
51
- _set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
50
+ function _setPrototypeOf(o, p) {
51
+ _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
52
52
  o.__proto__ = p;
53
53
  return o;
54
54
  };
55
- return _set_prototype_of(o, p);
55
+ return _setPrototypeOf(o, p);
56
56
  }
57
- function _type_of(obj) {
57
+ var _typeof = function(obj) {
58
58
  "@swc/helpers - typeof";
59
59
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
60
- }
61
- function _is_native_reflect_construct() {
60
+ };
61
+ function _isNativeReflectConstruct() {
62
62
  if (typeof Reflect === "undefined" || !Reflect.construct) return false;
63
63
  if (Reflect.construct.sham) return false;
64
64
  if (typeof Proxy === "function") return true;
@@ -69,17 +69,17 @@ function _is_native_reflect_construct() {
69
69
  return false;
70
70
  }
71
71
  }
72
- function _create_super(Derived) {
73
- var hasNativeReflectConstruct = _is_native_reflect_construct();
72
+ function _createSuper(Derived) {
73
+ var hasNativeReflectConstruct = _isNativeReflectConstruct();
74
74
  return function _createSuperInternal() {
75
- var Super = _get_prototype_of(Derived), result;
75
+ var Super = _getPrototypeOf(Derived), result;
76
76
  if (hasNativeReflectConstruct) {
77
- var NewTarget = _get_prototype_of(this).constructor;
77
+ var NewTarget = _getPrototypeOf(this).constructor;
78
78
  result = Reflect.construct(Super, arguments, NewTarget);
79
79
  } else {
80
80
  result = Super.apply(this, arguments);
81
81
  }
82
- return _possible_constructor_return(this, result);
82
+ return _possibleConstructorReturn(this, result);
83
83
  };
84
84
  }
85
85
  import SearchControlProperty from "./property";
@@ -87,15 +87,14 @@ import { RuntimeLayoutControl } from "../LayoutControl";
87
87
  var SearchControl = /*#__PURE__*/ function(RuntimeLayoutControl) {
88
88
  "use strict";
89
89
  _inherits(SearchControl, RuntimeLayoutControl);
90
- var _super = _create_super(SearchControl);
90
+ var _super = _createSuper(SearchControl);
91
91
  function SearchControl(props) {
92
- _class_call_check(this, SearchControl);
92
+ _classCallCheck(this, SearchControl);
93
93
  var _this;
94
- var _props;
95
94
  _this = _super.call(this, props);
96
- _define_property(_assert_this_initialized(_this), "controlType", "search");
97
- _define_property(_assert_this_initialized(_this), "props", void 0);
98
- _this.props = new SearchControlProperty((_props = props) === null || _props === void 0 ? void 0 : _props.props);
95
+ _defineProperty(_assertThisInitialized(_this), "controlType", "search");
96
+ _defineProperty(_assertThisInitialized(_this), "props", void 0);
97
+ _this.props = new SearchControlProperty(props === null || props === void 0 ? void 0 : props.props);
99
98
  return _this;
100
99
  }
101
100
  return SearchControl;
@@ -1,15 +1,15 @@
1
- function _assert_this_initialized(self) {
1
+ function _assertThisInitialized(self) {
2
2
  if (self === void 0) {
3
3
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
4
4
  }
5
5
  return self;
6
6
  }
7
- function _class_call_check(instance, Constructor) {
7
+ function _classCallCheck(instance, Constructor) {
8
8
  if (!(instance instanceof Constructor)) {
9
9
  throw new TypeError("Cannot call a class as a function");
10
10
  }
11
11
  }
12
- function _define_property(obj, key, value) {
12
+ function _defineProperty(obj, key, value) {
13
13
  if (key in obj) {
14
14
  Object.defineProperty(obj, key, {
15
15
  value: value,
@@ -22,11 +22,11 @@ function _define_property(obj, key, value) {
22
22
  }
23
23
  return obj;
24
24
  }
25
- function _get_prototype_of(o) {
26
- _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
25
+ function _getPrototypeOf(o) {
26
+ _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
27
27
  return o.__proto__ || Object.getPrototypeOf(o);
28
28
  };
29
- return _get_prototype_of(o);
29
+ return _getPrototypeOf(o);
30
30
  }
31
31
  function _inherits(subClass, superClass) {
32
32
  if (typeof superClass !== "function" && superClass !== null) {
@@ -39,26 +39,26 @@ function _inherits(subClass, superClass) {
39
39
  configurable: true
40
40
  }
41
41
  });
42
- if (superClass) _set_prototype_of(subClass, superClass);
42
+ if (superClass) _setPrototypeOf(subClass, superClass);
43
43
  }
44
- function _possible_constructor_return(self, call) {
45
- if (call && (_type_of(call) === "object" || typeof call === "function")) {
44
+ function _possibleConstructorReturn(self, call) {
45
+ if (call && (_typeof(call) === "object" || typeof call === "function")) {
46
46
  return call;
47
47
  }
48
- return _assert_this_initialized(self);
48
+ return _assertThisInitialized(self);
49
49
  }
50
- function _set_prototype_of(o, p) {
51
- _set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
50
+ function _setPrototypeOf(o, p) {
51
+ _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
52
52
  o.__proto__ = p;
53
53
  return o;
54
54
  };
55
- return _set_prototype_of(o, p);
55
+ return _setPrototypeOf(o, p);
56
56
  }
57
- function _type_of(obj) {
57
+ var _typeof = function(obj) {
58
58
  "@swc/helpers - typeof";
59
59
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
60
- }
61
- function _is_native_reflect_construct() {
60
+ };
61
+ function _isNativeReflectConstruct() {
62
62
  if (typeof Reflect === "undefined" || !Reflect.construct) return false;
63
63
  if (Reflect.construct.sham) return false;
64
64
  if (typeof Proxy === "function") return true;
@@ -69,17 +69,17 @@ function _is_native_reflect_construct() {
69
69
  return false;
70
70
  }
71
71
  }
72
- function _create_super(Derived) {
73
- var hasNativeReflectConstruct = _is_native_reflect_construct();
72
+ function _createSuper(Derived) {
73
+ var hasNativeReflectConstruct = _isNativeReflectConstruct();
74
74
  return function _createSuperInternal() {
75
- var Super = _get_prototype_of(Derived), result;
75
+ var Super = _getPrototypeOf(Derived), result;
76
76
  if (hasNativeReflectConstruct) {
77
- var NewTarget = _get_prototype_of(this).constructor;
77
+ var NewTarget = _getPrototypeOf(this).constructor;
78
78
  result = Reflect.construct(Super, arguments, NewTarget);
79
79
  } else {
80
80
  result = Super.apply(this, arguments);
81
81
  }
82
- return _possible_constructor_return(this, result);
82
+ return _possibleConstructorReturn(this, result);
83
83
  };
84
84
  }
85
85
  import WrapControlProperty from "./property";
@@ -87,15 +87,14 @@ import { DesignerLayoutControl } from "../LayoutControl";
87
87
  var WrapControl = /*#__PURE__*/ function(DesignerLayoutControl) {
88
88
  "use strict";
89
89
  _inherits(WrapControl, DesignerLayoutControl);
90
- var _super = _create_super(WrapControl);
90
+ var _super = _createSuper(WrapControl);
91
91
  function WrapControl(props) {
92
- _class_call_check(this, WrapControl);
92
+ _classCallCheck(this, WrapControl);
93
93
  var _this;
94
- var _props;
95
94
  _this = _super.call(this, props);
96
- _define_property(_assert_this_initialized(_this), "controlType", "wrap");
97
- _define_property(_assert_this_initialized(_this), "props", void 0);
98
- _this.props = new WrapControlProperty((_props = props) === null || _props === void 0 ? void 0 : _props.props);
95
+ _defineProperty(_assertThisInitialized(_this), "controlType", "wrap");
96
+ _defineProperty(_assertThisInitialized(_this), "props", void 0);
97
+ _this.props = new WrapControlProperty(props === null || props === void 0 ? void 0 : props.props);
99
98
  return _this;
100
99
  }
101
100
  return WrapControl;
@@ -1,19 +1,19 @@
1
- function _assert_this_initialized(self) {
1
+ function _assertThisInitialized(self) {
2
2
  if (self === void 0) {
3
3
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
4
4
  }
5
5
  return self;
6
6
  }
7
- function _class_call_check(instance, Constructor) {
7
+ function _classCallCheck(instance, Constructor) {
8
8
  if (!(instance instanceof Constructor)) {
9
9
  throw new TypeError("Cannot call a class as a function");
10
10
  }
11
11
  }
12
- function _get_prototype_of(o) {
13
- _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
12
+ function _getPrototypeOf(o) {
13
+ _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
14
14
  return o.__proto__ || Object.getPrototypeOf(o);
15
15
  };
16
- return _get_prototype_of(o);
16
+ return _getPrototypeOf(o);
17
17
  }
18
18
  function _inherits(subClass, superClass) {
19
19
  if (typeof superClass !== "function" && superClass !== null) {
@@ -26,26 +26,26 @@ function _inherits(subClass, superClass) {
26
26
  configurable: true
27
27
  }
28
28
  });
29
- if (superClass) _set_prototype_of(subClass, superClass);
29
+ if (superClass) _setPrototypeOf(subClass, superClass);
30
30
  }
31
- function _possible_constructor_return(self, call) {
32
- if (call && (_type_of(call) === "object" || typeof call === "function")) {
31
+ function _possibleConstructorReturn(self, call) {
32
+ if (call && (_typeof(call) === "object" || typeof call === "function")) {
33
33
  return call;
34
34
  }
35
- return _assert_this_initialized(self);
35
+ return _assertThisInitialized(self);
36
36
  }
37
- function _set_prototype_of(o, p) {
38
- _set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
37
+ function _setPrototypeOf(o, p) {
38
+ _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
39
39
  o.__proto__ = p;
40
40
  return o;
41
41
  };
42
- return _set_prototype_of(o, p);
42
+ return _setPrototypeOf(o, p);
43
43
  }
44
- function _type_of(obj) {
44
+ var _typeof = function(obj) {
45
45
  "@swc/helpers - typeof";
46
46
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
47
- }
48
- function _is_native_reflect_construct() {
47
+ };
48
+ function _isNativeReflectConstruct() {
49
49
  if (typeof Reflect === "undefined" || !Reflect.construct) return false;
50
50
  if (Reflect.construct.sham) return false;
51
51
  if (typeof Proxy === "function") return true;
@@ -56,26 +56,26 @@ function _is_native_reflect_construct() {
56
56
  return false;
57
57
  }
58
58
  }
59
- function _create_super(Derived) {
60
- var hasNativeReflectConstruct = _is_native_reflect_construct();
59
+ function _createSuper(Derived) {
60
+ var hasNativeReflectConstruct = _isNativeReflectConstruct();
61
61
  return function _createSuperInternal() {
62
- var Super = _get_prototype_of(Derived), result;
62
+ var Super = _getPrototypeOf(Derived), result;
63
63
  if (hasNativeReflectConstruct) {
64
- var NewTarget = _get_prototype_of(this).constructor;
64
+ var NewTarget = _getPrototypeOf(this).constructor;
65
65
  result = Reflect.construct(Super, arguments, NewTarget);
66
66
  } else {
67
67
  result = Super.apply(this, arguments);
68
68
  }
69
- return _possible_constructor_return(this, result);
69
+ return _possibleConstructorReturn(this, result);
70
70
  };
71
71
  }
72
72
  import { LayoutControlProperty } from "../LayoutControl";
73
73
  var WrapControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
74
74
  "use strict";
75
75
  _inherits(WrapControlProperty, LayoutControlProperty);
76
- var _super = _create_super(WrapControlProperty);
76
+ var _super = _createSuper(WrapControlProperty);
77
77
  function WrapControlProperty(props) {
78
- _class_call_check(this, WrapControlProperty);
78
+ _classCallCheck(this, WrapControlProperty);
79
79
  return _super.call(this, props);
80
80
  }
81
81
  return WrapControlProperty;
@@ -1,15 +1,15 @@
1
- function _assert_this_initialized(self) {
1
+ function _assertThisInitialized(self) {
2
2
  if (self === void 0) {
3
3
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
4
4
  }
5
5
  return self;
6
6
  }
7
- function _class_call_check(instance, Constructor) {
7
+ function _classCallCheck(instance, Constructor) {
8
8
  if (!(instance instanceof Constructor)) {
9
9
  throw new TypeError("Cannot call a class as a function");
10
10
  }
11
11
  }
12
- function _define_property(obj, key, value) {
12
+ function _defineProperty(obj, key, value) {
13
13
  if (key in obj) {
14
14
  Object.defineProperty(obj, key, {
15
15
  value: value,
@@ -22,11 +22,11 @@ function _define_property(obj, key, value) {
22
22
  }
23
23
  return obj;
24
24
  }
25
- function _get_prototype_of(o) {
26
- _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
25
+ function _getPrototypeOf(o) {
26
+ _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
27
27
  return o.__proto__ || Object.getPrototypeOf(o);
28
28
  };
29
- return _get_prototype_of(o);
29
+ return _getPrototypeOf(o);
30
30
  }
31
31
  function _inherits(subClass, superClass) {
32
32
  if (typeof superClass !== "function" && superClass !== null) {
@@ -39,26 +39,26 @@ function _inherits(subClass, superClass) {
39
39
  configurable: true
40
40
  }
41
41
  });
42
- if (superClass) _set_prototype_of(subClass, superClass);
42
+ if (superClass) _setPrototypeOf(subClass, superClass);
43
43
  }
44
- function _possible_constructor_return(self, call) {
45
- if (call && (_type_of(call) === "object" || typeof call === "function")) {
44
+ function _possibleConstructorReturn(self, call) {
45
+ if (call && (_typeof(call) === "object" || typeof call === "function")) {
46
46
  return call;
47
47
  }
48
- return _assert_this_initialized(self);
48
+ return _assertThisInitialized(self);
49
49
  }
50
- function _set_prototype_of(o, p) {
51
- _set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
50
+ function _setPrototypeOf(o, p) {
51
+ _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
52
52
  o.__proto__ = p;
53
53
  return o;
54
54
  };
55
- return _set_prototype_of(o, p);
55
+ return _setPrototypeOf(o, p);
56
56
  }
57
- function _type_of(obj) {
57
+ var _typeof = function(obj) {
58
58
  "@swc/helpers - typeof";
59
59
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
60
- }
61
- function _is_native_reflect_construct() {
60
+ };
61
+ function _isNativeReflectConstruct() {
62
62
  if (typeof Reflect === "undefined" || !Reflect.construct) return false;
63
63
  if (Reflect.construct.sham) return false;
64
64
  if (typeof Proxy === "function") return true;
@@ -69,17 +69,17 @@ function _is_native_reflect_construct() {
69
69
  return false;
70
70
  }
71
71
  }
72
- function _create_super(Derived) {
73
- var hasNativeReflectConstruct = _is_native_reflect_construct();
72
+ function _createSuper(Derived) {
73
+ var hasNativeReflectConstruct = _isNativeReflectConstruct();
74
74
  return function _createSuperInternal() {
75
- var Super = _get_prototype_of(Derived), result;
75
+ var Super = _getPrototypeOf(Derived), result;
76
76
  if (hasNativeReflectConstruct) {
77
- var NewTarget = _get_prototype_of(this).constructor;
77
+ var NewTarget = _getPrototypeOf(this).constructor;
78
78
  result = Reflect.construct(Super, arguments, NewTarget);
79
79
  } else {
80
80
  result = Super.apply(this, arguments);
81
81
  }
82
- return _possible_constructor_return(this, result);
82
+ return _possibleConstructorReturn(this, result);
83
83
  };
84
84
  }
85
85
  import WrapControlProperty from "./property";
@@ -87,15 +87,14 @@ import { RuntimeLayoutControl } from "../LayoutControl";
87
87
  var WrapControl = /*#__PURE__*/ function(RuntimeLayoutControl) {
88
88
  "use strict";
89
89
  _inherits(WrapControl, RuntimeLayoutControl);
90
- var _super = _create_super(WrapControl);
90
+ var _super = _createSuper(WrapControl);
91
91
  function WrapControl(props) {
92
- _class_call_check(this, WrapControl);
92
+ _classCallCheck(this, WrapControl);
93
93
  var _this;
94
- var _props;
95
94
  _this = _super.call(this, props);
96
- _define_property(_assert_this_initialized(_this), "controlType", "wrap");
97
- _define_property(_assert_this_initialized(_this), "props", void 0);
98
- _this.props = new WrapControlProperty((_props = props) === null || _props === void 0 ? void 0 : _props.props);
95
+ _defineProperty(_assertThisInitialized(_this), "controlType", "wrap");
96
+ _defineProperty(_assertThisInitialized(_this), "props", void 0);
97
+ _this.props = new WrapControlProperty(props === null || props === void 0 ? void 0 : props.props);
99
98
  return _this;
100
99
  }
101
100
  return WrapControl;
@@ -1,4 +1,4 @@
1
- function _class_call_check(instance, Constructor) {
1
+ function _classCallCheck(instance, Constructor) {
2
2
  if (!(instance instanceof Constructor)) {
3
3
  throw new TypeError("Cannot call a class as a function");
4
4
  }
@@ -12,12 +12,12 @@ function _defineProperties(target, props) {
12
12
  Object.defineProperty(target, descriptor.key, descriptor);
13
13
  }
14
14
  }
15
- function _create_class(Constructor, protoProps, staticProps) {
15
+ function _createClass(Constructor, protoProps, staticProps) {
16
16
  if (protoProps) _defineProperties(Constructor.prototype, protoProps);
17
17
  if (staticProps) _defineProperties(Constructor, staticProps);
18
18
  return Constructor;
19
19
  }
20
- function _define_property(obj, key, value) {
20
+ function _defineProperty(obj, key, value) {
21
21
  if (key in obj) {
22
22
  Object.defineProperty(obj, key, {
23
23
  value: value,
@@ -35,15 +35,15 @@ var baseStaticControls = [];
35
35
  export var RegisterControls = /*#__PURE__*/ function() {
36
36
  "use strict";
37
37
  function RegisterControls(type) {
38
- _class_call_check(this, RegisterControls);
39
- _define_property(this, "registeredControlTypes", new Set());
40
- _define_property(this, "controlConfigMap", new Map());
41
- _define_property(this, "_controls", []);
42
- _define_property(this, "_type", void 0);
38
+ _classCallCheck(this, RegisterControls);
39
+ _defineProperty(this, "registeredControlTypes", new Set());
40
+ _defineProperty(this, "controlConfigMap", new Map());
41
+ _defineProperty(this, "_controls", []);
42
+ _defineProperty(this, "_type", void 0);
43
43
  this._type = type;
44
44
  this._initControls(type);
45
45
  }
46
- _create_class(RegisterControls, [
46
+ _createClass(RegisterControls, [
47
47
  {
48
48
  key: "registerControlConfig",
49
49
  value: function registerControlConfig(type, config) {
@@ -227,8 +227,8 @@ export var RegisterControls = /*#__PURE__*/ function() {
227
227
  ]);
228
228
  return RegisterControls;
229
229
  }();
230
- _define_property(RegisterControls, "staticControls", baseStaticControls);
231
- _define_property(RegisterControls, "staticRegisteredTypes", new Set(baseStaticControls.map(function(item) {
230
+ _defineProperty(RegisterControls, "staticControls", baseStaticControls);
231
+ _defineProperty(RegisterControls, "staticRegisteredTypes", new Set(baseStaticControls.map(function(item) {
232
232
  return item.Designer.controlType;
233
233
  })));
234
- _define_property(RegisterControls, "staticRegisteredConfigs", new Map());
234
+ _defineProperty(RegisterControls, "staticRegisteredConfigs", new Map());