@kmkf-fe-packages/basic-components 1.0.1-rc.1 → 1.0.1-rc.3

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
@@ -3,7 +3,7 @@ import { Cascader, DatePicker, InputNumber, Input, Select, Upload, Image, messag
3
3
  import { EyeOutlined, DeleteOutlined, CloseCircleOutlined, CaretUpOutlined } from '@ant-design/icons';
4
4
  import request, { extend as extend$1 } from 'umi-request';
5
5
  import { CopyToClipboard } from 'react-copy-to-clipboard';
6
- import { AddressData, BsAddressData, WdtAddressData, request as request$1, ExpressData, uuid, LogisticsAddressData, useSendData, WDT_ORDER_TYPE_MAP } from '@kmkf-fe-packages/kmkf-utils';
6
+ import { AddressData, BsAddressData, WdtAddressData, request as request$1, ExpressData, uuid, LogisticsAddressData, WDT_ORDER_TYPE_MAP } from '@kmkf-fe-packages/kmkf-utils';
7
7
  import zhCN from 'antd/lib/locale/zh_CN';
8
8
  import { cloneDeep, difference, differenceWith } from 'lodash';
9
9
  import { useDebounceEffect } from 'ahooks';
@@ -10439,8 +10439,6 @@ var jstGoods = function jstGoods(props) {
10439
10439
  _useState2 = _slicedToArray(_useState, 2),
10440
10440
  changeIndex = _useState2[0],
10441
10441
  setChangeIndex = _useState2[1]; //选中的包裹
10442
- var _useSendData = useSendData(componentType === 'WDT_SEND_GOOD' ? 'wdt' : ''),
10443
- wdtSendOptions = _useSendData.sendData;
10444
10442
  useEffect(function () {
10445
10443
  //没有值塞个默认值
10446
10444
  if (!(value === null || value === void 0 ? void 0 : value.length)) {
@@ -10558,7 +10556,7 @@ var jstGoods = function jstGoods(props) {
10558
10556
  disabled: disabled,
10559
10557
  placeholder: "\u53D1\u8D27\u4ED3\u540D\u79F0",
10560
10558
  showSearch: true,
10561
- options: wdtSendOptions,
10559
+ options: [],
10562
10560
  filterOption: filterOption,
10563
10561
  value: (_value$changeIndex6 = value[changeIndex]) === null || _value$changeIndex6 === void 0 ? void 0 : _value$changeIndex6.sendName,
10564
10562
  onChange: function onChange(value, option) {
package/dist/index.js CHANGED
@@ -10450,8 +10450,6 @@ var jstGoods = function jstGoods(props) {
10450
10450
  _useState2 = _slicedToArray(_useState, 2),
10451
10451
  changeIndex = _useState2[0],
10452
10452
  setChangeIndex = _useState2[1]; //选中的包裹
10453
- var _useSendData = kmkfUtils.useSendData(componentType === 'WDT_SEND_GOOD' ? 'wdt' : ''),
10454
- wdtSendOptions = _useSendData.sendData;
10455
10453
  React.useEffect(function () {
10456
10454
  //没有值塞个默认值
10457
10455
  if (!(value === null || value === void 0 ? void 0 : value.length)) {
@@ -10569,7 +10567,7 @@ var jstGoods = function jstGoods(props) {
10569
10567
  disabled: disabled,
10570
10568
  placeholder: "\u53D1\u8D27\u4ED3\u540D\u79F0",
10571
10569
  showSearch: true,
10572
- options: wdtSendOptions,
10570
+ options: [],
10573
10571
  filterOption: filterOption,
10574
10572
  value: (_value$changeIndex6 = value[changeIndex]) === null || _value$changeIndex6 === void 0 ? void 0 : _value$changeIndex6.sendName,
10575
10573
  onChange: function onChange(value, option) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/basic-components",
3
- "version": "1.0.1-rc.1",
3
+ "version": "1.0.1-rc.3",
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": "^1.0.1-rc.1",
23
+ "@kmkf-fe-packages/kmkf-utils": "^1.0.1-rc.3",
24
24
  "ahooks": "^3.7.4",
25
25
  "kmkf-monitor": "^0.8.8",
26
26
  "lodash": "^4.17.21",
@@ -64,5 +64,5 @@
64
64
  "publishConfig": {
65
65
  "access": "public"
66
66
  },
67
- "gitHead": "d11e3d70ebac788523fa88a2687b31273a7adef5"
67
+ "gitHead": "f2086c8596bf47cb02aafe8df809286b3f497811"
68
68
  }