@kmkf-fe-packages/services-components 0.5.2-alpha.0 → 0.5.2-alpha.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 (116) hide show
  1. package/dist/esm/components/ActualPayment/index.d.ts +3 -12
  2. package/dist/esm/components/ActualPayment/index.js +5 -22
  3. package/dist/esm/components/Address/index.d.ts +3 -12
  4. package/dist/esm/components/Address/index.js +4 -20
  5. package/dist/esm/components/Alipay/index.d.ts +3 -18
  6. package/dist/esm/components/Alipay/index.js +4 -18
  7. package/dist/esm/components/AlipayAccount/index.d.ts +3 -13
  8. package/dist/esm/components/AlipayAccount/index.js +4 -21
  9. package/dist/esm/components/AlipayName/index.d.ts +3 -13
  10. package/dist/esm/components/AlipayName/index.js +4 -21
  11. package/dist/esm/components/BuyerNick/index.d.ts +3 -12
  12. package/dist/esm/components/BuyerNick/index.js +4 -22
  13. package/dist/esm/components/Cascader/index.d.ts +3 -24
  14. package/dist/esm/components/Cascader/index.js +12 -27
  15. package/dist/esm/components/Checkbox/index.d.ts +3 -11
  16. package/dist/esm/components/Checkbox/index.js +4 -20
  17. package/dist/esm/components/CommonDataTime/index.d.ts +3 -11
  18. package/dist/esm/components/CommonDataTime/index.js +4 -20
  19. package/dist/esm/components/DataTime/index.d.ts +3 -11
  20. package/dist/esm/components/DataTime/index.js +5 -23
  21. package/dist/esm/components/EItemEnCode/index.d.ts +3 -11
  22. package/dist/esm/components/EItemEnCode/index.js +4 -20
  23. package/dist/esm/components/EItemId/index.d.ts +3 -11
  24. package/dist/esm/components/EItemId/index.js +4 -20
  25. package/dist/esm/components/EItemSelect/index.d.ts +3 -11
  26. package/dist/esm/components/EItemSelect/index.js +4 -20
  27. package/dist/esm/components/ErpTradeId/index.d.ts +3 -12
  28. package/dist/esm/components/ErpTradeId/index.js +4 -21
  29. package/dist/esm/components/Express/index.d.ts +3 -14
  30. package/dist/esm/components/Express/index.js +4 -29
  31. package/dist/esm/components/ExpressCode/index.d.ts +3 -13
  32. package/dist/esm/components/ExpressCode/index.js +4 -22
  33. package/dist/esm/components/FlowStatusSelect/index.d.ts +4 -34
  34. package/dist/esm/components/FlowStatusSelect/index.js +4 -21
  35. package/dist/esm/components/Grade/index.d.ts +3 -11
  36. package/dist/esm/components/Grade/index.js +4 -20
  37. package/dist/esm/components/Input/index.d.ts +3 -12
  38. package/dist/esm/components/Input/index.js +6 -24
  39. package/dist/esm/components/JstItemSelect/index.d.ts +3 -11
  40. package/dist/esm/components/JstItemSelect/index.js +4 -20
  41. package/dist/esm/components/JstLogistics/index.d.ts +3 -11
  42. package/dist/esm/components/JstLogistics/index.js +4 -20
  43. package/dist/esm/components/JstSendGood/index.d.ts +3 -11
  44. package/dist/esm/components/JstSendGood/index.js +4 -20
  45. package/dist/esm/components/JstSupply/index.d.ts +3 -11
  46. package/dist/esm/components/JstSupply/index.js +4 -20
  47. package/dist/esm/components/Logistics/index.d.ts +3 -25
  48. package/dist/esm/components/Logistics/index.js +4 -18
  49. package/dist/esm/components/LogisticsInterception/InterceptAddress.d.ts +24 -0
  50. package/dist/esm/components/LogisticsInterception/InterceptAddress.js +85 -0
  51. package/dist/esm/components/LogisticsInterception/index.d.ts +22 -0
  52. package/dist/esm/components/LogisticsInterception/index.js +73 -0
  53. package/dist/esm/components/MultSelect/index.d.ts +3 -11
  54. package/dist/esm/components/MultSelect/index.js +4 -20
  55. package/dist/esm/components/Ordinary/OrdinaryHeader.d.ts +3 -22
  56. package/dist/esm/components/Ordinary/OrdinaryHeader.js +4 -28
  57. package/dist/esm/components/Ordinary/OrdinaryMoney.d.ts +3 -22
  58. package/dist/esm/components/Ordinary/OrdinaryMoney.js +4 -28
  59. package/dist/esm/components/Ordinary/OrdinarySerial.d.ts +2 -16
  60. package/dist/esm/components/Ordinary/OrdinarySerial.js +4 -18
  61. package/dist/esm/components/Ordinary/index.d.ts +2 -21
  62. package/dist/esm/components/Ordinary/index.js +4 -8
  63. package/dist/esm/components/Payment/AlipayNick.d.ts +3 -22
  64. package/dist/esm/components/Payment/AlipayNick.js +4 -28
  65. package/dist/esm/components/Payment/AlipayNo.d.ts +3 -21
  66. package/dist/esm/components/Payment/AlipayNo.js +4 -27
  67. package/dist/esm/components/Payment/AlipayTime.d.ts +3 -23
  68. package/dist/esm/components/Payment/AlipayTime.js +4 -29
  69. package/dist/esm/components/Payment/BuyerNick.d.ts +3 -22
  70. package/dist/esm/components/Payment/BuyerNick.js +4 -28
  71. package/dist/esm/components/Payment/PaymentAmount.d.ts +3 -22
  72. package/dist/esm/components/Payment/PaymentAmount.js +4 -28
  73. package/dist/esm/components/Payment/PaymentStatus.d.ts +3 -31
  74. package/dist/esm/components/Payment/PaymentStatus.js +4 -39
  75. package/dist/esm/components/Payment/PaymentTid.d.ts +3 -22
  76. package/dist/esm/components/Payment/PaymentTid.js +4 -28
  77. package/dist/esm/components/Payment/index.d.ts +3 -96
  78. package/dist/esm/components/Payment/index.js +4 -18
  79. package/dist/esm/components/Picture/index.d.ts +3 -10
  80. package/dist/esm/components/Picture/index.js +4 -19
  81. package/dist/esm/components/Radio/index.d.ts +3 -11
  82. package/dist/esm/components/Radio/index.js +4 -20
  83. package/dist/esm/components/Rate/index.d.ts +3 -11
  84. package/dist/esm/components/Rate/index.js +4 -20
  85. package/dist/esm/components/ReceiverAddress/index.d.ts +3 -12
  86. package/dist/esm/components/ReceiverAddress/index.js +4 -20
  87. package/dist/esm/components/ReceiverMobile/index.d.ts +3 -12
  88. package/dist/esm/components/ReceiverMobile/index.js +4 -21
  89. package/dist/esm/components/ReceiverName/index.d.ts +3 -12
  90. package/dist/esm/components/ReceiverName/index.js +4 -21
  91. package/dist/esm/components/Remark/index.d.ts +3 -12
  92. package/dist/esm/components/Remark/index.js +4 -21
  93. package/dist/esm/components/ReturnLogistics/index.d.ts +2 -19
  94. package/dist/esm/components/ReturnLogistics/index.js +4 -8
  95. package/dist/esm/components/Select/index.d.ts +3 -11
  96. package/dist/esm/components/Select/index.js +4 -20
  97. package/dist/esm/components/ShopName/index.d.ts +3 -12
  98. package/dist/esm/components/ShopName/index.js +4 -20
  99. package/dist/esm/components/SystemOrderNo/index.d.ts +3 -12
  100. package/dist/esm/components/SystemOrderNo/index.js +4 -21
  101. package/dist/esm/components/TemplateSelect/index.d.ts +3 -12
  102. package/dist/esm/components/TemplateSelect/index.js +4 -21
  103. package/dist/esm/components/TextArea/index.d.ts +3 -11
  104. package/dist/esm/components/TextArea/index.js +4 -20
  105. package/dist/esm/components/ThirdItemSelect/index.d.ts +3 -11
  106. package/dist/esm/components/ThirdItemSelect/index.js +4 -20
  107. package/dist/esm/components/TradeDateTime/index.d.ts +2 -5
  108. package/dist/esm/components/TradeDateTime/index.js +4 -10
  109. package/dist/esm/components/TradeId/index.d.ts +2 -5
  110. package/dist/esm/components/TradeId/index.js +4 -10
  111. package/dist/esm/components/WorkOrderId/index.d.ts +3 -12
  112. package/dist/esm/components/WorkOrderId/index.js +4 -21
  113. package/dist/esm/index.d.ts +1 -0
  114. package/dist/esm/index.js +2 -1
  115. package/dist/esm/type.d.ts +3 -30
  116. package/package.json +3 -3
