@kmkf-fe-packages/services-components 2.0.75 → 2.0.77

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.
@@ -1,24 +1,24 @@
1
- import { ComponentInterface, PickOption, Record, ColumnConfig } from '../../type';
2
- import React from 'react';
3
- import { AddressData } from '@kmkf-fe-packages/kmkf-utils';
4
- import Province from '../BS/BsPosting/components/Province';
5
- import City from '../BS/BsPosting/components//City';
6
- import District from '../BS/BsPosting/components//District';
7
- import Detail from '../BS/BsPosting/components//Detail';
8
- import ReceiverName from '../BS/BsPosting/components//ReceiverName';
9
- import ReceiverMobile from '../BS/BsPosting/components//ReceiverMobile';
1
+ import { ComponentInterface, PickOption, Record, ColumnConfig } from "../../type";
2
+ import React from "react";
3
+ import { AddressData } from "@kmkf-fe-packages/kmkf-utils";
4
+ import Province from "../BS/BsPosting/components/Province";
5
+ import City from "../BS/BsPosting/components//City";
6
+ import District from "../BS/BsPosting/components//District";
7
+ import Detail from "../BS/BsPosting/components//Detail";
8
+ import ReceiverName from "../BS/BsPosting/components//ReceiverName";
9
+ import ReceiverMobile from "../BS/BsPosting/components//ReceiverMobile";
10
10
  declare class BasicPosting implements ComponentInterface {
11
11
  name: string;
12
12
  id: string;
13
13
  sortField: string;
14
14
  type: string;
15
15
  rules: any[];
16
- componentConfig: ComponentInterface['componentConfig'];
16
+ componentConfig: ComponentInterface["componentConfig"];
17
17
  isCombinationComponent: boolean;
18
18
  formField: string;
19
19
  canSort: boolean;
20
20
  children: ComponentInterface[];
21
- dataType: ComponentInterface['dataType'];
21
+ dataType: ComponentInterface["dataType"];
22
22
  addressDateInstance: InstanceType<typeof AddressData>;
23
23
  province: Province;
24
24
  city: City;
@@ -1,4 +1,14 @@
1
1
  function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
2
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
3
+ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
4
+ function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
5
+ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
6
+ function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
7
+ function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
8
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
9
+ function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
10
+ function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
11
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
2
12
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
3
13
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
4
14
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
@@ -8,12 +18,12 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
8
18
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
9
19
  function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
10
20
  function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
11
- import React from 'react';
12
- import { ApaasPosting } from '@kmkf-fe-packages/basic-components';
21
+ import React from "react";
22
+ import { ApaasPosting } from "@kmkf-fe-packages/basic-components";
13
23
  import GetFormItem from "../GetFormItem";
14
24
  import ItemView from "../../commonComponents/ItemView";
15
- import { isNull } from '@kmkf-fe-packages/kmkf-utils';
16
- import { AddressData, BsAddressData, WdtAddressData, GyAddressData } from '@kmkf-fe-packages/kmkf-utils';
25
+ import { isNull } from "@kmkf-fe-packages/kmkf-utils";
26
+ import { AddressData, BsAddressData, WdtAddressData, GyAddressData } from "@kmkf-fe-packages/kmkf-utils";
17
27
  import Province from "../BS/BsPosting/components/Province";
18
28
  import City from "../BS/BsPosting/components//City";
19
29
  import District from "../BS/BsPosting/components//District";
@@ -54,21 +64,21 @@ var BasicPosting = /*#__PURE__*/_createClass(function BasicPosting(options) {
54
64
  var province = record["".concat(_this.id, "_postingProvince")];
55
65
  var city = record["".concat(_this.id, "_postingCity")];
56
66
  var district = record["".concat(_this.id, "_postingDistrict")];
57
- var detail = record["".concat(_this.id, "_postingDetail")] || '';
58
- var name = record["".concat(_this.id, "_postingReceiverName")] || '';
59
- var mobile = record["".concat(_this.id, "_postingReceiverMobile")] || '';
67
+ var detail = record["".concat(_this.id, "_postingDetail")] || "";
68
+ var name = record["".concat(_this.id, "_postingReceiverName")] || "";
69
+ var mobile = record["".concat(_this.id, "_postingReceiverMobile")] || "";
60
70
  if (province === undefined) {
61
71
  return /*#__PURE__*/React.createElement("span", null, "--");
62
72
  }
63
73
  var addressText = (_ref = [province, city, district]) === null || _ref === void 0 ? void 0 : _ref.map(function (suffix) {
64
74
  return _this.addressDateInstance.getNameByCode(suffix);
65
- }).join('');
75
+ }).join("");
66
76
  return /*#__PURE__*/React.createElement(CopyText, {
67
77
  text: "".concat(addressText).concat(detail, " ").concat(name, " ").concat(mobile),
68
78
  showText: /*#__PURE__*/React.createElement("div", {
69
79
  style: {
70
- maxHeight: '100px',
71
- overflowY: 'auto'
80
+ maxHeight: "100px",
81
+ overflowY: "auto"
72
82
  }
73
83
  }, "".concat(addressText).concat(detail), /*#__PURE__*/React.createElement("br", null), "".concat(name, " ").concat(mobile))
74
84
  });
@@ -90,7 +100,7 @@ var BasicPosting = /*#__PURE__*/_createClass(function BasicPosting(options) {
90
100
  })) return null;
