@byteluck-fe/model-driven-core 2.3.1-beta.8 → 2.3.12-a

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 +253 -213
  2. package/dist/esm/common/BaseControl/property.js +68 -51
  3. package/dist/esm/common/BaseControl/runtime.js +30 -9
  4. package/dist/esm/common/ColumnControl/designer.js +37 -23
  5. package/dist/esm/common/ColumnControl/property.js +86 -38
  6. package/dist/esm/common/ColumnControl/runtime.js +37 -23
  7. package/dist/esm/common/ControlArray.js +13 -13
  8. package/dist/esm/common/FormControl/designer.js +40 -25
  9. package/dist/esm/common/FormControl/property.js +119 -52
  10. package/dist/esm/common/FormControl/runtime.js +38 -23
  11. package/dist/esm/common/LayoutControl/designer.js +149 -115
  12. package/dist/esm/common/LayoutControl/property.js +22 -22
  13. package/dist/esm/common/LayoutControl/runtime.js +39 -24
  14. package/dist/esm/common/ListControl/designer.js +131 -106
  15. package/dist/esm/common/ListControl/property.js +37 -23
  16. package/dist/esm/common/ListControl/runtime.js +42 -27
  17. package/dist/esm/common/SearchViewControl/designer.js +37 -23
  18. package/dist/esm/common/SearchViewControl/property.js +36 -22
  19. package/dist/esm/common/SearchViewControl/runtime.js +37 -23
  20. package/dist/esm/common/WrapControl/designer.js +37 -23
  21. package/dist/esm/common/WrapControl/property.js +22 -22
  22. package/dist/esm/common/WrapControl/runtime.js +37 -23
  23. package/dist/esm/framework/RegisterControls.js +199 -130
  24. package/dist/esm/framework/index.js +513 -93
  25. package/dist/index.umd.js +1 -1
  26. package/dist/types/common/BaseControl/property.d.ts +14 -0
  27. package/dist/types/common/FormControl/property.d.ts +4 -0
  28. package/dist/types/framework/index.d.ts +205 -0
  29. package/package.json +3 -3
@@ -1,19 +1,19 @@
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 _getPrototypeOf(o) {
13
- _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
12
+ function _get_prototype_of(o) {
13
+ _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
14
14
  return o.__proto__ || Object.getPrototypeOf(o);
15
15
  };
16
- return _getPrototypeOf(o);
16
+ return _get_prototype_of(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) _setPrototypeOf(subClass, superClass);
29
+ if (superClass) _set_prototype_of(subClass, superClass);
30
30
  }
