@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
|
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) =>
|
|
21
|
+
renderClient: (record: any) => 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" />
|
|
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;
|
|
@@ -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) =>
|
|
15
|
-
renderPc: (value: unknown, record: any) =>
|
|
16
|
-
renderLog: (r: Record) =>
|
|
14
|
+
renderClient: (record: any) => JSX.Element | null;
|
|
15
|
+
renderPc: (value: unknown, record: any) => 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;
|
|
@@ -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 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) =>
|
|
26
|
+
renderClient: (record: any) => JSX.Element;
|
|
27
27
|
renderPc: () => null;
|
|
28
|
-
renderLog: (record: Record) =>
|
|
28
|
+
renderLog: (record: Record) => 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) =>
|
|
39
|
+
editRender: (value: any) => JSX.Element;
|
|
40
40
|
filterConfig: (item: ColumnConfig) => ({
|
|
41
41
|
type: string;
|
|
42
42
|
id: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
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) =>
|
|
15
|
-
renderPc: (value: any, record: Record) =>
|
|
16
|
-
renderLog: (r: Record) =>
|
|
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;
|
|
17
17
|
getComponentValue: (r: Record) => any;
|
|
18
|
-
renderClient: (record: any) =>
|
|
19
|
-
editRender: () =>
|
|
18
|
+
renderClient: (record: any) => JSX.Element | null;
|
|
19
|
+
editRender: () => JSX.Element;
|
|
20
20
|
/**
|
|
21
21
|
*
|
|
22
22
|
* @returns 图片类型的导出需要在导出时单独处理
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="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) =>
|
|
13
|
+
renderPc: (value: any, record: Record) => JSX.Element;
|
|
14
14
|
renderExport: (value: any, record: Record) => string;
|
|
15
|
-
renderLog: (r: Record) =>
|
|
15
|
+
renderLog: (r: Record) => 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) =>
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const Popover: ({ Overlay, ShowComponent }: any) => JSX.Element;
|
|
3
3
|
export default Popover;
|
|
@@ -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 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) =>
|
|
17
|
-
renderPc: (value: any, record: Record) =>
|
|
18
|
-
renderLog: (r: Record) =>
|
|
16
|
+
render: (value: Value) => JSX.Element;
|
|
17
|
+
renderPc: (value: any, record: Record) => JSX.Element;
|
|
18
|
+
renderLog: (r: Record) => 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) =>
|
|
25
|
-
editRender: () =>
|
|
24
|
+
renderClient: (record: Record) => JSX.Element | null;
|
|
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, 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) =>
|
|
21
|
-
renderClient: (record: Record) =>
|
|
22
|
-
renderPc: (value: any, record: Record) =>
|
|
23
|
-
renderLog: (r: Record) =>
|
|
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;
|
|
24
24
|
getComponentValue: (r: Record) => any;
|
|
25
25
|
renderExport: (value: any, record: any) => any;
|
|
26
|
-
editRender: () =>
|
|
26
|
+
editRender: () => JSX.Element;
|
|
27
27
|
filterConfig: () => never[];
|
|
28
28
|
}
|
|
29
29
|
export default BasicRate;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { ComponentInterface, PickOption, Record } from '../../type';
|
|
2
|
-
import React from 'react';
|
|
3
3
|
import { AddressData } from '@kmkf-fe-packages/kmkf-utils';
|
|
4
4
|
declare type Value = {
|
|
5
5
|
address?: (string | number)[];
|
|
@@ -16,17 +16,17 @@ declare class BasicInput implements ComponentInterface {
|
|
|
16
16
|
children: ComponentInterface[];
|
|
17
17
|
addressDateInstance: AddressData;
|
|
18
18
|
constructor(options: PickOption);
|
|
19
|
-
render: (value: Value) =>
|
|
19
|
+
render: (value: Value) => JSX.Element;
|
|
20
20
|
transTextToNumber: (value?: string) => string | number | undefined;
|
|
21
|
-
renderPc: (value: any, record: Record) =>
|
|
22
|
-
renderLog: (r: Record) =>
|
|
21
|
+
renderPc: (value: any, record: Record) => JSX.Element;
|
|
22
|
+
renderLog: (r: Record) => JSX.Element | null;
|
|
23
23
|
getComponentValue: (r: Record) => {
|
|
24
24
|
address: any[];
|
|
25
25
|
detail: any;
|
|
26
26
|
};
|
|
27
27
|
renderExport: (value: any, record: any) => string;
|
|
28
|
-
renderClient: (record: any) =>
|
|
29
|
-
editRender: () =>
|
|
28
|
+
renderClient: (record: any) => JSX.Element | null;
|
|
29
|
+
editRender: () => JSX.Element;
|
|
30
30
|
filterConfig: () => never[];
|
|
31
31
|
}
|
|
32
32
|
export default BasicInput;
|
|
@@ -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 ReceiverMobile implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
5
5
|
id: string;
|
|
@@ -10,12 +10,12 @@ declare class ReceiverMobile 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: Record) => any;
|
|
18
|
-
editRender: (value: any) =>
|
|
18
|
+
editRender: (value: any) => 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
|
declare class ReceiverName implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
5
5
|
id: string;
|
|
@@ -10,12 +10,12 @@ declare class ReceiverName implements ComponentInterface {
|
|
|
10
10
|
isCombinationComponent: boolean;
|
|
11
11
|
children: ComponentInterface[];
|
|
12
12
|
constructor(options: PickOption);
|
|
13
|
-
renderClient: (record: any) =>
|
|
14
|
-
renderPc: (value: any, record: Record) =>
|
|
15
|
-
renderLog: (r: Record) =>
|
|
13
|
+
renderClient: (record: any) => 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: Record) => 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
|
declare type Value = {
|
|
4
4
|
flag?: number | string;
|
|
5
5
|
remark?: string;
|
|
@@ -15,16 +15,16 @@ declare class ERemark implements ComponentInterface {
|
|
|
15
15
|
isCombinationComponent: boolean;
|
|
16
16
|
children: ComponentInterface[];
|
|
17
17
|
constructor(options: PickOption);
|
|
18
|
-
render: (value: Value) =>
|
|
19
|
-
renderClient: (record: Record) =>
|
|
20
|
-
renderPc: (value: unknown, record: Record) =>
|
|
21
|
-
renderLog: (r: Record) =>
|
|
18
|
+
render: (value: Value) => JSX.Element;
|
|
19
|
+
renderClient: (record: Record) => JSX.Element | null;
|
|
20
|
+
renderPc: (value: unknown, record: Record) => JSX.Element;
|
|
21
|
+
renderLog: (r: Record) => JSX.Element | null;
|
|
22
22
|
getComponentValue: (r: Record) => {
|
|
23
23
|
remark: any;
|
|
24
24
|
flag: any;
|
|
25
25
|
};
|
|
26
26
|
renderExport: (value: unknown, record: Record) => any;
|
|
27
|
-
editRender: () =>
|
|
27
|
+
editRender: () => JSX.Element;
|
|
28
28
|
filterConfig: (item: ColumnConfig) => {
|
|
29
29
|
type: string;
|
|
30
30
|
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
|
declare class BasicSelect implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
5
5
|
id: string;
|
|
@@ -9,10 +9,10 @@ declare class BasicSelect implements ComponentInterface {
|
|
|
9
9
|
isCombinationComponent: boolean;
|
|
10
10
|
children: ComponentInterface[];
|
|
11
11
|
constructor(options: PickOption);
|
|
12
|
-
editRender: () =>
|
|
13
|
-
renderClient: (record: any) =>
|
|
14
|
-
renderPc: (value: any, record: Record) =>
|
|
15
|
-
renderLog: (r: Record) =>
|
|
12
|
+
editRender: () => JSX.Element;
|
|
13
|
+
renderClient: (record: any) => 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: Record) => any;
|
|
18
18
|
filterConfig: (item: ColumnConfig) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { ComponentInterface, ColumnConfig, Record, PickOption } from '../../type';
|
|
3
3
|
declare class ShopInput implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
@@ -9,7 +9,7 @@ declare class ShopInput implements ComponentInterface {
|
|
|
9
9
|
isCombinationComponent: boolean;
|
|
10
10
|
children: ComponentInterface[];
|
|
11
11
|
constructor(options: PickOption);
|
|
12
|
-
renderPc: (shopName: unknown, record: any) =>
|
|
12
|
+
renderPc: (shopName: unknown, record: any) => JSX.Element;
|
|
13
13
|
renderLog: (record: Record) => any;
|
|
14
14
|
getComponentValue: (r: Record) => any;
|
|
15
15
|
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 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
|
-
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,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { ComponentInterface, ColumnConfig, Record, PickOption } from '../../type';
|
|
3
3
|
declare class Submitter implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
@@ -9,7 +9,7 @@ declare class Submitter implements ComponentInterface {
|
|
|
9
9
|
isCombinationComponent: boolean;
|
|
10
10
|
children: ComponentInterface[];
|
|
11
11
|
constructor(options: PickOption);
|
|
12
|
-
renderPc: (value: unknown, record: Record) =>
|
|
12
|
+
renderPc: (value: unknown, record: Record) => JSX.Element;
|
|
13
13
|
renderLog: () => null;
|
|
14
14
|
getComponentValue: (r: Record) => any;
|
|
15
15
|
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 SystemOrderNo implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
5
5
|
id: string;
|
|
@@ -10,12 +10,12 @@ declare class SystemOrderNo implements ComponentInterface {
|
|
|
10
10
|
isCombinationComponent: boolean;
|
|
11
11
|
children: ComponentInterface[];
|
|
12
12
|
constructor(options: PickOption);
|
|
13
|
-
renderClient: (record: Record) =>
|
|
14
|
-
renderPc: (value: unknown, record: Record) =>
|
|
15
|
-
renderLog: (r: Record) =>
|
|
13
|
+
renderClient: (record: Record) => JSX.Element | null;
|
|
14
|
+
renderPc: (value: unknown, record: Record) => JSX.Element;
|
|
15
|
+
renderLog: (r: Record) => JSX.Element | null;
|
|
16
16
|
getComponentValue: (r: Record) => any;
|
|
17
17
|
renderExport: (value: string, record: Record) => 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
|
declare class TemplateSelect implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
5
5
|
id: string;
|
|
@@ -10,8 +10,8 @@ declare class TemplateSelect implements ComponentInterface {
|
|
|
10
10
|
isCombinationComponent: boolean;
|
|
11
11
|
children: ComponentInterface[];
|
|
12
12
|
constructor(options: PickOption);
|
|
13
|
-
renderPc: (value: any, record: Record) =>
|
|
14
|
-
renderLog: (r: Record) =>
|
|
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) => string;
|
|
17
17
|
renderClient: () => null;
|
|
@@ -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,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { GoodsProps } from '@kmkf-fe-packages/basic-components/dist/common/Goods';
|
|
3
|
-
declare const ItemEncode: (props: JSX.IntrinsicAttributes & GoodsProps) =>
|
|
3
|
+
declare const ItemEncode: (props: JSX.IntrinsicAttributes & GoodsProps) => JSX.Element;
|
|
4
4
|
export default ItemEncode;
|
|
@@ -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 ThirdItemSelect implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
5
5
|
id: string;
|
|
@@ -10,12 +10,12 @@ declare class ThirdItemSelect 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: Record) => 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, DataType, Record, ColumnConfig } from '../../type';
|
|
2
|
-
import React from 'react';
|
|
3
3
|
declare type Value = string | string[] | undefined;
|
|
4
4
|
declare class BasicDataTime implements ComponentInterface {
|
|
5
5
|
name: string;
|
|
@@ -16,13 +16,13 @@ declare class BasicDataTime implements ComponentInterface {
|
|
|
16
16
|
children: ComponentInterface[];
|
|
17
17
|
dataMap: Record;
|
|
18
18
|
constructor(options: PickOption);
|
|
19
|
-
render: (value: Value) =>
|
|
20
|
-
renderClient: (record: any) =>
|
|
21
|
-
renderPc: (value: unknown, record: Record) =>
|
|
22
|
-
renderLog: (r: Record) =>
|
|
19
|
+
render: (value: Value) => JSX.Element;
|
|
20
|
+
renderClient: (record: any) => JSX.Element | null;
|
|
21
|
+
renderPc: (value: unknown, record: Record) => JSX.Element;
|
|
22
|
+
renderLog: (r: Record) => JSX.Element | null;
|
|
23
23
|
getComponentValue: (r: Record) => any;
|
|
24
24
|
renderExport: (value: unknown, record: Record) => any;
|
|
25
|
-
editRender: () =>
|
|
25
|
+
editRender: () => JSX.Element;
|
|
26
26
|
getKeyByComponentType: (type: string) => "tradeCreateDateTime" | "tradePaymentDateTime" | "tradeDeliveryDateTime" | "tradeClosingDateTime" | undefined;
|
|
27
27
|
filterConfig: (item: ColumnConfig) => {
|
|
28
28
|
type: 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
|
declare class ETradeId implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
5
5
|
id: string;
|
|
@@ -16,12 +16,12 @@ declare class ETradeId implements ComponentInterface {
|
|
|
16
16
|
isCombinationComponent: boolean;
|
|
17
17
|
children: ComponentInterface[];
|
|
18
18
|
constructor(options: PickOption);
|
|
19
|
-
renderClient: (record: any) =>
|
|
20
|
-
renderPc: (value: unknown, record: Record) =>
|
|
21
|
-
renderLog: (r: Record) =>
|
|
19
|
+
renderClient: (record: any) => JSX.Element | null;
|
|
20
|
+
renderPc: (value: unknown, record: Record) => JSX.Element;
|
|
21
|
+
renderLog: (r: Record) => JSX.Element | null;
|
|
22
22
|
getComponentValue: (r: Record) => any;
|
|
23
23
|
renderExport: (value: unknown, record: Record) => any;
|
|
24
|
-
editRender: (value: any) =>
|
|
24
|
+
editRender: (value: any) => JSX.Element;
|
|
25
25
|
filterConfig: (item: ColumnConfig) => {
|
|
26
26
|
type: string;
|
|
27
27
|
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
|
declare class WorkOrderId implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
5
5
|
id: string;
|
|
@@ -11,12 +11,12 @@ declare class WorkOrderId implements ComponentInterface {
|
|
|
11
11
|
children: ComponentInterface[];
|
|
12
12
|
constructor(options: PickOption);
|
|
13
13
|
copyHandle: (text: string) => void;
|
|
14
|
-
renderPc: (value: any, record: any) =>
|
|
15
|
-
renderLog: (r: Record) =>
|
|
14
|
+
renderPc: (value: any, record: any) => JSX.Element;
|
|
15
|
+
renderLog: (r: Record) => JSX.Element | null;
|
|
16
16
|
getComponentValue: (r: Record) => any;
|
|
17
17
|
renderExport: (value: any, record: any) => any;
|
|
18
18
|
renderClient: () => null;
|
|
19
|
-
editRender: () =>
|
|
19
|
+
editRender: () => JSX.Element;
|
|
20
20
|
filterConfig: (item: ColumnConfig) => {
|
|
21
21
|
type: string;
|
|
22
22
|
id: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/services-components",
|
|
3
|
-
"version": "0.6.3-alpha.
|
|
3
|
+
"version": "0.6.3-alpha.50",
|
|
4
4
|
"module": "dist/esm/index.js",
|
|
5
5
|
"typings": "dist/esm/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
"father": "^4.1.7"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@kmkf-fe-packages/basic-components": "^0.6.3-alpha.
|
|
30
|
-
"@kmkf-fe-packages/kmkf-utils": "^0.6.3-alpha.
|
|
29
|
+
"@kmkf-fe-packages/basic-components": "^0.6.3-alpha.50",
|
|
30
|
+
"@kmkf-fe-packages/kmkf-utils": "^0.6.3-alpha.50"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
33
|
"@ant-design/icons": "^4.7.0",
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"gitHooks": {
|
|
41
41
|
"pre-commit": "lint-staged"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "44c0e5906bc15f6ccd0d959c45d17281849c7741"
|
|
44
44
|
}
|