@kmkf-fe-packages/services-components 0.7.4 → 0.7.5-alpha.1

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 (132) hide show
  1. package/dist/esm/components/ActualPayment/index.d.ts +3 -1
  2. package/dist/esm/components/ActualPayment/index.js +6 -2
  3. package/dist/esm/components/Address/index.d.ts +20 -3
  4. package/dist/esm/components/Address/index.js +33 -3
  5. package/dist/esm/components/Alipay/index.d.ts +2 -0
  6. package/dist/esm/components/Alipay/index.js +2 -0
  7. package/dist/esm/components/AlipayAccount/index.d.ts +2 -0
  8. package/dist/esm/components/AlipayAccount/index.js +4 -0
  9. package/dist/esm/components/AlipayName/index.d.ts +2 -0
  10. package/dist/esm/components/AlipayName/index.js +4 -0
  11. package/dist/esm/components/BuyerNick/index.d.ts +2 -0
  12. package/dist/esm/components/BuyerNick/index.js +4 -0
  13. package/dist/esm/components/Cascader/index.d.ts +11 -1
  14. package/dist/esm/components/Cascader/index.js +18 -2
  15. package/dist/esm/components/Checkbox/index.d.ts +5 -1
  16. package/dist/esm/components/Checkbox/index.js +11 -5
  17. package/dist/esm/components/CommonDataTime/index.d.ts +3 -0
  18. package/dist/esm/components/CommonDataTime/index.js +11 -0
  19. package/dist/esm/components/CompletedUser/index.d.ts +8 -4
  20. package/dist/esm/components/CompletedUser/index.js +7 -1
  21. package/dist/esm/components/DataTime/index.d.ts +6 -1
  22. package/dist/esm/components/DataTime/index.js +15 -2
  23. package/dist/esm/components/EItemEnCode/index.d.ts +2 -0
  24. package/dist/esm/components/EItemEnCode/index.js +5 -1
  25. package/dist/esm/components/EItemId/index.d.ts +2 -0
  26. package/dist/esm/components/EItemId/index.js +5 -1
  27. package/dist/esm/components/EItemSelect/index.d.ts +1 -0
  28. package/dist/esm/components/EItemSelect/index.js +2 -0
  29. package/dist/esm/components/ErpTradeId/index.d.ts +3 -0
  30. package/dist/esm/components/ErpTradeId/index.js +8 -1
  31. package/dist/esm/components/Express/index.d.ts +5 -1
  32. package/dist/esm/components/Express/index.js +7 -1
  33. package/dist/esm/components/ExpressCode/index.d.ts +2 -0
  34. package/dist/esm/components/ExpressCode/index.js +4 -0
  35. package/dist/esm/components/FlowStatusSelect/index.d.ts +8 -4
  36. package/dist/esm/components/FlowStatusSelect/index.js +12 -6
  37. package/dist/esm/components/Grade/index.d.ts +1 -0
  38. package/dist/esm/components/Grade/index.js +2 -0
  39. package/dist/esm/components/Handler/index.d.ts +8 -4
  40. package/dist/esm/components/Handler/index.js +7 -1
  41. package/dist/esm/components/Input/index.d.ts +2 -0
  42. package/dist/esm/components/Input/index.js +5 -1
  43. package/dist/esm/components/JstItemSelect/index.d.ts +2 -0
  44. package/dist/esm/components/JstItemSelect/index.js +21 -15
  45. package/dist/esm/components/JstLogistics/index.d.ts +7 -2
  46. package/dist/esm/components/JstLogistics/index.js +8 -1
  47. package/dist/esm/components/JstSendGood/index.d.ts +2 -0
  48. package/dist/esm/components/JstSendGood/index.js +5 -0
  49. package/dist/esm/components/JstSupply/index.d.ts +2 -0
  50. package/dist/esm/components/JstSupply/index.js +5 -0
  51. package/dist/esm/components/Logistics/index.d.ts +6 -1
  52. package/dist/esm/components/Logistics/index.js +2 -0
  53. package/dist/esm/components/LogisticsInterception/InterceptAddress.d.ts +2 -1
  54. package/dist/esm/components/LogisticsInterception/InterceptAddress.js +2 -0
  55. package/dist/esm/components/LogisticsInterception/InterceptStatus.d.ts +9 -5
  56. package/dist/esm/components/LogisticsInterception/InterceptStatus.js +7 -1
  57. package/dist/esm/components/LogisticsInterception/InterceptType.d.ts +9 -5
  58. package/dist/esm/components/LogisticsInterception/InterceptType.js +7 -1
  59. package/dist/esm/components/LogisticsInterception/index.d.ts +13 -5
  60. package/dist/esm/components/LogisticsInterception/index.js +2 -0
  61. package/dist/esm/components/LogisticsInterception/interceptSenderMobile.d.ts +2 -0
  62. package/dist/esm/components/LogisticsInterception/interceptSenderMobile.js +4 -0
  63. package/dist/esm/components/MultSelect/index.d.ts +5 -1
  64. package/dist/esm/components/MultSelect/index.js +8 -2
  65. package/dist/esm/components/Ordinary/OrdinaryHeader.d.ts +2 -0
  66. package/dist/esm/components/Ordinary/OrdinaryHeader.js +7 -3
  67. package/dist/esm/components/Ordinary/OrdinaryMoney.d.ts +3 -1
  68. package/dist/esm/components/Ordinary/OrdinaryMoney.js +8 -4
  69. package/dist/esm/components/Ordinary/OrdinarySerial.d.ts +2 -0
  70. package/dist/esm/components/Ordinary/OrdinarySerial.js +4 -0
  71. package/dist/esm/components/Ordinary/index.d.ts +11 -2
  72. package/dist/esm/components/Ordinary/index.js +2 -0
  73. package/dist/esm/components/Payment/AlipayNick.d.ts +2 -0
  74. package/dist/esm/components/Payment/AlipayNick.js +4 -0
  75. package/dist/esm/components/Payment/AlipayNo.d.ts +2 -0
  76. package/dist/esm/components/Payment/AlipayNo.js +4 -0
  77. package/dist/esm/components/Payment/AlipayTime.d.ts +3 -0
  78. package/dist/esm/components/Payment/AlipayTime.js +11 -0
  79. package/dist/esm/components/Payment/BuyerNick.d.ts +2 -0
  80. package/dist/esm/components/Payment/BuyerNick.js +4 -0
  81. package/dist/esm/components/Payment/PaymentAmount.d.ts +3 -1
  82. package/dist/esm/components/Payment/PaymentAmount.js +5 -1
  83. package/dist/esm/components/Payment/PaymentStatus.d.ts +8 -4
  84. package/dist/esm/components/Payment/PaymentStatus.js +7 -1
  85. package/dist/esm/components/Payment/PaymentTid.d.ts +3 -0
  86. package/dist/esm/components/Payment/PaymentTid.js +7 -0
  87. package/dist/esm/components/Payment/index.d.ts +33 -4
  88. package/dist/esm/components/Payment/index.js +2 -0
  89. package/dist/esm/components/Picture/index.d.ts +1 -0
  90. package/dist/esm/components/Picture/index.js +2 -0
  91. package/dist/esm/components/PlatForm/index.d.ts +3 -1
  92. package/dist/esm/components/PlatForm/index.js +4 -0
  93. package/dist/esm/components/Radio/index.d.ts +5 -1
  94. package/dist/esm/components/Radio/index.js +11 -5
  95. package/dist/esm/components/Rate/index.d.ts +1 -0
  96. package/dist/esm/components/Rate/index.js +2 -0
  97. package/dist/esm/components/ReceiverAddress/index.d.ts +2 -1
  98. package/dist/esm/components/ReceiverAddress/index.js +2 -0
  99. package/dist/esm/components/ReceiverMobile/index.d.ts +2 -0
  100. package/dist/esm/components/ReceiverMobile/index.js +5 -1
  101. package/dist/esm/components/ReceiverName/index.d.ts +2 -0
  102. package/dist/esm/components/ReceiverName/index.js +5 -1
  103. package/dist/esm/components/Remark/index.d.ts +2 -0
  104. package/dist/esm/components/Remark/index.js +5 -1
  105. package/dist/esm/components/ReturnLogistics/index.d.ts +6 -1
  106. package/dist/esm/components/ReturnLogistics/index.js +2 -0
  107. package/dist/esm/components/Select/index.d.ts +5 -1
  108. package/dist/esm/components/Select/index.js +8 -2
  109. package/dist/esm/components/ShopInput/index.d.ts +7 -2
  110. package/dist/esm/components/ShopInput/index.js +17 -2
  111. package/dist/esm/components/ShopName/index.d.ts +2 -0
  112. package/dist/esm/components/ShopName/index.js +5 -1
  113. package/dist/esm/components/Submitter/index.d.ts +9 -4
  114. package/dist/esm/components/Submitter/index.js +15 -1
  115. package/dist/esm/components/SystemOrderNo/index.d.ts +3 -0
  116. package/dist/esm/components/SystemOrderNo/index.js +8 -1
  117. package/dist/esm/components/TemplateSelect/index.d.ts +2 -0
  118. package/dist/esm/components/TemplateSelect/index.js +4 -0
  119. package/dist/esm/components/TextArea/index.d.ts +2 -0
  120. package/dist/esm/components/TextArea/index.js +5 -1
  121. package/dist/esm/components/ThirdItemSelect/index.d.ts +2 -0
  122. package/dist/esm/components/ThirdItemSelect/index.js +5 -1
  123. package/dist/esm/components/TradeDateTime/index.d.ts +3 -0
  124. package/dist/esm/components/TradeDateTime/index.js +14 -2
  125. package/dist/esm/components/TradeId/index.d.ts +3 -0
  126. package/dist/esm/components/TradeId/index.js +8 -1
  127. package/dist/esm/components/WorkOrderId/index.d.ts +2 -0
  128. package/dist/esm/components/WorkOrderId/index.js +11 -1
  129. package/dist/esm/constant.d.ts +14 -0
  130. package/dist/esm/constant.js +14 -0
  131. package/dist/esm/type.d.ts +8 -2
  132. package/package.json +4 -4