31
- function _possibleConstructorReturn(self, call) {
32
- if (call && (_typeof(call) === "object" || typeof call === "function")) {
31
+ function _possible_constructor_return(self, call) {
32
+ if (call && (_type_of(call) === "object" || typeof call === "function")) {
33
33
  return call;
34
34
  }
35
- return _assertThisInitialized(self);
35
+ return _assert_this_initialized(self);
36
36
  }
37
- function _setPrototypeOf(o, p) {
38
- _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
37
+ function _set_prototype_of(o, p) {
38
+ _set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
39
39
  o.__proto__ = p;
40
40
  return o;
41
41
  };
42
- return _setPrototypeOf(o, p);
42
+ return _set_prototype_of(o, p);
43
43
  }
44
- var _typeof = function(obj) {
44
+ function _type_of(obj) {
45
45
  "@swc/helpers - typeof";
46
46
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
47
- };
48
- function _isNativeReflectConstruct() {
47
+ }
48
+ function _is_native_reflect_construct() {
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 _isNativeReflectConstruct() {
56
56
  return false;
57
57
  }
58
58
  }
59
- function _createSuper(Derived) {
60
- var hasNativeReflectConstruct = _isNativeReflectConstruct();
59
+ function _create_super(Derived) {
60
+ var hasNativeReflectConstruct = _is_native_reflect_construct();
61
61
  return function _createSuperInternal() {
62
- var Super = _getPrototypeOf(Derived), result;
62
+ var Super = _get_prototype_of(Derived), result;
63
63
  if (hasNativeReflectConstruct) {
64
- var NewTarget = _getPrototypeOf(this).constructor;
64
+ var NewTarget = _get_prototype_of(this).constructor;
65
65
  result = Reflect.construct(Super, arguments, NewTarget);
66
66
  } else {
67
67
  result = Super.apply(this, arguments);
68
68
  }
69
- return _possibleConstructorReturn(this, result);
69
+ return _possible_constructor_return(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 = _createSuper(WrapControlProperty);
76
+ var _super = _create_super(WrapControlProperty);
77
77
  function WrapControlProperty(props) {
78
- _classCallCheck(this, WrapControlProperty);
78
+ _class_call_check(this, WrapControlProperty);
79
79
  return _super.call(this, props);
80
80
  }
81
81
  return WrapControlProperty;
@@ -1,19 +1,32 @@
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 _getPrototypeOf(o) {
13
- _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
12
+ function _define_property(obj, key, value) {
13
+ if (key in obj) {
14
+ Object.defineProperty(obj, key, {
15
+ value: value,
16
+ enumerable: true,
17
+ configurable: true,
18
+ writable: true
19
+ });
20
+ } else {
21
+ obj[key] = value;
22
+ }
23
+ return obj;
24
+ }
25
+ function _get_prototype_of(o) {
26
+ _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
14
27
  return o.__proto__ || Object.getPrototypeOf(o);
15
28
  };
16
- return _getPrototypeOf(o);
29
+ return _get_prototype_of(o);
17
30
  }
18
31
  function _inherits(subClass, superClass) {
19
32
  if (typeof superClass !== "function" && superClass !== null) {
@@ -26,26 +39,26 @@ function _inherits(subClass, superClass) {
26
39
  configurable: true
27
40
  }
28
41
  });
29
- if (superClass) _setPrototypeOf(subClass, superClass);
42
+ if (superClass) _set_prototype_of(subClass, superClass);
30
43
  }
31
- function _possibleConstructorReturn(self, call) {
32
- 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")) {
33
46
  return call;
34
47
  }
35
- return _assertThisInitialized(self);
48
+ return _assert_this_initialized(self);
36
49
  }
37
- function _setPrototypeOf(o, p) {
38
- _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
50
+ function _set_prototype_of(o, p) {
51
+ _set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
39
52
  o.__proto__ = p;
40
53
  return o;
41
54
  };
42
- return _setPrototypeOf(o, p);
55
+ return _set_prototype_of(o, p);
43
56
  }
44
- var _typeof = function(obj) {
57
+ function _type_of(obj) {
45
58
  "@swc/helpers - typeof";
46
59
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
47
- };
48
- function _isNativeReflectConstruct() {
60
+ }
61
+ function _is_native_reflect_construct() {
49
62
  if (typeof Reflect === "undefined" || !Reflect.construct) return false;
50
63
  if (Reflect.construct.sham) return false;
51
64
  if (typeof Proxy === "function") return true;
@@ -56,17 +69,17 @@ function _isNativeReflectConstruct() {
56
69
  return false;
57
70
  }
58
71
  }
59
- function _createSuper(Derived) {
60
- var hasNativeReflectConstruct = _isNativeReflectConstruct();
72
+ function _create_super(Derived) {
73
+ var hasNativeReflectConstruct = _is_native_reflect_construct();
61
74
  return function _createSuperInternal() {
62
- var Super = _getPrototypeOf(Derived), result;
75
+ var Super = _get_prototype_of(Derived), result;
63
76
  if (hasNativeReflectConstruct) {
64
- var NewTarget = _getPrototypeOf(this).constructor;
77
+ var NewTarget = _get_prototype_of(this).constructor;
65
78
  result = Reflect.construct(Super, arguments, NewTarget);
66
79
  } else {
67
80
  result = Super.apply(this, arguments);
68
81
  }
69
- return _possibleConstructorReturn(this, result);
82
+ return _possible_constructor_return(this, result);
70
83
  };
71
84
  }
72
85
  import WrapControlProperty from "./property";
@@ -74,12 +87,13 @@ import { RuntimeLayoutControl } from "../LayoutControl";
74
87
  var WrapControl = /*#__PURE__*/ function(RuntimeLayoutControl) {
75
88
  "use strict";
76
89
  _inherits(WrapControl, RuntimeLayoutControl);
77
- var _super = _createSuper(WrapControl);
90
+ var _super = _create_super(WrapControl);
78
91
  function WrapControl(props) {
79
- _classCallCheck(this, WrapControl);
92
+ _class_call_check(this, WrapControl);
80
93
  var _this;
81
94
  _this = _super.call(this, props);
82
- _this.controlType = "wrap";
95
+ _define_property(_assert_this_initialized(_this), "controlType", "wrap");
96
+ _define_property(_assert_this_initialized(_this), "props", void 0);
83
97
  _this.props = new WrapControlProperty(props === null || props === void 0 ? void 0 : props.props);
84
98
  return _this;
85
99
  }
@@ -1,149 +1,218 @@
1
- function _classCallCheck(instance, Constructor) {
1
+ function _class_call_check(instance, Constructor) {
2
2
  if (!(instance instanceof Constructor)) {
3
3
  throw new TypeError("Cannot call a class as a function");
4
4
  }
5
5
  }
6
+ function _defineProperties(target, props) {
7
+ for(var i = 0; i < props.length; i++){
8
+ var descriptor = props[i];
9
+ descriptor.enumerable = descriptor.enumerable || false;
10
+ descriptor.configurable = true;
11
+ if ("value" in descriptor) descriptor.writable = true;
12
+ Object.defineProperty(target, descriptor.key, descriptor);
13
+ }
14
+ }
15
+ function _create_class(Constructor, protoProps, staticProps) {
16
+ if (protoProps) _defineProperties(Constructor.prototype, protoProps);
17
+ if (staticProps) _defineProperties(Constructor, staticProps);
18
+ return Constructor;
19
+ }
20
+ function _define_property(obj, key, value) {
21
+ if (key in obj) {
22
+ Object.defineProperty(obj, key, {
23
+ value: value,
24
+ enumerable: true,
25
+ configurable: true,
26
+ writable: true
27
+ });
28
+ } else {
29
+ obj[key] = value;
30
+ }
31
+ return obj;
32
+ }
6
33
  import { error, CONTROL_BASE_TYPE, warn } from "@byteluck-fe/model-driven-shared";
7
34
  var baseStaticControls = [];
8
35
  export var RegisterControls = /*#__PURE__*/ function() {
9
36
  "use strict";
10
37
  function RegisterControls(type) {
11
- _classCallCheck(this, RegisterControls);
12
- this.registeredControlTypes = new Set();
13
- this.controlConfigMap = new Map();
14
- this._controls = [];
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);
15
43
  this._type = type;
16
44
  this._initControls(type);
17
45
  }
18
- var _proto = RegisterControls.prototype;
19
- _proto.registerControlConfig = function registerControlConfig(type, config) {
20
- this.controlConfigMap.set(type, config);
21
- return this;
22
- };
23
- _proto.getControlConfig = function getControlConfig(type) {
24
- return this.controlConfigMap.get(type);
25
- };
26
- _proto.getControls = function getControls() {
27
- return this._controls;
28
- };
29
- // 注册控件
30
- _proto.register = function register(control) {
31
- // @ts-ignore
32
- if (!control.__is_control__) {
33
- // @ts-ignore
34
- error("".concat(control.name, " is not a Control"));
35
- }
36
- var repeatRegisterIndex = this._controls.findIndex(function(item) {
37
- return item.controlType === control.controlType;
38
- });
39
- if (repeatRegisterIndex > -1) {
40
- // @ts-ignore
41
- warn("The ".concat(control.controlType, " is repeat register, So it overwrites the one that was registered before."));
42
- this._controls.splice(repeatRegisterIndex, 1);
43
- }
44
- this.registeredControlTypes.add(control.controlType);
45
- this._controls.push(control);
46
- return this;
47
- };
48
- _proto.isLayoutControl = function isLayoutControl(// @ts-ignore
49
- schema) {
50
- return schema.controlType === CONTROL_BASE_TYPE.LAYOUT;
51
- };
52
- // @ts-ignore
53
- _proto.isFormControl = function isFormControl(schema) {
54
- return schema.controlType === CONTROL_BASE_TYPE.FORM;
55
- };
56
- // @ts-ignore
57
- _proto.isListControl = function isListControl(schema) {
58
- return schema.controlType === CONTROL_BASE_TYPE.LIST;
59
- };
60
- _proto.isColumnControl = function isColumnControl(// @ts-ignore
61
- schema) {
62
- return schema.controlType === CONTROL_BASE_TYPE.COLUMN;
63
- };
64
- _proto.createControl = function createControl(schema, beforeCreateInstance) {
65
- var _this = this;
66
- if (Array.isArray(schema)) {
67
- return schema.map(function(item) {
68
- return _this.createControl(item, beforeCreateInstance);
69
- });
70
- }
71
- // @ts-ignore
72
- if (schema.children) {
73
- // @ts-ignore
74
- schema.children = schema.children.map(function(item) {
75
- return _this.createControl(item, beforeCreateInstance);
76
- });
77
- }
78
- // @ts-ignore
79
- if (this.isListControl(schema) && schema.props.headers) {
80
- // @ts-ignore
81
- schema.props.headers = schema.props.headers.map(function(item) {
82
- return(// @ts-ignore
83
- _this.createControl(item, beforeCreateInstance));
84
- });
85
- }
86
- // @ts-ignore
87
- var Constructor = this.getControlFormType(schema.type);
88
- if (Constructor) {
89
- // @ts-ignore
90
- var createSchema = schema;
91
- if (typeof beforeCreateInstance === "function") {
92
- var result = beforeCreateInstance(createSchema);
93
- if (result) {
94
- createSchema = result;
46
+ _create_class(RegisterControls, [
47
+ {
48
+ key: "registerControlConfig",
49
+ value: function registerControlConfig(type, config) {
50
+ this.controlConfigMap.set(type, config);
51
+ return this;
52
+ }
53
+ },
54
+ {
55
+ key: "getControlConfig",
56
+ value: function getControlConfig(type) {
57
+ return this.controlConfigMap.get(type);
58
+ }
59
+ },
60
+ {
61
+ key: "getControls",
62
+ value: function getControls() {
63
+ return this._controls;
64
+ }
65
+ },
66
+ {
67
+ key: "register",
68
+ value: // 注册控件
69
+ function register(control) {
70
+ // @ts-ignore
71
+ if (!control.__is_control__) {
72
+ // @ts-ignore
73
+ error("".concat(control.name, " is not a Control"));
95
74
  }
75
+ var repeatRegisterIndex = this._controls.findIndex(function(item) {
76
+ return item.controlType === control.controlType;
77
+ });
78
+ if (repeatRegisterIndex > -1) {
79
+ // @ts-ignore
80
+ warn("The ".concat(control.controlType, " is repeat register, So it overwrites the one that was registered before."));
81
+ this._controls.splice(repeatRegisterIndex, 1);
82
+ }
83
+ this.registeredControlTypes.add(control.controlType);
84
+ this._controls.push(control);
85
+ return this;
86
+ }
87
+ },
88
+ {
89
+ key: "isLayoutControl",
90
+ value: function isLayoutControl(// @ts-ignore
91
+ schema) {
92
+ return schema.controlType === CONTROL_BASE_TYPE.LAYOUT;
93
+ }
94
+ },
95
+ {
96
+ key: "isFormControl",
97
+ value: // @ts-ignore
98
+ function isFormControl(schema) {
99
+ return schema.controlType === CONTROL_BASE_TYPE.FORM;
100
+ }
101
+ },
102
+ {
103
+ key: "isListControl",
104
+ value: // @ts-ignore
105
+ function isListControl(schema) {
106
+ return schema.controlType === CONTROL_BASE_TYPE.LIST;
107
+ }
108
+ },
109
+ {
110
+ key: "isColumnControl",
111
+ value: function isColumnControl(// @ts-ignore
112
+ schema) {
113
+ return schema.controlType === CONTROL_BASE_TYPE.COLUMN;
114
+ }
115
+ },
116
+ {
117
+ key: "createControl",
118
+ value: function createControl(schema, beforeCreateInstance) {
119
+ var _this = this;
120
+ if (Array.isArray(schema)) {
121
+ return schema.map(function(item) {
122
+ return _this.createControl(item, beforeCreateInstance);
123
+ });
124
+ }
125
+ // @ts-ignore
126
+ if (schema.children) {
127
+ // @ts-ignore
128
+ schema.children = schema.children.map(function(item) {
129
+ return _this.createControl(item, beforeCreateInstance);
130
+ });
131
+ }
132
+ // @ts-ignore
133
+ if (this.isListControl(schema) && schema.props.headers) {
134
+ // @ts-ignore
135
+ schema.props.headers = schema.props.headers.map(function(item) {
136
+ return(// @ts-ignore
137
+ _this.createControl(item, beforeCreateInstance));
138
+ });
139
+ }
140
+ // @ts-ignore
141
+ var Constructor = this.getControlFormType(schema.type);
142
+ if (Constructor) {
143
+ // @ts-ignore
144
+ var createSchema = schema;
145
+ if (typeof beforeCreateInstance === "function") {
146
+ var result = beforeCreateInstance(createSchema);
147
+ if (result) {
148
+ createSchema = result;
149
+ }
150
+ }
151
+ // @ts-ignore
152
+ var control = new Constructor(createSchema);
153
+ // this.defineParentToChildren(control)
154
+ return control;
155
+ } else {
156
+ error(// @ts-ignore
157
+ "The constructor of ".concat(schema.type, " could not be found, please confirm that the constructor has been registered"));
158
+ }
159
+ }
160
+ },
161
+ {
162
+ key: "createControlInstance",
163
+ value: function createControlInstance(type, initSchema) {
164
+ var Constructor = this.getControlFormType(type);
165
+ if (Constructor) {
166
+ // @ts-ignore
167
+ return new Constructor(initSchema);
168
+ }
169
+ }
170
+ },
171
+ {
172
+ key: "getControlFormType",
173
+ value: // 根据xtype获取控件类
174
+ function getControlFormType(type) {
175
+ // @ts-ignore
176
+ return this._controls.find(function(Control) {
177
+ return Control.controlType === type;
178
+ });
179
+ }
180
+ },
181
+ {
182
+ key: "_initControls",
183
+ value: // 初始化_controls,得到所有可用控件类组成的扁平数组
184
+ function _initControls(type) {
185
+ var _this = this;
186
+ this.constructor.staticControls.forEach(function(item) {
187
+ _this.register(item[type]);
188
+ });
96
189
  }
97
- // @ts-ignore
98
- var control = new Constructor(createSchema);
99
- // this.defineParentToChildren(control)
100
- return control;
101
- } else {
102
- error(// @ts-ignore
103
- "The constructor of ".concat(schema.type, " could not be found, please confirm that the constructor has been registered"));
104
- }
105
- };
106
- _proto.createControlInstance = function createControlInstance(type, initSchema) {
107
- var Constructor = this.getControlFormType(type);
108
- if (Constructor) {
109
- // @ts-ignore
110
- return new Constructor(initSchema);
111
- }
112
- };
113
- // 根据xtype获取控件类
114
- _proto.getControlFormType = function getControlFormType(type) {
115
- // @ts-ignore
116
- return this._controls.find(function(Control) {
117
- return Control.controlType === type;
118
- });
119
- };
120
- // 初始化_controls,得到所有可用控件类组成的扁平数组
121
- _proto._initControls = function _initControls(type) {
122
- var _this = this;
123
- this.constructor.staticControls.forEach(function(item) {
124
- _this.register(item[type]);
125
- });
126
- };
127
- RegisterControls.register = function register(control) {
128
- var Designer = control.Designer, Runtime = control.Runtime;
129
- if (!Designer || !Runtime || !Designer.__is_control__ || !Runtime.__is_control__) {
130
- error("".concat(control, " is can't register as a Control"));
131
190
  }
132
- var repeatRegisterIndex = this.staticControls.findIndex(function(item) {
133
- return item.Designer.controlType === Designer.controlType;
134
- });
135
- if (repeatRegisterIndex > -1) {
136
- warn("The ".concat(Designer.controlType, " is repeat register, So it overwrites the one that was registered before."));
137
- this.staticControls.splice(repeatRegisterIndex, 1);
191
+ ], [
192
+ {
193
+ key: "register",
194
+ value: function register(control) {
195
+ var Designer = control.Designer, Runtime = control.Runtime;
196
+ if (!Designer || !Runtime || !Designer.__is_control__ || !Runtime.__is_control__) {
197
+ error("".concat(control, " is can't register as a Control"));
198
+ }
199
+ var repeatRegisterIndex = this.staticControls.findIndex(function(item) {
200
+ return item.Designer.controlType === Designer.controlType;
201
+ });
202
+ if (repeatRegisterIndex > -1) {
203
+ warn("The ".concat(Designer.controlType, " is repeat register, So it overwrites the one that was registered before."));
204
+ this.staticControls.splice(repeatRegisterIndex, 1);
205
+ }
206
+ this.staticRegisteredTypes.add(Designer.controlType);
207
+ this.staticControls.push(control);
208
+ return this;
209
+ }
138
210
  }
139
- this.staticRegisteredTypes.add(Designer.controlType);
140
- this.staticControls.push(control);
141
- return this;
142
- };
211
+ ]);
143
212
  return RegisterControls;
144
213
  }();
145
- RegisterControls.staticControls = baseStaticControls;
146
- RegisterControls.staticRegisteredTypes = new Set(baseStaticControls.map(function(item) {
214
+ _define_property(RegisterControls, "staticControls", baseStaticControls);
215
+ _define_property(RegisterControls, "staticRegisteredTypes", new Set(baseStaticControls.map(function(item) {
147
216
  return item.Designer.controlType;
148
- }));
149
- RegisterControls.staticRegisteredConfigs = new Map();
217
+ })));
218
+ _define_property(RegisterControls, "staticRegisteredConfigs", new Map());