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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (132) hide show
  1. package/dist/esm/components/ActualPayment/index.d.ts +3 -1
  2. package/dist/esm/components/ActualPayment/index.js +6 -2
  3. package/dist/esm/components/Address/index.d.ts +20 -3
  4. package/dist/esm/components/Address/index.js +33 -3
  5. package/dist/esm/components/Alipay/index.d.ts +2 -0
  6. package/dist/esm/components/Alipay/index.js +2 -0
  7. package/dist/esm/components/AlipayAccount/index.d.ts +2 -0
  8. package/dist/esm/components/AlipayAccount/index.js +4 -0
  9. package/dist/esm/components/AlipayName/index.d.ts +2 -0
  10. package/dist/esm/components/AlipayName/index.js +4 -0
  11. package/dist/esm/components/BuyerNick/index.d.ts +2 -0
  12. package/dist/esm/components/BuyerNick/index.js +4 -0
  13. package/dist/esm/components/Cascader/index.d.ts +11 -1
  14. package/dist/esm/components/Cascader/index.js +18 -2
  15. package/dist/esm/components/Checkbox/index.d.ts +5 -1
  16. package/dist/esm/components/Checkbox/index.js +11 -5
  17. package/dist/esm/components/CommonDataTime/index.d.ts +3 -0
  18. package/dist/esm/components/CommonDataTime/index.js +11 -0
  19. package/dist/esm/components/CompletedUser/index.d.ts +8 -4
  20. package/dist/esm/components/CompletedUser/index.js +7 -1
  21. package/dist/esm/components/DataTime/index.d.ts +6 -1
  22. package/dist/esm/components/DataTime/index.js +15 -2
  23. package/dist/esm/components/EItemEnCode/index.d.ts +2 -0
  24. package/dist/esm/components/EItemEnCode/index.js +5 -1
  25. package/dist/esm/components/EItemId/index.d.ts +2 -0
  26. package/dist/esm/components/EItemId/index.js +5 -1
  27. package/dist/esm/components/EItemSelect/index.d.ts +1 -0
  28. package/dist/esm/components/EItemSelect/index.js +2 -0
  29. package/dist/esm/components/ErpTradeId/index.d.ts +3 -0
  30. package/dist/esm/components/ErpTradeId/index.js +8 -1
  31. package/dist/esm/components/Express/index.d.ts +5 -1
  32. package/dist/esm/components/Express/index.js +7 -1
  33. package/dist/esm/components/ExpressCode/index.d.ts +2 -0
  34. package/dist/esm/components/ExpressCode/index.js +4 -0
  35. package/dist/esm/components/FlowStatusSelect/index.d.ts +8 -4
  36. package/dist/esm/components/FlowStatusSelect/index.js +12 -6
  37. package/dist/esm/components/Grade/index.d.ts +1 -0
  38. package/dist/esm/components/Grade/index.js +2 -0
  39. package/dist/esm/components/Handler/index.d.ts +8 -4
  40. package/dist/esm/components/Handler/index.js +7 -1
  41. package/dist/esm/components/Input/index.d.ts +2 -0
  42. package/dist/esm/components/Input/index.js +5 -1
  43. package/dist/esm/components/JstItemSelect/index.d.ts +2 -0
  44. package/dist/esm/components/JstItemSelect/index.js +21 -15
  45. package/dist/esm/components/JstLogistics/index.d.ts +7 -2
  46. package/dist/esm/components/JstLogistics/index.js +8 -1
  47. package/dist/esm/components/JstSendGood/index.d.ts +2 -0
  48. package/dist/esm/components/JstSendGood/index.js +5 -0
  49. package/dist/esm/components/JstSupply/index.d.ts +2 -0
  50. package/dist/esm/components/JstSupply/index.js +5 -0
  51. package/dist/esm/components/Logistics/index.d.ts +5 -2
  52. package/dist/esm/components/Logistics/index.js +2 -0
  53. package/dist/esm/components/LogisticsInterception/InterceptAddress.d.ts +2 -1
  54. package/dist/esm/components/LogisticsInterception/InterceptAddress.js +2 -0
  55. package/dist/esm/components/LogisticsInterception/InterceptStatus.d.ts +9 -5
  56. package/dist/esm/components/LogisticsInterception/InterceptStatus.js +7 -1
  57. package/dist/esm/components/LogisticsInterception/InterceptType.d.ts +9 -5
  58. package/dist/esm/components/LogisticsInterception/InterceptType.js +7 -1
  59. package/dist/esm/components/LogisticsInterception/index.d.ts +11 -6
  60. package/dist/esm/components/LogisticsInterception/index.js +2 -0
  61. package/dist/esm/components/LogisticsInterception/interceptSenderMobile.d.ts +2 -0
  62. package/dist/esm/components/LogisticsInterception/interceptSenderMobile.js +4 -0
  63. package/dist/esm/components/MultSelect/index.d.ts +5 -1
  64. package/dist/esm/components/MultSelect/index.js +8 -2
  65. package/dist/esm/components/Ordinary/OrdinaryHeader.d.ts +2 -0
  66. package/dist/esm/components/Ordinary/OrdinaryHeader.js +7 -3
  67. package/dist/esm/components/Ordinary/OrdinaryMoney.d.ts +3 -1
  68. package/dist/esm/components/Ordinary/OrdinaryMoney.js +8 -4
  69. package/dist/esm/components/Ordinary/OrdinarySerial.d.ts +2 -0
  70. package/dist/esm/components/Ordinary/OrdinarySerial.js +4 -0
  71. package/dist/esm/components/Ordinary/index.d.ts +2 -1
  72. package/dist/esm/components/Ordinary/index.js +2 -0
  73. package/dist/esm/components/Payment/AlipayNick.d.ts +2 -0
  74. package/dist/esm/components/Payment/AlipayNick.js +4 -0
  75. package/dist/esm/components/Payment/AlipayNo.d.ts +2 -0
  76. package/dist/esm/components/Payment/AlipayNo.js +4 -0
  77. package/dist/esm/components/Payment/AlipayTime.d.ts +3 -0
  78. package/dist/esm/components/Payment/AlipayTime.js +11 -0
  79. package/dist/esm/components/Payment/BuyerNick.d.ts +2 -0
  80. package/dist/esm/components/Payment/BuyerNick.js +4 -0
  81. package/dist/esm/components/Payment/PaymentAmount.d.ts +3 -1
  82. package/dist/esm/components/Payment/PaymentAmount.js +5 -1
  83. package/dist/esm/components/Payment/PaymentStatus.d.ts +8 -4
  84. package/dist/esm/components/Payment/PaymentStatus.js +7 -1
  85. package/dist/esm/components/Payment/PaymentTid.d.ts +3 -0
  86. package/dist/esm/components/Payment/PaymentTid.js +7 -0
  87. package/dist/esm/components/Payment/index.d.ts +24 -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 +3 -1
  92. package/dist/esm/components/PlatForm/index.js +4 -0
  93. package/dist/esm/components/Radio/index.d.ts +5 -1
  94. package/dist/esm/components/Radio/index.js +11 -5
  95. package/dist/esm/components/Rate/index.d.ts +1 -0
  96. package/dist/esm/components/Rate/index.js +2 -0
  97. package/dist/esm/components/ReceiverAddress/index.d.ts +2 -1
  98. package/dist/esm/components/ReceiverAddress/index.js +2 -0
  99. package/dist/esm/components/ReceiverMobile/index.d.ts +2 -0
  100. package/dist/esm/components/ReceiverMobile/index.js +5 -1
  101. package/dist/esm/components/ReceiverName/index.d.ts +2 -0
  102. package/dist/esm/components/ReceiverName/index.js +5 -1
  103. package/dist/esm/components/Remark/index.d.ts +2 -0
  104. package/dist/esm/components/Remark/index.js +5 -1
  105. package/dist/esm/components/ReturnLogistics/index.d.ts +6 -1
  106. package/dist/esm/components/ReturnLogistics/index.js +2 -0
  107. package/dist/esm/components/Select/index.d.ts +5 -1
  108. package/dist/esm/components/Select/index.js +8 -2
  109. package/dist/esm/components/ShopInput/index.d.ts +7 -2
  110. package/dist/esm/components/ShopInput/index.js +17 -2
  111. package/dist/esm/components/ShopName/index.d.ts +2 -0
  112. package/dist/esm/components/ShopName/index.js +5 -1
  113. package/dist/esm/components/Submitter/index.d.ts +9 -4
  114. package/dist/esm/components/Submitter/index.js +15 -1
  115. package/dist/esm/components/SystemOrderNo/index.d.ts +3 -0
  116. package/dist/esm/components/SystemOrderNo/index.js +8 -1
  117. package/dist/esm/components/TemplateSelect/index.d.ts +2 -0
  118. package/dist/esm/components/TemplateSelect/index.js +4 -0
  119. package/dist/esm/components/TextArea/index.d.ts +2 -0
  120. package/dist/esm/components/TextArea/index.js +5 -1
  121. package/dist/esm/components/ThirdItemSelect/index.d.ts +2 -0
  122. package/dist/esm/components/ThirdItemSelect/index.js +5 -1
  123. package/dist/esm/components/TradeDateTime/index.d.ts +3 -0
  124. package/dist/esm/components/TradeDateTime/index.js +14 -2
  125. package/dist/esm/components/TradeId/index.d.ts +3 -0
  126. package/dist/esm/components/TradeId/index.js +8 -1
  127. package/dist/esm/components/WorkOrderId/index.d.ts +2 -0
  128. package/dist/esm/components/WorkOrderId/index.js +11 -1
  129. package/dist/esm/constant.d.ts +14 -0
  130. package/dist/esm/constant.js +14 -0
  131. package/dist/esm/type.d.ts +8 -2
  132. package/package.json +4 -4