91
101
  var addressText = (_ref2 = [province, city, district]) === null || _ref2 === void 0 ? void 0 : _ref2.map(function (suffix) {
92
102
  return _this.addressDateInstance.getNameByCode(suffix);
93
- }).join('');
103
+ }).join("");
94
104
  return /*#__PURE__*/React.createElement(React.Fragment, null, "".concat(addressText).concat(detail, " ").concat(name).concat(mobile));
95
105
  });
96
106
  _defineProperty(this, "getComponentValue", function (r) {
@@ -108,9 +118,9 @@ var BasicPosting = /*#__PURE__*/_createClass(function BasicPosting(options) {
108
118
  province: r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_postingProvince")],
109
119
  city: r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_postingCity")],
110
120
  district: r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_postingDistrict")],
111
- detail: (r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_postingDetail")]) || '',
112
- name: (r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_postingReceiverName")]) || '',
113
- mobile: (r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_postingReceiverMobile")]) || ''
121
+ detail: (r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_postingDetail")]) || "",
122
+ name: (r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_postingReceiverName")]) || "",
123
+ mobile: (r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_postingReceiverMobile")]) || ""
114
124
  };
115
125
  });
116
126
  _defineProperty(this, "renderExport", function (value, record) {
@@ -130,7 +140,7 @@ var BasicPosting = /*#__PURE__*/_createClass(function BasicPosting(options) {
130
140
  })) return null;
131
141
  var addressText = (_ref3 = [province, city, district]) === null || _ref3 === void 0 ? void 0 : _ref3.map(function (suffix) {
132
142
  return _this.addressDateInstance.getNameByCode(suffix);
133
- }).join('/');
143
+ }).join("/");
134
144
  return "".concat(addressText, "/").concat(detail, "/ ").concat(name, "/").concat(mobile);
135
145
  });
136
146
  _defineProperty(this, "renderClient", function (record) {
@@ -143,9 +153,9 @@ var BasicPosting = /*#__PURE__*/_createClass(function BasicPosting(options) {
143
153
  var mobile = record["".concat(_this.id, "_postingReceiverMobile")];
144
154
  var addressText = (_ref4 = [province, city, district]) === null || _ref4 === void 0 ? void 0 : _ref4.map(function (suffix) {
145
155
  return _this.addressDateInstance.getNameByCode(suffix);
146
- }).join('');
156
+ }).join("");
147
157
  var hasValue = addressText || detail || name || mobile;
148
- var value = hasValue ? /*#__PURE__*/React.createElement("div", null, [addressText, detail].join('/'), /*#__PURE__*/React.createElement("br", null), [name, mobile].join('/')) : null;
158
+ var value = hasValue ? /*#__PURE__*/React.createElement("div", null, [addressText, detail].join("/"), /*#__PURE__*/React.createElement("br", null), [name, mobile].join("/")) : null;
149
159
  return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
150
160
  id: _this.id,
151
161
  label: _this.name,
@@ -161,9 +171,9 @@ var BasicPosting = /*#__PURE__*/_createClass(function BasicPosting(options) {
161
171
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
162
172
  display: p === null || p === void 0 ? void 0 : p.display,
163
173
  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
- tooltip: (_this$componentConfig3 = _this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.showTooltip ? (_this$componentConfig4 = _this.componentConfig) === null || _this$componentConfig4 === void 0 ? void 0 : _this$componentConfig4.tooltip : '',
174
+ tooltip: (_this$componentConfig3 = _this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.showTooltip ? (_this$componentConfig4 = _this.componentConfig) === null || _this$componentConfig4 === void 0 ? void 0 : _this$componentConfig4.tooltip : "",
165
175
  component: /*#__PURE__*/React.createElement(ApaasPosting, _extends({}, _this.componentConfig, {
166
- type: _this.type === 'BS_POSTING' ? 'bs' : (_this$componentConfig5 = _this.componentConfig) === null || _this$componentConfig5 === void 0 ? void 0 : _this$componentConfig5.showField
176
+ type: _this.type === "BS_POSTING" ? "bs" : (_this$componentConfig5 = _this.componentConfig) === null || _this$componentConfig5 === void 0 ? void 0 : _this$componentConfig5.showField
167
177
  }))
168
178
  });
169
179
  });
@@ -181,7 +191,7 @@ var BasicPosting = /*#__PURE__*/_createClass(function BasicPosting(options) {
181
191
  this.componentConfig = options.componentConfig;
182
192
  this.isCombinationComponent = this.isSplitColumns;
183
193
  this.canSort = false;
184
- this.dataType = 'string';
194
+ this.dataType = "string";
185
195
  var showField = (_options$componentCon2 = options.componentConfig) === null || _options$componentCon2 === void 0 ? void 0 : _options$componentCon2.showField;
186
196
  this.addressDateInstance = (showField && {
187
197
  bs: BsAddressData,
@@ -191,46 +201,81 @@ var BasicPosting = /*#__PURE__*/_createClass(function BasicPosting(options) {
191
201
  }[showField] || AddressData).getInstance();
192
202
  this.province = new Province(_objectSpread(_objectSpread({}, options), {}, {
193
203
  id: "".concat(options.id, "_postingProvince"),
194
- name: '',
204
+ name: "",
195
205
  addressDateInstance: this.addressDateInstance
196
206
  }));
197
207
  this.city = new City(_objectSpread(_objectSpread({}, options), {}, {
198
208
  id: "".concat(options.id, "_postingCity"),
199
- name: '',
209
+ name: "",
200
210
  addressDateInstance: this.addressDateInstance
201
211
  }));
202
212
  this.district = new District(_objectSpread(_objectSpread({}, options), {}, {
203
213
  id: "".concat(options.id, "_postingDistrict"),
204
- name: '区/县',
214
+ name: "区/县",
205
215
  addressDateInstance: this.addressDateInstance
206
216
  }));
207
217
  this.detail = new Detail(_objectSpread(_objectSpread({}, options), {}, {
208
218
  id: "".concat(options.id, "_postingDetail"),
209
219
  parentName: this.name,
210
- name: '详细地址'
220
+ name: "详细地址"
211
221
  }));
212
222
  this.receiverName = new ReceiverName(_objectSpread(_objectSpread({}, options), {}, {
213
223
  id: "".concat(options.id, "_postingReceiverName"),
214
224
  parentName: this.name,
215
- name: '收件人姓名'
225
+ name: "收件人姓名"
216
226
  }));
217
227
  this.receiverMobile = new ReceiverMobile(_objectSpread(_objectSpread({}, options), {}, {
218
228
  id: "".concat(options.id, "_postingReceiverMobile"),
219
229
  parentName: this.name,
220
- name: '收件人电话'
230
+ name: "收件人电话"
221
231
  }));
222
232
  this.children = this.isSplitColumns ? [this.province, this.city, this.district, this.detail, this.receiverName, this.receiverMobile] : [];
223
- this.rules = options !== null && options !== void 0 && (_options$componentCon3 = options.componentConfig) !== null && _options$componentCon3 !== void 0 && _options$componentCon3.required ? [{
233
+ this.rules = [].concat(_toConsumableArray(options !== null && options !== void 0 && (_options$componentCon3 = options.componentConfig) !== null && _options$componentCon3 !== void 0 && _options$componentCon3.required ? [{
224
234
  validator: function validator(_, value) {
225
235
  var _options$componentCon4, _value$postingAddress, _value$postingAddress2;
226
- var addressLen = (options === null || options === void 0 ? void 0 : (_options$componentCon4 = options.componentConfig) === null || _options$componentCon4 === void 0 ? void 0 : _options$componentCon4.showField) === 'bs' ? !(value !== null && value !== void 0 && (_value$postingAddress = value.postingAddress) !== null && _value$postingAddress !== void 0 && _value$postingAddress.length) || (value === null || value === void 0 ? void 0 : value.postingAddress.some(function (t) {
236
+ var addressLen = (options === null || options === void 0 ? void 0 : (_options$componentCon4 = options.componentConfig) === null || _options$componentCon4 === void 0 ? void 0 : _options$componentCon4.showField) === "bs" ? !(value !== null && value !== void 0 && (_value$postingAddress = value.postingAddress) !== null && _value$postingAddress !== void 0 && _value$postingAddress.length) || (value === null || value === void 0 ? void 0 : value.postingAddress.some(function (t) {
227
237
  return !t;
228
238
  })) : !(value !== null && value !== void 0 && (_value$postingAddress2 = value.postingAddress) !== null && _value$postingAddress2 !== void 0 && _value$postingAddress2.length);
229
239
  if (addressLen || !(value !== null && value !== void 0 && value.postingDetail) || !(value !== null && value !== void 0 && value.postingReceiverName) || !(value !== null && value !== void 0 && value.postingReceiverMobile)) {
230
- return Promise.reject(new Error('请填写地址'));
240
+ return Promise.reject(new Error("请填写地址"));
231
241
  }
232
242
  return Promise.resolve();
233
243
  }
234
- }] : [];
244
+ }] : []), [{
245
+ validator: function validator(_, value) {
246
+ var _ref5 = value || {},
247
+ _ref5$postingAddress = _ref5.postingAddress,
248
+ _ref5$postingAddress2 = _ref5$postingAddress === void 0 ? [] : _ref5$postingAddress,
249
+ _ref5$postingAddress3 = _slicedToArray(_ref5$postingAddress2, 3),
250
+ province = _ref5$postingAddress3[0],
251
+ city = _ref5$postingAddress3[1],
252
+ district = _ref5$postingAddress3[2];
253
+ var _ref6 = _this.addressDateInstance || {},
254
+ addressOptions = _ref6.addressOptions;
255
+
256
+ // 如果没有地址选项或已选择完整地址,直接通过验证
257
+ if (!addressOptions || province && city && district) {
258
+ return Promise.resolve();
259
+ }
260
+ if (province) {
261
+ var provinceOption = addressOptions.find(function (t) {
262
+ return t.value === province;
263
+ });
264
+ var cityOption = provinceOption === null || provinceOption === void 0 ? void 0 : provinceOption.children;
265
+ if (!city && provinceOption && Array.isArray(cityOption) && cityOption.length > 0) {
266
+ return Promise.reject(new Error("请选择完整省市区信息"));
267
+ } else if (city && Array.isArray(cityOption) && cityOption.length > 0) {
268
+ var cityObj = cityOption.find(function (t) {
269
+ return t.value === city;
270
+ });
271
+ var districtOption = cityObj === null || cityObj === void 0 ? void 0 : cityObj.children;
272
+ if (!district && cityObj && Array.isArray(districtOption) && districtOption.length > 0) {
273
+ return Promise.reject(new Error("请选择完整省市区信息"));
274
+ }
275
+ }
276
+ }
277
+ return Promise.resolve();
278
+ }
279
+ }]);
235
280
  });
236
281
  export default BasicPosting;
@@ -1,3 +1,3 @@
1
1
  import { ReissueLogistics, JstItemSelect, JstSupply, JstSendGood, BasicInput, BasicAddress, BasicCascader, BasicCheckbox, BasicDataTime, BasicSelect, BasicRadio, BasicTextArea, BasicPicture, BasicPicturePro, BasicMultSelect, BasicGrade, BasicRate, BasicFile, BasicPosting, SubForm, 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, GyReissue, AfterSalesOrderId, BsE3Goods, PublicGoods, PublicReissueGoods, PublicExchange, GyGoods, BsE3Reissue, MemberLevel, GyReturn, AsyncSelect, WdtShopSelect, KmVideo } from "./index";
2
2
  import { PickOption } from "./type";
3
- export declare const factory: (type: string, options: PickOption) => BsGoods | BuyerNick | JstSendGood | MsgStatus | BasicPosting | AsyncSelect | BasicInput | BasicAddress | BasicCascader | BasicCheckbox | BasicDataTime | BasicSelect | BasicRadio | BasicTextArea | BasicPicture | BasicPicturePro | BasicMultSelect | BasicGrade | BasicRate | BasicFile | SubForm | CommonDataTime | TradeId | ShopName | ReceiverName | ReceiverMobile | ReceiverAddress | TradeDateTime | Logistics | ReturnLogistics | ActualPayment | ERemark | AliPay | ItemSelect | ItemId | ItemEnCode | SystemOrderNo | Ordinary | ThirdItemSelect | Payment | ReissueLogistics | JstItemSelect | JstSupply | BsSystemOrder | BsE3Goods | PublicGoods | PublicReissueGoods | PublicExchange | BsE3Reissue | BsExchange | BsReissue | BsReturn | BsLogistics | FlowStatusSelect | FlowMarkSelect | FlowTag | TemplateSelect | WorkOrderId | LogisticsInterception | LogisticsMoreInterception | LogisticsTrajectory | LogisticsMoreTrajectory | PlatForm | ShopInput | Submitter | PrevSubmitter | FlowCreator | Handler | CompletedUser | FlowWorkOrderId | StatusSelect | Calculation | CommonSystemOrder | CommonMultiStatus | NodeDeadLine | HandlerDeadLine | NodeStayDuration | WlnGoods | BsPosting | NodeInput | FlowWorkOrderStatus | WdtGoods | WdtReissue | WdtReturn | WdtExchange | WdtShopSelect | KmVideo | CommonInput | PaymentVoucherCode | Label | MemberLevel | AfterSalesOrderId | GyGoods | GyReissue | GyReturn;
3
+ export declare const factory: (type: string, options: PickOption) => BsGoods | BuyerNick | CommonSystemOrder | ItemEnCode | JstSendGood | KmVideo | LogisticsMoreInterception | MsgStatus | BasicPosting | AsyncSelect | PublicReissueGoods | ThirdItemSelect | BasicInput | BasicAddress | BasicCascader | BasicCheckbox | BasicDataTime | BasicSelect | BasicRadio | BasicTextArea | BasicPicture | BasicPicturePro | BasicMultSelect | BasicGrade | BasicRate | BasicFile | SubForm | CommonDataTime | TradeId | ShopName | ReceiverName | ReceiverMobile | ReceiverAddress | TradeDateTime | Logistics | ReturnLogistics | ActualPayment | ERemark | AliPay | ItemSelect | ItemId | SystemOrderNo | Ordinary | Payment | ReissueLogistics | JstItemSelect | JstSupply | BsSystemOrder | BsE3Goods | PublicGoods | PublicExchange | BsE3Reissue | BsExchange | BsReissue | BsReturn | BsLogistics | FlowStatusSelect | FlowMarkSelect | FlowTag | TemplateSelect | WorkOrderId | LogisticsInterception | LogisticsTrajectory | LogisticsMoreTrajectory | PlatForm | ShopInput | Submitter | PrevSubmitter | FlowCreator | Handler | CompletedUser | FlowWorkOrderId | StatusSelect | Calculation | CommonMultiStatus | NodeDeadLine | HandlerDeadLine | NodeStayDuration | WlnGoods | BsPosting | NodeInput | FlowWorkOrderStatus | WdtGoods | WdtReissue | WdtReturn | WdtExchange | WdtShopSelect | CommonInput | PaymentVoucherCode | Label | MemberLevel | AfterSalesOrderId | GyGoods | GyReissue | GyReturn;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/services-components",
3
- "version": "2.0.75",
3
+ "version": "2.0.77",
4
4
  "module": "dist/esm/index.js",
5
5
  "typings": "dist/esm/index.d.ts",
6
6
  "files": [
@@ -21,8 +21,8 @@
21
21
  ]
22
22
  },
23
23
  "dependencies": {
24
- "@kmkf-fe-packages/basic-components": "2.0.75",
25
- "@kmkf-fe-packages/kmkf-utils": "2.0.75",
24
+ "@kmkf-fe-packages/basic-components": "2.0.77",
25
+ "@kmkf-fe-packages/kmkf-utils": "2.0.77",
26
26
  "b64-to-blob": "^1.2.19",
27
27
  "html2canvas": "^1.4.1",
28
28
  "react-pdf-js": "^5.1.0"
@@ -41,7 +41,7 @@
41
41
  "publishConfig": {
42
42
  "access": "public"
43
43
  },
44
- "gitHead": "8a0ed6b8116ac64f521ac9472d5e979e8ba73c18",
44
+ "gitHead": "c99b48b7dfbcfd3d5a4dffb31df0e5b0050e9281",
45
45
  "gitHooks": {
46
46
  "pre-commit": "lint-staged"
47
47
  }