@kmkf-fe-packages/basic-components 0.8.9-alpha.2 → 0.8.9-alpha.8
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/dist/index.esm.js +15 -7
- package/dist/index.js +15 -7
- package/package.json +3 -3
package/dist/index.esm.js
CHANGED
|
@@ -9699,11 +9699,16 @@ var ItemList = function ItemList(props) {
|
|
|
9699
9699
|
}, "\u6682\u4E0D\u652F\u6301\u6DFB\u52A0")) : null);
|
|
9700
9700
|
};
|
|
9701
9701
|
|
|
9702
|
+
var _excluded$c = ["shopId"];
|
|
9702
9703
|
var columns = [{
|
|
9703
9704
|
dataIndex: 'index',
|
|
9704
|
-
title: '
|
|
9705
|
+
title: 'NO',
|
|
9705
9706
|
render: function render(val, record, index) {
|
|
9706
|
-
return /*#__PURE__*/React.createElement("
|
|
9707
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
9708
|
+
style: {
|
|
9709
|
+
width: 25
|
|
9710
|
+
}
|
|
9711
|
+
}, index + 1);
|
|
9707
9712
|
}
|
|
9708
9713
|
}, {
|
|
9709
9714
|
dataIndex: 'skuName',
|
|
@@ -9887,7 +9892,10 @@ var GoodsModal$1 = function GoodsModal(props, ref) {
|
|
|
9887
9892
|
onSubmit(selectList);
|
|
9888
9893
|
_onCancel();
|
|
9889
9894
|
};
|
|
9890
|
-
var onFinish = function onFinish(
|
|
9895
|
+
var onFinish = function onFinish(val) {
|
|
9896
|
+
var shopId = val.shopId,
|
|
9897
|
+
other = _objectWithoutProperties(val, _excluded$c);
|
|
9898
|
+
var value = other;
|
|
9891
9899
|
var newFilterList = [];
|
|
9892
9900
|
var hasValue = Object.values(value).some(function (t) {
|
|
9893
9901
|
return !!t;
|
|
@@ -10403,7 +10411,7 @@ var BsGoods = function BsGoods(props) {
|
|
|
10403
10411
|
}));
|
|
10404
10412
|
};
|
|
10405
10413
|
|
|
10406
|
-
var _excluded$
|
|
10414
|
+
var _excluded$d = ["value", "onChange", "reasonList", "disabled"];
|
|
10407
10415
|
var BsExchange = function BsExchange(props) {
|
|
10408
10416
|
var _value$bsExchangeType4, _value$bsExchangeType5, _value$bsExchangeType6;
|
|
10409
10417
|
var value = props.value,
|
|
@@ -10411,7 +10419,7 @@ var BsExchange = function BsExchange(props) {
|
|
|
10411
10419
|
_props$reasonList = props.reasonList,
|
|
10412
10420
|
reasonList = _props$reasonList === void 0 ? [] : _props$reasonList,
|
|
10413
10421
|
disabled = props.disabled,
|
|
10414
|
-
other = _objectWithoutProperties(props, _excluded$
|
|
10422
|
+
other = _objectWithoutProperties(props, _excluded$d);
|
|
10415
10423
|
var valueRef = useRef({});
|
|
10416
10424
|
useEffect(function () {
|
|
10417
10425
|
valueRef.current = value;
|
|
@@ -10633,14 +10641,14 @@ var BsExchange = function BsExchange(props) {
|
|
|
10633
10641
|
}))) : null);
|
|
10634
10642
|
};
|
|
10635
10643
|
|
|
10636
|
-
var _excluded$
|
|
10644
|
+
var _excluded$e = ["value", "onChange", "reasonList", "disabled"];
|
|
10637
10645
|
var BsReissue = function BsReissue(props) {
|
|
10638
10646
|
var value = props.value,
|
|
10639
10647
|
onChange = props.onChange,
|
|
10640
10648
|
_props$reasonList = props.reasonList,
|
|
10641
10649
|
reasonList = _props$reasonList === void 0 ? [] : _props$reasonList,
|
|
10642
10650
|
disabled = props.disabled,
|
|
10643
|
-
other = _objectWithoutProperties(props, _excluded$
|
|
10651
|
+
other = _objectWithoutProperties(props, _excluded$e);
|
|
10644
10652
|
var valueRef = useRef({});
|
|
10645
10653
|
useEffect(function () {
|
|
10646
10654
|
pubsub.subscribe('reissueSelectList', function (_, data) {
|
package/dist/index.js
CHANGED
|
@@ -9710,11 +9710,16 @@ var ItemList = function ItemList(props) {
|
|
|
9710
9710
|
}, "\u6682\u4E0D\u652F\u6301\u6DFB\u52A0")) : null);
|
|
9711
9711
|
};
|
|
9712
9712
|
|
|
9713
|
+
var _excluded$c = ["shopId"];
|
|
9713
9714
|
var columns = [{
|
|
9714
9715
|
dataIndex: 'index',
|
|
9715
|
-
title: '
|
|
9716
|
+
title: 'NO',
|
|
9716
9717
|
render: function render(val, record, index) {
|
|
9717
|
-
return /*#__PURE__*/React__default['default'].createElement("
|
|
9718
|
+
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
9719
|
+
style: {
|
|
9720
|
+
width: 25
|
|
9721
|
+
}
|
|
9722
|
+
}, index + 1);
|
|
9718
9723
|
}
|
|
9719
9724
|
}, {
|
|
9720
9725
|
dataIndex: 'skuName',
|
|
@@ -9898,7 +9903,10 @@ var GoodsModal$1 = function GoodsModal(props, ref) {
|
|
|
9898
9903
|
onSubmit(selectList);
|
|
9899
9904
|
_onCancel();
|
|
9900
9905
|
};
|
|
9901
|
-
var onFinish = function onFinish(
|
|
9906
|
+
var onFinish = function onFinish(val) {
|
|
9907
|
+
var shopId = val.shopId,
|
|
9908
|
+
other = _objectWithoutProperties(val, _excluded$c);
|
|
9909
|
+
var value = other;
|
|
9902
9910
|
var newFilterList = [];
|
|
9903
9911
|
var hasValue = Object.values(value).some(function (t) {
|
|
9904
9912
|
return !!t;
|
|
@@ -10414,7 +10422,7 @@ var BsGoods = function BsGoods(props) {
|
|
|
10414
10422
|
}));
|
|
10415
10423
|
};
|
|
10416
10424
|
|
|
10417
|
-
var _excluded$
|
|
10425
|
+
var _excluded$d = ["value", "onChange", "reasonList", "disabled"];
|
|
10418
10426
|
var BsExchange = function BsExchange(props) {
|
|
10419
10427
|
var _value$bsExchangeType4, _value$bsExchangeType5, _value$bsExchangeType6;
|
|
10420
10428
|
var value = props.value,
|
|
@@ -10422,7 +10430,7 @@ var BsExchange = function BsExchange(props) {
|
|
|
10422
10430
|
_props$reasonList = props.reasonList,
|
|
10423
10431
|
reasonList = _props$reasonList === void 0 ? [] : _props$reasonList,
|
|
10424
10432
|
disabled = props.disabled,
|
|
10425
|
-
other = _objectWithoutProperties(props, _excluded$
|
|
10433
|
+
other = _objectWithoutProperties(props, _excluded$d);
|
|
10426
10434
|
var valueRef = React.useRef({});
|
|
10427
10435
|
React.useEffect(function () {
|
|
10428
10436
|
valueRef.current = value;
|
|
@@ -10644,14 +10652,14 @@ var BsExchange = function BsExchange(props) {
|
|
|
10644
10652
|
}))) : null);
|
|
10645
10653
|
};
|
|
10646
10654
|
|
|
10647
|
-
var _excluded$
|
|
10655
|
+
var _excluded$e = ["value", "onChange", "reasonList", "disabled"];
|
|
10648
10656
|
var BsReissue = function BsReissue(props) {
|
|
10649
10657
|
var value = props.value,
|
|
10650
10658
|
onChange = props.onChange,
|
|
10651
10659
|
_props$reasonList = props.reasonList,
|
|
10652
10660
|
reasonList = _props$reasonList === void 0 ? [] : _props$reasonList,
|
|
10653
10661
|
disabled = props.disabled,
|
|
10654
|
-
other = _objectWithoutProperties(props, _excluded$
|
|
10662
|
+
other = _objectWithoutProperties(props, _excluded$e);
|
|
10655
10663
|
var valueRef = React.useRef({});
|
|
10656
10664
|
React.useEffect(function () {
|
|
10657
10665
|
pubsub__default['default'].subscribe('reissueSelectList', function (_, data) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/basic-components",
|
|
3
|
-
"version": "0.8.9-alpha.
|
|
3
|
+
"version": "0.8.9-alpha.8",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"homepage": "",
|
|
6
6
|
"license": "ISC",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"watch": "nodemon --ignore dist/ --ignore node_modules/ --watch src/ -C -e ts,tsx,less --debug -x 'yarn async'"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@kmkf-fe-packages/kmkf-utils": "^0.8.9-alpha.
|
|
23
|
+
"@kmkf-fe-packages/kmkf-utils": "^0.8.9-alpha.8",
|
|
24
24
|
"lodash": "^4.17.21",
|
|
25
25
|
"pubsub-js": "^1.9.4",
|
|
26
26
|
"umi-request": "^1.4.0"
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"publishConfig": {
|
|
59
59
|
"access": "public"
|
|
60
60
|
},
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "672df53b9985eb15d46e8f47153b42897106ab08"
|
|
62
62
|
}
|