@kmkf-fe-packages/services-components 0.6.3-alpha.49 → 0.6.3-alpha.50
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 +1 -2
- 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 +8 -0
- package/dist/esm/commonComponents/QueryLogisticsTrack/index.js +86 -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 +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/ExpressCode/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/GetFormItem/index.d.ts +2 -2
- 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/InterceptStatus.d.ts +3 -1
- package/dist/esm/components/LogisticsInterception/InterceptStatus.js +25 -9
- package/dist/esm/components/LogisticsInterception/InterceptType.d.ts +2 -2
- 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 +5 -5
- 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 +4 -4
- 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/package.json +4 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
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 Express implements ComponentInterface {
|
|
5
5
|
name: string;
|
|
@@ -13,12 +13,12 @@ declare class Express implements ComponentInterface {
|
|
|
13
13
|
isCombinationComponent: boolean;
|
|
14
14
|
children: ComponentInterface[];
|
|
15
15
|
constructor(options: PickOption);
|
|
16
|
-
renderClient: (record: any) =>
|
|
17
|
-
renderPc: (value: unknown, record: Record) =>
|
|
18
|
-
renderLog: (r: Record) =>
|
|
16
|
+
renderClient: (record: any) => JSX.Element | null;
|
|
17
|
+
renderPc: (value: unknown, record: Record) => JSX.Element;
|
|
18
|
+
renderLog: (r: Record) => JSX.Element | null;
|
|
19
19
|
getComponentValue: (r: Record) => any;
|
|
20
20
|
renderExport: (value: string, record: Record) => any;
|
|
21
|
-
editRender: () =>
|
|
21
|
+
editRender: () => JSX.Element;
|
|
22
22
|
filterConfig: (item: ColumnConfig) => {
|
|
23
23
|
type: string;
|
|
24
24
|
id: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { ComponentInterface, PickOption, ColumnConfig, ALignType, Record } from '../../type';
|
|
2
|
-
import React from 'react';
|
|
3
3
|
declare class ExpressCode implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
5
5
|
id: string;
|
|
@@ -11,12 +11,12 @@ declare class ExpressCode implements ComponentInterface {
|
|
|
11
11
|
isCombinationComponent: boolean;
|
|
12
12
|
children: ComponentInterface[];
|
|
13
13
|
constructor(options: PickOption);
|
|
14
|
-
renderClient: (record: any) =>
|
|
15
|
-
renderPc: (value: unknown, record: Record) =>
|
|
16
|
-
renderLog: (r: Record) =>
|
|
14
|
+
renderClient: (record: any) => JSX.Element | null;
|
|
15
|
+
renderPc: (value: unknown, record: Record) => JSX.Element;
|
|
16
|
+
renderLog: (r: Record) => JSX.Element | null;
|
|
17
17
|
getComponentValue: (r: Record) => any;
|
|
18
18
|
renderExport: (value: string, record: Record) => any;
|
|
19
|
-
editRender: () =>
|
|
19
|
+
editRender: () => JSX.Element;
|
|
20
20
|
filterConfig: (item: ColumnConfig) => {
|
|
21
21
|
type: string;
|
|
22
22
|
id: string;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const ExpressCompany: (props: any) =>
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const ExpressCompany: (props: any) => JSX.Element;
|
|
3
3
|
export default ExpressCompany;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { ComponentInterface, PickOption, ColumnConfig, Record } from '../../type';
|
|
2
|
-
import React from 'react';
|
|
3
3
|
declare class WorkOrderId implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
5
5
|
id: string;
|
|
@@ -11,13 +11,13 @@ declare class WorkOrderId implements ComponentInterface {
|
|
|
11
11
|
isCombinationComponent: boolean;
|
|
12
12
|
children: ComponentInterface[];
|
|
13
13
|
constructor(options: PickOption);
|
|
14
|
-
renderMenu: (record: Record) =>
|
|
15
|
-
renderPc: (value: any, record: Record) =>
|
|
16
|
-
renderLog: (r: Record) =>
|
|
14
|
+
renderMenu: (record: Record) => JSX.Element;
|
|
15
|
+
renderPc: (value: any, record: Record) => JSX.Element;
|
|
16
|
+
renderLog: (r: Record) => JSX.Element | null;
|
|
17
17
|
getComponentValue: (r: Record) => any;
|
|
18
18
|
renderExport: (value: any, record: Record) => any;
|
|
19
19
|
renderClient: () => null;
|
|
20
|
-
editRender: () =>
|
|
20
|
+
editRender: () => JSX.Element;
|
|
21
21
|
filterConfig: (item: ColumnConfig) => {
|
|
22
22
|
type: string;
|
|
23
23
|
id: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
declare type GetFormItemProps = {
|
|
3
3
|
rules: any[];
|
|
4
4
|
required: boolean;
|
|
@@ -6,5 +6,5 @@ declare type GetFormItemProps = {
|
|
|
6
6
|
name: string;
|
|
7
7
|
component: JSX.Element | null;
|
|
8
8
|
};
|
|
9
|
-
declare const GetFormItem: ({ rules, required, title, component, name }: GetFormItemProps) =>
|
|
9
|
+
declare const GetFormItem: ({ rules, required, title, component, name }: GetFormItemProps) => JSX.Element;
|
|
10
10
|
export default GetFormItem;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { ComponentInterface, PickOption, Record } from '../../type';
|
|
2
|
-
import React from 'react';
|
|
3
3
|
declare class BasicGrade implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
5
5
|
id: string;
|
|
@@ -9,12 +9,12 @@ declare class BasicGrade implements ComponentInterface {
|
|
|
9
9
|
isCombinationComponent: boolean;
|
|
10
10
|
children: ComponentInterface[];
|
|
11
11
|
constructor(options: PickOption);
|
|
12
|
-
renderClient: (record: any) =>
|
|
13
|
-
renderPc: (value: any, record: Record) =>
|
|
14
|
-
renderLog: (r: Record) =>
|
|
12
|
+
renderClient: (record: any) => JSX.Element | null;
|
|
13
|
+
renderPc: (value: any, record: Record) => JSX.Element;
|
|
14
|
+
renderLog: (r: Record) => JSX.Element | null;
|
|
15
15
|
getComponentValue: (r: Record) => any;
|
|
16
16
|
renderExport: (value: any, record: Record) => any;
|
|
17
|
-
editRender: () =>
|
|
17
|
+
editRender: () => JSX.Element;
|
|
18
18
|
filterConfig: () => never[];
|
|
19
19
|
}
|
|
20
20
|
export default BasicGrade;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { ComponentInterface, ColumnConfig, Record, PickOption } from '../../type';
|
|
3
3
|
declare class Handler implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
@@ -9,7 +9,7 @@ declare class Handler implements ComponentInterface {
|
|
|
9
9
|
isCombinationComponent: boolean;
|
|
10
10
|
children: ComponentInterface[];
|
|
11
11
|
constructor(options: PickOption);
|
|
12
|
-
renderPc: (v: unknown, record: Record) =>
|
|
12
|
+
renderPc: (v: unknown, record: Record) => JSX.Element;
|
|
13
13
|
renderLog: () => null;
|
|
14
14
|
getComponentValue: (r: Record) => any;
|
|
15
15
|
renderExport: (value: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { ComponentInterface, PickOption, ColumnConfig, Record } from '../../type';
|
|
2
|
-
import React from 'react';
|
|
3
3
|
declare class BasicInput implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
5
5
|
id: string;
|
|
@@ -9,12 +9,12 @@ declare class BasicInput implements ComponentInterface {
|
|
|
9
9
|
isCombinationComponent: boolean;
|
|
10
10
|
children: ComponentInterface[];
|
|
11
11
|
constructor(options: PickOption);
|
|
12
|
-
renderPc: (value: any, record: Record) =>
|
|
13
|
-
renderLog: (r: Record) =>
|
|
12
|
+
renderPc: (value: any, record: Record) => JSX.Element;
|
|
13
|
+
renderLog: (r: Record) => JSX.Element | null;
|
|
14
14
|
getComponentValue: (r: Record) => any;
|
|
15
15
|
renderExport: (value: any, record: Record) => any;
|
|
16
|
-
renderClient: (record: Record) =>
|
|
17
|
-
editRender: () =>
|
|
16
|
+
renderClient: (record: Record) => JSX.Element | null;
|
|
17
|
+
editRender: () => JSX.Element;
|
|
18
18
|
filterConfig: (item: ColumnConfig) => {
|
|
19
19
|
type: string;
|
|
20
20
|
id: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
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) =>
|
|
16
|
-
renderPc: (value: any, record: Record) =>
|
|
17
|
-
renderLog: (r: Record) =>
|
|
15
|
+
renderClient: (record: Record) => JSX.Element | null;
|
|
16
|
+
renderPc: (value: any, record: Record) => JSX.Element;
|
|
17
|
+
renderLog: (r: Record) => JSX.Element | null;
|
|
18
18
|
getComponentValue: (r: Record) => any;
|
|
19
19
|
renderExport: (value: any, record: any) => any;
|
|
20
|
-
editRender: () =>
|
|
20
|
+
editRender: () => JSX.Element;
|
|
21
21
|
filterConfig: (item: ColumnConfig) => {
|
|
22
22
|
type: string;
|
|
23
23
|
id: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
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) =>
|
|
16
|
-
renderPc: (value: any, record: Record) =>
|
|
17
|
-
renderLog: (r: Record) =>
|
|
15
|
+
renderClient: (record: any) => JSX.Element | null;
|
|
16
|
+
renderPc: (value: any, record: Record) => JSX.Element;
|
|
17
|
+
renderLog: (r: Record) => JSX.Element | null;
|
|
18
18
|
getComponentValue: (r: Record) => any;
|
|
19
19
|
renderExport: (value: any, record: any) => any;
|
|
20
|
-
editRender: () =>
|
|
20
|
+
editRender: () => JSX.Element;
|
|
21
21
|
filterConfig: (item: ColumnConfig) => ({
|
|
22
22
|
type: string;
|
|
23
23
|
id: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
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) =>
|
|
14
|
-
renderPc: (value: any, record: Record) =>
|
|
15
|
-
renderLog: (r: Record) =>
|
|
13
|
+
renderClient: (record: Record) => JSX.Element | null;
|
|
14
|
+
renderPc: (value: any, record: Record) => JSX.Element;
|
|
15
|
+
renderLog: (r: Record) => JSX.Element | null;
|
|
16
16
|
getComponentValue: (r: Record) => any;
|
|
17
17
|
renderExport: (value: any, record: any) => any;
|
|
18
|
-
editRender: () =>
|
|
18
|
+
editRender: () => JSX.Element;
|
|
19
19
|
filterConfig: (item: ColumnConfig) => {
|
|
20
20
|
type: string;
|
|
21
21
|
id: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
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) =>
|
|
14
|
-
renderPc: (value: any, record: Record) =>
|
|
15
|
-
renderLog: (r: Record) =>
|
|
13
|
+
renderClient: (record: Record) => JSX.Element | null;
|
|
14
|
+
renderPc: (value: any, record: Record) => JSX.Element;
|
|
15
|
+
renderLog: (r: Record) => JSX.Element | null;
|
|
16
16
|
getComponentValue: (r: Record) => any;
|
|
17
17
|
renderExport: (value: any, record: any) => any;
|
|
18
|
-
editRender: () =>
|
|
18
|
+
editRender: () => JSX.Element;
|
|
19
19
|
filterConfig: (item: ColumnConfig) => {
|
|
20
20
|
type: string;
|
|
21
21
|
id: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
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) =>
|
|
19
|
-
renderClient: (record: Record) =>
|
|
18
|
+
editRender: (value: any) => JSX.Element;
|
|
19
|
+
renderClient: (record: Record) => JSX.Element;
|
|
20
20
|
renderPc: () => null;
|
|
21
|
-
renderLog: (r: Record) =>
|
|
21
|
+
renderLog: (r: Record) => JSX.Element;
|
|
22
22
|
getComponentValue: (r: Record) => {
|
|
23
23
|
company: any;
|
|
24
24
|
order: any;
|
|
@@ -3,6 +3,7 @@ import React from "react";
|
|
|
3
3
|
import { ExpressInterceptData } from "@kmkf-fe-packages/kmkf-utils";
|
|
4
4
|
declare class InterceptStatus implements ComponentInterface {
|
|
5
5
|
name: string;
|
|
6
|
+
parentId: string;
|
|
6
7
|
id: string;
|
|
7
8
|
companyId: string;
|
|
8
9
|
type: string;
|
|
@@ -16,8 +17,9 @@ declare class InterceptStatus implements ComponentInterface {
|
|
|
16
17
|
expressInterceptInstance: ExpressInterceptData;
|
|
17
18
|
constructor(options: PickOption);
|
|
18
19
|
getComponentValue: (r: Record) => any;
|
|
20
|
+
renderStatus: (record: any) => React.JSX.Element;
|
|
19
21
|
renderClient: (record: any) => React.JSX.Element | null;
|
|
20
|
-
renderPc: (value: any, record: Record) =>
|
|
22
|
+
renderPc: (value: any, record: Record) => React.JSX.Element;
|
|
21
23
|
renderLog: (r: Record) => any;
|
|
22
24
|
renderExport: (value: any, record: Record) => any;
|
|
23
25
|
editRender: () => null;
|
|
@@ -9,10 +9,12 @@ import React from "react";
|
|
|
9
9
|
import ItemView from "../../commonComponents/ItemView";
|
|
10
10
|
import { isNull, filterFn as _filterFn } from "@kmkf-fe-packages/kmkf-utils";
|
|
11
11
|
import { ExpressInterceptData } from "@kmkf-fe-packages/kmkf-utils";
|
|
12
|
+
import QueryLogisticsTrack from "../../commonComponents/QueryLogisticsTrack";
|
|
12
13
|
var InterceptStatus = /*#__PURE__*/_createClass(function InterceptStatus(options) {
|
|
13
14
|
var _this = this;
|
|
14
15
|
_classCallCheck(this, InterceptStatus);
|
|
15
16
|
_defineProperty(this, "name", void 0);
|
|
17
|
+
_defineProperty(this, "parentId", void 0);
|
|
16
18
|
_defineProperty(this, "id", void 0);
|
|
17
19
|
_defineProperty(this, "companyId", void 0);
|
|
18
20
|
_defineProperty(this, "type", void 0);
|
|
@@ -27,26 +29,35 @@ var InterceptStatus = /*#__PURE__*/_createClass(function InterceptStatus(options
|
|
|
27
29
|
_defineProperty(this, "getComponentValue", function (r) {
|
|
28
30
|
return r === null || r === void 0 ? void 0 : r[_this.id];
|
|
29
31
|
});
|
|
30
|
-
_defineProperty(this, "
|
|
32
|
+
_defineProperty(this, "renderStatus", function (record) {
|
|
31
33
|
var _this$expressIntercep;
|
|
34
|
+
var interceptCode = "".concat(_this.parentId, "_interceptCode");
|
|
35
|
+
var interceptReceiverMobile = "".concat(_this.parentId, "_interceptReceiverMobile");
|
|
36
|
+
var value = (_this$expressIntercep = _this.expressInterceptInstance.getStatusNameMap()) === null || _this$expressIntercep === void 0 ? void 0 : _this$expressIntercep["".concat(record === null || record === void 0 ? void 0 : record[_this.id])];
|
|
37
|
+
return /*#__PURE__*/React.createElement("div", null, value !== null && value !== void 0 ? value : "--", value ? /*#__PURE__*/React.createElement(QueryLogisticsTrack, {
|
|
38
|
+
interceptCompany: record[_this.companyId],
|
|
39
|
+
interceptCode: record[interceptCode],
|
|
40
|
+
interceptReceiverMobile: record[interceptReceiverMobile]
|
|
41
|
+
}) : null);
|
|
42
|
+
});
|
|
43
|
+
_defineProperty(this, "renderClient", function (record) {
|
|
32
44
|
return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
|
|
33
45
|
id: _this.id,
|
|
34
46
|
label: _this.name,
|
|
35
|
-
value:
|
|
47
|
+
value: _this.renderStatus(record)
|
|
36
48
|
}) : null;
|
|
37
49
|
});
|
|
38
50
|
_defineProperty(this, "renderPc", function (value, record) {
|
|
39
|
-
|
|
40
|
-
return (_this$expressIntercep2 = (_this$expressIntercep3 = _this.expressInterceptInstance.getStatusNameMap()) === null || _this$expressIntercep3 === void 0 ? void 0 : _this$expressIntercep3["".concat(record === null || record === void 0 ? void 0 : record[_this.id])]) !== null && _this$expressIntercep2 !== void 0 ? _this$expressIntercep2 : "--";
|
|
51
|
+
return _this.renderStatus(record);
|
|
41
52
|
});
|
|
42
53
|
_defineProperty(this, "renderLog", function (r) {
|
|
43
|
-
var _this$
|
|
54
|
+
var _this$expressIntercep2;
|
|
44
55
|
if (isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id)])) return null;
|
|
45
|
-
return (_this$
|
|
56
|
+
return (_this$expressIntercep2 = _this.expressInterceptInstance.getStatusNameMap()) === null || _this$expressIntercep2 === void 0 ? void 0 : _this$expressIntercep2[r === null || r === void 0 ? void 0 : r["".concat(_this.id)]];
|
|
46
57
|
});
|
|
47
58
|
_defineProperty(this, "renderExport", function (value, record) {
|
|
48
|
-
var _this$
|
|
49
|
-
return (_this$
|
|
59
|
+
var _this$expressIntercep3, _this$expressIntercep4;
|
|
60
|
+
return (_this$expressIntercep3 = (_this$expressIntercep4 = _this.expressInterceptInstance.getStatusNameMap()) === null || _this$expressIntercep4 === void 0 ? void 0 : _this$expressIntercep4["".concat(record === null || record === void 0 ? void 0 : record[_this.id])]) !== null && _this$expressIntercep3 !== void 0 ? _this$expressIntercep3 : "--";
|
|
50
61
|
});
|
|
51
62
|
_defineProperty(this, "editRender", function () {
|
|
52
63
|
return null;
|
|
@@ -69,6 +80,7 @@ var InterceptStatus = /*#__PURE__*/_createClass(function InterceptStatus(options
|
|
|
69
80
|
};
|
|
70
81
|
});
|
|
71
82
|
this.name = "物流状态";
|
|
83
|
+
this.parentId = options.id;
|
|
72
84
|
this.id = "".concat(options.id, "_interceptLogisticsStatus");
|
|
73
85
|
this.companyId = "".concat(options.id, "_interceptCompany");
|
|
74
86
|
this.type = options.type;
|
|
@@ -80,5 +92,9 @@ var InterceptStatus = /*#__PURE__*/_createClass(function InterceptStatus(options
|
|
|
80
92
|
this.children = [];
|
|
81
93
|
this.effects = options === null || options === void 0 ? void 0 : options.effects;
|
|
82
94
|
this.expressInterceptInstance = ExpressInterceptData.getInstance();
|
|
83
|
-
}
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
//物流轨迹查询
|
|
98
|
+
);
|
|
99
|
+
|
|
84
100
|
export default InterceptStatus;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { ComponentInterface, PickOption, ColumnConfig, ALignType, Record } from "../../type";
|
|
2
|
-
import React from "react";
|
|
3
3
|
import { ExpressInterceptData } from "@kmkf-fe-packages/kmkf-utils";
|
|
4
4
|
declare class InterceptType implements ComponentInterface {
|
|
5
5
|
name: string;
|
|
@@ -16,7 +16,7 @@ declare class InterceptType implements ComponentInterface {
|
|
|
16
16
|
expressInterceptInstance: ExpressInterceptData;
|
|
17
17
|
constructor(options: PickOption);
|
|
18
18
|
getComponentValue: (r: Record) => any;
|
|
19
|
-
renderClient: (record: any) =>
|
|
19
|
+
renderClient: (record: any) => JSX.Element | null;
|
|
20
20
|
renderPc: (value: any, record: Record) => any;
|
|
21
21
|
renderLog: (r: Record) => any;
|
|
22
22
|
renderExport: (value: any, record: Record) => any;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
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) =>
|
|
13
|
-
renderPc: (value: any, record: Record) =>
|
|
14
|
-
renderLog: (r: Record) =>
|
|
12
|
+
renderClient: (record: any) => JSX.Element | null;
|
|
13
|
+
renderPc: (value: any, record: Record) => JSX.Element;
|
|
14
|
+
renderLog: (r: Record) => JSX.Element | null;
|
|
15
15
|
getComponentValue: (r: Record) => any;
|
|
16
16
|
renderExport: (value: any, record: Record) => any;
|
|
17
|
-
editRender: () =>
|
|
17
|
+
editRender: () => JSX.Element;
|
|
18
18
|
filterConfig: (item: ColumnConfig) => {
|
|
19
19
|
type: string;
|
|
20
20
|
id: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
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) =>
|
|
15
|
+
renderClient: (record: any) => 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: () =>
|
|
20
|
+
editRender: () => JSX.Element;
|
|
21
21
|
filterConfig: (item: ColumnConfig) => {
|
|
22
22
|
type: string;
|
|
23
23
|
id: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
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) =>
|
|
20
|
-
editRender: () =>
|
|
19
|
+
renderClient: (record: any) => JSX.Element | null;
|
|
20
|
+
editRender: () => JSX.Element;
|
|
21
21
|
filterConfig: (item: ColumnConfig) => {
|
|
22
22
|
type: string;
|
|
23
23
|
id: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
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) =>
|
|
20
|
+
renderClient: (record: any) => 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: () =>
|
|
25
|
+
editRender: () => JSX.Element;
|
|
26
26
|
filterConfig: (item: ColumnConfig) => {
|
|
27
27
|
type: string;
|
|
28
28
|
id: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
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: () =>
|
|
23
|
+
editRender: () => JSX.Element;
|
|
24
24
|
renderPc: () => null;
|
|
25
|
-
renderLog: (r: Record) =>
|
|
25
|
+
renderLog: (r: Record) => 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) =>
|
|
32
|
+
renderClient: (record: any) => JSX.Element;
|
|
33
33
|
filterConfig: (item: ColumnConfig) => {
|
|
34
34
|
type: string;
|
|
35
35
|
id: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
declare const OrdinaryHeaderWrap: (props: JSX.IntrinsicAttributes & {
|
|
3
3
|
value?: any;
|
|
4
4
|
onChange?: any;
|
|
5
5
|
handleChangeSerial: any;
|
|
6
|
-
}) =>
|
|
6
|
+
}) => JSX.Element;
|
|
7
7
|
export default OrdinaryHeaderWrap;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
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) =>
|
|
16
|
-
renderPc: (value: unknown, record: Record) =>
|
|
17
|
-
renderLog: (r: Record) =>
|
|
15
|
+
renderClient: (record: any) => JSX.Element | null;
|
|
16
|
+
renderPc: (value: unknown, record: Record) => JSX.Element;
|
|
17
|
+
renderLog: (r: Record) => JSX.Element | null;
|
|
18
18
|
getComponentValue: (r: Record) => any;
|
|
19
19
|
renderExport: (value: any, record: Record) => any;
|
|
20
|
-
editRender: () =>
|
|
20
|
+
editRender: () => JSX.Element;
|
|
21
21
|
filterConfig: (item: ColumnConfig) => {
|
|
22
22
|
type: string;
|
|
23
23
|
id: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
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) =>
|
|
16
|
-
renderPc: (value: unknown, record: any) =>
|
|
17
|
-
renderLog: (r: Record) =>
|
|
15
|
+
renderClient: (record: any) => JSX.Element | null;
|
|
16
|
+
renderPc: (value: unknown, record: any) => JSX.Element;
|
|
17
|
+
renderLog: (r: Record) => JSX.Element | null;
|
|
18
18
|
getComponentValue: (r: Record) => any;
|
|
19
19
|
renderExport: (value: any, record: Record) => any;
|
|
20
|
-
editRender: () =>
|
|
20
|
+
editRender: () => JSX.Element;
|
|
21
21
|
filterConfig: (item: ColumnConfig) => {
|
|
22
22
|
type: string;
|
|
23
23
|
id: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
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,12 +11,12 @@ declare class AlipayTime implements ComponentInterface {
|
|
|
11
11
|
isCombinationComponent: boolean;
|
|
12
12
|
children: ComponentInterface[];
|
|
13
13
|
constructor(options: PickOption);
|
|
14
|
-
renderClient: (record: Record) =>
|
|
15
|
-
renderPc: (value: unknown, record: Record) =>
|
|
16
|
-
renderLog: (r: Record) =>
|
|
14
|
+
renderClient: (record: Record) => JSX.Element | null;
|
|
15
|
+
renderPc: (value: unknown, record: Record) => JSX.Element;
|
|
16
|
+
renderLog: (r: Record) => JSX.Element | null;
|
|
17
17
|
getComponentValue: (r: Record) => any;
|
|
18
18
|
renderExport: (value: string) => string | null;
|
|
19
|
-
editRender: () =>
|
|
19
|
+
editRender: () => JSX.Element;
|
|
20
20
|
filterConfig: (item: ColumnConfig) => {
|
|
21
21
|
type: string;
|
|
22
22
|
id: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
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) =>
|
|
16
|
-
editRender: () =>
|
|
17
|
-
renderPc: (value: unknown, record: Record) =>
|
|
18
|
-
renderLog: (r: Record) =>
|
|
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;
|
|
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" />
|
|
1
2
|
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) =>
|
|
15
|
-
renderPc: (value: unknown, record: Record) =>
|
|
16
|
-
renderLog: (r: Record) =>
|
|
14
|
+
renderClient: (record: Record) => JSX.Element | null;
|
|
15
|
+
renderPc: (value: unknown, record: Record) => JSX.Element;
|
|
16
|
+
renderLog: (r: Record) => JSX.Element | null;
|
|
17
17
|
getComponentValue: (r: Record) => any;
|
|
18
18
|
renderExport: (value: string) => string;
|
|
19
|
-
editRender: () =>
|
|
19
|
+
editRender: () => JSX.Element;
|
|
20
20
|
filterConfig: (item: ColumnConfig) => {
|
|
21
21
|
type: string;
|
|
22
22
|
id: string;
|