@kmkf-fe-packages/services-components 0.6.3-alpha.16 → 0.6.3-alpha.21

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 (118) hide show
  1. package/dist/esm/components/ActualPayment/index.d.ts +0 -1
  2. package/dist/esm/components/ActualPayment/index.js +0 -3
  3. package/dist/esm/components/Address/index.d.ts +0 -1
  4. package/dist/esm/components/Address/index.js +0 -3
  5. package/dist/esm/components/Alipay/index.d.ts +0 -1
  6. package/dist/esm/components/Alipay/index.js +0 -3
  7. package/dist/esm/components/AlipayAccount/index.d.ts +0 -1
  8. package/dist/esm/components/AlipayAccount/index.js +0 -3
  9. package/dist/esm/components/AlipayName/index.d.ts +0 -1
  10. package/dist/esm/components/AlipayName/index.js +0 -3
  11. package/dist/esm/components/BuyerNick/index.d.ts +0 -4
  12. package/dist/esm/components/BuyerNick/index.js +0 -3
  13. package/dist/esm/components/Cascader/index.d.ts +0 -1
  14. package/dist/esm/components/Cascader/index.js +0 -3
  15. package/dist/esm/components/Checkbox/index.d.ts +0 -1
  16. package/dist/esm/components/Checkbox/index.js +7 -14
  17. package/dist/esm/components/CommonDataTime/index.d.ts +0 -1
  18. package/dist/esm/components/CommonDataTime/index.js +0 -4
  19. package/dist/esm/components/CompletedUser/index.d.ts +0 -1
  20. package/dist/esm/components/CompletedUser/index.js +0 -3
  21. package/dist/esm/components/DataTime/index.d.ts +0 -1
  22. package/dist/esm/components/DataTime/index.js +0 -3
  23. package/dist/esm/components/EItemEnCode/index.d.ts +0 -1
  24. package/dist/esm/components/EItemEnCode/index.js +4 -7
  25. package/dist/esm/components/EItemId/index.d.ts +0 -1
  26. package/dist/esm/components/EItemId/index.js +4 -7
  27. package/dist/esm/components/EItemSelect/index.d.ts +0 -1
  28. package/dist/esm/components/EItemSelect/index.js +3 -6
  29. package/dist/esm/components/ErpTradeId/index.d.ts +0 -1
  30. package/dist/esm/components/ErpTradeId/index.js +1 -4
  31. package/dist/esm/components/Express/index.d.ts +0 -1
  32. package/dist/esm/components/Express/index.js +1 -4
  33. package/dist/esm/components/ExpressCode/index.d.ts +0 -1
  34. package/dist/esm/components/ExpressCode/index.js +0 -3
  35. package/dist/esm/components/FlowStatusSelect/index.d.ts +0 -1
  36. package/dist/esm/components/FlowStatusSelect/index.js +0 -3
  37. package/dist/esm/components/Grade/index.d.ts +0 -1
  38. package/dist/esm/components/Grade/index.js +1 -4
  39. package/dist/esm/components/Handler/index.d.ts +0 -1
  40. package/dist/esm/components/Handler/index.js +0 -3
  41. package/dist/esm/components/Input/index.d.ts +0 -1
  42. package/dist/esm/components/Input/index.js +1 -4
  43. package/dist/esm/components/JstItemSelect/index.d.ts +0 -1
  44. package/dist/esm/components/JstItemSelect/index.js +4 -8
  45. package/dist/esm/components/JstLogistics/index.d.ts +0 -1
  46. package/dist/esm/components/JstLogistics/index.js +9 -9
  47. package/dist/esm/components/JstSendGood/index.d.ts +0 -1
  48. package/dist/esm/components/JstSendGood/index.js +9 -9
  49. package/dist/esm/components/JstSupply/index.d.ts +0 -1
  50. package/dist/esm/components/JstSupply/index.js +9 -9
  51. package/dist/esm/components/Logistics/index.d.ts +0 -1
  52. package/dist/esm/components/Logistics/index.js +0 -3
  53. package/dist/esm/components/LogisticsInterception/InterceptAddress.d.ts +10 -4
  54. package/dist/esm/components/LogisticsInterception/InterceptAddress.js +38 -27
  55. package/dist/esm/components/LogisticsInterception/InterceptStatus.d.ts +8 -3
  56. package/dist/esm/components/LogisticsInterception/InterceptStatus.js +23 -13
  57. package/dist/esm/components/LogisticsInterception/InterceptType.d.ts +8 -3
  58. package/dist/esm/components/LogisticsInterception/InterceptType.js +23 -13
  59. package/dist/esm/components/LogisticsInterception/index.d.ts +28 -5
  60. package/dist/esm/components/LogisticsInterception/index.js +15 -8
  61. package/dist/esm/components/MultSelect/index.d.ts +0 -2
  62. package/dist/esm/components/MultSelect/index.js +2 -4
  63. package/dist/esm/components/Ordinary/OrdinaryHeader.d.ts +0 -1
  64. package/dist/esm/components/Ordinary/OrdinaryHeader.js +1 -4
  65. package/dist/esm/components/Ordinary/OrdinaryMoney.d.ts +0 -1
  66. package/dist/esm/components/Ordinary/OrdinaryMoney.js +1 -4
  67. package/dist/esm/components/Ordinary/OrdinarySerial.d.ts +0 -1
  68. package/dist/esm/components/Ordinary/OrdinarySerial.js +1 -4
  69. package/dist/esm/components/Ordinary/index.d.ts +0 -1
  70. package/dist/esm/components/Ordinary/index.js +0 -3
  71. package/dist/esm/components/Payment/AlipayNick.d.ts +0 -1
  72. package/dist/esm/components/Payment/AlipayNick.js +0 -3
  73. package/dist/esm/components/Payment/AlipayNo.d.ts +0 -1
  74. package/dist/esm/components/Payment/AlipayNo.js +0 -3
  75. package/dist/esm/components/Payment/AlipayTime.d.ts +0 -1
  76. package/dist/esm/components/Payment/AlipayTime.js +1 -6
  77. package/dist/esm/components/Payment/BuyerNick.d.ts +0 -1
  78. package/dist/esm/components/Payment/BuyerNick.js +0 -3
  79. package/dist/esm/components/Payment/PaymentAmount.d.ts +0 -1
  80. package/dist/esm/components/Payment/PaymentAmount.js +0 -3
  81. package/dist/esm/components/Payment/PaymentStatus.d.ts +0 -1
  82. package/dist/esm/components/Payment/PaymentStatus.js +0 -3
  83. package/dist/esm/components/Payment/PaymentTid.d.ts +0 -1
  84. package/dist/esm/components/Payment/PaymentTid.js +0 -3
  85. package/dist/esm/components/Payment/index.d.ts +0 -1
  86. package/dist/esm/components/Payment/index.js +0 -3
  87. package/dist/esm/components/PlatForm/index.d.ts +0 -1
  88. package/dist/esm/components/PlatForm/index.js +0 -3
  89. package/dist/esm/components/ReceiverAddress/index.d.ts +1 -1
  90. package/dist/esm/components/ReceiverAddress/index.js +2 -2
  91. package/dist/esm/components/ReceiverMobile/index.d.ts +0 -1
  92. package/dist/esm/components/ReceiverMobile/index.js +1 -4
  93. package/dist/esm/components/ReceiverName/index.d.ts +0 -1
  94. package/dist/esm/components/ReceiverName/index.js +1 -4
  95. package/dist/esm/components/ReturnLogistics/index.d.ts +0 -1
  96. package/dist/esm/components/ReturnLogistics/index.js +0 -3
  97. package/dist/esm/components/Select/index.d.ts +0 -1
  98. package/dist/esm/components/Select/index.js +0 -3
  99. package/dist/esm/components/ShopInput/index.d.ts +0 -1
  100. package/dist/esm/components/ShopInput/index.js +0 -3
  101. package/dist/esm/components/ShopName/index.d.ts +0 -1
  102. package/dist/esm/components/ShopName/index.js +1 -4
  103. package/dist/esm/components/Submitter/index.d.ts +1 -2
  104. package/dist/esm/components/Submitter/index.js +1 -4
  105. package/dist/esm/components/SystemOrderNo/index.d.ts +0 -1
  106. package/dist/esm/components/SystemOrderNo/index.js +0 -3
  107. package/dist/esm/components/TemplateSelect/index.d.ts +1 -2
  108. package/dist/esm/components/TemplateSelect/index.js +1 -4
  109. package/dist/esm/components/TextArea/index.d.ts +0 -1
  110. package/dist/esm/components/TextArea/index.js +1 -4
  111. package/dist/esm/components/ThirdItemSelect/index.d.ts +0 -1
  112. package/dist/esm/components/ThirdItemSelect/index.js +4 -8
  113. package/dist/esm/components/TradeId/index.d.ts +0 -1
  114. package/dist/esm/components/TradeId/index.js +1 -4
  115. package/dist/esm/components/WorkOrderId/index.d.ts +0 -1
  116. package/dist/esm/components/WorkOrderId/index.js +0 -3
  117. package/dist/esm/type.d.ts +3 -4
  118. package/package.json +4 -4