@@ -1,40 +1,21 @@
1
1
  /// <reference types="react" />
2
- import { ComponentInterface, PickOption, DataType, ALignType } from '../../type';
2
+ import { ComponentInterface, PickOption, ALignType } from '../../type';
3
3
  declare class OrdinaryMoney implements ComponentInterface {
4
4
  name: string;
5
5
  id: string;
6
6
  type: string;
7
7
  rules: any[];
8
- canFilter: boolean;
9
- canGroup: boolean;
10
- canHidden: boolean;
11
- dataType: DataType;
12
- showContains: boolean;
13
8
  componentConfig: ComponentInterface["componentConfig"];
14
9
  effects: ComponentInterface["effects"];
15
10
  align: ALignType;
16
11
  width: number;
12
+ isCombinationComponent: boolean;
13
+ children: ComponentInterface[];
17
14
  constructor(options: PickOption);
18
15
  render: (value: string) => JSX.Element;
19
16
  renderPc: (value: any) => any;
20
17
  renderExport: (value: any) => any;
21
18
  renderClient: (record: any) => JSX.Element | null;
22
19
  editRender: () => JSX.Element;
23
- getColumns: () => {
24
- title: string;
25
- align: ALignType;
26
- dataIndex: string;
27
- dataType: DataType;
28
- canHidden: boolean;
29
- canFilter: boolean;
30
- canGroup: boolean;
31
- type: string;
32
- render: (value: any) => any;
33
- renderPc: (value: any) => any;
34
- componentType: () => JSX.Element;
35
- showContains: boolean;
36
- renderExport: (value: any) => any;
37
- width: number;
38
- };
39
20
  }
