@kmkf-fe-packages/services-components 0.7.1-alpha.2 → 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.
Files changed (77) hide show
  1. package/dist/esm/commonComponents/ItemView/index.d.ts +2 -2
  2. package/dist/esm/commonComponents/OperationLog/index.d.ts +2 -1
  3. package/dist/esm/commonComponents/PlatBuyer/index.d.ts +2 -2
  4. package/dist/esm/commonComponents/PlatformAvatar/index.d.ts +2 -2
  5. package/dist/esm/commonComponents/ShopList/index.d.ts +2 -2
  6. package/dist/esm/commonComponents/Wangwang/index.d.ts +2 -2
  7. package/dist/esm/components/ActualPayment/index.d.ts +5 -5
  8. package/dist/esm/components/Address/index.d.ts +5 -5
  9. package/dist/esm/components/Alipay/index.d.ts +4 -4
  10. package/dist/esm/components/AlipayAccount/index.d.ts +5 -5
  11. package/dist/esm/components/AlipayName/index.d.ts +5 -5
  12. package/dist/esm/components/BuyerNick/index.d.ts +5 -5
  13. package/dist/esm/components/Cascader/index.d.ts +5 -5
  14. package/dist/esm/components/Checkbox/index.d.ts +4 -4
  15. package/dist/esm/components/Common/index.d.ts +5 -5
  16. package/dist/esm/components/CommonDataTime/index.d.ts +4 -4
  17. package/dist/esm/components/CompletedUser/index.d.ts +2 -2
  18. package/dist/esm/components/DataTime/ApaasDate.d.ts +2 -2
  19. package/dist/esm/components/DataTime/index.d.ts +6 -6
  20. package/dist/esm/components/EItemEnCode/ItemEncode.d.ts +2 -2
  21. package/dist/esm/components/EItemEnCode/index.d.ts +5 -5
  22. package/dist/esm/components/EItemId/ItemId.d.ts +2 -2
  23. package/dist/esm/components/EItemId/index.d.ts +5 -5
  24. package/dist/esm/components/EItemSelect/ItemSelect.d.ts +2 -2
  25. package/dist/esm/components/EItemSelect/index.d.ts +5 -5
  26. package/dist/esm/components/ErpTradeId/index.d.ts +5 -5
  27. package/dist/esm/components/Express/index.d.ts +5 -5
  28. package/dist/esm/components/ExpressCompany/index.d.ts +2 -2
  29. package/dist/esm/components/FlowStatusSelect/index.d.ts +5 -5
  30. package/dist/esm/components/Grade/index.d.ts +5 -5
  31. package/dist/esm/components/Handler/index.d.ts +2 -2
  32. package/dist/esm/components/Input/index.d.ts +5 -5
  33. package/dist/esm/components/JstItemSelect/index.d.ts +5 -5
  34. package/dist/esm/components/JstLogistics/index.d.ts +5 -5
  35. package/dist/esm/components/JstSendGood/index.d.ts +5 -5
  36. package/dist/esm/components/JstSupply/index.d.ts +5 -5
  37. package/dist/esm/components/Logistics/index.d.ts +4 -4
  38. package/dist/esm/components/LogisticsInterception/index.d.ts +1 -2
  39. package/dist/esm/components/LogisticsInterception/index.js +2 -5
  40. package/dist/esm/components/MultSelect/index.d.ts +5 -5
  41. package/dist/esm/components/Ordinary/OrdinaryHeader.d.ts +3 -3
  42. package/dist/esm/components/Ordinary/OrdinaryMoney.d.ts +3 -3
  43. package/dist/esm/components/Ordinary/OrdinarySerial.d.ts +3 -3
  44. package/dist/esm/components/Ordinary/index.d.ts +4 -4
  45. package/dist/esm/components/OrdinaryHeader/index.d.ts +2 -2
  46. package/dist/esm/components/Payment/AlipayNick.d.ts +5 -5
  47. package/dist/esm/components/Payment/AlipayNo.d.ts +5 -5
  48. package/dist/esm/components/Payment/AlipayTime.d.ts +6 -6
  49. package/dist/esm/components/Payment/AlipayTime.js +1 -1
  50. package/dist/esm/components/Payment/BuyerNick.d.ts +5 -5
  51. package/dist/esm/components/Payment/PaymentAmount.d.ts +5 -5
  52. package/dist/esm/components/Payment/PaymentStatus.d.ts +2 -2
  53. package/dist/esm/components/Payment/PaymentTid.d.ts +5 -5
  54. package/dist/esm/components/Payment/index.d.ts +5 -5
  55. package/dist/esm/components/Picture/index.d.ts +6 -6
  56. package/dist/esm/components/PlatForm/index.d.ts +3 -3
  57. package/dist/esm/components/Popover/index.d.ts +2 -2
  58. package/dist/esm/components/Radio/index.d.ts +6 -6
  59. package/dist/esm/components/Rate/index.d.ts +6 -6
  60. package/dist/esm/components/ReceiverAddress/index.d.ts +6 -6
  61. package/dist/esm/components/ReceiverMobile/index.d.ts +5 -5
  62. package/dist/esm/components/ReceiverName/index.d.ts +5 -5
  63. package/dist/esm/components/Remark/index.d.ts +6 -6
  64. package/dist/esm/components/Select/index.d.ts +5 -5
  65. package/dist/esm/components/ShopInput/index.d.ts +2 -2
  66. package/dist/esm/components/ShopName/index.d.ts +5 -5
  67. package/dist/esm/components/Submitter/index.d.ts +2 -2
  68. package/dist/esm/components/SystemOrderNo/index.d.ts +5 -5
  69. package/dist/esm/components/TemplateSelect/index.d.ts +3 -3
  70. package/dist/esm/components/TextArea/index.d.ts +5 -5
  71. package/dist/esm/components/ThirdItemSelect/ItemEncode.d.ts +2 -2
  72. package/dist/esm/components/ThirdItemSelect/index.d.ts +5 -5
  73. package/dist/esm/components/TradeDateTime/index.d.ts +6 -6
  74. package/dist/esm/components/TradeId/index.d.ts +5 -5
  75. package/dist/esm/components/WorkOrderId/index.d.ts +4 -4
  76. package/dist/esm/index.d.ts +52 -52
  77. package/package.json +4 -4
