@kmkf-fe-packages/basic-components 2.0.19-beta.55 → 2.0.19-beta.59
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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { useRef, useState, useEffect, forwardRef, useImperativeHandle, useMemo, useCallback } from 'react';
|
|
2
2
|
import { Cascader, DatePicker, InputNumber, Input, Select, Upload, Image, message, Radio, Space, Spin, Modal, Button, Checkbox, Row, Col, Slider, Rate, Form, Popover, Table, Tabs, ConfigProvider, Pagination, Typography } from 'antd';
|
|
3
|
-
import { EyeOutlined, DeleteOutlined, CloseCircleOutlined, CaretUpOutlined } from '@ant-design/icons';
|
|
3
|
+
import { EyeOutlined, DeleteOutlined, CopyOutlined, CloseCircleOutlined, CaretUpOutlined, MinusCircleFilled } 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
6
|
import { AddressData, BsAddressData, WdtAddressData, GyAddressData, request as request$1, ExpressData, uuid, columnsGoodsList, LogisticsAddressData, SendDataCenter, BS_E3_BOOLEAN_STATUS_MAP, isNull, filterWdtOrders, WDT_ORDER_TYPE_MAP, filterBsE3Orders, filterGyOrders, GY_DELIVERY_STATE_MAPPING, servers, filterJstOrders, 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, updateWdtGoodsHandle, updateBsE3GoodsHandle, updateGyGoodsHandle, updateJstGoodsHandle, jstMergeIdenticalGoods, msgTypeCh, pushGyLog } from '@kmkf-fe-packages/kmkf-utils';
|
|
@@ -8019,6 +8019,33 @@ var SubForm = function SubForm(props) {
|
|
|
8019
8019
|
}));
|
|
8020
8020
|
};
|
|
8021
8021
|
|
|
8022
|
+
function CopyTextIcon(_ref) {
|
|
8023
|
+
var val = _ref.val;
|
|
8024
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
8025
|
+
style: {
|
|
8026
|
+
display: 'flex',
|
|
8027
|
+
alignItems: 'center',
|
|
8028
|
+
justifyContent: 'center'
|
|
8029
|
+
}
|
|
8030
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
8031
|
+
style: {
|
|
8032
|
+
marginRight: 8,
|
|
8033
|
+
overflow: 'hidden',
|
|
8034
|
+
textOverflow: 'ellipsis',
|
|
8035
|
+
whiteSpace: 'nowrap'
|
|
8036
|
+
}
|
|
8037
|
+
}, val), /*#__PURE__*/React.createElement(CopyToClipboard, {
|
|
8038
|
+
text: val,
|
|
8039
|
+
onCopy: function onCopy() {
|
|
8040
|
+
message.success('复制成功');
|
|
8041
|
+
}
|
|
8042
|
+
}, /*#__PURE__*/React.createElement(CopyOutlined, {
|
|
8043
|
+
style: {
|
|
8044
|
+
color: '#1890ff'
|
|
8045
|
+
}
|
|
8046
|
+
})));
|
|
8047
|
+
}
|
|
8048
|
+
|
|
8022
8049
|
var BuyerNick = function BuyerNick(props) {
|
|
8023
8050
|
var _props$value = props.value,
|
|
8024
8051
|
value = _props$value === void 0 ? {} : _props$value,
|
|
@@ -13786,7 +13813,12 @@ var getColumns$2 = function getColumns(_ref) {
|
|
|
13786
13813
|
}, {
|
|
13787
13814
|
dataIndex: 'goodName',
|
|
13788
13815
|
title: "\u5546\u54C1\u540D\u79F0",
|
|
13789
|
-
width: 200
|
|
13816
|
+
width: 200,
|
|
13817
|
+
render: function render(text) {
|
|
13818
|
+
return /*#__PURE__*/React.createElement(CopyTextIcon, {
|
|
13819
|
+
val: text
|
|
13820
|
+
});
|
|
13821
|
+
}
|
|
13790
13822
|
}, {
|
|
13791
13823
|
dataIndex: 'specId',
|
|
13792
13824
|
title: "SKUID",
|
|
@@ -13798,7 +13830,12 @@ var getColumns$2 = function getColumns(_ref) {
|
|
|
13798
13830
|
}, {
|
|
13799
13831
|
dataIndex: 'specName',
|
|
13800
13832
|
title: "\u5546\u54C1SKU\u540D\u79F0",
|
|
13801
|
-
width: 250
|
|
13833
|
+
width: 250,
|
|
13834
|
+
render: function render(text) {
|
|
13835
|
+
return /*#__PURE__*/React.createElement(CopyTextIcon, {
|
|
13836
|
+
val: text
|
|
13837
|
+
});
|
|
13838
|
+
}
|
|
13802
13839
|
}, {
|
|
13803
13840
|
dataIndex: 'orderPrice',
|
|
13804
13841
|
title: "\u6210\u4EA4\u603B\u91D1\u989D",
|
|
@@ -13837,8 +13874,12 @@ var getColumns$2 = function getColumns(_ref) {
|
|
|
13837
13874
|
dataIndex: 'goodName',
|
|
13838
13875
|
title: "".concat(text, "\u5546\u54C1\u540D\u79F0"),
|
|
13839
13876
|
align: 'center',
|
|
13840
|
-
|
|
13841
|
-
|
|
13877
|
+
width: 250,
|
|
13878
|
+
render: function render(text) {
|
|
13879
|
+
return /*#__PURE__*/React.createElement(CopyTextIcon, {
|
|
13880
|
+
val: text
|
|
13881
|
+
});
|
|
13882
|
+
}
|
|
13842
13883
|
}, {
|
|
13843
13884
|
dataIndex: 'specId',
|
|
13844
13885
|
title: "".concat(text, "SKUID"),
|
|
@@ -13855,8 +13896,12 @@ var getColumns$2 = function getColumns(_ref) {
|
|
|
13855
13896
|
dataIndex: 'specName',
|
|
13856
13897
|
title: "".concat(text, "\u5546\u54C1SKU\u540D\u79F0"),
|
|
13857
13898
|
align: 'center',
|
|
13858
|
-
|
|
13859
|
-
|
|
13899
|
+
width: 250,
|
|
13900
|
+
render: function render(text) {
|
|
13901
|
+
return /*#__PURE__*/React.createElement(CopyTextIcon, {
|
|
13902
|
+
val: text
|
|
13903
|
+
});
|
|
13904
|
+
}
|
|
13860
13905
|
}, {
|
|
13861
13906
|
dataIndex: 'orderPrice',
|
|
13862
13907
|
title: "\u6210\u4EA4\u603B\u91D1\u989D",
|
|
@@ -13927,8 +13972,12 @@ var getColumns$2 = function getColumns(_ref) {
|
|
|
13927
13972
|
dataIndex: 'goodName',
|
|
13928
13973
|
title: "".concat(text, "\u5546\u54C1\u540D\u79F0"),
|
|
13929
13974
|
align: 'center',
|
|
13930
|
-
|
|
13931
|
-
|
|
13975
|
+
width: 250,
|
|
13976
|
+
render: function render(text) {
|
|
13977
|
+
return /*#__PURE__*/React.createElement(CopyTextIcon, {
|
|
13978
|
+
val: text
|
|
13979
|
+
});
|
|
13980
|
+
}
|
|
13932
13981
|
}, {
|
|
13933
13982
|
dataIndex: 'specId',
|
|
13934
13983
|
title: "".concat(text, "SKUID"),
|
|
@@ -13945,8 +13994,12 @@ var getColumns$2 = function getColumns(_ref) {
|
|
|
13945
13994
|
dataIndex: 'specName',
|
|
13946
13995
|
title: "".concat(text, "\u5546\u54C1SKU\u540D\u79F0"),
|
|
13947
13996
|
align: 'center',
|
|
13948
|
-
|
|
13949
|
-
|
|
13997
|
+
width: 250,
|
|
13998
|
+
render: function render(text) {
|
|
13999
|
+
return /*#__PURE__*/React.createElement(CopyTextIcon, {
|
|
14000
|
+
val: text
|
|
14001
|
+
});
|
|
14002
|
+
}
|
|
13950
14003
|
}, {
|
|
13951
14004
|
dataIndex: 'num',
|
|
13952
14005
|
title: "".concat(text, "\u9000\u8D27\u6570\u91CF"),
|
|
@@ -14051,8 +14104,12 @@ var getColumns$2 = function getColumns(_ref) {
|
|
|
14051
14104
|
dataIndex: 'goodName',
|
|
14052
14105
|
title: "".concat(text, "\u5546\u54C1\u540D\u79F0"),
|
|
14053
14106
|
align: 'center',
|
|
14054
|
-
|
|
14055
|
-
|
|
14107
|
+
width: 250,
|
|
14108
|
+
render: function render(text) {
|
|
14109
|
+
return /*#__PURE__*/React.createElement(CopyTextIcon, {
|
|
14110
|
+
val: text
|
|
14111
|
+
});
|
|
14112
|
+
}
|
|
14056
14113
|
}, {
|
|
14057
14114
|
dataIndex: 'specId',
|
|
14058
14115
|
title: "".concat(text, "SKUID"),
|
|
@@ -14069,8 +14126,12 @@ var getColumns$2 = function getColumns(_ref) {
|
|
|
14069
14126
|
dataIndex: 'specName',
|
|
14070
14127
|
title: "".concat(text, "\u5546\u54C1SKU\u540D\u79F0"),
|
|
14071
14128
|
align: 'center',
|
|
14072
|
-
|
|
14073
|
-
|
|
14129
|
+
width: 250,
|
|
14130
|
+
render: function render(text) {
|
|
14131
|
+
return /*#__PURE__*/React.createElement(CopyTextIcon, {
|
|
14132
|
+
val: text
|
|
14133
|
+
});
|
|
14134
|
+
}
|
|
14074
14135
|
}, {
|
|
14075
14136
|
dataIndex: 'num',
|
|
14076
14137
|
title: "".concat(text, "\u6362\u51FA\u6570\u91CF"),
|
|
@@ -15377,6 +15438,29 @@ var getBsE3ReissueGoodColumns = function getBsE3ReissueGoodColumns(_ref4) {
|
|
|
15377
15438
|
});
|
|
15378
15439
|
};
|
|
15379
15440
|
|
|
15441
|
+
function HoverTableRowDeleteIcon(_ref) {
|
|
15442
|
+
var index = _ref.index,
|
|
15443
|
+
hoveredRowIndex = _ref.hoveredRowIndex,
|
|
15444
|
+
handleClick = _ref.handleClick;
|
|
15445
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("span", {
|
|
15446
|
+
style: {
|
|
15447
|
+
display: hoveredRowIndex === index ? 'none' : 'inline'
|
|
15448
|
+
}
|
|
15449
|
+
}, index + 1), /*#__PURE__*/React.createElement("span", {
|
|
15450
|
+
style: {
|
|
15451
|
+
cursor: 'pointer'
|
|
15452
|
+
},
|
|
15453
|
+
onClick: handleClick,
|
|
15454
|
+
title: "\u5220\u9664"
|
|
15455
|
+
}, /*#__PURE__*/React.createElement(MinusCircleFilled, {
|
|
15456
|
+
style: {
|
|
15457
|
+
fontSize: 18,
|
|
15458
|
+
color: '#1890ff',
|
|
15459
|
+
display: hoveredRowIndex === index ? 'inline' : 'none'
|
|
15460
|
+
}
|
|
15461
|
+
})));
|
|
15462
|
+
}
|
|
15463
|
+
|
|
15380
15464
|
var GoodsModalMap = {
|
|
15381
15465
|
WDT_REISSUE_GOODS: WdtGoodsModal,
|
|
15382
15466
|
WDT_GOODS: WdtGoodsModal,
|
|
@@ -15524,6 +15608,10 @@ var GoodItem$1 = function GoodItem(props) {
|
|
|
15524
15608
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
15525
15609
|
selectedRowKeys = _useState4[0],
|
|
15526
15610
|
setSelectedRowKeys = _useState4[1];
|
|
15611
|
+
var _useState5 = useState(null),
|
|
15612
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
|
15613
|
+
hoveredRowIndex = _useState6[0],
|
|
15614
|
+
setHoveredRowIndex = _useState6[1];
|
|
15527
15615
|
useEffect(function () {
|
|
15528
15616
|
setSelectedRowKeys([]);
|
|
15529
15617
|
}, [tableSelect, selectType]);
|
|
@@ -15661,7 +15749,13 @@ var GoodItem$1 = function GoodItem(props) {
|
|
|
15661
15749
|
ellipsis: true,
|
|
15662
15750
|
width: 50,
|
|
15663
15751
|
render: function render(val, record, index) {
|
|
15664
|
-
return /*#__PURE__*/React.createElement(
|
|
15752
|
+
return /*#__PURE__*/React.createElement(HoverTableRowDeleteIcon, {
|
|
15753
|
+
index: index,
|
|
15754
|
+
hoveredRowIndex: !disabled && record.canDelete ? hoveredRowIndex : null,
|
|
15755
|
+
handleClick: function handleClick() {
|
|
15756
|
+
return handleDelete(record, index);
|
|
15757
|
+
}
|
|
15758
|
+
});
|
|
15665
15759
|
}
|
|
15666
15760
|
}].concat(_toConsumableArray(baseInfoColumns));
|
|
15667
15761
|
if (!disabled) {
|
|
@@ -15682,7 +15776,7 @@ var GoodItem$1 = function GoodItem(props) {
|
|
|
15682
15776
|
});
|
|
15683
15777
|
}
|
|
15684
15778
|
return columnList;
|
|
15685
|
-
}, [showHeader, value, disabled]);
|
|
15779
|
+
}, [showHeader, value, disabled, hoveredRowIndex]);
|
|
15686
15780
|
var orderColumns = useMemo(function () {
|
|
15687
15781
|
var columns = COLUMNS_MAP('', {
|
|
15688
15782
|
operate: false,
|
|
@@ -15878,6 +15972,16 @@ var GoodItem$1 = function GoodItem(props) {
|
|
|
15878
15972
|
},
|
|
15879
15973
|
locale: {
|
|
15880
15974
|
emptyText: '暂无数据'
|
|
15975
|
+
},
|
|
15976
|
+
onRow: function onRow(_, index) {
|
|
15977
|
+
return {
|
|
15978
|
+
onMouseEnter: function onMouseEnter() {
|
|
15979
|
+
return setHoveredRowIndex(index);
|
|
15980
|
+
},
|
|
15981
|
+
onMouseLeave: function onMouseLeave() {
|
|
15982
|
+
return setHoveredRowIndex(null);
|
|
15983
|
+
}
|
|
15984
|
+
};
|
|
15881
15985
|
}
|
|
15882
15986
|
})), /*#__PURE__*/React.createElement(TheGoodsModal, {
|
|
15883
15987
|
ref: refModal,
|
|
@@ -15901,11 +16005,12 @@ var BsGoods = function BsGoods(props) {
|
|
|
15901
16005
|
setTableSelect = _useState2[1];
|
|
15902
16006
|
var withInfo = useRef(null);
|
|
15903
16007
|
var valueRef = useRef(null);
|
|
16008
|
+
var tokens = useRef([]);
|
|
15904
16009
|
useEffect(function () {
|
|
15905
16010
|
valueRef.current = value;
|
|
15906
16011
|
}, [value]);
|
|
15907
16012
|
useEffect(function () {
|
|
15908
|
-
pubsub.subscribe('type', function (type, data) {
|
|
16013
|
+
tokens.current = [pubsub.subscribe('type', function (type, data) {
|
|
15909
16014
|
if (disabled) return;
|
|
15910
16015
|
// console.log(type, data);
|
|
15911
16016
|
withInfo.current = {
|
|
@@ -15922,9 +16027,7 @@ var BsGoods = function BsGoods(props) {
|
|
|
15922
16027
|
goodValue: data === null || data === void 0 ? void 0 : data.goodValue
|
|
15923
16028
|
});
|
|
15924
16029
|
}
|
|
15925
|
-
})
|
|
15926
|
-
//补发
|
|
15927
|
-
pubsub.subscribe('reissueType', function (type, data) {
|
|
16030
|
+
}), pubsub.subscribe('reissueType', function (type, data) {
|
|
15928
16031
|
if (disabled) return;
|
|
15929
16032
|
withInfo.current = {
|
|
15930
16033
|
type: type,
|
|
@@ -15944,9 +16047,7 @@ var BsGoods = function BsGoods(props) {
|
|
|
15944
16047
|
goodValue: data === null || data === void 0 ? void 0 : data.goodValue
|
|
15945
16048
|
});
|
|
15946
16049
|
}
|
|
15947
|
-
})
|
|
15948
|
-
//退货
|
|
15949
|
-
pubsub.subscribe('returnType', function (type, data) {
|
|
16050
|
+
}), pubsub.subscribe('returnType', function (type, data) {
|
|
15950
16051
|
if (disabled) return;
|
|
15951
16052
|
withInfo.current = {
|
|
15952
16053
|
type: type,
|
|
@@ -15962,15 +16063,18 @@ var BsGoods = function BsGoods(props) {
|
|
|
15962
16063
|
goodValue: data === null || data === void 0 ? void 0 : data.goodValue
|
|
15963
16064
|
});
|
|
15964
16065
|
}
|
|
15965
|
-
})
|
|
15966
|
-
pubsub.subscribeOnce('changeShopCode', function (type, data) {
|
|
16066
|
+
}), pubsub.subscribeOnce('changeShopCode', function (type, data) {
|
|
15967
16067
|
// console.log(data);
|
|
15968
16068
|
onChange(_objectSpread2(_objectSpread2({}, valueRef === null || valueRef === void 0 ? void 0 : valueRef.current), {}, {
|
|
15969
16069
|
shopCode: data.shopCode
|
|
15970
16070
|
}));
|
|
15971
|
-
});
|
|
16071
|
+
})];
|
|
15972
16072
|
return function () {
|
|
15973
|
-
|
|
16073
|
+
// 清除当前组件所有订阅
|
|
16074
|
+
tokens.current.forEach(function (token) {
|
|
16075
|
+
return pubsub.unsubscribe(token);
|
|
16076
|
+
});
|
|
16077
|
+
tokens.current = [];
|
|
15974
16078
|
};
|
|
15975
16079
|
}, [disabled]);
|
|
15976
16080
|
var _onSelect = function onSelect(list) {
|
|
@@ -17212,6 +17316,7 @@ var CommonGoods = function CommonGoods(props) {
|
|
|
17212
17316
|
setTableSelect = _useState2[1];
|
|
17213
17317
|
var withInfo = useRef(null);
|
|
17214
17318
|
var valueRef = useRef(null);
|
|
17319
|
+
var tokens = useRef([]);
|
|
17215
17320
|
useEffect(function () {
|
|
17216
17321
|
var _value$orders;
|
|
17217
17322
|
valueRef.current = value;
|
|
@@ -17245,7 +17350,7 @@ var CommonGoods = function CommonGoods(props) {
|
|
|
17245
17350
|
};
|
|
17246
17351
|
}();
|
|
17247
17352
|
useEffect(function () {
|
|
17248
|
-
pubsub.subscribe(componentMap$1[compType].eventNameMap.type, function (type, data) {
|
|
17353
|
+
tokens.current = [pubsub.subscribe(componentMap$1[compType].eventNameMap.type, function (type, data) {
|
|
17249
17354
|
if (disabled) return;
|
|
17250
17355
|
// console.log(type, data);
|
|
17251
17356
|
withInfo.current = {
|
|
@@ -17262,9 +17367,7 @@ var CommonGoods = function CommonGoods(props) {
|
|
|
17262
17367
|
goodValue: data === null || data === void 0 ? void 0 : data.goodValue
|
|
17263
17368
|
});
|
|
17264
17369
|
}
|
|
17265
|
-
})
|
|
17266
|
-
//补发
|
|
17267
|
-
pubsub.subscribe(componentMap$1[compType].eventNameMap.reissueType, function (type, data) {
|
|
17370
|
+
}), pubsub.subscribe(componentMap$1[compType].eventNameMap.reissueType, function (type, data) {
|
|
17268
17371
|
if (disabled) return;
|
|
17269
17372
|
withInfo.current = {
|
|
17270
17373
|
type: type,
|
|
@@ -17280,9 +17383,7 @@ var CommonGoods = function CommonGoods(props) {
|
|
|
17280
17383
|
goodValue: data === null || data === void 0 ? void 0 : data.goodValue
|
|
17281
17384
|
});
|
|
17282
17385
|
}
|
|
17283
|
-
})
|
|
17284
|
-
//退货
|
|
17285
|
-
pubsub.subscribe(componentMap$1[compType].eventNameMap.returnType, function (type, data) {
|
|
17386
|
+
}), pubsub.subscribe(componentMap$1[compType].eventNameMap.returnType, function (type, data) {
|
|
17286
17387
|
if (disabled) return;
|
|
17287
17388
|
withInfo.current = {
|
|
17288
17389
|
type: type,
|
|
@@ -17298,15 +17399,18 @@ var CommonGoods = function CommonGoods(props) {
|
|
|
17298
17399
|
goodValue: data === null || data === void 0 ? void 0 : data.goodValue
|
|
17299
17400
|
});
|
|
17300
17401
|
}
|
|
17301
|
-
})
|
|
17302
|
-
pubsub.subscribeOnce(componentMap$1[compType].eventNameMap.changeShopCode, function (type, data) {
|
|
17402
|
+
}), pubsub.subscribeOnce(componentMap$1[compType].eventNameMap.changeShopCode, function (type, data) {
|
|
17303
17403
|
// console.log(data);
|
|
17304
17404
|
onChange === null || onChange === void 0 ? void 0 : onChange(_objectSpread2(_objectSpread2({}, valueRef === null || valueRef === void 0 ? void 0 : valueRef.current), {}, {
|
|
17305
17405
|
shopCode: data.shopCode
|
|
17306
17406
|
}));
|
|
17307
|
-
});
|
|
17407
|
+
})];
|
|
17308
17408
|
return function () {
|
|
17309
|
-
|
|
17409
|
+
// 清除当前组件所有订阅
|
|
17410
|
+
tokens.current.forEach(function (token) {
|
|
17411
|
+
return pubsub.unsubscribe(token);
|
|
17412
|
+
});
|
|
17413
|
+
tokens.current = [];
|
|
17310
17414
|
};
|
|
17311
17415
|
}, [disabled]);
|
|
17312
17416
|
var _onSelect = function onSelect(list) {
|
|
@@ -19843,4 +19947,4 @@ var GyReturnGoods = function GyReturnGoods(props) {
|
|
|
19843
19947
|
})));
|
|
19844
19948
|
};
|
|
19845
19949
|
|
|
19846
|
-
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, index as ApaasUploadAsync, ApaasUploadFile, bsE3Reissue as BsE3Reissue, BsExchange, BsGoods, BsReissue, BsReturnGoods as BsReturn, index$1 as BsSystemOrder, BuyerNick, CalculationInput, ChooseBaby, CommonExchangeGoods, CommonGoods, CommonSystemOrder$1 as CommonMultiStatus, CommonReturnGoods, CommonStatus, CommonSystemOrder, ExpressLogistics, Goods, index$2 as GoodsTable, GyReissue, GyReturnGoods as GyReturn, IdentifyAddress, Invoice, jstGoods as JstGoods, ItemList as JstItemList, LogisticsInterception, LogisticsMoreInterception, LogisticsMoreTrajectory, LogisticsTrajectory, MsgStatus, ParseLogistics, Payment, PublicReissue, RemarkInput as Remark, ExpressLogistics as ReturnLogistics, ShopNameSelect as ShopName, Status, SubForm, Supplier, TBGoodId, TBGoodSerial, TradeId, WdtGoodList, wdtReissue as WdtReissue, WlnGoods, columnsBaseInfoMap, getColumns$5 as getJstColumns, getColumns$3 as getWlnColumns };
|
|
19950
|
+
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, index as ApaasUploadAsync, ApaasUploadFile, bsE3Reissue as BsE3Reissue, BsExchange, BsGoods, BsReissue, BsReturnGoods as BsReturn, index$1 as BsSystemOrder, BuyerNick, CalculationInput, ChooseBaby, CommonExchangeGoods, CommonGoods, CommonSystemOrder$1 as CommonMultiStatus, CommonReturnGoods, CommonStatus, CommonSystemOrder, CopyTextIcon, ExpressLogistics, Goods, index$2 as GoodsTable, GyReissue, GyReturnGoods as GyReturn, IdentifyAddress, Invoice, jstGoods as JstGoods, ItemList as JstItemList, LogisticsInterception, LogisticsMoreInterception, LogisticsMoreTrajectory, LogisticsTrajectory, MsgStatus, ParseLogistics, Payment, PublicReissue, RemarkInput as Remark, ExpressLogistics as ReturnLogistics, ShopNameSelect as ShopName, Status, SubForm, Supplier, TBGoodId, TBGoodSerial, TradeId, WdtGoodList, wdtReissue as WdtReissue, WlnGoods, columnsBaseInfoMap, getColumns$5 as getJstColumns, getColumns$3 as getWlnColumns };
|
package/dist/index.js
CHANGED
|
@@ -8031,6 +8031,33 @@ var SubForm = function SubForm(props) {
|
|
|
8031
8031
|
}));
|
|
8032
8032
|
};
|
|
8033
8033
|
|
|
8034
|
+
function CopyTextIcon(_ref) {
|
|
8035
|
+
var val = _ref.val;
|
|
8036
|
+
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
8037
|
+
style: {
|
|
8038
|
+
display: 'flex',
|
|
8039
|
+
alignItems: 'center',
|
|
8040
|
+
justifyContent: 'center'
|
|
8041
|
+
}
|
|
8042
|
+
}, /*#__PURE__*/React__default['default'].createElement("span", {
|
|
8043
|
+
style: {
|
|
8044
|
+
marginRight: 8,
|
|
8045
|
+
overflow: 'hidden',
|
|
8046
|
+
textOverflow: 'ellipsis',
|
|
8047
|
+
whiteSpace: 'nowrap'
|
|
8048
|
+
}
|
|
8049
|
+
}, val), /*#__PURE__*/React__default['default'].createElement(reactCopyToClipboard.CopyToClipboard, {
|
|
8050
|
+
text: val,
|
|
8051
|
+
onCopy: function onCopy() {
|
|
8052
|
+
antd.message.success('复制成功');
|
|
8053
|
+
}
|
|
8054
|
+
}, /*#__PURE__*/React__default['default'].createElement(icons.CopyOutlined, {
|
|
8055
|
+
style: {
|
|
8056
|
+
color: '#1890ff'
|
|
8057
|
+
}
|
|
8058
|
+
})));
|
|
8059
|
+
}
|
|
8060
|
+
|
|
8034
8061
|
var BuyerNick = function BuyerNick(props) {
|
|
8035
8062
|
var _props$value = props.value,
|
|
8036
8063
|
value = _props$value === void 0 ? {} : _props$value,
|
|
@@ -13798,7 +13825,12 @@ var getColumns$2 = function getColumns(_ref) {
|
|
|
13798
13825
|
}, {
|
|
13799
13826
|
dataIndex: 'goodName',
|
|
13800
13827
|
title: "\u5546\u54C1\u540D\u79F0",
|
|
13801
|
-
width: 200
|
|
13828
|
+
width: 200,
|
|
13829
|
+
render: function render(text) {
|
|
13830
|
+
return /*#__PURE__*/React__default['default'].createElement(CopyTextIcon, {
|
|
13831
|
+
val: text
|
|
13832
|
+
});
|
|
13833
|
+
}
|
|
13802
13834
|
}, {
|
|
13803
13835
|
dataIndex: 'specId',
|
|
13804
13836
|
title: "SKUID",
|
|
@@ -13810,7 +13842,12 @@ var getColumns$2 = function getColumns(_ref) {
|
|
|
13810
13842
|
}, {
|
|
13811
13843
|
dataIndex: 'specName',
|
|
13812
13844
|
title: "\u5546\u54C1SKU\u540D\u79F0",
|
|
13813
|
-
width: 250
|
|
13845
|
+
width: 250,
|
|
13846
|
+
render: function render(text) {
|
|
13847
|
+
return /*#__PURE__*/React__default['default'].createElement(CopyTextIcon, {
|
|
13848
|
+
val: text
|
|
13849
|
+
});
|
|
13850
|
+
}
|
|
13814
13851
|
}, {
|
|
13815
13852
|
dataIndex: 'orderPrice',
|
|
13816
13853
|
title: "\u6210\u4EA4\u603B\u91D1\u989D",
|
|
@@ -13849,8 +13886,12 @@ var getColumns$2 = function getColumns(_ref) {
|
|
|
13849
13886
|
dataIndex: 'goodName',
|
|
13850
13887
|
title: "".concat(text, "\u5546\u54C1\u540D\u79F0"),
|
|
13851
13888
|
align: 'center',
|
|
13852
|
-
|
|
13853
|
-
|
|
13889
|
+
width: 250,
|
|
13890
|
+
render: function render(text) {
|
|
13891
|
+
return /*#__PURE__*/React__default['default'].createElement(CopyTextIcon, {
|
|
13892
|
+
val: text
|
|
13893
|
+
});
|
|
13894
|
+
}
|
|
13854
13895
|
}, {
|
|
13855
13896
|
dataIndex: 'specId',
|
|
13856
13897
|
title: "".concat(text, "SKUID"),
|
|
@@ -13867,8 +13908,12 @@ var getColumns$2 = function getColumns(_ref) {
|
|
|
13867
13908
|
dataIndex: 'specName',
|
|
13868
13909
|
title: "".concat(text, "\u5546\u54C1SKU\u540D\u79F0"),
|
|
13869
13910
|
align: 'center',
|
|
13870
|
-
|
|
13871
|
-
|
|
13911
|
+
width: 250,
|
|
13912
|
+
render: function render(text) {
|
|
13913
|
+
return /*#__PURE__*/React__default['default'].createElement(CopyTextIcon, {
|
|
13914
|
+
val: text
|
|
13915
|
+
});
|
|
13916
|
+
}
|
|
13872
13917
|
}, {
|
|
13873
13918
|
dataIndex: 'orderPrice',
|
|
13874
13919
|
title: "\u6210\u4EA4\u603B\u91D1\u989D",
|
|
@@ -13939,8 +13984,12 @@ var getColumns$2 = function getColumns(_ref) {
|
|
|
13939
13984
|
dataIndex: 'goodName',
|
|
13940
13985
|
title: "".concat(text, "\u5546\u54C1\u540D\u79F0"),
|
|
13941
13986
|
align: 'center',
|
|
13942
|
-
|
|
13943
|
-
|
|
13987
|
+
width: 250,
|
|
13988
|
+
render: function render(text) {
|
|
13989
|
+
return /*#__PURE__*/React__default['default'].createElement(CopyTextIcon, {
|
|
13990
|
+
val: text
|
|
13991
|
+
});
|
|
13992
|
+
}
|
|
13944
13993
|
}, {
|
|
13945
13994
|
dataIndex: 'specId',
|
|
13946
13995
|
title: "".concat(text, "SKUID"),
|
|
@@ -13957,8 +14006,12 @@ var getColumns$2 = function getColumns(_ref) {
|
|
|
13957
14006
|
dataIndex: 'specName',
|
|
13958
14007
|
title: "".concat(text, "\u5546\u54C1SKU\u540D\u79F0"),
|
|
13959
14008
|
align: 'center',
|
|
13960
|
-
|
|
13961
|
-
|
|
14009
|
+
width: 250,
|
|
14010
|
+
render: function render(text) {
|
|
14011
|
+
return /*#__PURE__*/React__default['default'].createElement(CopyTextIcon, {
|
|
14012
|
+
val: text
|
|
14013
|
+
});
|
|
14014
|
+
}
|
|
13962
14015
|
}, {
|
|
13963
14016
|
dataIndex: 'num',
|
|
13964
14017
|
title: "".concat(text, "\u9000\u8D27\u6570\u91CF"),
|
|
@@ -14063,8 +14116,12 @@ var getColumns$2 = function getColumns(_ref) {
|
|
|
14063
14116
|
dataIndex: 'goodName',
|
|
14064
14117
|
title: "".concat(text, "\u5546\u54C1\u540D\u79F0"),
|
|
14065
14118
|
align: 'center',
|
|
14066
|
-
|
|
14067
|
-
|
|
14119
|
+
width: 250,
|
|
14120
|
+
render: function render(text) {
|
|
14121
|
+
return /*#__PURE__*/React__default['default'].createElement(CopyTextIcon, {
|
|
14122
|
+
val: text
|
|
14123
|
+
});
|
|
14124
|
+
}
|
|
14068
14125
|
}, {
|
|
14069
14126
|
dataIndex: 'specId',
|
|
14070
14127
|
title: "".concat(text, "SKUID"),
|
|
@@ -14081,8 +14138,12 @@ var getColumns$2 = function getColumns(_ref) {
|
|
|
14081
14138
|
dataIndex: 'specName',
|
|
14082
14139
|
title: "".concat(text, "\u5546\u54C1SKU\u540D\u79F0"),
|
|
14083
14140
|
align: 'center',
|
|
14084
|
-
|
|
14085
|
-
|
|
14141
|
+
width: 250,
|
|
14142
|
+
render: function render(text) {
|
|
14143
|
+
return /*#__PURE__*/React__default['default'].createElement(CopyTextIcon, {
|
|
14144
|
+
val: text
|
|
14145
|
+
});
|
|
14146
|
+
}
|
|
14086
14147
|
}, {
|
|
14087
14148
|
dataIndex: 'num',
|
|
14088
14149
|
title: "".concat(text, "\u6362\u51FA\u6570\u91CF"),
|
|
@@ -15389,6 +15450,29 @@ var getBsE3ReissueGoodColumns = function getBsE3ReissueGoodColumns(_ref4) {
|
|
|
15389
15450
|
});
|
|
15390
15451
|
};
|
|
15391
15452
|
|
|
15453
|
+
function HoverTableRowDeleteIcon(_ref) {
|
|
15454
|
+
var index = _ref.index,
|
|
15455
|
+
hoveredRowIndex = _ref.hoveredRowIndex,
|
|
15456
|
+
handleClick = _ref.handleClick;
|
|
15457
|
+
return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement("span", {
|
|
15458
|
+
style: {
|
|
15459
|
+
display: hoveredRowIndex === index ? 'none' : 'inline'
|
|
15460
|
+
}
|
|
15461
|
+
}, index + 1), /*#__PURE__*/React__default['default'].createElement("span", {
|
|
15462
|
+
style: {
|
|
15463
|
+
cursor: 'pointer'
|
|
15464
|
+
},
|
|
15465
|
+
onClick: handleClick,
|
|
15466
|
+
title: "\u5220\u9664"
|
|
15467
|
+
}, /*#__PURE__*/React__default['default'].createElement(icons.MinusCircleFilled, {
|
|
15468
|
+
style: {
|
|
15469
|
+
fontSize: 18,
|
|
15470
|
+
color: '#1890ff',
|
|
15471
|
+
display: hoveredRowIndex === index ? 'inline' : 'none'
|
|
15472
|
+
}
|
|
15473
|
+
})));
|
|
15474
|
+
}
|
|
15475
|
+
|
|
15392
15476
|
var GoodsModalMap = {
|
|
15393
15477
|
WDT_REISSUE_GOODS: WdtGoodsModal,
|
|
15394
15478
|
WDT_GOODS: WdtGoodsModal,
|
|
@@ -15536,6 +15620,10 @@ var GoodItem$1 = function GoodItem(props) {
|
|
|
15536
15620
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
15537
15621
|
selectedRowKeys = _useState4[0],
|
|
15538
15622
|
setSelectedRowKeys = _useState4[1];
|
|
15623
|
+
var _useState5 = React.useState(null),
|
|
15624
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
|
15625
|
+
hoveredRowIndex = _useState6[0],
|
|
15626
|
+
setHoveredRowIndex = _useState6[1];
|
|
15539
15627
|
React.useEffect(function () {
|
|
15540
15628
|
setSelectedRowKeys([]);
|
|
15541
15629
|
}, [tableSelect, selectType]);
|
|
@@ -15673,7 +15761,13 @@ var GoodItem$1 = function GoodItem(props) {
|
|
|
15673
15761
|
ellipsis: true,
|
|
15674
15762
|
width: 50,
|
|
15675
15763
|
render: function render(val, record, index) {
|
|
15676
|
-
return /*#__PURE__*/React__default['default'].createElement(
|
|
15764
|
+
return /*#__PURE__*/React__default['default'].createElement(HoverTableRowDeleteIcon, {
|
|
15765
|
+
index: index,
|
|
15766
|
+
hoveredRowIndex: !disabled && record.canDelete ? hoveredRowIndex : null,
|
|
15767
|
+
handleClick: function handleClick() {
|
|
15768
|
+
return handleDelete(record, index);
|
|
15769
|
+
}
|
|
15770
|
+
});
|
|
15677
15771
|
}
|
|
15678
15772
|
}].concat(_toConsumableArray(baseInfoColumns));
|
|
15679
15773
|
if (!disabled) {
|
|
@@ -15694,7 +15788,7 @@ var GoodItem$1 = function GoodItem(props) {
|
|
|
15694
15788
|
});
|
|
15695
15789
|
}
|
|
15696
15790
|
return columnList;
|
|
15697
|
-
}, [showHeader, value, disabled]);
|
|
15791
|
+
}, [showHeader, value, disabled, hoveredRowIndex]);
|
|
15698
15792
|
var orderColumns = React.useMemo(function () {
|
|
15699
15793
|
var columns = COLUMNS_MAP('', {
|
|
15700
15794
|
operate: false,
|
|
@@ -15890,6 +15984,16 @@ var GoodItem$1 = function GoodItem(props) {
|
|
|
15890
15984
|
},
|
|
15891
15985
|
locale: {
|
|
15892
15986
|
emptyText: '暂无数据'
|
|
15987
|
+
},
|
|
15988
|
+
onRow: function onRow(_, index) {
|
|
15989
|
+
return {
|
|
15990
|
+
onMouseEnter: function onMouseEnter() {
|
|
15991
|
+
return setHoveredRowIndex(index);
|
|
15992
|
+
},
|
|
15993
|
+
onMouseLeave: function onMouseLeave() {
|
|
15994
|
+
return setHoveredRowIndex(null);
|
|
15995
|
+
}
|
|
15996
|
+
};
|
|
15893
15997
|
}
|
|
15894
15998
|
})), /*#__PURE__*/React__default['default'].createElement(TheGoodsModal, {
|
|
15895
15999
|
ref: refModal,
|
|
@@ -15913,11 +16017,12 @@ var BsGoods = function BsGoods(props) {
|
|
|
15913
16017
|
setTableSelect = _useState2[1];
|
|
15914
16018
|
var withInfo = React.useRef(null);
|
|
15915
16019
|
var valueRef = React.useRef(null);
|
|
16020
|
+
var tokens = React.useRef([]);
|
|
15916
16021
|
React.useEffect(function () {
|
|
15917
16022
|
valueRef.current = value;
|
|
15918
16023
|
}, [value]);
|
|
15919
16024
|
React.useEffect(function () {
|
|
15920
|
-
pubsub__default['default'].subscribe('type', function (type, data) {
|
|
16025
|
+
tokens.current = [pubsub__default['default'].subscribe('type', function (type, data) {
|
|
15921
16026
|
if (disabled) return;
|
|
15922
16027
|
// console.log(type, data);
|
|
15923
16028
|
withInfo.current = {
|
|
@@ -15934,9 +16039,7 @@ var BsGoods = function BsGoods(props) {
|
|
|
15934
16039
|
goodValue: data === null || data === void 0 ? void 0 : data.goodValue
|
|
15935
16040
|
});
|
|
15936
16041
|
}
|
|
15937
|
-
})
|
|
15938
|
-
//补发
|
|
15939
|
-
pubsub__default['default'].subscribe('reissueType', function (type, data) {
|
|
16042
|
+
}), pubsub__default['default'].subscribe('reissueType', function (type, data) {
|
|
15940
16043
|
if (disabled) return;
|
|
15941
16044
|
withInfo.current = {
|
|
15942
16045
|
type: type,
|
|
@@ -15956,9 +16059,7 @@ var BsGoods = function BsGoods(props) {
|
|
|
15956
16059
|
goodValue: data === null || data === void 0 ? void 0 : data.goodValue
|
|
15957
16060
|
});
|
|
15958
16061
|
}
|
|
15959
|
-
})
|
|
15960
|
-
//退货
|
|
15961
|
-
pubsub__default['default'].subscribe('returnType', function (type, data) {
|
|
16062
|
+
}), pubsub__default['default'].subscribe('returnType', function (type, data) {
|
|
15962
16063
|
if (disabled) return;
|
|
15963
16064
|
withInfo.current = {
|
|
15964
16065
|
type: type,
|
|
@@ -15974,15 +16075,18 @@ var BsGoods = function BsGoods(props) {
|
|
|
15974
16075
|
goodValue: data === null || data === void 0 ? void 0 : data.goodValue
|
|
15975
16076
|
});
|
|
15976
16077
|
}
|
|
15977
|
-
})
|
|
15978
|
-
pubsub__default['default'].subscribeOnce('changeShopCode', function (type, data) {
|
|
16078
|
+
}), pubsub__default['default'].subscribeOnce('changeShopCode', function (type, data) {
|
|
15979
16079
|
// console.log(data);
|
|
15980
16080
|
onChange(_objectSpread2(_objectSpread2({}, valueRef === null || valueRef === void 0 ? void 0 : valueRef.current), {}, {
|
|
15981
16081
|
shopCode: data.shopCode
|
|
15982
16082
|
}));
|
|
15983
|
-
});
|
|
16083
|
+
})];
|
|
15984
16084
|
return function () {
|
|
15985
|
-
|
|
16085
|
+
// 清除当前组件所有订阅
|
|
16086
|
+
tokens.current.forEach(function (token) {
|
|
16087
|
+
return pubsub__default['default'].unsubscribe(token);
|
|
16088
|
+
});
|
|
16089
|
+
tokens.current = [];
|
|
15986
16090
|
};
|
|
15987
16091
|
}, [disabled]);
|
|
15988
16092
|
var _onSelect = function onSelect(list) {
|
|
@@ -17224,6 +17328,7 @@ var CommonGoods = function CommonGoods(props) {
|
|
|
17224
17328
|
setTableSelect = _useState2[1];
|
|
17225
17329
|
var withInfo = React.useRef(null);
|
|
17226
17330
|
var valueRef = React.useRef(null);
|
|
17331
|
+
var tokens = React.useRef([]);
|
|
17227
17332
|
React.useEffect(function () {
|
|
17228
17333
|
var _value$orders;
|
|
17229
17334
|
valueRef.current = value;
|
|
@@ -17257,7 +17362,7 @@ var CommonGoods = function CommonGoods(props) {
|
|
|
17257
17362
|
};
|
|
17258
17363
|
}();
|
|
17259
17364
|
React.useEffect(function () {
|
|
17260
|
-
pubsub__default['default'].subscribe(componentMap$1[compType].eventNameMap.type, function (type, data) {
|
|
17365
|
+
tokens.current = [pubsub__default['default'].subscribe(componentMap$1[compType].eventNameMap.type, function (type, data) {
|
|
17261
17366
|
if (disabled) return;
|
|
17262
17367
|
// console.log(type, data);
|
|
17263
17368
|
withInfo.current = {
|
|
@@ -17274,9 +17379,7 @@ var CommonGoods = function CommonGoods(props) {
|
|
|
17274
17379
|
goodValue: data === null || data === void 0 ? void 0 : data.goodValue
|
|
17275
17380
|
});
|
|
17276
17381
|
}
|
|
17277
|
-
})
|
|
17278
|
-
//补发
|
|
17279
|
-
pubsub__default['default'].subscribe(componentMap$1[compType].eventNameMap.reissueType, function (type, data) {
|
|
17382
|
+
}), pubsub__default['default'].subscribe(componentMap$1[compType].eventNameMap.reissueType, function (type, data) {
|
|
17280
17383
|
if (disabled) return;
|
|
17281
17384
|
withInfo.current = {
|
|
17282
17385
|
type: type,
|
|
@@ -17292,9 +17395,7 @@ var CommonGoods = function CommonGoods(props) {
|
|
|
17292
17395
|
goodValue: data === null || data === void 0 ? void 0 : data.goodValue
|
|
17293
17396
|
});
|
|
17294
17397
|
}
|
|
17295
|
-
})
|
|
17296
|
-
//退货
|
|
17297
|
-
pubsub__default['default'].subscribe(componentMap$1[compType].eventNameMap.returnType, function (type, data) {
|
|
17398
|
+
}), pubsub__default['default'].subscribe(componentMap$1[compType].eventNameMap.returnType, function (type, data) {
|
|
17298
17399
|
if (disabled) return;
|
|
17299
17400
|
withInfo.current = {
|
|
17300
17401
|
type: type,
|
|
@@ -17310,15 +17411,18 @@ var CommonGoods = function CommonGoods(props) {
|
|
|
17310
17411
|
goodValue: data === null || data === void 0 ? void 0 : data.goodValue
|
|
17311
17412
|
});
|
|
17312
17413
|
}
|
|
17313
|
-
})
|
|
17314
|
-
pubsub__default['default'].subscribeOnce(componentMap$1[compType].eventNameMap.changeShopCode, function (type, data) {
|
|
17414
|
+
}), pubsub__default['default'].subscribeOnce(componentMap$1[compType].eventNameMap.changeShopCode, function (type, data) {
|
|
17315
17415
|
// console.log(data);
|
|
17316
17416
|
onChange === null || onChange === void 0 ? void 0 : onChange(_objectSpread2(_objectSpread2({}, valueRef === null || valueRef === void 0 ? void 0 : valueRef.current), {}, {
|
|
17317
17417
|
shopCode: data.shopCode
|
|
17318
17418
|
}));
|
|
17319
|
-
});
|
|
17419
|
+
})];
|
|
17320
17420
|
return function () {
|
|
17321
|
-
|
|
17421
|
+
// 清除当前组件所有订阅
|
|
17422
|
+
tokens.current.forEach(function (token) {
|
|
17423
|
+
return pubsub__default['default'].unsubscribe(token);
|
|
17424
|
+
});
|
|
17425
|
+
tokens.current = [];
|
|
17322
17426
|
};
|
|
17323
17427
|
}, [disabled]);
|
|
17324
17428
|
var _onSelect = function onSelect(list) {
|
|
@@ -19890,6 +19994,7 @@ exports.CommonMultiStatus = CommonSystemOrder$1;
|
|
|
19890
19994
|
exports.CommonReturnGoods = CommonReturnGoods;
|
|
19891
19995
|
exports.CommonStatus = CommonStatus;
|
|
19892
19996
|
exports.CommonSystemOrder = CommonSystemOrder;
|
|
19997
|
+
exports.CopyTextIcon = CopyTextIcon;
|
|
19893
19998
|
exports.ExpressLogistics = ExpressLogistics;
|
|
19894
19999
|
exports.Goods = Goods;
|
|
19895
20000
|
exports.GoodsTable = index$2;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface HoverTableRowDeleteIconProps {
|
|
3
|
+
index: number;
|
|
4
|
+
hoveredRowIndex: number | null;
|
|
5
|
+
handleClick: () => void;
|
|
6
|
+
}
|
|
7
|
+
declare function HoverTableRowDeleteIcon({ index, hoveredRowIndex, handleClick, }: HoverTableRowDeleteIconProps): React.JSX.Element;
|
|
8
|
+
export default HoverTableRowDeleteIcon;
|
package/dist/src/index.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ export { default as ApaasPosting } from './apaas/ApaasPosting';
|
|
|
17
17
|
export { default as ApaasLogistics } from './apaas/ApaasLogistics';
|
|
18
18
|
export { default as ApaasHoc } from './apaas/hoc/withFormItem';
|
|
19
19
|
export { default as SubForm } from './apaas/SubForm';
|
|
20
|
+
export { default as CopyTextIcon } from './apaas/CopyTextIcon';
|
|
20
21
|
export { default as BuyerNick } from './business/BuyerNick';
|
|
21
22
|
export { default as TradeId } from './business/TradeId';
|
|
22
23
|
export { default as ShopName } from './business/ShopName';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/basic-components",
|
|
3
|
-
"version": "2.0.19-beta.
|
|
3
|
+
"version": "2.0.19-beta.59",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"homepage": "",
|
|
6
6
|
"license": "ISC",
|
|
@@ -65,5 +65,5 @@
|
|
|
65
65
|
"publishConfig": {
|
|
66
66
|
"access": "public"
|
|
67
67
|
},
|
|
68
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "d53f9a80719ce775726f8658e138ab311ea3312f"
|
|
69
69
|
}
|