cloud-b2b 1.1.79 → 1.1.80

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 (82) hide show
  1. package/es/Area/Area.js +10 -13
  2. package/es/CodeInput/CodeInput.js +16 -19
  3. package/es/Enhance/Dialogs.js +11 -14
  4. package/es/Enhance/Loading.js +15 -18
  5. package/es/Header/Header.js +17 -20
  6. package/es/Header/Vertical.js +11 -14
  7. package/es/ImageView/ImageView.js +10 -13
  8. package/es/InpurCascader/InputCascader.js +11 -14
  9. package/es/InputEditor/InputEditor.js +16 -18
  10. package/es/InputSearch/InputSearch.js +20 -23
  11. package/es/InputSelect/InputSelect.js +14 -17
  12. package/es/InputTreeSelect/InputTreeSelect.js +10 -13
  13. package/es/InputWriting/InputWriting.js +12 -15
  14. package/es/Layout/Layout.js +14 -17
  15. package/es/Link/Link.js +7 -10
  16. package/es/NumberInput/NumberInput.js +13 -16
  17. package/es/Search/Search.js +52 -55
  18. package/es/Search2/Search.js +83 -86
  19. package/es/Search2/Search.less +64 -64
  20. package/es/Search2/package.json +6 -6
  21. package/es/Sidebar/Sidebar.js +11 -14
  22. package/es/Sidebar2/Sidebar.js +13 -16
  23. package/es/SuperForm/SuperForm.js +74 -79
  24. package/es/SuperForm2/SuperForm.js +107 -112
  25. package/es/SuperPagination/SuperPagination.js +8 -11
  26. package/es/SuperTab/SuperTab.js +12 -15
  27. package/es/SuperTab2/SuperTab2.js +13 -16
  28. package/es/SuperTable/DragSortRow.js +12 -15
  29. package/es/SuperTable/FilterDropDown.js +11 -14
  30. package/es/SuperTable/SuperTable.js +70 -73
  31. package/es/SuperTable2/SuperTable2.js +89 -92
  32. package/es/SuperTable2/SuperTable2.less +3 -1
  33. package/es/SuperTable2/SuperTableCell.js +27 -30
  34. package/es/SuperTable3/FilterDropDown.js +11 -14
  35. package/es/SuperTable3/SuperTable.js +58 -61
  36. package/es/SuperToolbar/SuperToolbar.js +12 -15
  37. package/es/SuperUpload/SuperUpload.js +38 -38
  38. package/es/Viewer/ImageViews.js +16 -19
  39. package/es/Viewer/Viewer.js +11 -14
  40. package/es/helper.js +18 -17
  41. package/lib/Area/Area.js +10 -13
  42. package/lib/CodeInput/CodeInput.js +16 -19
  43. package/lib/Enhance/Dialogs.js +11 -14
  44. package/lib/Enhance/Loading.js +15 -18
  45. package/lib/Header/Header.js +17 -20
  46. package/lib/Header/Vertical.js +11 -14
  47. package/lib/ImageView/ImageView.js +10 -13
  48. package/lib/InpurCascader/InputCascader.js +11 -14
  49. package/lib/InputEditor/InputEditor.js +16 -18
  50. package/lib/InputSearch/InputSearch.js +20 -23
  51. package/lib/InputSelect/InputSelect.js +14 -17
  52. package/lib/InputTreeSelect/InputTreeSelect.js +10 -13
  53. package/lib/InputWriting/InputWriting.js +12 -15
  54. package/lib/Layout/Layout.js +14 -17
  55. package/lib/LayoutLink/LayoutLink.js +1 -2
  56. package/lib/Link/Link.js +7 -10
  57. package/lib/NumberInput/NumberInput.js +13 -16
  58. package/lib/Search/Search.js +53 -57
  59. package/lib/Search2/Search.js +84 -88
  60. package/lib/Search2/Search.less +64 -64
  61. package/lib/Search2/package.json +6 -6
  62. package/lib/Sidebar/Sidebar.js +11 -14
  63. package/lib/Sidebar2/Sidebar.js +13 -16
  64. package/lib/SuperForm/SuperForm.js +75 -81
  65. package/lib/SuperForm2/SuperForm.js +108 -114
  66. package/lib/SuperPagination/SuperPagination.js +8 -11
  67. package/lib/SuperTab/SuperTab.js +12 -15
  68. package/lib/SuperTab2/SuperTab2.js +13 -16
  69. package/lib/SuperTable/DragSortRow.js +12 -15
  70. package/lib/SuperTable/FilterDropDown.js +11 -14
  71. package/lib/SuperTable/SuperTable.js +70 -73
  72. package/lib/SuperTable2/SuperTable2.js +90 -94
  73. package/lib/SuperTable2/SuperTable2.less +3 -1
  74. package/lib/SuperTable2/SuperTableCell.js +27 -30
  75. package/lib/SuperTable3/FilterDropDown.js +11 -14
  76. package/lib/SuperTable3/SuperTable.js +58 -61
  77. package/lib/SuperToolbar/SuperToolbar.js +12 -15
  78. package/lib/SuperUpload/SuperUpload.js +39 -40
  79. package/lib/Viewer/ImageViews.js +16 -19
  80. package/lib/Viewer/Viewer.js +11 -14
  81. package/lib/helper.js +18 -17
  82. package/package.json +1 -1
@@ -32,10 +32,9 @@ var _checkbox = _interopRequireDefault(require("antd/lib/checkbox"));
32
32
  var _typeof2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/typeof"));
