@kmkf-fe-packages/services-components 1.0.6-rc.14 → 1.0.6-rc.16

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.
@@ -17,7 +17,7 @@ export declare const ShowTotalImage: ({ total, allImage, type, showHeader, }: an
17
17
  export declare const GoodImage: ({ list, type, showHeader }: any) => React.JSX.Element | null;
18
18
  export declare const JstGoodImage: ({ list, type, platformType }: any) => any;
19
19
  export declare const BsExpressRender: ({ list, showField, platformType }: any) => any;
20
- export declare const CommonOrderContent: ({ list, valueKey, failValue, options, }: any) => any;
20
+ export declare const CommonOrderContent: ({ list, valueKey, failValue, options, isShowPopover }: any) => any;
21
21
  export declare const BsGoodImage: ({ item, index }: {
22
22
  item: any;
23
23
  index: number;
@@ -311,7 +311,9 @@ export var CommonOrderContent = function CommonOrderContent(_ref8) {
311
311
  valueKey = _ref8.valueKey,
312
312
  failValue = _ref8.failValue,
313
313
  _ref8$options = _ref8.options,
314
- options = _ref8$options === void 0 ? [] : _ref8$options;
314
+ options = _ref8$options === void 0 ? [] : _ref8$options,
315
+ _ref8$isShowPopover = _ref8.isShowPopover,
316
+ isShowPopover = _ref8$isShowPopover === void 0 ? true : _ref8$isShowPopover;
315
317
  var orderContent = function orderContent(item, index) {
316
318
  return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", {
317
319
  style: {
@@ -327,7 +329,7 @@ export var CommonOrderContent = function CommonOrderContent(_ref8) {
327
329
  var currentOption = options.find(function (option) {
328
330
  return item[valueKey] === option.value;
329
331
  });
330
- return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Space, null, /*#__PURE__*/React.createElement(Popover, {
332
+ return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Space, null, isShowPopover ? /*#__PURE__*/React.createElement(Popover, {
331
333
  content: orderContent(item, index),
332
334
  overlayStyle: {
333
335
  zIndex: 1080
@@ -338,7 +340,7 @@ export var CommonOrderContent = function CommonOrderContent(_ref8) {
338
340
  color: '#1890ff',
339
341
  cursor: 'pointer'
340
342
  }
341
- }, "\u7CFB\u7EDF\u8BA2\u5355\u53F7".concat(index + 1), ":")), /*#__PURE__*/React.createElement("span", {
343
+ }, "\u7CFB\u7EDF\u8BA2\u5355\u53F7".concat(index + 1), ":")) : null, /*#__PURE__*/React.createElement("span", {
342
344
  style: {
343
345
  color: color
344
346
  }
@@ -80,7 +80,7 @@ var CommonMultiStatus = /*#__PURE__*/_createClass(function CommonMultiStatus(opt
80
80
  var _this = this,
81
81
  _typeMap$options$type,
82
82
  _typeMap$options$type2,
83
- _this$componentConfig3;
83
+ _this$componentConfig6;
84
84
  _classCallCheck(this, CommonMultiStatus);
85
85
  _defineProperty(this, "name", void 0);
86
86
  _defineProperty(this, "id", void 0);
@@ -95,7 +95,7 @@ var CommonMultiStatus = /*#__PURE__*/_createClass(function CommonMultiStatus(opt
95
95
  _defineProperty(this, "children", void 0);
96
96
  _defineProperty(this, "dataType", void 0);
97
97
  _defineProperty(this, "renderClient", function (record) {
98
- var _typeMap$_this$type, _typeMap$_this$type2, _typeMap$_this$type3;
98
+ var _typeMap$_this$type, _typeMap$_this$type2, _typeMap$_this$type3, _this$componentConfig;
99
99
  var isShow = Array.isArray(record === null || record === void 0 ? void 0 : record[_this.id]) ? some(record === null || record === void 0 ? void 0 : record[_this.id], function (item) {
100
100
  return !isNull(item);
101
101
  }) : false;
@@ -106,12 +106,13 @@ var CommonMultiStatus = /*#__PURE__*/_createClass(function CommonMultiStatus(opt
106
106
  list: record === null || record === void 0 ? void 0 : record[_this.id],
107
107
  valueKey: (_typeMap$_this$type = typeMap[_this.type]) === null || _typeMap$_this$type === void 0 ? void 0 : _typeMap$_this$type.valueKey,
108
108
  failValue: (_typeMap$_this$type2 = typeMap[_this.type]) === null || _typeMap$_this$type2 === void 0 ? void 0 : _typeMap$_this$type2.failValue,
109
- options: (_typeMap$_this$type3 = typeMap[_this.type]) === null || _typeMap$_this$type3 === void 0 ? void 0 : _typeMap$_this$type3.options
109
+ options: (_typeMap$_this$type3 = typeMap[_this.type]) === null || _typeMap$_this$type3 === void 0 ? void 0 : _typeMap$_this$type3.options,
110
+ isShowPopover: ((_this$componentConfig = _this.componentConfig) === null || _this$componentConfig === void 0 ? void 0 : _this$componentConfig.belongType) !== "wdt"
110
111
  })
111
112
  }) : null;
112
113
  });
113
114
  _defineProperty(this, "renderPc", function (value, record) {
114
- var _typeMap$_this$type4, _typeMap$_this$type5, _typeMap$_this$type6, _typeMap$_this$type7;
115
+ var _typeMap$_this$type4, _typeMap$_this$type5, _typeMap$_this$type6, _typeMap$_this$type7, _this$componentConfig2;
115
116
  var list = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_").concat((_typeMap$_this$type4 = typeMap[_this.type]) === null || _typeMap$_this$type4 === void 0 ? void 0 : _typeMap$_this$type4.key)];
116
117
  //兼容多个商品
117
118
  return /*#__PURE__*/React.createElement("span", {
@@ -122,7 +123,8 @@ var CommonMultiStatus = /*#__PURE__*/_createClass(function CommonMultiStatus(opt
122
123
  list: list,
123
124
  valueKey: (_typeMap$_this$type5 = typeMap[_this.type]) === null || _typeMap$_this$type5 === void 0 ? void 0 : _typeMap$_this$type5.valueKey,
124
125
  failValue: (_typeMap$_this$type6 = typeMap[_this.type]) === null || _typeMap$_this$type6 === void 0 ? void 0 : _typeMap$_this$type6.failValue,
125
- options: (_typeMap$_this$type7 = typeMap[_this.type]) === null || _typeMap$_this$type7 === void 0 ? void 0 : _typeMap$_this$type7.options
126
+ options: (_typeMap$_this$type7 = typeMap[_this.type]) === null || _typeMap$_this$type7 === void 0 ? void 0 : _typeMap$_this$type7.options,
127
+ isShowPopover: ((_this$componentConfig2 = _this.componentConfig) === null || _this$componentConfig2 === void 0 ? void 0 : _this$componentConfig2.belongType) !== "wdt"
126
128
  }));
127
129
  });
128
130
  _defineProperty(this, "renderLog", function (r) {
@@ -139,35 +141,39 @@ var CommonMultiStatus = /*#__PURE__*/_createClass(function CommonMultiStatus(opt
139
141
  var _typeMap$_this$type10;
140
142
  var list = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_").concat((_typeMap$_this$type10 = typeMap[_this.type]) === null || _typeMap$_this$type10 === void 0 ? void 0 : _typeMap$_this$type10.key)];
141
143
  return (list || []).map(function (item) {
142
- var _typeMap$_this$type11, _typeMap$_this$type12, _typeMap$_this$type13, _typeMap$_this$type15, _typeMap$_this$type16;
144
+ var _typeMap$_this$type11, _typeMap$_this$type12, _typeMap$_this$type13, _this$componentConfig3, _typeMap$_this$type16, _typeMap$_this$type17;
143
145
  var currentOption = (_typeMap$_this$type11 = typeMap[_this.type]) === null || _typeMap$_this$type11 === void 0 ? void 0 : (_typeMap$_this$type12 = _typeMap$_this$type11.options) === null || _typeMap$_this$type12 === void 0 ? void 0 : (_typeMap$_this$type13 = _typeMap$_this$type12.find) === null || _typeMap$_this$type13 === void 0 ? void 0 : _typeMap$_this$type13.call(_typeMap$_this$type12, function (option) {
144
146
  var _typeMap$_this$type14;
145
147
  return item[(_typeMap$_this$type14 = typeMap[_this.type]) === null || _typeMap$_this$type14 === void 0 ? void 0 : _typeMap$_this$type14.valueKey] === option.value;
146
148
  });
147
- return "".concat(item === null || item === void 0 ? void 0 : item[(_typeMap$_this$type15 = typeMap[_this.type]) === null || _typeMap$_this$type15 === void 0 ? void 0 : _typeMap$_this$type15.idKey], ":").concat(currentOption ? (currentOption === null || currentOption === void 0 ? void 0 : currentOption.label) || '' : (item === null || item === void 0 ? void 0 : item[(_typeMap$_this$type16 = typeMap[_this.type]) === null || _typeMap$_this$type16 === void 0 ? void 0 : _typeMap$_this$type16.valueKey]) || '');
149
+ if (((_this$componentConfig3 = _this.componentConfig) === null || _this$componentConfig3 === void 0 ? void 0 : _this$componentConfig3.belongType) === "wdt") {
150
+ var _typeMap$_this$type15;
151
+ return currentOption ? (currentOption === null || currentOption === void 0 ? void 0 : currentOption.label) || '' : (item === null || item === void 0 ? void 0 : item[(_typeMap$_this$type15 = typeMap[_this.type]) === null || _typeMap$_this$type15 === void 0 ? void 0 : _typeMap$_this$type15.valueKey]) || '';
152
+ }
153
+ return "".concat(item === null || item === void 0 ? void 0 : item[(_typeMap$_this$type16 = typeMap[_this.type]) === null || _typeMap$_this$type16 === void 0 ? void 0 : _typeMap$_this$type16.idKey], ":").concat(currentOption ? (currentOption === null || currentOption === void 0 ? void 0 : currentOption.label) || '' : (item === null || item === void 0 ? void 0 : item[(_typeMap$_this$type17 = typeMap[_this.type]) === null || _typeMap$_this$type17 === void 0 ? void 0 : _typeMap$_this$type17.valueKey]) || '');
148
154
  }).join(',');
149
155
  });
150
156
  _defineProperty(this, "editRender", function (p) {
151
- var _this$componentConfig, _this$componentConfig2, _typeMap$_this$type17;
157
+ var _this$componentConfig4, _this$componentConfig5, _typeMap$_this$type18;
152
158
  return /*#__PURE__*/React.createElement(GetFormItem, {
153
159
  title: _this.name,
154
160
  name: _this.id,
155
161
  rules: _this.rules,
156
162
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
157
163
  display: p === null || p === void 0 ? void 0 : p.display,
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,
164
+ 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,
159
165
  component: /*#__PURE__*/React.createElement(Status, _extends({}, _this.componentConfig, {
160
- type: (_typeMap$_this$type17 = typeMap[_this.type]) === null || _typeMap$_this$type17 === void 0 ? void 0 : _typeMap$_this$type17.type,
166
+ type: (_typeMap$_this$type18 = typeMap[_this.type]) === null || _typeMap$_this$type18 === void 0 ? void 0 : _typeMap$_this$type18.type,
161
167
  failValue: typeMap[_this.type].failValue
162
168
  }))
163
169
  });
164
170
  });
165
171
  _defineProperty(this, "filterConfig", function (item) {
166
- var _typeMap$_this$type18, _item$templateConfig;
172
+ var _typeMap$_this$type19, _item$templateConfig;
167
173
  return {
168
174
  searchDefaultConditions: _this.type === 'WAREHOUSING_STATUS' ? SYMBOL.in : SYMBOL.like,
169
175
  type: item.type,
170
- id: "".concat(item.id, "_").concat((_typeMap$_this$type18 = typeMap[_this.type]) === null || _typeMap$_this$type18 === void 0 ? void 0 : _typeMap$_this$type18.code),
176
+ id: "".concat(item.id, "_").concat((_typeMap$_this$type19 = typeMap[_this.type]) === null || _typeMap$_this$type19 === void 0 ? void 0 : _typeMap$_this$type19.code),
171
177
  name: "".concat(_this.name),
172
178
  filterComponentType: _this.type === 'WAREHOUSING_STATUS' ? 'MultipleSelect' : 'SelectInput',
173
179
  props: {
@@ -179,8 +185,8 @@ var CommonMultiStatus = /*#__PURE__*/_createClass(function CommonMultiStatus(opt
179
185
  },
180
186
  filterFn: function filterFn(value) {
181
187
  return function (i) {
182
- var _typeMap$_this$type19;
183
- return _filterFn.filterSplitComma(_filterFn.filterTableListItemColumnValue(i, item.id, (_typeMap$_this$type19 = typeMap[_this.type]) === null || _typeMap$_this$type19 === void 0 ? void 0 : _typeMap$_this$type19.code), value);
188
+ var _typeMap$_this$type20;
189
+ return _filterFn.filterSplitComma(_filterFn.filterTableListItemColumnValue(i, item.id, (_typeMap$_this$type20 = typeMap[_this.type]) === null || _typeMap$_this$type20 === void 0 ? void 0 : _typeMap$_this$type20.code), value);
184
190
  };
185
191
  },
186
192
  formatFilterValue: _this.type === 'WAREHOUSING_STATUS' ? null : function (value) {
@@ -204,16 +210,16 @@ var CommonMultiStatus = /*#__PURE__*/_createClass(function CommonMultiStatus(opt
204
210
  this.canSort = false;
205
211
  this.children = [];
206
212
  this.dataType = 'object';
207
- this.rules = (_this$componentConfig3 = this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.required ? [{
213
+ this.rules = (_this$componentConfig6 = this.componentConfig) !== null && _this$componentConfig6 !== void 0 && _this$componentConfig6.required ? [{
208
214
  required: true,
209
215
  validator: function validator(_, value) {
210
216
  var hasNo = (value || []).some(function (item) {
211
- var _typeMap$_this$type20;
212
- return item[(_typeMap$_this$type20 = typeMap[_this.type]) === null || _typeMap$_this$type20 === void 0 ? void 0 : _typeMap$_this$type20.valueKey];
217
+ var _typeMap$_this$type21;
218
+ return item[(_typeMap$_this$type21 = typeMap[_this.type]) === null || _typeMap$_this$type21 === void 0 ? void 0 : _typeMap$_this$type21.valueKey];
213
219
  });
214
220
  if (!hasNo) {
215
- var _typeMap$_this$type21;
216
- return Promise.reject(new Error("\u81F3\u5C11\u586B\u5199\u4E00\u4E2A\u5B8C\u6574\u7684".concat((_typeMap$_this$type21 = typeMap[_this.type]) === null || _typeMap$_this$type21 === void 0 ? void 0 : _typeMap$_this$type21.name)));
221
+ var _typeMap$_this$type22;
222
+ return Promise.reject(new Error("\u81F3\u5C11\u586B\u5199\u4E00\u4E2A\u5B8C\u6574\u7684".concat((_typeMap$_this$type22 = typeMap[_this.type]) === null || _typeMap$_this$type22 === void 0 ? void 0 : _typeMap$_this$type22.name)));
217
223
  }
218
224
  return Promise.resolve();
219
225
  }
@@ -48,7 +48,7 @@ var CommonSystemOrder = /*#__PURE__*/_createClass(function CommonSystemOrder(opt
48
48
  var _this = this,
49
49
  _typeMap$options$type,
50
50
  _typeMap$options$type2,
51
- _this$componentConfig3;
51
+ _this$componentConfig5;
52
52
  _classCallCheck(this, CommonSystemOrder);
53
53
  _defineProperty(this, "name", void 0);
54
54
  _defineProperty(this, "id", void 0);
@@ -63,7 +63,7 @@ var CommonSystemOrder = /*#__PURE__*/_createClass(function CommonSystemOrder(opt
63
63
  _defineProperty(this, "children", void 0);
64
64
  _defineProperty(this, "dataType", void 0);
65
65
  _defineProperty(this, "renderClient", function (record) {
66
- var _typeMap$_this$type;
66
+ var _typeMap$_this$type, _this$componentConfig;
67
67
  var isShow = Array.isArray(record === null || record === void 0 ? void 0 : record[_this.id]) ? some(record === null || record === void 0 ? void 0 : record[_this.id], function (item) {
68
68
  return !isNull(item);
69
69
  }) : false;
@@ -72,12 +72,13 @@ var CommonSystemOrder = /*#__PURE__*/_createClass(function CommonSystemOrder(opt
72
72
  label: _this.name,
73
73
  value: /*#__PURE__*/React.createElement(CommonOrderContent, {
74
74
  list: record === null || record === void 0 ? void 0 : record[_this.id],
75
- valueKey: (_typeMap$_this$type = typeMap[_this.type]) === null || _typeMap$_this$type === void 0 ? void 0 : _typeMap$_this$type.valueKey
75
+ valueKey: (_typeMap$_this$type = typeMap[_this.type]) === null || _typeMap$_this$type === void 0 ? void 0 : _typeMap$_this$type.valueKey,
76
+ isShowPopover: ((_this$componentConfig = _this.componentConfig) === null || _this$componentConfig === void 0 ? void 0 : _this$componentConfig.belongType) !== "wdt"
76
77
  })
77
78
  }) : null;
78
79
  });
79
80
  _defineProperty(this, "renderPc", function (value, record) {
80
- var _typeMap$_this$type2, _typeMap$_this$type3, _typeMap$_this$type4;
81
+ var _typeMap$_this$type2, _typeMap$_this$type3, _typeMap$_this$type4, _this$componentConfig2;
81
82
  var list = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_").concat((_typeMap$_this$type2 = typeMap[_this.type]) === null || _typeMap$_this$type2 === void 0 ? void 0 : _typeMap$_this$type2.key)];
82
83
  //兼容多个商品
83
84
  return /*#__PURE__*/React.createElement("span", {
@@ -87,7 +88,8 @@ var CommonSystemOrder = /*#__PURE__*/_createClass(function CommonSystemOrder(opt
87
88
  }, /*#__PURE__*/React.createElement(CommonOrderContent, {
88
89
  list: list,
89
90
  type: (_typeMap$_this$type3 = typeMap[_this.type]) === null || _typeMap$_this$type3 === void 0 ? void 0 : _typeMap$_this$type3.type,
90
- valueKey: (_typeMap$_this$type4 = typeMap[_this.type]) === null || _typeMap$_this$type4 === void 0 ? void 0 : _typeMap$_this$type4.valueKey
91
+ valueKey: (_typeMap$_this$type4 = typeMap[_this.type]) === null || _typeMap$_this$type4 === void 0 ? void 0 : _typeMap$_this$type4.valueKey,
92
+ isShowPopover: ((_this$componentConfig2 = _this.componentConfig) === null || _this$componentConfig2 === void 0 ? void 0 : _this$componentConfig2.belongType) !== "wdt"
91
93
  }));
92
94
  });
93
95
  _defineProperty(this, "renderLog", function (r) {
@@ -109,14 +111,14 @@ var CommonSystemOrder = /*#__PURE__*/_createClass(function CommonSystemOrder(opt
109
111
  }).join(',');
110
112
  });
111
113
  _defineProperty(this, "editRender", function (p) {
112
- var _this$componentConfig, _this$componentConfig2, _typeMap$_this$type9;
114
+ var _this$componentConfig3, _this$componentConfig4, _typeMap$_this$type9;
113
115
  return /*#__PURE__*/React.createElement(GetFormItem, {
114
116
  title: _this.name,
115
117
  name: _this.id,
116
118
  rules: _this.rules,
117
119
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
118
120
  display: p === null || p === void 0 ? void 0 : p.display,
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,
121
+ required: (_this$componentConfig3 = (_this$componentConfig4 = _this.componentConfig) === null || _this$componentConfig4 === void 0 ? void 0 : _this$componentConfig4.required) !== null && _this$componentConfig3 !== void 0 ? _this$componentConfig3 : false,
120
122
  component: /*#__PURE__*/React.createElement(SystemOrder, _extends({}, _this.componentConfig, {
121
123
  type: (_typeMap$_this$type9 = typeMap[_this.type]) === null || _typeMap$_this$type9 === void 0 ? void 0 : _typeMap$_this$type9.type
122
124
  }))
@@ -151,7 +153,7 @@ var CommonSystemOrder = /*#__PURE__*/_createClass(function CommonSystemOrder(opt
151
153
  this.canSort = false;
152
154
  this.children = [];
153
155
  this.dataType = 'object';
154
- this.rules = (_this$componentConfig3 = this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.required ? [{
156
+ this.rules = (_this$componentConfig5 = this.componentConfig) !== null && _this$componentConfig5 !== void 0 && _this$componentConfig5.required ? [{
155
157
  required: true,
156
158
  validator: function validator(_, value) {
157
159
  var hasNo = (value || []).some(function (item) {
@@ -112,6 +112,9 @@ var StatusSelect = /*#__PURE__*/_createClass(function StatusSelect(options) {
112
112
  display: p === null || p === void 0 ? void 0 : p.display,
113
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,
114
114
  component: /*#__PURE__*/React.createElement(CommonStatus, _extends({}, _this.componentConfig, {
115
+ style: {
116
+ width: 200
117
+ },
115
118
  placeholder: "\u8BF7\u8F93\u5165".concat(_this.name),
116
119
  failValue: selectTypeMap[_this.type].failValue
117
120
  }))
@@ -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, 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, LogisticsMoreInterception, LogisticsTrajectory, LogisticsMoreTrajectory, FlowWorkOrderId, BsGoods, BsExchange, BsReissue, BsReturn, BsSystemOrder, BsLogistics, StatusSelect, CommonSystemOrder, CommonMultiStatus, Calculation, NodeDeadLine, HandlerDeadLine, NodeStayDuration, WlnGoods, BsPosting, MsgStatus, NodeInput, FlowWorkOrderStatus, WdtGoods, WdtReturn, WdtExchange, CommonInput, PaymentVoucherCode, Label, WdtReissue } from "./index";
2
2
  import { PickOption } from "./type";
3
- export declare const factory: (type: string, options: PickOption) => AliPay | BsLogistics | BasicCascader | CommonSystemOrder | JstLogistics | JstSendGood | Label | LogisticsInterception | WdtExchange | WdtReissue | WdtReturn | BasicInput | BasicAddress | BasicCheckbox | BasicDataTime | BasicSelect | BasicRadio | BasicTextArea | BasicPicture | BasicMultSelect | BasicGrade | BasicRate | BasicFile | BasicPosting | CommonDataTime | TradeId | ShopName | BuyerNick | ReceiverName | ReceiverMobile | ReceiverAddress | TradeDateTime | Logistics | ReturnLogistics | ActualPayment | ERemark | ItemSelect | ItemId | ItemEnCode | SystemOrderNo | Ordinary | ThirdItemSelect | Payment | JstItemSelect | JstSupply | BsSystemOrder | BsGoods | BsExchange | BsReissue | BsReturn | FlowStatusSelect | FlowMarkSelect | FlowTag | TemplateSelect | WorkOrderId | LogisticsMoreInterception | LogisticsTrajectory | LogisticsMoreTrajectory | PlatForm | ShopInput | Submitter | PrevSubmitter | FlowCreator | Handler | CompletedUser | FlowWorkOrderId | StatusSelect | Calculation | CommonMultiStatus | NodeDeadLine | HandlerDeadLine | NodeStayDuration | WlnGoods | BsPosting | NodeInput | FlowWorkOrderStatus | MsgStatus | WdtGoods | CommonInput | PaymentVoucherCode;
3
+ export declare const factory: (type: string, options: PickOption) => AliPay | BasicCascader | CommonMultiStatus | CommonSystemOrder | JstSendGood | Label | LogisticsInterception | WdtReissue | BasicInput | BasicAddress | BasicCheckbox | BasicDataTime | BasicSelect | BasicRadio | BasicTextArea | BasicPicture | BasicMultSelect | BasicGrade | BasicRate | BasicFile | BasicPosting | CommonDataTime | TradeId | ShopName | BuyerNick | ReceiverName | ReceiverMobile | ReceiverAddress | TradeDateTime | Logistics | ReturnLogistics | ActualPayment | ERemark | ItemSelect | ItemId | ItemEnCode | SystemOrderNo | Ordinary | ThirdItemSelect | Payment | JstLogistics | JstItemSelect | JstSupply | BsSystemOrder | BsGoods | BsExchange | BsReissue | BsReturn | BsLogistics | FlowStatusSelect | FlowMarkSelect | FlowTag | TemplateSelect | WorkOrderId | LogisticsMoreInterception | LogisticsTrajectory | LogisticsMoreTrajectory | PlatForm | ShopInput | Submitter | PrevSubmitter | FlowCreator | Handler | CompletedUser | FlowWorkOrderId | StatusSelect | Calculation | NodeDeadLine | HandlerDeadLine | NodeStayDuration | WlnGoods | BsPosting | NodeInput | FlowWorkOrderStatus | MsgStatus | WdtGoods | WdtReturn | WdtExchange | CommonInput | PaymentVoucherCode;
@@ -47,8 +47,8 @@ export interface ComponentInterface {
47
47
  rules?: any[];
48
48
  width?: number;
49
49
  align?: ALignType;
50
- dataType: 'string' | 'number' | 'boolean' | 'array' | 'range' | 'object';
51
- format?: 'dateTime' | 'date' | 'time' | 'cascader' | 'shopInput' | 'staffGroup';
50
+ dataType: "string" | "number" | "boolean" | "array" | "range" | "object";
51
+ format?: "dateTime" | "date" | "time" | "cascader" | "shopInput" | "staffGroup";
52
52
  options?: Array<any>;
53
53
  templateId?: string;
54
54
  workOrderUniqueKey?: string;
@@ -168,6 +168,7 @@ export interface ComponentInterface {
168
168
  rulesOptions?: Array<any>;
169
169
  selectRules?: Array<string>;
170
170
  logistics?: string;
171
+ belongType?: string;
171
172
  };
172
173
  effects?: {
173
174
  queryWorkOrderDetail?: (r: Record) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/services-components",
3
- "version": "1.0.6-rc.14",
3
+ "version": "1.0.6-rc.16",
4
4
  "module": "dist/esm/index.js",
5
5
  "typings": "dist/esm/index.d.ts",
6
6
  "files": [
@@ -37,7 +37,7 @@
37
37
  "publishConfig": {
38
38
  "access": "public"
39
39
  },
40
- "gitHead": "7721374842cb4f34dc069794d948842268ceb18a",
40
+ "gitHead": "3ad9a2ef6c6380ca5e161977a9f20b25c3b83a82",
41
41
  "gitHooks": {
42
42
  "pre-commit": "lint-staged"
43
43
  }