@@ -1,7 +1,7 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  declare const ItemView: ({ label, value, id }: {
3
3
  label: string;
4
4
  value: string | JSX.Element | JSX.Element[] | null;
5
5
  id: any;
6
- }) => JSX.Element;
6
+ }) => React.JSX.Element;
7
7
  export default ItemView;
@@ -1,8 +1,9 @@
1
+ import React from "react";
1
2
  declare type OperationLogProps = {
2
3
  content: string;
3
4
  operation: string;
4
5
  componentDtoList: any[];
5
6
  };
6
7
  export declare const unTransField: (key: string) => boolean;
7
- declare const OperationLog: ({ content, operation, componentDtoList, }: OperationLogProps) => JSX.Element | null;
8
+ declare const OperationLog: ({ content, operation, componentDtoList, }: OperationLogProps) => React.JSX.Element | null;
8
9
  export default OperationLog;
@@ -1,9 +1,9 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  declare type PlatBuyerProp = {
3
3
  shopId: string;
4
4
  buyerNick: string;
5
5
  buyerOpenUid: string;
6
6
  shopList: any[];
7
7
  };
8
- declare const PlatBuyer: ({ shopId, buyerNick, buyerOpenUid, shopList }: PlatBuyerProp) => JSX.Element;
8
+ declare const PlatBuyer: ({ shopId, buyerNick, buyerOpenUid, shopList }: PlatBuyerProp) => React.JSX.Element;
9
9
  export default PlatBuyer;
@@ -1,7 +1,7 @@
1
- import { CSSProperties, PropsWithChildren } from 'react';
1
+ import React, { CSSProperties, PropsWithChildren } from 'react';
2
2
  declare type PlatformAvatarProps = {
3
3
  type: number | string;
4
4
  styles?: CSSProperties;
5
5
  };
