@kmkf-fe-packages/services-components 0.25.1-alpha.0 → 0.26.0-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 (79) hide show
  1. package/dist/esm/components/ActualPayment/index.js +1 -0
  2. package/dist/esm/components/Address/index.js +1 -0
  3. package/dist/esm/components/Alipay/index.js +1 -0
  4. package/dist/esm/components/AlipayAccount/index.js +1 -0
  5. package/dist/esm/components/AlipayName/index.js +1 -0
  6. package/dist/esm/components/BS/BsExchange/index.js +1 -0
  7. package/dist/esm/components/BS/BsGoods/index.js +1 -0
  8. package/dist/esm/components/BS/BsLogistics/index.js +1 -0
  9. package/dist/esm/components/BS/BsPosting/index.js +1 -0
  10. package/dist/esm/components/BS/BsReissue/index.js +1 -0
  11. package/dist/esm/components/BS/BsReturn/index.js +1 -0
  12. package/dist/esm/components/BS/BsSystemOrder/index.js +1 -0
  13. package/dist/esm/components/BS/DeliveryNo/index.js +1 -0
  14. package/dist/esm/components/BuyerNick/index.js +1 -0
  15. package/dist/esm/components/Calculation/index.js +1 -0
  16. package/dist/esm/components/Cascader/index.js +1 -0
  17. package/dist/esm/components/Checkbox/index.js +1 -0
  18. package/dist/esm/components/CommonMultiStatus/index.js +1 -0
  19. package/dist/esm/components/CommonSystemOrder/index.js +1 -0
  20. package/dist/esm/components/CommonTradeId/index.js +1 -0
  21. package/dist/esm/components/DataTime/index.js +1 -0
  22. package/dist/esm/components/EItemEnCode/index.js +1 -0
  23. package/dist/esm/components/EItemId/index.js +1 -0
  24. package/dist/esm/components/EItemSelect/index.js +1 -0
  25. package/dist/esm/components/ErpTradeId/index.js +1 -0
  26. package/dist/esm/components/Express/index.js +1 -0
  27. package/dist/esm/components/ExpressCode/index.js +1 -0
  28. package/dist/esm/components/File/index.js +1 -0
  29. package/dist/esm/components/FlowMarkSelect/index.js +1 -0
  30. package/dist/esm/components/FlowStatusSelect/index.js +1 -0
  31. package/dist/esm/components/FlowTag/index.js +1 -0
  32. package/dist/esm/components/FlowWorkOrderId/index.js +1 -0
  33. package/dist/esm/components/GetFormItem/index.d.ts +2 -1
  34. package/dist/esm/components/GetFormItem/index.js +6 -3
  35. package/dist/esm/components/Grade/index.js +1 -0
  36. package/dist/esm/components/Input/index.js +1 -0
  37. package/dist/esm/components/JST/JstItemSelect/index.js +1 -0
  38. package/dist/esm/components/JST/JstLogistics/index.js +1 -0
  39. package/dist/esm/components/JST/JstSendGood/index.js +1 -0
  40. package/dist/esm/components/JST/JstSupply/index.js +1 -0
  41. package/dist/esm/components/Logistics/index.js +1 -0
  42. package/dist/esm/components/LogisticsInterception/InterceptAddress.js +1 -0
  43. package/dist/esm/components/LogisticsInterception/index.js +1 -0
  44. package/dist/esm/components/LogisticsMoreTrajectory/index.js +1 -0
  45. package/dist/esm/components/LogisticsTrajectory/index.js +1 -0
  46. package/dist/esm/components/MsgStatus/index.js +1 -0
  47. package/dist/esm/components/MultSelect/index.js +1 -0
  48. package/dist/esm/components/Ordinary/OrdinaryHeader.js +1 -0
  49. package/dist/esm/components/Ordinary/OrdinaryMoney.js +1 -0
  50. package/dist/esm/components/Ordinary/OrdinarySerial.js +1 -0
  51. package/dist/esm/components/Ordinary/index.js +1 -0
  52. package/dist/esm/components/Payment/AlipayNick.js +1 -0
  53. package/dist/esm/components/Payment/AlipayNo.js +1 -0
  54. package/dist/esm/components/Payment/AlipayTime.js +1 -0
  55. package/dist/esm/components/Payment/BuyerNick.js +1 -0
  56. package/dist/esm/components/Payment/PaymentAmount.js +1 -0
  57. package/dist/esm/components/Payment/PaymentTid.js +1 -0
  58. package/dist/esm/components/Payment/index.js +1 -0
  59. package/dist/esm/components/Picture/index.js +1 -0
  60. package/dist/esm/components/PostIng/index.js +1 -0
  61. package/dist/esm/components/Radio/index.js +1 -0
  62. package/dist/esm/components/Rate/index.js +1 -0
  63. package/dist/esm/components/ReceiverAddress/index.js +1 -0
  64. package/dist/esm/components/ReceiverMobile/index.js +1 -0
  65. package/dist/esm/components/ReceiverName/index.js +1 -0
  66. package/dist/esm/components/Remark/index.js +1 -0
  67. package/dist/esm/components/ReturnLogistics/index.js +1 -0
  68. package/dist/esm/components/Select/index.js +1 -0
  69. package/dist/esm/components/ShopName/index.js +1 -0
  70. package/dist/esm/components/StatusSelect/index.js +1 -0
  71. package/dist/esm/components/SystemOrderNo/index.js +1 -0
  72. package/dist/esm/components/TextArea/index.js +1 -0
  73. package/dist/esm/components/ThirdItemSelect/index.js +1 -0
  74. package/dist/esm/components/TradeDateTime/index.js +1 -0
  75. package/dist/esm/components/TradeId/index.js +1 -0
  76. package/dist/esm/components/WLN/WlnGoods/index.js +1 -0
  77. package/dist/esm/components/WorkOrderId/index.js +1 -0
  78. package/dist/esm/factory.d.ts +1 -1
  79. package/package.json +4 -4