@@ -7,6 +7,7 @@ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key i
7
7
  function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
8
8
  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); }
9
9
  import React from 'react';
10
+ import some from 'lodash/some';
10
11
  import GetFormItem from "../GetFormItem";
11
12
  import { JstGoodImage } from "../Common";
12
13
  import { JstGoods } from '@kmkf-fe-packages/basic-components';
@@ -24,18 +25,17 @@ var JstSendGood = /*#__PURE__*/_createClass(function JstSendGood(options) {
24
25
  _defineProperty(this, "align", void 0);
25
26
  _defineProperty(this, "isCombinationComponent", void 0);
26
27
  _defineProperty(this, "children", void 0);
27
- _defineProperty(this, "render", function (value) {
28
- //兼容多个商品
29
- return /*#__PURE__*/React.createElement(JstGoodImage, {
30
- list: value,
31
- type: 3
32
- });
33
- });
34
28
  _defineProperty(this, "renderClient", function (record) {
35
- return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
29
+ var isShow = Array.isArray(record === null || record === void 0 ? void 0 : record[_this.id]) ? some(record === null || record === void 0 ? void 0 : record[_this.id], function (item) {
30
+ return !isNull(item);
31
+ }) : false;
32
+ return isShow ? /*#__PURE__*/React.createElement(ItemView, {
36
33
  id: _this.id,
37
34
  label: _this.name,
38
- value: _this.render(record === null || record === void 0 ? void 0 : record[_this.id])
35
+ value: /*#__PURE__*/React.createElement(JstGoodImage, {
36
+ list: record === null || record === void 0 ? void 0 : record[_this.id],
37
+ type: 3
38
+ })
39
39
  }) : null;
40
40
  });
41
41
  _defineProperty(this, "renderPc", function (value, record) {
@@ -10,7 +10,6 @@ declare class JstSupply implements ComponentInterface {
10
10
  isCombinationComponent: boolean;
11
11
  children: ComponentInterface[];
12
12
  constructor(options: PickOption);
13
- render: (value: any) => JSX.Element;
14
13
  renderClient: (record: Record) => JSX.Element | null;
15
14
  renderPc: (value: any, record: Record) => JSX.Element;
16
15
  renderLog: (r: Record) => JSX.Element | null;
@@ -7,6 +7,7 @@ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key i
7
7
  function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
8
8
  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); }
9
9
  import React from 'react';
10
+ import some from 'lodash/some';
10
11
  import GetFormItem from "../GetFormItem";
11
12
  import { JstGoodImage } from "../Common";
12
13
  import { JstGoods } from '@kmkf-fe-packages/basic-components';
@@ -24,18 +25,17 @@ var JstSupply = /*#__PURE__*/_createClass(function JstSupply(options) {
24
25
  _defineProperty(this, "align", void 0);
25
26
  _defineProperty(this, "isCombinationComponent", void 0);
26
27
  _defineProperty(this, "children", void 0);
27
- _defineProperty(this, "render", function (value) {
28
- //兼容多个商品
29
- return /*#__PURE__*/React.createElement(JstGoodImage, {
30
- list: value,
31
- type: 2
32
- });
33
- });
34
28
  _defineProperty(this, "renderClient", function (record) {
35
- return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
29
+ var isShow = Array.isArray(record === null || record === void 0 ? void 0 : record[_this.id]) ? some(record === null || record === void 0 ? void 0 : record[_this.id], function (item) {
30
+ return !isNull(item);
31
+ }) : false;
32
+ return isShow ? /*#__PURE__*/React.createElement(ItemView, {
36
33
  id: _this.id,
37
34
  label: _this.name,
38
- value: _this.render(record === null || record === void 0 ? void 0 : record[_this.id])
35
+ value: /*#__PURE__*/React.createElement(JstGoodImage, {
36
+ list: record === null || record === void 0 ? void 0 : record[_this.id],
37
+ type: 2
38
+ })
39
39
  }) : null;
40
40
  });
41
41
  _defineProperty(this, "renderPc", function (value, record) {
@@ -15,7 +15,6 @@ declare class Logistics implements ComponentInterface {
15
15
  isCombinationComponent: boolean;
16
16
  children: ComponentInterface[];
17
17
  constructor(options: PickOption);
18
- render: () => null;
19
18
  editRender: (value: any) => JSX.Element;
20
19
  renderClient: (record: Record) => JSX.Element;
21
20
  renderPc: () => null;
@@ -28,9 +28,6 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
28
28
  _defineProperty(this, "expressCode", void 0);
29
29
  _defineProperty(this, "isCombinationComponent", void 0);
30
30
  _defineProperty(this, "children", void 0);
31
- _defineProperty(this, "render", function () {
32
- return null;
33
- });
34
31
  _defineProperty(this, "editRender", function (value) {
35
32
  var _this$componentConfig, _this$componentConfig2;
36
33
  return /*#__PURE__*/React.createElement(GetFormItem, {
@@ -13,14 +13,20 @@ declare class PaymentTid implements ComponentInterface {
13
13
  isCombinationComponent: boolean;
14
14
  children: ComponentInterface[];
15
15
  originId: string;
16
- addressDateInstance: typeof AddressData;
16
+ addressDateInstance: AddressData;
17
17
  constructor(options: PickOption);
18
- render: (value: any, record: any) => JSX.Element | null;
19
18
  renderClient: (record: any) => JSX.Element | null;
20
19
  renderPc: (value: any, record: Record) => JSX.Element;
21
20
  renderLog: (r: Record) => JSX.Element | null;
22
- getComponentValue: (r: Record) => {};
23
- renderExport: (value: any, record: Record) => null;
21
+ getComponentValue: (r: Record) => {
22
+ province: any;
23
+ city: any;
24
+ district: any;
25
+ detail: any;
26
+ name: any;
27
+ mobile: any;
28
+ };
29
+ renderExport: (value: any, record: Record) => string | null;
24
30
  editRender: () => JSX.Element;
25
31
  filterConfig: (item: ColumnConfig) => never[];
26
32
  }
@@ -26,29 +26,15 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
26
26
  _defineProperty(this, "children", void 0);
27
27
  _defineProperty(this, "originId", void 0);
28
28
  _defineProperty(this, "addressDateInstance", void 0);
29
- _defineProperty(this, "render", function (value, record) {
30
- var _ref;
31
- var province = record["".concat(_this.id, "_interceptProvince")];
32
- var city = record["".concat(_this.id, "_interceptCity")];
33
- var district = record["".concat(_this.id, "_interceptDistrict")];
34
- var detail = record["".concat(_this.id, "_interceptDetail")];
35
- var name = record["".concat(_this.originId, "_interceptReceiverName")];
36
- var mobile = record["".concat(_this.originId, "_interceptReceiverMobile")];
37
- var addressText = (_ref = [province, city, district]) === null || _ref === void 0 ? void 0 : _ref.map(function (suffix) {
38
- return _this.addressDateInstance.getNameByCode(suffix);
39
- }).join("");
40
- var hasValue = addressText || detail || name || mobile;
41
- return hasValue ? /*#__PURE__*/React.createElement("div", null, [addressText, detail].join("/"), /*#__PURE__*/React.createElement("br", null), [name, mobile].join("/")) : null;
42
- });
43
29
  _defineProperty(this, "renderClient", function (record) {
44
- var _ref2;
30
+ var _ref;
45
31
  var province = record["".concat(_this.originId, "_interceptProvince")];
46
32
  var city = record["".concat(_this.originId, "_interceptCity")];
47
33
  var district = record["".concat(_this.originId, "_interceptDistrict")];
48
34
  var detail = record["".concat(_this.originId, "_interceptDetail")];
49
35
  var name = record["".concat(_this.originId, "_interceptReceiverName")];
50
36
  var mobile = record["".concat(_this.originId, "_interceptReceiverMobile")];
51
- var addressText = (_ref2 = [province, city, district]) === null || _ref2 === void 0 ? void 0 : _ref2.map(function (suffix) {
37
+ var addressText = (_ref = [province, city, district]) === null || _ref === void 0 ? void 0 : _ref.map(function (suffix) {
52
38
  return _this.addressDateInstance.getNameByCode(suffix);
53
39
  }).join("");
54
40
  var hasValue = addressText || detail || name || mobile;
@@ -60,26 +46,51 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
60
46
  }) : null;
61
47
  });
62
48
  _defineProperty(this, "renderPc", function (value, record) {
63
- if (value === undefined) {
49
+ var _ref2;
50
+ var province = record["".concat(_this.originId, "_interceptProvince")];
51
+ var city = record["".concat(_this.originId, "_interceptCity")];
52
+ var district = record["".concat(_this.originId, "_interceptDistrict")];
53
+ var detail = record["".concat(_this.originId, "_interceptDetail")];
54
+ var name = record["".concat(_this.originId, "_interceptReceiverName")];
55
+ var mobile = record["".concat(_this.originId, "_interceptReceiverMobile")];
56
+ if (province === undefined) {
64
57
  return /*#__PURE__*/React.createElement("span", null, "--");
65
58
  }
66
- return /*#__PURE__*/React.createElement("span", {
67
- className: "pointer",
68
- onClick: function onClick() {
69
- var _this$effects, _this$effects2;
70
- typeof (_this === null || _this === void 0 ? void 0 : (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.queryWorkOrderDetail) === "function" && (_this === null || _this === void 0 ? void 0 : (_this$effects2 = _this.effects) === null || _this$effects2 === void 0 ? void 0 : _this$effects2.queryWorkOrderDetail(record));
71
- }
72
- }, value);
59
+ var addressText = (_ref2 = [province, city, district]) === null || _ref2 === void 0 ? void 0 : _ref2.map(function (suffix) {
60
+ return _this.addressDateInstance.getNameByCode(suffix);
61
+ }).join("");
62
+ return /*#__PURE__*/React.createElement("span", null, "".concat(addressText).concat(detail), /*#__PURE__*/React.createElement("br", null), "".concat(name, " ").concat(mobile));
73
63
  });
74
64
  _defineProperty(this, "renderLog", function (r) {
75
- if (isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_interceptProvince")]) && isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_interceptDetail")]) && isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_interceptReceiverName")]) && isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_interceptReceiverMobile")])) return null;
65
+ if (isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id)]) && isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_interceptDetail")]) && isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_interceptReceiverName")]) && isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_interceptReceiverMobile")])) return null;
76
66
  return _this.renderPc(undefined, r);
77
67
  });
78
68
  _defineProperty(this, "getComponentValue", function (r) {
79
- return {};
69
+ return {
70
+ province: r === null || r === void 0 ? void 0 : r["".concat(_this.originId, "_interceptProvince")],
71
+ city: r === null || r === void 0 ? void 0 : r["".concat(_this.originId, "_interceptCity")],
72
+ district: r === null || r === void 0 ? void 0 : r["".concat(_this.originId, "_interceptDistrict")],
73
+ detail: r === null || r === void 0 ? void 0 : r["".concat(_this.originId, "_interceptDetail")],
74
+ name: r === null || r === void 0 ? void 0 : r["".concat(_this.originId, "_interceptReceiverName")],
75
+ mobile: r === null || r === void 0 ? void 0 : r["".concat(_this.originId, "_interceptReceiverMobile")]
76
+ };
80
77
  });
81
78
  _defineProperty(this, "renderExport", function (value, record) {
82
- return null;
79
+ var _ref3;
80
+ var _this$getComponentVal = _this.getComponentValue(record),
81
+ province = _this$getComponentVal.province,
82
+ city = _this$getComponentVal.city,
83
+ district = _this$getComponentVal.district,
84
+ detail = _this$getComponentVal.detail,
85
+ name = _this$getComponentVal.name,
86
+ mobile = _this$getComponentVal.mobile;
87
+ if ([province, detail, name, mobile].every(function (item) {
88
+ return isNull(item);
89
+ })) return null;
90
+ var addressText = (_ref3 = [province, city, district]) === null || _ref3 === void 0 ? void 0 : _ref3.map(function (suffix) {
91
+ return _this.addressDateInstance.getNameByCode(suffix);
92
+ }).join("");
93
+ return "".concat(addressText).concat(detail, " ").concat(name).concat(mobile);
83
94
  });
84
95
  _defineProperty(this, "editRender", function () {
85
96
  var _this$componentConfig, _this$componentConfig2;
@@ -13,15 +13,20 @@ declare class InterceptStatus implements ComponentInterface {
13
13
  width: number;
14
14
  isCombinationComponent: boolean;
15
15
  children: ComponentInterface[];
16
- expressDataInstance: typeof ExpressInterceptData;
16
+ expressInterceptInstance: ExpressInterceptData;
17
17
  constructor(options: PickOption);
18
- render: (value: any, record: any) => JSX.Element;
19
18
  getComponentValue: (r: Record) => any;
20
19
  renderClient: (record: any) => JSX.Element | null;
21
20
  renderPc: (value: any, record: Record) => any;
22
21
  renderLog: (r: Record) => any;
23
22
  renderExport: (value: any, record: Record) => any;
24
23
  editRender: () => null;
25
- filterConfig: (item: ColumnConfig) => never[];
24
+ filterConfig: (item: ColumnConfig) => {
25
+ id: string;
26
+ name: string;
27
+ filterComponentType: "MultipleSelect";
28
+ options: any[];
29
+ filterFn: (value: string) => (i: Record) => boolean;
30
+ };
26
31
  }
27
32
  export default InterceptStatus;
@@ -7,7 +7,7 @@ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _ty
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
9
  import ItemView from "../../commonComponents/ItemView";
10
- import { isNull } from "@kmkf-fe-packages/kmkf-utils";
10
+ import { isNull, filterFn as _filterFn } from "@kmkf-fe-packages/kmkf-utils";
11
11
  import { ExpressInterceptData } from "@kmkf-fe-packages/kmkf-utils";
12
12
  var InterceptStatus = /*#__PURE__*/_createClass(function InterceptStatus(options) {
13
13
  var _this = this;
@@ -23,36 +23,46 @@ var InterceptStatus = /*#__PURE__*/_createClass(function InterceptStatus(options
23
23
  _defineProperty(this, "width", void 0);
24
24
  _defineProperty(this, "isCombinationComponent", void 0);
25
25
  _defineProperty(this, "children", void 0);
26
- _defineProperty(this, "expressDataInstance", void 0);
27
- _defineProperty(this, "render", function (value, record) {
28
- return /*#__PURE__*/React.createElement("span", null, "TODO");
29
- });
26
+ _defineProperty(this, "expressInterceptInstance", void 0);
30
27
  _defineProperty(this, "getComponentValue", function (r) {
31
28
  return r === null || r === void 0 ? void 0 : r[_this.id];
32
29
  });
33
30
  _defineProperty(this, "renderClient", function (record) {
31
+ var _this$expressIntercep;
34
32
  return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
35
33
  id: _this.id,
36
34
  label: _this.name,
37
- value: _this.expressDataInstance.getStatusNameMap()["".concat(record === null || record === void 0 ? void 0 : record[_this.companyId], "_").concat(record === null || record === void 0 ? void 0 : record[_this.id])]
35
+ value: (_this$expressIntercep = _this.expressInterceptInstance.getStatusNameMap()) === null || _this$expressIntercep === void 0 ? void 0 : _this$expressIntercep["".concat(record === null || record === void 0 ? void 0 : record[_this.id])]
38
36
  }) : null;
39
37
  });
40
38
  _defineProperty(this, "renderPc", function (value, record) {
41
- var _this$expressDataInst;
42
- return (_this$expressDataInst = _this.expressDataInstance.getStatusNameMap()["".concat(record === null || record === void 0 ? void 0 : record[_this.companyId], "_").concat(record === null || record === void 0 ? void 0 : record[_this.id])]) !== null && _this$expressDataInst !== void 0 ? _this$expressDataInst : "--";
39
+ var _this$expressIntercep2, _this$expressIntercep3;
40
+ return (_this$expressIntercep2 = (_this$expressIntercep3 = _this.expressInterceptInstance.getStatusNameMap()) === null || _this$expressIntercep3 === void 0 ? void 0 : _this$expressIntercep3["".concat(record === null || record === void 0 ? void 0 : record[_this.id])]) !== null && _this$expressIntercep2 !== void 0 ? _this$expressIntercep2 : "--";
43
41
  });
44
42
  _defineProperty(this, "renderLog", function (r) {
45
- if (isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_interceptStatus")])) return null;
46
- return _this.expressDataInstance.getTypeNameMap()[r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_interceptStatus")]];
43
+ var _this$expressIntercep4;
44
+ if (isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id)])) return null;
45
+ return (_this$expressIntercep4 = _this.expressInterceptInstance.getStatusNameMap()) === null || _this$expressIntercep4 === void 0 ? void 0 : _this$expressIntercep4[r === null || r === void 0 ? void 0 : r["".concat(_this.id)]];
47
46
  });
48
47
  _defineProperty(this, "renderExport", function (value, record) {
49
- return _this.renderPc("", record);
48
+ var _this$expressIntercep5, _this$expressIntercep6;
49
+ return (_this$expressIntercep5 = (_this$expressIntercep6 = _this.expressInterceptInstance.getStatusNameMap()) === null || _this$expressIntercep6 === void 0 ? void 0 : _this$expressIntercep6["".concat(record === null || record === void 0 ? void 0 : record[_this.id])]) !== null && _this$expressIntercep5 !== void 0 ? _this$expressIntercep5 : "--";
50
50
  });
51
51
  _defineProperty(this, "editRender", function () {
52
52
  return null;
53
53
  });
54
54
  _defineProperty(this, "filterConfig", function (item) {
55
- return [];
55
+ return {
56
+ id: item.id,
57
+ name: "".concat(item.name, "-\u62E6\u622A\u72B6\u6001"),
58
+ filterComponentType: 'MultipleSelect',
59
+ options: _this.expressInterceptInstance.getExpressData() || [],
60
+ filterFn: function filterFn(value) {
61
+ return function (i) {
62
+ return value === null || value === void 0 ? void 0 : value.includes(_filterFn.filterTableListItemColumnValue(i, item.id));
63
+ };
64
+ }
65
+ };
56
66
  });
57
67
  this.name = "拦截状态";
58
68
  this.id = "".concat(options.id, "_interceptStatus");
@@ -65,6 +75,6 @@ var InterceptStatus = /*#__PURE__*/_createClass(function InterceptStatus(options
65
75
  this.isCombinationComponent = false;
66
76
  this.children = [];
67
77
  this.effects = options === null || options === void 0 ? void 0 : options.effects;
68
- this.expressDataInstance = ExpressInterceptData.getInstance();
78
+ this.expressInterceptInstance = ExpressInterceptData.getInstance();
69
79
  });
70
80
  export default InterceptStatus;
@@ -13,15 +13,20 @@ declare class InterceptType implements ComponentInterface {
13
13
  width: number;
14
14
  isCombinationComponent: boolean;
15
15
  children: ComponentInterface[];
16
- expressDataInstance: typeof ExpressInterceptData;
16
+ expressInterceptInstance: ExpressInterceptData;
17
17
  constructor(options: PickOption);
18
- render: (value: any, record: any) => JSX.Element;
19
18
  getComponentValue: (r: Record) => any;
20
19
  renderClient: (record: any) => JSX.Element | null;
21
20
  renderPc: (value: any, record: Record) => any;
22
21
  renderLog: (r: Record) => any;
23
22
  renderExport: (value: any, record: Record) => any;
24
23
  editRender: () => null;
25
- filterConfig: (item: ColumnConfig) => never[];
24
+ filterConfig: (item: ColumnConfig) => {
25
+ id: string;
26
+ name: string;
27
+ filterComponentType: "MultipleSelect";
28
+ options: any[];
29
+ filterFn: (value: string) => (i: Record) => boolean;
30
+ };
26
31
  }
27
32
  export default InterceptType;
@@ -7,7 +7,7 @@ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _ty
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
9
  import ItemView from "../../commonComponents/ItemView";
10
- import { isNull } from "@kmkf-fe-packages/kmkf-utils";
10
+ import { isNull, filterFn as _filterFn } from "@kmkf-fe-packages/kmkf-utils";
11
11
  import { ExpressInterceptData } from "@kmkf-fe-packages/kmkf-utils";
12
12
  var InterceptType = /*#__PURE__*/_createClass(function InterceptType(options) {
13
13
  var _this = this;
@@ -23,36 +23,46 @@ var InterceptType = /*#__PURE__*/_createClass(function InterceptType(options) {
23
23
  _defineProperty(this, "width", void 0);
24
24
  _defineProperty(this, "isCombinationComponent", void 0);
25
25
  _defineProperty(this, "children", void 0);
26
- _defineProperty(this, "expressDataInstance", void 0);
27
- _defineProperty(this, "render", function (value, record) {
28
- return /*#__PURE__*/React.createElement("span", null, "TODO");
29
- });
26
+ _defineProperty(this, "expressInterceptInstance", void 0);
30
27
  _defineProperty(this, "getComponentValue", function (r) {
31
28
  return r === null || r === void 0 ? void 0 : r[_this.id];
32
29
  });
33
30
  _defineProperty(this, "renderClient", function (record) {
31
+ var _this$expressIntercep;
34
32
  return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
35
33
  id: _this.id,
36
34
  label: _this.name,
37
- value: _this.expressDataInstance.getTypeNameMap()["".concat(record === null || record === void 0 ? void 0 : record[_this.companyId], "_").concat(record === null || record === void 0 ? void 0 : record[_this.id])]
35
+ value: (_this$expressIntercep = _this.expressInterceptInstance.getTypeNameMap()) === null || _this$expressIntercep === void 0 ? void 0 : _this$expressIntercep["".concat(record === null || record === void 0 ? void 0 : record[_this.id])]
38
36
  }) : null;
39
37
  });
40
38
  _defineProperty(this, "renderPc", function (value, record) {
41
- var _this$expressDataInst;
42
- return (_this$expressDataInst = _this.expressDataInstance.getTypeNameMap()["".concat(record === null || record === void 0 ? void 0 : record[_this.companyId], "_").concat(record === null || record === void 0 ? void 0 : record[_this.id])]) !== null && _this$expressDataInst !== void 0 ? _this$expressDataInst : "--";
39
+ var _this$expressIntercep2;
40
+ return (_this$expressIntercep2 = _this.expressInterceptInstance.getTypeNameMap()["".concat(record === null || record === void 0 ? void 0 : record[_this.id])]) !== null && _this$expressIntercep2 !== void 0 ? _this$expressIntercep2 : "--";
43
41
  });
44
42
  _defineProperty(this, "renderLog", function (r) {
45
- if (isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_interceptType")])) return null;
46
- return _this.expressDataInstance.getTypeNameMap()[r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_interceptType")]];
43
+ var _this$expressIntercep3;
44
+ if (isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id)])) return null;
45
+ return (_this$expressIntercep3 = _this.expressInterceptInstance.getTypeNameMap()) === null || _this$expressIntercep3 === void 0 ? void 0 : _this$expressIntercep3[r === null || r === void 0 ? void 0 : r["".concat(_this.id)]];
47
46
  });
48
47
  _defineProperty(this, "renderExport", function (value, record) {
49
- return _this.renderPc("", record);
48
+ var _this$expressIntercep4, _this$expressIntercep5;
49
+ return (_this$expressIntercep4 = (_this$expressIntercep5 = _this.expressInterceptInstance.getTypeNameMap()) === null || _this$expressIntercep5 === void 0 ? void 0 : _this$expressIntercep5["".concat(record === null || record === void 0 ? void 0 : record[_this.id])]) !== null && _this$expressIntercep4 !== void 0 ? _this$expressIntercep4 : "--";
50
50
  });
51
51
  _defineProperty(this, "editRender", function () {
52
52
  return null;
53
53
  });
54
54
  _defineProperty(this, "filterConfig", function (item) {
55
- return [];
55
+ return {
56
+ id: item.id,
57
+ name: "".concat(item.name, "-\u62E6\u622A\u7C7B\u578B"),
58
+ filterComponentType: 'MultipleSelect',
59
+ options: _this.expressInterceptInstance.getExpressData() || [],
60
+ filterFn: function filterFn(value) {
61
+ return function (i) {
62
+ return value === null || value === void 0 ? void 0 : value.includes(_filterFn.filterTableListItemColumnValue(i, item.id));
63
+ };
64
+ }
65
+ };
56
66
  });
57
67
  this.name = "拦截类型";
58
68
  this.id = "".concat(options.id, "_interceptType");
@@ -65,6 +75,6 @@ var InterceptType = /*#__PURE__*/_createClass(function InterceptType(options) {
65
75
  this.isCombinationComponent = false;
66
76
  this.children = [];
67
77
  this.effects = options === null || options === void 0 ? void 0 : options.effects;
68
- this.expressDataInstance = ExpressInterceptData.getInstance();
78
+ this.expressInterceptInstance = ExpressInterceptData.getInstance();
69
79
  });
70
80
  export default InterceptType;
@@ -19,17 +19,40 @@ declare class Logistics implements ComponentInterface {
19
19
  children: ComponentInterface[];
20
20
  express: Express;
21
21
  expressCode: ExpressCode;
22
- expressDateInstance: typeof ExpressData;
23
- expressInterceptData: typeof ExpressInterceptData;
22
+ expressDateInstance: ExpressData;
23
+ expressInterceptData: ExpressInterceptData;
24
24
  effects: ComponentInterface["effects"];
25
25
  constructor(options: PickOption);
26
- render: () => null;
27
26
  renderClient: (record: any) => JSX.Element;
28
27
  renderLog: (record: any) => JSX.Element;
29
- getComponentValue: (r: Record) => {};
28
+ getComponentValue: (r: Record) => {
29
+ interceptCompany: any;
30
+ interceptCode: any;
31
+ interceptType: any;
32
+ interceptStatus: any;
33
+ interceptRedirectTo: {
34
+ province: any;
35
+ city: any;
36
+ district: any;
37
+ detail: any;
38
+ name: any;
39
+ mobile: any;
40
+ };
41
+ };
30
42
  renderPc: () => null;
31
43
  renderExport: () => null;
32
44
  editRender: (value: any) => JSX.Element;
33
- filterConfig: (item: ColumnConfig) => never[];
45
+ filterConfig: (item: ColumnConfig) => ({
46
+ id: string;
47
+ name: string;
48
+ filterComponentType: "MultipleSelect";
49
+ options: any[];
50
+ filterFn: (value: string) => (i: Record) => boolean;
51
+ } | {
52
+ id: string;
53
+ name: string;
54
+ filterComponentType: "Input";
55
+ filterFn: (value: string) => (i: Record) => boolean;
56
+ })[];
34
57
  }
35
58
  export default Logistics;
@@ -35,17 +35,20 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
35
35
  _defineProperty(this, "expressDateInstance", void 0);
36
36
  _defineProperty(this, "expressInterceptData", void 0);
37
37
  _defineProperty(this, "effects", void 0);
38
- _defineProperty(this, "render", function () {
39
- return null;
40
- });
41
38
  _defineProperty(this, "renderClient", function (record) {
42
39
  return /*#__PURE__*/React.createElement(React.Fragment, null, _this.express.renderClient(record), _this.expressCode.renderClient(record), _this.interceptType.renderClient(record), _this.interceptAddress.renderClient(record), _this.interceptStatus.renderClient(record));
43
40
  });
44
41
  _defineProperty(this, "renderLog", function (record) {
45
- return /*#__PURE__*/React.createElement(React.Fragment, null, _this.express.renderLog(record), _this.expressCode.renderLog(record), _this.interceptType.renderLog(record), _this.interceptAddress.renderLog(record), _this.interceptStatus.renderLog(record));
42
+ return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", null, _this.express.renderLog(record)), /*#__PURE__*/React.createElement("div", null, _this.expressCode.renderLog(record)), /*#__PURE__*/React.createElement("div", null, _this.interceptType.renderLog(record)), /*#__PURE__*/React.createElement("div", null, _this.interceptAddress.renderLog(record)), /*#__PURE__*/React.createElement("div", null, _this.interceptStatus.renderLog(record)));
46
43
  });
47
44
  _defineProperty(this, "getComponentValue", function (r) {
48
- return {};
45
+ return {
46
+ interceptCompany: _this.express.getComponentValue(r),
47
+ interceptCode: _this.expressCode.getComponentValue(r),
48
+ interceptType: _this.interceptType.getComponentValue(r),
49
+ interceptStatus: _this.interceptStatus.getComponentValue(r),
50
+ interceptRedirectTo: _this.interceptAddress.getComponentValue(r)
51
+ };
49
52
  });
50
53
  _defineProperty(this, "renderPc", function () {
51
54
  return null;
@@ -69,7 +72,11 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
69
72
  });
70
73
  });
71
74
  _defineProperty(this, "filterConfig", function (item) {
72
- return [];
75
+ return [_this.express.filterConfig(_objectSpread(_objectSpread({}, item), {}, {
76
+ subKey: 'interceptCompany'
77
+ })), _this.expressCode.filterConfig(_objectSpread(_objectSpread({}, item), {}, {
78
+ subKey: 'interceptCode'
79
+ })), _this.interceptStatus.filterConfig(item), _this.interceptType.filterConfig(item)];
73
80
  });
74
81
  this.name = options.name;
75
82
  this.id = options.id;
@@ -90,7 +97,7 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
90
97
  name: "物流单号"
91
98
  }));
92
99
  this.isCombinationComponent = true;
93
- this.children = [this.express, this.expressCode, this.interceptAddress];
100
+ this.children = [this.express, this.expressCode, this.interceptType, this.interceptAddress, this.interceptStatus];
94
101
  this.rules = [{
95
102
  validator: function validator(_, value) {
96
103
  var _this$componentConfig3, _this$componentConfig4, _value$interceptAddre;
@@ -100,7 +107,7 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
100
107
  if ((_this$componentConfig4 = _this.componentConfig) !== null && _this$componentConfig4 !== void 0 && _this$componentConfig4.required && !(value !== null && value !== void 0 && value.interceptType)) {
101
108
  return Promise.reject(new Error("请选择拦截类型"));
102
109
  }
103
- var showAddress = _this.expressData.getShowNewAddressMap()["".concat(value === null || value === void 0 ? void 0 : value.interceptCompany, "_").concat(value === null || value === void 0 ? void 0 : value.interceptType)];
110
+ var showAddress = _this.expressInterceptData.getShowNewAddressMap()["".concat(value === null || value === void 0 ? void 0 : value.interceptCompany, "_").concat(value === null || value === void 0 ? void 0 : value.interceptType)];
104
111
  if (showAddress && (!(value !== null && value !== void 0 && (_value$interceptAddre = value.interceptAddress) !== null && _value$interceptAddre !== void 0 && _value$interceptAddre.length) || !(value !== null && value !== void 0 && value.interceptDetail) || !(value !== null && value !== void 0 && value.interceptReceiverName) || !(value !== null && value !== void 0 && value.interceptReceiverMobile))) {
105
112
  return Promise.reject(new Error("请填写新派送地"));
106
113
  }
@@ -1,6 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  import { ComponentInterface, PickOption, ColumnConfig, Record } from '../../type';
3
- declare type Value = string[];
4
3
  declare class BasicMultSelect implements ComponentInterface {
5
4
  name: string;
6
5
  id: string;
@@ -10,7 +9,6 @@ declare class BasicMultSelect implements ComponentInterface {
10
9
  isCombinationComponent: boolean;
11
10
  children: ComponentInterface[];
12
11
  constructor(options: PickOption);
13
- render: (value: Value) => JSX.Element;
14
12
  renderClient: (record: any) => JSX.Element | null;
15
13
  renderPc: (value: any, record: Record) => JSX.Element;
16
14
  renderLog: (r: Record) => JSX.Element | null;
@@ -22,14 +22,12 @@ var BasicMultSelect = /*#__PURE__*/_createClass(function BasicMultSelect(options
22
22
  _defineProperty(this, "componentConfig", void 0);
23
23
  _defineProperty(this, "isCombinationComponent", void 0);
24
24
  _defineProperty(this, "children", void 0);
25
- _defineProperty(this, "render", function (value) {
26
- return /*#__PURE__*/React.createElement("span", null, " ", value === null || value === void 0 ? void 0 : value.join(','));
27
- });
28
25
  _defineProperty(this, "renderClient", function (record) {
26
+ var _record$_this$id;
29
27
  return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
30
28
  id: _this.id,
31
29
  label: _this.name,
32
- value: _this.render(record === null || record === void 0 ? void 0 : record[_this.id])
30
+ value: record === null || record === void 0 ? void 0 : (_record$_this$id = record[_this.id]) === null || _record$_this$id === void 0 ? void 0 : _record$_this$id.join(',')
33
31
  }) : null;
34
32
  });
35
33
  _defineProperty(this, "renderPc", function (value, record) {
@@ -12,7 +12,6 @@ declare class OrdinaryHeader implements ComponentInterface {
12
12
  isCombinationComponent: boolean;
13
13
  children: ComponentInterface[];
14
14
  constructor(options: PickOption);
15
- render: (value: string) => JSX.Element;
16
15
  renderClient: (record: any) => JSX.Element | null;
17
16
  renderPc: (value: unknown, r: Record) => any;
18
17
  renderLog: (r: Record) => any;
@@ -24,14 +24,11 @@ var OrdinaryHeader = /*#__PURE__*/_createClass(function OrdinaryHeader(options)
24
24
  _defineProperty(this, "width", void 0);
25
25
  _defineProperty(this, "isCombinationComponent", void 0);
26
26
  _defineProperty(this, "children", void 0);
27
- _defineProperty(this, "render", function (value) {
28
- return /*#__PURE__*/React.createElement("span", null, value);
29
- });
30
27
  _defineProperty(this, "renderClient", function (record) {
31
28
  return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
32
29
  id: _this.id,
33
30
  label: _this.name,
34
- value: _this.render(record === null || record === void 0 ? void 0 : record[_this.id])
31
+ value: record === null || record === void 0 ? void 0 : record[_this.id]
35
32
  }) : null;
36
33
  });
37
34
  _defineProperty(this, "renderPc", function (value, r) {
@@ -12,7 +12,6 @@ declare class OrdinaryMoney implements ComponentInterface {
12
12
  isCombinationComponent: boolean;
13
13
  children: ComponentInterface[];
14
14
  constructor(options: PickOption);
15
- render: (value: string) => JSX.Element;
16
15
  renderPc: (value: unknown, r: Record) => any;
17
16
  renderLog: (r: Record) => any;
18
17
  getComponentValue: (r: Record) => any;
@@ -23,9 +23,6 @@ var OrdinaryMoney = /*#__PURE__*/_createClass(function OrdinaryMoney(options) {
23
23
  _defineProperty(this, "width", void 0);
24
24
  _defineProperty(this, "isCombinationComponent", void 0);
25
25
  _defineProperty(this, "children", void 0);
26
- _defineProperty(this, "render", function (value) {
27
- return /*#__PURE__*/React.createElement("span", null, value);
28
- });
29
26
  _defineProperty(this, "renderPc", function (value, r) {
30
27
  var _r;
31
28
  return (_r = r === null || r === void 0 ? void 0 : r["".concat(_this.id)]) !== null && _r !== void 0 ? _r : '--';
@@ -44,7 +41,7 @@ var OrdinaryMoney = /*#__PURE__*/_createClass(function OrdinaryMoney(options) {
44
41
  return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
45
42
  id: _this.id,
46
43
  label: _this.name,
47
- value: _this.render(record === null || record === void 0 ? void 0 : record[_this.id])
44
+ value: record === null || record === void 0 ? void 0 : record[_this.id]
48
45
  }) : null;
49
46
  });
50
47
  _defineProperty(this, "editRender", function () {
@@ -17,7 +17,6 @@ declare class OrdinarySerial implements ComponentInterface {
17
17
  isCombinationComponent: boolean;
18
18
  children: ComponentInterface[];
19
19
  constructor(options: PickOption);
20
- render: (value: string) => JSX.Element;
21
20
  renderClient: (record: any) => JSX.Element | null;
22
21
  renderPc: (value: unknown, r: Record) => any;
23
22
  renderLog: (r: Record) => any;