@kmkf-fe-packages/services-components 0.7.9 → 0.7.11-alpha.0

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 (130) hide show
  1. package/dist/esm/components/ActualPayment/index.d.ts +2 -1
  2. package/dist/esm/components/ActualPayment/index.js +4 -1
  3. package/dist/esm/components/Address/index.d.ts +2 -1
  4. package/dist/esm/components/Address/index.js +4 -1
  5. package/dist/esm/components/Alipay/index.d.ts +2 -1
  6. package/dist/esm/components/Alipay/index.js +5 -2
  7. package/dist/esm/components/AlipayAccount/index.d.ts +2 -1
  8. package/dist/esm/components/AlipayAccount/index.js +4 -1
  9. package/dist/esm/components/AlipayName/index.d.ts +2 -1
  10. package/dist/esm/components/AlipayName/index.js +4 -1
  11. package/dist/esm/components/BuyerNick/index.d.ts +2 -1
  12. package/dist/esm/components/BuyerNick/index.js +5 -2
  13. package/dist/esm/components/Cascader/index.d.ts +2 -1
  14. package/dist/esm/components/Cascader/index.js +4 -1
  15. package/dist/esm/components/Checkbox/index.d.ts +3 -1
  16. package/dist/esm/components/Checkbox/index.js +8 -2
  17. package/dist/esm/components/CommonDataTime/index.d.ts +2 -0
  18. package/dist/esm/components/CommonDataTime/index.js +4 -0
  19. package/dist/esm/components/CompletedUser/index.d.ts +2 -0
  20. package/dist/esm/components/CompletedUser/index.js +6 -1
  21. package/dist/esm/components/DataTime/index.d.ts +3 -1
  22. package/dist/esm/components/DataTime/index.js +11 -2
  23. package/dist/esm/components/EItemEnCode/index.d.ts +2 -1
  24. package/dist/esm/components/EItemEnCode/index.js +4 -1
  25. package/dist/esm/components/EItemId/index.d.ts +2 -1
  26. package/dist/esm/components/EItemId/index.js +4 -1
  27. package/dist/esm/components/EItemSelect/index.d.ts +2 -1
  28. package/dist/esm/components/EItemSelect/index.js +4 -1
  29. package/dist/esm/components/ErpTradeId/index.d.ts +2 -1
  30. package/dist/esm/components/ErpTradeId/index.js +4 -1
  31. package/dist/esm/components/Express/index.d.ts +3 -1
  32. package/dist/esm/components/Express/index.js +6 -1
  33. package/dist/esm/components/ExpressCode/index.d.ts +2 -1
  34. package/dist/esm/components/ExpressCode/index.js +4 -1
  35. package/dist/esm/components/FlowStatusSelect/index.d.ts +3 -1
  36. package/dist/esm/components/FlowStatusSelect/index.js +13 -2
  37. package/dist/esm/components/GetFormItem/index.d.ts +2 -1
  38. package/dist/esm/components/GetFormItem/index.js +5 -2
  39. package/dist/esm/components/Grade/index.d.ts +2 -1
  40. package/dist/esm/components/Grade/index.js +4 -1
  41. package/dist/esm/components/Handler/index.d.ts +2 -0
  42. package/dist/esm/components/Handler/index.js +6 -1
  43. package/dist/esm/components/Input/index.d.ts +2 -1
  44. package/dist/esm/components/Input/index.js +6 -2
  45. package/dist/esm/components/JstItemSelect/index.d.ts +2 -1
  46. package/dist/esm/components/JstItemSelect/index.js +4 -1
  47. package/dist/esm/components/JstLogistics/index.d.ts +2 -1
  48. package/dist/esm/components/JstLogistics/index.js +4 -1
  49. package/dist/esm/components/JstSendGood/index.d.ts +2 -1
  50. package/dist/esm/components/JstSendGood/index.js +4 -1
  51. package/dist/esm/components/JstSupply/index.d.ts +2 -1
  52. package/dist/esm/components/JstSupply/index.js +4 -1
  53. package/dist/esm/components/Logistics/index.d.ts +2 -1
  54. package/dist/esm/components/Logistics/index.js +5 -2
  55. package/dist/esm/components/LogisticsInterception/InterceptAddress.d.ts +2 -1
  56. package/dist/esm/components/LogisticsInterception/InterceptAddress.js +4 -1
  57. package/dist/esm/components/LogisticsInterception/InterceptStatus.d.ts +2 -0
  58. package/dist/esm/components/LogisticsInterception/InterceptStatus.js +4 -0
  59. package/dist/esm/components/LogisticsInterception/InterceptType.d.ts +2 -0
  60. package/dist/esm/components/LogisticsInterception/InterceptType.js +4 -0
  61. package/dist/esm/components/LogisticsInterception/index.d.ts +2 -1
  62. package/dist/esm/components/LogisticsInterception/index.js +4 -1
  63. package/dist/esm/components/MultSelect/index.d.ts +3 -1
  64. package/dist/esm/components/MultSelect/index.js +8 -2
  65. package/dist/esm/components/Ordinary/OrdinaryHeader.d.ts +2 -1
  66. package/dist/esm/components/Ordinary/OrdinaryHeader.js +4 -1
  67. package/dist/esm/components/Ordinary/OrdinaryMoney.d.ts +2 -1
  68. package/dist/esm/components/Ordinary/OrdinaryMoney.js +4 -1
  69. package/dist/esm/components/Ordinary/OrdinarySerial.d.ts +3 -6
  70. package/dist/esm/components/Ordinary/OrdinarySerial.js +3 -8
  71. package/dist/esm/components/Ordinary/index.d.ts +3 -6
  72. package/dist/esm/components/Ordinary/index.js +4 -8
  73. package/dist/esm/components/Payment/AlipayNick.d.ts +2 -1
  74. package/dist/esm/components/Payment/AlipayNick.js +4 -1
  75. package/dist/esm/components/Payment/AlipayNo.d.ts +2 -1
  76. package/dist/esm/components/Payment/AlipayNo.js +4 -1
  77. package/dist/esm/components/Payment/AlipayTime.d.ts +3 -1
  78. package/dist/esm/components/Payment/AlipayTime.js +8 -3
  79. package/dist/esm/components/Payment/BuyerNick.d.ts +2 -1
  80. package/dist/esm/components/Payment/BuyerNick.js +4 -1
  81. package/dist/esm/components/Payment/PaymentAmount.d.ts +2 -1
  82. package/dist/esm/components/Payment/PaymentAmount.js +4 -1
  83. package/dist/esm/components/Payment/PaymentStatus.d.ts +2 -0
  84. package/dist/esm/components/Payment/PaymentStatus.js +4 -0
  85. package/dist/esm/components/Payment/PaymentTid.d.ts +2 -1
  86. package/dist/esm/components/Payment/PaymentTid.js +4 -1
  87. package/dist/esm/components/Payment/index.d.ts +2 -1
  88. package/dist/esm/components/Payment/index.js +5 -2
  89. package/dist/esm/components/Picture/index.d.ts +2 -1
  90. package/dist/esm/components/Picture/index.js +4 -1
  91. package/dist/esm/components/PlatForm/index.d.ts +2 -0
  92. package/dist/esm/components/PlatForm/index.js +4 -0
  93. package/dist/esm/components/Radio/index.d.ts +3 -1
  94. package/dist/esm/components/Radio/index.js +8 -2
  95. package/dist/esm/components/Rate/index.d.ts +2 -1
  96. package/dist/esm/components/Rate/index.js +4 -1
  97. package/dist/esm/components/ReceiverAddress/index.d.ts +2 -1
  98. package/dist/esm/components/ReceiverAddress/index.js +4 -1
  99. package/dist/esm/components/ReceiverMobile/index.d.ts +2 -1
  100. package/dist/esm/components/ReceiverMobile/index.js +5 -2
  101. package/dist/esm/components/ReceiverName/index.d.ts +2 -1
  102. package/dist/esm/components/ReceiverName/index.js +4 -1
  103. package/dist/esm/components/Remark/index.d.ts +2 -1
  104. package/dist/esm/components/Remark/index.js +4 -1
  105. package/dist/esm/components/ReturnLogistics/index.d.ts +3 -6
  106. package/dist/esm/components/ReturnLogistics/index.js +5 -9
  107. package/dist/esm/components/Select/index.d.ts +3 -1
  108. package/dist/esm/components/Select/index.js +8 -2
  109. package/dist/esm/components/ShopInput/index.d.ts +2 -0
  110. package/dist/esm/components/ShopInput/index.js +6 -1
  111. package/dist/esm/components/ShopName/index.d.ts +2 -1
  112. package/dist/esm/components/ShopName/index.js +4 -1
  113. package/dist/esm/components/Submitter/index.d.ts +2 -0
  114. package/dist/esm/components/Submitter/index.js +6 -1
  115. package/dist/esm/components/SystemOrderNo/index.d.ts +2 -1
  116. package/dist/esm/components/SystemOrderNo/index.js +4 -1
  117. package/dist/esm/components/TemplateSelect/index.d.ts +2 -0
  118. package/dist/esm/components/TemplateSelect/index.js +6 -1
  119. package/dist/esm/components/TextArea/index.d.ts +2 -1
  120. package/dist/esm/components/TextArea/index.js +4 -1
  121. package/dist/esm/components/ThirdItemSelect/index.d.ts +2 -1
  122. package/dist/esm/components/ThirdItemSelect/index.js +4 -1
  123. package/dist/esm/components/TradeDateTime/index.d.ts +4 -6
  124. package/dist/esm/components/TradeDateTime/index.js +6 -9
  125. package/dist/esm/components/TradeId/index.d.ts +2 -4
  126. package/dist/esm/components/TradeId/index.js +6 -9
  127. package/dist/esm/components/WorkOrderId/index.d.ts +2 -1
  128. package/dist/esm/components/WorkOrderId/index.js +4 -1
  129. package/dist/esm/type.d.ts +4 -0
  130. package/package.json +4 -4
