@kmkf-fe-packages/services-components 0.13.0-alpha.11 → 0.13.0-alpha.13

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,6 +1,6 @@
1
- import { ComponentInterface, PickOption, Record, ColumnConfig } from '../../type';
2
- import React from 'react';
3
- import { AddressData } from '@kmkf-fe-packages/kmkf-utils';
1
+ import { ComponentInterface, PickOption, Record, ColumnConfig } from "../../type";
2
+ import React from "react";
3
+ import { AddressData } from "@kmkf-fe-packages/kmkf-utils";
4
4
  declare type Value = (string | number)[] | undefined;
5
5
  declare class Address implements ComponentInterface {
6
6
  name: string;
@@ -14,7 +14,7 @@ declare class Address implements ComponentInterface {
14
14
  children: ComponentInterface[];
15
15
  componentConfig: ComponentInterface["componentConfig"];
16
16
  addressDateInstance: InstanceType<typeof AddressData>;
17
- dataType: ComponentInterface['dataType'];
17
+ dataType: ComponentInterface["dataType"];
18
18
  constructor(options: PickOption);
19
19
  /**
20
20
  * 通过值计算展示内容
@@ -25,7 +25,7 @@ declare class Address implements ComponentInterface {
25
25
  transTextToNumber: (value?: string) => string | number | undefined;
26
26
  renderClient: (record: any) => React.JSX.Element | null;
27
27
  renderPc: (value: any, record: Record) => React.JSX.Element;
28
- renderLog: (r: Record) => React.JSX.Element | null;
28
+ renderLog: (r: Record) => string;
29
29
  getComponentValue: (r: Record) => any[];
30
30
  renderExport: (value: any, record: any) => string;
31
31
  editRender: (p: any) => React.JSX.Element;
@@ -5,14 +5,14 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
5
5
  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; }
6
6
  function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
7
7
  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); }
8
- import React from 'react';
9
- import { ApaasAddress } from '@kmkf-fe-packages/basic-components';
10
- import { AddressData } from '@kmkf-fe-packages/kmkf-utils';
11
- import intersection from 'lodash/intersection';
8
+ import React from "react";
9
+ import { ApaasAddress } from "@kmkf-fe-packages/basic-components";
10
+ import { AddressData } from "@kmkf-fe-packages/kmkf-utils";
11
+ import intersection from "lodash/intersection";
12
12
  import GetFormItem from "../GetFormItem";
13
13
  import ItemView from "../../commonComponents/ItemView";
14
- import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
15
- import every from 'lodash/every';
14
+ import { isNull, filterFn as _filterFn } from "@kmkf-fe-packages/kmkf-utils";
15
+ import every from "lodash/every";
16
16
  import { SYMBOL } from "../../constant";
17
17
  var Address = /*#__PURE__*/_createClass(function Address(options) {
18
18
  var _this = this;
@@ -33,7 +33,7 @@ var Address = /*#__PURE__*/_createClass(function Address(options) {
33
33
  var _value$map;
34
34
  return value === null || value === void 0 ? void 0 : (_value$map = value.map(function (suffix) {
35
35
  return _this.addressDateInstance.getNameByCode(suffix);
36
- })) === null || _value$map === void 0 ? void 0 : _value$map.join('');
36
+ })) === null || _value$map === void 0 ? void 0 : _value$map.join("");
37
37
  });
38
38
  _defineProperty(this, "transTextToNumber", function (value) {
39
39
  return value ? +value : value;
@@ -42,7 +42,7 @@ var Address = /*#__PURE__*/_createClass(function Address(options) {
42
42
  return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
43
43
  id: _this.id,
44
44
  label: _this.name,
45
- value: _this.getValue(record === null || record === void 0 ? void 0 : record[_this.id]) || ''
45
+ value: _this.getValue(record === null || record === void 0 ? void 0 : record[_this.id]) || ""
46
46
  }) : null;
47
47
  });
48
48
  _defineProperty(this, "renderPc", function (value, record) {
@@ -55,28 +55,34 @@ var Address = /*#__PURE__*/_createClass(function Address(options) {
55
55
  return !item;
56
56
  }) ? [] : address;
57
57
  return /*#__PURE__*/React.createElement("span", null, (_address = address) === null || _address === void 0 ? void 0 : _address.map(function (suffix) {
58
- return _this.addressDateInstance.getNameByCode(suffix || '');
59
- }).join(''));
58
+ return _this.addressDateInstance.getNameByCode(suffix || "");
59
+ }).join(""));
60
60
  });