40
21
  export default OrdinaryMoney;
@@ -17,15 +17,12 @@ var OrdinaryMoney = /*#__PURE__*/_createClass(function OrdinaryMoney(options) {
17
17
  _defineProperty(this, "id", void 0);
18
18
  _defineProperty(this, "type", void 0);
19
19
  _defineProperty(this, "rules", void 0);
20
- _defineProperty(this, "canFilter", void 0);
21
- _defineProperty(this, "canGroup", void 0);
22
- _defineProperty(this, "canHidden", void 0);
23
- _defineProperty(this, "dataType", void 0);
24
- _defineProperty(this, "showContains", void 0);
25
20
  _defineProperty(this, "componentConfig", void 0);
26
21
  _defineProperty(this, "effects", void 0);
27
22
  _defineProperty(this, "align", void 0);
28
23
  _defineProperty(this, "width", void 0);
24
+ _defineProperty(this, "isCombinationComponent", void 0);
25
+ _defineProperty(this, "children", void 0);
29
26
  _defineProperty(this, "render", function (value) {
30
27
  return /*#__PURE__*/React.createElement("span", null, value);
31
28
  });
@@ -52,32 +49,9 @@ var OrdinaryMoney = /*#__PURE__*/_createClass(function OrdinaryMoney(options) {
52
49
  component: /*#__PURE__*/React.createElement(ApaasInput, _this.componentConfig)
53
50
  });
54
51
  });
55
- _defineProperty(this, "getColumns", function () {
56
- return {
57
- title: _this.name,
58
- align: _this.align,
59
- dataIndex: _this.id,
60
- dataType: _this.dataType,
61
- canHidden: _this.canHidden,
62
- canFilter: _this.canFilter,
63
- canGroup: _this.canGroup,
64
- type: _this.type,
65
- render: _this.renderPc,
66
- renderPc: _this.renderPc,
67
- componentType: _this.editRender,
68
- showContains: _this.showContains,
69
- renderExport: _this.renderExport,
70
- width: _this.width
71
- };
72
- });
73
52
  this.name = '开票金额';
74
53
  this.id = "".concat(options.id, "_ordinaryMoney");
75
54
  this.type = options.type;
76
- this.canFilter = true;
77
- this.canGroup = true;
78
- this.canHidden = false;
79
- this.showContains = false;
80
- this.dataType = 'number';
81
55
  this.componentConfig = options.componentConfig;
