@kmkf-fe-packages/services-components 0.7.3-alpha.5 → 0.7.3-alpha.7

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 +1 -0
  2. package/dist/esm/components/ActualPayment/index.js +2 -0
  3. package/dist/esm/components/Address/index.d.ts +3 -0
  4. package/dist/esm/components/Address/index.js +8 -0
  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 +3 -1
  14. package/dist/esm/components/Cascader/index.js +8 -1
  15. package/dist/esm/components/Checkbox/index.d.ts +1 -0
  16. package/dist/esm/components/Checkbox/index.js +2 -0
  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 +1 -0
  20. package/dist/esm/components/CompletedUser/index.js +2 -0
  21. package/dist/esm/components/DataTime/index.d.ts +2 -0
  22. package/dist/esm/components/DataTime/index.js +9 -0
  23. package/dist/esm/components/EItemEnCode/index.d.ts +2 -1
  24. package/dist/esm/components/EItemEnCode/index.js +3 -1
  25. package/dist/esm/components/EItemId/index.d.ts +2 -1
  26. package/dist/esm/components/EItemId/index.js +3 -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 +2 -0
  30. package/dist/esm/components/ErpTradeId/index.js +5 -0
  31. package/dist/esm/components/Express/index.d.ts +1 -0
  32. package/dist/esm/components/Express/index.js +2 -0
  33. package/dist/esm/components/ExpressCode/index.d.ts +1 -0
  34. package/dist/esm/components/ExpressCode/index.js +2 -0
  35. package/dist/esm/components/FlowStatusSelect/index.d.ts +1 -0
  36. package/dist/esm/components/FlowStatusSelect/index.js +2 -0
  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 +1 -0
  40. package/dist/esm/components/Handler/index.js +2 -0
  41. package/dist/esm/components/Input/index.d.ts +2 -1
  42. package/dist/esm/components/Input/index.js +3 -1
  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 +2 -1
  46. package/dist/esm/components/JstLogistics/index.js +3 -1
  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 +1 -0
  56. package/dist/esm/components/LogisticsInterception/InterceptStatus.js +2 -0
  57. package/dist/esm/components/LogisticsInterception/InterceptType.d.ts +1 -0
  58. package/dist/esm/components/LogisticsInterception/InterceptType.js +2 -0
  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 +1 -0
  64. package/dist/esm/components/MultSelect/index.js +2 -0
  65. package/dist/esm/components/Ordinary/OrdinaryHeader.d.ts +2 -1
  66. package/dist/esm/components/Ordinary/OrdinaryHeader.js +3 -1
  67. package/dist/esm/components/Ordinary/OrdinaryMoney.d.ts +1 -0
  68. package/dist/esm/components/Ordinary/OrdinaryMoney.js +2 -0
  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 +1 -0
  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 +1 -0
  82. package/dist/esm/components/Payment/PaymentAmount.js +2 -0
  83. package/dist/esm/components/Payment/PaymentStatus.d.ts +1 -0
  84. package/dist/esm/components/Payment/PaymentStatus.js +2 -0
  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 +1 -0
  94. package/dist/esm/components/Radio/index.js +2 -0
  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 +3 -1
  101. package/dist/esm/components/ReceiverName/index.d.ts +2 -1
  102. package/dist/esm/components/ReceiverName/index.js +3 -1
  103. package/dist/esm/components/Remark/index.d.ts +2 -1
  104. package/dist/esm/components/Remark/index.js +3 -1
  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 +1 -0
  108. package/dist/esm/components/Select/index.js +2 -0
  109. package/dist/esm/components/ShopInput/index.d.ts +1 -0
  110. package/dist/esm/components/ShopInput/index.js +2 -0
  111. package/dist/esm/components/ShopName/index.d.ts +2 -1
  112. package/dist/esm/components/ShopName/index.js +3 -1
  113. package/dist/esm/components/Submitter/index.d.ts +1 -0
  114. package/dist/esm/components/Submitter/index.js +2 -0
  115. package/dist/esm/components/SystemOrderNo/index.d.ts +2 -0
  116. package/dist/esm/components/SystemOrderNo/index.js +5 -0
  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 +3 -1
  121. package/dist/esm/components/ThirdItemSelect/index.d.ts +2 -1
  122. package/dist/esm/components/ThirdItemSelect/index.js +3 -1
  123. package/dist/esm/components/TradeDateTime/index.d.ts +2 -0
  124. package/dist/esm/components/TradeDateTime/index.js +10 -0
  125. package/dist/esm/components/TradeId/index.d.ts +2 -0
  126. package/dist/esm/components/TradeId/index.js +5 -0
  127. package/dist/esm/components/WorkOrderId/index.d.ts +2 -1
  128. package/dist/esm/components/WorkOrderId/index.js +3 -1
  129. package/dist/esm/type.d.ts +3 -0
  130. package/package.json +2 -2
