@kmkf-fe-packages/basic-components 0.7.15-alpha.84 → 0.8.0

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
@@ -2,7 +2,7 @@ import React, { useRef, useState, useEffect, useMemo, forwardRef, useImperativeH
2
2
  import { Cascader, DatePicker, InputNumber, Input, Select, Upload, Image, message, Radio, Space, Spin, Checkbox, Row, Col, Slider, Rate, Button, Form, Tabs, Modal, ConfigProvider, Pagination, Popover, Table } from 'antd';
3
3
  import { EyeOutlined, DeleteOutlined, InboxOutlined } from '@ant-design/icons';
4
4
  import request, { extend as extend$1 } from 'umi-request';
5
- import { AddressData, BsAddressData, request as request$1, LogisticsAddressData, uuid } from '@kmkf-fe-packages/kmkf-utils';
5
+ import { AddressData, BsAddressData, request as request$1, ExpressData, LogisticsAddressData, uuid } from '@kmkf-fe-packages/kmkf-utils';
6
6
  import zhCN from 'antd/lib/locale/zh_CN';
7
7
  import pubsub from 'pubsub-js';
8
8
  import { cloneDeep } from 'lodash';
@@ -7329,7 +7329,48 @@ function ApaasPosting(props) {
7329
7329
  });
7330
7330
  }
7331
7331
 
