@kmkf-fe-packages/services-components 0.29.1-rc.4 → 0.29.1-rc.5
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.
|
@@ -3,10 +3,12 @@ import { Typography } from 'antd';
|
|
|
3
3
|
var Paragraph = Typography.Paragraph;
|
|
4
4
|
export default (function (props) {
|
|
5
5
|
var text = props.text,
|
|
6
|
-
showText = props.showText
|
|
6
|
+
showText = props.showText,
|
|
7
|
+
style = props.style;
|
|
7
8
|
return /*#__PURE__*/React.createElement(Paragraph, {
|
|
8
9
|
copyable: {
|
|
9
10
|
text: text
|
|
10
|
-
}
|
|
11
|
+
},
|
|
12
|
+
style: style
|
|
11
13
|
}, showText || text);
|
|
12
14
|
});
|
|
@@ -11,6 +11,7 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
|
11
11
|
import React, { useState } from 'react';
|
|
12
12
|
import { Modal, Timeline, message } from 'antd';
|
|
13
13
|
import { request } from '@kmkf-fe-packages/kmkf-utils';
|
|
14
|
+
import CopyText from "../CopyText";
|
|
14
15
|
var QueryLogisticsTrack = function QueryLogisticsTrack(_ref) {
|
|
15
16
|
var _ref$title = _ref.title,
|
|
16
17
|
title = _ref$title === void 0 ? '查轨迹' : _ref$title,
|
|
@@ -123,7 +124,12 @@ var QueryLogisticsTrack = function QueryLogisticsTrack(_ref) {
|
|
|
123
124
|
}
|
|
124
125
|
}, /*#__PURE__*/React.createElement("span", {
|
|
125
126
|
onClick: handleQueryLogistics
|
|
126
|
-
}, title
|
|
127
|
+
}, title === '查轨迹' ? title : /*#__PURE__*/React.createElement(CopyText, {
|
|
128
|
+
text: title,
|
|
129
|
+
style: {
|
|
130
|
+
color: '#1890ff'
|
|
131
|
+
}
|
|
132
|
+
}))), /*#__PURE__*/React.createElement(Modal, {
|
|
127
133
|
width: modelWidth,
|
|
128
134
|
title: "\u7269\u6D41\u8F68\u8FF9",
|
|
129
135
|
footer: false,
|
package/dist/esm/factory.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { JstLogistics, JstItemSelect, JstSupply, JstSendGood, BasicInput, BasicAddress, BasicCascader, BasicCheckbox, BasicDataTime, BasicSelect, BasicRadio, BasicTextArea, BasicPicture, BasicMultSelect, BasicGrade, BasicRate, BasicFile, BasicPosting, CommonDataTime, TradeId, ShopName, BuyerNick, ReceiverName, ReceiverMobile, ReceiverAddress, TradeDateTime, Logistics, ReturnLogistics, ActualPayment, ERemark, AliPay, ItemSelect, ItemId, ItemEnCode, SystemOrderNo, Ordinary, ThirdItemSelect, FlowStatusSelect, FlowMarkSelect, FlowTag, Payment, TemplateSelect, WorkOrderId, PlatForm, ShopInput, Submitter, PrevSubmitter, FlowCreator, Handler, CompletedUser, LogisticsInterception, LogisticsMoreInterception, LogisticsTrajectory, LogisticsMoreTrajectory, FlowWorkOrderId, BsGoods, BsExchange, BsReissue, BsReturn, BsSystemOrder, BsLogistics, StatusSelect, CommonSystemOrder, CommonMultiStatus, Calculation, NodeDeadLine, HandlerDeadLine, NodeStayDuration, WlnGoods, BsPosting, MsgStatus, NodeInput, FlowWorkOrderStatus, CommonInput, PaymentVoucherCode } from "./index";
|
|
2
2
|
import { PickOption } from "./type";
|
|
3
|
-
export declare const factory: (type: string, options: PickOption) =>
|
|
3
|
+
export declare const factory: (type: string, options: PickOption) => ActualPayment | BasicAddress | AliPay | BsExchange | BsGoods | BsLogistics | BsPosting | BsReissue | BsReturn | BsSystemOrder | BuyerNick | Calculation | BasicCascader | BasicCheckbox | CommonDataTime | CommonInput | CommonMultiStatus | CommonSystemOrder | CompletedUser | BasicDataTime | ItemEnCode | ItemId | ItemSelect | BasicInput | BasicSelect | BasicRadio | BasicTextArea | BasicPicture | BasicMultSelect | BasicGrade | BasicRate | BasicFile | BasicPosting | TradeId | ShopName | ReceiverName | ReceiverMobile | ReceiverAddress | TradeDateTime | Logistics | ReturnLogistics | ERemark | SystemOrderNo | Ordinary | ThirdItemSelect | Payment | JstLogistics | JstItemSelect | JstSendGood | JstSupply | FlowStatusSelect | FlowMarkSelect | FlowTag | TemplateSelect | WorkOrderId | LogisticsInterception | LogisticsMoreInterception | LogisticsTrajectory | LogisticsMoreTrajectory | PlatForm | ShopInput | Submitter | PrevSubmitter | FlowCreator | Handler | FlowWorkOrderId | StatusSelect | NodeDeadLine | HandlerDeadLine | NodeStayDuration | WlnGoods | NodeInput | FlowWorkOrderStatus | MsgStatus | PaymentVoucherCode;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/services-components",
|
|
3
|
-
"version": "0.29.1-rc.
|
|
3
|
+
"version": "0.29.1-rc.5",
|
|
4
4
|
"module": "dist/esm/index.js",
|
|
5
5
|
"typings": "dist/esm/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"publishConfig": {
|
|
38
38
|
"access": "public"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "14cdcc5dab579a51e4e4d363240c94931f3da498",
|
|
41
41
|
"gitHooks": {
|
|
42
42
|
"pre-commit": "lint-staged"
|
|
43
43
|
}
|