@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.
@@ -2,5 +2,6 @@ import React from 'react';
2
2
  declare const _default: (props: {
3
3
  text: string;
4
4
  showText?: string;
5
+ style?: any;
5
6
  }) => React.JSX.Element;
6
7
  export default _default;
@@ -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)), /*#__PURE__*/React.createElement(Modal, {
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,
@@ -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) => LogisticsInterception | LogisticsMoreInterception | TradeId | BasicInput | BasicAddress | BasicCascader | BasicCheckbox | BasicDataTime | BasicSelect | BasicRadio | BasicTextArea | BasicPicture | BasicMultSelect | BasicGrade | BasicRate | BasicFile | BasicPosting | CommonDataTime | ShopName | BuyerNick | ReceiverName | ReceiverMobile | ReceiverAddress | TradeDateTime | Logistics | ReturnLogistics | ActualPayment | ERemark | AliPay | ItemSelect | ItemId | ItemEnCode | SystemOrderNo | Ordinary | ThirdItemSelect | Payment | JstLogistics | JstItemSelect | JstSendGood | JstSupply | BsSystemOrder | BsGoods | BsExchange | BsReissue | BsReturn | BsLogistics | FlowStatusSelect | FlowMarkSelect | FlowTag | TemplateSelect | WorkOrderId | LogisticsTrajectory | LogisticsMoreTrajectory | PlatForm | ShopInput | Submitter | PrevSubmitter | FlowCreator | Handler | CompletedUser | FlowWorkOrderId | StatusSelect | Calculation | CommonSystemOrder | CommonMultiStatus | NodeDeadLine | HandlerDeadLine | NodeStayDuration | WlnGoods | BsPosting | NodeInput | FlowWorkOrderStatus | MsgStatus | CommonInput | PaymentVoucherCode;
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.4",
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": "ab1a9839447f2a55bed24fc0f92880616f574907",
40
+ "gitHead": "14cdcc5dab579a51e4e4d363240c94931f3da498",
41
41
  "gitHooks": {
42
42
  "pre-commit": "lint-staged"
43
43
  }