@kmkf-fe-packages/services-components 0.7.3-alpha.5 → 0.7.4-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.
- package/dist/esm/components/ActualPayment/index.d.ts +1 -2
- package/dist/esm/components/ActualPayment/index.js +1 -3
- package/dist/esm/components/Address/index.d.ts +3 -18
- package/dist/esm/components/Address/index.js +3 -26
- package/dist/esm/components/Alipay/index.d.ts +0 -1
- package/dist/esm/components/AlipayAccount/index.d.ts +0 -1
- package/dist/esm/components/AlipayAccount/index.js +0 -2
- package/dist/esm/components/AlipayName/index.d.ts +0 -1
- package/dist/esm/components/AlipayName/index.js +0 -2
- package/dist/esm/components/BuyerNick/index.d.ts +0 -1
- package/dist/esm/components/BuyerNick/index.js +0 -2
- package/dist/esm/components/Cascader/index.d.ts +1 -9
- package/dist/esm/components/Cascader/index.js +1 -10
- package/dist/esm/components/Checkbox/index.d.ts +1 -4
- package/dist/esm/components/Checkbox/index.js +4 -8
- package/dist/esm/components/CommonDataTime/index.d.ts +0 -1
- package/dist/esm/components/CommonDataTime/index.js +0 -2
- package/dist/esm/components/CompletedUser/index.d.ts +4 -7
- package/dist/esm/components/CompletedUser/index.js +1 -5
- package/dist/esm/components/DataTime/index.d.ts +1 -4
- package/dist/esm/components/DataTime/index.js +1 -5
- package/dist/esm/components/EItemEnCode/index.d.ts +0 -1
- package/dist/esm/components/EItemEnCode/index.js +0 -2
- package/dist/esm/components/EItemId/index.d.ts +0 -1
- package/dist/esm/components/EItemId/index.js +0 -2
- package/dist/esm/components/ErpTradeId/index.d.ts +0 -1
- package/dist/esm/components/ErpTradeId/index.js +0 -2
- package/dist/esm/components/Express/index.d.ts +1 -4
- package/dist/esm/components/Express/index.js +1 -5
- package/dist/esm/components/ExpressCode/index.d.ts +0 -1
- package/dist/esm/components/ExpressCode/index.js +0 -2
- package/dist/esm/components/FlowStatusSelect/index.d.ts +4 -7
- package/dist/esm/components/FlowStatusSelect/index.js +6 -10
- package/dist/esm/components/Handler/index.d.ts +4 -7
- package/dist/esm/components/Handler/index.js +1 -5
- package/dist/esm/components/Input/index.d.ts +0 -1
- package/dist/esm/components/Input/index.js +0 -2
- package/dist/esm/components/JstItemSelect/index.d.ts +0 -1
- package/dist/esm/components/JstItemSelect/index.js +15 -19
- package/dist/esm/components/JstLogistics/index.d.ts +2 -6
- package/dist/esm/components/JstLogistics/index.js +1 -6
- package/dist/esm/components/JstSendGood/index.d.ts +0 -1
- package/dist/esm/components/JstSendGood/index.js +0 -3
- package/dist/esm/components/JstSupply/index.d.ts +0 -1
- package/dist/esm/components/JstSupply/index.js +0 -3
- package/dist/esm/components/LogisticsInterception/InterceptAddress.d.ts +1 -1
- package/dist/esm/components/LogisticsInterception/InterceptStatus.d.ts +5 -8
- package/dist/esm/components/LogisticsInterception/InterceptStatus.js +1 -5
- package/dist/esm/components/LogisticsInterception/InterceptType.d.ts +5 -8
- package/dist/esm/components/LogisticsInterception/InterceptType.js +1 -5
- package/dist/esm/components/LogisticsInterception/interceptSenderMobile.d.ts +0 -1
- package/dist/esm/components/LogisticsInterception/interceptSenderMobile.js +0 -2
- package/dist/esm/components/MultSelect/index.d.ts +1 -4
- package/dist/esm/components/MultSelect/index.js +1 -5
- package/dist/esm/components/Ordinary/OrdinaryHeader.d.ts +0 -1
- package/dist/esm/components/Ordinary/OrdinaryHeader.js +3 -5
- package/dist/esm/components/Ordinary/OrdinaryMoney.d.ts +1 -2
- package/dist/esm/components/Ordinary/OrdinaryMoney.js +4 -6
- package/dist/esm/components/Ordinary/OrdinarySerial.d.ts +0 -1
- package/dist/esm/components/Ordinary/OrdinarySerial.js +0 -2
- package/dist/esm/components/Payment/AlipayNick.d.ts +0 -1
- package/dist/esm/components/Payment/AlipayNick.js +0 -2
- package/dist/esm/components/Payment/AlipayNo.d.ts +0 -1
- package/dist/esm/components/Payment/AlipayNo.js +0 -2
- package/dist/esm/components/Payment/AlipayTime.d.ts +0 -1
- package/dist/esm/components/Payment/AlipayTime.js +0 -2
- package/dist/esm/components/Payment/BuyerNick.d.ts +0 -1
- package/dist/esm/components/Payment/BuyerNick.js +0 -2
- package/dist/esm/components/Payment/PaymentAmount.d.ts +1 -2
- package/dist/esm/components/Payment/PaymentAmount.js +1 -3
- package/dist/esm/components/Payment/PaymentStatus.d.ts +4 -7
- package/dist/esm/components/Payment/PaymentStatus.js +1 -5
- package/dist/esm/components/Payment/PaymentTid.d.ts +0 -1
- package/dist/esm/components/Payment/PaymentTid.js +0 -2
- package/dist/esm/components/PlatForm/index.d.ts +1 -2
- package/dist/esm/components/PlatForm/index.js +0 -2
- package/dist/esm/components/Radio/index.d.ts +1 -4
- package/dist/esm/components/Radio/index.js +4 -8
- package/dist/esm/components/ReceiverAddress/index.d.ts +1 -1
- package/dist/esm/components/ReceiverMobile/index.d.ts +0 -1
- package/dist/esm/components/ReceiverMobile/index.js +0 -2
- package/dist/esm/components/ReceiverName/index.d.ts +0 -1
- package/dist/esm/components/ReceiverName/index.js +0 -2
- package/dist/esm/components/Remark/index.d.ts +0 -1
- package/dist/esm/components/Remark/index.js +0 -2
- package/dist/esm/components/ReturnLogistics/index.d.ts +0 -2
- package/dist/esm/components/Select/index.d.ts +1 -4
- package/dist/esm/components/Select/index.js +1 -5
- package/dist/esm/components/ShopInput/index.d.ts +2 -5
- package/dist/esm/components/ShopInput/index.js +2 -6
- package/dist/esm/components/ShopName/index.d.ts +0 -1
- package/dist/esm/components/ShopName/index.js +0 -2
- package/dist/esm/components/Submitter/index.d.ts +4 -7
- package/dist/esm/components/Submitter/index.js +1 -5
- package/dist/esm/components/SystemOrderNo/index.d.ts +0 -1
- package/dist/esm/components/SystemOrderNo/index.js +0 -2
- package/dist/esm/components/TemplateSelect/index.d.ts +0 -1
- package/dist/esm/components/TemplateSelect/index.js +0 -2
- package/dist/esm/components/TextArea/index.d.ts +0 -1
- package/dist/esm/components/TextArea/index.js +0 -2
- package/dist/esm/components/ThirdItemSelect/index.d.ts +0 -1
- package/dist/esm/components/ThirdItemSelect/index.js +0 -2
- package/dist/esm/components/TradeDateTime/index.d.ts +0 -1
- package/dist/esm/components/TradeDateTime/index.js +0 -2
- package/dist/esm/components/TradeId/index.d.ts +0 -1
- package/dist/esm/components/TradeId/index.js +0 -2
- package/dist/esm/components/WorkOrderId/index.d.ts +0 -1
- package/dist/esm/components/WorkOrderId/index.js +1 -9
- package/dist/esm/type.d.ts +2 -6
- package/package.json +4 -4
- package/dist/esm/constant.d.ts +0 -14
- package/dist/esm/constant.js +0 -14
|
@@ -18,17 +18,14 @@ declare class Handler implements ComponentInterface {
|
|
|
18
18
|
renderClient: () => null;
|
|
19
19
|
editRender: () => null;
|
|
20
20
|
filterConfig: (item: ColumnConfig) => {
|
|
21
|
-
searchDefaultConditions: "in";
|
|
22
21
|
type: string;
|
|
23
22
|
id: string;
|
|
24
23
|
name: string;
|
|
25
24
|
filterComponentType: "MultipleSelect";
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
}[];
|
|
31
|
-
};
|
|
25
|
+
options: {
|
|
26
|
+
label: string;
|
|
27
|
+
value: string;
|
|
28
|
+
}[];
|
|
32
29
|
filterFn: (value: string) => (i: Record) => boolean;
|
|
33
30
|
};
|
|
34
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);
|
|
@@ -48,16 +47,13 @@ var Handler = /*#__PURE__*/_createClass(function Handler(options) {
|
|
|
48
47
|
_defineProperty(this, "filterConfig", function (item) {
|
|
49
48
|
var _this$effects;
|
|
50
49
|
return {
|
|
51
|
-
searchDefaultConditions: SYMBOL.in,
|
|
52
50
|
type: item.type,
|
|
53
51
|
id: item.id,
|
|
54
52
|
// 过滤组件id
|
|
55
53
|
name: item.name,
|
|
56
54
|
// 过滤组件名称
|
|
57
55
|
filterComponentType: 'MultipleSelect',
|
|
58
|
-
|
|
59
|
-
options: ((_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.userList) || []
|
|
60
|
-
},
|
|
56
|
+
options: ((_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.userList) || [],
|
|
61
57
|
filterFn: function filterFn(value) {
|
|
62
58
|
return function (i) {
|
|
63
59
|
var _ref;
|
|
@@ -16,7 +16,6 @@ declare class BasicInput implements ComponentInterface {
|
|
|
16
16
|
renderClient: (record: Record) => React.JSX.Element | null;
|
|
17
17
|
editRender: () => React.JSX.Element;
|
|
18
18
|
filterConfig: (item: ColumnConfig) => {
|
|
19
|
-
searchDefaultConditions: "in";
|
|
20
19
|
type: string;
|
|
21
20
|
id: string;
|
|
22
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;
|
|
@@ -59,7 +58,6 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
|
|
|
59
58
|
});
|
|
60
59
|
_defineProperty(this, "filterConfig", function (item) {
|
|
61
60
|
return {
|
|
62
|
-
searchDefaultConditions: SYMBOL.in,
|
|
63
61
|
type: item.type,
|
|
64
62
|
id: item.id,
|
|
65
63
|
// 过滤组件id
|
|
@@ -19,7 +19,6 @@ declare class JstItemSelect implements ComponentInterface {
|
|
|
19
19
|
renderExport: (value: any, record: any) => any;
|
|
20
20
|
editRender: () => React.JSX.Element;
|
|
21
21
|
filterConfig: (item: ColumnConfig) => {
|
|
22
|
-
searchDefaultConditions: "in";
|
|
23
22
|
type: string;
|
|
24
23
|
id: string;
|
|
25
24
|
name: string;
|
|
@@ -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;
|
|
@@ -71,32 +70,29 @@ var JstItemSelect = /*#__PURE__*/_createClass(function JstItemSelect(options) {
|
|
|
71
70
|
});
|
|
72
71
|
});
|
|
73
72
|
_defineProperty(this, "filterConfig", function (item) {
|
|
74
|
-
|
|
75
|
-
|
|
73
|
+
var _ref2;
|
|
74
|
+
return [(_ref2 = {
|
|
76
75
|
type: item.type,
|
|
77
76
|
id: "".concat(item.id, "_itemId"),
|
|
78
|
-
name: "jst\u4F9B\u5E94\u5546\u7F16\u7801"
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
}
|
|
90
|
-
}, {
|
|
91
|
-
searchDefaultConditions: SYMBOL.in,
|
|
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), {
|
|
92
88
|
type: item.type,
|
|
93
89
|
id: "".concat(item.id, "_supplierName"),
|
|
94
90
|
name: "jst\u4F9B\u5E94\u5546\u540D\u79F0",
|
|
95
91
|
filterComponentType: 'Input',
|
|
96
92
|
filterFn: function filterFn(value) {
|
|
97
93
|
return function (i) {
|
|
98
|
-
var
|
|
99
|
-
return (
|
|
94
|
+
var _ref3;
|
|
95
|
+
return (_ref3 = _filterFn.filterTableListItemColumnValue(i, item.id, 'jstItemList') || []) === null || _ref3 === void 0 ? void 0 : _ref3.some(function (item) {
|
|
100
96
|
var _String2;
|
|
101
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;
|
|
102
98
|
return name;
|
|
@@ -19,22 +19,18 @@ declare class JstLogistics implements ComponentInterface {
|
|
|
19
19
|
renderExport: (value: any, record: any) => any;
|
|
20
20
|
editRender: () => React.JSX.Element;
|
|
21
21
|
filterConfig: (item: ColumnConfig) => ({
|
|
22
|
-
searchDefaultConditions: "in";
|
|
23
22
|
type: string;
|
|
24
23
|
id: string;
|
|
25
24
|
name: string;
|
|
26
25
|
filterComponentType: "Input";
|
|
27
26
|
filterFn: (value: string) => (i: Record) => boolean;
|
|
28
|
-
|
|
27
|
+
options?: undefined;
|
|
29
28
|
} | {
|
|
30
|
-
searchDefaultConditions: "in";
|
|
31
29
|
type: string;
|
|
32
30
|
id: string;
|
|
33
31
|
name: string;
|
|
34
32
|
filterComponentType: "MultipleSelect";
|
|
35
|
-
|
|
36
|
-
options: any[];
|
|
37
|
-
};
|
|
33
|
+
options: any[];
|
|
38
34
|
filterFn: (value: string) => (i: Record) => any;
|
|
39
35
|
})[];
|
|
40
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;
|
|
@@ -78,7 +77,6 @@ var JstLogistics = /*#__PURE__*/_createClass(function JstLogistics(options) {
|
|
|
78
77
|
});
|
|
79
78
|
_defineProperty(this, "filterConfig", function (item) {
|
|
80
79
|
return [{
|
|
81
|
-
searchDefaultConditions: SYMBOL.in,
|
|
82
80
|
type: item.type,
|
|
83
81
|
id: "".concat(item.id, "_logisticsCode"),
|
|
84
82
|
name: "jst\u7269\u6D41\u5355\u53F7",
|
|
@@ -89,14 +87,11 @@ var JstLogistics = /*#__PURE__*/_createClass(function JstLogistics(options) {
|
|
|
89
87
|
};
|
|
90
88
|
}
|
|
91
89
|
}, {
|
|
92
|
-
searchDefaultConditions: SYMBOL.in,
|
|
93
90
|
type: item.type,
|
|
94
91
|
id: "".concat(item.id, "_logisticsCompany"),
|
|
95
92
|
name: "jst\u7269\u6D41\u516C\u53F8",
|
|
96
93
|
filterComponentType: 'MultipleSelect',
|
|
97
|
-
|
|
98
|
-
options: _this.expressDateInstance.getExpressData() || []
|
|
99
|
-
},
|
|
94
|
+
options: _this.expressDateInstance.getExpressData() || [],
|
|
100
95
|
filterFn: function filterFn(value) {
|
|
101
96
|
return function (i) {
|
|
102
97
|
var _ref;
|
|
@@ -17,7 +17,6 @@ declare class JstSendGood implements ComponentInterface {
|
|
|
17
17
|
renderExport: (value: any, record: any) => any;
|
|
18
18
|
editRender: () => React.JSX.Element;
|
|
19
19
|
filterConfig: (item: ColumnConfig) => {
|
|
20
|
-
searchDefaultConditions: "in";
|
|
21
20
|
type: string;
|
|
22
21
|
id: string;
|
|
23
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;
|
|
@@ -74,7 +73,6 @@ var JstSendGood = /*#__PURE__*/_createClass(function JstSendGood(options) {
|
|
|
74
73
|
});
|
|
75
74
|
_defineProperty(this, "filterConfig", function (item) {
|
|
76
75
|
return [{
|
|
77
|
-
searchDefaultConditions: SYMBOL.in,
|
|
78
76
|
type: item.type,
|
|
79
77
|
id: "".concat(item.id, "_sendName"),
|
|
80
78
|
name: "jst\u53D1\u8D27\u4ED3\u540D\u79F0",
|
|
@@ -90,7 +88,6 @@ var JstSendGood = /*#__PURE__*/_createClass(function JstSendGood(options) {
|
|
|
90
88
|
};
|
|
91
89
|
}
|
|
92
90
|
}, {
|
|
93
|
-
searchDefaultConditions: SYMBOL.in,
|
|
94
91
|
type: item.type,
|
|
95
92
|
id: "".concat(item.id, "_sendId"),
|
|
96
93
|
name: "jst\u53D1\u8D27\u4ED3\u7F16\u7801",
|
|
@@ -17,7 +17,6 @@ declare class JstSupply implements ComponentInterface {
|
|
|
17
17
|
renderExport: (value: any, record: any) => any;
|
|
18
18
|
editRender: () => React.JSX.Element;
|
|
19
19
|
filterConfig: (item: ColumnConfig) => {
|
|
20
|
-
searchDefaultConditions: "in";
|
|
21
20
|
type: string;
|
|
22
21
|
id: string;
|
|
23
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;
|
|
@@ -74,7 +73,6 @@ var JstSupply = /*#__PURE__*/_createClass(function JstSupply(options) {
|
|
|
74
73
|
});
|
|
75
74
|
_defineProperty(this, "filterConfig", function (item) {
|
|
76
75
|
return [{
|
|
77
|
-
searchDefaultConditions: SYMBOL.in,
|
|
78
76
|
type: item.type,
|
|
79
77
|
id: "".concat(item.id, "_supplyName"),
|
|
80
78
|
name: "jst\u4F9B\u9500\u5546\u540D\u79F0",
|
|
@@ -90,7 +88,6 @@ var JstSupply = /*#__PURE__*/_createClass(function JstSupply(options) {
|
|
|
90
88
|
};
|
|
91
89
|
}
|
|
92
90
|
}, {
|
|
93
|
-
searchDefaultConditions: SYMBOL.in,
|
|
94
91
|
type: item.type,
|
|
95
92
|
id: "".concat(item.id, "_supplyId"),
|
|
96
93
|
name: "jst\u4F9B\u9500\u5546\u7F16\u7801",
|
|
@@ -13,7 +13,7 @@ declare class PaymentTid implements ComponentInterface {
|
|
|
13
13
|
isCombinationComponent: boolean;
|
|
14
14
|
children: ComponentInterface[];
|
|
15
15
|
originId: string;
|
|
16
|
-
addressDateInstance:
|
|
16
|
+
addressDateInstance: AddressData;
|
|
17
17
|
constructor(options: PickOption);
|
|
18
18
|
renderClient: (record: any) => React.JSX.Element | null;
|
|
19
19
|
renderPc: (value: any, record: Record) => React.JSX.Element;
|
|
@@ -14,7 +14,7 @@ declare class InterceptStatus implements ComponentInterface {
|
|
|
14
14
|
width: number;
|
|
15
15
|
isCombinationComponent: boolean;
|
|
16
16
|
children: ComponentInterface[];
|
|
17
|
-
expressInterceptInstance:
|
|
17
|
+
expressInterceptInstance: ExpressInterceptData;
|
|
18
18
|
constructor(options: PickOption);
|
|
19
19
|
getComponentValue: (r: Record) => any;
|
|
20
20
|
renderStatus: (record: any, w?: number) => React.JSX.Element;
|
|
@@ -24,17 +24,14 @@ declare class InterceptStatus implements ComponentInterface {
|
|
|
24
24
|
renderExport: (value: any, record: Record) => any;
|
|
25
25
|
editRender: () => null;
|
|
26
26
|
filterConfig: (item: ColumnConfig) => {
|
|
27
|
-
searchDefaultConditions: "in";
|
|
28
27
|
type: string;
|
|
29
28
|
id: string;
|
|
30
29
|
name: string;
|
|
31
30
|
filterComponentType: "MultipleSelect";
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
}[];
|
|
37
|
-
};
|
|
31
|
+
options: {
|
|
32
|
+
label: string;
|
|
33
|
+
value: string;
|
|
34
|
+
}[];
|
|
38
35
|
filterFn: (value: string[]) => (i: Record) => boolean;
|
|
39
36
|
};
|
|
40
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);
|
|
@@ -67,14 +66,11 @@ var InterceptStatus = /*#__PURE__*/_createClass(function InterceptStatus(options
|
|
|
67
66
|
});
|
|
68
67
|
_defineProperty(this, "filterConfig", function (item) {
|
|
69
68
|
return {
|
|
70
|
-
searchDefaultConditions: SYMBOL.in,
|
|
71
69
|
type: item.type,
|
|
72
70
|
id: "".concat(item.id, "_interceptLogisticsStatus"),
|
|
73
71
|
name: "".concat(item.name, "-\u7269\u6D41\u72B6\u6001"),
|
|
74
72
|
filterComponentType: "MultipleSelect",
|
|
75
|
-
|
|
76
|
-
options: _this.expressInterceptInstance.getStatusOptions() || []
|
|
77
|
-
},
|
|
73
|
+
options: _this.expressInterceptInstance.getStatusOptions() || [],
|
|
78
74
|
filterFn: function filterFn(value) {
|
|
79
75
|
return function (i) {
|
|
80
76
|
var _value$map, _value$map$flat;
|
|
@@ -13,7 +13,7 @@ declare class InterceptType implements ComponentInterface {
|
|
|
13
13
|
width: number;
|
|
14
14
|
isCombinationComponent: boolean;
|
|
15
15
|
children: ComponentInterface[];
|
|
16
|
-
expressInterceptInstance:
|
|
16
|
+
expressInterceptInstance: ExpressInterceptData;
|
|
17
17
|
constructor(options: PickOption);
|
|
18
18
|
getComponentValue: (r: Record) => any;
|
|
19
19
|
renderClient: (record: any) => React.JSX.Element | null;
|
|
@@ -22,17 +22,14 @@ declare class InterceptType implements ComponentInterface {
|
|
|
22
22
|
renderExport: (value: any, record: Record) => any;
|
|
23
23
|
editRender: () => null;
|
|
24
24
|
filterConfig: (item: ColumnConfig) => {
|
|
25
|
-
searchDefaultConditions: "in";
|
|
26
25
|
type: string;
|
|
27
26
|
id: string;
|
|
28
27
|
name: string;
|
|
29
28
|
filterComponentType: "MultipleSelect";
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
}[];
|
|
35
|
-
};
|
|
29
|
+
options: {
|
|
30
|
+
label: string;
|
|
31
|
+
value: string;
|
|
32
|
+
}[];
|
|
36
33
|
filterFn: (value: string[]) => (i: Record) => boolean;
|
|
37
34
|
};
|
|
38
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);
|
|
@@ -54,14 +53,11 @@ var InterceptType = /*#__PURE__*/_createClass(function InterceptType(options) {
|
|
|
54
53
|
});
|
|
55
54
|
_defineProperty(this, "filterConfig", function (item) {
|
|
56
55
|
return {
|
|
57
|
-
searchDefaultConditions: SYMBOL.in,
|
|
58
56
|
type: item.type,
|
|
59
57
|
id: "".concat(item.id, "_interceptType"),
|
|
60
58
|
name: "".concat(item.name, "-\u62E6\u622A\u7C7B\u578B"),
|
|
61
59
|
filterComponentType: "MultipleSelect",
|
|
62
|
-
|
|
63
|
-
options: _this.expressInterceptInstance.getTypeOptions() || []
|
|
64
|
-
},
|
|
60
|
+
options: _this.expressInterceptInstance.getTypeOptions() || [],
|
|
65
61
|
filterFn: function filterFn(value) {
|
|
66
62
|
return function (i) {
|
|
67
63
|
var _value$map, _value$map$flat;
|
|
@@ -20,7 +20,6 @@ declare class InterceptSenderMobile implements ComponentInterface {
|
|
|
20
20
|
renderExport: (value: any, record: Record) => any;
|
|
21
21
|
editRender: () => null;
|
|
22
22
|
filterConfig: (item: ColumnConfig) => {
|
|
23
|
-
searchDefaultConditions: "in";
|
|
24
23
|
type: string;
|
|
25
24
|
id: string;
|
|
26
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);
|
|
@@ -49,7 +48,6 @@ var InterceptSenderMobile = /*#__PURE__*/_createClass(function InterceptSenderMo
|
|
|
49
48
|
});
|
|
50
49
|
_defineProperty(this, "filterConfig", function (item) {
|
|
51
50
|
return {
|
|
52
|
-
searchDefaultConditions: SYMBOL.in,
|
|
53
51
|
type: item.type,
|
|
54
52
|
id: "".concat(item.id, "_interceptSenderMobile"),
|
|
55
53
|
name: "".concat(item.name, "-\u53D1\u4EF6\u4EBA\u624B\u673A\u53F7"),
|
|
@@ -16,14 +16,11 @@ declare class BasicMultSelect implements ComponentInterface {
|
|
|
16
16
|
renderExport: (value: any, record: Record) => any;
|
|
17
17
|
editRender: () => React.JSX.Element;
|
|
18
18
|
filterConfig: (item: ColumnConfig) => {
|
|
19
|
-
searchDefaultConditions: "in";
|
|
20
19
|
type: string;
|
|
21
20
|
id: string;
|
|
22
21
|
name: string;
|
|
23
22
|
filterComponentType: "MultipleSelect";
|
|
24
|
-
|
|
25
|
-
options: any[];
|
|
26
|
-
};
|
|
23
|
+
options: any[];
|
|
27
24
|
filterFn: (value: string) => (i: Record) => boolean;
|
|
28
25
|
};
|
|
29
26
|
}
|
|
@@ -12,7 +12,6 @@ import { ApaasMultipleSelect } from '@kmkf-fe-packages/basic-components';
|
|
|
12
12
|
import GetFormItem from "../GetFormItem";
|
|
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 BasicMultSelect = /*#__PURE__*/_createClass(function BasicMultSelect(options) {
|
|
17
16
|
var _this = this;
|
|
18
17
|
_classCallCheck(this, BasicMultSelect);
|
|
@@ -67,16 +66,13 @@ var BasicMultSelect = /*#__PURE__*/_createClass(function BasicMultSelect(options
|
|
|
67
66
|
_defineProperty(this, "filterConfig", function (item) {
|
|
68
67
|
var _item$config;
|
|
69
68
|
return {
|
|
70
|
-
searchDefaultConditions: SYMBOL.in,
|
|
71
69
|
type: item.type,
|
|
72
70
|
id: item.id,
|
|
73
71
|
// 过滤组件id
|
|
74
72
|
name: item.name,
|
|
75
73
|
// 过滤组件名称
|
|
76
74
|
filterComponentType: 'MultipleSelect',
|
|
77
|
-
|
|
78
|
-
options: (item === null || item === void 0 ? void 0 : (_item$config = item.config) === null || _item$config === void 0 ? void 0 : _item$config.options) || []
|
|
79
|
-
},
|
|
75
|
+
options: (item === null || item === void 0 ? void 0 : (_item$config = item.config) === null || _item$config === void 0 ? void 0 : _item$config.options) || [],
|
|
80
76
|
filterFn: function filterFn(value) {
|
|
81
77
|
return function (i) {
|
|
82
78
|
return intersection(value, _filterFn.filterTableListItemColumnValue(i, item.id, 'basicMultSelect')).length > 0;
|
|
@@ -19,7 +19,6 @@ declare class OrdinaryHeader implements ComponentInterface {
|
|
|
19
19
|
renderExport: (value: any) => any;
|
|
20
20
|
editRender: () => React.JSX.Element;
|
|
21
21
|
filterConfig: (item: ColumnConfig) => {
|
|
22
|
-
searchDefaultConditions: "in";
|
|
23
22
|
type: string;
|
|
24
23
|
id: string;
|
|
25
24
|
name: string;
|
|
@@ -11,7 +11,6 @@ import GetFormItem from "../GetFormItem";
|
|
|
11
11
|
import Header from "../OrdinaryHeader";
|
|
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 OrdinaryHeader = /*#__PURE__*/_createClass(function OrdinaryHeader(options) {
|
|
16
15
|
var _this = this;
|
|
17
16
|
_classCallCheck(this, OrdinaryHeader);
|
|
@@ -64,14 +63,13 @@ var OrdinaryHeader = /*#__PURE__*/_createClass(function OrdinaryHeader(options)
|
|
|
64
63
|
});
|
|
65
64
|
_defineProperty(this, "filterConfig", function (item) {
|
|
66
65
|
return {
|
|
67
|
-
searchDefaultConditions: SYMBOL.in,
|
|
68
66
|
type: item.type,
|
|
69
|
-
id: "".concat(item.id, "
|
|
70
|
-
name: "".concat(item.name, "-\
|
|
67
|
+
id: "".concat(item.id, "_ordinaryMoney"),
|
|
68
|
+
name: "".concat(item.name, "-\u5F00\u7968\u91D1\u989D"),
|
|
71
69
|
filterComponentType: 'Input',
|
|
72
70
|
filterFn: function filterFn(value) {
|
|
73
71
|
return function (i) {
|
|
74
|
-
return "".concat(_filterFn.filterTableListItemColumnValue(i, item.id, '
|
|
72
|
+
return "".concat(_filterFn.filterTableListItemColumnValue(i, item.id, 'ordinaryMoney')).includes(value);
|
|
75
73
|
};
|
|
76
74
|
}
|
|
77
75
|
};
|
|
@@ -19,11 +19,10 @@ declare class OrdinaryMoney implements ComponentInterface {
|
|
|
19
19
|
renderClient: (record: any) => React.JSX.Element | null;
|
|
20
20
|
editRender: () => React.JSX.Element;
|
|
21
21
|
filterConfig: (item: ColumnConfig) => {
|
|
22
|
-
searchDefaultConditions: "between";
|
|
23
22
|
type: string;
|
|
24
23
|
id: string;
|
|
25
24
|
name: string;
|
|
26
|
-
filterComponentType: "
|
|
25
|
+
filterComponentType: "Input";
|
|
27
26
|
filterFn: (value: string) => (i: Record) => boolean;
|
|
28
27
|
};
|
|
29
28
|
}
|
|
@@ -10,7 +10,6 @@ import GetFormItem from "../GetFormItem";
|
|
|
10
10
|
import { ApaasInput } from '@kmkf-fe-packages/basic-components';
|
|
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 OrdinaryMoney = /*#__PURE__*/_createClass(function OrdinaryMoney(options) {
|
|
15
14
|
var _this = this;
|
|
16
15
|
_classCallCheck(this, OrdinaryMoney);
|
|
@@ -57,14 +56,13 @@ var OrdinaryMoney = /*#__PURE__*/_createClass(function OrdinaryMoney(options) {
|
|
|
57
56
|
});
|
|
58
57
|
_defineProperty(this, "filterConfig", function (item) {
|
|
59
58
|
return {
|
|
60
|
-
searchDefaultConditions: SYMBOL.between,
|
|
61
59
|
type: item.type,
|
|
62
|
-
id: "".concat(item.id, "
|
|
63
|
-
name: "".concat(item.name, "-\
|
|
64
|
-
filterComponentType: '
|
|
60
|
+
id: "".concat(item.id, "_ordinaryTaitou"),
|
|
61
|
+
name: "".concat(item.name, "-\u53D1\u7968\u62AC\u5934"),
|
|
62
|
+
filterComponentType: 'Input',
|
|
65
63
|
filterFn: function filterFn(value) {
|
|
66
64
|
return function (i) {
|
|
67
|
-
return "".concat(_filterFn.filterTableListItemColumnValue(i, item.id, '
|
|
65
|
+
return "".concat(_filterFn.filterTableListItemColumnValue(i, item.id, 'ordinaryTaitou')).includes(value);
|
|
68
66
|
};
|
|
69
67
|
}
|
|
70
68
|
};
|
|
@@ -24,7 +24,6 @@ declare class OrdinarySerial implements ComponentInterface {
|
|
|
24
24
|
renderExport: (value: any) => any;
|
|
25
25
|
editRender: () => React.JSX.Element;
|
|
26
26
|
filterConfig: (item: ColumnConfig) => {
|
|
27
|
-
searchDefaultConditions: "in";
|
|
28
27
|
type: string;
|
|
29
28
|
id: string;
|
|
30
29
|
name: string;
|
|
@@ -10,7 +10,6 @@ import GetFormItem from "../GetFormItem";
|
|
|
10
10
|
import { ApaasInput } from '@kmkf-fe-packages/basic-components';
|
|
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 OrdinarySerial = /*#__PURE__*/_createClass(function OrdinarySerial(options) {
|
|
15
14
|
var _this = this;
|
|
16
15
|
_classCallCheck(this, OrdinarySerial);
|
|
@@ -62,7 +61,6 @@ var OrdinarySerial = /*#__PURE__*/_createClass(function OrdinarySerial(options)
|
|
|
62
61
|
});
|
|
63
62
|
_defineProperty(this, "filterConfig", function (item) {
|
|
64
63
|
return {
|
|
65
|
-
searchDefaultConditions: SYMBOL.in,
|
|
66
64
|
type: item.type,
|
|
67
65
|
id: "".concat(item.id, "_ordinarySerial"),
|
|
68
66
|
name: "".concat(item.name, "-\u7EB3\u7A0E\u4EBA\u8BC6\u522B\u53F7"),
|
|
@@ -19,7 +19,6 @@ declare class PaymentTid implements ComponentInterface {
|
|
|
19
19
|
renderExport: (value: any, record: Record) => any;
|
|
20
20
|
editRender: () => React.JSX.Element;
|
|
21
21
|
filterConfig: (item: ColumnConfig) => {
|
|
22
|
-
searchDefaultConditions: "in";
|
|
23
22
|
type: string;
|
|
24
23
|
id: string;
|
|
25
24
|
name: string;
|
|
@@ -10,7 +10,6 @@ import { ApaasInput } 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 PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
|
|
15
14
|
var _this = this;
|
|
16
15
|
_classCallCheck(this, PaymentTid);
|
|
@@ -66,7 +65,6 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
|
|
|
66
65
|
});
|
|
67
66
|
_defineProperty(this, "filterConfig", function (item) {
|
|
68
67
|
return {
|
|
69
|
-
searchDefaultConditions: SYMBOL.in,
|
|
70
68
|
type: item.type,
|
|
71
69
|
id: "".concat(item.id, "_enterprisePaymentAlipayNick"),
|
|
72
70
|
name: "".concat(item.name, "-\u652F\u4ED8\u5B9D\u59D3\u540D"),
|
|
@@ -19,7 +19,6 @@ declare class AlipayNo implements ComponentInterface {
|
|
|
19
19
|
renderExport: (value: any, record: Record) => any;
|
|
20
20
|
editRender: () => React.JSX.Element;
|
|
21
21
|
filterConfig: (item: ColumnConfig) => {
|
|
22
|
-
searchDefaultConditions: "in";
|
|
23
22
|
type: string;
|
|
24
23
|
id: string;
|
|
25
24
|
name: string;
|
|
@@ -10,7 +10,6 @@ import { ApaasInput } 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 AlipayNo = /*#__PURE__*/_createClass(function AlipayNo(options) {
|
|
15
14
|
var _this = this;
|
|
16
15
|
_classCallCheck(this, AlipayNo);
|
|
@@ -66,7 +65,6 @@ var AlipayNo = /*#__PURE__*/_createClass(function AlipayNo(options) {
|
|
|
66
65
|
});
|
|
67
66
|
_defineProperty(this, "filterConfig", function (item) {
|
|
68
67
|
return {
|
|
69
|
-
searchDefaultConditions: SYMBOL.in,
|
|
70
68
|
type: item.type,
|
|
71
69
|
id: "".concat(item.id, "_enterprisePaymentAlipayNo"),
|
|
72
70
|
name: "".concat(item.name, "-\u652F\u4ED8\u5B9D\u8D26\u53F7"),
|
|
@@ -18,7 +18,6 @@ declare class AlipayTime implements ComponentInterface {
|
|
|
18
18
|
renderExport: (value: string) => string | null;
|
|
19
19
|
editRender: () => React.JSX.Element;
|
|
20
20
|
filterConfig: (item: ColumnConfig) => {
|
|
21
|
-
searchDefaultConditions: "between";
|
|
22
21
|
type: string;
|
|
23
22
|
id: string;
|
|
24
23
|
name: string;
|
|
@@ -11,7 +11,6 @@ import moment from 'moment';
|
|
|
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 AlipayTime = /*#__PURE__*/_createClass(function AlipayTime(options) {
|
|
16
15
|
var _this = this;
|
|
17
16
|
_classCallCheck(this, AlipayTime);
|
|
@@ -61,7 +60,6 @@ var AlipayTime = /*#__PURE__*/_createClass(function AlipayTime(options) {
|
|
|
61
60
|
});
|
|
62
61
|
_defineProperty(this, "filterConfig", function (item) {
|
|
63
62
|
return {
|
|
64
|
-
searchDefaultConditions: SYMBOL.between,
|
|
65
63
|
type: item.type,
|
|
66
64
|
id: "".concat(item.id, "_enterprisePaymentTime"),
|
|
67
65
|
name: "".concat(item.name, "-\u6253\u6B3E\u65F6\u95F4"),
|