@kmkf-fe-packages/basic-components 0.8.17-alpha.24 → 0.8.17-alpha.27
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
CHANGED
|
@@ -10246,6 +10246,12 @@ var GoodItem = function GoodItem(props) {
|
|
|
10246
10246
|
align: 'center',
|
|
10247
10247
|
ellipsis: true,
|
|
10248
10248
|
width: 250
|
|
10249
|
+
}, {
|
|
10250
|
+
dataIndex: 'sku',
|
|
10251
|
+
title: "".concat(text, "sku\u7F16\u7801"),
|
|
10252
|
+
align: 'center',
|
|
10253
|
+
ellipsis: true,
|
|
10254
|
+
width: 100
|
|
10249
10255
|
}, {
|
|
10250
10256
|
dataIndex: 'name',
|
|
10251
10257
|
title: "".concat(text, "\u540D\u79F0"),
|
|
@@ -10270,12 +10276,6 @@ var GoodItem = function GoodItem(props) {
|
|
|
10270
10276
|
align: 'center',
|
|
10271
10277
|
ellipsis: true,
|
|
10272
10278
|
width: 100
|
|
10273
|
-
}, {
|
|
10274
|
-
dataIndex: 'sku',
|
|
10275
|
-
title: "".concat(text, "sku\u7F16\u7801"),
|
|
10276
|
-
align: 'center',
|
|
10277
|
-
ellipsis: true,
|
|
10278
|
-
width: 100
|
|
10279
10279
|
}, {
|
|
10280
10280
|
dataIndex: 'money',
|
|
10281
10281
|
title: "\u5B9E\u4ED8\u91D1\u989D",
|
|
@@ -11429,7 +11429,7 @@ var Goods$1 = function Goods(props, ref) {
|
|
|
11429
11429
|
var index$1 = /*#__PURE__*/forwardRef(Goods$1);
|
|
11430
11430
|
|
|
11431
11431
|
var _excluded$f = ["onChange", "value", "failValue"];
|
|
11432
|
-
function
|
|
11432
|
+
function CommonStatus(props) {
|
|
11433
11433
|
var onChange = props.onChange,
|
|
11434
11434
|
value = props.value,
|
|
11435
11435
|
failValue = props.failValue,
|
|
@@ -11451,4 +11451,137 @@ function MultiStatus(props) {
|
|
|
11451
11451
|
}));
|
|
11452
11452
|
}
|
|
11453
11453
|
|
|
11454
|
-
|
|
11454
|
+
var CommonSystemOrder = function CommonSystemOrder(props) {
|
|
11455
|
+
var _value$changeIndex, _value$changeIndex2;
|
|
11456
|
+
var _props$value = props.value,
|
|
11457
|
+
value = _props$value === void 0 ? [] : _props$value,
|
|
11458
|
+
onChange = props.onChange,
|
|
11459
|
+
disabled = props.disabled,
|
|
11460
|
+
_props$type = props.type,
|
|
11461
|
+
type = _props$type === void 0 ? 1 : _props$type;
|
|
11462
|
+
var _useState = useState(0),
|
|
11463
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
11464
|
+
changeIndex = _useState2[0],
|
|
11465
|
+
setChangeIndex = _useState2[1]; //选中的包裹
|
|
11466
|
+
useEffect(function () {
|
|
11467
|
+
setChangeIndex(0);
|
|
11468
|
+
}, []);
|
|
11469
|
+
var content = function content(item, index) {
|
|
11470
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
11471
|
+
style: {
|
|
11472
|
+
maxHeight: '300px',
|
|
11473
|
+
overflowY: 'auto'
|
|
11474
|
+
}
|
|
11475
|
+
}, type === 1 ? /*#__PURE__*/React.createElement("span", null, "\u7CFB\u7EDF\u8BA2\u5355\u53F7\uFF1A", item.systemOrderId) : null);
|
|
11476
|
+
};
|
|
11477
|
+
var changeInputHandle = function changeInputHandle(val, type) {
|
|
11478
|
+
var changeOrderInfo = _objectSpread2({}, value[changeIndex]);
|
|
11479
|
+
changeOrderInfo[type] = val;
|
|
11480
|
+
var newList = _toConsumableArray(value);
|
|
11481
|
+
newList[changeIndex] = changeOrderInfo;
|
|
11482
|
+
onChange === null || onChange === void 0 ? void 0 : onChange(newList);
|
|
11483
|
+
};
|
|
11484
|
+
//判断是否是单个且没有商品数据
|
|
11485
|
+
var isSingle = useMemo(function () {
|
|
11486
|
+
return value && value.length === 1;
|
|
11487
|
+
}, [value]);
|
|
11488
|
+
return /*#__PURE__*/React.createElement("div", null, !isSingle ? /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Space, {
|
|
11489
|
+
wrap: true
|
|
11490
|
+
}, (value || []).map(function (item, index) {
|
|
11491
|
+
return /*#__PURE__*/React.createElement(Popover, {
|
|
11492
|
+
content: content(item),
|
|
11493
|
+
key: index
|
|
11494
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
11495
|
+
style: {
|
|
11496
|
+
color: changeIndex === index ? '#4569d4' : 'black',
|
|
11497
|
+
cursor: 'pointer'
|
|
11498
|
+
},
|
|
11499
|
+
onClick: function onClick() {
|
|
11500
|
+
return setChangeIndex(index);
|
|
11501
|
+
}
|
|
11502
|
+
}, "\u7CFB\u7EDF\u8BA2\u5355\u53F7".concat(index + 1)));
|
|
11503
|
+
}))) : null, value.length ? /*#__PURE__*/React.createElement(React.Fragment, null, type === 1 ? /*#__PURE__*/React.createElement(Space, null, /*#__PURE__*/React.createElement(Input, {
|
|
11504
|
+
disabled: disabled,
|
|
11505
|
+
placeholder: "\u8BF7\u8F93\u5165\u51FA\u5E93\u5355\u7F16\u53F7",
|
|
11506
|
+
onChange: function onChange(e) {
|
|
11507
|
+
return changeInputHandle(e.target.value, 'deliveryNo');
|
|
11508
|
+
},
|
|
11509
|
+
value: (_value$changeIndex = value[changeIndex]) === null || _value$changeIndex === void 0 ? void 0 : _value$changeIndex.deliveryNo
|
|
11510
|
+
})) : null, type === 2 ? /*#__PURE__*/React.createElement(Space, null, /*#__PURE__*/React.createElement(Input, {
|
|
11511
|
+
disabled: disabled,
|
|
11512
|
+
placeholder: "\u8BF7\u8F93\u5165\u9000\u8D27\u5355id",
|
|
11513
|
+
onChange: function onChange(e) {
|
|
11514
|
+
return changeInputHandle(e.target.value, 'returnGoodsTradeId');
|
|
11515
|
+
},
|
|
11516
|
+
value: (_value$changeIndex2 = value[changeIndex]) === null || _value$changeIndex2 === void 0 ? void 0 : _value$changeIndex2.returnGoodsTradeId
|
|
11517
|
+
})) : null) : null);
|
|
11518
|
+
};
|
|
11519
|
+
|
|
11520
|
+
var CommonSystemOrder$1 = function CommonSystemOrder(props) {
|
|
11521
|
+
var _value$changeIndex;
|
|
11522
|
+
var _props$value = props.value,
|
|
11523
|
+
value = _props$value === void 0 ? [] : _props$value,
|
|
11524
|
+
onChange = props.onChange,
|
|
11525
|
+
disabled = props.disabled,
|
|
11526
|
+
failValue = props.failValue,
|
|
11527
|
+
_props$type = props.type,
|
|
11528
|
+
type = _props$type === void 0 ? 1 : _props$type;
|
|
11529
|
+
var _useState = useState(0),
|
|
11530
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
11531
|
+
changeIndex = _useState2[0],
|
|
11532
|
+
setChangeIndex = _useState2[1]; //选中的包裹
|
|
11533
|
+
useEffect(function () {
|
|
11534
|
+
setChangeIndex(0);
|
|
11535
|
+
}, []);
|
|
11536
|
+
var content = function content(item, index) {
|
|
11537
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
11538
|
+
style: {
|
|
11539
|
+
maxHeight: '300px',
|
|
11540
|
+
overflowY: 'auto'
|
|
11541
|
+
}
|
|
11542
|
+
}, type === 1 ? /*#__PURE__*/React.createElement("span", null, "\u7CFB\u7EDF\u8BA2\u5355\u53F7\uFF1A", item.systemOrderId) : null);
|
|
11543
|
+
};
|
|
11544
|
+
var changeHandle = function changeHandle(val, valType) {
|
|
11545
|
+
var changeOrderInfo = _objectSpread2({}, value[changeIndex]);
|
|
11546
|
+
changeOrderInfo[valType] = val;
|
|
11547
|
+
if (val === failValue) {
|
|
11548
|
+
changeOrderInfo.reason = '';
|
|
11549
|
+
}
|
|
11550
|
+
var newList = _toConsumableArray(value);
|
|
11551
|
+
newList[changeIndex] = changeOrderInfo;
|
|
11552
|
+
onChange === null || onChange === void 0 ? void 0 : onChange(newList);
|
|
11553
|
+
};
|
|
11554
|
+
//判断是否是单个且没有商品数据
|
|
11555
|
+
var isSingle = useMemo(function () {
|
|
11556
|
+
return value && value.length === 1;
|
|
11557
|
+
}, [value]);
|
|
11558
|
+
return /*#__PURE__*/React.createElement("div", null, !isSingle ? /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Space, {
|
|
11559
|
+
wrap: true
|
|
11560
|
+
}, (value || []).map(function (item, index) {
|
|
11561
|
+
return /*#__PURE__*/React.createElement(Popover, {
|
|
11562
|
+
content: content(item),
|
|
11563
|
+
key: index
|
|
11564
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
11565
|
+
style: {
|
|
11566
|
+
color: changeIndex === index ? '#4569d4' : 'black',
|
|
11567
|
+
cursor: 'pointer'
|
|
11568
|
+
},
|
|
11569
|
+
onClick: function onClick() {
|
|
11570
|
+
return setChangeIndex(index);
|
|
11571
|
+
}
|
|
11572
|
+
}, "\u7CFB\u7EDF\u8BA2\u5355\u53F7".concat(index + 1)));
|
|
11573
|
+
}))) : null, value.length ? /*#__PURE__*/React.createElement(React.Fragment, null, type === 1 ? /*#__PURE__*/React.createElement(Space, null, /*#__PURE__*/React.createElement(Select, {
|
|
11574
|
+
showSearch: true,
|
|
11575
|
+
value: (_value$changeIndex = value[changeIndex]) === null || _value$changeIndex === void 0 ? void 0 : _value$changeIndex.status,
|
|
11576
|
+
filterOption: function filterOption(input, option) {
|
|
11577
|
+
return option.label.includes(input);
|
|
11578
|
+
},
|
|
11579
|
+
placeholder: "\u8BF7\u9009\u62E9",
|
|
11580
|
+
disabled: disabled,
|
|
11581
|
+
onChange: function onChange(val) {
|
|
11582
|
+
return changeHandle(val, 'status');
|
|
11583
|
+
}
|
|
11584
|
+
})) : null) : null);
|
|
11585
|
+
};
|
|
11586
|
+
|
|
11587
|
+
export { ApaasAddress as Address, AliPay, Province as ApaasAddress, ApaasCascader, ApaasCheckbox, ApaasDate, withFormItem as ApaasHoc, ApaasInput, ApaasInputNumber, ApaasLogistics, ApaasMultipleSelect, ApaasPosting, ApaasRadio, ApaasRate, ApaasSelect, ApaasSlider, ApaasTextArea, ApaasUpload, ApaasUploadAsync, ApaasUploadAsync$1 as ApaasUploadFile, BsExchange, BsGoods, BsReissue, index as BsSystemOrder, BuyerNick, ChooseBaby, CommonSystemOrder$1 as CommonMultiStatus, CommonStatus, CommonSystemOrder, ExpressLogistics, Goods, index$1 as GoodsTable, IdentifyAddress, Invoice, jstGoods as JstGoods, ItemList as JstItemList, LogisticsInterception, LogisticsTrajectory, ParseLogistics, Payment, RemarkInput as Remark, ExpressLogistics as ReturnLogistics, ShopNameSelect as ShopName, Status, Supplier, TBGoodId, TBGoodSerial, TradeId };
|
package/dist/index.js
CHANGED
|
@@ -10257,6 +10257,12 @@ var GoodItem = function GoodItem(props) {
|
|
|
10257
10257
|
align: 'center',
|
|
10258
10258
|
ellipsis: true,
|
|
10259
10259
|
width: 250
|
|
10260
|
+
}, {
|
|
10261
|
+
dataIndex: 'sku',
|
|
10262
|
+
title: "".concat(text, "sku\u7F16\u7801"),
|
|
10263
|
+
align: 'center',
|
|
10264
|
+
ellipsis: true,
|
|
10265
|
+
width: 100
|
|
10260
10266
|
}, {
|
|
10261
10267
|
dataIndex: 'name',
|
|
10262
10268
|
title: "".concat(text, "\u540D\u79F0"),
|
|
@@ -10281,12 +10287,6 @@ var GoodItem = function GoodItem(props) {
|
|
|
10281
10287
|
align: 'center',
|
|
10282
10288
|
ellipsis: true,
|
|
10283
10289
|
width: 100
|
|
10284
|
-
}, {
|
|
10285
|
-
dataIndex: 'sku',
|
|
10286
|
-
title: "".concat(text, "sku\u7F16\u7801"),
|
|
10287
|
-
align: 'center',
|
|
10288
|
-
ellipsis: true,
|
|
10289
|
-
width: 100
|
|
10290
10290
|
}, {
|
|
10291
10291
|
dataIndex: 'money',
|
|
10292
10292
|
title: "\u5B9E\u4ED8\u91D1\u989D",
|
|
@@ -11440,7 +11440,7 @@ var Goods$1 = function Goods(props, ref) {
|
|
|
11440
11440
|
var index$1 = /*#__PURE__*/React.forwardRef(Goods$1);
|
|
11441
11441
|
|
|
11442
11442
|
var _excluded$f = ["onChange", "value", "failValue"];
|
|
11443
|
-
function
|
|
11443
|
+
function CommonStatus(props) {
|
|
11444
11444
|
var onChange = props.onChange,
|
|
11445
11445
|
value = props.value,
|
|
11446
11446
|
failValue = props.failValue,
|
|
@@ -11462,6 +11462,139 @@ function MultiStatus(props) {
|
|
|
11462
11462
|
}));
|
|
11463
11463
|
}
|
|
11464
11464
|
|
|
11465
|
+
var CommonSystemOrder = function CommonSystemOrder(props) {
|
|
11466
|
+
var _value$changeIndex, _value$changeIndex2;
|
|
11467
|
+
var _props$value = props.value,
|
|
11468
|
+
value = _props$value === void 0 ? [] : _props$value,
|
|
11469
|
+
onChange = props.onChange,
|
|
11470
|
+
disabled = props.disabled,
|
|
11471
|
+
_props$type = props.type,
|
|
11472
|
+
type = _props$type === void 0 ? 1 : _props$type;
|
|
11473
|
+
var _useState = React.useState(0),
|
|
11474
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
11475
|
+
changeIndex = _useState2[0],
|
|
11476
|
+
setChangeIndex = _useState2[1]; //选中的包裹
|
|
11477
|
+
React.useEffect(function () {
|
|
11478
|
+
setChangeIndex(0);
|
|
11479
|
+
}, []);
|
|
11480
|
+
var content = function content(item, index) {
|
|
11481
|
+
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
11482
|
+
style: {
|
|
11483
|
+
maxHeight: '300px',
|
|
11484
|
+
overflowY: 'auto'
|
|
11485
|
+
}
|
|
11486
|
+
}, type === 1 ? /*#__PURE__*/React__default['default'].createElement("span", null, "\u7CFB\u7EDF\u8BA2\u5355\u53F7\uFF1A", item.systemOrderId) : null);
|
|
11487
|
+
};
|
|
11488
|
+
var changeInputHandle = function changeInputHandle(val, type) {
|
|
11489
|
+
var changeOrderInfo = _objectSpread2({}, value[changeIndex]);
|
|
11490
|
+
changeOrderInfo[type] = val;
|
|
11491
|
+
var newList = _toConsumableArray(value);
|
|
11492
|
+
newList[changeIndex] = changeOrderInfo;
|
|
11493
|
+
onChange === null || onChange === void 0 ? void 0 : onChange(newList);
|
|
11494
|
+
};
|
|
11495
|
+
//判断是否是单个且没有商品数据
|
|
11496
|
+
var isSingle = React.useMemo(function () {
|
|
11497
|
+
return value && value.length === 1;
|
|
11498
|
+
}, [value]);
|
|
11499
|
+
return /*#__PURE__*/React__default['default'].createElement("div", null, !isSingle ? /*#__PURE__*/React__default['default'].createElement("div", null, /*#__PURE__*/React__default['default'].createElement(antd.Space, {
|
|
11500
|
+
wrap: true
|
|
11501
|
+
}, (value || []).map(function (item, index) {
|
|
11502
|
+
return /*#__PURE__*/React__default['default'].createElement(antd.Popover, {
|
|
11503
|
+
content: content(item),
|
|
11504
|
+
key: index
|
|
11505
|
+
}, /*#__PURE__*/React__default['default'].createElement("span", {
|
|
11506
|
+
style: {
|
|
11507
|
+
color: changeIndex === index ? '#4569d4' : 'black',
|
|
11508
|
+
cursor: 'pointer'
|
|
11509
|
+
},
|
|
11510
|
+
onClick: function onClick() {
|
|
11511
|
+
return setChangeIndex(index);
|
|
11512
|
+
}
|
|
11513
|
+
}, "\u7CFB\u7EDF\u8BA2\u5355\u53F7".concat(index + 1)));
|
|
11514
|
+
}))) : null, value.length ? /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, type === 1 ? /*#__PURE__*/React__default['default'].createElement(antd.Space, null, /*#__PURE__*/React__default['default'].createElement(antd.Input, {
|
|
11515
|
+
disabled: disabled,
|
|
11516
|
+
placeholder: "\u8BF7\u8F93\u5165\u51FA\u5E93\u5355\u7F16\u53F7",
|
|
11517
|
+
onChange: function onChange(e) {
|
|
11518
|
+
return changeInputHandle(e.target.value, 'deliveryNo');
|
|
11519
|
+
},
|
|
11520
|
+
value: (_value$changeIndex = value[changeIndex]) === null || _value$changeIndex === void 0 ? void 0 : _value$changeIndex.deliveryNo
|
|
11521
|
+
})) : null, type === 2 ? /*#__PURE__*/React__default['default'].createElement(antd.Space, null, /*#__PURE__*/React__default['default'].createElement(antd.Input, {
|
|
11522
|
+
disabled: disabled,
|
|
11523
|
+
placeholder: "\u8BF7\u8F93\u5165\u9000\u8D27\u5355id",
|
|
11524
|
+
onChange: function onChange(e) {
|
|
11525
|
+
return changeInputHandle(e.target.value, 'returnGoodsTradeId');
|
|
11526
|
+
},
|
|
11527
|
+
value: (_value$changeIndex2 = value[changeIndex]) === null || _value$changeIndex2 === void 0 ? void 0 : _value$changeIndex2.returnGoodsTradeId
|
|
11528
|
+
})) : null) : null);
|
|
11529
|
+
};
|
|
11530
|
+
|
|
11531
|
+
var CommonSystemOrder$1 = function CommonSystemOrder(props) {
|
|
11532
|
+
var _value$changeIndex;
|
|
11533
|
+
var _props$value = props.value,
|
|
11534
|
+
value = _props$value === void 0 ? [] : _props$value,
|
|
11535
|
+
onChange = props.onChange,
|
|
11536
|
+
disabled = props.disabled,
|
|
11537
|
+
failValue = props.failValue,
|
|
11538
|
+
_props$type = props.type,
|
|
11539
|
+
type = _props$type === void 0 ? 1 : _props$type;
|
|
11540
|
+
var _useState = React.useState(0),
|
|
11541
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
11542
|
+
changeIndex = _useState2[0],
|
|
11543
|
+
setChangeIndex = _useState2[1]; //选中的包裹
|
|
11544
|
+
React.useEffect(function () {
|
|
11545
|
+
setChangeIndex(0);
|
|
11546
|
+
}, []);
|
|
11547
|
+
var content = function content(item, index) {
|
|
11548
|
+
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
11549
|
+
style: {
|
|
11550
|
+
maxHeight: '300px',
|
|
11551
|
+
overflowY: 'auto'
|
|
11552
|
+
}
|
|
11553
|
+
}, type === 1 ? /*#__PURE__*/React__default['default'].createElement("span", null, "\u7CFB\u7EDF\u8BA2\u5355\u53F7\uFF1A", item.systemOrderId) : null);
|
|
11554
|
+
};
|
|
11555
|
+
var changeHandle = function changeHandle(val, valType) {
|
|
11556
|
+
var changeOrderInfo = _objectSpread2({}, value[changeIndex]);
|
|
11557
|
+
changeOrderInfo[valType] = val;
|
|
11558
|
+
if (val === failValue) {
|
|
11559
|
+
changeOrderInfo.reason = '';
|
|
11560
|
+
}
|
|
11561
|
+
var newList = _toConsumableArray(value);
|
|
11562
|
+
newList[changeIndex] = changeOrderInfo;
|
|
11563
|
+
onChange === null || onChange === void 0 ? void 0 : onChange(newList);
|
|
11564
|
+
};
|
|
11565
|
+
//判断是否是单个且没有商品数据
|
|
11566
|
+
var isSingle = React.useMemo(function () {
|
|
11567
|
+
return value && value.length === 1;
|
|
11568
|
+
}, [value]);
|
|
11569
|
+
return /*#__PURE__*/React__default['default'].createElement("div", null, !isSingle ? /*#__PURE__*/React__default['default'].createElement("div", null, /*#__PURE__*/React__default['default'].createElement(antd.Space, {
|
|
11570
|
+
wrap: true
|
|
11571
|
+
}, (value || []).map(function (item, index) {
|
|
11572
|
+
return /*#__PURE__*/React__default['default'].createElement(antd.Popover, {
|
|
11573
|
+
content: content(item),
|
|
11574
|
+
key: index
|
|
11575
|
+
}, /*#__PURE__*/React__default['default'].createElement("span", {
|
|
11576
|
+
style: {
|
|
11577
|
+
color: changeIndex === index ? '#4569d4' : 'black',
|
|
11578
|
+
cursor: 'pointer'
|
|
11579
|
+
},
|
|
11580
|
+
onClick: function onClick() {
|
|
11581
|
+
return setChangeIndex(index);
|
|
11582
|
+
}
|
|
11583
|
+
}, "\u7CFB\u7EDF\u8BA2\u5355\u53F7".concat(index + 1)));
|
|
11584
|
+
}))) : null, value.length ? /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, type === 1 ? /*#__PURE__*/React__default['default'].createElement(antd.Space, null, /*#__PURE__*/React__default['default'].createElement(antd.Select, {
|
|
11585
|
+
showSearch: true,
|
|
11586
|
+
value: (_value$changeIndex = value[changeIndex]) === null || _value$changeIndex === void 0 ? void 0 : _value$changeIndex.status,
|
|
11587
|
+
filterOption: function filterOption(input, option) {
|
|
11588
|
+
return option.label.includes(input);
|
|
11589
|
+
},
|
|
11590
|
+
placeholder: "\u8BF7\u9009\u62E9",
|
|
11591
|
+
disabled: disabled,
|
|
11592
|
+
onChange: function onChange(val) {
|
|
11593
|
+
return changeHandle(val, 'status');
|
|
11594
|
+
}
|
|
11595
|
+
})) : null) : null);
|
|
11596
|
+
};
|
|
11597
|
+
|
|
11465
11598
|
exports.Address = ApaasAddress;
|
|
11466
11599
|
exports.AliPay = AliPay;
|
|
11467
11600
|
exports.ApaasAddress = Province;
|
|
@@ -11488,7 +11621,9 @@ exports.BsReissue = BsReissue;
|
|
|
11488
11621
|
exports.BsSystemOrder = index;
|
|
11489
11622
|
exports.BuyerNick = BuyerNick;
|
|
11490
11623
|
exports.ChooseBaby = ChooseBaby;
|
|
11491
|
-
exports.
|
|
11624
|
+
exports.CommonMultiStatus = CommonSystemOrder$1;
|
|
11625
|
+
exports.CommonStatus = CommonStatus;
|
|
11626
|
+
exports.CommonSystemOrder = CommonSystemOrder;
|
|
11492
11627
|
exports.ExpressLogistics = ExpressLogistics;
|
|
11493
11628
|
exports.Goods = Goods;
|
|
11494
11629
|
exports.GoodsTable = index$1;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface CommonSystemOrderProps {
|
|
3
|
+
value: {
|
|
4
|
+
status: string;
|
|
5
|
+
reason?: string;
|
|
6
|
+
systemOrderId?: string;
|
|
7
|
+
}[];
|
|
8
|
+
failValue: string;
|
|
9
|
+
options: any[];
|
|
10
|
+
onChange: (val: any) => void;
|
|
11
|
+
disabled: boolean;
|
|
12
|
+
type: number;
|
|
13
|
+
}
|
|
14
|
+
declare const CommonSystemOrder: (props: Partial<CommonSystemOrderProps>) => React.JSX.Element;
|
|
15
|
+
export default CommonSystemOrder;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
interface
|
|
2
|
+
interface CommonStatusProps {
|
|
3
3
|
value: {
|
|
4
4
|
status: string;
|
|
5
5
|
reason: string;
|
|
@@ -8,5 +8,5 @@ interface MultiStatusProps {
|
|
|
8
8
|
options: any[];
|
|
9
9
|
onChange: (val: any) => void;
|
|
10
10
|
}
|
|
11
|
-
declare function
|
|
12
|
-
export default
|
|
11
|
+
declare function CommonStatus(props: Partial<CommonStatusProps>): React.JSX.Element;
|
|
12
|
+
export default CommonStatus;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface CommonSystemOrderProps {
|
|
3
|
+
value: any[];
|
|
4
|
+
type: number;
|
|
5
|
+
options: any[];
|
|
6
|
+
disabled: boolean;
|
|
7
|
+
onChange: (val: any[]) => void;
|
|
8
|
+
}
|
|
9
|
+
declare const CommonSystemOrder: (props: Partial<CommonSystemOrderProps>) => React.JSX.Element;
|
|
10
|
+
export default CommonSystemOrder;
|
package/dist/src/index.d.ts
CHANGED
|
@@ -42,5 +42,7 @@ export { default as BsReissue } from './bs/Reissue';
|
|
|
42
42
|
export { default as BsSystemOrder } from './bs/SystemOrder';
|
|
43
43
|
export { default as GoodsTable } from './common/GoodsTable';
|
|
44
44
|
export { default as CommonStatus } from './common/CommonStatus';
|
|
45
|
+
export { default as CommonSystemOrder } from './common/CommonSystemOrder';
|
|
46
|
+
export { default as CommonMultiStatus } from './common/CommonMultiStatus';
|
|
45
47
|
export { default as ParseLogistics } from './common/ParseLogistics';
|
|
46
48
|
export { default as IdentifyAddress } from './common/IdentifyAddress';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/basic-components",
|
|
3
|
-
"version": "0.8.17-alpha.
|
|
3
|
+
"version": "0.8.17-alpha.27",
|
|
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.17-alpha.
|
|
23
|
+
"@kmkf-fe-packages/kmkf-utils": "^0.8.17-alpha.27",
|
|
24
24
|
"lodash": "^4.17.21",
|
|
25
25
|
"pubsub-js": "^1.9.4",
|
|
26
26
|
"react-copy-to-clipboard": "^5.1.0",
|
|
@@ -60,5 +60,5 @@
|
|
|
60
60
|
"publishConfig": {
|
|
61
61
|
"access": "public"
|
|
62
62
|
},
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "bfa540a247701811987ae018c84eb7b83d919673"
|
|
64
64
|
}
|