@@ -30,16 +30,18 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
30
30
  _defineProperty(this, "isCombinationComponent", void 0);
31
31
  _defineProperty(this, "canSort", void 0);
32
32
  _defineProperty(this, "children", void 0);
33
- _defineProperty(this, "editRender", function (value) {
33
+ _defineProperty(this, "dataType", void 0);
34
+ _defineProperty(this, "editRender", function (p) {
34
35
  var _this$componentConfig, _this$componentConfig2;
35
36
  return /*#__PURE__*/React.createElement(GetFormItem, {
36
37
  title: _this.name,
37
38
  name: _this.id,
38
39
  rules: _this.rules,
40
+ hidden: p === null || p === void 0 ? void 0 : p.hidden,
39
41
  required: (_this$componentConfig = (_this$componentConfig2 = _this.componentConfig) === null || _this$componentConfig2 === void 0 ? void 0 : _this$componentConfig2.required) !== null && _this$componentConfig !== void 0 ? _this$componentConfig : false,
40
42
  component: /*#__PURE__*/React.createElement(ExpressLogistics, _extends({}, _this.componentConfig, {
41
43
  options: _this.expressDateInstance.getExpressData(),
42
- onBlur: value === null || value === void 0 ? void 0 : value.onBlur
44
+ onBlur: p === null || p === void 0 ? void 0 : p.onBlur
43
45
  }))
44
46
  });
45
47
  });
@@ -84,6 +86,7 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
84
86
  }));
85
87
  this.isCombinationComponent = true;