@@ -12,6 +12,7 @@ import { ApaasMultipleSelect } from '@kmkf-fe-packages/basic-components';
12
12
  import GetFormItem from "../GetFormItem";
13
13
  import ItemView from "../../commonComponents/ItemView";
14
14
  import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
15
+ import { SYMBOL } from "../../constant";
15
16
  var BasicMultSelect = /*#__PURE__*/_createClass(function BasicMultSelect(options) {
16
17
  var _this = this;
17
18
  _classCallCheck(this, BasicMultSelect);
@@ -21,6 +22,7 @@ var BasicMultSelect = /*#__PURE__*/_createClass(function BasicMultSelect(options
21
22
  _defineProperty(this, "rules", void 0);
22
23
  _defineProperty(this, "componentConfig", void 0);
23
24
  _defineProperty(this, "isCombinationComponent", void 0);
25
+ _defineProperty(this, "canSort", void 0);
24
26
  _defineProperty(this, "children", void 0);
25
27
  _defineProperty(this, "renderClient", function (record) {
26
28
  var _record$_this$id;
@@ -66,13 +68,16 @@ var BasicMultSelect = /*#__PURE__*/_createClass(function BasicMultSelect(options
66
68
  _defineProperty(this, "filterConfig", function (item) {
67
69
  var _item$config;
68
70
  return {
71
+ searchDefaultConditions: SYMBOL.in,
69
72
  type: item.type,
70
- id: item.id,
73
+ id: "".concat(item.id, "_basicMultSelect"),
71
74
  // 过滤组件id
72
75
  name: item.name,
73
76
  // 过滤组件名称
74
77
  filterComponentType: 'MultipleSelect',
75
- options: (item === null || item === void 0 ? void 0 : (_item$config = item.config) === null || _item$config === void 0 ? void 0 : _item$config.options) || [],
78
+ props: {
79
+ options: (item === null || item === void 0 ? void 0 : (_item$config = item.config) === null || _item$config === void 0 ? void 0 : _item$config.options) || []
80
+ },
76
81
  filterFn: function filterFn(value) {
77
82
  return function (i) {
78
83
  return intersection(value, _filterFn.filterTableListItemColumnValue(i, item.id, 'basicMultSelect')).length > 0;
@@ -86,6 +91,7 @@ var BasicMultSelect = /*#__PURE__*/_createClass(function BasicMultSelect(options
86
91
  this.componentConfig = options.componentConfig;
87
92
  this.rules = [];
88
93
  this.isCombinationComponent = false;
94
+ this.canSort = true;
89
95
  this.children = [];
90
96
  });
91
97
  export default BasicMultSelect;
@@ -10,6 +10,7 @@ declare class OrdinaryHeader implements ComponentInterface {
10
10
  align: ALignType;
11
11
  width: number;
12
12
  isCombinationComponent: boolean;
13
+ canSort: boolean;
13
14
  children: ComponentInterface[];
14
15
  constructor(options: PickOption);
15
16
  renderClient: (record: any) => React.JSX.Element | null;
@@ -19,6 +20,7 @@ declare class OrdinaryHeader implements ComponentInterface {
19
20
  renderExport: (value: any) => any;
20
21
  editRender: () => React.JSX.Element;
21
22
  filterConfig: (item: ColumnConfig) => {
23
+ searchDefaultConditions: "like";
22
24
  type: string;
23
25
  id: string;
24
26
  name: string;
@@ -11,6 +11,7 @@ import GetFormItem from "../GetFormItem";
11
11
  import Header from "../OrdinaryHeader";
12
12
  import ItemView from "../../commonComponents/ItemView";
13
13
  import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
14
+ import { SYMBOL } from "../../constant";
14
15
  var OrdinaryHeader = /*#__PURE__*/_createClass(function OrdinaryHeader(options) {
15
16
  var _this = this;
16
17
  _classCallCheck(this, OrdinaryHeader);
@@ -23,6 +24,7 @@ var OrdinaryHeader = /*#__PURE__*/_createClass(function OrdinaryHeader(options)
23
24
  _defineProperty(this, "align", void 0);
24
25
  _defineProperty(this, "width", void 0);
25
26
  _defineProperty(this, "isCombinationComponent", void 0);
27
+ _defineProperty(this, "canSort", void 0);
26
28
  _defineProperty(this, "children", void 0);
27
29
  _defineProperty(this, "renderClient", function (record) {
28
30
  return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
@@ -63,13 +65,14 @@ var OrdinaryHeader = /*#__PURE__*/_createClass(function OrdinaryHeader(options)
63
65
  });
64
66
  _defineProperty(this, "filterConfig", function (item) {
65
67
  return {
68
+ searchDefaultConditions: SYMBOL.like,
66
69
  type: item.type,
67
- id: "".concat(item.id, "_ordinaryMoney"),
68
- name: "".concat(item.name, "-\u5F00\u7968\u91D1\u989D"),
70
+ id: "".concat(item.id, "_ordinaryTaitou"),
71
+ name: "".concat(item.name, "-\u53D1\u7968\u62AC\u5934"),
69
72
  filterComponentType: 'Input',
70
73
  filterFn: function filterFn(value) {
71
74
  return function (i) {
72
- return "".concat(_filterFn.filterTableListItemColumnValue(i, item.id, 'ordinaryMoney')).includes(value);
75
+ return "".concat(_filterFn.filterTableListItemColumnValue(i, item.id, 'ordinaryTaitou')).includes(value);
73
76
  };
74
77
  }
75
78
  };
@@ -83,6 +86,7 @@ var OrdinaryHeader = /*#__PURE__*/_createClass(function OrdinaryHeader(options)
83
86
  this.effects = options.effects;
84
87
  this.width = 200;
85
88
  this.isCombinationComponent = false;
89
+ this.canSort = true;
86
90
  this.children = [];
87
91
  });
88
92
  export default OrdinaryHeader;
@@ -10,6 +10,7 @@ declare class OrdinaryMoney implements ComponentInterface {
10
10
  align: ALignType;
11
11
  width: number;
12
12
  isCombinationComponent: boolean;
13
+ canSort: boolean;
13
14
  children: ComponentInterface[];
14
15
  constructor(options: PickOption);
15
16
  renderPc: (value: unknown, r: Record) => any;
@@ -19,10 +20,11 @@ declare class OrdinaryMoney implements ComponentInterface {
19
20
  renderClient: (record: any) => React.JSX.Element | null;
20
21
  editRender: () => React.JSX.Element;
21
22
  filterConfig: (item: ColumnConfig) => {
23
+ searchDefaultConditions: "between";
22
24
  type: string;
23
25
  id: string;
24
26
  name: string;
25
- filterComponentType: "Input";
27
+ filterComponentType: "Rate";
26
28
  filterFn: (value: string) => (i: Record) => boolean;
27
29
  };
28
30
  }
@@ -10,6 +10,7 @@ import GetFormItem from "../GetFormItem";
10
10
  import { ApaasInput } from '@kmkf-fe-packages/basic-components';
11
11
  import ItemView from "../../commonComponents/ItemView";
12
12
  import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
13
+ import { SYMBOL } from "../../constant";
13
14
  var OrdinaryMoney = /*#__PURE__*/_createClass(function OrdinaryMoney(options) {
14
15
  var _this = this;
15
16
  _classCallCheck(this, OrdinaryMoney);
@@ -22,6 +23,7 @@ var OrdinaryMoney = /*#__PURE__*/_createClass(function OrdinaryMoney(options) {
22
23
  _defineProperty(this, "align", void 0);
23
24
  _defineProperty(this, "width", void 0);
24
25
  _defineProperty(this, "isCombinationComponent", void 0);
26
+ _defineProperty(this, "canSort", void 0);
25
27
  _defineProperty(this, "children", void 0);
26
28
  _defineProperty(this, "renderPc", function (value, r) {
27
29
  var _r;
@@ -56,13 +58,14 @@ var OrdinaryMoney = /*#__PURE__*/_createClass(function OrdinaryMoney(options) {
56
58
  });
57
59
  _defineProperty(this, "filterConfig", function (item) {
58
60
  return {
61
+ searchDefaultConditions: SYMBOL.between,
59
62
  type: item.type,
60
- id: "".concat(item.id, "_ordinaryTaitou"),
61
- name: "".concat(item.name, "-\u53D1\u7968\u62AC\u5934"),
62
- filterComponentType: 'Input',
63
+ id: "".concat(item.id, "_ordinaryMoney"),
64
+ name: "".concat(item.name, "-\u5F00\u7968\u91D1\u989D"),
65
+ filterComponentType: 'Rate',
63
66
  filterFn: function filterFn(value) {
64
67
  return function (i) {
65
- return "".concat(_filterFn.filterTableListItemColumnValue(i, item.id, 'ordinaryTaitou')).includes(value);
68
+ return "".concat(_filterFn.filterTableListItemColumnValue(i, item.id, 'ordinaryMoney')).includes(value);
66
69
  };
67
70
  }
68
71
  };
@@ -83,6 +86,7 @@ var OrdinaryMoney = /*#__PURE__*/_createClass(function OrdinaryMoney(options) {
83
86
  this.effects = options.effects;
84
87
  this.width = 200;
85
88
  this.isCombinationComponent = false;
89
+ this.canSort = true;
86
90
  this.children = [];
87
91
  });
88
92
  export default OrdinaryMoney;
@@ -15,6 +15,7 @@ declare class OrdinarySerial implements ComponentInterface {
15
15
  align: ALignType;
16
16
  width: number;
17
17
  isCombinationComponent: boolean;
18
+ canSort: boolean;
18
19
  children: ComponentInterface[];
19
20
  constructor(options: PickOption);
20
21
  renderClient: (record: any) => React.JSX.Element | null;
@@ -24,6 +25,7 @@ declare class OrdinarySerial implements ComponentInterface {
24
25
  renderExport: (value: any) => any;
25
26
  editRender: () => React.JSX.Element;
26
27
  filterConfig: (item: ColumnConfig) => {
28
+ searchDefaultConditions: "like";
27
29
  type: string;
28
30
  id: string;
29
31
  name: string;
@@ -10,6 +10,7 @@ import GetFormItem from "../GetFormItem";
10
10
  import { ApaasInput } from '@kmkf-fe-packages/basic-components';
11
11
  import ItemView from "../../commonComponents/ItemView";
12
12
  import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
13
+ import { SYMBOL } from "../../constant";
13
14
  var OrdinarySerial = /*#__PURE__*/_createClass(function OrdinarySerial(options) {
14
15
  var _this = this;
15
16
  _classCallCheck(this, OrdinarySerial);
@@ -27,6 +28,7 @@ var OrdinarySerial = /*#__PURE__*/_createClass(function OrdinarySerial(options)
27
28
  _defineProperty(this, "align", void 0);
28
29
  _defineProperty(this, "width", void 0);
29
30
  _defineProperty(this, "isCombinationComponent", void 0);
31
+ _defineProperty(this, "canSort", void 0);
30
32
  _defineProperty(this, "children", void 0);
31
33
  _defineProperty(this, "renderClient", function (record) {
32
34
  return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
@@ -61,6 +63,7 @@ var OrdinarySerial = /*#__PURE__*/_createClass(function OrdinarySerial(options)
61
63
  });
62
64
  _defineProperty(this, "filterConfig", function (item) {
63
65
  return {
66
+ searchDefaultConditions: SYMBOL.like,
64
67
  type: item.type,
65
68
  id: "".concat(item.id, "_ordinarySerial"),
66
69
  name: "".concat(item.name, "-\u7EB3\u7A0E\u4EBA\u8BC6\u522B\u53F7"),
@@ -86,6 +89,7 @@ var OrdinarySerial = /*#__PURE__*/_createClass(function OrdinarySerial(options)
86
89
  this.effects = options.effects;
87
90
  this.width = 200;
88
91
  this.isCombinationComponent = false;
92
+ this.canSort = true;
89
93
  this.children = [];
90
94
  });
91
95
  export default OrdinarySerial;
@@ -18,6 +18,7 @@ declare class Ordinary implements ComponentInterface {
18
18
  ordinaryHeader: OrdinaryHeader;
19
19
  ordinarySerial: OrdinarySerial;
20
20
  isCombinationComponent: boolean;
21
+ canSort: boolean;
21
22
  children: ComponentInterface[];
22
23
  constructor(options: PickOption);
23
24
  editRender: () => React.JSX.Element;
@@ -30,12 +31,20 @@ declare class Ordinary implements ComponentInterface {
30
31
  };
31
32
  renderExport: () => null;
32
33
  renderClient: (record: any) => React.JSX.Element;
33
- filterConfig: (item: ColumnConfig) => {
34
+ filterConfig: (item: ColumnConfig) => ({
35
+ searchDefaultConditions: "between";
36
+ type: string;
37
+ id: string;
38
+ name: string;
39
+ filterComponentType: "Rate";
40
+ filterFn: (value: string) => (i: Record) => boolean;
41
+ } | {
42
+ searchDefaultConditions: "like";
34
43
  type: string;
35
44
  id: string;
36
45
  name: string;
37
46
  filterComponentType: "Input";
38
47
  filterFn: (value: string) => (i: Record) => boolean;
39
- }[];
48
+ })[];
40
49
  }
41
50
  export default Ordinary;
@@ -31,6 +31,7 @@ var Ordinary = /*#__PURE__*/_createClass(function Ordinary(options) {
31
31
  _defineProperty(this, "ordinaryHeader", void 0);
32
32
  _defineProperty(this, "ordinarySerial", void 0);
33
33
  _defineProperty(this, "isCombinationComponent", void 0);
34
+ _defineProperty(this, "canSort", void 0);
34
35
  _defineProperty(this, "children", void 0);
35
36
  _defineProperty(this, "editRender", function () {
36
37
  var _this$componentConfig, _this$componentConfig2;
@@ -77,6 +78,7 @@ var Ordinary = /*#__PURE__*/_createClass(function Ordinary(options) {
77
78
  this.ordinaryHeader = new OrdinaryHeader(options);
78
79
  this.ordinarySerial = new OrdinarySerial(options);
79
80
  this.isCombinationComponent = true;
81
+ this.canSort = false;
80
82
  this.children = [this.ordinaryHeader, this.ordinaryMoney, this.ordinarySerial];
81
83
  this.rules = (_this$componentConfig3 = this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.required ? [{
82
84
  validator: function validator(_, value) {
@@ -10,6 +10,7 @@ declare class PaymentTid implements ComponentInterface {
10
10
  align: ALignType;
11
11
  width: number;
12
12
  isCombinationComponent: boolean;
13
+ canSort: boolean;
13
14
  children: ComponentInterface[];
14
15
  constructor(options: PickOption);
15
16
  renderClient: (record: any) => React.JSX.Element | null;
@@ -19,6 +20,7 @@ declare class PaymentTid implements ComponentInterface {
19
20
  renderExport: (value: any, record: Record) => any;
20
21
  editRender: () => React.JSX.Element;
21
22
  filterConfig: (item: ColumnConfig) => {
23
+ searchDefaultConditions: "eq";
22
24
  type: string;
23
25
  id: string;
24
26
  name: string;
@@ -10,6 +10,7 @@ import { ApaasInput } from '@kmkf-fe-packages/basic-components';
10
10
  import GetFormItem from "../GetFormItem";
11
11
  import ItemView from "../../commonComponents/ItemView";
12
12
  import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
13
+ import { SYMBOL } from "../../constant";
13
14
  var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
14
15
  var _this = this;
15
16
  _classCallCheck(this, PaymentTid);
@@ -22,6 +23,7 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
22
23
  _defineProperty(this, "align", void 0);
23
24
  _defineProperty(this, "width", void 0);
24
25
  _defineProperty(this, "isCombinationComponent", void 0);
26
+ _defineProperty(this, "canSort", void 0);
25
27
  _defineProperty(this, "children", void 0);
26
28
  _defineProperty(this, "renderClient", function (record) {
27
29
  return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
@@ -65,6 +67,7 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
65
67
  });
66
68
  _defineProperty(this, "filterConfig", function (item) {
67
69
  return {
70
+ searchDefaultConditions: SYMBOL.eq,
68
71
  type: item.type,
69
72
  id: "".concat(item.id, "_enterprisePaymentAlipayNick"),
70
73
  name: "".concat(item.name, "-\u652F\u4ED8\u5B9D\u59D3\u540D"),
@@ -85,6 +88,7 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
85
88
  this.align = 'left';
86
89
  this.width = 200;
87
90
  this.isCombinationComponent = false;
91
+ this.canSort = true;
88
92
  this.children = [];
89
93
  });
90
94
  export default PaymentTid;
@@ -10,6 +10,7 @@ declare class AlipayNo implements ComponentInterface {
10
10
  align: ALignType;
11
11
  width: number;
12
12
  isCombinationComponent: boolean;
13
+ canSort: boolean;
13
14
  children: ComponentInterface[];
14
15
  constructor(options: PickOption);
15
16
  renderClient: (record: any) => React.JSX.Element | null;
@@ -19,6 +20,7 @@ declare class AlipayNo implements ComponentInterface {
19
20
  renderExport: (value: any, record: Record) => any;
20
21
  editRender: () => React.JSX.Element;
21
22
  filterConfig: (item: ColumnConfig) => {
23
+ searchDefaultConditions: "eq";
22
24
  type: string;
23
25
  id: string;
24
26
  name: string;
@@ -10,6 +10,7 @@ import { ApaasInput } from '@kmkf-fe-packages/basic-components';
10
10
  import GetFormItem from "../GetFormItem";
11
11
  import ItemView from "../../commonComponents/ItemView";
12
12
  import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
13
+ import { SYMBOL } from "../../constant";
13
14
  var AlipayNo = /*#__PURE__*/_createClass(function AlipayNo(options) {
14
15
  var _this = this;
15
16
  _classCallCheck(this, AlipayNo);
@@ -22,6 +23,7 @@ var AlipayNo = /*#__PURE__*/_createClass(function AlipayNo(options) {
22
23
  _defineProperty(this, "align", void 0);
23
24
  _defineProperty(this, "width", void 0);
24
25
  _defineProperty(this, "isCombinationComponent", void 0);
26
+ _defineProperty(this, "canSort", void 0);
25
27
  _defineProperty(this, "children", void 0);
26
28
  _defineProperty(this, "renderClient", function (record) {
27
29
  return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
@@ -65,6 +67,7 @@ var AlipayNo = /*#__PURE__*/_createClass(function AlipayNo(options) {
65
67
  });
66
68
  _defineProperty(this, "filterConfig", function (item) {
67
69
  return {
70
+ searchDefaultConditions: SYMBOL.eq,
68
71
  type: item.type,
69
72
  id: "".concat(item.id, "_enterprisePaymentAlipayNo"),
70
73
  name: "".concat(item.name, "-\u652F\u4ED8\u5B9D\u8D26\u53F7"),
@@ -83,6 +86,7 @@ var AlipayNo = /*#__PURE__*/_createClass(function AlipayNo(options) {
83
86
  this.effects = options.effects;
84
87
  this.width = 200;
85
88
  this.isCombinationComponent = false;
89
+ this.canSort = true;
86
90
  this.children = [];
87
91
  this.rules = [{
88
92
  validator: function validator(_, value) {
@@ -9,6 +9,7 @@ declare class AlipayTime implements ComponentInterface {
9
9
  align: ALignType;
10
10
  width: number;
11
11
  isCombinationComponent: boolean;
12
+ canSort: boolean;
12
13
  children: ComponentInterface[];
13
14
  constructor(options: PickOption);
14
15
  renderClient: (record: Record) => React.JSX.Element | null;
@@ -18,11 +19,13 @@ declare class AlipayTime implements ComponentInterface {
18
19
  renderExport: (value: string) => string | null;
19
20
  editRender: () => React.JSX.Element;
20
21
  filterConfig: (item: ColumnConfig) => {
22
+ searchDefaultConditions: "between";
21
23
  type: string;
22
24
  id: string;
23
25
  name: string;
24
26
  filterComponentType: "Date";
25
27
  filterFn: (value: string[]) => (i: Record) => boolean;
28
+ formatFilterValue: (val: Array<any>) => number[] | undefined;
26
29
  };
27
30
  }
28
31
  export default AlipayTime;
@@ -11,6 +11,7 @@ import moment from 'moment';
11
11
  import GetFormItem from "../GetFormItem";
12
12
  import ItemView from "../../commonComponents/ItemView";
13
13
  import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
14
+ import { SYMBOL } from "../../constant";
14
15
  var AlipayTime = /*#__PURE__*/_createClass(function AlipayTime(options) {
15
16
  var _this = this;
16
17
  _classCallCheck(this, AlipayTime);
@@ -22,6 +23,7 @@ var AlipayTime = /*#__PURE__*/_createClass(function AlipayTime(options) {
22
23
  _defineProperty(this, "align", void 0);
23
24
  _defineProperty(this, "width", void 0);
24
25
  _defineProperty(this, "isCombinationComponent", void 0);
26
+ _defineProperty(this, "canSort", void 0);
25
27
  _defineProperty(this, "children", void 0);
26
28
  _defineProperty(this, "renderClient", function (record) {
27
29
  return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
@@ -60,6 +62,7 @@ var AlipayTime = /*#__PURE__*/_createClass(function AlipayTime(options) {
60
62
  });
61
63
  _defineProperty(this, "filterConfig", function (item) {
62
64
  return {
65
+ searchDefaultConditions: SYMBOL.between,
63
66
  type: item.type,
64
67
  id: "".concat(item.id, "_enterprisePaymentTime"),
65
68
  name: "".concat(item.name, "-\u6253\u6B3E\u65F6\u95F4"),
@@ -69,6 +72,13 @@ var AlipayTime = /*#__PURE__*/_createClass(function AlipayTime(options) {
69
72
  var recordDateTime = _filterFn.filterTableListItemColumnValue(i, item.id, 'enterprisePaymentTime');
70
73
  return _filterFn.filterDateFn(value, recordDateTime);
71
74
  };
75
+ },
76
+ formatFilterValue: function formatFilterValue(val) {
77
+ if ((val === null || val === void 0 ? void 0 : val.length) > 0) {
78
+ return val === null || val === void 0 ? void 0 : val.map(function (v) {
79
+ return moment(v).valueOf();
80
+ });
81
+ }
72
82
  }
73
83
  };
74
84
  });
@@ -80,6 +90,7 @@ var AlipayTime = /*#__PURE__*/_createClass(function AlipayTime(options) {
80
90
  this.align = 'left';
81
91
  this.width = 200;
82
92
  this.isCombinationComponent = false;
93
+ this.canSort = true;
83
94
  this.children = [];
84
95
  });
85
96
  export default AlipayTime;
@@ -10,6 +10,7 @@ declare class BuyerNick implements ComponentInterface {
10
10
  align: ALignType;
11
11
  width: number;
12
12
  isCombinationComponent: boolean;
13
+ canSort: boolean;
13
14
  children: ComponentInterface[];
14
15
  constructor(options: PickOption);
15
16
  renderClient: (record: Record) => React.JSX.Element | null;
@@ -19,6 +20,7 @@ declare class BuyerNick implements ComponentInterface {
19
20
  getComponentValue: (r: Record) => any;
20
21
  renderExport: (value: string) => string;
21
22
  filterConfig: (item: ColumnConfig) => {
23
+ searchDefaultConditions: "like";
22
24
  type: string;
23
25
  id: string;
24
26
  name: string;
@@ -17,6 +17,7 @@ import GetFormItem from "../GetFormItem";
17
17
  import ItemView from "../../commonComponents/ItemView";
18
18
  import PlatBuyer from "../../commonComponents/PlatBuyer";
19
19
  import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
20
+ import { SYMBOL } from "../../constant";
20
21
  var BuyerNick = /*#__PURE__*/_createClass(function BuyerNick(options) {
21
22
  var _this = this;
22
23
  _classCallCheck(this, BuyerNick);
@@ -29,6 +30,7 @@ var BuyerNick = /*#__PURE__*/_createClass(function BuyerNick(options) {
29
30
  _defineProperty(this, "align", void 0);
30
31
  _defineProperty(this, "width", void 0);
31
32
  _defineProperty(this, "isCombinationComponent", void 0);
33
+ _defineProperty(this, "canSort", void 0);
32
34
  _defineProperty(this, "children", void 0);
33
35
  _defineProperty(this, "renderClient", function (record) {
34
36
  return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
@@ -82,6 +84,7 @@ var BuyerNick = /*#__PURE__*/_createClass(function BuyerNick(options) {
82
84
  });
83
85
  _defineProperty(this, "filterConfig", function (item) {
84
86
  return {
87
+ searchDefaultConditions: SYMBOL.like,
85
88
  type: item.type,
86
89
  id: "".concat(item.id, "_enterprisePaymentBuyerNick"),
87
90
  name: "".concat(item.name, "-\u4E70\u5BB6\u6635\u79F0"),
@@ -102,6 +105,7 @@ var BuyerNick = /*#__PURE__*/_createClass(function BuyerNick(options) {
102
105
  this.align = 'left';
103
106
  this.width = 200;
104
107
  this.isCombinationComponent = false;
108
+ this.canSort = true;
105
109
  this.children = [];
106
110
  });
107
111
  export default BuyerNick;
@@ -9,6 +9,7 @@ declare class PaymentAmount implements ComponentInterface {
9
9
  align: ALignType;
10
10
  width: number;
11
11
  isCombinationComponent: boolean;
12
+ canSort: boolean;
12
13
  children: ComponentInterface[];
13
14
  constructor(options: PickOption);
14
15
  renderClient: (record: Record) => React.JSX.Element | null;
@@ -18,10 +19,11 @@ declare class PaymentAmount implements ComponentInterface {
18
19
  renderExport: (value: string) => string;
19
20
  editRender: () => React.JSX.Element;
20
21
  filterConfig: (item: ColumnConfig) => {
22
+ searchDefaultConditions: "between";
21
23
  type: string;
22
24
  id: string;
23
25
  name: string;
24
- filterComponentType: "Input";
26
+ filterComponentType: "Rate";
25
27
  filterFn: (value: string) => (i: Record) => boolean;
26
28
  };
27
29
  }
@@ -10,6 +10,7 @@ import { ApaasInput } from '@kmkf-fe-packages/basic-components';
10
10
  import GetFormItem from "../GetFormItem";
11
11
  import ItemView from "../../commonComponents/ItemView";
12
12
  import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
13
+ import { SYMBOL } from "../../constant";
13
14
  var PaymentAmount = /*#__PURE__*/_createClass(function PaymentAmount(options) {
14
15
  var _this = this;
15
16
  _classCallCheck(this, PaymentAmount);
@@ -21,6 +22,7 @@ var PaymentAmount = /*#__PURE__*/_createClass(function PaymentAmount(options) {
21
22
  _defineProperty(this, "align", void 0);
22
23
  _defineProperty(this, "width", void 0);
23
24
  _defineProperty(this, "isCombinationComponent", void 0);
25
+ _defineProperty(this, "canSort", void 0);
24
26
  _defineProperty(this, "children", void 0);
25
27
  _defineProperty(this, "renderClient", function (record) {
26
28
  return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
@@ -55,10 +57,11 @@ var PaymentAmount = /*#__PURE__*/_createClass(function PaymentAmount(options) {
55
57
  });
56
58
  _defineProperty(this, "filterConfig", function (item) {
57
59
  return {
60
+ searchDefaultConditions: SYMBOL.between,
58
61
  type: item.type,
59
62
  id: "".concat(item.id, "_enterprisePaymentRefundFee"),
60
63
  name: "".concat(item.name, "-\u6253\u6B3E\u91D1\u989D"),
61
- filterComponentType: 'Input',
64
+ filterComponentType: 'Rate',
62
65
  filterFn: function filterFn(value) {
63
66
  return function (i) {
64
67
  return "".concat(_filterFn.filterTableListItemColumnValue(i, item.id, 'enterprisePaymentRefundFee')).includes(value);
@@ -71,6 +74,7 @@ var PaymentAmount = /*#__PURE__*/_createClass(function PaymentAmount(options) {
71
74
  this.type = options.type;
72
75
  this.componentConfig = options.componentConfig;
73
76
  this.isCombinationComponent = false;
77
+ this.canSort = true;
74
78
  this.children = [];
75
79
  this.rules = [{
76
80
  validator: function validator(_, value) {
@@ -16,6 +16,7 @@ declare class PaymentStatus implements ComponentInterface {
16
16
  value: string;
17
17
  }[];
18
18
  isCombinationComponent: boolean;
19
+ canSort: boolean;
19
20
  children: ComponentInterface[];
20
21
  constructor(options: PickOption);
21
22
  renderClient: (record: any) => React.JSX.Element | null;
@@ -25,14 +26,17 @@ declare class PaymentStatus implements ComponentInterface {
25
26
  renderExport: (value: any) => any;
26
27
  editRender: () => null;
27
28
  filterConfig: (item: ColumnConfig) => {
29
+ searchDefaultConditions: "in";
28
30
  type: string;
29
31
  id: string;
30
32
  name: string;
31
33
  filterComponentType: "MultipleSelect";
32
- options: {
33
- label: string;
34
- value: string;
35
- }[];
34
+ props: {
35
+ options: {
36
+ label: string;
37
+ value: string;
38
+ }[];
39
+ };
36
40
  filterFn: (value: string) => (i: Record) => boolean;
37
41
  };
38
42
  }
@@ -8,6 +8,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
8
8
  import React from 'react';
9
9
  import ItemView from "../../commonComponents/ItemView";
10
10
  import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
11
+ import { SYMBOL } from "../../constant";
11
12
  var PaymentStatus = /*#__PURE__*/_createClass(function PaymentStatus(options) {
12
13
  var _this = this;
13
14
  _classCallCheck(this, PaymentStatus);
@@ -21,6 +22,7 @@ var PaymentStatus = /*#__PURE__*/_createClass(function PaymentStatus(options) {
21
22
  _defineProperty(this, "paymentStatus", void 0);
22
23
  _defineProperty(this, "paymentStatusOptions", void 0);
23
24
  _defineProperty(this, "isCombinationComponent", void 0);
25
+ _defineProperty(this, "canSort", void 0);
24
26
  _defineProperty(this, "children", void 0);
25
27
  _defineProperty(this, "renderClient", function (record) {
26
28
  return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
@@ -48,11 +50,14 @@ var PaymentStatus = /*#__PURE__*/_createClass(function PaymentStatus(options) {
48
50
  });
49
51
  _defineProperty(this, "filterConfig", function (item) {
50
52
  return {
53
+ searchDefaultConditions: SYMBOL.in,
51
54
  type: item.type,
52
55
  id: "".concat(item.id, "_enterprisePaymentStatus"),
53
56
  name: "".concat(item.name, "-\u6253\u6B3E\u72B6\u6001"),
54
57
  filterComponentType: 'MultipleSelect',
55
- options: _this.paymentStatusOptions,
58
+ props: {
59
+ options: _this.paymentStatusOptions
60
+ },
56
61
  filterFn: function filterFn(value) {
57
62
  return function (i) {
58
63
  return value === null || value === void 0 ? void 0 : value.includes(_filterFn.filterTableListItemColumnValue(i, item.id, 'enterprisePaymentStatus'));
@@ -99,6 +104,7 @@ var PaymentStatus = /*#__PURE__*/_createClass(function PaymentStatus(options) {
99
104
  value: '支付宝打款关闭'
100
105
  }];
101
106
  this.isCombinationComponent = false;
107
+ this.canSort = true;
102
108
  this.children = [];
103
109
  });
104
110
  export default PaymentStatus;
@@ -9,6 +9,7 @@ declare class PaymentTid implements ComponentInterface {
9
9
  align: ALignType;
10
10
  width: number;
11
11
  isCombinationComponent: boolean;
12
+ canSort: boolean;
12
13
  children: ComponentInterface[];
13
14
  constructor(options: PickOption);
14
15
  renderClient: (record: any) => React.JSX.Element | null;
@@ -18,11 +19,13 @@ declare class PaymentTid implements ComponentInterface {
18
19
  renderExport: (value: string) => string;
19
20
  editRender: () => React.JSX.Element;
20
21
  filterConfig: (item: ColumnConfig) => {
22
+ searchDefaultConditions: "in";
21
23
  type: string;
22
24
  id: string;
23
25
  name: string;
24
26
  filterComponentType: "Input";
25
27
  filterFn: (value: string) => (i: Record) => boolean;
28
+ formatFilterValue: (input: string) => string[];
26
29
  };
27
30
  }
28
31
  export default PaymentTid;