cloud-b2b 1.1.57 → 1.1.58
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.
- package/es/Area/Area.js +11 -8
- package/es/CodeInput/CodeInput.js +19 -16
- package/es/Enhance/Dialogs.js +14 -11
- package/es/Enhance/Loading.js +18 -15
- package/es/Header/Header.js +20 -17
- package/es/Header/Vertical.js +14 -11
- package/es/ImageView/ImageView.js +13 -10
- package/es/InpurCascader/InputCascader.js +14 -11
- package/es/InputEditor/InputEditor.js +18 -16
- package/es/InputSearch/InputSearch.js +22 -19
- package/es/InputSelect/InputSelect.js +17 -14
- package/es/InputTreeSelect/InputTreeSelect.js +13 -10
- package/es/InputWriting/InputWriting.js +15 -12
- package/es/Layout/Layout.js +17 -14
- package/es/Link/Link.js +10 -7
- package/es/NumberInput/NumberInput.js +16 -13
- package/es/Search/Search.js +55 -52
- package/es/Sidebar/Sidebar.js +14 -11
- package/es/Sidebar2/Sidebar.js +16 -13
- package/es/SuperForm/SuperForm.js +79 -74
- package/es/SuperForm2/SuperForm.js +100 -95
- package/es/SuperPagination/SuperPagination.js +11 -8
- package/es/SuperTab/SuperTab.js +15 -12
- package/es/SuperTab2/SuperTab2.js +16 -13
- package/es/SuperTable/DragSortRow.js +15 -12
- package/es/SuperTable/FilterDropDown.js +14 -11
- package/es/SuperTable/SuperTable.js +71 -68
- package/es/SuperTable2/SuperTable2.js +89 -86
- package/es/SuperTable2/SuperTableCell.js +35 -25
- package/es/SuperTable3/FilterDropDown.js +14 -11
- package/es/SuperTable3/SuperTable.js +61 -58
- package/es/SuperToolbar/SuperToolbar.js +14 -11
- package/es/SuperUpload/SuperUpload.js +74 -74
- package/es/Viewer/ImageViews.js +19 -16
- package/es/Viewer/Viewer.js +14 -11
- package/es/helper.js +17 -18
- package/lib/Area/Area.js +11 -8
- package/lib/CodeInput/CodeInput.js +19 -16
- package/lib/Enhance/Dialogs.js +14 -11
- package/lib/Enhance/Loading.js +18 -15
- package/lib/Header/Header.js +20 -17
- package/lib/Header/Vertical.js +14 -11
- package/lib/ImageView/ImageView.js +13 -10
- package/lib/InpurCascader/InputCascader.js +14 -11
- package/lib/InputEditor/InputEditor.js +18 -16
- package/lib/InputSearch/InputSearch.js +22 -19
- package/lib/InputSelect/InputSelect.js +17 -14
- package/lib/InputTreeSelect/InputTreeSelect.js +13 -10
- package/lib/InputWriting/InputWriting.js +15 -12
- package/lib/Layout/Layout.js +17 -14
- package/lib/LayoutLink/LayoutLink.js +2 -1
- package/lib/Link/Link.js +10 -7
- package/lib/NumberInput/NumberInput.js +16 -13
- package/lib/Search/Search.js +57 -53
- package/lib/Sidebar/Sidebar.js +14 -11
- package/lib/Sidebar2/Sidebar.js +16 -13
- package/lib/SuperForm/SuperForm.js +81 -75
- package/lib/SuperForm2/SuperForm.js +102 -96
- package/lib/SuperPagination/SuperPagination.js +11 -8
- package/lib/SuperTab/SuperTab.js +15 -12
- package/lib/SuperTab2/SuperTab2.js +16 -13
- package/lib/SuperTable/DragSortRow.js +15 -12
- package/lib/SuperTable/FilterDropDown.js +14 -11
- package/lib/SuperTable/SuperTable.js +71 -68
- package/lib/SuperTable2/SuperTable2.js +91 -87
- package/lib/SuperTable2/SuperTableCell.js +35 -25
- package/lib/SuperTable3/FilterDropDown.js +14 -11
- package/lib/SuperTable3/SuperTable.js +61 -58
- package/lib/SuperToolbar/SuperToolbar.js +14 -11
- package/lib/SuperUpload/SuperUpload.js +76 -75
- package/lib/Viewer/ImageViews.js +19 -16
- package/lib/Viewer/Viewer.js +14 -11
- package/lib/helper.js +17 -18
- package/package.json +1 -1
|
@@ -15,9 +15,10 @@ import _Checkbox from "antd/es/checkbox";
|
|
|
15
15
|
import _typeof from "@babel/runtime-corejs3/helpers/typeof";
|
|
16
16
|
import _classCallCheck from "@babel/runtime-corejs3/helpers/classCallCheck";
|
|
17
17
|
import _createClass from "@babel/runtime-corejs3/helpers/createClass";
|
|
18
|
+
import _assertThisInitialized from "@babel/runtime-corejs3/helpers/assertThisInitialized";
|
|
19
|
+
import _inherits from "@babel/runtime-corejs3/helpers/inherits";
|
|
18
20
|
import _possibleConstructorReturn from "@babel/runtime-corejs3/helpers/possibleConstructorReturn";
|
|
19
21
|
import _getPrototypeOf from "@babel/runtime-corejs3/helpers/getPrototypeOf";
|
|
20
|
-
import _inherits from "@babel/runtime-corejs3/helpers/inherits";
|
|
21
22
|
import _defineProperty from "@babel/runtime-corejs3/helpers/defineProperty";
|
|
22
23
|
import _Form from "antd/es/form";
|
|
23
24
|
import _concatInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/concat";
|
|
@@ -28,9 +29,9 @@ import _includesInstanceProperty from "@babel/runtime-corejs3/core-js-stable/ins
|
|
|
28
29
|
import _bindInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/bind";
|
|
29
30
|
import _mapInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/map";
|
|
30
31
|
function ownKeys(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
31
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var
|
|
32
|
-
function
|
|
33
|
-
function _isNativeReflectConstruct() {
|
|
32
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context26, _context27; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context26 = ownKeys(Object(t), !0)).call(_context26, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context27 = ownKeys(Object(t))).call(_context27, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
33
|
+
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = _Reflect$construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
34
|
+
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; } }
|
|
34
35
|
import React from 'react';
|
|
35
36
|
import PropTypes from 'prop-types';
|
|
36
37
|
import ReactDOM from 'react-dom';
|
|
@@ -65,11 +66,13 @@ var ControlType = {
|
|
|
65
66
|
props: PropTypes.object
|
|
66
67
|
};
|
|
67
68
|
var Controlled = /*#__PURE__*/function (_React$Component) {
|
|
69
|
+
_inherits(Controlled, _React$Component);
|
|
70
|
+
var _super = _createSuper(Controlled);
|
|
68
71
|
function Controlled(props) {
|
|
69
72
|
var _this;
|
|
70
73
|
_classCallCheck(this, Controlled);
|
|
71
|
-
_this =
|
|
72
|
-
_defineProperty(_this, "onChange", function (value) {
|
|
74
|
+
_this = _super.call(this, props);
|
|
75
|
+
_defineProperty(_assertThisInitialized(_this), "onChange", function (value) {
|
|
73
76
|
var onChange = _this.props.onChange;
|
|
74
77
|
_this.setState({
|
|
75
78
|
value: value
|
|
@@ -81,8 +84,7 @@ var Controlled = /*#__PURE__*/function (_React$Component) {
|
|
|
81
84
|
};
|
|
82
85
|
return _this;
|
|
83
86
|
}
|
|
84
|
-
|
|
85
|
-
return _createClass(Controlled, [{
|
|
87
|
+
_createClass(Controlled, [{
|
|
86
88
|
key: "componentWillReceiveProps",
|
|
87
89
|
value: function componentWillReceiveProps(nextProps) {
|
|
88
90
|
if (this.props.value !== nextProps.value) {
|
|
@@ -102,6 +104,7 @@ var Controlled = /*#__PURE__*/function (_React$Component) {
|
|
|
102
104
|
return /*#__PURE__*/React.createElement(Control, props);
|
|
103
105
|
}
|
|
104
106
|
}]);
|
|
107
|
+
return Controlled;
|
|
105
108
|
}(React.Component);
|
|
106
109
|
/**
|
|
107
110
|
* colNum:[可选],表单的列数,默认为4
|
|
@@ -117,6 +120,8 @@ var Controlled = /*#__PURE__*/function (_React$Component) {
|
|
|
117
120
|
* onFileChange:上传组件触发,原型为func(key,{fileList, fileDeleteList})
|
|
118
121
|
*/
|
|
119
122
|
var SuperForm2 = /*#__PURE__*/function (_React$Component2) {
|
|
123
|
+
_inherits(SuperForm2, _React$Component2);
|
|
124
|
+
var _super2 = _createSuper(SuperForm2);
|
|
120
125
|
function SuperForm2() {
|
|
121
126
|
var _context;
|
|
122
127
|
var _this2;
|
|
@@ -124,35 +129,35 @@ var SuperForm2 = /*#__PURE__*/function (_React$Component2) {
|
|
|
124
129
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
125
130
|
args[_key] = arguments[_key];
|
|
126
131
|
}
|
|
127
|
-
_this2 =
|
|
128
|
-
_defineProperty(_this2, "onAdd", function (key, title) {
|
|
132
|
+
_this2 = _super2.call.apply(_super2, _concatInstanceProperty(_context = [this]).call(_context, args));
|
|
133
|
+
_defineProperty(_assertThisInitialized(_this2), "onAdd", function (key, title) {
|
|
129
134
|
var onAdd = _this2.props.onAdd;
|
|
130
135
|
onAdd && onAdd(key, title);
|
|
131
136
|
});
|
|
132
|
-
_defineProperty(_this2, "onFileChange", function (_ref, file) {
|
|
137
|
+
_defineProperty(_assertThisInitialized(_this2), "onFileChange", function (_ref, file) {
|
|
133
138
|
var key = _ref.key;
|
|
134
139
|
var onFileChange = _this2.props.onFileChange;
|
|
135
140
|
onFileChange && onFileChange(key, file);
|
|
136
141
|
});
|
|
137
|
-
_defineProperty(_this2, "onChange", function (key, value) {
|
|
142
|
+
_defineProperty(_assertThisInitialized(_this2), "onChange", function (key, value) {
|
|
138
143
|
var onChange = _this2.props.onChange;
|
|
139
144
|
if (onChange) {
|
|
140
145
|
_this2.onExitValid(key);
|
|
141
146
|
onChange(key, value);
|
|
142
147
|
}
|
|
143
148
|
});
|
|
144
|
-
_defineProperty(_this2, "onGetCode", function (key, value) {
|
|
149
|
+
_defineProperty(_assertThisInitialized(_this2), "onGetCode", function (key, value) {
|
|
145
150
|
var onGetCode = _this2.props.onGetCode;
|
|
146
151
|
onGetCode && onGetCode();
|
|
147
152
|
});
|
|
148
|
-
_defineProperty(_this2, "onBlur", function (key, value) {
|
|
153
|
+
_defineProperty(_assertThisInitialized(_this2), "onBlur", function (key, value) {
|
|
149
154
|
var onChange = _this2.props.onChange;
|
|
150
155
|
if (onChange) {
|
|
151
156
|
_this2.onExitValid(key);
|
|
152
157
|
onChange(key, value);
|
|
153
158
|
}
|
|
154
159
|
});
|
|
155
|
-
_defineProperty(_this2, "onExitValid", function (key, value) {
|
|
160
|
+
_defineProperty(_assertThisInitialized(_this2), "onExitValid", function (key, value) {
|
|
156
161
|
if (key === _this2.validKey) {
|
|
157
162
|
_this2.validKey = '';
|
|
158
163
|
_this2.props.onExitValid();
|
|
@@ -160,7 +165,7 @@ var SuperForm2 = /*#__PURE__*/function (_React$Component2) {
|
|
|
160
165
|
_this2.props.onChangeOperate && _this2.props.onChangeOperate(key, value);
|
|
161
166
|
});
|
|
162
167
|
// 动态生成getValidState方法
|
|
163
|
-
_defineProperty(_this2, "initValidState", function () {
|
|
168
|
+
_defineProperty(_assertThisInitialized(_this2), "initValidState", function () {
|
|
164
169
|
var _this2$props = _this2.props,
|
|
165
170
|
value = _this2$props.value,
|
|
166
171
|
valid = _this2$props.valid;
|
|
@@ -181,7 +186,7 @@ var SuperForm2 = /*#__PURE__*/function (_React$Component2) {
|
|
|
181
186
|
};
|
|
182
187
|
_this2.getValidState = valid ? _valid : invalid;
|
|
183
188
|
});
|
|
184
|
-
_defineProperty(_this2, "validDate", function (_ref3) {
|
|
189
|
+
_defineProperty(_assertThisInitialized(_this2), "validDate", function (_ref3) {
|
|
185
190
|
var key = _ref3.key,
|
|
186
191
|
type = _ref3.type;
|
|
187
192
|
return function (date) {
|
|
@@ -200,25 +205,25 @@ var SuperForm2 = /*#__PURE__*/function (_React$Component2) {
|
|
|
200
205
|
}
|
|
201
206
|
};
|
|
202
207
|
});
|
|
203
|
-
_defineProperty(_this2, "getPopupContainer", function () {
|
|
208
|
+
_defineProperty(_assertThisInitialized(_this2), "getPopupContainer", function () {
|
|
204
209
|
var container = _this2.props.container;
|
|
205
210
|
if (typeof container === 'undefined') {
|
|
206
|
-
return ReactDOM.findDOMNode(_this2);
|
|
211
|
+
return ReactDOM.findDOMNode(_assertThisInitialized(_this2));
|
|
207
212
|
} else if (typeof container === 'boolean') {
|
|
208
213
|
return document.body;
|
|
209
214
|
} else {
|
|
210
215
|
return ReactDOM.findDOMNode(container);
|
|
211
216
|
}
|
|
212
217
|
});
|
|
213
|
-
_defineProperty(_this2, "getMaxWidth", function () {
|
|
218
|
+
_defineProperty(_assertThisInitialized(_this2), "getMaxWidth", function () {
|
|
214
219
|
var _this2$props$colNum = _this2.props.colNum,
|
|
215
220
|
colNum = _this2$props$colNum === void 0 ? defaultColNum : _this2$props$colNum;
|
|
216
221
|
return colNum * 1200;
|
|
217
222
|
});
|
|
218
|
-
_defineProperty(_this2, "getContainer", function () {
|
|
223
|
+
_defineProperty(_assertThisInitialized(_this2), "getContainer", function () {
|
|
219
224
|
return _this2.props.getContainer;
|
|
220
225
|
});
|
|
221
|
-
_defineProperty(_this2, "getControls", function () {
|
|
226
|
+
_defineProperty(_assertThisInitialized(_this2), "getControls", function () {
|
|
222
227
|
var _this2$props2 = _this2.props,
|
|
223
228
|
hideControls = _this2$props2.hideControls,
|
|
224
229
|
controls = _this2$props2.controls;
|
|
@@ -232,7 +237,7 @@ var SuperForm2 = /*#__PURE__*/function (_React$Component2) {
|
|
|
232
237
|
});
|
|
233
238
|
}
|
|
234
239
|
});
|
|
235
|
-
_defineProperty(_this2, "getType", function (_ref4) {
|
|
240
|
+
_defineProperty(_assertThisInitialized(_this2), "getType", function (_ref4) {
|
|
236
241
|
var _context2;
|
|
237
242
|
var key = _ref4.key,
|
|
238
243
|
type = _ref4.type;
|
|
@@ -251,7 +256,7 @@ var SuperForm2 = /*#__PURE__*/function (_React$Component2) {
|
|
|
251
256
|
return type;
|
|
252
257
|
}
|
|
253
258
|
});
|
|
254
|
-
_defineProperty(_this2, "specialProps", function (type, _ref5) {
|
|
259
|
+
_defineProperty(_assertThisInitialized(_this2), "specialProps", function (type, _ref5) {
|
|
255
260
|
var key = _ref5.key,
|
|
256
261
|
_ref5$props = _ref5.props,
|
|
257
262
|
props = _ref5$props === void 0 ? {} : _ref5$props,
|
|
@@ -262,70 +267,70 @@ var SuperForm2 = /*#__PURE__*/function (_React$Component2) {
|
|
|
262
267
|
return {
|
|
263
268
|
type: 'textArea',
|
|
264
269
|
readonly: true,
|
|
265
|
-
onBlur: _bindInstanceProperty(_context3 = _this2.onExitValid).call(_context3, _this2, key)
|
|
270
|
+
onBlur: _bindInstanceProperty(_context3 = _this2.onExitValid).call(_context3, _assertThisInitialized(_this2), key)
|
|
266
271
|
};
|
|
267
272
|
} else if (originType === 'uploadImg') {
|
|
268
273
|
var _context4;
|
|
269
274
|
var commonProps = _this2.props.buildSuperUploadProps ? _this2.props.buildSuperUploadProps() : {};
|
|
270
275
|
return _objectSpread(_objectSpread(_objectSpread({}, props), commonProps), {}, {
|
|
271
276
|
readonly: true,
|
|
272
|
-
onBlur: _bindInstanceProperty(_context4 = _this2.onExitValid).call(_context4, _this2, key)
|
|
277
|
+
onBlur: _bindInstanceProperty(_context4 = _this2.onExitValid).call(_context4, _assertThisInitialized(_this2), key)
|
|
273
278
|
});
|
|
274
279
|
} else {
|
|
275
280
|
var _context5;
|
|
276
281
|
return {
|
|
277
|
-
onBlur: _bindInstanceProperty(_context5 = _this2.onExitValid).call(_context5, _this2, key)
|
|
282
|
+
onBlur: _bindInstanceProperty(_context5 = _this2.onExitValid).call(_context5, _assertThisInitialized(_this2), key)
|
|
278
283
|
};
|
|
279
284
|
}
|
|
280
285
|
} else if (type === 'text' || type === 'textArea') {
|
|
281
286
|
var _context6, _context7;
|
|
282
287
|
return _objectSpread(_objectSpread({}, props), {}, {
|
|
283
|
-
onChange: _bindInstanceProperty(_context6 = _this2.onExitValid).call(_context6, _this2, key),
|
|
284
|
-
onBlur: _bindInstanceProperty(_context7 = _this2.onChange).call(_context7, _this2, key)
|
|
288
|
+
onChange: _bindInstanceProperty(_context6 = _this2.onExitValid).call(_context6, _assertThisInitialized(_this2), key),
|
|
289
|
+
onBlur: _bindInstanceProperty(_context7 = _this2.onChange).call(_context7, _assertThisInitialized(_this2), key)
|
|
285
290
|
});
|
|
286
291
|
} else if (type === 'date') {
|
|
287
292
|
var _context8, _context9;
|
|
288
293
|
var propsObj = _objectSpread(_objectSpread({}, props), {}, {
|
|
289
|
-
onChange: _bindInstanceProperty(_context8 = _this2.onBlur).call(_context8, _this2, key),
|
|
290
|
-
onBlur: _bindInstanceProperty(_context9 = _this2.onExitValid).call(_context9, _this2, key)
|
|
294
|
+
onChange: _bindInstanceProperty(_context8 = _this2.onBlur).call(_context8, _assertThisInitialized(_this2), key),
|
|
295
|
+
onBlur: _bindInstanceProperty(_context9 = _this2.onExitValid).call(_context9, _assertThisInitialized(_this2), key)
|
|
291
296
|
});
|
|
292
297
|
if (_this2.props.onOpenChange && typeof _this2.props.onOpenChange === 'function') {
|
|
293
|
-
var
|
|
294
|
-
propsObj.onOpenChange = _bindInstanceProperty(
|
|
298
|
+
var _context10;
|
|
299
|
+
propsObj.onOpenChange = _bindInstanceProperty(_context10 = _this2.props.onOpenChange).call(_context10, _assertThisInitialized(_this2), key);
|
|
295
300
|
}
|
|
296
301
|
return propsObj;
|
|
297
302
|
} else if (type === 'captcha') {
|
|
298
|
-
var
|
|
303
|
+
var _context11, _context12, _context13;
|
|
299
304
|
return _objectSpread(_objectSpread({}, props), {}, {
|
|
300
|
-
onChange: _bindInstanceProperty(
|
|
301
|
-
onBlur: _bindInstanceProperty(
|
|
302
|
-
onGetCode: _bindInstanceProperty(
|
|
305
|
+
onChange: _bindInstanceProperty(_context11 = _this2.onBlur).call(_context11, _assertThisInitialized(_this2), key),
|
|
306
|
+
onBlur: _bindInstanceProperty(_context12 = _this2.onExitValid).call(_context12, _assertThisInitialized(_this2), key),
|
|
307
|
+
onGetCode: _bindInstanceProperty(_context13 = _this2.onGetCode).call(_context13, _assertThisInitialized(_this2), key)
|
|
303
308
|
});
|
|
304
309
|
} else if (type === 'area') {
|
|
305
|
-
var
|
|
310
|
+
var _context14, _context15;
|
|
306
311
|
return _objectSpread(_objectSpread({}, props), {}, {
|
|
307
|
-
onChange: _bindInstanceProperty(
|
|
308
|
-
onBlur: _bindInstanceProperty(
|
|
312
|
+
onChange: _bindInstanceProperty(_context14 = _this2.onBlur).call(_context14, _assertThisInitialized(_this2), key),
|
|
313
|
+
onBlur: _bindInstanceProperty(_context15 = _this2.onExitValid).call(_context15, _assertThisInitialized(_this2), key),
|
|
309
314
|
onAreaSearch: _this2.props.onAreaSearch
|
|
310
315
|
});
|
|
311
316
|
} else if (type === 'uploadImg') {
|
|
312
|
-
var
|
|
317
|
+
var _context16, _context17;
|
|
313
318
|
var _commonProps = _this2.props.buildSuperUploadProps ? _this2.props.buildSuperUploadProps() : {};
|
|
314
319
|
return _objectSpread(_objectSpread(_objectSpread({}, props), _commonProps), {}, {
|
|
315
|
-
onChange: _bindInstanceProperty(
|
|
316
|
-
onBlur: _bindInstanceProperty(
|
|
320
|
+
onChange: _bindInstanceProperty(_context16 = _this2.onBlur).call(_context16, _assertThisInitialized(_this2), key),
|
|
321
|
+
onBlur: _bindInstanceProperty(_context17 = _this2.onExitValid).call(_context17, _assertThisInitialized(_this2), key)
|
|
317
322
|
});
|
|
318
323
|
} else if (type === 'double') {
|
|
319
324
|
return props;
|
|
320
325
|
} else {
|
|
321
|
-
var
|
|
326
|
+
var _context18, _context19;
|
|
322
327
|
return _objectSpread(_objectSpread({}, props), {}, {
|
|
323
|
-
onChange: _bindInstanceProperty(
|
|
324
|
-
onBlur: _bindInstanceProperty(
|
|
328
|
+
onChange: _bindInstanceProperty(_context18 = _this2.onBlur).call(_context18, _assertThisInitialized(_this2), key),
|
|
329
|
+
onBlur: _bindInstanceProperty(_context19 = _this2.onExitValid).call(_context19, _assertThisInitialized(_this2), key)
|
|
325
330
|
});
|
|
326
331
|
}
|
|
327
332
|
});
|
|
328
|
-
_defineProperty(_this2, "getControlProps", function (control, status) {
|
|
333
|
+
_defineProperty(_assertThisInitialized(_this2), "getControlProps", function (control, status) {
|
|
329
334
|
var _this2$props3 = _this2.props,
|
|
330
335
|
_this2$props3$value = _this2$props3.value,
|
|
331
336
|
value = _this2$props3$value === void 0 ? {} : _this2$props3$value,
|
|
@@ -340,25 +345,25 @@ var SuperForm2 = /*#__PURE__*/function (_React$Component2) {
|
|
|
340
345
|
value: makeString(value[control.key])
|
|
341
346
|
});
|
|
342
347
|
});
|
|
343
|
-
_defineProperty(_this2, "getOptions", function (key, options) {
|
|
348
|
+
_defineProperty(_assertThisInitialized(_this2), "getOptions", function (key, options) {
|
|
344
349
|
var higher = _this2.props.options || {};
|
|
345
350
|
return higher[key] || options;
|
|
346
351
|
});
|
|
347
|
-
_defineProperty(_this2, "toEmpty", function (props) {});
|
|
348
|
-
_defineProperty(_this2, "toText", function (props) {
|
|
352
|
+
_defineProperty(_assertThisInitialized(_this2), "toEmpty", function (props) {});
|
|
353
|
+
_defineProperty(_assertThisInitialized(_this2), "toText", function (props) {
|
|
349
354
|
return /*#__PURE__*/React.createElement(Controlled, props);
|
|
350
355
|
});
|
|
351
|
-
_defineProperty(_this2, "toPassword", function (props) {
|
|
356
|
+
_defineProperty(_assertThisInitialized(_this2), "toPassword", function (props) {
|
|
352
357
|
return /*#__PURE__*/React.createElement(Controlled, props);
|
|
353
358
|
});
|
|
354
|
-
_defineProperty(_this2, "toEditor", function (props, control) {
|
|
359
|
+
_defineProperty(_assertThisInitialized(_this2), "toEditor", function (props, control) {
|
|
355
360
|
props.inputKey = control.key;
|
|
356
361
|
return /*#__PURE__*/React.createElement(Controlled, props);
|
|
357
362
|
});
|
|
358
|
-
_defineProperty(_this2, "toSelectWriting", function (props, control) {
|
|
363
|
+
_defineProperty(_assertThisInitialized(_this2), "toSelectWriting", function (props, control) {
|
|
359
364
|
return /*#__PURE__*/React.createElement(Controlled, props);
|
|
360
365
|
});
|
|
361
|
-
_defineProperty(_this2, "toTextArea", function (props, control) {
|
|
366
|
+
_defineProperty(_assertThisInitialized(_this2), "toTextArea", function (props, control) {
|
|
362
367
|
if (control.allFullFather) {
|
|
363
368
|
props.rows = control.rows;
|
|
364
369
|
props.maxLength = control.maxLength;
|
|
@@ -373,22 +378,22 @@ var SuperForm2 = /*#__PURE__*/function (_React$Component2) {
|
|
|
373
378
|
}
|
|
374
379
|
return /*#__PURE__*/React.createElement(Controlled, props);
|
|
375
380
|
});
|
|
376
|
-
_defineProperty(_this2, "toNumber", function (props) {
|
|
381
|
+
_defineProperty(_assertThisInitialized(_this2), "toNumber", function (props) {
|
|
377
382
|
props.defaultValue = props.value;
|
|
378
383
|
delete props.value;
|
|
379
384
|
return /*#__PURE__*/React.createElement(Control, props);
|
|
380
385
|
});
|
|
381
|
-
_defineProperty(_this2, "toDoubleInput", function (props, control, cc) {
|
|
382
|
-
var
|
|
386
|
+
_defineProperty(_assertThisInitialized(_this2), "toDoubleInput", function (props, control, cc) {
|
|
387
|
+
var _context20, _context21;
|
|
383
388
|
props.defaultValue = props.value;
|
|
384
389
|
props.doubleKey = props.key;
|
|
385
390
|
props.doubleValue = helper.getObject(cc, props.key);
|
|
386
|
-
props.onChangeKey1 = _bindInstanceProperty(
|
|
387
|
-
props.onChangeKey2 = _bindInstanceProperty(
|
|
391
|
+
props.onChangeKey1 = _bindInstanceProperty(_context20 = _this2.onChange).call(_context20, _assertThisInitialized(_this2), props.key[0]);
|
|
392
|
+
props.onChangeKey2 = _bindInstanceProperty(_context21 = _this2.onChange).call(_context21, _assertThisInitialized(_this2), props.key[1]);
|
|
388
393
|
delete props.value;
|
|
389
394
|
return /*#__PURE__*/React.createElement(Control, props);
|
|
390
395
|
});
|
|
391
|
-
_defineProperty(_this2, "toSelect", function (props, _ref6) {
|
|
396
|
+
_defineProperty(_assertThisInitialized(_this2), "toSelect", function (props, _ref6) {
|
|
392
397
|
var options = _ref6.options,
|
|
393
398
|
key = _ref6.key;
|
|
394
399
|
props.getPopupContainer = _this2.getPopupContainer;
|
|
@@ -396,7 +401,7 @@ var SuperForm2 = /*#__PURE__*/function (_React$Component2) {
|
|
|
396
401
|
props.dropdownMatchSelectWidth = false;
|
|
397
402
|
return /*#__PURE__*/React.createElement(Control, props);
|
|
398
403
|
});
|
|
399
|
-
_defineProperty(_this2, "toTreeSelect", function (props, filter) {
|
|
404
|
+
_defineProperty(_assertThisInitialized(_this2), "toTreeSelect", function (props, filter) {
|
|
400
405
|
var container = _this2.getContainer();
|
|
401
406
|
container && (props.getPopupContainer = container);
|
|
402
407
|
props.options = _this2.getOptions(filter);
|
|
@@ -404,7 +409,7 @@ var SuperForm2 = /*#__PURE__*/function (_React$Component2) {
|
|
|
404
409
|
props.placeholder = filter.placeholder || '';
|
|
405
410
|
return /*#__PURE__*/React.createElement(Control, props);
|
|
406
411
|
});
|
|
407
|
-
_defineProperty(_this2, "createSearchEvent", function (control) {
|
|
412
|
+
_defineProperty(_assertThisInitialized(_this2), "createSearchEvent", function (control) {
|
|
408
413
|
if (_this2.props.onSearch) {
|
|
409
414
|
return function (value) {
|
|
410
415
|
return _this2.props.onSearch(control.key, value, control);
|
|
@@ -413,7 +418,7 @@ var SuperForm2 = /*#__PURE__*/function (_React$Component2) {
|
|
|
413
418
|
return null;
|
|
414
419
|
}
|
|
415
420
|
});
|
|
416
|
-
_defineProperty(_this2, "createGetCodeEvent", function (control) {
|
|
421
|
+
_defineProperty(_assertThisInitialized(_this2), "createGetCodeEvent", function (control) {
|
|
417
422
|
if (_this2.props.onGetCode) {
|
|
418
423
|
return function (value) {
|
|
419
424
|
return _this2.props.onGetCode(control.key, value, control);
|
|
@@ -422,7 +427,7 @@ var SuperForm2 = /*#__PURE__*/function (_React$Component2) {
|
|
|
422
427
|
return null;
|
|
423
428
|
}
|
|
424
429
|
});
|
|
425
|
-
_defineProperty(_this2, "toSearch", function (props, control) {
|
|
430
|
+
_defineProperty(_assertThisInitialized(_this2), "toSearch", function (props, control) {
|
|
426
431
|
props.getPopupContainer = _this2.getPopupContainer;
|
|
427
432
|
props.options = _this2.getOptions(control.key, control.options);
|
|
428
433
|
props.onSearch = _this2.createSearchEvent(control);
|
|
@@ -430,7 +435,7 @@ var SuperForm2 = /*#__PURE__*/function (_React$Component2) {
|
|
|
430
435
|
props.size = 'large';
|
|
431
436
|
return /*#__PURE__*/React.createElement(Control, props);
|
|
432
437
|
});
|
|
433
|
-
_defineProperty(_this2, "toDate", function (props, _ref7) {
|
|
438
|
+
_defineProperty(_assertThisInitialized(_this2), "toDate", function (props, _ref7) {
|
|
434
439
|
var rule = _ref7.rule;
|
|
435
440
|
props.getCalendarContainer = _this2.getPopupContainer;
|
|
436
441
|
props.style = {
|
|
@@ -439,32 +444,32 @@ var SuperForm2 = /*#__PURE__*/function (_React$Component2) {
|
|
|
439
444
|
rule && (props.disabledDate = _this2.validDate(rule));
|
|
440
445
|
return /*#__PURE__*/React.createElement(Control, props);
|
|
441
446
|
});
|
|
442
|
-
_defineProperty(_this2, "toRadioGroup", function (props, _ref8) {
|
|
447
|
+
_defineProperty(_assertThisInitialized(_this2), "toRadioGroup", function (props, _ref8) {
|
|
443
448
|
var key = _ref8.key,
|
|
444
449
|
options = _ref8.options;
|
|
445
450
|
props.options = _this2.getOptions(key, options);
|
|
446
451
|
return /*#__PURE__*/React.createElement(Control, props);
|
|
447
452
|
});
|
|
448
|
-
_defineProperty(_this2, "captcha", function (props, control) {
|
|
453
|
+
_defineProperty(_assertThisInitialized(_this2), "captcha", function (props, control) {
|
|
449
454
|
props.onGetCode = _this2.props.onGetCode;
|
|
450
455
|
return /*#__PURE__*/React.createElement(Control, props);
|
|
451
456
|
});
|
|
452
|
-
_defineProperty(_this2, "toReadonly", function (props, _ref9) {
|
|
457
|
+
_defineProperty(_assertThisInitialized(_this2), "toReadonly", function (props, _ref9) {
|
|
453
458
|
var options = _ref9.options,
|
|
454
459
|
key = _ref9.key;
|
|
455
460
|
props.value = getTitle(props.value, _this2.getOptions(key, options));
|
|
456
461
|
return /*#__PURE__*/React.createElement(Control, props);
|
|
457
462
|
});
|
|
458
|
-
_defineProperty(_this2, "selectSearch", function (props, control) {
|
|
463
|
+
_defineProperty(_assertThisInitialized(_this2), "selectSearch", function (props, control) {
|
|
459
464
|
props.getPopupContainer = _this2.getPopupContainer;
|
|
460
465
|
props.options = _this2.getOptions(control.key, control.options);
|
|
461
466
|
props.onSearch = _this2.createSearchEvent(control);
|
|
462
467
|
props.dropdownMatchSelectWidth = false;
|
|
463
468
|
return /*#__PURE__*/React.createElement(Control, props);
|
|
464
469
|
});
|
|
465
|
-
_defineProperty(_this2, "area", function (props,
|
|
466
|
-
var key =
|
|
467
|
-
options =
|
|
470
|
+
_defineProperty(_assertThisInitialized(_this2), "area", function (props, _ref10) {
|
|
471
|
+
var key = _ref10.key,
|
|
472
|
+
options = _ref10.options;
|
|
468
473
|
var readonly = _this2.props.readonly;
|
|
469
474
|
props.parentKey = key;
|
|
470
475
|
props.options = _this2.getOptions(key, options);
|
|
@@ -474,17 +479,17 @@ var SuperForm2 = /*#__PURE__*/function (_React$Component2) {
|
|
|
474
479
|
}) ? true : false;
|
|
475
480
|
return /*#__PURE__*/React.createElement(Control, props);
|
|
476
481
|
});
|
|
477
|
-
_defineProperty(_this2, "uploadImg", function (props, control) {
|
|
478
|
-
var
|
|
482
|
+
_defineProperty(_assertThisInitialized(_this2), "uploadImg", function (props, control) {
|
|
483
|
+
var _context22;
|
|
479
484
|
var readonly = _this2.props.readonly;
|
|
480
485
|
props.required = control.required || false;
|
|
481
|
-
props.onFileChange = _bindInstanceProperty(
|
|
486
|
+
props.onFileChange = _bindInstanceProperty(_context22 = _this2.onFileChange).call(_context22, _assertThisInitialized(_this2), control);
|
|
482
487
|
props.readonly = readonly === true || _Array$isArray(readonly) && _someInstanceProperty(readonly).call(readonly, function (readonlyKey) {
|
|
483
488
|
return readonlyKey === control.key;
|
|
484
489
|
}) ? true : false;
|
|
485
490
|
return /*#__PURE__*/React.createElement(Control, props);
|
|
486
491
|
});
|
|
487
|
-
_defineProperty(_this2, "toCascader", function (props, control) {
|
|
492
|
+
_defineProperty(_assertThisInitialized(_this2), "toCascader", function (props, control) {
|
|
488
493
|
var container = _this2.getContainer();
|
|
489
494
|
container && (props.getPopupContainer = container);
|
|
490
495
|
props.options = control.options || [];
|
|
@@ -493,16 +498,16 @@ var SuperForm2 = /*#__PURE__*/function (_React$Component2) {
|
|
|
493
498
|
props.loadData = _this2.createSearchEvent(control);
|
|
494
499
|
return /*#__PURE__*/React.createElement(Control, props);
|
|
495
500
|
});
|
|
496
|
-
_defineProperty(_this2, "toCheckbox", function (props, control) {
|
|
497
|
-
var
|
|
501
|
+
_defineProperty(_assertThisInitialized(_this2), "toCheckbox", function (props, control) {
|
|
502
|
+
var _context23;
|
|
498
503
|
var options = control.options || [];
|
|
499
504
|
return /*#__PURE__*/React.createElement(_Checkbox.Group, {
|
|
500
505
|
options: options,
|
|
501
|
-
onChange: _bindInstanceProperty(
|
|
506
|
+
onChange: _bindInstanceProperty(_context23 = _this2.onBlur).call(_context23, _assertThisInitialized(_this2), control.key),
|
|
502
507
|
value: _this2.props.value[control.key]
|
|
503
508
|
});
|
|
504
509
|
});
|
|
505
|
-
_defineProperty(_this2, "toControl", function (props, control) {
|
|
510
|
+
_defineProperty(_assertThisInitialized(_this2), "toControl", function (props, control) {
|
|
506
511
|
switch (props.type) {
|
|
507
512
|
case 'readonly':
|
|
508
513
|
return _this2.toReadonly(props, control);
|
|
@@ -550,15 +555,15 @@ var SuperForm2 = /*#__PURE__*/function (_React$Component2) {
|
|
|
550
555
|
return 'type error';
|
|
551
556
|
}
|
|
552
557
|
});
|
|
553
|
-
_defineProperty(_this2, "toLabel", function (
|
|
554
|
-
var title =
|
|
555
|
-
showAdd =
|
|
556
|
-
key =
|
|
557
|
-
showInfo =
|
|
558
|
-
showInfoTitle =
|
|
558
|
+
_defineProperty(_assertThisInitialized(_this2), "toLabel", function (_ref11, type) {
|
|
559
|
+
var title = _ref11.title,
|
|
560
|
+
showAdd = _ref11.showAdd,
|
|
561
|
+
key = _ref11.key,
|
|
562
|
+
showInfo = _ref11.showInfo,
|
|
563
|
+
showInfoTitle = _ref11.showInfoTitle;
|
|
559
564
|
if (showAdd && type !== 'readonly') {
|
|
560
|
-
var
|
|
561
|
-
var onClick = _bindInstanceProperty(
|
|
565
|
+
var _context24;
|
|
566
|
+
var onClick = _bindInstanceProperty(_context24 = _this2.onAdd).call(_context24, _assertThisInitialized(_this2), key, title);
|
|
562
567
|
return /*#__PURE__*/React.createElement("span", null, title, /*#__PURE__*/React.createElement(_Icon, {
|
|
563
568
|
role: "add",
|
|
564
569
|
type: "plus-circle-o",
|
|
@@ -574,7 +579,7 @@ var SuperForm2 = /*#__PURE__*/function (_React$Component2) {
|
|
|
574
579
|
return title;
|
|
575
580
|
}
|
|
576
581
|
});
|
|
577
|
-
_defineProperty(_this2, "toCol", function (span, control) {
|
|
582
|
+
_defineProperty(_assertThisInitialized(_this2), "toCol", function (span, control) {
|
|
578
583
|
var factor = control.span || 1;
|
|
579
584
|
var status = _this2.getValidState(control);
|
|
580
585
|
var controlProps = _this2.getControlProps(control, status);
|
|
@@ -591,7 +596,7 @@ var SuperForm2 = /*#__PURE__*/function (_React$Component2) {
|
|
|
591
596
|
key: control.key
|
|
592
597
|
}, checkable && /*#__PURE__*/React.createElement(_Checkbox, {
|
|
593
598
|
className: variables('SuperForm2').checkbox,
|
|
594
|
-
onChange: _bindInstanceProperty(onCheckItem).call(onCheckItem, _this2, control),
|
|
599
|
+
onChange: _bindInstanceProperty(onCheckItem).call(onCheckItem, _assertThisInitialized(_this2), control),
|
|
595
600
|
checked: control.checked
|
|
596
601
|
}), /*#__PURE__*/React.createElement(FormItem, _extends({}, itemProps, {
|
|
597
602
|
className: checkable ? variables('SuperForm2').formItemWithCheckbox : '',
|
|
@@ -619,8 +624,8 @@ var SuperForm2 = /*#__PURE__*/function (_React$Component2) {
|
|
|
619
624
|
}
|
|
620
625
|
});
|
|
621
626
|
});
|
|
622
|
-
_defineProperty(_this2, "toCols", function () {
|
|
623
|
-
var
|
|
627
|
+
_defineProperty(_assertThisInitialized(_this2), "toCols", function () {
|
|
628
|
+
var _context25;
|
|
624
629
|
var _this2$props5 = _this2.props,
|
|
625
630
|
_this2$props5$colNum = _this2$props5.colNum,
|
|
626
631
|
colNum = _this2$props5$colNum === void 0 ? defaultColNum : _this2$props5$colNum,
|
|
@@ -629,7 +634,7 @@ var SuperForm2 = /*#__PURE__*/function (_React$Component2) {
|
|
|
629
634
|
colNum = 1;
|
|
630
635
|
}
|
|
631
636
|
var span = 24 / colNum;
|
|
632
|
-
return _mapInstanceProperty(
|
|
637
|
+
return _mapInstanceProperty(_context25 = _this2.getControls()).call(_context25, function (control) {
|
|
633
638
|
if (allFullFather) {
|
|
634
639
|
control.allFullFather = allFullFather;
|
|
635
640
|
}
|
|
@@ -638,8 +643,7 @@ var SuperForm2 = /*#__PURE__*/function (_React$Component2) {
|
|
|
638
643
|
});
|
|
639
644
|
return _this2;
|
|
640
645
|
}
|
|
641
|
-
|
|
642
|
-
return _createClass(SuperForm2, [{
|
|
646
|
+
_createClass(SuperForm2, [{
|
|
643
647
|
key: "render",
|
|
644
648
|
value: function render() {
|
|
645
649
|
this.initValidState();
|
|
@@ -657,6 +661,7 @@ var SuperForm2 = /*#__PURE__*/function (_React$Component2) {
|
|
|
657
661
|
}, this.toCols())));
|
|
658
662
|
}
|
|
659
663
|
}]);
|
|
664
|
+
return SuperForm2;
|
|
660
665
|
}(React.Component);
|
|
661
666
|
_defineProperty(SuperForm2, "propTypes", {
|
|
662
667
|
controls: PropTypes.arrayOf(PropTypes.shape(ControlType)).isRequired,
|
|
@@ -2,14 +2,15 @@ import _Reflect$construct from "@babel/runtime-corejs3/core-js-stable/reflect/co
|
|
|
2
2
|
import _Pagination from "antd/es/pagination";
|
|
3
3
|
import _classCallCheck from "@babel/runtime-corejs3/helpers/classCallCheck";
|
|
4
4
|
import _createClass from "@babel/runtime-corejs3/helpers/createClass";
|
|
5
|
+
import _assertThisInitialized from "@babel/runtime-corejs3/helpers/assertThisInitialized";
|
|
6
|
+
import _inherits from "@babel/runtime-corejs3/helpers/inherits";
|
|
5
7
|
import _possibleConstructorReturn from "@babel/runtime-corejs3/helpers/possibleConstructorReturn";
|
|
6
8
|
import _getPrototypeOf from "@babel/runtime-corejs3/helpers/getPrototypeOf";
|
|
7
|
-
import _inherits from "@babel/runtime-corejs3/helpers/inherits";
|
|
8
9
|
import _defineProperty from "@babel/runtime-corejs3/helpers/defineProperty";
|
|
9
10
|
import _concatInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/concat";
|
|
10
11
|
import _Object$assign from "@babel/runtime-corejs3/core-js-stable/object/assign";
|
|
11
|
-
function
|
|
12
|
-
function _isNativeReflectConstruct() {
|
|
12
|
+
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = _Reflect$construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
13
|
+
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; } }
|
|
13
14
|
import React from 'react';
|
|
14
15
|
import PropTypes from 'prop-types';
|
|
15
16
|
/**
|
|
@@ -24,6 +25,8 @@ import PropTypes from 'prop-types';
|
|
|
24
25
|
* onPageSizeChange: 页大小改变时触发,原型func(pageSize, pageNumber)
|
|
25
26
|
*/
|
|
26
27
|
var SuperPagination = /*#__PURE__*/function (_React$Component) {
|
|
28
|
+
_inherits(SuperPagination, _React$Component);
|
|
29
|
+
var _super = _createSuper(SuperPagination);
|
|
27
30
|
function SuperPagination() {
|
|
28
31
|
var _context;
|
|
29
32
|
var _this;
|
|
@@ -31,14 +34,14 @@ var SuperPagination = /*#__PURE__*/function (_React$Component) {
|
|
|
31
34
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
32
35
|
args[_key] = arguments[_key];
|
|
33
36
|
}
|
|
34
|
-
_this =
|
|
35
|
-
_defineProperty(_this, "onChange", function (page) {
|
|
37
|
+
_this = _super.call.apply(_super, _concatInstanceProperty(_context = [this]).call(_context, args));
|
|
38
|
+
_defineProperty(_assertThisInitialized(_this), "onChange", function (page) {
|
|
36
39
|
var _this$props$callback = _this.props.callback,
|
|
37
40
|
callback = _this$props$callback === void 0 ? {} : _this$props$callback;
|
|
38
41
|
var onPageNumberChange = _this.props.onPageNumberChange || callback.onPageNumberChange;
|
|
39
42
|
onPageNumberChange && onPageNumberChange(page);
|
|
40
43
|
});
|
|
41
|
-
_defineProperty(_this, "onShowSizeChange", function (current, size) {
|
|
44
|
+
_defineProperty(_assertThisInitialized(_this), "onShowSizeChange", function (current, size) {
|
|
42
45
|
var _this$props$callback2 = _this.props.callback,
|
|
43
46
|
callback = _this$props$callback2 === void 0 ? {} : _this$props$callback2;
|
|
44
47
|
var onPageSizeChange = _this.props.onPageSizeChange || callback.onPageSizeChange;
|
|
@@ -46,8 +49,7 @@ var SuperPagination = /*#__PURE__*/function (_React$Component) {
|
|
|
46
49
|
});
|
|
47
50
|
return _this;
|
|
48
51
|
}
|
|
49
|
-
|
|
50
|
-
return _createClass(SuperPagination, [{
|
|
52
|
+
_createClass(SuperPagination, [{
|
|
51
53
|
key: "render",
|
|
52
54
|
value: function render() {
|
|
53
55
|
var _this$props = this.props,
|
|
@@ -90,6 +92,7 @@ var SuperPagination = /*#__PURE__*/function (_React$Component) {
|
|
|
90
92
|
}, /*#__PURE__*/React.createElement(_Pagination, props));
|
|
91
93
|
}
|
|
92
94
|
}]);
|
|
95
|
+
return SuperPagination;
|
|
93
96
|
}(React.Component);
|
|
94
97
|
_defineProperty(SuperPagination, "propTypes", {
|
|
95
98
|
maxRecords: PropTypes.number,
|