@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.
- package/dist/esm/components/ActualPayment/index.d.ts +1 -3
- package/dist/esm/components/ActualPayment/index.js +2 -6
- package/dist/esm/components/Address/index.d.ts +3 -20
- package/dist/esm/components/Address/index.js +3 -33
- package/dist/esm/components/Alipay/index.d.ts +0 -2
- package/dist/esm/components/Alipay/index.js +0 -2
- package/dist/esm/components/AlipayAccount/index.d.ts +0 -2
- package/dist/esm/components/AlipayAccount/index.js +0 -4
- package/dist/esm/components/AlipayName/index.d.ts +0 -2
- package/dist/esm/components/AlipayName/index.js +0 -4
- package/dist/esm/components/BuyerNick/index.d.ts +0 -2
- package/dist/esm/components/BuyerNick/index.js +0 -4
- package/dist/esm/components/Cascader/index.d.ts +1 -11
- package/dist/esm/components/Cascader/index.js +2 -18
- package/dist/esm/components/Checkbox/index.d.ts +1 -5
- package/dist/esm/components/Checkbox/index.js +5 -11
- package/dist/esm/components/CommonDataTime/index.d.ts +0 -3
- package/dist/esm/components/CommonDataTime/index.js +0 -11
- package/dist/esm/components/CompletedUser/index.d.ts +4 -8
- package/dist/esm/components/CompletedUser/index.js +1 -7
- package/dist/esm/components/DataTime/index.d.ts +1 -6
- package/dist/esm/components/DataTime/index.js +2 -15
- package/dist/esm/components/EItemEnCode/index.d.ts +0 -2
- package/dist/esm/components/EItemEnCode/index.js +1 -5
- package/dist/esm/components/EItemId/index.d.ts +0 -2
- package/dist/esm/components/EItemId/index.js +1 -5
- package/dist/esm/components/EItemSelect/index.d.ts +0 -1
- package/dist/esm/components/EItemSelect/index.js +0 -2
- package/dist/esm/components/ErpTradeId/index.d.ts +0 -3
- package/dist/esm/components/ErpTradeId/index.js +1 -8
- package/dist/esm/components/Express/index.d.ts +1 -5
- package/dist/esm/components/Express/index.js +1 -7
- package/dist/esm/components/ExpressCode/index.d.ts +0 -2
- package/dist/esm/components/ExpressCode/index.js +0 -4
- package/dist/esm/components/FlowStatusSelect/index.d.ts +4 -8
- package/dist/esm/components/FlowStatusSelect/index.js +6 -12
- package/dist/esm/components/Grade/index.d.ts +0 -1
- package/dist/esm/components/Grade/index.js +0 -2
- package/dist/esm/components/Handler/index.d.ts +4 -8
- package/dist/esm/components/Handler/index.js +1 -7
- package/dist/esm/components/Input/index.d.ts +0 -2
- package/dist/esm/components/Input/index.js +1 -5
- package/dist/esm/components/JstItemSelect/index.d.ts +0 -2
- package/dist/esm/components/JstItemSelect/index.js +15 -21
- package/dist/esm/components/JstLogistics/index.d.ts +2 -7
- package/dist/esm/components/JstLogistics/index.js +1 -8
- package/dist/esm/components/JstSendGood/index.d.ts +0 -2
- package/dist/esm/components/JstSendGood/index.js +0 -5
- package/dist/esm/components/JstSupply/index.d.ts +0 -2
- package/dist/esm/components/JstSupply/index.js +0 -5
- package/dist/esm/components/Logistics/index.d.ts +1 -6
- package/dist/esm/components/Logistics/index.js +0 -2
- package/dist/esm/components/LogisticsInterception/InterceptAddress.d.ts +1 -2
- package/dist/esm/components/LogisticsInterception/InterceptAddress.js +0 -2
- package/dist/esm/components/LogisticsInterception/InterceptStatus.d.ts +5 -9
- package/dist/esm/components/LogisticsInterception/InterceptStatus.js +1 -7
- package/dist/esm/components/LogisticsInterception/InterceptType.d.ts +5 -9
- package/dist/esm/components/LogisticsInterception/InterceptType.js +1 -7
- package/dist/esm/components/LogisticsInterception/index.d.ts +5 -13
- package/dist/esm/components/LogisticsInterception/index.js +0 -2
- package/dist/esm/components/LogisticsInterception/interceptSenderMobile.d.ts +0 -2
- package/dist/esm/components/LogisticsInterception/interceptSenderMobile.js +0 -4
- package/dist/esm/components/MultSelect/index.d.ts +1 -5
- package/dist/esm/components/MultSelect/index.js +2 -8
- package/dist/esm/components/Ordinary/OrdinaryHeader.d.ts +0 -2
- package/dist/esm/components/Ordinary/OrdinaryHeader.js +3 -7
- package/dist/esm/components/Ordinary/OrdinaryMoney.d.ts +1 -3
- package/dist/esm/components/Ordinary/OrdinaryMoney.js +4 -8
- package/dist/esm/components/Ordinary/OrdinarySerial.d.ts +0 -2
- package/dist/esm/components/Ordinary/OrdinarySerial.js +0 -4
- package/dist/esm/components/Ordinary/index.d.ts +2 -11
- package/dist/esm/components/Ordinary/index.js +0 -2
- package/dist/esm/components/Payment/AlipayNick.d.ts +0 -2
- package/dist/esm/components/Payment/AlipayNick.js +0 -4
- package/dist/esm/components/Payment/AlipayNo.d.ts +0 -2
- package/dist/esm/components/Payment/AlipayNo.js +0 -4
- package/dist/esm/components/Payment/AlipayTime.d.ts +0 -3
- package/dist/esm/components/Payment/AlipayTime.js +0 -11
- package/dist/esm/components/Payment/BuyerNick.d.ts +0 -2
- package/dist/esm/components/Payment/BuyerNick.js +0 -4
- package/dist/esm/components/Payment/PaymentAmount.d.ts +1 -3
- package/dist/esm/components/Payment/PaymentAmount.js +1 -5
- package/dist/esm/components/Payment/PaymentStatus.d.ts +4 -8
- package/dist/esm/components/Payment/PaymentStatus.js +1 -7
- package/dist/esm/components/Payment/PaymentTid.d.ts +0 -3
- package/dist/esm/components/Payment/PaymentTid.js +0 -7
- package/dist/esm/components/Payment/index.d.ts +4 -17
- package/dist/esm/components/Payment/index.js +0 -2
- package/dist/esm/components/Picture/index.d.ts +0 -1
- package/dist/esm/components/Picture/index.js +0 -2
- package/dist/esm/components/PlatForm/index.d.ts +1 -3
- package/dist/esm/components/PlatForm/index.js +0 -4
- package/dist/esm/components/Radio/index.d.ts +1 -5
- package/dist/esm/components/Radio/index.js +5 -11
- package/dist/esm/components/Rate/index.d.ts +0 -1
- package/dist/esm/components/Rate/index.js +0 -2
- package/dist/esm/components/ReceiverAddress/index.d.ts +1 -2
- package/dist/esm/components/ReceiverAddress/index.js +0 -2
- package/dist/esm/components/ReceiverMobile/index.d.ts +0 -2
- package/dist/esm/components/ReceiverMobile/index.js +1 -5
- package/dist/esm/components/ReceiverName/index.d.ts +0 -2
- package/dist/esm/components/ReceiverName/index.js +1 -5
- package/dist/esm/components/Remark/index.d.ts +0 -2
- package/dist/esm/components/Remark/index.js +1 -5
- package/dist/esm/components/ReturnLogistics/index.d.ts +1 -6
- package/dist/esm/components/ReturnLogistics/index.js +0 -2
- package/dist/esm/components/Select/index.d.ts +1 -5
- package/dist/esm/components/Select/index.js +2 -8
- package/dist/esm/components/ShopInput/index.d.ts +2 -7
- package/dist/esm/components/ShopInput/index.js +2 -17
- package/dist/esm/components/ShopName/index.d.ts +0 -2
- package/dist/esm/components/ShopName/index.js +1 -5
- package/dist/esm/components/Submitter/index.d.ts +4 -8
- package/dist/esm/components/Submitter/index.js +1 -7
- package/dist/esm/components/SystemOrderNo/index.d.ts +0 -3
- package/dist/esm/components/SystemOrderNo/index.js +1 -8
- package/dist/esm/components/TemplateSelect/index.d.ts +0 -2
- package/dist/esm/components/TemplateSelect/index.js +0 -4
- package/dist/esm/components/TextArea/index.d.ts +0 -2
- package/dist/esm/components/TextArea/index.js +1 -5
- package/dist/esm/components/ThirdItemSelect/index.d.ts +0 -2
- package/dist/esm/components/ThirdItemSelect/index.js +1 -5
- package/dist/esm/components/TradeDateTime/index.d.ts +0 -3
- package/dist/esm/components/TradeDateTime/index.js +2 -14
- package/dist/esm/components/TradeId/index.d.ts +0 -3
- package/dist/esm/components/TradeId/index.js +1 -8
- package/dist/esm/components/WorkOrderId/index.d.ts +0 -2
- package/dist/esm/components/WorkOrderId/index.js +1 -11
- package/dist/esm/type.d.ts +2 -8
- package/package.json +4 -4
- package/dist/esm/constant.d.ts +0 -14
- package/dist/esm/constant.js +0 -14
|
@@ -6,7 +6,6 @@ declare class ActualPayment implements ComponentInterface {
|
|
|
6
6
|
type: string;
|
|
7
7
|
rules: any[];
|
|
8
8
|
isCombinationComponent: boolean;
|
|
9
|
-
canSort: boolean;
|
|
10
9
|
children: ComponentInterface[];
|
|
11
10
|
componentConfig: ComponentInterface["componentConfig"];
|
|
12
11
|
constructor(options: PickOption);
|
|
@@ -17,11 +16,10 @@ declare class ActualPayment implements ComponentInterface {
|
|
|
17
16
|
renderExport: (value: unknown, record: Record) => any;
|
|
18
17
|
editRender: () => React.JSX.Element;
|
|
19
18
|
filterConfig: (item: ColumnConfig) => {
|
|
20
|
-
searchDefaultConditions: "between";
|
|
21
19
|
type: string;
|
|
22
20
|
id: string;
|
|
23
21
|
name: string;
|
|
24
|
-
filterComponentType: "
|
|
22
|
+
filterComponentType: "Input";
|
|
25
23
|
filterFn: (value: string) => (i: Record) => boolean;
|
|
26
24
|
};
|
|
27
25
|
}
|
|
@@ -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 ActualPayment = /*#__PURE__*/_createClass(function ActualPayment(options) {
|
|
16
15
|
var _this = this;
|
|
17
16
|
_classCallCheck(this, ActualPayment);
|
|
@@ -20,7 +19,6 @@ var ActualPayment = /*#__PURE__*/_createClass(function ActualPayment(options) {
|
|
|
20
19
|
_defineProperty(this, "type", void 0);
|
|
21
20
|
_defineProperty(this, "rules", void 0);
|
|
22
21
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
23
|
-
_defineProperty(this, "canSort", void 0);
|
|
24
22
|
_defineProperty(this, "children", void 0);
|
|
25
23
|
_defineProperty(this, "componentConfig", void 0);
|
|
26
24
|
_defineProperty(this, "renderClient", function (record) {
|
|
@@ -59,13 +57,12 @@ var ActualPayment = /*#__PURE__*/_createClass(function ActualPayment(options) {
|
|
|
59
57
|
});
|
|
60
58
|
_defineProperty(this, "filterConfig", function (item) {
|
|
61
59
|
return {
|
|
62
|
-
searchDefaultConditions: SYMBOL.between,
|
|
63
60
|
type: item.type,
|
|
64
|
-
id:
|
|
61
|
+
id: item.id,
|
|
65
62
|
// 过滤组件id
|
|
66
63
|
name: item.name,
|
|
67
64
|
// 过滤组件名称
|
|
68
|
-
filterComponentType: '
|
|
65
|
+
filterComponentType: 'Input',
|
|
69
66
|
filterFn: function filterFn(value) {
|
|
70
67
|
return function (i) {
|
|
71
68
|
return "".concat(_filterFn.filterTableListItemColumnValue(i, item.id, 'actualPayment')).includes(value);
|
|
@@ -77,7 +74,6 @@ var ActualPayment = /*#__PURE__*/_createClass(function ActualPayment(options) {
|
|
|
77
74
|
this.name = options.name;
|
|
78
75
|
this.type = options.type;
|
|
79
76
|
this.isCombinationComponent = false;
|
|
80
|
-
this.canSort = true;
|
|
81
77
|
this.children = [];
|
|
82
78
|
this.componentConfig = options.componentConfig;
|
|
83
79
|
this.rules = [{
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComponentInterface, PickOption, Record
|
|
1
|
+
import { ComponentInterface, PickOption, Record } from '../../type';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { AddressData } from '@kmkf-fe-packages/kmkf-utils';
|
|
4
4
|
declare type Value = (string | number)[] | undefined;
|
|
@@ -8,10 +8,9 @@ declare class Address implements ComponentInterface {
|
|
|
8
8
|
type: string;
|
|
9
9
|
rules: any[];
|
|
10
10
|
isCombinationComponent: boolean;
|
|
11
|
-
canSort: boolean;
|
|
12
11
|
children: ComponentInterface[];
|
|
13
12
|
componentConfig: ComponentInterface["componentConfig"];
|
|
14
|
-
addressDateInstance:
|
|
13
|
+
addressDateInstance: AddressData;
|
|
15
14
|
constructor(options: PickOption);
|
|
16
15
|
/**
|
|
17
16
|
* 通过值计算展示内容
|
|
@@ -26,22 +25,6 @@ declare class Address implements ComponentInterface {
|
|
|
26
25
|
getComponentValue: (r: Record) => any[];
|
|
27
26
|
renderExport: (value: any, record: any) => string;
|
|
28
27
|
editRender: () => React.JSX.Element;
|
|
29
|
-
filterConfig: (
|
|
30
|
-
searchDefaultConditions: "eq";
|
|
31
|
-
type: string;
|
|
32
|
-
id: string;
|
|
33
|
-
name: string;
|
|
34
|
-
filterComponentType: "Cascader";
|
|
35
|
-
props: {
|
|
36
|
-
options: any;
|
|
37
|
-
fieldNames: {
|
|
38
|
-
label: string;
|
|
39
|
-
value: string;
|
|
40
|
-
children: string;
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
filterFn: (value: string) => (i: Record) => boolean;
|
|
44
|
-
formatFilterValue: (val: Array<number>) => number | undefined;
|
|
45
|
-
};
|
|
28
|
+
filterConfig: () => never[];
|
|
46
29
|
}
|
|
47
30
|
export default Address;
|
|
@@ -8,12 +8,10 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
8
8
|
import React from 'react';
|
|
9
9
|
import { ApaasAddress } from '@kmkf-fe-packages/basic-components';
|
|
10
10
|
import { AddressData } from '@kmkf-fe-packages/kmkf-utils';
|
|
11
|
-
import intersection from 'lodash/intersection';
|
|
12
11
|
import GetFormItem from "../GetFormItem";
|
|
13
12
|
import ItemView from "../../commonComponents/ItemView";
|
|
14
|
-
import { isNull
|
|
13
|
+
import { isNull } from '@kmkf-fe-packages/kmkf-utils';
|
|
15
14
|
import every from 'lodash/every';
|
|
16
|
-
import { SYMBOL } from "../../constant";
|
|
17
15
|
var Address = /*#__PURE__*/_createClass(function Address(options) {
|
|
18
16
|
var _this = this;
|
|
19
17
|
_classCallCheck(this, Address);
|
|
@@ -22,7 +20,6 @@ var Address = /*#__PURE__*/_createClass(function Address(options) {
|
|
|
22
20
|
_defineProperty(this, "type", void 0);
|
|
23
21
|
_defineProperty(this, "rules", void 0);
|
|
24
22
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
25
|
-
_defineProperty(this, "canSort", void 0);
|
|
26
23
|
_defineProperty(this, "children", void 0);
|
|
27
24
|
_defineProperty(this, "componentConfig", void 0);
|
|
28
25
|
_defineProperty(this, "addressDateInstance", void 0);
|
|
@@ -85,40 +82,13 @@ var Address = /*#__PURE__*/_createClass(function Address(options) {
|
|
|
85
82
|
component: /*#__PURE__*/React.createElement(ApaasAddress, _this.componentConfig)
|
|
86
83
|
});
|
|
87
84
|
});
|
|
88
|
-
_defineProperty(this, "filterConfig", function (
|
|
89
|
-
return
|
|
90
|
-
searchDefaultConditions: SYMBOL.eq,
|
|
91
|
-
type: item.type,
|
|
92
|
-
id: "".concat(item.id, "_basicDistrict"),
|
|
93
|
-
// 过滤组件id
|
|
94
|
-
name: item.name,
|
|
95
|
-
// 过滤组件名称
|
|
96
|
-
filterComponentType: 'Cascader',
|
|
97
|
-
props: {
|
|
98
|
-
options: _this.addressDateInstance.addressOptions || [],
|
|
99
|
-
fieldNames: {
|
|
100
|
-
label: 'label',
|
|
101
|
-
value: 'value',
|
|
102
|
-
children: 'children'
|
|
103
|
-
}
|
|
104
|
-
},
|
|
105
|
-
filterFn: function filterFn(value) {
|
|
106
|
-
return function (i) {
|
|
107
|
-
return intersection(value, _filterFn.filterTableListItemColumnValue(i, item.id, 'basicMultSelect')).length > 0;
|
|
108
|
-
};
|
|
109
|
-
},
|
|
110
|
-
formatFilterValue: function formatFilterValue(val) {
|
|
111
|
-
if ((val === null || val === void 0 ? void 0 : val.length) > 2) {
|
|
112
|
-
return val === null || val === void 0 ? void 0 : val[2];
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
};
|
|
85
|
+
_defineProperty(this, "filterConfig", function () {
|
|
86
|
+
return [];
|
|
116
87
|
});
|
|
117
88
|
this.name = options.name;
|
|
118
89
|
this.id = options.id;
|
|
119
90
|
this.type = options.type;
|
|
120
91
|
this.isCombinationComponent = false;
|
|
121
|
-
this.canSort = true;
|
|
122
92
|
this.children = [];
|
|
123
93
|
this.rules = [];
|
|
124
94
|
this.componentConfig = options.componentConfig;
|
|
@@ -11,7 +11,6 @@ declare class Alipay implements ComponentInterface {
|
|
|
11
11
|
alipayAccount: EAlipayAccount;
|
|
12
12
|
alipayName: EAlipayName;
|
|
13
13
|
isCombinationComponent: boolean;
|
|
14
|
-
canSort: boolean;
|
|
15
14
|
children: ComponentInterface[];
|
|
16
15
|
constructor(options: PickOption);
|
|
17
16
|
renderClient: (record: Record) => React.JSX.Element;
|
|
@@ -24,7 +23,6 @@ declare class Alipay implements ComponentInterface {
|
|
|
24
23
|
renderExport: () => null;
|
|
25
24
|
editRender: (value: any) => React.JSX.Element;
|
|
26
25
|
filterConfig: (item: ColumnConfig) => {
|
|
27
|
-
searchDefaultConditions: "in";
|
|
28
26
|
type: string;
|
|
29
27
|
id: string;
|
|
30
28
|
name: string;
|
|
@@ -25,7 +25,6 @@ var Alipay = /*#__PURE__*/_createClass(function Alipay(options) {
|
|
|
25
25
|
_defineProperty(this, "alipayAccount", void 0);
|
|
26
26
|
_defineProperty(this, "alipayName", void 0);
|
|
27
27
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
28
|
-
_defineProperty(this, "canSort", void 0);
|
|
29
28
|
_defineProperty(this, "children", void 0);
|
|
30
29
|
_defineProperty(this, "renderClient", function (record) {
|
|
31
30
|
return /*#__PURE__*/React.createElement(React.Fragment, null, _this.alipayName.renderClient(record), _this.alipayAccount.renderClient(record));
|
|
@@ -64,7 +63,6 @@ var Alipay = /*#__PURE__*/_createClass(function Alipay(options) {
|
|
|
64
63
|
this.id = options.id;
|
|
65
64
|
this.type = options.type;
|
|
66
65
|
this.isCombinationComponent = true;
|
|
67
|
-
this.canSort = false;
|
|
68
66
|
this.componentConfig = options.componentConfig;
|
|
69
67
|
this.alipayAccount = new EAlipayAccount(_objectSpread({}, options));
|
|
70
68
|
this.alipayName = new EAlipayName(_objectSpread({}, options));
|
|
@@ -10,7 +10,6 @@ declare class EAlipayAccount implements ComponentInterface {
|
|
|
10
10
|
align: ALignType;
|
|
11
11
|
width: number;
|
|
12
12
|
isCombinationComponent: boolean;
|
|
13
|
-
canSort: boolean;
|
|
14
13
|
children: ComponentInterface[];
|
|
15
14
|
constructor(options: PickOption);
|
|
16
15
|
renderClient: (record: Record) => React.JSX.Element | null;
|
|
@@ -20,7 +19,6 @@ declare class EAlipayAccount implements ComponentInterface {
|
|
|
20
19
|
renderExport: (value?: string) => string;
|
|
21
20
|
editRender: () => React.JSX.Element;
|
|
22
21
|
filterConfig: (item: ColumnConfig) => {
|
|
23
|
-
searchDefaultConditions: "eq";
|
|
24
22
|
type: string;
|
|
25
23
|
id: string;
|
|
26
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 AlipayAccount = function AlipayAccount(props) {
|
|
15
14
|
return !props.isSingle ? /*#__PURE__*/React.createElement(ApaasInput, props) : null;
|
|
16
15
|
};
|
|
@@ -26,7 +25,6 @@ var EAlipayAccount = /*#__PURE__*/_createClass(function EAlipayAccount(options)
|
|
|
26
25
|
_defineProperty(this, "align", void 0);
|
|
27
26
|
_defineProperty(this, "width", 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, {
|
|
@@ -67,7 +65,6 @@ var EAlipayAccount = /*#__PURE__*/_createClass(function EAlipayAccount(options)
|
|
|
67
65
|
});
|
|
68
66
|
_defineProperty(this, "filterConfig", function (item) {
|
|
69
67
|
return {
|
|
70
|
-
searchDefaultConditions: SYMBOL.eq,
|
|
71
68
|
type: item.type,
|
|
72
69
|
id: "".concat(item.id, "_alipayAccount"),
|
|
73
70
|
name: "".concat(item.name, "-\u652F\u4ED8\u5B9D\u8D26\u53F7"),
|
|
@@ -83,7 +80,6 @@ var EAlipayAccount = /*#__PURE__*/_createClass(function EAlipayAccount(options)
|
|
|
83
80
|
this.id = "".concat(options.id, "_alipayAccount");
|
|
84
81
|
this.type = options.type;
|
|
85
82
|
this.isCombinationComponent = false;
|
|
86
|
-
this.canSort = true;
|
|
87
83
|
this.children = [];
|
|
88
84
|
this.align = 'left';
|
|
89
85
|
this.componentConfig = options === null || options === void 0 ? void 0 : options.componentConfig;
|
|
@@ -8,7 +8,6 @@ declare class EAlipayAccount implements ComponentInterface {
|
|
|
8
8
|
componentConfig: ComponentInterface["componentConfig"];
|
|
9
9
|
effects: ComponentInterface["effects"];
|
|
10
10
|
isCombinationComponent: boolean;
|
|
11
|
-
canSort: boolean;
|
|
12
11
|
children: ComponentInterface[];
|
|
13
12
|
align: ALignType;
|
|
14
13
|
width: number;
|
|
@@ -20,7 +19,6 @@ declare class EAlipayAccount implements ComponentInterface {
|
|
|
20
19
|
renderExport: (value?: string) => string;
|
|
21
20
|
editRender: () => React.JSX.Element;
|
|
22
21
|
filterConfig: (item: ColumnConfig) => {
|
|
23
|
-
searchDefaultConditions: "eq";
|
|
24
22
|
type: string;
|
|
25
23
|
id: string;
|
|
26
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 AlipayName = function AlipayName(props) {
|
|
15
14
|
return !props.isSingle ? /*#__PURE__*/React.createElement(ApaasInput, props) : null;
|
|
16
15
|
};
|
|
@@ -24,7 +23,6 @@ var EAlipayAccount = /*#__PURE__*/_createClass(function EAlipayAccount(options)
|
|
|
24
23
|
_defineProperty(this, "componentConfig", void 0);
|
|
25
24
|
_defineProperty(this, "effects", void 0);
|
|
26
25
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
27
|
-
_defineProperty(this, "canSort", void 0);
|
|
28
26
|
_defineProperty(this, "children", void 0);
|
|
29
27
|
_defineProperty(this, "align", void 0);
|
|
30
28
|
_defineProperty(this, "width", void 0);
|
|
@@ -67,7 +65,6 @@ var EAlipayAccount = /*#__PURE__*/_createClass(function EAlipayAccount(options)
|
|
|
67
65
|
});
|
|
68
66
|
_defineProperty(this, "filterConfig", function (item) {
|
|
69
67
|
return {
|
|
70
|
-
searchDefaultConditions: SYMBOL.eq,
|
|
71
68
|
type: item.type,
|
|
72
69
|
id: "".concat(item.id, "_alipayName"),
|
|
73
70
|
name: "".concat(item.name, "-\u652F\u4ED8\u5B9D\u540D\u79F0"),
|
|
@@ -83,7 +80,6 @@ var EAlipayAccount = /*#__PURE__*/_createClass(function EAlipayAccount(options)
|
|
|
83
80
|
this.id = "".concat(options.id, "_alipayName");
|
|
84
81
|
this.type = options.type;
|
|
85
82
|
this.isCombinationComponent = false;
|
|
86
|
-
this.canSort = true;
|
|
87
83
|
this.children = [];
|
|
88
84
|
this.align = 'left';
|
|
89
85
|
this.componentConfig = options === null || options === void 0 ? void 0 : options.componentConfig;
|
|
@@ -8,7 +8,6 @@ declare class EBuyerNick implements ComponentInterface {
|
|
|
8
8
|
componentConfig: ComponentInterface["componentConfig"];
|
|
9
9
|
effects: ComponentInterface["effects"];
|
|
10
10
|
isCombinationComponent: boolean;
|
|
11
|
-
canSort: boolean;
|
|
12
11
|
children: ComponentInterface[];
|
|
13
12
|
constructor(options: PickOption);
|
|
14
13
|
renderClient: (record: any) => React.JSX.Element | null;
|
|
@@ -21,7 +20,6 @@ declare class EBuyerNick implements ComponentInterface {
|
|
|
21
20
|
renderExport: (value: any, record: any) => any;
|
|
22
21
|
editRender: (value: any) => React.JSX.Element;
|
|
23
22
|
filterConfig: (item: ColumnConfig) => {
|
|
24
|
-
searchDefaultConditions: "like";
|
|
25
23
|
type: string;
|
|
26
24
|
id: string;
|
|
27
25
|
name: string;
|
|
@@ -12,7 +12,6 @@ import GetFormItem from "../GetFormItem";
|
|
|
12
12
|
import ItemView from "../../commonComponents/ItemView";
|
|
13
13
|
import PlatBuyer from "../../commonComponents/PlatBuyer";
|
|
14
14
|
import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
|
|
15
|
-
import { SYMBOL } from "../../constant";
|
|
16
15
|
var EBuyerNick = /*#__PURE__*/_createClass(function EBuyerNick(options) {
|
|
17
16
|
var _this = this,
|
|
18
17
|
_this$componentConfig3,
|
|
@@ -25,7 +24,6 @@ var EBuyerNick = /*#__PURE__*/_createClass(function EBuyerNick(options) {
|
|
|
25
24
|
_defineProperty(this, "componentConfig", void 0);
|
|
26
25
|
_defineProperty(this, "effects", 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 _record$_this$id;
|
|
@@ -78,7 +76,6 @@ var EBuyerNick = /*#__PURE__*/_createClass(function EBuyerNick(options) {
|
|
|
78
76
|
});
|
|
79
77
|
_defineProperty(this, "filterConfig", function (item) {
|
|
80
78
|
return {
|
|
81
|
-
searchDefaultConditions: SYMBOL.like,
|
|
82
79
|
type: item.type,
|
|
83
80
|
id: "".concat(item.id, "_buyerNick"),
|
|
84
81
|
// 过滤组件id
|
|
@@ -96,7 +93,6 @@ var EBuyerNick = /*#__PURE__*/_createClass(function EBuyerNick(options) {
|
|
|
96
93
|
this.id = options.id;
|
|
97
94
|
this.type = options.type;
|
|
98
95
|
this.isCombinationComponent = false;
|
|
99
|
-
this.canSort = true;
|
|
100
96
|
this.children = [];
|
|
101
97
|
this.rules = (_this$componentConfig3 = this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.required ? [{
|
|
102
98
|
validator: function validator(_, value) {
|
|
@@ -7,7 +7,6 @@ declare class BasicCascader 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
|
/**
|
|
@@ -23,21 +22,12 @@ declare class BasicCascader implements ComponentInterface {
|
|
|
23
22
|
renderExport: (value: any, record: Record) => string;
|
|
24
23
|
editRender: () => React.JSX.Element;
|
|
25
24
|
filterConfig: (item: ColumnConfig) => {
|
|
26
|
-
searchDefaultConditions: "eq";
|
|
27
25
|
type: string;
|
|
28
26
|
id: string;
|
|
29
27
|
name: string;
|
|
30
28
|
filterComponentType: "Cascader";
|
|
31
|
-
|
|
32
|
-
options: any;
|
|
33
|
-
fieldNames: {
|
|
34
|
-
label: string;
|
|
35
|
-
value: string;
|
|
36
|
-
children: string;
|
|
37
|
-
};
|
|
38
|
-
};
|
|
29
|
+
options: any;
|
|
39
30
|
filterFn: (value: string) => (i: Record) => boolean;
|
|
40
|
-
formatFilterValue: (val: Array<string>) => string | undefined;
|
|
41
31
|
};
|
|
42
32
|
}
|
|
43
33
|
export default BasicCascader;
|
|
@@ -13,7 +13,6 @@ import GetFormItem from "../GetFormItem";
|
|
|
13
13
|
import { findLabelBySelectValue, transMultSelectOptions } from '@kmkf-fe-packages/kmkf-utils';
|
|
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 BasicCascader = /*#__PURE__*/_createClass(function BasicCascader(options) {
|
|
18
17
|
var _this = this;
|
|
19
18
|
_classCallCheck(this, BasicCascader);
|
|
@@ -23,7 +22,6 @@ var BasicCascader = /*#__PURE__*/_createClass(function BasicCascader(options) {
|
|
|
23
22
|
_defineProperty(this, "rules", void 0);
|
|
24
23
|
_defineProperty(this, "componentConfig", 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, "getValue", function (value) {
|
|
29
27
|
var _findLabelBySelectVal, _findLabelBySelectVal2, _this$componentConfig;
|
|
@@ -89,30 +87,17 @@ var BasicCascader = /*#__PURE__*/_createClass(function BasicCascader(options) {
|
|
|
89
87
|
_defineProperty(this, "filterConfig", function (item) {
|
|
90
88
|
var _item$config;
|
|
91
89
|
return {
|
|
92
|
-
searchDefaultConditions: SYMBOL.eq,
|
|
93
90
|
type: item.type,
|
|
94
|
-
id:
|
|
91
|
+
id: item.id,
|
|
95
92
|
// 过滤组件id
|
|
96
93
|
name: item.name,
|
|
97
94
|
// 过滤组件名称
|
|
98
95
|
filterComponentType: 'Cascader',
|
|
99
|
-
|
|
100
|
-
options: transMultSelectOptions((item === null || item === void 0 ? void 0 : (_item$config = item.config) === null || _item$config === void 0 ? void 0 : _item$config.options) || []),
|
|
101
|
-
fieldNames: {
|
|
102
|
-
label: 'label',
|
|
103
|
-
value: 'actived',
|
|
104
|
-
children: 'children'
|
|
105
|
-
}
|
|
106
|
-
},
|
|
96
|
+
options: transMultSelectOptions((item === null || item === void 0 ? void 0 : (_item$config = item.config) === null || _item$config === void 0 ? void 0 : _item$config.options) || []),
|
|
107
97
|
filterFn: function filterFn(value) {
|
|
108
98
|
return function (i) {
|
|
109
99
|
return intersection(value, _filterFn.filterTableListItemColumnValue(i, item.id, 'basicMultSelect')).length > 0;
|
|
110
100
|
};
|
|
111
|
-
},
|
|
112
|
-
formatFilterValue: function formatFilterValue(val) {
|
|
113
|
-
if ((val === null || val === void 0 ? void 0 : val.length) > 0) {
|
|
114
|
-
return val[val.length - 1];
|
|
115
|
-
}
|
|
116
101
|
}
|
|
117
102
|
};
|
|
118
103
|
});
|
|
@@ -123,7 +108,6 @@ var BasicCascader = /*#__PURE__*/_createClass(function BasicCascader(options) {
|
|
|
123
108
|
this.rules = [];
|
|
124
109
|
this.children = [];
|
|
125
110
|
this.isCombinationComponent = false;
|
|
126
|
-
this.canSort = true;
|
|
127
111
|
}
|
|
128
112
|
|
|
129
113
|
/**
|
|
@@ -11,7 +11,6 @@ declare class BasicCheckbox implements ComponentInterface {
|
|
|
11
11
|
rules: any[];
|
|
12
12
|
componentConfig: ComponentInterface["componentConfig"];
|
|
13
13
|
isCombinationComponent: boolean;
|
|
14
|
-
canSort: boolean;
|
|
15
14
|
children: ComponentInterface[];
|
|
16
15
|
constructor(options: PickOption);
|
|
17
16
|
getValue: (value: Value) => string | null | undefined;
|
|
@@ -25,14 +24,11 @@ declare class BasicCheckbox implements ComponentInterface {
|
|
|
25
24
|
renderClient: (record: any) => React.JSX.Element | null;
|
|
26
25
|
editRender: () => React.JSX.Element;
|
|
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
|
-
|
|
34
|
-
options: any[] | undefined;
|
|
35
|
-
};
|
|
31
|
+
options: any[] | undefined;
|
|
36
32
|
filterFn: (value: string) => (i: Record) => boolean;
|
|
37
33
|
};
|
|
38
34
|
}
|
|
@@ -11,7 +11,6 @@ import { ApaasCheckbox } 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 BasicCheckbox = /*#__PURE__*/_createClass(function BasicCheckbox(options) {
|
|
16
15
|
var _this = this,
|
|
17
16
|
_options$componentCon;
|
|
@@ -22,7 +21,6 @@ var BasicCheckbox = /*#__PURE__*/_createClass(function BasicCheckbox(options) {
|
|
|
22
21
|
_defineProperty(this, "rules", void 0);
|
|
23
22
|
_defineProperty(this, "componentConfig", void 0);
|
|
24
23
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
25
|
-
_defineProperty(this, "canSort", void 0);
|
|
26
24
|
_defineProperty(this, "children", void 0);
|
|
27
25
|
_defineProperty(this, "getValue", function (value) {
|
|
28
26
|
var _value$value, _value$value2, _value$value3;
|
|
@@ -87,19 +85,16 @@ var BasicCheckbox = /*#__PURE__*/_createClass(function BasicCheckbox(options) {
|
|
|
87
85
|
_defineProperty(this, "filterConfig", function (item) {
|
|
88
86
|
var _item$config, _item$config2, _item$config2$options, _item$config3;
|
|
89
87
|
return {
|
|
90
|
-
searchDefaultConditions: SYMBOL.in,
|
|
91
88
|
type: item.type,
|
|
92
|
-
id:
|
|
89
|
+
id: item.id,
|
|
93
90
|
// 过滤组件id
|
|
94
91
|
name: item.name,
|
|
95
92
|
// 过滤组件名称
|
|
96
93
|
filterComponentType: 'MultipleSelect',
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
}) : (item === null || item === void 0 ? void 0 : (_item$config3 = item.config) === null || _item$config3 === void 0 ? void 0 : _item$config3.options) || []
|
|
102
|
-
},
|
|
94
|
+
options: item !== null && item !== void 0 && (_item$config = item.config) !== null && _item$config !== void 0 && _item$config.showOther ? item === null || item === void 0 ? void 0 : (_item$config2 = item.config) === null || _item$config2 === void 0 ? void 0 : (_item$config2$options = _item$config2.options) === null || _item$config2$options === void 0 ? void 0 : _item$config2$options.concat({
|
|
95
|
+
label: '其他',
|
|
96
|
+
value: '其他'
|
|
97
|
+
}) : (item === null || item === void 0 ? void 0 : (_item$config3 = item.config) === null || _item$config3 === void 0 ? void 0 : _item$config3.options) || [],
|
|
103
98
|
filterFn: function filterFn(value) {
|
|
104
99
|
return function (i) {
|
|
105
100
|
return intersection(value, _filterFn.filterTableListItemColumnValue(i, item.id, 'checkbox')).length > 0;
|
|
@@ -111,7 +106,6 @@ var BasicCheckbox = /*#__PURE__*/_createClass(function BasicCheckbox(options) {
|
|
|
111
106
|
this.id = options.id;
|
|
112
107
|
this.type = options.type;
|
|
113
108
|
this.isCombinationComponent = false;
|
|
114
|
-
this.canSort = true;
|
|
115
109
|
this.children = [];
|
|
116
110
|
this.componentConfig = options.componentConfig;
|
|
117
111
|
this.rules = options !== null && options !== void 0 && (_options$componentCon = options.componentConfig) !== null && _options$componentCon !== void 0 && _options$componentCon.required ? [{
|
|
@@ -10,7 +10,6 @@ declare class CommonDataTime implements ComponentInterface {
|
|
|
10
10
|
rules: any[];
|
|
11
11
|
componentConfig: ComponentInterface["componentConfig"];
|
|
12
12
|
isCombinationComponent: boolean;
|
|
13
|
-
canSort: boolean;
|
|
14
13
|
children: ComponentInterface[];
|
|
15
14
|
constructor(options: PickOption);
|
|
16
15
|
getValue: (value: string) => string;
|
|
@@ -21,13 +20,11 @@ declare class CommonDataTime implements ComponentInterface {
|
|
|
21
20
|
renderExport: (value: any, record: Record) => string;
|
|
22
21
|
editRender: () => null;
|
|
23
22
|
filterConfig: (item: ColumnConfig) => {
|
|
24
|
-
searchDefaultConditions: "between";
|
|
25
23
|
type: string;
|
|
26
24
|
id: string;
|
|
27
25
|
name: string;
|
|
28
26
|
filterComponentType: "Date";
|
|
29
27
|
filterFn: (value: string[]) => (i: Record) => boolean;
|
|
30
|
-
formatFilterValue: (val: Array<any>) => number[] | undefined;
|
|
31
28
|
};
|
|
32
29
|
}
|
|
33
30
|
export default CommonDataTime;
|
|
@@ -9,7 +9,6 @@ import React from 'react';
|
|
|
9
9
|
import moment from 'moment';
|
|
10
10
|
import ItemView from "../../commonComponents/ItemView";
|
|
11
11
|
import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
|
|
12
|
-
import { SYMBOL } from "../../constant";
|
|
13
12
|
|
|
14
13
|
/**
|
|
15
14
|
* 针对完成时间、创建时间、修改时间定义了3中类型
|
|
@@ -23,7 +22,6 @@ var CommonDataTime = /*#__PURE__*/_createClass(function CommonDataTime(options)
|
|
|
23
22
|
_defineProperty(this, "rules", void 0);
|
|
24
23
|
_defineProperty(this, "componentConfig", 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, "getValue", function (value) {
|
|
29
27
|
return moment(value).format('YYYY-MM-DD HH:mm:ss');
|
|
@@ -59,7 +57,6 @@ var CommonDataTime = /*#__PURE__*/_createClass(function CommonDataTime(options)
|
|
|
59
57
|
});
|
|
60
58
|
_defineProperty(this, "filterConfig", function (item) {
|
|
61
59
|
return {
|
|
62
|
-
searchDefaultConditions: SYMBOL.between,
|
|
63
60
|
type: item.type,
|
|
64
61
|
id: item.id,
|
|
65
62
|
// 过滤组件id
|
|
@@ -71,13 +68,6 @@ var CommonDataTime = /*#__PURE__*/_createClass(function CommonDataTime(options)
|
|
|
71
68
|
var recordDateTime = _filterFn.filterTableListItemColumnValue(i, item.id, '');
|
|
72
69
|
return _filterFn.filterDateFn(value, recordDateTime);
|
|
73
70
|
};
|
|
74
|
-
},
|
|
75
|
-
formatFilterValue: function formatFilterValue(val) {
|
|
76
|
-
if ((val === null || val === void 0 ? void 0 : val.length) > 0) {
|
|
77
|
-
return val === null || val === void 0 ? void 0 : val.map(function (v) {
|
|
78
|
-
return moment(v).valueOf();
|
|
79
|
-
});
|
|
80
|
-
}
|
|
81
71
|
}
|
|
82
72
|
};
|
|
83
73
|
});
|
|
@@ -87,7 +77,6 @@ var CommonDataTime = /*#__PURE__*/_createClass(function CommonDataTime(options)
|
|
|
87
77
|
this.componentConfig = options.componentConfig;
|
|
88
78
|
this.rules = [];
|
|
89
79
|
this.isCombinationComponent = false;
|
|
90
|
-
this.canSort = true;
|
|
91
80
|
this.children = [];
|
|
92
81
|
});
|
|
93
82
|
export default CommonDataTime;
|
|
@@ -7,7 +7,6 @@ declare class CompletedUser implements ComponentInterface {
|
|
|
7
7
|
componentConfig: ComponentInterface["componentConfig"];
|
|
8
8
|
effects: ComponentInterface["effects"];
|
|
9
9
|
isCombinationComponent: boolean;
|
|
10
|
-
canSort: boolean;
|
|
11
10
|
children: ComponentInterface[];
|
|
12
11
|
constructor(options: PickOption);
|
|
13
12
|
renderPc: (value: unknown, record: Record) => React.JSX.Element;
|
|
@@ -17,17 +16,14 @@ declare class CompletedUser implements ComponentInterface {
|
|
|
17
16
|
renderClient: () => null;
|
|
18
17
|
editRender: () => null;
|
|
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
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
}[];
|
|
30
|
-
};
|
|
23
|
+
options: {
|
|
24
|
+
label: string;
|
|
25
|
+
value: string;
|
|
26
|
+
}[];
|
|
31
27
|
filterFn: (value: string) => (i: Record) => boolean;
|
|
32
28
|
};
|
|
33
29
|
}
|
|
@@ -7,7 +7,6 @@ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _ty
|
|
|
7
7
|
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
8
8
|
import React from 'react';
|
|
9
9
|
import { filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
|
|
10
|
-
import { SYMBOL } from "../../constant";
|
|
11
10
|
var CompletedUser = /*#__PURE__*/_createClass(function CompletedUser(options) {
|
|
12
11
|
var _this = this;
|
|
13
12
|
_classCallCheck(this, CompletedUser);
|
|
@@ -17,7 +16,6 @@ var CompletedUser = /*#__PURE__*/_createClass(function CompletedUser(options) {
|
|
|
17
16
|
_defineProperty(this, "componentConfig", void 0);
|
|
18
17
|
_defineProperty(this, "effects", void 0);
|
|
19
18
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
20
|
-
_defineProperty(this, "canSort", void 0);
|
|
21
19
|
_defineProperty(this, "children", void 0);
|
|
22
20
|
_defineProperty(this, "renderPc", function (value, record) {
|
|
23
21
|
var _record;
|
|
@@ -42,16 +40,13 @@ var CompletedUser = /*#__PURE__*/_createClass(function CompletedUser(options) {
|
|
|
42
40
|
_defineProperty(this, "filterConfig", function (item) {
|
|
43
41
|
var _this$effects;
|
|
44
42
|
return {
|
|
45
|
-
searchDefaultConditions: SYMBOL.in,
|
|
46
43
|
type: item.type,
|
|
47
44
|
id: item.id,
|
|
48
45
|
// 过滤组件id
|
|
49
46
|
name: item.name,
|
|
50
47
|
// 过滤组件名称
|
|
51
48
|
filterComponentType: 'MultipleSelect',
|
|
52
|
-
|
|
53
|
-
options: ((_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.userList) || []
|
|
54
|
-
},
|
|
49
|
+
options: ((_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.userList) || [],
|
|
55
50
|
filterFn: function filterFn(value) {
|
|
56
51
|
return function (i) {
|
|
57
52
|
return value === null || value === void 0 ? void 0 : value.includes(_filterFn.filterTableListItemColumnValue(i, item.id, ''));
|
|
@@ -64,7 +59,6 @@ var CompletedUser = /*#__PURE__*/_createClass(function CompletedUser(options) {
|
|
|
64
59
|
this.type = "COMPLETED_USER_INPUT";
|
|
65
60
|
this.effects = options.effects;
|
|
66
61
|
this.isCombinationComponent = false;
|
|
67
|
-
this.canSort = true;
|
|
68
62
|
this.children = [];
|
|
69
63
|
});
|
|
70
64
|
export default CompletedUser;
|