@kmkf-fe-packages/services-components 0.7.1-alpha.1 → 0.7.1-alpha.4

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 (66) hide show
  1. package/README.md +1 -1
  2. package/dist/esm/commonComponents/ItemView/index.d.ts +2 -2
  3. package/dist/esm/commonComponents/OperationLog/index.d.ts +2 -1
  4. package/dist/esm/commonComponents/PlatBuyer/index.d.ts +2 -2
  5. package/dist/esm/commonComponents/PlatformAvatar/index.d.ts +2 -2
  6. package/dist/esm/commonComponents/ShopList/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/CommonDataTime/index.d.ts +4 -4
  16. package/dist/esm/components/CompletedUser/index.d.ts +2 -2
  17. package/dist/esm/components/DataTime/index.d.ts +6 -6
  18. package/dist/esm/components/EItemEnCode/index.d.ts +5 -5
  19. package/dist/esm/components/EItemId/index.d.ts +5 -5
  20. package/dist/esm/components/EItemSelect/index.d.ts +5 -5
  21. package/dist/esm/components/ErpTradeId/index.d.ts +5 -5
  22. package/dist/esm/components/Express/index.d.ts +5 -5
  23. package/dist/esm/components/FlowStatusSelect/index.d.ts +5 -5
  24. package/dist/esm/components/Grade/index.d.ts +5 -5
  25. package/dist/esm/components/Handler/index.d.ts +2 -2
  26. package/dist/esm/components/Input/index.d.ts +5 -5
  27. package/dist/esm/components/JstItemSelect/index.d.ts +5 -5
  28. package/dist/esm/components/JstLogistics/index.d.ts +5 -5
  29. package/dist/esm/components/JstSendGood/index.d.ts +5 -5
  30. package/dist/esm/components/JstSupply/index.d.ts +5 -5
  31. package/dist/esm/components/Logistics/index.d.ts +4 -4
  32. package/dist/esm/components/MultSelect/index.d.ts +5 -5
  33. package/dist/esm/components/Ordinary/OrdinaryHeader.d.ts +3 -3
  34. package/dist/esm/components/Ordinary/OrdinaryMoney.d.ts +3 -3
  35. package/dist/esm/components/Ordinary/OrdinarySerial.d.ts +3 -3
  36. package/dist/esm/components/Ordinary/index.d.ts +4 -4
  37. package/dist/esm/components/OrdinaryHeader/index.d.ts +2 -2
  38. package/dist/esm/components/Payment/AlipayNick.d.ts +5 -5
  39. package/dist/esm/components/Payment/AlipayNo.d.ts +5 -5
  40. package/dist/esm/components/Payment/AlipayTime.d.ts +6 -6
  41. package/dist/esm/components/Payment/AlipayTime.js +1 -1
  42. package/dist/esm/components/Payment/BuyerNick.d.ts +5 -5
  43. package/dist/esm/components/Payment/PaymentAmount.d.ts +5 -5
  44. package/dist/esm/components/Payment/PaymentStatus.d.ts +2 -2
  45. package/dist/esm/components/Payment/PaymentTid.d.ts +5 -5
  46. package/dist/esm/components/Payment/index.d.ts +5 -5
  47. package/dist/esm/components/Picture/index.d.ts +6 -6
  48. package/dist/esm/components/PlatForm/index.d.ts +3 -3
  49. package/dist/esm/components/Radio/index.d.ts +6 -6
  50. package/dist/esm/components/Rate/index.d.ts +6 -6
  51. package/dist/esm/components/ReceiverAddress/index.d.ts +6 -6
  52. package/dist/esm/components/ReceiverMobile/index.d.ts +5 -5
  53. package/dist/esm/components/ReceiverName/index.d.ts +5 -5
  54. package/dist/esm/components/Remark/index.d.ts +6 -6
  55. package/dist/esm/components/Select/index.d.ts +5 -5
  56. package/dist/esm/components/ShopInput/index.d.ts +2 -2
  57. package/dist/esm/components/ShopName/index.d.ts +5 -5
  58. package/dist/esm/components/Submitter/index.d.ts +2 -2
  59. package/dist/esm/components/SystemOrderNo/index.d.ts +5 -5
  60. package/dist/esm/components/TemplateSelect/index.d.ts +3 -3
  61. package/dist/esm/components/TextArea/index.d.ts +5 -5
  62. package/dist/esm/components/ThirdItemSelect/index.d.ts +5 -5
  63. package/dist/esm/components/TradeDateTime/index.d.ts +6 -6
  64. package/dist/esm/components/TradeId/index.d.ts +5 -5
  65. package/dist/esm/components/WorkOrderId/index.d.ts +4 -4
  66. package/package.json +4 -4
