@kmkf-fe-packages/services-components 0.7.3-alpha.0 → 0.7.3-alpha.10

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