@kmkf-fe-packages/services-components 0.6.3-alpha.8 → 0.6.3-alpha.9

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 (126) hide show
  1. package/dist/esm/commonComponents/OperationLog/index.d.ts +0 -1
  2. package/dist/esm/commonComponents/OperationLog/index.js +31 -36
  3. package/dist/esm/components/ActualPayment/index.d.ts +1 -0
  4. package/dist/esm/components/ActualPayment/index.js +4 -1
  5. package/dist/esm/components/Address/index.d.ts +1 -0
  6. package/dist/esm/components/Address/index.js +4 -1
  7. package/dist/esm/components/Alipay/index.d.ts +4 -0
  8. package/dist/esm/components/Alipay/index.js +6 -0
  9. package/dist/esm/components/AlipayAccount/index.d.ts +1 -0
  10. package/dist/esm/components/AlipayAccount/index.js +4 -1
  11. package/dist/esm/components/AlipayName/index.d.ts +1 -0
  12. package/dist/esm/components/AlipayName/index.js +4 -1
  13. package/dist/esm/components/BuyerNick/index.d.ts +4 -0
  14. package/dist/esm/components/BuyerNick/index.js +7 -1
  15. package/dist/esm/components/Cascader/index.d.ts +1 -0
  16. package/dist/esm/components/Cascader/index.js +4 -1
  17. package/dist/esm/components/Checkbox/index.d.ts +5 -1
  18. package/dist/esm/components/Checkbox/index.js +22 -5
  19. package/dist/esm/components/CommonDataTime/index.d.ts +1 -0
  20. package/dist/esm/components/CommonDataTime/index.js +4 -1
  21. package/dist/esm/components/CompletedUser/index.d.ts +1 -0
  22. package/dist/esm/components/CompletedUser/index.js +3 -0
  23. package/dist/esm/components/DataTime/index.d.ts +1 -0
  24. package/dist/esm/components/DataTime/index.js +4 -1
  25. package/dist/esm/components/EItemEnCode/index.d.ts +1 -0
  26. package/dist/esm/components/EItemEnCode/index.js +4 -1
  27. package/dist/esm/components/EItemId/index.d.ts +1 -0
  28. package/dist/esm/components/EItemId/index.js +4 -1
  29. package/dist/esm/components/EItemSelect/index.d.ts +1 -0
  30. package/dist/esm/components/EItemSelect/index.js +4 -1
  31. package/dist/esm/components/ErpTradeId/index.d.ts +1 -0
  32. package/dist/esm/components/ErpTradeId/index.js +4 -1
  33. package/dist/esm/components/Express/index.d.ts +1 -0
  34. package/dist/esm/components/Express/index.js +4 -1
  35. package/dist/esm/components/ExpressCode/index.d.ts +1 -0
  36. package/dist/esm/components/ExpressCode/index.js +4 -1
  37. package/dist/esm/components/FlowStatusSelect/index.d.ts +1 -0
  38. package/dist/esm/components/FlowStatusSelect/index.js +4 -0
  39. package/dist/esm/components/Grade/index.d.ts +1 -0
  40. package/dist/esm/components/Grade/index.js +4 -1
  41. package/dist/esm/components/Handler/index.d.ts +1 -0
  42. package/dist/esm/components/Handler/index.js +3 -0
  43. package/dist/esm/components/Input/index.d.ts +1 -0
  44. package/dist/esm/components/Input/index.js +4 -1
  45. package/dist/esm/components/JstItemSelect/index.d.ts +1 -0
  46. package/dist/esm/components/JstItemSelect/index.js +3 -0
  47. package/dist/esm/components/JstLogistics/index.d.ts +1 -0
  48. package/dist/esm/components/JstLogistics/index.js +3 -0
  49. package/dist/esm/components/JstSendGood/index.d.ts +1 -0
  50. package/dist/esm/components/JstSendGood/index.js +3 -0
  51. package/dist/esm/components/JstSupply/index.d.ts +1 -0
  52. package/dist/esm/components/JstSupply/index.js +3 -0
  53. package/dist/esm/components/Logistics/index.d.ts +4 -0
  54. package/dist/esm/components/Logistics/index.js +6 -0
  55. package/dist/esm/components/LogisticsInterception/InterceptAddress.d.ts +1 -0
  56. package/dist/esm/components/LogisticsInterception/InterceptAddress.js +3 -0
  57. package/dist/esm/components/LogisticsInterception/index.d.ts +2 -1
  58. package/dist/esm/components/LogisticsInterception/index.js +3 -0
  59. package/dist/esm/components/MultSelect/index.d.ts +1 -0
  60. package/dist/esm/components/MultSelect/index.js +4 -1
  61. package/dist/esm/components/Ordinary/OrdinaryHeader.d.ts +1 -0
  62. package/dist/esm/components/Ordinary/OrdinaryHeader.js +4 -1
  63. package/dist/esm/components/Ordinary/OrdinaryMoney.d.ts +1 -0
  64. package/dist/esm/components/Ordinary/OrdinaryMoney.js +4 -1
  65. package/dist/esm/components/Ordinary/OrdinarySerial.d.ts +1 -0
  66. package/dist/esm/components/Ordinary/OrdinarySerial.js +4 -1
  67. package/dist/esm/components/Ordinary/index.d.ts +5 -0
  68. package/dist/esm/components/Ordinary/index.js +7 -0
  69. package/dist/esm/components/Payment/AlipayNick.d.ts +1 -0
  70. package/dist/esm/components/Payment/AlipayNick.js +4 -1
  71. package/dist/esm/components/Payment/AlipayNo.d.ts +1 -0
  72. package/dist/esm/components/Payment/AlipayNo.js +4 -1
  73. package/dist/esm/components/Payment/AlipayTime.d.ts +1 -0
  74. package/dist/esm/components/Payment/AlipayTime.js +4 -1
  75. package/dist/esm/components/Payment/BuyerNick.d.ts +1 -0
  76. package/dist/esm/components/Payment/BuyerNick.js +4 -1
  77. package/dist/esm/components/Payment/PaymentAmount.d.ts +1 -0
  78. package/dist/esm/components/Payment/PaymentAmount.js +4 -1
  79. package/dist/esm/components/Payment/PaymentStatus.d.ts +1 -0
  80. package/dist/esm/components/Payment/PaymentStatus.js +4 -1
  81. package/dist/esm/components/Payment/PaymentTid.d.ts +1 -0
  82. package/dist/esm/components/Payment/PaymentTid.js +4 -1
  83. package/dist/esm/components/Payment/index.d.ts +9 -0
  84. package/dist/esm/components/Payment/index.js +11 -0
  85. package/dist/esm/components/Picture/index.d.ts +1 -0
  86. package/dist/esm/components/Picture/index.js +4 -1
  87. package/dist/esm/components/PlatForm/index.d.ts +1 -0
  88. package/dist/esm/components/PlatForm/index.js +5 -2
  89. package/dist/esm/components/Radio/index.d.ts +4 -0
  90. package/dist/esm/components/Radio/index.js +7 -1
  91. package/dist/esm/components/Rate/index.d.ts +1 -0
  92. package/dist/esm/components/Rate/index.js +4 -1
  93. package/dist/esm/components/ReceiverAddress/index.d.ts +4 -0
  94. package/dist/esm/components/ReceiverAddress/index.js +7 -1
  95. package/dist/esm/components/ReceiverMobile/index.d.ts +1 -0
  96. package/dist/esm/components/ReceiverMobile/index.js +4 -1
  97. package/dist/esm/components/ReceiverName/index.d.ts +1 -0
  98. package/dist/esm/components/ReceiverName/index.js +4 -1
  99. package/dist/esm/components/Remark/index.d.ts +4 -0
  100. package/dist/esm/components/Remark/index.js +7 -1
  101. package/dist/esm/components/ReturnLogistics/index.d.ts +4 -0
  102. package/dist/esm/components/ReturnLogistics/index.js +6 -0
  103. package/dist/esm/components/Select/index.d.ts +1 -0
  104. package/dist/esm/components/Select/index.js +4 -1
  105. package/dist/esm/components/ShopInput/index.d.ts +1 -0
  106. package/dist/esm/components/ShopInput/index.js +3 -0
  107. package/dist/esm/components/ShopName/index.d.ts +1 -0
  108. package/dist/esm/components/ShopName/index.js +4 -1
  109. package/dist/esm/components/Submitter/index.d.ts +1 -0
  110. package/dist/esm/components/Submitter/index.js +3 -0
  111. package/dist/esm/components/SystemOrderNo/index.d.ts +1 -0
  112. package/dist/esm/components/SystemOrderNo/index.js +4 -1
  113. package/dist/esm/components/TemplateSelect/index.d.ts +1 -0
  114. package/dist/esm/components/TemplateSelect/index.js +5 -2
  115. package/dist/esm/components/TextArea/index.d.ts +1 -0
  116. package/dist/esm/components/TextArea/index.js +4 -1
  117. package/dist/esm/components/ThirdItemSelect/index.d.ts +1 -0
  118. package/dist/esm/components/ThirdItemSelect/index.js +4 -1
  119. package/dist/esm/components/TradeDateTime/index.d.ts +1 -0
  120. package/dist/esm/components/TradeDateTime/index.js +5 -1
  121. package/dist/esm/components/TradeId/index.d.ts +1 -0
  122. package/dist/esm/components/TradeId/index.js +4 -1
  123. package/dist/esm/components/WorkOrderId/index.d.ts +1 -0
  124. package/dist/esm/components/WorkOrderId/index.js +5 -2
  125. package/dist/esm/type.d.ts +2 -1
  126. package/package.json +3 -3