@@ -9,6 +9,7 @@ declare class BasicDataTime implements ComponentInterface {
9
9
  rules: any[];
10
10
  componentConfig: ComponentInterface["componentConfig"];
11
11
  isCombinationComponent: boolean;
12
+ canSort: boolean;
12
13
  children: ComponentInterface[];
13
14
  constructor(options: PickOption);
14
15
  getValue: (value: Value) => string | undefined;
@@ -19,12 +20,16 @@ declare class BasicDataTime implements ComponentInterface {
19
20
  renderExport: (value: any, record: Record) => any;
20
21
  editRender: () => React.JSX.Element;
21
22
  filterConfig: (item: ColumnConfig) => {
23
+ searchDefaultConditions: "between";
22
24
  type: string;
23
25
  id: string;
24
26
  name: string;
25
27
  filterComponentType: "Date";
26
- options: any[];
28
+ props: {
29
+ options: any[];
30
+ };
27
31
  filterFn: (value: string[]) => (i: Record) => boolean;
32
+ formatFilterValue: (val: Array<any>) => number[] | undefined;
28
33
  };
29
34
  }
30
35
  export default BasicDataTime;
@@ -15,6 +15,7 @@ import moment from 'moment';
15
15
  import GetFormItem from "../GetFormItem";
16
16
  import ItemView from "../../commonComponents/ItemView";
17
17
  import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
18
+ import { SYMBOL } from "../../constant";
18
19
  export var DateTime = function DateTime(_ref) {
19
20
  var value = _ref.value,
20
21
  onChange = _ref.onChange,
@@ -38,6 +39,7 @@ var BasicDataTime = /*#__PURE__*/_createClass(function BasicDataTime(options) {
38
39
  _defineProperty(this, "rules", void 0);
39
40
  _defineProperty(this, "componentConfig", void 0);
40
41
  _defineProperty(this, "isCombinationComponent", void 0);
42
+ _defineProperty(this, "canSort", void 0);
41
43
  _defineProperty(this, "children", void 0);
42
44
  _defineProperty(this, "getValue", function (value) {
43
45
  return Array.isArray(value) ? value.join('~') : value;
@@ -81,18 +83,28 @@ var BasicDataTime = /*#__PURE__*/_createClass(function BasicDataTime(options) {
81
83
  _defineProperty(this, "filterConfig", function (item) {
82
84
  var _item$config;
83
85
  return {
86
+ searchDefaultConditions: SYMBOL.between,
84
87
  type: item.type,
85
- id: item.id,
88
+ id: "".concat(item.id, "_dateTime"),
86
89
  // 过滤组件id
87
90
  name: item.name,
88
91
  // 过滤组件名称
89
92
  filterComponentType: 'Date',
90
- options: (item === null || item === void 0 ? void 0 : (_item$config = item.config) === null || _item$config === void 0 ? void 0 : _item$config.options) || [],
93
+ props: {
94
+ options: (item === null || item === void 0 ? void 0 : (_item$config = item.config) === null || _item$config === void 0 ? void 0 : _item$config.options) || []
95
+ },
91
96
  filterFn: function filterFn(value) {
92
97
  return function (i) {
93
98
  var recordDateTime = _filterFn.filterTableListItemColumnValue(i, item.id, 'dateTime');
94
99
  return _filterFn.filterDateFn(value, recordDateTime);
95
100
  };
101
+ },
102
+ formatFilterValue: function formatFilterValue(val) {
103
+ if ((val === null || val === void 0 ? void 0 : val.length) > 0) {
104
+ return val === null || val === void 0 ? void 0 : val.map(function (v) {
105
+ return moment(v).valueOf();
106
+ });
107
+ }
96
108
  }
97
109
  };
98
110
  });
@@ -102,6 +114,7 @@ var BasicDataTime = /*#__PURE__*/_createClass(function BasicDataTime(options) {
102
114
  this.componentConfig = options.componentConfig;
103
115
  this.rules = [];
104
116
  this.isCombinationComponent = false;
117
+ this.canSort = true;
105
118
  this.children = [];
106
119
  });
107
120
  export default BasicDataTime;
@@ -8,6 +8,7 @@ declare class EItemEncode 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,6 +18,7 @@ declare class EItemEncode implements ComponentInterface {
17
18
  renderExport: (value: unknown, record: Record) => any;
18
19
  editRender: () => React.JSX.Element;
19
20
  filterConfig: (item: ColumnConfig) => {
21
+ searchDefaultConditions: "like";
20
22
  type: string;
21
23
  id: string;
22
24
  name: string;
@@ -12,6 +12,7 @@ import ItemEncode from "./ItemEncode";
12
12
  import { GoodImage } from "../Common";
13
13
  import ItemView from "../../commonComponents/ItemView";
14
14
  import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
15
+ import { SYMBOL } from "../../constant";
15
16
  var EItemEncode = /*#__PURE__*/_createClass(function EItemEncode(options) {
16
17
  var _this = this,
17
18
  _this$componentConfig;
@@ -23,6 +24,7 @@ var EItemEncode = /*#__PURE__*/_createClass(function EItemEncode(options) {
23
24
  _defineProperty(this, "componentConfig", void 0);
24
25
  _defineProperty(this, "effects", void 0);
25
26
  _defineProperty(this, "isCombinationComponent", void 0);
27
+ _defineProperty(this, "canSort", void 0);
26
28
  _defineProperty(this, "children", void 0);
27
29
  _defineProperty(this, "renderClient", function (record) {
28
30
  return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
@@ -73,8 +75,9 @@ var EItemEncode = /*#__PURE__*/_createClass(function EItemEncode(options) {
73
75
  });
74
76
  _defineProperty(this, "filterConfig", function (item) {
75
77
  return {
78
+ searchDefaultConditions: SYMBOL.like,
76
79
  type: item.type,
77
- id: item.id,
80
+ id: "".concat(item.id, "_itemList"),
78
81
  // 过滤组件id
79
82
  name: item.name,
80
83
  // 过滤组件名称
@@ -96,6 +99,7 @@ var EItemEncode = /*#__PURE__*/_createClass(function EItemEncode(options) {
96
99
  this.effects = options === null || options === void 0 ? void 0 : options.effects;
97
100
  this.componentConfig = options === null || options === void 0 ? void 0 : options.componentConfig;
98
101
  this.isCombinationComponent = false;
102
+ this.canSort = true;
99
103
  this.children = [];
100
104
  this.rules = this !== null && this !== void 0 && (_this$componentConfig = this.componentConfig) !== null && _this$componentConfig !== void 0 && _this$componentConfig.required ? [{
101
105
  required: true,
@@ -8,6 +8,7 @@ declare class EItemId 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,6 +18,7 @@ declare class EItemId implements ComponentInterface {
17
18
  renderExport: (value: any, record: any) => any;
18
19
  editRender: () => React.JSX.Element;
19
20
  filterConfig: (item: ColumnConfig) => {
21
+ searchDefaultConditions: "like";
20
22
  type: string;
21
23
  id: string;
22
24
  name: string;
@@ -12,6 +12,7 @@ import ItemId from "./ItemId";
12
12
  import { GoodImage } from "../Common";
13
13
  import ItemView from "../../commonComponents/ItemView";
14
14
  import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
15
+ import { SYMBOL } from "../../constant";
15
16
  var EItemId = /*#__PURE__*/_createClass(function EItemId(options) {
16
17
  var _this = this,
17
18
  _this$componentConfig2;
@@ -23,6 +24,7 @@ var EItemId = /*#__PURE__*/_createClass(function EItemId(options) {
23
24
  _defineProperty(this, "componentConfig", void 0);
24
25
  _defineProperty(this, "effects", void 0);
25
26
  _defineProperty(this, "isCombinationComponent", void 0);
27
+ _defineProperty(this, "canSort", void 0);
26
28
  _defineProperty(this, "children", void 0);
27
29
  _defineProperty(this, "renderClient", function (record) {
28
30
  return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
@@ -74,8 +76,9 @@ var EItemId = /*#__PURE__*/_createClass(function EItemId(options) {
74
76
  });
75
77
  _defineProperty(this, "filterConfig", function (item) {
76
78
  return {
79
+ searchDefaultConditions: SYMBOL.like,
77
80
  type: item.type,
78
- id: item.id,
81
+ id: "".concat(item.id, "_itemList"),
79
82
  // 过滤组件id
80
83
  name: item.name,
81
84
  // 过滤组件名称
@@ -96,6 +99,7 @@ var EItemId = /*#__PURE__*/_createClass(function EItemId(options) {
96
99
  this.type = options.type;
97
100
  this.effects = options === null || options === void 0 ? void 0 : options.effects;
98
101
  this.isCombinationComponent = false;
102
+ this.canSort = true;
99
103
  this.children = [];
100
104
  this.componentConfig = options === null || options === void 0 ? void 0 : options.componentConfig;
101
105
  this.rules = this !== null && this !== void 0 && (_this$componentConfig2 = this.componentConfig) !== null && _this$componentConfig2 !== void 0 && _this$componentConfig2.required ? [{
@@ -8,6 +8,7 @@ declare class EItemSelect 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;
@@ -22,6 +22,7 @@ var EItemSelect = /*#__PURE__*/_createClass(function EItemSelect(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, {
@@ -78,6 +79,7 @@ var EItemSelect = /*#__PURE__*/_createClass(function EItemSelect(options) {
78
79
  this.componentConfig = options === null || options === void 0 ? void 0 : options.componentConfig;
79
80
  this.rules = [];
80
81
  this.isCombinationComponent = false;
82
+ this.canSort = true;
81
83
  this.children = [];
82
84
  });
83
85
  export default EItemSelect;
@@ -7,6 +7,7 @@ declare class ErpTradeId 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;
@@ -16,11 +17,13 @@ declare class ErpTradeId implements ComponentInterface {
16
17
  renderExport: (value: any, record: Record) => any;
17
18
  editRender: () => React.JSX.Element;
18
19
  filterConfig: (item: ColumnConfig) => {
20
+ searchDefaultConditions: "in";
19
21
  type: string;
20
22
  id: string;
21
23
  name: string;
22
24
  filterComponentType: "Input";
23
25
  filterFn: (value: string) => (i: Record) => boolean;
26
+ formatFilterValue: (input: string) => string[];
24
27
  };
25
28
  }
26
29
  export default ErpTradeId;
@@ -10,6 +10,7 @@ import { TradeId } from '@kmkf-fe-packages/basic-components';
10
10
  import GetFormItem from "../GetFormItem";
11
11
  import ItemView from "../../commonComponents/ItemView";
12
12
  import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
13
+ import { SYMBOL } from "../../constant";
13
14
  var ErpTradeId = /*#__PURE__*/_createClass(function ErpTradeId(options) {
14
15
  var _this = this;
15
16
  _classCallCheck(this, ErpTradeId);
@@ -19,6 +20,7 @@ var ErpTradeId = /*#__PURE__*/_createClass(function ErpTradeId(options) {
19
20
  _defineProperty(this, "rules", void 0);
20
21
  _defineProperty(this, "componentConfig", void 0);
21
22
  _defineProperty(this, "isCombinationComponent", void 0);
23
+ _defineProperty(this, "canSort", void 0);
22
24
  _defineProperty(this, "children", void 0);
23
25
  _defineProperty(this, "renderClient", function (record) {
24
26
  return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
@@ -54,8 +56,9 @@ var ErpTradeId = /*#__PURE__*/_createClass(function ErpTradeId(options) {
54
56
  });
55
57
  _defineProperty(this, "filterConfig", function (item) {
56
58
  return {
59
+ searchDefaultConditions: SYMBOL.in,
57
60
  type: item.type,
58
- id: item.id,
61
+ id: "".concat(item.id, "_tradeId"),
59
62
  // 过滤组件id
60
63
  name: item.name,
61
64
  // 过滤组件名称
@@ -64,6 +67,9 @@ var ErpTradeId = /*#__PURE__*/_createClass(function ErpTradeId(options) {
64
67
  return function (i) {
65
68
  return _filterFn.filterSplitComma(_filterFn.filterTableListItemColumnValue(i, item.id, 'tradeId'), value);
66
69
  };
70
+ },
71
+ formatFilterValue: function formatFilterValue(input) {
72
+ return input.split(/[,|,]/);
67
73
  }
68
74
  };
69
75
  });
@@ -73,6 +79,7 @@ var ErpTradeId = /*#__PURE__*/_createClass(function ErpTradeId(options) {
73
79
  this.componentConfig = options.componentConfig;
74
80
  this.rules = [];
75
81
  this.isCombinationComponent = false;
82
+ this.canSort = true;
76
83
  this.children = [];
77
84
  });
78
85
  export default ErpTradeId;
@@ -11,6 +11,7 @@ declare class Express implements ComponentInterface {
11
11
  expressDateInstance: InstanceType<typeof ExpressData>;
12
12
  width: number;
13
13
  isCombinationComponent: boolean;
14
+ canSort: boolean;
14
15
  children: ComponentInterface[];
15
16
  constructor(options: PickOption);
16
17
  renderClient: (record: any) => React.JSX.Element | null;
@@ -20,11 +21,14 @@ declare class Express implements ComponentInterface {
20
21
  renderExport: (value: string, record: Record) => any;
21
22
  editRender: () => React.JSX.Element;
22
23
  filterConfig: (item: ColumnConfig) => {
24
+ searchDefaultConditions: "in";
23
25
  type: string;
24
26
  id: string;
25
27
  name: string;
26
28
  filterComponentType: "MultipleSelect";
27
- options: any[];
29
+ props: {
30
+ options: any[];
31
+ };
28
32
  filterFn: (value: string) => (i: Record) => boolean;
29
33
  };
30
34
  }
@@ -11,6 +11,7 @@ import GetFormItem from "../GetFormItem";
11
11
  import ExpressCompany from "../ExpressCompany";
12
12
  import ItemView from "../../commonComponents/ItemView";
13
13
  import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
14
+ import { SYMBOL } from "../../constant";
14
15
  var Express = /*#__PURE__*/_createClass(function Express(options) {
15
16
  var _this = this;
16
17
  _classCallCheck(this, Express);
@@ -23,6 +24,7 @@ var Express = /*#__PURE__*/_createClass(function Express(options) {
23
24
  _defineProperty(this, "expressDateInstance", void 0);
24
25
  _defineProperty(this, "width", void 0);
25
26
  _defineProperty(this, "isCombinationComponent", void 0);
27
+ _defineProperty(this, "canSort", void 0);
26
28
  _defineProperty(this, "children", void 0);
27
29
  _defineProperty(this, "renderClient", function (record) {
28
30
  return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
@@ -62,11 +64,14 @@ var Express = /*#__PURE__*/_createClass(function Express(options) {
62
64
  _defineProperty(this, "filterConfig", function (item) {
63
65
  var subKey = item.subKey;
64
66
  return {
67
+ searchDefaultConditions: SYMBOL.in,
65
68
  type: item.type,
66
69
  id: subKey ? "".concat(item.id, "_").concat(subKey) : item.id,
67
70
  name: "".concat(item.name, "-\u7269\u6D41\u516C\u53F8"),
68
71
  filterComponentType: 'MultipleSelect',
69
- options: _this.expressDateInstance.getExpressData() || [],
72
+ props: {
73
+ options: _this.expressDateInstance.getExpressData() || []
74
+ },
70
75
  filterFn: function filterFn(value) {
71
76
  return function (i) {
72
77
  return value === null || value === void 0 ? void 0 : value.includes(_filterFn.filterTableListItemColumnValue(i, item.id, "".concat(subKey)));
@@ -83,6 +88,7 @@ var Express = /*#__PURE__*/_createClass(function Express(options) {
83
88
  this.expressDateInstance = ExpressData.getInstance();
84
89
  this.width = 200;
85
90
  this.isCombinationComponent = false;
91
+ this.canSort = true;
86
92
  this.children = [];
87
93
  });
88
94
  export default Express;
@@ -9,6 +9,7 @@ declare class ExpressCode implements ComponentInterface {
9
9
  align: ALignType;
10
10
  width: number;
11
11
  isCombinationComponent: boolean;
12
+ canSort: boolean;
12
13
  children: ComponentInterface[];
13
14
  constructor(options: PickOption);
14
15
  renderClient: (record: any) => React.JSX.Element | null;
@@ -18,6 +19,7 @@ declare class ExpressCode implements ComponentInterface {
18
19
  renderExport: (value: string, record: Record) => any;
19
20
  editRender: () => React.JSX.Element;
20
21
  filterConfig: (item: ColumnConfig) => {
22
+ searchDefaultConditions: "like";
21
23
  type: string;
22
24
  id: string;
23
25
  name: string;
@@ -10,6 +10,7 @@ import { Input } from "antd";
10
10
  import GetFormItem from "../GetFormItem";
11
11
  import ItemView from "../../commonComponents/ItemView";
12
12
  import { isNull, filterFn as _filterFn } from "@kmkf-fe-packages/kmkf-utils";
13
+ import { SYMBOL } from "../../constant";
13
14
  var ExpressCode = /*#__PURE__*/_createClass(function ExpressCode(options) {
14
15
  var _this = this,
15
16
  _this$componentConfig5;
@@ -22,6 +23,7 @@ var ExpressCode = /*#__PURE__*/_createClass(function ExpressCode(options) {
22
23
  _defineProperty(this, "align", void 0);
23
24
  _defineProperty(this, "width", void 0);
24
25
  _defineProperty(this, "isCombinationComponent", void 0);
26
+ _defineProperty(this, "canSort", void 0);
25
27
  _defineProperty(this, "children", void 0);
26
28
  _defineProperty(this, "renderClient", function (record) {
27
29
  return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
@@ -58,6 +60,7 @@ var ExpressCode = /*#__PURE__*/_createClass(function ExpressCode(options) {
58
60
  _defineProperty(this, "filterConfig", function (item) {
59
61
  var subKey = item.subKey;
60
62
  return {
63
+ searchDefaultConditions: SYMBOL.like,
61
64
  type: item.type,
62
65
  id: subKey ? "".concat(item.id, "_").concat(subKey) : item.id,
63
66
  name: "".concat(item.name, "-\u7269\u6D41\u5355\u53F7"),
@@ -84,6 +87,7 @@ var ExpressCode = /*#__PURE__*/_createClass(function ExpressCode(options) {
84
87
  this.align = "left";
85
88
  this.width = 200;
86
89
  this.isCombinationComponent = false;
90
+ this.canSort = true;
87
91
  this.children = [];
88
92
  });
89
93
  export default ExpressCode;
@@ -9,6 +9,7 @@ declare class WorkOrderId implements ComponentInterface {
9
9
  effects: ComponentInterface["effects"];
10
10
  workOrderStatus: any;
11
11
  isCombinationComponent: boolean;
12
+ canSort: boolean;
12
13
  children: ComponentInterface[];
13
14
  constructor(options: PickOption);
14
15
  renderMenu: (record: Record) => React.JSX.Element;
@@ -19,14 +20,17 @@ declare class WorkOrderId implements ComponentInterface {
19
20
  renderClient: () => null;
20
21
  editRender: () => React.JSX.Element;
21
22
  filterConfig: (item: ColumnConfig) => {
23
+ searchDefaultConditions: "in";
22
24
  type: string;
23
25
  id: string;
24
26
  name: string;
25
27
  filterComponentType: "MultipleSelect";
26
- options: {
27
- label: any;
28
- value: string;
29
- }[];
28
+ props: {
29
+ options: {
30
+ label: any;
31
+ value: string;
32
+ }[];
33
+ };
30
34
  filterFn: (value: string[]) => (i: Record) => boolean;
31
35
  };
32
36
  }
@@ -12,6 +12,7 @@ import { ApaasSelect } from '@kmkf-fe-packages/basic-components';
12
12
  import { filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
13
13
  import GetFormItem from "../GetFormItem";
14
14
  import get from 'lodash/get';
15
+ import { SYMBOL } from "../../constant";
15
16
  var WorkOrderId = /*#__PURE__*/_createClass(function WorkOrderId(options) {
16
17
  var _this = this;
17
18
  _classCallCheck(this, WorkOrderId);
@@ -23,6 +24,7 @@ var WorkOrderId = /*#__PURE__*/_createClass(function WorkOrderId(options) {
23
24
  _defineProperty(this, "effects", void 0);
24
25
  _defineProperty(this, "workOrderStatus", void 0);
25
26
  _defineProperty(this, "isCombinationComponent", void 0);
27
+ _defineProperty(this, "canSort", void 0);
26
28
  _defineProperty(this, "children", void 0);
27
29
  _defineProperty(this, "renderMenu", function (record) {
28
30
  var menu = /*#__PURE__*/React.createElement(Menu, {
@@ -84,18 +86,21 @@ var WorkOrderId = /*#__PURE__*/_createClass(function WorkOrderId(options) {
84
86
  _defineProperty(this, "filterConfig", function (item) {
85
87
  var _Object$keys;
86
88
  return {
89
+ searchDefaultConditions: SYMBOL.in,
87
90
  type: item.type,
88
91
  id: item.id,
89
92
  // 过滤组件id
90
93
  name: item.name,
91
94
  // 过滤组件名称
92
95
  filterComponentType: 'MultipleSelect',
93
- options: (_Object$keys = Object.keys(_this.workOrderStatus)) === null || _Object$keys === void 0 ? void 0 : _Object$keys.map(function (item) {
94
- return {
95
- label: _this.workOrderStatus[item].label,
96
- value: item
97
- };
98
- }),
96
+ props: {
97
+ options: (_Object$keys = Object.keys(_this.workOrderStatus)) === null || _Object$keys === void 0 ? void 0 : _Object$keys.map(function (item) {
98
+ return {
99
+ label: _this.workOrderStatus[item].label,
100
+ value: item
101
+ };
102
+ })
103
+ },
99
104
  filterFn: function filterFn(value) {
100
105
  return function (i) {
101
106
  return value === null || value === void 0 ? void 0 : value.includes(_filterFn.filterTableListItemColumnValue(i, item.id, ''));
@@ -110,6 +115,7 @@ var WorkOrderId = /*#__PURE__*/_createClass(function WorkOrderId(options) {
110
115
  this.effects = options.effects;
111
116
  this.rules = [];
112
117
  this.isCombinationComponent = false;
118
+ this.canSort = true;
113
119
  this.children = [];
114
120
  this.workOrderStatus = {
115
121
  "WAITING": {
@@ -7,6 +7,7 @@ declare class BasicGrade 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;
@@ -19,6 +19,7 @@ var BasicGrade = /*#__PURE__*/_createClass(function BasicGrade(options) {
19
19
  _defineProperty(this, "rules", void 0);
20
20
  _defineProperty(this, "componentConfig", void 0);
21
21
  _defineProperty(this, "isCombinationComponent", void 0);
22
+ _defineProperty(this, "canSort", void 0);
22
23
  _defineProperty(this, "children", void 0);
23
24
  _defineProperty(this, "renderClient", function (record) {
24
25
  return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
@@ -61,6 +62,7 @@ var BasicGrade = /*#__PURE__*/_createClass(function BasicGrade(options) {
61
62
  this.componentConfig = options.componentConfig;
62
63
  this.rules = [];
63
64
  this.isCombinationComponent = false;
65
+ this.canSort = true;
64
66
  this.children = [];
65
67
  });
66
68
  export default BasicGrade;
@@ -7,6 +7,7 @@ declare class Handler implements ComponentInterface {
7
7
  componentConfig: ComponentInterface["componentConfig"];
8
8
  effects: ComponentInterface["effects"];
9
9
  isCombinationComponent: boolean;
10
+ canSort: boolean;
10
11
  children: ComponentInterface[];
11
12
  constructor(options: PickOption);
12
13
  renderPc: (v: unknown, record: Record) => React.JSX.Element;
@@ -18,14 +19,17 @@ declare class Handler implements ComponentInterface {
18
19
  renderClient: () => null;
19
20
  editRender: () => null;
20
21
  filterConfig: (item: ColumnConfig) => {
22
+ searchDefaultConditions: "in";
21
23
  type: string;
22
24
  id: string;
23
25
  name: string;
24
26
  filterComponentType: "MultipleSelect";
25
- options: {
26
- label: string;
27
- value: string;
28
- }[];
27
+ props: {
28
+ options: {
29
+ label: string;
30
+ value: string;
31
+ }[];
32
+ };
29
33
  filterFn: (value: string) => (i: Record) => boolean;
30
34
  };
31
35
  }
@@ -8,6 +8,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
8
8
  import React from 'react';
9
9
  import intersection from 'lodash/intersection';
10
10
  import { filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
11
+ import { SYMBOL } from "../../constant";
11
12
  var Handler = /*#__PURE__*/_createClass(function Handler(options) {
12
13
  var _this = this;
13
14
  _classCallCheck(this, Handler);
@@ -17,6 +18,7 @@ var Handler = /*#__PURE__*/_createClass(function Handler(options) {
17
18
  _defineProperty(this, "componentConfig", void 0);
18
19
  _defineProperty(this, "effects", void 0);
19
20
  _defineProperty(this, "isCombinationComponent", void 0);
21
+ _defineProperty(this, "canSort", void 0);
20
22
  _defineProperty(this, "children", void 0);
21
23
  _defineProperty(this, "renderPc", function (v, record) {
22
24
  var _value$map$join, _value$map;
@@ -47,13 +49,16 @@ var Handler = /*#__PURE__*/_createClass(function Handler(options) {
47
49
  _defineProperty(this, "filterConfig", function (item) {
48
50
  var _this$effects;
49
51
  return {
52
+ searchDefaultConditions: SYMBOL.in,
50
53
  type: item.type,
51
54
  id: item.id,
52
55
  // 过滤组件id
53
56
  name: item.name,
54
57
  // 过滤组件名称
55
58
  filterComponentType: 'MultipleSelect',
56
- options: ((_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.userList) || [],
59
+ props: {
60
+ options: ((_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.userList) || []
61
+ },
57
62
  filterFn: function filterFn(value) {
58
63
  return function (i) {
59
64
  var _ref;
@@ -69,6 +74,7 @@ var Handler = /*#__PURE__*/_createClass(function Handler(options) {
69
74
  this.type = "HANDLER_INPUT";
70
75
  this.effects = options === null || options === void 0 ? void 0 : options.effects;
71
76
  this.isCombinationComponent = false;
77
+ this.canSort = true;
72
78
  this.children = [];
73
79
  });
74
80
  export default Handler;
@@ -7,6 +7,7 @@ declare class BasicInput 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
  renderPc: (value: any, record: Record) => React.JSX.Element;
@@ -16,6 +17,7 @@ declare class BasicInput implements ComponentInterface {
16
17
  renderClient: (record: Record) => React.JSX.Element | null;
17
18
  editRender: () => React.JSX.Element;
18
19
  filterConfig: (item: ColumnConfig) => {
20
+ searchDefaultConditions: "like";
19
21
  type: string;
20
22
  id: string;
21
23
  name: string;
@@ -11,6 +11,7 @@ import { ApaasInput } from '@kmkf-fe-packages/basic-components';
11
11
  import GetFormItem from "../GetFormItem";
12
12
  import ItemView from "../../commonComponents/ItemView";
13
13
  import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
14
+ import { SYMBOL } from "../../constant";
14
15
  var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
15
16
  var _this = this,
16
17
  _options$componentCon;
@@ -21,6 +22,7 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
21
22
  _defineProperty(this, "rules", void 0);
22
23
  _defineProperty(this, "componentConfig", void 0);
23
24
  _defineProperty(this, "isCombinationComponent", void 0);
25
+ _defineProperty(this, "canSort", void 0);
24
26
  _defineProperty(this, "children", void 0);
25
27
  _defineProperty(this, "renderPc", function (value, record) {
26
28
  var _record;
@@ -58,8 +60,9 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
58
60
  });
59
61
  _defineProperty(this, "filterConfig", function (item) {
60
62
  return {
63
+ searchDefaultConditions: SYMBOL.like,
61
64
  type: item.type,
62
- id: item.id,
65
+ id: "".concat(item.id, "_input"),
63
66
  // 过滤组件id
64
67
  name: item.name,
65
68
  // 过滤组件名称
@@ -80,6 +83,7 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
80
83
  message: '字段必须是数字'
81
84
  }] : [];
82
85
  this.isCombinationComponent = false;
86
+ this.canSort = true;
83
87
  this.children = [];
84
88
  });
85
89
  export default BasicInput;
@@ -10,6 +10,7 @@ declare class JstItemSelect implements ComponentInterface {
10
10
  align: ALignType;
11
11
  expressDateInstance: InstanceType<typeof ExpressData>;
12
12
  isCombinationComponent: boolean;
13
+ canSort: boolean;
13
14
  children: ComponentInterface[];
14
15
  constructor(options: PickOption);
15
16
  renderClient: (record: Record) => React.JSX.Element | null;
@@ -19,6 +20,7 @@ declare class JstItemSelect implements ComponentInterface {
19
20
  renderExport: (value: any, record: any) => any;
20
21
  editRender: () => React.JSX.Element;
21
22
  filterConfig: (item: ColumnConfig) => {
23
+ searchDefaultConditions: "like";
22
24
  type: string;
23
25
  id: string;
24
26
  name: string;