@kmkf-fe-packages/services-components 0.7.15-alpha.7 → 0.7.15-alpha.71
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/QueryLogisticsTrack/index.js +23 -21
- package/dist/esm/commonComponents/ShopList/index.d.ts +1 -1
- package/dist/esm/commonComponents/ShopList/index.js +4 -2
- package/dist/esm/components/ActualPayment/index.d.ts +5 -4
- package/dist/esm/components/ActualPayment/index.js +25 -21
- package/dist/esm/components/AlipayAccount/index.js +2 -1
- package/dist/esm/components/BS/BsExchange/index.d.ts +12 -6
- package/dist/esm/components/BS/BsExchange/index.js +233 -111
- package/dist/esm/components/BS/BsGoods/index.d.ts +11 -9
- package/dist/esm/components/BS/BsGoods/index.js +93 -60
- package/dist/esm/components/BS/BsReissue/index.d.ts +17 -6
- package/dist/esm/components/BS/BsReissue/index.js +110 -54
- package/dist/esm/components/BS/common/{BsChildNumber.d.ts → BsHeaderCode.d.ts} +5 -4
- package/dist/esm/components/BS/common/{BsChildNumber.js → BsHeaderCode.js} +28 -11
- package/dist/esm/components/BS/common/BsHeaderGood.d.ts +27 -0
- package/dist/esm/components/BS/common/BsHeaderGood.js +156 -0
- package/dist/esm/components/BS/common/{BsChildMoney.d.ts → BsHeaderMoney.d.ts} +5 -4
- package/dist/esm/components/BS/common/{BsChildMoney.js → BsHeaderMoney.js} +28 -11
- package/dist/esm/components/BS/common/{BsChildName.d.ts → BsHeaderName.d.ts} +5 -4
- package/dist/esm/components/BS/common/{BsChildName.js → BsHeaderName.js} +29 -11
- package/dist/esm/components/BS/common/{BsChildCode.d.ts → BsHeaderNumber.d.ts} +5 -4
- package/dist/esm/components/BS/common/{BsChildCode.js → BsHeaderNumber.js} +28 -11
- package/dist/esm/components/BS/common/{BsChildPic.d.ts → BsHeaderPic.d.ts} +7 -6
- package/dist/esm/components/BS/common/{BsChildPic.js → BsHeaderPic.js} +36 -10
- package/dist/esm/components/BS/common/{BsChildShare.d.ts → BsHeaderShare.d.ts} +5 -4
- package/dist/esm/components/BS/common/{BsChildShare.js → BsHeaderShare.js} +28 -11
- package/dist/esm/components/BS/common/{BsChildSku.d.ts → BsHeaderSku.d.ts} +5 -4
- package/dist/esm/components/BS/common/{BsChildSku.js → BsHeaderSku.js} +28 -11
- package/dist/esm/components/BS/common/{BsChildType.d.ts → BsHeaderType.d.ts} +5 -4
- package/dist/esm/components/BS/common/{BsChildType.js → BsHeaderType.js} +28 -11
- package/dist/esm/components/BS/common/BsMemo.d.ts +8 -7
- package/dist/esm/components/BS/common/BsMemo.js +55 -21
- package/dist/esm/components/BS/common/BsType.d.ts +8 -6
- package/dist/esm/components/BS/common/BsType.js +53 -17
- package/dist/esm/components/BS/common/index.d.ts +9 -8
- package/dist/esm/components/BS/common/index.js +9 -8
- package/dist/esm/components/BuyerNick/index.js +5 -1
- package/dist/esm/components/Cascader/index.d.ts +1 -0
- package/dist/esm/components/Cascader/index.js +3 -1
- package/dist/esm/components/Common/index.d.ts +6 -1
- package/dist/esm/components/Common/index.js +115 -20
- package/dist/esm/components/EItemEnCode/index.js +6 -2
- package/dist/esm/components/EItemId/index.d.ts +3 -3
- package/dist/esm/components/EItemId/index.js +14 -10
- package/dist/esm/components/EItemSelect/index.js +6 -2
- package/dist/esm/components/ErpTradeId/index.d.ts +2 -1
- package/dist/esm/components/ErpTradeId/index.js +27 -4
- package/dist/esm/components/ExpressCode/index.d.ts +1 -1
- package/dist/esm/components/ExpressCode/index.js +2 -2
- package/dist/esm/components/File/index.d.ts +1 -1
- package/dist/esm/components/File/index.js +26 -5
- package/dist/esm/components/FlowStatusSelect/index.d.ts +0 -1
- package/dist/esm/components/FlowStatusSelect/index.js +30 -24
- package/dist/esm/components/FlowWorkOrderId/index.d.ts +33 -0
- package/dist/esm/components/FlowWorkOrderId/index.js +112 -0
- package/dist/esm/components/JST/JstItemSelect/index.js +6 -2
- package/dist/esm/components/JST/JstLogistics/index.d.ts +19 -13
- package/dist/esm/components/JST/JstLogistics/index.js +71 -33
- package/dist/esm/components/JST/JstSendGood/index.d.ts +6 -0
- package/dist/esm/components/JST/JstSendGood/index.js +33 -13
- package/dist/esm/components/JST/JstSupply/index.js +6 -2
- package/dist/esm/components/LogisticsInterception/InterceptStatus.js +5 -1
- package/dist/esm/components/LogisticsTrajectory/index.d.ts +8 -9
- package/dist/esm/components/LogisticsTrajectory/index.js +12 -10
- package/dist/esm/components/LogisticsTrajectory/trajectoryCode.js +11 -6
- package/dist/esm/components/LogisticsTrajectory/trajectoryCompany.d.ts +6 -6
- package/dist/esm/components/LogisticsTrajectory/trajectoryCompany.js +8 -8
- package/dist/esm/components/LogisticsTrajectory/trajectorySnapshot.d.ts +0 -1
- package/dist/esm/components/LogisticsTrajectory/trajectorySnapshot.js +4 -10
- package/dist/esm/components/Payment/AlipayNick.js +2 -1
- package/dist/esm/components/Payment/AlipayNo.js +2 -1
- package/dist/esm/components/Payment/BuyerNick.js +6 -3
- package/dist/esm/components/Payment/index.d.ts +1 -0
- package/dist/esm/components/Payment/index.js +9 -6
- package/dist/esm/components/Picture/index.js +3 -0
- package/dist/esm/components/PostIng/index.d.ts +1 -24
- package/dist/esm/components/PostIng/index.js +53 -52
- package/dist/esm/components/Rate/index.js +5 -1
- package/dist/esm/components/ReceiverAddress/index.js +2 -1
- package/dist/esm/components/ReceiverMobile/index.js +2 -1
- package/dist/esm/components/ReceiverName/index.js +2 -1
- package/dist/esm/components/ThirdItemSelect/index.js +6 -2
- package/dist/esm/components/TradeDateTime/index.d.ts +6 -14
- package/dist/esm/components/TradeDateTime/index.js +30 -25
- package/dist/esm/components/TradeId/index.d.ts +1 -0
- package/dist/esm/components/TradeId/index.js +27 -4
- package/dist/esm/components/WorkOrderId/index.js +5 -3
- package/dist/esm/factory.d.ts +2 -2
- package/dist/esm/factory.js +6 -3
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/type.d.ts +10 -2
- package/package.json +4 -4
- package/dist/esm/components/BS/BsLogistics/index.d.ts +0 -50
- package/dist/esm/components/BS/BsLogistics/index.js +0 -115
- package/dist/esm/components/BS/common/BsExchangeImage.d.ts +0 -31
- package/dist/esm/components/BS/common/BsExchangeImage.js +0 -126
- package/dist/esm/components/BS/common/BsGoodImage.d.ts +0 -31
- package/dist/esm/components/BS/common/BsGoodImage.js +0 -88
|
@@ -8,16 +8,59 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
8
8
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
9
9
|
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
10
10
|
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); }
|
|
11
|
-
import React from
|
|
11
|
+
import React from 'react';
|
|
12
12
|
import GetFormItem from "../../GetFormItem";
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import
|
|
16
|
-
import {
|
|
13
|
+
import { BsGoodsTable } from "../../Common";
|
|
14
|
+
import { BsHeaderPic, BsHeaderName, BsHeaderCode, BsHeaderSku, BsHeaderMoney, BsHeaderNumber, BsHeaderShare, BsHeaderType, BsHeaderGood } from "../common/index";
|
|
15
|
+
import ItemView from "../../../commonComponents/ItemView";
|
|
16
|
+
import { isNull } from '@kmkf-fe-packages/kmkf-utils';
|
|
17
|
+
import { BsGoods as Goods } from '@kmkf-fe-packages/basic-components';
|
|
17
18
|
import { SYMBOL } from "../../../constant";
|
|
19
|
+
var childHeaderMap = {
|
|
20
|
+
pic: {
|
|
21
|
+
component: BsHeaderPic,
|
|
22
|
+
name: '图片',
|
|
23
|
+
key: 'pic'
|
|
24
|
+
},
|
|
25
|
+
name: {
|
|
26
|
+
component: BsHeaderName,
|
|
27
|
+
name: '名称',
|
|
28
|
+
key: 'name'
|
|
29
|
+
},
|
|
30
|
+
code: {
|
|
31
|
+
component: BsHeaderCode,
|
|
32
|
+
name: '编码',
|
|
33
|
+
key: 'code'
|
|
34
|
+
},
|
|
35
|
+
sku: {
|
|
36
|
+
component: BsHeaderSku,
|
|
37
|
+
name: 'sku编码',
|
|
38
|
+
key: 'sku'
|
|
39
|
+
},
|
|
40
|
+
money: {
|
|
41
|
+
component: BsHeaderMoney,
|
|
42
|
+
name: '实付金额',
|
|
43
|
+
key: 'money'
|
|
44
|
+
},
|
|
45
|
+
number: {
|
|
46
|
+
component: BsHeaderNumber,
|
|
47
|
+
name: '数量',
|
|
48
|
+
key: 'number'
|
|
49
|
+
},
|
|
50
|
+
share: {
|
|
51
|
+
component: BsHeaderShare,
|
|
52
|
+
name: '分摊价',
|
|
53
|
+
key: 'share'
|
|
54
|
+
},
|
|
55
|
+
type: {
|
|
56
|
+
component: BsHeaderType,
|
|
57
|
+
name: '赠品类型',
|
|
58
|
+
key: 'giftType'
|
|
59
|
+
}
|
|
60
|
+
};
|
|
18
61
|
var BsGoods = /*#__PURE__*/_createClass(function BsGoods(options) {
|
|
19
62
|
var _this = this,
|
|
20
|
-
_this$
|
|
63
|
+
_this$componentConfig3;
|
|
21
64
|
_classCallCheck(this, BsGoods);
|
|
22
65
|
_defineProperty(this, "name", void 0);
|
|
23
66
|
_defineProperty(this, "id", void 0);
|
|
@@ -31,29 +74,23 @@ var BsGoods = /*#__PURE__*/_createClass(function BsGoods(options) {
|
|
|
31
74
|
_defineProperty(this, "canSort", void 0);
|
|
32
75
|
_defineProperty(this, "children", void 0);
|
|
33
76
|
_defineProperty(this, "dataType", void 0);
|
|
77
|
+
_defineProperty(this, "bsGoods", void 0);
|
|
34
78
|
_defineProperty(this, "renderClient", function (record) {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
79
|
+
var _record, _this$componentConfig;
|
|
80
|
+
return !isNull(record === null || record === void 0 ? void 0 : record["".concat(_this.id)]) ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(ItemView, {
|
|
81
|
+
id: _this.id,
|
|
82
|
+
label: _this.name,
|
|
83
|
+
value: /*#__PURE__*/React.createElement(BsGoodsTable, {
|
|
84
|
+
list: (record === null || record === void 0 ? void 0 : (_record = record["".concat(_this.id)]) === null || _record === void 0 ? void 0 : _record.bsGoods) || [],
|
|
85
|
+
showHeader: ((_this$componentConfig = _this.componentConfig) === null || _this$componentConfig === void 0 ? void 0 : _this$componentConfig.showHeader) || []
|
|
86
|
+
})
|
|
87
|
+
})) : null;
|
|
41
88
|
});
|
|
42
|
-
_defineProperty(this, "renderPc", function (
|
|
43
|
-
|
|
44
|
-
return /*#__PURE__*/React.createElement("span", null, "--");
|
|
45
|
-
}
|
|
46
|
-
//兼容多个商品
|
|
47
|
-
return record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_bsGoods")].map(function (item, index) {
|
|
48
|
-
return /*#__PURE__*/React.createElement(BsGoodImage, {
|
|
49
|
-
item: item,
|
|
50
|
-
index: index
|
|
51
|
-
});
|
|
52
|
-
});
|
|
89
|
+
_defineProperty(this, "renderPc", function () {
|
|
90
|
+
return null;
|
|
53
91
|
});
|
|
54
92
|
_defineProperty(this, "renderLog", function (r) {
|
|
55
|
-
|
|
56
|
-
return _this.renderPc(undefined, r);
|
|
93
|
+
return null;
|
|
57
94
|
});
|
|
58
95
|
_defineProperty(this, "getComponentValue", function (r) {
|
|
59
96
|
return r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_bsGoods")];
|
|
@@ -62,7 +99,7 @@ var BsGoods = /*#__PURE__*/_createClass(function BsGoods(options) {
|
|
|
62
99
|
return null;
|
|
63
100
|
});
|
|
64
101
|
_defineProperty(this, "editRender", function (p) {
|
|
65
|
-
var _this$
|
|
102
|
+
var _this$componentConfig2, _this$effects, _this$effects2;
|
|
66
103
|
return /*#__PURE__*/React.createElement(GetFormItem, {
|
|
67
104
|
title: _this.name,
|
|
68
105
|
name: _this.id,
|
|
@@ -70,7 +107,7 @@ var BsGoods = /*#__PURE__*/_createClass(function BsGoods(options) {
|
|
|
70
107
|
required: false,
|
|
71
108
|
hidden: p === null || p === void 0 ? void 0 : p.hidden,
|
|
72
109
|
component: /*#__PURE__*/React.createElement(Goods, _extends({}, _this.componentConfig, {
|
|
73
|
-
maxLength: ((_this$
|
|
110
|
+
maxLength: ((_this$componentConfig2 = _this.componentConfig) === null || _this$componentConfig2 === void 0 ? void 0 : _this$componentConfig2.maxLength) || 20,
|
|
74
111
|
shopId: (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.shopId,
|
|
75
112
|
shopList: ((_this$effects2 = _this.effects) === null || _this$effects2 === void 0 ? void 0 : _this$effects2.shopList) || [],
|
|
76
113
|
width: "90%"
|
|
@@ -78,15 +115,15 @@ var BsGoods = /*#__PURE__*/_createClass(function BsGoods(options) {
|
|
|
78
115
|
});
|
|
79
116
|
});
|
|
80
117
|
_defineProperty(this, "filterConfig", function (item) {
|
|
81
|
-
return {
|
|
118
|
+
return [{
|
|
82
119
|
searchDefaultConditions: SYMBOL.like,
|
|
83
120
|
type: item.type,
|
|
84
121
|
id: "".concat(item.id, "_bsGoods"),
|
|
85
122
|
// 过滤组件id
|
|
86
123
|
name: item.name,
|
|
87
124
|
// 过滤组件名称
|
|
88
|
-
filterComponentType:
|
|
89
|
-
};
|
|
125
|
+
filterComponentType: 'Input'
|
|
126
|
+
}];
|
|
90
127
|
});
|
|
91
128
|
this.name = options.name;
|
|
92
129
|
this.id = options.id;
|
|
@@ -94,43 +131,39 @@ var BsGoods = /*#__PURE__*/_createClass(function BsGoods(options) {
|
|
|
94
131
|
this.formField = "".concat(options.id, "_bsGoods");
|
|
95
132
|
this.type = options.type;
|
|
96
133
|
this.effects = options === null || options === void 0 ? void 0 : options.effects;
|
|
97
|
-
this.isCombinationComponent =
|
|
134
|
+
this.isCombinationComponent = true;
|
|
98
135
|
this.canSort = false;
|
|
99
|
-
this.
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
}))
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
id: "".concat(options.id, "_bsGoods")
|
|
120
|
-
})), new BsChildType(_objectSpread(_objectSpread({}, options), {}, {
|
|
121
|
-
name: "赠品类型",
|
|
122
|
-
id: "".concat(options.id, "_bsGoods")
|
|
123
|
-
}))];
|
|
136
|
+
this.bsGoods = new BsHeaderGood(_objectSpread(_objectSpread({}, options), {}, {
|
|
137
|
+
id: "".concat(options.id, "_bsGoods"),
|
|
138
|
+
name: '商品信息'
|
|
139
|
+
}));
|
|
140
|
+
this.children = [this.bsGoods];
|
|
141
|
+
// this.children = (options?.componentConfig?.showHeader || []).reduce(
|
|
142
|
+
// (prv: any, next: string) => {
|
|
143
|
+
// if (childHeaderMap[next]) {
|
|
144
|
+
// prv.push(
|
|
145
|
+
// new childHeaderMap[next].component({
|
|
146
|
+
// ...options,
|
|
147
|
+
// name: childHeaderMap[next].name,
|
|
148
|
+
// id: `${options.id}_bsGoods_${childHeaderMap[next].key}`,
|
|
149
|
+
// }),
|
|
150
|
+
// );
|
|
151
|
+
// }
|
|
152
|
+
// return prv;
|
|
153
|
+
// },
|
|
154
|
+
// [],
|
|
155
|
+
// );
|
|
124
156
|
this.componentConfig = options === null || options === void 0 ? void 0 : options.componentConfig;
|
|
125
|
-
this.rules = this !== null && this !== void 0 && (_this$
|
|
157
|
+
this.rules = this !== null && this !== void 0 && (_this$componentConfig3 = this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.required ? [{
|
|
126
158
|
required: true,
|
|
127
159
|
validator: function validator(_, value) {
|
|
128
|
-
|
|
129
|
-
|
|
160
|
+
var _value$bsGoods;
|
|
161
|
+
if (!value || !(value !== null && value !== void 0 && (_value$bsGoods = value.bsGoods) !== null && _value$bsGoods !== void 0 && _value$bsGoods.length)) {
|
|
162
|
+
return Promise.reject(new Error('请选择bs商品'));
|
|
130
163
|
}
|
|
131
164
|
return Promise.resolve();
|
|
132
165
|
}
|
|
133
166
|
}] : [];
|
|
134
|
-
this.dataType =
|
|
167
|
+
this.dataType = 'object';
|
|
135
168
|
});
|
|
136
169
|
export default BsGoods;
|
|
@@ -1,18 +1,22 @@
|
|
|
1
|
-
import { ComponentInterface, PickOption, ColumnConfig, Record } from
|
|
2
|
-
import React from
|
|
1
|
+
import { ComponentInterface, PickOption, ColumnConfig, Record } from '../../../type';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { BsType, BsMemo, BsHeaderGood } from '../common/index';
|
|
3
4
|
declare class BsReissue implements ComponentInterface {
|
|
4
5
|
name: string;
|
|
5
6
|
id: string;
|
|
6
7
|
sortField: string;
|
|
7
8
|
type: string;
|
|
8
9
|
rules: any[];
|
|
9
|
-
componentConfig: ComponentInterface[
|
|
10
|
-
effects: ComponentInterface[
|
|
10
|
+
componentConfig: ComponentInterface['componentConfig'];
|
|
11
|
+
effects: ComponentInterface['effects'];
|
|
11
12
|
isCombinationComponent: boolean;
|
|
12
13
|
formField: string;
|
|
13
14
|
canSort: boolean;
|
|
14
15
|
children: ComponentInterface[];
|
|
15
|
-
dataType: ComponentInterface[
|
|
16
|
+
dataType: ComponentInterface['dataType'];
|
|
17
|
+
bsType: BsType;
|
|
18
|
+
bsMemo: BsMemo;
|
|
19
|
+
reissueGoods: BsHeaderGood;
|
|
16
20
|
constructor(options: PickOption);
|
|
17
21
|
renderClient: (record: any) => React.JSX.Element | null;
|
|
18
22
|
renderPc: () => null;
|
|
@@ -21,14 +25,20 @@ declare class BsReissue implements ComponentInterface {
|
|
|
21
25
|
renderExport: () => null;
|
|
22
26
|
editRender: (p: any) => React.JSX.Element;
|
|
23
27
|
filterConfig: (item: ColumnConfig) => ({
|
|
24
|
-
searchDefaultConditions: "
|
|
28
|
+
searchDefaultConditions: "in";
|
|
25
29
|
type: string;
|
|
26
30
|
id: string;
|
|
27
31
|
name: string;
|
|
28
32
|
filterComponentType: "Cascader";
|
|
29
33
|
props: {
|
|
30
34
|
options: any[] | undefined;
|
|
35
|
+
fieldNames: {
|
|
36
|
+
label: string;
|
|
37
|
+
value: string;
|
|
38
|
+
children: string;
|
|
39
|
+
};
|
|
31
40
|
};
|
|
41
|
+
formatFilterValue: (val: Array<string>) => string[] | undefined;
|
|
32
42
|
filterFn: (value: string) => (i: Record) => boolean;
|
|
33
43
|
} | {
|
|
34
44
|
searchDefaultConditions: "like";
|
|
@@ -37,6 +47,7 @@ declare class BsReissue implements ComponentInterface {
|
|
|
37
47
|
name: string;
|
|
38
48
|
filterComponentType: "Input";
|
|
39
49
|
props?: undefined;
|
|
50
|
+
formatFilterValue?: undefined;
|
|
40
51
|
filterFn?: undefined;
|
|
41
52
|
})[];
|
|
42
53
|
}
|
|
@@ -8,17 +8,59 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
8
8
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
9
9
|
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
10
10
|
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); }
|
|
11
|
-
import React from
|
|
11
|
+
import React from 'react';
|
|
12
12
|
import GetFormItem from "../../GetFormItem";
|
|
13
|
-
import { GoodImage } from "../../Common";
|
|
14
13
|
import ItemView from "../../../commonComponents/ItemView";
|
|
15
|
-
import { isNull, filterFn as _filterFn } from
|
|
16
|
-
import { BsReissue as Reissue } from
|
|
14
|
+
import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
|
|
15
|
+
import { BsReissue as Reissue } from '@kmkf-fe-packages/basic-components';
|
|
17
16
|
import { SYMBOL } from "../../../constant";
|
|
18
|
-
import {
|
|
17
|
+
import { BsGoodsTable } from "../../Common";
|
|
18
|
+
import { BsType, BsMemo, BsHeaderPic, BsHeaderName, BsHeaderCode, BsHeaderSku, BsHeaderMoney, BsHeaderNumber, BsHeaderShare, BsHeaderType, BsHeaderGood } from "../common/index";
|
|
19
|
+
var childHeaderMap = {
|
|
20
|
+
pic: {
|
|
21
|
+
component: BsHeaderPic,
|
|
22
|
+
name: '图片',
|
|
23
|
+
key: 'pic'
|
|
24
|
+
},
|
|
25
|
+
name: {
|
|
26
|
+
component: BsHeaderName,
|
|
27
|
+
name: '名称',
|
|
28
|
+
key: 'name'
|
|
29
|
+
},
|
|
30
|
+
code: {
|
|
31
|
+
component: BsHeaderCode,
|
|
32
|
+
name: '编码',
|
|
33
|
+
key: 'code'
|
|
34
|
+
},
|
|
35
|
+
sku: {
|
|
36
|
+
component: BsHeaderSku,
|
|
37
|
+
name: 'sku编码',
|
|
38
|
+
key: 'sku'
|
|
39
|
+
},
|
|
40
|
+
money: {
|
|
41
|
+
component: BsHeaderMoney,
|
|
42
|
+
name: '实付金额',
|
|
43
|
+
key: 'money'
|
|
44
|
+
},
|
|
45
|
+
number: {
|
|
46
|
+
component: BsHeaderNumber,
|
|
47
|
+
name: '数量',
|
|
48
|
+
key: 'number'
|
|
49
|
+
},
|
|
50
|
+
share: {
|
|
51
|
+
component: BsHeaderShare,
|
|
52
|
+
name: '分摊价',
|
|
53
|
+
key: 'share'
|
|
54
|
+
},
|
|
55
|
+
type: {
|
|
56
|
+
component: BsHeaderType,
|
|
57
|
+
name: '赠品类型',
|
|
58
|
+
key: 'giftType'
|
|
59
|
+
}
|
|
60
|
+
};
|
|
19
61
|
var BsReissue = /*#__PURE__*/_createClass(function BsReissue(options) {
|
|
20
62
|
var _this = this,
|
|
21
|
-
_this$
|
|
63
|
+
_this$componentConfig3;
|
|
22
64
|
_classCallCheck(this, BsReissue);
|
|
23
65
|
_defineProperty(this, "name", void 0);
|
|
24
66
|
_defineProperty(this, "id", void 0);
|
|
@@ -32,15 +74,20 @@ var BsReissue = /*#__PURE__*/_createClass(function BsReissue(options) {
|
|
|
32
74
|
_defineProperty(this, "canSort", void 0);
|
|
33
75
|
_defineProperty(this, "children", void 0);
|
|
34
76
|
_defineProperty(this, "dataType", void 0);
|
|
77
|
+
_defineProperty(this, "bsType", void 0);
|
|
78
|
+
_defineProperty(this, "bsMemo", void 0);
|
|
79
|
+
_defineProperty(this, "reissueGoods", void 0);
|
|
35
80
|
_defineProperty(this, "renderClient", function (record) {
|
|
36
|
-
|
|
81
|
+
var _this$componentConfig;
|
|
82
|
+
console.log('bsreissue', record);
|
|
83
|
+
return !isNull(record === null || record === void 0 ? void 0 : record["".concat(_this.id)]) ? /*#__PURE__*/React.createElement(React.Fragment, null, _this.bsType.renderClient(record), _this.bsMemo.renderClient(record), /*#__PURE__*/React.createElement(ItemView, {
|
|
37
84
|
id: _this.id,
|
|
38
85
|
label: _this.name,
|
|
39
|
-
value: /*#__PURE__*/React.createElement(
|
|
40
|
-
list: record === null || record === void 0 ? void 0 : record[_this.id],
|
|
41
|
-
|
|
86
|
+
value: /*#__PURE__*/React.createElement(BsGoodsTable, {
|
|
87
|
+
list: (record === null || record === void 0 ? void 0 : record["".concat(_this.id)].bsReissueGoods) || [],
|
|
88
|
+
showHeader: ((_this$componentConfig = _this.componentConfig) === null || _this$componentConfig === void 0 ? void 0 : _this$componentConfig.showHeader) || []
|
|
42
89
|
})
|
|
43
|
-
}) : null;
|
|
90
|
+
})) : null;
|
|
44
91
|
});
|
|
45
92
|
_defineProperty(this, "renderPc", function () {
|
|
46
93
|
return null;
|
|
@@ -55,7 +102,7 @@ var BsReissue = /*#__PURE__*/_createClass(function BsReissue(options) {
|
|
|
55
102
|
return null;
|
|
56
103
|
});
|
|
57
104
|
_defineProperty(this, "editRender", function (p) {
|
|
58
|
-
var _this$
|
|
105
|
+
var _this$componentConfig2, _this$effects, _this$effects2;
|
|
59
106
|
return /*#__PURE__*/React.createElement(GetFormItem, {
|
|
60
107
|
title: _this.name,
|
|
61
108
|
name: _this.id,
|
|
@@ -63,7 +110,7 @@ var BsReissue = /*#__PURE__*/_createClass(function BsReissue(options) {
|
|
|
63
110
|
required: false,
|
|
64
111
|
hidden: p === null || p === void 0 ? void 0 : p.hidden,
|
|
65
112
|
component: /*#__PURE__*/React.createElement(Reissue, _extends({}, _this.componentConfig, {
|
|
66
|
-
maxLength: ((_this$
|
|
113
|
+
maxLength: ((_this$componentConfig2 = _this.componentConfig) === null || _this$componentConfig2 === void 0 ? void 0 : _this$componentConfig2.maxLength) || 20,
|
|
67
114
|
shopId: (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.shopId,
|
|
68
115
|
shopList: ((_this$effects2 = _this.effects) === null || _this$effects2 === void 0 ? void 0 : _this$effects2.shopList) || [],
|
|
69
116
|
width: "90%"
|
|
@@ -71,15 +118,25 @@ var BsReissue = /*#__PURE__*/_createClass(function BsReissue(options) {
|
|
|
71
118
|
});
|
|
72
119
|
});
|
|
73
120
|
_defineProperty(this, "filterConfig", function (item) {
|
|
74
|
-
var _item$
|
|
121
|
+
var _item$templateConfig;
|
|
75
122
|
return [{
|
|
76
|
-
searchDefaultConditions: SYMBOL.
|
|
123
|
+
searchDefaultConditions: SYMBOL.in,
|
|
77
124
|
type: item.type,
|
|
78
125
|
id: "".concat(item.id, "_bsReissueType"),
|
|
79
|
-
name: "".concat(item.name, "-\
|
|
80
|
-
filterComponentType:
|
|
126
|
+
name: "".concat(item.name, "-\u8865\u53D1\u7C7B\u578B"),
|
|
127
|
+
filterComponentType: 'Cascader',
|
|
81
128
|
props: {
|
|
82
|
-
options: item === null || item === void 0 ? void 0 : (_item$
|
|
129
|
+
options: item === null || item === void 0 ? void 0 : (_item$templateConfig = item.templateConfig) === null || _item$templateConfig === void 0 ? void 0 : _item$templateConfig.reasonList,
|
|
130
|
+
fieldNames: {
|
|
131
|
+
label: 'label',
|
|
132
|
+
value: 'value',
|
|
133
|
+
children: 'children'
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
formatFilterValue: function formatFilterValue(val) {
|
|
137
|
+
if ((val === null || val === void 0 ? void 0 : val.length) > 0) {
|
|
138
|
+
return [val[val.length - 1]];
|
|
139
|
+
}
|
|
83
140
|
},
|
|
84
141
|
filterFn: function filterFn(value) {
|
|
85
142
|
return function (i) {
|
|
@@ -91,7 +148,7 @@ var BsReissue = /*#__PURE__*/_createClass(function BsReissue(options) {
|
|
|
91
148
|
type: item.type,
|
|
92
149
|
id: "".concat(item.id, "_bsReissueGoods"),
|
|
93
150
|
name: "".concat(_this.name),
|
|
94
|
-
filterComponentType:
|
|
151
|
+
filterComponentType: 'Input'
|
|
95
152
|
}];
|
|
96
153
|
});
|
|
97
154
|
this.name = options.name;
|
|
@@ -100,50 +157,49 @@ var BsReissue = /*#__PURE__*/_createClass(function BsReissue(options) {
|
|
|
100
157
|
this.formField = "".concat(options.id);
|
|
101
158
|
this.type = options.type;
|
|
102
159
|
this.effects = options === null || options === void 0 ? void 0 : options.effects;
|
|
103
|
-
this.isCombinationComponent =
|
|
160
|
+
this.isCombinationComponent = true;
|
|
104
161
|
this.canSort = false;
|
|
105
|
-
this.
|
|
106
|
-
id: "".concat(options.id, "
|
|
107
|
-
name:
|
|
108
|
-
}))
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
name:
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
})
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
}))];
|
|
162
|
+
this.bsType = new BsType(_objectSpread(_objectSpread({}, options), {}, {
|
|
163
|
+
id: "".concat(options.id, "_bsReissueType_type"),
|
|
164
|
+
name: '补发类型'
|
|
165
|
+
}));
|
|
166
|
+
this.bsMemo = new BsMemo(_objectSpread(_objectSpread({}, options), {}, {
|
|
167
|
+
id: "".concat(options.id, "_bsReissueType_memo"),
|
|
168
|
+
name: '补发备注'
|
|
169
|
+
}));
|
|
170
|
+
this.reissueGoods = new BsHeaderGood(_objectSpread(_objectSpread({}, options), {}, {
|
|
171
|
+
id: "".concat(options.id, "_bsReissueGoods"),
|
|
172
|
+
name: '商品信息'
|
|
173
|
+
}));
|
|
174
|
+
this.children = [this.bsType, this.bsMemo, this.reissueGoods
|
|
175
|
+
// ...(options?.componentConfig?.showHeader || []).reduce(
|
|
176
|
+
// (prv: any, next: string) => {
|
|
177
|
+
// if (childHeaderMap[next]) {
|
|
178
|
+
// prv.push(
|
|
179
|
+
// new childHeaderMap[next].component({
|
|
180
|
+
// ...options,
|
|
181
|
+
// name: childHeaderMap[next].name,
|
|
182
|
+
// id: `${options.id}_bsReissueGoods_${childHeaderMap[next].key}`,
|
|
183
|
+
// }),
|
|
184
|
+
// );
|
|
185
|
+
// }
|
|
186
|
+
// return prv;
|
|
187
|
+
// },
|
|
188
|
+
// [],
|
|
189
|
+
// ),
|
|
190
|
+
];
|
|
191
|
+
|
|
136
192
|
this.componentConfig = options === null || options === void 0 ? void 0 : options.componentConfig;
|
|
137
|
-
this.rules = this !== null && this !== void 0 && (_this$
|
|
193
|
+
this.rules = this !== null && this !== void 0 && (_this$componentConfig3 = this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.required ? [{
|
|
138
194
|
required: true,
|
|
139
195
|
validator: function validator(_, value) {
|
|
140
196
|
var _value$bsReissueGoods;
|
|
141
197
|
if (!value || !(value !== null && value !== void 0 && (_value$bsReissueGoods = value.bsReissueGoods) !== null && _value$bsReissueGoods !== void 0 && _value$bsReissueGoods.length)) {
|
|
142
|
-
return Promise.reject(new Error(
|
|
198
|
+
return Promise.reject(new Error('请选择bs补发商品'));
|
|
143
199
|
}
|
|
144
200
|
return Promise.resolve();
|
|
145
201
|
}
|
|
146
202
|
}] : [];
|
|
147
|
-
this.dataType =
|
|
203
|
+
this.dataType = 'object';
|
|
148
204
|
});
|
|
149
205
|
export default BsReissue;
|
|
@@ -1,19 +1,20 @@
|
|
|
1
|
-
import { ComponentInterface, PickOption, ALignType, Record } from
|
|
2
|
-
import React from
|
|
1
|
+
import { ComponentInterface, PickOption, ALignType, Record } from '../../../type';
|
|
2
|
+
import React from 'react';
|
|
3
3
|
declare class BsChildCode implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
5
5
|
id: string;
|
|
6
6
|
sortField: string;
|
|
7
7
|
type: string;
|
|
8
|
-
componentConfig: ComponentInterface[
|
|
8
|
+
componentConfig: ComponentInterface['componentConfig'];
|
|
9
9
|
align: ALignType;
|
|
10
10
|
width: number;
|
|
11
11
|
isCombinationComponent: boolean;
|
|
12
12
|
formField: string;
|
|
13
13
|
canSort: boolean;
|
|
14
14
|
children: ComponentInterface[];
|
|
15
|
-
dataType: ComponentInterface[
|
|
15
|
+
dataType: ComponentInterface['dataType'];
|
|
16
16
|
constructor(options: PickOption);
|
|
17
|
+
getParentId: () => string;
|
|
17
18
|
renderClient: (record: any) => React.JSX.Element | null;
|
|
18
19
|
renderPc: (value: unknown, record: Record) => React.JSX.Element;
|
|
19
20
|
renderLog: (r: Record) => React.JSX.Element | null;
|
|
@@ -1,13 +1,19 @@
|
|
|
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 _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
3
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
4
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
5
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
6
|
+
function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
|
|
7
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
2
8
|
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); } }
|
|
3
9
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
4
10
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
5
11
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
6
12
|
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
7
13
|
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
|
-
import React from
|
|
14
|
+
import React from 'react';
|
|
9
15
|
import ItemView from "../../../commonComponents/ItemView";
|
|
10
|
-
import { isNull } from
|
|
16
|
+
import { isNull } from '@kmkf-fe-packages/kmkf-utils';
|
|
11
17
|
var BsChildCode = /*#__PURE__*/_createClass(function BsChildCode(options) {
|
|
12
18
|
var _this = this;
|
|
13
19
|
_classCallCheck(this, BsChildCode);
|
|
@@ -23,6 +29,14 @@ var BsChildCode = /*#__PURE__*/_createClass(function BsChildCode(options) {
|
|
|
23
29
|
_defineProperty(this, "canSort", void 0);
|
|
24
30
|
_defineProperty(this, "children", void 0);
|
|
25
31
|
_defineProperty(this, "dataType", void 0);
|
|
32
|
+
_defineProperty(this, "getParentId", function () {
|
|
33
|
+
var _this$id$split = _this.id.split('_'),
|
|
34
|
+
_this$id$split2 = _slicedToArray(_this$id$split, 3),
|
|
35
|
+
key = _this$id$split2[0],
|
|
36
|
+
name = _this$id$split2[1],
|
|
37
|
+
code = _this$id$split2[2];
|
|
38
|
+
return "".concat(key, "_").concat(name);
|
|
39
|
+
});
|
|
26
40
|
_defineProperty(this, "renderClient", function (record) {
|
|
27
41
|
return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
|
|
28
42
|
id: _this.id,
|
|
@@ -32,22 +46,25 @@ var BsChildCode = /*#__PURE__*/_createClass(function BsChildCode(options) {
|
|
|
32
46
|
});
|
|
33
47
|
_defineProperty(this, "renderPc", function (value, record) {
|
|
34
48
|
var _this$getComponentVal;
|
|
35
|
-
return /*#__PURE__*/React.createElement("span", null, (_this$getComponentVal = _this.getComponentValue(record)) !== null && _this$getComponentVal !== void 0 ? _this$getComponentVal :
|
|
49
|
+
return /*#__PURE__*/React.createElement("span", null, (_this$getComponentVal = _this.getComponentValue(record)) !== null && _this$getComponentVal !== void 0 ? _this$getComponentVal : '--');
|
|
36
50
|
});
|
|
37
51
|
_defineProperty(this, "renderLog", function (r) {
|
|
38
|
-
|
|
52
|
+
var id = _this.getParentId();
|
|
53
|
+
if (isNull(r === null || r === void 0 ? void 0 : r[id])) return null;
|
|
39
54
|
return _this.renderPc(undefined, r);
|
|
40
55
|
});
|
|
41
56
|
_defineProperty(this, "getComponentValue", function (r) {
|
|
42
|
-
|
|
43
|
-
|
|
57
|
+
return r === null || r === void 0 ? void 0 : r[_this.id];
|
|
58
|
+
var id = _this.getParentId();
|
|
59
|
+
var list = ((r === null || r === void 0 ? void 0 : r[id]) || []).reduce(function (prv, next) {
|
|
60
|
+
next['code'] && prv.push(next['code']);
|
|
44
61
|
return prv;
|
|
45
62
|
}, []);
|
|
46
|
-
return list.join(
|
|
63
|
+
return list.join(',');
|
|
47
64
|
});
|
|
48
65
|
_defineProperty(this, "renderExport", function (value, record) {
|
|
49
66
|
var _this$getComponentVal2;
|
|
50
|
-
return (_this$getComponentVal2 = _this.getComponentValue(record)) !== null && _this$getComponentVal2 !== void 0 ? _this$getComponentVal2 :
|
|
67
|
+
return (_this$getComponentVal2 = _this.getComponentValue(record)) !== null && _this$getComponentVal2 !== void 0 ? _this$getComponentVal2 : '--';
|
|
51
68
|
});
|
|
52
69
|
_defineProperty(this, "editRender", function () {
|
|
53
70
|
return null;
|
|
@@ -61,11 +78,11 @@ var BsChildCode = /*#__PURE__*/_createClass(function BsChildCode(options) {
|
|
|
61
78
|
this.formField = options.id;
|
|
62
79
|
this.type = options.type;
|
|
63
80
|
this.componentConfig = options.componentConfig;
|
|
64
|
-
this.align =
|
|
81
|
+
this.align = 'left';
|
|
65
82
|
this.width = 200;
|
|
66
83
|
this.isCombinationComponent = false;
|
|
67
|
-
this.canSort =
|
|
68
|
-
this.dataType =
|
|
84
|
+
this.canSort = false;
|
|
85
|
+
this.dataType = 'string';
|
|
69
86
|
this.children = [];
|
|
70
87
|
});
|
|
71
88
|
export default BsChildCode;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ComponentInterface, PickOption, ALignType, Record } from '../../../type';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
declare class BsHeaderGods implements ComponentInterface {
|
|
4
|
+
name: string;
|
|
5
|
+
id: string;
|
|
6
|
+
sortField: string;
|
|
7
|
+
type: string;
|
|
8
|
+
componentConfig: ComponentInterface['componentConfig'];
|
|
9
|
+
align: ALignType;
|
|
10
|
+
width: number;
|
|
11
|
+
isCombinationComponent: boolean;
|
|
12
|
+
formField: string;
|
|
13
|
+
canSort: boolean;
|
|
14
|
+
children: ComponentInterface[];
|
|
15
|
+
dataType: ComponentInterface['dataType'];
|
|
16
|
+
itemKey: any;
|
|
17
|
+
constructor(options: PickOption);
|
|
18
|
+
getParentId: () => string;
|
|
19
|
+
renderClient: (record: any) => React.JSX.Element | null;
|
|
20
|
+
renderPc: (value: unknown, record: Record) => React.JSX.Element;
|
|
21
|
+
renderLog: (r: Record) => React.JSX.Element | null;
|
|
22
|
+
getComponentValue: (r: Record) => any;
|
|
23
|
+
renderExport: (value: string, record: Record) => any;
|
|
24
|
+
editRender: () => null;
|
|
25
|
+
filterConfig: () => never[];
|
|
26
|
+
}
|
|
27
|
+
export default BsHeaderGods;
|