61
61
  _defineProperty(this, "renderLog", function (r) {
62
- if (isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_basicProvince")])) return null;
63
- return _this.renderPc(undefined, r);
62
+ var _address2;
63
+ var address = [_this.transTextToNumber(r["".concat(_this.id, "_basicProvince")]), _this.transTextToNumber(r["".concat(_this.id, "_basicCity")]), _this.transTextToNumber(r["".concat(_this.id, "_basicDistrict")])];
64
+ address = every(address, function (item) {
65
+ return !item;
66
+ }) ? [] : address;
67
+ return (_address2 = address) === null || _address2 === void 0 ? void 0 : _address2.map(function (suffix) {
68
+ return _this.addressDateInstance.getNameByCode(suffix || "");
69
+ }).join("");
64
70
  });
65
71
  _defineProperty(this, "getComponentValue", function (r) {
66
72
  return !isNull(r["".concat(_this.id, "_basicProvince")]) ? [r["".concat(_this.id, "_basicProvince")], r["".concat(_this.id, "_basicCity")], r["".concat(_this.id, "_basicDistrict")]] : [];
67
73
  });
68
74
  _defineProperty(this, "renderExport", function (value, record) {
69
- var _address2;
75
+ var _address3;
70
76
  if (record["".concat(_this.id, "_basicProvince")] === undefined) {
71
- return '--';
77
+ return "--";
72
78
  }
73
79
  var address = [_this.transTextToNumber(record["".concat(_this.id, "_basicProvince")]), _this.transTextToNumber(record["".concat(_this.id, "_basicCity")]), _this.transTextToNumber(record["".concat(_this.id, "_basicDistrict")])];
74
80
  address = every(address, function (item) {
75
81
  return !item;
76
82
  }) ? [] : address;
77
- return (_address2 = address) === null || _address2 === void 0 ? void 0 : _address2.map(function (suffix) {
78
- return _this.addressDateInstance.getNameByCode(suffix || '');
79
- }).join('');
83
+ return (_address3 = address) === null || _address3 === void 0 ? void 0 : _address3.map(function (suffix) {
84
+ return _this.addressDateInstance.getNameByCode(suffix || "");
85
+ }).join("");
80
86
  });
81
87
  _defineProperty(this, "editRender", function (p) {
82
88
  var _this$componentConfig, _this$componentConfig2;
@@ -97,18 +103,18 @@ var Address = /*#__PURE__*/_createClass(function Address(options) {
97
103
  // 过滤组件id
98
104
  name: item.name,
99
105
  // 过滤组件名称
100
- filterComponentType: 'Cascader',
106
+ filterComponentType: "Cascader",
101
107
  props: {
102
108
  options: _this.addressDateInstance.addressOptions || [],
103
109
  fieldNames: {
104
- label: 'label',
105
- value: 'value',
106
- children: 'children'
110
+ label: "label",
111
+ value: "value",
112
+ children: "children"
107
113
  }
108
114
  },
109
115
  filterFn: function filterFn(value) {
110
116
  return function (i) {
111
- return intersection(value, _filterFn.filterTableListItemColumnValue(i, item.id, 'basicMultSelect')).length > 0;
117
+ return intersection(value, _filterFn.filterTableListItemColumnValue(i, item.id, "basicMultSelect")).length > 0;
112
118
  };
113
119
  },
114
120
  formatFilterValue: function formatFilterValue(val) {
@@ -123,7 +129,7 @@ var Address = /*#__PURE__*/_createClass(function Address(options) {
123
129
  this.sortField = "".concat(options.id, "_basicDistrict");
124
130
  this.formField = "".concat(options.id, "_basicDistrict");
125
131
  this.type = options.type;
126
- this.dataType = 'object';
132
+ this.dataType = "object";
127
133
  this.isCombinationComponent = false;
128
134
  this.canSort = true;
129
135
  this.children = [];
@@ -133,8 +139,8 @@ var Address = /*#__PURE__*/_createClass(function Address(options) {
133
139
  }
134
140
  /**
135
141
  * 通过值计算展示内容
136
- * @param value
137
- * @returns
142
+ * @param value
143
+ * @returns
138
144
  */);
139
145
 
140
146
  export default Address;
@@ -45,7 +45,8 @@ var City = /*#__PURE__*/_createClass(function City(options) {
45
45
  return _this.addressDateInstance.getNameByCode(r === null || r === void 0 ? void 0 : r[_this.id]);
46
46
  });
47
47
  _defineProperty(this, "renderExport", function (value) {
48
- return value !== null && value !== void 0 ? value : '--';
48
+ var _this$addressDateInst;
49
+ return (_this$addressDateInst = _this.addressDateInstance.getNameByCode(value)) !== null && _this$addressDateInst !== void 0 ? _this$addressDateInst : '--';
49
50
  });
50
51
  _defineProperty(this, "getComponentValue", function (r) {
51
52
  return r === null || r === void 0 ? void 0 : r["".concat(_this.id)];
@@ -56,7 +57,7 @@ var City = /*#__PURE__*/_createClass(function City(options) {
56
57
  _defineProperty(this, "filterConfig", function () {
57
58
  return [];
58
59
  });
59
- this.name = '';
60
+ this.name = '';
60
61
  this.id = "".concat(options.id, "_bsPostingCity");
61
62
  this.sortField = "".concat(options.id, "_bsPostingCity");
62
63
  this.formField = "".concat(options.id, "_bsPostingCity");
@@ -45,7 +45,8 @@ var District = /*#__PURE__*/_createClass(function District(options) {
45
45
  return _this.addressDateInstance.getNameByCode(r === null || r === void 0 ? void 0 : r[_this.id]);
46
46
  });
47
47
  _defineProperty(this, "renderExport", function (value) {
48
- return value !== null && value !== void 0 ? value : '--';
48
+ var _this$addressDateInst;
49
+ return (_this$addressDateInst = _this.addressDateInstance.getNameByCode(value)) !== null && _this$addressDateInst !== void 0 ? _this$addressDateInst : '--';
49
50
  });
50
51
  _defineProperty(this, "getComponentValue", function (r) {
51
52
  return r === null || r === void 0 ? void 0 : r["".concat(_this.id)];
@@ -45,7 +45,8 @@ var Province = /*#__PURE__*/_createClass(function Province(options) {
45
45
  return _this.addressDateInstance.getNameByCode(r === null || r === void 0 ? void 0 : r[_this.id]);
46
46
  });
47
47
  _defineProperty(this, "renderExport", function (value) {
48
- return value !== null && value !== void 0 ? value : '--';
48
+ var _this$addressDateInst;
49
+ return (_this$addressDateInst = _this.addressDateInstance.getNameByCode(value)) !== null && _this$addressDateInst !== void 0 ? _this$addressDateInst : '--';
49
50
  });
50
51
  _defineProperty(this, "getComponentValue", function (r) {
51
52
  return r === null || r === void 0 ? void 0 : r["".concat(_this.id)];
@@ -14,13 +14,25 @@ import { ApaasSelect } from "@kmkf-fe-packages/basic-components";
14
14
  import { isNull, filterFn as _filterFn } from "@kmkf-fe-packages/kmkf-utils";
15
15
  import GetFormItem from "../GetFormItem";
16
16
  import { SYMBOL } from "../../constant";
17
+ import reject from "../Common/img/reject.png";
18
+ import reminder from "../Common/img/reminder.png";
17
19
  var TAG_MAP = {
18
20
  REMINDER: "催单",
19
21
  REJECT: "驳回"
20
22
  };
21
23
  var TAG_ICON_MAP = {
22
- REMINDER: "催单",
23
- REJECT: "驳回"
24
+ REMINDER: /*#__PURE__*/React.createElement("img", {
25
+ src: reminder,
26
+ style: {
27
+ width: "16px"
28
+ }
29
+ }),
30
+ REJECT: /*#__PURE__*/React.createElement("img", {
31
+ src: reject,
32
+ style: {
33
+ width: "16px"
34
+ }
35
+ })
24
36
  };
25
37
  var FlowTag = /*#__PURE__*/_createClass(function FlowTag(options) {
26
38
  var _this = this;
@@ -99,7 +111,7 @@ var FlowTag = /*#__PURE__*/_createClass(function FlowTag(options) {
99
111
  label: "催单",
100
112
  value: "REMINDER"
101
113
  }, {
102
- label: "暂存",
114
+ label: "驳回",
103
115
  value: "REJECT"
104
116
  }]
105
117
  },
@@ -156,7 +156,7 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
156
156
  templateId: _this.templateId,
157
157
  needCheckComponentList: [{
158
158
  componentKey: _this.formField,
159
- componentValue: value
159
+ componentValue: String(value)
160
160
  }]
161
161
  };
162
162
  _context.next = 6;
@@ -1,6 +1,6 @@
1
- import { ComponentInterface, PickOption, Record } from '../../type';
2
- import React from 'react';
3
- import { AddressData } from '@kmkf-fe-packages/kmkf-utils';
1
+ import { ComponentInterface, PickOption, Record } from "../../type";
2
+ import React from "react";
3
+ import { AddressData } from "@kmkf-fe-packages/kmkf-utils";
4
4
  declare type Value = {
5
5
  address?: (string | number)[];
6
6
  detail?: string;
@@ -18,12 +18,12 @@ declare class BasicInput implements ComponentInterface {
18
18
  canSort: boolean;
19
19
  children: ComponentInterface[];
20
20
  addressDateInstance: InstanceType<typeof AddressData>;
21
- dataType: ComponentInterface['dataType'];
21
+ dataType: ComponentInterface["dataType"];
22
22
  constructor(options: PickOption);
23
23
  render: (value: Value) => React.JSX.Element;
24
24
  transTextToNumber: (value?: string) => string | number | undefined;
25
25
  renderPc: (value: any, record: Record) => React.JSX.Element;
26
- renderLog: (r: Record) => React.JSX.Element | null;
26
+ renderLog: (r: Record) => string;
27
27
  getComponentValue: (r: Record) => {
28
28
  address: any[];
29
29
  detail: any;
@@ -5,13 +5,13 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
5
5
  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; }
6
6
  function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
7
7
  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); }
8
- import React from 'react';
9
- import { Address } from '@kmkf-fe-packages/basic-components';
10
- import { AddressData } from '@kmkf-fe-packages/kmkf-utils';
8
+ import React from "react";
9
+ import { Address } from "@kmkf-fe-packages/basic-components";
10
+ import { AddressData } from "@kmkf-fe-packages/kmkf-utils";
11
11
  import GetFormItem from "../GetFormItem";
12
12
  import ItemView from "../../commonComponents/ItemView";
13
- import { isNull } from '@kmkf-fe-packages/kmkf-utils';
14
- import every from 'lodash/every';
13
+ import { isNull } from "@kmkf-fe-packages/kmkf-utils";
14
+ import every from "lodash/every";
15
15
  var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
16
16
  var _this = this,
17
17
  _this$componentConfig3;
@@ -35,7 +35,7 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
35
35
  className: "pointer"
36
36
  }, value === null || value === void 0 ? void 0 : (_value$address = value.address) === null || _value$address === void 0 ? void 0 : _value$address.map(function (suffix) {
37
37
  return _this.addressDateInstance.getNameByCode(suffix);
38
- }).join(''), value === null || value === void 0 ? void 0 : value.detail);
38
+ }).join(""), value === null || value === void 0 ? void 0 : value.detail);
39
39
  });
40
40
  _defineProperty(this, "transTextToNumber", function (value) {
41
41
  return value ? +value : value;
@@ -54,17 +54,25 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
54
54
  className: "pointer",
55
55
  onClick: function onClick(e) {
56
56
  var _this$effects, _this$effects2;
57
- typeof (_this === null || _this === void 0 ? void 0 : (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.queryWorkOrderDetail) === 'function' && (_this === null || _this === void 0 ? void 0 : (_this$effects2 = _this.effects) === null || _this$effects2 === void 0 ? void 0 : _this$effects2.queryWorkOrderDetail(record));
57
+ typeof (_this === null || _this === void 0 ? void 0 : (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.queryWorkOrderDetail) === "function" && (_this === null || _this === void 0 ? void 0 : (_this$effects2 = _this.effects) === null || _this$effects2 === void 0 ? void 0 : _this$effects2.queryWorkOrderDetail(record));
58
58
  e.stopPropagation();
59
59
  }
60
60
  }, (_address = address) === null || _address === void 0 ? void 0 : _address.map(function () {
61
- var suffix = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
61
+ var suffix = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : "";
62
62
  return _this.addressDateInstance.getNameByCode(suffix);
63
- }).join(''), detail);
63
+ }).join(""), detail);
64
64
  });
65
65
  _defineProperty(this, "renderLog", function (r) {
66
- if (isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_province")])) return null;
67
- return _this.renderPc(undefined, r);
66
+ var _address2;
67
+ var address = [_this.transTextToNumber(r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_province")]), _this.transTextToNumber(r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_city")]), _this.transTextToNumber(r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_district")])];
68
+ address = every(address, function (item) {
69
+ return !item;
70
+ }) ? [] : address;
71
+ var detail = r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_address")];
72
+ return "".concat((_address2 = address) === null || _address2 === void 0 ? void 0 : _address2.map(function () {
73
+ var suffix = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : "";
74
+ return _this.addressDateInstance.getNameByCode(suffix);
75
+ }).join(""), " ").concat(detail || "");
68
76
  });
69
77
  _defineProperty(this, "getComponentValue", function (r) {
70
78
  return {
@@ -73,19 +81,19 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
73
81
  };
74
82
  });
75
83
  _defineProperty(this, "renderExport", function (value, record) {
76
- var _address2;
84
+ var _address3;
77
85
  if (record["".concat(_this.id, "_province")] === undefined) {
78
- return '--';
86
+ return "--";
79
87
  }
80
88
  var address = [_this.transTextToNumber(record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_province")]), _this.transTextToNumber(record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_city")]), _this.transTextToNumber(record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_district")])];
81
89
  address = every(address, function (item) {
82
90
  return !item;
83
91
  }) ? [] : address;
84
92
  var detail = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_address")];
85
- return "".concat((_address2 = address) === null || _address2 === void 0 ? void 0 : _address2.map(function () {
86
- var suffix = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
93
+ return "".concat((_address3 = address) === null || _address3 === void 0 ? void 0 : _address3.map(function () {
94
+ var suffix = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : "";
87
95
  return _this.addressDateInstance.getNameByCode(suffix);
88
- }).join(''), " ").concat(detail || '');
96
+ }).join(""), " ").concat(detail || "");
89
97
  });
90
98
  _defineProperty(this, "renderClient", function (record) {
91
99
  return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
@@ -121,16 +129,16 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
121
129
  validator: function validator(_, value) {
122
130
  var _value$address2;
123
131
  if (!(value !== null && value !== void 0 && (_value$address2 = value.address) !== null && _value$address2 !== void 0 && _value$address2.length)) {
124
- return Promise.reject(new Error('请选择地址'));
132
+ return Promise.reject(new Error("请选择地址"));
125
133
  }
126
134
  if (!(value !== null && value !== void 0 && value.detail)) {
127
- return Promise.reject(new Error('请填写详细地址'));
135
+ return Promise.reject(new Error("请填写详细地址"));
128
136
  }
129
137
  return Promise.resolve();
130
138
  }
131
139
  }] : [];
132
140
  this.effects = options.effects;
133
141
  this.addressDateInstance = AddressData.getInstance();
134
- this.dataType = 'object';
142
+ this.dataType = "object";
135
143
  });
136
144
  export default BasicInput;
@@ -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, Handler, CompletedUser, LogisticsInterception, LogisticsTrajectory, FlowWorkOrderId, BsGoods, BsExchange, BsReissue, BsReturn, BsSystemOrder, BsLogistics, StatusSelect, CommonTradeId, CommonSystemOrder, CommonMultiStatus, Calculation, NodeDeadLine, HandlerDeadLine, NodeStayDuration, WlnGoods, BsPosting } from "./index";
2
2
  import { PickOption } from "./type";
3
- export declare const factory: (type: string, options: PickOption) => BsExchange | BsPosting | BsReissue | BsSystemOrder | BasicCascader | FlowTag | ERemark | BasicInput | BasicAddress | BasicCheckbox | BasicDataTime | BasicSelect | BasicRadio | BasicTextArea | BasicPicture | BasicMultSelect | BasicGrade | BasicRate | BasicFile | BasicPosting | CommonDataTime | TradeId | ErpTradeId | ShopName | BuyerNick | ReceiverName | ReceiverMobile | ReceiverAddress | TradeDateTime | Logistics | ReturnLogistics | ActualPayment | AliPay | ItemSelect | ItemId | ItemEnCode | SystemOrderNo | Ordinary | ThirdItemSelect | Payment | JstLogistics | JstItemSelect | JstSendGood | JstSupply | BsGoods | BsReturn | BsLogistics | FlowStatusSelect | FlowMarkSelect | TemplateSelect | WorkOrderId | LogisticsInterception | LogisticsTrajectory | PlatForm | ShopInput | Submitter | Handler | CompletedUser | FlowWorkOrderId | StatusSelect | CommonTradeId | Calculation | CommonSystemOrder | CommonMultiStatus | NodeDeadLine | HandlerDeadLine | NodeStayDuration | WlnGoods;
3
+ export declare const factory: (type: string, options: PickOption) => BasicAddress | BsExchange | BsPosting | BsReissue | BsSystemOrder | BasicCascader | CommonMultiStatus | FlowTag | BasicInput | ReceiverAddress | ERemark | BasicCheckbox | BasicDataTime | BasicSelect | BasicRadio | BasicTextArea | BasicPicture | BasicMultSelect | BasicGrade | BasicRate | BasicFile | BasicPosting | CommonDataTime | TradeId | ErpTradeId | ShopName | BuyerNick | ReceiverName | ReceiverMobile | TradeDateTime | Logistics | ReturnLogistics | ActualPayment | AliPay | ItemSelect | ItemId | ItemEnCode | SystemOrderNo | Ordinary | ThirdItemSelect | Payment | JstLogistics | JstItemSelect | JstSendGood | JstSupply | BsGoods | BsReturn | BsLogistics | FlowStatusSelect | FlowMarkSelect | TemplateSelect | WorkOrderId | LogisticsInterception | LogisticsTrajectory | PlatForm | ShopInput | Submitter | Handler | CompletedUser | FlowWorkOrderId | StatusSelect | CommonTradeId | Calculation | CommonSystemOrder | NodeDeadLine | HandlerDeadLine | NodeStayDuration | WlnGoods;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/services-components",
3
- "version": "0.13.0-alpha.11",
3
+ "version": "0.13.0-alpha.13",
4
4
  "module": "dist/esm/index.js",
5
5
  "typings": "dist/esm/index.d.ts",
6
6
  "files": [
@@ -40,5 +40,5 @@
40
40
  "gitHooks": {
41
41
  "pre-commit": "lint-staged"
42
42
  },
43
- "gitHead": "2f6f8c22a6121d908dc65f2c2fd5dfb86751decf"
43
+ "gitHead": "84fa60226c0f5f4b8cbc20ee45a81cc2ae4e19a7"
44
44
  }