7332
- var _excluded$a = ["label", "name", "extra", "required", "rules", "initialValue"];
7332
+ var _excluded$a = ["value", "disabled", "onChange"];
7333
+ var express = ExpressData.getInstance();
7334
+ function ApaasLogistics(props) {
7335
+ var value = props.value,
7336
+ disabled = props.disabled,
7337
+ onChange = props.onChange,
7338
+ other = _objectWithoutProperties(props, _excluded$a);
7339
+ var _useState = useState([]),
7340
+ _useState2 = _slicedToArray(_useState, 2),
7341
+ option = _useState2[0],
7342
+ setOptions = _useState2[1];
7343
+ var isFirst = useRef(false);
7344
+ var initPageSource = /*#__PURE__*/function () {
7345
+ var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
7346
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
7347
+ while (1) switch (_context.prev = _context.next) {
7348
+ case 0:
7349
+ setOptions(express.expressData || []);
7350
+ case 1:
7351
+ case "end":
7352
+ return _context.stop();
7353
+ }
7354
+ }, _callee);
7355
+ }));
7356
+ return function initPageSource() {
7357
+ return _ref.apply(this, arguments);
7358
+ };
7359
+ }();
7360
+ useEffect(function () {
7361
+ if (!isFirst.current) {
7362
+ initPageSource();
7363
+ isFirst.current = true;
7364
+ }
7365
+ }, []);
7366
+ return /*#__PURE__*/React.createElement(Select, _objectSpread2(_objectSpread2({}, other), {}, {
7367
+ value: value,
7368
+ onChange: onChange,
7369
+ options: option
7370
+ }));
7371
+ }
7372
+
7373
+ var _excluded$b = ["label", "name", "extra", "required", "rules", "initialValue"];
7333
7374
  function withFormItem(WrappedComponent) {
7334
7375
  return function (props) {
7335
7376
  var label = props.label,
@@ -7338,7 +7379,7 @@ function withFormItem(WrappedComponent) {
7338
7379
  required = props.required,
7339
7380
  rules = props.rules,
7340
7381
  initialValue = props.initialValue,
7341
- otherProps = _objectWithoutProperties(props, _excluded$a);
7382
+ otherProps = _objectWithoutProperties(props, _excluded$b);
7342
7383
  return /*#__PURE__*/React.createElement(Form.Item, _objectSpread2({}, {
7343
7384
  label: label,
7344
7385
  name: name,
@@ -7542,12 +7583,11 @@ var Logistics = function Logistics(props) {
7542
7583
  };
7543
7584
  //物流公司
7544
7585
  var LogisticsCompany = function LogisticsCompany() {
7545
- return /*#__PURE__*/React.createElement(Select, {
7586
+ return /*#__PURE__*/React.createElement(ApaasLogistics, {
7546
7587
  disabled: disabled,
7547
7588
  placeholder: "\u7269\u6D41\u516C\u53F8",
7548
7589
  onChange: handelSelectChange,
7549
7590
  value: (value === null || value === void 0 ? void 0 : value.company) === '' ? undefined : value === null || value === void 0 ? void 0 : value.company,
7550
- options: options,
7551
7591
  showSearch: true,
7552
7592
  style: {
7553
7593
  width: '100%'
@@ -7555,7 +7595,18 @@ var Logistics = function Logistics(props) {
7555
7595
  filterOption: function filterOption(input, option) {
7556
7596
  return option.label.includes(input);
7557
7597
  }
7558
- });
7598
+ })
7599
+ // <Select
7600
+ // disabled={disabled}
7601
+ // placeholder="物流公司"
7602
+ // onChange={handelSelectChange}
7603
+ // value={value?.company === '' ? undefined : value?.company}
7604
+ // options={options}
7605
+ // showSearch
7606
+ // style={{ width: '100%' }}
7607
+ // filterOption={(input, option: any) => option.label.includes(input)}
7608
+ // />
7609
+ ;
7559
7610
  };
7560
7611
  //物流单号
7561
7612
  var LogisticsCode = function LogisticsCode() {
@@ -9034,7 +9085,6 @@ var LogisticsInterception = function LogisticsInterception(props) {
9034
9085
  var _props$value = props.value,
9035
9086
  value = _props$value === void 0 ? {} : _props$value,
9036
9087
  _props$logisticsOptio = props.logisticsOptions,
9037
- logisticsOptions = _props$logisticsOptio === void 0 ? [] : _props$logisticsOptio,
9038
9088
  _props$expressInterce = props.expressInterceptData,
9039
9089
  expressInterceptData = _props$expressInterce === void 0 ? [] : _props$expressInterce,
9040
9090
  _props$required = props.required,
@@ -9211,7 +9261,7 @@ var LogisticsInterception = function LogisticsInterception(props) {
9211
9261
  label: '物流信息',
9212
9262
  required: required,
9213
9263
  key: 'logistics'
9214
- }, /*#__PURE__*/React.createElement(Space, null, /*#__PURE__*/React.createElement(Select, {
9264
+ }, /*#__PURE__*/React.createElement(Space, null, /*#__PURE__*/React.createElement(ApaasLogistics, {
9215
9265
  disabled: disabled || isEdit,
9216
9266
  placeholder: "\u7269\u6D41\u516C\u53F8",
9217
9267
  style: {
@@ -9221,7 +9271,6 @@ var LogisticsInterception = function LogisticsInterception(props) {
9221
9271
  return changeHandle(val, 'interceptCompany');
9222
9272
  },
9223
9273
  value: (value === null || value === void 0 ? void 0 : value.interceptCompany) === '' ? undefined : value === null || value === void 0 ? void 0 : value.interceptCompany,
9224
- options: logisticsOptions,
9225
9274
  showSearch: true,
9226
9275
  filterOption: function filterOption(input, option) {
9227
9276
  return option.label.includes(input);
@@ -9396,17 +9445,16 @@ var LogisticsTrajectory = function LogisticsTrajectory(props) {
9396
9445
  };
9397
9446
  //物流公司
9398
9447
  var LogisticsCompany = function LogisticsCompany() {
9399
- return /*#__PURE__*/React.createElement(Select, {
9400
- disabled: disabled,
9401
- placeholder: "\u7269\u6D41\u516C\u53F8",
9448
+ return /*#__PURE__*/React.createElement(ApaasLogistics, {
9449
+ value: !(value === null || value === void 0 ? void 0 : value.trajectoryCompany) ? undefined : value === null || value === void 0 ? void 0 : value.trajectoryCompany,
9402
9450
  onChange: handelSelectChange,
9403
- value: (value === null || value === void 0 ? void 0 : value.trajectoryCompany) === '' ? undefined : value === null || value === void 0 ? void 0 : value.trajectoryCompany,
9404
- options: options,
9405
- showSearch: true,
9406
9451
  style: {
9407
9452
  width: '100%',
9408
9453
  marginBottom: '8px'
9409
9454
  },
9455
+ disabled: disabled,
9456
+ placeholder: "\u7269\u6D41\u516C\u53F8",
9457
+ showSearch: true,
9410
9458
  filterOption: function filterOption(input, option) {
9411
9459
  return option.label.includes(input);
9412
9460
  }
@@ -9465,7 +9513,6 @@ var jstGoods = function jstGoods(props) {
9465
9513
  var _props$value = props.value,
9466
9514
  value = _props$value === void 0 ? [] : _props$value,
9467
9515
  _props$options = props.options,
9468
- options = _props$options === void 0 ? [] : _props$options,
9469
9516
  onChange = props.onChange,
9470
9517
  disabled = props.disabled,
9471
9518
  _props$type = props.type,
@@ -9526,14 +9573,13 @@ var jstGoods = function jstGoods(props) {
9526
9573
  return setChangeIndex(index);
9527
9574
  }
9528
9575
  }, "\u5305\u88F9".concat(index + 1)));
9529
- }))) : null, value.length ? /*#__PURE__*/React.createElement(React.Fragment, null, type === 1 ? /*#__PURE__*/React.createElement(Space, null, !showField || showField === 'logisticsCompany' ? /*#__PURE__*/React.createElement(Select, {
9576
+ }))) : null, value.length ? /*#__PURE__*/React.createElement(React.Fragment, null, type === 1 ? /*#__PURE__*/React.createElement(Space, null, !showField || showField === 'logisticsCompany' ? /*#__PURE__*/React.createElement(ApaasLogistics, {
9530
9577
  disabled: disabled,
9531
9578
  placeholder: "\u7269\u6D41\u516C\u53F8",
9532
9579
  onChange: function onChange(val) {
9533
9580
  return changeInputHandle(val, 'logisticsCompany');
9534
9581
  },
9535
9582
  value: (_value$changeIndex = value[changeIndex]) === null || _value$changeIndex === void 0 ? void 0 : _value$changeIndex.logisticsCompany,
9536
- options: options,
9537
9583
  showSearch: true,
9538
9584
  filterOption: function filterOption(input, option) {
9539
9585
  return option.label.includes(input);
@@ -10281,7 +10327,7 @@ var BsGoods = function BsGoods(props) {
10281
10327
  }));
10282
10328
  };
10283
10329
 
10284
- var _excluded$b = ["value", "onChange", "reasonList", "disabled"];
10330
+ var _excluded$c = ["value", "onChange", "reasonList", "disabled"];
10285
10331
  var BsExchange = function BsExchange(props) {
10286
10332
  var _value$bsExchangeType4, _value$bsExchangeType5, _value$bsExchangeType6;
10287
10333
  var value = props.value,
@@ -10289,7 +10335,7 @@ var BsExchange = function BsExchange(props) {
10289
10335
  _props$reasonList = props.reasonList,
10290
10336
  reasonList = _props$reasonList === void 0 ? [] : _props$reasonList,
10291
10337
  disabled = props.disabled,
10292
- other = _objectWithoutProperties(props, _excluded$b);
10338
+ other = _objectWithoutProperties(props, _excluded$c);
10293
10339
  var valueRef = useRef({});
10294
10340
  useEffect(function () {
10295
10341
  valueRef.current = value;
@@ -10508,14 +10554,14 @@ var BsExchange = function BsExchange(props) {
10508
10554
  }))) : null);
10509
10555
  };
10510
10556
 
10511
- var _excluded$c = ["value", "onChange", "reasonList", "disabled"];
10557
+ var _excluded$d = ["value", "onChange", "reasonList", "disabled"];
10512
10558
  var BsReissue = function BsReissue(props) {
10513
10559
  var value = props.value,
10514
10560
  onChange = props.onChange,
10515
10561
  _props$reasonList = props.reasonList,
10516
10562
  reasonList = _props$reasonList === void 0 ? [] : _props$reasonList,
10517
10563
  disabled = props.disabled,
10518
- other = _objectWithoutProperties(props, _excluded$c);
10564
+ other = _objectWithoutProperties(props, _excluded$d);
10519
10565
  var valueRef = useRef({});
10520
10566
  useEffect(function () {
10521
10567
  pubsub.subscribe('reissueSelectList', function (_, data) {
@@ -11086,4 +11132,4 @@ var Goods$1 = function Goods(props, ref) {
11086
11132
  };
11087
11133
  var index = /*#__PURE__*/forwardRef(Goods$1);
11088
11134
 
11089
- export { ApaasAddress as Address, AliPay, Province as ApaasAddress, ApaasCascader, ApaasCheckbox, ApaasDate, withFormItem as ApaasHoc, ApaasInput, ApaasInputNumber, ApaasMultipleSelect, ApaasPosting, ApaasRadio, ApaasRate, ApaasSelect, ApaasSlider, ApaasTextArea, ApaasUpload, ApaasUploadAsync, ApaasUploadAsync$1 as ApaasUploadFile, BsExchange, BsGoods, BsReissue, BuyerNick, ChooseBaby, ExpressLogistics, Goods, index 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 };
11135
+ 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, BuyerNick, ChooseBaby, ExpressLogistics, Goods, index 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
@@ -7340,7 +7340,48 @@ function ApaasPosting(props) {
7340
7340
  });
7341
7341
  }
7342
7342
 
7343
- var _excluded$a = ["label", "name", "extra", "required", "rules", "initialValue"];
7343
+ var _excluded$a = ["value", "disabled", "onChange"];
7344
+ var express = kmkfUtils.ExpressData.getInstance();
7345
+ function ApaasLogistics(props) {
7346
+ var value = props.value,
7347
+ disabled = props.disabled,
7348
+ onChange = props.onChange,
7349
+ other = _objectWithoutProperties(props, _excluded$a);
7350
+ var _useState = React.useState([]),
7351
+ _useState2 = _slicedToArray(_useState, 2),
7352
+ option = _useState2[0],
7353
+ setOptions = _useState2[1];
7354
+ var isFirst = React.useRef(false);
7355
+ var initPageSource = /*#__PURE__*/function () {
7356
+ var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
7357
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
7358
+ while (1) switch (_context.prev = _context.next) {
7359
+ case 0:
7360
+ setOptions(express.expressData || []);
7361
+ case 1:
7362
+ case "end":
7363
+ return _context.stop();
7364
+ }
7365
+ }, _callee);
7366
+ }));
7367
+ return function initPageSource() {
7368
+ return _ref.apply(this, arguments);
7369
+ };
7370
+ }();
7371
+ React.useEffect(function () {
7372
+ if (!isFirst.current) {
7373
+ initPageSource();
7374
+ isFirst.current = true;
7375
+ }
7376
+ }, []);
7377
+ return /*#__PURE__*/React__default['default'].createElement(antd.Select, _objectSpread2(_objectSpread2({}, other), {}, {
7378
+ value: value,
7379
+ onChange: onChange,
7380
+ options: option
7381
+ }));
7382
+ }
7383
+
7384
+ var _excluded$b = ["label", "name", "extra", "required", "rules", "initialValue"];
7344
7385
  function withFormItem(WrappedComponent) {
7345
7386
  return function (props) {
7346
7387
  var label = props.label,
@@ -7349,7 +7390,7 @@ function withFormItem(WrappedComponent) {
7349
7390
  required = props.required,
7350
7391
  rules = props.rules,
7351
7392
  initialValue = props.initialValue,
7352
- otherProps = _objectWithoutProperties(props, _excluded$a);
7393
+ otherProps = _objectWithoutProperties(props, _excluded$b);
7353
7394
  return /*#__PURE__*/React__default['default'].createElement(antd.Form.Item, _objectSpread2({}, {
7354
7395
  label: label,
7355
7396
  name: name,
@@ -7553,12 +7594,11 @@ var Logistics = function Logistics(props) {
7553
7594
  };
7554
7595
  //物流公司
7555
7596
  var LogisticsCompany = function LogisticsCompany() {
7556
- return /*#__PURE__*/React__default['default'].createElement(antd.Select, {
7597
+ return /*#__PURE__*/React__default['default'].createElement(ApaasLogistics, {
7557
7598
  disabled: disabled,
7558
7599
  placeholder: "\u7269\u6D41\u516C\u53F8",
7559
7600
  onChange: handelSelectChange,
7560
7601
  value: (value === null || value === void 0 ? void 0 : value.company) === '' ? undefined : value === null || value === void 0 ? void 0 : value.company,
7561
- options: options,
7562
7602
  showSearch: true,
7563
7603
  style: {
7564
7604
  width: '100%'
@@ -7566,7 +7606,18 @@ var Logistics = function Logistics(props) {
7566
7606
  filterOption: function filterOption(input, option) {
7567
7607
  return option.label.includes(input);
7568
7608
  }
7569
- });
7609
+ })
7610
+ // <Select
7611
+ // disabled={disabled}
7612
+ // placeholder="物流公司"
7613
+ // onChange={handelSelectChange}
7614
+ // value={value?.company === '' ? undefined : value?.company}
7615
+ // options={options}
7616
+ // showSearch
7617
+ // style={{ width: '100%' }}
7618
+ // filterOption={(input, option: any) => option.label.includes(input)}
7619
+ // />
7620
+ ;
7570
7621
  };
7571
7622
  //物流单号
7572
7623
  var LogisticsCode = function LogisticsCode() {
@@ -9045,7 +9096,6 @@ var LogisticsInterception = function LogisticsInterception(props) {
9045
9096
  var _props$value = props.value,
9046
9097
  value = _props$value === void 0 ? {} : _props$value,
9047
9098
  _props$logisticsOptio = props.logisticsOptions,
9048
- logisticsOptions = _props$logisticsOptio === void 0 ? [] : _props$logisticsOptio,
9049
9099
  _props$expressInterce = props.expressInterceptData,
9050
9100
  expressInterceptData = _props$expressInterce === void 0 ? [] : _props$expressInterce,
9051
9101
  _props$required = props.required,
@@ -9222,7 +9272,7 @@ var LogisticsInterception = function LogisticsInterception(props) {
9222
9272
  label: '物流信息',
9223
9273
  required: required,
9224
9274
  key: 'logistics'
9225
- }, /*#__PURE__*/React__default['default'].createElement(antd.Space, null, /*#__PURE__*/React__default['default'].createElement(antd.Select, {
9275
+ }, /*#__PURE__*/React__default['default'].createElement(antd.Space, null, /*#__PURE__*/React__default['default'].createElement(ApaasLogistics, {
9226
9276
  disabled: disabled || isEdit,
9227
9277
  placeholder: "\u7269\u6D41\u516C\u53F8",
9228
9278
  style: {
@@ -9232,7 +9282,6 @@ var LogisticsInterception = function LogisticsInterception(props) {
9232
9282
  return changeHandle(val, 'interceptCompany');
9233
9283
  },
9234
9284
  value: (value === null || value === void 0 ? void 0 : value.interceptCompany) === '' ? undefined : value === null || value === void 0 ? void 0 : value.interceptCompany,
9235
- options: logisticsOptions,
9236
9285
  showSearch: true,
9237
9286
  filterOption: function filterOption(input, option) {
9238
9287
  return option.label.includes(input);
@@ -9407,17 +9456,16 @@ var LogisticsTrajectory = function LogisticsTrajectory(props) {
9407
9456
  };
9408
9457
  //物流公司
9409
9458
  var LogisticsCompany = function LogisticsCompany() {
9410
- return /*#__PURE__*/React__default['default'].createElement(antd.Select, {
9411
- disabled: disabled,
9412
- placeholder: "\u7269\u6D41\u516C\u53F8",
9459
+ return /*#__PURE__*/React__default['default'].createElement(ApaasLogistics, {
9460
+ value: !(value === null || value === void 0 ? void 0 : value.trajectoryCompany) ? undefined : value === null || value === void 0 ? void 0 : value.trajectoryCompany,
9413
9461
  onChange: handelSelectChange,
9414
- value: (value === null || value === void 0 ? void 0 : value.trajectoryCompany) === '' ? undefined : value === null || value === void 0 ? void 0 : value.trajectoryCompany,
9415
- options: options,
9416
- showSearch: true,
9417
9462
  style: {
9418
9463
  width: '100%',
9419
9464
  marginBottom: '8px'
9420
9465
  },
9466
+ disabled: disabled,
9467
+ placeholder: "\u7269\u6D41\u516C\u53F8",
9468
+ showSearch: true,
9421
9469
  filterOption: function filterOption(input, option) {
9422
9470
  return option.label.includes(input);
9423
9471
  }
@@ -9476,7 +9524,6 @@ var jstGoods = function jstGoods(props) {
9476
9524
  var _props$value = props.value,
9477
9525
  value = _props$value === void 0 ? [] : _props$value,
9478
9526
  _props$options = props.options,
9479
- options = _props$options === void 0 ? [] : _props$options,
9480
9527
  onChange = props.onChange,
9481
9528
  disabled = props.disabled,
9482
9529
  _props$type = props.type,
@@ -9537,14 +9584,13 @@ var jstGoods = function jstGoods(props) {
9537
9584
  return setChangeIndex(index);
9538
9585
  }
9539
9586
  }, "\u5305\u88F9".concat(index + 1)));
9540
- }))) : null, value.length ? /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, type === 1 ? /*#__PURE__*/React__default['default'].createElement(antd.Space, null, !showField || showField === 'logisticsCompany' ? /*#__PURE__*/React__default['default'].createElement(antd.Select, {
9587
+ }))) : null, value.length ? /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, type === 1 ? /*#__PURE__*/React__default['default'].createElement(antd.Space, null, !showField || showField === 'logisticsCompany' ? /*#__PURE__*/React__default['default'].createElement(ApaasLogistics, {
9541
9588
  disabled: disabled,
9542
9589
  placeholder: "\u7269\u6D41\u516C\u53F8",
9543
9590
  onChange: function onChange(val) {
9544
9591
  return changeInputHandle(val, 'logisticsCompany');
9545
9592
  },
9546
9593
  value: (_value$changeIndex = value[changeIndex]) === null || _value$changeIndex === void 0 ? void 0 : _value$changeIndex.logisticsCompany,
9547
- options: options,
9548
9594
  showSearch: true,
9549
9595
  filterOption: function filterOption(input, option) {
9550
9596
  return option.label.includes(input);
@@ -10292,7 +10338,7 @@ var BsGoods = function BsGoods(props) {
10292
10338
  }));
10293
10339
  };
10294
10340
 
10295
- var _excluded$b = ["value", "onChange", "reasonList", "disabled"];
10341
+ var _excluded$c = ["value", "onChange", "reasonList", "disabled"];
10296
10342
  var BsExchange = function BsExchange(props) {
10297
10343
  var _value$bsExchangeType4, _value$bsExchangeType5, _value$bsExchangeType6;
10298
10344
  var value = props.value,
@@ -10300,7 +10346,7 @@ var BsExchange = function BsExchange(props) {
10300
10346
  _props$reasonList = props.reasonList,
10301
10347
  reasonList = _props$reasonList === void 0 ? [] : _props$reasonList,
10302
10348
  disabled = props.disabled,
10303
- other = _objectWithoutProperties(props, _excluded$b);
10349
+ other = _objectWithoutProperties(props, _excluded$c);
10304
10350
  var valueRef = React.useRef({});
10305
10351
  React.useEffect(function () {
10306
10352
  valueRef.current = value;
@@ -10519,14 +10565,14 @@ var BsExchange = function BsExchange(props) {
10519
10565
  }))) : null);
10520
10566
  };
10521
10567
 
10522
- var _excluded$c = ["value", "onChange", "reasonList", "disabled"];
10568
+ var _excluded$d = ["value", "onChange", "reasonList", "disabled"];
10523
10569
  var BsReissue = function BsReissue(props) {
10524
10570
  var value = props.value,
10525
10571
  onChange = props.onChange,
10526
10572
  _props$reasonList = props.reasonList,
10527
10573
  reasonList = _props$reasonList === void 0 ? [] : _props$reasonList,
10528
10574
  disabled = props.disabled,
10529
- other = _objectWithoutProperties(props, _excluded$c);
10575
+ other = _objectWithoutProperties(props, _excluded$d);
10530
10576
  var valueRef = React.useRef({});
10531
10577
  React.useEffect(function () {
10532
10578
  pubsub__default['default'].subscribe('reissueSelectList', function (_, data) {
@@ -11106,6 +11152,7 @@ exports.ApaasDate = ApaasDate;
11106
11152
  exports.ApaasHoc = withFormItem;
11107
11153
  exports.ApaasInput = ApaasInput;
11108
11154
  exports.ApaasInputNumber = ApaasInputNumber;
11155
+ exports.ApaasLogistics = ApaasLogistics;
11109
11156
  exports.ApaasMultipleSelect = ApaasMultipleSelect;
11110
11157
  exports.ApaasPosting = ApaasPosting;
11111
11158
  exports.ApaasRadio = ApaasRadio;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ export interface ApaasLogisticsProps {
3
+ value: any;
4
+ onChange: (val: any) => void;
5
+ [propName: string]: any;
6
+ }
7
+ declare function ApaasLogistics(props: ApaasLogisticsProps): React.JSX.Element;
8
+ export default ApaasLogistics;
@@ -14,6 +14,7 @@ export { default as ApaasSlider } from './apaas/ApaasSlider';
14
14
  export { default as ApaasRate } from './apaas/ApaasRate';
15
15
  export { default as ApaasAddress } from './apaas/ApaasAddress';
16
16
  export { default as ApaasPosting } from './apaas/ApaasPosting';
17
+ export { default as ApaasLogistics } from './apaas/ApaasLogistics';
17
18
  export { default as ApaasHoc } from './apaas/hoc/withFormItem';
18
19
  export { default as BuyerNick } from './business/BuyerNick';
19
20
  export { default as TradeId } from './business/TradeId';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/basic-components",
3
- "version": "0.7.15-alpha.84",
3
+ "version": "0.8.0",
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.7.15-alpha.83",
23
+ "@kmkf-fe-packages/kmkf-utils": "^0.8.0",
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": "8f513f8c01dfbbcb8bc16404737f18f6689a3c68"
61
+ "gitHead": "cc6ccff667c191b641cc259b002a7e022fe7931c"
62
62
  }