@kmkf-fe-packages/services-components 0.7.5-alpha.7 → 0.7.6-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 (141) hide show
  1. package/dist/esm/commonComponents/Wangwang/index.d.ts +2 -2
  2. package/dist/esm/components/ActualPayment/index.d.ts +1 -7
  3. package/dist/esm/components/ActualPayment/index.js +2 -40
  4. package/dist/esm/components/Address/index.d.ts +3 -21
  5. package/dist/esm/components/Address/index.js +3 -35
  6. package/dist/esm/components/Alipay/index.d.ts +0 -3
  7. package/dist/esm/components/Alipay/index.js +0 -4
  8. package/dist/esm/components/AlipayAccount/index.d.ts +0 -3
  9. package/dist/esm/components/AlipayAccount/index.js +0 -6
  10. package/dist/esm/components/AlipayName/index.d.ts +0 -3
  11. package/dist/esm/components/AlipayName/index.js +0 -6
  12. package/dist/esm/components/BuyerNick/index.d.ts +0 -3
  13. package/dist/esm/components/BuyerNick/index.js +0 -6
  14. package/dist/esm/components/Cascader/index.d.ts +1 -12
  15. package/dist/esm/components/Cascader/index.js +8 -35
  16. package/dist/esm/components/Checkbox/index.d.ts +1 -6
  17. package/dist/esm/components/Checkbox/index.js +5 -13
  18. package/dist/esm/components/Common/index.d.ts +5 -5
  19. package/dist/esm/components/CommonDataTime/index.d.ts +0 -4
  20. package/dist/esm/components/CommonDataTime/index.js +0 -13
  21. package/dist/esm/components/CompletedUser/index.d.ts +4 -9
  22. package/dist/esm/components/CompletedUser/index.js +1 -9
  23. package/dist/esm/components/DataTime/ApaasDate.d.ts +2 -2
  24. package/dist/esm/components/DataTime/index.d.ts +8 -3
  25. package/dist/esm/components/DataTime/index.js +4 -24
  26. package/dist/esm/components/EItemEnCode/ItemEncode.d.ts +2 -2
  27. package/dist/esm/components/EItemEnCode/index.d.ts +0 -3
  28. package/dist/esm/components/EItemEnCode/index.js +1 -7
  29. package/dist/esm/components/EItemId/ItemId.d.ts +2 -2
  30. package/dist/esm/components/EItemId/index.d.ts +0 -3
  31. package/dist/esm/components/EItemId/index.js +1 -7
  32. package/dist/esm/components/EItemSelect/ItemSelect.d.ts +2 -2
  33. package/dist/esm/components/EItemSelect/index.d.ts +0 -2
  34. package/dist/esm/components/EItemSelect/index.js +0 -4
  35. package/dist/esm/components/ErpTradeId/index.d.ts +0 -4
  36. package/dist/esm/components/ErpTradeId/index.js +1 -10
  37. package/dist/esm/components/Express/index.d.ts +1 -6
  38. package/dist/esm/components/Express/index.js +1 -9
  39. package/dist/esm/components/ExpressCode/index.d.ts +0 -3
  40. package/dist/esm/components/ExpressCode/index.js +0 -6
  41. package/dist/esm/components/ExpressCompany/index.d.ts +2 -2
  42. package/dist/esm/components/FlowStatusSelect/index.d.ts +4 -9
  43. package/dist/esm/components/FlowStatusSelect/index.js +6 -14
  44. package/dist/esm/components/Grade/index.d.ts +0 -2
  45. package/dist/esm/components/Grade/index.js +0 -4
  46. package/dist/esm/components/Handler/index.d.ts +4 -9
  47. package/dist/esm/components/Handler/index.js +1 -9
  48. package/dist/esm/components/Input/index.d.ts +0 -3
  49. package/dist/esm/components/Input/index.js +1 -7
  50. package/dist/esm/components/JstItemSelect/index.d.ts +0 -3
  51. package/dist/esm/components/JstItemSelect/index.js +15 -23
  52. package/dist/esm/components/JstLogistics/index.d.ts +2 -8
  53. package/dist/esm/components/JstLogistics/index.js +1 -10
  54. package/dist/esm/components/JstSendGood/index.d.ts +0 -3
  55. package/dist/esm/components/JstSendGood/index.js +0 -7
  56. package/dist/esm/components/JstSupply/index.d.ts +0 -3
  57. package/dist/esm/components/JstSupply/index.js +0 -7
  58. package/dist/esm/components/Logistics/index.d.ts +1 -7
  59. package/dist/esm/components/Logistics/index.js +0 -4
  60. package/dist/esm/components/LogisticsInterception/InterceptAddress.d.ts +1 -3
  61. package/dist/esm/components/LogisticsInterception/InterceptAddress.js +0 -4
  62. package/dist/esm/components/LogisticsInterception/InterceptStatus.d.ts +5 -10
  63. package/dist/esm/components/LogisticsInterception/InterceptStatus.js +1 -9
  64. package/dist/esm/components/LogisticsInterception/InterceptType.d.ts +5 -10
  65. package/dist/esm/components/LogisticsInterception/InterceptType.js +1 -9
  66. package/dist/esm/components/LogisticsInterception/index.d.ts +5 -14
  67. package/dist/esm/components/LogisticsInterception/index.js +0 -4
  68. package/dist/esm/components/LogisticsInterception/interceptSenderMobile.d.ts +0 -2
  69. package/dist/esm/components/LogisticsInterception/interceptSenderMobile.js +0 -4
  70. package/dist/esm/components/MultSelect/index.d.ts +1 -6
  71. package/dist/esm/components/MultSelect/index.js +2 -10
  72. package/dist/esm/components/Ordinary/OrdinaryHeader.d.ts +0 -3
  73. package/dist/esm/components/Ordinary/OrdinaryHeader.js +3 -9
  74. package/dist/esm/components/Ordinary/OrdinaryMoney.d.ts +1 -7
  75. package/dist/esm/components/Ordinary/OrdinaryMoney.js +4 -42
  76. package/dist/esm/components/Ordinary/OrdinarySerial.d.ts +0 -3
  77. package/dist/esm/components/Ordinary/OrdinarySerial.js +0 -6
  78. package/dist/esm/components/Ordinary/index.d.ts +2 -12
  79. package/dist/esm/components/Ordinary/index.js +0 -4
  80. package/dist/esm/components/Payment/AlipayNick.d.ts +0 -3
  81. package/dist/esm/components/Payment/AlipayNick.js +0 -6
  82. package/dist/esm/components/Payment/AlipayNo.d.ts +0 -3
  83. package/dist/esm/components/Payment/AlipayNo.js +0 -6
  84. package/dist/esm/components/Payment/AlipayTime.d.ts +0 -4
  85. package/dist/esm/components/Payment/AlipayTime.js +0 -13
  86. package/dist/esm/components/Payment/BuyerNick.d.ts +0 -3
  87. package/dist/esm/components/Payment/BuyerNick.js +0 -6
  88. package/dist/esm/components/Payment/PaymentAmount.d.ts +1 -7
  89. package/dist/esm/components/Payment/PaymentAmount.js +1 -39
  90. package/dist/esm/components/Payment/PaymentStatus.d.ts +4 -9
  91. package/dist/esm/components/Payment/PaymentStatus.js +1 -9
  92. package/dist/esm/components/Payment/PaymentTid.d.ts +0 -4
  93. package/dist/esm/components/Payment/PaymentTid.js +0 -9
  94. package/dist/esm/components/Payment/index.d.ts +4 -34
  95. package/dist/esm/components/Payment/index.js +0 -4
  96. package/dist/esm/components/Picture/index.d.ts +0 -2
  97. package/dist/esm/components/Picture/index.js +0 -4
  98. package/dist/esm/components/PlatForm/index.d.ts +1 -4
  99. package/dist/esm/components/PlatForm/index.js +0 -6
  100. package/dist/esm/components/Popover/index.d.ts +2 -2
  101. package/dist/esm/components/Radio/index.d.ts +1 -6
  102. package/dist/esm/components/Radio/index.js +5 -13
  103. package/dist/esm/components/Rate/index.d.ts +0 -2
  104. package/dist/esm/components/Rate/index.js +0 -4
  105. package/dist/esm/components/ReceiverAddress/index.d.ts +1 -3
  106. package/dist/esm/components/ReceiverAddress/index.js +0 -4
  107. package/dist/esm/components/ReceiverMobile/index.d.ts +0 -3
  108. package/dist/esm/components/ReceiverMobile/index.js +1 -7
  109. package/dist/esm/components/ReceiverName/index.d.ts +0 -3
  110. package/dist/esm/components/ReceiverName/index.js +1 -7
  111. package/dist/esm/components/Remark/index.d.ts +0 -3
  112. package/dist/esm/components/Remark/index.js +1 -7
  113. package/dist/esm/components/ReturnLogistics/index.d.ts +1 -7
  114. package/dist/esm/components/ReturnLogistics/index.js +0 -4
  115. package/dist/esm/components/Select/index.d.ts +1 -6
  116. package/dist/esm/components/Select/index.js +2 -10
  117. package/dist/esm/components/ShopInput/index.d.ts +2 -8
  118. package/dist/esm/components/ShopInput/index.js +2 -19
  119. package/dist/esm/components/ShopName/index.d.ts +0 -3
  120. package/dist/esm/components/ShopName/index.js +1 -7
  121. package/dist/esm/components/Submitter/index.d.ts +4 -10
  122. package/dist/esm/components/Submitter/index.js +1 -17
  123. package/dist/esm/components/SystemOrderNo/index.d.ts +0 -4
  124. package/dist/esm/components/SystemOrderNo/index.js +1 -10
  125. package/dist/esm/components/TemplateSelect/index.d.ts +0 -3
  126. package/dist/esm/components/TemplateSelect/index.js +0 -6
  127. package/dist/esm/components/TextArea/index.d.ts +0 -3
  128. package/dist/esm/components/TextArea/index.js +1 -7
  129. package/dist/esm/components/ThirdItemSelect/ItemEncode.d.ts +2 -2
  130. package/dist/esm/components/ThirdItemSelect/index.d.ts +0 -3
  131. package/dist/esm/components/ThirdItemSelect/index.js +1 -7
  132. package/dist/esm/components/TradeDateTime/index.d.ts +0 -4
  133. package/dist/esm/components/TradeDateTime/index.js +2 -16
  134. package/dist/esm/components/TradeId/index.d.ts +0 -4
  135. package/dist/esm/components/TradeId/index.js +1 -10
  136. package/dist/esm/components/WorkOrderId/index.d.ts +0 -3
  137. package/dist/esm/components/WorkOrderId/index.js +3 -15
  138. package/dist/esm/type.d.ts +2 -10
  139. package/package.json +4 -4
  140. package/dist/esm/constant.d.ts +0 -14
  141. package/dist/esm/constant.js +0 -14