@@ -27,6 +27,9 @@ var Handler = /*#__PURE__*/_createClass(function Handler(options) {
27
27
  _defineProperty(this, "renderLog", function (record) {
28
28
  return null;
29
29
  });
30
+ _defineProperty(this, "getComponentValue", function (r) {
31
+ return r === null || r === void 0 ? void 0 : r[_this.id];
32
+ });
30
33
  _defineProperty(this, "renderExport", function (value, record) {
31
34
  var _value$map$join2, _value$map2;
32
35
  return (_value$map$join2 = value === null || value === void 0 ? void 0 : (_value$map2 = value.map(function (item) {
@@ -11,6 +11,7 @@ declare class BasicInput implements ComponentInterface {
11
11
  constructor(options: PickOption);
12
12
  renderPc: (value: any, record: Record) => JSX.Element;
13
13
  renderLog: (r: Record) => JSX.Element | null;
14
+ getComponentValue: (r: Record) => any;
14
15
  renderExport: (value: any, record: Record) => any;
15
16
  render: (value: string | number) => JSX.Element;
16
17
  renderClient: (record: Record) => JSX.Element | null;
@@ -27,9 +27,12 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
27
27
  return /*#__PURE__*/React.createElement("span", null, (_record = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_input")]) !== null && _record !== void 0 ? _record : '--');
28
28
  });
29
29
  _defineProperty(this, "renderLog", function (r) {
30
- if (!(r !== null && r !== void 0 && r["".concat(_this.id, "_input")])) return null;
30
+ if (isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_input")])) return null;
31
31
  return _this.renderPc(undefined, r);
32
32
  });
33
+ _defineProperty(this, "getComponentValue", function (r) {
34
+ return r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_input")];
35
+ });
33
36
  _defineProperty(this, "renderExport", function (value, record) {
34
37
  var _record2;
35
38
  return (_record2 = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_input")]) !== null && _record2 !== void 0 ? _record2 : '--';
@@ -16,6 +16,7 @@ declare class JstItemSelect implements ComponentInterface {
16
16
  renderClient: (record: Record) => JSX.Element | null;
17
17
  renderPc: (value: any, record: Record) => JSX.Element;
18
18
  renderLog: (r: Record) => JSX.Element | null;
19
+ getComponentValue: (r: Record) => any;
19
20
  renderExport: (value: any, record: any) => any;
20
21
  editRender: () => JSX.Element;
21
22
  filterConfig: (item: ColumnConfig) => {
@@ -53,6 +53,9 @@ var JstItemSelect = /*#__PURE__*/_createClass(function JstItemSelect(options) {
53
53
  if (isNull(list)) return null;
54
54
  return _this.renderPc(undefined, r);
55
55
  });
56
+ _defineProperty(this, "getComponentValue", function (r) {
57
+ return r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_jstItemList")];
58
+ });
56
59
  _defineProperty(this, "renderExport", function (value, record) {
57
60
  var list = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_jstItemList")];
58
61
  return (list || []).map(function (item) {
@@ -16,6 +16,7 @@ declare class JstLogistics implements ComponentInterface {
16
16
  renderClient: (record: any) => JSX.Element | null;
17
17
  renderPc: (value: any, record: Record) => JSX.Element;
18
18
  renderLog: (r: Record) => JSX.Element | null;
19
+ getComponentValue: (r: Record) => any;
19
20
  renderExport: (value: any, record: any) => any;
20
21
  editRender: () => JSX.Element;
21
22
  filterConfig: (item: ColumnConfig) => ({
@@ -53,6 +53,9 @@ var JstLogistics = /*#__PURE__*/_createClass(function JstLogistics(options) {
53
53
  if (isNull(list)) return null;
54
54
  return _this.renderPc(undefined, r);
55
55
  });
56
+ _defineProperty(this, "getComponentValue", function (r) {
57
+ return r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_jstItemList")];
58
+ });
56
59
  _defineProperty(this, "renderExport", function (value, record) {
57
60
  var list = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_jstItemList")];
58
61
  return (list || []).map(function (item) {
@@ -14,6 +14,7 @@ declare class JstSendGood implements ComponentInterface {
14
14
  renderClient: (record: Record) => JSX.Element | null;
15
15
  renderPc: (value: any, record: Record) => JSX.Element;
16
16
  renderLog: (r: Record) => JSX.Element | null;
17
+ getComponentValue: (r: Record) => any;
17
18
  renderExport: (value: any, record: any) => any;
18
19
  editRender: () => JSX.Element;
19
20
  filterConfig: (item: ColumnConfig) => {
@@ -51,6 +51,9 @@ var JstSendGood = /*#__PURE__*/_createClass(function JstSendGood(options) {
51
51
  if (isNull(list)) return null;
52
52
  return _this.renderPc(undefined, r);
53
53
  });
54
+ _defineProperty(this, "getComponentValue", function (r) {
55
+ return r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_jstItemList")];
56
+ });
54
57
  _defineProperty(this, "renderExport", function (value, record) {
55
58
  var list = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_jstItemList")];
56
59
  return (list || []).map(function (item) {
@@ -14,6 +14,7 @@ declare class JstSupply implements ComponentInterface {
14
14
  renderClient: (record: Record) => JSX.Element | null;
15
15
  renderPc: (value: any, record: Record) => JSX.Element;
16
16
  renderLog: (r: Record) => JSX.Element | null;
17
+ getComponentValue: (r: Record) => any;
17
18
  renderExport: (value: any, record: any) => any;
18
19
  editRender: () => JSX.Element;
19
20
  filterConfig: (item: ColumnConfig) => {
@@ -51,6 +51,9 @@ var JstSupply = /*#__PURE__*/_createClass(function JstSupply(options) {
51
51
  if (isNull(list)) return null;
52
52
  return _this.renderPc(undefined, r);
53
53
  });
54
+ _defineProperty(this, "getComponentValue", function (r) {
55
+ return r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_jstItemList")];
56
+ });
54
57
  _defineProperty(this, "renderExport", function (value, record) {
55
58
  var list = (record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_jstItemList")]) || [];
56
59
  return list.map(function (item) {
@@ -20,6 +20,10 @@ declare class Logistics implements ComponentInterface {
20
20
  renderClient: (record: Record) => JSX.Element;
21
21
  renderPc: () => null;
22
22
  renderLog: (r: Record) => JSX.Element;
23
+ getComponentValue: (r: Record) => {
24
+ company: any;
25
+ order: any;
26
+ };
23
27
  renderExport: () => null;
24
28
  filterConfig: (item: ColumnConfig) => ({
25
29
  id: string;
@@ -53,6 +53,12 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
53
53
  _defineProperty(this, "renderLog", function (r) {
54
54
  return /*#__PURE__*/React.createElement(React.Fragment, null, _this.express.renderLog(r), _this.expressCode.renderLog(r));
55
55
  });
56
+ _defineProperty(this, "getComponentValue", function (r) {
57
+ return {
58
+ company: _this.express.getComponentValue(r),
59
+ order: _this.expressCode.getComponentValue(r)
60
+ };
61
+ });
56
62
  _defineProperty(this, "renderExport", function () {
57
63
  return null;
58
64
  });
@@ -19,6 +19,7 @@ declare class PaymentTid implements ComponentInterface {
19
19
  renderClient: (record: any) => JSX.Element | null;
20
20
  renderPc: (value: any, record: Record) => JSX.Element;
21
21
  renderLog: (r: Record) => null;
22
+ getComponentValue: (r: Record) => {};
22
23
  renderExport: (value: any, record: Record) => any;
23
24
  editRender: () => JSX.Element;
24
25
  filterConfig: (item: ColumnConfig) => never[];
@@ -60,6 +60,9 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
60
60
  _defineProperty(this, "renderLog", function (r) {
61
61
  return null;
62
62
  });
63
+ _defineProperty(this, "getComponentValue", function (r) {
64
+ return {};
65
+ });
63
66
  _defineProperty(this, "renderExport", function (value, record) {
64
67
  return value !== null && value !== void 0 ? value : '--';
65
68
  });
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { ComponentInterface, PickOption, ColumnConfig } from "../../type";
2
+ import { ComponentInterface, PickOption, ColumnConfig, Record } from "../../type";
3
3
  import { ExpressData } from "@kmkf-fe-packages/kmkf-utils";
4
4
  import InterceptAddress from "./InterceptAddress";
5
5
  import Express from "../Express";
@@ -20,6 +20,7 @@ declare class Logistics implements ComponentInterface {
20
20
  render: () => null;
21
21
  renderClient: (record: any) => JSX.Element;
22
22
  renderLog: (record: any) => JSX.Element;
23
+ getComponentValue: (r: Record) => {};
23
24
  renderPc: () => null;
24
25
  renderExport: () => null;
25
26
  editRender: (value: any) => JSX.Element;
@@ -38,6 +38,9 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
38
38
  _defineProperty(this, "renderLog", function (record) {
39
39
  return /*#__PURE__*/React.createElement(React.Fragment, null, _this.express.renderLog(record), _this.expressCode.renderLog(record), _this.interceptAddress.renderLog(record));
40
40
  });
41
+ _defineProperty(this, "getComponentValue", function (r) {
42
+ return {};
43
+ });
41
44
  _defineProperty(this, "renderPc", function () {
42
45
  return null;
43
46
  });
@@ -14,6 +14,7 @@ declare class BasicMultSelect implements ComponentInterface {
14
14
  renderClient: (record: any) => JSX.Element | null;
15
15
  renderPc: (value: any, record: Record) => JSX.Element;
16
16
  renderLog: (r: Record) => JSX.Element | null;
17
+ getComponentValue: (r: Record) => any;
17
18
  renderExport: (value: any, record: Record) => any;
18
19
  editRender: () => JSX.Element;
19
20
  filterConfig: (item: ColumnConfig) => {
@@ -40,9 +40,12 @@ var BasicMultSelect = /*#__PURE__*/_createClass(function BasicMultSelect(options
40
40
  return /*#__PURE__*/React.createElement("span", null, record === null || record === void 0 ? void 0 : (_record = record["".concat(_this.id, "_basicMultSelect")]) === null || _record === void 0 ? void 0 : _record.join(','));
41
41
  });
42
42
  _defineProperty(this, "renderLog", function (r) {
43
- if (!(r !== null && r !== void 0 && r["".concat(_this.id, "_basicMultSelect")])) return null;
43
+ if (isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_basicMultSelect")])) return null;
44
44
  return _this.renderPc(undefined, r);
45
45
  });
46
+ _defineProperty(this, "getComponentValue", function (r) {
47
+ return r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_basicMultSelect")];
48
+ });
46
49
  _defineProperty(this, "renderExport", function (value, record) {
47
50
  var _record2;
48
51
  if ((record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_basicMultSelect")]) === undefined) {
@@ -16,6 +16,7 @@ declare class OrdinaryHeader implements ComponentInterface {
16
16
  renderClient: (record: any) => JSX.Element | null;
17
17
  renderPc: (value: unknown, r: Record) => any;
18
18
  renderLog: (r: Record) => any;
19
+ getComponentValue: (r: Record) => any;
19
20
  renderExport: (value: any) => any;
20
21
  editRender: () => JSX.Element;
21
22
  filterConfig: (item: ColumnConfig) => {
@@ -39,9 +39,12 @@ var OrdinaryHeader = /*#__PURE__*/_createClass(function OrdinaryHeader(options)
39
39
  return (_r = r === null || r === void 0 ? void 0 : r["".concat(_this.id)]) !== null && _r !== void 0 ? _r : '--';
40
40
  });
41
41
  _defineProperty(this, "renderLog", function (r) {
42
- if (!(r !== null && r !== void 0 && r["".concat(_this.id)])) return null;
42
+ if (isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id)])) return null;
43
43
  return _this.renderPc(undefined, r);
44
44
  });
45
+ _defineProperty(this, "getComponentValue", function (r) {
46
+ return r === null || r === void 0 ? void 0 : r["".concat(_this.id)];
47
+ });
45
48
  _defineProperty(this, "renderExport", function (value) {
46
49
  return value !== null && value !== void 0 ? value : '--';
47
50
  });
@@ -15,6 +15,7 @@ declare class OrdinaryMoney implements ComponentInterface {
15
15
  render: (value: string) => JSX.Element;
16
16
  renderPc: (value: unknown, r: Record) => any;
17
17
  renderLog: (r: Record) => any;
18
+ getComponentValue: (r: Record) => any;
18
19
  renderExport: (value: any) => any;
19
20
  renderClient: (record: any) => JSX.Element | null;
20
21
  editRender: () => JSX.Element;
@@ -31,9 +31,12 @@ var OrdinaryMoney = /*#__PURE__*/_createClass(function OrdinaryMoney(options) {
31
31
  return (_r = r === null || r === void 0 ? void 0 : r["".concat(_this.id)]) !== null && _r !== void 0 ? _r : '--';
32
32
  });
33
33
  _defineProperty(this, "renderLog", function (r) {
34
- if (!(r !== null && r !== void 0 && r["".concat(_this.id)])) return null;
34
+ if (isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id)])) return null;
35
35
  return _this.renderPc(undefined, r);
36
36
  });
37
+ _defineProperty(this, "getComponentValue", function (r) {
38
+ return r === null || r === void 0 ? void 0 : r["".concat(_this.id)];
39
+ });
37
40
  _defineProperty(this, "renderExport", function (value) {
38
41
  return value !== null && value !== void 0 ? value : '--';
39
42
  });
@@ -21,6 +21,7 @@ declare class OrdinarySerial implements ComponentInterface {
21
21
  renderClient: (record: any) => JSX.Element | null;
22
22
  renderPc: (value: unknown, r: Record) => any;
23
23
  renderLog: (r: Record) => any;
24
+ getComponentValue: (r: Record) => any;
24
25
  renderExport: (value: any) => any;
25
26
  editRender: () => JSX.Element;
26
27
  filterConfig: (item: ColumnConfig) => {
@@ -43,9 +43,12 @@ var OrdinarySerial = /*#__PURE__*/_createClass(function OrdinarySerial(options)
43
43
  return (_r = r === null || r === void 0 ? void 0 : r["".concat(_this.id)]) !== null && _r !== void 0 ? _r : '--';
44
44
  });
45
45
  _defineProperty(this, "renderLog", function (r) {
46
- if (!(r !== null && r !== void 0 && r["".concat(_this.id)])) return null;
46
+ if (isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id)])) return null;
47
47
  return _this.renderPc(undefined, r);
48
48
  });
49
+ _defineProperty(this, "getComponentValue", function (r) {
50
+ return r === null || r === void 0 ? void 0 : r["".concat(_this.id)];
51
+ });
49
52
  _defineProperty(this, "renderExport", function (value) {
50
53
  return value !== null && value !== void 0 ? value : '--';
51
54
  });
@@ -24,6 +24,11 @@ declare class Ordinary implements ComponentInterface {
24
24
  editRender: (value: any) => JSX.Element;
25
25
  renderPc: () => null;
26
26
  renderLog: (r: Record) => JSX.Element;
27
+ getComponentValue: (r: Record) => {
28
+ ordinaryMoney: any;
29
+ ordinarySerial: any;
30
+ ordinaryTaitou: any;
31
+ };
27
32
  renderExport: () => null;
28
33
  renderClient: (record: any) => JSX.Element;
29
34
  filterConfig: (item: ColumnConfig) => {
@@ -51,6 +51,13 @@ var Ordinary = /*#__PURE__*/_createClass(function Ordinary(options) {
51
51
  _defineProperty(this, "renderLog", function (r) {
52
52
  return /*#__PURE__*/React.createElement(React.Fragment, null, _this.ordinaryHeader.renderLog(r), _this.ordinaryMoney.renderLog(r), _this.ordinarySerial.renderLog(r));
53
53
  });
54
+ _defineProperty(this, "getComponentValue", function (r) {
55
+ return {
56
+ ordinaryMoney: _this.ordinaryMoney.getComponentValue(r),
57
+ ordinarySerial: _this.ordinarySerial.getComponentValue(r),
58
+ ordinaryTaitou: _this.ordinaryHeader.getComponentValue(r)
59
+ };
60
+ });
54
61
  _defineProperty(this, "renderExport", function () {
55
62
  return null;
56
63
  });
@@ -16,6 +16,7 @@ declare class PaymentTid implements ComponentInterface {
16
16
  renderClient: (record: any) => JSX.Element | null;
17
17
  renderPc: (value: unknown, record: Record) => JSX.Element;
18
18
  renderLog: (r: Record) => JSX.Element | null;
19
+ getComponentValue: (r: Record) => any;
19
20
  renderExport: (value: any, record: Record) => any;
20
21
  editRender: () => JSX.Element;
21
22
  filterConfig: (item: ColumnConfig) => {
@@ -46,9 +46,12 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
46
46
  }, record === null || record === void 0 ? void 0 : record[_this.id]);
47
47
  });
48
48
  _defineProperty(this, "renderLog", function (r) {
49
- if (!(r !== null && r !== void 0 && r["".concat(_this.id)])) return null;
49
+ if (isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id)])) return null;
50
50
  return _this.renderPc(undefined, r);
51
51
  });
52
+ _defineProperty(this, "getComponentValue", function (r) {
53
+ return r === null || r === void 0 ? void 0 : r["".concat(_this.id)];
54
+ });
52
55
  _defineProperty(this, "renderExport", function (value, record) {
53
56
  return value !== null && value !== void 0 ? value : '--';
54
57
  });
@@ -16,6 +16,7 @@ declare class AlipayNo implements ComponentInterface {
16
16
  renderClient: (record: any) => JSX.Element | null;
17
17
  renderPc: (value: unknown, record: any) => JSX.Element;
18
18
  renderLog: (r: Record) => JSX.Element | null;
19
+ getComponentValue: (r: Record) => any;
19
20
  renderExport: (value: any, record: Record) => any;
20
21
  editRender: () => JSX.Element;
21
22
  filterConfig: (item: ColumnConfig) => {
@@ -46,9 +46,12 @@ var AlipayNo = /*#__PURE__*/_createClass(function AlipayNo(options) {
46
46
  }, record === null || record === void 0 ? void 0 : record[_this.id]);
47
47
  });
48
48
  _defineProperty(this, "renderLog", function (r) {
49
- if (!(r !== null && r !== void 0 && r["".concat(_this.id)])) return null;
49
+ if (isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id)])) return null;
50
50
  return _this.renderPc(undefined, r);
51
51
  });
52
+ _defineProperty(this, "getComponentValue", function (r) {
53
+ return r === null || r === void 0 ? void 0 : r["".concat(_this.id)];
54
+ });
52
55
  _defineProperty(this, "renderExport", function (value, record) {
53
56
  return value !== null && value !== void 0 ? value : '--';
54
57
  });
@@ -15,6 +15,7 @@ declare class AlipayTime implements ComponentInterface {
15
15
  renderClient: (record: Record) => JSX.Element | null;
16
16
  renderPc: (value: unknown, record: Record) => JSX.Element;
17
17
  renderLog: (r: Record) => JSX.Element | null;
18
+ getComponentValue: (r: Record) => any;
18
19
  renderExport: (value: string) => string | null;
19
20
  editRender: () => JSX.Element;
20
21
  filterConfig: (item: ColumnConfig) => {
@@ -44,9 +44,12 @@ var AlipayTime = /*#__PURE__*/_createClass(function AlipayTime(options) {
44
44
  }, record !== null && record !== void 0 && record[_this.id] ? moment(+(record === null || record === void 0 ? void 0 : record[_this.id])).format('YYYY-MM-DD HH:mm:ss') : '--');
45
45
  });
46
46
  _defineProperty(this, "renderLog", function (r) {
47
- if (!(r !== null && r !== void 0 && r["".concat(_this.id)])) return null;
47
+ if (isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id)])) return null;
48
48
  return _this.renderPc(undefined, r);
49
49
  });
50
+ _defineProperty(this, "getComponentValue", function (r) {
51
+ return r === null || r === void 0 ? void 0 : r["".concat(_this.id)];
52
+ });
50
53
  _defineProperty(this, "renderExport", function (value) {
51
54
  return value ? moment(+value).format('YYYY-MM-DD HH:mm:ss') : null;
52
55
  });
@@ -17,6 +17,7 @@ declare class BuyerNick implements ComponentInterface {
17
17
  editRender: () => JSX.Element;
18
18
  renderPc: (value: unknown, record: Record) => JSX.Element;
19
19
  renderLog: (r: Record) => JSX.Element | null;
20
+ getComponentValue: (r: Record) => any;
20
21
  renderExport: (value: string) => string;
21
22
  filterConfig: (item: ColumnConfig) => {
22
23
  id: string;
@@ -73,9 +73,12 @@ var BuyerNick = /*#__PURE__*/_createClass(function BuyerNick(options) {
73
73
  }));
74
74
  });
75
75
  _defineProperty(this, "renderLog", function (r) {
76
- if (!(r !== null && r !== void 0 && r["".concat(_this.id)])) return null;
76
+ if (isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id)])) return null;
77
77
  return _this.renderPc(undefined, r);
78
78
  });
79
+ _defineProperty(this, "getComponentValue", function (r) {
80
+ return r === null || r === void 0 ? void 0 : r["".concat(_this.id)];
81
+ });
79
82
  _defineProperty(this, "renderExport", function (value) {
80
83
  return value !== null && value !== void 0 ? value : '--';
81
84
  });
@@ -15,6 +15,7 @@ declare class PaymentAmount implements ComponentInterface {
15
15
  renderClient: (record: Record) => JSX.Element | null;
16
16
  renderPc: (value: unknown, record: Record) => JSX.Element;
17
17
  renderLog: (r: Record) => JSX.Element | null;
18
+ getComponentValue: (r: Record) => any;
18
19
  renderExport: (value: string) => string;
19
20
  editRender: () => JSX.Element;
20
21
  filterConfig: (item: ColumnConfig) => {
@@ -37,9 +37,12 @@ var PaymentAmount = /*#__PURE__*/_createClass(function PaymentAmount(options) {
37
37
  return /*#__PURE__*/React.createElement("span", null, (_record$_this$id = record === null || record === void 0 ? void 0 : record[_this.id]) !== null && _record$_this$id !== void 0 ? _record$_this$id : '--');
38
38
  });
39
39
  _defineProperty(this, "renderLog", function (r) {
40
- if (!(r !== null && r !== void 0 && r["".concat(_this.id)])) return null;
40
+ if (isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id)])) return null;
41
41
  return _this.renderPc(undefined, r);
42
42
  });
43
+ _defineProperty(this, "getComponentValue", function (r) {
44
+ return r === null || r === void 0 ? void 0 : r["".concat(_this.id)];
45
+ });
43
46
  _defineProperty(this, "renderExport", function (value) {
44
47
  return value !== null && value !== void 0 ? value : '--';
45
48
  });
@@ -22,6 +22,7 @@ declare class PaymentStatus implements ComponentInterface {
22
22
  renderClient: (record: any) => JSX.Element | null;
23
23
  renderPc: (value: unknown, record: any) => any;
24
24
  renderLog: (r: Record) => any;
25
+ getComponentValue: (r: Record) => any;
25
26
  renderExport: (value: any) => any;
26
27
  editRender: (value: any) => null;
27
28
  filterConfig: (item: ColumnConfig) => {
@@ -37,9 +37,12 @@ var PaymentStatus = /*#__PURE__*/_createClass(function PaymentStatus(options) {
37
37
  return (_record$_this$id = record === null || record === void 0 ? void 0 : record[_this.id]) !== null && _record$_this$id !== void 0 ? _record$_this$id : '--';
38
38
  });
39
39
  _defineProperty(this, "renderLog", function (r) {
40
- if (!(r !== null && r !== void 0 && r["".concat(_this.id)])) return null;
40
+ if (isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id)])) return null;
41
41
  return _this.renderPc(undefined, r);
42
42
  });
43
+ _defineProperty(this, "getComponentValue", function (r) {
44
+ return r === null || r === void 0 ? void 0 : r["".concat(_this.id)];
45
+ });
43
46
  _defineProperty(this, "renderExport", function (value) {
44
47
  return value !== null && value !== void 0 ? value : '--';
45
48
  });
@@ -15,6 +15,7 @@ declare class PaymentTid implements ComponentInterface {
15
15
  renderClient: (record: any) => JSX.Element | null;
16
16
  renderPc: (value: unknown, record: any) => JSX.Element;
17
17
  renderLog: (r: Record) => JSX.Element | null;
18
+ getComponentValue: (r: Record) => any;
18
19
  renderExport: (value: string) => string;
19
20
  editRender: () => JSX.Element;
20
21
  filterConfig: (item: ColumnConfig) => {
@@ -37,9 +37,12 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
37
37
  return /*#__PURE__*/React.createElement("span", null, (_record$_this$id = record === null || record === void 0 ? void 0 : record[_this.id]) !== null && _record$_this$id !== void 0 ? _record$_this$id : '--');
38
38
  });
39
39
  _defineProperty(this, "renderLog", function (r) {
40
- if (!(r !== null && r !== void 0 && r["".concat(_this.id)])) return null;
40
+ if (isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id)])) return null;
41
41
  return _this.renderPc(undefined, r);
42
42
  });
43
+ _defineProperty(this, "getComponentValue", function (r) {
44
+ return r === null || r === void 0 ? void 0 : r["".concat(_this.id)];
45
+ });
43
46
  _defineProperty(this, "renderExport", function (value) {
44
47
  return value !== null && value !== void 0 ? value : '--';
45
48
  });
@@ -27,6 +27,15 @@ declare class Logistics implements ComponentInterface {
27
27
  renderClient: (record: any) => JSX.Element;
28
28
  renderPc: () => null;
29
29
  renderLog: (record: Record) => JSX.Element;
30
+ getComponentValue: (r: Record) => {
31
+ enterprisePaymentAlipayNick: any;
32
+ enterprisePaymentAlipayNo: any;
33
+ enterprisePaymentBuyerNick: any;
34
+ enterprisePaymentRefundFee: any;
35
+ enterprisePaymentStatus: any;
36
+ enterprisePaymentTid: any;
37
+ enterprisePaymentTime: any;
38
+ };
30
39
  renderExport: () => null;
31
40
  editRender: (value: any) => JSX.Element;
32
41
  filterConfig: (item: ColumnConfig) => ({
@@ -47,6 +47,17 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
47
47
  _defineProperty(this, "renderLog", function (record) {
48
48
  return /*#__PURE__*/React.createElement(React.Fragment, null, _this.alipayNick.renderLog(record), _this.paymentAmount.renderLog(record), _this.alipayNo.renderLog(record), _this.buyerNick.renderLog(record), _this.paymentTid.renderLog(record), _this.paymentStatus.renderLog(record), _this.payTime.renderLog(record));
49
49
  });
50
+ _defineProperty(this, "getComponentValue", function (r) {
51
+ return {
52
+ enterprisePaymentAlipayNick: _this.alipayNick.getComponentValue(r),
53
+ enterprisePaymentAlipayNo: _this.alipayNo.getComponentValue(r),
54
+ enterprisePaymentBuyerNick: _this.buyerNick.getComponentValue(r),
55
+ enterprisePaymentRefundFee: _this.paymentAmount.getComponentValue(r),
56
+ enterprisePaymentStatus: _this.paymentStatus.getComponentValue(r),
57
+ enterprisePaymentTid: _this.paymentTid.getComponentValue(r),
58
+ enterprisePaymentTime: _this.payTime.getComponentValue(r)
59
+ };
60
+ });
50
61
  _defineProperty(this, "renderExport", function () {
51
62
  return null;
52
63
  });
@@ -14,6 +14,7 @@ declare class BasicPicture implements ComponentInterface {
14
14
  render: (value: Value) => JSX.Element | null;
15
15
  renderPc: (value: any, record: Record) => JSX.Element | JSX.Element[];
16
16
  renderLog: (r: Record) => JSX.Element | JSX.Element[] | null;
17
+ getComponentValue: (r: Record) => any;
17
18
  renderClient: (record: any) => JSX.Element | null;
18
19
  editRender: (value: any) => JSX.Element;
19
20
  /**
@@ -70,9 +70,12 @@ var BasicPicture = /*#__PURE__*/_createClass(function BasicPicture(options) {
70
70
  });
71
71
  });
72
72
  _defineProperty(this, "renderLog", function (r) {
73
- if (!(r !== null && r !== void 0 && r["".concat(_this.id, "_picture")])) return null;
73
+ if (isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_picture")])) return null;
74
74
  return _this.renderPc(undefined, r);
75
75
  });
76
+ _defineProperty(this, "getComponentValue", function (r) {
77
+ return r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_picture")];
78
+ });
76
79
  _defineProperty(this, "renderClient", function (record) {
77
80
  return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
78
81
  id: _this.id,
@@ -13,6 +13,7 @@ declare class PlatForm implements ComponentInterface {
13
13
  renderPc: (value: any, record: Record) => JSX.Element;
14
14
  renderExport: (value: any, record: Record) => string;
15
15
  renderLog: (r: Record) => JSX.Element | null;
16
+ getComponentValue: (r: Record) => any;
16
17
  render: () => null;
17
18
  renderClient: () => null;
18
19
  editRender: () => null;
@@ -6,7 +6,7 @@ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key i
6
6
  function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
7
7
  function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
8
8
  import React from 'react';
9
- import { PlatData, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
9
+ import { PlatData, filterFn as _filterFn, isNull } from '@kmkf-fe-packages/kmkf-utils';
10
10
  var PlatForm = /*#__PURE__*/_createClass(function PlatForm() {
11
11
  var _this = this;
12
12
  _classCallCheck(this, PlatForm);
@@ -28,9 +28,12 @@ var PlatForm = /*#__PURE__*/_createClass(function PlatForm() {
28
28
  return (_platMap$record2 = platMap === null || platMap === void 0 ? void 0 : platMap[record === null || record === void 0 ? void 0 : record["".concat(_this.id)]]) !== null && _platMap$record2 !== void 0 ? _platMap$record2 : '--';
29
29
  });
30
30
  _defineProperty(this, "renderLog", function (r) {
31
- if (!(r !== null && r !== void 0 && r[_this.id])) return null;
31
+ if (isNull(r === null || r === void 0 ? void 0 : r[_this.id])) return null;
32
32
  return _this.renderPc(undefined, r);
33
33
  });
34
+ _defineProperty(this, "getComponentValue", function (r) {
35
+ return r === null || r === void 0 ? void 0 : r[_this.id];
36
+ });
34
37
  _defineProperty(this, "render", function () {
35
38
  return null;
36
39
  });
@@ -16,6 +16,10 @@ declare class BasicRadio implements ComponentInterface {
16
16
  render: (value: Value) => JSX.Element;
17
17
  renderPc: (value: any, record: Record) => JSX.Element;
18
18
  renderLog: (r: Record) => JSX.Element | null;
19
+ getComponentValue: (r: Record) => {
20
+ value: any;
21
+ other: any;
22
+ };
19
23
  renderExport: (value: any, record: Record) => string;
20
24
  renderClient: (record: Record) => JSX.Element | null;
21
25
  editRender: () => JSX.Element;
@@ -33,9 +33,15 @@ var BasicRadio = /*#__PURE__*/_createClass(function BasicRadio(options) {
33
33
  return /*#__PURE__*/React.createElement("span", null, record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_radio")], record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_radioOther")]);
34
34
  });
35
35
  _defineProperty(this, "renderLog", function (r) {
36
- if (!(r !== null && r !== void 0 && r["".concat(_this.id, "_radio")]) && !(r !== null && r !== void 0 && r["".concat(_this.id, "_radioOther")])) return null;
36
+ if (isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_radio")]) && isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_radioOther")])) return null;
37
37
  return _this.renderPc(undefined, r);
38
38
  });
39
+ _defineProperty(this, "getComponentValue", function (r) {
40
+ return {
41
+ value: r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_radio")],
42
+ other: r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_radioOther")]
43
+ };
44
+ });
39
45
  _defineProperty(this, "renderExport", function (value, record) {
40
46
  if ((record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_radio")]) === undefined) {
41
47
  return '--';