cloud-b2b 1.1.16 → 1.1.18
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.
|
@@ -257,7 +257,10 @@ var InputSearch = /*#__PURE__*/function (_React$Component) {
|
|
|
257
257
|
value: _this.getValue(),
|
|
258
258
|
allowClear: true,
|
|
259
259
|
ref: inputRef,
|
|
260
|
-
|
|
260
|
+
onChange: _this.onSearch,
|
|
261
|
+
filterOption: function filterOption(e, option) {
|
|
262
|
+
return option;
|
|
263
|
+
},
|
|
261
264
|
onSelect: _this.onSelect,
|
|
262
265
|
onBlur: _this.onBlur
|
|
263
266
|
});
|
|
@@ -398,8 +398,10 @@ var SuperForm2 = /*#__PURE__*/function (_React$Component2) {
|
|
|
398
398
|
});
|
|
399
399
|
|
|
400
400
|
_defineProperty(_assertThisInitialized(_this2), "getControlProps", function (control, status) {
|
|
401
|
-
var _this2$
|
|
402
|
-
|
|
401
|
+
var _this2$props3 = _this2.props,
|
|
402
|
+
_this2$props3$value = _this2$props3.value,
|
|
403
|
+
value = _this2$props3$value === void 0 ? {} : _this2$props3$value,
|
|
404
|
+
readonly = _this2$props3.readonly;
|
|
403
405
|
|
|
404
406
|
var type = _this2.getType(control);
|
|
405
407
|
|
|
@@ -410,7 +412,8 @@ var SuperForm2 = /*#__PURE__*/function (_React$Component2) {
|
|
|
410
412
|
type: type
|
|
411
413
|
}, props), {}, {
|
|
412
414
|
size: defaultSize,
|
|
413
|
-
value: makeString(value[control.key])
|
|
415
|
+
value: makeString(value[control.key]),
|
|
416
|
+
readonly: readonly
|
|
414
417
|
});
|
|
415
418
|
});
|
|
416
419
|
|
|
@@ -686,9 +689,9 @@ var SuperForm2 = /*#__PURE__*/function (_React$Component2) {
|
|
|
686
689
|
required: control.required,
|
|
687
690
|
validateStatus: status
|
|
688
691
|
};
|
|
689
|
-
var _this2$
|
|
690
|
-
checkable = _this2$
|
|
691
|
-
onCheckItem = _this2$
|
|
692
|
+
var _this2$props4 = _this2.props,
|
|
693
|
+
checkable = _this2$props4.checkable,
|
|
694
|
+
onCheckItem = _this2$props4.onCheckItem;
|
|
692
695
|
return control.type !== 'empty' ? /*#__PURE__*/React.createElement(_Col, {
|
|
693
696
|
span: span * factor,
|
|
694
697
|
key: control.key
|
|
@@ -726,10 +729,10 @@ var SuperForm2 = /*#__PURE__*/function (_React$Component2) {
|
|
|
726
729
|
_defineProperty(_assertThisInitialized(_this2), "toCols", function () {
|
|
727
730
|
var _context23;
|
|
728
731
|
|
|
729
|
-
var _this2$
|
|
730
|
-
_this2$
|
|
731
|
-
colNum = _this2$
|
|
732
|
-
allFullFather = _this2$
|
|
732
|
+
var _this2$props5 = _this2.props,
|
|
733
|
+
_this2$props5$colNum = _this2$props5.colNum,
|
|
734
|
+
colNum = _this2$props5$colNum === void 0 ? defaultColNum : _this2$props5$colNum,
|
|
735
|
+
allFullFather = _this2$props5.allFullFather;
|
|
733
736
|
|
|
734
737
|
if (allFullFather) {
|
|
735
738
|
colNum = 1;
|
|
@@ -28,13 +28,13 @@ var _excluded = ["onRowClick"];
|
|
|
28
28
|
|
|
29
29
|
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof _Symbol !== "undefined" && _getIteratorMethod(o) || o["@@iterator"]; if (!it) { if (_Array$isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
|
|
30
30
|
|
|
31
|
-
function _unsupportedIterableToArray(o, minLen) { var
|
|
31
|
+
function _unsupportedIterableToArray(o, minLen) { var _context20; if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = _sliceInstanceProperty(_context20 = Object.prototype.toString.call(o)).call(_context20, 8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return _Array$from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
32
32
|
|
|
33
33
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
34
34
|
|
|
35
35
|
function ownKeys(object, enumerableOnly) { var keys = _Object$keys(object); if (_Object$getOwnPropertySymbols) { var symbols = _Object$getOwnPropertySymbols(object); enumerableOnly && (symbols = _filterInstanceProperty(symbols).call(symbols, function (sym) { return _Object$getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
36
36
|
|
|
37
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var
|
|
37
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var _context18, _context19; var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? _forEachInstanceProperty(_context18 = ownKeys(Object(source), !0)).call(_context18, function (key) { _defineProperty(target, key, source[key]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(target, _Object$getOwnPropertyDescriptors(source)) : _forEachInstanceProperty(_context19 = ownKeys(Object(source))).call(_context19, function (key) { _Object$defineProperty(target, key, _Object$getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
38
38
|
|
|
39
39
|
import _concatInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/concat";
|
|
40
40
|
import _Array$isArray from "@babel/runtime-corejs3/core-js-stable/array/is-array";
|
|
@@ -289,7 +289,7 @@ var SuperTable2 = /*#__PURE__*/function (_React$Component) {
|
|
|
289
289
|
var cellProps = {
|
|
290
290
|
value: value,
|
|
291
291
|
width: width,
|
|
292
|
-
type: readonly || _Array$isArray(isReadonly) && _includesInstanceProperty(isReadonly).call(isReadonly, key) ? 'readonly' : type,
|
|
292
|
+
type: readonly || _Array$isArray(isReadonly) && _includesInstanceProperty(isReadonly).call(isReadonly, key) || _this.props.readonly ? 'readonly' : type,
|
|
293
293
|
props: readonly ? {} : props,
|
|
294
294
|
error: _this.validField(required, value),
|
|
295
295
|
options: _this.getOptions(key, options, index),
|
|
@@ -419,6 +419,7 @@ var SuperTable2 = /*#__PURE__*/function (_React$Component) {
|
|
|
419
419
|
minHeight: '20px',
|
|
420
420
|
minWidth: '100px',
|
|
421
421
|
maxWidth: "".concat(col.width - 16, "px"),
|
|
422
|
+
color: col.isNeedShow ? '#1890ff' : '',
|
|
422
423
|
overflow: 'hidden',
|
|
423
424
|
textOverflow: 'ellipsis',
|
|
424
425
|
display: '-webkit-box',
|
|
@@ -645,6 +646,8 @@ var SuperTable2 = /*#__PURE__*/function (_React$Component) {
|
|
|
645
646
|
// }
|
|
646
647
|
// }
|
|
647
648
|
|
|
649
|
+
col.readonly = readonly;
|
|
650
|
+
debugger;
|
|
648
651
|
col.render = _this.getCellRender(col);
|
|
649
652
|
|
|
650
653
|
if (col.link) {
|
|
@@ -659,13 +662,13 @@ var SuperTable2 = /*#__PURE__*/function (_React$Component) {
|
|
|
659
662
|
_defineProperty(_assertThisInitialized(_this), "getDataSource", function (items, cols) {
|
|
660
663
|
return _mapInstanceProperty(items).call(items, function (item, index) {
|
|
661
664
|
return _reduceInstanceProperty(cols).call(cols, function (result, _ref16) {
|
|
662
|
-
var _context14;
|
|
665
|
+
var _context14, _context15;
|
|
663
666
|
|
|
664
667
|
var key = _ref16.key,
|
|
665
668
|
type = _ref16.type,
|
|
666
669
|
options = _ref16.options;
|
|
667
670
|
|
|
668
|
-
if (!_this.props.readonly && type && type !== 'readonly' && (!item.isReadonly || _Array$isArray(item.isReadonly) && !_includesInstanceProperty(_context14 = item.isReadonly).call(_context14, key))) {
|
|
671
|
+
if (!_this.props.readonly && type && type !== 'readonly' && (!item.isReadonly || _Array$isArray(item.isReadonly) && !_includesInstanceProperty(_context14 = item.isReadonly).call(_context14, key)) || _includesInstanceProperty(_context15 = ['img', 'switch', 'custom', 'img', 'toolbar', 'uploadImg']).call(_context15, type)) {
|
|
669
672
|
result[key] = item[key];
|
|
670
673
|
} else {
|
|
671
674
|
result[key] = getTitle(item[key], options);
|
|
@@ -821,7 +824,7 @@ var SuperTable2 = /*#__PURE__*/function (_React$Component) {
|
|
|
821
824
|
});
|
|
822
825
|
|
|
823
826
|
_defineProperty(_assertThisInitialized(_this), "getProps", function () {
|
|
824
|
-
var
|
|
827
|
+
var _context16;
|
|
825
828
|
|
|
826
829
|
var _this$props4 = _this.props,
|
|
827
830
|
cols = _this$props4.cols,
|
|
@@ -841,12 +844,12 @@ var SuperTable2 = /*#__PURE__*/function (_React$Component) {
|
|
|
841
844
|
_this$props4$onExpand = _this$props4.onExpand,
|
|
842
845
|
onExpand = _this$props4$onExpand === void 0 ? undefined : _this$props4$onExpand;
|
|
843
846
|
|
|
844
|
-
var widthX = _reduceInstanceProperty(
|
|
847
|
+
var widthX = _reduceInstanceProperty(_context16 = _filterInstanceProperty(cols).call(cols, function (col) {
|
|
845
848
|
return !col.hide;
|
|
846
|
-
})).call(
|
|
847
|
-
var
|
|
849
|
+
})).call(_context16, function (width, item) {
|
|
850
|
+
var _context17;
|
|
848
851
|
|
|
849
|
-
return width += item.width ? item.width : _includesInstanceProperty(
|
|
852
|
+
return width += item.width ? item.width : _includesInstanceProperty(_context17 = ['index', 'checked']).call(_context17, item.key) ? 70 : item.type === 'img' ? 200 : 120;
|
|
850
853
|
}, 0);
|
|
851
854
|
|
|
852
855
|
var scrollProps = !helper.isEmpty2(expandedRowRender) ? {
|
|
@@ -275,7 +275,10 @@ var InputSearch = /*#__PURE__*/function (_React$Component) {
|
|
|
275
275
|
value: _this.getValue(),
|
|
276
276
|
allowClear: true,
|
|
277
277
|
ref: inputRef,
|
|
278
|
-
|
|
278
|
+
onChange: _this.onSearch,
|
|
279
|
+
filterOption: function filterOption(e, option) {
|
|
280
|
+
return option;
|
|
281
|
+
},
|
|
279
282
|
onSelect: _this.onSelect,
|
|
280
283
|
onBlur: _this.onBlur
|
|
281
284
|
});
|
|
@@ -434,8 +434,10 @@ var SuperForm2 = /*#__PURE__*/function (_React$Component2) {
|
|
|
434
434
|
}
|
|
435
435
|
});
|
|
436
436
|
(0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this2), "getControlProps", function (control, status) {
|
|
437
|
-
var _this2$
|
|
438
|
-
|
|
437
|
+
var _this2$props3 = _this2.props,
|
|
438
|
+
_this2$props3$value = _this2$props3.value,
|
|
439
|
+
value = _this2$props3$value === void 0 ? {} : _this2$props3$value,
|
|
440
|
+
readonly = _this2$props3.readonly;
|
|
439
441
|
|
|
440
442
|
var type = _this2.getType(control);
|
|
441
443
|
|
|
@@ -446,7 +448,8 @@ var SuperForm2 = /*#__PURE__*/function (_React$Component2) {
|
|
|
446
448
|
type: type
|
|
447
449
|
}, props), {}, {
|
|
448
450
|
size: defaultSize,
|
|
449
|
-
value: (0, _Control.makeString)(value[control.key])
|
|
451
|
+
value: (0, _Control.makeString)(value[control.key]),
|
|
452
|
+
readonly: readonly
|
|
450
453
|
});
|
|
451
454
|
});
|
|
452
455
|
(0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this2), "getOptions", function (key, options) {
|
|
@@ -697,9 +700,9 @@ var SuperForm2 = /*#__PURE__*/function (_React$Component2) {
|
|
|
697
700
|
required: control.required,
|
|
698
701
|
validateStatus: status
|
|
699
702
|
};
|
|
700
|
-
var _this2$
|
|
701
|
-
checkable = _this2$
|
|
702
|
-
onCheckItem = _this2$
|
|
703
|
+
var _this2$props4 = _this2.props,
|
|
704
|
+
checkable = _this2$props4.checkable,
|
|
705
|
+
onCheckItem = _this2$props4.onCheckItem;
|
|
703
706
|
return control.type !== 'empty' ? /*#__PURE__*/_react["default"].createElement(_col["default"], {
|
|
704
707
|
span: span * factor,
|
|
705
708
|
key: control.key
|
|
@@ -736,10 +739,10 @@ var SuperForm2 = /*#__PURE__*/function (_React$Component2) {
|
|
|
736
739
|
(0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this2), "toCols", function () {
|
|
737
740
|
var _context23;
|
|
738
741
|
|
|
739
|
-
var _this2$
|
|
740
|
-
_this2$
|
|
741
|
-
colNum = _this2$
|
|
742
|
-
allFullFather = _this2$
|
|
742
|
+
var _this2$props5 = _this2.props,
|
|
743
|
+
_this2$props5$colNum = _this2$props5.colNum,
|
|
744
|
+
colNum = _this2$props5$colNum === void 0 ? defaultColNum : _this2$props5$colNum,
|
|
745
|
+
allFullFather = _this2$props5.allFullFather;
|
|
743
746
|
|
|
744
747
|
if (allFullFather) {
|
|
745
748
|
colNum = 1;
|
|
@@ -114,13 +114,13 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
|
114
114
|
|
|
115
115
|
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof _Symbol !== "undefined" && _getIteratorMethod(o) || o["@@iterator"]; if (!it) { if (_Array$isArray2(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
|
|
116
116
|
|
|
117
|
-
function _unsupportedIterableToArray(o, minLen) { var
|
|
117
|
+
function _unsupportedIterableToArray(o, minLen) { var _context20; if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = _sliceInstanceProperty(_context20 = Object.prototype.toString.call(o)).call(_context20, 8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return _Array$from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
118
118
|
|
|
119
119
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
120
120
|
|
|
121
121
|
function ownKeys(object, enumerableOnly) { var keys = _Object$keys(object); if (_Object$getOwnPropertySymbols) { var symbols = _Object$getOwnPropertySymbols(object); enumerableOnly && (symbols = _filterInstanceProperty2(symbols).call(symbols, function (sym) { return _Object$getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
122
122
|
|
|
123
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var
|
|
123
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var _context18, _context19; var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? _forEachInstanceProperty(_context18 = ownKeys(Object(source), !0)).call(_context18, function (key) { (0, _defineProperty2["default"])(target, key, source[key]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(target, _Object$getOwnPropertyDescriptors(source)) : _forEachInstanceProperty(_context19 = ownKeys(Object(source))).call(_context19, function (key) { _Object$defineProperty(target, key, _Object$getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
124
124
|
|
|
125
125
|
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); }; }
|
|
126
126
|
|
|
@@ -341,7 +341,7 @@ var SuperTable2 = /*#__PURE__*/function (_React$Component) {
|
|
|
341
341
|
var cellProps = {
|
|
342
342
|
value: value,
|
|
343
343
|
width: width,
|
|
344
|
-
type: readonly || (0, _isArray["default"])(isReadonly) && (0, _includes["default"])(isReadonly).call(isReadonly, key) ? 'readonly' : type,
|
|
344
|
+
type: readonly || (0, _isArray["default"])(isReadonly) && (0, _includes["default"])(isReadonly).call(isReadonly, key) || _this.props.readonly ? 'readonly' : type,
|
|
345
345
|
props: readonly ? {} : props,
|
|
346
346
|
error: _this.validField(required, value),
|
|
347
347
|
options: _this.getOptions(key, options, index),
|
|
@@ -468,6 +468,7 @@ var SuperTable2 = /*#__PURE__*/function (_React$Component) {
|
|
|
468
468
|
minHeight: '20px',
|
|
469
469
|
minWidth: '100px',
|
|
470
470
|
maxWidth: "".concat(col.width - 16, "px"),
|
|
471
|
+
color: col.isNeedShow ? '#1890ff' : '',
|
|
471
472
|
overflow: 'hidden',
|
|
472
473
|
textOverflow: 'ellipsis',
|
|
473
474
|
display: '-webkit-box',
|
|
@@ -687,6 +688,8 @@ var SuperTable2 = /*#__PURE__*/function (_React$Component) {
|
|
|
687
688
|
// }
|
|
688
689
|
// }
|
|
689
690
|
|
|
691
|
+
col.readonly = readonly;
|
|
692
|
+
debugger;
|
|
690
693
|
col.render = _this.getCellRender(col);
|
|
691
694
|
|
|
692
695
|
if (col.link) {
|
|
@@ -700,13 +703,13 @@ var SuperTable2 = /*#__PURE__*/function (_React$Component) {
|
|
|
700
703
|
(0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "getDataSource", function (items, cols) {
|
|
701
704
|
return (0, _map["default"])(items).call(items, function (item, index) {
|
|
702
705
|
return (0, _reduce["default"])(cols).call(cols, function (result, _ref16) {
|
|
703
|
-
var _context14;
|
|
706
|
+
var _context14, _context15;
|
|
704
707
|
|
|
705
708
|
var key = _ref16.key,
|
|
706
709
|
type = _ref16.type,
|
|
707
710
|
options = _ref16.options;
|
|
708
711
|
|
|
709
|
-
if (!_this.props.readonly && type && type !== 'readonly' && (!item.isReadonly || (0, _isArray["default"])(item.isReadonly) && !(0, _includes["default"])(_context14 = item.isReadonly).call(_context14, key))) {
|
|
712
|
+
if (!_this.props.readonly && type && type !== 'readonly' && (!item.isReadonly || (0, _isArray["default"])(item.isReadonly) && !(0, _includes["default"])(_context14 = item.isReadonly).call(_context14, key)) || (0, _includes["default"])(_context15 = ['img', 'switch', 'custom', 'img', 'toolbar', 'uploadImg']).call(_context15, type)) {
|
|
710
713
|
result[key] = item[key];
|
|
711
714
|
} else {
|
|
712
715
|
result[key] = (0, _Control.getTitle)(item[key], options);
|
|
@@ -855,7 +858,7 @@ var SuperTable2 = /*#__PURE__*/function (_React$Component) {
|
|
|
855
858
|
};
|
|
856
859
|
});
|
|
857
860
|
(0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "getProps", function () {
|
|
858
|
-
var
|
|
861
|
+
var _context16;
|
|
859
862
|
|
|
860
863
|
var _this$props4 = _this.props,
|
|
861
864
|
cols = _this$props4.cols,
|
|
@@ -874,12 +877,12 @@ var SuperTable2 = /*#__PURE__*/function (_React$Component) {
|
|
|
874
877
|
expandedRowRender = _this$props4$expanded === void 0 ? undefined : _this$props4$expanded,
|
|
875
878
|
_this$props4$onExpand = _this$props4.onExpand,
|
|
876
879
|
onExpand = _this$props4$onExpand === void 0 ? undefined : _this$props4$onExpand;
|
|
877
|
-
var widthX = (0, _reduce["default"])(
|
|
880
|
+
var widthX = (0, _reduce["default"])(_context16 = (0, _filter["default"])(cols).call(cols, function (col) {
|
|
878
881
|
return !col.hide;
|
|
879
|
-
})).call(
|
|
880
|
-
var
|
|
882
|
+
})).call(_context16, function (width, item) {
|
|
883
|
+
var _context17;
|
|
881
884
|
|
|
882
|
-
return width += item.width ? item.width : (0, _includes["default"])(
|
|
885
|
+
return width += item.width ? item.width : (0, _includes["default"])(_context17 = ['index', 'checked']).call(_context17, item.key) ? 70 : item.type === 'img' ? 200 : 120;
|
|
883
886
|
}, 0);
|
|
884
887
|
var scrollProps = !_helper["default"].isEmpty2(expandedRowRender) ? {
|
|
885
888
|
expandedRowRender: expandedRowRender
|