@kmkf-fe-packages/services-components 0.3.1-alpha.9 → 0.4.0

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.
Files changed (41) hide show
  1. package/dist/esm/commonComponents/PlatBuyer/index.js +2 -2
  2. package/dist/esm/components/AlipayAccount/index.d.ts +1 -0
  3. package/dist/esm/components/AlipayAccount/index.js +2 -1
  4. package/dist/esm/components/AlipayName/index.d.ts +1 -0
  5. package/dist/esm/components/AlipayName/index.js +2 -1
  6. package/dist/esm/components/Express/index.d.ts +1 -0
  7. package/dist/esm/components/Express/index.js +2 -1
  8. package/dist/esm/components/ExpressCode/index.d.ts +1 -0
  9. package/dist/esm/components/ExpressCode/index.js +2 -1
  10. package/dist/esm/components/JstItemSelect/index.d.ts +2 -2
  11. package/dist/esm/components/JstItemSelect/index.js +2 -2
  12. package/dist/esm/components/JstLogistics/index.d.ts +2 -2
  13. package/dist/esm/components/JstLogistics/index.js +2 -2
  14. package/dist/esm/components/JstSendGood/index.d.ts +2 -2
  15. package/dist/esm/components/JstSendGood/index.js +2 -2
  16. package/dist/esm/components/JstSupply/index.d.ts +2 -2
  17. package/dist/esm/components/JstSupply/index.js +2 -2
  18. package/dist/esm/components/Ordinary/OrdinaryHeader.d.ts +2 -1
  19. package/dist/esm/components/Ordinary/OrdinaryHeader.js +2 -1
  20. package/dist/esm/components/Ordinary/OrdinaryMoney.d.ts +2 -1
  21. package/dist/esm/components/Ordinary/OrdinaryMoney.js +2 -1
  22. package/dist/esm/components/Ordinary/OrdinarySerial.d.ts +2 -1
  23. package/dist/esm/components/Ordinary/OrdinarySerial.js +2 -1
  24. package/dist/esm/components/Payment/AlipayNick.d.ts +1 -0
  25. package/dist/esm/components/Payment/AlipayNick.js +2 -1
  26. package/dist/esm/components/Payment/AlipayNo.d.ts +2 -1
  27. package/dist/esm/components/Payment/AlipayNo.js +2 -1
  28. package/dist/esm/components/Payment/AlipayTime.d.ts +2 -1
  29. package/dist/esm/components/Payment/AlipayTime.js +2 -1
  30. package/dist/esm/components/Payment/BuyerNick.d.ts +2 -1
  31. package/dist/esm/components/Payment/BuyerNick.js +2 -1
  32. package/dist/esm/components/Payment/PaymentAmount.d.ts +2 -1
  33. package/dist/esm/components/Payment/PaymentAmount.js +2 -1
  34. package/dist/esm/components/Payment/PaymentStatus.d.ts +2 -1
  35. package/dist/esm/components/Payment/PaymentStatus.js +2 -1
  36. package/dist/esm/components/Payment/PaymentTid.d.ts +2 -1
  37. package/dist/esm/components/Payment/PaymentTid.js +2 -1
  38. package/dist/esm/components/Payment/index.d.ts +34 -2
  39. package/dist/esm/components/WorkOrderId/index.js +2 -2
  40. package/dist/esm/type.d.ts +1 -0
  41. package/package.json +4 -4
@@ -30,7 +30,7 @@ var PlatBuyer = function PlatBuyer(_ref) {
30
30
  return (platInfo === null || platInfo === void 0 ? void 0 : (_platInfo$shopId = platInfo[shopId]) === null || _platInfo$shopId === void 0 ? void 0 : _platInfo$shopId.platformTypeStr) === 'TAOBAO' ? /*#__PURE__*/React.createElement("span", null, /*#__PURE__*/React.createElement(Wangwang, {
31
31
  nick: buyerNick,
32
32
  buyerOpenUid: buyerOpenUid
33
- })) : /*#__PURE__*/React.createElement(CopyToClipboard, {
33
+ })) : /*#__PURE__*/React.createElement(React.Fragment, null, buyerNick, /*#__PURE__*/React.createElement(CopyToClipboard, {
34
34
  text: buyerNick,
35
35
  onCopy: function onCopy() {
36
36
  message.success('复制成功');
@@ -40,6 +40,6 @@ var PlatBuyer = function PlatBuyer(_ref) {
40
40
  paddingLeft: '4px',
41
41
  cursor: 'pointer'
42
42
  }
43
- }, /*#__PURE__*/React.createElement(CopyOutlined, null)));
43
+ }, /*#__PURE__*/React.createElement(CopyOutlined, null))));
44
44
  };
