@kmkf-fe-packages/services-components 0.7.1-alpha.1 → 0.7.1
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/ItemView/index.d.ts +2 -2
- package/dist/esm/commonComponents/OperationLog/index.d.ts +2 -1
- package/dist/esm/commonComponents/PlatBuyer/index.d.ts +2 -2
- package/dist/esm/commonComponents/PlatformAvatar/index.d.ts +2 -2
- 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 +5 -5
- package/dist/esm/components/Address/index.d.ts +5 -5
- package/dist/esm/components/Alipay/index.d.ts +4 -4
- package/dist/esm/components/AlipayAccount/index.d.ts +5 -5
- package/dist/esm/components/AlipayName/index.d.ts +5 -5
- package/dist/esm/components/BuyerNick/index.d.ts +5 -5
- package/dist/esm/components/Cascader/index.d.ts +5 -5
- package/dist/esm/components/Checkbox/index.d.ts +4 -4
- package/dist/esm/components/Common/index.d.ts +5 -5
- package/dist/esm/components/CommonDataTime/index.d.ts +4 -4
- package/dist/esm/components/CompletedUser/index.d.ts +2 -2
- package/dist/esm/components/DataTime/ApaasDate.d.ts +2 -2
- package/dist/esm/components/DataTime/index.d.ts +6 -6
- package/dist/esm/components/EItemEnCode/ItemEncode.d.ts +2 -2
- package/dist/esm/components/EItemEnCode/index.d.ts +5 -5
- package/dist/esm/components/EItemId/ItemId.d.ts +2 -2
- package/dist/esm/components/EItemId/index.d.ts +5 -5
- package/dist/esm/components/EItemSelect/ItemSelect.d.ts +2 -2
- package/dist/esm/components/EItemSelect/index.d.ts +5 -5
- package/dist/esm/components/ErpTradeId/index.d.ts +5 -5
- package/dist/esm/components/Express/index.d.ts +5 -5
- package/dist/esm/components/ExpressCompany/index.d.ts +2 -2
- package/dist/esm/components/FlowStatusSelect/index.d.ts +5 -5
- package/dist/esm/components/Grade/index.d.ts +5 -5
- package/dist/esm/components/Handler/index.d.ts +2 -2
- package/dist/esm/components/Input/index.d.ts +5 -5
- package/dist/esm/components/JstItemSelect/index.d.ts +5 -5
- package/dist/esm/components/JstLogistics/index.d.ts +5 -5
- package/dist/esm/components/JstSendGood/index.d.ts +5 -5
- package/dist/esm/components/JstSupply/index.d.ts +5 -5
- package/dist/esm/components/Logistics/index.d.ts +4 -4
- package/dist/esm/components/LogisticsInterception/index.d.ts +1 -2
- package/dist/esm/components/LogisticsInterception/index.js +2 -5
- package/dist/esm/components/MultSelect/index.d.ts +5 -5
- package/dist/esm/components/Ordinary/OrdinaryHeader.d.ts +3 -3
- package/dist/esm/components/Ordinary/OrdinaryMoney.d.ts +3 -3
- package/dist/esm/components/Ordinary/OrdinarySerial.d.ts +3 -3
- package/dist/esm/components/Ordinary/index.d.ts +4 -4
- package/dist/esm/components/OrdinaryHeader/index.d.ts +2 -2
- package/dist/esm/components/Payment/AlipayNick.d.ts +5 -5
- package/dist/esm/components/Payment/AlipayNo.d.ts +5 -5
- package/dist/esm/components/Payment/AlipayTime.d.ts +6 -6
- package/dist/esm/components/Payment/AlipayTime.js +1 -1
- package/dist/esm/components/Payment/BuyerNick.d.ts +5 -5
- package/dist/esm/components/Payment/PaymentAmount.d.ts +5 -5
- package/dist/esm/components/Payment/PaymentStatus.d.ts +2 -2
- package/dist/esm/components/Payment/PaymentTid.d.ts +5 -5
- package/dist/esm/components/Payment/index.d.ts +5 -5
- package/dist/esm/components/Picture/index.d.ts +6 -6
- package/dist/esm/components/PlatForm/index.d.ts +3 -3
- package/dist/esm/components/Popover/index.d.ts +2 -2
- package/dist/esm/components/Radio/index.d.ts +6 -6
- package/dist/esm/components/Rate/index.d.ts +6 -6
- package/dist/esm/components/ReceiverAddress/index.d.ts +6 -6
- package/dist/esm/components/ReceiverMobile/index.d.ts +5 -5
- package/dist/esm/components/ReceiverName/index.d.ts +5 -5
- package/dist/esm/components/Remark/index.d.ts +6 -6
- package/dist/esm/components/Select/index.d.ts +5 -5
- package/dist/esm/components/ShopInput/index.d.ts +2 -2
- package/dist/esm/components/ShopName/index.d.ts +5 -5
- package/dist/esm/components/Submitter/index.d.ts +2 -2
- package/dist/esm/components/SystemOrderNo/index.d.ts +5 -5
- package/dist/esm/components/TemplateSelect/index.d.ts +3 -3
- package/dist/esm/components/TextArea/index.d.ts +5 -5
- package/dist/esm/components/ThirdItemSelect/ItemEncode.d.ts +2 -2
- package/dist/esm/components/ThirdItemSelect/index.d.ts +5 -5
- package/dist/esm/components/TradeDateTime/index.d.ts +6 -6
- package/dist/esm/components/TradeId/index.d.ts +5 -5
- package/dist/esm/components/WorkOrderId/index.d.ts +4 -4
- package/dist/esm/index.d.ts +52 -52
- package/package.json +4 -4
|
@@ -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
|
import { ExpressData } from '@kmkf-fe-packages/kmkf-utils';
|
|
4
4
|
declare class JstItemSelect implements ComponentInterface {
|
|
5
5
|
name: string;
|
|
@@ -12,12 +12,12 @@ declare class JstItemSelect implements ComponentInterface {
|
|
|
12
12
|
isCombinationComponent: boolean;
|
|
13
13
|
children: ComponentInterface[];
|
|
14
14
|
constructor(options: PickOption);
|
|
15
|
-
renderClient: (record: Record) => JSX.Element | null;
|
|
16
|
-
renderPc: (value: any, record: Record) => JSX.Element;
|
|
17
|
-
renderLog: (r: Record) => JSX.Element | null;
|
|
15
|
+
renderClient: (record: Record) => React.JSX.Element | null;
|
|
16
|
+
renderPc: (value: any, record: Record) => React.JSX.Element;
|
|
17
|
+
renderLog: (r: Record) => React.JSX.Element | null;
|
|
18
18
|
getComponentValue: (r: Record) => any;
|
|
19
19
|
renderExport: (value: any, record: any) => any;
|
|
20
|
-
editRender: () => JSX.Element;
|
|
20
|
+
editRender: () => React.JSX.Element;
|
|
21
21
|
filterConfig: (item: ColumnConfig) => {
|
|
22
22
|
type: string;
|
|
23
23
|
id: string;
|
|
@@ -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
|
import { ExpressData } from '@kmkf-fe-packages/kmkf-utils';
|
|
4
4
|
declare class JstLogistics implements ComponentInterface {
|
|
5
5
|
name: string;
|
|
@@ -12,12 +12,12 @@ declare class JstLogistics implements ComponentInterface {
|
|
|
12
12
|
isCombinationComponent: boolean;
|
|
13
13
|
children: ComponentInterface[];
|
|
14
14
|
constructor(options: PickOption);
|
|
15
|
-
renderClient: (record: any) => JSX.Element | null;
|
|
16
|
-
renderPc: (value: any, record: Record) => JSX.Element;
|
|
17
|
-
renderLog: (r: Record) => JSX.Element | null;
|
|
15
|
+
renderClient: (record: any) => React.JSX.Element | null;
|
|
16
|
+
renderPc: (value: any, record: Record) => React.JSX.Element;
|
|
17
|
+
renderLog: (r: Record) => React.JSX.Element | null;
|
|
18
18
|
getComponentValue: (r: Record) => any;
|
|
19
19
|
renderExport: (value: any, record: any) => any;
|
|
20
|
-
editRender: () => JSX.Element;
|
|
20
|
+
editRender: () => React.JSX.Element;
|
|
21
21
|
filterConfig: (item: ColumnConfig) => ({
|
|
22
22
|
type: string;
|
|
23
23
|
id: string;
|
|
@@ -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 JstSendGood implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
5
5
|
id: string;
|
|
@@ -10,12 +10,12 @@ declare class JstSendGood implements ComponentInterface {
|
|
|
10
10
|
isCombinationComponent: boolean;
|
|
11
11
|
children: ComponentInterface[];
|
|
12
12
|
constructor(options: PickOption);
|
|
13
|
-
renderClient: (record: Record) => JSX.Element | null;
|
|
14
|
-
renderPc: (value: any, record: Record) => JSX.Element;
|
|
15
|
-
renderLog: (r: Record) => JSX.Element | null;
|
|
13
|
+
renderClient: (record: Record) => React.JSX.Element | null;
|
|
14
|
+
renderPc: (value: any, record: Record) => React.JSX.Element;
|
|
15
|
+
renderLog: (r: Record) => React.JSX.Element | null;
|
|
16
16
|
getComponentValue: (r: Record) => any;
|
|
17
17
|
renderExport: (value: any, record: any) => any;
|
|
18
|
-
editRender: () => JSX.Element;
|
|
18
|
+
editRender: () => React.JSX.Element;
|
|
19
19
|
filterConfig: (item: ColumnConfig) => {
|
|
20
20
|
type: string;
|
|
21
21
|
id: string;
|
|
@@ -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 JstSupply implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
5
5
|
id: string;
|
|
@@ -10,12 +10,12 @@ declare class JstSupply implements ComponentInterface {
|
|
|
10
10
|
isCombinationComponent: boolean;
|
|
11
11
|
children: ComponentInterface[];
|
|
12
12
|
constructor(options: PickOption);
|
|
13
|
-
renderClient: (record: Record) => JSX.Element | null;
|
|
14
|
-
renderPc: (value: any, record: Record) => JSX.Element;
|
|
15
|
-
renderLog: (r: Record) => JSX.Element | null;
|
|
13
|
+
renderClient: (record: Record) => React.JSX.Element | null;
|
|
14
|
+
renderPc: (value: any, record: Record) => React.JSX.Element;
|
|
15
|
+
renderLog: (r: Record) => React.JSX.Element | null;
|
|
16
16
|
getComponentValue: (r: Record) => any;
|
|
17
17
|
renderExport: (value: any, record: any) => any;
|
|
18
|
-
editRender: () => JSX.Element;
|
|
18
|
+
editRender: () => React.JSX.Element;
|
|
19
19
|
filterConfig: (item: ColumnConfig) => {
|
|
20
20
|
type: string;
|
|
21
21
|
id: string;
|
|
@@ -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 { ExpressData } from '@kmkf-fe-packages/kmkf-utils';
|
|
4
4
|
import Express from '../Express';
|
|
5
5
|
import ExpressCode from '../ExpressCode';
|
|
@@ -15,10 +15,10 @@ declare class Logistics implements ComponentInterface {
|
|
|
15
15
|
isCombinationComponent: boolean;
|
|
16
16
|
children: ComponentInterface[];
|
|
17
17
|
constructor(options: PickOption);
|
|
18
|
-
editRender: (value: any) => JSX.Element;
|
|
19
|
-
renderClient: (record: Record) => JSX.Element;
|
|
18
|
+
editRender: (value: any) => React.JSX.Element;
|
|
19
|
+
renderClient: (record: Record) => React.JSX.Element;
|
|
20
20
|
renderPc: () => null;
|
|
21
|
-
renderLog: (r: Record) => JSX.Element;
|
|
21
|
+
renderLog: (r: Record) => React.JSX.Element;
|
|
22
22
|
getComponentValue: (r: Record) => {
|
|
23
23
|
company: any;
|
|
24
24
|
order: any;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComponentInterface, PickOption, ColumnConfig, Record } from "../../type";
|
|
2
2
|
import React from "react";
|
|
3
|
-
import { ExpressData, ExpressInterceptData
|
|
3
|
+
import { ExpressData, ExpressInterceptData } from "@kmkf-fe-packages/kmkf-utils";
|
|
4
4
|
import InterceptSenderMobile from "./interceptSenderMobile";
|
|
5
5
|
import InterceptAddress from "./InterceptAddress";
|
|
6
6
|
import InterceptType from "./InterceptType";
|
|
@@ -24,7 +24,6 @@ declare class Logistics implements ComponentInterface {
|
|
|
24
24
|
expressCode: ExpressCode;
|
|
25
25
|
expressDateInstance: InstanceType<typeof ExpressData>;
|
|
26
26
|
expressInterceptData: InstanceType<typeof ExpressInterceptData>;
|
|
27
|
-
logisticsAddressData: InstanceType<typeof LogisticsAddressData>;
|
|
28
27
|
effects: ComponentInterface["effects"];
|
|
29
28
|
constructor(options: PickOption);
|
|
30
29
|
renderClient: (record: any) => React.JSX.Element;
|
|
@@ -10,7 +10,7 @@ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _ty
|
|
|
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
11
|
import React from "react";
|
|
12
12
|
import { LogisticsInterception } from "@kmkf-fe-packages/basic-components";
|
|
13
|
-
import { ExpressData, ExpressInterceptData,
|
|
13
|
+
import { ExpressData, ExpressInterceptData, isNull } from "@kmkf-fe-packages/kmkf-utils";
|
|
14
14
|
import GetFormItem from "../GetFormItem";
|
|
15
15
|
import InterceptSenderMobile from "./interceptSenderMobile";
|
|
16
16
|
import InterceptAddress from "./InterceptAddress";
|
|
@@ -38,13 +38,12 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
|
|
|
38
38
|
_defineProperty(this, "expressCode", void 0);
|
|
39
39
|
_defineProperty(this, "expressDateInstance", void 0);
|
|
40
40
|
_defineProperty(this, "expressInterceptData", void 0);
|
|
41
|
-
_defineProperty(this, "logisticsAddressData", void 0);
|
|
42
41
|
_defineProperty(this, "effects", void 0);
|
|
43
42
|
_defineProperty(this, "renderClient", function (record) {
|
|
44
43
|
return /*#__PURE__*/React.createElement(React.Fragment, null, _this.express.renderClient(record), _this.expressCode.renderClient(record), _this.interceptSenderMobile.renderClient(record), _this.interceptType.renderClient(record), _this.interceptAddress.renderClient(record), _this.interceptLogisticsStatus.renderClient(record));
|
|
45
44
|
});
|
|
46
45
|
_defineProperty(this, "renderLog", function (record) {
|
|
47
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", null, !isNull(_this.express.getComponentValue(record)) && /*#__PURE__*/React.createElement(React.Fragment, null, _this.express.name, ": ", _this.express.renderLog(record))), /*#__PURE__*/React.createElement("div", null, !isNull(_this.expressCode.getComponentValue(record)) && /*#__PURE__*/React.createElement(React.Fragment, null, _this.expressCode.name, ": ", _this.expressCode.renderLog(record))), /*#__PURE__*/React.createElement("div", null, !isNull(_this.interceptSenderMobile.getComponentValue(record)) && /*#__PURE__*/React.createElement(React.Fragment, null, _this.interceptSenderMobile.name, ":
|
|
46
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", null, !isNull(_this.express.getComponentValue(record)) && /*#__PURE__*/React.createElement(React.Fragment, null, _this.express.name, ": ", _this.express.renderLog(record))), /*#__PURE__*/React.createElement("div", null, !isNull(_this.expressCode.getComponentValue(record)) && /*#__PURE__*/React.createElement(React.Fragment, null, _this.expressCode.name, ": ", _this.expressCode.renderLog(record))), /*#__PURE__*/React.createElement("div", null, !isNull(_this.interceptSenderMobile.getComponentValue(record)) && /*#__PURE__*/React.createElement(React.Fragment, null, _this.interceptSenderMobile.name, ": ", _this.interceptSenderMobile.renderLog(record))), /*#__PURE__*/React.createElement("div", null, !isNull(_this.interceptType.getComponentValue(record)) && /*#__PURE__*/React.createElement(React.Fragment, null, _this.interceptType.name, ": ", _this.interceptType.renderLog(record))), /*#__PURE__*/React.createElement("div", null, !isNull(_this.interceptAddress.getComponentValue(record)) && /*#__PURE__*/React.createElement(React.Fragment, null, _this.interceptAddress.name, ": ", _this.interceptAddress.renderLog(record))), /*#__PURE__*/React.createElement("div", null, !isNull(_this.interceptLogisticsStatus.getComponentValue(record)) && /*#__PURE__*/React.createElement(React.Fragment, null, _this.interceptLogisticsStatus.name, ": ", _this.interceptLogisticsStatus.renderLog(record))));
|
|
48
47
|
});
|
|
49
48
|
_defineProperty(this, "getComponentValue", function (r) {
|
|
50
49
|
return {
|
|
@@ -72,7 +71,6 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
|
|
|
72
71
|
component: /*#__PURE__*/React.createElement(LogisticsInterception, _extends({}, _this.componentConfig, {
|
|
73
72
|
logisticsOptions: _this.expressDateInstance.getExpressData(),
|
|
74
73
|
expressInterceptData: _this.expressInterceptData.getExpressData(),
|
|
75
|
-
logisticsAddressData: _this.logisticsAddressData.getAddressData(),
|
|
76
74
|
isEditing: (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.isEditing
|
|
77
75
|
}))
|
|
78
76
|
});
|
|
@@ -94,7 +92,6 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
|
|
|
94
92
|
this.effects = options === null || options === void 0 ? void 0 : options.effects;
|
|
95
93
|
this.expressDateInstance = ExpressData.getInstance();
|
|
96
94
|
this.expressInterceptData = ExpressInterceptData.getInstance();
|
|
97
|
-
this.logisticsAddressData = LogisticsAddressData.getInstance();
|
|
98
95
|
this.interceptAddress = new InterceptAddress(options);
|
|
99
96
|
this.interceptType = new InterceptType(options);
|
|
100
97
|
this.interceptLogisticsStatus = new InterceptStatus(options);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ComponentInterface, PickOption, ColumnConfig, Record } from '../../type';
|
|
2
|
+
import React from 'react';
|
|
3
3
|
declare class BasicMultSelect implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
5
5
|
id: string;
|
|
@@ -9,12 +9,12 @@ declare class BasicMultSelect implements ComponentInterface {
|
|
|
9
9
|
isCombinationComponent: boolean;
|
|
10
10
|
children: ComponentInterface[];
|
|
11
11
|
constructor(options: PickOption);
|
|
12
|
-
renderClient: (record: any) => JSX.Element | null;
|
|
13
|
-
renderPc: (value: any, record: Record) => JSX.Element;
|
|
14
|
-
renderLog: (r: Record) => JSX.Element | null;
|
|
12
|
+
renderClient: (record: any) => React.JSX.Element | null;
|
|
13
|
+
renderPc: (value: any, record: Record) => React.JSX.Element;
|
|
14
|
+
renderLog: (r: Record) => React.JSX.Element | null;
|
|
15
15
|
getComponentValue: (r: Record) => any;
|
|
16
16
|
renderExport: (value: any, record: Record) => any;
|
|
17
|
-
editRender: () => JSX.Element;
|
|
17
|
+
editRender: () => React.JSX.Element;
|
|
18
18
|
filterConfig: (item: ColumnConfig) => {
|
|
19
19
|
type: string;
|
|
20
20
|
id: string;
|
|
@@ -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 OrdinaryHeader implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
5
5
|
id: string;
|
|
@@ -12,12 +12,12 @@ declare class OrdinaryHeader implements ComponentInterface {
|
|
|
12
12
|
isCombinationComponent: boolean;
|
|
13
13
|
children: ComponentInterface[];
|
|
14
14
|
constructor(options: PickOption);
|
|
15
|
-
renderClient: (record: any) => JSX.Element | null;
|
|
15
|
+
renderClient: (record: any) => React.JSX.Element | null;
|
|
16
16
|
renderPc: (value: unknown, r: Record) => any;
|
|
17
17
|
renderLog: (r: Record) => any;
|
|
18
18
|
getComponentValue: (r: Record) => any;
|
|
19
19
|
renderExport: (value: any) => any;
|
|
20
|
-
editRender: () => JSX.Element;
|
|
20
|
+
editRender: () => React.JSX.Element;
|
|
21
21
|
filterConfig: (item: ColumnConfig) => {
|
|
22
22
|
type: string;
|
|
23
23
|
id: string;
|
|
@@ -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 OrdinaryMoney implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
5
5
|
id: string;
|
|
@@ -16,8 +16,8 @@ declare class OrdinaryMoney implements ComponentInterface {
|
|
|
16
16
|
renderLog: (r: Record) => any;
|
|
17
17
|
getComponentValue: (r: Record) => any;
|
|
18
18
|
renderExport: (value: any) => any;
|
|
19
|
-
renderClient: (record: any) => JSX.Element | null;
|
|
20
|
-
editRender: () => JSX.Element;
|
|
19
|
+
renderClient: (record: any) => React.JSX.Element | null;
|
|
20
|
+
editRender: () => React.JSX.Element;
|
|
21
21
|
filterConfig: (item: ColumnConfig) => {
|
|
22
22
|
type: string;
|
|
23
23
|
id: string;
|
|
@@ -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,12 +17,12 @@ declare class OrdinarySerial implements ComponentInterface {
|
|
|
17
17
|
isCombinationComponent: boolean;
|
|
18
18
|
children: ComponentInterface[];
|
|
19
19
|
constructor(options: PickOption);
|
|
20
|
-
renderClient: (record: any) => JSX.Element | null;
|
|
20
|
+
renderClient: (record: any) => React.JSX.Element | null;
|
|
21
21
|
renderPc: (value: unknown, r: Record) => any;
|
|
22
22
|
renderLog: (r: Record) => any;
|
|
23
23
|
getComponentValue: (r: Record) => any;
|
|
24
24
|
renderExport: (value: any) => any;
|
|
25
|
-
editRender: () => JSX.Element;
|
|
25
|
+
editRender: () => React.JSX.Element;
|
|
26
26
|
filterConfig: (item: ColumnConfig) => {
|
|
27
27
|
type: string;
|
|
28
28
|
id: string;
|
|
@@ -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,16 +20,16 @@ declare class Ordinary implements ComponentInterface {
|
|
|
20
20
|
isCombinationComponent: boolean;
|
|
21
21
|
children: ComponentInterface[];
|
|
22
22
|
constructor(options: PickOption);
|
|
23
|
-
editRender: () => JSX.Element;
|
|
23
|
+
editRender: () => React.JSX.Element;
|
|
24
24
|
renderPc: () => null;
|
|
25
|
-
renderLog: (r: Record) => JSX.Element;
|
|
25
|
+
renderLog: (r: Record) => React.JSX.Element;
|
|
26
26
|
getComponentValue: (r: Record) => {
|
|
27
27
|
ordinaryMoney: any;
|
|
28
28
|
ordinarySerial: any;
|
|
29
29
|
ordinaryTaitou: any;
|
|
30
30
|
};
|
|
31
31
|
renderExport: () => null;
|
|
32
|
-
renderClient: (record: any) => JSX.Element;
|
|
32
|
+
renderClient: (record: any) => React.JSX.Element;
|
|
33
33
|
filterConfig: (item: ColumnConfig) => {
|
|
34
34
|
type: string;
|
|
35
35
|
id: string;
|
|
@@ -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,12 +12,12 @@ declare class PaymentTid implements ComponentInterface {
|
|
|
12
12
|
isCombinationComponent: boolean;
|
|
13
13
|
children: ComponentInterface[];
|
|
14
14
|
constructor(options: PickOption);
|
|
15
|
-
renderClient: (record: any) => JSX.Element | null;
|
|
16
|
-
renderPc: (value: unknown, record: Record) => JSX.Element;
|
|
17
|
-
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;
|
|
18
18
|
getComponentValue: (r: Record) => any;
|
|
19
19
|
renderExport: (value: any, record: Record) => any;
|
|
20
|
-
editRender: () => JSX.Element;
|
|
20
|
+
editRender: () => React.JSX.Element;
|
|
21
21
|
filterConfig: (item: ColumnConfig) => {
|
|
22
22
|
type: string;
|
|
23
23
|
id: string;
|
|
@@ -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,12 +12,12 @@ declare class AlipayNo implements ComponentInterface {
|
|
|
12
12
|
isCombinationComponent: boolean;
|
|
13
13
|
children: ComponentInterface[];
|
|
14
14
|
constructor(options: PickOption);
|
|
15
|
-
renderClient: (record: any) => JSX.Element | null;
|
|
16
|
-
renderPc: (value: unknown, record: any) => JSX.Element;
|
|
17
|
-
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;
|
|
18
18
|
getComponentValue: (r: Record) => any;
|
|
19
19
|
renderExport: (value: any, record: Record) => any;
|
|
20
|
-
editRender: () => JSX.Element;
|
|
20
|
+
editRender: () => React.JSX.Element;
|
|
21
21
|
filterConfig: (item: ColumnConfig) => {
|
|
22
22
|
type: string;
|
|
23
23
|
id: string;
|
|
@@ -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,17 +11,17 @@ declare class AlipayTime implements ComponentInterface {
|
|
|
11
11
|
isCombinationComponent: boolean;
|
|
12
12
|
children: ComponentInterface[];
|
|
13
13
|
constructor(options: PickOption);
|
|
14
|
-
renderClient: (record: Record) => JSX.Element | null;
|
|
15
|
-
renderPc: (value: unknown, record: Record) => JSX.Element;
|
|
16
|
-
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;
|
|
17
17
|
getComponentValue: (r: Record) => any;
|
|
18
18
|
renderExport: (value: string) => string | null;
|
|
19
|
-
editRender: () => JSX.Element;
|
|
19
|
+
editRender: () => React.JSX.Element;
|
|
20
20
|
filterConfig: (item: ColumnConfig) => {
|
|
21
21
|
type: string;
|
|
22
22
|
id: string;
|
|
23
23
|
name: string;
|
|
24
|
-
filterComponentType: "
|
|
24
|
+
filterComponentType: "Date";
|
|
25
25
|
filterFn: (value: string[]) => (i: Record) => boolean;
|
|
26
26
|
};
|
|
27
27
|
}
|
|
@@ -63,7 +63,7 @@ var AlipayTime = /*#__PURE__*/_createClass(function AlipayTime(options) {
|
|
|
63
63
|
type: item.type,
|
|
64
64
|
id: "".concat(item.id, "_enterprisePaymentTime"),
|
|
65
65
|
name: "".concat(item.name, "-\u6253\u6B3E\u65F6\u95F4"),
|
|
66
|
-
filterComponentType: '
|
|
66
|
+
filterComponentType: 'Date',
|
|
67
67
|
filterFn: function filterFn(value) {
|
|
68
68
|
return function (i) {
|
|
69
69
|
var recordDateTime = _filterFn.filterTableListItemColumnValue(i, item.id, 'enterprisePaymentTime');
|
|
@@ -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,10 +12,10 @@ declare class BuyerNick implements ComponentInterface {
|
|
|
12
12
|
isCombinationComponent: boolean;
|
|
13
13
|
children: ComponentInterface[];
|
|
14
14
|
constructor(options: PickOption);
|
|
15
|
-
renderClient: (record: Record) => JSX.Element | null;
|
|
16
|
-
editRender: () => JSX.Element;
|
|
17
|
-
renderPc: (value: unknown, record: Record) => JSX.Element;
|
|
18
|
-
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;
|
|
19
19
|
getComponentValue: (r: Record) => any;
|
|
20
20
|
renderExport: (value: string) => string;
|
|
21
21
|
filterConfig: (item: ColumnConfig) => {
|
|
@@ -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,12 +11,12 @@ declare class PaymentAmount implements ComponentInterface {
|
|
|
11
11
|
isCombinationComponent: boolean;
|
|
12
12
|
children: ComponentInterface[];
|
|
13
13
|
constructor(options: PickOption);
|
|
14
|
-
renderClient: (record: Record) => JSX.Element | null;
|
|
15
|
-
renderPc: (value: unknown, record: Record) => JSX.Element;
|
|
16
|
-
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;
|
|
17
17
|
getComponentValue: (r: Record) => any;
|
|
18
18
|
renderExport: (value: string) => string;
|
|
19
|
-
editRender: () => JSX.Element;
|
|
19
|
+
editRender: () => React.JSX.Element;
|
|
20
20
|
filterConfig: (item: ColumnConfig) => {
|
|
21
21
|
type: string;
|
|
22
22
|
id: string;
|
|
@@ -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,7 +18,7 @@ declare class PaymentStatus implements ComponentInterface {
|
|
|
18
18
|
isCombinationComponent: boolean;
|
|
19
19
|
children: ComponentInterface[];
|
|
20
20
|
constructor(options: PickOption);
|
|
21
|
-
renderClient: (record: any) => JSX.Element | null;
|
|
21
|
+
renderClient: (record: any) => React.JSX.Element | null;
|
|
22
22
|
renderPc: (value: unknown, record: any) => any;
|
|
23
23
|
renderLog: (r: Record) => any;
|
|
24
24
|
getComponentValue: (r: Record) => any;
|
|
@@ -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,12 +11,12 @@ declare class PaymentTid implements ComponentInterface {
|
|
|
11
11
|
isCombinationComponent: boolean;
|
|
12
12
|
children: ComponentInterface[];
|
|
13
13
|
constructor(options: PickOption);
|
|
14
|
-
renderClient: (record: any) => JSX.Element | null;
|
|
15
|
-
renderPc: (value: unknown, record: any) => JSX.Element;
|
|
16
|
-
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;
|
|
17
17
|
getComponentValue: (r: Record) => any;
|
|
18
18
|
renderExport: (value: string) => string;
|
|
19
|
-
editRender: () => JSX.Element;
|
|
19
|
+
editRender: () => React.JSX.Element;
|
|
20
20
|
filterConfig: (item: ColumnConfig) => {
|
|
21
21
|
type: string;
|
|
22
22
|
id: string;
|
|
@@ -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,9 +23,9 @@ declare class Logistics implements ComponentInterface {
|
|
|
23
23
|
isCombinationComponent: boolean;
|
|
24
24
|
children: ComponentInterface[];
|
|
25
25
|
constructor(options: PickOption);
|
|
26
|
-
renderClient: (record: any) => JSX.Element;
|
|
26
|
+
renderClient: (record: any) => React.JSX.Element;
|
|
27
27
|
renderPc: () => null;
|
|
28
|
-
renderLog: (record: Record) => JSX.Element;
|
|
28
|
+
renderLog: (record: Record) => React.JSX.Element;
|
|
29
29
|
getComponentValue: (r: Record) => {
|
|
30
30
|
enterprisePaymentAlipayNick: any;
|
|
31
31
|
enterprisePaymentAlipayNo: any;
|
|
@@ -36,7 +36,7 @@ declare class Logistics implements ComponentInterface {
|
|
|
36
36
|
enterprisePaymentTime: any;
|
|
37
37
|
};
|
|
38
38
|
renderExport: () => null;
|
|
39
|
-
editRender: (value: any) => JSX.Element;
|
|
39
|
+
editRender: (value: any) => React.JSX.Element;
|
|
40
40
|
filterConfig: (item: ColumnConfig) => ({
|
|
41
41
|
type: string;
|
|
42
42
|
id: string;
|
|
@@ -57,7 +57,7 @@ declare class Logistics implements ComponentInterface {
|
|
|
57
57
|
type: string;
|
|
58
58
|
id: string;
|
|
59
59
|
name: string;
|
|
60
|
-
filterComponentType: "
|
|
60
|
+
filterComponentType: "Date";
|
|
61
61
|
filterFn: (value: string[]) => (i: Record) => boolean;
|
|
62
62
|
})[];
|
|
63
63
|
}
|
|
@@ -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: () => JSX.Element;
|
|
18
|
+
renderClient: (record: any) => React.JSX.Element | null;
|
|
19
|
+
editRender: () => React.JSX.Element;
|
|
20
20
|
/**
|
|
21
21
|
*
|
|
22
22
|
* @returns 图片类型的导出需要在导出时单独处理
|
|
@@ -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,9 +10,9 @@ 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
17
|
renderClient: () => null;
|
|
18
18
|
editRender: () => null;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const Popover: ({ Overlay, ShowComponent }: any) => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const Popover: ({ Overlay, ShowComponent }: any) => React.JSX.Element;
|
|
3
3
|
export default Popover;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ComponentInterface, PickOption, ColumnConfig, Record } from '../../type';
|
|
2
|
+
import React from 'react';
|
|
3
3
|
declare type Value = {
|
|
4
4
|
value?: string;
|
|
5
5
|
other?: string;
|
|
@@ -13,16 +13,16 @@ declare class BasicRadio implements ComponentInterface {
|
|
|
13
13
|
isCombinationComponent: boolean;
|
|
14
14
|
children: ComponentInterface[];
|
|
15
15
|
constructor(options: PickOption);
|
|
16
|
-
render: (value: Value) => JSX.Element;
|
|
17
|
-
renderPc: (value: any, record: Record) => JSX.Element;
|
|
18
|
-
renderLog: (r: Record) => JSX.Element | null;
|
|
16
|
+
render: (value: Value) => React.JSX.Element;
|
|
17
|
+
renderPc: (value: any, record: Record) => React.JSX.Element;
|
|
18
|
+
renderLog: (r: Record) => React.JSX.Element | null;
|
|
19
19
|
getComponentValue: (r: Record) => {
|
|
20
20
|
value: any;
|
|
21
21
|
other: any;
|
|
22
22
|
};
|
|
23
23
|
renderExport: (value: any, record: Record) => string;
|
|
24
|
-
renderClient: (record: Record) => JSX.Element | null;
|
|
25
|
-
editRender: () => JSX.Element;
|
|
24
|
+
renderClient: (record: Record) => React.JSX.Element | null;
|
|
25
|
+
editRender: () => React.JSX.Element;
|
|
26
26
|
filterConfig: (item: ColumnConfig) => {
|
|
27
27
|
type: string;
|
|
28
28
|
id: string;
|
|
@@ -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 = {
|
|
4
4
|
name: string;
|
|
5
5
|
value: number;
|
|
@@ -17,13 +17,13 @@ declare class BasicRate implements ComponentInterface {
|
|
|
17
17
|
isCombinationComponent: boolean;
|
|
18
18
|
children: ComponentInterface[];
|
|
19
19
|
constructor(options: PickOption);
|
|
20
|
-
render: (value: Value) => JSX.Element;
|
|
21
|
-
renderClient: (record: Record) => JSX.Element | null;
|
|
22
|
-
renderPc: (value: any, record: Record) => JSX.Element | null;
|
|
23
|
-
renderLog: (r: Record) => JSX.Element | null;
|
|
20
|
+
render: (value: Value) => React.JSX.Element;
|
|
21
|
+
renderClient: (record: Record) => React.JSX.Element | null;
|
|
22
|
+
renderPc: (value: any, record: Record) => React.JSX.Element | null;
|
|
23
|
+
renderLog: (r: Record) => React.JSX.Element | null;
|
|
24
24
|
getComponentValue: (r: Record) => any;
|
|
25
25
|
renderExport: (value: any, record: any) => any;
|
|
26
|
-
editRender: () => JSX.Element;
|
|
26
|
+
editRender: () => React.JSX.Element;
|
|
27
27
|
filterConfig: () => never[];
|
|
28
28
|
}
|
|
29
29
|
export default BasicRate;
|