@kmkf-fe-packages/services-components 0.6.3-alpha.9 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/dist/esm/commonComponents/ItemView/index.d.ts +2 -2
- package/dist/esm/commonComponents/OperationLog/index.d.ts +2 -1
- package/dist/esm/commonComponents/OperationLog/index.js +28 -27
- package/dist/esm/commonComponents/PlatBuyer/index.d.ts +2 -2
- package/dist/esm/commonComponents/PlatformAvatar/index.d.ts +2 -2
- package/dist/esm/commonComponents/QueryLogisticsTrack/index.d.ts +9 -0
- package/dist/esm/commonComponents/QueryLogisticsTrack/index.js +92 -0
- package/dist/esm/commonComponents/ShopList/index.d.ts +2 -2
- package/dist/esm/commonComponents/Wangwang/index.d.ts +2 -2
- package/dist/esm/components/ActualPayment/index.d.ts +6 -6
- package/dist/esm/components/ActualPayment/index.js +2 -4
- package/dist/esm/components/Address/index.d.ts +5 -6
- package/dist/esm/components/Address/index.js +1 -4
- package/dist/esm/components/Alipay/index.d.ts +5 -5
- package/dist/esm/components/Alipay/index.js +1 -4
- package/dist/esm/components/AlipayAccount/index.d.ts +6 -6
- package/dist/esm/components/AlipayAccount/index.js +2 -4
- package/dist/esm/components/AlipayName/index.d.ts +6 -6
- package/dist/esm/components/AlipayName/index.js +2 -4
- package/dist/esm/components/BuyerNick/index.d.ts +6 -9
- package/dist/esm/components/BuyerNick/index.js +1 -3
- package/dist/esm/components/Cascader/index.d.ts +6 -6
- package/dist/esm/components/Cascader/index.js +2 -4
- package/dist/esm/components/Checkbox/index.d.ts +5 -5
- package/dist/esm/components/Checkbox/index.js +8 -14
- package/dist/esm/components/Common/index.d.ts +5 -5
- package/dist/esm/components/CommonDataTime/index.d.ts +5 -5
- package/dist/esm/components/CommonDataTime/index.js +1 -4
- package/dist/esm/components/CompletedUser/index.d.ts +4 -4
- package/dist/esm/components/CompletedUser/index.js +2 -4
- package/dist/esm/components/DataTime/ApaasDate.d.ts +2 -2
- package/dist/esm/components/DataTime/index.d.ts +7 -7
- package/dist/esm/components/DataTime/index.js +1 -3
- package/dist/esm/components/EItemEnCode/ItemEncode.d.ts +2 -2
- package/dist/esm/components/EItemEnCode/index.d.ts +6 -6
- package/dist/esm/components/EItemEnCode/index.js +5 -7
- package/dist/esm/components/EItemId/ItemId.d.ts +2 -2
- package/dist/esm/components/EItemId/index.d.ts +6 -6
- package/dist/esm/components/EItemId/index.js +5 -7
- package/dist/esm/components/EItemSelect/ItemSelect.d.ts +2 -2
- package/dist/esm/components/EItemSelect/index.d.ts +5 -6
- package/dist/esm/components/EItemSelect/index.js +3 -6
- package/dist/esm/components/ErpTradeId/index.d.ts +6 -6
- package/dist/esm/components/ErpTradeId/index.js +3 -5
- package/dist/esm/components/Express/index.d.ts +8 -8
- package/dist/esm/components/Express/index.js +3 -5
- package/dist/esm/components/ExpressCode/index.d.ts +8 -8
- package/dist/esm/components/ExpressCode/index.js +11 -12
- package/dist/esm/components/ExpressCompany/index.d.ts +2 -2
- package/dist/esm/components/FlowStatusSelect/index.d.ts +6 -6
- package/dist/esm/components/FlowStatusSelect/index.js +1 -3
- package/dist/esm/components/GetFormItem/index.d.ts +3 -3
- package/dist/esm/components/GetFormItem/index.js +3 -3
- package/dist/esm/components/Grade/index.d.ts +5 -6
- package/dist/esm/components/Grade/index.js +1 -4
- package/dist/esm/components/Handler/index.d.ts +4 -4
- package/dist/esm/components/Handler/index.js +11 -8
- package/dist/esm/components/Input/index.d.ts +6 -6
- package/dist/esm/components/Input/index.js +2 -4
- package/dist/esm/components/JstItemSelect/index.d.ts +7 -7
- package/dist/esm/components/JstItemSelect/index.js +21 -24
- package/dist/esm/components/JstLogistics/index.d.ts +8 -7
- package/dist/esm/components/JstLogistics/index.js +11 -9
- package/dist/esm/components/JstSendGood/index.d.ts +6 -6
- package/dist/esm/components/JstSendGood/index.js +11 -9
- package/dist/esm/components/JstSupply/index.d.ts +6 -6
- package/dist/esm/components/JstSupply/index.js +11 -9
- package/dist/esm/components/Logistics/index.d.ts +7 -6
- package/dist/esm/components/Logistics/index.js +1 -4
- package/dist/esm/components/LogisticsInterception/InterceptAddress.d.ts +17 -11
- package/dist/esm/components/LogisticsInterception/InterceptAddress.js +68 -29
- package/dist/esm/components/LogisticsInterception/InterceptStatus.d.ts +38 -0
- package/dist/esm/components/LogisticsInterception/InterceptStatus.js +102 -0
- package/dist/esm/components/LogisticsInterception/InterceptType.d.ts +21 -9
- package/dist/esm/components/LogisticsInterception/InterceptType.js +40 -18
- package/dist/esm/components/LogisticsInterception/columnHeader.d.ts +5 -0
- package/dist/esm/components/LogisticsInterception/columnHeader.js +55 -0
- package/dist/esm/components/LogisticsInterception/index.d.ts +54 -9
- package/dist/esm/components/LogisticsInterception/index.js +50 -16
- package/dist/esm/components/LogisticsInterception/interceptSenderMobile.d.ts +30 -0
- package/dist/esm/components/LogisticsInterception/interceptSenderMobile.js +74 -0
- package/dist/esm/components/MultSelect/index.d.ts +6 -7
- package/dist/esm/components/MultSelect/index.js +3 -4
- package/dist/esm/components/Ordinary/OrdinaryHeader.d.ts +4 -4
- package/dist/esm/components/Ordinary/OrdinaryHeader.js +2 -4
- package/dist/esm/components/Ordinary/OrdinaryMoney.d.ts +4 -4
- package/dist/esm/components/Ordinary/OrdinaryMoney.js +2 -4
- package/dist/esm/components/Ordinary/OrdinarySerial.d.ts +4 -4
- package/dist/esm/components/Ordinary/OrdinarySerial.js +2 -4
- package/dist/esm/components/Ordinary/index.d.ts +5 -5
- package/dist/esm/components/Ordinary/index.js +2 -5
- package/dist/esm/components/OrdinaryHeader/index.d.ts +2 -2
- package/dist/esm/components/Payment/AlipayNick.d.ts +6 -6
- package/dist/esm/components/Payment/AlipayNick.js +3 -4
- package/dist/esm/components/Payment/AlipayNo.d.ts +6 -6
- package/dist/esm/components/Payment/AlipayNo.js +4 -5
- package/dist/esm/components/Payment/AlipayTime.d.ts +6 -6
- package/dist/esm/components/Payment/AlipayTime.js +2 -6
- package/dist/esm/components/Payment/BuyerNick.d.ts +6 -6
- package/dist/esm/components/Payment/BuyerNick.js +2 -3
- package/dist/esm/components/Payment/PaymentAmount.d.ts +6 -6
- package/dist/esm/components/Payment/PaymentAmount.js +1 -3
- package/dist/esm/components/Payment/PaymentStatus.d.ts +4 -4
- package/dist/esm/components/Payment/PaymentStatus.js +2 -4
- package/dist/esm/components/Payment/PaymentTid.d.ts +6 -6
- package/dist/esm/components/Payment/PaymentTid.js +1 -3
- package/dist/esm/components/Payment/index.d.ts +7 -5
- package/dist/esm/components/Payment/index.js +1 -4
- package/dist/esm/components/Picture/index.d.ts +6 -6
- package/dist/esm/components/Picture/index.js +1 -1
- package/dist/esm/components/PlatForm/index.d.ts +4 -4
- package/dist/esm/components/PlatForm/index.js +1 -3
- package/dist/esm/components/Popover/index.d.ts +2 -2
- package/dist/esm/components/Radio/index.d.ts +7 -6
- package/dist/esm/components/Radio/index.js +1 -0
- package/dist/esm/components/Rate/index.d.ts +6 -6
- package/dist/esm/components/Rate/index.js +4 -11
- package/dist/esm/components/ReceiverAddress/index.d.ts +6 -6
- package/dist/esm/components/ReceiverAddress/index.js +3 -3
- package/dist/esm/components/ReceiverMobile/index.d.ts +6 -6
- package/dist/esm/components/ReceiverMobile/index.js +2 -4
- package/dist/esm/components/ReceiverName/index.d.ts +6 -6
- package/dist/esm/components/ReceiverName/index.js +2 -4
- package/dist/esm/components/Remark/index.d.ts +7 -6
- package/dist/esm/components/Remark/index.js +1 -0
- package/dist/esm/components/ReturnLogistics/index.d.ts +7 -6
- package/dist/esm/components/ReturnLogistics/index.js +1 -4
- package/dist/esm/components/Select/index.d.ts +6 -6
- package/dist/esm/components/Select/index.js +1 -3
- package/dist/esm/components/ShopInput/index.d.ts +3 -3
- package/dist/esm/components/ShopInput/index.js +1 -3
- package/dist/esm/components/ShopName/index.d.ts +6 -6
- package/dist/esm/components/ShopName/index.js +3 -5
- package/dist/esm/components/Submitter/index.d.ts +4 -4
- package/dist/esm/components/Submitter/index.js +2 -4
- package/dist/esm/components/SystemOrderNo/index.d.ts +6 -6
- package/dist/esm/components/SystemOrderNo/index.js +2 -4
- package/dist/esm/components/TemplateSelect/index.d.ts +5 -5
- package/dist/esm/components/TemplateSelect/index.js +2 -4
- package/dist/esm/components/TextArea/index.d.ts +6 -6
- package/dist/esm/components/TextArea/index.js +2 -4
- package/dist/esm/components/ThirdItemSelect/ItemEncode.d.ts +2 -2
- package/dist/esm/components/ThirdItemSelect/index.d.ts +6 -6
- package/dist/esm/components/ThirdItemSelect/index.js +5 -8
- package/dist/esm/components/TradeDateTime/index.d.ts +7 -6
- package/dist/esm/components/TradeDateTime/index.js +1 -0
- package/dist/esm/components/TradeId/index.d.ts +6 -6
- package/dist/esm/components/TradeId/index.js +2 -4
- package/dist/esm/components/WorkOrderId/index.d.ts +5 -5
- package/dist/esm/components/WorkOrderId/index.js +1 -3
- package/dist/esm/index.d.ts +2 -0
- package/dist/esm/index.js +3 -1
- package/dist/esm/type.d.ts +13 -15
- package/package.json +10 -5
|
@@ -23,9 +23,6 @@ var OrdinaryMoney = /*#__PURE__*/_createClass(function OrdinaryMoney(options) {
|
|
|
23
23
|
_defineProperty(this, "width", void 0);
|
|
24
24
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
25
25
|
_defineProperty(this, "children", void 0);
|
|
26
|
-
_defineProperty(this, "render", function (value) {
|
|
27
|
-
return /*#__PURE__*/React.createElement("span", null, value);
|
|
28
|
-
});
|
|
29
26
|
_defineProperty(this, "renderPc", function (value, r) {
|
|
30
27
|
var _r;
|
|
31
28
|
return (_r = r === null || r === void 0 ? void 0 : r["".concat(_this.id)]) !== null && _r !== void 0 ? _r : '--';
|
|
@@ -44,7 +41,7 @@ var OrdinaryMoney = /*#__PURE__*/_createClass(function OrdinaryMoney(options) {
|
|
|
44
41
|
return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
|
|
45
42
|
id: _this.id,
|
|
46
43
|
label: _this.name,
|
|
47
|
-
value:
|
|
44
|
+
value: record === null || record === void 0 ? void 0 : record[_this.id]
|
|
48
45
|
}) : null;
|
|
49
46
|
});
|
|
50
47
|
_defineProperty(this, "editRender", function () {
|
|
@@ -59,6 +56,7 @@ var OrdinaryMoney = /*#__PURE__*/_createClass(function OrdinaryMoney(options) {
|
|
|
59
56
|
});
|
|
60
57
|
_defineProperty(this, "filterConfig", function (item) {
|
|
61
58
|
return {
|
|
59
|
+
type: item.type,
|
|
62
60
|
id: "".concat(item.id, "_ordinaryTaitou"),
|
|
63
61
|
name: "".concat(item.name, "-\u53D1\u7968\u62AC\u5934"),
|
|
64
62
|
filterComponentType: 'Input',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ComponentInterface, PickOption, DataType, ALignType, Record, ColumnConfig } from '../../type';
|
|
2
|
+
import React from 'react';
|
|
3
3
|
declare class OrdinarySerial implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
5
5
|
id: string;
|
|
@@ -17,14 +17,14 @@ declare class OrdinarySerial implements ComponentInterface {
|
|
|
17
17
|
isCombinationComponent: boolean;
|
|
18
18
|
children: ComponentInterface[];
|
|
19
19
|
constructor(options: PickOption);
|
|
20
|
-
|
|
21
|
-
renderClient: (record: any) => JSX.Element | null;
|
|
20
|
+
renderClient: (record: any) => React.JSX.Element | null;
|
|
22
21
|
renderPc: (value: unknown, r: Record) => any;
|
|
23
22
|
renderLog: (r: Record) => any;
|
|
24
23
|
getComponentValue: (r: Record) => any;
|
|
25
24
|
renderExport: (value: any) => any;
|
|
26
|
-
editRender: () => JSX.Element;
|
|
25
|
+
editRender: () => React.JSX.Element;
|
|
27
26
|
filterConfig: (item: ColumnConfig) => {
|
|
27
|
+
type: string;
|
|
28
28
|
id: string;
|
|
29
29
|
name: string;
|
|
30
30
|
filterComponentType: "Input";
|
|
@@ -28,14 +28,11 @@ var OrdinarySerial = /*#__PURE__*/_createClass(function OrdinarySerial(options)
|
|
|
28
28
|
_defineProperty(this, "width", void 0);
|
|
29
29
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
30
30
|
_defineProperty(this, "children", void 0);
|
|
31
|
-
_defineProperty(this, "render", function (value) {
|
|
32
|
-
return /*#__PURE__*/React.createElement("span", null, value);
|
|
33
|
-
});
|
|
34
31
|
_defineProperty(this, "renderClient", function (record) {
|
|
35
32
|
return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
|
|
36
33
|
id: _this.id,
|
|
37
34
|
label: _this.name,
|
|
38
|
-
value:
|
|
35
|
+
value: record === null || record === void 0 ? void 0 : record[_this.id]
|
|
39
36
|
}) : null;
|
|
40
37
|
});
|
|
41
38
|
_defineProperty(this, "renderPc", function (value, r) {
|
|
@@ -64,6 +61,7 @@ var OrdinarySerial = /*#__PURE__*/_createClass(function OrdinarySerial(options)
|
|
|
64
61
|
});
|
|
65
62
|
_defineProperty(this, "filterConfig", function (item) {
|
|
66
63
|
return {
|
|
64
|
+
type: item.type,
|
|
67
65
|
id: "".concat(item.id, "_ordinarySerial"),
|
|
68
66
|
name: "".concat(item.name, "-\u7EB3\u7A0E\u4EBA\u8BC6\u522B\u53F7"),
|
|
69
67
|
filterComponentType: 'Input',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ComponentInterface, PickOption, DataType, Record, ColumnConfig } from '../../type';
|
|
2
|
+
import React from 'react';
|
|
3
3
|
import OrdinaryHeader from './OrdinaryHeader';
|
|
4
4
|
import OrdinaryMoney from './OrdinaryMoney';
|
|
5
5
|
import OrdinarySerial from './OrdinarySerial';
|
|
@@ -20,18 +20,18 @@ declare class Ordinary implements ComponentInterface {
|
|
|
20
20
|
isCombinationComponent: boolean;
|
|
21
21
|
children: ComponentInterface[];
|
|
22
22
|
constructor(options: PickOption);
|
|
23
|
-
|
|
24
|
-
editRender: (value: any) => JSX.Element;
|
|
23
|
+
editRender: () => React.JSX.Element;
|
|
25
24
|
renderPc: () => null;
|
|
26
|
-
renderLog: (r: Record) => JSX.Element;
|
|
25
|
+
renderLog: (r: Record) => React.JSX.Element;
|
|
27
26
|
getComponentValue: (r: Record) => {
|
|
28
27
|
ordinaryMoney: any;
|
|
29
28
|
ordinarySerial: any;
|
|
30
29
|
ordinaryTaitou: any;
|
|
31
30
|
};
|
|
32
31
|
renderExport: () => null;
|
|
33
|
-
renderClient: (record: any) => JSX.Element;
|
|
32
|
+
renderClient: (record: any) => React.JSX.Element;
|
|
34
33
|
filterConfig: (item: ColumnConfig) => {
|
|
34
|
+
type: string;
|
|
35
35
|
id: string;
|
|
36
36
|
name: string;
|
|
37
37
|
filterComponentType: "Input";
|
|
@@ -32,10 +32,7 @@ var Ordinary = /*#__PURE__*/_createClass(function Ordinary(options) {
|
|
|
32
32
|
_defineProperty(this, "ordinarySerial", void 0);
|
|
33
33
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
34
34
|
_defineProperty(this, "children", void 0);
|
|
35
|
-
_defineProperty(this, "
|
|
36
|
-
return null;
|
|
37
|
-
});
|
|
38
|
-
_defineProperty(this, "editRender", function (value) {
|
|
35
|
+
_defineProperty(this, "editRender", function () {
|
|
39
36
|
var _this$componentConfig, _this$componentConfig2;
|
|
40
37
|
return /*#__PURE__*/React.createElement(GetFormItem, {
|
|
41
38
|
title: _this.name,
|
|
@@ -49,7 +46,7 @@ var Ordinary = /*#__PURE__*/_createClass(function Ordinary(options) {
|
|
|
49
46
|
return null;
|
|
50
47
|
});
|
|
51
48
|
_defineProperty(this, "renderLog", function (r) {
|
|
52
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, _this.ordinaryHeader.renderLog(r), _this.ordinaryMoney.renderLog(r), _this.ordinarySerial.renderLog(r));
|
|
49
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", null, _this.ordinaryHeader.name, ": ", _this.ordinaryHeader.renderLog(r)), /*#__PURE__*/React.createElement("div", null, _this.ordinaryMoney.name, ": ", _this.ordinaryMoney.renderLog(r)), /*#__PURE__*/React.createElement("div", null, _this.ordinarySerial.name, ": ", _this.ordinarySerial.renderLog(r)));
|
|
53
50
|
});
|
|
54
51
|
_defineProperty(this, "getComponentValue", function (r) {
|
|
55
52
|
return {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
declare const OrdinaryHeaderWrap: (props: JSX.IntrinsicAttributes & {
|
|
3
3
|
value?: any;
|
|
4
4
|
onChange?: any;
|
|
5
5
|
handleChangeSerial: any;
|
|
6
|
-
}) => JSX.Element;
|
|
6
|
+
}) => React.JSX.Element;
|
|
7
7
|
export default OrdinaryHeaderWrap;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ComponentInterface, PickOption, ColumnConfig, ALignType, Record } from '../../type';
|
|
2
|
+
import React from 'react';
|
|
3
3
|
declare class PaymentTid implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
5
5
|
id: string;
|
|
@@ -12,14 +12,14 @@ declare class PaymentTid implements ComponentInterface {
|
|
|
12
12
|
isCombinationComponent: boolean;
|
|
13
13
|
children: ComponentInterface[];
|
|
14
14
|
constructor(options: PickOption);
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
renderLog: (r: Record) => JSX.Element | null;
|
|
15
|
+
renderClient: (record: any) => React.JSX.Element | null;
|
|
16
|
+
renderPc: (value: unknown, record: Record) => React.JSX.Element;
|
|
17
|
+
renderLog: (r: Record) => React.JSX.Element | null;
|
|
19
18
|
getComponentValue: (r: Record) => any;
|
|
20
19
|
renderExport: (value: any, record: Record) => any;
|
|
21
|
-
editRender: () => JSX.Element;
|
|
20
|
+
editRender: () => React.JSX.Element;
|
|
22
21
|
filterConfig: (item: ColumnConfig) => {
|
|
22
|
+
type: string;
|
|
23
23
|
id: string;
|
|
24
24
|
name: string;
|
|
25
25
|
filterComponentType: "Input";
|
|
@@ -23,9 +23,6 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
|
|
|
23
23
|
_defineProperty(this, "width", void 0);
|
|
24
24
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
25
25
|
_defineProperty(this, "children", void 0);
|
|
26
|
-
_defineProperty(this, "render", function (value, record) {
|
|
27
|
-
return /*#__PURE__*/React.createElement("span", null, value);
|
|
28
|
-
});
|
|
29
26
|
_defineProperty(this, "renderClient", function (record) {
|
|
30
27
|
return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
|
|
31
28
|
id: _this.id,
|
|
@@ -53,7 +50,8 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
|
|
|
53
50
|
return r === null || r === void 0 ? void 0 : r["".concat(_this.id)];
|
|
54
51
|
});
|
|
55
52
|
_defineProperty(this, "renderExport", function (value, record) {
|
|
56
|
-
|
|
53
|
+
var _record$_this$id;
|
|
54
|
+
return (_record$_this$id = record === null || record === void 0 ? void 0 : record[_this.id]) !== null && _record$_this$id !== void 0 ? _record$_this$id : '--';
|
|
57
55
|
});
|
|
58
56
|
_defineProperty(this, "editRender", function () {
|
|
59
57
|
var _this$componentConfig, _this$componentConfig2;
|
|
@@ -67,6 +65,7 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
|
|
|
67
65
|
});
|
|
68
66
|
_defineProperty(this, "filterConfig", function (item) {
|
|
69
67
|
return {
|
|
68
|
+
type: item.type,
|
|
70
69
|
id: "".concat(item.id, "_enterprisePaymentAlipayNick"),
|
|
71
70
|
name: "".concat(item.name, "-\u652F\u4ED8\u5B9D\u59D3\u540D"),
|
|
72
71
|
filterComponentType: 'Input',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ComponentInterface, PickOption, ColumnConfig, ALignType, Record } from '../../type';
|
|
2
|
+
import React from 'react';
|
|
3
3
|
declare class AlipayNo implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
5
5
|
id: string;
|
|
@@ -12,14 +12,14 @@ declare class AlipayNo implements ComponentInterface {
|
|
|
12
12
|
isCombinationComponent: boolean;
|
|
13
13
|
children: ComponentInterface[];
|
|
14
14
|
constructor(options: PickOption);
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
renderLog: (r: Record) => JSX.Element | null;
|
|
15
|
+
renderClient: (record: any) => React.JSX.Element | null;
|
|
16
|
+
renderPc: (value: unknown, record: any) => React.JSX.Element;
|
|
17
|
+
renderLog: (r: Record) => React.JSX.Element | null;
|
|
19
18
|
getComponentValue: (r: Record) => any;
|
|
20
19
|
renderExport: (value: any, record: Record) => any;
|
|
21
|
-
editRender: () => JSX.Element;
|
|
20
|
+
editRender: () => React.JSX.Element;
|
|
22
21
|
filterConfig: (item: ColumnConfig) => {
|
|
22
|
+
type: string;
|
|
23
23
|
id: string;
|
|
24
24
|
name: string;
|
|
25
25
|
filterComponentType: "Input";
|
|
@@ -23,9 +23,6 @@ var AlipayNo = /*#__PURE__*/_createClass(function AlipayNo(options) {
|
|
|
23
23
|
_defineProperty(this, "width", void 0);
|
|
24
24
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
25
25
|
_defineProperty(this, "children", void 0);
|
|
26
|
-
_defineProperty(this, "render", function (value) {
|
|
27
|
-
return /*#__PURE__*/React.createElement("span", null, value);
|
|
28
|
-
});
|
|
29
26
|
_defineProperty(this, "renderClient", function (record) {
|
|
30
27
|
return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
|
|
31
28
|
id: _this.id,
|
|
@@ -53,7 +50,8 @@ var AlipayNo = /*#__PURE__*/_createClass(function AlipayNo(options) {
|
|
|
53
50
|
return r === null || r === void 0 ? void 0 : r["".concat(_this.id)];
|
|
54
51
|
});
|
|
55
52
|
_defineProperty(this, "renderExport", function (value, record) {
|
|
56
|
-
|
|
53
|
+
var _record$_this$id;
|
|
54
|
+
return (_record$_this$id = record === null || record === void 0 ? void 0 : record[_this.id]) !== null && _record$_this$id !== void 0 ? _record$_this$id : '--';
|
|
57
55
|
});
|
|
58
56
|
_defineProperty(this, "editRender", function () {
|
|
59
57
|
var _this$componentConfig, _this$componentConfig2;
|
|
@@ -67,6 +65,7 @@ var AlipayNo = /*#__PURE__*/_createClass(function AlipayNo(options) {
|
|
|
67
65
|
});
|
|
68
66
|
_defineProperty(this, "filterConfig", function (item) {
|
|
69
67
|
return {
|
|
68
|
+
type: item.type,
|
|
70
69
|
id: "".concat(item.id, "_enterprisePaymentAlipayNo"),
|
|
71
70
|
name: "".concat(item.name, "-\u652F\u4ED8\u5B9D\u8D26\u53F7"),
|
|
72
71
|
filterComponentType: 'Input',
|
|
@@ -87,7 +86,7 @@ var AlipayNo = /*#__PURE__*/_createClass(function AlipayNo(options) {
|
|
|
87
86
|
this.children = [];
|
|
88
87
|
this.rules = [{
|
|
89
88
|
validator: function validator(_, value) {
|
|
90
|
-
if (/^(?:1[3-9]\d{9}|[a-zA-Z\d._-]
|
|
89
|
+
if (/^(?:1[3-9]\d{9}|[a-zA-Z\d._-]*@[a-zA-Z\d.-]{1,10}\.[a-zA-Z\d]{1,20})$/.test(value)) {
|
|
91
90
|
return Promise.resolve();
|
|
92
91
|
}
|
|
93
92
|
return Promise.reject(new Error('请输入有效的邮箱或者手机号'));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ComponentInterface, PickOption, ColumnConfig, ALignType, Record } from '../../type';
|
|
2
|
+
import React from 'react';
|
|
3
3
|
declare class AlipayTime implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
5
5
|
id: string;
|
|
@@ -11,14 +11,14 @@ declare class AlipayTime implements ComponentInterface {
|
|
|
11
11
|
isCombinationComponent: boolean;
|
|
12
12
|
children: ComponentInterface[];
|
|
13
13
|
constructor(options: PickOption);
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
renderLog: (r: Record) => JSX.Element | null;
|
|
14
|
+
renderClient: (record: Record) => React.JSX.Element | null;
|
|
15
|
+
renderPc: (value: unknown, record: Record) => React.JSX.Element;
|
|
16
|
+
renderLog: (r: Record) => React.JSX.Element | null;
|
|
18
17
|
getComponentValue: (r: Record) => any;
|
|
19
18
|
renderExport: (value: string) => string | null;
|
|
20
|
-
editRender: () => JSX.Element;
|
|
19
|
+
editRender: () => React.JSX.Element;
|
|
21
20
|
filterConfig: (item: ColumnConfig) => {
|
|
21
|
+
type: string;
|
|
22
22
|
id: string;
|
|
23
23
|
name: string;
|
|
24
24
|
filterComponentType: "Input";
|
|
@@ -23,16 +23,11 @@ var AlipayTime = /*#__PURE__*/_createClass(function AlipayTime(options) {
|
|
|
23
23
|
_defineProperty(this, "width", void 0);
|
|
24
24
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
25
25
|
_defineProperty(this, "children", void 0);
|
|
26
|
-
_defineProperty(this, "render", function (value) {
|
|
27
|
-
return /*#__PURE__*/React.createElement("span", {
|
|
28
|
-
className: "pointer"
|
|
29
|
-
}, value ? moment(+value).format('YYYY-MM-DD HH:mm:ss') : '--');
|
|
30
|
-
});
|
|
31
26
|
_defineProperty(this, "renderClient", function (record) {
|
|
32
27
|
return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
|
|
33
28
|
id: _this.id,
|
|
34
29
|
label: _this.name,
|
|
35
|
-
value: _this.
|
|
30
|
+
value: record !== null && record !== void 0 && record[_this.id] ? moment(+(record === null || record === void 0 ? void 0 : record[_this.id])).format('YYYY-MM-DD HH:mm:ss') : '--'
|
|
36
31
|
}) : null;
|
|
37
32
|
});
|
|
38
33
|
_defineProperty(this, "renderPc", function (value, record) {
|
|
@@ -65,6 +60,7 @@ var AlipayTime = /*#__PURE__*/_createClass(function AlipayTime(options) {
|
|
|
65
60
|
});
|
|
66
61
|
_defineProperty(this, "filterConfig", function (item) {
|
|
67
62
|
return {
|
|
63
|
+
type: item.type,
|
|
68
64
|
id: "".concat(item.id, "_enterprisePaymentTime"),
|
|
69
65
|
name: "".concat(item.name, "-\u6253\u6B3E\u65F6\u95F4"),
|
|
70
66
|
filterComponentType: 'Input',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ComponentInterface, PickOption, ColumnConfig, ALignType, Record } from '../../type';
|
|
2
|
+
import React from 'react';
|
|
3
3
|
declare class BuyerNick implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
5
5
|
id: string;
|
|
@@ -12,14 +12,14 @@ declare class BuyerNick implements ComponentInterface {
|
|
|
12
12
|
isCombinationComponent: boolean;
|
|
13
13
|
children: ComponentInterface[];
|
|
14
14
|
constructor(options: PickOption);
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
renderLog: (r: Record) => JSX.Element | null;
|
|
15
|
+
renderClient: (record: Record) => React.JSX.Element | null;
|
|
16
|
+
editRender: () => React.JSX.Element;
|
|
17
|
+
renderPc: (value: unknown, record: Record) => React.JSX.Element;
|
|
18
|
+
renderLog: (r: Record) => React.JSX.Element | null;
|
|
20
19
|
getComponentValue: (r: Record) => any;
|
|
21
20
|
renderExport: (value: string) => string;
|
|
22
21
|
filterConfig: (item: ColumnConfig) => {
|
|
22
|
+
type: string;
|
|
23
23
|
id: string;
|
|
24
24
|
name: string;
|
|
25
25
|
filterComponentType: "Input";
|
|
@@ -30,9 +30,6 @@ var BuyerNick = /*#__PURE__*/_createClass(function BuyerNick(options) {
|
|
|
30
30
|
_defineProperty(this, "width", void 0);
|
|
31
31
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
32
32
|
_defineProperty(this, "children", void 0);
|
|
33
|
-
_defineProperty(this, "render", function (value) {
|
|
34
|
-
return /*#__PURE__*/React.createElement("span", null, value);
|
|
35
|
-
});
|
|
36
33
|
_defineProperty(this, "renderClient", function (record) {
|
|
37
34
|
return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
|
|
38
35
|
id: _this.id,
|
|
@@ -56,6 +53,7 @@ var BuyerNick = /*#__PURE__*/_createClass(function BuyerNick(options) {
|
|
|
56
53
|
return /*#__PURE__*/React.createElement("span", null, "--");
|
|
57
54
|
}
|
|
58
55
|
var buyerOpenUid = (record === null || record === void 0 ? void 0 : record.buyerOpenUid) || Object.keys(record).reduce(function (prv, next) {
|
|
56
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
59
57
|
var _next$split = next.split('_'),
|
|
60
58
|
_next$split2 = _slicedToArray(_next$split, 2),
|
|
61
59
|
_ = _next$split2[0],
|
|
@@ -84,6 +82,7 @@ var BuyerNick = /*#__PURE__*/_createClass(function BuyerNick(options) {
|
|
|
84
82
|
});
|
|
85
83
|
_defineProperty(this, "filterConfig", function (item) {
|
|
86
84
|
return {
|
|
85
|
+
type: item.type,
|
|
87
86
|
id: "".concat(item.id, "_enterprisePaymentBuyerNick"),
|
|
88
87
|
name: "".concat(item.name, "-\u4E70\u5BB6\u6635\u79F0"),
|
|
89
88
|
filterComponentType: 'Input',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ComponentInterface, PickOption, ColumnConfig, ALignType, Record } from '../../type';
|
|
2
|
+
import React from 'react';
|
|
3
3
|
declare class PaymentAmount implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
5
5
|
id: string;
|
|
@@ -11,14 +11,14 @@ declare class PaymentAmount implements ComponentInterface {
|
|
|
11
11
|
isCombinationComponent: boolean;
|
|
12
12
|
children: ComponentInterface[];
|
|
13
13
|
constructor(options: PickOption);
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
renderLog: (r: Record) => JSX.Element | null;
|
|
14
|
+
renderClient: (record: Record) => React.JSX.Element | null;
|
|
15
|
+
renderPc: (value: unknown, record: Record) => React.JSX.Element;
|
|
16
|
+
renderLog: (r: Record) => React.JSX.Element | null;
|
|
18
17
|
getComponentValue: (r: Record) => any;
|
|
19
18
|
renderExport: (value: string) => string;
|
|
20
|
-
editRender: () => JSX.Element;
|
|
19
|
+
editRender: () => React.JSX.Element;
|
|
21
20
|
filterConfig: (item: ColumnConfig) => {
|
|
21
|
+
type: string;
|
|
22
22
|
id: string;
|
|
23
23
|
name: string;
|
|
24
24
|
filterComponentType: "Input";
|
|
@@ -22,9 +22,6 @@ var PaymentAmount = /*#__PURE__*/_createClass(function PaymentAmount(options) {
|
|
|
22
22
|
_defineProperty(this, "width", void 0);
|
|
23
23
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
24
24
|
_defineProperty(this, "children", void 0);
|
|
25
|
-
_defineProperty(this, "render", function (value) {
|
|
26
|
-
return /*#__PURE__*/React.createElement("span", null, value);
|
|
27
|
-
});
|
|
28
25
|
_defineProperty(this, "renderClient", function (record) {
|
|
29
26
|
return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
|
|
30
27
|
id: _this.id,
|
|
@@ -58,6 +55,7 @@ var PaymentAmount = /*#__PURE__*/_createClass(function PaymentAmount(options) {
|
|
|
58
55
|
});
|
|
59
56
|
_defineProperty(this, "filterConfig", function (item) {
|
|
60
57
|
return {
|
|
58
|
+
type: item.type,
|
|
61
59
|
id: "".concat(item.id, "_enterprisePaymentRefundFee"),
|
|
62
60
|
name: "".concat(item.name, "-\u6253\u6B3E\u91D1\u989D"),
|
|
63
61
|
filterComponentType: 'Input',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ComponentInterface, PickOption, ColumnConfig, ALignType, Record } from '../../type';
|
|
2
|
+
import React from 'react';
|
|
3
3
|
declare class PaymentStatus implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
5
5
|
id: string;
|
|
@@ -18,14 +18,14 @@ declare class PaymentStatus implements ComponentInterface {
|
|
|
18
18
|
isCombinationComponent: boolean;
|
|
19
19
|
children: ComponentInterface[];
|
|
20
20
|
constructor(options: PickOption);
|
|
21
|
-
|
|
22
|
-
renderClient: (record: any) => JSX.Element | null;
|
|
21
|
+
renderClient: (record: any) => React.JSX.Element | null;
|
|
23
22
|
renderPc: (value: unknown, record: any) => any;
|
|
24
23
|
renderLog: (r: Record) => any;
|
|
25
24
|
getComponentValue: (r: Record) => any;
|
|
26
25
|
renderExport: (value: any) => any;
|
|
27
|
-
editRender: (
|
|
26
|
+
editRender: () => null;
|
|
28
27
|
filterConfig: (item: ColumnConfig) => {
|
|
28
|
+
type: string;
|
|
29
29
|
id: string;
|
|
30
30
|
name: string;
|
|
31
31
|
filterComponentType: "MultipleSelect";
|
|
@@ -22,9 +22,6 @@ var PaymentStatus = /*#__PURE__*/_createClass(function PaymentStatus(options) {
|
|
|
22
22
|
_defineProperty(this, "paymentStatusOptions", void 0);
|
|
23
23
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
24
24
|
_defineProperty(this, "children", void 0);
|
|
25
|
-
_defineProperty(this, "render", function (value) {
|
|
26
|
-
return /*#__PURE__*/React.createElement("span", null, value);
|
|
27
|
-
});
|
|
28
25
|
_defineProperty(this, "renderClient", function (record) {
|
|
29
26
|
return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
|
|
30
27
|
id: _this.id,
|
|
@@ -46,11 +43,12 @@ var PaymentStatus = /*#__PURE__*/_createClass(function PaymentStatus(options) {
|
|
|
46
43
|
_defineProperty(this, "renderExport", function (value) {
|
|
47
44
|
return value !== null && value !== void 0 ? value : '--';
|
|
48
45
|
});
|
|
49
|
-
_defineProperty(this, "editRender", function (
|
|
46
|
+
_defineProperty(this, "editRender", function () {
|
|
50
47
|
return null;
|
|
51
48
|
});
|
|
52
49
|
_defineProperty(this, "filterConfig", function (item) {
|
|
53
50
|
return {
|
|
51
|
+
type: item.type,
|
|
54
52
|
id: "".concat(item.id, "_enterprisePaymentStatus"),
|
|
55
53
|
name: "".concat(item.name, "-\u6253\u6B3E\u72B6\u6001"),
|
|
56
54
|
filterComponentType: 'MultipleSelect',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ComponentInterface, PickOption, ColumnConfig, ALignType, Record } from '../../type';
|
|
2
|
+
import React from 'react';
|
|
3
3
|
declare class PaymentTid implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
5
5
|
id: string;
|
|
@@ -11,14 +11,14 @@ declare class PaymentTid implements ComponentInterface {
|
|
|
11
11
|
isCombinationComponent: boolean;
|
|
12
12
|
children: ComponentInterface[];
|
|
13
13
|
constructor(options: PickOption);
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
renderLog: (r: Record) => JSX.Element | null;
|
|
14
|
+
renderClient: (record: any) => React.JSX.Element | null;
|
|
15
|
+
renderPc: (value: unknown, record: any) => React.JSX.Element;
|
|
16
|
+
renderLog: (r: Record) => React.JSX.Element | null;
|
|
18
17
|
getComponentValue: (r: Record) => any;
|
|
19
18
|
renderExport: (value: string) => string;
|
|
20
|
-
editRender: () => JSX.Element;
|
|
19
|
+
editRender: () => React.JSX.Element;
|
|
21
20
|
filterConfig: (item: ColumnConfig) => {
|
|
21
|
+
type: string;
|
|
22
22
|
id: string;
|
|
23
23
|
name: string;
|
|
24
24
|
filterComponentType: "Input";
|
|
@@ -22,9 +22,6 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
|
|
|
22
22
|
_defineProperty(this, "width", void 0);
|
|
23
23
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
24
24
|
_defineProperty(this, "children", void 0);
|
|
25
|
-
_defineProperty(this, "render", function (value) {
|
|
26
|
-
return /*#__PURE__*/React.createElement("span", null, value);
|
|
27
|
-
});
|
|
28
25
|
_defineProperty(this, "renderClient", function (record) {
|
|
29
26
|
return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
|
|
30
27
|
id: _this.id,
|
|
@@ -58,6 +55,7 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
|
|
|
58
55
|
});
|
|
59
56
|
_defineProperty(this, "filterConfig", function (item) {
|
|
60
57
|
return {
|
|
58
|
+
type: item.type,
|
|
61
59
|
id: "".concat(item.id, "_enterprisePaymentTid"),
|
|
62
60
|
name: "".concat(item.name, "-\u8BA2\u5355\u7F16\u53F7"),
|
|
63
61
|
filterComponentType: 'Input',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ComponentInterface, PickOption, ColumnConfig, Record } from '../../type';
|
|
2
|
+
import React from 'react';
|
|
3
3
|
import AlipayNick from './AlipayNick';
|
|
4
4
|
import AlipayNo from './AlipayNo';
|
|
5
5
|
import AlipayTime from './AlipayTime';
|
|
@@ -23,10 +23,9 @@ declare class Logistics implements ComponentInterface {
|
|
|
23
23
|
isCombinationComponent: boolean;
|
|
24
24
|
children: ComponentInterface[];
|
|
25
25
|
constructor(options: PickOption);
|
|
26
|
-
|
|
27
|
-
renderClient: (record: any) => JSX.Element;
|
|
26
|
+
renderClient: (record: any) => React.JSX.Element;
|
|
28
27
|
renderPc: () => null;
|
|
29
|
-
renderLog: (record: Record) => JSX.Element;
|
|
28
|
+
renderLog: (record: Record) => React.JSX.Element;
|
|
30
29
|
getComponentValue: (r: Record) => {
|
|
31
30
|
enterprisePaymentAlipayNick: any;
|
|
32
31
|
enterprisePaymentAlipayNo: any;
|
|
@@ -37,13 +36,15 @@ declare class Logistics implements ComponentInterface {
|
|
|
37
36
|
enterprisePaymentTime: any;
|
|
38
37
|
};
|
|
39
38
|
renderExport: () => null;
|
|
40
|
-
editRender: (value: any) => JSX.Element;
|
|
39
|
+
editRender: (value: any) => React.JSX.Element;
|
|
41
40
|
filterConfig: (item: ColumnConfig) => ({
|
|
41
|
+
type: string;
|
|
42
42
|
id: string;
|
|
43
43
|
name: string;
|
|
44
44
|
filterComponentType: "Input";
|
|
45
45
|
filterFn: (value: string) => (i: Record) => boolean;
|
|
46
46
|
} | {
|
|
47
|
+
type: string;
|
|
47
48
|
id: string;
|
|
48
49
|
name: string;
|
|
49
50
|
filterComponentType: "MultipleSelect";
|
|
@@ -53,6 +54,7 @@ declare class Logistics implements ComponentInterface {
|
|
|
53
54
|
}[];
|
|
54
55
|
filterFn: (value: string) => (i: Record) => boolean;
|
|
55
56
|
} | {
|
|
57
|
+
type: string;
|
|
56
58
|
id: string;
|
|
57
59
|
name: string;
|
|
58
60
|
filterComponentType: "Input";
|
|
@@ -35,9 +35,6 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
|
|
|
35
35
|
_defineProperty(this, "payTime", void 0);
|
|
36
36
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
37
37
|
_defineProperty(this, "children", void 0);
|
|
38
|
-
_defineProperty(this, "render", function () {
|
|
39
|
-
return null;
|
|
40
|
-
});
|
|
41
38
|
_defineProperty(this, "renderClient", function (record) {
|
|
42
39
|
return /*#__PURE__*/React.createElement(React.Fragment, null, _this.alipayNick.renderClient(record), _this.paymentAmount.renderClient(record), _this.alipayNo.renderClient(record), _this.buyerNick.renderClient(record), _this.paymentTid.renderClient(record), _this.paymentStatus.renderClient(record), _this.payTime.renderClient(record));
|
|
43
40
|
});
|
|
@@ -45,7 +42,7 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
|
|
|
45
42
|
return null;
|
|
46
43
|
});
|
|
47
44
|
_defineProperty(this, "renderLog", function (record) {
|
|
48
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, _this.alipayNick.renderLog(record), _this.paymentAmount.renderLog(record), _this.alipayNo.renderLog(record), _this.buyerNick.renderLog(record), _this.paymentTid.renderLog(record), _this.paymentStatus.renderLog(record), _this.payTime.renderLog(record));
|
|
45
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", null, _this.alipayNick.name, ": ", _this.alipayNick.renderLog(record)), /*#__PURE__*/React.createElement("div", null, _this.paymentAmount.name, ": ", _this.paymentAmount.renderLog(record)), /*#__PURE__*/React.createElement("div", null, _this.alipayNo.name, ": ", _this.alipayNo.renderLog(record)), /*#__PURE__*/React.createElement("div", null, _this.buyerNick.name, ": ", _this.buyerNick.renderLog(record)), /*#__PURE__*/React.createElement("div", null, _this.paymentTid.name, ": ", _this.paymentTid.renderLog(record)), /*#__PURE__*/React.createElement("div", null, _this.paymentStatus.name, ": ", _this.paymentStatus.renderLog(record)), /*#__PURE__*/React.createElement("div", null, _this.payTime.name, ": ", _this.payTime.renderLog(record)));
|
|
49
46
|
});
|
|
50
47
|
_defineProperty(this, "getComponentValue", function (r) {
|
|
51
48
|
return {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ComponentInterface, PickOption, Record } from '../../type';
|
|
2
|
+
import React from 'react';
|
|
3
3
|
declare type Value = string[] | undefined;
|
|
4
4
|
declare class BasicPicture implements ComponentInterface {
|
|
5
5
|
name: string;
|
|
@@ -11,12 +11,12 @@ declare class BasicPicture implements ComponentInterface {
|
|
|
11
11
|
children: ComponentInterface[];
|
|
12
12
|
constructor(options: PickOption);
|
|
13
13
|
formatPictures: (pictures: string) => string[];
|
|
14
|
-
render: (value: Value) => JSX.Element | null;
|
|
15
|
-
renderPc: (value: any, record: Record) => JSX.Element | JSX.Element[];
|
|
16
|
-
renderLog: (r: Record) => JSX.Element | JSX.Element[] | null;
|
|
14
|
+
render: (value: Value) => React.JSX.Element | null;
|
|
15
|
+
renderPc: (value: any, record: Record) => React.JSX.Element | React.JSX.Element[];
|
|
16
|
+
renderLog: (r: Record) => React.JSX.Element | React.JSX.Element[] | null;
|
|
17
17
|
getComponentValue: (r: Record) => any;
|
|
18
|
-
renderClient: (record: any) => JSX.Element | null;
|
|
19
|
-
editRender: (
|
|
18
|
+
renderClient: (record: any) => React.JSX.Element | null;
|
|
19
|
+
editRender: () => React.JSX.Element;
|
|
20
20
|
/**
|
|
21
21
|
*
|
|
22
22
|
* @returns 图片类型的导出需要在导出时单独处理
|
|
@@ -83,7 +83,7 @@ var BasicPicture = /*#__PURE__*/_createClass(function BasicPicture(options) {
|
|
|
83
83
|
value: _this.render(record === null || record === void 0 ? void 0 : record[_this.id])
|
|
84
84
|
}) : null;
|
|
85
85
|
});
|
|
86
|
-
_defineProperty(this, "editRender", function (
|
|
86
|
+
_defineProperty(this, "editRender", function () {
|
|
87
87
|
var _this$componentConfig, _this$componentConfig2, _this$componentConfig3;
|
|
88
88
|
return /*#__PURE__*/React.createElement(GetFormItem, {
|
|
89
89
|
title: _this.name,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { ComponentInterface, ColumnConfig, Record } from '../../type';
|
|
3
3
|
import { PlatData } from '@kmkf-fe-packages/kmkf-utils';
|
|
4
4
|
declare class PlatForm implements ComponentInterface {
|
|
@@ -10,14 +10,14 @@ declare class PlatForm implements ComponentInterface {
|
|
|
10
10
|
children: ComponentInterface[];
|
|
11
11
|
platInstance: PlatData;
|
|
12
12
|
constructor();
|
|
13
|
-
renderPc: (value: any, record: Record) => JSX.Element;
|
|
13
|
+
renderPc: (value: any, record: Record) => React.JSX.Element;
|
|
14
14
|
renderExport: (value: any, record: Record) => string;
|
|
15
|
-
renderLog: (r: Record) => JSX.Element | null;
|
|
15
|
+
renderLog: (r: Record) => React.JSX.Element | null;
|
|
16
16
|
getComponentValue: (r: Record) => any;
|
|
17
|
-
render: () => null;
|
|
18
17
|
renderClient: () => null;
|
|
19
18
|
editRender: () => null;
|
|
20
19
|
filterConfig: (item: ColumnConfig) => {
|
|
20
|
+
type: string;
|
|
21
21
|
id: string;
|
|
22
22
|
name: string;
|
|
23
23
|
filterComponentType: "MultipleSelect";
|