82
56
  this.rules = [{
83
57
  validator: function validator(_, value) {
@@ -90,5 +64,7 @@ var OrdinaryMoney = /*#__PURE__*/_createClass(function OrdinaryMoney(options) {
90
64
  this.align = 'left';
91
65
  this.effects = options.effects;
92
66
  this.width = 200;
67
+ this.isCombinationComponent = false;
68
+ this.children = [];
93
69
  });
94
70
  export default OrdinaryMoney;
@@ -14,27 +14,13 @@ declare class OrdinarySerial implements ComponentInterface {
14
14
  effects: ComponentInterface["effects"];
15
15
  align: ALignType;
16
16
  width: number;
17
+ isCombinationComponent: boolean;
18
+ children: ComponentInterface[];
17
19
  constructor(options: PickOption);
18
20
  render: (value: string) => JSX.Element;
19
21
  renderClient: (record: any) => JSX.Element | null;
20
22
  renderPc: (value: any) => any;
21
23
  renderExport: (value: any) => any;
22
24
  editRender: () => JSX.Element;
23
- getColumns: () => {
24
- title: string;
25
- align: ALignType;
26
- dataIndex: string;
27
- dataType: DataType;
28
- canHidden: boolean;
29
- canFilter: boolean;
30
- canGroup: boolean;
31
- type: string;
32
- render: (value: any) => any;
33
- renderPc: (value: any) => any;
34
- componentType: () => JSX.Element;
35
- showContains: boolean;
36
- renderExport: (value: any) => any;
37
- width: number;
38
- };
39
25
  }
40
26
  export default OrdinarySerial;
@@ -26,6 +26,8 @@ var OrdinarySerial = /*#__PURE__*/_createClass(function OrdinarySerial(options)
26
26
  _defineProperty(this, "effects", void 0);
27
27
  _defineProperty(this, "align", void 0);
28
28
  _defineProperty(this, "width", void 0);
29
+ _defineProperty(this, "isCombinationComponent", void 0);
30
+ _defineProperty(this, "children", void 0);
29
31
  _defineProperty(this, "render", function (value) {
30
32
  return /*#__PURE__*/React.createElement("span", null, value);
31
33
  });
@@ -52,24 +54,6 @@ var OrdinarySerial = /*#__PURE__*/_createClass(function OrdinarySerial(options)
52
54
  component: /*#__PURE__*/React.createElement(ApaasInput, _this.componentConfig)
53
55
  });
54
56
  });
55
- _defineProperty(this, "getColumns", function () {
56
- return {
57
- title: _this.name,
58
- align: _this.align,
59
- dataIndex: _this.id,
60
- dataType: _this.dataType,
61
- canHidden: _this.canHidden,
62
- canFilter: _this.canFilter,
63
- canGroup: _this.canGroup,
64
- type: _this.type,
65
- render: _this.renderPc,
66
- renderPc: _this.renderPc,
67
- componentType: _this.editRender,
68
- showContains: _this.showContains,
69
- renderExport: _this.renderExport,
70
- width: _this.width
71
- };
72
- });
73
57
  this.name = '纳税人识别号';
74
58
  this.id = "".concat(options.id, "_ordinarySerial");
75
59
  this.type = options.type;
@@ -83,5 +67,7 @@ var OrdinarySerial = /*#__PURE__*/_createClass(function OrdinarySerial(options)
83
67
  this.align = 'left';
84
68
  this.effects = options.effects;
85
69
  this.width = 200;
70
+ this.isCombinationComponent = false;
71
+ this.children = [];
86
72
  });
87
73
  export default OrdinarySerial;
@@ -17,32 +17,13 @@ declare class Ordinary implements ComponentInterface {
17
17
  ordinaryMoney: OrdinaryMoney;
18
18
  ordinaryHeader: OrdinaryHeader;
19
19
  ordinarySerial: OrdinarySerial;
20
+ isCombinationComponent: boolean;
21
+ children: ComponentInterface[];
20
22
  constructor(options: PickOption);
21
23
  render: () => null;
22
24
  editRender: (value: any) => JSX.Element;
23
25
  renderPc: () => null;
24
26
  renderExport: () => null;
25
27
  renderClient: (record: any) => JSX.Element;
26
- getColumns: () => {
27
- title: string;
28
- children: {
29
- title: string;
30
- align: import("../../type").ALignType;
31
- dataIndex: string;
32
- dataType: DataType;
33
- canHidden: boolean;
34
- canFilter: boolean;
35
- canGroup: boolean;
36
- type: string;
37
- render: (value: any) => any;
38
- renderPc: (value: any) => any;
39
- componentType: () => JSX.Element;
40
- showContains: boolean;
41
- renderExport: (value: any) => any;
42
- width: number;
43
- }[];
44
- canHidden: boolean;
45
- dataIndex: string;
46
- };
47
28
  }
48
29
  export default Ordinary;