45
45
  export default PlatBuyer;
@@ -25,6 +25,7 @@ declare class EAlipayAccount implements ComponentInterface {
25
25
  title: string;
26
26
  componentType: (value: any) => JSX.Element;
27
27
  renderExport: (value?: string) => string;
28
+ render: (value: any, record: Record) => JSX.Element;
28
29
  };
29
30
  }
30
31
  export default EAlipayAccount;
@@ -68,7 +68,8 @@ var EAlipayAccount = /*#__PURE__*/_createClass(function EAlipayAccount(options)
68
68
  dataIndex: _this.id,
69
69
  title: _this.name,
70
70
  componentType: _this.editRender,
71
- renderExport: _this.renderExport
71
+ renderExport: _this.renderExport,
72
+ render: _this.renderPc
72
73
  });
73
74
  });
74
75
  this.name = '支付宝账号';
@@ -25,6 +25,7 @@ declare class EAlipayAccount implements ComponentInterface {
25
25
  title: string;
26
26
  componentType: (value: any) => JSX.Element;
27
27
  renderExport: (value?: string) => string;
28
+ render: (value: any, record: Record) => JSX.Element;
28
29
  };
29
30
  }
30
31
  export default EAlipayAccount;
@@ -68,7 +68,8 @@ var EAlipayAccount = /*#__PURE__*/_createClass(function EAlipayAccount(options)
68
68
  dataIndex: _this.id,
69
69
  title: _this.name,
70
70
  componentType: _this.editRender,
71
- renderExport: _this.renderExport
71
+ renderExport: _this.renderExport,
72
+ render: _this.renderPc
72
73
  });
73
74
  });
74
75
  this.name = '支付宝名称';
@@ -27,6 +27,7 @@ declare class Express implements ComponentInterface {
27
27
  widget: JSX.Element;
28
28
  groupFieldPath: string;
29
29
  renderExport: (value: string, record: Record) => string | number;
30
+ render: (value: string, record: Record) => JSX.Element;
30
31
  };
31
32
  }
32
33
  export default Express;
@@ -72,7 +72,8 @@ var Express = /*#__PURE__*/_createClass(function Express(options) {
72
72
  options: _this.expressDateInstance.getExpressData()
73
73
  }),
74
74
  groupFieldPath: 'company',
75
- renderExport: _this.renderExport
75
+ renderExport: _this.renderExport,
76
+ render: _this.renderPc
76
77
  });
77
78
  ;
78
79
  });
@@ -24,6 +24,7 @@ declare class ExpressCode implements ComponentInterface {
24
24
  title: string;
25
25
  groupFieldPath: string;
26
26
  renderExport: (value: string, record: Record) => string;
27
+ render: (value: any, record: Record) => JSX.Element;
27
28
  };
28
29
  }
29
30
  export default ExpressCode;
@@ -59,7 +59,8 @@ var ExpressCode = /*#__PURE__*/_createClass(function ExpressCode(options) {
59
59
  dataIndex: _this.id,
60
60
  title: _this.name,
61
61
  groupFieldPath: 'order',
62
- renderExport: _this.renderExport
62
+ renderExport: _this.renderExport,
63
+ render: _this.renderPc
63
64
  });
64
65
  ;
65
66
  });
@@ -18,12 +18,12 @@ declare class JstItemSelect implements ComponentInterface {
18
18
  render: (value: any) => JSX.Element;
19
19
  renderClient: (record: Record) => JSX.Element | null;
20
20
  renderPc: (value: any, record: Record) => JSX.Element;
21
- renderExport: (value: any, record: Record) => any;
21
+ renderExport: (value: any, record: any) => any;
22
22
  editRender: () => JSX.Element;
23
23
  getColumns: () => this & {
24
24
  dataIndex: string;
25
25
  title: string;
26
- renderExport: (value: any, record: Record) => any;
26
+ renderExport: (value: any, record: any) => any;
27
27
  };
28
28
  }
