@kmkf-fe-packages/services-components 0.7.3-alpha.9 → 0.7.4

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