@@ -28,6 +28,8 @@ var Ordinary = /*#__PURE__*/_createClass(function Ordinary(options) {
28
28
  _defineProperty(this, "ordinaryMoney", void 0);
29
29
  _defineProperty(this, "ordinaryHeader", void 0);
30
30
  _defineProperty(this, "ordinarySerial", void 0);
31
+ _defineProperty(this, "isCombinationComponent", void 0);
32
+ _defineProperty(this, "children", void 0);
31
33
  _defineProperty(this, "render", function () {
32
34
  return null;
33
35
  });
@@ -50,14 +52,6 @@ var Ordinary = /*#__PURE__*/_createClass(function Ordinary(options) {
50
52
  _defineProperty(this, "renderClient", function (record) {
51
53
  return /*#__PURE__*/React.createElement(React.Fragment, null, _this.ordinaryMoney.renderClient(record), _this.ordinaryHeader.renderClient(record), _this.ordinarySerial.renderClient(record));
52
54
  });
53
- _defineProperty(this, "getColumns", function () {
54
- return {
55
- title: _this.name,
56
- children: [_this.ordinaryMoney.getColumns(), _this.ordinaryHeader.getColumns(), _this.ordinarySerial.getColumns()],
57
- canHidden: _this.canHidden,
58
- dataIndex: _this.id
59
- };
60
- });
61
55
  this.name = options.name;
62
56
  this.id = options.id;
63
57
  this.type = options.type;
@@ -70,6 +64,8 @@ var Ordinary = /*#__PURE__*/_createClass(function Ordinary(options) {
70
64
  this.ordinaryMoney = new OrdinaryMoney(options);
71
65
  this.ordinaryHeader = new OrdinaryHeader(options);
72
66
  this.ordinarySerial = new OrdinarySerial(options);
67
+ this.isCombinationComponent = true;
68
+ this.children = [this.ordinaryHeader, this.ordinaryMoney, this.ordinarySerial];
73
69
  this.rules = (_this$componentConfig3 = this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.required ? [{
74
70
  validator: function validator(_, value) {
75
71
  if (!(value !== null && value !== void 0 && value.ordinaryMoney)) {
@@ -1,40 +1,21 @@
1
1
  /// <reference types="react" />
2
- import { ComponentInterface, PickOption, DataType, ALignType, Record } from '../../type';
2
+ import { ComponentInterface, PickOption, ALignType, Record } from '../../type';
3
3
  declare class PaymentTid implements ComponentInterface {
4
4
  name: string;
5
5
  id: string;
6
6
  type: string;
7
7
  rules: any[];
8
- canFilter: boolean;
9
- canGroup: boolean;
10
- canHidden: boolean;
11
- dataType: DataType;
12
- showContains: boolean;
13
8
  componentConfig: ComponentInterface["componentConfig"];
14
9
  effects: ComponentInterface["effects"];
15
10
  align: ALignType;
16
11
  width: number;
12
+ isCombinationComponent: boolean;
13
+ children: ComponentInterface[];
17
14
  constructor(options: PickOption);
18
15
  render: (value: any, record: Record) => JSX.Element;
19
16
  renderClient: (record: any) => JSX.Element | null;
20
17
  renderPc: (value: any, record: Record) => JSX.Element;
21
18
  renderExport: (value: any, record: Record) => any;
22
19
  editRender: () => JSX.Element;
23
- getColumns: () => {
24
- title: string;
25
- align: ALignType;
26
- dataIndex: string;
27
- dataType: DataType;
28
- canHidden: boolean;
29
- canFilter: boolean;
30
- canGroup: boolean;
31
- type: string;
32
- width: number;
33
- render: (value: any, record: Record) => JSX.Element;
34
- renderPc: (value: any, record: Record) => JSX.Element;
35
- componentType: () => JSX.Element;
36
- showContains: boolean;
37
- renderExport: (value: any, record: Record) => any;
38
- };
39
20
  }
40
21
  export default PaymentTid;
@@ -17,15 +17,12 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
17
17
  _defineProperty(this, "id", void 0);
18
18
  _defineProperty(this, "type", void 0);
19
19
  _defineProperty(this, "rules", void 0);
20
- _defineProperty(this, "canFilter", void 0);
21
- _defineProperty(this, "canGroup", void 0);
22
- _defineProperty(this, "canHidden", void 0);
23
- _defineProperty(this, "dataType", void 0);
24
- _defineProperty(this, "showContains", void 0);
25
20
  _defineProperty(this, "componentConfig", void 0);
26
21
  _defineProperty(this, "effects", void 0);
27
22
  _defineProperty(this, "align", void 0);
28
23
  _defineProperty(this, "width", void 0);
24
+ _defineProperty(this, "isCombinationComponent", void 0);
25
+ _defineProperty(this, "children", void 0);
29
26
  _defineProperty(this, "render", function (value, record) {
30
27
  return /*#__PURE__*/React.createElement("span", null, value);
31
28
  });
@@ -61,35 +58,14 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
61
58
  component: /*#__PURE__*/React.createElement(ApaasInput, _this.componentConfig)
62
59
  });
63
60
  });
64
- _defineProperty(this, "getColumns", function () {
65
- return {
66
- title: _this.name,
67
- align: _this.align,
68
- dataIndex: _this.id,
69
- dataType: _this.dataType,
70
- canHidden: _this.canHidden,
71
- canFilter: _this.canFilter,
72
- canGroup: _this.canGroup,
73
- type: _this.type,
74
- width: _this.width,
75
- render: _this.renderPc,
76
- renderPc: _this.renderPc,
77
- componentType: _this.editRender,
78
- showContains: _this.showContains,
79
- renderExport: _this.renderExport
80
- };
81
- });
82
61
  this.name = '支付宝姓名';
83
62
  this.id = "".concat(options.id, "_enterprisePaymentAlipayNick");
84
63
  this.type = options.type;
85
- this.canFilter = true;
86
- this.canGroup = true;
87
- this.canHidden = false;
88
- this.showContains = false;
89
- this.dataType = 'string';
90
64
  this.componentConfig = options.componentConfig;
91
65
  this.rules = [];
92
66
  this.align = 'left';
93
67
  this.width = 200;
68
+ this.isCombinationComponent = false;
69
+ this.children = [];
94
70
  });
95
71
  export default PaymentTid;
@@ -1,39 +1,21 @@
1
1
  /// <reference types="react" />
2
- import { ComponentInterface, PickOption, DataType, ALignType, Record } from '../../type';
2
+ import { ComponentInterface, PickOption, ALignType, Record } from '../../type';
3
3
  declare class AlipayNo implements ComponentInterface {
4
4
  name: string;
5
5
  id: string;
6
6
  type: string;
7
7
  rules: any[];
8
- canFilter: boolean;
9
- canGroup: boolean;
10
- canHidden: boolean;
11
- dataType: DataType;
12
- showContains: boolean;
13
8
  componentConfig: ComponentInterface["componentConfig"];
14
9
  effects: ComponentInterface["effects"];
15
10
  align: ALignType;
16
11
  width: number;
12
+ isCombinationComponent: boolean;
13
+ children: ComponentInterface[];
17
14
  constructor(options: PickOption);
18
15
  render: (value: string) => JSX.Element;
19
16
  renderClient: (record: any) => JSX.Element | null;
20
17
  renderPc: (value: any, record: any) => JSX.Element;
21
18
  renderExport: (value: any, record: Record) => any;
22
19
  editRender: () => JSX.Element;
23
- getColumns: () => {
24
- title: string;
25
- align: ALignType;
26
- dataIndex: string;
27
- width: number;
28
- dataType: DataType;
29
- canHidden: boolean;
30
- canFilter: boolean;
31
- canGroup: boolean;
32
- type: string;
33
- render: (value: any, record: any) => JSX.Element;
34
- renderPc: (value: any, record: any) => JSX.Element;
35
- componentType: () => JSX.Element;
36
- showContains: boolean;
37
- };
38
20
  }
39
21
  export default AlipayNo;
@@ -17,15 +17,12 @@ var AlipayNo = /*#__PURE__*/_createClass(function AlipayNo(options) {
17
17
  _defineProperty(this, "id", void 0);
18
18
  _defineProperty(this, "type", void 0);
19
19
  _defineProperty(this, "rules", void 0);
20
- _defineProperty(this, "canFilter", void 0);
21
- _defineProperty(this, "canGroup", void 0);
22
- _defineProperty(this, "canHidden", void 0);
23
- _defineProperty(this, "dataType", void 0);
24
- _defineProperty(this, "showContains", void 0);
25
20
  _defineProperty(this, "componentConfig", void 0);
26
21
  _defineProperty(this, "effects", void 0);
27
22
  _defineProperty(this, "align", void 0);
28
23
  _defineProperty(this, "width", void 0);
24
+ _defineProperty(this, "isCombinationComponent", void 0);
25
+ _defineProperty(this, "children", void 0);
29
26
  _defineProperty(this, "render", function (value) {
30
27
  return /*#__PURE__*/React.createElement("span", null, value);
31
28
  });
@@ -61,34 +58,14 @@ var AlipayNo = /*#__PURE__*/_createClass(function AlipayNo(options) {
61
58
  component: /*#__PURE__*/React.createElement(ApaasInput, _this.componentConfig)
62
59
  });
63
60
  });
64
- _defineProperty(this, "getColumns", function () {
65
- return {
66
- title: _this.name,
67
- align: _this.align,
68
- dataIndex: _this.id,
69
- width: _this.width,
70
- dataType: _this.dataType,
71
- canHidden: _this.canHidden,
72
- canFilter: _this.canFilter,
73
- canGroup: _this.canGroup,
74
- type: _this.type,
75
- render: _this.renderPc,
76
- renderPc: _this.renderPc,
77
- componentType: _this.editRender,
78
- showContains: _this.showContains
79
- };
80
- });
81
61
  this.name = '支付宝账号';
82
62
  this.id = "".concat(options.id, "_enterprisePaymentAlipayNo");
83
63
  this.type = options.type;
84
- this.canFilter = true;
85
- this.canGroup = true;
86
- this.canHidden = false;
87
- this.showContains = false;
88
- this.dataType = 'string';
89
64
  this.componentConfig = options.componentConfig;
90
65
  this.effects = options.effects;
91
66
  this.width = 200;
67
+ this.isCombinationComponent = false;
68
+ this.children = [];
92
69
  this.rules = [{
93
70
  validator: function validator(_, value) {
94
71
  if (/^(?:1[3-9]\d{9}|[a-zA-Z\d._-]*\@[a-zA-Z\d.-]{1,10}\.[a-zA-Z\d]{1,20})$/.test(value)) {
@@ -1,40 +1,20 @@
1
1
  /// <reference types="react" />
2
- import { ComponentInterface, PickOption, DataType, ALignType, Record } from '../../type';
2
+ import { ComponentInterface, PickOption, ALignType, Record } from '../../type';
3
3
  declare class AlipayTime implements ComponentInterface {
4
4
  name: string;
5
5
  id: string;
6
6
  type: string;
7
7
  rules: any[];
8
- canFilter: boolean;
9
- canGroup: boolean;
10
- canHidden: boolean;
11
- dataType: DataType;
12
- showContains: boolean;
13
8
  componentConfig: ComponentInterface["componentConfig"];
14
9
  align: ALignType;
15
10
  width: number;
11
+ isCombinationComponent: boolean;
12
+ children: ComponentInterface[];
16
13
  constructor(options: PickOption);
17
14
  render: (value: string) => JSX.Element;
18
15
  renderClient: (record: Record) => JSX.Element | null;
19
16
  renderPc: (value: any, record: Record) => JSX.Element;
20
17
  renderExport: (value: string) => string | null;
21
18
  editRender: () => JSX.Element;
22
- getColumns: () => {
23
- title: string;
24
- align: ALignType;
25
- dataIndex: string;
26
- width: number;
27
- dataType: DataType;
28
- canHidden: boolean;
29
- canFilter: boolean;
30
- canGroup: boolean;
31
- type: string;
32
- render: (value: any, record: Record) => JSX.Element;
33
- renderPc: (value: any, record: Record) => JSX.Element;
34
- componentType: () => JSX.Element;
35
- showContains: boolean;
36
- renderExport: (value: string) => string | null;
37
- widget: null;
38
- };
39
19
  }
40
20
  export default AlipayTime;
@@ -18,14 +18,11 @@ var AlipayTime = /*#__PURE__*/_createClass(function AlipayTime(options) {
18
18
  _defineProperty(this, "id", void 0);
19
19
  _defineProperty(this, "type", void 0);
20
20
  _defineProperty(this, "rules", void 0);
21
- _defineProperty(this, "canFilter", void 0);
22
- _defineProperty(this, "canGroup", void 0);
23
- _defineProperty(this, "canHidden", void 0);
24
- _defineProperty(this, "dataType", void 0);
25
- _defineProperty(this, "showContains", void 0);
26
21
  _defineProperty(this, "componentConfig", void 0);
27
22
  _defineProperty(this, "align", void 0);
28
23
  _defineProperty(this, "width", void 0);
24
+ _defineProperty(this, "isCombinationComponent", void 0);
25
+ _defineProperty(this, "children", void 0);
29
26
  _defineProperty(this, "render", function (value) {
30
27
  return /*#__PURE__*/React.createElement("span", {
31
28
  className: "pointer"
@@ -59,36 +56,14 @@ var AlipayTime = /*#__PURE__*/_createClass(function AlipayTime(options) {
59
56
  component: /*#__PURE__*/React.createElement(ApaasInput, _this.componentConfig)
60
57
  });
61
58
  });
62
- _defineProperty(this, "getColumns", function () {
63
- return {
64
- title: _this.name,
65
- align: _this.align,
66
- dataIndex: _this.id,
67
- width: _this.width,
68
- dataType: _this.dataType,
69
- canHidden: _this.canHidden,
70
- canFilter: _this.canFilter,
71
- canGroup: _this.canGroup,
72
- type: _this.type,
73
- render: _this.renderPc,
74
- renderPc: _this.renderPc,
75
- componentType: _this.editRender,
76
- showContains: _this.showContains,
77
- renderExport: _this.renderExport,
78
- widget: null
79
- };
80
- });
81
59
  this.name = '打款时间';
82
60
  this.id = "".concat(options.id, "_enterprisePaymentTime");
83
61
  this.type = options.type;
84
- this.canFilter = true;
85
- this.canGroup = true;
86
- this.canHidden = false;
87
- this.showContains = false;
88
- this.dataType = 'date';
89
62
  this.componentConfig = options.componentConfig;
90
63
  this.rules = [];
91
64
  this.align = 'left';
92
65
  this.width = 200;
66
+ this.isCombinationComponent = false;
67
+ this.children = [];
93
68
  });
94
69
  export default AlipayTime;
@@ -1,40 +1,21 @@
1
1
  /// <reference types="react" />
2
- import { ComponentInterface, PickOption, DataType, ALignType, Record } from '../../type';
2
+ import { ComponentInterface, PickOption, ALignType, Record } from '../../type';
3
3
  declare class BuyerNick implements ComponentInterface {
4
4
  name: string;
5
5
  id: string;
6
6
  type: string;
7
7
  rules: any[];
8
- canFilter: boolean;
9
- canGroup: boolean;
10
- canHidden: boolean;
11
- dataType: DataType;
12
- showContains: boolean;
13
8
  componentConfig: ComponentInterface["componentConfig"];
14
9
  effects: ComponentInterface["effects"];
15
10
  align: ALignType;
16
11
  width: number;
12
+ isCombinationComponent: boolean;
13
+ children: ComponentInterface[];
17
14
  constructor(options: PickOption);
18
15
  render: (value: string) => JSX.Element;
19
16
  renderClient: (record: Record) => JSX.Element | null;
20
17
  editRender: () => JSX.Element;
21
18
  renderPc: (value: any, record: Record) => JSX.Element;
22
19
  renderExport: (value: string) => string;
23
- getColumns: () => {
24
- title: string;
25
- align: ALignType;
26
- dataIndex: string;
27
- width: number;
28
- dataType: DataType;
29
- canHidden: boolean;
30
- canFilter: boolean;
31
- canGroup: boolean;
32
- type: string;
33
- render: (value: any, record: Record) => JSX.Element;
34
- renderPc: (value: any, record: Record) => JSX.Element;
35
- componentType: () => JSX.Element;
36
- showContains: boolean;
37
- renderExport: (value: string) => string;
38
- };
39
20
  }
40
21
  export default BuyerNick;
@@ -24,15 +24,12 @@ var BuyerNick = /*#__PURE__*/_createClass(function BuyerNick(options) {
24
24
  _defineProperty(this, "id", void 0);
25
25
  _defineProperty(this, "type", void 0);
26
26
  _defineProperty(this, "rules", void 0);
27
- _defineProperty(this, "canFilter", void 0);
28
- _defineProperty(this, "canGroup", void 0);
29
- _defineProperty(this, "canHidden", void 0);
30
- _defineProperty(this, "dataType", void 0);
31
- _defineProperty(this, "showContains", void 0);
32
27
  _defineProperty(this, "componentConfig", void 0);
33
28
  _defineProperty(this, "effects", void 0);
34
29
  _defineProperty(this, "align", void 0);
35
30
  _defineProperty(this, "width", void 0);
31
+ _defineProperty(this, "isCombinationComponent", void 0);
32
+ _defineProperty(this, "children", void 0);
36
33
  _defineProperty(this, "render", function (value) {
37
34
  return /*#__PURE__*/React.createElement("span", null, value);
38
35
  });
@@ -78,36 +75,15 @@ var BuyerNick = /*#__PURE__*/_createClass(function BuyerNick(options) {
78
75
  _defineProperty(this, "renderExport", function (value) {
79
76
  return value !== null && value !== void 0 ? value : '--';
80
77
  });
81
- _defineProperty(this, "getColumns", function () {
82
- return {
83
- title: _this.name,
84
- align: _this.align,
85
- dataIndex: _this.id,
86
- width: _this.width,
87
- dataType: _this.dataType,
88
- canHidden: _this.canHidden,
89
- canFilter: _this.canFilter,
90
- canGroup: _this.canGroup,
91
- type: _this.type,
92
- render: _this.renderPc,
93
- renderPc: _this.renderPc,
94
- componentType: _this.editRender,
95
- showContains: _this.showContains,
96
- renderExport: _this.renderExport
97
- };
98
- });
99
78
  this.name = '买家昵称';
100
79
  this.id = "".concat(options.id, "_enterprisePaymentBuyerNick");
101
80
  this.type = options.type;
102
- this.canFilter = true;
103
- this.canGroup = true;
104
- this.canHidden = false;
105
- this.showContains = false;
106
- this.dataType = 'string';
107
81
  this.componentConfig = options.componentConfig;
108
82
  this.effects = options.effects;
109
83
  this.rules = [];
110
84
  this.align = 'left';
111
85
  this.width = 200;
86
+ this.isCombinationComponent = false;
87
+ this.children = [];
112
88
  });
113
89
  export default BuyerNick;