@byteluck-fe/model-driven-core 2.7.0-alpha.4 → 2.7.0-beta

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.
Files changed (29) hide show
  1. package/dist/esm/common/BaseControl/designer.js +65 -91
  2. package/dist/esm/common/BaseControl/property.js +47 -57
  3. package/dist/esm/common/BaseControl/runtime.js +24 -23
  4. package/dist/esm/common/ColumnControl/designer.js +27 -26
  5. package/dist/esm/common/ColumnControl/property.js +55 -54
  6. package/dist/esm/common/ColumnControl/runtime.js +27 -26
  7. package/dist/esm/common/ControlArray.js +12 -12
  8. package/dist/esm/common/FormControl/designer.js +29 -28
  9. package/dist/esm/common/FormControl/property.js +65 -64
  10. package/dist/esm/common/FormControl/runtime.js +28 -27
  11. package/dist/esm/common/LayoutControl/designer.js +63 -62
  12. package/dist/esm/common/LayoutControl/property.js +22 -22
  13. package/dist/esm/common/LayoutControl/runtime.js +29 -28
  14. package/dist/esm/common/ListControl/designer.js +59 -58
  15. package/dist/esm/common/ListControl/property.js +26 -25
  16. package/dist/esm/common/ListControl/runtime.js +31 -30
  17. package/dist/esm/common/SearchViewControl/designer.js +27 -26
  18. package/dist/esm/common/SearchViewControl/property.js +26 -25
  19. package/dist/esm/common/SearchViewControl/runtime.js +27 -26
  20. package/dist/esm/common/WrapControl/designer.js +27 -26
  21. package/dist/esm/common/WrapControl/property.js +22 -22
  22. package/dist/esm/common/WrapControl/runtime.js +27 -26
  23. package/dist/esm/framework/RegisterControls.js +12 -12
  24. package/dist/esm/framework/index.js +418 -414
  25. package/dist/index.umd.js +1 -1
  26. package/dist/types/common/BaseControl/designer.d.ts +0 -4
  27. package/dist/types/framework/index.d.ts +3 -31
  28. package/dist/types/type.d.ts +1 -1
  29. package/package.json +3 -3