29
29
  export default JstItemSelect;
@@ -56,8 +56,8 @@ var JstItemSelect = /*#__PURE__*/_createClass(function JstItemSelect(options) {
56
56
  _defineProperty(this, "renderExport", function (value, record) {
57
57
  var list = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_jstItemList")];
58
58
  return (list || []).map(function (item) {
59
- return "\n".concat(item.itemId || '', "/").concat(item.supplierName || '');
60
- });
59
+ return [item === null || item === void 0 ? void 0 : item.itemId, item === null || item === void 0 ? void 0 : item.supplierName].join('/');
60
+ }).join(',');
61
61
  });
62
62
  _defineProperty(this, "editRender", function () {
63
63
  return /*#__PURE__*/React.createElement(GetFormItem, {
@@ -18,12 +18,12 @@ declare class JstLogistics implements ComponentInterface {
18
18
  render: (value: any) => JSX.Element;
19
19
  renderClient: (record: any) => JSX.Element | null;
20
20
  renderPc: (value: any, record: Record) => JSX.Element;
21
- renderExport: (value: any, record: Record) => any;
21
+ renderExport: (value: any, record: any) => any;
22
22
  editRender: () => JSX.Element;
23
23
  getColumns: () => this & {
24
24
  dataIndex: string;
25
25
  title: string;
26
- renderExport: (value: any, record: Record) => any;
26
+ renderExport: (value: any, record: any) => any;
27
27
  };
28
28
  }
29
29
  export default JstLogistics;
@@ -56,8 +56,8 @@ var JstLogistics = /*#__PURE__*/_createClass(function JstLogistics(options) {
56
56
  _defineProperty(this, "renderExport", function (value, record) {
57
57
  var list = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_jstItemList")];
58
58
  return (list || []).map(function (item) {
59
- return "\n".concat(_this.expressDateInstance.getExpressNameByCode(item.logisticsCompany) || '', "/").concat(item.logisticsCode || '');
60
- });
59
+ return [_this.expressDateInstance.getExpressNameByCode(item === null || item === void 0 ? void 0 : item.logisticsCompany), item === null || item === void 0 ? void 0 : item.logisticsCode].join('/');
60
+ }).join(',');
61
61
  });
62
62
  _defineProperty(this, "editRender", function () {
63
63
  var _this$componentConfig, _this$componentConfig2;
@@ -16,12 +16,12 @@ declare class JstSendGood implements ComponentInterface {
16
16
  render: (value: any) => JSX.Element;
17
17
  renderClient: (record: Record) => JSX.Element | null;
18
18
  renderPc: (value: any, record: Record) => JSX.Element;
19
- renderExport: (value: any, record: Record) => any;
19
+ renderExport: (value: any, record: any) => any;
20
20
  editRender: () => JSX.Element;
21
21
  getColumns: () => this & {
22
22
  dataIndex: string;
23
23
  title: string;
24
- renderExport: (value: any, record: Record) => any;
24
+ renderExport: (value: any, record: any) => any;
25
25
  };
26
26
  }
27
27
  export default JstSendGood;
@@ -54,8 +54,8 @@ var JstSendGood = /*#__PURE__*/_createClass(function JstSendGood(options) {
54
54
  _defineProperty(this, "renderExport", function (value, record) {
55
55
  var list = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_jstItemList")];
56
56
  return (list || []).map(function (item) {
57
- return "\n".concat(item.sendId || '', "/").concat(item.sendName || '');
58
- });
57
+ return [item === null || item === void 0 ? void 0 : item.sendId, item === null || item === void 0 ? void 0 : item.sendName].join('/');
58
+ }).join(',');
59
59
  });
60
60
  _defineProperty(this, "editRender", function () {
61
61
  return /*#__PURE__*/React.createElement(GetFormItem, {
@@ -16,12 +16,12 @@ declare class JstSupply implements ComponentInterface {
16
16
  render: (value: any) => JSX.Element;
17
17
  renderClient: (record: Record) => JSX.Element | null;
18
18
  renderPc: (value: any, record: Record) => JSX.Element;
19
- renderExport: (value: any, record: Record) => any;
19
+ renderExport: (value: any, record: any) => any;
20
20
  editRender: () => JSX.Element;
21
21
  getColumns: () => this & {
22
22
  dataIndex: string;
23
23
  title: string;
24
- renderExport: (value: any, record: Record) => any;
24
+ renderExport: (value: any, record: any) => any;
25
25
  };
26
26
  }
27
27
  export default JstSupply;
@@ -54,8 +54,8 @@ var JstSupply = /*#__PURE__*/_createClass(function JstSupply(options) {
54
54
  _defineProperty(this, "renderExport", function (value, record) {
55
55
  var list = (record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_jstItemList")]) || [];
56
56
  return list.map(function (item) {
57
- return "\n".concat(item.supplyId || '', "/").concat(item.supplyName || '');
58
- });
57
+ return [item === null || item === void 0 ? void 0 : item.supplyId, item === null || item === void 0 ? void 0 : item.supplyName].join('/');
58
+ }).join(',');
59
59
  });
60
60
  _defineProperty(this, "editRender", function () {
61
61
  return /*#__PURE__*/React.createElement(GetFormItem, {
@@ -29,7 +29,8 @@ declare class OrdinaryHeader implements ComponentInterface {
29
29
  canFilter: boolean;
30
30
  canGroup: boolean;
31
31
  type: string;
32
- render: (value: string) => JSX.Element;
32
+ render: (value: any) => any;
33
+ renderPc: (value: any) => any;
33
34
  componentType: () => JSX.Element;
34
35
  showContains: boolean;
35
36
  renderExport: (value: any) => any;
@@ -69,7 +69,8 @@ var OrdinaryHeader = /*#__PURE__*/_createClass(function OrdinaryHeader(options)
69
69
  canFilter: _this.canFilter,
70
70
  canGroup: _this.canGroup,
71
71
  type: _this.type,
72
- render: _this.render,
72
+ render: _this.renderPc,
73
+ renderPc: _this.renderPc,
73
74
  componentType: _this.editRender,
74
75
  showContains: _this.showContains,
75
76
  renderExport: _this.renderExport,
@@ -29,7 +29,8 @@ declare class OrdinaryMoney implements ComponentInterface {
29
29
  canFilter: boolean;
30
30
  canGroup: boolean;
31
31
  type: string;
32
- render: (value: string) => JSX.Element;
32
+ render: (value: any) => any;
33
+ renderPc: (value: any) => any;
33
34
  componentType: () => JSX.Element;
34
35
  showContains: boolean;
35
36
  renderExport: (value: any) => any;
@@ -62,7 +62,8 @@ var OrdinaryMoney = /*#__PURE__*/_createClass(function OrdinaryMoney(options) {
62
62
  canFilter: _this.canFilter,
63
63
  canGroup: _this.canGroup,
64
64
  type: _this.type,
65
- render: _this.render,
65
+ render: _this.renderPc,
66
+ renderPc: _this.renderPc,
66
67
  componentType: _this.editRender,
67
68
  showContains: _this.showContains,
68
69
  renderExport: _this.renderExport,
@@ -29,7 +29,8 @@ declare class OrdinarySerial implements ComponentInterface {
29
29
  canFilter: boolean;
30
30
  canGroup: boolean;
31
31
  type: string;
32
- render: (value: string) => JSX.Element;
32
+ render: (value: any) => any;
33
+ renderPc: (value: any) => any;
33
34
  componentType: () => JSX.Element;
34
35
  showContains: boolean;
35
36
  renderExport: (value: any) => any;
@@ -62,7 +62,8 @@ var OrdinarySerial = /*#__PURE__*/_createClass(function OrdinarySerial(options)
62
62
  canFilter: _this.canFilter,
63
63
  canGroup: _this.canGroup,
64
64
  type: _this.type,
65
- render: _this.render,
65
+ render: _this.renderPc,
66
+ renderPc: _this.renderPc,
66
67
  componentType: _this.editRender,
67
68
  showContains: _this.showContains,
68
69
  renderExport: _this.renderExport,
@@ -31,6 +31,7 @@ declare class PaymentTid implements ComponentInterface {
31
31
  type: string;
32
32
  width: number;
33
33
  render: (value: any, record: Record) => JSX.Element;
34
+ renderPc: (value: any, record: Record) => JSX.Element;
34
35
  componentType: () => JSX.Element;
35
36
  showContains: boolean;
36
37
  renderExport: (value: any, record: Record) => any;
@@ -72,7 +72,8 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
72
72
  canGroup: _this.canGroup,
73
73
  type: _this.type,
74
74
  width: _this.width,
75
- render: _this.render,
75
+ render: _this.renderPc,
76
+ renderPc: _this.renderPc,
76
77
  componentType: _this.editRender,
77
78
  showContains: _this.showContains,
78
79
  renderExport: _this.renderExport
@@ -30,7 +30,8 @@ declare class AlipayNo implements ComponentInterface {
30
30
  canFilter: boolean;
31
31
  canGroup: boolean;
32
32
  type: string;
33
- render: (value: string) => JSX.Element;
33
+ render: (value: any, record: any) => JSX.Element;
34
+ renderPc: (value: any, record: any) => JSX.Element;
34
35
  componentType: () => JSX.Element;
35
36
  showContains: boolean;
36
37
  };
@@ -72,7 +72,8 @@ var AlipayNo = /*#__PURE__*/_createClass(function AlipayNo(options) {
72
72
  canFilter: _this.canFilter,
73
73
  canGroup: _this.canGroup,
74
74
  type: _this.type,
75
- render: _this.render,
75
+ render: _this.renderPc,
76
+ renderPc: _this.renderPc,
76
77
  componentType: _this.editRender,
77
78
  showContains: _this.showContains
78
79
  };
@@ -29,7 +29,8 @@ declare class AlipayTime implements ComponentInterface {
29
29
  canFilter: boolean;
30
30
  canGroup: boolean;
31
31
  type: string;
32
- render: (value: string) => JSX.Element;
32
+ render: (value: any, record: Record) => JSX.Element;
33
+ renderPc: (value: any, record: Record) => JSX.Element;
33
34
  componentType: () => JSX.Element;
34
35
  showContains: boolean;
35
36
  renderExport: (value: string) => string | null;
@@ -70,7 +70,8 @@ var AlipayTime = /*#__PURE__*/_createClass(function AlipayTime(options) {
70
70
  canFilter: _this.canFilter,
71
71
  canGroup: _this.canGroup,
72
72
  type: _this.type,
73
- render: _this.render,
73
+ render: _this.renderPc,
74
+ renderPc: _this.renderPc,
74
75
  componentType: _this.editRender,
75
76
  showContains: _this.showContains,
76
77
  renderExport: _this.renderExport,
@@ -30,7 +30,8 @@ declare class BuyerNick implements ComponentInterface {
30
30
  canFilter: boolean;
31
31
  canGroup: boolean;
32
32
  type: string;
33
- render: (value: string) => JSX.Element;
33
+ render: (value: any, record: Record) => JSX.Element;
34
+ renderPc: (value: any, record: Record) => JSX.Element;
34
35
  componentType: () => JSX.Element;
35
36
  showContains: boolean;
36
37
  renderExport: (value: string) => string;
@@ -89,7 +89,8 @@ var BuyerNick = /*#__PURE__*/_createClass(function BuyerNick(options) {
89
89
  canFilter: _this.canFilter,
90
90
  canGroup: _this.canGroup,
91
91
  type: _this.type,
92
- render: _this.render,
92
+ render: _this.renderPc,
93
+ renderPc: _this.renderPc,
93
94
  componentType: _this.editRender,
94
95
  showContains: _this.showContains,
95
96
  renderExport: _this.renderExport
@@ -29,7 +29,8 @@ declare class PaymentAmount implements ComponentInterface {
29
29
  canFilter: boolean;
30
30
  canGroup: boolean;
31
31
  type: string;
32
- render: (value: string) => JSX.Element;
32
+ render: (value: any, record: Record) => JSX.Element;
33
+ renderPc: (value: any, record: Record) => JSX.Element;
33
34
  componentType: () => JSX.Element;
34
35
  showContains: boolean;
35
36
  renderExport: (value: string) => string;
@@ -62,7 +62,8 @@ var PaymentAmount = /*#__PURE__*/_createClass(function PaymentAmount(options) {
62
62
  canFilter: _this.canFilter,
63
63
  canGroup: _this.canGroup,
64
64
  type: _this.type,
65
- render: _this.render,
65
+ render: _this.renderPc,
66
+ renderPc: _this.renderPc,
66
67
  componentType: _this.editRender,
67
68
  showContains: _this.showContains,
68
69
  renderExport: _this.renderExport
@@ -32,7 +32,8 @@ declare class PaymentStatus implements ComponentInterface {
32
32
  canGroup: boolean;
33
33
  width: number;
34
34
  type: string;
35
- render: (value: string) => JSX.Element;
35
+ render: (value: any, record: any) => any;
36
+ renderPc: (value: any, record: any) => any;
36
37
  componentType: (value: any) => null;
37
38
  showContains: boolean;
38
39
  renderExport: (value: any) => any;
@@ -54,7 +54,8 @@ var PaymentStatus = /*#__PURE__*/_createClass(function PaymentStatus(options) {
54
54
  canGroup: _this.canGroup,
55
55
  width: _this.width,
56
56
  type: _this.type,
57
- render: _this.render,
57
+ render: _this.renderPc,
58
+ renderPc: _this.renderPc,
58
59
  componentType: _this.editRender,
59
60
  showContains: _this.showContains,
60
61
  renderExport: _this.renderExport,
@@ -29,7 +29,8 @@ declare class PaymentTid implements ComponentInterface {
29
29
  canGroup: boolean;
30
30
  width: number;
31
31
  type: string;
32
- render: (value: string) => JSX.Element;
32
+ render: (value: any, record: any) => JSX.Element;
33
+ renderPc: (value: any, record: any) => JSX.Element;
33
34
  componentType: () => JSX.Element;
34
35
  showContains: boolean;
35
36
  renderExport: (value: string) => string;
@@ -62,7 +62,8 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
62
62
  canGroup: _this.canGroup,
63
63
  width: _this.width,
64
64
  type: _this.type,
65
- render: _this.render,
65
+ render: _this.renderPc,
66
+ renderPc: _this.renderPc,
66
67
  componentType: _this.editRender,
67
68
  showContains: _this.showContains,
68
69
  renderExport: _this.renderExport
@@ -41,8 +41,9 @@ declare class Logistics implements ComponentInterface {
41
41
  canHidden: boolean;
42
42
  canFilter: boolean;
43
43
  canGroup: boolean;
44
+ width: number;
44
45
  type: string;
45
- render: (value: string) => JSX.Element;
46
+ render: (value: any, record: any) => any;
46
47
  componentType: (value: any) => null;
47
48
  showContains: boolean;
48
49
  renderExport: (value: any) => any;
@@ -59,6 +60,7 @@ declare class Logistics implements ComponentInterface {
59
60
  title: string;
60
61
  align: import("../../type").ALignType;
61
62
  dataIndex: string;
63
+ width: number;
62
64
  dataType: DataType;
63
65
  canHidden: boolean;
64
66
  canFilter: boolean;
@@ -67,19 +69,49 @@ declare class Logistics implements ComponentInterface {
67
69
  render: (value: any, record: import("../../type").Record) => JSX.Element;
68
70
  componentType: () => JSX.Element;
69
71
  showContains: boolean;
72
+ renderExport: (value: string) => string;
73
+ } | {
74
+ title: string;
75
+ align: import("../../type").ALignType;
76
+ dataIndex: string;
77
+ dataType: DataType;
78
+ canHidden: boolean;
79
+ canFilter: boolean;
80
+ canGroup: boolean;
81
+ type: string;
82
+ width: number;
83
+ render: (value: any, record: import("../../type").Record) => JSX.Element;
84
+ componentType: () => JSX.Element;
85
+ showContains: boolean;
70
86
  renderExport: (value: any, record: import("../../type").Record) => any;
71
87
  } | {
72
88
  title: string;
73
89
  align: import("../../type").ALignType;
74
90
  dataIndex: string;
91
+ width: number;
75
92
  dataType: DataType;
76
93
  canHidden: boolean;
77
94
  canFilter: boolean;
78
95
  canGroup: boolean;
79
96
  type: string;
80
- render: (value: string) => JSX.Element;
97
+ render: (value: any, record: any) => JSX.Element;
98
+ componentType: () => JSX.Element;
99
+ showContains: boolean;
100
+ } | {
101
+ title: string;
102
+ align: import("../../type").ALignType;
103
+ dataIndex: string;
104
+ width: number;
105
+ dataType: DataType;
106
+ canHidden: boolean;
107
+ canFilter: boolean;
108
+ canGroup: boolean;
109
+ type: string;
110
+ render: (value: any, record: import("../../type").Record) => JSX.Element;
81
111
  componentType: () => JSX.Element;
82
112
  showContains: boolean;
113
+ renderExport: (value: string) => string | null;
114
+ widget: null;
83
115
  })[];
84
116
  canHidden: boolean;
85
117
  dataIndex: string;
@@ -41,7 +41,7 @@ var WorkOrderId = /*#__PURE__*/_createClass(function WorkOrderId(options) {
41
41
  var _this$effects;
42
42
  return _this === null || _this === void 0 ? void 0 : (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.handleOpenRepeatList(record === null || record === void 0 ? void 0 : record.repeatConfig);
43
43
  }
44
- }), (_record = record === null || record === void 0 ? void 0 : record["".concat(_this.id)]) !== null && _record !== void 0 ? _record : '--', (record === null || record === void 0 ? void 0 : record["".concat(_this.id)]) && /*#__PURE__*/React.createElement(CopyToClipboard, {
44
+ }), (_record = record === null || record === void 0 ? void 0 : record["".concat(_this.id)]) !== null && _record !== void 0 ? _record : '--', (record === null || record === void 0 ? void 0 : record["".concat(_this.id)]) && /*#__PURE__*/React.createElement(React.Fragment, null, record === null || record === void 0 ? void 0 : record["".concat(_this.id)], /*#__PURE__*/React.createElement(CopyToClipboard, {
45
45
  text: record === null || record === void 0 ? void 0 : record["".concat(_this.id)],
46
46
  onCopy: function onCopy() {
47
47
  message.success('复制成功');
@@ -51,7 +51,7 @@ var WorkOrderId = /*#__PURE__*/_createClass(function WorkOrderId(options) {
51
51
  paddingLeft: '4px',
52
52
  cursor: 'pointer'
53
53
  }
54
- }, /*#__PURE__*/React.createElement(CopyOutlined, null))));
54
+ }, /*#__PURE__*/React.createElement(CopyOutlined, null)))));
55
55
  });
56
56
  _defineProperty(this, "renderExport", function (value, record) {
57
57
  var _record2;
@@ -17,6 +17,7 @@ declare interface ResultColumnsInterface {
17
17
  editable?: boolean;
18
18
  width?: number;
19
19
  render?: (v: any, r: any) => JSX.Element | null;
20
+ renderPc?: (v: any, r: any) => JSX.Element | null;
20
21
  componentType?: (v: any) => JSX.Element | null;
21
22
  [prop: string]: any;
22
23
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/services-components",
3
- "version": "0.3.1-alpha.9",
3
+ "version": "0.4.0",
4
4
  "module": "dist/esm/index.js",
5
5
  "typings": "dist/esm/index.d.ts",
6
6
  "files": [
@@ -21,8 +21,8 @@
21
21
  "father": "^4.1.7"
22
22
  },
23
23
  "dependencies": {
24
- "@kmkf-fe-packages/basic-components": "^0.3.1-alpha.2",
25
- "@kmkf-fe-packages/kmkf-utils": "^0.3.1-alpha.9"
24
+ "@kmkf-fe-packages/basic-components": "^0.4.0",
25
+ "@kmkf-fe-packages/kmkf-utils": "^0.4.0"
26
26
  },
27
27
  "peerDependencies": {
28
28
  "@ant-design/icons": "^4.7.0",
@@ -35,5 +35,5 @@
35
35
  "gitHooks": {
36
36
  "pre-commit": "lint-staged"
37
37
  },
38
- "gitHead": "828d5931a29f07b5b9146946c6c482ec865103db"
38
+ "gitHead": "e3b9404a5ea8a0021630fcbee65b0ae13a4fef52"
39
39
  }