@@ -72,6 +72,7 @@ var ActualPayment = /*#__PURE__*/_createClass(function ActualPayment(options) {
72
72
  name: _this.id,
73
73
  rules: _this.rules,
74
74
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
75
+ display: p === null || p === void 0 ? void 0 : p.display,
75
76
  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,
76
77
  component: /*#__PURE__*/React.createElement(ApaasInput, _extends({}, _this.componentConfig, {
77
78
  placeholder: "\u8BF7\u8F93\u5165".concat(_this.name)
@@ -91,6 +91,7 @@ var Address = /*#__PURE__*/_createClass(function Address(options) {
91
91
  name: _this.id,
92
92
  rules: _this.rules,
93
93
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
94
+ display: p === null || p === void 0 ? void 0 : p.display,
94
95
  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,
95
96
  component: /*#__PURE__*/React.createElement(ApaasAddress, _this.componentConfig)
96
97
  });
@@ -55,6 +55,7 @@ var Alipay = /*#__PURE__*/_createClass(function Alipay(options) {
55
55
  name: _this.id,
56
56
  rules: _this.rules,
57
57
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
58
+ display: p === null || p === void 0 ? void 0 : p.display,
58
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,
59
60
  component: /*#__PURE__*/React.createElement(AliPay, _extends({}, _this.componentConfig, {
60
61
  onBlur: p === null || p === void 0 ? void 0 : p.onBlur
@@ -66,6 +66,7 @@ var EAlipayAccount = /*#__PURE__*/_createClass(function EAlipayAccount(options)
66
66
  name: _this.id,
67
67
  rules: _this.rules,
68
68
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
69
+ display: p === null || p === void 0 ? void 0 : p.display,
69
70
  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,
70
71
  component: /*#__PURE__*/React.createElement(AlipayAccount, _this.componentConfig)
71
72
  });
@@ -65,6 +65,7 @@ var EAlipayAccount = /*#__PURE__*/_createClass(function EAlipayAccount(options)
65
65
  name: _this.id,
66
66
  rules: _this.rules,
67
67
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
68
+ display: p === null || p === void 0 ? void 0 : p.display,
68
69
  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,
69
70
  component: /*#__PURE__*/React.createElement(AlipayName, _this.componentConfig)
70
71
  });
@@ -98,6 +98,7 @@ var BsExchange = /*#__PURE__*/_createClass(function BsExchange(options) {
98
98
  rules: _this.rules,
99
99
  required: false,
100
100
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
101
+ display: p === null || p === void 0 ? void 0 : p.display,
101
102
  component: /*#__PURE__*/React.createElement(Exchange, _extends({}, _this.componentConfig, {
102
103
  maxLength: ((_this$componentConfig7 = _this.componentConfig) === null || _this$componentConfig7 === void 0 ? void 0 : _this$componentConfig7.maxLength) || 20,
103
104
  shopId: (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.shopId,
@@ -69,6 +69,7 @@ var BsGoods = /*#__PURE__*/_createClass(function BsGoods(options) {
69
69
  rules: _this.rules,
70
70
  required: false,
71
71
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
72
+ display: p === null || p === void 0 ? void 0 : p.display,
72
73
  component: /*#__PURE__*/React.createElement(Goods, _extends({}, _this.componentConfig, {
73
74
  maxLength: ((_this$componentConfig3 = _this.componentConfig) === null || _this$componentConfig3 === void 0 ? void 0 : _this$componentConfig3.maxLength) || 20,
74
75
  shopId: (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.shopId,
@@ -139,6 +139,7 @@ var BsLogistics = /*#__PURE__*/_createClass(function BsLogistics(_options) {
139
139
  name: _this.id,
140
140
  rules: _this.rules,
141
141
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
142
+ display: p === null || p === void 0 ? void 0 : p.display,
142
143
  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,
143
144
  component: /*#__PURE__*/React.createElement(JstGoods, _extends({}, _this.componentConfig, {
144
145
  type: 1,
@@ -86,6 +86,7 @@ var BsPosting = /*#__PURE__*/_createClass(function BsPosting(options) {
86
86
  name: _this.id,
87
87
  rules: _this.rules,
88
88
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
89
+ display: p === null || p === void 0 ? void 0 : p.display,
89
90
  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,
90
91
  component: /*#__PURE__*/React.createElement(ApaasPosting, _extends({}, _this.componentConfig, {
91
92
  type: _this.type === "POSTING" || ((_this$componentConfig3 = _this.componentConfig) === null || _this$componentConfig3 === void 0 ? void 0 : _this$componentConfig3.showField) === "workOrder" ? "workOrder" : "bs"
@@ -73,6 +73,7 @@ var BsReissue = /*#__PURE__*/_createClass(function BsReissue(options) {
73
73
  rules: _this.rules,
74
74
  required: false,
75
75
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
76
+ display: p === null || p === void 0 ? void 0 : p.display,
76
77
  component: /*#__PURE__*/React.createElement(Reissue, _extends({}, _this.componentConfig, {
77
78
  maxLength: ((_this$componentConfig3 = _this.componentConfig) === null || _this$componentConfig3 === void 0 ? void 0 : _this$componentConfig3.maxLength) || 20,
78
79
  shopId: (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.shopId,
@@ -70,6 +70,7 @@ var BsReturn = /*#__PURE__*/_createClass(function BsReturn(options) {
70
70
  rules: _this.rules,
71
71
  required: false,
72
72
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
73
+ display: p === null || p === void 0 ? void 0 : p.display,
73
74
  component: /*#__PURE__*/React.createElement(BsReturnGoods, _extends({}, _this.componentConfig, {
74
75
  maxLength: ((_this$componentConfig3 = _this.componentConfig) === null || _this$componentConfig3 === void 0 ? void 0 : _this$componentConfig3.maxLength) || 20,
75
76
  shopId: (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.shopId,
@@ -84,6 +84,7 @@ var BsSystemOrder = /*#__PURE__*/_createClass(function BsSystemOrder(options) {
84
84
  rules: _this.rules,
85
85
  required: false,
86
86
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
87
+ display: p === null || p === void 0 ? void 0 : p.display,
87
88
  component: /*#__PURE__*/React.createElement(SystemOrder, _extends({}, _this.componentConfig, {
88
89
  onChange: p === null || p === void 0 ? void 0 : p.onChange,
89
90
  type: _this.type
@@ -88,6 +88,7 @@ var DeliveryNo = /*#__PURE__*/_createClass(function DeliveryNo(options) {
88
88
  name: _this.id,
89
89
  rules: _this.rules,
90
90
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
91
+ display: p === null || p === void 0 ? void 0 : p.display,
91
92
  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,
92
93
  component: /*#__PURE__*/React.createElement(CommonSystemOrder, _extends({}, _this.componentConfig, {
93
94
  type: 1
@@ -93,6 +93,7 @@ var EBuyerNick = /*#__PURE__*/_createClass(function EBuyerNick(options) {
93
93
  rules: _this.rules,
94
94
  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,
95
95
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
96
+ display: p === null || p === void 0 ? void 0 : p.display,
96
97
  component: /*#__PURE__*/React.createElement(BuyerNick, _extends({}, _this.componentConfig, {
97
98
  shopId: (_this$effects3 = _this.effects) === null || _this$effects3 === void 0 ? void 0 : _this$effects3.shopId,
98
99
  shopList: (_this$effects4 = _this.effects) === null || _this$effects4 === void 0 ? void 0 : _this$effects4.shopList,
@@ -57,6 +57,7 @@ var Calculation = /*#__PURE__*/_createClass(function Calculation(options) {
57
57
  rules: _this.rules,
58
58
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
59
59
  required: false,
60
+ display: p === null || p === void 0 ? void 0 : p.display,
60
61
  style: {
61
62
  display: (_this$componentConfig4 = _this.componentConfig) !== null && _this$componentConfig4 !== void 0 && (_this$componentConfig5 = _this$componentConfig4.config) !== null && _this$componentConfig5 !== void 0 && _this$componentConfig5.display ? 'unset' : 'none'
62
63
  } // TODO: 样式隐藏
@@ -79,6 +79,7 @@ var BasicCascader = /*#__PURE__*/_createClass(function BasicCascader(_options) {
79
79
  rules: _this.rules,
80
80
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
81
81
  required: (_this$componentConfig4 = (_this$componentConfig5 = _this.componentConfig) === null || _this$componentConfig5 === void 0 ? void 0 : _this$componentConfig5.required) !== null && _this$componentConfig4 !== void 0 ? _this$componentConfig4 : false,
82
+ display: p === null || p === void 0 ? void 0 : p.display,
82
83
  component: /*#__PURE__*/React.createElement(Cascader, _extends({}, _this.componentConfig, {
83
84
  placeholder: "\u8BF7\u8F93\u5165".concat(_this.name),
84
85
  options: transMultSelectOptions(((_this$componentConfig6 = _this.componentConfig) === null || _this$componentConfig6 === void 0 ? void 0 : _this$componentConfig6.options) || []),
@@ -86,6 +86,7 @@ var BasicCheckbox = /*#__PURE__*/_createClass(function BasicCheckbox(options) {
86
86
  name: _this.id,
87
87
  rules: _this.rules,
88
88
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
89
+ display: p === null || p === void 0 ? void 0 : p.display,
89
90
  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,
90
91
  component: /*#__PURE__*/React.createElement(ApaasCheckbox, _this.componentConfig)
91
92
  });
@@ -154,6 +154,7 @@ var CommonMultiStatus = /*#__PURE__*/_createClass(function CommonMultiStatus(opt
154
154
  name: _this.id,
155
155
  rules: _this.rules,
156
156
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
157
+ display: p === null || p === void 0 ? void 0 : p.display,
157
158
  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,
158
159
  component: /*#__PURE__*/React.createElement(Status, _extends({}, _this.componentConfig, {
159
160
  type: (_typeMap$_this$type17 = typeMap[_this.type]) === null || _typeMap$_this$type17 === void 0 ? void 0 : _typeMap$_this$type17.type,
@@ -115,6 +115,7 @@ var CommonSystemOrder = /*#__PURE__*/_createClass(function CommonSystemOrder(opt
115
115
  name: _this.id,
116
116
  rules: _this.rules,
117
117
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
118
+ display: p === null || p === void 0 ? void 0 : p.display,
118
119
  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,
119
120
  component: /*#__PURE__*/React.createElement(SystemOrder, _extends({}, _this.componentConfig, {
120
121
  type: (_typeMap$_this$type9 = typeMap[_this.type]) === null || _typeMap$_this$type9 === void 0 ? void 0 : _typeMap$_this$type9.type
@@ -88,6 +88,7 @@ var CommonTradeId = /*#__PURE__*/_createClass(function CommonTradeId(options) {
88
88
  name: _this.id,
89
89
  rules: _this.rules,
90
90
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
91
+ display: p === null || p === void 0 ? void 0 : p.display,
91
92
  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,
92
93
  component: /*#__PURE__*/React.createElement(Input, _extends({}, _this.componentConfig, {
93
94
  placeholder: "\u65E0\u987B\u586B\u5199",
@@ -85,6 +85,7 @@ var BasicDataTime = /*#__PURE__*/_createClass(function BasicDataTime(options) {
85
85
  name: _this.id,
86
86
  rules: _this.rules,
87
87
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
88
+ display: p === null || p === void 0 ? void 0 : p.display,
88
89
  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,
89
90
  component: /*#__PURE__*/React.createElement(DateTime, _this.componentConfig)
90
91
  });
@@ -84,6 +84,7 @@ var EItemEncode = /*#__PURE__*/_createClass(function EItemEncode(options) {
84
84
  rules: _this.rules,
85
85
  required: false,
86
86
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
87
+ display: p === null || p === void 0 ? void 0 : p.display,
87
88
  component: /*#__PURE__*/React.createElement(ItemEncode, _extends({
88
89
  isSingleRow: _this.platform !== 'pc'
89
90
  }, _this.componentConfig, {
@@ -74,6 +74,7 @@ var EItemId = /*#__PURE__*/_createClass(function EItemId(options) {
74
74
  rules: _this.rules,
75
75
  required: false,
76
76
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
77
+ display: p === null || p === void 0 ? void 0 : p.display,
77
78
  component: /*#__PURE__*/React.createElement(ItemId, _extends({}, _this.componentConfig, {
78
79
  maxLength: ((_this$componentConfig = _this.componentConfig) === null || _this$componentConfig === void 0 ? void 0 : _this$componentConfig.maxLength) || 20,
79
80
  shopId: (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.shopId,
@@ -68,6 +68,7 @@ var EItemSelect = /*#__PURE__*/_createClass(function EItemSelect(options) {
68
68
  name: _this.id,
69
69
  rules: _this.rules,
70
70
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
71
+ display: p === null || p === void 0 ? void 0 : p.display,
71
72
  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,
72
73
  component: /*#__PURE__*/React.createElement(ItemSelect, _extends({}, _this.componentConfig, {
73
74
  maxLength: ((_this$componentConfig3 = _this.componentConfig) === null || _this$componentConfig3 === void 0 ? void 0 : _this$componentConfig3.maxLength) || 20,
@@ -77,6 +77,7 @@ var ErpTradeId = /*#__PURE__*/_createClass(function ErpTradeId(options) {
77
77
  name: _this.id,
78
78
  rules: _this.rules,
79
79
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
80
+ display: p === null || p === void 0 ? void 0 : p.display,
80
81
  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,
81
82
  component: /*#__PURE__*/React.createElement(TradeId, null)
82
83
  });
@@ -60,6 +60,7 @@ var Express = /*#__PURE__*/_createClass(function Express(options) {
60
60
  name: _this.id,
61
61
  rules: _this.rules,
62
62
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
63
+ display: p === null || p === void 0 ? void 0 : p.display,
63
64
  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
65
  component: !((_this$componentConfig3 = _this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.isSingle) || ((_this$componentConfig4 = _this.componentConfig) === null || _this$componentConfig4 === void 0 ? void 0 : _this$componentConfig4.showField) === "EXPRESS_COMPANY" ? /*#__PURE__*/React.createElement(ExpressCompany, {
65
66
  options: _this.expressDateInstance.getExpressData()
@@ -57,6 +57,7 @@ var ExpressCode = /*#__PURE__*/_createClass(function ExpressCode(options) {
57
57
  name: _this.id,
58
58
  rules: _this.rules,
59
59
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
60
+ display: p === null || p === void 0 ? void 0 : p.display,
60
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,
61
62
  component: !((_this$componentConfig3 = _this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.isSingle) || ((_this$componentConfig4 = _this.componentConfig) === null || _this$componentConfig4 === void 0 ? void 0 : _this$componentConfig4.showField) === "EXPRESS_WAYBILL_CODE" ? /*#__PURE__*/React.createElement(Input, null) : null
62
63
  });
@@ -79,6 +79,7 @@ var BasicFile = /*#__PURE__*/_createClass(function BasicFile(options) {
79
79
  name: _this.id,
80
80
  rules: _this.rules,
81
81
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
82
+ display: p === null || p === void 0 ? void 0 : p.display,
82
83
  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,
83
84
  component: /*#__PURE__*/React.createElement(ApaasUploadFile, _extends({}, _this.componentConfig, {
84
85
  uniqueKey: _this.id,
@@ -89,6 +89,7 @@ var FlowMarkSelect = /*#__PURE__*/_createClass(function FlowMarkSelect(options)
89
89
  name: _this.id,
90
90
  rules: _this.rules,
91
91
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
92
+ display: p === null || p === void 0 ? void 0 : p.display,
92
93
  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,
93
94
  component: /*#__PURE__*/React.createElement(ApaasSelect, _extends({}, _this.componentConfig, {
94
95
  placeholder: "\u8BF7\u9009\u62E9".concat(_this.name)
@@ -66,6 +66,7 @@ var WorkOrderId = /*#__PURE__*/_createClass(function WorkOrderId(options) {
66
66
  name: _this.id,
67
67
  rules: _this.rules,
68
68
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
69
+ display: p === null || p === void 0 ? void 0 : p.display,
69
70
  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,
70
71
  component: /*#__PURE__*/React.createElement(ApaasSelect, _extends({}, _this.componentConfig, {
71
72
  placeholder: "\u8BF7\u8F93\u5165".concat(_this.name),
@@ -91,6 +91,7 @@ var FlowTag = /*#__PURE__*/_createClass(function FlowTag(options) {
91
91
  name: _this.id,
92
92
  rules: _this.rules,
93
93
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
94
+ display: p === null || p === void 0 ? void 0 : p.display,
94
95
  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,
95
96
  component: /*#__PURE__*/React.createElement(ApaasSelect, _extends({}, _this.componentConfig, {
96
97
  placeholder: "\u8BF7\u9009\u62E9".concat(_this.name)
@@ -74,6 +74,7 @@ var FlowWorkOrderId = /*#__PURE__*/_createClass(function FlowWorkOrderId(options
74
74
  name: _this.id,
75
75
  rules: _this.rules,
76
76
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
77
+ display: p === null || p === void 0 ? void 0 : p.display,
77
78
  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,
78
79
  component: /*#__PURE__*/React.createElement(ApaasInput, _extends({}, _this.componentConfig, {
79
80
  placeholder: "\u8BF7\u8F93\u5165".concat(_this.name)
@@ -6,8 +6,9 @@ declare type GetFormItemProps = {
6
6
  name: string;
7
7
  component: JSX.Element | null;
8
8
  hidden?: boolean;
9
+ display?: boolean;
9
10
  style?: CSSProperties | undefined;
10
11
  [prop: string]: any;
11
12
  };
12
- declare const GetFormItem: ({ rules, required, title, component, name, hidden, style, validateTrigger }: GetFormItemProps) => React.JSX.Element | null;
13
+ declare const GetFormItem: ({ rules, required, title, component, name, hidden, display, style, validateTrigger }: GetFormItemProps) => React.JSX.Element | null;
13
14
  export default GetFormItem;
@@ -14,6 +14,8 @@ var GetFormItem = function GetFormItem(_ref) {
14
14
  name = _ref.name,
15
15
  _ref$hidden = _ref.hidden,
16
16
  hidden = _ref$hidden === void 0 ? false : _ref$hidden,
17
+ _ref$display = _ref.display,
18
+ display = _ref$display === void 0 ? true : _ref$display,
17
19
  style = _ref.style,
18
20
  validateTrigger = _ref.validateTrigger;
19
21
  var newRules = rules;
@@ -33,10 +35,11 @@ var GetFormItem = function GetFormItem(_ref) {
33
35
  }, /*#__PURE__*/React.createElement(Form.Item, {
34
36
  name: name,
35
37
  label: title,
36
- rules: newRules,
38
+ rules: display ? newRules : [] // TODO: 只有当组件展示时,检验才会生效。组件显示、可编辑需求添加
39
+ ,
37
40
  className: "form-item-label--index",
38
- validateTrigger: validateTrigger
39
- // hidden={hidden}
41
+ validateTrigger: validateTrigger,
42
+ hidden: !display
40
43
  }, component));
41
44
  };
42
45
  export default GetFormItem;
@@ -53,6 +53,7 @@ var BasicGrade = /*#__PURE__*/_createClass(function BasicGrade(options) {
53
53
  name: _this.id,
54
54
  rules: _this.rules,
55
55
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
56
+ display: p === null || p === void 0 ? void 0 : p.display,
56
57
  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,
57
58
  component: /*#__PURE__*/React.createElement(ApaasSlider, _this.componentConfig)
58
59
  });
@@ -62,6 +62,7 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
62
62
  name: _this.id,
63
63
  rules: _this.rules,
64
64
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
65
+ display: p === null || p === void 0 ? void 0 : p.display,
65
66
  validateTrigger: ["onBlur", "onChange"],
66
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,
67
68
  component: /*#__PURE__*/React.createElement(ApaasInput, _extends({}, _this.componentConfig, {
@@ -74,6 +74,7 @@ var JstItemSelect = /*#__PURE__*/_createClass(function JstItemSelect(options) {
74
74
  rules: _this.rules,
75
75
  required: false,
76
76
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
77
+ display: p === null || p === void 0 ? void 0 : p.display,
77
78
  component: /*#__PURE__*/React.createElement(JstItemList, _extends({}, _this.componentConfig, {
78
79
  width: "90%"
79
80
  }))
@@ -133,6 +133,7 @@ var JstLogistics = /*#__PURE__*/_createClass(function JstLogistics(_options) {
133
133
  name: _this.id,
134
134
  rules: _this.rules,
135
135
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
136
+ display: p === null || p === void 0 ? void 0 : p.display,
136
137
  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,
137
138
  component: /*#__PURE__*/React.createElement(JstGoods, _extends({}, _this.componentConfig, {
138
139
  type: 1,
@@ -135,6 +135,7 @@ var JstSendGood = /*#__PURE__*/_createClass(function JstSendGood(_options) {
135
135
  rules: _this.rules,
136
136
  required: false,
137
137
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
138
+ display: p === null || p === void 0 ? void 0 : p.display,
138
139
  component: /*#__PURE__*/React.createElement(JstGoods, _extends({}, _this.componentConfig, {
139
140
  type: 3
140
141
  }))
@@ -76,6 +76,7 @@ var JstSupply = /*#__PURE__*/_createClass(function JstSupply(options) {
76
76
  rules: _this.rules,
77
77
  required: false,
78
78
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
79
+ display: p === null || p === void 0 ? void 0 : p.display,
79
80
  component: /*#__PURE__*/React.createElement(JstGoods, _extends({}, _this.componentConfig, {
80
81
  type: 2
81
82
  }))
@@ -39,6 +39,7 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
39
39
  name: _this.id,
40
40
  rules: _this.rules,
41
41
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
42
+ display: p === null || p === void 0 ? void 0 : p.display,
42
43
  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,
43
44
  component: /*#__PURE__*/React.createElement(ExpressLogistics, _extends({}, _this.componentConfig, {
44
45
  options: _this.expressDateInstance.getExpressData(),
@@ -116,6 +116,7 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
116
116
  name: _this.id,
117
117
  rules: _this.rules,
118
118
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
119
+ display: p === null || p === void 0 ? void 0 : p.display,
119
120
  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,
120
121
  component: /*#__PURE__*/React.createElement(ApaasInput, _this.componentConfig)
121
122
  });
@@ -76,6 +76,7 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
76
76
  name: _this.id,
77
77
  rules: _this.rules,
78
78
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
79
+ display: p === null || p === void 0 ? void 0 : p.display,
79
80
  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,
80
81
  component: /*#__PURE__*/React.createElement(LogisticsInterception, _extends({}, _this.componentConfig, {
81
82
  logisticsOptions: _this.expressDateInstance.getExpressData(),
@@ -42,6 +42,7 @@ var LogisticsMoreTrajectory = /*#__PURE__*/_createClass(function LogisticsMoreTr
42
42
  name: _this.id,
43
43
  rules: _this.rules,
44
44
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
45
+ display: p === null || p === void 0 ? void 0 : p.display,
45
46
  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,
46
47
  component: /*#__PURE__*/React.createElement(MoreTrajectory, _this.componentConfig)
47
48
  });
@@ -41,6 +41,7 @@ var LogisticsTrajectory = /*#__PURE__*/_createClass(function LogisticsTrajectory
41
41
  name: _this.id,
42
42
  rules: _this.rules,
43
43
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
44
+ display: p === null || p === void 0 ? void 0 : p.display,
44
45
  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,
45
46
  component: /*#__PURE__*/React.createElement(Trajectory, _extends({}, _this.componentConfig, {
46
47
  options: _this.expressDateInstance.getExpressData()
@@ -129,6 +129,7 @@ var MsgStatus = /*#__PURE__*/_createClass(function MsgStatus(options) {
129
129
  name: _this.id,
130
130
  rules: _this.rules,
131
131
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
132
+ display: p === null || p === void 0 ? void 0 : p.display,
132
133
  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,
133
134
  component: /*#__PURE__*/React.createElement(Status, _extends({}, _this.componentConfig, {
134
135
  type: (_typeMap$_this$type16 = typeMap[_this.type]) === null || _typeMap$_this$type16 === void 0 ? void 0 : _typeMap$_this$type16.type,
@@ -65,6 +65,7 @@ var BasicMultSelect = /*#__PURE__*/_createClass(function BasicMultSelect(options
65
65
  name: _this.id,
66
66
  rules: _this.rules,
67
67
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
68
+ display: p === null || p === void 0 ? void 0 : p.display,
68
69
  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,
69
70
  component: /*#__PURE__*/React.createElement(ApaasMultipleSelect, _extends({}, _this.componentConfig, {
70
71
  placeholder: "\u8BF7\u8F93\u5165".concat(_this.name)
@@ -61,6 +61,7 @@ var OrdinaryHeader = /*#__PURE__*/_createClass(function OrdinaryHeader(options)
61
61
  name: _this.id,
62
62
  rules: _this.rules,
63
63
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
64
+ display: p === null || p === void 0 ? void 0 : p.display,
64
65
  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,
65
66
  component: /*#__PURE__*/React.createElement(Header, _extends({}, _this.componentConfig, {
66
67
  handleChangeSerial: handleChangeSerial
@@ -59,6 +59,7 @@ var OrdinaryMoney = /*#__PURE__*/_createClass(function OrdinaryMoney(options) {
59
59
  name: _this.id,
60
60
  rules: _this.rules,
61
61
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
62
+ display: p === null || p === void 0 ? void 0 : p.display,
62
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,
63
64
  component: /*#__PURE__*/React.createElement(ApaasInput, _this.componentConfig)
64
65
  });
@@ -57,6 +57,7 @@ var OrdinarySerial = /*#__PURE__*/_createClass(function OrdinarySerial(options)
57
57
  name: _this.id,
58
58
  rules: _this.rules,
59
59
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
60
+ display: p === null || p === void 0 ? void 0 : p.display,
60
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,
61
62
  component: /*#__PURE__*/React.createElement(ApaasInput, _this.componentConfig)
62
63
  });
@@ -39,6 +39,7 @@ var Ordinary = /*#__PURE__*/_createClass(function Ordinary(options) {
39
39
  name: _this.id,
40
40
  rules: _this.rules,
41
41
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
42
+ display: p === null || p === void 0 ? void 0 : p.display,
42
43
  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,
43
44
  component: /*#__PURE__*/React.createElement(Invoice, _this.componentConfig)
44
45
  });
@@ -66,6 +66,7 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
66
66
  name: _this.id,
67
67
  rules: _this.rules,
68
68
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
69
+ display: p === null || p === void 0 ? void 0 : p.display,
69
70
  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,
70
71
  component: /*#__PURE__*/React.createElement(ApaasInput, _this.componentConfig)
71
72
  });
@@ -66,6 +66,7 @@ var AlipayNo = /*#__PURE__*/_createClass(function AlipayNo(options) {
66
66
  name: _this.id,
67
67
  rules: _this.rules,
68
68
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
69
+ display: p === null || p === void 0 ? void 0 : p.display,
69
70
  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,
70
71
  component: /*#__PURE__*/React.createElement(ApaasInput, _this.componentConfig)
71
72
  });
@@ -77,6 +77,7 @@ var AlipayTime = /*#__PURE__*/_createClass(function AlipayTime(options) {
77
77
  name: _this.id,
78
78
  rules: _this.rules,
79
79
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
80
+ display: p === null || p === void 0 ? void 0 : p.display,
80
81
  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,
81
82
  component: /*#__PURE__*/React.createElement(ApaasInput, _this.componentConfig)
82
83
  });
@@ -65,6 +65,7 @@ var BuyerNick = /*#__PURE__*/_createClass(function BuyerNick(options) {
65
65
  name: _this.id,
66
66
  rules: _this.rules,
67
67
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
68
+ display: p === null || p === void 0 ? void 0 : p.display,
68
69
  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,
69
70
  component: /*#__PURE__*/React.createElement(ApaasInput, _this.componentConfig)
70
71
  });
@@ -58,6 +58,7 @@ var PaymentAmount = /*#__PURE__*/_createClass(function PaymentAmount(options) {
58
58
  name: _this.id,
59
59
  rules: _this.rules,
60
60
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
61
+ display: p === null || p === void 0 ? void 0 : p.display,
61
62
  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
63
  component: /*#__PURE__*/React.createElement(ApaasInput, _this.componentConfig)
63
64
  });
@@ -55,6 +55,7 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
55
55
  name: _this.id,
56
56
  rules: _this.rules,
57
57
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
58
+ display: p === null || p === void 0 ? void 0 : p.display,
58
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,
59
60
  component: /*#__PURE__*/React.createElement(ApaasInput, _this.componentConfig)
60
61
  });
@@ -70,6 +70,7 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
70
70
  name: _this.id,
71
71
  rules: _this.rules,
72
72
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
73
+ display: p === null || p === void 0 ? void 0 : p.display,
73
74
  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
75
  component: /*#__PURE__*/React.createElement(ApaasPayment, _extends({}, _this.componentConfig, {
75
76
  disabled: (_this$componentConfig3 = _this.componentConfig) === null || _this$componentConfig3 === void 0 ? void 0 : _this$componentConfig3.disabled,
@@ -97,6 +97,7 @@ var BasicPicture = /*#__PURE__*/_createClass(function BasicPicture(options) {
97
97
  name: _this.id,
98
98
  rules: _this.rules,
99
99
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
100
+ display: p === null || p === void 0 ? void 0 : p.display,
100
101
  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,
101
102
  component: (_this$componentConfig3 = _this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.isSingleShop ? /*#__PURE__*/React.createElement(ApaasUpload, _this.componentConfig) : /*#__PURE__*/React.createElement(ApaasUploadAsync, _extends({}, _this.componentConfig, {
102
103
  uniqueKey: _this.id,
@@ -167,6 +167,7 @@ var BasicPosting = /*#__PURE__*/_createClass(function BasicPosting(options) {
167
167
  name: _this.id,
168
168
  rules: _this.rules,
169
169
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
170
+ display: p === null || p === void 0 ? void 0 : p.display,
170
171
  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,
171
172
  component: /*#__PURE__*/React.createElement(ApaasPosting, _extends({}, _this.componentConfig, {
172
173
  type: _this.type === "BS_POSTING" ? "bs" : (_this$componentConfig3 = _this.componentConfig) === null || _this$componentConfig3 === void 0 ? void 0 : _this$componentConfig3.showField
@@ -80,6 +80,7 @@ var BasicRadio = /*#__PURE__*/_createClass(function BasicRadio(options) {
80
80
  name: _this.id,
81
81
  rules: _this.rules,
82
82
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
83
+ display: p === null || p === void 0 ? void 0 : p.display,
83
84
  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,
84
85
  component: /*#__PURE__*/React.createElement(ApaasRadio, _extends({}, _this.componentConfig, {
85
86
  onChange: p === null || p === void 0 ? void 0 : p.onChange
@@ -113,6 +113,7 @@ var BasicRate = /*#__PURE__*/_createClass(function BasicRate(options) {
113
113
  name: _this.id,
114
114
  rules: _this.rules,
115
115
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
116
+ display: p === null || p === void 0 ? void 0 : p.display,
116
117
  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
118
  component: /*#__PURE__*/React.createElement(ApaasRate, _extends({}, _this.componentConfig, {
118
119
  allowClear: false,
@@ -109,6 +109,7 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
109
109
  name: _this.id,
110
110
  rules: _this.rules,
111
111
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
112
+ display: p === null || p === void 0 ? void 0 : p.display,
112
113
  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,
113
114
  component: /*#__PURE__*/React.createElement(Address, _this.componentConfig)
114
115
  });
@@ -64,6 +64,7 @@ var ReceiverMobile = /*#__PURE__*/_createClass(function ReceiverMobile(options)
64
64
  name: _this.id,
65
65
  rules: _this.rules,
66
66
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
67
+ display: p === null || p === void 0 ? void 0 : p.display,
67
68
  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,
68
69
  component: /*#__PURE__*/React.createElement(ApaasInput, _extends({}, _this.componentConfig, {
69
70
  placeholder: "\u8BF7\u8F93\u5165".concat(_this.name),
@@ -64,6 +64,7 @@ var ReceiverName = /*#__PURE__*/_createClass(function ReceiverName(options) {
64
64
  name: _this.id,
65
65
  rules: _this.rules,
66
66
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
67
+ display: p === null || p === void 0 ? void 0 : p.display,
67
68
  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,
68
69
  component: /*#__PURE__*/React.createElement(ApaasInput, _extends({}, _this.componentConfig, {
69
70
  placeholder: "\u8BF7\u8F93\u5165".concat(_this.name)
@@ -91,6 +91,7 @@ var ERemark = /*#__PURE__*/_createClass(function ERemark(options) {
91
91
  name: _this.id,
92
92
  rules: _this.rules,
93
93
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
94
+ display: p === null || p === void 0 ? void 0 : p.display,
94
95
  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,
95
96
  component: /*#__PURE__*/React.createElement(Remark, _this.componentConfig)
96
97
  });
@@ -58,6 +58,7 @@ var ReturnLogistics = /*#__PURE__*/_createClass(function ReturnLogistics(options
58
58
  name: _this.id,
59
59
  rules: _this.rules,
60
60
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
61
+ display: p === null || p === void 0 ? void 0 : p.display,
61
62
  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
63
  component: /*#__PURE__*/React.createElement(ExpressLogistics, _extends({}, _this.componentConfig, {
63
64
  options: _this.expressDateInstance.getExpressData(),
@@ -42,6 +42,7 @@ var BasicSelect = /*#__PURE__*/_createClass(function BasicSelect(options) {
42
42
  name: _this.id,
43
43
  rules: _this.rules,
44
44
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
45
+ display: p === null || p === void 0 ? void 0 : p.display,
45
46
  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,
46
47
  component: /*#__PURE__*/React.createElement(ApaasSelect, _extends({}, _this.componentConfig, {
47
48
  placeholder: "\u8BF7\u8F93\u5165".concat(_this.name),
@@ -55,6 +55,7 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
55
55
  name: _this.id,
56
56
  rules: _this.rules,
57
57
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
58
+ display: p === null || p === void 0 ? void 0 : p.display,
58
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,
59
60
  component: /*#__PURE__*/React.createElement(ApaasInput, _extends({}, _this.componentConfig, {
60
61
  placeholder: "\u8BF7\u8F93\u5165".concat(_this.name)
@@ -109,6 +109,7 @@ var StatusSelect = /*#__PURE__*/_createClass(function StatusSelect(options) {
109
109
  name: _this.id,
110
110
  rules: _this.rules,
111
111
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
112
+ display: p === null || p === void 0 ? void 0 : p.display,
112
113
  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,
113
114
  component: /*#__PURE__*/React.createElement(CommonStatus, _extends({}, _this.componentConfig, {
114
115
  placeholder: "\u8BF7\u8F93\u5165".concat(_this.name),
@@ -56,6 +56,7 @@ var SystemOrderNo = /*#__PURE__*/_createClass(function SystemOrderNo(options) {
56
56
  name: _this.id,
57
57
  rules: _this.rules,
58
58
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
59
+ display: p === null || p === void 0 ? void 0 : p.display,
59
60
  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
61
  component: /*#__PURE__*/React.createElement(ApaasInput, _extends({}, _this.componentConfig, {
61
62
  placeholder: "\u8BF7\u8F93\u5165".concat(_this.name)
@@ -56,6 +56,7 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
56
56
  rules: _this.rules,
57
57
  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,
58
58
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
59
+ display: p === null || p === void 0 ? void 0 : p.display,
59
60
  component: /*#__PURE__*/React.createElement(ApaasTextArea, _extends({}, _this.componentConfig, {
60
61
  placeholder: "\u8BF7\u8F93\u5165".concat(_this.name)
61
62
  }))
@@ -75,6 +75,7 @@ var ThirdItemSelect = /*#__PURE__*/_createClass(function ThirdItemSelect(options
75
75
  rules: _this.rules,
76
76
  required: false,
77
77
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
78
+ display: p === null || p === void 0 ? void 0 : p.display,
78
79
  component: /*#__PURE__*/React.createElement(ItemEncode, _extends({}, _this.componentConfig, {
79
80
  maxLength: ((_this$componentConfig = _this.componentConfig) === null || _this$componentConfig === void 0 ? void 0 : _this$componentConfig.maxLength) || 20,
80
81
  type: 4,
@@ -75,6 +75,7 @@ var BasicDataTime = /*#__PURE__*/_createClass(function BasicDataTime(options) {
75
75
  name: _this.id,
76
76
  rules: _this.rules,
77
77
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
78
+ display: p === null || p === void 0 ? void 0 : p.display,
78
79
  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,
79
80
  component: /*#__PURE__*/React.createElement(DateTime, _extends({}, _this.componentConfig, {
80
81
  dateType: "DATE_TIME"
@@ -85,6 +85,7 @@ var ETradeId = /*#__PURE__*/_createClass(function ETradeId(options) {
85
85
  name: _this.id,
86
86
  rules: _this.rules,
87
87
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
88
+ display: p === null || p === void 0 ? void 0 : p.display,
88
89
  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,
89
90
  component: /*#__PURE__*/React.createElement(TradeId, _extends({}, _this.componentConfig, {
90
91
  shopId: (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.shopId,
@@ -69,6 +69,7 @@ var WlnGoods = /*#__PURE__*/_createClass(function WlnGoods(options) {
69
69
  rules: _this.rules,
70
70
  required: false,
71
71
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
72
+ display: p === null || p === void 0 ? void 0 : p.display,
72
73
  component: /*#__PURE__*/React.createElement(Goods, _extends({}, _this.componentConfig, {
73
74
  maxLength: ((_this$componentConfig3 = _this.componentConfig) === null || _this$componentConfig3 === void 0 ? void 0 : _this$componentConfig3.maxLength) || 20,
74
75
  shopId: (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.shopId,
@@ -70,6 +70,7 @@ var WorkOrderId = /*#__PURE__*/_createClass(function WorkOrderId(options) {
70
70
  name: _this.id,
71
71
  rules: _this.rules,
72
72
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
73
+ display: p === null || p === void 0 ? void 0 : p.display,
73
74
  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
75
  component: /*#__PURE__*/React.createElement(ApaasInput, _extends({}, _this.componentConfig, {
75
76
  placeholder: "\u8BF7\u8F93\u5165".concat(_this.name)
@@ -1,3 +1,3 @@
1
1
  import { JstLogistics, JstItemSelect, JstSupply, JstSendGood, BasicInput, BasicAddress, BasicCascader, BasicCheckbox, BasicDataTime, BasicSelect, BasicRadio, BasicTextArea, BasicPicture, BasicMultSelect, BasicGrade, BasicRate, BasicFile, BasicPosting, CommonDataTime, TradeId, ShopName, ErpTradeId, BuyerNick, ReceiverName, ReceiverMobile, ReceiverAddress, TradeDateTime, Logistics, ReturnLogistics, ActualPayment, ERemark, AliPay, ItemSelect, ItemId, ItemEnCode, SystemOrderNo, Ordinary, ThirdItemSelect, FlowStatusSelect, FlowMarkSelect, FlowTag, Payment, TemplateSelect, WorkOrderId, PlatForm, ShopInput, Submitter, PrevSubmitter, FlowCreator, Handler, CompletedUser, LogisticsInterception, LogisticsTrajectory, LogisticsMoreTrajectory, FlowWorkOrderId, BsGoods, BsExchange, BsReissue, BsReturn, BsSystemOrder, BsLogistics, StatusSelect, CommonSystemOrder, CommonMultiStatus, Calculation, NodeDeadLine, HandlerDeadLine, NodeStayDuration, WlnGoods, BsPosting, MsgStatus } from "./index";
2
2
  import { PickOption } from "./type";
3
- export declare const factory: (type: string, options: PickOption) => BsLogistics | BsReissue | BsSystemOrder | CompletedUser | ItemEnCode | FlowMarkSelect | FlowStatusSelect | FlowTag | Handler | JstSendGood | PlatForm | BasicPosting | ShopInput | BasicInput | BasicAddress | BasicCascader | BasicCheckbox | BasicDataTime | BasicSelect | BasicRadio | BasicTextArea | BasicPicture | BasicMultSelect | BasicGrade | BasicRate | BasicFile | CommonDataTime | TradeId | ErpTradeId | ShopName | BuyerNick | ReceiverName | ReceiverMobile | ReceiverAddress | TradeDateTime | Logistics | ReturnLogistics | ActualPayment | ERemark | AliPay | ItemSelect | ItemId | SystemOrderNo | Ordinary | ThirdItemSelect | Payment | JstLogistics | JstItemSelect | JstSupply | BsGoods | BsExchange | BsReturn | TemplateSelect | WorkOrderId | LogisticsInterception | LogisticsTrajectory | LogisticsMoreTrajectory | Submitter | PrevSubmitter | FlowCreator | FlowWorkOrderId | StatusSelect | Calculation | CommonSystemOrder | CommonMultiStatus | NodeDeadLine | HandlerDeadLine | NodeStayDuration | WlnGoods | BsPosting | MsgStatus;
3
+ export declare const factory: (type: string, options: PickOption) => ActualPayment | BasicAddress | AliPay | BsExchange | BsGoods | BsLogistics | BsPosting | BsReissue | BsReturn | BsSystemOrder | BuyerNick | Calculation | BasicCascader | BasicCheckbox | CommonMultiStatus | CommonSystemOrder | CompletedUser | BasicDataTime | ItemEnCode | ItemId | ItemSelect | ErpTradeId | BasicFile | FlowMarkSelect | FlowStatusSelect | FlowTag | FlowWorkOrderId | BasicGrade | Handler | HandlerDeadLine | BasicInput | JstItemSelect | JstLogistics | JstSendGood | JstSupply | Logistics | LogisticsInterception | LogisticsMoreTrajectory | LogisticsTrajectory | MsgStatus | BasicMultSelect | NodeDeadLine | Ordinary | Payment | BasicPicture | PlatForm | BasicPosting | BasicRadio | BasicRate | ReceiverAddress | ReceiverMobile | ReceiverName | ERemark | ReturnLogistics | BasicSelect | ShopInput | ShopName | StatusSelect | SystemOrderNo | BasicTextArea | ThirdItemSelect | TradeDateTime | TradeId | WlnGoods | WorkOrderId | CommonDataTime | TemplateSelect | Submitter | PrevSubmitter | FlowCreator | NodeStayDuration;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/services-components",
3
- "version": "0.25.1-alpha.0",
3
+ "version": "0.26.0-alpha.0",
4
4
  "module": "dist/esm/index.js",
5
5
  "typings": "dist/esm/index.d.ts",
6
6
  "files": [
@@ -20,8 +20,8 @@
20
20
  ]
21
21
  },
22
22
  "dependencies": {
23
- "@kmkf-fe-packages/basic-components": "^0.25.1-alpha.0",
24
- "@kmkf-fe-packages/kmkf-utils": "^0.25.1-alpha.0"
23
+ "@kmkf-fe-packages/basic-components": "^0.26.0-alpha.0",
24
+ "@kmkf-fe-packages/kmkf-utils": "^0.26.0-alpha.0"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@typescript-eslint/eslint-plugin": "^5.59.2",
@@ -37,7 +37,7 @@
37
37
  "publishConfig": {
38
38
  "access": "public"
39
39
  },
40
- "gitHead": "bc3632ca3d8e8652957d2f643d5ff12ff698a33f",
40
+ "gitHead": "7bf0b25d272c91fdfe6c7e3bb4559ddf0171f076",
41
41
  "gitHooks": {
42
42
  "pre-commit": "lint-staged"
43
43
  }