6
- declare const PlatformAvatar: (props: PropsWithChildren<PlatformAvatarProps>) => JSX.Element;
6
+ declare const PlatformAvatar: (props: PropsWithChildren<PlatformAvatarProps>) => React.JSX.Element;
7
7
  export default PlatformAvatar;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  declare type Shop = {
3
3
  auditStatus: number;
4
4
  shopId: string;
@@ -9,5 +9,5 @@ declare type ShopListProps = {
9
9
  shopList: Shop[];
10
10
  [prop: string]: any;
11
11
  };
12
- declare const ShopList: ({ shopList, onChange, setShopId, ...prop }: ShopListProps) => JSX.Element;
12
+ declare const ShopList: ({ shopList, onChange, setShopId, ...prop }: ShopListProps) => React.JSX.Element;
13
13
  export default ShopList;
@@ -1,7 +1,7 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  declare type WangwangProps = {
3
3
  nick: string;
4
4
  buyerOpenUid: string;
5
5
  };
6
- declare const Wangwang: (props: WangwangProps) => JSX.Element;
6
+ declare const Wangwang: (props: WangwangProps) => React.JSX.Element;
7
7
  export default Wangwang;
@@ -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 ActualPayment implements ComponentInterface {
4
4
  name: string;
5
5
  id: string;
@@ -9,12 +9,12 @@ declare class ActualPayment implements ComponentInterface {
9
9
  children: ComponentInterface[];
10
10
  componentConfig: ComponentInterface["componentConfig"];
11
11
  constructor(options: PickOption);
12
- renderClient: (record: any) => JSX.Element | null;
13
- renderPc: (value: unknown, record: Record) => JSX.Element;
14
- renderLog: (r: Record) => JSX.Element | null;
12
+ renderClient: (record: any) => React.JSX.Element | null;
13
+ renderPc: (value: unknown, record: Record) => React.JSX.Element;
14
+ renderLog: (r: Record) => React.JSX.Element | null;
15
15
  getComponentValue: (r: Record) => any;
16
16
  renderExport: (value: unknown, 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, Record } from '../../type';
2
+ import React from 'react';
3
3
  import { AddressData } from '@kmkf-fe-packages/kmkf-utils';
4
4
  declare type Value = (string | number)[] | undefined;
5
5
  declare class Address implements ComponentInterface {
@@ -19,12 +19,12 @@ declare class Address implements ComponentInterface {
19
19
  */
20
20
  getValue: (value: Value) => string | undefined;
21
21
  transTextToNumber: (value?: string) => string | number | undefined;
22
- renderClient: (record: any) => JSX.Element | null;
23
- renderPc: (value: any, record: Record) => JSX.Element;
24
- renderLog: (r: Record) => JSX.Element | null;
22
+ renderClient: (record: any) => React.JSX.Element | null;
23
+ renderPc: (value: any, record: Record) => React.JSX.Element;
24
+ renderLog: (r: Record) => React.JSX.Element | null;
25
25
  getComponentValue: (r: Record) => any[];
26
26
  renderExport: (value: any, record: any) => string;
27
- editRender: () => JSX.Element;
27
+ editRender: () => React.JSX.Element;
28
28
  filterConfig: () => never[];
29
29
  }
30
30
  export default Address;
@@ -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 EAlipayAccount from '../AlipayAccount';
4
4
  import EAlipayName from '../AlipayName';
5
5
  declare class Alipay implements ComponentInterface {
@@ -13,15 +13,15 @@ declare class Alipay implements ComponentInterface {
13
13
  isCombinationComponent: boolean;
14
14
  children: ComponentInterface[];
15
15
  constructor(options: PickOption);
16
- renderClient: (record: Record) => JSX.Element;
16
+ renderClient: (record: Record) => React.JSX.Element;
17
17
  renderPc: () => null;
18
- renderLog: (r: Record) => JSX.Element;
18
+ renderLog: (r: Record) => React.JSX.Element;
19
19
  getComponentValue: (r: Record) => {
20
20
  name: any;
21
21
  user: any;
22
22
  };
23
23
  renderExport: () => null;
24
- editRender: (value: any) => JSX.Element;
24
+ editRender: (value: any) => React.JSX.Element;
25
25
  filterConfig: (item: ColumnConfig) => {
26
26
  type: string;
27
27
  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 EAlipayAccount implements ComponentInterface {
4
4
  name: string;
5
5
  id: string;
@@ -12,12 +12,12 @@ declare class EAlipayAccount 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: unknown, record: Record) => JSX.Element;
17
- renderLog: (r: Record) => JSX.Element | null;
15
+ renderClient: (record: Record) => 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?: string) => string;
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 EAlipayAccount implements ComponentInterface {
4
4
  name: string;
5
5
  id: string;
@@ -12,12 +12,12 @@ declare class EAlipayAccount implements ComponentInterface {
12
12
  align: ALignType;
13
13
  width: number;
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?: string) => string;
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, Record } from '../../type';
2
+ import React from 'react';
3
3
  declare class EBuyerNick implements ComponentInterface {
4
4
  name: string;
5
5
  id: string;
@@ -10,15 +10,15 @@ declare class EBuyerNick implements ComponentInterface {
10
10
  isCombinationComponent: boolean;
11
11
  children: ComponentInterface[];
12
12
  constructor(options: PickOption);
13
- renderClient: (record: any) => JSX.Element | null;
14
- renderPc: (value: unknown, record: Record) => JSX.Element;
15
- renderLog: (r: Record) => JSX.Element | null;
13
+ renderClient: (record: any) => React.JSX.Element | null;
14
+ renderPc: (value: unknown, record: Record) => React.JSX.Element;
15
+ renderLog: (r: Record) => React.JSX.Element | null;
16
16
  getComponentValue: (r: Record) => {
17
17
  buyerNick: any;
18
18
  buyerOpenUid: any;
19
19
  };
20
20
  renderExport: (value: any, record: any) => any;
21
- editRender: (value: any) => JSX.Element;
21
+ editRender: (value: any) => React.JSX.Element;
22
22
  filterConfig: (item: ColumnConfig) => {
23
23
  type: string;
24
24
  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
  declare class BasicCascader implements ComponentInterface {
4
4
  name: string;
5
5
  id: string;
@@ -15,12 +15,12 @@ declare class BasicCascader implements ComponentInterface {
15
15
  * @returns
16
16
  */
17
17
  getValue: (value: any) => string;
18
- renderClient: (record: any) => JSX.Element | null;
19
- renderPc: (value: any, record: Record) => JSX.Element;
20
- renderLog: (r: Record) => JSX.Element | null;
18
+ renderClient: (record: any) => React.JSX.Element | null;
19
+ renderPc: (value: any, record: Record) => React.JSX.Element;
20
+ renderLog: (r: Record) => React.JSX.Element | null;
21
21
  getComponentValue: (r: Record) => any;
22
22
  renderExport: (value: any, record: Record) => string;
23
- editRender: () => JSX.Element;
23
+ editRender: () => React.JSX.Element;
24
24
  filterConfig: (item: ColumnConfig) => {
25
25
  type: string;
26
26
  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
  declare type Value = {
4
4
  value?: string[];
5
5
  other?: string;
@@ -14,15 +14,15 @@ declare class BasicCheckbox implements ComponentInterface {
14
14
  children: ComponentInterface[];
15
15
  constructor(options: PickOption);
16
16
  getValue: (value: Value) => string | null | undefined;
17
- renderPc: (value: any, record: Record) => JSX.Element;
17
+ renderPc: (value: any, record: Record) => React.JSX.Element;
18
18
  renderLog: (r: Record) => any;
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: any) => JSX.Element | null;
25
- editRender: () => JSX.Element;
24
+ renderClient: (record: any) => React.JSX.Element | null;
25
+ editRender: () => React.JSX.Element;
26
26
  filterConfig: (item: ColumnConfig) => {
27
27
  type: string;
28
28
  id: string;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  declare type getFormItemProps = {
3
3
  name: string;
4
4
  title: string;
@@ -6,13 +6,13 @@ declare type getFormItemProps = {
6
6
  required: boolean;
7
7
  component: JSX.Element | string | null;
8
8
  };
9
- export declare const getFormItem: ({ name, title, rules, required, component }: getFormItemProps) => JSX.Element;
9
+ export declare const getFormItem: ({ name, title, rules, required, component }: getFormItemProps) => React.JSX.Element;
10
10
  export declare const showImage: ({ item, type, index }: {
11
11
  item: any;
12
12
  type: string;
13
13
  index: number;
14
- }) => JSX.Element;
15
- export declare const ShowTotalImage: ({ total, allImage, type }: any) => JSX.Element;
16
- export declare const GoodImage: ({ list, type }: any) => JSX.Element | null;
14
+ }) => React.JSX.Element;
15
+ export declare const ShowTotalImage: ({ total, allImage, type }: any) => React.JSX.Element;
16
+ export declare const GoodImage: ({ list, type }: any) => React.JSX.Element | null;
17
17
  export declare const JstGoodImage: ({ list, type }: any) => any;
18
18
  export {};
@@ -1,5 +1,5 @@
1
- /// <reference types="react" />
2
1
  import { ComponentInterface, PickOption, ColumnConfig, Record } from '../../type';
2
+ import React from 'react';
3
3
  /**
4
4
  * 针对完成时间、创建时间、修改时间定义了3中类型
5
5
  */
@@ -13,9 +13,9 @@ declare class CommonDataTime implements ComponentInterface {
13
13
  children: ComponentInterface[];
14
14
  constructor(options: PickOption);
15
15
  getValue: (value: string) => string;
16
- renderClient: (record: any) => JSX.Element | null;
17
- renderPc: (value: any, record: Record) => JSX.Element;
18
- renderLog: (r: Record) => JSX.Element | null;
16
+ renderClient: (record: any) => React.JSX.Element | null;
17
+ renderPc: (value: any, record: Record) => React.JSX.Element;
18
+ renderLog: (r: Record) => React.JSX.Element | null;
19
19
  getComponentValue: (r: Record) => any;
20
20
  renderExport: (value: any, record: Record) => string;
21
21
  editRender: () => null;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { ComponentInterface, PickOption, Record, ColumnConfig } from '../../type';
3
3
  declare class CompletedUser implements ComponentInterface {
4
4
  name: string;
@@ -9,7 +9,7 @@ declare class CompletedUser implements ComponentInterface {
9
9
  isCombinationComponent: boolean;
10
10
  children: ComponentInterface[];
11
11
  constructor(options: PickOption);
12
- renderPc: (value: unknown, record: Record) => JSX.Element;
12
+ renderPc: (value: unknown, record: Record) => React.JSX.Element;
13
13
  renderLog: () => null;
14
14
  getComponentValue: (r: Record) => any;
15
15
  renderExport: (value: any, record: Record) => any;
@@ -1,9 +1,9 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  declare const DateType: ['DATE', 'DATE_TIME', 'DATE_RANGE', 'DATE_TIME_RANGE'];
3
3
  export declare type ButtonType = typeof DateType[number];
4
4
  export interface ApaasDate {
5
5
  dateType?: ButtonType;
6
6
  [propName: string]: any;
7
7
  }
8
- declare const Date: (props: ApaasDate) => JSX.Element;
8
+ declare const Date: (props: ApaasDate) => React.JSX.Element;
9
9
  export default Date;
@@ -1,7 +1,7 @@
1
- /// <reference types="react" />
2
1
  import { ComponentInterface, PickOption, ColumnConfig, Record } from '../../type';
2
+ import React from 'react';
3
3
  declare type Value = string | string[] | undefined;
4
- export declare const DateTime: ({ value, onChange, ...otherProps }: any) => JSX.Element;
4
+ export declare const DateTime: ({ value, onChange, ...otherProps }: any) => React.JSX.Element;
5
5
  declare class BasicDataTime implements ComponentInterface {
6
6
  name: string;
7
7
  id: string;
@@ -12,12 +12,12 @@ declare class BasicDataTime implements ComponentInterface {
12
12
  children: ComponentInterface[];
13
13
  constructor(options: PickOption);
14
14
  getValue: (value: Value) => string | undefined;
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: 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,3 +1,3 @@
1
- /// <reference types="react" />
2
- declare const ItemEncode: (props: JSX.IntrinsicAttributes & any) => JSX.Element;
1
+ import React from 'react';
2
+ declare const ItemEncode: (props: JSX.IntrinsicAttributes & any) => React.JSX.Element;
3
3
  export default ItemEncode;
@@ -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 EItemEncode implements ComponentInterface {
4
4
  name: string;
5
5
  id: string;
@@ -10,12 +10,12 @@ declare class EItemEncode implements ComponentInterface {
10
10
  isCombinationComponent: boolean;
11
11
  children: ComponentInterface[];
12
12
  constructor(options: PickOption);
13
- renderClient: (record: any) => JSX.Element | null;
14
- renderPc: (value: unknown, record: Record) => JSX.Element;
15
- renderLog: (r: Record) => JSX.Element | null;
13
+ renderClient: (record: any) => React.JSX.Element | null;
14
+ renderPc: (value: unknown, record: Record) => React.JSX.Element;
15
+ renderLog: (r: Record) => React.JSX.Element | null;
16
16
  getComponentValue: (r: Record) => any;
17
17
  renderExport: (value: unknown, record: Record) => any;
18
- editRender: () => JSX.Element;
18
+ editRender: () => React.JSX.Element;
19
19
  filterConfig: (item: ColumnConfig) => {
20
20
  type: string;
21
21
  id: string;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { GoodsProps } from '@kmkf-fe-packages/basic-components/dist/common/Goods';
3
- declare const ItemId: (props: JSX.IntrinsicAttributes & GoodsProps) => JSX.Element;
3
+ declare const ItemId: (props: JSX.IntrinsicAttributes & GoodsProps) => React.JSX.Element;
4
4
  export default ItemId;
@@ -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 EItemId implements ComponentInterface {
4
4
  name: string;
5
5
  id: string;
@@ -10,12 +10,12 @@ declare class EItemId implements ComponentInterface {
10
10
  isCombinationComponent: boolean;
11
11
  children: ComponentInterface[];
12
12
  constructor(options: PickOption);
13
- renderClient: (record: any) => JSX.Element | null;
14
- renderPc: (value: unknown, record: Record) => JSX.Element;
15
- renderLog: (r: Record) => JSX.Element | null;
13
+ renderClient: (record: any) => React.JSX.Element | null;
14
+ renderPc: (value: unknown, 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,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { GoodsProps } from '@kmkf-fe-packages/basic-components/dist/common/Goods';
3
- declare const ItemSelect: (props: JSX.IntrinsicAttributes & GoodsProps) => JSX.Element;
3
+ declare const ItemSelect: (props: JSX.IntrinsicAttributes & GoodsProps) => React.JSX.Element;
4
4
  export default ItemSelect;
@@ -1,5 +1,5 @@
1
- /// <reference types="react" />
2
1
  import { ComponentInterface, PickOption, Record } from "../../type";
2
+ import React from "react";
3
3
  declare class EItemSelect implements ComponentInterface {
4
4
  name: string;
5
5
  id: string;
@@ -10,12 +10,12 @@ declare class EItemSelect implements ComponentInterface {
10
10
  isCombinationComponent: boolean;
11
11
  children: ComponentInterface[];
12
12
  constructor(options: PickOption);
13
- renderClient: (record: any) => JSX.Element | null;
14
- renderPc: (value: unknown, record: Record) => JSX.Element;
15
- renderLog: (r: Record) => JSX.Element | null;
13
+ renderClient: (record: any) => React.JSX.Element | null;
14
+ renderPc: (value: unknown, 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: () => never[];
20
20
  }
21
21
  export default EItemSelect;
@@ -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 ErpTradeId implements ComponentInterface {
4
4
  name: string;
5
5
  id: string;
@@ -9,12 +9,12 @@ declare class ErpTradeId 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
  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) => JSX.Element | null;
17
- renderPc: (value: unknown, record: Record) => JSX.Element;
18
- renderLog: (r: Record) => JSX.Element | null;
16
+ renderClient: (record: any) => React.JSX.Element | null;
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, record: Record) => any;
21
- editRender: () => JSX.Element;
21
+ editRender: () => React.JSX.Element;
22
22
  filterConfig: (item: ColumnConfig) => {
23
23
  type: string;
24
24
  id: string;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
2
- declare const ExpressCompany: (props: any) => JSX.Element;
1
+ import React from 'react';
2
+ declare const ExpressCompany: (props: any) => React.JSX.Element;
3
3
  export default ExpressCompany;
@@ -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 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) => JSX.Element;
15
- renderPc: (value: any, record: Record) => JSX.Element;
16
- renderLog: (r: Record) => JSX.Element | null;
14
+ renderMenu: (record: Record) => React.JSX.Element;
15
+ renderPc: (value: any, record: Record) => React.JSX.Element;
16
+ renderLog: (r: Record) => React.JSX.Element | null;
17
17
  getComponentValue: (r: Record) => any;
18
18
  renderExport: (value: any, record: Record) => any;
19
19
  renderClient: () => null;
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, 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) => 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: () => never[];
19
19
  }
20
20
  export default BasicGrade;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from '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) => JSX.Element;
12
+ renderPc: (v: unknown, record: Record) => React.JSX.Element;
13
13
  renderLog: () => null;
14
14
  getComponentValue: (r: Record) => any;
15
15
  renderExport: (value: {
@@ -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 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) => JSX.Element;
13
- renderLog: (r: Record) => JSX.Element | null;
12
+ renderPc: (value: any, record: Record) => React.JSX.Element;
13
+ renderLog: (r: Record) => React.JSX.Element | null;
14
14
  getComponentValue: (r: Record) => any;
15
15
  renderExport: (value: any, record: Record) => any;
16
- renderClient: (record: Record) => JSX.Element | null;
17
- editRender: () => JSX.Element;
16
+ renderClient: (record: Record) => React.JSX.Element | null;
17
+ editRender: () => React.JSX.Element;
18
18
  filterConfig: (item: ColumnConfig) => {
19
19
  type: string;
20
20
  id: string;