33
33
  var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/classCallCheck"));
34
34
  var _createClass2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/createClass"));
35
- var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/assertThisInitialized"));
36
- var _inherits2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/inherits"));
37
35
  var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/possibleConstructorReturn"));
38
36
  var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/getPrototypeOf"));
37
+ var _inherits2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/inherits"));
39
38
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/defineProperty"));
40
39
  var _form = _interopRequireDefault(require("antd/lib/form"));
41
40
  var _react = _interopRequireDefault(require("react"));
@@ -44,12 +43,11 @@ var _reactDom = _interopRequireDefault(require("react-dom"));
44
43
  var _helper = _interopRequireDefault(require("../helper"));
45
44
  var _Control = _interopRequireWildcard(require("../Control"));
46
45
  var _variables = _interopRequireDefault(require("../variables"));
47
- function _getRequireWildcardCache(e) { if ("function" != typeof _WeakMap) return null; var r = new _WeakMap(), t = new _WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
48
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof3(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = _Object$defineProperty && _Object$getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? _Object$getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? _Object$defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
46
+ function _interopRequireWildcard(e, t) { if ("function" == typeof _WeakMap) var r = new _WeakMap(), n = new _WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, "default": e }; if (null === e || "object" != _typeof3(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = _Object$defineProperty) && _Object$getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
49
47
  function ownKeys(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty2(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
50
- function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context29, _context30; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context29 = ownKeys(Object(t), !0)).call(_context29, function (r) { (0, _defineProperty2["default"])(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context30 = ownKeys(Object(t))).call(_context30, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
51
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2["default"])(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2["default"])(this).constructor; result = _Reflect$construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2["default"])(this, result); }; }
52
- function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !_Reflect$construct) return false; if (_Reflect$construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(_Reflect$construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
48
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context27, _context28; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context27 = ownKeys(Object(t), !0)).call(_context27, function (r) { (0, _defineProperty2["default"])(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context28 = ownKeys(Object(t))).call(_context28, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
49
+ function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2["default"])(o), (0, _possibleConstructorReturn2["default"])(t, _isNativeReflectConstruct() ? _Reflect$construct(o, e || [], (0, _getPrototypeOf2["default"])(t).constructor) : o.apply(t, e)); }
50
+ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(_Reflect$construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
53
51
  var FormItem = _form["default"].Item;
54
52
  var defaultSize = 'default';
55
53
  var defaultColNum = 4;
@@ -78,13 +76,11 @@ var ControlType = {
78
76
  props: _propTypes["default"].object
79
77
  };
80
78
  var Controlled = /*#__PURE__*/function (_React$Component) {
81
- (0, _inherits2["default"])(Controlled, _React$Component);
82
- var _super = _createSuper(Controlled);
83
79
  function Controlled(props) {
84
80
  var _this;
85
81
  (0, _classCallCheck2["default"])(this, Controlled);
86
- _this = _super.call(this, props);
87
- (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "onChange", function (value) {
82
+ _this = _callSuper(this, Controlled, [props]);
83
+ (0, _defineProperty2["default"])(_this, "onChange", function (value) {
88
84
  var onChange = _this.props.onChange;
89
85
  _this.setState({
90
86
  value: value
@@ -96,7 +92,8 @@ var Controlled = /*#__PURE__*/function (_React$Component) {
96
92
  };
97
93
  return _this;
98
94
  }
99
- (0, _createClass2["default"])(Controlled, [{
95
+ (0, _inherits2["default"])(Controlled, _React$Component);
96
+ return (0, _createClass2["default"])(Controlled, [{
100
97
  key: "componentWillReceiveProps",
101
98
  value: function componentWillReceiveProps(nextProps) {
102
99
  if (this.props.value !== nextProps.value) {
@@ -115,7 +112,6 @@ var Controlled = /*#__PURE__*/function (_React$Component) {
115
112
  return /*#__PURE__*/_react["default"].createElement(_Control["default"], props);
116
113
  }
117
114
  }]);
118
- return Controlled;
119
115
  }(_react["default"].Component);
120
116
  /**
121
117
  * colNum:[可选],表单的列数,默认为4
@@ -131,8 +127,6 @@ var Controlled = /*#__PURE__*/function (_React$Component) {
131
127
  * onFileChange:上传组件触发,原型为func(key,{fileList, fileDeleteList})
132
128
  */
133
129
  var SuperForm2 = /*#__PURE__*/function (_React$Component2) {
134
- (0, _inherits2["default"])(SuperForm2, _React$Component2);
135
- var _super2 = _createSuper(SuperForm2);
136
130
  function SuperForm2() {
137
131
  var _context;
138
132
  var _this2;
@@ -140,35 +134,35 @@ var SuperForm2 = /*#__PURE__*/function (_React$Component2) {
140
134
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
141
135
  args[_key] = arguments[_key];
142
136
  }
143
- _this2 = _super2.call.apply(_super2, (0, _concat["default"])(_context = [this]).call(_context, args));
144
- (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this2), "onAdd", function (key, title) {
137
+ _this2 = _callSuper(this, SuperForm2, (0, _concat["default"])(_context = []).call(_context, args));
138
+ (0, _defineProperty2["default"])(_this2, "onAdd", function (key, title) {
145
139
  var onAdd = _this2.props.onAdd;
146
140
  onAdd && onAdd(key, title);
147
141
  });
148
- (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this2), "onFileChange", function (_ref, file) {
142
+ (0, _defineProperty2["default"])(_this2, "onFileChange", function (_ref, file) {
149
143
  var key = _ref.key;
150
144
  var onFileChange = _this2.props.onFileChange;
151
145
  onFileChange && onFileChange(key, file);
152
146
  });
153
- (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this2), "onChange", function (key, value) {
147
+ (0, _defineProperty2["default"])(_this2, "onChange", function (key, value) {
154
148
  var onChange = _this2.props.onChange;
155
149
  if (onChange) {
156
150
  _this2.onExitValid(key);
157
151
  onChange(key, value);
158
152
  }
159
153
  });
160
- (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this2), "onGetCode", function (key, value) {
154
+ (0, _defineProperty2["default"])(_this2, "onGetCode", function (key, value) {
161
155
  var onGetCode = _this2.props.onGetCode;
162
156
  onGetCode && onGetCode();
163
157
  });
164
- (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this2), "onBlur", function (key, value) {
158
+ (0, _defineProperty2["default"])(_this2, "onBlur", function (key, value) {
165
159
  var onChange = _this2.props.onChange;
166
160
  if (onChange) {
167
161
  _this2.onExitValid(key);
168
162
  onChange(key, value);
169
163
  }
170
164
  });
171
- (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this2), "onExitValid", function (key, value) {
165
+ (0, _defineProperty2["default"])(_this2, "onExitValid", function (key, value) {
172
166
  if (key === _this2.validKey) {
173
167
  _this2.validKey = '';
174
168
  _this2.props.onExitValid();
@@ -176,7 +170,7 @@ var SuperForm2 = /*#__PURE__*/function (_React$Component2) {
176
170
  _this2.props.onChangeOperate && _this2.props.onChangeOperate(key, value);
177
171
  });
178
172
  // 动态生成getValidState方法
179
- (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this2), "initValidState", function () {
173
+ (0, _defineProperty2["default"])(_this2, "initValidState", function () {
180
174
  var _this2$props = _this2.props,
181
175
  value = _this2$props.value,
182
176
  valid = _this2$props.valid;
@@ -197,7 +191,7 @@ var SuperForm2 = /*#__PURE__*/function (_React$Component2) {
197
191
  };
198
192
  _this2.getValidState = valid ? _valid : invalid;
199
193
  });
200
- (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this2), "validDate", function (_ref3) {
194
+ (0, _defineProperty2["default"])(_this2, "validDate", function (_ref3) {
201
195
  var key = _ref3.key,
202
196
  type = _ref3.type;
203
197
  return function (date) {
@@ -216,25 +210,25 @@ var SuperForm2 = /*#__PURE__*/function (_React$Component2) {
216
210
  }
217
211
  };
218
212
  });
219
- (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this2), "getPopupContainer", function () {
213
+ (0, _defineProperty2["default"])(_this2, "getPopupContainer", function () {
220
214
  var container = _this2.props.container;
221
215
  if (typeof container === 'undefined') {
222
- return _reactDom["default"].findDOMNode((0, _assertThisInitialized2["default"])(_this2));
216
+ return _reactDom["default"].findDOMNode(_this2);
223
217
  } else if (typeof container === 'boolean') {
224
218
  return document.body;
225
219
  } else {
226
220
  return _reactDom["default"].findDOMNode(container);
227
221
  }
228
222
  });
229
- (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this2), "getMaxWidth", function () {
223
+ (0, _defineProperty2["default"])(_this2, "getMaxWidth", function () {
230
224
  var _this2$props$colNum = _this2.props.colNum,
231
225
  colNum = _this2$props$colNum === void 0 ? defaultColNum : _this2$props$colNum;
232
226
  return colNum * 1200;
233
227
  });
234
- (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this2), "getContainer", function () {
228
+ (0, _defineProperty2["default"])(_this2, "getContainer", function () {
235
229
  return _this2.props.getContainer;
236
230
  });
237
- (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this2), "getControls", function () {
231
+ (0, _defineProperty2["default"])(_this2, "getControls", function () {
238
232
  var _this2$props2 = _this2.props,
239
233
  hideControls = _this2$props2.hideControls,
240
234
  controls = _this2$props2.controls;
@@ -248,7 +242,7 @@ var SuperForm2 = /*#__PURE__*/function (_React$Component2) {
248
242
  });
249
243
  }
250
244
  });
251
- (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this2), "getType", function (_ref4) {
245
+ (0, _defineProperty2["default"])(_this2, "getType", function (_ref4) {
252
246
  var _context2;
253
247
  var key = _ref4.key,
254
248
  type = _ref4.type;
@@ -267,7 +261,7 @@ var SuperForm2 = /*#__PURE__*/function (_React$Component2) {
267
261
  return type;
268
262
  }
269
263
  });
270
- (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this2), "specialProps", function (type, _ref5) {
264
+ (0, _defineProperty2["default"])(_this2, "specialProps", function (type, _ref5) {
271
265
  var key = _ref5.key,
272
266
  _ref5$props = _ref5.props,
273
267
  props = _ref5$props === void 0 ? {} : _ref5$props,
@@ -278,70 +272,70 @@ var SuperForm2 = /*#__PURE__*/function (_React$Component2) {
278
272
  return {
279
273
  type: 'textArea',
280
274
  readonly: true,
281
- onBlur: (0, _bind["default"])(_context3 = _this2.onExitValid).call(_context3, (0, _assertThisInitialized2["default"])(_this2), key)
275
+ onBlur: (0, _bind["default"])(_context3 = _this2.onExitValid).call(_context3, _this2, key)
282
276
  };
283
277
  } else if (originType === 'uploadImg') {
284
278
  var _context4;
285
279
  var commonProps = _this2.props.buildSuperUploadProps ? _this2.props.buildSuperUploadProps() : {};
286
280
  return _objectSpread(_objectSpread(_objectSpread({}, props), commonProps), {}, {
287
281
  readonly: true,
288
- onBlur: (0, _bind["default"])(_context4 = _this2.onExitValid).call(_context4, (0, _assertThisInitialized2["default"])(_this2), key)
282
+ onBlur: (0, _bind["default"])(_context4 = _this2.onExitValid).call(_context4, _this2, key)
289
283
  });
290
284
  } else {
291
285
  var _context5;
292
286
  return {
293
- onBlur: (0, _bind["default"])(_context5 = _this2.onExitValid).call(_context5, (0, _assertThisInitialized2["default"])(_this2), key)
287
+ onBlur: (0, _bind["default"])(_context5 = _this2.onExitValid).call(_context5, _this2, key)
294
288
  };
295
289
  }
296
290
  } else if (type === 'text' || type === 'textArea') {
297
291
  var _context6, _context7;
298
292
  return _objectSpread(_objectSpread({}, props), {}, {
299
- onChange: (0, _bind["default"])(_context6 = _this2.onExitValid).call(_context6, (0, _assertThisInitialized2["default"])(_this2), key),
300
- onBlur: (0, _bind["default"])(_context7 = _this2.onChange).call(_context7, (0, _assertThisInitialized2["default"])(_this2), key)
293
+ onChange: (0, _bind["default"])(_context6 = _this2.onExitValid).call(_context6, _this2, key),
294
+ onBlur: (0, _bind["default"])(_context7 = _this2.onChange).call(_context7, _this2, key)
301
295
  });
302
296
  } else if (type === 'date') {
303
297
  var _context8, _context9;
304
298
  var propsObj = _objectSpread(_objectSpread({}, props), {}, {
305
- onChange: (0, _bind["default"])(_context8 = _this2.onBlur).call(_context8, (0, _assertThisInitialized2["default"])(_this2), key),
306
- onBlur: (0, _bind["default"])(_context9 = _this2.onExitValid).call(_context9, (0, _assertThisInitialized2["default"])(_this2), key)
299
+ onChange: (0, _bind["default"])(_context8 = _this2.onBlur).call(_context8, _this2, key),
300
+ onBlur: (0, _bind["default"])(_context9 = _this2.onExitValid).call(_context9, _this2, key)
307
301
  });
308
302
  if (_this2.props.onOpenChange && typeof _this2.props.onOpenChange === 'function') {
309
- var _context10;
310
- propsObj.onOpenChange = (0, _bind["default"])(_context10 = _this2.props.onOpenChange).call(_context10, (0, _assertThisInitialized2["default"])(_this2), key);
303
+ var _context0;
304
+ propsObj.onOpenChange = (0, _bind["default"])(_context0 = _this2.props.onOpenChange).call(_context0, _this2, key);
311
305
  }
312
306
  return propsObj;
313
307
  } else if (type === 'captcha') {
314
- var _context11, _context12, _context13;
308
+ var _context1, _context10, _context11;
315
309
  return _objectSpread(_objectSpread({}, props), {}, {
316
- onChange: (0, _bind["default"])(_context11 = _this2.onBlur).call(_context11, (0, _assertThisInitialized2["default"])(_this2), key),
317
- onBlur: (0, _bind["default"])(_context12 = _this2.onExitValid).call(_context12, (0, _assertThisInitialized2["default"])(_this2), key),
318
- onGetCode: (0, _bind["default"])(_context13 = _this2.onGetCode).call(_context13, (0, _assertThisInitialized2["default"])(_this2), key)
310
+ onChange: (0, _bind["default"])(_context1 = _this2.onBlur).call(_context1, _this2, key),
311
+ onBlur: (0, _bind["default"])(_context10 = _this2.onExitValid).call(_context10, _this2, key),
312
+ onGetCode: (0, _bind["default"])(_context11 = _this2.onGetCode).call(_context11, _this2, key)
319
313
  });
320
314
  } else if (type === 'area') {
321
- var _context14, _context15;
315
+ var _context12, _context13;
322
316
  return _objectSpread(_objectSpread({}, props), {}, {
323
- onChange: (0, _bind["default"])(_context14 = _this2.onBlur).call(_context14, (0, _assertThisInitialized2["default"])(_this2), key),
324
- onBlur: (0, _bind["default"])(_context15 = _this2.onExitValid).call(_context15, (0, _assertThisInitialized2["default"])(_this2), key),
317
+ onChange: (0, _bind["default"])(_context12 = _this2.onBlur).call(_context12, _this2, key),
318
+ onBlur: (0, _bind["default"])(_context13 = _this2.onExitValid).call(_context13, _this2, key),
325
319
  onAreaSearch: _this2.props.onAreaSearch
326
320
  });
327
321
  } else if (type === 'uploadImg') {
328
- var _context16, _context17;
322
+ var _context14, _context15;
329
323
  var _commonProps = _this2.props.buildSuperUploadProps ? _this2.props.buildSuperUploadProps() : {};
330
324
  return _objectSpread(_objectSpread(_objectSpread({}, props), _commonProps), {}, {
331
- onChange: (0, _bind["default"])(_context16 = _this2.onBlur).call(_context16, (0, _assertThisInitialized2["default"])(_this2), key),
332
- onBlur: (0, _bind["default"])(_context17 = _this2.onExitValid).call(_context17, (0, _assertThisInitialized2["default"])(_this2), key)
325
+ onChange: (0, _bind["default"])(_context14 = _this2.onBlur).call(_context14, _this2, key),
326
+ onBlur: (0, _bind["default"])(_context15 = _this2.onExitValid).call(_context15, _this2, key)
333
327
  });
334
328
  } else if (type === 'double') {
335
329
  return props;
336
330
  } else {
337
- var _context18, _context19;
331
+ var _context16, _context17;
338
332
  return _objectSpread(_objectSpread({}, props), {}, {
339
- onChange: (0, _bind["default"])(_context18 = _this2.onBlur).call(_context18, (0, _assertThisInitialized2["default"])(_this2), key),
340
- onBlur: (0, _bind["default"])(_context19 = _this2.onExitValid).call(_context19, (0, _assertThisInitialized2["default"])(_this2), key)
333
+ onChange: (0, _bind["default"])(_context16 = _this2.onBlur).call(_context16, _this2, key),
334
+ onBlur: (0, _bind["default"])(_context17 = _this2.onExitValid).call(_context17, _this2, key)
341
335
  });
342
336
  }
343
337
  });
344
- (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this2), "getControlProps", function (control, status) {
338
+ (0, _defineProperty2["default"])(_this2, "getControlProps", function (control, status) {
345
339
  var _this2$props3 = _this2.props,
346
340
  _this2$props3$value = _this2$props3.value,
347
341
  value = _this2$props3$value === void 0 ? {} : _this2$props3$value,
@@ -362,25 +356,25 @@ var SuperForm2 = /*#__PURE__*/function (_React$Component2) {
362
356
  requiredColor: requiredColor
363
357
  });
364
358
  });
365
- (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this2), "getOptions", function (key, options) {
359
+ (0, _defineProperty2["default"])(_this2, "getOptions", function (key, options) {
366
360
  var higher = _this2.props.options || {};
367
361
  return higher[key] || options;
368
362
  });
369
- (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this2), "toEmpty", function (props) {});
370
- (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this2), "toText", function (props) {
363
+ (0, _defineProperty2["default"])(_this2, "toEmpty", function (props) {});
364
+ (0, _defineProperty2["default"])(_this2, "toText", function (props) {
371
365
  return /*#__PURE__*/_react["default"].createElement(Controlled, props);
372
366
  });
373
- (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this2), "toPassword", function (props) {
367
+ (0, _defineProperty2["default"])(_this2, "toPassword", function (props) {
374
368
  return /*#__PURE__*/_react["default"].createElement(Controlled, props);
375
369
  });
376
- (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this2), "toEditor", function (props, control) {
370
+ (0, _defineProperty2["default"])(_this2, "toEditor", function (props, control) {
377
371
  props.inputKey = control.key;
378
372
  return /*#__PURE__*/_react["default"].createElement(Controlled, props);
379
373
  });
380
- (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this2), "toSelectWriting", function (props, control) {
374
+ (0, _defineProperty2["default"])(_this2, "toSelectWriting", function (props, control) {
381
375
  return /*#__PURE__*/_react["default"].createElement(Controlled, props);
382
376
  });
383
- (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this2), "toTextArea", function (props, control) {
377
+ (0, _defineProperty2["default"])(_this2, "toTextArea", function (props, control) {
384
378
  if (control.allFullFather) {
385
379
  props.rows = control.rows;
386
380
  props.maxLength = control.maxLength;
@@ -395,22 +389,22 @@ var SuperForm2 = /*#__PURE__*/function (_React$Component2) {
395
389
  }
396
390
  return /*#__PURE__*/_react["default"].createElement(Controlled, props);
397
391
  });
398
- (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this2), "toNumber", function (props) {
392
+ (0, _defineProperty2["default"])(_this2, "toNumber", function (props) {
399
393
  props.defaultValue = props.value;
400
394
  delete props.value;
401
395
  return /*#__PURE__*/_react["default"].createElement(_Control["default"], props);
402
396
  });
403
- (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this2), "toDoubleInput", function (props, control, cc) {
404
- var _context20, _context21;
397
+ (0, _defineProperty2["default"])(_this2, "toDoubleInput", function (props, control, cc) {
398
+ var _context18, _context19;
405
399
  props.defaultValue = props.value;
406
400
  props.doubleKey = props.key;
407
401
  props.doubleValue = _helper["default"].getObject(cc, props.key);
408
- props.onChangeKey1 = (0, _bind["default"])(_context20 = _this2.onChange).call(_context20, (0, _assertThisInitialized2["default"])(_this2), props.key[0]);
409
- props.onChangeKey2 = (0, _bind["default"])(_context21 = _this2.onChange).call(_context21, (0, _assertThisInitialized2["default"])(_this2), props.key[1]);
402
+ props.onChangeKey1 = (0, _bind["default"])(_context18 = _this2.onChange).call(_context18, _this2, props.key[0]);
403
+ props.onChangeKey2 = (0, _bind["default"])(_context19 = _this2.onChange).call(_context19, _this2, props.key[1]);
410
404
  delete props.value;
411
405
  return /*#__PURE__*/_react["default"].createElement(_Control["default"], props);
412
406
  });
413
- (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this2), "toSelect", function (props, _ref6) {
407
+ (0, _defineProperty2["default"])(_this2, "toSelect", function (props, _ref6) {
414
408
  var options = _ref6.options,
415
409
  key = _ref6.key;
416
410
  props.getPopupContainer = _this2.getPopupContainer;
@@ -418,14 +412,14 @@ var SuperForm2 = /*#__PURE__*/function (_React$Component2) {
418
412
  props.dropdownMatchSelectWidth = false;
419
413
  return /*#__PURE__*/_react["default"].createElement(_Control["default"], props);
420
414
  });
421
- (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this2), "toTreeSelect", function (props, filter) {
415
+ (0, _defineProperty2["default"])(_this2, "toTreeSelect", function (props, filter) {
422
416
  var container = _this2.getContainer();
423
417
  container && (props.getPopupContainer = container);
424
418
  props.options = _this2.getOptions(filter);
425
419
  props.onSearch = _this2.createSearchEvent(filter);
426
420
  return /*#__PURE__*/_react["default"].createElement(_Control["default"], props);
427
421
  });
428
- (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this2), "createSearchEvent", function (control) {
422
+ (0, _defineProperty2["default"])(_this2, "createSearchEvent", function (control) {
429
423
  if (_this2.props.onSearch) {
430
424
  return function (value) {
431
425
  return _this2.props.onSearch(control.key, value, control);
@@ -434,7 +428,7 @@ var SuperForm2 = /*#__PURE__*/function (_React$Component2) {
434
428
  return null;
435
429
  }
436
430
  });
437
- (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this2), "createGetCodeEvent", function (control) {
431
+ (0, _defineProperty2["default"])(_this2, "createGetCodeEvent", function (control) {
438
432
  if (_this2.props.onGetCode) {
439
433
  return function (value) {
440
434
  return _this2.props.onGetCode(control.key, value, control);
@@ -443,14 +437,14 @@ var SuperForm2 = /*#__PURE__*/function (_React$Component2) {
443
437
  return null;
444
438
  }
445
439
  });
446
- (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this2), "toSearch", function (props, control) {
440
+ (0, _defineProperty2["default"])(_this2, "toSearch", function (props, control) {
447
441
  props.getPopupContainer = _this2.getPopupContainer;
448
442
  props.options = _this2.getOptions(control.key, control.options);
449
443
  props.onSearch = _this2.createSearchEvent(control);
450
444
  props.dropdownMatchSelectWidth = false;
451
445
  return /*#__PURE__*/_react["default"].createElement(_Control["default"], props);
452
446
  });
453
- (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this2), "toDate", function (props, _ref7) {
447
+ (0, _defineProperty2["default"])(_this2, "toDate", function (props, _ref7) {
454
448
  var rule = _ref7.rule;
455
449
  props.getCalendarContainer = _this2.getPopupContainer;
456
450
  props.style = {
@@ -459,7 +453,7 @@ var SuperForm2 = /*#__PURE__*/function (_React$Component2) {
459
453
  rule && (props.disabledDate = _this2.validDate(rule));
460
454
  return /*#__PURE__*/_react["default"].createElement(_Control["default"], props);
461
455
  });
462
- (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this2), "toRangePicker", function (props, _ref8) {
456
+ (0, _defineProperty2["default"])(_this2, "toRangePicker", function (props, _ref8) {
463
457
  var rule = _ref8.rule;
464
458
  props.getCalendarContainer = _this2.getPopupContainer;
465
459
  props.style = {
@@ -468,32 +462,32 @@ var SuperForm2 = /*#__PURE__*/function (_React$Component2) {
468
462
  // rule && (props.disabledDate = this.validDate(rule));
469
463
  return /*#__PURE__*/_react["default"].createElement(_Control["default"], props);
470
464
  });
471
- (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this2), "toRadioGroup", function (props, _ref9) {
465
+ (0, _defineProperty2["default"])(_this2, "toRadioGroup", function (props, _ref9) {
472
466
  var key = _ref9.key,
473
467
  options = _ref9.options;
474
468
  props.options = _this2.getOptions(key, options);
475
469
  return /*#__PURE__*/_react["default"].createElement(_Control["default"], props);
476
470
  });
477
- (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this2), "captcha", function (props, control) {
471
+ (0, _defineProperty2["default"])(_this2, "captcha", function (props, control) {
478
472
  props.onGetCode = _this2.props.onGetCode;
479
473
  return /*#__PURE__*/_react["default"].createElement(_Control["default"], props);
480
474
  });
481
- (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this2), "toReadonly", function (props, _ref10) {
482
- var options = _ref10.options,
483
- key = _ref10.key;
475
+ (0, _defineProperty2["default"])(_this2, "toReadonly", function (props, _ref0) {
476
+ var options = _ref0.options,
477
+ key = _ref0.key;
484
478
  props.value = (0, _Control.getTitle)(props.value, _this2.getOptions(key, options));
485
479
  return /*#__PURE__*/_react["default"].createElement(_Control["default"], props);
486
480
  });
487
- (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this2), "selectSearch", function (props, control) {
481
+ (0, _defineProperty2["default"])(_this2, "selectSearch", function (props, control) {
488
482
  props.getPopupContainer = _this2.getPopupContainer;
489
483
  props.options = _this2.getOptions(control.key, control.options);
490
484
  props.onSearch = _this2.createSearchEvent(control);
491
485
  props.dropdownMatchSelectWidth = false;
492
486
  return /*#__PURE__*/_react["default"].createElement(_Control["default"], props);
493
487
  });
494
- (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this2), "area", function (props, _ref11) {
495
- var key = _ref11.key,
496
- options = _ref11.options;
488
+ (0, _defineProperty2["default"])(_this2, "area", function (props, _ref1) {
489
+ var key = _ref1.key,
490
+ options = _ref1.options;
497
491
  var readonly = _this2.props.readonly;
498
492
  props.parentKey = key;
499
493
  props.options = _this2.getOptions(key, options);
@@ -503,17 +497,17 @@ var SuperForm2 = /*#__PURE__*/function (_React$Component2) {
503
497
  }) ? true : false;
504
498
  return /*#__PURE__*/_react["default"].createElement(_Control["default"], props);
505
499
  });
506
- (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this2), "uploadImg", function (props, control) {
507
- var _context22;
500
+ (0, _defineProperty2["default"])(_this2, "uploadImg", function (props, control) {
501
+ var _context20;
508
502
  var readonly = _this2.props.readonly;
509
503
  props.required = control.required || false;
510
- props.onFileChange = (0, _bind["default"])(_context22 = _this2.onFileChange).call(_context22, (0, _assertThisInitialized2["default"])(_this2), control);
504
+ props.onFileChange = (0, _bind["default"])(_context20 = _this2.onFileChange).call(_context20, _this2, control);
511
505
  props.readonly = readonly === true || (0, _isArray["default"])(readonly) && (0, _some["default"])(readonly).call(readonly, function (readonlyKey) {
512
506
  return readonlyKey === control.key;
513
507
  }) ? true : false;
514
508
  return /*#__PURE__*/_react["default"].createElement(_Control["default"], props);
515
509
  });
516
- (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this2), "toCascader", function (props, control) {
510
+ (0, _defineProperty2["default"])(_this2, "toCascader", function (props, control) {
517
511
  var container = _this2.getContainer();
518
512
  container && (props.getPopupContainer = container);
519
513
  props.options = control.options || [];
@@ -522,17 +516,17 @@ var SuperForm2 = /*#__PURE__*/function (_React$Component2) {
522
516
  props.loadData = _this2.createSearchEvent(control);
523
517
  return /*#__PURE__*/_react["default"].createElement(_Control["default"], props);
524
518
  });
525
- (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this2), "toCheckbox", function (props, control) {
526
- var _context23;
519
+ (0, _defineProperty2["default"])(_this2, "toCheckbox", function (props, control) {
520
+ var _context21;
527
521
  var options = control.options || [];
528
522
  return /*#__PURE__*/_react["default"].createElement(_checkbox["default"].Group, {
529
523
  options: options,
530
524
  disabled: _this2.props.readonly === true,
531
- onChange: (0, _bind["default"])(_context23 = _this2.onBlur).call(_context23, (0, _assertThisInitialized2["default"])(_this2), control.key),
525
+ onChange: (0, _bind["default"])(_context21 = _this2.onBlur).call(_context21, _this2, control.key),
532
526
  value: _this2.props.value[control.key]
533
527
  });
534
528
  });
535
- (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this2), "toControl", function (props, control) {
529
+ (0, _defineProperty2["default"])(_this2, "toControl", function (props, control) {
536
530
  switch (props.type) {
537
531
  case 'readonly':
538
532
  return _this2.toReadonly(props, control);
@@ -582,34 +576,34 @@ var SuperForm2 = /*#__PURE__*/function (_React$Component2) {
582
576
  return 'type error';
583
577
  }
584
578
  });
585
- (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this2), "toLabel", function (_ref12, type) {
586
- var title = _ref12.title,
587
- showAdd = _ref12.showAdd,
588
- showQuery = _ref12.showQuery,
589
- key = _ref12.key,
590
- showInfo = _ref12.showInfo,
591
- showInfoTitle = _ref12.showInfoTitle,
592
- showIcon = _ref12.showIcon,
593
- iconType = _ref12.iconType;
579
+ (0, _defineProperty2["default"])(_this2, "toLabel", function (_ref10, type) {
580
+ var title = _ref10.title,
581
+ showAdd = _ref10.showAdd,
582
+ showQuery = _ref10.showQuery,
583
+ key = _ref10.key,
584
+ showInfo = _ref10.showInfo,
585
+ showInfoTitle = _ref10.showInfoTitle,
586
+ showIcon = _ref10.showIcon,
587
+ iconType = _ref10.iconType;
594
588
  if (showAdd && type !== 'readonly') {
595
- var _context24;
596
- var onClick = (0, _bind["default"])(_context24 = _this2.onAdd).call(_context24, (0, _assertThisInitialized2["default"])(_this2), key, title);
589
+ var _context22;
590
+ var onClick = (0, _bind["default"])(_context22 = _this2.onAdd).call(_context22, _this2, key, title);
597
591
  return /*#__PURE__*/_react["default"].createElement("span", null, title, /*#__PURE__*/_react["default"].createElement(_icon["default"], {
598
592
  role: "add",
599
593
  type: "plus-circle-o",
600
594
  onClick: onClick
601
595
  }));
602
596
  } else if (showQuery && type !== 'readonly') {
603
- var _context25;
604
- var _onClick = (0, _bind["default"])(_context25 = _this2.onAdd).call(_context25, (0, _assertThisInitialized2["default"])(_this2), key, title);
597
+ var _context23;
598
+ var _onClick = (0, _bind["default"])(_context23 = _this2.onAdd).call(_context23, _this2, key, title);
605
599
  return /*#__PURE__*/_react["default"].createElement("span", null, title, /*#__PURE__*/_react["default"].createElement(_icon["default"], {
606
600
  role: "add",
607
601
  type: "search",
608
602
  onClick: _onClick
609
603
  }));
610
604
  } else if (showIcon && iconType && type !== 'readonly' && showInfoTitle) {
611
- var _context26;
612
- var _onClick2 = (0, _bind["default"])(_context26 = _this2.onAdd).call(_context26, (0, _assertThisInitialized2["default"])(_this2), key, title);
605
+ var _context24;
606
+ var _onClick2 = (0, _bind["default"])(_context24 = _this2.onAdd).call(_context24, _this2, key, title);
613
607
  return /*#__PURE__*/_react["default"].createElement("span", null, title, /*#__PURE__*/_react["default"].createElement(_tooltip["default"], {
614
608
  title: showInfoTitle
615
609
  }, /*#__PURE__*/_react["default"].createElement(_icon["default"], {
@@ -618,8 +612,8 @@ var SuperForm2 = /*#__PURE__*/function (_React$Component2) {
618
612
  onClick: _onClick2
619
613
  })));
620
614
  } else if (showIcon && iconType && type !== 'readonly') {
621
- var _context27;
622
- var _onClick3 = (0, _bind["default"])(_context27 = _this2.onAdd).call(_context27, (0, _assertThisInitialized2["default"])(_this2), key, title);
615
+ var _context25;
616
+ var _onClick3 = (0, _bind["default"])(_context25 = _this2.onAdd).call(_context25, _this2, key, title);
623
617
  return /*#__PURE__*/_react["default"].createElement("span", null, title, /*#__PURE__*/_react["default"].createElement(_icon["default"], {
624
618
  role: "add",
625
619
  type: iconType,
@@ -635,7 +629,7 @@ var SuperForm2 = /*#__PURE__*/function (_React$Component2) {
635
629
  return title;
636
630
  }
637
631
  });
638
- (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this2), "toCol", function (span, control) {
632
+ (0, _defineProperty2["default"])(_this2, "toCol", function (span, control) {
639
633
  var factor = control.span || 1;
640
634
  var status = _this2.getValidState(control);
641
635
  var controlProps = _this2.getControlProps(control, status);
@@ -656,7 +650,7 @@ var SuperForm2 = /*#__PURE__*/function (_React$Component2) {
656
650
  key: control.key
657
651
  }, checkable && /*#__PURE__*/_react["default"].createElement(_checkbox["default"], {
658
652
  className: (0, _variables["default"])('SuperForm2').checkbox,
659
- onChange: (0, _bind["default"])(onCheckItem).call(onCheckItem, (0, _assertThisInitialized2["default"])(_this2), control),
653
+ onChange: (0, _bind["default"])(onCheckItem).call(onCheckItem, _this2, control),
660
654
  checked: control.checked
661
655
  }), /*#__PURE__*/_react["default"].createElement(FormItem, (0, _extends2["default"])({}, itemProps, {
662
656
  className: checkable ? (0, _variables["default"])('SuperForm2').formItemWithCheckbox : '',
@@ -684,8 +678,8 @@ var SuperForm2 = /*#__PURE__*/function (_React$Component2) {
684
678
  }
685
679
  });
686
680
  });
687
- (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this2), "toCols", function () {
688
- var _context28;
681
+ (0, _defineProperty2["default"])(_this2, "toCols", function () {
682
+ var _context26;
689
683
  var _this2$props5 = _this2.props,
690
684
  _this2$props5$colNum = _this2$props5.colNum,
691
685
  colNum = _this2$props5$colNum === void 0 ? defaultColNum : _this2$props5$colNum,
@@ -694,7 +688,7 @@ var SuperForm2 = /*#__PURE__*/function (_React$Component2) {
694
688
  colNum = 1;
695
689
  }
696
690
  var span = 24 / colNum;
697
- return (0, _map["default"])(_context28 = _this2.getControls()).call(_context28, function (control) {
691
+ return (0, _map["default"])(_context26 = _this2.getControls()).call(_context26, function (control) {
698
692
  if (allFullFather) {
699
693
  control.allFullFather = allFullFather;
700
694
  }
@@ -703,7 +697,8 @@ var SuperForm2 = /*#__PURE__*/function (_React$Component2) {
703
697
  });
704
698
  return _this2;
705
699
  }
706
- (0, _createClass2["default"])(SuperForm2, [{
700
+ (0, _inherits2["default"])(SuperForm2, _React$Component2);
701
+ return (0, _createClass2["default"])(SuperForm2, [{
707
702
  key: "render",
708
703
  value: function render() {
709
704
  this.initValidState();
@@ -721,7 +716,6 @@ var SuperForm2 = /*#__PURE__*/function (_React$Component2) {
721
716
  }, this.toCols())));
722
717
  }
723
718
  }]);
724
- return SuperForm2;
725
719
  }(_react["default"].Component);
726
720
  (0, _defineProperty2["default"])(SuperForm2, "propTypes", {
727
721
  controls: _propTypes["default"].arrayOf(_propTypes["default"].shape(ControlType)).isRequired,