@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
@@ -13,7 +13,6 @@ import { GoodImage } from "../Common";
13
13
  import { JstItemList } from '@kmkf-fe-packages/basic-components';
14
14
  import ItemView from "../../commonComponents/ItemView";
15
15
  import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
16
- import { SYMBOL } from "../../constant";
17
16
  var JstItemSelect = /*#__PURE__*/_createClass(function JstItemSelect(options) {
18
17
  var _this = this,
19
18
  _this$componentConfig;
@@ -26,7 +25,6 @@ var JstItemSelect = /*#__PURE__*/_createClass(function JstItemSelect(options) {
26
25
  _defineProperty(this, "align", void 0);
27
26
  _defineProperty(this, "expressDateInstance", void 0);
28
27
  _defineProperty(this, "isCombinationComponent", void 0);
29
- _defineProperty(this, "canSort", void 0);
30
28
  _defineProperty(this, "children", void 0);
31
29
  _defineProperty(this, "renderClient", function (record) {
32
30
  return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
@@ -72,32 +70,29 @@ var JstItemSelect = /*#__PURE__*/_createClass(function JstItemSelect(options) {
72
70
  });
73
71
  });
74
72
  _defineProperty(this, "filterConfig", function (item) {
75
- return [{
76
- searchDefaultConditions: SYMBOL.like,
73
+ var _ref2;
74
+ return [(_ref2 = {
77
75
  type: item.type,
78
76
  id: "".concat(item.id, "_itemId"),
79
- name: "jst\u4F9B\u5E94\u5546\u7F16\u7801",
80
- filterComponentType: 'Input',
81
- filterFn: function filterFn(value) {
82
- return function (i) {
83
- var _ref;
84
- return (_ref = _filterFn.filterTableListItemColumnValue(i, item.id, 'jstItemList') || []) === null || _ref === void 0 ? void 0 : _ref.some(function (item) {
85
- var _String;
86
- var id = item !== null && item !== void 0 && item.itemId ? (_String = String(item === null || item === void 0 ? void 0 : item.itemId)) === null || _String === void 0 ? void 0 : _String.includes(value) : false;
87
- return id;
88
- });
89
- };
90
- }
91
- }, {
92
- searchDefaultConditions: SYMBOL.like,
77
+ name: "jst\u4F9B\u5E94\u5546\u7F16\u7801"
78
+ }, _defineProperty(_ref2, "type", item.type), _defineProperty(_ref2, "filterComponentType", 'Input'), _defineProperty(_ref2, "filterFn", function filterFn(value) {
79
+ return function (i) {
80
+ var _ref;
81
+ return (_ref = _filterFn.filterTableListItemColumnValue(i, item.id, 'jstItemList') || []) === null || _ref === void 0 ? void 0 : _ref.some(function (item) {
82
+ var _String;
83
+ var id = item !== null && item !== void 0 && item.itemId ? (_String = String(item === null || item === void 0 ? void 0 : item.itemId)) === null || _String === void 0 ? void 0 : _String.includes(value) : false;
84
+ return id;
85
+ });
86
+ };
87
+ }), _ref2), {
93
88
  type: item.type,
94
89
  id: "".concat(item.id, "_supplierName"),
95
90
  name: "jst\u4F9B\u5E94\u5546\u540D\u79F0",
96
91
  filterComponentType: 'Input',
97
92
  filterFn: function filterFn(value) {
98
93
  return function (i) {
99
- var _ref2;
100
- return (_ref2 = _filterFn.filterTableListItemColumnValue(i, item.id, 'jstItemList') || []) === null || _ref2 === void 0 ? void 0 : _ref2.some(function (item) {
94
+ var _ref3;
95
+ return (_ref3 = _filterFn.filterTableListItemColumnValue(i, item.id, 'jstItemList') || []) === null || _ref3 === void 0 ? void 0 : _ref3.some(function (item) {
101
96
  var _String2;
102
97
  var name = item !== null && item !== void 0 && item.supplierName ? (_String2 = String(item === null || item === void 0 ? void 0 : item.supplierName)) === null || _String2 === void 0 ? void 0 : _String2.includes(value) : false;
103
98
  return name;
@@ -111,7 +106,6 @@ var JstItemSelect = /*#__PURE__*/_createClass(function JstItemSelect(options) {
111
106
  this.type = options.type;
112
107
  this.componentConfig = options.componentConfig;
113
108
  this.isCombinationComponent = false;
114
- this.canSort = true;
115
109
  this.children = [];
116
110
  this.rules = (_this$componentConfig = this.componentConfig) !== null && _this$componentConfig !== void 0 && _this$componentConfig.required ? [{
117
111
  required: true,
@@ -10,7 +10,6 @@ declare class JstLogistics 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: any) => React.JSX.Element | null;
@@ -20,22 +19,18 @@ declare class JstLogistics 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;
27
25
  filterComponentType: "Input";
28
26
  filterFn: (value: string) => (i: Record) => boolean;
29
- props?: undefined;
27
+ options?: undefined;
30
28
  } | {
31
- searchDefaultConditions: "in";
32
29
  type: string;
33
30
  id: string;
34
31
  name: string;
35
32
  filterComponentType: "MultipleSelect";
36
- props: {
37
- options: any[];
38
- };
33
+ options: any[];
39
34
  filterFn: (value: string) => (i: Record) => any;
40
35
  })[];
41
36
  }
@@ -14,7 +14,6 @@ import { JstGoodImage } from "../Common";
14
14
  import { JstGoods } from '@kmkf-fe-packages/basic-components';
15
15
  import ItemView from "../../commonComponents/ItemView";
16
16
  import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
17
- import { SYMBOL } from "../../constant";
18
17
  var JstLogistics = /*#__PURE__*/_createClass(function JstLogistics(options) {
19
18
  var _this = this,
20
19
  _this$componentConfig3;
@@ -27,7 +26,6 @@ var JstLogistics = /*#__PURE__*/_createClass(function JstLogistics(options) {
27
26
  _defineProperty(this, "align", void 0);
28
27
  _defineProperty(this, "expressDateInstance", void 0);
29
28
  _defineProperty(this, "isCombinationComponent", void 0);
30
- _defineProperty(this, "canSort", void 0);
31
29
  _defineProperty(this, "children", void 0);
32
30
  _defineProperty(this, "renderClient", function (record) {
33
31
  var isShow = Array.isArray(record === null || record === void 0 ? void 0 : record[_this.id]) ? some(record === null || record === void 0 ? void 0 : record[_this.id], function (item) {
@@ -79,7 +77,6 @@ var JstLogistics = /*#__PURE__*/_createClass(function JstLogistics(options) {
79
77
  });
80
78
  _defineProperty(this, "filterConfig", function (item) {
81
79
  return [{
82
- searchDefaultConditions: SYMBOL.like,
83
80
  type: item.type,
84
81
  id: "".concat(item.id, "_logisticsCode"),
85
82
  name: "jst\u7269\u6D41\u5355\u53F7",
@@ -90,14 +87,11 @@ var JstLogistics = /*#__PURE__*/_createClass(function JstLogistics(options) {
90
87
  };
91
88
  }
92
89
  }, {
93
- searchDefaultConditions: SYMBOL.in,
94
90
  type: item.type,
95
91
  id: "".concat(item.id, "_logisticsCompany"),
96
92
  name: "jst\u7269\u6D41\u516C\u53F8",
97
93
  filterComponentType: 'MultipleSelect',
98
- props: {
99
- options: _this.expressDateInstance.getExpressData() || []
100
- },
94
+ options: _this.expressDateInstance.getExpressData() || [],
101
95
  filterFn: function filterFn(value) {
102
96
  return function (i) {
103
97
  var _ref;
@@ -115,7 +109,6 @@ var JstLogistics = /*#__PURE__*/_createClass(function JstLogistics(options) {
115
109
  this.type = options.type;
116
110
  this.componentConfig = options.componentConfig;
117
111
  this.isCombinationComponent = false;
118
- this.canSort = true;
119
112
  this.children = [];
120
113
  this.rules = (_this$componentConfig3 = this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.required ? [{
121
114
  required: true,
@@ -8,7 +8,6 @@ declare class JstSendGood implements ComponentInterface {
8
8
  componentConfig: ComponentInterface["componentConfig"];
9
9
  align: ALignType;
10
10
  isCombinationComponent: boolean;
11
- canSort: boolean;
12
11
  children: ComponentInterface[];
13
12
  constructor(options: PickOption);
14
13
  renderClient: (record: Record) => React.JSX.Element | null;
@@ -18,7 +17,6 @@ declare class JstSendGood 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;
@@ -13,7 +13,6 @@ import { JstGoodImage } from "../Common";
13
13
  import { JstGoods } from '@kmkf-fe-packages/basic-components';
14
14
  import ItemView from "../../commonComponents/ItemView";
15
15
  import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
16
- import { SYMBOL } from "../../constant";
17
16
  var JstSendGood = /*#__PURE__*/_createClass(function JstSendGood(options) {
18
17
  var _this = this,
19
18
  _this$componentConfig;
@@ -25,7 +24,6 @@ var JstSendGood = /*#__PURE__*/_createClass(function JstSendGood(options) {
25
24
  _defineProperty(this, "componentConfig", void 0);
26
25
  _defineProperty(this, "align", void 0);
27
26
  _defineProperty(this, "isCombinationComponent", void 0);
28
- _defineProperty(this, "canSort", void 0);
29
27
  _defineProperty(this, "children", void 0);
30
28
  _defineProperty(this, "renderClient", function (record) {
31
29
  var isShow = Array.isArray(record === null || record === void 0 ? void 0 : record[_this.id]) ? some(record === null || record === void 0 ? void 0 : record[_this.id], function (item) {
@@ -75,7 +73,6 @@ var JstSendGood = /*#__PURE__*/_createClass(function JstSendGood(options) {
75
73
  });
76
74
  _defineProperty(this, "filterConfig", function (item) {
77
75
  return [{
78
- searchDefaultConditions: SYMBOL.like,
79
76
  type: item.type,
80
77
  id: "".concat(item.id, "_sendName"),
81
78
  name: "jst\u53D1\u8D27\u4ED3\u540D\u79F0",
@@ -91,7 +88,6 @@ var JstSendGood = /*#__PURE__*/_createClass(function JstSendGood(options) {
91
88
  };
92
89
  }
93
90
  }, {
94
- searchDefaultConditions: SYMBOL.like,
95
91
  type: item.type,
96
92
  id: "".concat(item.id, "_sendId"),
97
93
  name: "jst\u53D1\u8D27\u4ED3\u7F16\u7801",
@@ -136,7 +132,6 @@ var JstSendGood = /*#__PURE__*/_createClass(function JstSendGood(options) {
136
132
  }] : [];
137
133
  this.align = 'left';
138
134
  this.isCombinationComponent = false;
139
- this.canSort = true;
140
135
  this.children = [];
141
136
  });
142
137
  export default JstSendGood;
@@ -8,7 +8,6 @@ declare class JstSupply implements ComponentInterface {
8
8
  componentConfig: ComponentInterface["componentConfig"];
9
9
  align: ALignType;
10
10
  isCombinationComponent: boolean;
11
- canSort: boolean;
12
11
  children: ComponentInterface[];
13
12
  constructor(options: PickOption);
14
13
  renderClient: (record: Record) => React.JSX.Element | null;
@@ -18,7 +17,6 @@ declare class JstSupply 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;
@@ -13,7 +13,6 @@ import { JstGoodImage } from "../Common";
13
13
  import { JstGoods } from '@kmkf-fe-packages/basic-components';
14
14
  import ItemView from "../../commonComponents/ItemView";
15
15
  import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
16
- import { SYMBOL } from "../../constant";
17
16
  var JstSupply = /*#__PURE__*/_createClass(function JstSupply(options) {
18
17
  var _this = this,
19
18
  _this$componentConfig;
@@ -25,7 +24,6 @@ var JstSupply = /*#__PURE__*/_createClass(function JstSupply(options) {
25
24
  _defineProperty(this, "componentConfig", void 0);
26
25
  _defineProperty(this, "align", void 0);
27
26
  _defineProperty(this, "isCombinationComponent", void 0);
28
- _defineProperty(this, "canSort", void 0);
29
27
  _defineProperty(this, "children", void 0);
30
28
  _defineProperty(this, "renderClient", function (record) {
31
29
  var isShow = Array.isArray(record === null || record === void 0 ? void 0 : record[_this.id]) ? some(record === null || record === void 0 ? void 0 : record[_this.id], function (item) {
@@ -75,7 +73,6 @@ var JstSupply = /*#__PURE__*/_createClass(function JstSupply(options) {
75
73
  });
76
74
  _defineProperty(this, "filterConfig", function (item) {
77
75
  return [{
78
- searchDefaultConditions: SYMBOL.like,
79
76
  type: item.type,
80
77
  id: "".concat(item.id, "_supplyName"),
81
78
  name: "jst\u4F9B\u9500\u5546\u540D\u79F0",
@@ -91,7 +88,6 @@ var JstSupply = /*#__PURE__*/_createClass(function JstSupply(options) {
91
88
  };
92
89
  }
93
90
  }, {
94
- searchDefaultConditions: SYMBOL.like,
95
91
  type: item.type,
96
92
  id: "".concat(item.id, "_supplyId"),
97
93
  name: "jst\u4F9B\u9500\u5546\u7F16\u7801",
@@ -113,7 +109,6 @@ var JstSupply = /*#__PURE__*/_createClass(function JstSupply(options) {
113
109
  this.type = options.type;
114
110
  this.componentConfig = options.componentConfig;
115
111
  this.isCombinationComponent = false;
116
- this.canSort = true;
117
112
  this.children = [];
118
113
  this.rules = (_this$componentConfig = this.componentConfig) !== null && _this$componentConfig !== void 0 && _this$componentConfig.required ? [{
119
114
  required: true,
@@ -13,7 +13,6 @@ declare class Logistics implements ComponentInterface {
13
13
  express: Express;
14
14
  expressCode: ExpressCode;
15
15
  isCombinationComponent: boolean;
16
- canSort: boolean;
17
16
  children: ComponentInterface[];
18
17
  constructor(options: PickOption);
19
18
  editRender: (value: any) => React.JSX.Element;
@@ -26,17 +25,13 @@ declare class Logistics implements ComponentInterface {
26
25
  };
27
26
  renderExport: () => null;
28
27
  filterConfig: (item: ColumnConfig) => ({
29
- searchDefaultConditions: "in";
30
28
  type: string;
31
29
  id: string;
32
30
  name: string;
33
31
  filterComponentType: "MultipleSelect";
34
- props: {
35
- options: any[];
36
- };
32
+ options: any[];
37
33
  filterFn: (value: string) => (i: Record) => boolean;
38
34
  } | {
39
- searchDefaultConditions: "in";
40
35
  type: string;
41
36
  id: string;
42
37
  name: string;
@@ -27,7 +27,6 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
27
27
  _defineProperty(this, "express", void 0);
28
28
  _defineProperty(this, "expressCode", void 0);
29
29
  _defineProperty(this, "isCombinationComponent", void 0);
30
- _defineProperty(this, "canSort", void 0);
31
30
  _defineProperty(this, "children", void 0);
32
31
  _defineProperty(this, "editRender", function (value) {
33
32
  var _this$componentConfig, _this$componentConfig2;
@@ -81,7 +80,6 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
81
80
  id: "".concat(this.id, "_expressLogisticsCode")
82
81
  }));
83
82
  this.isCombinationComponent = true;
84
- this.canSort = false;
85
83
  this.children = [this.express, this.expressCode];
86
84
  this.rules = (_this$componentConfig3 = this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.required ? [{
87
85
  validator: function validator(_, value) {
@@ -11,10 +11,9 @@ declare class PaymentTid implements ComponentInterface {
11
11
  align: ALignType;
12
12
  width: number;
13
13
  isCombinationComponent: boolean;
14
- canSort: boolean;
15
14
  children: ComponentInterface[];
16
15
  originId: string;
17
- addressDateInstance: InstanceType<typeof AddressData>;
16
+ addressDateInstance: AddressData;
18
17
  constructor(options: PickOption);
19
18
  renderClient: (record: any) => React.JSX.Element | null;
20
19
  renderPc: (value: any, record: Record) => React.JSX.Element;
@@ -23,7 +23,6 @@ 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);
27
26
  _defineProperty(this, "children", void 0);
28
27
  _defineProperty(this, "originId", void 0);
29
28
  _defineProperty(this, "addressDateInstance", void 0);
@@ -128,7 +127,6 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
128
127
  this.width = 350;
129
128
  this.originId = options.id;
130
129
  this.isCombinationComponent = false;
131
- this.canSort = true;
132
130
  this.children = [];
133
131
  this.effects = options === null || options === void 0 ? void 0 : options.effects;
134
132
  this.addressDateInstance = AddressData.getInstance();
@@ -13,9 +13,8 @@ declare class InterceptStatus implements ComponentInterface {
13
13
  align: ALignType;
14
14
  width: number;
15
15
  isCombinationComponent: boolean;
16
- canSort: boolean;
17
16
  children: ComponentInterface[];
18
- expressInterceptInstance: InstanceType<typeof ExpressInterceptData>;
17
+ expressInterceptInstance: ExpressInterceptData;
19
18
  constructor(options: PickOption);
20
19
  getComponentValue: (r: Record) => any;
21
20
  renderStatus: (record: any, w?: number) => React.JSX.Element;
@@ -25,17 +24,14 @@ declare class InterceptStatus implements ComponentInterface {
25
24
  renderExport: (value: any, record: Record) => any;
26
25
  editRender: () => null;
27
26
  filterConfig: (item: ColumnConfig) => {
28
- searchDefaultConditions: "in";
29
27
  type: string;
30
28
  id: string;
31
29
  name: string;
32
30
  filterComponentType: "MultipleSelect";
33
- props: {
34
- options: {
35
- label: string;
36
- value: string;
37
- }[];
38
- };
31
+ options: {
32
+ label: string;
33
+ value: string;
34
+ }[];
39
35
  filterFn: (value: string[]) => (i: Record) => boolean;
40
36
  };
41
37
  }
@@ -10,7 +10,6 @@ import ItemView from "../../commonComponents/ItemView";
10
10
  import { isNull, filterFn as _filterFn } from "@kmkf-fe-packages/kmkf-utils";
11
11
  import { ExpressInterceptData } from "@kmkf-fe-packages/kmkf-utils";
12
12
  import QueryLogisticsTrack from "../../commonComponents/QueryLogisticsTrack";
13
- import { SYMBOL } from "../../constant";
14
13
  var InterceptStatus = /*#__PURE__*/_createClass(function InterceptStatus(options) {
15
14
  var _this = this;
16
15
  _classCallCheck(this, InterceptStatus);
@@ -25,7 +24,6 @@ var InterceptStatus = /*#__PURE__*/_createClass(function InterceptStatus(options
25
24
  _defineProperty(this, "align", void 0);
26
25
  _defineProperty(this, "width", void 0);
27
26
  _defineProperty(this, "isCombinationComponent", void 0);
28
- _defineProperty(this, "canSort", void 0);
29
27
  _defineProperty(this, "children", void 0);
30
28
  _defineProperty(this, "expressInterceptInstance", void 0);
31
29
  _defineProperty(this, "getComponentValue", function (r) {
@@ -68,14 +66,11 @@ var InterceptStatus = /*#__PURE__*/_createClass(function InterceptStatus(options
68
66
  });
69
67
  _defineProperty(this, "filterConfig", function (item) {
70
68
  return {
71
- searchDefaultConditions: SYMBOL.in,
72
69
  type: item.type,
73
70
  id: "".concat(item.id, "_interceptLogisticsStatus"),
74
71
  name: "".concat(item.name, "-\u7269\u6D41\u72B6\u6001"),
75
72
  filterComponentType: "MultipleSelect",
76
- props: {
77
- options: _this.expressInterceptInstance.getStatusOptions() || []
78
- },
73
+ options: _this.expressInterceptInstance.getStatusOptions() || [],
79
74
  filterFn: function filterFn(value) {
80
75
  return function (i) {
81
76
  var _value$map, _value$map$flat;
@@ -96,7 +91,6 @@ var InterceptStatus = /*#__PURE__*/_createClass(function InterceptStatus(options
96
91
  this.align = "left";
97
92
  this.width = 220;
98
93
  this.isCombinationComponent = false;
99
- this.canSort = true;
100
94
  this.children = [];
101
95
  this.effects = options === null || options === void 0 ? void 0 : options.effects;
102
96
  this.expressInterceptInstance = ExpressInterceptData.getInstance();
@@ -12,9 +12,8 @@ declare class InterceptType implements ComponentInterface {
12
12
  align: ALignType;
13
13
  width: number;
14
14
  isCombinationComponent: boolean;
15
- canSort: boolean;
16
15
  children: ComponentInterface[];
17
- expressInterceptInstance: InstanceType<typeof ExpressInterceptData>;
16
+ expressInterceptInstance: ExpressInterceptData;
18
17
  constructor(options: PickOption);
19
18
  getComponentValue: (r: Record) => any;
20
19
  renderClient: (record: any) => React.JSX.Element | null;
@@ -23,17 +22,14 @@ declare class InterceptType implements ComponentInterface {
23
22
  renderExport: (value: any, record: Record) => any;
24
23
  editRender: () => null;
25
24
  filterConfig: (item: ColumnConfig) => {
26
- searchDefaultConditions: "in";
27
25
  type: string;
28
26
  id: string;
29
27
  name: string;
30
28
  filterComponentType: "MultipleSelect";
31
- props: {
32
- options: {
33
- label: string;
34
- value: string;
35
- }[];
36
- };
29
+ options: {
30
+ label: string;
31
+ value: string;
32
+ }[];
37
33
  filterFn: (value: string[]) => (i: Record) => boolean;
38
34
  };
39
35
  }
@@ -9,7 +9,6 @@ import React from "react";
9
9
  import ItemView from "../../commonComponents/ItemView";
10
10
  import { isNull, filterFn as _filterFn } from "@kmkf-fe-packages/kmkf-utils";
11
11
  import { ExpressInterceptData } from "@kmkf-fe-packages/kmkf-utils";
12
- import { SYMBOL } from "../../constant";
13
12
  var InterceptType = /*#__PURE__*/_createClass(function InterceptType(options) {
14
13
  var _this = this;
15
14
  _classCallCheck(this, InterceptType);
@@ -23,7 +22,6 @@ var InterceptType = /*#__PURE__*/_createClass(function InterceptType(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, "expressInterceptInstance", void 0);
29
27
  _defineProperty(this, "getComponentValue", function (r) {
@@ -55,14 +53,11 @@ var InterceptType = /*#__PURE__*/_createClass(function InterceptType(options) {
55
53
  });
56
54
  _defineProperty(this, "filterConfig", function (item) {
57
55
  return {
58
- searchDefaultConditions: SYMBOL.in,
59
56
  type: item.type,
60
57
  id: "".concat(item.id, "_interceptType"),
61
58
  name: "".concat(item.name, "-\u62E6\u622A\u7C7B\u578B"),
62
59
  filterComponentType: "MultipleSelect",
63
- props: {
64
- options: _this.expressInterceptInstance.getTypeOptions() || []
65
- },
60
+ options: _this.expressInterceptInstance.getTypeOptions() || [],
66
61
  filterFn: function filterFn(value) {
67
62
  return function (i) {
68
63
  var _value$map, _value$map$flat;
@@ -82,7 +77,6 @@ var InterceptType = /*#__PURE__*/_createClass(function InterceptType(options) {
82
77
  this.align = "left";
83
78
  this.width = 200;
84
79
  this.isCombinationComponent = false;
85
- this.canSort = true;
86
80
  this.children = [];
87
81
  this.effects = options === null || options === void 0 ? void 0 : options.effects;
88
82
  this.expressInterceptInstance = ExpressInterceptData.getInstance();
@@ -19,7 +19,6 @@ declare class Logistics implements ComponentInterface {
19
19
  interceptLogisticsStatus: InterceptStatus;
20
20
  interceptSenderMobile: InterceptSenderMobile;
21
21
  isCombinationComponent: boolean;
22
- canSort: boolean;
23
22
  children: ComponentInterface[];
24
23
  express: Express;
25
24
  expressCode: ExpressCode;
@@ -49,34 +48,27 @@ declare class Logistics implements ComponentInterface {
49
48
  renderExport: () => null;
50
49
  editRender: () => React.JSX.Element;
51
50
  filterConfig: (item: ColumnConfig) => ({
52
- searchDefaultConditions: "in";
53
51
  type: string;
54
52
  id: string;
55
53
  name: string;
56
54
  filterComponentType: "MultipleSelect";
57
- props: {
58
- options: any[];
59
- };
55
+ options: any[];
60
56
  filterFn: (value: string) => (i: Record) => boolean;
61
57
  } | {
62
- searchDefaultConditions: "in";
63
58
  type: string;
64
59
  id: string;
65
60
  name: string;
66
61
  filterComponentType: "Input";
67
62
  filterFn: (value: string) => (i: Record) => boolean;
68
63
  } | {
69
- searchDefaultConditions: "in";
70
64
  type: string;
71
65
  id: string;
72
66
  name: string;
73
67
  filterComponentType: "MultipleSelect";
74
- props: {
75
- options: {
76
- label: string;
77
- value: string;
78
- }[];
79
- };
68
+ options: {
69
+ label: string;
70
+ value: string;
71
+ }[];
80
72
  filterFn: (value: string[]) => (i: Record) => boolean;
81
73
  })[];
82
74
  }
@@ -33,7 +33,6 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
33
33
  _defineProperty(this, "interceptLogisticsStatus", void 0);
34
34
  _defineProperty(this, "interceptSenderMobile", void 0);
35
35
  _defineProperty(this, "isCombinationComponent", void 0);
36
- _defineProperty(this, "canSort", void 0);
37
36
  _defineProperty(this, "children", void 0);
38
37
  _defineProperty(this, "express", void 0);
39
38
  _defineProperty(this, "expressCode", void 0);
@@ -109,7 +108,6 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
109
108
  name: "物流单号"
110
109
  }));
111
110
  this.isCombinationComponent = true;
112
- this.canSort = false;
113
111
  this.children = [this.express, this.expressCode, this.interceptType, this.interceptAddress, this.interceptLogisticsStatus];
114
112
  this.rules = [{
115
113
  validator: function validator(_, value) {
@@ -11,7 +11,6 @@ declare class InterceptSenderMobile implements ComponentInterface {
11
11
  align: ALignType;
12
12
  width: number;
13
13
  isCombinationComponent: boolean;
14
- canSort: boolean;
15
14
  children: ComponentInterface[];
16
15
  constructor(options: PickOption);
17
16
  getComponentValue: (r: Record) => any;
@@ -21,7 +20,6 @@ declare class InterceptSenderMobile implements ComponentInterface {
21
20
  renderExport: (value: any, record: Record) => any;
22
21
  editRender: () => null;
23
22
  filterConfig: (item: ColumnConfig) => {
24
- searchDefaultConditions: "like";
25
23
  type: string;
26
24
  id: string;
27
25
  name: string;
@@ -8,7 +8,6 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
8
8
  import React from "react";
9
9
  import ItemView from "../../commonComponents/ItemView";
10
10
  import { isNull, filterFn as _filterFn } from "@kmkf-fe-packages/kmkf-utils";
11
- import { SYMBOL } from "../../constant";
12
11
  var InterceptSenderMobile = /*#__PURE__*/_createClass(function InterceptSenderMobile(options) {
13
12
  var _this = this;
14
13
  _classCallCheck(this, InterceptSenderMobile);
@@ -22,7 +21,6 @@ var InterceptSenderMobile = /*#__PURE__*/_createClass(function InterceptSenderMo
22
21
  _defineProperty(this, "align", void 0);
23
22
  _defineProperty(this, "width", void 0);
24
23
  _defineProperty(this, "isCombinationComponent", void 0);
25
- _defineProperty(this, "canSort", void 0);
26
24
  _defineProperty(this, "children", void 0);
27
25
  _defineProperty(this, "getComponentValue", function (r) {
28
26
  return r === null || r === void 0 ? void 0 : r[_this.id];
@@ -50,7 +48,6 @@ var InterceptSenderMobile = /*#__PURE__*/_createClass(function InterceptSenderMo
50
48
  });
51
49
  _defineProperty(this, "filterConfig", function (item) {
52
50
  return {
53
- searchDefaultConditions: SYMBOL.like,
54
51
  type: item.type,
55
52
  id: "".concat(item.id, "_interceptSenderMobile"),
56
53
  name: "".concat(item.name, "-\u53D1\u4EF6\u4EBA\u624B\u673A\u53F7"),
@@ -71,7 +68,6 @@ var InterceptSenderMobile = /*#__PURE__*/_createClass(function InterceptSenderMo
71
68
  this.align = "left";
72
69
  this.width = 200;
73
70
  this.isCombinationComponent = false;
74
- this.canSort = true;
75
71
  this.children = [];
76
72
  this.effects = options === null || options === void 0 ? void 0 : options.effects;
77
73
  });
@@ -7,7 +7,6 @@ declare class BasicMultSelect 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,14 +16,11 @@ declare class BasicMultSelect 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: "MultipleSelect";
25
- props: {
26
- options: any[];
27
- };
23
+ options: any[];
28
24
  filterFn: (value: string) => (i: Record) => boolean;
29
25
  };
30
26
  }