@@ -3,13 +3,11 @@ import React from 'react';
3
3
  declare class JstSendGood implements ComponentInterface {
4
4
  name: string;
5
5
  id: string;
6
- sortField: string;
7
6
  type: string;
8
7
  rules: any[];
9
8
  componentConfig: ComponentInterface["componentConfig"];
10
9
  align: ALignType;
11
10
  isCombinationComponent: boolean;
12
- canSort: boolean;
13
11
  children: ComponentInterface[];
14
12
  constructor(options: PickOption);
15
13
  renderClient: (record: Record) => React.JSX.Element | null;
@@ -19,7 +17,6 @@ declare class JstSendGood implements ComponentInterface {
19
17
  renderExport: (value: any, record: any) => any;
20
18
  editRender: () => React.JSX.Element;
21
19
  filterConfig: (item: ColumnConfig) => {
22
- searchDefaultConditions: "like";
23
20
  type: string;
24
21
  id: string;
25
22
  name: string;
@@ -13,20 +13,17 @@ 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;
20
19
  _classCallCheck(this, JstSendGood);
21
20
  _defineProperty(this, "name", void 0);
22
21
  _defineProperty(this, "id", void 0);
23
- _defineProperty(this, "sortField", void 0);
24
22
  _defineProperty(this, "type", void 0);
25
23
  _defineProperty(this, "rules", void 0);
26
24
  _defineProperty(this, "componentConfig", void 0);
27
25
  _defineProperty(this, "align", void 0);
28
26
  _defineProperty(this, "isCombinationComponent", void 0);
29
- _defineProperty(this, "canSort", void 0);
30
27
  _defineProperty(this, "children", void 0);
31
28
  _defineProperty(this, "renderClient", function (record) {
32
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) {
@@ -76,7 +73,6 @@ var JstSendGood = /*#__PURE__*/_createClass(function JstSendGood(options) {
76
73
  });
77
74
  _defineProperty(this, "filterConfig", function (item) {
78
75
  return [{
79
- searchDefaultConditions: SYMBOL.like,
80
76
  type: item.type,
81
77
  id: "".concat(item.id, "_sendName"),
82
78
  name: "jst\u53D1\u8D27\u4ED3\u540D\u79F0",
@@ -92,7 +88,6 @@ var JstSendGood = /*#__PURE__*/_createClass(function JstSendGood(options) {
92
88
  };
93
89
  }
94
90
  }, {
95
- searchDefaultConditions: SYMBOL.like,
96
91
  type: item.type,
97
92
  id: "".concat(item.id, "_sendId"),
98
93
  name: "jst\u53D1\u8D27\u4ED3\u7F16\u7801",
@@ -111,7 +106,6 @@ var JstSendGood = /*#__PURE__*/_createClass(function JstSendGood(options) {
111
106
  });
112
107
  this.name = options.name;
113
108
  this.id = options.id;
114
- this.sortField = "".concat(options.id, "_jstItemList");
115
109
  this.type = options.type;
116
110
  this.componentConfig = options.componentConfig;
117
111
  this.rules = (_this$componentConfig = this.componentConfig) !== null && _this$componentConfig !== void 0 && _this$componentConfig.required ? [{
@@ -138,7 +132,6 @@ var JstSendGood = /*#__PURE__*/_createClass(function JstSendGood(options) {
138
132
  }] : [];
139
133
  this.align = 'left';
140
134
  this.isCombinationComponent = false;
141
- this.canSort = true;
142
135
  this.children = [];
143
136
  });
144
137
  export default JstSendGood;
@@ -3,13 +3,11 @@ import React from 'react';
3
3
  declare class JstSupply implements ComponentInterface {
4
4
  name: string;
5
5
  id: string;
6
- sortField: string;
7
6
  type: string;
8
7
  rules: any[];
9
8
  componentConfig: ComponentInterface["componentConfig"];
10
9
  align: ALignType;
11
10
  isCombinationComponent: boolean;
12
- canSort: boolean;
13
11
  children: ComponentInterface[];
14
12
  constructor(options: PickOption);
15
13
  renderClient: (record: Record) => React.JSX.Element | null;
@@ -19,7 +17,6 @@ declare class JstSupply implements ComponentInterface {
19
17
  renderExport: (value: any, record: any) => any;
20
18
  editRender: () => React.JSX.Element;
21
19
  filterConfig: (item: ColumnConfig) => {
22
- searchDefaultConditions: "like";
23
20
  type: string;
24
21
  id: string;
25
22
  name: string;
@@ -13,20 +13,17 @@ 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;
20
19
  _classCallCheck(this, JstSupply);
21
20
  _defineProperty(this, "name", void 0);
22
21
  _defineProperty(this, "id", void 0);
23
- _defineProperty(this, "sortField", void 0);
24
22
  _defineProperty(this, "type", void 0);
25
23
  _defineProperty(this, "rules", void 0);
26
24
  _defineProperty(this, "componentConfig", void 0);
27
25
  _defineProperty(this, "align", void 0);
28
26
  _defineProperty(this, "isCombinationComponent", void 0);
29
- _defineProperty(this, "canSort", void 0);
30
27
  _defineProperty(this, "children", void 0);
31
28
  _defineProperty(this, "renderClient", function (record) {
32
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) {
@@ -76,7 +73,6 @@ var JstSupply = /*#__PURE__*/_createClass(function JstSupply(options) {
76
73
  });
77
74
  _defineProperty(this, "filterConfig", function (item) {
78
75
  return [{
79
- searchDefaultConditions: SYMBOL.like,
80
76
  type: item.type,
81
77
  id: "".concat(item.id, "_supplyName"),
82
78
  name: "jst\u4F9B\u9500\u5546\u540D\u79F0",
@@ -92,7 +88,6 @@ var JstSupply = /*#__PURE__*/_createClass(function JstSupply(options) {
92
88
  };
93
89
  }
94
90
  }, {
95
- searchDefaultConditions: SYMBOL.like,
96
91
  type: item.type,
97
92
  id: "".concat(item.id, "_supplyId"),
98
93
  name: "jst\u4F9B\u9500\u5546\u7F16\u7801",
@@ -111,11 +106,9 @@ var JstSupply = /*#__PURE__*/_createClass(function JstSupply(options) {
111
106
  });
112
107
  this.name = options.name;
113
108
  this.id = options.id;
114
- this.sortField = "".concat(options.id, "_jstItemList");
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$componentConfig = this.componentConfig) !== null && _this$componentConfig !== void 0 && _this$componentConfig.required ? [{
121
114
  required: true,
@@ -6,7 +6,6 @@ import ExpressCode from '../ExpressCode';
6
6
  declare class Logistics implements ComponentInterface {
7
7
  name: string;
8
8
  id: string;
9
- sortField: string;
10
9
  type: string;
11
10
  rules: any[];
12
11
  componentConfig: ComponentInterface["componentConfig"];
@@ -14,7 +13,6 @@ declare class Logistics implements ComponentInterface {
14
13
  express: Express;
15
14
  expressCode: ExpressCode;
16
15
  isCombinationComponent: boolean;
17
- canSort: boolean;
18
16
  children: ComponentInterface[];
19
17
  constructor(options: PickOption);
20
18
  editRender: (value: any) => React.JSX.Element;
@@ -27,17 +25,13 @@ declare class Logistics implements ComponentInterface {
27
25
  };
28
26
  renderExport: () => null;
29
27
  filterConfig: (item: ColumnConfig) => ({
30
- searchDefaultConditions: "in";
31
28
  type: string;
32
29
  id: string;
33
30
  name: string;
34
31
  filterComponentType: "MultipleSelect";
35
- props: {
36
- options: any[];
37
- };
32
+ options: any[];
38
33
  filterFn: (value: string) => (i: Record) => boolean;
39
34
  } | {
40
- searchDefaultConditions: "like";
41
35
  type: string;
42
36
  id: string;
43
37
  name: string;
@@ -20,7 +20,6 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
20
20
  _classCallCheck(this, Logistics);
21
21
  _defineProperty(this, "name", void 0);
22
22
  _defineProperty(this, "id", void 0);
23
- _defineProperty(this, "sortField", void 0);
24
23
  _defineProperty(this, "type", void 0);
25
24
  _defineProperty(this, "rules", void 0);
26
25
  _defineProperty(this, "componentConfig", void 0);
@@ -28,7 +27,6 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
28
27
  _defineProperty(this, "express", void 0);
29
28
  _defineProperty(this, "expressCode", void 0);
30
29
  _defineProperty(this, "isCombinationComponent", void 0);
31
- _defineProperty(this, "canSort", void 0);
32
30
  _defineProperty(this, "children", void 0);
33
31
  _defineProperty(this, "editRender", function (value) {
34
32
  var _this$componentConfig, _this$componentConfig2;
@@ -70,7 +68,6 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
70
68
  });
71
69
  this.name = options.name;
72
70
  this.id = options.id;
73
- this.sortField = options.id;
74
71
  this.type = options.type;
75
72
  this.componentConfig = options.componentConfig;
76
73
  this.expressDateInstance = ExpressData.getInstance();
@@ -83,7 +80,6 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
83
80
  id: "".concat(this.id, "_expressLogisticsCode")
84
81
  }));
85
82
  this.isCombinationComponent = true;
86
- this.canSort = false;
87
83
  this.children = [this.express, this.expressCode];
88
84
  this.rules = (_this$componentConfig3 = this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.required ? [{
89
85
  validator: function validator(_, value) {
@@ -4,7 +4,6 @@ import { AddressData } from "@kmkf-fe-packages/kmkf-utils";
4
4
  declare class PaymentTid implements ComponentInterface {
5
5
  name: string;
6
6
  id: string;
7
- sortField: string;
8
7
  type: string;
9
8
  rules: any[];
10
9
  componentConfig: ComponentInterface["componentConfig"];
@@ -12,10 +11,9 @@ declare class PaymentTid implements ComponentInterface {
12
11
  align: ALignType;
13
12
  width: number;
14
13
  isCombinationComponent: boolean;
15
- canSort: boolean;
16
14
  children: ComponentInterface[];
17
15
  originId: string;
18
- addressDateInstance: InstanceType<typeof AddressData>;
16
+ addressDateInstance: AddressData;
19
17
  constructor(options: PickOption);
20
18
  renderClient: (record: any) => React.JSX.Element | null;
21
19
  renderPc: (value: any, record: Record) => React.JSX.Element;
@@ -16,7 +16,6 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
16
16
  _classCallCheck(this, PaymentTid);
17
17
  _defineProperty(this, "name", void 0);
18
18
  _defineProperty(this, "id", void 0);
19
- _defineProperty(this, "sortField", void 0);
20
19
  _defineProperty(this, "type", void 0);
21
20
  _defineProperty(this, "rules", void 0);
22
21
  _defineProperty(this, "componentConfig", void 0);
@@ -24,7 +23,6 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
24
23
  _defineProperty(this, "align", 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, "originId", void 0);
30
28
  _defineProperty(this, "addressDateInstance", void 0);
@@ -122,7 +120,6 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
122
120
  });
123
121
  this.name = "派送地址";
124
122
  this.id = "".concat(options.id, "_interceptProvince");
125
- this.sortField = "".concat(options.id, "_interceptDistrict");
126
123
  this.type = options.type;
127
124
  this.componentConfig = options.componentConfig;
128
125
  this.rules = [];
@@ -130,7 +127,6 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
130
127
  this.width = 350;
131
128
  this.originId = options.id;
132
129
  this.isCombinationComponent = false;
133
- this.canSort = true;
134
130
  this.children = [];
135
131
  this.effects = options === null || options === void 0 ? void 0 : options.effects;
136
132
  this.addressDateInstance = AddressData.getInstance();
@@ -5,7 +5,6 @@ declare class InterceptStatus implements ComponentInterface {
5
5
  name: string;
6
6
  parentId: string;
7
7
  id: string;
8
- sortField: string;
9
8
  companyId: string;
10
9
  type: string;
11
10
  rules: any[];
@@ -14,9 +13,8 @@ declare class InterceptStatus implements ComponentInterface {
14
13
  align: ALignType;
15
14
  width: number;
16
15
  isCombinationComponent: boolean;
17
- canSort: boolean;
18
16
  children: ComponentInterface[];
19
- expressInterceptInstance: InstanceType<typeof ExpressInterceptData>;
17
+ expressInterceptInstance: ExpressInterceptData;
20
18
  constructor(options: PickOption);
21
19
  getComponentValue: (r: Record) => any;
22
20
  renderStatus: (record: any, w?: number) => React.JSX.Element;
@@ -26,17 +24,14 @@ declare class InterceptStatus implements ComponentInterface {
26
24
  renderExport: (value: any, record: Record) => any;
27
25
  editRender: () => null;
28
26
  filterConfig: (item: ColumnConfig) => {
29
- searchDefaultConditions: "in";
30
27
  type: string;
31
28
  id: string;
32
29
  name: string;
33
30
  filterComponentType: "MultipleSelect";
34
- props: {
35
- options: {
36
- label: string;
37
- value: string;
38
- }[];
39
- };
31
+ options: {
32
+ label: string;
33
+ value: string;
34
+ }[];
40
35
  filterFn: (value: string[]) => (i: Record) => boolean;
41
36
  };
42
37
  }
@@ -10,14 +10,12 @@ 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);
17
16
  _defineProperty(this, "name", void 0);
18
17
  _defineProperty(this, "parentId", void 0);
19
18
  _defineProperty(this, "id", void 0);
20
- _defineProperty(this, "sortField", void 0);
21
19
  _defineProperty(this, "companyId", void 0);
22
20
  _defineProperty(this, "type", void 0);
23
21
  _defineProperty(this, "rules", void 0);
@@ -26,7 +24,6 @@ var InterceptStatus = /*#__PURE__*/_createClass(function InterceptStatus(options
26
24
  _defineProperty(this, "align", void 0);
27
25
  _defineProperty(this, "width", void 0);
28
26
  _defineProperty(this, "isCombinationComponent", void 0);
29
- _defineProperty(this, "canSort", void 0);
30
27
  _defineProperty(this, "children", void 0);
31
28
  _defineProperty(this, "expressInterceptInstance", void 0);
32
29
  _defineProperty(this, "getComponentValue", function (r) {
@@ -69,14 +66,11 @@ var InterceptStatus = /*#__PURE__*/_createClass(function InterceptStatus(options
69
66
  });
70
67
  _defineProperty(this, "filterConfig", function (item) {
71
68
  return {
72
- searchDefaultConditions: SYMBOL.in,
73
69
  type: item.type,
74
70
  id: "".concat(item.id, "_interceptLogisticsStatus"),
75
71
  name: "".concat(item.name, "-\u7269\u6D41\u72B6\u6001"),
76
72
  filterComponentType: "MultipleSelect",
77
- props: {
78
- options: _this.expressInterceptInstance.getStatusOptions() || []
79
- },
73
+ options: _this.expressInterceptInstance.getStatusOptions() || [],
80
74
  filterFn: function filterFn(value) {
81
75
  return function (i) {
82
76
  var _value$map, _value$map$flat;
@@ -90,7 +84,6 @@ var InterceptStatus = /*#__PURE__*/_createClass(function InterceptStatus(options
90
84
  this.name = "物流状态";
91
85
  this.parentId = options.id;
92
86
  this.id = "".concat(options.id, "_interceptLogisticsStatus");
93
- this.sortField = "".concat(options.id, "_interceptLogisticsStatus");
94
87
  this.companyId = "".concat(options.id, "_interceptCompany");
95
88
  this.type = options.type;
96
89
  this.componentConfig = options.componentConfig;
@@ -98,7 +91,6 @@ var InterceptStatus = /*#__PURE__*/_createClass(function InterceptStatus(options
98
91
  this.align = "left";
99
92
  this.width = 220;
100
93
  this.isCombinationComponent = false;
101
- this.canSort = true;
102
94
  this.children = [];
103
95
  this.effects = options === null || options === void 0 ? void 0 : options.effects;
104
96
  this.expressInterceptInstance = ExpressInterceptData.getInstance();
@@ -4,7 +4,6 @@ import { ExpressInterceptData } from "@kmkf-fe-packages/kmkf-utils";
4
4
  declare class InterceptType implements ComponentInterface {
5
5
  name: string;
6
6
  id: string;
7
- sortField: string;
8
7
  companyId: string;
9
8
  type: string;
10
9
  rules: any[];
@@ -13,9 +12,8 @@ declare class InterceptType implements ComponentInterface {
13
12
  align: ALignType;
14
13
  width: number;
15
14
  isCombinationComponent: boolean;
16
- canSort: boolean;
17
15
  children: ComponentInterface[];
18
- expressInterceptInstance: InstanceType<typeof ExpressInterceptData>;
16
+ expressInterceptInstance: ExpressInterceptData;
19
17
  constructor(options: PickOption);
20
18
  getComponentValue: (r: Record) => any;
21
19
  renderClient: (record: any) => React.JSX.Element | null;
@@ -24,17 +22,14 @@ declare class InterceptType implements ComponentInterface {
24
22
  renderExport: (value: any, record: Record) => any;
25
23
  editRender: () => null;
26
24
  filterConfig: (item: ColumnConfig) => {
27
- searchDefaultConditions: "in";
28
25
  type: string;
29
26
  id: string;
30
27
  name: string;
31
28
  filterComponentType: "MultipleSelect";
32
- props: {
33
- options: {
34
- label: string;
35
- value: string;
36
- }[];
37
- };
29
+ options: {
30
+ label: string;
31
+ value: string;
32
+ }[];
38
33
  filterFn: (value: string[]) => (i: Record) => boolean;
39
34
  };
40
35
  }
@@ -9,13 +9,11 @@ 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);
16
15
  _defineProperty(this, "name", void 0);
17
16
  _defineProperty(this, "id", void 0);
18
- _defineProperty(this, "sortField", void 0);
19
17
  _defineProperty(this, "companyId", void 0);
20
18
  _defineProperty(this, "type", void 0);
21
19
  _defineProperty(this, "rules", void 0);
@@ -24,7 +22,6 @@ var InterceptType = /*#__PURE__*/_createClass(function InterceptType(options) {
24
22
  _defineProperty(this, "align", void 0);
25
23
  _defineProperty(this, "width", void 0);
26
24
  _defineProperty(this, "isCombinationComponent", void 0);
27
- _defineProperty(this, "canSort", void 0);
28
25
  _defineProperty(this, "children", void 0);
29
26
  _defineProperty(this, "expressInterceptInstance", void 0);
30
27
  _defineProperty(this, "getComponentValue", function (r) {
@@ -56,14 +53,11 @@ var InterceptType = /*#__PURE__*/_createClass(function InterceptType(options) {
56
53
  });
57
54
  _defineProperty(this, "filterConfig", function (item) {
58
55
  return {
59
- searchDefaultConditions: SYMBOL.in,
60
56
  type: item.type,
61
57
  id: "".concat(item.id, "_interceptType"),
62
58
  name: "".concat(item.name, "-\u62E6\u622A\u7C7B\u578B"),
63
59
  filterComponentType: "MultipleSelect",
64
- props: {
65
- options: _this.expressInterceptInstance.getTypeOptions() || []
66
- },
60
+ options: _this.expressInterceptInstance.getTypeOptions() || [],
67
61
  filterFn: function filterFn(value) {
68
62
  return function (i) {
69
63
  var _value$map, _value$map$flat;
@@ -76,7 +70,6 @@ var InterceptType = /*#__PURE__*/_createClass(function InterceptType(options) {
76
70
  });
77
71
  this.name = "拦截类型";
78
72
  this.id = "".concat(options.id, "_interceptType");
79
- this.sortField = "".concat(options.id, "_interceptType");
80
73
  this.companyId = "".concat(options.id, "_interceptCompany");
81
74
  this.type = options.type;
82
75
  this.componentConfig = options.componentConfig;
@@ -84,7 +77,6 @@ var InterceptType = /*#__PURE__*/_createClass(function InterceptType(options) {
84
77
  this.align = "left";
85
78
  this.width = 200;
86
79
  this.isCombinationComponent = false;
87
- this.canSort = true;
88
80
  this.children = [];
89
81
  this.effects = options === null || options === void 0 ? void 0 : options.effects;
90
82
  this.expressInterceptInstance = ExpressInterceptData.getInstance();
@@ -11,7 +11,6 @@ declare class Logistics implements ComponentInterface {
11
11
  name: string;
12
12
  columnHeader: string | JSX.Element;
13
13
  id: string;
14
- sortField: string;
15
14
  type: string;
16
15
  rules: any[];
17
16
  componentConfig: ComponentInterface["componentConfig"];
@@ -20,7 +19,6 @@ declare class Logistics implements ComponentInterface {
20
19
  interceptLogisticsStatus: InterceptStatus;
21
20
  interceptSenderMobile: InterceptSenderMobile;
22
21
  isCombinationComponent: boolean;
23
- canSort: boolean;
24
22
  children: ComponentInterface[];
25
23
  express: Express;
26
24
  expressCode: ExpressCode;
@@ -50,34 +48,27 @@ declare class Logistics implements ComponentInterface {
50
48
  renderExport: () => null;
51
49
  editRender: () => React.JSX.Element;
52
50
  filterConfig: (item: ColumnConfig) => ({
53
- searchDefaultConditions: "in";
54
51
  type: string;
55
52
  id: string;
56
53
  name: string;
57
54
  filterComponentType: "MultipleSelect";
58
- props: {
59
- options: any[];
60
- };
55
+ options: any[];
61
56
  filterFn: (value: string) => (i: Record) => boolean;
62
57
  } | {
63
- searchDefaultConditions: "like";
64
58
  type: string;
65
59
  id: string;
66
60
  name: string;
67
61
  filterComponentType: "Input";
68
62
  filterFn: (value: string) => (i: Record) => boolean;
69
63
  } | {
70
- searchDefaultConditions: "in";
71
64
  type: string;
72
65
  id: string;
73
66
  name: string;
74
67
  filterComponentType: "MultipleSelect";
75
- props: {
76
- options: {
77
- label: string;
78
- value: string;
79
- }[];
80
- };
68
+ options: {
69
+ label: string;
70
+ value: string;
71
+ }[];
81
72
  filterFn: (value: string[]) => (i: Record) => boolean;
82
73
  })[];
83
74
  }
@@ -25,7 +25,6 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
25
25
  _defineProperty(this, "name", void 0);
26
26
  _defineProperty(this, "columnHeader", void 0);
27
27
  _defineProperty(this, "id", void 0);
28
- _defineProperty(this, "sortField", void 0);
29
28
  _defineProperty(this, "type", void 0);
30
29
  _defineProperty(this, "rules", void 0);
31
30
  _defineProperty(this, "componentConfig", void 0);
@@ -34,7 +33,6 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
34
33
  _defineProperty(this, "interceptLogisticsStatus", void 0);
35
34
  _defineProperty(this, "interceptSenderMobile", void 0);
36
35
  _defineProperty(this, "isCombinationComponent", void 0);
37
- _defineProperty(this, "canSort", void 0);
38
36
  _defineProperty(this, "children", void 0);
39
37
  _defineProperty(this, "express", void 0);
40
38
  _defineProperty(this, "expressCode", void 0);
@@ -91,7 +89,6 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
91
89
  name: options.name
92
90
  });
93
91
  this.id = options.id;
94
- this.sortField = options.id;
95
92
  this.type = options.type;
96
93
  this.componentConfig = options.componentConfig;
97
94
  this.effects = options === null || options === void 0 ? void 0 : options.effects;
@@ -111,7 +108,6 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
111
108
  name: "物流单号"
112
109
  }));
113
110
  this.isCombinationComponent = true;
114
- this.canSort = false;
115
111
  this.children = [this.express, this.expressCode, this.interceptType, this.interceptAddress, this.interceptLogisticsStatus];
116
112
  this.rules = [{
117
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
  });
@@ -3,12 +3,10 @@ import React from 'react';
3
3
  declare class BasicMultSelect implements ComponentInterface {
4
4
  name: string;
5
5
  id: string;
6
- sortField: string;
7
6
  type: string;
8
7
  rules: any[];
9
8
  componentConfig: ComponentInterface["componentConfig"];
10
9
  isCombinationComponent: boolean;
11
- canSort: boolean;
12
10
  children: ComponentInterface[];
13
11
  constructor(options: PickOption);
14
12
  renderClient: (record: any) => React.JSX.Element | null;
@@ -18,14 +16,11 @@ declare class BasicMultSelect implements ComponentInterface {
18
16
  renderExport: (value: any, record: Record) => any;
19
17
  editRender: () => React.JSX.Element;
20
18
  filterConfig: (item: ColumnConfig) => {
21
- searchDefaultConditions: "in";
22
19
  type: string;
23
20
  id: string;
24
21
  name: string;
25
22
  filterComponentType: "MultipleSelect";
26
- props: {
27
- options: any[];
28
- };
23
+ options: any[];
29
24
  filterFn: (value: string) => (i: Record) => boolean;
30
25
  };
31
26
  }