86
88
  this.canSort = false;
89
+ this.dataType = 'object';
87
90
  this.children = [this.express, this.expressCode];
88
91
  this.rules = (_this$componentConfig3 = this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.required ? [{
89
92
  validator: function validator(_, value) {
@@ -16,6 +16,7 @@ declare class PaymentTid implements ComponentInterface {
16
16
  children: ComponentInterface[];
17
17
  originId: string;
18
18
  addressDateInstance: InstanceType<typeof AddressData>;
19
+ dataType: ComponentInterface['dataType'];
19
20
  constructor(options: PickOption);
20
21
  renderClient: (record: any) => React.JSX.Element | null;
21
22
  renderPc: (value: any, record: Record) => React.JSX.Element;
@@ -29,7 +30,7 @@ declare class PaymentTid implements ComponentInterface {
29
30
  mobile: any;
30
31
  };
31
32
  renderExport: (value: any, record: Record) => string | null;
32
- editRender: () => React.JSX.Element;
33
+ editRender: (p: any) => React.JSX.Element;
33
34
  filterConfig: () => never[];
34
35
  }
35
36
  export default PaymentTid;
@@ -28,6 +28,7 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
28
28
  _defineProperty(this, "children", void 0);
29
29
  _defineProperty(this, "originId", void 0);
30
30
  _defineProperty(this, "addressDateInstance", void 0);
31
+ _defineProperty(this, "dataType", void 0);
31
32
  _defineProperty(this, "renderClient", function (record) {
32
33
  var _ref;
33
34
  var province = record["".concat(_this.originId, "_interceptProvince")];
@@ -107,12 +108,13 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
107
108
  }).join("");
108
109
  return "".concat(addressText).concat(detail, " ").concat(name).concat(mobile);
109
110
  });
110
- _defineProperty(this, "editRender", function () {
111
+ _defineProperty(this, "editRender", function (p) {
111
112
  var _this$componentConfig, _this$componentConfig2;
112
113
  return /*#__PURE__*/React.createElement(GetFormItem, {
113
114
  title: _this.name,
114
115
  name: _this.id,
115
116
  rules: _this.rules,
117
+ hidden: p === null || p === void 0 ? void 0 : p.hidden,
116
118
  required: (_this$componentConfig = (_this$componentConfig2 = _this.componentConfig) === null || _this$componentConfig2 === void 0 ? void 0 : _this$componentConfig2.required) !== null && _this$componentConfig !== void 0 ? _this$componentConfig : false,
117
119
  component: /*#__PURE__*/React.createElement(ApaasInput, _this.componentConfig)
118
120
  });
@@ -131,6 +133,7 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
131
133
  this.originId = options.id;
132
134
  this.isCombinationComponent = false;
133
135
  this.canSort = true;
136
+ this.dataType = 'object';
134
137
  this.children = [];
135
138
  this.effects = options === null || options === void 0 ? void 0 : options.effects;
136
139
  this.addressDateInstance = AddressData.getInstance();
@@ -17,6 +17,8 @@ declare class InterceptStatus implements ComponentInterface {
17
17
  canSort: boolean;
18
18
  children: ComponentInterface[];
19
19
  expressInterceptInstance: InstanceType<typeof ExpressInterceptData>;
20
+ dataType: ComponentInterface['dataType'];
21
+ options: ComponentInterface['options'];
20
22
  constructor(options: PickOption);
21
23
  getComponentValue: (r: Record) => any;
22
24
  renderStatus: (record: any, w?: number) => React.JSX.Element;
@@ -29,6 +29,8 @@ var InterceptStatus = /*#__PURE__*/_createClass(function InterceptStatus(options
29
29
  _defineProperty(this, "canSort", void 0);
30
30
  _defineProperty(this, "children", void 0);
31
31
  _defineProperty(this, "expressInterceptInstance", void 0);
32
+ _defineProperty(this, "dataType", void 0);
33
+ _defineProperty(this, "options", void 0);
32
34
  _defineProperty(this, "getComponentValue", function (r) {
33
35
  return r === null || r === void 0 ? void 0 : r[_this.id];
34
36
  });
@@ -108,6 +110,8 @@ var InterceptStatus = /*#__PURE__*/_createClass(function InterceptStatus(options
108
110
  this.children = [];
109
111
  this.effects = options === null || options === void 0 ? void 0 : options.effects;
110
112
  this.expressInterceptInstance = ExpressInterceptData.getInstance();
113
+ this.dataType = 'string';
114
+ this.options = this.expressInterceptInstance.getStatusOptions() || [];
111
115
  }
112
116
 
113
117
  //物流轨迹查询
@@ -16,6 +16,8 @@ declare class InterceptType implements ComponentInterface {
16
16
  canSort: boolean;
17
17
  children: ComponentInterface[];
18
18
  expressInterceptInstance: InstanceType<typeof ExpressInterceptData>;
19
+ dataType: ComponentInterface['dataType'];
20
+ options: ComponentInterface['options'];
19
21
  constructor(options: PickOption);
20
22
  getComponentValue: (r: Record) => any;
21
23
  renderClient: (record: any) => React.JSX.Element | null;
@@ -27,6 +27,8 @@ var InterceptType = /*#__PURE__*/_createClass(function InterceptType(options) {
27
27
  _defineProperty(this, "canSort", void 0);
28
28
  _defineProperty(this, "children", void 0);
29
29
  _defineProperty(this, "expressInterceptInstance", void 0);
30
+ _defineProperty(this, "dataType", void 0);
31
+ _defineProperty(this, "options", void 0);
30
32
  _defineProperty(this, "getComponentValue", function (r) {
31
33
  return r === null || r === void 0 ? void 0 : r[_this.id];
32
34
  });
@@ -94,5 +96,7 @@ var InterceptType = /*#__PURE__*/_createClass(function InterceptType(options) {
94
96
  this.children = [];
95
97
  this.effects = options === null || options === void 0 ? void 0 : options.effects;
96
98
  this.expressInterceptInstance = ExpressInterceptData.getInstance();
99
+ this.dataType = 'string';
100
+ this.options = this.expressInterceptInstance.getTypeOptions() || [];
97
101
  });
98
102
  export default InterceptType;
@@ -28,6 +28,7 @@ declare class Logistics implements ComponentInterface {
28
28
  expressInterceptData: InstanceType<typeof ExpressInterceptData>;
29
29
  logisticsAddressData: InstanceType<typeof LogisticsAddressData>;
30
30
  effects: ComponentInterface["effects"];
31
+ dataType: ComponentInterface['dataType'];
31
32
  constructor(options: PickOption);
32
33
  renderClient: (record: any) => React.JSX.Element;
33
34
  renderLog: (record: any) => React.JSX.Element;
@@ -48,7 +49,7 @@ declare class Logistics implements ComponentInterface {
48
49
  };
49
50
  renderPc: () => null;
50
51
  renderExport: () => null;
51
- editRender: () => React.JSX.Element;
52
+ editRender: (p: any) => React.JSX.Element;
52
53
  filterConfig: (item: ColumnConfig) => ({
53
54
  searchDefaultConditions: "in";
54
55
  type: string;
@@ -42,6 +42,7 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
42
42
  _defineProperty(this, "expressInterceptData", void 0);
43
43
  _defineProperty(this, "logisticsAddressData", void 0);
44
44
  _defineProperty(this, "effects", void 0);
45
+ _defineProperty(this, "dataType", void 0);
45
46
  _defineProperty(this, "renderClient", function (record) {
46
47
  return /*#__PURE__*/React.createElement(React.Fragment, null, _this.express.renderClient(record), _this.expressCode.renderClient(record), _this.interceptSenderMobile.renderClient(record), _this.interceptType.renderClient(record), _this.interceptAddress.renderClient(record), _this.interceptLogisticsStatus.renderClient(record));
47
48
  });
@@ -64,12 +65,13 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
64
65
  _defineProperty(this, "renderExport", function () {
65
66
  return null;
66
67
  });
67
- _defineProperty(this, "editRender", function () {
68
+ _defineProperty(this, "editRender", function (p) {
68
69
  var _this$componentConfig, _this$componentConfig2, _this$effects;
69
70
  return /*#__PURE__*/React.createElement(GetFormItem, {
70
71
  title: _this.name,
71
72
  name: _this.id,
72
73
  rules: _this.rules,
74
+ hidden: p === null || p === void 0 ? void 0 : p.hidden,
73
75
  required: (_this$componentConfig = (_this$componentConfig2 = _this.componentConfig) === null || _this$componentConfig2 === void 0 ? void 0 : _this$componentConfig2.required) !== null && _this$componentConfig !== void 0 ? _this$componentConfig : false,
74
76
  component: /*#__PURE__*/React.createElement(LogisticsInterception, _extends({}, _this.componentConfig, {
75
77
  logisticsOptions: _this.expressDateInstance.getExpressData(),
@@ -112,6 +114,7 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
112
114
  }));
113
115
  this.isCombinationComponent = true;
114
116
  this.canSort = false;
117
+ this.dataType = 'object';
115
118
  this.children = [this.express, this.expressCode, this.interceptType, this.interceptAddress, this.interceptLogisticsStatus];
116
119
  this.rules = [{
117
120
  validator: function validator(_, value) {
@@ -10,13 +10,15 @@ declare class BasicMultSelect implements ComponentInterface {
10
10
  isCombinationComponent: boolean;
11
11
  canSort: boolean;
12
12
  children: ComponentInterface[];
13
+ dataType: ComponentInterface['dataType'];
14
+ options: ComponentInterface['options'];
13
15
  constructor(options: PickOption);
14
16
  renderClient: (record: any) => React.JSX.Element | null;
15
17
  renderPc: (value: any, record: Record) => React.JSX.Element;
16
18
  renderLog: (r: Record) => React.JSX.Element | null;
17
19
  getComponentValue: (r: Record) => any;
18
20
  renderExport: (value: any, record: Record) => any;
19
- editRender: () => React.JSX.Element;
21
+ editRender: (p: any) => React.JSX.Element;
20
22
  filterConfig: (item: ColumnConfig) => {
21
23
  searchDefaultConditions: "in";
22
24
  type: string;
@@ -14,7 +14,8 @@ import ItemView from "../../commonComponents/ItemView";
14
14
  import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
15
15
  import { SYMBOL } from "../../constant";
16
16
  var BasicMultSelect = /*#__PURE__*/_createClass(function BasicMultSelect(options) {
17
- var _this = this;
17
+ var _this = this,
18
+ _this$componentConfig3;
18
19
  _classCallCheck(this, BasicMultSelect);
19
20
  _defineProperty(this, "name", void 0);
20
21
  _defineProperty(this, "id", void 0);
@@ -25,6 +26,8 @@ var BasicMultSelect = /*#__PURE__*/_createClass(function BasicMultSelect(options
25
26
  _defineProperty(this, "isCombinationComponent", void 0);
26
27
  _defineProperty(this, "canSort", void 0);
27
28
  _defineProperty(this, "children", void 0);
29
+ _defineProperty(this, "dataType", void 0);
30
+ _defineProperty(this, "options", void 0);
28
31
  _defineProperty(this, "renderClient", function (record) {
29
32
  var _record$_this$id;
30
33
  return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
@@ -54,12 +57,13 @@ var BasicMultSelect = /*#__PURE__*/_createClass(function BasicMultSelect(options
54
57
  }
55
58
  return record === null || record === void 0 ? void 0 : (_record2 = record["".concat(_this.id, "_basicMultSelect")]) === null || _record2 === void 0 ? void 0 : _record2.join(',');
56
59
  });
57
- _defineProperty(this, "editRender", function () {
60
+ _defineProperty(this, "editRender", function (p) {
58
61
  var _this$componentConfig, _this$componentConfig2;
59
62
  return /*#__PURE__*/React.createElement(GetFormItem, {
60
63
  title: _this.name,
61
64
  name: _this.id,
62
65
  rules: _this.rules,
66
+ hidden: p === null || p === void 0 ? void 0 : p.hidden,
63
67
  required: (_this$componentConfig = (_this$componentConfig2 = _this.componentConfig) === null || _this$componentConfig2 === void 0 ? void 0 : _this$componentConfig2.required) !== null && _this$componentConfig !== void 0 ? _this$componentConfig : false,
64
68
  component: /*#__PURE__*/React.createElement(ApaasMultipleSelect, _extends({}, _this.componentConfig, {
65
69
  placeholder: "\u8BF7\u8F93\u5165".concat(_this.name)
@@ -95,5 +99,7 @@ var BasicMultSelect = /*#__PURE__*/_createClass(function BasicMultSelect(options
95
99
  this.isCombinationComponent = false;
96
100
  this.canSort = true;
97
101
  this.children = [];
102
+ this.dataType = 'array';
103
+ this.options = ((_this$componentConfig3 = this.componentConfig) === null || _this$componentConfig3 === void 0 ? void 0 : _this$componentConfig3.options) || [];
98
104
  });
99
105
  export default BasicMultSelect;
@@ -13,13 +13,14 @@ declare class OrdinaryHeader implements ComponentInterface {
13
13
  isCombinationComponent: boolean;
14
14
  canSort: boolean;
15
15
  children: ComponentInterface[];
16
+ dataType: ComponentInterface['dataType'];
16
17
  constructor(options: PickOption);
17
18
  renderClient: (record: any) => React.JSX.Element | null;
18
19
  renderPc: (value: unknown, r: Record) => any;
19
20
  renderLog: (r: Record) => any;
20
21
  getComponentValue: (r: Record) => any;
21
22
  renderExport: (value: any) => any;
22
- editRender: () => React.JSX.Element;
23
+ editRender: (p: any) => React.JSX.Element;
23
24
  filterConfig: (item: ColumnConfig) => {
24
25
  searchDefaultConditions: "like";
25
26
  type: string;
@@ -27,6 +27,7 @@ var OrdinaryHeader = /*#__PURE__*/_createClass(function OrdinaryHeader(options)
27
27
  _defineProperty(this, "isCombinationComponent", void 0);
28
28
  _defineProperty(this, "canSort", void 0);
29
29
  _defineProperty(this, "children", void 0);
30
+ _defineProperty(this, "dataType", void 0);
30
31
  _defineProperty(this, "renderClient", function (record) {
31
32
  return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
32
33
  id: _this.id,
@@ -48,7 +49,7 @@ var OrdinaryHeader = /*#__PURE__*/_createClass(function OrdinaryHeader(options)
48
49
  _defineProperty(this, "renderExport", function (value) {
49
50
  return value !== null && value !== void 0 ? value : '--';
50
51
  });
51
- _defineProperty(this, "editRender", function () {
52
+ _defineProperty(this, "editRender", function (p) {
52
53
  var _this$componentConfig, _this$componentConfig2;
53
54
  var handleChangeSerial = function handleChangeSerial(value) {
54
55
  var _this$effects, _this$effects$form;
@@ -58,6 +59,7 @@ var OrdinaryHeader = /*#__PURE__*/_createClass(function OrdinaryHeader(options)
58
59
  title: _this.name,
59
60
  name: _this.id,
60
61
  rules: _this.rules,
62
+ hidden: p === null || p === void 0 ? void 0 : p.hidden,
61
63
  required: (_this$componentConfig = (_this$componentConfig2 = _this.componentConfig) === null || _this$componentConfig2 === void 0 ? void 0 : _this$componentConfig2.required) !== null && _this$componentConfig !== void 0 ? _this$componentConfig : false,
62
64
  component: /*#__PURE__*/React.createElement(Header, _extends({}, _this.componentConfig, {
63
65
  handleChangeSerial: handleChangeSerial
@@ -90,5 +92,6 @@ var OrdinaryHeader = /*#__PURE__*/_createClass(function OrdinaryHeader(options)
90
92
  this.isCombinationComponent = false;
91
93
  this.canSort = true;
92
94
  this.children = [];
95
+ this.dataType = 'string';
93
96
  });
94
97
  export default OrdinaryHeader;
@@ -13,13 +13,14 @@ declare class OrdinaryMoney implements ComponentInterface {
13
13
  isCombinationComponent: boolean;
14
14
  canSort: boolean;
15
15
  children: ComponentInterface[];
16
+ dataType: ComponentInterface['dataType'];
16
17
  constructor(options: PickOption);
17
18
  renderPc: (value: unknown, r: Record) => any;
18
19
  renderLog: (r: Record) => any;
19
20
  getComponentValue: (r: Record) => any;
20
21
  renderExport: (value: any) => any;
21
22
  renderClient: (record: any) => React.JSX.Element | null;
22
- editRender: () => React.JSX.Element;
23
+ editRender: (p: any) => React.JSX.Element;
23
24
  filterConfig: (item: ColumnConfig) => {
24
25
  searchDefaultConditions: "between";
25
26
  type: string;
@@ -29,6 +29,7 @@ var OrdinaryMoney = /*#__PURE__*/_createClass(function OrdinaryMoney(options) {
29
29
  _defineProperty(this, "isCombinationComponent", void 0);
30
30
  _defineProperty(this, "canSort", void 0);
31
31
  _defineProperty(this, "children", void 0);
32
+ _defineProperty(this, "dataType", void 0);
32
33
  _defineProperty(this, "renderPc", function (value, r) {
33
34
  var _r;
34
35
  return (_r = r === null || r === void 0 ? void 0 : r["".concat(_this.id)]) !== null && _r !== void 0 ? _r : '--';
@@ -50,12 +51,13 @@ var OrdinaryMoney = /*#__PURE__*/_createClass(function OrdinaryMoney(options) {
50
51
  value: record === null || record === void 0 ? void 0 : record[_this.id]
51
52
  }) : null;
52
53
  });
53
- _defineProperty(this, "editRender", function () {
54
+ _defineProperty(this, "editRender", function (p) {
54
55
  var _this$componentConfig, _this$componentConfig2;
55
56
  return /*#__PURE__*/React.createElement(GetFormItem, {
56
57
  title: _this.name,
57
58
  name: _this.id,
58
59
  rules: _this.rules,
60
+ hidden: p === null || p === void 0 ? void 0 : p.hidden,
59
61
  required: (_this$componentConfig = (_this$componentConfig2 = _this.componentConfig) === null || _this$componentConfig2 === void 0 ? void 0 : _this$componentConfig2.required) !== null && _this$componentConfig !== void 0 ? _this$componentConfig : false,
60
62
  component: /*#__PURE__*/React.createElement(ApaasInput, _this.componentConfig)
61
63
  });
@@ -146,6 +148,7 @@ var OrdinaryMoney = /*#__PURE__*/_createClass(function OrdinaryMoney(options) {
146
148
  this.width = 200;
147
149
  this.isCombinationComponent = false;
148
150
  this.canSort = true;
151
+ this.dataType = 'number';
149
152
  this.children = [];
150
153
  });
151
154
  export default OrdinaryMoney;
@@ -1,4 +1,4 @@
1
- import { ComponentInterface, PickOption, DataType, ALignType, Record, ColumnConfig } from '../../type';
1
+ import { ComponentInterface, PickOption, ALignType, Record, ColumnConfig } from '../../type';
2
2
  import React from 'react';
3
3
  declare class OrdinarySerial implements ComponentInterface {
4
4
  name: string;
@@ -6,10 +6,6 @@ declare class OrdinarySerial implements ComponentInterface {
6
6
  sortField: string;
7
7
  type: string;
8
8
  rules: any[];
9
- canFilter: boolean;
10
- canGroup: boolean;
11
- canHidden: boolean;
12
- dataType: DataType;
13
9
  showContains: boolean;
14
10
  componentConfig: ComponentInterface["componentConfig"];
15
11
  effects: ComponentInterface["effects"];
@@ -18,13 +14,14 @@ declare class OrdinarySerial implements ComponentInterface {
18
14
  isCombinationComponent: boolean;
19
15
  canSort: boolean;
20
16
  children: ComponentInterface[];
17
+ dataType: ComponentInterface['dataType'];
21
18
  constructor(options: PickOption);
22
19
  renderClient: (record: any) => React.JSX.Element | null;
23
20
  renderPc: (value: unknown, r: Record) => any;
24
21
  renderLog: (r: Record) => any;
25
22
  getComponentValue: (r: Record) => any;
26
23
  renderExport: (value: any) => any;
27
- editRender: () => React.JSX.Element;
24
+ editRender: (p: any) => React.JSX.Element;
28
25
  filterConfig: (item: ColumnConfig) => {
29
26
  searchDefaultConditions: "like";
30
27
  type: string;
@@ -19,10 +19,6 @@ var OrdinarySerial = /*#__PURE__*/_createClass(function OrdinarySerial(options)
19
19
  _defineProperty(this, "sortField", void 0);
20
20
  _defineProperty(this, "type", void 0);
21
21
  _defineProperty(this, "rules", void 0);
22
- _defineProperty(this, "canFilter", void 0);
23
- _defineProperty(this, "canGroup", void 0);
24
- _defineProperty(this, "canHidden", void 0);
25
- _defineProperty(this, "dataType", void 0);
26
22
  _defineProperty(this, "showContains", void 0);
27
23
  _defineProperty(this, "componentConfig", void 0);
28
24
  _defineProperty(this, "effects", void 0);
@@ -31,6 +27,7 @@ var OrdinarySerial = /*#__PURE__*/_createClass(function OrdinarySerial(options)
31
27
  _defineProperty(this, "isCombinationComponent", void 0);
32
28
  _defineProperty(this, "canSort", void 0);
33
29
  _defineProperty(this, "children", void 0);
30
+ _defineProperty(this, "dataType", void 0);
34
31
  _defineProperty(this, "renderClient", function (record) {
35
32
  return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
36
33
  id: _this.id,
@@ -52,12 +49,13 @@ var OrdinarySerial = /*#__PURE__*/_createClass(function OrdinarySerial(options)
52
49
  _defineProperty(this, "renderExport", function (value) {
53
50
  return value !== null && value !== void 0 ? value : '--';
54
51
  });
55
- _defineProperty(this, "editRender", function () {
52
+ _defineProperty(this, "editRender", function (p) {
56
53
  var _this$componentConfig, _this$componentConfig2;
57
54
  return /*#__PURE__*/React.createElement(GetFormItem, {
58
55
  title: _this.name,
59
56
  name: _this.id,
60
57
  rules: _this.rules,
58
+ hidden: p === null || p === void 0 ? void 0 : p.hidden,
61
59
  required: (_this$componentConfig = (_this$componentConfig2 = _this.componentConfig) === null || _this$componentConfig2 === void 0 ? void 0 : _this$componentConfig2.required) !== null && _this$componentConfig !== void 0 ? _this$componentConfig : false,
62
60
  component: /*#__PURE__*/React.createElement(ApaasInput, _this.componentConfig)
63
61
  });
@@ -80,9 +78,6 @@ var OrdinarySerial = /*#__PURE__*/_createClass(function OrdinarySerial(options)
80
78
  this.id = "".concat(options.id, "_ordinarySerial");
81
79
  this.sortField = "".concat(options.id, "_ordinarySerial");
82
80
  this.type = options.type;
83
- this.canFilter = true;
84
- this.canGroup = true;
85
- this.canHidden = false;
86
81
  this.showContains = false;
87
82
  this.dataType = 'string';
88
83
  this.componentConfig = options.componentConfig;
@@ -1,4 +1,4 @@
1
- import { ComponentInterface, PickOption, DataType, Record, ColumnConfig } from '../../type';
1
+ import { ComponentInterface, PickOption, Record, ColumnConfig } from '../../type';
2
2
  import React from 'react';
3
3
  import OrdinaryHeader from './OrdinaryHeader';
4
4
  import OrdinaryMoney from './OrdinaryMoney';
@@ -9,10 +9,6 @@ declare class Ordinary implements ComponentInterface {
9
9
  sortField: string;
10
10
  type: string;
11
11
  rules: any[];
12
- canFilter: boolean;
13
- canGroup: boolean;
14
- canHidden: boolean;
15
- dataType: DataType;
16
12
  showContains: boolean;
17
13
  componentConfig: ComponentInterface["componentConfig"];
18
14
  ordinaryMoney: OrdinaryMoney;
@@ -21,8 +17,9 @@ declare class Ordinary implements ComponentInterface {
21
17
  isCombinationComponent: boolean;
22
18
  canSort: boolean;
23
19
  children: ComponentInterface[];
20
+ dataType: ComponentInterface['dataType'];
24
21
  constructor(options: PickOption);
25
- editRender: () => React.JSX.Element;
22
+ editRender: (p: any) => React.JSX.Element;
26
23
  renderPc: () => null;
27
24
  renderLog: (r: Record) => React.JSX.Element;
28
25
  getComponentValue: (r: Record) => {
@@ -22,10 +22,6 @@ var Ordinary = /*#__PURE__*/_createClass(function Ordinary(options) {
22
22
  _defineProperty(this, "sortField", void 0);
23
23
  _defineProperty(this, "type", void 0);
24
24
  _defineProperty(this, "rules", void 0);
25
- _defineProperty(this, "canFilter", void 0);
26
- _defineProperty(this, "canGroup", void 0);
27
- _defineProperty(this, "canHidden", void 0);
28
- _defineProperty(this, "dataType", void 0);
29
25
  _defineProperty(this, "showContains", void 0);
30
26
  _defineProperty(this, "componentConfig", void 0);
31
27
  _defineProperty(this, "ordinaryMoney", void 0);
@@ -34,12 +30,14 @@ var Ordinary = /*#__PURE__*/_createClass(function Ordinary(options) {
34
30
  _defineProperty(this, "isCombinationComponent", void 0);
35
31
  _defineProperty(this, "canSort", void 0);
36
32
  _defineProperty(this, "children", void 0);
37
- _defineProperty(this, "editRender", function () {
33
+ _defineProperty(this, "dataType", void 0);
34
+ _defineProperty(this, "editRender", function (p) {
38
35
  var _this$componentConfig, _this$componentConfig2;
39
36
  return /*#__PURE__*/React.createElement(GetFormItem, {
40
37
  title: _this.name,
41
38
  name: _this.id,
42
39
  rules: _this.rules,
40
+ hidden: p === null || p === void 0 ? void 0 : p.hidden,
43
41
  required: (_this$componentConfig = (_this$componentConfig2 = _this.componentConfig) === null || _this$componentConfig2 === void 0 ? void 0 : _this$componentConfig2.required) !== null && _this$componentConfig !== void 0 ? _this$componentConfig : false,
44
42
  component: /*#__PURE__*/React.createElement(Invoice, _this.componentConfig)
45
43
  });
@@ -70,9 +68,6 @@ var Ordinary = /*#__PURE__*/_createClass(function Ordinary(options) {
70
68
  this.id = options.id;
71
69
  this.sortField = options.id;
72
70
  this.type = options.type;
73
- this.canFilter = false;
74
- this.canGroup = false;
75
- this.canHidden = true;
76
71
  this.showContains = false;
77
72
  this.dataType = 'string';
78
73
  this.componentConfig = options.componentConfig;
@@ -81,6 +76,7 @@ var Ordinary = /*#__PURE__*/_createClass(function Ordinary(options) {
81
76
  this.ordinarySerial = new OrdinarySerial(options);
82
77
  this.isCombinationComponent = true;
83
78
  this.canSort = false;
79
+ this.dataType = 'object';
84
80
  this.children = [this.ordinaryHeader, this.ordinaryMoney, this.ordinarySerial];
85
81
  this.rules = (_this$componentConfig3 = this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.required ? [{
86
82
  validator: function validator(_, value) {
@@ -13,13 +13,14 @@ declare class PaymentTid implements ComponentInterface {
13
13
  isCombinationComponent: boolean;
14
14
  canSort: boolean;
15
15
  children: ComponentInterface[];
16
+ dataType: ComponentInterface['dataType'];
16
17
  constructor(options: PickOption);
17
18
  renderClient: (record: any) => React.JSX.Element | null;
18
19
  renderPc: (value: unknown, record: Record) => React.JSX.Element;
19
20
  renderLog: (r: Record) => React.JSX.Element | null;
20
21
  getComponentValue: (r: Record) => any;
21
22
  renderExport: (value: any, record: Record) => any;
22
- editRender: () => React.JSX.Element;
23
+ editRender: (p: any) => React.JSX.Element;
23
24
  filterConfig: (item: ColumnConfig) => {
24
25
  searchDefaultConditions: "eq";
25
26
  type: string;
@@ -26,6 +26,7 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
26
26
  _defineProperty(this, "isCombinationComponent", void 0);
27
27
  _defineProperty(this, "canSort", void 0);
28
28
  _defineProperty(this, "children", void 0);
29
+ _defineProperty(this, "dataType", void 0);
29
30
  _defineProperty(this, "renderClient", function (record) {
30
31
  return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
31
32
  id: _this.id,
@@ -56,12 +57,13 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
56
57
  var _record$_this$id;
57
58
  return (_record$_this$id = record === null || record === void 0 ? void 0 : record[_this.id]) !== null && _record$_this$id !== void 0 ? _record$_this$id : '--';
58
59
  });
59
- _defineProperty(this, "editRender", function () {
60
+ _defineProperty(this, "editRender", function (p) {
60
61
  var _this$componentConfig, _this$componentConfig2;
61
62
  return /*#__PURE__*/React.createElement(GetFormItem, {
62
63
  title: _this.name,
63
64
  name: _this.id,
64
65
  rules: _this.rules,
66
+ hidden: p === null || p === void 0 ? void 0 : p.hidden,
65
67
  required: (_this$componentConfig = (_this$componentConfig2 = _this.componentConfig) === null || _this$componentConfig2 === void 0 ? void 0 : _this$componentConfig2.required) !== null && _this$componentConfig !== void 0 ? _this$componentConfig : false,
66
68
  component: /*#__PURE__*/React.createElement(ApaasInput, _this.componentConfig)
67
69
  });
@@ -91,6 +93,7 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
91
93
  this.width = 200;
92
94
  this.isCombinationComponent = false;
93
95
  this.canSort = true;
96
+ this.dataType = 'string';
94
97
  this.children = [];
95
98
  });
96
99
  export default PaymentTid;
@@ -13,13 +13,14 @@ declare class AlipayNo implements ComponentInterface {
13
13
  isCombinationComponent: boolean;
14
14
  canSort: boolean;
15
15
  children: ComponentInterface[];
16
+ dataType: ComponentInterface['dataType'];
16
17
  constructor(options: PickOption);
17
18
  renderClient: (record: any) => React.JSX.Element | null;
18
19
  renderPc: (value: unknown, record: any) => React.JSX.Element;
19
20
  renderLog: (r: Record) => React.JSX.Element | null;
20
21
  getComponentValue: (r: Record) => any;
21
22
  renderExport: (value: any, record: Record) => any;
22
- editRender: () => React.JSX.Element;
23
+ editRender: (p: any) => React.JSX.Element;
23
24
  filterConfig: (item: ColumnConfig) => {
24
25
  searchDefaultConditions: "eq";
25
26
  type: string;
@@ -26,6 +26,7 @@ var AlipayNo = /*#__PURE__*/_createClass(function AlipayNo(options) {
26
26
  _defineProperty(this, "isCombinationComponent", void 0);
27
27
  _defineProperty(this, "canSort", void 0);
28
28
  _defineProperty(this, "children", void 0);
29
+ _defineProperty(this, "dataType", void 0);
29
30
  _defineProperty(this, "renderClient", function (record) {
30
31
  return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
31
32
  id: _this.id,
@@ -56,12 +57,13 @@ var AlipayNo = /*#__PURE__*/_createClass(function AlipayNo(options) {
56
57
  var _record$_this$id;
57
58
  return (_record$_this$id = record === null || record === void 0 ? void 0 : record[_this.id]) !== null && _record$_this$id !== void 0 ? _record$_this$id : '--';
58
59
  });
59
- _defineProperty(this, "editRender", function () {
60
+ _defineProperty(this, "editRender", function (p) {
60
61
  var _this$componentConfig, _this$componentConfig2;
61
62
  return /*#__PURE__*/React.createElement(GetFormItem, {
62
63
  title: _this.name,
63
64
  name: _this.id,
64
65
  rules: _this.rules,
66
+ hidden: p === null || p === void 0 ? void 0 : p.hidden,
65
67
  required: (_this$componentConfig = (_this$componentConfig2 = _this.componentConfig) === null || _this$componentConfig2 === void 0 ? void 0 : _this$componentConfig2.required) !== null && _this$componentConfig !== void 0 ? _this$componentConfig : false,
66
68
  component: /*#__PURE__*/React.createElement(ApaasInput, _this.componentConfig)
67
69
  });
@@ -90,6 +92,7 @@ var AlipayNo = /*#__PURE__*/_createClass(function AlipayNo(options) {
90
92
  this.isCombinationComponent = false;
91
93
  this.canSort = true;
92
94
  this.children = [];
95
+ this.dataType = 'string';
93
96
  this.rules = [{
94
97
  validator: function validator(_, value) {
95
98
  if (/^(?:1[3-9]\d{9}|[a-zA-Z\d._-]*@[a-zA-Z\d.-]{1,10}\.[a-zA-Z\d]{1,20})$/.test(value)) {
@@ -12,13 +12,15 @@ declare class AlipayTime implements ComponentInterface {
12
12
  isCombinationComponent: boolean;
13
13
  canSort: boolean;
14
14
  children: ComponentInterface[];
15
+ dataType: ComponentInterface['dataType'];
16
+ format: ComponentInterface['format'];
15
17
  constructor(options: PickOption);
16
18
  renderClient: (record: Record) => React.JSX.Element | null;
17
19
  renderPc: (value: unknown, record: Record) => any;
18
20
  renderLog: (r: Record) => any;
19
21
  getComponentValue: (r: Record) => any;
20
22
  renderExport: (value: string) => string | null;
21
- editRender: () => React.JSX.Element;
23
+ editRender: (p: any) => React.JSX.Element;
22
24
  filterConfig: (item: ColumnConfig) => {
23
25
  searchDefaultConditions: "between";
24
26
  type: string;