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

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