@kmkf-fe-packages/services-components 0.5.2-alpha.0 → 0.5.2-alpha.10
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/commonComponents/PlatformAvatar/index.d.ts +7 -0
- package/dist/esm/commonComponents/PlatformAvatar/index.js +28 -0
- package/dist/esm/components/ActualPayment/index.d.ts +8 -11
- package/dist/esm/components/ActualPayment/index.js +19 -22
- package/dist/esm/components/Address/index.d.ts +6 -14
- package/dist/esm/components/Address/index.js +9 -22
- package/dist/esm/components/Alipay/index.d.ts +9 -18
- package/dist/esm/components/Alipay/index.js +6 -17
- package/dist/esm/components/AlipayAccount/index.d.ts +8 -12
- package/dist/esm/components/AlipayAccount/index.js +16 -21
- package/dist/esm/components/AlipayName/index.d.ts +8 -12
- package/dist/esm/components/AlipayName/index.js +16 -21
- package/dist/esm/components/BuyerNick/index.d.ts +8 -11
- package/dist/esm/components/BuyerNick/index.js +17 -21
- package/dist/esm/components/Cascader/index.d.ts +9 -23
- package/dist/esm/components/Cascader/index.js +29 -27
- package/dist/esm/components/Checkbox/index.d.ts +9 -10
- package/dist/esm/components/Checkbox/index.js +24 -20
- package/dist/esm/components/CommonDataTime/index.d.ts +8 -10
- package/dist/esm/components/CommonDataTime/index.js +19 -20
- package/dist/esm/components/CompletedUser/index.d.ts +28 -0
- package/dist/esm/components/CompletedUser/index.js +60 -0
- package/dist/esm/components/DataTime/index.d.ts +9 -10
- package/dist/esm/components/DataTime/index.js +22 -23
- package/dist/esm/components/EItemEnCode/index.d.ts +8 -10
- package/dist/esm/components/EItemEnCode/index.js +22 -20
- package/dist/esm/components/EItemId/index.d.ts +8 -10
- package/dist/esm/components/EItemId/index.js +22 -20
- package/dist/esm/components/EItemSelect/index.d.ts +4 -11
- package/dist/esm/components/EItemSelect/index.js +6 -19
- package/dist/esm/components/ErpTradeId/index.d.ts +8 -11
- package/dist/esm/components/ErpTradeId/index.js +18 -21
- package/dist/esm/components/Express/index.d.ts +9 -13
- package/dist/esm/components/Express/index.js +18 -29
- package/dist/esm/components/ExpressCode/index.d.ts +8 -12
- package/dist/esm/components/ExpressCode/index.js +17 -22
- package/dist/esm/components/FlowStatusSelect/index.d.ts +13 -33
- package/dist/esm/components/FlowStatusSelect/index.js +25 -20
- package/dist/esm/components/Grade/index.d.ts +4 -11
- package/dist/esm/components/Grade/index.js +6 -19
- package/dist/esm/components/Handler/index.d.ts +32 -0
- package/dist/esm/components/Handler/index.js +64 -0
- package/dist/esm/components/Input/index.d.ts +8 -11
- package/dist/esm/components/Input/index.js +20 -24
- package/dist/esm/components/JstItemSelect/index.d.ts +9 -11
- package/dist/esm/components/JstItemSelect/index.js +35 -20
- package/dist/esm/components/JstLogistics/index.d.ts +16 -11
- package/dist/esm/components/JstLogistics/index.js +31 -20
- package/dist/esm/components/JstSendGood/index.d.ts +9 -11
- package/dist/esm/components/JstSendGood/index.js +35 -20
- package/dist/esm/components/JstSupply/index.d.ts +9 -11
- package/dist/esm/components/JstSupply/index.js +35 -20
- package/dist/esm/components/Logistics/index.d.ts +14 -25
- package/dist/esm/components/Logistics/index.js +10 -17
- package/dist/esm/components/LogisticsInterception/InterceptAddress.d.ts +24 -0
- package/dist/esm/components/LogisticsInterception/InterceptAddress.js +85 -0
- package/dist/esm/components/LogisticsInterception/index.d.ts +22 -0
- package/dist/esm/components/LogisticsInterception/index.js +73 -0
- package/dist/esm/components/MultSelect/index.d.ts +9 -10
- package/dist/esm/components/MultSelect/index.js +21 -20
- package/dist/esm/components/Ordinary/OrdinaryHeader.d.ts +8 -21
- package/dist/esm/components/Ordinary/OrdinaryHeader.js +14 -26
- package/dist/esm/components/Ordinary/OrdinaryMoney.d.ts +8 -21
- package/dist/esm/components/Ordinary/OrdinaryMoney.js +14 -26
- package/dist/esm/components/Ordinary/OrdinarySerial.d.ts +8 -16
- package/dist/esm/components/Ordinary/OrdinarySerial.js +14 -16
- package/dist/esm/components/Ordinary/index.d.ts +9 -22
- package/dist/esm/components/Ordinary/index.js +8 -7
- package/dist/esm/components/Payment/AlipayNick.d.ts +8 -21
- package/dist/esm/components/Payment/AlipayNick.js +14 -26
- package/dist/esm/components/Payment/AlipayNo.d.ts +8 -20
- package/dist/esm/components/Payment/AlipayNo.js +14 -25
- package/dist/esm/components/Payment/AlipayTime.d.ts +8 -22
- package/dist/esm/components/Payment/AlipayTime.js +15 -27
- package/dist/esm/components/Payment/BuyerNick.d.ts +8 -21
- package/dist/esm/components/Payment/BuyerNick.js +14 -26
- package/dist/esm/components/Payment/PaymentAmount.d.ts +8 -21
- package/dist/esm/components/Payment/PaymentAmount.js +14 -26
- package/dist/esm/components/Payment/PaymentStatus.d.ts +13 -27
- package/dist/esm/components/Payment/PaymentStatus.js +37 -36
- package/dist/esm/components/Payment/PaymentTid.d.ts +8 -21
- package/dist/esm/components/Payment/PaymentTid.js +14 -26
- package/dist/esm/components/Payment/index.d.ts +18 -96
- package/dist/esm/components/Payment/index.js +8 -17
- package/dist/esm/components/Picture/index.d.ts +8 -10
- package/dist/esm/components/Picture/index.js +6 -18
- package/dist/esm/components/PlatForm/index.d.ts +26 -0
- package/dist/esm/components/PlatForm/index.js +62 -0
- package/dist/esm/components/Radio/index.d.ts +9 -10
- package/dist/esm/components/Radio/index.js +23 -20
- package/dist/esm/components/Rate/index.d.ts +4 -11
- package/dist/esm/components/Rate/index.js +6 -19
- package/dist/esm/components/ReceiverAddress/index.d.ts +4 -12
- package/dist/esm/components/ReceiverAddress/index.js +6 -19
- package/dist/esm/components/ReceiverMobile/index.d.ts +8 -11
- package/dist/esm/components/ReceiverMobile/index.js +18 -21
- package/dist/esm/components/ReceiverName/index.d.ts +8 -11
- package/dist/esm/components/ReceiverName/index.js +18 -21
- package/dist/esm/components/Remark/index.d.ts +8 -11
- package/dist/esm/components/Remark/index.js +18 -21
- package/dist/esm/components/ReturnLogistics/index.d.ts +14 -20
- package/dist/esm/components/ReturnLogistics/index.js +10 -7
- package/dist/esm/components/Select/index.d.ts +9 -10
- package/dist/esm/components/Select/index.js +20 -20
- package/dist/esm/components/ShopInput/index.d.ts +26 -0
- package/dist/esm/components/ShopInput/index.js +71 -0
- package/dist/esm/components/ShopName/index.d.ts +8 -11
- package/dist/esm/components/ShopName/index.js +18 -20
- package/dist/esm/components/Submitter/index.d.ts +28 -0
- package/dist/esm/components/Submitter/index.js +60 -0
- package/dist/esm/components/SystemOrderNo/index.d.ts +8 -11
- package/dist/esm/components/SystemOrderNo/index.js +18 -21
- package/dist/esm/components/TemplateSelect/index.d.ts +9 -11
- package/dist/esm/components/TemplateSelect/index.js +20 -20
- package/dist/esm/components/TextArea/index.d.ts +8 -10
- package/dist/esm/components/TextArea/index.js +18 -20
- package/dist/esm/components/ThirdItemSelect/index.d.ts +8 -10
- package/dist/esm/components/ThirdItemSelect/index.js +24 -20
- package/dist/esm/components/TradeDateTime/index.d.ts +9 -5
- package/dist/esm/components/TradeDateTime/index.js +34 -10
- package/dist/esm/components/TradeId/index.d.ts +8 -5
- package/dist/esm/components/TradeId/index.js +18 -10
- package/dist/esm/components/WorkOrderId/index.d.ts +8 -11
- package/dist/esm/components/WorkOrderId/index.js +18 -20
- package/dist/esm/factory.d.ts +3 -0
- package/dist/esm/factory.js +105 -0
- package/dist/esm/index.d.ts +7 -0
- package/dist/esm/index.js +8 -1
- package/dist/esm/type.d.ts +32 -30
- package/package.json +3 -3
|
@@ -9,7 +9,7 @@ import React from 'react';
|
|
|
9
9
|
import { ApaasInput } from '@kmkf-fe-packages/basic-components';
|
|
10
10
|
import GetFormItem from "../GetFormItem";
|
|
11
11
|
import ItemView from "../../commonComponents/ItemView";
|
|
12
|
-
import { isNull } from '@kmkf-fe-packages/kmkf-utils';
|
|
12
|
+
import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
|
|
13
13
|
var PaymentAmount = /*#__PURE__*/_createClass(function PaymentAmount(options) {
|
|
14
14
|
var _this = this;
|
|
15
15
|
_classCallCheck(this, PaymentAmount);
|
|
@@ -17,14 +17,11 @@ var PaymentAmount = /*#__PURE__*/_createClass(function PaymentAmount(options) {
|
|
|
17
17
|
_defineProperty(this, "id", void 0);
|
|
18
18
|
_defineProperty(this, "type", void 0);
|
|
19
19
|
_defineProperty(this, "rules", void 0);
|
|
20
|
-
_defineProperty(this, "canFilter", void 0);
|
|
21
|
-
_defineProperty(this, "canGroup", void 0);
|
|
22
|
-
_defineProperty(this, "canHidden", void 0);
|
|
23
|
-
_defineProperty(this, "dataType", void 0);
|
|
24
|
-
_defineProperty(this, "showContains", void 0);
|
|
25
20
|
_defineProperty(this, "componentConfig", void 0);
|
|
26
21
|
_defineProperty(this, "align", void 0);
|
|
27
22
|
_defineProperty(this, "width", void 0);
|
|
23
|
+
_defineProperty(this, "isCombinationComponent", void 0);
|
|
24
|
+
_defineProperty(this, "children", void 0);
|
|
28
25
|
_defineProperty(this, "render", function (value) {
|
|
29
26
|
return /*#__PURE__*/React.createElement("span", null, value);
|
|
30
27
|
});
|
|
@@ -51,33 +48,24 @@ var PaymentAmount = /*#__PURE__*/_createClass(function PaymentAmount(options) {
|
|
|
51
48
|
component: /*#__PURE__*/React.createElement(ApaasInput, _this.componentConfig)
|
|
52
49
|
});
|
|
53
50
|
});
|
|
54
|
-
_defineProperty(this, "
|
|
51
|
+
_defineProperty(this, "filterConfig", function (item) {
|
|
55
52
|
return {
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
type: _this.type,
|
|
65
|
-
render: _this.renderPc,
|
|
66
|
-
renderPc: _this.renderPc,
|
|
67
|
-
componentType: _this.editRender,
|
|
68
|
-
showContains: _this.showContains,
|
|
69
|
-
renderExport: _this.renderExport
|
|
53
|
+
id: "".concat(item.id, "_enterprisePaymentRefundFee"),
|
|
54
|
+
name: "".concat(item.name, "-\u6253\u6B3E\u91D1\u989D"),
|
|
55
|
+
filterComponentType: 'Input',
|
|
56
|
+
filterFn: function filterFn(value) {
|
|
57
|
+
return function (i) {
|
|
58
|
+
return "".concat(_filterFn.filterTableListItemColumnValue(i, item.id, 'enterprisePaymentRefundFee')).includes(value);
|
|
59
|
+
};
|
|
60
|
+
}
|
|
70
61
|
};
|
|
71
62
|
});
|
|
72
63
|
this.name = '打款金额';
|
|
73
64
|
this.id = "".concat(options.id, "_enterprisePaymentRefundFee");
|
|
74
65
|
this.type = options.type;
|
|
75
|
-
this.canFilter = true;
|
|
76
|
-
this.canGroup = true;
|
|
77
|
-
this.canHidden = false;
|
|
78
|
-
this.showContains = false;
|
|
79
|
-
this.dataType = 'number';
|
|
80
66
|
this.componentConfig = options.componentConfig;
|
|
67
|
+
this.isCombinationComponent = false;
|
|
68
|
+
this.children = [];
|
|
81
69
|
this.rules = [{
|
|
82
70
|
validator: function validator(_, value) {
|
|
83
71
|
if (/^(\d+)(\.\d{0,2})?$/.test(value)) {
|
|
@@ -1,51 +1,37 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ComponentInterface, PickOption,
|
|
2
|
+
import { ComponentInterface, PickOption, ColumnConfig, ALignType, Record } from '../../type';
|
|
3
3
|
declare class PaymentStatus implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
5
5
|
id: string;
|
|
6
6
|
type: string;
|
|
7
7
|
rules: any[];
|
|
8
|
-
canFilter: boolean;
|
|
9
|
-
canGroup: boolean;
|
|
10
|
-
canHidden: boolean;
|
|
11
|
-
dataType: DataType;
|
|
12
|
-
showContains: boolean;
|
|
13
8
|
componentConfig: ComponentInterface["componentConfig"];
|
|
14
9
|
align: ALignType;
|
|
15
10
|
width: number;
|
|
16
11
|
paymentStatus: {
|
|
17
12
|
[prop in string]: string;
|
|
18
13
|
};
|
|
14
|
+
paymentStatusOptions: {
|
|
15
|
+
label: string;
|
|
16
|
+
value: string;
|
|
17
|
+
}[];
|
|
18
|
+
isCombinationComponent: boolean;
|
|
19
|
+
children: ComponentInterface[];
|
|
19
20
|
constructor(options: PickOption);
|
|
20
21
|
render: (value: string) => JSX.Element;
|
|
21
22
|
renderClient: (record: any) => JSX.Element | null;
|
|
22
23
|
renderPc: (value: any, record: any) => any;
|
|
23
24
|
renderExport: (value: any) => any;
|
|
24
25
|
editRender: (value: any) => null;
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
canHidden: boolean;
|
|
31
|
-
canFilter: boolean;
|
|
32
|
-
canGroup: boolean;
|
|
33
|
-
width: number;
|
|
34
|
-
type: string;
|
|
35
|
-
render: (value: any, record: any) => any;
|
|
36
|
-
renderPc: (value: any, record: any) => any;
|
|
37
|
-
componentType: (value: any) => null;
|
|
38
|
-
showContains: boolean;
|
|
39
|
-
renderExport: (value: any) => any;
|
|
40
|
-
widget: string;
|
|
41
|
-
'x-options': {
|
|
26
|
+
filterConfig: (item: ColumnConfig) => {
|
|
27
|
+
id: string;
|
|
28
|
+
name: string;
|
|
29
|
+
filterComponentType: "MultipleSelect";
|
|
30
|
+
options: {
|
|
42
31
|
label: string;
|
|
43
32
|
value: string;
|
|
44
33
|
}[];
|
|
45
|
-
|
|
46
|
-
width: string;
|
|
47
|
-
};
|
|
48
|
-
'x-placeholder': string;
|
|
34
|
+
filterFn: (value: string) => (i: Record) => boolean;
|
|
49
35
|
};
|
|
50
36
|
}
|
|
51
37
|
export default PaymentStatus;
|
|
@@ -7,7 +7,7 @@ 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 ItemView from "../../commonComponents/ItemView";
|
|
10
|
-
import { isNull } from '@kmkf-fe-packages/kmkf-utils';
|
|
10
|
+
import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
|
|
11
11
|
var PaymentStatus = /*#__PURE__*/_createClass(function PaymentStatus(options) {
|
|
12
12
|
var _this = this;
|
|
13
13
|
_classCallCheck(this, PaymentStatus);
|
|
@@ -15,15 +15,13 @@ var PaymentStatus = /*#__PURE__*/_createClass(function PaymentStatus(options) {
|
|
|
15
15
|
_defineProperty(this, "id", void 0);
|
|
16
16
|
_defineProperty(this, "type", void 0);
|
|
17
17
|
_defineProperty(this, "rules", void 0);
|
|
18
|
-
_defineProperty(this, "canFilter", void 0);
|
|
19
|
-
_defineProperty(this, "canGroup", void 0);
|
|
20
|
-
_defineProperty(this, "canHidden", void 0);
|
|
21
|
-
_defineProperty(this, "dataType", void 0);
|
|
22
|
-
_defineProperty(this, "showContains", void 0);
|
|
23
18
|
_defineProperty(this, "componentConfig", void 0);
|
|
24
19
|
_defineProperty(this, "align", void 0);
|
|
25
20
|
_defineProperty(this, "width", void 0);
|
|
26
21
|
_defineProperty(this, "paymentStatus", void 0);
|
|
22
|
+
_defineProperty(this, "paymentStatusOptions", void 0);
|
|
23
|
+
_defineProperty(this, "isCombinationComponent", void 0);
|
|
24
|
+
_defineProperty(this, "children", void 0);
|
|
27
25
|
_defineProperty(this, "render", function (value) {
|
|
28
26
|
return /*#__PURE__*/React.createElement("span", null, value);
|
|
29
27
|
});
|
|
@@ -43,43 +41,22 @@ var PaymentStatus = /*#__PURE__*/_createClass(function PaymentStatus(options) {
|
|
|
43
41
|
_defineProperty(this, "editRender", function (value) {
|
|
44
42
|
return null;
|
|
45
43
|
});
|
|
46
|
-
_defineProperty(this, "
|
|
44
|
+
_defineProperty(this, "filterConfig", function (item) {
|
|
47
45
|
return {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
width: _this.width,
|
|
56
|
-
type: _this.type,
|
|
57
|
-
render: _this.renderPc,
|
|
58
|
-
renderPc: _this.renderPc,
|
|
59
|
-
componentType: _this.editRender,
|
|
60
|
-
showContains: _this.showContains,
|
|
61
|
-
renderExport: _this.renderExport,
|
|
62
|
-
widget: 'selectMultiple',
|
|
63
|
-
'x-options': Object.keys(_this.paymentStatus).map(function (item) {
|
|
64
|
-
return {
|
|
65
|
-
label: _this.paymentStatus[item],
|
|
66
|
-
value: _this.paymentStatus[item]
|
|
46
|
+
id: "".concat(item.id, "_enterprisePaymentStatus"),
|
|
47
|
+
name: "".concat(item.name, "-\u6253\u6B3E\u72B6\u6001"),
|
|
48
|
+
filterComponentType: 'MultipleSelect',
|
|
49
|
+
options: _this.paymentStatusOptions,
|
|
50
|
+
filterFn: function filterFn(value) {
|
|
51
|
+
return function (i) {
|
|
52
|
+
return value === null || value === void 0 ? void 0 : value.includes(_filterFn.filterTableListItemColumnValue(i, item.id, 'enterprisePaymentStatus'));
|
|
67
53
|
};
|
|
68
|
-
}
|
|
69
|
-
'x-style': {
|
|
70
|
-
width: '356px'
|
|
71
|
-
},
|
|
72
|
-
'x-placeholder': '请选择内容'
|
|
54
|
+
}
|
|
73
55
|
};
|
|
74
56
|
});
|
|
75
57
|
this.name = '打款状态';
|
|
76
58
|
this.id = "".concat(options.id, "_enterprisePaymentStatus");
|
|
77
59
|
this.type = options.type;
|
|
78
|
-
this.canFilter = true;
|
|
79
|
-
this.canGroup = true;
|
|
80
|
-
this.canHidden = false;
|
|
81
|
-
this.showContains = false;
|
|
82
|
-
this.dataType = 'string';
|
|
83
60
|
this.componentConfig = options.componentConfig;
|
|
84
61
|
this.rules = [];
|
|
85
62
|
this.align = 'left';
|
|
@@ -93,5 +70,29 @@ var PaymentStatus = /*#__PURE__*/_createClass(function PaymentStatus(options) {
|
|
|
93
70
|
ALI_PAY_FAIL: '支付宝打款失败',
|
|
94
71
|
ALI_PAY_CLOSE: '支付宝打款关闭'
|
|
95
72
|
};
|
|
73
|
+
this.paymentStatusOptions = [{
|
|
74
|
+
label: '未打款',
|
|
75
|
+
value: '未打款'
|
|
76
|
+
}, {
|
|
77
|
+
label: '审核通过',
|
|
78
|
+
value: '审核通过'
|
|
79
|
+
}, {
|
|
80
|
+
label: '标记已打款',
|
|
81
|
+
value: '标记已打款'
|
|
82
|
+
}, {
|
|
83
|
+
label: '支付宝待付款',
|
|
84
|
+
value: '支付宝待付款'
|
|
85
|
+
}, {
|
|
86
|
+
label: '支付宝打款成功',
|
|
87
|
+
value: '支付宝打款成功'
|
|
88
|
+
}, {
|
|
89
|
+
label: '支付宝打款失败',
|
|
90
|
+
value: '支付宝打款失败'
|
|
91
|
+
}, {
|
|
92
|
+
label: '支付宝打款关闭',
|
|
93
|
+
value: '支付宝打款关闭'
|
|
94
|
+
}];
|
|
95
|
+
this.isCombinationComponent = false;
|
|
96
|
+
this.children = [];
|
|
96
97
|
});
|
|
97
98
|
export default PaymentStatus;
|
|
@@ -1,39 +1,26 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ComponentInterface, PickOption,
|
|
2
|
+
import { ComponentInterface, PickOption, ColumnConfig, ALignType, Record } from '../../type';
|
|
3
3
|
declare class PaymentTid implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
5
5
|
id: string;
|
|
6
6
|
type: string;
|
|
7
7
|
rules: any[];
|
|
8
|
-
canFilter: boolean;
|
|
9
|
-
canGroup: boolean;
|
|
10
|
-
canHidden: boolean;
|
|
11
|
-
dataType: DataType;
|
|
12
|
-
showContains: boolean;
|
|
13
8
|
componentConfig: ComponentInterface["componentConfig"];
|
|
14
9
|
align: ALignType;
|
|
15
10
|
width: number;
|
|
11
|
+
isCombinationComponent: boolean;
|
|
12
|
+
children: ComponentInterface[];
|
|
16
13
|
constructor(options: PickOption);
|
|
17
14
|
render: (value: string) => JSX.Element;
|
|
18
15
|
renderClient: (record: any) => JSX.Element | null;
|
|
19
16
|
renderPc: (value: any, record: any) => JSX.Element;
|
|
20
17
|
renderExport: (value: string) => string;
|
|
21
18
|
editRender: () => JSX.Element;
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
canHidden: boolean;
|
|
28
|
-
canFilter: boolean;
|
|
29
|
-
canGroup: boolean;
|
|
30
|
-
width: number;
|
|
31
|
-
type: string;
|
|
32
|
-
render: (value: any, record: any) => JSX.Element;
|
|
33
|
-
renderPc: (value: any, record: any) => JSX.Element;
|
|
34
|
-
componentType: () => JSX.Element;
|
|
35
|
-
showContains: boolean;
|
|
36
|
-
renderExport: (value: string) => string;
|
|
19
|
+
filterConfig: (item: ColumnConfig) => {
|
|
20
|
+
id: string;
|
|
21
|
+
name: string;
|
|
22
|
+
filterComponentType: "Input";
|
|
23
|
+
filterFn: (value: string) => (i: Record) => boolean;
|
|
37
24
|
};
|
|
38
25
|
}
|
|
39
26
|
export default PaymentTid;
|
|
@@ -9,7 +9,7 @@ import React from 'react';
|
|
|
9
9
|
import { ApaasInput } from '@kmkf-fe-packages/basic-components';
|
|
10
10
|
import GetFormItem from "../GetFormItem";
|
|
11
11
|
import ItemView from "../../commonComponents/ItemView";
|
|
12
|
-
import { isNull } from '@kmkf-fe-packages/kmkf-utils';
|
|
12
|
+
import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
|
|
13
13
|
var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
|
|
14
14
|
var _this = this;
|
|
15
15
|
_classCallCheck(this, PaymentTid);
|
|
@@ -17,14 +17,11 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
|
|
|
17
17
|
_defineProperty(this, "id", void 0);
|
|
18
18
|
_defineProperty(this, "type", void 0);
|
|
19
19
|
_defineProperty(this, "rules", void 0);
|
|
20
|
-
_defineProperty(this, "canFilter", void 0);
|
|
21
|
-
_defineProperty(this, "canGroup", void 0);
|
|
22
|
-
_defineProperty(this, "canHidden", void 0);
|
|
23
|
-
_defineProperty(this, "dataType", void 0);
|
|
24
|
-
_defineProperty(this, "showContains", void 0);
|
|
25
20
|
_defineProperty(this, "componentConfig", void 0);
|
|
26
21
|
_defineProperty(this, "align", void 0);
|
|
27
22
|
_defineProperty(this, "width", void 0);
|
|
23
|
+
_defineProperty(this, "isCombinationComponent", void 0);
|
|
24
|
+
_defineProperty(this, "children", void 0);
|
|
28
25
|
_defineProperty(this, "render", function (value) {
|
|
29
26
|
return /*#__PURE__*/React.createElement("span", null, value);
|
|
30
27
|
});
|
|
@@ -51,35 +48,26 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
|
|
|
51
48
|
component: /*#__PURE__*/React.createElement(ApaasInput, _this.componentConfig)
|
|
52
49
|
});
|
|
53
50
|
});
|
|
54
|
-
_defineProperty(this, "
|
|
51
|
+
_defineProperty(this, "filterConfig", function (item) {
|
|
55
52
|
return {
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
type: _this.type,
|
|
65
|
-
render: _this.renderPc,
|
|
66
|
-
renderPc: _this.renderPc,
|
|
67
|
-
componentType: _this.editRender,
|
|
68
|
-
showContains: _this.showContains,
|
|
69
|
-
renderExport: _this.renderExport
|
|
53
|
+
id: "".concat(item.id, "_enterprisePaymentTid"),
|
|
54
|
+
name: "".concat(item.name, "-\u8BA2\u5355\u7F16\u53F7"),
|
|
55
|
+
filterComponentType: 'Input',
|
|
56
|
+
filterFn: function filterFn(value) {
|
|
57
|
+
return function (i) {
|
|
58
|
+
return _filterFn.filterSplitComma(_filterFn.filterTableListItemColumnValue(i, item.id, 'enterprisePaymentTid'), value);
|
|
59
|
+
};
|
|
60
|
+
}
|
|
70
61
|
};
|
|
71
62
|
});
|
|
72
63
|
this.name = '订单编号';
|
|
73
64
|
this.id = "".concat(options.id, "_enterprisePaymentTid");
|
|
74
65
|
this.type = options.type;
|
|
75
|
-
this.canFilter = true;
|
|
76
|
-
this.canGroup = true;
|
|
77
|
-
this.canHidden = false;
|
|
78
|
-
this.showContains = false;
|
|
79
|
-
this.dataType = 'string';
|
|
80
66
|
this.componentConfig = options.componentConfig;
|
|
81
67
|
this.rules = [];
|
|
82
68
|
this.align = 'left';
|
|
83
69
|
this.width = 200;
|
|
70
|
+
this.isCombinationComponent = false;
|
|
71
|
+
this.children = [];
|
|
84
72
|
});
|
|
85
73
|
export default PaymentTid;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ComponentInterface, PickOption,
|
|
2
|
+
import { ComponentInterface, PickOption, ColumnConfig } from '../../type';
|
|
3
3
|
import AlipayNick from './AlipayNick';
|
|
4
4
|
import AlipayNo from './AlipayNo';
|
|
5
5
|
import AlipayTime from './AlipayTime';
|
|
@@ -12,11 +12,6 @@ declare class Logistics implements ComponentInterface {
|
|
|
12
12
|
id: string;
|
|
13
13
|
type: string;
|
|
14
14
|
rules: any[];
|
|
15
|
-
canFilter: boolean;
|
|
16
|
-
canGroup: boolean;
|
|
17
|
-
canHidden: boolean;
|
|
18
|
-
dataType: DataType;
|
|
19
|
-
showContains: boolean;
|
|
20
15
|
componentConfig: ComponentInterface["componentConfig"];
|
|
21
16
|
paymentTid: PaymentTid;
|
|
22
17
|
paymentStatus: PaymentStatus;
|
|
@@ -25,101 +20,28 @@ declare class Logistics implements ComponentInterface {
|
|
|
25
20
|
alipayNick: AlipayNick;
|
|
26
21
|
alipayNo: AlipayNo;
|
|
27
22
|
payTime: AlipayTime;
|
|
23
|
+
isCombinationComponent: boolean;
|
|
24
|
+
children: ComponentInterface[];
|
|
28
25
|
constructor(options: PickOption);
|
|
29
26
|
render: () => null;
|
|
30
27
|
renderClient: (record: any) => JSX.Element;
|
|
31
28
|
renderPc: () => null;
|
|
32
29
|
renderExport: () => null;
|
|
33
30
|
editRender: (value: any) => JSX.Element;
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
showContains: boolean;
|
|
50
|
-
renderExport: (value: any) => any;
|
|
51
|
-
widget: string;
|
|
52
|
-
'x-options': {
|
|
53
|
-
label: string;
|
|
54
|
-
value: string;
|
|
55
|
-
}[];
|
|
56
|
-
'x-style': {
|
|
57
|
-
width: string;
|
|
58
|
-
};
|
|
59
|
-
'x-placeholder': string;
|
|
60
|
-
} | {
|
|
61
|
-
title: string;
|
|
62
|
-
align: import("../../type").ALignType;
|
|
63
|
-
dataIndex: string;
|
|
64
|
-
width: number;
|
|
65
|
-
dataType: DataType;
|
|
66
|
-
canHidden: boolean;
|
|
67
|
-
canFilter: boolean;
|
|
68
|
-
canGroup: boolean;
|
|
69
|
-
type: string;
|
|
70
|
-
render: (value: any, record: import("../../type").Record) => JSX.Element;
|
|
71
|
-
renderPc: (value: any, record: import("../../type").Record) => JSX.Element;
|
|
72
|
-
componentType: () => JSX.Element;
|
|
73
|
-
showContains: boolean;
|
|
74
|
-
renderExport: (value: string) => string;
|
|
75
|
-
} | {
|
|
76
|
-
title: string;
|
|
77
|
-
align: import("../../type").ALignType;
|
|
78
|
-
dataIndex: string;
|
|
79
|
-
dataType: DataType;
|
|
80
|
-
canHidden: boolean;
|
|
81
|
-
canFilter: boolean;
|
|
82
|
-
canGroup: boolean;
|
|
83
|
-
type: string;
|
|
84
|
-
width: number;
|
|
85
|
-
render: (value: any, record: import("../../type").Record) => JSX.Element;
|
|
86
|
-
renderPc: (value: any, record: import("../../type").Record) => JSX.Element;
|
|
87
|
-
componentType: () => JSX.Element;
|
|
88
|
-
showContains: boolean;
|
|
89
|
-
renderExport: (value: any, record: import("../../type").Record) => any;
|
|
90
|
-
} | {
|
|
91
|
-
title: string;
|
|
92
|
-
align: import("../../type").ALignType;
|
|
93
|
-
dataIndex: string;
|
|
94
|
-
width: number;
|
|
95
|
-
dataType: DataType;
|
|
96
|
-
canHidden: boolean;
|
|
97
|
-
canFilter: boolean;
|
|
98
|
-
canGroup: boolean;
|
|
99
|
-
type: string;
|
|
100
|
-
render: (value: any, record: any) => JSX.Element;
|
|
101
|
-
renderPc: (value: any, record: any) => JSX.Element;
|
|
102
|
-
componentType: () => JSX.Element;
|
|
103
|
-
showContains: boolean;
|
|
104
|
-
} | {
|
|
105
|
-
title: string;
|
|
106
|
-
align: import("../../type").ALignType;
|
|
107
|
-
dataIndex: string;
|
|
108
|
-
width: number;
|
|
109
|
-
dataType: DataType;
|
|
110
|
-
canHidden: boolean;
|
|
111
|
-
canFilter: boolean;
|
|
112
|
-
canGroup: boolean;
|
|
113
|
-
type: string;
|
|
114
|
-
render: (value: any, record: import("../../type").Record) => JSX.Element;
|
|
115
|
-
renderPc: (value: any, record: import("../../type").Record) => JSX.Element;
|
|
116
|
-
componentType: () => JSX.Element;
|
|
117
|
-
showContains: boolean;
|
|
118
|
-
renderExport: (value: string) => string | null;
|
|
119
|
-
widget: null;
|
|
120
|
-
})[];
|
|
121
|
-
canHidden: boolean;
|
|
122
|
-
dataIndex: string;
|
|
123
|
-
};
|
|
31
|
+
filterConfig: (item: ColumnConfig) => ({
|
|
32
|
+
id: string;
|
|
33
|
+
name: string;
|
|
34
|
+
filterComponentType: "MultipleSelect";
|
|
35
|
+
options: {
|
|
36
|
+
label: string;
|
|
37
|
+
value: string;
|
|
38
|
+
}[];
|
|
39
|
+
filterFn: (value: string) => (i: import("../../type").Record) => boolean;
|
|
40
|
+
} | {
|
|
41
|
+
id: string;
|
|
42
|
+
name: string;
|
|
43
|
+
filterComponentType: "Input";
|
|
44
|
+
filterFn: (value: string) => (i: import("../../type").Record) => any;
|
|
45
|
+
})[];
|
|
124
46
|
}
|
|
125
47
|
export default Logistics;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
2
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
3
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
2
4
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
3
5
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
4
6
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
@@ -23,11 +25,6 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
|
|
|
23
25
|
_defineProperty(this, "id", void 0);
|
|
24
26
|
_defineProperty(this, "type", void 0);
|
|
25
27
|
_defineProperty(this, "rules", void 0);
|
|
26
|
-
_defineProperty(this, "canFilter", void 0);
|
|
27
|
-
_defineProperty(this, "canGroup", void 0);
|
|
28
|
-
_defineProperty(this, "canHidden", void 0);
|
|
29
|
-
_defineProperty(this, "dataType", void 0);
|
|
30
|
-
_defineProperty(this, "showContains", void 0);
|
|
31
28
|
_defineProperty(this, "componentConfig", void 0);
|
|
32
29
|
_defineProperty(this, "paymentTid", void 0);
|
|
33
30
|
_defineProperty(this, "paymentStatus", void 0);
|
|
@@ -36,6 +33,8 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
|
|
|
36
33
|
_defineProperty(this, "alipayNick", void 0);
|
|
37
34
|
_defineProperty(this, "alipayNo", void 0);
|
|
38
35
|
_defineProperty(this, "payTime", void 0);
|
|
36
|
+
_defineProperty(this, "isCombinationComponent", void 0);
|
|
37
|
+
_defineProperty(this, "children", void 0);
|
|
39
38
|
_defineProperty(this, "render", function () {
|
|
40
39
|
return null;
|
|
41
40
|
});
|
|
@@ -60,22 +59,12 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
|
|
|
60
59
|
}))
|
|
61
60
|
});
|
|
62
61
|
});
|
|
63
|
-
_defineProperty(this, "
|
|
64
|
-
return {
|
|
65
|
-
title: _this.name,
|
|
66
|
-
children: [_this.paymentTid.getColumns(), _this.paymentStatus.getColumns(), _this.paymentAmount.getColumns(), _this.buyerNick.getColumns(), _this.alipayNick.getColumns(), _this.alipayNo.getColumns(), _this.payTime.getColumns()],
|
|
67
|
-
canHidden: _this.canHidden,
|
|
68
|
-
dataIndex: _this.id
|
|
69
|
-
};
|
|
62
|
+
_defineProperty(this, "filterConfig", function (item) {
|
|
63
|
+
return [_this.alipayNick.filterConfig(_objectSpread({}, item)), _this.paymentAmount.filterConfig(_objectSpread({}, item)), _this.alipayNo.filterConfig(_objectSpread({}, item)), _this.buyerNick.filterConfig(_objectSpread({}, item)), _this.paymentTid.filterConfig(_objectSpread({}, item)), _this.paymentStatus.filterConfig(_objectSpread({}, item)), _this.payTime.filterConfig(_objectSpread({}, item))];
|
|
70
64
|
});
|
|
71
65
|
this.name = options.name;
|
|
72
66
|
this.id = options.id;
|
|
73
67
|
this.type = options.type;
|
|
74
|
-
this.canFilter = false;
|
|
75
|
-
this.canGroup = false;
|
|
76
|
-
this.canHidden = true;
|
|
77
|
-
this.showContains = false;
|
|
78
|
-
this.dataType = 'string';
|
|
79
68
|
this.componentConfig = options.componentConfig;
|
|
80
69
|
this.paymentTid = new PaymentTid(options);
|
|
81
70
|
this.paymentStatus = new PaymentStatus(options);
|
|
@@ -84,6 +73,8 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
|
|
|
84
73
|
this.alipayNick = new AlipayNick(options);
|
|
85
74
|
this.alipayNo = new AlipayNo(options);
|
|
86
75
|
this.payTime = new AlipayTime(options);
|
|
76
|
+
this.isCombinationComponent = true;
|
|
77
|
+
this.children = [this.alipayNick, this.alipayNo, this.buyerNick, this.paymentAmount, this.paymentStatus, this.paymentTid, this.payTime];
|
|
87
78
|
this.rules = [{
|
|
88
79
|
validator: function validator(_, value) {
|
|
89
80
|
var _this$componentConfig3, _this$componentConfig4, _this$componentConfig5, _this$componentConfig6;
|
|
@@ -1,17 +1,14 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ComponentInterface, PickOption,
|
|
2
|
+
import { ComponentInterface, PickOption, Record } from '../../type';
|
|
3
3
|
declare type Value = string[] | undefined;
|
|
4
4
|
declare class BasicPicture implements ComponentInterface {
|
|
5
5
|
name: string;
|
|
6
6
|
id: string;
|
|
7
7
|
type: string;
|
|
8
8
|
rules: any[];
|
|
9
|
-
canFilter: boolean;
|
|
10
|
-
canGroup: boolean;
|
|
11
|
-
canHidden: boolean;
|
|
12
|
-
dataType: DataType;
|
|
13
|
-
showContains: boolean;
|
|
14
9
|
componentConfig: ComponentInterface["componentConfig"];
|
|
10
|
+
isCombinationComponent: boolean;
|
|
11
|
+
children: ComponentInterface[];
|
|
15
12
|
constructor(options: PickOption);
|
|
16
13
|
formatPictures: (pictures: string) => string[];
|
|
17
14
|
render: (value: Value) => JSX.Element | null;
|
|
@@ -23,9 +20,10 @@ declare class BasicPicture implements ComponentInterface {
|
|
|
23
20
|
* @returns 图片类型的导出需要在导出时单独处理
|
|
24
21
|
*/
|
|
25
22
|
renderExport: () => null;
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @returns 图片不支持过滤
|
|
26
|
+
*/
|
|
27
|
+
filterConfig: () => never[];
|
|
30
28
|
}
|
|
31
29
|
export default BasicPicture;
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
2
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
3
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
4
2
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
5
3
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
6
4
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
@@ -22,12 +20,9 @@ var BasicPicture = /*#__PURE__*/_createClass(function BasicPicture(options) {
|
|
|
22
20
|
_defineProperty(this, "id", void 0);
|
|
23
21
|
_defineProperty(this, "type", void 0);
|
|
24
22
|
_defineProperty(this, "rules", void 0);
|
|
25
|
-
_defineProperty(this, "canFilter", void 0);
|
|
26
|
-
_defineProperty(this, "canGroup", void 0);
|
|
27
|
-
_defineProperty(this, "canHidden", void 0);
|
|
28
|
-
_defineProperty(this, "dataType", void 0);
|
|
29
|
-
_defineProperty(this, "showContains", void 0);
|
|
30
23
|
_defineProperty(this, "componentConfig", void 0);
|
|
24
|
+
_defineProperty(this, "isCombinationComponent", void 0);
|
|
25
|
+
_defineProperty(this, "children", void 0);
|
|
31
26
|
_defineProperty(this, "formatPictures", function (pictures) {
|
|
32
27
|
pictures = pictures.replace(/[\[\]]/g, '');
|
|
33
28
|
pictures = pictures.replace(/\s/g, '');
|
|
@@ -97,22 +92,15 @@ var BasicPicture = /*#__PURE__*/_createClass(function BasicPicture(options) {
|
|
|
97
92
|
_defineProperty(this, "renderExport", function () {
|
|
98
93
|
return null;
|
|
99
94
|
});
|
|
100
|
-
_defineProperty(this, "
|
|
101
|
-
return
|
|
102
|
-
dataIndex: _this.id,
|
|
103
|
-
title: _this.name
|
|
104
|
-
});
|
|
105
|
-
;
|
|
95
|
+
_defineProperty(this, "filterConfig", function () {
|
|
96
|
+
return [];
|
|
106
97
|
});
|
|
107
98
|
this.name = options.name;
|
|
108
99
|
this.id = options.id;
|
|
109
100
|
this.type = options.type;
|
|
110
|
-
this.canFilter = false;
|
|
111
|
-
this.canGroup = false;
|
|
112
|
-
this.canHidden = true;
|
|
113
|
-
this.dataType = 'array';
|
|
114
|
-
this.showContains = false;
|
|
115
101
|
this.componentConfig = options.componentConfig;
|
|
116
102
|
this.rules = [];
|
|
103
|
+
this.isCombinationComponent = false;
|
|
104
|
+
this.children = [];
|
|
117
105
|
});
|
|
118
106
|
export default BasicPicture;
|