@kmkf-fe-packages/basic-components 2.2.13-beta.42 → 2.2.13-beta.45
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, CloseOutlined, PlusSquareOutlined, MinusCircleFilled, PlusCircleFilled, CopyOutlined, CloseCircleOutlined, CaretUpOutlined, UpOutlined, DownOutlined, PlusOutlined, VideoCameraTwoTone } 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, GyAddressData, request as request$1, ExpressData, isNull, imgResize, uuid, servers, columnsGoodsList, LogisticsAddressData, SendDataCenter, hasAddNullComponent, SUBMIT_TIME_ID, UPGRADE_TIME_ID, FINAL_TIME_ID, CUSTOM_TIME_ID, useStatus, finalFormData, transformList, dataSourceTrans, DATA_SPLIT_COMPONENT_FIELDS_MAP, findLabelBySelectValue, BS_E3_BOOLEAN_STATUS_MAP, filterWdtOrders, WDT_ORDER_TYPE_MAP, tradeStatusMap, filterBsE3Orders, filterGyOrders, GY_DELIVERY_STATE_MAPPING, filterJstOrders, filterJyOrders, JY_ORDER_TYPE_MAP, JY_ORDER_STATUS_MAP, filterKmOrders, getIsPlatformCodesIncludeOrderNos, BS_SYSTEM_ORDER_CONFIG, KM_SYSTEM_ORDER_CONFIG, WLN_SYSTEM_ORDER_CONFIG, WDT_SYSTEM_ORDER_CONFIG, BS_E3_SYSTEM_ORDER_CONFIG, GY_SYSTEM_ORDER_CONFIG, JST_SYSTEM_ORDER_CONFIG, JY_SYSTEM_ORDER_CONFIG, updateOrderSubFormGoodsHandle, updateWlnGoodsHandle, updateWdtGoodsHandle, updateBsE3GoodsHandle, updateGyGoodsHandle, updateJstGoodsHandle, updateKmGoodsHandle, updateJyGoodsHandle, jstMergeIdenticalGoods, msgTypeCh, pushGyLog, skxSystemOrderBackValues, skxReturnSystemOrderBackValues, formatTrade, updateSkxGoodsHandle, formatReturnTrade, updateSkxReturnGoodsHandle } from '@kmkf-fe-packages/kmkf-utils';
|
|
6
|
+
import { AddressData, BsAddressData, WdtAddressData, GyAddressData, request as request$1, ExpressData, isNull, imgResize, uuid, servers, columnsGoodsList, LogisticsAddressData, SendDataCenter, hasAddNullComponent, SUBMIT_TIME_ID, UPGRADE_TIME_ID, FINAL_TIME_ID, CUSTOM_TIME_ID, useStatus, finalFormData, transformList, dataSourceTrans, DATA_SPLIT_COMPONENT_FIELDS_MAP, findLabelBySelectValue, BS_E3_BOOLEAN_STATUS_MAP, filterWdtOrders, WDT_ORDER_TYPE_MAP, tradeStatusMap, filterBsE3Orders, filterGyOrders, GY_DELIVERY_STATE_MAPPING, filterJstOrders, filterJyOrders, JY_ORDER_TYPE_MAP, JY_ORDER_STATUS_MAP, filterKmOrders, getSystemShowHead, getIsPlatformCodesIncludeOrderNos, BS_SYSTEM_ORDER_CONFIG, KM_SYSTEM_ORDER_CONFIG, WLN_SYSTEM_ORDER_CONFIG, WDT_SYSTEM_ORDER_CONFIG, BS_E3_SYSTEM_ORDER_CONFIG, GY_SYSTEM_ORDER_CONFIG, JST_SYSTEM_ORDER_CONFIG, JY_SYSTEM_ORDER_CONFIG, updateOrderSubFormGoodsHandle, updateWlnGoodsHandle, updateWdtGoodsHandle, updateBsE3GoodsHandle, updateGyGoodsHandle, updateJstGoodsHandle, updateKmGoodsHandle, updateJyGoodsHandle, jstMergeIdenticalGoods, msgTypeCh, pushGyLog, skxSystemOrderBackValues, skxReturnSystemOrderBackValues, formatTrade, updateSkxGoodsHandle, formatReturnTrade, updateSkxReturnGoodsHandle } from '@kmkf-fe-packages/kmkf-utils';
|
|
7
7
|
import every from 'lodash/every';
|
|
8
8
|
import maxBy from 'lodash/maxBy';
|
|
9
9
|
import { debounce, isNaN as isNaN$1, isNumber as isNumber$1, uniqBy, cloneDeep, difference, differenceWith, isBoolean, isEqual, takeRight, reject as reject$1, intersection, isEmpty } from 'lodash';
|
|
@@ -22973,7 +22973,9 @@ var index$2 = (function (props) {
|
|
|
22973
22973
|
var value = props.value,
|
|
22974
22974
|
_onChange = props.onChange,
|
|
22975
22975
|
disabled = props.disabled,
|
|
22976
|
-
type = props.type
|
|
22976
|
+
type = props.type,
|
|
22977
|
+
_props$showHeader = props.showHeader,
|
|
22978
|
+
showHeader = _props$showHeader === void 0 ? [] : _props$showHeader;
|
|
22977
22979
|
var onceRef = useRef(false);
|
|
22978
22980
|
var valueRef = useRef(null);
|
|
22979
22981
|
useEffect(function () {
|
|
@@ -23001,8 +23003,12 @@ var index$2 = (function (props) {
|
|
|
23001
23003
|
}
|
|
23002
23004
|
}, [value, type]);
|
|
23003
23005
|
var columns = useMemo(function () {
|
|
23004
|
-
|
|
23005
|
-
|
|
23006
|
+
var baseInfoColumns = getSystemShowHead({
|
|
23007
|
+
columns: columnsMap[type] || [],
|
|
23008
|
+
showHeader: showHeader
|
|
23009
|
+
});
|
|
23010
|
+
return baseInfoColumns || [];
|
|
23011
|
+
}, [type, showHeader]);
|
|
23006
23012
|
var getOrderList = /*#__PURE__*/function () {
|
|
23007
23013
|
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(orderNo) {
|
|
23008
23014
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
package/dist/index.js
CHANGED
|
@@ -22988,7 +22988,9 @@ var index$2 = (function (props) {
|
|
|
22988
22988
|
var value = props.value,
|
|
22989
22989
|
_onChange = props.onChange,
|
|
22990
22990
|
disabled = props.disabled,
|
|
22991
|
-
type = props.type
|
|
22991
|
+
type = props.type,
|
|
22992
|
+
_props$showHeader = props.showHeader,
|
|
22993
|
+
showHeader = _props$showHeader === void 0 ? [] : _props$showHeader;
|
|
22992
22994
|
var onceRef = React.useRef(false);
|
|
22993
22995
|
var valueRef = React.useRef(null);
|
|
22994
22996
|
React.useEffect(function () {
|
|
@@ -23016,8 +23018,12 @@ var index$2 = (function (props) {
|
|
|
23016
23018
|
}
|
|
23017
23019
|
}, [value, type]);
|
|
23018
23020
|
var columns = React.useMemo(function () {
|
|
23019
|
-
|
|
23020
|
-
|
|
23021
|
+
var baseInfoColumns = kmkfUtils.getSystemShowHead({
|
|
23022
|
+
columns: columnsMap[type] || [],
|
|
23023
|
+
showHeader: showHeader
|
|
23024
|
+
});
|
|
23025
|
+
return baseInfoColumns || [];
|
|
23026
|
+
}, [type, showHeader]);
|
|
23021
23027
|
var getOrderList = /*#__PURE__*/function () {
|
|
23022
23028
|
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(orderNo) {
|
|
23023
23029
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
@@ -28,11 +28,17 @@ declare const SYSTEM_ORDER_COLUMNS_MAP: {
|
|
|
28
28
|
dataIndex: string;
|
|
29
29
|
width: number;
|
|
30
30
|
}[];
|
|
31
|
-
WDT_SYSTEM_ORDER: {
|
|
31
|
+
WDT_SYSTEM_ORDER: ({
|
|
32
32
|
title: string;
|
|
33
33
|
dataIndex: string;
|
|
34
34
|
width: number;
|
|
35
|
-
|
|
35
|
+
ellipsis: boolean;
|
|
36
|
+
} | {
|
|
37
|
+
title: string;
|
|
38
|
+
dataIndex: string;
|
|
39
|
+
width: number;
|
|
40
|
+
ellipsis?: undefined;
|
|
41
|
+
})[];
|
|
36
42
|
BS_E3_SYSTEM_ORDER: ({
|
|
37
43
|
title: string;
|
|
38
44
|
dataIndex: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/basic-components",
|
|
3
|
-
"version": "2.2.13-beta.
|
|
3
|
+
"version": "2.2.13-beta.45",
|
|
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": "2.2.13-beta.
|
|
23
|
+
"@kmkf-fe-packages/kmkf-utils": "2.2.13-beta.45",
|
|
24
24
|
"ahooks": "^3.7.4",
|
|
25
25
|
"ali-react-table": "2.6.1",
|
|
26
26
|
"bignumber.js": "^9.1.2",
|
|
@@ -66,5 +66,5 @@
|
|
|
66
66
|
"publishConfig": {
|
|
67
67
|
"access": "public"
|
|
68
68
|
},
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "20ac214089365a14e411c548e710c74a0d7521e8"
|
|
70
70
|
}
|