@@ -1,5 +1,5 @@
1
- /// <reference types="react" />
2
1
  import { ComponentInterface, PickOption, ColumnConfig, ALignType, Record } from '../../type';
2
+ import React from 'react';
3
3
  declare class JstSupply implements ComponentInterface {
4
4
  name: string;
5
5
  id: string;
@@ -10,12 +10,12 @@ declare class JstSupply implements ComponentInterface {
10
10
  isCombinationComponent: boolean;
11
11
  children: ComponentInterface[];
12
12
  constructor(options: PickOption);
13
- renderClient: (record: Record) => JSX.Element | null;
14
- renderPc: (value: any, record: Record) => JSX.Element;
15
- renderLog: (r: Record) => JSX.Element | null;
13
+ renderClient: (record: Record) => React.JSX.Element | null;
14
+ renderPc: (value: any, record: Record) => React.JSX.Element;
15
+ renderLog: (r: Record) => React.JSX.Element | null;
16
16
  getComponentValue: (r: Record) => any;
17
17
  renderExport: (value: any, record: any) => any;
18
- editRender: () => JSX.Element;
18
+ editRender: () => React.JSX.Element;
19
19
  filterConfig: (item: ColumnConfig) => {
20
20
  type: string;
21
21
  id: string;
@@ -1,5 +1,5 @@
1
- /// <reference types="react" />
2
1
  import { ComponentInterface, PickOption, ColumnConfig, Record } from '../../type';
2
+ import React from 'react';
3
3
  import { ExpressData } from '@kmkf-fe-packages/kmkf-utils';
4
4
  import Express from '../Express';
5
5
  import ExpressCode from '../ExpressCode';
@@ -15,10 +15,10 @@ declare class Logistics implements ComponentInterface {
15
15
  isCombinationComponent: boolean;
16
16
  children: ComponentInterface[];
17
17
  constructor(options: PickOption);
18
- editRender: (value: any) => JSX.Element;
19
- renderClient: (record: Record) => JSX.Element;
18
+ editRender: (value: any) => React.JSX.Element;
19
+ renderClient: (record: Record) => React.JSX.Element;
20
20
  renderPc: () => null;
21
- renderLog: (r: Record) => JSX.Element;
21
+ renderLog: (r: Record) => React.JSX.Element;
22
22
  getComponentValue: (r: Record) => {
23
23
  company: any;
24
24
  order: any;
@@ -1,5 +1,5 @@
1
- /// <reference types="react" />
2
1
  import { ComponentInterface, PickOption, ColumnConfig, Record } from '../../type';
2
+ import React from 'react';
3
3
  declare class BasicMultSelect implements ComponentInterface {
4
4
  name: string;
5
5
  id: string;
@@ -9,12 +9,12 @@ declare class BasicMultSelect implements ComponentInterface {
9
9
  isCombinationComponent: boolean;
10
10
  children: ComponentInterface[];
11
11
  constructor(options: PickOption);
12
- renderClient: (record: any) => JSX.Element | null;
13
- renderPc: (value: any, record: Record) => JSX.Element;
14
- renderLog: (r: Record) => JSX.Element | null;
12
+ renderClient: (record: any) => React.JSX.Element | null;
13
+ renderPc: (value: any, record: Record) => React.JSX.Element;
14
+ renderLog: (r: Record) => React.JSX.Element | null;
15
15
  getComponentValue: (r: Record) => any;
16
16
  renderExport: (value: any, record: Record) => any;
17
- editRender: () => JSX.Element;
17
+ editRender: () => React.JSX.Element;
18
18
  filterConfig: (item: ColumnConfig) => {
19
19
  type: string;
20
20
  id: string;
@@ -1,5 +1,5 @@
1
- /// <reference types="react" />
2
1
  import { ComponentInterface, PickOption, ColumnConfig, ALignType, Record } from '../../type';
2
+ import React from 'react';
3
3
  declare class OrdinaryHeader implements ComponentInterface {
4
4
  name: string;
5
5
  id: string;
@@ -12,12 +12,12 @@ declare class OrdinaryHeader implements ComponentInterface {
12
12
  isCombinationComponent: boolean;
13
13
  children: ComponentInterface[];
14
14
  constructor(options: PickOption);
15
- renderClient: (record: any) => JSX.Element | null;
15
+ renderClient: (record: any) => React.JSX.Element | null;
16
16
  renderPc: (value: unknown, r: Record) => any;
17
17
  renderLog: (r: Record) => any;
18
18
  getComponentValue: (r: Record) => any;
19
19
  renderExport: (value: any) => any;
20
- editRender: () => JSX.Element;
20
+ editRender: () => React.JSX.Element;
21
21
  filterConfig: (item: ColumnConfig) => {
22
22
  type: string;
23
23
  id: string;
@@ -1,5 +1,5 @@
1
- /// <reference types="react" />
2
1
  import { ComponentInterface, PickOption, ColumnConfig, ALignType, Record } from '../../type';
2
+ import React from 'react';
3
3
  declare class OrdinaryMoney implements ComponentInterface {
4
4
  name: string;
5
5
  id: string;
@@ -16,8 +16,8 @@ declare class OrdinaryMoney implements ComponentInterface {
16
16
  renderLog: (r: Record) => any;
17
17
  getComponentValue: (r: Record) => any;
18
18
  renderExport: (value: any) => any;
19
- renderClient: (record: any) => JSX.Element | null;
20
- editRender: () => JSX.Element;
19
+ renderClient: (record: any) => React.JSX.Element | null;
20
+ editRender: () => React.JSX.Element;
21
21
  filterConfig: (item: ColumnConfig) => {
22
22
  type: string;
23
23
  id: string;
@@ -1,5 +1,5 @@
1
- /// <reference types="react" />
2
1
  import { ComponentInterface, PickOption, DataType, ALignType, Record, ColumnConfig } from '../../type';
2
+ import React from 'react';
3
3
  declare class OrdinarySerial implements ComponentInterface {
4
4
  name: string;
5
5
  id: string;
@@ -17,12 +17,12 @@ declare class OrdinarySerial implements ComponentInterface {
17
17
  isCombinationComponent: boolean;
18
18
  children: ComponentInterface[];
19
19
  constructor(options: PickOption);
20
- renderClient: (record: any) => JSX.Element | null;
20
+ renderClient: (record: any) => React.JSX.Element | null;
21
21
  renderPc: (value: unknown, r: Record) => any;
22
22
  renderLog: (r: Record) => any;
23
23
  getComponentValue: (r: Record) => any;
24
24
  renderExport: (value: any) => any;
25
- editRender: () => JSX.Element;
25
+ editRender: () => React.JSX.Element;
26
26
  filterConfig: (item: ColumnConfig) => {
27
27
  type: string;
28
28
  id: string;
@@ -1,5 +1,5 @@
1
- /// <reference types="react" />
2
1
  import { ComponentInterface, PickOption, DataType, Record, ColumnConfig } from '../../type';
2
+ import React from 'react';
3
3
  import OrdinaryHeader from './OrdinaryHeader';
4
4
  import OrdinaryMoney from './OrdinaryMoney';
5
5
  import OrdinarySerial from './OrdinarySerial';
@@ -20,16 +20,16 @@ declare class Ordinary implements ComponentInterface {
20
20
  isCombinationComponent: boolean;
21
21
  children: ComponentInterface[];
22
22
  constructor(options: PickOption);
23
- editRender: () => JSX.Element;
23
+ editRender: () => React.JSX.Element;
24
24
  renderPc: () => null;
25
- renderLog: (r: Record) => JSX.Element;
25
+ renderLog: (r: Record) => React.JSX.Element;
26
26
  getComponentValue: (r: Record) => {
27
27
  ordinaryMoney: any;
28
28
  ordinarySerial: any;
29
29
  ordinaryTaitou: any;
30
30
  };
31
31
  renderExport: () => null;
32
- renderClient: (record: any) => JSX.Element;
32
+ renderClient: (record: any) => React.JSX.Element;
33
33
  filterConfig: (item: ColumnConfig) => {
34
34
  type: string;
35
35
  id: string;
@@ -1,7 +1,7 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  declare const OrdinaryHeaderWrap: (props: JSX.IntrinsicAttributes & {
3
3
  value?: any;
4
4
  onChange?: any;
5
5
  handleChangeSerial: any;
6
- }) => JSX.Element;
6
+ }) => React.JSX.Element;
7
7
  export default OrdinaryHeaderWrap;
@@ -1,5 +1,5 @@
1
- /// <reference types="react" />
2
1
  import { ComponentInterface, PickOption, ColumnConfig, ALignType, Record } from '../../type';
2
+ import React from 'react';
3
3
  declare class PaymentTid implements ComponentInterface {
4
4
  name: string;
5
5
  id: string;
@@ -12,12 +12,12 @@ declare class PaymentTid implements ComponentInterface {
12
12
  isCombinationComponent: boolean;
13
13
  children: ComponentInterface[];
14
14
  constructor(options: PickOption);
15
- renderClient: (record: any) => JSX.Element | null;
16
- renderPc: (value: unknown, record: Record) => JSX.Element;
17
- renderLog: (r: Record) => JSX.Element | null;
15
+ renderClient: (record: any) => React.JSX.Element | null;
16
+ renderPc: (value: unknown, record: Record) => React.JSX.Element;
17
+ renderLog: (r: Record) => React.JSX.Element | null;
18
18
  getComponentValue: (r: Record) => any;
19
19
  renderExport: (value: any, record: Record) => any;
20
- editRender: () => JSX.Element;
20
+ editRender: () => React.JSX.Element;
21
21
  filterConfig: (item: ColumnConfig) => {
22
22
  type: string;
23
23
  id: string;
@@ -1,5 +1,5 @@
1
- /// <reference types="react" />
2
1
  import { ComponentInterface, PickOption, ColumnConfig, ALignType, Record } from '../../type';
2
+ import React from 'react';
3
3
  declare class AlipayNo implements ComponentInterface {
4
4
  name: string;
5
5
  id: string;
@@ -12,12 +12,12 @@ declare class AlipayNo implements ComponentInterface {
12
12
  isCombinationComponent: boolean;
13
13
  children: ComponentInterface[];
14
14
  constructor(options: PickOption);
15
- renderClient: (record: any) => JSX.Element | null;
16
- renderPc: (value: unknown, record: any) => JSX.Element;
17
- renderLog: (r: Record) => JSX.Element | null;
15
+ renderClient: (record: any) => React.JSX.Element | null;
16
+ renderPc: (value: unknown, record: any) => React.JSX.Element;
17
+ renderLog: (r: Record) => React.JSX.Element | null;
18
18
  getComponentValue: (r: Record) => any;
19
19
  renderExport: (value: any, record: Record) => any;
20
- editRender: () => JSX.Element;
20
+ editRender: () => React.JSX.Element;
21
21
  filterConfig: (item: ColumnConfig) => {
22
22
  type: string;
23
23
  id: string;
@@ -1,5 +1,5 @@
1
- /// <reference types="react" />
2
1
  import { ComponentInterface, PickOption, ColumnConfig, ALignType, Record } from '../../type';
2
+ import React from 'react';
3
3
  declare class AlipayTime implements ComponentInterface {
4
4
  name: string;
5
5
  id: string;
@@ -11,17 +11,17 @@ declare class AlipayTime implements ComponentInterface {
11
11
  isCombinationComponent: boolean;
12
12
  children: ComponentInterface[];
13
13
  constructor(options: PickOption);
14
- renderClient: (record: Record) => JSX.Element | null;
15
- renderPc: (value: unknown, record: Record) => JSX.Element;
16
- renderLog: (r: Record) => JSX.Element | null;
14
+ renderClient: (record: Record) => React.JSX.Element | null;
15
+ renderPc: (value: unknown, record: Record) => React.JSX.Element;
16
+ renderLog: (r: Record) => React.JSX.Element | null;
17
17
  getComponentValue: (r: Record) => any;
18
18
  renderExport: (value: string) => string | null;
19
- editRender: () => JSX.Element;
19
+ editRender: () => React.JSX.Element;
20
20
  filterConfig: (item: ColumnConfig) => {
21
21
  type: string;
22
22
  id: string;
23
23
  name: string;
24
- filterComponentType: "Input";
24
+ filterComponentType: "Date";
25
25
  filterFn: (value: string[]) => (i: Record) => boolean;
26
26
  };
27
27
  }
@@ -63,7 +63,7 @@ var AlipayTime = /*#__PURE__*/_createClass(function AlipayTime(options) {
63
63
  type: item.type,
64
64
  id: "".concat(item.id, "_enterprisePaymentTime"),
65
65
  name: "".concat(item.name, "-\u6253\u6B3E\u65F6\u95F4"),
66
- filterComponentType: 'Input',
66
+ filterComponentType: 'Date',
67
67
  filterFn: function filterFn(value) {
68
68
  return function (i) {
69
69
  var recordDateTime = _filterFn.filterTableListItemColumnValue(i, item.id, 'enterprisePaymentTime');
@@ -1,5 +1,5 @@
1
- /// <reference types="react" />
2
1
  import { ComponentInterface, PickOption, ColumnConfig, ALignType, Record } from '../../type';
2
+ import React from 'react';
3
3
  declare class BuyerNick implements ComponentInterface {
4
4
  name: string;
5
5
  id: string;
@@ -12,10 +12,10 @@ declare class BuyerNick implements ComponentInterface {
12
12
  isCombinationComponent: boolean;
13
13
  children: ComponentInterface[];
14
14
  constructor(options: PickOption);
15
- renderClient: (record: Record) => JSX.Element | null;
16
- editRender: () => JSX.Element;
17
- renderPc: (value: unknown, record: Record) => JSX.Element;
18
- renderLog: (r: Record) => JSX.Element | null;
15
+ renderClient: (record: Record) => React.JSX.Element | null;
16
+ editRender: () => React.JSX.Element;
17
+ renderPc: (value: unknown, record: Record) => React.JSX.Element;
18
+ renderLog: (r: Record) => React.JSX.Element | null;
19
19
  getComponentValue: (r: Record) => any;
20
20
  renderExport: (value: string) => string;
21
21
  filterConfig: (item: ColumnConfig) => {
@@ -1,5 +1,5 @@
1
- /// <reference types="react" />
2
1
  import { ComponentInterface, PickOption, ColumnConfig, ALignType, Record } from '../../type';
2
+ import React from 'react';
3
3
  declare class PaymentAmount implements ComponentInterface {
4
4
  name: string;
5
5
  id: string;
@@ -11,12 +11,12 @@ declare class PaymentAmount implements ComponentInterface {
11
11
  isCombinationComponent: boolean;
12
12
  children: ComponentInterface[];
13
13
  constructor(options: PickOption);
14
- renderClient: (record: Record) => JSX.Element | null;
15
- renderPc: (value: unknown, record: Record) => JSX.Element;
16
- renderLog: (r: Record) => JSX.Element | null;
14
+ renderClient: (record: Record) => React.JSX.Element | null;
15
+ renderPc: (value: unknown, record: Record) => React.JSX.Element;
16
+ renderLog: (r: Record) => React.JSX.Element | null;
17
17
  getComponentValue: (r: Record) => any;
18
18
  renderExport: (value: string) => string;
19
- editRender: () => JSX.Element;
19
+ editRender: () => React.JSX.Element;
20
20
  filterConfig: (item: ColumnConfig) => {
21
21
  type: string;
22
22
  id: string;
@@ -1,5 +1,5 @@
1
- /// <reference types="react" />
2
1
  import { ComponentInterface, PickOption, ColumnConfig, ALignType, Record } from '../../type';
2
+ import React from 'react';
3
3
  declare class PaymentStatus implements ComponentInterface {
4
4
  name: string;
5
5
  id: string;
@@ -18,7 +18,7 @@ declare class PaymentStatus implements ComponentInterface {
18
18
  isCombinationComponent: boolean;
19
19
  children: ComponentInterface[];
20
20
  constructor(options: PickOption);
21
- renderClient: (record: any) => JSX.Element | null;
21
+ renderClient: (record: any) => React.JSX.Element | null;
22
22
  renderPc: (value: unknown, record: any) => any;
23
23
  renderLog: (r: Record) => any;
24
24
  getComponentValue: (r: Record) => any;
@@ -1,5 +1,5 @@
1
- /// <reference types="react" />
2
1
  import { ComponentInterface, PickOption, ColumnConfig, ALignType, Record } from '../../type';
2
+ import React from 'react';
3
3
  declare class PaymentTid implements ComponentInterface {
4
4
  name: string;
5
5
  id: string;
@@ -11,12 +11,12 @@ declare class PaymentTid implements ComponentInterface {
11
11
  isCombinationComponent: boolean;
12
12
  children: ComponentInterface[];
13
13
  constructor(options: PickOption);
14
- renderClient: (record: any) => JSX.Element | null;
15
- renderPc: (value: unknown, record: any) => JSX.Element;
16
- renderLog: (r: Record) => JSX.Element | null;
14
+ renderClient: (record: any) => React.JSX.Element | null;
15
+ renderPc: (value: unknown, record: any) => React.JSX.Element;
16
+ renderLog: (r: Record) => React.JSX.Element | null;
17
17
  getComponentValue: (r: Record) => any;
18
18
  renderExport: (value: string) => string;
19
- editRender: () => JSX.Element;
19
+ editRender: () => React.JSX.Element;
20
20
  filterConfig: (item: ColumnConfig) => {
21
21
  type: string;
22
22
  id: string;
@@ -1,5 +1,5 @@
1
- /// <reference types="react" />
2
1
  import { ComponentInterface, PickOption, ColumnConfig, Record } from '../../type';
2
+ import React from 'react';
3
3
  import AlipayNick from './AlipayNick';
4
4
  import AlipayNo from './AlipayNo';
5
5
  import AlipayTime from './AlipayTime';
@@ -23,9 +23,9 @@ declare class Logistics implements ComponentInterface {
23
23
  isCombinationComponent: boolean;
24
24
  children: ComponentInterface[];
25
25
  constructor(options: PickOption);
26
- renderClient: (record: any) => JSX.Element;
26
+ renderClient: (record: any) => React.JSX.Element;
27
27
  renderPc: () => null;
28
- renderLog: (record: Record) => JSX.Element;
28
+ renderLog: (record: Record) => React.JSX.Element;
29
29
  getComponentValue: (r: Record) => {
30
30
  enterprisePaymentAlipayNick: any;
31
31
  enterprisePaymentAlipayNo: any;
@@ -36,7 +36,7 @@ declare class Logistics implements ComponentInterface {
36
36
  enterprisePaymentTime: any;
37
37
  };
38
38
  renderExport: () => null;
39
- editRender: (value: any) => JSX.Element;
39
+ editRender: (value: any) => React.JSX.Element;
40
40
  filterConfig: (item: ColumnConfig) => ({
41
41
  type: string;
42
42
  id: string;
@@ -57,7 +57,7 @@ declare class Logistics implements ComponentInterface {
57
57
  type: string;
58
58
  id: string;
59
59
  name: string;
60
- filterComponentType: "Input";
60
+ filterComponentType: "Date";
61
61
  filterFn: (value: string[]) => (i: Record) => boolean;
62
62
  })[];
63
63
  }
@@ -1,5 +1,5 @@
1
- /// <reference types="react" />
2
1
  import { ComponentInterface, PickOption, Record } from '../../type';
2
+ import React from 'react';
3
3
  declare type Value = string[] | undefined;
4
4
  declare class BasicPicture implements ComponentInterface {
5
5
  name: string;
@@ -11,12 +11,12 @@ declare class BasicPicture implements ComponentInterface {
11
11
  children: ComponentInterface[];
12
12
  constructor(options: PickOption);
13
13
  formatPictures: (pictures: string) => string[];
14
- render: (value: Value) => JSX.Element | null;
15
- renderPc: (value: any, record: Record) => JSX.Element | JSX.Element[];
16
- renderLog: (r: Record) => JSX.Element | JSX.Element[] | null;
14
+ render: (value: Value) => React.JSX.Element | null;
15
+ renderPc: (value: any, record: Record) => React.JSX.Element | React.JSX.Element[];
16
+ renderLog: (r: Record) => React.JSX.Element | React.JSX.Element[] | null;
17
17
  getComponentValue: (r: Record) => any;
18
- renderClient: (record: any) => JSX.Element | null;
19
- editRender: () => JSX.Element;
18
+ renderClient: (record: any) => React.JSX.Element | null;
19
+ editRender: () => React.JSX.Element;
20
20
  /**
21
21
  *
22
22
  * @returns 图片类型的导出需要在导出时单独处理
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { ComponentInterface, ColumnConfig, Record } from '../../type';
3
3
  import { PlatData } from '@kmkf-fe-packages/kmkf-utils';
4
4
  declare class PlatForm implements ComponentInterface {
@@ -10,9 +10,9 @@ declare class PlatForm implements ComponentInterface {
10
10
  children: ComponentInterface[];
11
11
  platInstance: PlatData;
12
12
  constructor();
13
- renderPc: (value: any, record: Record) => JSX.Element;
13
+ renderPc: (value: any, record: Record) => React.JSX.Element;
14
14
  renderExport: (value: any, record: Record) => string;
15
- renderLog: (r: Record) => JSX.Element | null;
15
+ renderLog: (r: Record) => React.JSX.Element | null;
16
16
  getComponentValue: (r: Record) => any;
17
17
  renderClient: () => null;
18
18
  editRender: () => null;
@@ -1,5 +1,5 @@
1
- /// <reference types="react" />
2
1
  import { ComponentInterface, PickOption, ColumnConfig, Record } from '../../type';
2
+ import React from 'react';
3
3
  declare type Value = {
4
4
  value?: string;
5
5
  other?: string;
@@ -13,16 +13,16 @@ declare class BasicRadio implements ComponentInterface {
13
13
  isCombinationComponent: boolean;
14
14
  children: ComponentInterface[];
15
15
  constructor(options: PickOption);
16
- render: (value: Value) => JSX.Element;
17
- renderPc: (value: any, record: Record) => JSX.Element;
18
- renderLog: (r: Record) => JSX.Element | null;
16
+ render: (value: Value) => React.JSX.Element;
17
+ renderPc: (value: any, record: Record) => React.JSX.Element;
18
+ renderLog: (r: Record) => React.JSX.Element | null;
19
19
  getComponentValue: (r: Record) => {
20
20
  value: any;
21
21
  other: any;
22
22
  };
23
23
  renderExport: (value: any, record: Record) => string;
24
- renderClient: (record: Record) => JSX.Element | null;
25
- editRender: () => JSX.Element;
24
+ renderClient: (record: Record) => React.JSX.Element | null;
25
+ editRender: () => React.JSX.Element;
26
26
  filterConfig: (item: ColumnConfig) => {
27
27
  type: string;
28
28
  id: string;
@@ -1,5 +1,5 @@
1
- /// <reference types="react" />
2
1
  import { ComponentInterface, PickOption, Record } from '../../type';
2
+ import React from 'react';
3
3
  declare type Value = {
4
4
  name: string;
5
5
  value: number;
@@ -17,13 +17,13 @@ declare class BasicRate implements ComponentInterface {
17
17
  isCombinationComponent: boolean;
18
18
  children: ComponentInterface[];
19
19
  constructor(options: PickOption);
20
- render: (value: Value) => JSX.Element;
21
- renderClient: (record: Record) => JSX.Element | null;
22
- renderPc: (value: any, record: Record) => JSX.Element | null;
23
- renderLog: (r: Record) => JSX.Element | null;
20
+ render: (value: Value) => React.JSX.Element;
21
+ renderClient: (record: Record) => React.JSX.Element | null;
22
+ renderPc: (value: any, record: Record) => React.JSX.Element | null;
23
+ renderLog: (r: Record) => React.JSX.Element | null;
24
24
  getComponentValue: (r: Record) => any;
25
25
  renderExport: (value: any, record: any) => any;
26
- editRender: () => JSX.Element;
26
+ editRender: () => React.JSX.Element;
27
27
  filterConfig: () => never[];
28
28
  }
29
29
  export default BasicRate;
@@ -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 = {
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) => JSX.Element;
19
+ render: (value: Value) => React.JSX.Element;
20
20
  transTextToNumber: (value?: string) => string | number | undefined;
21
- renderPc: (value: any, record: Record) => JSX.Element;
22
- renderLog: (r: Record) => JSX.Element | null;
21
+ renderPc: (value: any, record: Record) => React.JSX.Element;
22
+ renderLog: (r: Record) => React.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) => JSX.Element | null;
29
- editRender: () => JSX.Element;
28
+ renderClient: (record: any) => React.JSX.Element | null;
29
+ editRender: () => React.JSX.Element;
30
30
  filterConfig: () => never[];
31
31
  }
32
32
  export default BasicInput;
@@ -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 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) => JSX.Element | null;
14
- renderPc: (value: any, record: Record) => JSX.Element;
15
- renderLog: (r: Record) => JSX.Element | null;
13
+ renderClient: (record: Record) => React.JSX.Element | null;
14
+ renderPc: (value: any, record: Record) => React.JSX.Element;
15
+ renderLog: (r: Record) => React.JSX.Element | null;
16
16
  getComponentValue: (r: Record) => any;
17
17
  renderExport: (value: any, record: Record) => any;
18
- editRender: (value: any) => JSX.Element;
18
+ editRender: (value: any) => React.JSX.Element;
19
19
  filterConfig: (item: ColumnConfig) => {
20
20
  type: string;
21
21
  id: string;
@@ -1,5 +1,5 @@
1
- /// <reference types="react" />
2
1
  import { ComponentInterface, PickOption, ColumnConfig, Record } from '../../type';
2
+ import React from 'react';
3
3
  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) => JSX.Element | null;
14
- renderPc: (value: any, record: Record) => JSX.Element;
15
- renderLog: (r: Record) => JSX.Element | null;
13
+ renderClient: (record: any) => React.JSX.Element | null;
14
+ renderPc: (value: any, record: Record) => React.JSX.Element;
15
+ renderLog: (r: Record) => React.JSX.Element | null;
16
16
  getComponentValue: (r: Record) => any;
17
17
  renderExport: (value: any, record: 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,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
  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) => JSX.Element;
19
- renderClient: (record: Record) => JSX.Element | null;
20
- renderPc: (value: unknown, record: Record) => JSX.Element;
21
- renderLog: (r: Record) => JSX.Element | null;
18
+ render: (value: Value) => React.JSX.Element;
19
+ renderClient: (record: Record) => React.JSX.Element | null;
20
+ renderPc: (value: unknown, record: Record) => React.JSX.Element;
21
+ renderLog: (r: Record) => React.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: () => JSX.Element;
27
+ editRender: () => React.JSX.Element;
28
28
  filterConfig: (item: ColumnConfig) => {
29
29
  type: string;
30
30
  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 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: () => JSX.Element;
13
- renderClient: (record: any) => JSX.Element | null;
14
- renderPc: (value: any, record: Record) => JSX.Element;
15
- renderLog: (r: Record) => JSX.Element | null;
12
+ editRender: () => React.JSX.Element;
13
+ renderClient: (record: any) => React.JSX.Element | null;
14
+ renderPc: (value: any, record: Record) => React.JSX.Element;
15
+ renderLog: (r: Record) => React.JSX.Element | null;
16
16
  getComponentValue: (r: Record) => any;
17
17
  renderExport: (value: any, record: Record) => any;
18
18
  filterConfig: (item: ColumnConfig) => {
@@ -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 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) => JSX.Element;
12
+ renderPc: (shopName: unknown, record: any) => React.JSX.Element;
13
13
  renderLog: (record: Record) => any;
14
14
  getComponentValue: (r: Record) => any;
15
15
  renderExport: (value: any, record: Record) => any;