cloud-b2b 1.1.10 → 1.1.13
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/SuperTable2/SuperTable2.js +20 -20
- package/es/SuperTable2/SuperTable2.less +3 -3
- package/es/SuperUpload/SuperUpload.less +2 -1
- package/lib/SuperTable2/SuperTable2.js +20 -20
- package/lib/SuperTable2/SuperTable2.less +3 -3
- package/lib/SuperUpload/SuperUpload.less +2 -1
- package/package.json +4 -4
|
@@ -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 _context19; if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = _sliceInstanceProperty(_context19 = Object.prototype.toString.call(o)).call(_context19, 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 _context17, _context18; var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? _forEachInstanceProperty(_context17 = ownKeys(Object(source), !0)).call(_context17, function (key) { _defineProperty(target, key, source[key]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(target, _Object$getOwnPropertyDescriptors(source)) : _forEachInstanceProperty(_context18 = ownKeys(Object(source))).call(_context18, 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";
|
|
@@ -408,7 +408,7 @@ var SuperTable2 = /*#__PURE__*/function (_React$Component) {
|
|
|
408
408
|
|
|
409
409
|
_defineProperty(_assertThisInitialized(_this), "getCellRender", function (col) {
|
|
410
410
|
return function (value, record, index) {
|
|
411
|
-
var _context3, _context4, _context5, _context6, _context7;
|
|
411
|
+
var _context3, _context4, _context5, _context6, _context7, _context8, _context9, _context10;
|
|
412
412
|
|
|
413
413
|
var realType = record._isEdit === true && _this.canReadonly(col.type) ? col.editType : col.type;
|
|
414
414
|
|
|
@@ -487,7 +487,7 @@ var SuperTable2 = /*#__PURE__*/function (_React$Component) {
|
|
|
487
487
|
|
|
488
488
|
case 'img':
|
|
489
489
|
return value ? typeof value === 'string' ? /*#__PURE__*/React.createElement("img", {
|
|
490
|
-
src: value,
|
|
490
|
+
src: _includesInstanceProperty(value).call(value, 'http') ? value : _concatInstanceProperty(_context7 = "".concat(window.location.origin, "/api/proxy/file-center-service/")).call(_context7, value),
|
|
491
491
|
style: {
|
|
492
492
|
width: '80px',
|
|
493
493
|
height: '80px'
|
|
@@ -498,7 +498,7 @@ var SuperTable2 = /*#__PURE__*/function (_React$Component) {
|
|
|
498
498
|
maxWidth: "".concat(col.width, "px")
|
|
499
499
|
}
|
|
500
500
|
}, /*#__PURE__*/React.createElement("img", {
|
|
501
|
-
src: value.img,
|
|
501
|
+
src: _includesInstanceProperty(_context8 = value.img).call(_context8, 'http') ? value.img : _concatInstanceProperty(_context9 = "".concat(window.location.origin, "/api/proxy/file-center-service/")).call(_context9, value.img),
|
|
502
502
|
style: {
|
|
503
503
|
width: '80px',
|
|
504
504
|
height: '80px'
|
|
@@ -526,7 +526,7 @@ var SuperTable2 = /*#__PURE__*/function (_React$Component) {
|
|
|
526
526
|
var commonProps = _this.props.callback.buildSuperUploadProps ? _this.props.callback.buildSuperUploadProps() : {};
|
|
527
527
|
|
|
528
528
|
var uploadProps = _objectSpread(_objectSpread(_objectSpread(_objectSpread({
|
|
529
|
-
onFileChange: _this.props.callback.onTableFileChange ? _bindInstanceProperty(
|
|
529
|
+
onFileChange: _this.props.callback.onTableFileChange ? _bindInstanceProperty(_context10 = _this.props.callback.onTableFileChange).call(_context10, null, col.key, index) : undefined,
|
|
530
530
|
type: col.type
|
|
531
531
|
}, col.props), _this.props), commonProps), {}, {
|
|
532
532
|
value: _this.props.items[index][col.key]
|
|
@@ -614,26 +614,26 @@ var SuperTable2 = /*#__PURE__*/function (_React$Component) {
|
|
|
614
614
|
});
|
|
615
615
|
|
|
616
616
|
_defineProperty(_assertThisInitialized(_this), "canReadonly", function (type) {
|
|
617
|
-
var
|
|
617
|
+
var _context11;
|
|
618
618
|
|
|
619
|
-
return !_includesInstanceProperty(
|
|
619
|
+
return !_includesInstanceProperty(_context11 = ['index', 'checkbox', 'link', 'button', 'switch', 'custom', 'img', 'toolbar', 'uploadImg']).call(_context11, type);
|
|
620
620
|
});
|
|
621
621
|
|
|
622
622
|
_defineProperty(_assertThisInitialized(_this), "getColumns", function (cols) {
|
|
623
|
-
var
|
|
623
|
+
var _context12;
|
|
624
624
|
|
|
625
625
|
var readonly = _this.props.readonly;
|
|
626
|
-
return _mapInstanceProperty(
|
|
626
|
+
return _mapInstanceProperty(_context12 = _filterInstanceProperty(cols).call(cols, function (col) {
|
|
627
627
|
return !col.hide;
|
|
628
|
-
})).call(
|
|
629
|
-
var
|
|
628
|
+
})).call(_context12, function (_ref15, index) {
|
|
629
|
+
var _context13;
|
|
630
630
|
|
|
631
631
|
var col = _extends({}, _ref15);
|
|
632
632
|
|
|
633
633
|
col.className = _this.getColumnClassName(col);
|
|
634
634
|
col.title = _this.getColumnTitle(col);
|
|
635
635
|
col.dataIndex = col.key;
|
|
636
|
-
col.width = col.width ? col.width : _includesInstanceProperty(
|
|
636
|
+
col.width = col.width ? col.width : _includesInstanceProperty(_context13 = ['index', 'checked']).call(_context13, col.key) ? 70 : col.type === 'img' ? 200 : 120; // const {props = {}} = col;
|
|
637
637
|
// const {edit = false} = props
|
|
638
638
|
// if (!(readonly || col.type === 'readonly') || !this.canReadonly(col.type)) {
|
|
639
639
|
// if ( !edit && ['text', 'number', 'select', 'date', 'search', 'readonly', 'textArea', 'selectSearch'].includes(col.type)){
|
|
@@ -655,13 +655,13 @@ var SuperTable2 = /*#__PURE__*/function (_React$Component) {
|
|
|
655
655
|
_defineProperty(_assertThisInitialized(_this), "getDataSource", function (items, cols) {
|
|
656
656
|
return _mapInstanceProperty(items).call(items, function (item, index) {
|
|
657
657
|
return _reduceInstanceProperty(cols).call(cols, function (result, _ref16) {
|
|
658
|
-
var
|
|
658
|
+
var _context14;
|
|
659
659
|
|
|
660
660
|
var key = _ref16.key,
|
|
661
661
|
type = _ref16.type,
|
|
662
662
|
options = _ref16.options;
|
|
663
663
|
|
|
664
|
-
if (!_this.props.readonly && type && type !== 'readonly' && (!item.isReadonly || _Array$isArray(item.isReadonly) && !_includesInstanceProperty(
|
|
664
|
+
if (!_this.props.readonly && type && type !== 'readonly' && (!item.isReadonly || _Array$isArray(item.isReadonly) && !_includesInstanceProperty(_context14 = item.isReadonly).call(_context14, key))) {
|
|
665
665
|
result[key] = item[key];
|
|
666
666
|
} else {
|
|
667
667
|
result[key] = getTitle(item[key], options);
|
|
@@ -817,7 +817,7 @@ var SuperTable2 = /*#__PURE__*/function (_React$Component) {
|
|
|
817
817
|
});
|
|
818
818
|
|
|
819
819
|
_defineProperty(_assertThisInitialized(_this), "getProps", function () {
|
|
820
|
-
var
|
|
820
|
+
var _context15;
|
|
821
821
|
|
|
822
822
|
var _this$props4 = _this.props,
|
|
823
823
|
cols = _this$props4.cols,
|
|
@@ -837,12 +837,12 @@ var SuperTable2 = /*#__PURE__*/function (_React$Component) {
|
|
|
837
837
|
_this$props4$onExpand = _this$props4.onExpand,
|
|
838
838
|
onExpand = _this$props4$onExpand === void 0 ? undefined : _this$props4$onExpand;
|
|
839
839
|
|
|
840
|
-
var widthX = _reduceInstanceProperty(
|
|
840
|
+
var widthX = _reduceInstanceProperty(_context15 = _filterInstanceProperty(cols).call(cols, function (col) {
|
|
841
841
|
return !col.hide;
|
|
842
|
-
})).call(
|
|
843
|
-
var
|
|
842
|
+
})).call(_context15, function (width, item) {
|
|
843
|
+
var _context16;
|
|
844
844
|
|
|
845
|
-
return width += item.width ? item.width : _includesInstanceProperty(
|
|
845
|
+
return width += item.width ? item.width : _includesInstanceProperty(_context16 = ['index', 'checked']).call(_context16, item.key) ? 70 : item.type === 'img' ? 200 : 120;
|
|
846
846
|
}, 0);
|
|
847
847
|
|
|
848
848
|
var scrollProps = !helper.isEmpty2(expandedRowRender) ? {
|
|
@@ -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 _context19; if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = _sliceInstanceProperty(_context19 = Object.prototype.toString.call(o)).call(_context19, 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 _context17, _context18; var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? _forEachInstanceProperty(_context17 = ownKeys(Object(source), !0)).call(_context17, function (key) { (0, _defineProperty2["default"])(target, key, source[key]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(target, _Object$getOwnPropertyDescriptors(source)) : _forEachInstanceProperty(_context18 = ownKeys(Object(source))).call(_context18, 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
|
|
|
@@ -457,7 +457,7 @@ var SuperTable2 = /*#__PURE__*/function (_React$Component) {
|
|
|
457
457
|
});
|
|
458
458
|
(0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "getCellRender", function (col) {
|
|
459
459
|
return function (value, record, index) {
|
|
460
|
-
var _context3, _context4, _context5, _context6, _context7;
|
|
460
|
+
var _context3, _context4, _context5, _context6, _context7, _context8, _context9, _context10;
|
|
461
461
|
|
|
462
462
|
var realType = record._isEdit === true && _this.canReadonly(col.type) ? col.editType : col.type;
|
|
463
463
|
|
|
@@ -536,7 +536,7 @@ var SuperTable2 = /*#__PURE__*/function (_React$Component) {
|
|
|
536
536
|
|
|
537
537
|
case 'img':
|
|
538
538
|
return value ? typeof value === 'string' ? /*#__PURE__*/_react["default"].createElement("img", {
|
|
539
|
-
src: value,
|
|
539
|
+
src: (0, _includes["default"])(value).call(value, 'http') ? value : (0, _concat["default"])(_context7 = "".concat(window.location.origin, "/api/proxy/file-center-service/")).call(_context7, value),
|
|
540
540
|
style: {
|
|
541
541
|
width: '80px',
|
|
542
542
|
height: '80px'
|
|
@@ -547,7 +547,7 @@ var SuperTable2 = /*#__PURE__*/function (_React$Component) {
|
|
|
547
547
|
maxWidth: "".concat(col.width, "px")
|
|
548
548
|
}
|
|
549
549
|
}, /*#__PURE__*/_react["default"].createElement("img", {
|
|
550
|
-
src: value.img,
|
|
550
|
+
src: (0, _includes["default"])(_context8 = value.img).call(_context8, 'http') ? value.img : (0, _concat["default"])(_context9 = "".concat(window.location.origin, "/api/proxy/file-center-service/")).call(_context9, value.img),
|
|
551
551
|
style: {
|
|
552
552
|
width: '80px',
|
|
553
553
|
height: '80px'
|
|
@@ -575,7 +575,7 @@ var SuperTable2 = /*#__PURE__*/function (_React$Component) {
|
|
|
575
575
|
var commonProps = _this.props.callback.buildSuperUploadProps ? _this.props.callback.buildSuperUploadProps() : {};
|
|
576
576
|
|
|
577
577
|
var uploadProps = _objectSpread(_objectSpread(_objectSpread(_objectSpread({
|
|
578
|
-
onFileChange: _this.props.callback.onTableFileChange ? (0, _bind["default"])(
|
|
578
|
+
onFileChange: _this.props.callback.onTableFileChange ? (0, _bind["default"])(_context10 = _this.props.callback.onTableFileChange).call(_context10, null, col.key, index) : undefined,
|
|
579
579
|
type: col.type
|
|
580
580
|
}, col.props), _this.props), commonProps), {}, {
|
|
581
581
|
value: _this.props.items[index][col.key]
|
|
@@ -658,24 +658,24 @@ var SuperTable2 = /*#__PURE__*/function (_React$Component) {
|
|
|
658
658
|
}
|
|
659
659
|
});
|
|
660
660
|
(0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "canReadonly", function (type) {
|
|
661
|
-
var
|
|
661
|
+
var _context11;
|
|
662
662
|
|
|
663
|
-
return !(0, _includes["default"])(
|
|
663
|
+
return !(0, _includes["default"])(_context11 = ['index', 'checkbox', 'link', 'button', 'switch', 'custom', 'img', 'toolbar', 'uploadImg']).call(_context11, type);
|
|
664
664
|
});
|
|
665
665
|
(0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "getColumns", function (cols) {
|
|
666
|
-
var
|
|
666
|
+
var _context12;
|
|
667
667
|
|
|
668
668
|
var readonly = _this.props.readonly;
|
|
669
|
-
return (0, _map["default"])(
|
|
669
|
+
return (0, _map["default"])(_context12 = (0, _filter["default"])(cols).call(cols, function (col) {
|
|
670
670
|
return !col.hide;
|
|
671
|
-
})).call(
|
|
672
|
-
var
|
|
671
|
+
})).call(_context12, function (_ref15, index) {
|
|
672
|
+
var _context13;
|
|
673
673
|
|
|
674
674
|
var col = (0, _extends2["default"])({}, _ref15);
|
|
675
675
|
col.className = _this.getColumnClassName(col);
|
|
676
676
|
col.title = _this.getColumnTitle(col);
|
|
677
677
|
col.dataIndex = col.key;
|
|
678
|
-
col.width = col.width ? col.width : (0, _includes["default"])(
|
|
678
|
+
col.width = col.width ? col.width : (0, _includes["default"])(_context13 = ['index', 'checked']).call(_context13, col.key) ? 70 : col.type === 'img' ? 200 : 120; // const {props = {}} = col;
|
|
679
679
|
// const {edit = false} = props
|
|
680
680
|
// if (!(readonly || col.type === 'readonly') || !this.canReadonly(col.type)) {
|
|
681
681
|
// if ( !edit && ['text', 'number', 'select', 'date', 'search', 'readonly', 'textArea', 'selectSearch'].includes(col.type)){
|
|
@@ -696,13 +696,13 @@ var SuperTable2 = /*#__PURE__*/function (_React$Component) {
|
|
|
696
696
|
(0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "getDataSource", function (items, cols) {
|
|
697
697
|
return (0, _map["default"])(items).call(items, function (item, index) {
|
|
698
698
|
return (0, _reduce["default"])(cols).call(cols, function (result, _ref16) {
|
|
699
|
-
var
|
|
699
|
+
var _context14;
|
|
700
700
|
|
|
701
701
|
var key = _ref16.key,
|
|
702
702
|
type = _ref16.type,
|
|
703
703
|
options = _ref16.options;
|
|
704
704
|
|
|
705
|
-
if (!_this.props.readonly && type && type !== 'readonly' && (!item.isReadonly || (0, _isArray["default"])(item.isReadonly) && !(0, _includes["default"])(
|
|
705
|
+
if (!_this.props.readonly && type && type !== 'readonly' && (!item.isReadonly || (0, _isArray["default"])(item.isReadonly) && !(0, _includes["default"])(_context14 = item.isReadonly).call(_context14, key))) {
|
|
706
706
|
result[key] = item[key];
|
|
707
707
|
} else {
|
|
708
708
|
result[key] = (0, _Control.getTitle)(item[key], options);
|
|
@@ -851,7 +851,7 @@ var SuperTable2 = /*#__PURE__*/function (_React$Component) {
|
|
|
851
851
|
};
|
|
852
852
|
});
|
|
853
853
|
(0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "getProps", function () {
|
|
854
|
-
var
|
|
854
|
+
var _context15;
|
|
855
855
|
|
|
856
856
|
var _this$props4 = _this.props,
|
|
857
857
|
cols = _this$props4.cols,
|
|
@@ -870,12 +870,12 @@ var SuperTable2 = /*#__PURE__*/function (_React$Component) {
|
|
|
870
870
|
expandedRowRender = _this$props4$expanded === void 0 ? undefined : _this$props4$expanded,
|
|
871
871
|
_this$props4$onExpand = _this$props4.onExpand,
|
|
872
872
|
onExpand = _this$props4$onExpand === void 0 ? undefined : _this$props4$onExpand;
|
|
873
|
-
var widthX = (0, _reduce["default"])(
|
|
873
|
+
var widthX = (0, _reduce["default"])(_context15 = (0, _filter["default"])(cols).call(cols, function (col) {
|
|
874
874
|
return !col.hide;
|
|
875
|
-
})).call(
|
|
876
|
-
var
|
|
875
|
+
})).call(_context15, function (width, item) {
|
|
876
|
+
var _context16;
|
|
877
877
|
|
|
878
|
-
return width += item.width ? item.width : (0, _includes["default"])(
|
|
878
|
+
return width += item.width ? item.width : (0, _includes["default"])(_context16 = ['index', 'checked']).call(_context16, item.key) ? 70 : item.type === 'img' ? 200 : 120;
|
|
879
879
|
}, 0);
|
|
880
880
|
var scrollProps = !_helper["default"].isEmpty2(expandedRowRender) ? {
|
|
881
881
|
expandedRowRender: expandedRowRender
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cloud-b2b",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.13",
|
|
4
4
|
"description": "A react component library dependent antd",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -11,11 +11,11 @@
|
|
|
11
11
|
"license": "ISC",
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"@babel/runtime-corejs3": "^7.11.2",
|
|
14
|
-
"antd": "3.
|
|
14
|
+
"antd": "^3.26.19",
|
|
15
|
+
"history": "^4.5.0",
|
|
15
16
|
"prop-types": "^15.7.2",
|
|
16
17
|
"react": "^16.8.2",
|
|
17
|
-
"react-dom": "^16.8.2"
|
|
18
|
-
"history": "^4.5.0"
|
|
18
|
+
"react-dom": "^16.8.2"
|
|
19
19
|
},
|
|
20
20
|
"main": "lib/index.js",
|
|
21
21
|
"module": "es/index.js"
|