@@ -1,15 +1,15 @@
1
- function _assertThisInitialized(self) {
1
+ function _assert_this_initialized(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 _classCallCheck(instance, Constructor) {
7
+ function _class_call_check(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 _defineProperty(obj, key, value) {
12
+ function _define_property(obj, key, value) {
13
13
  if (key in obj) {
14
14
  Object.defineProperty(obj, key, {
15
15
  value: value,
@@ -22,11 +22,11 @@ function _defineProperty(obj, key, value) {
22
22
  }
23
23
  return obj;
24
24
  }
25
- function _getPrototypeOf(o) {
26
- _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
25
+ function _get_prototype_of(o) {
26
+ _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
27
27
  return o.__proto__ || Object.getPrototypeOf(o);
28
28
  };
29
- return _getPrototypeOf(o);
29
+ return _get_prototype_of(o);
30
30
  }
31
31
  function _inherits(subClass, superClass) {
32
32
  if (typeof superClass !== "function" && superClass !== null) {
@@ -39,7 +39,7 @@ function _inherits(subClass, superClass) {
39
39
  configurable: true
40
40
  }
41
41
  });
42
- if (superClass) _setPrototypeOf(subClass, superClass);
42
+ if (superClass) _set_prototype_of(subClass, superClass);
43
43
  }
44
44
  function _instanceof(left, right) {
45
45
  if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
@@ -48,24 +48,24 @@ function _instanceof(left, right) {
48
48
  return left instanceof right;
49
49
  }
50
50
  }
51
- function _possibleConstructorReturn(self, call) {
52
- if (call && (_typeof(call) === "object" || typeof call === "function")) {
51
+ function _possible_constructor_return(self, call) {
52
+ if (call && (_type_of(call) === "object" || typeof call === "function")) {
53
53
  return call;
54
54
  }
55
- return _assertThisInitialized(self);
55
+ return _assert_this_initialized(self);
56
56
  }
57
- function _setPrototypeOf(o, p) {
58
- _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
57
+ function _set_prototype_of(o, p) {
58
+ _set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
59
59
  o.__proto__ = p;
60
60
  return o;
61
61
  };
62
- return _setPrototypeOf(o, p);
62
+ return _set_prototype_of(o, p);
63
63
  }
64
- var _typeof = function(obj) {
64
+ function _type_of(obj) {
65
65
  "@swc/helpers - typeof";
66
66
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
67
- };
68
- function _isNativeReflectConstruct() {
67
+ }
68
+ function _is_native_reflect_construct() {
69
69
  if (typeof Reflect === "undefined" || !Reflect.construct) return false;
70
70
  if (Reflect.construct.sham) return false;
71
71
  if (typeof Proxy === "function") return true;
@@ -76,17 +76,17 @@ function _isNativeReflectConstruct() {
76
76
  return false;
77
77
  }
78
78
  }
79
- function _createSuper(Derived) {
80
- var hasNativeReflectConstruct = _isNativeReflectConstruct();
79
+ function _create_super(Derived) {
80
+ var hasNativeReflectConstruct = _is_native_reflect_construct();
81
81
  return function _createSuperInternal() {
82
- var Super = _getPrototypeOf(Derived), result;
82
+ var Super = _get_prototype_of(Derived), result;
83
83
  if (hasNativeReflectConstruct) {
84
- var NewTarget = _getPrototypeOf(this).constructor;
84
+ var NewTarget = _get_prototype_of(this).constructor;
85
85
  result = Reflect.construct(Super, arguments, NewTarget);
86
86
  } else {
87
87
  result = Super.apply(this, arguments);
88
88
  }
89
- return _possibleConstructorReturn(this, result);
89
+ return _possible_constructor_return(this, result);
90
90
  };
91
91
  }
92
92
  import { RulesMessage, JSONCopy } from "@byteluck-fe/model-driven-shared";
@@ -96,21 +96,21 @@ import { DataBind } from "../../framework";
96
96
  var BaseControlPropertyRules = /*#__PURE__*/ function(PropertyRules) {
97
97
  "use strict";
98
98
  _inherits(BaseControlPropertyRules, PropertyRules);
99
- var _super = _createSuper(BaseControlPropertyRules);
99
+ var _super = _create_super(BaseControlPropertyRules);
100
100
  function BaseControlPropertyRules(props) {
101
- _classCallCheck(this, BaseControlPropertyRules);
101
+ _class_call_check(this, BaseControlPropertyRules);
102
102
  var _this;
103
103
  _this = _super.call(this, props);
104
- _defineProperty(_assertThisInitialized(_this), "dataBind", {});
105
- _defineProperty(_assertThisInitialized(_this), "caption", {
104
+ _define_property(_assert_this_initialized(_this), "dataBind", {});
105
+ _define_property(_assert_this_initialized(_this), "caption", {
106
106
  type: "string",
107
107
  required: true,
108
108
  message: RulesMessage.getMessage("pleaseEnterCaption")
109
109
  });
110
- _defineProperty(_assertThisInitialized(_this), "isHideCaption", {
110
+ _define_property(_assert_this_initialized(_this), "isHideCaption", {
111
111
  type: "boolean"
112
112
  });
113
- _defineProperty(_assertThisInitialized(_this), "labelPosition", {
113
+ _define_property(_assert_this_initialized(_this), "labelPosition", {
114
114
  type: "enum",
115
115
  enum: [
116
116
  "top",
@@ -123,17 +123,17 @@ var BaseControlPropertyRules = /*#__PURE__*/ function(PropertyRules) {
123
123
  // type: 'string',
124
124
  // message: RulesMessage.getMessage('pleaseEnterPlaceholder'),
125
125
  // }
126
- _defineProperty(_assertThisInitialized(_this), "defaultState", {
126
+ _define_property(_assert_this_initialized(_this), "defaultState", {
127
127
  type: "enum",
128
128
  enum: [
129
129
  "default",
130
130
  "readonly"
131
131
  ]
132
132
  });
133
- _defineProperty(_assertThisInitialized(_this), "required", {
133
+ _define_property(_assert_this_initialized(_this), "required", {
134
134
  type: "boolean"
135
135
  });
136
- _defineProperty(_assertThisInitialized(_this), "captionTip", {
136
+ _define_property(_assert_this_initialized(_this), "captionTip", {
137
137
  type: "string",
138
138
  required: false,
139
139
  message: RulesMessage.getMessage("pleaseEnterCaptionTip")
@@ -185,9 +185,9 @@ var BaseControlPropertyRules = /*#__PURE__*/ function(PropertyRules) {
185
185
  var BaseControlPropertyRuntimeRules = /*#__PURE__*/ function(PropertyRuntimeRules) {
186
186
  "use strict";
187
187
  _inherits(BaseControlPropertyRuntimeRules, PropertyRuntimeRules);
188
- var _super = _createSuper(BaseControlPropertyRuntimeRules);
188
+ var _super = _create_super(BaseControlPropertyRuntimeRules);
189
189
  function BaseControlPropertyRuntimeRules(props) {
190
- _classCallCheck(this, BaseControlPropertyRuntimeRules);
190
+ _class_call_check(this, BaseControlPropertyRuntimeRules);
191
191
  var _this;
192
192
  _this = _super.call(this, props);
193
193
  _this.push({
@@ -207,100 +207,101 @@ var BaseControlPropertyRuntimeRules = /*#__PURE__*/ function(PropertyRuntimeRule
207
207
  */ var BaseControlProperty = /*#__PURE__*/ function(Property) {
208
208
  "use strict";
209
209
  _inherits(BaseControlProperty, Property);
210
- var _super = _createSuper(BaseControlProperty);
210
+ var _super = _create_super(BaseControlProperty);
211
211
  function BaseControlProperty(props) {
212
- _classCallCheck(this, BaseControlProperty);
212
+ _class_call_check(this, BaseControlProperty);
213
213
  var _this;
214
+ var _props, _props1, _props2, _props3, _props4, _props5, _props6, _props7, _props8, _props9, _props10;
214
215
  _this = _super.call(this, props);
215
216
  /**
216
217
  * 标题
217
218
  * @defaultValue ''
218
219
  * @public
219
- */ _defineProperty(_assertThisInitialized(_this), "caption", void 0);
220
+ */ _define_property(_assert_this_initialized(_this), "caption", void 0);
220
221
  /**
221
222
  * 隐藏标题
222
223
  * @defaultValue false
223
224
  * @public
224
- */ _defineProperty(_assertThisInitialized(_this), "isHideCaption", void 0);
225
+ */ _define_property(_assert_this_initialized(_this), "isHideCaption", void 0);
225
226
  /**
226
227
  * 显示气泡提示
227
228
  * @defaultValue false
228
229
  * @public
229
- */ _defineProperty(_assertThisInitialized(_this), "isShowCaptionTip", void 0);
230
+ */ _define_property(_assert_this_initialized(_this), "isShowCaptionTip", void 0);
230
231
  /**
231
232
  * 气泡提示语
232
233
  * @defaultValue ''
233
234
  * @public
234
- */ _defineProperty(_assertThisInitialized(_this), "captionTip", void 0);
235
+ */ _define_property(_assert_this_initialized(_this), "captionTip", void 0);
235
236
  /**
236
237
  * 标题布局
237
238
  * @defaultValue ''
238
239
  * @public
239
- */ _defineProperty(_assertThisInitialized(_this), "labelPosition", void 0);
240
+ */ _define_property(_assert_this_initialized(_this), "labelPosition", void 0);
240
241
  /**
241
242
  * 绑定数据项
242
243
  * @public
243
- */ _defineProperty(_assertThisInitialized(_this), "dataBind", void 0);
244
+ */ _define_property(_assert_this_initialized(_this), "dataBind", void 0);
244
245
  /**
245
246
  * 默认值
246
247
  * @public
247
- */ _defineProperty(_assertThisInitialized(_this), "defaultValue", void 0);
248
+ */ _define_property(_assert_this_initialized(_this), "defaultValue", void 0);
248
249
  /**
249
250
  * 提示文字
250
251
  * @defaultValue ''
251
252
  * @public
252
- */ _defineProperty(_assertThisInitialized(_this), "placeholder", void 0);
253
+ */ _define_property(_assert_this_initialized(_this), "placeholder", void 0);
253
254
  /**
254
255
  * 默认状态
255
256
  * @defaultValue 'default'
256
257
  * @public
257
- */ _defineProperty(_assertThisInitialized(_this), "defaultState", void 0);
258
+ */ _define_property(_assert_this_initialized(_this), "defaultState", void 0);
258
259
  /**
259
260
  * 必填
260
261
  * @defaultValue false
261
262
  * @public
262
- */ _defineProperty(_assertThisInitialized(_this), "required", void 0);
263
+ */ _define_property(_assert_this_initialized(_this), "required", void 0);
263
264
  /**
264
265
  * 必填提示文案
265
266
  * @defaultValue ''
266
- */ _defineProperty(_assertThisInitialized(_this), "requiredMessage", void 0);
267
+ */ _define_property(_assert_this_initialized(_this), "requiredMessage", void 0);
267
268
  var _props_caption;
268
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : "";
269
+ _this.caption = (_props_caption = (_props = props) === null || _props === void 0 ? void 0 : _props.caption) !== null && _props_caption !== void 0 ? _props_caption : "";
269
270
  var _props_isHideCaption;
270
- _this.isHideCaption = (_props_isHideCaption = props === null || props === void 0 ? void 0 : props.isHideCaption) !== null && _props_isHideCaption !== void 0 ? _props_isHideCaption : false;
271
+ _this.isHideCaption = (_props_isHideCaption = (_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.isHideCaption) !== null && _props_isHideCaption !== void 0 ? _props_isHideCaption : false;
271
272
  var _props_isShowCaptionTip;
272
- _this.isShowCaptionTip = (_props_isShowCaptionTip = props === null || props === void 0 ? void 0 : props.isShowCaptionTip) !== null && _props_isShowCaptionTip !== void 0 ? _props_isShowCaptionTip : false;
273
+ _this.isShowCaptionTip = (_props_isShowCaptionTip = (_props2 = props) === null || _props2 === void 0 ? void 0 : _props2.isShowCaptionTip) !== null && _props_isShowCaptionTip !== void 0 ? _props_isShowCaptionTip : false;
273
274
  var _props_captionTip;
274
- _this.captionTip = (_props_captionTip = props === null || props === void 0 ? void 0 : props.captionTip) !== null && _props_captionTip !== void 0 ? _props_captionTip : "";
275
+ _this.captionTip = (_props_captionTip = (_props3 = props) === null || _props3 === void 0 ? void 0 : _props3.captionTip) !== null && _props_captionTip !== void 0 ? _props_captionTip : "";
275
276
  var _props_defaultState;
276
- _this.defaultState = (_props_defaultState = props === null || props === void 0 ? void 0 : props.defaultState) !== null && _props_defaultState !== void 0 ? _props_defaultState : "default";
277
+ _this.defaultState = (_props_defaultState = (_props4 = props) === null || _props4 === void 0 ? void 0 : _props4.defaultState) !== null && _props_defaultState !== void 0 ? _props_defaultState : "default";
277
278
  var _props_labelPosition;
278
- _this.labelPosition = (_props_labelPosition = props === null || props === void 0 ? void 0 : props.labelPosition) !== null && _props_labelPosition !== void 0 ? _props_labelPosition : "top";
279
+ _this.labelPosition = (_props_labelPosition = (_props5 = props) === null || _props5 === void 0 ? void 0 : _props5.labelPosition) !== null && _props_labelPosition !== void 0 ? _props_labelPosition : "top";
279
280
  var _props_placeholder;
280
- _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "";
281
+ _this.placeholder = (_props_placeholder = (_props6 = props) === null || _props6 === void 0 ? void 0 : _props6.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "";
281
282
  var _props_required;
282
- _this.required = (_props_required = props === null || props === void 0 ? void 0 : props.required) !== null && _props_required !== void 0 ? _props_required : false;
283
+ _this.required = (_props_required = (_props7 = props) === null || _props7 === void 0 ? void 0 : _props7.required) !== null && _props_required !== void 0 ? _props_required : false;
283
284
  var _props_requiredMessage;
284
- _this.requiredMessage = (_props_requiredMessage = props === null || props === void 0 ? void 0 : props.requiredMessage) !== null && _props_requiredMessage !== void 0 ? _props_requiredMessage : "";
285
+ _this.requiredMessage = (_props_requiredMessage = (_props8 = props) === null || _props8 === void 0 ? void 0 : _props8.requiredMessage) !== null && _props_requiredMessage !== void 0 ? _props_requiredMessage : "";
285
286
  //form 组件优先初始化DataBind
286
- _this.dataBind = new DataBind(props === null || props === void 0 ? void 0 : props.dataBind);
287
+ _this.dataBind = new DataBind((_props9 = props) === null || _props9 === void 0 ? void 0 : _props9.dataBind);
287
288
  var _props_defaultValue;
288
- _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : "";
289
+ _this.defaultValue = (_props_defaultValue = (_props10 = props) === null || _props10 === void 0 ? void 0 : _props10.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : "";
289
290
  return _this;
290
291
  }
291
292
  return BaseControlProperty;
292
293
  }(Property);
293
- _defineProperty(BaseControlProperty, "Rules", BaseControlPropertyRules);
294
- _defineProperty(BaseControlProperty, "RuntimeRules", BaseControlPropertyRuntimeRules);
294
+ _define_property(BaseControlProperty, "Rules", BaseControlPropertyRules);
295
+ _define_property(BaseControlProperty, "RuntimeRules", BaseControlPropertyRuntimeRules);
295
296
  var OptionAndDataSourcePropertyRules = /*#__PURE__*/ function(BaseControlPropertyRules) {
296
297
  "use strict";
297
298
  _inherits(OptionAndDataSourcePropertyRules, BaseControlPropertyRules);
298
- var _super = _createSuper(OptionAndDataSourcePropertyRules);
299
+ var _super = _create_super(OptionAndDataSourcePropertyRules);
299
300
  function OptionAndDataSourcePropertyRules(props) {
300
- _classCallCheck(this, OptionAndDataSourcePropertyRules);
301
+ _class_call_check(this, OptionAndDataSourcePropertyRules);
301
302
  var _this;
302
303
  _this = _super.call(this, props);
303
- _defineProperty(_assertThisInitialized(_this), "optionConfig", {
304
+ _define_property(_assert_this_initialized(_this), "optionConfig", {
304
305
  type: "enum",
305
306
  enum: [
306
307
  "custom",
@@ -308,19 +309,19 @@ var OptionAndDataSourcePropertyRules = /*#__PURE__*/ function(BaseControlPropert
308
309
  ],
309
310
  message: RulesMessage.getMessage("PleaseSelectTheCorrectOptionSettings")
310
311
  });
311
- _defineProperty(_assertThisInitialized(_this), "options", [
312
+ _define_property(_assert_this_initialized(_this), "options", [
312
313
  {
313
314
  type: "array",
314
315
  message: RulesMessage.getMessage("isNotArray")
315
316
  }
316
317
  ]);
317
- _defineProperty(_assertThisInitialized(_this), "datasourceBind", [
318
+ _define_property(_assert_this_initialized(_this), "datasourceBind", [
318
319
  {
319
320
  type: "object",
320
321
  message: RulesMessage.getMessage("isNotObject")
321
322
  }
322
323
  ]);
323
- initOptionAndDataSourceRules.call(_assertThisInitialized(_this), props);
324
+ initOptionAndDataSourceRules.call(_assert_this_initialized(_this), props);
324
325
  return _this;
325
326
  }
326
327
  return OptionAndDataSourcePropertyRules;
@@ -1,15 +1,15 @@
1
- function _assertThisInitialized(self) {
1
+ function _assert_this_initialized(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 _classCallCheck(instance, Constructor) {
7
+ function _class_call_check(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 _defineProperty(obj, key, value) {
12
+ function _define_property(obj, key, value) {
13
13
  if (key in obj) {
14
14
  Object.defineProperty(obj, key, {
15
15
  value: value,
@@ -22,11 +22,11 @@ function _defineProperty(obj, key, value) {
22
22
  }
23
23
  return obj;
24
24
  }
25
- function _getPrototypeOf(o) {
26
- _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
25
+ function _get_prototype_of(o) {
26
+ _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
27
27
  return o.__proto__ || Object.getPrototypeOf(o);
28
28
  };
29
- return _getPrototypeOf(o);
29
+ return _get_prototype_of(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) _setPrototypeOf(subClass, superClass);
42
+ if (superClass) _set_prototype_of(subClass, superClass);
43
43
  }
44
- function _possibleConstructorReturn(self, call) {
45
- if (call && (_typeof(call) === "object" || typeof call === "function")) {
44
+ function _possible_constructor_return(self, call) {
45
+ if (call && (_type_of(call) === "object" || typeof call === "function")) {
46
46
  return call;
47
47
  }
48
- return _assertThisInitialized(self);
48
+ return _assert_this_initialized(self);
49
49
  }
50
- function _setPrototypeOf(o, p) {
51
- _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
50
+ function _set_prototype_of(o, p) {
51
+ _set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
52
52
  o.__proto__ = p;
53
53
  return o;
54
54
  };
55
- return _setPrototypeOf(o, p);
55
+ return _set_prototype_of(o, p);
56
56
  }
57
- var _typeof = function(obj) {
57
+ function _type_of(obj) {
58
58
  "@swc/helpers - typeof";
59
59
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
60
- };
61
- function _isNativeReflectConstruct() {
60
+ }
61
+ function _is_native_reflect_construct() {
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 _isNativeReflectConstruct() {
69
69
  return false;
70
70
  }
71
71
  }
72
- function _createSuper(Derived) {
73
- var hasNativeReflectConstruct = _isNativeReflectConstruct();
72
+ function _create_super(Derived) {
73
+ var hasNativeReflectConstruct = _is_native_reflect_construct();
74
74
  return function _createSuperInternal() {
75
- var Super = _getPrototypeOf(Derived), result;
75
+ var Super = _get_prototype_of(Derived), result;
76
76
  if (hasNativeReflectConstruct) {
77
- var NewTarget = _getPrototypeOf(this).constructor;
77
+ var NewTarget = _get_prototype_of(this).constructor;
78
78
  result = Reflect.construct(Super, arguments, NewTarget);
79
79
  } else {
80
80
  result = Super.apply(this, arguments);
81
81
  }
82
- return _possibleConstructorReturn(this, result);
82
+ return _possible_constructor_return(this, result);
83
83
  };
84
84
  }
85
85
  import { RuntimeControl } from "../BaseControl";
@@ -87,15 +87,16 @@ import BaseControlProperty from "./property";
87
87
  var FormControl = /*#__PURE__*/ function(RuntimeControl) {
88
88
  "use strict";
89
89
  _inherits(FormControl, RuntimeControl);
90
- var _super = _createSuper(FormControl);
90
+ var _super = _create_super(FormControl);
91
91
  function FormControl(props) {
92
- _classCallCheck(this, FormControl);
92
+ _class_call_check(this, FormControl);
93
93
  var _this;
94
+ var _props;
94
95
  _this = _super.call(this, props);
95
- _defineProperty(_assertThisInitialized(_this), "controlType", "form");
96
- _defineProperty(_assertThisInitialized(_this), "props", void 0);
97
- _defineProperty(_assertThisInitialized(_this), "value", void 0);
98
- _this.props = new BaseControlProperty(props === null || props === void 0 ? void 0 : props.props);
96
+ _define_property(_assert_this_initialized(_this), "controlType", "form");
97
+ _define_property(_assert_this_initialized(_this), "props", void 0);
98
+ _define_property(_assert_this_initialized(_this), "value", void 0);
99
+ _this.props = new BaseControlProperty((_props = props) === null || _props === void 0 ? void 0 : _props.props);
99
100
  return _this;
100
101
  }
101
102
  return FormControl;