@@ -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;
@@ -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,6 +22,7 @@ var PaymentAmount = /*#__PURE__*/_createClass(function PaymentAmount(options) {
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, "renderClient", function (record) {
27
28
  return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
@@ -73,6 +74,7 @@ var PaymentAmount = /*#__PURE__*/_createClass(function PaymentAmount(options) {
73
74
  this.type = options.type;
74
75
  this.componentConfig = options.componentConfig;
75
76
  this.isCombinationComponent = false;
77
+ this.canSort = true;
76
78
  this.children = [];
77
79
  this.rules = [{
78
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;
@@ -22,6 +22,7 @@ var PaymentStatus = /*#__PURE__*/_createClass(function PaymentStatus(options) {
22
22
  _defineProperty(this, "paymentStatus", void 0);
23
23
  _defineProperty(this, "paymentStatusOptions", 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
  return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
@@ -103,6 +104,7 @@ var PaymentStatus = /*#__PURE__*/_createClass(function PaymentStatus(options) {
103
104
  value: '支付宝打款关闭'
104
105
  }];
105
106
  this.isCombinationComponent = false;
107
+ this.canSort = true;
106
108
  this.children = [];
107
109
  });
108
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;
@@ -24,6 +25,7 @@ declare class PaymentTid implements ComponentInterface {
24
25
  name: string;
25
26
  filterComponentType: "Input";
26
27
  filterFn: (value: string) => (i: Record) => boolean;
28
+ formatFilterValue: (input: string) => string[];
27
29
  };
28
30
  }
29
31
  export default PaymentTid;
@@ -22,6 +22,7 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
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, "renderClient", function (record) {
27
28
  return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
@@ -65,6 +66,9 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
65
66
  return function (i) {
66
67
  return _filterFn.filterSplitComma(_filterFn.filterTableListItemColumnValue(i, item.id, 'enterprisePaymentTid'), value);
67
68
  };
69
+ },
70
+ formatFilterValue: function formatFilterValue(input) {
71
+ return input.split(/[,|,]/);
68
72
  }
69
73
  };
70
74
  });
@@ -76,6 +80,7 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
76
80
  this.align = 'left';
77
81
  this.width = 200;
78
82
  this.isCombinationComponent = false;
83
+ this.canSort = true;
79
84
  this.children = [];
80
85
  });
81
86
  export default PaymentTid;
@@ -21,6 +21,7 @@ declare class Logistics implements ComponentInterface {
21
21
  alipayNo: AlipayNo;
22
22
  payTime: AlipayTime;
23
23
  isCombinationComponent: boolean;
24
+ canSort: boolean;
24
25
  children: ComponentInterface[];
25
26
  constructor(options: PickOption);
26
27
  renderClient: (record: any) => React.JSX.Element;
@@ -49,7 +50,7 @@ declare class Logistics implements ComponentInterface {
49
50
  type: string;
50
51
  id: string;
51
52
  name: string;
52
- filterComponentType: "Input";
53
+ filterComponentType: "Rate";
53
54
  filterFn: (value: string) => (i: Record) => boolean;
54
55
  } | {
55
56
  searchDefaultConditions: "in";
@@ -57,10 +58,12 @@ declare class Logistics implements ComponentInterface {
57
58
  id: string;
58
59
  name: string;
59
60
  filterComponentType: "MultipleSelect";
60
- options: {
61
- label: string;
62
- value: string;
63
- }[];
61
+ props: {
62
+ options: {
63
+ label: string;
64
+ value: string;
65
+ }[];
66
+ };
64
67
  filterFn: (value: string) => (i: Record) => boolean;
65
68
  } | {
66
69
  searchDefaultConditions: "between";
@@ -34,6 +34,7 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
34
34
  _defineProperty(this, "alipayNo", void 0);
35
35
  _defineProperty(this, "payTime", void 0);
36
36
  _defineProperty(this, "isCombinationComponent", void 0);
37
+ _defineProperty(this, "canSort", void 0);
37
38
  _defineProperty(this, "children", void 0);
38
39
  _defineProperty(this, "renderClient", function (record) {
39
40
  return /*#__PURE__*/React.createElement(React.Fragment, null, _this.alipayNick.renderClient(record), _this.paymentAmount.renderClient(record), _this.alipayNo.renderClient(record), _this.buyerNick.renderClient(record), _this.paymentTid.renderClient(record), _this.paymentStatus.renderClient(record), _this.payTime.renderClient(record));
@@ -85,6 +86,7 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
85
86
  this.alipayNo = new AlipayNo(options);
86
87
  this.payTime = new AlipayTime(options);
87
88
  this.isCombinationComponent = true;
89
+ this.canSort = false;
88
90
  this.children = [this.alipayNick, this.alipayNo, this.buyerNick, this.paymentAmount, this.paymentStatus, this.paymentTid, this.payTime];
89
91
  this.rules = [{
90
92
  validator: function validator(_, value) {
@@ -8,6 +8,7 @@ declare class BasicPicture implements ComponentInterface {
8
8
  rules: any[];
9
9
  componentConfig: ComponentInterface["componentConfig"];
10
10
  isCombinationComponent: boolean;
11
+ canSort: boolean;
11
12
  children: ComponentInterface[];
12
13
  constructor(options: PickOption);
13
14
  formatPictures: (pictures: string) => string[];
@@ -22,6 +22,7 @@ var BasicPicture = /*#__PURE__*/_createClass(function BasicPicture(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, "formatPictures", function (pictures) {
27
28
  pictures = pictures.replace(/[\[\]]/g, '');
@@ -108,6 +109,7 @@ var BasicPicture = /*#__PURE__*/_createClass(function BasicPicture(options) {
108
109
  this.componentConfig = options.componentConfig;
109
110
  this.rules = [];
110
111
  this.isCombinationComponent = false;
112
+ this.canSort = true;
111
113
  this.children = [];
112
114
  });
113
115
  export default BasicPicture;
@@ -7,6 +7,7 @@ declare class PlatForm implements ComponentInterface {
7
7
  type: string;
8
8
  componentConfig: ComponentInterface["componentConfig"];
9
9
  isCombinationComponent: boolean;
10
+ canSort: boolean;
10
11
  children: ComponentInterface[];
11
12
  platInstance: InstanceType<typeof PlatData>;
12
13
  constructor();
@@ -16,6 +16,7 @@ var PlatForm = /*#__PURE__*/_createClass(function PlatForm() {
16
16
  _defineProperty(this, "type", void 0);
17
17
  _defineProperty(this, "componentConfig", void 0);
18
18
  _defineProperty(this, "isCombinationComponent", void 0);
19
+ _defineProperty(this, "canSort", void 0);
19
20
  _defineProperty(this, "children", void 0);
20
21
  _defineProperty(this, "platInstance", void 0);
21
22
  _defineProperty(this, "renderPc", function (value, record) {
@@ -63,6 +64,7 @@ var PlatForm = /*#__PURE__*/_createClass(function PlatForm() {
63
64
  this.id = "platform";
64
65
  this.type = "PLATFORM_INPUT";
65
66
  this.isCombinationComponent = false;
67
+ this.canSort = false;
66
68
  this.children = [];
67
69
  this.platInstance = PlatData.getInstance();
68
70
  });
@@ -11,6 +11,7 @@ declare class BasicRadio implements ComponentInterface {
11
11
  rules: any[];
12
12
  componentConfig: ComponentInterface["componentConfig"];
13
13
  isCombinationComponent: boolean;
14
+ canSort: boolean;
14
15
  children: ComponentInterface[];
15
16
  constructor(options: PickOption);
16
17
  render: (value: Value) => React.JSX.Element;
@@ -22,6 +22,7 @@ var BasicRadio = /*#__PURE__*/_createClass(function BasicRadio(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, "render", function (value) {
27
28
  var _value$value;
@@ -93,6 +94,7 @@ var BasicRadio = /*#__PURE__*/_createClass(function BasicRadio(options) {
93
94
  this.id = options.id;
94
95
  this.type = options.type;
95
96
  this.isCombinationComponent = false;
97
+ this.canSort = true;
96
98
  this.children = [];
97
99
  this.componentConfig = options.componentConfig;
98
100
  this.rules = (_this$componentConfig3 = this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.required ? [{
@@ -15,6 +15,7 @@ declare class BasicRate implements ComponentInterface {
15
15
  [prop in number]: string;
16
16
  };
17
17
  isCombinationComponent: boolean;
18
+ canSort: boolean;
18
19
  children: ComponentInterface[];
19
20
  constructor(options: PickOption);
20
21
  render: (value: Value) => React.JSX.Element;
@@ -22,6 +22,7 @@ var BasicRate = /*#__PURE__*/_createClass(function BasicRate(options) {
22
22
  _defineProperty(this, "componentConfig", void 0);
23
23
  _defineProperty(this, "rateMap", 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, "render", function (value) {
27
28
  return /*#__PURE__*/React.createElement("div", null, value === null || value === void 0 ? void 0 : value.map(function (item) {
@@ -124,6 +125,7 @@ var BasicRate = /*#__PURE__*/_createClass(function BasicRate(options) {
124
125
  this.type = options.type;
125
126
  this.componentConfig = options.componentConfig;
126
127
  this.isCombinationComponent = false;
128
+ this.canSort = true;
127
129
  this.children = [];
128
130
  this.rules = [];
129
131
  this.rateMap = {
@@ -13,6 +13,7 @@ declare class BasicInput implements ComponentInterface {
13
13
  componentConfig: ComponentInterface["componentConfig"];
14
14
  effects: ComponentInterface["effects"];
15
15
  isCombinationComponent: boolean;
16
+ canSort: boolean;
16
17
  children: ComponentInterface[];
17
18
  addressDateInstance: InstanceType<typeof AddressData>;
18
19
  constructor(options: PickOption);
@@ -23,6 +23,7 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
23
23
  _defineProperty(this, "componentConfig", void 0);
24
24
  _defineProperty(this, "effects", 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, "addressDateInstance", void 0);
28
29
  _defineProperty(this, "render", function (value) {
@@ -107,6 +108,7 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
107
108
  this.type = options.type;
108
109
  this.componentConfig = options.componentConfig;
109
110
  this.isCombinationComponent = false;
111
+ this.canSort = true;
110
112
  this.children = [];
111
113
  this.rules = (_this$componentConfig3 = this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.required ? [{
112
114
  validator: function validator(_, value) {
@@ -8,6 +8,7 @@ declare class ReceiverMobile implements ComponentInterface {
8
8
  componentConfig: ComponentInterface["componentConfig"];
9
9
  effects: ComponentInterface["effects"];
10
10
  isCombinationComponent: boolean;
11
+ canSort: boolean;
11
12
  children: ComponentInterface[];
12
13
  constructor(options: PickOption);
13
14
  renderClient: (record: Record) => React.JSX.Element | null;
@@ -17,7 +18,7 @@ declare class ReceiverMobile implements ComponentInterface {
17
18
  renderExport: (value: any, record: Record) => any;
18
19
  editRender: (value: any) => React.JSX.Element;
19
20
  filterConfig: (item: ColumnConfig) => {
20
- searchDefaultConditions: "in";
21
+ searchDefaultConditions: "eq";
21
22
  type: string;
22
23
  id: string;
23
24
  name: string;
@@ -22,6 +22,7 @@ var ReceiverMobile = /*#__PURE__*/_createClass(function ReceiverMobile(options)
22
22
  _defineProperty(this, "componentConfig", void 0);
23
23
  _defineProperty(this, "effects", 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
  return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
@@ -69,7 +70,7 @@ var ReceiverMobile = /*#__PURE__*/_createClass(function ReceiverMobile(options)
69
70
  });
70
71
  _defineProperty(this, "filterConfig", function (item) {
71
72
  return {
72
- searchDefaultConditions: SYMBOL.in,
73
+ searchDefaultConditions: SYMBOL.eq,
73
74
  type: item.type,
74
75
  id: item.id,
75
76
  // 过滤组件id
@@ -90,6 +91,7 @@ var ReceiverMobile = /*#__PURE__*/_createClass(function ReceiverMobile(options)
90
91
  this.rules = [];
91
92
  this.effects = options.effects;
92
93
  this.isCombinationComponent = false;
94
+ this.canSort = true;
93
95
  this.children = [];
94
96
  });
95
97
  export default ReceiverMobile;
@@ -8,6 +8,7 @@ declare class ReceiverName implements ComponentInterface {
8
8
  componentConfig: ComponentInterface["componentConfig"];
9
9
  effects: ComponentInterface["effects"];
10
10
  isCombinationComponent: boolean;
11
+ canSort: boolean;
11
12
  children: ComponentInterface[];
12
13
  constructor(options: PickOption);
13
14
  renderClient: (record: any) => React.JSX.Element | null;
@@ -17,7 +18,7 @@ declare class ReceiverName implements ComponentInterface {
17
18
  renderExport: (value: any, record: Record) => any;
18
19
  editRender: () => React.JSX.Element;
19
20
  filterConfig: (item: ColumnConfig) => {
20
- searchDefaultConditions: "in";
21
+ searchDefaultConditions: "eq";
21
22
  type: string;
22
23
  id: string;
23
24
  name: string;
@@ -22,6 +22,7 @@ var ReceiverName = /*#__PURE__*/_createClass(function ReceiverName(options) {
22
22
  _defineProperty(this, "componentConfig", void 0);
23
23
  _defineProperty(this, "effects", 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
  return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
@@ -66,7 +67,7 @@ var ReceiverName = /*#__PURE__*/_createClass(function ReceiverName(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: item.id,
72
73
  // 过滤组件id
@@ -87,6 +88,7 @@ var ReceiverName = /*#__PURE__*/_createClass(function ReceiverName(options) {
87
88
  this.rules = [];
88
89
  this.effects = options.effects;
89
90
  this.isCombinationComponent = false;
91
+ this.canSort = true;
90
92
  this.children = [];
91
93
  });
92
94
  export default ReceiverName;
@@ -13,6 +13,7 @@ declare class ERemark implements ComponentInterface {
13
13
  imgList: any[];
14
14
  flagColors: string[];
15
15
  isCombinationComponent: boolean;
16
+ canSort: boolean;
16
17
  children: ComponentInterface[];
17
18
  constructor(options: PickOption);
18
19
  render: (value: Value) => React.JSX.Element;
@@ -26,7 +27,7 @@ declare class ERemark implements ComponentInterface {
26
27
  renderExport: (value: unknown, record: Record) => any;
27
28
  editRender: () => React.JSX.Element;
28
29
  filterConfig: (item: ColumnConfig) => {
29
- searchDefaultConditions: "in";
30
+ searchDefaultConditions: "like";
30
31
  type: string;
31
32
  id: string;
32
33
  name: string;