@kmkf-fe-packages/basic-components 0.8.17-alpha.24 → 0.8.17-alpha.28

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",
@@ -10353,11 +10353,13 @@ var GoodItem = function GoodItem(props) {
10353
10353
  name = item.name,
10354
10354
  code = item.code,
10355
10355
  skuCode = item.skuCode,
10356
- marketPrice = item.marketPrice;
10356
+ marketPrice = item.marketPrice,
10357
+ skuName = item.skuName;
10357
10358
  return {
10358
10359
  id: goodsId,
10359
10360
  mark: '是',
10360
10361
  pic: '',
10362
+ skuName: skuName,
10361
10363
  name: name,
10362
10364
  code: code,
10363
10365
  sku: skuCode,
@@ -11429,7 +11431,7 @@ var Goods$1 = function Goods(props, ref) {
11429
11431
  var index$1 = /*#__PURE__*/forwardRef(Goods$1);
11430
11432
 
11431
11433
  var _excluded$f = ["onChange", "value", "failValue"];
11432
- function MultiStatus(props) {
11434
+ function CommonStatus(props) {
11433
11435
  var onChange = props.onChange,
11434
11436
  value = props.value,
11435
11437
  failValue = props.failValue,
@@ -11451,4 +11453,143 @@ function MultiStatus(props) {
11451
11453
  }));
11452
11454
  }
11453
11455
 
11454
- 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, MultiStatus as CommonStatus, 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 };
11456
+ var CommonSystemOrder = function CommonSystemOrder(props) {
11457
+ var _value$changeIndex, _value$changeIndex2;
11458
+ var _props$value = props.value,
11459
+ value = _props$value === void 0 ? [] : _props$value,
11460
+ onChange = props.onChange,
11461
+ disabled = props.disabled,
11462
+ _props$type = props.type,
11463
+ type = _props$type === void 0 ? 1 : _props$type;
11464
+ var _useState = useState(0),
11465
+ _useState2 = _slicedToArray(_useState, 2),
11466
+ changeIndex = _useState2[0],
11467
+ setChangeIndex = _useState2[1]; //选中的包裹
11468
+ useEffect(function () {
11469
+ setChangeIndex(0);
11470
+ }, []);
11471
+ var content = function content(item, index) {
11472
+ return /*#__PURE__*/React.createElement("div", {
11473
+ style: {
11474
+ maxHeight: '300px',
11475
+ overflowY: 'auto'
11476
+ }
11477
+ }, type === 1 ? /*#__PURE__*/React.createElement("span", null, "\u7CFB\u7EDF\u8BA2\u5355\u53F7", index + 1, "\uFF1A", item.systemOrderId) : null);
11478
+ };
11479
+ var changeInputHandle = function changeInputHandle(val, type) {
11480
+ var changeOrderInfo = _objectSpread2({}, value[changeIndex]);
11481
+ changeOrderInfo[type] = val;
11482
+ var newList = _toConsumableArray(value);
11483
+ newList[changeIndex] = changeOrderInfo;
11484
+ onChange === null || onChange === void 0 ? void 0 : onChange(newList);
11485
+ };
11486
+ //判断是否是单个且没有商品数据
11487
+ var isSingle = useMemo(function () {
11488
+ return value && value.length === 1;
11489
+ }, [value]);
11490
+ return /*#__PURE__*/React.createElement("div", null, !isSingle ? /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Space, {
11491
+ wrap: true
11492
+ }, (value || []).map(function (item, index) {
11493
+ return /*#__PURE__*/React.createElement(Popover, {
11494
+ content: content(item, index),
11495
+ key: index
11496
+ }, /*#__PURE__*/React.createElement("span", {
11497
+ style: {
11498
+ color: changeIndex === index ? '#4569d4' : 'black',
11499
+ cursor: 'pointer'
11500
+ },
11501
+ onClick: function onClick() {
11502
+ return setChangeIndex(index);
11503
+ }
11504
+ }, "\u7CFB\u7EDF\u8BA2\u5355\u53F7".concat(index + 1)));
11505
+ }))) : null, value.length ? /*#__PURE__*/React.createElement(React.Fragment, null, type === 1 ? /*#__PURE__*/React.createElement(Space, null, /*#__PURE__*/React.createElement(Input, {
11506
+ disabled: disabled,
11507
+ placeholder: "\u8BF7\u8F93\u5165\u51FA\u5E93\u5355\u7F16\u53F7",
11508
+ onChange: function onChange(e) {
11509
+ return changeInputHandle(e.target.value, 'deliveryNo');
11510
+ },
11511
+ value: (_value$changeIndex = value[changeIndex]) === null || _value$changeIndex === void 0 ? void 0 : _value$changeIndex.deliveryNo
11512
+ })) : null, type === 2 ? /*#__PURE__*/React.createElement(Space, null, /*#__PURE__*/React.createElement(Input, {
11513
+ disabled: disabled,
11514
+ placeholder: "\u8BF7\u8F93\u5165\u9000\u8D27\u5355id",
11515
+ onChange: function onChange(e) {
11516
+ return changeInputHandle(e.target.value, 'returnGoodsTradeId');
11517
+ },
11518
+ value: (_value$changeIndex2 = value[changeIndex]) === null || _value$changeIndex2 === void 0 ? void 0 : _value$changeIndex2.returnGoodsTradeId
11519
+ })) : null) : null);
11520
+ };
11521
+
11522
+ var _excluded$g = ["value", "onChange", "disabled", "failValue", "type"];
11523
+ var CommonSystemOrder$1 = function CommonSystemOrder(props) {
11524
+ var _value$changeIndex;
11525
+ var _props$value = props.value,
11526
+ value = _props$value === void 0 ? [] : _props$value,
11527
+ onChange = props.onChange,
11528
+ disabled = props.disabled,
11529
+ failValue = props.failValue,
11530
+ _props$type = props.type,
11531
+ type = _props$type === void 0 ? 1 : _props$type,
11532
+ other = _objectWithoutProperties(props, _excluded$g);
11533
+ var _useState = useState(0),
11534
+ _useState2 = _slicedToArray(_useState, 2),
11535
+ changeIndex = _useState2[0],
11536
+ setChangeIndex = _useState2[1]; //选中的包裹
11537
+ useEffect(function () {
11538
+ setChangeIndex(0);
11539
+ }, []);
11540
+ var content = function content(item, index) {
11541
+ return /*#__PURE__*/React.createElement("div", {
11542
+ style: {
11543
+ maxHeight: '300px',
11544
+ overflowY: 'auto'
11545
+ }
11546
+ }, type === 1 ? /*#__PURE__*/React.createElement("span", null, "\u7CFB\u7EDF\u8BA2\u5355\u53F7", index + 1, "\uFF1A", item.systemOrderId) : null);
11547
+ };
11548
+ var changeHandle = function changeHandle(val, valType) {
11549
+ console.log(val, valType);
11550
+ var changeOrderInfo = _objectSpread2({}, value[changeIndex]);
11551
+ changeOrderInfo[valType] = val;
11552
+ if (val === failValue) {
11553
+ changeOrderInfo.reason = '';
11554
+ }
11555
+ var newList = _toConsumableArray(value);
11556
+ newList[changeIndex] = changeOrderInfo;
11557
+ onChange === null || onChange === void 0 ? void 0 : onChange(newList);
11558
+ };
11559
+ //判断是否是单个且没有商品数据
11560
+ var isSingle = useMemo(function () {
11561
+ return value && value.length === 1;
11562
+ }, [value]);
11563
+ return /*#__PURE__*/React.createElement("div", null, !isSingle ? /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Space, {
11564
+ wrap: true
11565
+ }, (value || []).map(function (item, index) {
11566
+ return /*#__PURE__*/React.createElement(Popover, {
11567
+ content: content(item, index),
11568
+ key: index
11569
+ }, /*#__PURE__*/React.createElement("span", {
11570
+ style: {
11571
+ color: changeIndex === index ? '#4569d4' : 'black',
11572
+ cursor: 'pointer'
11573
+ },
11574
+ onClick: function onClick() {
11575
+ return setChangeIndex(index);
11576
+ }
11577
+ }, "\u7CFB\u7EDF\u8BA2\u5355\u53F7".concat(index + 1)));
11578
+ }))) : null, value.length ? /*#__PURE__*/React.createElement(React.Fragment, null, type === 1 ? /*#__PURE__*/React.createElement(Space, null, /*#__PURE__*/React.createElement(Select, _objectSpread2(_objectSpread2({}, other), {}, {
11579
+ showSearch: true,
11580
+ value: (_value$changeIndex = value[changeIndex]) === null || _value$changeIndex === void 0 ? void 0 : _value$changeIndex.status,
11581
+ filterOption: function filterOption(input, option) {
11582
+ return option.label.includes(input);
11583
+ },
11584
+ style: {
11585
+ width: 200
11586
+ },
11587
+ placeholder: "\u8BF7\u9009\u62E9",
11588
+ disabled: disabled,
11589
+ onChange: function onChange(val) {
11590
+ return changeHandle(val, 'status');
11591
+ }
11592
+ }))) : null) : null);
11593
+ };
11594
+
11595
+ 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",
@@ -10364,11 +10364,13 @@ var GoodItem = function GoodItem(props) {
10364
10364
  name = item.name,
10365
10365
  code = item.code,
10366
10366
  skuCode = item.skuCode,
10367
- marketPrice = item.marketPrice;
10367
+ marketPrice = item.marketPrice,
10368
+ skuName = item.skuName;
10368
10369
  return {
10369
10370
  id: goodsId,
10370
10371
  mark: '是',
10371
10372
  pic: '',
10373
+ skuName: skuName,
10372
10374
  name: name,
10373
10375
  code: code,
10374
10376
  sku: skuCode,
@@ -11440,7 +11442,7 @@ var Goods$1 = function Goods(props, ref) {
11440
11442
  var index$1 = /*#__PURE__*/React.forwardRef(Goods$1);
11441
11443
 
11442
11444
  var _excluded$f = ["onChange", "value", "failValue"];
11443
- function MultiStatus(props) {
11445
+ function CommonStatus(props) {
11444
11446
  var onChange = props.onChange,
11445
11447
  value = props.value,
11446
11448
  failValue = props.failValue,
@@ -11462,6 +11464,145 @@ function MultiStatus(props) {
11462
11464
  }));
11463
11465
  }
11464
11466
 
11467
+ var CommonSystemOrder = function CommonSystemOrder(props) {
11468
+ var _value$changeIndex, _value$changeIndex2;
11469
+ var _props$value = props.value,
11470
+ value = _props$value === void 0 ? [] : _props$value,
11471
+ onChange = props.onChange,
11472
+ disabled = props.disabled,
11473
+ _props$type = props.type,
11474
+ type = _props$type === void 0 ? 1 : _props$type;
11475
+ var _useState = React.useState(0),
11476
+ _useState2 = _slicedToArray(_useState, 2),
11477
+ changeIndex = _useState2[0],
11478
+ setChangeIndex = _useState2[1]; //选中的包裹
11479
+ React.useEffect(function () {
11480
+ setChangeIndex(0);
11481
+ }, []);
11482
+ var content = function content(item, index) {
11483
+ return /*#__PURE__*/React__default['default'].createElement("div", {
11484
+ style: {
11485
+ maxHeight: '300px',
11486
+ overflowY: 'auto'
11487
+ }
11488
+ }, type === 1 ? /*#__PURE__*/React__default['default'].createElement("span", null, "\u7CFB\u7EDF\u8BA2\u5355\u53F7", index + 1, "\uFF1A", item.systemOrderId) : null);
11489
+ };
11490
+ var changeInputHandle = function changeInputHandle(val, type) {
11491
+ var changeOrderInfo = _objectSpread2({}, value[changeIndex]);
11492
+ changeOrderInfo[type] = val;
11493
+ var newList = _toConsumableArray(value);
11494
+ newList[changeIndex] = changeOrderInfo;
11495
+ onChange === null || onChange === void 0 ? void 0 : onChange(newList);
11496
+ };
11497
+ //判断是否是单个且没有商品数据
11498
+ var isSingle = React.useMemo(function () {
11499
+ return value && value.length === 1;
11500
+ }, [value]);
11501
+ return /*#__PURE__*/React__default['default'].createElement("div", null, !isSingle ? /*#__PURE__*/React__default['default'].createElement("div", null, /*#__PURE__*/React__default['default'].createElement(antd.Space, {
11502
+ wrap: true
11503
+ }, (value || []).map(function (item, index) {
11504
+ return /*#__PURE__*/React__default['default'].createElement(antd.Popover, {
11505
+ content: content(item, index),
11506
+ key: index
11507
+ }, /*#__PURE__*/React__default['default'].createElement("span", {
11508
+ style: {
11509
+ color: changeIndex === index ? '#4569d4' : 'black',
11510
+ cursor: 'pointer'
11511
+ },
11512
+ onClick: function onClick() {
11513
+ return setChangeIndex(index);
11514
+ }
11515
+ }, "\u7CFB\u7EDF\u8BA2\u5355\u53F7".concat(index + 1)));
11516
+ }))) : 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, {
11517
+ disabled: disabled,
11518
+ placeholder: "\u8BF7\u8F93\u5165\u51FA\u5E93\u5355\u7F16\u53F7",
11519
+ onChange: function onChange(e) {
11520
+ return changeInputHandle(e.target.value, 'deliveryNo');
11521
+ },
11522
+ value: (_value$changeIndex = value[changeIndex]) === null || _value$changeIndex === void 0 ? void 0 : _value$changeIndex.deliveryNo
11523
+ })) : null, type === 2 ? /*#__PURE__*/React__default['default'].createElement(antd.Space, null, /*#__PURE__*/React__default['default'].createElement(antd.Input, {
11524
+ disabled: disabled,
11525
+ placeholder: "\u8BF7\u8F93\u5165\u9000\u8D27\u5355id",
11526
+ onChange: function onChange(e) {
11527
+ return changeInputHandle(e.target.value, 'returnGoodsTradeId');
11528
+ },
11529
+ value: (_value$changeIndex2 = value[changeIndex]) === null || _value$changeIndex2 === void 0 ? void 0 : _value$changeIndex2.returnGoodsTradeId
11530
+ })) : null) : null);
11531
+ };
11532
+
11533
+ var _excluded$g = ["value", "onChange", "disabled", "failValue", "type"];
11534
+ var CommonSystemOrder$1 = function CommonSystemOrder(props) {
11535
+ var _value$changeIndex;
11536
+ var _props$value = props.value,
11537
+ value = _props$value === void 0 ? [] : _props$value,
11538
+ onChange = props.onChange,
11539
+ disabled = props.disabled,
11540
+ failValue = props.failValue,
11541
+ _props$type = props.type,
11542
+ type = _props$type === void 0 ? 1 : _props$type,
11543
+ other = _objectWithoutProperties(props, _excluded$g);
11544
+ var _useState = React.useState(0),
11545
+ _useState2 = _slicedToArray(_useState, 2),
11546
+ changeIndex = _useState2[0],
11547
+ setChangeIndex = _useState2[1]; //选中的包裹
11548
+ React.useEffect(function () {
11549
+ setChangeIndex(0);
11550
+ }, []);
11551
+ var content = function content(item, index) {
11552
+ return /*#__PURE__*/React__default['default'].createElement("div", {
11553
+ style: {
11554
+ maxHeight: '300px',
11555
+ overflowY: 'auto'
11556
+ }
11557
+ }, type === 1 ? /*#__PURE__*/React__default['default'].createElement("span", null, "\u7CFB\u7EDF\u8BA2\u5355\u53F7", index + 1, "\uFF1A", item.systemOrderId) : null);
11558
+ };
11559
+ var changeHandle = function changeHandle(val, valType) {
11560
+ console.log(val, valType);
11561
+ var changeOrderInfo = _objectSpread2({}, value[changeIndex]);
11562
+ changeOrderInfo[valType] = val;
11563
+ if (val === failValue) {
11564
+ changeOrderInfo.reason = '';
11565
+ }
11566
+ var newList = _toConsumableArray(value);
11567
+ newList[changeIndex] = changeOrderInfo;
11568
+ onChange === null || onChange === void 0 ? void 0 : onChange(newList);
11569
+ };
11570
+ //判断是否是单个且没有商品数据
11571
+ var isSingle = React.useMemo(function () {
11572
+ return value && value.length === 1;
11573
+ }, [value]);
11574
+ return /*#__PURE__*/React__default['default'].createElement("div", null, !isSingle ? /*#__PURE__*/React__default['default'].createElement("div", null, /*#__PURE__*/React__default['default'].createElement(antd.Space, {
11575
+ wrap: true
11576
+ }, (value || []).map(function (item, index) {
11577
+ return /*#__PURE__*/React__default['default'].createElement(antd.Popover, {
11578
+ content: content(item, index),
11579
+ key: index
11580
+ }, /*#__PURE__*/React__default['default'].createElement("span", {
11581
+ style: {
11582
+ color: changeIndex === index ? '#4569d4' : 'black',
11583
+ cursor: 'pointer'
11584
+ },
11585
+ onClick: function onClick() {
11586
+ return setChangeIndex(index);
11587
+ }
11588
+ }, "\u7CFB\u7EDF\u8BA2\u5355\u53F7".concat(index + 1)));
11589
+ }))) : 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, _objectSpread2(_objectSpread2({}, other), {}, {
11590
+ showSearch: true,
11591
+ value: (_value$changeIndex = value[changeIndex]) === null || _value$changeIndex === void 0 ? void 0 : _value$changeIndex.status,
11592
+ filterOption: function filterOption(input, option) {
11593
+ return option.label.includes(input);
11594
+ },
11595
+ style: {
11596
+ width: 200
11597
+ },
11598
+ placeholder: "\u8BF7\u9009\u62E9",
11599
+ disabled: disabled,
11600
+ onChange: function onChange(val) {
11601
+ return changeHandle(val, 'status');
11602
+ }
11603
+ }))) : null) : null);
11604
+ };
11605
+
11465
11606
  exports.Address = ApaasAddress;
11466
11607
  exports.AliPay = AliPay;
11467
11608
  exports.ApaasAddress = Province;
@@ -11488,7 +11629,9 @@ exports.BsReissue = BsReissue;
11488
11629
  exports.BsSystemOrder = index;
11489
11630
  exports.BuyerNick = BuyerNick;
11490
11631
  exports.ChooseBaby = ChooseBaby;
11491
- exports.CommonStatus = MultiStatus;
11632
+ exports.CommonMultiStatus = CommonSystemOrder$1;
11633
+ exports.CommonStatus = CommonStatus;
11634
+ exports.CommonSystemOrder = CommonSystemOrder;
11492
11635
  exports.ExpressLogistics = ExpressLogistics;
11493
11636
  exports.Goods = Goods;
11494
11637
  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 MultiStatusProps {
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 MultiStatus(props: Partial<MultiStatusProps>): React.JSX.Element;
12
- export default MultiStatus;
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;
@@ -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.24",
3
+ "version": "0.8.17-alpha.28",
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.24",
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": "3650ffa0cd79f19b410768edee9b88d4e5fc740e"
63
+ "gitHead": "a61c96c5e27753231614bd31327c7a2eef131679"
64
64
  }